Could you please put examples code to github?

It's almost impossible to read code in codepen...

Hi, Dmitri!
Thanks for the issue. Almost all demos are the Github, maybe some particular you are interested in?

Animocons: Demo / Repo
Love or Hate Modal: Demo / Repo
Mograph Demo / Repo
Physical Balls Demo / Repo

Some of the demos use deprecated syntax so I don't want to publish them to prevent confusion. Some of them a pretty simple and should be readable at CodePen.
Please let me know if you have any questions,
Cheers!
// @voronianski

I just started using mojs, so I'm playing around with it.
You can find some basic stuff on my codepen here.
love the library and looking forward to working with it. maybe in the future when I am more confident I will make some tutorials :)

@Journeytojah hey, sorry about the difficulties. I will start working towards mojs@1 release, planning to add lots of docs and invite you to participate :)

@legomushroom Great! I already saw the timeline editor and I just want to congratulate you for the work you are doing. This is one hell of a tool for animations!
I will more than happy contribute in whatever way I can :)

@Journeytojah awesome! thanks a lot


[Changing Hyper Parameters of Conformer Model]

Question
I want to train conformer model from scratch but after tweaking some hyperparameters (to make the model smaller) i.e. reducing the convolutional layers etc.
In the ASR finetuning tutorial, it uses the model architecture file which I don't find in repository.
How can I train a new model architecture or change an existing one before training?
Additional Context
For example in ASR finetuning tutorial
Link:
https://github.com/EnricoASchmitz/flashlight_2/tree/722132844f1c4ecb92713eea8322ea1d5e9eff73/flashlight/app/asr/tutorial
It directly downloads the predefined model parameters and architecture files.
!wget -nv --continue -o /dev/null https://dl.fbaipublicfiles.com/wav2letter/rasr/tutorial/am_transformer_ctc_stride3_letters_70Mparams.bin -O model.bin # acoustic model !wget -nv --continue -o /dev/null https://dl.fbaipublicfiles.com/wav2letter/rasr/tutorial/am_transformer_ctc_stride3_letters_70Mparams.arch -O arch.txt # model architecture file
Is there any way to modify these files?
Or is there any other approach which I should follow?
Thanks.

You can find the model here and some alternatives.
https://github.com/flashlight/wav2letter/tree/main/recipes/rasr
You can modify the file, but you will need to retrain from scratch.
They did not provide the training configuration for these files, but you can have an idea by opening the .bin file in an editor, the configuration is stored in plaintext.
You can get another example here for transformer CTC training here:
https://github.com/flashlight/wav2letter/blob/main/recipes/sota/2019/librivox/train_am_transformer_ctc.cfg


Version bump and Update docs

Bumped version to 1.3.0 and updated the docs to show new features.

Pull Request Test Coverage Report for Build 66

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 10.9%

Totals

Change from base Build 57:
0.0%

Covered Lines:
74

Relevant Lines:
619

💛  - Coveralls


Real test names in report

Is your feature request related to a problem? Please describe.
I defined several volume tests on a model with different filtering conditions. I specified the name parameter in a readable and meaningful way. But all tests are displayed in the report identically. The test name is not used for visualization.
Describe the solution you'd like
Use real test names to display in the "Test name" column instead of volume_anomalies.
Make it possible to override a description for the volume/column tests.
Additional context

Would you be willing to contribute this feature?

Hi @dmitrii-khr !
Thanks for opening this issue and sorry for the delayed response.
Closing this issue as a duplicate of this one:
#1224
mainly to keep discussion in one place (and since there's an open PR about it)


Performing 3D estimation on 2D Keypoints

Hello,
I noticed that each time a model.step() is performed, it needs the 3d data to be fed in as an input. Would we be able to perform inference without having the 3D ground truth for the keypoints?

In model.step() we only use the 3d data to compute the error between our prediction and the actual 3d poses. You can still call the function passing, for example, an array of zeros instead of 3d poses -- the prediction will still be the network's best guess.

So if I have keypoints that were detected in pixel space on an image with X resolution for width and Y resolution for height, then I should rescale that to what it would be for a 1000 x 1000 resolution image?

So if I have keypoints that were detected in pixel space on an image with X resolution for width and Y resolution for height, then I should rescale that to what it would be for a 1000 x 1000 resolution image?

Doing that you could lose the proportions of the person, which may lead to strange 3d predictions.
It sounds like you want to find out what the 3d size of a person in an arbitrary image is. Our network does not do that. What our network does is to predict the size of people in the H36M dataset, for which it does a fine job, but there is a big leap from that to working on general images, as this depends on intrinsic camera parameters.
(To see how hard this problem is, imagine taking a picture of yourself and then zooming 2x... you are now 2x bigger in pixels, but your actual size in 3d has obviously not changed; how could a network possibly know that?)
You could, for example, re-scale and center your image so that the largest size is 1000, and the output might then be more in line with that of the subjects in H3.6M (but again, no guarantees whatsoever, because other camera parameters might be wildly different). I think that estimating 3d people sizes from arbitrary 2d images is an open area of research.
Cheers,

I would like to find out the 3D point values from 2D pixel coordinates. Is this not possible?

I would like to find out the 3D point values in the camera coordinate frame from given 2D keypoints in pixel coordinates. Is this not possible?

Not with out network. Our network is not predicting camera parameters, only 3d points in the camera coordinates of the H36M dataset.
You can use the camera parameters of any test subject -- for our examples in the wild, we use the camera of subject 11, camera1 -- to align the prediction nicely with the 2d points under an assumed set of camera parameters. As you can see in our examples, this actually looks pretty nice. But do take the scale of the people in these predictions from images in the wild with a grain of salt.

What exactly are the camera parameters? Let's say I have images that are all taken from the same camera, and I have the homography matrix for that camera. Would I still not be able to infer any relevant 3D information using this network?

Hi @JonathanCMitchell,

What exactly are the camera parameters?

A camera model is composed of both intrinsic and extrinsic parameters. You may find these slides useful: http://ftp.cs.toronto.edu/pub/psala/VM/camera-parameters.pdf. Our function that projects 3d poses to 2d images uses these parameters: https://github.com/una-dinosauria/3d-pose-baseline/blob/master/src/cameras.py#L13-L32.

Let's say I have images that are all taken from the same camera, and I have the homography matrix for that camera. Would I still not be able to infer any relevant 3D information using this network?

A homography can help you infer some of the extrinsic camera parameters, but not necessarily the intrinsic ones.
Also, please note that the goal of releasing our code is to make our code reproducible and facilitate progress in the field. I am happy to consult if you need further assistance solving commercial problems. Send me an email for a quote!
Thanks for your understanding,

Closing for lack of activity. Please reopen if the issue is still ongoing.


Rewrite Merger

Merge Status: rewrite is under development, DO NOT MERGE!
Aims of this rewrite:

Clean up the code
Implement new features such as P2P and scripts.
Implement Multi-server support

TODO for the rewrite branch:

[x] Rewrite base proxy (ability to redirect packets to servers)
[ ] Implement muli-server support

[x] Proxy able to redirect packets to multiple servers.
[ ] Client is able to switch servers via commands.

[ ] P2P networking

[x] Base P2P server working
[ ] PocketMine plugin complete (needed for multi-server support).

[ ] Scripting maybe

[ ] Allow simple JavaScript scripts to be executed on certain events (uses oracle nashorn).
[ ] Python support? (http://jython.org)

Decided to revive project with JRakLib #6


Why the item center inside？

i click the item found that the inner text of the item is center，can you help me?thank you

Hello, what's the issue exactly? You'd like an option to choose the text alignment?

The default item（Clicked Item）is not centered， but the text in the item is automatically centered when the spinner drop down。It looks very strangle，Why not all in center or not in center both Item？Thank you，although i have been change other style，i really want to know why。


Updating where the proxy happens

Summary

Checklist
Delete items not relevant to your PR:

[ ] Unit and integration tests covering the common scenarios were added
[ ] A human-readable description of the changes was provided to include in CHANGELOG
[ ] For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

Lets merge and test how it would work with example applications.


SCIM filtering and listing based on the count parameter

In the current implementation, we are using the legacy kernel API based on having count param in the user listing and user filtering requests. Example [1] is such an instance. Due to this, there are differences in the request when the count param is present in the request and when its not. Most of the time bugs can be seen when there is no count param in the SCIM request.
This behavior is added to maintain backward compatibility. It would be better if we can send a pre-defined count param.
[1] - https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/blob/master/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java#L491

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Add delete and list methods for FeedbackDataset in Argilla via the Python client

Since we can now delete workspaces, we need to tackle two main goals to improve this feature when datasets are linked to the workspace:

[ ] Support for removing a feedback dataset from the Python client

...
ds = FeedbackDataset.from_argilla(...)
ds.delete()
# or just (since the from_argilla will try to fetch all records locally
FeedbackDataset.delete(dataset_id)

[ ] Fetch the infor about which datasets are linked to the workspace

As a first approach, we could return the needed info as part of the delete error response. The name for "old" datasets, and the id for feedback ones
Listing and deleting old task datasets
import argilla as rg

ws = rg.Workspace.from_name("ws")

# listing old datasets for a workspace
datasets = rg.list_datasets(workspace=ws)
# or for all workspaces
datasets = rg.list_datasets()

# deleting old datasets
for dataset in datasets:
    rg.delete(name=dataset.name, workspace=datase.workspace)

Listing and deleting new feedback datasets
from argilla.feedback import FeedbackDataset

datasets = FeedbackDataset.list(workspace=ws)
# or all workspaces
datasets = FeedbackDataset.list()
for dataset in datasets:
    dataset.delete()

Now users can call delete() over an existing FeedbackDataset in Argilla, as well as deleting records from Argilla via delete_records or in-place deletion of records via record.delete().
But listing FeedbackDataset datasets is still pending, we just need to decide whether a list() method is the best approach to tackle it or not.

Re-opened, as the FeedbackDataset.list() method is still missing


Documentation: how to run FESTIM in parallel #856

Proposed changes
Documentation: how to run FESTIM in parallel #856.
Types of changes
What types of changes does your code introduce to FESTIM?

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Code refactoring
[x] Documentation Update (if none of the other choices apply)
[ ] New tests

Checklist

[ ] Black formatted
[ ] Unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@RemDelaporteMathurin, I don't. Since parallel computing doesn't always result in faster computation, I wouldn't put it in the "your first FESTIM script".
Personally, I'd make a separate page that could be filled with some additional info/hints/warnings later.
We could also make a demo to show when parallel computing might speed up a simulation.

Thanks @XinShen-CHN for adding this!
I see that the documentation test is failing. See my comment below.

Thank you Remi!

Personally, I'd make a separate page that could be filled with some additional info/hints/warnings later.

@XinShen-CHN could you make a new User Guide page "Running in parallel" and move the content there instead?

Xin, you need to:

provide the correct extension for the new file (.rst). Also, avoid blank spaces and uppercase letters in filenames. running_in_parallel.rst would be an appropriate filename.
add this new file in docs/source/userguide/index.rst if you want it to be counted.

I advise you to try and build the documentation locally on your computer to be able to inspect your changes. Here you will see that these lines don't appear anywhere in the automatically-built documentation.

I see. I'll try to fix it.
Sorry for the delays. I was on a vacation.

Hi @XinShen-CHN do you need assistance on this?

Hi @XinShen-CHN do you need assistance on this?

Yes, I failed to build the documentation locally.

Hi @XinShen-CHN thanks for these changes. I can assist you in building the docs locally. In the meantime, here's a final suggestion (I'll commit): we need to have a title (with # ) in this page to avoid this:

Remi, thank you so much!


Build tool should be able to output directly to a given folder

Example of this would be wwwroot - instead of having an intermediate step and then rely on a WebPack plugin to copy it to the right place

This is actually possible already by using the MSBuild property we expose called WasmOutput


Thanks for the library, it works well but the selection of TextEditingController gets shifted to the front whenever an emoji is selected, expected behaviour of the selection should be shifted after the emoji to allow for more text to be appended after the emoji.

I'll try to fix the issue soon, thanks


Fix RAM check exit messages

Fix Error and Warning exit messages(replaced CPU with RAM)

Thanks for the fix @kalininsn.


python3: 3.6 -> 3.7

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

I changed the base to staging as this is a mass-rebuilt.

Thanks. Let me know if there are any additional changes that need to be made.

We'll still have to wait quite some time until upstream maintainers have made their packages Python 3.7-compatible.

We won't make this change until 19.03 because there is not enough package compatibility yet.
Note I'm away on holidays and may be unresponsive. Tuesday I should be back.

I don'y have any numbers, but I tried compiling some stuff once and e.g. found an incompatibility in SQLAlchemy, whis is one of the bigger players: https://bitbucket.org/zzzeek/sqlalchemy/issues/4291/test-failures-with-python-37
PyYAML also comes to mind: https://github.com/yaml/pyyaml/issues/193.
I think there are many more examples, these are just two major ones I came across when testing packages I frequently use.

OK, so pyyaml breaks because it ships a .c file generated by an old Cython, and sqlalchemy tests break because Python 3.7 generates a deprecation warning for inspect.formatargspec. Such issues may affect just a few packages.

On the bright side PyYAML seems to be fixed. https://github.com/yaml/pyyaml/issues/193#issuecomment-402889151


system: read uptime from Win32_PerfFormattedData_PerfOS_System since …

…raw data doesnt change. fixes #40

Would like input from @carlpett  or @brian-brazil before merging this.
Also, this change makes existing exporters confused I guess since the value is radically changed, what would be best way to handle this. I would prefer semver (eg release 0.2.0 with this change?)

Second, would it make more sense to convert this to a unix timestamp? [1]
1: https://prometheus.io/docs/practices/instrumentation/#timestamps-not-time-since

Had a look at this - the way they calculate it in the formatted data is by using TimestampObject: (TimestampObject-SystemUpTime)/TicksToSeconds comes out correct. So I'd suggest we do that instead, so we don't have to query a new object.
Regarding the continuity of the metric, I'm not sure. Since the previous value was broken, I'd consider it a bugfix rather than a "feature", so I don't think it needs a point release from a semver point of view.

Generally we should always export raw data. For example there's probably a race in here in somewhere that can cause the value to fluctuate slightly.

Reworked the patch:

dropped usage of preformatted data
calc uptime as carl suggested: (Timestamp_Object-SystemUpTime)/Frequency_Object

Reworked. Now it converts the Windows timestamp into a unix timestamp.

:+1:


Avoid search when empty text

Background: This MR to avoid search to api when empty text
Reproduce: Fast typing on search address text and backspace before bounce reached.
Why: When empty text will show snackbar The Provided API key is invalid. You can show my video
https://github.com/Shrutimahajan/Google-AutoComplete-TextField-Flutter/assets/31463340/d01569d1-bbd1-41fb-ae7a-6fbd1705c069

Thank you!


LocalStorage service to cache CAD tool properties

Some general remarks: The idea is to store control properties in the Browser's LocalStorage.
The concept is the following:

Implement an ole.service.LocalStorage. It listens to property changes of controls and stores them in the LocalStorage. On startup, the service updates the controls with the stored properties.
Changable control properties should be stored in a class variable (this.properties) and updated using the setProperties() Method. When calling the setProperties() method, a propertychange Event is triggered.
When a control triggers a properychange event, the ole.service.LocalStorage takes the properties and stores them.


Paul/issue 24

Summary
Update based in issue-24.  3 main edits:

Create component AddColorRow
Update utils to re-use handleInvalidColor from EditColorModal
Add newly created component in ColorPaletteSection

Description
Request to add skeleton instead of Add New Color button in editor.
This required changes from the ColorRow component that had been previously used as demo (see issue comments) so the options were to update the ColorRow component to make it configurable for blank row, copy-paste code from this component into ColorPaletteSection, or create new component.  The latter was selected to reduce chance of breaking existing components and allow for further customization if needed.
Wasn't sure what color styling was going to be needed, so component requires passing in of the background color (via 'backgroundColorString').  To prevent invalid css coming in, code was pinched from EditModalDialog to validate.  Rather than duplicating in component, I updated utils.ts with this code for export (this could be reused in a later EditModalDialog update).
New component placed into ColorPaletteSection is contained in BOX component which handles the onClick event calling the same function as the former "Add New Color" button to open the EditColorModal dialog.  Styling of new component was based on feedback from @Teddarific  and @alexdanilowicz.
Happy to take feedback if this is too complicated.

I think @Teddarific refactored the code a bit in 3.0.0, so will let him merge this/review this/handle this.

OK I synced with main and pushed changes to make text not-centered.  I got confused with the syncing - I think it's OK, but if it needs changes, please let me know.

Hey Paul! Thanks for re-syncing with main — let me take a look. The screenshot looks great!

Closing pull request, will refactor based on update.


MultiTenancy

Community!
I would like to restrict my application to authorize users to view/edit only their own records not others.
Should I use MultiTenancy or there is other way?
If MultiTenancy, can I modify my existing application to make it MultiTenant? if apply the tenancy at user is enough or should apply for each table?

I have implemented multitenancy and works like a charm.
Follow the multitenancy tutorial, not only explains the questions you have, but also I have learned other stuff that I used in my app.
You don't have to do the same code for each table, the tutorial will explain how to implement a behavior for all the tables you choose.

Thank you @gguadalupe

I want to reopen the issue with the following question:
As defined in the tutorial, applying multi-tenant allow view/modification of records for a specific tenant group. What if I want a type of tenant that will have the right to view (only view) all records? is it possible through serenity?
Thanks

Yes we can!
I don't know how, but you can... of this I'm 102% almost sure!
You need to check how Serenity works with the security and the permissions for each user.
You can create a new permission and set it for each XXXRow.cs,
Follow this guide:
https://volkanceylan.gitbooks.io/serenity-guide/content/howto/how_to_register_permissions_in_serene.html
Or you can change the behavior of the multi tenancy and add roles for this type of user.
Again, no idea what I'm talking about, but maybe this may give you and idea of what you can do.
Gus.

You control the Read, Delete, Update and Modify by generating permissions. You can also add more than one permission key if I'm not mistake. What you can do is create a view-only permission for the table and apply only that permission to the user.

Thanks for the response. It works now as I wanted.


Feature : Constant layer or Tool copy to all frames

In most sprites, some layers are static (for instance backgrounds). When you start creating new frames for an animation, they are created for all layers.
This means you duplicate the content of 'static' layers over and over. And if at some point you want to modify something, you need to apply it to all the frames.
Two solutions for this :

constant layer : add a 'constant'/'static' property to layers, that can be turned on or off in the layer list. A constant layer is always the same on all the frames
tool : create a new tool that will copy the content of the current frame to all the other frames of the same layer

The second option is almost free (actually have a 10 lines snippet that works perfectly), but I think the constant layer makes much more sense.
Any thoughts ?

Did you get the mechanics implemented?
I have having the exact issue. T.T


feat: Swaplace dApp Header

The goal of this task is to implement the Swaplace LP header component.
This component should be called ApplicationHeader

CTAs should work as described below:

Swaplace icon should redirect visitors to /
"Swap Station" nav item should redirect visitors to /
"Offers" nav item should redirect visitors to /offers
"Chat" nav item will be disabled at first and should show a tooltip
"Notifications" nav item will be disabled at first and should show a tooltip
"Connect" button should open the Rainbow Wallet Connect

closed by #37


Python: Pydantic-core package doesnt consumes entropy

While running workerd with Python pydantic package, initilazing error RuntimeError: 1 unexpected leftover getentropy calls occurs.
Seems fixing it into 0 getentropy call fixes problem, pydantic-core package doesnt consumes entropy?
Version is Pydantic-core 2.16.2
<module 'tempfile' from '/lib/python312.zip/tempfile.py'>
<module 'random' from '/lib/python312.zip/random.py'>
Loading fastapi, starlette, anyio, sniffio, openssl, pydantic, typing-extensions, pydantic-core, annotated-types
Loaded fastapi, starlette, anyio, sniffio, openssl, pydantic, typing-extensions, pydantic-core, annotated-types
<module 'pydantic_core' from '/session/lib/python3.12/site-packages/pydantic_core/__init__.py'>
Error in makeHandler
PythonError: Traceback (most recent call last):
  File "/lib/python312.zip/_pyodide/_base.py", line 629, in pyimport_impl
    res = __import__(stem, fromlist=fromlist)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/session/metadata/worker.py", line 1, in <module>
    from asgi import env
  File "/lib/python3.12/site-packages/asgi.py", line 4, in <module>
    from fastapi import Request, Depends
  File "/session/lib/python3.12/site-packages/fastapi/__init__.py", line 7, in <module>
    from .applications import FastAPI as FastAPI
  File "/session/lib/python3.12/site-packages/fastapi/applications.py", line 16, in <module>
    from fastapi import routing
  File "/session/lib/python3.12/site-packages/fastapi/routing.py", line 22, in <module>
    from fastapi import params
  File "/session/lib/python3.12/site-packages/fastapi/params.py", line 5, in <module>
    from fastapi.openapi.models import Example
  File "/session/lib/python3.12/site-packages/fastapi/openapi/models.py", line 4, in <module>
    from fastapi._compat import (
  File "/session/lib/python3.12/site-packages/fastapi/_compat.py", line 20, in <module>
    from fastapi.exceptions import RequestErrorModel
  File "/session/lib/python3.12/site-packages/fastapi/exceptions.py", line 3, in <module>
    from pydantic import BaseModel, create_model
  File "<frozen importlib._bootstrap>", line 1412, in _handle_fromlist
  File "/session/lib/python3.12/site-packages/pydantic/__init__.py", line 383, in __getattr__
    module = import_module(module_name, package=package)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python312.zip/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/session/lib/python3.12/site-packages/pydantic/main.py", line 12, in <module>
    import pydantic_core
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "/lib/python3.12/site-packages/_cloudflare/import_patch_manager.py", line 28, in exec_module
    with self.import_context(module):
  File "/lib/python312.zip/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/lib/python3.12/site-packages/_cloudflare/entropy_import_context.py", line 123, in pydantic_core_context
    with allow_bad_entropy_calls(1):
  File "/lib/python312.zip/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/lib/python3.12/site-packages/_cloudflare/entropy_import_context.py", line 48, in allow_bad_entropy_calls
    raise RuntimeError(
RuntimeError: 1 unexpected leftover getentropy calls

    at new_error (pyodide-internal:generated/pyodide.asm:20:9998)
    at wasm://wasm/0265dd42:wasm-function[300]:0x16c818
    at wasm://wasm/0265dd42:wasm-function[301]:0x16c972
    at Module._pythonexc2js (pyodide-internal:generated/pyodide.asm:20:607956)
    at Module.callPyObjectKwargs (pyodide-internal:generated/pyodide.asm:20:64098)
    at Module.callPyObject (pyodide-internal:generated/pyodide.asm:20:65055)
    at Function.apply (pyodide-internal:generated/pyodide.asm:20:79132)
    at Object.apply (pyodide-internal:generated/pyodide.asm:20:77371)
    at Object.pyimport (pyodide-internal:generated/pyodide.asm:20:102862)
    at pyimportMainModule (pyodide:python-entrypoint-helper:31:18)
    at pyodide:python-entrypoint-helper:117:11
    at enterJaegerSpan (pyodide-internal:jaeger:9:12)
    at pyodide:python-entrypoint-helper:116:16
    at async preparePython (pyodide:python-entrypoint-helper:129:22)
    at async pyodide:python-entrypoint-helper:139:21
    at async Object.fetch (pyodide:python-entrypoint-helper:137:26)

Or am I using wrong version of Python or Pyodide?

This is really annoying to get right, but there are two places where it uses an entropy call:

the first time pyo3 makes a std::collections::HashMap, it initilaizes std::collections::hash_map::RandomState
pydantic-core itself uses ahash and the first time an ahash::AHashMap is constructed, ahash::RandomState makes an entropy call.

I wonder why we get different results when you run it than in our test suite.

@hoodmane: This is really difficult to get right, but there are two places where it uses an entropy call:
1. the first time pyo3 makes a std::collections::HashMap, it initializes [std::collections::hash_map::RandomState](https://doc.rust-lang.org/std/collections/hash_map/struct.RandomState.html)

2. pydantic-core itself uses [ahash](https://github.com/tkaitchuck/aHash/blob/master/src/hash_map.rs) and the first time an `ahash::AHashMap` is constructed, `ahash::RandomState` makes an entropy call.

I wonder why we get different results when you run it than in our test suite.

But even when I download latest build from
runs/9421919278/job/25957049626, workerd
and run ../workerd serve ./samples/pyodide-fastapi/config.capnp --verbose, I get
  File "/lib/python3.12/site-packages/_cloudflare/import_patch_manager.py", line 27, in exec_module
    with self.import_context(module):
  File "/lib/python312.zip/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/lib/python3.12/site-packages/_cloudflare/entropy_import_context.py", line 123, in pydantic_core_context
    with allow_bad_entropy_calls(1):
  File "/lib/python312.zip/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/lib/python3.12/site-packages/_cloudflare/entropy_import_context.py", line 48, in allow_bad_entropy_calls
    raise RuntimeError(
RuntimeError: 1 unexpected leftover getentropy calls

So either its my local environment problem, or Pydantic-core has modified with version change?
I've tested Debian 12, Ubuntu 22.04, and Fedora 39.

Oh okay thanks! Then I'll try to look at pydantic-core if anything happened there.

Fixed by #2324.


UI dark mode: Low contrast of the color red in rustc error messages

This concerns elements with CSS classes token error in the dark UI mode.

Contrast between foreground color #BF1B1B and background color #343434 is 2:1 thus failing WCAG AA (according to WebAIM).
I haven't checked the other color that may appear in rustc's diagnostics.

Ah, I've just seen https://github.com/rust-lang/rust-playground/pull/1087. However, it doesn't seem to address this specific issue (yet).

it doesn't seem to address this specific issue

not directly, but it does change the output background to #191b1c

Thoughts?
Chrome (with Advanced Perceptual Contrast Algorithm (APCA) enabled) does not complain about the error text now (while it does for many other things, such as the warning text)

That's a lot more legible 👍 I guess you can mark your PR as fixing this issue.
Still, as alluded to, colors other than red (like yellow & purple) should pop a little bit more when the UI is set to dark.


Print deployment process for the command 'az spring app deploy'

Print deployment process for the command 'az spring app deploy'
This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

spring


getting Oauth token is not valid when creating a new app using app builder

ran this command in termina : aio app init extlive
but got the below error :

was following this tutorial by adobe : https://www.youtube.com/watch?v=b6jKxNnXFrk&t=613s

Paste the contents of aio info

hi there, as requested, connect of aio info below :
Using local project's @adobe/aio-cli-plugin-asset-compute version 2.0.1
System:
OS: macOS 11.6.1
CPU: (8) x64 Apple M1
Memory: 21.43 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.22.1 - ~/.nvm/versions/node/v12.22.1/bin/node
Yarn: Not Found
npm: 6.14.12 - ~/.nvm/versions/node/v12.22.1/bin/npm
Virtualization:
Docker: 20.10.12 - /usr/local/bin/docker
npmGlobalPackages:
@adobe/aio-cli: 8.2.0
Proxies:
http: (not set)
https: (not set)
CLI plugins:
core:
@adobe/aio-cli 8.2.0
@adobe/aio-cli-plugin-app 8.5.1
@adobe/aio-cli-plugin-auth 2.6.0
@adobe/aio-cli-plugin-certificate 0.3.0
@adobe/aio-cli-plugin-config 2.3.0
@adobe/aio-cli-plugin-console 3.4.2
@adobe/aio-cli-plugin-events 1.1.6
@adobe/aio-cli-plugin-info 2.1.0
@adobe/aio-cli-plugin-runtime 5.3.0
@oclif/plugin-autocomplete 0.3.0
@oclif/plugin-help 2.2.3
@oclif/plugin-not-found 2.3.1
@oclif/plugin-plugins 1.10.11
@oclif/plugin-warn-if-update-available 1.7.3
user:
@adobe/aio-cli-plugin-asset-compute 2.0.1
@adobe/aio-cli-plugin-cloudmanager 3.0.0
link:
On Fri, Apr 1, 2022 at 10:20 PM Shazron Abdullah @.***>
wrote:

Paste the contents of aio info
—
Reply to this email directly, view it on GitHub
https://github.com/adobe/aio-cli-plugin-auth/issues/66#issuecomment-1085778180,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGHCOYW2DTO7C7RZKQNZC3VC3LXXANCNFSM5SHQ7KVA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Please reinstall the cli, and run the command again. There have been plugin updates a few days ago that you don't have.
npm install -g @adobe/aio-cli

this is the output, do i now have the latest :
[image: image.png]
On Sat, Apr 2, 2022 at 12:19 AM Shazron Abdullah @.***>
wrote:

Please reinstall the cli, and run the command again. There have been
plugin updates a few days ago that you don't have.
npm install -g @adobe/aio-cli
—
Reply to this email directly, view it on GitHub
https://github.com/adobe/aio-cli-plugin-auth/issues/66#issuecomment-1085891533,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGHCOYFIS2V4U5E5HAS2BTVC3ZVJANCNFSM5SHQ7KVA
.
You are receiving this because you authored the thread.Message ID:
@.***>

this should be fixed with the latest cli (run the command I quoted above)


Ember CLI 0.2.7.

Most of the changes are a result of running an ember init after the upgrade. Any other meaningful changes are noted inline.

v. nice! @cibernox was having trouble in #133 but I think you figured out the issues with the node/addon tests. Thanks a lot!


Toolbar: overflow is not working in child window

Bug Report
Steps

Open attached CodeSandbox
Click on Open Window button
Notice that Toolbar looks properly
Resize child window

Expected Result
Resize occurred.
Actual Result
Nothing happened.

Version
0.37.0
Testcase
https://codesandbox.io/s/stardust-ui-example-sqh81

The window reference is still pointing to the original window, rather than the new externalWindow

I could create an optional prop on Toolbar that would accept a window. But not sure if that's the right solution. Shouldn't Provider automatically handle the references to the external document/window?

@lucivpav - let's say you pass window to Toolbar - what will you do with that there?
You can fix the requestAnimationFrame call but from what I and @levithomason debugged, the main problem is in native ResizeObserver - there is no way how to pass custom document to it.
Because of that and reported performance issues with overflow, we will need to reconsider feature requirements and choose what to sacrifice.

Extended codesandbox: https://codesandbox.io/s/mw-resizeobserver-hkpgo

It works if it's created on a proper window: https://codesandbox.io/s/mw-resizeobserver-r2zkd
However, there are no options for pofyfil 😭

closing this as it will be fixed in the new implementatioin of the automatic overflow.


pybilt on google colab

I tried to install the pybilt on google colab but I was not unable. I do not know why.
Could you give any tips, please?
Does it run with python2 or python3?

Hi @andresilvapimentel
The latest pybilt version (0.3.0) is only tested with python3, so that's what I'd recommend.
I'm not sure if there is a better way or not, but the following worked for me to install for use in a single Colab notebook:

Install pybilt - Run this command line call at the beginning of the notebook: !pip install -e<EMAIL_ADDRESS>Install MDAnalysis  - run command line call: !pip install MDAnalysis
Restart the notebook runtime: From the menu: Runtime->Restart runtime

The first command should install pybilt locally in your Colab notebook environment. The second command will install MDAnalysis, which is the only pybilt dependency not included in the default Colab packages. Then, the third step of restarting the Runtime should update the package list for that notebook so that you can import pybilt. Once that is done, you could comment out the pip calls so that it doesn't try to install pybilt/MDAnalysis again if you restart/rerun the notebook later. It looks like if you want to use pybilt again in a different notebook, then you have to repeat the above procedure to install it into that new notebooks environment.
Let me know if the above works for you or if you run into other issues.
Best,
Blake


Trouble Compiling Raylib-J to jar file

I am trying to compile the current main branch of Raylib-J library to a jar file, so that I can use that jar file in a another project, however the compiled jar file is not working.
Here’s what I did:
Downloaded the repo to my system, and opened it up with IntelliJ.
Then I went on build, build artifact, build jar.
It built the jar file, but once I import that jar file to my other project I’m working on, it doesn’t recognize any Raylib/Raylib-J methods.
I am new to IntelliJ, so it’s most likely I’m missing something, any help would be great.

Hi, the issue was the build configuration in the repo was not including the Raylib-J compile output to the .jar
You can fix it by adjusting the build config, or by pulling the latest changes from the repo

Hey there,
After cloning this repo after the update, I add the root folder as the content root, then try to build again, but again it did not work, leading to the same results of no methods being recognize. However I then I went on Project Structure, Libraries, then I deleted the "native" library containing the lwjgl framework, then re-added back in the "native" library. That seem to work as after re building, then importing that raylib-j jar to my project, the methods are now recognize as there no longer highlighted red. My test project then compile and ran fine. I don't know if doing this was the right way but it seemed to work.
The only thing is that for some reason texture don't draw on screen. I can see the code itself doesn't have any error, and the log says the image loaded successfully. I can't tell if I accidently l messed something up while trying to compile the raylib-j library, or if it's due to something else.
(EDIT: I already know that using raylib-j_0.4 the texture loads fine, so then I try to then use to pre-compile raylib-J_DEV-0.5 to see if the texture would load, but the texture also did not load. Could it be a bug from DEV-0.5?)
Thanks for all your help by the way CreedVI :)

I've been using 0.5_DEV for my personal project and have had no issues with loading textures.
Can you share more details about your code?

Yep no problem. Here's my test code, it's a modified version of the keyboard Input example, just testing a bunch of things.
The Test Code:
import com.raylib.java.Raylib;
import com.raylib.java.core.Color;
//import com.raylib.java.core.camera.Camera2D;
import com.raylib.java.core.rcamera.Camera2D;
import com.raylib.java.core.input.Keyboard;
import com.raylib.java.core.input.Mouse;
import com.raylib.java.core.rCore;
import com.raylib.java.raymath.Vector2;
import com.raylib.java.shapes.Rectangle;
import com.raylib.java.textures.rTextures;
import com.raylib.java.textures.*;
import com.raylib.java.raymath.Raymath;

//import static com.raylib.java.core.input.Keyboard.*;

/*******************************************************************************************
 *
 *   raylib-j [core] example - Keyboard input
 *
 *   This example has been created using raylib-j (Version 0.4)
 *   Ported by CreedVI
 *   https://github.com/creedvi/raylib-j
 *
 *   raylib is licensed under an unmodified zlib/libpng license
 *   Original example written and copyright by Ramon Santamaria (@raysan5)
 *   https://github.com/raysan5
 *
 ********************************************************************************************/

public class Main{

    public static void main(String[] args){

        // Initialization
        //--------------------------------------------------------------------------------------
        int screenWidth = 800;
        int screenHeight = 450;
        Raylib rlj = new Raylib();

        Player rect = new Player();

        rlj.core.InitWindow(screenWidth, screenHeight, "raylib-j [core] example - keyboard input");

        //Image icon = rTextures.LoadImage("resources/raylib-j_logo.png");

        //rlj.core.SetWindowIcon(icon); //also couldn't get icon to set window icon

        Texture2D picture = rTextures.LoadTexture("resources/raylib-j_logo.png");

        Vector2 ballPosition = new Vector2((float) screenWidth / 2, (float) screenHeight / 2);
        Vector2 imageSize = new Vector2(rlj.core.GetMouseX(), rlj.core.GetMouseY());
        Vector2 mousePos = new Vector2(rlj.core.GetMouseX(), rlj.core.GetMouseY());

        Camera2D camera = new Camera2D();
        camera.target = new Vector2(ballPosition.getX(), ballPosition.getY());
        camera.offset = new Vector2(screenWidth / 2.0f, screenHeight / 2.0f);
        camera.rotation = 0.0f;
        camera.zoom = 1.0f;

        int drawBlock = 0;
        int xPos = 0;
        int yPos = 0;

        rlj.core.SetTargetFPS(60);               // Set our game to run at 60 frames-per-second
        //--------------------------------------------------------------------------------------

        // Main game loop
        while (!rlj.core.WindowShouldClose()){    // Detect window close button or ESC key

            // Update
            //----------------------------------------------------------------------------------
            if (rCore.IsKeyDown(Keyboard.KEY_RIGHT)){
                ballPosition.x += 2.0f;
            }
            if (rCore.IsKeyDown(Keyboard.KEY_LEFT)){
                ballPosition.x -= 2.0f;
            }
            if (rCore.IsKeyDown(Keyboard.KEY_UP)){
                ballPosition.y -= 2.0f;
            }
            if (rCore.IsKeyDown(Keyboard.KEY_DOWN)){
                ballPosition.y += 2.0f;
            }

            rect.playerMessage();

            imageSize.setY((float)(rlj.core.GetMouseY()));
            imageSize.setX((float)(rlj.core.GetMouseX()));
            mousePos.setY((float)(rlj.core.GetMouseY()));
            mousePos.setX((float)(rlj.core.GetMouseX()));
            Vector2 stw = rlj.core.GetScreenToWorld2D(mousePos, camera);

            //rlj.text.DrawText("xPos: " + mousePos.getX(), 200, 0, 10, Color.GREEN);
            //rlj.text.DrawText("yPos: " + mousePos.getY(), 300, 0, 10, Color.GREEN);
            rlj.text.DrawText("x: " + rlj.core.GetMouseX(), 200, 0, 10, Color.GREEN);
            rlj.text.DrawText("y: " + rlj.core.GetMouseY(), 300, 0, 10, Color.GREEN);
            rlj.text.DrawText("xBall: " + ballPosition.getX(), 400, 0, 10, Color.GREEN);
            rlj.text.DrawText("yBall: " + ballPosition.getY(), 500, 0, 10, Color.GREEN);
            rlj.text.DrawText("xRec: " + stw.getX(), 600, 0, 10, Color.GREEN);
            rlj.text.DrawText("yRec: " + stw.getY(), 700, 0, 10, Color.GREEN);

            //camera.target = new Vector2(ballPosition.getX(), ballPosition.getY());

            // Translate based on mouse right click
            if (rCore.IsMouseButtonDown(Mouse.MouseButton.MOUSE_BUTTON_MIDDLE))
            {
                Vector2 delta = rlj.core.GetMouseDelta();
                delta = Raymath.Vector2Scale(delta, -1.0f/camera.zoom);

                camera.target = Raymath.Vector2Add(camera.target, delta);
            }

            // Zoom based on mouse wheel
            float wheel = rCore.GetMouseWheelMove();
            if (wheel != 0)
            {
                // Get the world point that is under the mouse
                Vector2 mouseWorldPos = rlj.core.GetScreenToWorld2D(rCore.GetMousePosition(), camera);

                // Set the offset to where the mouse is
                camera.offset = rCore.GetMousePosition();

                // Set the target to match, so that the camera maps the world space point
                // under the cursor to the screen space point under the cursor at any zoom
                camera.target = mouseWorldPos;

                // Zoom increment
                final float zoomIncrement = 0.125f;

                camera.zoom += (wheel*zoomIncrement);

                if (camera.zoom < zoomIncrement)
                {
                    camera.zoom = zoomIncrement;
                }

            }

            //----------------------------------------------------------------------------------

            // Draw
            //----------------------------------------------------------------------------------
            rlj.core.BeginDrawing();

            rlj.core.ClearBackground(Color.RAYWHITE);

            rlj.core.BeginMode2D(camera);

            rlj.shapes.DrawRectangle(200,400,50,50, Color.DARKGREEN);

            rlj.shapes.DrawCircleV(ballPosition, 50, Color.MAROON);

            ballPosition.setY(ballPosition.getY() + 1.0f);

            //couldn't get texture to load in DEV0.5 and in compiled jar of the newest reversion main branch, works on 0.4
            rlj.textures.DrawTexture(picture, 45, 50, Color.WHITE);

            Rectangle box = new Rectangle(xPos, yPos, 50, 50);

            if(drawBlock == 1)
            {
                rlj.shapes.DrawRectangle(xPos, yPos, 50, 50, Color.DARKGRAY);
            }

            if(rCore.IsMouseButtonDown(Mouse.MouseButton.MOUSE_BUTTON_LEFT))
            {
                drawBlock = 1;
                xPos = (int)stw.getX();
                yPos = (int)stw.getY();
            }
            else if (rCore.IsMouseButtonDown(Mouse.MouseButton.MOUSE_BUTTON_RIGHT) && rlj.shapes.CheckCollisionPointRec(stw, box))
            {
                drawBlock = 0;
            }

            //rlj.shapes.DrawRectangle((int)(stw.getX()), (int)(stw.getY()), 20, 20, Color.VIOLET);

            rlj.core.EndMode2D();

            rlj.text.DrawText("move the ball with arrow keys", 10, 10, 20, Color.DARKGRAY);

            //rect.playerDraw();

            //rlj.textures.DrawTextureEx(picture, imageSize, 0f, 0.1f, Color.WHITE);

            rlj.text.DrawText("FPS: " + Integer.toString(rCore.GetFPS()), 3, 0, 10, Color.GREEN);

            rlj.core.EndDrawing();
            //----------------------------------------------------------------------------------
        }
    }

}

In regards to your code, I'm assuming the texture you're loading is the Raylib-J logo from the repo, so in my test I used the 128x128.
For the Window Icon glfw requires an image with 32-bit colour resolution, so the Raylib-J logo won't work (for now - I'm going to look into fixing that); I substituted the icon texture with one of my personal assets for the test.
For the texture, I created a new project, pasted your code in, added the resources directory as a resources module in my project structure. (File > Project Structure > Module - - See Image 1)

Ah I see, Thank you so much. I was able to fix the issue by what you said, by marking my resources folder as "resources", in the project structure settings. Both now the texture is being drawn on to the screen, as well as the icon is now showing as well.


upgrade sbt

https://github.com/apache/incubator-pekko-samples/issues/5

Cool, ill wait for CI to pass


Make the Plugin HOOBS compatible

Is your feature request related to a problem? Please describe:
I´m using Hoobs (simple interface)
There is no terminal to excecute the link to the PSN Account
Describe the solution you'd like:
It would be great to make the plugin compatible with HOOBS
Describe alternatives you've considered:
Installing Homebridge :(
Additional context:
I would love to have that simple change <3

I have the same issue. Was able to install via terminal if run
npm -g install homebridge-playstation
and follow the outlined configuration, but installing this way does not configure the install made through the plugin library.

Hello; unfortunately I don't have an HOOBS device - if you can somehow help me doing this work it would be appreciated.

I'll do what I can. Will probably need some guidance.

Any update on this? I am trying to install the plugin on HOOBS but unable to.


Reducing the search space for probes

If we make the product decision #36 to say we want to find all comms loops and not just all credit loops then this does mean on the technical side we can't really use max-flow. The idea of how MTCS uses max-flow is tightly connected to the credit graph being a directed graph.
So we could either look at a form of pre-processing (preceding the probe) that would work on an undirected graph, or using something like nack messages to stop unfruitful probe flooding trees early.
And in any case, if we use pre-processing then it needs to be adaptive to network links being added/removed.

In a directed graph, nodes could tell each other how far away they are from the edge of the network.
Actually, maybe there is no reason this wouldn't also work in a bidirectional graph.
And maybe the measure would then not be how many steps you can go without hitting a leaf, but how many steps you can go without repeating links.
Would this be a privacy concern?

What would also be really helpful for reducing the search space is if probes were prohibited from following the full path of an already traced loop

Probes could easily record which announced loops they are forked on, or make sure they don't follow both directions of a loop

Probes also don't have to enter known dead ends


feat: add support of a default scheme if not present in parsedSpec

Problem
The request url getting generated on the basis of current window URL when no schemes present in swagger json
Explanation
Solution
Add a default HTTP scheme and generate request URL on the basis of host and basepath

Oh, we have kind of the same logic twice: In Content.vue and in getUrlFromServerState.ts. I think I’ll take the opportunity and try to merge them in a separate PR.

Thanks for the PR! We fixed this in https://github.com/scalar/scalar/pull/1475 :)


Add Pie Chart Key

Background
PureChart supports simple pie charts due to #21, but they aren't very helpful yet because there is no key displaying the categories and their respective percentages. Below is a screenshot of what this can look like (taken from monday.com).

Goal
When rendering a pie chart, also render a key to the side of it displaying every category, its color, and its percentage. Note that this will involve adding an additional field to every data point, like name or category.
Although the pie chart is rendered as an SVG, using HTML/CSS for the key will actually be much easier! For this reason, the pie chart partial (purechart/app/views/_pie.html.erb) may come in handy. Here's what I'd recommend trying -

Instead of rendering the rendered result (result.html_safe), pass it to the partial as a local variable
Inside the partial, stick the SVG result onto the page using a template tag <%= ... %> and use HTML + inline CSS to generate the key

Feel free to delete anything inside _pie.html.erb as it's not being used. Good luck!

Note - the data should be formatted like this.
[
  {
    value: 25,
    color: "#eb4d4b"
  },
  {
    value: 100,
    color: "#be2edd"
  },
  ...
]

If I'm allowed to I'd like to do this one as well (while waiting on pull request)

Go ahead @yooian, since you're the pie expert here 🫡

Update - work in progress by @yooian, keeping this one reserved even though two weeks have expired.

Closed by #42


Customizing tooltips

Hi,
First of all, thanks for a great library!
I have some questions regarding tooltips:
Sometimes, I would like to use displayOptions and a data property to customize a visualization, but I do not want to show the data property in the tooltip - is there a way to avoid that?
Is there an easier way to change the "title" of the tooltips (the one above the legend)? I have managed to do so for a MapMarkerDataLayer, where per default the lat/lon is showed, by using the custom location mode and changing the text property of the location object. However, this seems like a bit of a workaround.
Is it possible to disable the legend in the tooltips?
Finally, is it possible to completely customize the content of the tooltip, or do I need to implement my own with the onEachRecord function?
Regards,
Joakim Kejser

Thanks @joakimkejser.  Great questions, which should lead to some new features in the future.  You should be able to disable the tooltips altogether by setting showLegendTooltips to false in the options you pass in to the DataLayer.  You can exclude properties you've called out in displayOptions by setting excludeFromLegend to true under the options associated with a given display option.
In terms of the legend title, I'm assuming you're referring specifically to the location text value that's displayed?  The only way to set this now is through the workaround you mentioned.  I agree that this should be simpler to customize and will add this to the list of updates that need to be made.
It's not easy at the moment to customize the tooltip content, but I'll that to the list of updates as well.

@sfairgrieve, thanks for getting back to me.
excludeFromLegend does indeed exclude the given display option from the legend, but not from the tooltip. This behavior is demonstrated in the "DC Metro Bus Locations" example. I can however also imagine examples where you would want to exclude a displayOptions from the tooltip but include it in the legend (say you dynamically scale the radius/weight with an arbitrary property not meant for display in the tooltip).
_getLegend take the excludeFromLegend option into account, but _bindMouseEvents does not filter legendDetails before passing it on to L.LegendIcon if I have interpreted the code correctly. Maybe there should be an excludeFromTooltip option?
I am specifically referring to the location text value that is displayed, yes. In relation to that, the L.Graph layer disregards the location.text value of the to and from location retrieved and instead displays the fromField and toField value. This works great in the airport example but leaves no room for customization. I believe text: fromValue + ' - ' + toValue should instead be text: fromLocation.text + ' - ' + toLocation.text here, which would yield the same result in the airport example.
Another option I would like to see is the ability to also hide the legend box (the colored/styled little icon) in the tooltips. I find them very useful in some cases, but when using a MapMarkerDataLayer unstyled or with very few color options, I would like to exclude them.
Once again, thank you for your work on this project - it is immensely useful.
Let me know if there is anything I can do to help.
Regards,
Joakim

You're right.  Great points/suggestions.  I think these are all things that should be configurable.
You should be able to hide the legend boxes using CSS.  Something like:
div.leaflet-div-icon div.legend-box {
   display: none;
}

Let me know if that doesn't work.
I'm definitely open to contributions, so if you feel like implementing any of these suggestions, I'd be happy to accept pull requests.  I'll let you know when I start working on these features once I get some free time (hopefully soon).
Scott

@joakimkejser After reviewing the code, I also forgot that this option existed, but you can pass in an option called dynamicOptions that is a function that takes a record as input and should return an object with a layerOptions property (key/value pairs for styling the legend box) and a legendDetails property for what fields/values to display.  So:
var layer = new L.DataLayer(data, {
...
dynamicOptions: function (record) {
    return {
       layerOptions: {
          color: 'red'
       },
       legendDetails: {
          field1: value1
       }
    };
}
...
});

The _getDynamicOptions function of L.DataLayer is the default implementation of this.  Can you give this a try and see if it works?  I think this would essentially solve some of your issues, although it's more complex than the options you suggested.  I'm looking into adding those in as well.

@sfairgrieve Yes, that does indeed work with a small change:
dynamicOptions: function(record) {
    opt = layer._getDynamicOptions(record);
    return {
        layerOptions: opt.layerOptions,
        legendDetails: {
            "whatever": {
                 "name": "Name",
                 "value": record.value
            }
        }
    }
}

I called the original function to avoid having to define all my layerOptions again, but this is also a nice way to allow complete control over those. The legendDetails need a "name" and "value" for it to work.
Is there a way to call _getDynamicOptions without referencing my layer instance?
Thanks! This solves my problem for now. I will see if I can help with some of the other options when I get time.

Great!  Yeah, I just noticed that dynamicOptions is not being passed the DataLayer instance as the context (I'll fix that).  Once I fix that, you should be able to call this._getDynamicOptions(record).  Saw your pull request as well and will try to accept that tonight.  Your help and input is definitely appreciated!

@sfairgrieve the pull request is just a minor change, so no hurries. Asesome, the context will be very useful in dynamicOptions.
I have stumbled upon another issue related to tooltips. If showLegendTooltips is set to false, setHighlight and unsetHighlight cannot be used to create a hover effect, as these are bound in the _bindMouseEvents which is only called if showLegendTooltips is true.
A solution could be to move the check on showLegendTooltips to the _bindMouseEvents, as to only exclude tooltip related stuff and leave in the setHighlight and unsetHighlight bit.

@joakimkejser I pushed some updates to master and 1.0dev that address some of your suggestions.  Can you give these updates a try when you get a chance?  I did some testing, but I'm hoping you can validate things to make sure I didn't miss anything.  I may also break out your suggestions into separate issues, so I can track them better.

@sfairgrieve Thanks for working on this. When I load in 1.0dev, everything works fine, but master gives me an error. I think I've tracked it down to some issue with L.ArcedPolyline where the implementation of initialize is different between master and 1.0dev. To be fair, I previously used the distribution used in the examples: http://humangeo.github.io/leaflet-dvf/dist/leaflet-dvf.js, which shares the implementation with the 1.0dev branch. So it is probably not related to your recent changes, and my code might have been faulty all along. I get the following error:
Uncaught TypeError: Cannot read property 'call' of undefined
    at e.initialize (leaflet-dvf.js:7164)
    at new e (leaflet.js:5)
    at e.ARC (leaflet-dvf.js:8045)
    at e._getLocation (leaflet-dvf.js:8082)
    at e._loadRecords (leaflet-dvf.js:5402)
    at e.addData (leaflet-dvf.js:5517)
    at e.initialize (leaflet-dvf.js:5181)
    at new e (leaflet.js:5)
    at HTMLDocument.<anonymous> (report.html:804)
    at i (jquery.min.js:2)

where at HTMLDocument.<anonymous> (report.html:804) is var layer = new L.Graph(data, options);
Maybe you have some inputs on that?
I'll take a look at the specific features you have implemented tomorrow and validate. Just to clarify, from reading the code I understand that you have added/fixed the following:

option useLocationText in the L.Graph to switch between using location.text and the value of the fromField/toField as the tooltip 'title'. Furthermore, you have added the option to specify a getLocationText function which gets passed the record and overwrites the tooltip title text (which is a great way to do it by the way).
option excludeFromTooltip in the displayOptions of L.DataLayer to exclude a specific displayOption from the tooltip
the check on showLegendTooltips have been moved, so now the highlighting functions should work regardless of showLegendTooltips value.

Have I missed anything?
Great idea seperating the issues - sorry for pouring them all into one issue. I can try and create seperate issues and reference the fixes if you'd like?

Thanks @joakimkejser.  That makes sense.  master is setup to work with Leaflet 0.7.x and 1.0dev is setup to work with Leaflet 1.0.x.  At some point in the near future, I'll switch master to be the 1.0.x compatible version and ween off any updates related to the 0.7.x version.  It's tough trying to support both codebases.
The changes you've listed are right.  I also updated the code so that the options.dynamicOptions function gets passed this (the DataLayer instance) as the context, so you should be able to call this._getDynamicOptions rather than layer._getDynamicOptions.  I'll start adding any of the suggestions I missed as issues tomorrow and begin trying to address them.

@sfairgrieve I tested all of the above against the 1.0dev branch, and it works as intended! Reading through our discussions above, the enhancements related to tooltips that are still missing are:

an option to hide the legend icon in the tooltip box
an optional function to complete overwrite the tooltip content

With that in place, I think we have achieved completely customizable tooltips!
I might have some additional enhancement proposals for L.Graph, but I'll open separate issues for that when I have explored/formalized my thoughts on that.
Thanks for spending time on this!

Thanks for validating.  I'll plan to add those additional features in the next few days.  Any feedback/improvements you have for L.Graph will be much appreciated.

@joakimkejser I pushed some updates to the feature/custom-tooltips branch, if you want to check it out.   This should address #104 and #105.
For #104:
Under tooltipOptions you can include a getTooltip function that takes the record, legendDetails, and layerOptions and returns an L.DivIcon instance.
For #105:
Under tooltipOptions you can include a hideLegendBox property with a value of true to hide the legend box.
Let me know what you think when you get a chance.

Hi @sfairgrieve ,
Thanks for you continued effort to improve the tooltips.
After remembering to update the css, the hideLegendBox property in the tooltipOptions on the 'feature/custom-tooltips' branch works exactly as expected, solving #105.
I will test and explore the getTooltip function later.
Cheers.

Hi @sfairgrieve ,
The getTooltip in the tooltipOptions function works, and does indeed overwrite the complete tooltip! This is great!
I discovered a possible side effect of the changes. Using L.PieChartDataLayer (or any ChartDataLayer i assume), I now how to specify showLegendTooltips: true to get tooltips. This is a change from before, but it makes sense as L.ChartDataLayer specifies this as default:
options: {
            showLegendTooltips: false
        },

Furthermore, I seem to have two additional issues:

I cannot get the tooltip to display the values from the "slices" of the PieChartMarker like it did previously. When forcing it to show tooltips, I just get the tooltip box with a title and legendBox
The mouseOver highlighting seems to have changed. When I mouseover one of my PieCharts, I get a different styling that is not reset completely after mouseout, leaving me with a weight on the whole PieChart (not just the slice) where there previously was weight=0.

I can fix the mouserOver/Out issues by adding:
      setHighlight: function(options) {
        return options;
      },
      unsetHighlight: function(options) {
        return options;
      }

but then I lose the nice exaggerations of the slices on hover.
Can you replicate these issues or is it just me? I haven't had the time to read through the code thoroughly, so I'm sorry if I've missed something obvious.

Thanks for testing this out!  I'll investigate and see if I encounter the same issues.

I see the issue.  This is a side effect of removing the if statement around _bindMouseEvents a few commits back.  Before, if showLegendTooltips was false, the DataLayer would not call _bindMouseEvents on child layers.  Now, _bindMouseEvents is being called whether showLegendTooltips is true or false, which is preventing the child ChartMarker from getting that hover event.  I'll try to put in a fix for this soon.  The other issue this brings up is that ChartMarkers have their own tooltips, which the DataLayer settings don't affect - need to think about a way of fixing this/allowing customization that doesn't require duplicating too much code.

@sfairgrieve, your recent changes in the feature/custom-tooltips branch seems to have solved my issues. I'm aware that there still might be some customization issues - haven't checked any of that.

No one of methods, which described above, didn't work for me. I didn't meet other explanation and any option in docs. In code I even didn't meet those options, which mentioned above. So, I put some changes in PieChartMarker section in leaflet-dvf.markers.js:
if(options.showTooltipOnChartPart==true)                      { 	                this._bindMouseEvents(bar);                     }
and set option options.showTooltipOnChartPart to false. This helps me. Maybe I didn't understand something? I used version 1.0dev.


Create tutorial using encryption & include appropriate tests

Aim is to explain how to use encryption policies; for example, so that username/password are not transmitted un-encrypted over the network when logging in.
The open62541 example treating this can be found here:
https://github.com/open62541/open62541/blob/master/examples/access_control_encrypt/client_access_control_encrypt.c
This can serve as a starting point.

This will be in https://github.com/martinkosch/Open62541.jl/pull/33


feat: fix bug in gen script and update folder structure

This PR covers the following

Fixes a small bug in the files generator script for handling empty hashes in the YAML
Add a new file called samples.all that contains all the hashes in one single file (it might be useful to some)
Rename the hashes folder into the detections (as it makes more sense) and add subfolders for SIGMA, SYSMON and the HASHES respectively

LGTM


[SPARK-23948] Trigger mapstage's job listener in submitMissingTasks

What changes were proposed in this pull request?
SparkContext submitted a map stage from submitMapStage to DAGScheduler,
markMapStageJobAsFinished is called only in (https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L933 and https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L1314);
But think about below scenario:

stage0 and stage1 are all ShuffleMapStage and stage1 depends on stage0;
We submit stage1 by submitMapStage;
When stage 1 running, FetchFailed happened, stage0 and stage1 got resubmitted as stage0_1 and stage1_1;
When stage0_1 running, speculated tasks in old stage1 come as succeeded, but stage1 is not inside runningStages. So even though all splits(including the speculated tasks) in stage1 succeeded, job listener in stage1 will not be called;
stage0_1 finished, stage1_1 starts running. When submitMissingTasks, there is no missing tasks. But in current code, job listener is not triggered.

We should call the job listener for map stage in 5.
How was this patch tested?
Not added yet.
Author: jinxing<EMAIL_ADDRESS>(cherry picked from commit 3990daaf3b6ca2c5a9f7790030096262efb12cb2)

clean cherry-pick of https://github.com/apache/spark/pull/21019, I just forgot to merge back to 2.3

Test build #89457 has started for PR 21085 at commit 35e349f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2393/
Test PASSed.

LGTM!

Test build #89457 has finished for PR 21085 at commit 35e349f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89457/
Test FAILed.

known flaky test https://issues.apache.org/jira/browse/SPARK-23894
merging to branch 2.3

Should we manually close this PR? @squito

whoops, thanks for the reminder @jiangxb1987


Handle type errors in (Jackson)ServiceValue and *ColumnWriters

@muga Some questions in the original util-web_api.

Boolean
Double
Json
Long
String
Timestamp

Some technical reasons why *value() is used in Boolean, Double and Long / asText() is used for String and Timestamp / toString() is used for Json?
1-1) Broken down: asText v.s. toString, and how about unused textValue?
1-2) Broken down: how about asBoolean, asDouble and asLong?

In Json, special reasons to once convert into String and then parse that. Not to directly convert JsonNode to msgpack Value?

Some technical reasons why *value() is used in Boolean, Double and Long / asText() is used for String and Timestamp / toString() is used for Json?

@dmikurube Good catch. It's just bad implementation in embulk-util-web_api. I didn't care of them. I don't check the source code of Jackson for now but, it sounds that the usage of asXXX methods is better than others?
In Json, special reasons to once convert into String and then parse that. Not to directly convert JsonNode to msgpack Value?

Do you have good idea to convert them directly? I didn't know about it at that time. We should take it if you have.

@dmikurube Good catch. It's just bad implementation in embulk-util-web_api. I didn't care of them. I don't check the source code of Jackson for now but, it sounds that the usage of asXXX methods is better than others?

Not perfectly sure. In general, as* tries to convert the value in some way within Jackson. *value just returns its real representation. Then,

If we want to take full control of type conversions by ourselves, we may want to use *value and implement conversions there.
If we delegate conversions to Jackson, we'd just use as*.

To make it easy to track later problem investigation, it may be better to control type conversions by ourselves, but it's not a trivial decision.

Do you have good idea to convert them directly? I didn't know about it at that time. We should take it if you have.

No special ideas at the moment. I wanted to confirm whether there ware some reasons or not. :)

@muga Seeing Jackson source code.

JSON numeric ==> Java numeric: as* and *value are the same
JSON numeric ==> Java text: asText formats numerics to texts. textValue returns null.
JSON text ==> Java text: as* and *value are the same.
JSON text ==> Java numeric: as* parses texts to numerics. *Value returns 0.

The key points are numeric <=> text. If we'd like to control how numerics are formatted to texts, and how texts are parsed to numerics, we'd use *Value and handle conversions by ourselves by checking types beforehand.

asBoolean may be the most clear example.
If the library is requested to interpret a text in JSON as boolean in Java, Jackson's asBoolean recognizes only "true" and "false" -- no TRUE, False, or 0.
It happens when the following JSON is responded:
{ "flag": "True" }

and the plugin is implemented:
        return SchemaWriterFactory.builder()
                .add("flag", Types.BOOLEAN)

One idea is just following Jackson's as* (meaning we assume only "true" and "false") in the library of ours.
If developers need other kinds of true/false, it's somewhat possible to override by extending ServiceValue and ServiceRecord by themselves. I guess it is not a very popular case...

If developers need other kinds of true/false, it's somewhat possible to override by extending ServiceValue and ServiceRecord by themselves. I guess it is not a very popular case...

Since as* methods don't fail for typing reasons, error handling may not be needed.

Agree. Let's use asXXX methods in Jackson for now.

Do you have good idea to convert them directly? I didn't know about it at that time. We should take it if you have.

No special ideas at the moment. I wanted to confirm whether there ware some reasons or not. :)

Yea, we could extend msgpack-core or jackson-binding to do that. but they don't provide it.

Got it. #31 is merged. Closing. Filed #32 just for the future.


Porting guides for file

Addressed by https://github.com/Azure/azure-sdk-for-java/pull/5358.
Further enhancement is taken by Storage team.


fix: 🐛 testing semantic release in circleci

:tada: This PR is included in version 1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


grouping multi-vpc: should we group vsis from the same vpc but different subnets when there are multiple vpcs?

Currently we are not grouping vsis from different subnets.
But should this be the policy when there are multiple VPCs and the report is much longer?
e.g. in input_tgw_basic_example_multiple_regions.json -grouping
Connectivity between VPCs connected by TGW local-tg-ky (UID: crn:578)
Connectivity between VPCs connected by TGW local-tg-ky (UID: crn:578)
vsi11-ky[<IP_ADDRESS>] => vsi21a-ky[<IP_ADDRESS>],vsi21b-ky[<IP_ADDRESS>],vsi21c-ky[<IP_ADDRESS>] : All Connections
vsi12-ky[<IP_ADDRESS>] => vsi21a-ky[<IP_ADDRESS>],vsi21b-ky[<IP_ADDRESS>],vsi21c-ky[<IP_ADDRESS>] : All Connections
vsi21a-ky[<IP_ADDRESS>],vsi21b-ky[<IP_ADDRESS>] => vsi32-ky[<IP_ADDRESS>] : All Connections
vsi21a-ky[<IP_ADDRESS>],vsi21b-ky[<IP_ADDRESS>],vsi21c-ky[<IP_ADDRESS>] => vsi11-ky[<IP_ADDRESS>] : All Connections
vsi21a-ky[<IP_ADDRESS>],vsi21b-ky[<IP_ADDRESS>],vsi21c-ky[<IP_ADDRESS>] => vsi12-ky[<IP_ADDRESS>] : All Connections
vsi21a-ky[<IP_ADDRESS>],vsi21b-ky[<IP_ADDRESS>],vsi21c-ky[<IP_ADDRESS>] => vsi31-ky[<IP_ADDRESS>] : All Connections
vsi31-ky[<IP_ADDRESS>] => vsi11-ky[<IP_ADDRESS>] : All Connections *
vsi31-ky[<IP_ADDRESS>] => vsi12-ky[<IP_ADDRESS>] : All Connections *
vsi31-ky[<IP_ADDRESS>] => vsi21a-ky[<IP_ADDRESS>],vsi21b-ky[<IP_ADDRESS>],vsi21c-ky[<IP_ADDRESS>] : All Connections
vsi32-ky[<IP_ADDRESS>] => vsi21a-ky[<IP_ADDRESS>],vsi21b-ky[<IP_ADDRESS>] : All Connections

Connectivity between VPCs connected by TGW local-tg-zn (UID: crn:574)
<nothing to report>

Endpoint connectivity for VPC test-vpc0-ky
vsi1-ky[<IP_ADDRESS>] => Public Internet <IP_ADDRESS>/32 : All Connections
vsi1-ky[<IP_ADDRESS>] => vsi3a-ky[<IP_ADDRESS>],vsi3b-ky[<IP_ADDRESS>] : protocol: TCP src-ports: 1-442,444-65535 dst-ports: 443; protocol: TCP src-ports: 443
vsi2-ky[<IP_ADDRESS>] => Public Internet (all ranges) : All Connections
vsi3a-ky[<IP_ADDRESS>],vsi3b-ky[<IP_ADDRESS>] => vsi1-ky[<IP_ADDRESS>] : protocol: TCP src-ports: 1-442,444-65535 dst-ports: 443; protocol: TCP src-ports: 443
vsi3a-ky[<IP_ADDRESS>],vsi3b-ky[<IP_ADDRESS>] => vsi3a-ky[<IP_ADDRESS>],vsi3b-ky[<IP_ADDRESS>] : All Connections

....

Shouldn't we group e.g. the first two lines?
@adisos @zivnevo what do you say?

I say no

OK to close this issue? @zivnevo

Closing for now. Will reopen if someone complains.


Add DI/DIP

Hello,
It would be nice to DI/DIP for Dependency Inversion Principle
Example:
https://github.com/dwmkerr/hacker-laws#the-dependency-inversion-principle=

I would like to add this one.

I have created a PR for this. Please take a look at it. Thanks!


There’s an issue with your account or order

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

Title

[X] The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug
Any idea how to redeem?
Copy and paste your error
.
Screenshots
.
Value of dashboard variable
.

I think your Microsoft account was banned by Rewards
(Translate with Google)


A notebook that shows how to install openwhisk on fabric, as well as …

…runs a simple hello world function.

@842Mono - This notebook uses Native API interface, would it be possible to update this to work with the latest fablib api?

Hi. Okay, sure. Will do my best to write it in fablib.

@842Mono Could you please review the code again based on my previous comment? If I don't receive any response within a week, we may proceed to close the pull request.


Self observability of OAP backend

These changes related to #2977

Adding new telemetry called so11y derived from prometheus, and a new service to collect metrics from the exporter.
Adding a new receiver to collect these metrics and generate metrics related to JVM.

@hanahmily Your commit break e2e(single and cluster modes) somehow, could you check?

@hanahmily Does So11Receiver collect metrics from its own OAP metrics? Look like that way. Also, you still keep Prometheus port open, right?

Exactly. So11Telemtry provides an API to supply metrics and still listen to promethues port.

Besides the comments, you miss the document changes about receiver and backend-telemetry。

done.

/run ci

/run e2e


Updates

Scala to 2.12.10 in .travis.yml
sbt to 1.3.5
enumeratum to 1.5.14
doobie to 0.8.7

Close #142
Close #143
Close #144

@Yawolf we expose a client library currently in 2.12. Updating it will require updating sbt-compendium. I think we need to cross-compile for 2.12 and 2.13 at least for the client library. That's why I did not tackle that here :wink:


Error with umlauts and Eszett in taxonomy

Dear all!
German umlauts (Umlaute) and the Eszett are not treated properly in taxonomy URLs.
E. g., the umlaut ö becomes an ö, which seems to be a different glyph. Check in VIM, if your editor or browser does not distinguish between them.
In sitemap.xml the letter is replaced by %C3%B6

Taxonomy should generate proper umlauts and Eszetts --> äöüß

There should be a site param to rewrite umlauts and Eszetts:

ä --> ae
ö --> oe
ü --> ue
ß --> ss

These are conventions to break down umlauts/Eszett if these glyphs are not available and in URLs.
Thank you!

@Brixy What's Schönewolf supposed to be? A copy/paste issue?
ß should map to ss, from a "logical" point of view.

Oh yes! A client’s name.
(Would you mind deleting it from your comment.)
Thank you.

@Brixy done :)

There should be a site param to rewrite umlauts and Eszetts

There is. Try removePathAccents=true

Thank you, guys.
@bep This results in

ä --> a  (instead of ae)
…
ß --> %C3%9F

@bep works pretty well. Thanks!
However, in German, ä is usually replaced with ae instead of just a single a. Especially in case of URLs this can make a difference for search engines.
Can I customize the mapping of the umlauts?

Hello,
I can confirm that this behaviour is definately a bug and no feature ;-). I also added removePathAccents = true to get rid of rendering umlauts, but the results are - as Brixy said - wrong. The correct behaviour should be like Brixy described in the first post.
ä = ae
ö = oe
ü = ue
and
ß = ss
Having a instead of ä is shurely better than having no mapping of umlauts, but it's not the correct behaviour and should be fixed.
Best regards,
Christoph

removePathAccents = true,
is it working?
This configuration setting does not appear in the official documentation.

I stumbled upon a possible solution for the problem here.
This is a subset of the more general problem of mapping text (e.g. page titles) to a mangled / sanitized form (e.g. IDs, anchors, URLs). A very common use case is proper diacritic mark mangling like mentioned here (not only in German!). https://www.von-laufenberg.de/blog/it/hugo-umlaute/
The idea is to

define a generic mangling function
pass a mapping by means of a configuration entry

I am neither (yet) fluent in go nor do I have time to dig into hugo's internals, but the post above could be a guideline to create a PR to solve this issue (along with #5687, #8997 and other related issues).
However, care must be taken, to keep things consistent (least surprise), such that a configured mapping applies to all relevant mapping functions alike or at least could be configured to do so.

is it possible to re-open this issue?


Incorrect details also getting mailed

Want to correct this bug,
the bug is suppose we entered incorrect details of income and expedition/deduction, then it shows message like entered details correctly, like this,

and even if the details are clicking on the share with email allows us to send incorrect deatails,
but instead of this it must show some error when we click on share with email button, like this,

@QAZIMAAZARSHAD , if this issue is valid please assign me under LGM SOC, i can correct this to allow to mail only when details are correct


Repository other than GITHUB.

Hi. Is it possible to use ZABAPGIT with other (than GITHUB) repository? Did you try with any repository that can be istalized on (my) server . I don't need pull requests, just some tags and (fuzzy) searching ...

I tested abapGit with GitLab, Assembla, and Bitbucket around a year ago, have not tested it lately(https://github.com/larshp/abapGit/issues/257).
There is a enterprise version of Github, and a free community version of GitLab that can be installed on a local linux server. Also see https://github.com/larshp/abapGit/issues/104 it contains links to some other git servers that might be easier to install.
abapGit communicates with the git servers over raw git protocol, but requires that the git server can communicate via http. abapGit should work with most servers, but there might be some small differences from server to server.
abapGitSever is "work in progres", the plan is to have a git server(with limited functionallity) that can be installed on an ABAP application server.

If you find a free git server, and it does not work with abapGit, I'll try helping out to get the abapGit part working, just create an issue in the abapGit repository.
You can also follow or contribute to this project, it is coming along nicely. However there is no fixed date on how/when it will be working.
Closing issue


feat: support line numbers for code blocks

Quickly and basically done, based on https://github.com/shikijs/shiki/issues/3#issuecomment-830564854
see https://github.com/slidevjs/slidev/issues/310

Update the implementation to have general line number support and configurable via an option. Nice solution you have found. Thank you!


Events pagination QoL and platform admin QoL

What
Quality of life changes for event pagination and platform admin
When we're looking through events, currently the pagination is only at the top of the page. In order to move to the next page, one must scroll back up. Instead we should have identical pagination at the top and bottom, when there are multiple pages. This is done using a set block.
When we're on the platform admin page, we should default the costs year field to be this year.
How to review
Code review
Who can review
Not @tlwr

I did start to full it out into a separate set of templates, however it ended up looking quite gross:
pagination_controls(next_link, previous_link, page, total_pages)

but then arithmetic had to be done in the next link, or string concatenation for the page link
and I wasn't happy with it


Improve idempotency for Ansible role.

Stop fully reprocessing the template on every running, implicitly
leading to a slow re-build which may not be necessary.
Instead pipe template process output to oc apply, which maintains
previous state and will update them to match the latest requested.
Add a role with associated python module to intelligently check if a
git build is required.

@sallyom if you're ok with this I will submit PRs for analytics and hibernation to follow suit.


nonce of contract deployer not updated correctly when deploying contracts with externally linked libraries when using forge test

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (794f831 2023-06-21T00:11:25.200247000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
Describe the bug
I've created a demo with this issue for reproduction.
When using forge test, the nonce of the contract deployer is not updated correctly when deploying contracts with externally linked libraries.
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

library A {
    function a() public pure returns (uint256) {
        return 1;
    }
}

library B {
    function b() public pure returns (uint256) {
        return 2;
    }
}

contract Counter {
    function lib() public pure returns (uint256, uint256) {
        uint256 a = A.a();
        uint256 b = B.b();
        return (a, b);
    }
}

A counter contract that uses two externally linked libraries is deployed with a new account in forge test, the result shows that the nonce of the deployer before the deployment is 0 and 1 after the deployment, and the address of the counter is indeed calculated with the deployer's address and nonce of 0.

However, when deploying to test net, the script result shows that library A takes up the address when deployer's nonce is 0, and counter is deployed to the address calculated with nonce 2.

The account link is https://goerli.etherscan.io/address/0xaE0bDc4eEAC5E950B67C6819B118761CaAF61946.

@Evalir I haven't tried to repro this one but just calling it out since I think we made linked lib changes recently, so maybe this is related


Strong Password Authentication Not Supported

With the addition of F2P, the authentication process seems to have changed so that F2P accounts cannot utilize Outlander. Avalon had to be updated to permit F2P accounts as well. Not an issue for subscribers, but definitely for F2P accounts.

I have been using Outlander (built from source) with a F2P account.  I also just tested the F2P account with the released v0.4 version.  I did not have to change anything with Outlander for it to work.  Were you having a specific issue?

Whenever I try to connect it gives me a "invalid password" error. Have you seen this before?
Sent from my iPhone

On Mar 28, 2015, at 11:21 AM, Joe McBride<EMAIL_ADDRESS>wrote:
I have been using Outlander (built from source) with a F2P account. I also just tested the F2P account with the released v0.4 version. I did not have to change anything with Outlander for it to work. Were you having a specific issue?
—
Reply to this email directly or view it on GitHub.

I have not gotten this myself, though I have heard complaints of it.  If its what I think, there is a bug in my hashing algorithm used to connect to the game.  I had another player with this issue able to authenticate, though only after trying about a dozen times.  Perhaps we could get on a screenshare/skype session some time to attempt to work out the issue?  I think its related to either password length or specific characters in the password.

Ah okay. I am not familiar with the specific hashing algorithm they
require. I will keep trying and see if I can connect. Can you point me to
where in the code you do the hashing of the password?
On Sat, Mar 28, 2015 at 12:38 PM, Joe McBride<EMAIL_ADDRESS>wrote:

I have not gotten this myself, though I have heard complaints of it. If
its what I think, there is a bug in my hashing algorithm used to connect to
the game. I had another player with this issue able to authenticate, though
only after trying about a dozen times. Perhaps we could get on a
screenshare/skype session some time to attempt to work out the issue? I
think its related to either password length or specific characters in the
password.
—
Reply to this email directly or view it on GitHub
https://github.com/joemcbride/outlander-osx/issues/42#issuecomment-87260740
.

Its a c function taken from I think an old version of the Warlock client.
https://github.com/joemcbride/outlander-osx/blob/master/src/Outlander/AuthenticationServer.m#L175
Here's the same function converted to C#:
https://github.com/joemcbride/outlander/blob/master/src/Pathfinder.Core/Authentication/PasswordHashProvider.cs

More info here.
http://warlock.sourceforge.net/Wikka/wikka.php?wakka=EAccessProtocol

With the help of ZARPREY I have been able to confirm that this is related to specific characters in the password. For anyone else having this issue you can change your password to all lowercase letters and you can authenticate.  Not ideal for sure.
Some insights from Warlock here.  https://github.com/sproctor/warlock2/blob/master/cc.warlock.core.stormfront/src/main/cc/warlock/core/stormfront/network/SGEConnection.java#L137-L140

Fix for this issue ended up being - convert characters to numbers, do hash calculation, convert result to hex, send hex over the wire as bytes.


Test cs/boto with EC2 longer resource IDs

Amazon EC2 switching over to use longer resource IDs, need to make sure boto supports and CS doesn't have any problems with them either.
More info here:
https://aws.amazon.com/blogs/aws/theyre-here-longer-ec2-resource-ids-now-available/?sc_channel=em&sc_campaign=ec2longerids_2016&sc_publisher=aws&sc_medium=em_9207&sc_content=other&sc_country=global&sc_geo=global&sc_category=ec2&mkt_tok=3RkMMJWWfF9wsRovuazOZKXonjHpfsX56%2BwuWKa2lMI%2F0ER3fOvrPUfGjI4DScNkI%2BSLDwEYGJlv6SgFS7HHMbR617gKXRc%3D
https://aws.amazon.com/ec2/faqs/?sc_channel=em&sc_campaign=ec2longerids_2016&sc_publisher=aws&sc_medium=em_9207&sc_content=other&sc_country=global&sc_geo=global&sc_category=ec2/&mkt_tok=3RkMMJWWfF9wsRovuazOZKXonjHpfsX56%2BwuWKa2lMI%2F0ER3fOvrPUfGjI4DScNkI%2BSLDwEYGJlv6SgFS7HHMbR617gKXRc%3D#longer-ids

boto supports them, but not sure as of which version

works in 2.38.0 which is from last April.


margin and max width etc css not working (index.js)

https://github.com/hedy06/gatsby-hello/blob/e830ce6a35aedc4d72add08ec31b6b7b06b936c7/src/components/layout.js#L6-L6

Attempted to fix using traditional style “jsx”
See branch add-markdown-stuff

The alternate fix mentioned above works ok, issue will be closed.


[FEA] Audit: add unit tests for predicate push down

Is your feature request related to a problem? Please describe.
The current predicate push down tests verify that the output is correct, but do nothing to verify that we actually pushed down the predicates and read less data.  This is probably best done in the form of a real unit test.

Fixed by #9128.


Added map SQL functions

Codecov Report

Merging #81 into develop will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##           develop       #81   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           20        20
  Lines         1434      1458   +24
=========================================
+ Hits          1434      1458   +24

Impacted Files
Coverage Δ

src/zero_one/geni/core.clj
100.00% <ø> (ø)

src/zero_one/geni/column.clj
100.00% <100.00%> (ø)

src/zero_one/geni/interop.clj
100.00% <100.00%> (ø)

src/zero_one/geni/sql.clj
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Animate rotation problems I have had to user SnapSvg to work with

Hello.
I was doing a animate function, doing a transform on rotate, but it works really bad.
No correct degress. Relative switch fails. Error ocurrs when try to animate second time.
Diferent effects on same functions.
There is my code. You can click on first and third section for movement animation.
Actually im going to work with SnapSVG wich work well with.

	<script>
    window.onload = function () {

    	var lf = 55,
    		tm = 10,
    		mid = 130;
    		rb1 = 10,
    		rb2 = 5,
    		strw = .4,
    		sp = strw*2 +1 ;

    	var c1w = 70,
    		c2w = 62,
    		c3w = 52,
    		ch1 = 62,
    		ch2 = 10;

    	var cOptions = {
			'fill': '#cccccc',
			'stroke': '#0d0d0d',
			'stroke-width': strw,
		}

		var cBackOptions = {
			'fill': '#cccccc',
			'stroke': '#0d0d0d',
			'stroke-width': strw,
			'stroke-dasharray': 2,
			'opacity': .5
		}

		var draw = SVG('svgmap');
		draw.viewbox(0,0,300,199);

		var c11 = draw.rect(c1w,ch1).radius(rb1,rb1).move(lf+0,tm+0).attr(cOptions);
		var c21 = draw.rect(c2w,ch1).radius(rb1,rb1).move(lf+c1w+sp,tm+0).attr(cOptions);
		var c31 = draw.rect(c3w,ch1).radius(rb1,rb1).move(lf+c1w+c2w+sp*2,tm+0).attr(cOptions);

		var c12 = draw.rect(c1w,ch2).radius(rb2,rb2).move(lf+0,mid+0).attr(cOptions);
		var c12bb = c12.bbox();
		c12.clone().attr(cBackOptions).rotate(85, c12bb.x2 - ch2/2, c12bb.y + ch2/2);
		c12.clone().attr(cBackOptions).rotate(-15, c12bb.x2 - ch2/2, c12bb.y + ch2/2);

		var ocx = c12bb.x2 - ch2/2;
		var ocy = c12bb.y + ch2/2;

		/*c12.click(function() {
			c12.animate(1000, '<>').transform({ rotation: 20, cx:ocx, cy: ocy, relative: true})
			.during(function(pos) {
			  console.log(c12.param.rotation)
			})

		});*/

		var ocx = c12bb.x2 - ch2/2;
		var ocy = c12bb.y + ch2/2;

		c12.click(function() {
		c12.animate(2000, '-').transform({ rotation: 85, cx:ocx, cy: ocy})
			.during(function(pos) {
			  console.log(this)
			})
			.after(function() {
				c12.animate(3000, '-', 500).transform({ rotation: -15, cx:ocx, cy: ocy, relative: true})
				.during(function(pos) {
				  console.log(this.param.rotation)
				})
				.after(function() {
					c12.animate(1000, '-', 500).transform({ rotation: 85, cx:ocx, cy: ocy, relative: true})
					.during(function(pos) {
					  console.log(this.param.rotation)
					})
				});
			});
		});

		var c22 = draw.rect(c2w,ch2).radius(rb2,rb2).move(lf+c1w+sp,mid+0).attr(cOptions);

		var c32 = draw.rect(c3w,ch2).radius(rb2,rb2).move(lf+c1w+c2w+sp*2,mid+0).attr(cOptions);
		var c32bb = c32.bbox();
		c32.clone().attr(cBackOptions).rotate(-60, c32bb.x + ch2/2, c32bb.y + ch2/2);
		c32.clone().attr(cBackOptions).rotate(50, c32bb.x + ch2/2, c32bb.y + ch2/2);

		c32.click(function() {
		this.animate(2000, '<>').transform({ rotation: -60, cx: c32bb.x + ch2/2, cy: c32bb.y + ch2/2, relative: true})
			.after(function() {
				this.animate(3000, '<>', 500).transform({ rotation: 50, cx: c32bb.x + ch2/2, cy: c32bb.y + ch2/2, relative: true })
				.after(function() {
					this.animate(1300, '<>', 500).transform({ rotation: -60, cx: c32bb.x + ch2/2, cy: c32bb.y + ch2/2, relative: true })
				});
			});
		});

    };
    </script>

I think it would be useful to break the code down into a specific small chunk, onto a jsfiddle or similar, highlighting the specific problem, as not really sure what its supposed to look like, or whats supposed to happen.

Yea sorry. You can test it here: http://jsfiddle.net/reocL50v/1/

Would you please add your thought to this issue: #385 ?
The rotation animation problems are not new. I could need a bit help with that

I'm not quite sure from the docs how animating a transform is supposed to work, so hesitant to suggest whats a bug, but it looks a bit counterintuitive. Maybe the docs need some more examples...there is a github entry at https://github.com/wout/svg.js/issues/385 worth following...
As per the original issue here, you can certainly work around the problem, and in many cases, this is what I would do in Snap in a similar fashion, ie include a function using 'during' and use its interpolation.
So for the example fiddle...
c12.animate(2000, '-').during( function(pos) {
c12.transform({ rotation: pos*85, cx:ocx, cy: ocy })
});
I think this would achieve what you want, or if start and end needed, I note there is a morph aspect to the function.
So a cut down jsfiddle...
http://jsfiddle.net/reocL50v/5/ (click on grey bar)

continue on #385


Automated wheel building

Similar to NEURON, we should build the wheel for NMODL in automated way. Here are instructions from NEURON.
Here are steps:

Adapt Dockerfile for NMODL (if we are using C++14 and if GCC 4.8.5 is not sufficient, we might need to use Manylinux2010)
This is how docker image is launched to build for linux : Pipeline
Update wheel building script
Create test script for NMODL

cc: @ohm314

We use C++14 for now, so on that front we're safe


Add OSSL_SERIALIZER_PUBKEY_TO_DER_PQ and friends

It's already used internally, there's no reason the DER serializer
propqueries shouldn't be present alongside the PEM and TEXT ones.

This pull request is ready to merge

@slontis, #11071


[Question] Does this work with w3m reforged files?

Hi,
I am searching for a way to:

extract my lua files of my w3m warcraft3 reforged MPQ file
edit the lua files.
then add it back into the map MPQ file.

Is this possible with this lib?
PS: It is C code but I will call the code via Node.
Thanks in advance :)

Is it's a MPQ file, then it will work. But for game data files itself, you need CascView.

Thanks no worries for the game files I will try to use this:
https://www.npmjs.com/package/wc3maptranslator/v/1.1.0


Shared interests - P1 Brown

Added shared interests in config and such
new folder for shared interests in navigation
and also new menu in nav
added a new image for the menu on the home.md of shared interests

I will take this out of draft after collaborating with Mihir to ensure this is perfect.

This looks basic and should have been done about five days ago.