Add ES6 computed property name support

Add support for ES6 computed property names like:
var obj = { [1+2]: 'three' };
print(obj[3]);  // three

This syntax is quite useful with symbols because one can then:
var obj = {
    foo: 'normal property',
    [ Symbol.for('mySymbol') ]: 'symbol property'
};

Implements part of #271.
Tasks:

[x] Compiler change
[ ] Config option?
[x] Testcase
[ ] Website ES6 section
[ ] Releases entry

I've been hoping for these for a while, good to see Duktape 2.x will get some ES6 language features after all.  Although I am surprised this could be done without redoing the parser/compiler.

In general RHS expressions are pretty straightforward, the main issues with ES6 parsing are for LHS expressions like destructuring.

It surprises me how little new code was needed - and the diff is confined entirely to the compiler even.  Somehow no executor changes were required at all?  I'm in amazement.

While we're on the topic of (potentially) easy-to-implement language features, ES7 was finalized in June and includes a new exponentiation operator (**):
https://tc39.github.io/ecma262/2016/#sec-exp-operator
How difficult would it be to update the parser and compiler to support that operator?  x ** y is so much more readable and concise than Math.pow(x, y) :-)
Actually it seems there are only two new features in ES7 compared to ES6: The aforementioned exponentiation operator, and Array.prototype.includes().

Exponentation would be quite easy, with some bytecode opcode changes.
But I'll try to focus on closing open pulls, I just implemented this because it complements the symbol feature so that literals with symbols are possible.

Fair enough.  I might look into doing it myself if I get sufficiently motivated. :)


Api::V1::ExceptionsHandler#handle_api_error eats underlying Exceptions

If there is an exception the underlying exception does not get dumped to stdout such that the developer can see what a root failure was.  Rather they are presented with a generic exception that masquerades the root cause.
To reproduce, follow the steps in this ticket:  https://github.com/bullet-train-co/bullet_train-api/issues/11.

Thanks for reporting, I'm pretty sure this came up before the Great Unbundling, but we haven't addressed it yet in this repository.


ERROR: No video

Hey all,
I have added a Hikvision camera added it to my dashboard using webrtc custom component and it works for few seconds only. I can see the stream but after few seconds i get ERROR; No video.
There is nothing in logs even though i got debug logging.
Any thoughts?
With VLC rstp stream is stable so that's not the network problem and HAAS is in the same subnet as ip cam.

I'm having the same issue.
On Tue, Aug 24, 2021, 10:20 AM kaczkalolo @.***> wrote:

Hey all,
I have added a Hikvision camera added it to my dashboard using webrtc
custom component and it works for few seconds only. I can see the stream
but after few seconds i get ERROR; No video.
There is nothing in logs even though i got debug logging.
Any thoughts?
[image: image]
https://user-images.githubusercontent.com/47222608/130633665-57831794-c175-4133-85ec-955c88326f51.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AlexxIT/WebRTC/issues/118, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AENNBYGJRCVZDNOH3UZQ6SLT6OTEJANCNFSM5CW6NACA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

After a several hours i get the same error on my Wall mounted Ipad. Restart browser and it works again for hours :-(

No video means that your camera sends very rare keyframes. If there is no keyframe within 10 seconds, the component will drop the connection to the camera

It mostly shows up after around 5sec i get to that dashboard... Can i be because of high resolution? 4MPX and 8MPX? Or is it on all Hikvision cameras? In Hikvision app everything is ok and fluent but in webrtc it just doesn't work :(

50/12 = 4+ seconds. It is better to use ~2 seconds key frames. There may be rare skips in key frames

So what would be the best value for Frame Interval then? I've changed it to 2 but then quality dropped a lot- it just sucks now. Also when i turn on H264+, which is on by default, that field frame interval is greyed out and i can't change it.  H264+ saves me lots of disk space so it would be nice to have it on.

Because 24/12 = 2 seconds

Ok now i don't have that error but that wheel icon keeps showing up like every second so that live view is kinda shuttered... When i change that interval to 2 then video is fluent but quality is horrible. Any other chnage i could make?

MSE => Cons => jumps over frames. It's know problem about MSE mode

Check my new project. Maybe it handle this situation
https://github.com/AlexxIT/go2rtc

Should be fixed in v3


Error: Not able to create cost reports using the python sdk, throwing "Message: ServiceToServiceAuthorizationProvider.IsRPRegistered: {"error":{"code":"InvalidSubscriptionId","message":"The provided subscription identifier 'providers' is malformed or invalid."}}"

Operating System: Linux
Python Version: Python 3.9
Package Name: [azure-mgmt-costmanagement 4.0.0]

Describe the bug
When trying to use the SDK to create a billing export via Create Or Update method it seems to throw a 400 error when using a valid subscription_id. Looking at the traceback it looks as if its some how setting the subscription_id to providers. My only guess for that is something is pursing out the ID from the URL but pulling the wrong part.
Exception or Stack Trace
if response.status_code not in [200, 201]:

      raise models.ErrorResponseException(self._deserialize, response)

 azure.mgmt.costmanagement.models._models_py3.ErrorResponseException: (400) ServiceToServiceAuthorizationProvider.IsRPRegistered: {"error":{"code":"InvalidSubscriptionId","message":"The provided subscription identifier 'providers' is malformed or invalid."}}
To Reproduce
Steps to reproduce the behavior:

Get CostManagementClient session
Set scope to "/subscriptions/{subscription_id}/"
Set export name
Set required parameters for export
Run costmgmt_client.exports.create_or_update(scope, export_name, parameters)
Code Snippet

scope = f"/subscriptions/{subscription_id}/"
    costmgmt_client = CostManagementClient(creds, subscription_id)
    parameters = {
        "deliveryInfo": {
            "destination": {
                "container": "cost",
                "rootFolderPath": "exports",
                "resourceId": "costmgmttest",
            },
        },
        "definition": {
            "dataSet": {"granularity": "daily"},
            "timeframe": "MonthToDate",
            "type": "ActualCost"
        }
    }
    costmgmt_client.exports.create_or_update(scope, "testexport", parameters)

Expected behavior
Billing export to be created correctly
It's almost like the API is pulling the providers string from the URL instead of the subscription_id.
[0] - https://docs.microsoft.com/en-us/rest/api/cost-management/exports/create-or-update#code-try-0

Thank you for the feedback @rugvedkarnati . We will investigate and get back to you asap.

Hi @rugvedkarnati You can try to use this example to solve your problem.https://github.com/Azure-Samples/azure-samples-python-management/blob/main/samples/costmanagement/manage_exports.py

Here are also some samples which may help: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/costmanagement/azure-mgmt-costmanagement/generated_samples


Support for CUDA 11

Hi,
We're trying to run dannce on a new RTX A4000 GPU, which works with CUDA 11. We're having some issues getting the card to work with CUDA 10.1, the version specified for dannce v1.2.0. But updating CUDA to 11 by itself causes other installation issues with cudnn, tensorflow, and pytorch.
I emailed Diego and he said these dependency issues will be solved in dannce v1.3 soon, and he suggested I open an issue here.
Thank you!

Hey!
I will reply here again when I know the release date for the next dannce version.
The release_development branch should support everything you need in the meantime. We run this branch on many different gpus, including A-series, so it should work fine.  From the dannce repository, access it with git fetch; git checkout release_development.
I would do a clean install of your dannce environment. You might also need to update your conda.

Currently it takes ~8 seconds to run 10 batches. My batch size is 4.

What GPU are you using? On a Titan V it takes us ~4 seconds for the same.
On Fri, Apr 1, 2022 at 11:20 AM Mike Zheng @.***> wrote:

Currently it takes ~8 seconds to run 10 batches. My batch size is 4.
—
Reply to this email directly, view it on GitHub
https://github.com/spoonsso/dannce/issues/101#issuecomment-1086030827,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAW2P4ZAKHTUEIAEDLQ3RUTVC4H3ZANCNFSM5RSNYMNA
.
You are receiving this because you commented.Message ID:
@.***>

We're using an RTX A4000, which was why I wanted to try this branch with newer CUDA support. I have 3 camera views, and I used nvox=80, as suggested by Diego. It would be great if the speed can improve a bit, but it's fine as it stands. I just wanted to raise this issue in case you've encountered it before

Do you have another older cuda installed on your system?

At the systems level, we installed CUDA 11.4 for running MATLAB. Otherwise, I previously made some other conda environments with older CUDA. Do you think they might interfere with the CUDA 11.1 in the dannce conda environment?

Right, my 4 second benchmark was nvox=64, so your speed actually doesn't
surprise me. @diego what kind of speed do you normally see for nvox=80?
On Fri, Apr 1, 2022 at 11:43 AM Mike Zheng @.***> wrote:

At the systems level, we installed CUDA 11.4 for running MATLAB.
Otherwise, I previously made some other conda environments with older CUDA.
Do you think they might interfere with the CUDA 11.1 in the dannce conda
environment?
—
Reply to this email directly, view it on GitHub
https://github.com/spoonsso/dannce/issues/101#issuecomment-1086056295,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAW2P4Y7SSZRI6E6WD3Q4NDVC4KQTANCNFSM5RSNYMNA
.
You are receiving this because you commented.Message ID:
@.***>


Update to Pact-Net 4.x / Add CI test / .NET 6.0

Minimal changes based from #6 to update pact-net to 4.x

Utilises changes in #6 notably update to .NET 6.0 and use of Pact-NET 4.x but without use of Minimal API
Fixes #1
Fixes #2
Fixes #3
Fixes #4
Fixes #5
Fixes #6

CC: @riezebosch
Creating a smaller PR, which contains changes for the tests, but not the underlying API.
We could possibly create a duplicate workshop with the minimal api pattern, if there is use.
Ultimately I think we will want condense our two repos for dotnet workshops, into one
see comments on https://github.com/pact-foundation/pact-workshop-dotnet-core-v1/pull/25

I've copied this changes from this PR to https://github.com/YOU54F/pact-workshops
Also updated this workshop to use pact-net 4.x https://github.com/pact-foundation/pact-workshop-dotnet-core-v1


Shadows uniform maps

Add per shadow map uniforms instead of a single automatic shadow map as a step toward having multiple shadow maps per scene.

@lilleyse merge when you are happy with this.

@pjcozz This is ready for another look.

:+1:
@lilleyse merge when ready.

Looks good.
And just to summarize the changes I added

The Shadows Sandcastle no longer does the hacky approach of updating the shaders because I couldn't get it to work with the uniform map changes here. Now the globe is just destroyed and recreated. The delay while waiting for the new globe to load isn't too bad.
I removed a lot of the shadow map getters because they are no longer being called from AutomaticUniforms.


running provided emacs binary directly instead of running it via pyth…

What does this implement/fix? Explain your changes.

allows to specify a custom path for the emacs binary on windows
listens to emacs return codes for better error handling

Does this close any currently open issues?

#890

Any other comments?
...
Checklist
Check all those that are applicable and complete.

[x] Merged with latest master branch
[ ] Added examples for testing to examples/ directory
[ ] Travis CI passes (Mac support)
[ ] AppVeyor passes (Windows support)

…on which does not work well on windows.
listening to emacs return codes.

Travis CI seems to fail because of an certificate issue. I do not completely understand the issue of AppVeyor? Is it trying to print an error message and then failing in the emitObject method?

I usually ignore AppVeyor. Windows always proves to be a huge PITA.
If Travis CI passes I will accept this Pull Request.
I recommend running your Fortran spec locally and see if you can fix it.

Travis is passing

Unfortunatelly, I could not fix AppVeyor's problem with finding uncrustify (which is on the path)

Travis and AppVeyor are passing now

This is excellent! Thank you very much for your contribution, @janmolnar !

Published to v0.29.2


Added documentation for verbose flag on debug

went ahead and took care of the additions along with the rebase.


HTTP File server extension

Source name
Htttp
Source link
http://<IP_ADDRESS>:8080/Aniyomi/localanime
Source language
MULTI
Other details

Please include episodes.json ,cover and details.json support
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Its like webdav and ftp but it uses http protocol for accessing the files remotely .
I have a android based file server for my local network  and I use Roundsync to serve my remote storage files and SSD files connected files to the device to be able to acces from other devices.

Round sync can also serve the file using webDAV or ftp but in my case its significantly slower compared to http . It maybe because of my old router but I'm not sure

Nextcloud also offers remote access using http but I use WebDAV , a couple of my friends use http / https because wavdav is slower for them .

Round sync can also serve the file using webDAV or ftp but in my case its significantly slower compared to http . It maybe because of my old router but I'm not sure

WebDAV is actually an extension of HTTP, it's the same protocol. However WebDAV basically provides a uniform way of browsing and managing files and directories over HTTP, instead of needing us to create parsers for every web file server http UI like Caddy, Apache and such.

Round sync can also serve the file using webDAV or ftp but in my case its significantly slower compared to http . It maybe because of my old router but I'm not sure

The client u are using prolly does only support file access  not editing and managing , or maybe the clint has not been optimised well.

It seems like the problem of the client I'm using and the the dns for some reason after a bit of research . But since i only need so acces the file I dont really need to change anything , everything is working fine for me using http.

The only thing thats annoying is while using WebDAV http or normal http is that I need to update the ip address everytime it changes because of dynamic dns if anyone knows any android  client of some sort to keep the DNS record updated that'd help me a lot.


Reversed Trip Validation raises a NullPointerException

 Issue by zbouziane
Friday Apr 28, 2017 at 13:25 GMT
Originally opened as https://github.com/catalogueglobal/datatools-server/issues/15

...
13:21:29.491 [Thread-11] INFO  com.conveyal.gtfs.GTFSFeed - DuplicateStopsValidator finished in 2092 milliseconds.
13:21:29.492 [Thread-11] INFO  com.conveyal.gtfs.GTFSFeed - HopSpeedsReasonableValidator finished in 0 milliseconds.
13:21:29.630 [Thread-11] INFO  com.conveyal.gtfs.GTFSFeed - MisplacedStopValidator finished in 137 milliseconds.
13:21:29.632 [Thread-11] INFO  com.conveyal.gtfs.GTFSFeed - NamesValidator finished in 1 milliseconds.
13:21:32.257 [Thread-11] INFO  com.conveyal.gtfs.GTFSFeed - OverlappingTripsValidator finished in 2625 milliseconds.
13:21:33.109 [Thread-11] ERROR com.conveyal.gtfs.GTFSFeed - Could not run ReversedTripsValidator validator.
java.lang.NullPointerException
	at com.conveyal.gtfs.validator.ReversedTripsValidator.validate(ReversedTripsValidator.java:68)
	at com.conveyal.gtfs.GTFSFeed.validate(GTFSFeed.java:284)
	at com.conveyal.gtfs.GTFSFeed.validate(GTFSFeed.java:301)
	at com.conveyal.datatools.manager.models.FeedVersion.validate(FeedVersion.java:282)
	at com.conveyal.datatools.manager.jobs.ValidateFeedJob.run(ValidateFeedJob.java:45)
	at java.lang.Thread.run(Thread.java:745)
13:21:35.756 [Thread-11] INFO  com.conveyal.gtfs.GTFSFeed - TripTimesValidator finished in 2643 milliseconds.
13:21:35.761 [Thread-11] INFO  com.conveyal.gtfs.GTFSFeed - UnusedStopValidator finished in 4 milliseconds.
13:21:35.761 [Thread-11] INFO  com.conveyal.gtfs.GTFSFeed - 8 validators completed in 8362 milliseconds.
13:21:35.761 [Thread-11] INFO  c.c.d.manager.models.FeedVersion - Calculating stats...
13:21:37.948 [Thread-11] INFO  c.c.d.manager.models.FeedVersion - Calculating # of trips per date of service
13:21:51.062 [Thread-11] INFO  c.c.d.manager.models.FeedVersion - Total errors after validation: 9
13:21:51.063 [Thread-11] INFO  c.c.d.manager.models.FeedVersion - Uploading validation json to S3
...

 Comment by landonreed
Friday Apr 28, 2017 at 14:34 GMT

@zbouziane could you send me the feed that's causing the NPE?

 Comment by landonreed
Tuesday Nov 13, 2018 at 17:20 GMT

This code path is no longer in use (GTFSFeed was replaced with GTFS). Closing.


mock_env() contains invalid Address

MockApi after 2.0 expects valid bech32 address, so current implementation of mock_env() would fail address validation:
            address: Addr::unchecked("cosmos2contract"),

I would prefer to have valid address instead, for example
            address: MockApi::default().addr_make("cosmos2contract"),

Or more flexible with passing MockApi inside mock env function:
            address: mock_api.addr_make("cosmos2contract"),

And is there a simpler way to get address prefix than from env.contract.address?

            address: MockApi::default().addr_make("cosmos2contract"),

This will be fixed for mock_env in 2.2. See here: https://github.com/CosmWasm/cosmwasm/blob/v2.2.0-rc.1/CHANGELOG.md#L43-L45
The other part will be fixed in 3.0 by requiring an api parameter for mock_env: https://github.com/CosmWasm/cosmwasm/issues/2218

And is there a simpler way to get address prefix than from env.contract.address?

The simplest way is to know what chain you deploy on and just use their prefix. Why do you need it at runtime?
Ideally, you would just write code that is agnostic of the underlying address scheme.

Why do you need it at runtime?

To generate address from public key. Don't want to have different wasm for each chain I deploy

Ah, I see. To avoid a different wasm per chain, you could also make it a parameter in the InstantiateMsg.
If you really really want it programmatically, you'd have to go through a Stargate / Grpc query. It has to be allowlisted by the chain, but most chains have pretty big allow lists. See neutron for example: https://docs.rs/neutron-std/latest/neutron_std/types/cosmos/auth/v1beta1/struct.AuthQuerier.html#method.bech32_prefix
But I don't think it's worth the hassle.


Added Hashed type for caching the 'hash' function result.

Supposed to save time spent on calculating hashes in lookups and other operations in unordered-containers.

I'm currently using something similar to optimize a syntax tree. It would be nice to have this functionality in hashable. The Eq instance looks a little dubious:
instance Eq a => Eq (Hashed a) where
  Hashed a _ == Hashed b _ = a == b

Since the purpose of a hash is to speed up equality tests, I think it should be:
instance Eq a => Eq (Hashed a) where
  Hashed a ha == Hashed b hb = if ha == hb then a == b else False

Or more succinctly:
instance Eq a => Eq (Hashed a) where
  Hashed a ha == Hashed b hb = (ha == hb) && (a == b)

The Ord instance could benefit similarly.

@andrewthad the point is to avoid hashing, but we should definitely use the cached hash to speed up the negative case for equality checking as well.
This pull request seems abandoned. Do you want to pick it up?

Yeah, I'll commandeer this.

New PR is at https://github.com/tibbe/hashable/pull/121


Add extraction and viewing support for .iso files

What's the Problem?
Editing not possible with 7zip but viewing and extracting is.
Solution/Idea

Alternatives

Priorities
No response
Files Version
No response
Windows Version
No response
Comments
No response

Merging with #45


cluster deployments: teardown on cancel

provider/cluster: teardown on deployment/fulfillment close.
provider/manifest: allow multiple leases per manifest.
provider: handle multiple manifest groups.
provider: match Manifest and Deployment groups via Name field.
types: add GroupSpec.Name, DeploymentGroup.Name fields.
sdl: populate GroupSpec.Name field.

Pull Request Test Coverage Report for Build 486

179 of 265 (67.55%)  changed or added relevant lines in 11 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 63.553%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

provider/event/events.go
5
6
83.33%

provider/cluster/mocks/client.go
18
20
90.0%

provider/cluster/client.go
0
3
0.0%

provider/cluster/kube/client.go
0
3
0.0%

provider/bidengine/order.go
0
4
0.0%

provider/manifest/handler.go
19
25
76.0%

provider/cluster/service.go
61
80
76.25%

provider/cluster/monitor.go
71
119
59.66%

Files with Coverage Reduction
New Missed Lines
%

provider/bidengine/order.go
1
79.53%

provider/cluster/service.go
1
81.2%

Totals

Change from base Build 479:
0.2%

Covered Lines:
4694

Relevant Lines:
7386

💛  - Coveralls

adding more to this.


Adding AutoLigerKernelForCausalLM

Summary

Adding AutoLigerKernelForCausalLM to automatically apply relevant liger kernels to corresponding model to address #70
Args passed to auto model that are part of apply_liger_kernel_to_{model_type} supported args are passed through
Refactored the monkey_patch.py so the mapping and patching functions are all in the same file so it's easier to not miss updating. Also added test to ensure the patching functions match the auto model mapping.

Example:
model = AutoLigerKernelForCausalLM.from_pretrained(
        custom_args.model_name,
        trust_remote_code=True,
        use_cache=False,
        torch_dtype=torch.bfloat16,
        cross_entropy=True,
        fused_linear_cross_entropy=False,
    )

> INFO:liger_kernel.transformers.monkey_patch:Applying Liger kernels for model type: llama with kwargs: {'cross_entropy': True, 'fused_linear_cross_entropy': False}

Testing Done

Run huggingface example

assert modeling_llama.LlamaRMSNorm != LigerRMSNorm
model = AutoLigerKernelForCausalLM.from_pretrained(
    custom_args.model_name,
    trust_remote_code=True,
    use_cache=False,
    torch_dtype=torch.bfloat16,
    # These args will get passed to the appropriate apply_liger_kernel_to_* function
    # to override the default settings
    cross_entropy=True,
    fused_linear_cross_entropy=False,
)
assert modeling_llama.LlamaRMSNorm == LigerRMSNorm

Hardware Type: A100
[x] run make test to ensure correctness
[x] run make checkstyle to ensure code style
[x] run make test-convergence to ensure convergence

$ make checkstyle
flake8 .; flake8_status=$?; \
isort .; isort_status=$?; \
black .; black_status=$?; \
if [ $flake8_status -ne 0 ] || [ $isort_status -ne 0 ] || [ $black_status -ne 0 ]; then \
        exit 1; \
fi
Skipped 3 files
All done! ✨ 🍰 ✨
54 files left unchanged.

$ make test
pytest --disable-warnings test/ --ignore=test/convergence
==================================================================================================================================== test session starts ====================================================================================================================================
platform linux -- Python 3.10.14, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/jobuser/Liger-Kernel
plugins: lipy-config-base-32.0.27, lipy-fabric-35.2.19, lipy-test-8.0.66, datadir-1.3.1
collected 117 items

test/transformers/test_auto_model.py .                                                                                [  0%]
test/transformers/test_cross_entropy.py ..........................................................                                                                                [ 50%]
test/transformers/test_fused_linear_cross_entropy.py ......                                                                                [ 55%]
test/transformers/test_geglu.py ........                                                                                [ 62%]
test/transformers/test_monkey_patch.py .....                                                                                [ 66%]
test/transformers/test_rms_norm.py ................                                                                                [ 80%]
test/transformers/test_rope.py ............                                                                                [ 90%]
test/transformers/test_swiglu.py ........                                                                                [ 97%]
test/transformers/test_trainer_integration.py .                                                                                [ 98%]
test/triton/test_triton_monkey_patch.py ..                                                                                [100%]

=================================================================================================================================== 117 passed in 50.75s ====================================================================================================================================

$ make test-convergence
HF_DATASETS_OFFLINE=1 pytest --disable-warnings test/convergence
==================================================================================================================================== test session starts ====================================================================================================================================
platform linux -- Python 3.10.14, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/jobuser/Liger-Kernel
plugins: lipy-config-base-32.0.27, lipy-fabric-35.2.19, lipy-test-8.0.66, datadir-1.3.1
collected 8 items

test/convergence/test_mini_models.py ......                                                                                [ 75%]
test/convergence/test_mini_models_no_logits.py ..                                                                                [100%]

==================================================================================================================================== 8 passed in 47.97s =====================================================================================================================================

Am I reading the changeset correctly - patches will now be applied to objects rather than globally applied to classes?
That's great!

That's a great point, this still globally applies the changes to classes--it just will automatically patch the correct model. It would make more sense for AutoModel to only patch the model objects to remove any potential global side effects. I think this may require some more involved refactoring of the existing code, so we can look into it in a subsequent PR.
cc @ByronHsu

@shimizust @lapp0 i prefer using the current monkey patch way rather than object swapping, the later one is quite involved and need nasty for loop. i don't see major issues for the current approach

Maybe this is out of scope for this PR, but the AutoLigerKernel approach misses a couple of use cases, for example LlavaNext, where a Llama model is being loaded during the construction of the outer Llava model.
Perhaps the AutoModelForCausalLM HF class itself could be monkeypatched with AutoLigerKernelForCausalLM so that there is a single line of code that converts existing HF code to use liger kernel if applicable.

Maybe this is out of scope for this PR, but the AutoLigerKernel approach misses a couple of use cases, for example LlavaNext, where a Llama model is being loaded during the construction of the outer Llava model.
Perhaps the AutoModelForCausalLM HF class itself could be monkeypatched with AutoLigerKernelForCausalLM so that there is a single line of code that converts existing HF code to use liger kernel if applicable.

That's an interesting use case where the model has sub-models which could be patched. This PR is meant for the most common use cases and also misses folks who are using some other AutoModel variant (e.g. AutoModelForTokenClassification).
I think for the time being you'd have to just put apply_liger_kernel_to_llama() at the top of your training code. Also noting this would be another use case to have an apply_all_liger_kernels() function.

yes. for any advanced use case. please compose the model your own. lol, or write your own patching


Support Mistral Large

Support Mistral Large

Worked with Mistral Large on staging server successfully. It also works fine with system prompt, addons (Epam and Wolfram); reacts on Stop generating and Regenerate actions.


New version: SnoopCompile v2.2.0

Registering package: SnoopCompile
Repository: https://github.com/timholy/SnoopCompile.jl
Created by: @timholy
Version: v2.2.0
Commit: ff8f5b6c83a6fa2e9ed97f56846f947d3b0d0ba7
Reviewed by: @timholy
Reference: https://github.com/timholy/SnoopCompile.jl/commit/ff8f5b6c83a6fa2e9ed97f56846f947d3b0d0ba7#commitcomment-45659858

I forgot, this package requires special precautions.

I forgot, this package requires special precautions.


haskellPackages.powerdns: unbreak

Description of changes
Author of haskellPackages.powerdns here. Package is not testable from nix because it relies on networking and an actual powerdns service being present.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@dminuoso Thanks for this fix!
Could you rebase this on the haskell-updates branch?  We generally ask that all Haskell-related changes be rebased on haskell-updates.

Package is not testable from nix because it relies on networking and an actual powerdns service being present.

It sounds like this might make a good candidate for a NixOS test?  As long as you're interested, of course.  Not having a NixOS test definintely wouldn't prevent merging this PR in!

Our test suite already runs in the CI pipeline. Maybe we can switch them to nixos tests in the future when I find some time. :)
MR switched to haskell-updates


[PEPF-50] Organizando classes de observabilidade

https://picpay.atlassian.net/browse/PEPF-50

Checkmarx One – Scan Summary & Details – 81aeca48-f930-4fff-96cd-d7744dda6a35
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Missing_HSTS_Header
/src/Adapter/Prometheus/MetricFactory.php: 112
Attack Vector

Fixed Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-29197
Php-guzzlehttp/psr7-2.4.3
Vulnerable Package

Missing_HSTS_Header
/src/Adapter/StatsD/Connection.php: 1
Attack Vector


Updated Monte Carlo CO in preview repo

@emiliedelongueau @bkbenchoff Updated the Monte Carlo CO to the latest JAR (i.e no Weibull distribution). Can you check?

@anshumanalpine  can you also create a PR to check in the code in the operators repo in Gitlab? (for branch 6.3)


[UPDATE ALGORITHM] Add methods

Description:
I want to include alternative ways of solving such problems which are listed in dynamic programming folder .
Like in current solution only tabulation or memoization method is shown . so i want to enhance that.
Checklist:

[x] Contributor in GSSoC-ext
[x] Want to work on it

Affected Algorithm:
Dynamic Programming.
Additional Information:
Any extra details or suggestions related to the update.

@pankaj-bind if you feel it's needed could you assign me this.


I am still getting this sometimes on aufs with 1.5

I am also seeing a similar error on Docker 1.6:
Error response from daemon: Cannot destroy container 0fde9a9ae60853b2fca49cd62d1fa82fb4b9ec8ca4b863cf7793a290b1a132be: Driver aufs failed to remove root filesystem 0fde9a9ae60853b2fca49cd62d1fa82fb4b9ec8ca4b863cf7793a290b1a132be: rename /var/lib/docker/aufs/diff/0fde9a9ae60853b2fca49cd62d1fa82fb4b9ec8ca4b863cf7793a290b1a132be /var/lib/docker/aufs/diff/0fde9a9ae60853b2fca49cd62d1fa82fb4b9ec8ca4b863cf7793a290b1a132be-removing: device or resource busy

I am mounting a directory (which is actually a symlink) into the container as a read-only volume.  We run this container for between 2 and 30 minutes (up to 32 in parallel) quite frequently.  The above error only happens in about 3% of runs, leading me to also conclude there is some kind of race condition being revealed.

Having same issue with Docker 1.6.
[root@localhost mnt]# docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64
[root@localhost mnt]# docker rm $(docker ps -a | grep Dead | cut -d' ' -f1)
Error response from daemon: Cannot destroy container d706e4ec75d4: Driver devicemapper failed to remove root filesystem d706e4ec75d474eb957d7e604cb8a508ed295b7e1aa397a7d3d316ac60b77e7b: Device is Busy
I think this was working properly until I mounted the docker data files to a different partition.
Used below line in my /etc/sysconfig/docker file.

other_args="-g /home/docker"
GOTRACEBACK='crash'
Thanks.

After an reboot of the host machine, I could remove the containers.

Same reboot works, but this is more a workaround than a solution. In production that is definitly not the thing you want to do.

Same situation with Docker 0.10 and AUFS.

Same fail with Docker 1.10. Run on Debian Jessie.

Same problem with docker rm and Docker version 1.10.2 on Debian Jessie.

 We merged some changes in that release to fix issues around mounts being in use, possibly that they resolve your issue.

Also seeing this issue in 1.11.1
Client:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Tue Apr 26 23:30:23 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Tue Apr 26 23:30:23 2016
 OS/Arch:      linux/amd64

Happend directly after upgrading to 1.11.1.

Now works for me @thaJeztah.
[rnr-docker-pc ~] $ docker version
Client:
Version:      1.11.1
API version:  1.23
Go version:   go1.5.4
Git commit:   5604cbe
Built:        Wed Apr 27 00:34:42 2016
OS/Arch:      linux/amd64
Server:
Version:      1.11.1
API version:  1.23
Go version:   go1.5.4
Git commit:   5604cbe
Built:        Wed Apr 27 00:34:42 2016
OS/Arch:      linux/amd64
[rnr-docker-pc ~] $ docker-compose version
docker-compose version 1.7.0, build 0d7bf73
docker-py version: 1.8.0
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013

had the same problem, but doing "service docker restart" solved it.
Can't upgrade 'cause provider uses a modified version of docker (i think), system kernel 2.6.32-042stab113.11
Client version: 1.7.1
Client API version: 1.19
Package Version (client): docker-1.7.1-115.el7.x86_64
Go version (client): go1.4.2
Git commit (client): 446ad9b/1.7.1
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Package Version (server): docker-1.7.1-115.el7.x86_64
Go version (server): go1.4.2
Git commit (server): 446ad9b/1.7.1
OS/Arch (server): linux/amd64

@ratacibernetica kernel 2.6 is no longer supported by docker (you're probably running RHEL 6 or CentOS 6); I recommend upgrading the system to something more modern so that you can use newer versions of Docker

@thaJeztah yeah, thanks!  i'm using a VPS, and the provider offers pre-built images of the machines, thus, i'm stuck with the kernel and the docker version they use.
As i can't upgrade or anything, i was just sharing that experience :)

Hi,
still having problem on Ubuntu 16.04
root@slave:/var/lib/docker/devicemapper/mnt# docker version
Client:
Version:      1.11.2
API version:  1.23
Go version:   go1.5.4
Git commit:   b9f10c9
Built:        Wed Jun  1 22:00:43 2016
OS/Arch:      linux/amd64
Server:
Version:      1.11.2
API version:  1.23
Go version:   go1.5.4
Git commit:   b9f10c9
Built:        Wed Jun  1 22:00:43 2016
OS/Arch:      linux/amd64
root@dfy-slave2:/var/lib/docker/devicemapper/mnt# uname -a
Linux dfy-slave2 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Can't delete containers :
Error response from daemon: Error response from daemon: Driver devicemapper failed to remove root filesystem 960a228e1195fa01dd6e39a1fd7309749e5aab14220527795789166f00d9bc05: Device is Busy

Any updates on this issue?

+1 on CentOS 7
Error response from daemon: Driver devicemapper failed to remove root filesystem 5b4912868916a00964f630235f7bf62d1b61e462c037c8162e03c2c2a614ae3b: Device is Busy

$ uname -a
Linux slave2 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ docker version
Client:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Wed Apr 27 00:34:42 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Wed Apr 27 00:34:42 2016
 OS/Arch:      linux/amd64

Same here for CentOS7:
Failed to remove container (22d9719b9073): Error response from daemon: Driver devicemapper failed to remove root filesystem 22d9719b90739c3b0ac56b0e50fe966a152155f8685c3562b2fcb06846e0ac25: Device is Busy

uname -a
Linux docker-registry 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

docker version

Client:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:
 OS/Arch:      linux/amd64

Interestingly enough, after restarting Docker, the container I was trying to remove was gone.

@jfrattarola are you using docker 1.12 with the feature to preseve running containers while restarting the daemon? I am asking cause that could be a workaround for us.

+1 with 1.12.1, also fixed by restarting the deamon.

+1 for Docker Version 1.12.3 on Centos OS 7
Steps followed:
Tried to remove /var/lib/docker/* manually - got device busy error
Stopped Docker servicce - but was not able to restart again
Restarted the machine
tried removing /var/lib/docker/*
Docker was working normally then

Restarting daemon can fix this fail but sometimes it's not sufficient and host must be rebooted. I use Debian 8 (common OS...).
No solution from Docker team ?

@thaJeztah I think this issue is not resolved, however this github issue is closed.
Is there any other issu - that is open and worked on by the docker team - to track the problem that people are seeing?

@GameScripting the original issue here was resolved a long time ago. However, this error message can have many causes, so therefore it's possible you see this message.
There are a number of open issues that report "device or resource busy"; https://github.com/docker/docker/issues?utf8=✓&q=is%3Aissue is%3Aopen busy in%3Atitle
Let's use those for tracking this error for the current release.
I'm locking this issue, because (as explained) there are many possible reasons for this error message to occur, and the original issue reported here was resolved over two years ago. Continuing the discussion on a (very) old issue makes it harder to keep track, so for that reason I'm locking this.


Moodle behind Traefik

Hi,
No matter what I try, I cannot get Traefik working with Moodle. I set up a docker compose with Traefik and Alpine-Moodle.
All I get is a Gateway Timeout error. I have made sure Traefik and Alpine-Moodle are in the same docker network and I am able to CURL the Alpine-Moodle site just fine from the Traefik container.
I also have tried using alpine-php-nginx with a basic hello proxied trough Traefik, but without success. I have other containers proxied trough Traefik that work fine, so I doubt the problem is in my Traefik configuration.
Could you help me get my Traefik to proxy Moodle?
traefik compose
version: "3.5"
services:
traefik:
  container_name: traefik
  image: "traefik:latest"
  command:
    - --providers.docker
  ports:
    - "80:80"
    - "443:443"
  volumes:
    - "/var/run/docker.sock:/var/run/docker.sock:ro"
    - "/etc/traefik:/etc/traefik"
  networks:
    - web
  labels:
  - "traefik.http.routers.http-catchall.rule=hostregexp(`{host:.+}`)"
  - "traefik.http.routers.http-catchall.entrypoints=web"
  - "traefik.http.routers.http-catchall.middlewares=redirect-to-https"
  - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
  - "traefik.enable=true"
  - "traefik.http.routers.dashboard.rule=Host(`dash.mydomain.com`)"
  - "traefik.http.routers.dashboard.entrypoints=websecure"
  - "traefik.http.services.dashboard.loadbalancer.server.port=8080"
  - "traefik.http.routers.dashboard.service=dashboard"
  - "traefik.http.routers.dashboard.tls.certresolver=production"

networks:
  web:
    name: web
    driver: bridge

moodle compose
version: '2'
services:

  postgres:
    image: postgres:alpine
    restart: unless-stopped
    networks:
      - default
    environment:
      - POSTGRES_PASSWORD=moodle
      - POSTGRES_USER=moodle
      - POSTGRES_DB=moodle
    volumes:
      - postgres:/var/lib/postgresql/data

  moodle:
    image: jimsihk/alpine-moodle
    build: .
    restart: unless-stopped
    networks:
      - default
      - web
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.moodle.rule=Host(`mydomain.com`)"
      - "traefik.http.routers.moodle.entrypoints=websecure"
      - "traefik.http.routers.moodle.tls=true"
      - "traefik.http.routers.moodle.tls.certresolver=production"
      - "traefik.http.routers.moodle.service=moodleapp"
      - "traefik.http.services.moodleapp.loadbalancer.server.port=8080"
    environment:
      - LANG=en_US.UTF-8
      - LANGUAGE=en_US:en
      - SITE_URL=https://mydomain.com
      - DB_TYPE=pgsql
      - DB_HOST=postgres
      - DB_PORT=5432
      - DB_NAME=moodle
      - DB_USER=moodle
      - DB_PASS=moodle
      - DB_PREFIX=mdl_
      - SSLPROXY=true
      -<EMAIL_ADDRESS>      - MOODLE_LANGUAGE=en
      - MOODLE_SITENAME=New-Site
      - MOODLE_USERNAME=moodleuser
      - MOODLE_PASSWORD=PLEASE_CHANGEME
      - SMTP_HOST=smtp.gmail.com
      - SMTP_PORT=587
      -<EMAIL_ADDRESS>      - SMTP_PASSWORD=your_password \
      - SMTP_PROTOCOL=tls
      - MOODLE_MAIL_NOREPLY_ADDRESS=noreply@localhost
      - MOODLE_MAIL_PREFIX=[moodle]
      - SESSION_CACHE_TYPE=database
      - SESSION_CACHE_HOST=postgres
      - SESSION_CACHE_PORT=5432
      - SESSION_CACHE_PREFIX=mdl
      - AUTO_UPDATE_MOODLE=true
    ports:
      - 8080:8080
    volumes:
      - moodledata:/var/www/moodledata
      - moodlehtml:/var/www/html
    depends_on:
      - postgres

volumes:
  postgres: null
  moodledata: null
  moodlehtml: null

networks:
  default:
    internal: true
  web:
    external: true

Traefik config
global:
  checkNewVersion: true
  sendAnonymousUsage: false

api:
 dashboard: true
 insecure: true

entryPoints:
  web:
    address: :80
    http:
      redirections:
        entryPoint:
          to: websecure
          scheme: https

  websecure:
    address: :443

certificatesResolvers:
  staging:
    acme:
      email<EMAIL_ADDRESS>      storage: /etc/traefik/certs/acme.json
      caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
      httpChallenge:
        entryPoint: web

  production:
    acme:
      email<EMAIL_ADDRESS>      storage: /etc/traefik/certs/acme.json
      caServer: "https://acme-v02.api.letsencrypt.org/directory"
      httpChallenge:
        entryPoint: web

providers:
  docker:
    exposedByDefault: false
  file:
    directory: /etc/traefik
    watch: true

Hi,
Could you try to see the log of the moodle container to see if the traffic could be routed to the container? And what is the HTTP status shown in the nginx access log (same standard out)?
Also, may you try setting SSLPROXY=true and see if solving the problem?

Hi,
I have tried setting SSLPROXY=true in the Docker compose and also $CFG->reverseproxy = true; in the moodle config as shown in the moodle documentation.
The Moodle container logs do not report any problems nor any connection attempts made by Traefik so I believe the issue somewhere else than Moodle.
Here is the Moodle container log (pretty sure it includes Nginx access log)
== Maintenance mode (https://mydomain.com) ==
Maintenance mode has been disabled and the site is running normally again
Finished startup scripts in /docker-entrypoint-init.d
Starting runit...
Started runsvdir, PID is 75
wait for processes to start....
/usr/sbin/crond 4.5 dillon's cron daemon, started with loglevel notice
[02-Nov-2022 17:24:23] NOTICE: fpm is running, pid 81
[02-Nov-2022 17:24:23] NOTICE: ready to handle connections
run: cron: (pid 82) 5s
run: nginx: (pid 80) 5s
run: php: (pid 81) 5s

I managed to track down the error and it was in my additions to the Moodle docker compose. I deleted the default network and attached postgres to the network web.
Thank you for your time

Good to hear! Enjoy Moodle!


Feature Request: initial as valid custom size

Windicss is amazing. Love it so far!
I just got done replacing 90% of all my tailwindcss classes but there are a couple ones like these that I failed to get rid of yet:
@media (min-width: 768px) {
    .__artwork {
        max-height: initial;
    }
}

I tried max-height-initial and max-height-none but these don't currently generate any styles.
Can this be done in windi? If so, how? If not, consider this a feature request :P

max-h-none

max-h-none ?

My IDE didn't show that option. Everything was max-height instead of max-h. It is a bit confusing that both max-h-${size} and max-height-${size} are both a thing though. max-height does not have none as an option on my end.
max-h-none would produce the same results yes, but I want to use initial for better consistency

which IDE are you using? we don't have a max-height-${size} utility actually.

One thing to consider, if you still have the tailwind extension enabled, it might give you wrong suggestions

One thing to consider, if you still have the tailwind extension enabled, it might give you wrong suggestions

I was migrating from tailwind to windicss. Both tailwind.config.js and windi.config.js have been in my project directory at the same time for a couple minutes. I'm very sure I disabled tailwind but maybe I forgot to restart the IDE or something. I did have windicss's extension installed for sure.

I'm going to assume that once windicss implements unocss this issue will be solved automatically. I also don't want to request this feature anymore as I'm no longer using windicss for most projects. For these reasons i'm going to close this issue.


No response deleting DM

function delete($id) {
	$url = 'https://api.twitter.com/1.1/direct_messages/events/destroy.json';
	$requestMethod = 'DELETE';
	$postfields = array(
    'id' => $id);

/** Perform a POST request and echo the response ***/
echo $twitter->buildOauth($url, $requestMethod)
             ->setPostfields($postfields)
             ->performRequest();
}

im trying to delete DM from someone but no response, can you help me to fix it?
thanks

my bad its working now


Log: Use filesystem instead of strrchr

Modified to use filesystem instead of strrchr().

[----------] Global test environment tear-down
[==========] 82 tests from 8 test suites ran. (6700 ms total)
[  PASSED  ] 82 tests.


Add TSBench

Description of changes: Add TSBench to the nursery folder
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Please tag this pr with at least one of these labels to make our release process faster: (Future) paper implementation

Let's fix the updated black version here: https://github.com/awslabs/gluon-ts/pull/1867

@borchero is the poetry.lock file necessary? It appears to be listing some outdated versions of packages, which trigger the potential vulnerability analysis from GitHub


Improve onClick event payload shim to include methods

Describe the issue
The onClick event shim doesn't include methods like stopPropagation, which we use on web. The shim can either delegate to the underlying React Native methods or make them noops (with warnings) so code doesn't throw when calling them.
Expected behavior
App doesn't crash / throw at runtime when click event methods are called
Steps to reproduce

Call stopPropagation() on click event on native

Test case
No response
Additional comments
No response

What are the underlying React Native methods to stop propagation?


Remove ECRAutoIntegration feature flag

Description
Related to https://github.com/stackrox/stackrox/pull/2442
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user-facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed

UT & CI

/retest


When Graphics  create as a mask of Sprite , the filter is no effect.

I create a  Graphics,   and give it a blur filter .
When it as a normal display object , it is blur.
But when I add it to a sprite as mask , no blur effect.
I want  let the  sprite edge is blur , not sprite body become blur , so I can't add  blur filter to the sprite.
If this way is wrong , what should I do for the goal ?
thanks.

@GoodBoyDigital  @englercj  , could you open source of  http://www.goodboydigital.com/client/goodboy/nebulon/ ?
I found many good example of Pixi.js is not opensouce
(e.g.   some examples  on your homepage  and
http:// christmasexperiments.com/experiments/11/  ) .
I think they are very useful for use to learn pixi.js.

What if you apply filter to different container? Make two containers, outer with filter, inner with mask. That'll help to determine where exactly is the bug.

If  outer with filter , the inner Sprite become blur too . So this way can't work for my gold.
use one photo for info :

The fat guy in the photo is me . Aha , do you think I'm handsome ?   :p

Oh, I've got it. Right, its first time I see FILTER on MASK. The way mask is implemented is much different from filter, and it doesnt call filter logic on itself, so..
Lets mark it as a feature request!

Is there any news ?

@ivanpopelyshev  ， is there any news ？

Yeah, I'm working on pixi-display right now, and new version will have ability to do that kind of stuff. I doubt it will be supported in core pixijs.
I'll use your case as an example :)

Actually, the fastest method will be to generate blur mask with renderTexture, and then apply it. Otherwise, it will be done every frame, and that's not good.

@ivanpopelyshev  , In my case , the mask is dynamic ( it's a filed of  player's view ) ，so use renderTexture is not a good way.

Also wanted to check in on this. I'm working on a face-swapping sort of app, and like @finscn, I have a dynamically changing mask tracked to a user's face via webcam, and I want to feather/blur the edges so it doesn't look like a cutout. @finscn, what did you end up doing?

Hi there! Closing this issue for now due to its inactivity. Feel free to give us a poke if you would like this issue reopened. Thanks 👍


Including Microsoft Teams for Federation SRV record

Microsoft Teams needs to be included as well in the _SipFederationtls._tcp section
SRV
(Skype for Business Online)
Allows your Office 365 domain to share instant messaging (IM) features with external clients by enabling SIP federation. Read more about Office 365 URLs and IP address ranges.
Service: sipfederationtls
Protocol: TCP
Priority: 100
Weight: 1
Port: 5061
Target: sipfed.online.lync.com
Note: If the firewall or proxy server blocks SRV lookups on an external DNS, you should add this record to the internal DNS record.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3e27e942-5c6d-591e-14c4-40d44d90422c
Version Independent ID: 5e92f544-cae1-9d31-0c9a-253a7e76b73f
Content: External Domain Name System records for Office 365
Content Source: Enterprise/external-domain-name-system-records.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@NickElniff As far as i know, that's not the case and external access in Microsoft Teams is turned on by default.. Did you see an issue with Teams that was solved by adding "sipfederationtls"?
Other than the well known ports and URLs and network requirements and optimization there is no other requirement to get external communication within Teams going.

Turning on External Access is only the settings to allow for federation communications, while the "SipFederationTLS" DNS SRV record is to allow other organizations to discover the federation route. Example if Customer A is TeamsOnly in O365 and Customer B is Skype for Business Server: Customer B would need to be able to resolve Customer A's SipFederationTLS DNS record in order to know where to send federation traffic. Enabling External Access in the portal is not enough.

@NickElniff I understand what you mean. I could not find any official guidance around this topic. I will add a note in the article about this and hopefully it will get approved.
I guess we will have to wait for official guidance to come out close to the Skype for Business Online retirement date. Until then i think one should treat the DNS records as having Skype for Business instead of Teams.

@NickElniff - Thank you for submitting feedback.
From our understanding, the issue has been resolved based on this merged commit https://github.com/MicrosoftDocs/OfficeDocs-Enterprise/commit/a69be96fab09ff9bb06ad8369caafe090061c011.
Thank you for your contribution to make the docs better! Much appreciated!


Fix dead links

Signed-off-by: Ian Maddaus<EMAIL_ADDRESS>Desc
Fix bad links in docs.
Issues Resolved
chef/chef-web-docs#3655
Check List

[ ] New functionality includes tests
[ ] All buildkite tests pass
[ ] Full omnibus build and tests in buildkite pass
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/main/CONTRIBUTING.md#developer-certification-of-origin-dco
[ ] PR title is a worthy inclusion in the CHANGELOG

1.0.2 docs seem to be gone everywhere so this is as good as it gets


ISPN-7674 BackupFailureException doesn't have a detail message

https://issues.jboss.org/browse/ISPN-7674

Seems fine.. pulling...

Integrated into master, thanks @danberindei !


itag codes outdated

Apparently Youtube updated the itag codes, itags provided in the parser class are not working

https://github.com/Athlon1600/youtube-downloader/pull/39


SyntaxError: Unexpected token

react-native-dotenv/index.js:9
} catch {
^
SyntaxError: Unexpected token {
This error I am getting. What can be the cause?

So this is explained in this stackoverflow article. I thought we could be clever and take advantage of the feature, but it is not supported by many older browsers. What I'll do is add a verbose mode that will spit out the errors conditionally so we can re-add the err:
} catch (err) {
  if (verbose) {
    console.error(err)
  }
  return {}
}

without the linter complaining about not using the err

Thank you for opening this, @priyankar-navsoft let me know if the latest release solves this issue.


ES6 => transpile

To-do: rewrite in ES6, transpile to modern age javazcriptz

I'm thinking of using Traceur for this. what do you think @thejameskyle?

:+1:

Babel, formerly 6to5, seems to be the way to go. Most features and it has a good support forming:
http://babeljs.io/blog/2015/02/15/not-born-to-die/

:) That would be what we use

It's already using es6 where appropriate


Classify command doesn't work when directly passed file as input

I see errors like:
Traceback (most recent call last):
  File "/tmp/dlarson_testing/scripts/sv_classifier.py", line 599, in <module>
    sys.exit(args.entry_point(args))
  File "/tmp/dlarson_testing/scripts/sv_classifier.py", line 593, in run_from_args
    with su.InputStream(args.vcf_in) as stream:
  File "/tmp/dlarson_testing/miniconda/envs/svtools0.2.0/lib/python2.7/site-packages/svtools-0.2.0-py2.7.egg/svtools/utils.py", line 10, in __init__
AttributeError: 'file' object has no attribute 'endswith'

Sorry.  Fixed this but also need to get rid of a pandas warning.
On Fri, Jun 24, 2016 at 10:49 AM, Dave Larson<EMAIL_ADDRESS>wrote:

I see errors like:
Traceback (most recent call last):
File "/tmp/dlarson_testing/scripts/sv_classifier.py", line 599, in
sys.exit(args.entry_point(args))
File "/tmp/dlarson_testing/scripts/sv_classifier.py", line 593, in run_from_args
with su.InputStream(args.vcf_in) as stream:
File "/tmp/dlarson_testing/miniconda/envs/svtools0.2.0/lib/python2.7/site-packages/svtools-0.2.0-py2.7.egg/svtools/utils.py", line 10, in init
AttributeError: 'file' object has no attribute 'endswith'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hall-lab/svtools/issues/145, or mute the thread
https://github.com/notifications/unsubscribe/AH4xwZuQ4ulpVECDk-7uVkYK683l_CRCks5qO_yTgaJpZM4I95Au
.

This was fixed in #148.


Exception not caught

Task exception was never retrieved
future: <Task finished coro=<_async_search_direct_connections() done, defined at C:\projects\cutecoin\src\cutecoin\gui\identities_tab.py:218> exception=TypeError('unorderable types: str() > int()',)>
Traceback (most recent call last):
  File "C:\Python34_64\envs\test-environment\lib\asyncio\tasks.py", line 238, in _step
  File "C:\projects\cutecoin\src\cutecoin\gui\identities_tab.py", line 242, in _async_search_direct_connections
  File "C:\projects\cutecoin\src\cutecoin\gui\identities_tab.py", line 252, in refresh_identities
  File "C:\projects\cutecoin\src\cutecoin\models\identities.py", line 145, in refresh_identities
  File "C:\projects\cutecoin\src\cutecoin\models\identities.py", line 124, in identity_data
  File "C:\projects\cutecoin\src\cutecoin\core\registry\identity.py", line 147, in get_expiration_date
  File "C:\projects\cutecoin\src\cutecoin\core\registry\identity.py", line 182, in membership
TypeError: unorderable types: str() > int()

The bug is stucking me, once cutecoin is launched with my account (cgeek) the exception occurs few seconds later. No matter what I'm doing.
I've deleted my cache, deleted my cutecoin folder + added my account again, still occuring.

Same bug as https://github.com/ucoin-io/cutecoin/issues/251


Touch screen bug

I have a touch-screen laptop and then I can only use touch events to show the menu. There is a logic for this when initializing the elements, which I think should be removed (the else version)

Preparing a new version with a fix for this https://github.com/artberri/sidr/tree/reborn


Emit error log after X failed attempts to validate state

Currently we emit error log every time there's a problem with state validation, however, sometimes temporary errors like network connection issues happen. Maybe we should keep track of invalid attempts and emit error after 2-3 failed attempts. First failed attempts should be warning or info level.

Fixed in #1918.


Have Fixed the script

Closes: #1
Updated validations.py python script
Fixed the behavior of validate_user function in validations.py
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

@googlebot I signed it!


CSS not rendering

When I try to use this theme the CSS does not load.


central crashes at startup with quay.io/stackrox-io/main:3.72.1 (also: 3.72.0)

Hello,
the central pod crashes while starting up:
cve/fetcher: 2022/10/20 09:34:33.286511 orchestrator.go:237: Info: Successfully fetched 0 OpenShift CVEs
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x33b2efd]

goroutine 117 [running]:
github.com/stackrox/rox/central/cve/converter/utils.nvdCvssv2ToProtoCvssv2(0x0)
	github.com/stackrox/rox/central/cve/converter/utils/convert_utils.go:173 +0x1d

This was an installation with helm stackrox-central-services-71.0.0, upgraded to stackrox-central-services-72.0.0, which then started crashing some time (less than 1 day) after the upgrade. Still crashing with 72.1.0.
Values for helm look like this:
image:
  registry: <proxy for quay.io>/stackrox-io

env:
  proxyConfig: |
    url: http://...
    excludes:
    - ...

central:
  exposure:
     loadBalancer:
       enabled: true

scanner:
  autoscaling:
    disable: true

This is the full log for central:
crash.log

Same issue happening with version 3.70.1 without any recent changes in configuration/version.

Same issue. Running Version 3.72.0. Quick fix would be appreciated.

Thank you for reporting! The team got notified about this issue by internal monitoring and is currently looking into this.

thanks for reporting @iljaweis
we have the same

Same problem.
image: 'registry.redhat.io/advanced-cluster-security/rhacs-main-rhel8:3.71.0'
It worked for more then month and then suddenly falled into crash loop with the same error.

Thanks for providing information about the issue.
The team has found the root cause and currently working on releasing a workaround and releasing a patch fix as soon as possible.

Same here on 3.71.0.
Looking at the stack trace I'm guessing something has changed in an external vulnerability database which is now making the Stackrox processing crash? And that's why it started happening suddenly without any changes and affects several versions.

thanks for the response
we've encountered the same problem on 3.71.0

Hello folks,
thank you for reporting this incident, and our sincere apologies for the disruption this caused.
Due to an unexpected schema change in an upstream vulnerability feed, a corrupted CVE data file has been published to https://definitions.stackrox.io/ and consumed by a large number of Central instances. As a result of the data corruption, Central crashes. To the best of our knowledge, this affects all Central versions.
While we have already taken steps to ensure a non-corrupted version is served from https://definitions.stackrox.io/, affected Centrals will not be able to get out of this crashloop state without manual intervention in order to delete the previously downloaded, corrupted file.
In order to get Central back to a working state, please follow these instructions to delete the file: https://gist.github.com/misberner/c43a666fc0a6ff335925b9800473d489
We have already identified further steps to prevent issues of this kind from happening in the future, specifically ensuring that Central self-heals when a dependency corruption is fixed.

Working like a charm! Thank you very much for the quick workaround.

Works for me as well. Thank you for the fix. 🙂

confirm it works

For posterity: the fix for the problem has been merged, https://github.com/stackrox/stackrox/pull/3504

Thanks so much for the fix ;)


Display values outside the query window (fill left)

My Problem
The database query returns changed values in the selected time window.
If the value does not often change over the specified time, Discrete displays less than a user expects.
6h query

12h query

should be like this:

InfluxDB query

What I want
Extend database query by one status change, fill previous and still display only the selected time period
--> Fill the 6h with "Single" on the left side

I have a similar issue. I have a table of measurements with only boolean values (in essence; at what time a sensor change state from on to off or vice versa):
2018-10-28 15:36:54   false
2018-10-28 16:03:17   true
2018-10-28 16:04:17   false
....

However, the initial value is always 'N/A' because the previous event is outside of the selected range. I tried playing with the fill values but none did what I wanted; get the actual value instead of N/A for the leftmost part of the bar.

Another problem:

Let's call the top bar A and the one below B. This is the data:
Date               Sensor State
2018-10-30 23:33:42   B   OFF
2018-10-30 23:33:26   A   OFF
2018-10-30 23:33:12   B    ON
2018-10-30 23:32:56   A    ON

If you 'replay' these event's you'll see that the last color from the previous bar is used in the next bar. And that the starting color, once the date's go 'out of range' on the left, change to grey for the top bar but the second bar always starts with the previous bar's color...

@RobThree -- I made a new issue for the problem you describe.  That is clearly a bug, lets keep this issue for the feature request

@lephisto,
Thanks for the workaround!
Just wanted to mention that it only works for "last XXX" time ranges and breaks "from X to Y".

Quite same problem here, if value changes before time-range, proper value is not rendered

Complete time range

partial time range.
As you can see, on the second line, if value begins before time range, value is not rendered.
Second line should be yellow from 18:20 to 22:00. It's well rendered if time range is enclosing these times, but if it's shorter as in the second graph, the second line is not rendered before 22:00 as if Grafane didn't know the value.


Second Community Call

Following #161
Next call will be at Tue Mar 24th at 6pm CET (1700 UTC, 1pm EDT, 10am PDT). We will aim to include more projects from the US this time. We will alternate times, every 4 weeks at this time, and every 4 weeks (between this time), at a more Asia-friendly time - 10am CET.
Agenda:

[ ] CosmWasm JS
[ ] The Mask and PoS support
[ ] IBC plans / update
[ ] Regen Testnet Update
[ ] Open Q&A

Zoom link: https://zoom.us/j/361222561?pwd=ZmpIQUppYks2MDVtSjRGQVpTaVlKUT09
(This is same for all meetings at US-friendly times)

The recording of the Community Call#2 is published: https://vimeo.com/400330766
Next dates

CC#3: Mar 24th + 2 weeks (Asia friendly time)
CC#4: Mar 24th + 4 weeks (US friendly time)
CC#5: Mar 24th + 6 weeks (Asia friendly time)
CC#6: Mar 24th + 8 weeks (US friendly time)
CC#7: Mar 24th + 10 weeks (Asia friendly time)
CC#8: Mar 24th + 12 weeks (US friendly time)
…

I'll not calculate that for you to avoid miscalculating.


bump agent after golang 1.19 CI change

/label docs-approved
/label px-approved
golang version we build the agent image in CI changed - no docs update needed.

/lgtm

OLM operator failed to populate the source cache for the community operators (not NOB).
E1026 09:33:18.531079       1 queueinformer_operator.go:298] sync "node-observability-operator" failed: failed to populate resolver cache from source community-operators/openshift-marketplace: failed to list bundles: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:50051: connect: connection refused"

No registry-server logs for the community operator are present.
/retest

Community operator's index image for 4.12 is not pullable: link.

/label qe-approved
To unblock repository, anyway no code changes were made on the agent.

/label qe-approved


Update framework views

Description
This PR consolidates the way that the root value and GraphQL context is determined across all the supported integrations (Django, ASGI and Flask). You can now subclass the view and define a custom get_root_value and get_context functions to control what the root value and context is in each request.
⚠ this is a breaking change for ASGI and Flask because they both used to take the root value as an argument to the View. You can now determine the root value per request.
I'm going to add some documentation in a separate PR.
Types of Changes

[x] New feature
[x] Enhancement/optimization

Issues Fixed or Closed by This PR

https://github.com/strawberry-graphql/strawberry/issues/345
https://github.com/strawberry-graphql/strawberry/issues/316

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver,so make sure to pick the appropriate type. If in doubt feel free to ask :)


Lost Grid?

I cant seem to get LOST to work with this package.
https://github.com/peterramsing/lost/wiki/Installation

Hi, I'll check this out asap. I'll keep you posted.

What exactly doesn't work? Because I have done a quick test and everything seems to be ok.
My test is on Meteor 1.3-rc.2 and postcss package in version 1.0.0-rc.2 but in older version the core logic is the same so it should also work. Lost version is 6.7.2 and PostCss version is 5.0.19 What I test is:
.lost-demo {
    lost-column: 1/3;
}

my output:
.lost-demo {
  width: calc(99.99% * 1/3 - (30px - 30px * 1/3));
}

.lost-demo:nth-child(1n) {
  float: left;
  margin-right: 30px;
  clear: none;
}

.lost-demo:last-child {
  margin-right: 0;
}

.lost-demo:nth-child(3n) {
  margin-right: 0;
  float: right;
}

.lost-demo:nth-child(3n + 1) {
  clear: left;
}

@juliancwirko , how did you install lost?
This is my package.json's postcss section
"postcss": {
    "plugins": {
      "postcss-import": {},
      "lost": {}
    }
  }

How is your css file setup?
I have the same test in a main.css
and none of the lost attributes are being transformed.

have you installed it by: npm install lost --save-dev ?
My package.json file is something like:
{
  "name": "test",
  "version": "1.0.0",
  "description": "",
  "author": "",
  "devDependencies": {
    "autoprefixer": "^6.3.3",
    "lost": "^6.7.2",
    "postcss-import": "^8.0.2"
  },
  "postcss": {
    "plugins": {
      "postcss-import": {},
      "lost": {},
      "autoprefixer": {
        "browsers": [
          "last 2 versions"
        ]
      }
    }
  }
}

of course all in Meteor 1.3-rc.2 and juliancwirko:postcss at version 1.0.0-rc.2

Interesting, I think i may have just needed to restart meteor, because it worked out of nowhere.
Can confirm everything is working on rc.2 :)


Dockerfile issues pulling assets from S3

=> ERROR [12/12] RUN dvc pull                                                                     1.7s

[12/12] RUN dvc pull:
#17 1.298 WARNING: Some of the cache files do not exist neither locally nor on remote. Missing cache files:

Hi @ZaheedaT, the lessons are meant to be taken in sequential order and we create many of the artifacts needed in previous lessons so that's why this error is happening. We create the necessary data assets and version them with DVC in a prior lesson so this Docker lesson won't run properly if you don't follow the previous lessons.

Hi there, I ran all the lessons, out of Docker as well, and still get this error. I ran this whole workflow first
python tagifai/main.py load-data
python tagifai/main.py label-data --args-fp="config/args.json"
python tagifai/main.py optimize --args-fp="config/args.json" --study-name="optimization" --num-trials=10
python tagifai/main.py train-model --args-fp="config/args.json" --experiment-name="baselines" --run-name="sgd"
python tagifai/main.py predict-tag --text="Transfer learning with transformers for text classification."
``

Unfortunately those commands only train a model ready for inference and the DVC steps required are not covered in those commands above. The versioning lesson will have the steps required to version and store the data in order for Docker to be able to pull them.

I will try that,
There's an issue with the Dockerfile, there is no directory called "stores" in the repo

I followed all the steps from https://madewithml.com/courses/mlops/versioning/
Still getting the same error. I'll leave the course here. Thanks

Hi @ZaheedaT , unfortunately MLOps concepts are quit interweaved and cannot be run in isolation. For example, the stores directory is created in a different lesson. You absolutely need to run the course in sequential order for things to work and cannot skip to one of the later lessons.


fix: throw ResourceUnavailableRpcError when error code -32002

Description
When I looked at viem's code, when the error code was -32002, I think I should throw ResourceUnavailableRpcError instead of ResourceNotFoundRpcError.
I attach the captured part of my project error console screen and the code of viem as below.

Additional Information

[X] I read the contributing docs (if this is your first contribution)

Your ENS/address:
0x05C844b78d17E3b4be53eEBb72ec5Bcd32f85ad6

@tmm @jxom could you review this PR, please?


Saifulriza

I deleted the deque survey from the list because the survey was closed. and i fixed url of nativescript swag not found

Thanks. Cheers!

Whoaa.. this is my first merged pull request


--start-idx and --stop-idx are ignored

Related to #321
What's happening
I'm testing mriqc 21.0.0rc2 via Singularity on a dataset with a set number of dummy TRs. It's not entirely clear to me how these arguments are supposed to change processing, but it looks like the arguments --start-idx and --stop-idx are ignored. For example, a command that looks like
singularity run --cleanenv -B /inputs/rawdata:/bids:ro -B /outpus:/main /mriqc_21.0.0rc2.sif /bids \
/main/derivatives/mriqc participant -w /main/derivatives/work/mriqc \
--participant-label 0001 --session-id 01 \
--ica --verbose-reports --correct-slice-timing --start-idx 5 --stop-idx 1474 --no-sub \
--verbose-reports --fd_thres 0.9 --float --mem_gb 24 --use-plugin /main/code/config.yml -vvvv

gives a log that includes:
[...]
220117-09:59:02,157 nipype.workflow DEBUG:
	 [Node] drop_trs - setting input start_idx = <undefined>
220117-09:59:02,157 nipype.workflow DEBUG:
	 [Node] drop_trs - setting input stop_idx = <undefined>
[...]

And the command.txt in the working directory of the drop_tr node contains this line
3dcalc -a [<redacted input file>] -expr "a" -prefix [<redacted prefix>]

But from the nipype function I would have expected it to contain
3dcalc -a [<redacted input file>] -expr "a[5..1474]" -prefix [<redacted prefix>]

Possible Cause
These arguments could be used by the hmc workflow, except that they aren't being passed to that workflow's inputnode (e.g.).
I'm not sure about the intention with those parameters. There's also the "non_steady_state_detector" node, but there doesn't seem to be any logic for choosing between the indexes given by the user and whatever is automatically flagged as a non-steady state TR.

--start-idx and --stop-idx are preprocessing options. I agree this is a bug, but it should not exist because the two options should not exist. MRIQC should not be used with preprocessing purposes.

I think that makes sense. Though, given the presence of a non_steady_state_detector node, I wonder whether you'd consider having an option like --dummy-scans. I would appreciate having the ability to exclude a few initial TRs, to simplify comparisons of metrics across datasets (e.g., AFNI's outlier ratio)

Sure, that would not be a big deal - we can basically copy over from fMRIPrep.

I think that makes sense. Though, given the presence of a non_steady_state_detector node, I wonder whether you'd consider having an option like --dummy-scans. I would appreciate having the ability to exclude a few initial TRs, to simplify comparisons of metrics across datasets (e.g., AFNI's outlier ratio)

Upon some reflection, I'm leaning towards actually removing the option. The reason is that this option will have deleterious consequences: some of the metrics indeed will not be reported for the initial timesteps.
However, I acknowledge the problem. I believe the right solution is that downstream analyses (e.g., a classifier) should include the option in some way. For a fully automated classifier, you probably need something sophisticated that works without the original data, or force the user provide the parameter always. For other more lenient processes, some smart way of estimating it would be fine.
Another way of viewing this: if I train a classifier on a sample from my scanning center providing the dummy scans number always, and then, once I call it done, I stop providing the parameter, I would be biasing the classifier.
I agree this is an open issue, and perhaps we will need to report all the confounding timeseries rather than summary values.


use new indicators

Moved Ajay's file to the ontology folder (fyi @ajaynagesh )
added adarsh's set (from Mitre) (fyi @adarshp )
added to EidosSystem and CacheOntologies
refactored the MapIndicators method to be WAY WAY cleaner and like, sensible.  Should be way way more trivial to add new ones now.  More refactoring could prob be done, but it's a start...
I went ahead and added the new mapping files bc I think they should be tracked
add a python script to make ~ontology from flat list

You paid a high price for making a variable name longer than all the rest!  In the eidos.conf file should ${EidosSystem.language} continue to be used for all ontologies?  (That design may have to be revisited soon.)  Was useCache not working in EidosSystem?  Maybe it was too implicit or I guess redundantly calculated.  Your version is better.  I'm going to run this once and inspect the output before signing off.  We're all thankful for you!

Aw thanks Keith! Right back atcha!  useCache prob would have worked just
fine, I occasionally add sanity checks like that without thinking, here I
wanted to be super sure I was passing/using the right thing, but this may
be me waving a palm branch to make the plane land again.... feel more than
free to change it back to useCache !!!
On Wed, Nov 21, 2018 at 10:40 PM Keith Alcock<EMAIL_ADDRESS>wrote:

You paid a high price for making a variable name longer than all the rest!
In the eidos.conf file should ${EidosSystem.language} continue to be used
for all ontologies? (That design may have to be revisited soon.) Was
useCache not working in EidosSystem? Maybe it was too implicit or I guess
redundantly calculated. Your version is better. I'm going to run this once
and inspect the output before signing off. We're all thankful for you!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/pull/522#issuecomment-440918884, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFIniT0lB1Tbt6MiVk8GBUPfypQwUYILks5uxjjSgaJpZM4YunjN
.

My comment above about ${EidosSystem.language} will not be relevant until those new files have been added in Portuguese.

This made it through the 10 and 52, so being merged it is.


Button size is different on Linux .

Components button's size are different on Linux .

Fixed in Master

Fixed in prod:


Create EmojiButton.test.tsx EmojiButton unit testcase

Description
Please include a brief summary of the change and include the relevant issue(s).
Closes #(issue)
What change does this PR introduce?
Please select the relevant option(s).

[ ] Bug fix (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)
[ ] Documentation update (changes to docs/code comments)

What is the proposed approach?
Please give a short overview/explanation on the approach taken to resolve the issue(s).
Checklist:

[ ] The commit message follows our adopted guidelines
[ ] Testing has been done for the change(s) added (for bug fixes/features)
[ ] Relevant comments/docs have been added/updated (for bug fixes/features)

Hey @GaurangMapuskar, thank you for the PR. However, as I've referenced above, this issue was actually assigned to another developer. With that said, I've left a comment on the issue to check in with the developer to work out how best to proceed. Will keep you posted!
Note: If you are keen to work on other issues as well, do leave a comment indicating interest to avoid potential conflicts.

Just to update, we will be proceeding with this PR and I'll look at it properly later tonight 🙂

@tjtanjin
@GaurangMapuskar
I just checked out the branch and ran the test. It is not working.
The steps I did.
git clone https://github.com/GaurangMapuskar/react-chatbotify.git
cd react-chatbotify
npm install
npm run unit:test

This is the output.
><EMAIL_ADDRESS>unit:test
> jest __tests__/

(node:70674) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 FAIL  __tests__/components/buttons/EmojiButton.test.tsx
  ● Test suite failed to run

    __tests__/components/buttons/EmojiButton.test.tsx:5:25 - error TS2307: Cannot find module './EmojiButton' or its corresponding type declarations.

    5 import EmojiButton from "./EmojiButton";
                              ~~~~~~~~~~~~~~~
    __tests__/components/buttons/EmojiButton.test.tsx:6:36 - error TS2307: Cannot find module '../../../context/SettingsContext' or its corresponding type declarations.

    6 import { useSettingsContext } from "../../../context/SettingsContext";
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    __tests__/components/buttons/EmojiButton.test.tsx:7:34 - error TS2307: Cannot find module '../../../context/StylesContext' or its corresponding type declarations.

    7 import { useStylesContext } from "../../../context/StylesContext";
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    __tests__/components/buttons/EmojiButton.test.tsx:8:35 - error TS2307: Cannot find module '../../../context/BotRefsContext' or its corresponding type declarations.

    8 import { useBotRefsContext } from "../../../context/BotRefsContext";
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    __tests__/components/buttons/EmojiButton.test.tsx:9:37 - error TS2307: Cannot find module '../../../hooks/internal/useTextAreaInternal' or its corresponding type declarations.

    9 import { useTextAreaInternal } from "../../../hooks/internal/useTextAreaInternal";
                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    __tests__/components/buttons/EmojiButton.test.tsx:53:25 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'.

    53     expect(emojiButton).toBeInTheDocument();
                               ~~~~~~~~~~~~~~~~~
    __tests__/components/buttons/EmojiButton.test.tsx:60:24 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLDivElement | null>'.

    60     expect(emojiPopup).toBeInTheDocument();
                              ~~~~~~~~~~~~~~~~~
    __tests__/components/buttons/EmojiButton.test.tsx:81:36 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'.

    81     expect(screen.getByText("😀")).toBeInTheDocument();
                                          ~~~~~~~~~~~~~~~~~
    __tests__/components/buttons/EmojiButton.test.tsx:87:42 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'.

    87     expect(screen.queryByText("😀")).not.toBeInTheDocument();
                                                ~~~~~~~~~~~~~~~~~
    __tests__/components/buttons/EmojiButton.test.tsx:103:42 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'.

    103     expect(screen.queryByText("😀")).not.toBeInTheDocument();
                                                 ~~~~~~~~~~~~~~~~~

(node:70670) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 PASS  __tests__/hooks/internal/useChatWindowInternal.test.ts (5.762 s)
(node:70675) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 PASS  __tests__/hooks/internal/useNotificationsInternal.test.ts (5.791 s)
(node:70671) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 PASS  __tests__/hooks/internal/useVoiceInternal.test.ts (5.777 s)
 PASS  __tests__/hooks/internal/useAudioInternal.test.ts
(node:70672) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 PASS  __tests__/components/buttons/NotificationButton.test.tsx (5.851 s)
(node:70673) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 PASS  __tests__/components/buttons/AudioButton.test.tsx (5.899 s)
(node:70669) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 PASS  __tests__/hooks/internal/useChatHistoryInternal.test.ts (5.963 s)
 PASS  __tests__/hooks/internal/userBotIdInternal.test.ts
 PASS  __tests__/hooks/internal/useFirstInteractionInternal.test.ts

Test Suites: 1 failed, 9 passed, 10 total
Tests:       22 passed, 22 total
Snapshots:   0 total
Time:        6.621 s
Ran all test suites matching /__tests__\//i.
`

Thank you for checking @heinthetaung-dev 😊 @GaurangMapuskar, are you able to resolve the errors? There're quite a fair bit of areas that require changes such as wrong imports. Do feel free to reach out if you need assistance.

Hey @GaurangMapuskar, please don't mind the rush, but if you're unable to work on this issue do let us know soon 🥺


How to get latest synced file paths?

Firstly, this is a great project, thank you.
Secondly I installed it easily with go install github.com/tenox7/stc@latest, which I notice is a command that isn't mentioned in the README.
And for my question, I'd like a little log of the most recent files that have been changed. Is that possible? Is it something I could look into and make PR for?

No need to ask, just send a PR!
Also if you want to update readme and and add go install, would be awesome!
Thank you!

Submitted! https://github.com/tenox7/stc/pull/12


Allow anyone to approve

Make the approvers field optional, and allow anyone to approve if it's empty.
I had to rework approvalFromComments to make this work, since it worked by removing names from the required approvers list until the list was small enough.
closes https://github.com/trstringer/manual-approval/issues/108

What kind of testing did you do for this PR? And also thanks for contributing!

bump, this would be a nice feature :)


How to get Notification() - rebalance notification in sarama lib

Hello,
Since sarama-cluster already been deprecated and it is suggested to use sarama lib instead, is there any possibility to get Notification() in sarama lib? seems it has been deleted (any reason for that)... the reason for asking is we would like to do some customized logic when rebalance is triggered... thanks so much in advance...

@lingzhang000 there is no need for it as you consume through a for loop in sarama's ConsumerGroup. You can also define Setup/Cleanup callbacks on the Handler


Add support for responsive style props

🙋 Feature Request
Our style props are already a nice way to use Spectrum defined variables for things like layout and spacing props, but it would be useful to support responsive behavior as well. For example, you might wish to switch layouts on smaller screens. This would be especially useful for our layout components.
💁 Possible Solution
I think the API could look something like this:
<TextField width={{S: 'size-1000', M; 'size-2000', L: 'size-3000'}} />

This would set a different width at 3 breakpoints: small (mobile), medium (tablet), and large (desktop). We could have default values for these breakpoints, but also allow applications to define their own values using the Provider component.
<Provider breakpoints={{S: 380, M: 768, L: 1024}}>
  <TextField width={{S: 'size-1000', M; 'size-2000', L: 'size-3000'}} />
</Provider>

This would define each of the breakpoints for the entire app, and all components within the provider could respond to those breakpoints.
🧢 Your Company/Team
RSP

https://styled-system.com/ has similar solution, with two small additions:
_ key to define default value. This is very useful when you have more breakpoints.
{ _: 100, L: 300 } // {S: 100, M: 100, L: 300}
{ _: 100, M: 300 } // {S: 100, M: 300, L: 300}

and array notation
[100, 100, 300]

But this one, in my opinion is not very useful.
Here you can find more information: https://styled-system.com/responsive-styles
Do we want similar behavior?

Ah yes that makes sense. I didn't quite understand the syntax at first though. Maybe the underscore could be a name like default?
{ default: 100, L: 300 }

The array syntax is also too cryptic IMO. I feel like the object syntax with named breakpoints is much easier to read.

Hi, coming here from there, and upvoted right away. I understand this is still in a feat. request stage, correct? Thanks!

It's in a stage where anyone can pick it up. There's been a little discussion around what it might look like in this thread, and I expect there will be more once there is a PR up. It's unlikely the core team is going to pick it up in the near future.


Missing hint to not use customer license for APPLICATION UPDATE

Please add a hint to not use a customer license to process APPLICATION UPDATE steps.
I had a customer who tried to do and ended up with this error:
Publish-NAVApp -ServerInstance BC150 -Path "C:\<..>\Microsoft_System Application.app"
Publish-NAVApp : Your program license does not allow you to publish 'Assisted Setup Group'.
In Zeile:1 Zeichen:1
+ Publish-NAVApp -ServerInstance BC150 -Path "C:\install\Dynamics.365.B ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Publish-NAVApp], InvalidOperationException
    + FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC150/nav-systemapplication,Microsoft.Dynamics.Nav.Apps.Manag
   ement.Cmdlets.PublishNavApp

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e71477e4-f2ea-1481-7597-29b324bd4f57
Version Independent ID: a2bb3a05-e5c1-d9f7-f47f-d2f34c4a91ea
Content: Install an update - Business Central
Content Source: dev-itpro/upgrade/upgrading-cumulative-update-v15.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Thanks for the feedback, this version is no longer supported, but we'll update the latest documentation. Thanks.


Add app database using SQL Alchemy w/support for migrations

add database features for user log-ins but with database support

Open for review in PR 226

This is closed with PR PR #226


Un-ignore test_timeout, upgrade wiremock to 0.3

I have noticed that the test_timeout was ignored. I managed to get it working.
Even though it might not be testing what was originally intended, it's still a good test to have.
This also bumps the wiremock library used to mock the HTTP servers in tests to 0.3, latest stable release.
Should be merged after #10 so that the test is ran in GitHub actions.

Code looks great. Guess we can merge this since #10 is in now. Just needs another sync with master.

Just needs another sync with master.

Rebased :+1:

Great! Merging. 🚢 🇮🇹


Can not remove halo before init()

The halo can not be removed before init() function of controller is called.

Fix this bug in initHandler.


MSSQL Always-on

Hello, wonderful plugin thanks! does it works with MS SQL Always-On cluster? https://msdn.microsoft.com/en-us/library/gg558121%28v=sql.110%29.aspx

In theory, I don't see why not. However this isn't something I've tested the plugin with.
I'm afraid I don't have the opportunity to test this for you, so if you do have access to such an environment, my suggestion would be to configure the connection string as per that link, and try some dummy data with it to see if it works properly.
I would love to know if it does. But, if it doesn't, let me know what problems you're seeing and I'll see if we can fix them :smile:

It's working like a charm :) great job!

Btw: I've used one listener with two IP (one IP per site)

❤ Thank you for the feedback, really appreciate it :smile: I'll add a link pointing at this issue, to the SQL Server example

Note added in 26a32079f1b7fe111aab4c7d504faaca21c0d4f6


Search does not work correctly in svelte 5

Hi, I discovered a problem when switching to svelte 5. If, when initializing a table, we specify the “highlight” parameter, then the search result breaks
const table = new TableHandler(data, {rowsPerPage: 10, i18n: i18nRUS, highlight: true})

Hi,
Seeing your example, if I understand correctly, it seems to work fine.
The hightlight: true param wraps matching values between some html <u class="highlight">.
You need to add @hmtl in your template so svelte is able to render this HTML.


PyO3: Add None and Tensor indexing to candle.Tensor

This adds the ability to expand tensor dimensions via a None index.
e.g.:
t = candle.rand((12, 12))
c = t[:, None, None, :] # shape is now (12,1,1,12)

Tensor indexing is also supported but similarly to candle-core its limited to 1D tensors.

Alright should be good to go, i added the list indexing and made sure that it works outside of the first tensor dimension.

Thanks!


Proper handling of RTP extensions

Includes a much better API to get RTP header extension values.

Thanks. However I'm fixing a small bug (will commit the fix in master).

Ok