Hi, would you upload a jupyter notebook about how to use your code?

Hi,
The code is still under development. I will definitely add a jupyter notebook tutorial once it is complete.
Thanks.

Tagging on this question, is there a basic example case we can run? Readme is sparse, so not sure  how to go about it.
Still learning Pytorch at the moment, finding it much more intuitive than TF, would love to contribute once I've gained a better understanding.

@EXJUSTICE Thanks for the interest and sorry for the delay. I've been working on refactoring this code this week and just have a couple of bugs to fix before I can push the changes here. The example, final code and README should be ready by tomorrow.

Nice dude!
No rush at all.
Would love to bug test it and eventually contribute to the repo!
-------- Original Message --------
Subject: Re: [aksub99/MolDQN-pytorch] Hi, would you upload a jupyter notebook about how to use your code? (#1)
From: Akshay Subramanian
To: aksub99/MolDQN-pytorch
CC: "Xu, Yijie" ,Mention
@EXJUSTICEhttps://github.com/EXJUSTICE Thanks for the interest and sorry for the delay. I've been working on refactoring this code this week and just have a couple of bugs to fix before I can push the changes here. The example, final code and README should be ready by tomorrow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aksub99/MolDQN-pytorch/issues/1#issuecomment-608965251, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFT5MH2NM3EXIJLZJFZ4DD3RK2SMJANCNFSM4JKOUMGA.

@tbwxmu @EXJUSTICE Sorry once again for the delay. I have updated the README with the installation and running instructions.
@EXJUSTICE I've also created a couple of issues if you're interested to contribute :)
Am closing this issue.
Addition of Jupyter Notebook example has been made a new issue #6


⚠ Bofrost.at has degraded performance

In bec6eb5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2977 ms

Resolved: Bofrost.at performance has improved in 27c3b26.


Update trig recipe

This PR adds a second phase to the trig recipe that finds co-angle, power-reduction, product-to-sum, and angle sum formulas for cosine and sine:
(cos (- (/ PI 2) ?a)) <=> (sin ?a)
(- 1 (cos (+ ?a ?a))) <=> (* (* (sin ?a) (sin ?a)) 2)
(+ 1 (cos (+ ?a ?a))) <=> (* (* (cos ?a) (cos ?a)) 2)
(* (sin ?b) (sin ?a)) <=> (/ (- (cos (- ?a ?b)) (cos (+ ?b ?a))) 2)
(* (cos ?b) (cos ?a)) <=> (/ (+ (cos (+ ?a ?b)) (cos (- ?b ?a))) 2)
(- (* (cos ?b) (cos ?a)) (* (sin ?b) (sin ?a))) <=> (cos (+ ?a ?b))
(+ (* (cos ?b) (sin ?a)) (* (sin ?b) (cos ?a))) <=> (sin (+ ?a ?b))

The most controversial change is the with the lifting rules. More product rules were added:
// definition of cos(a)*cos(b) and sin(a)*sin(b)
"(* (cos ?a) (cos ?b)) ==> (/ (+ (+ (cis (- ?a ?b)) (cis (~ (- ?a ?b)))) (+ (cis (+ ?a ?b)) (cis (~ (+ ?a ?b))))) 4)",
"(* (sin ?a) (sin ?b)) ==> (/ (- (+ (cis (- ?a ?b)) (cis (~ (- ?a ?b)))) (+ (cis (+ ?a ?b)) (cis (~ (+ ?a ?b))))) 4)",
// definition of cos(a)*sin(b) and sin(a)*cos(b)
"(* (cos ?a) (sin ?b)) ==> (/ (+ (- (cis (+ ?a ?b)) (cis (~ (+ ?a ?b)))) (- (cis (- ?b ?a)) (cis (~ (- ?b ?a))))) (* 4 I))",
"(* (sin ?a) (cos ?b)) ==> (/ (+ (- (cis (+ ?a ?b)) (cis (~ (+ ?a ?b)))) (- (cis (- ?a ?b)) (cis (~ (- ?a ?b))))) (* 4 I))",

Any lifting rule not matching the current "new" to "old" scheme was moved out of lifting and into the prior ruleset with no adverse effect. The old recipe produces the same rules, but they look a little less nice due to weird constant expressions like (cos 0) instead of 1.

I'm not entirely sure about my change to Cargo.toml. I'm not sure what optimization flags are used when running tests in VS Code through the rust-analyzer plugin.


Function to parse URLs

I'd like to be able to extract a domain name from a URL so I can tell people where they are going. I'm using a regex now, but obviously it's a bit naïve. It would be nice to have a function in Hugo to do this.
I figure it would probably make more sense to return a map with entries like scheme, host, port, path, query, etc., instead of restricting it to the domain. Basically, what Parse in net/url does.
It would also be very useful if it could include the effective TLD+1 in the return value, using the public suffix list. There is already a go package to make it easy.

To be clear: We can add net.Parse (=> urls.Parse), but we're not doing some TLD+1.


if seconds = 0 freeze the alert display

Good idea. Will implement. By freeze I'm assuming you mean it will remain up until clicked or escape or enter is pressed.

True ;)
I think it requires the user to see the message after confirmation close it (translation by google)

:+1:

👍

👍

I was looking for the same feature. If seconds === 0 alert doesn't go away.


withdraw error

↑Even if I press "4.6901KP3R" on the upper right to do withdraw, it remains 0.

↑Also, I can manually enter it in the field, but for some reason, even if I enter a number larger than my own (in the case of a photo, enter 5 instead of 4.69), metamask will start and you can apply.
By the way, I've tried withdraw by manually entering my own 4.69, but the metamask is pending. (This is a problem only for me, and there may be some people who succeeded in withdraw by manual input)

Is this fixed?

Probably not yet. It seems to be in progress now. The activity of my metamask remains pending for more than 24 hours. I also want to know how to deal with this.

The problem is complete and I was able to withdraw safely. Thank you.


API Improve type safety for Controller::join_links()

Allows methods that call Controller::join_links() to introduce strongly typed return types.
e.g. AdminRootController::admin_url() in https://github.com/silverstripe/silverstripe-admin/pull/1836
Issue

https://github.com/silverstripe/silverstripe-admin/issues/1761

CI failure is unrelated. Looks like the newer version of the action we use to install PHP doesn't support memcached 😅


Question about error output

I'm not really getting any useful error output during webpack compilation.
For example, if I try to add two values with different units in sass, the build fails but there's no stdout output to the terminal telling me why. I just get something like…
Paused on exception: 'Cannot find module "!!/Users/kjs3/all_the_paths_I_put_in_includePaths[]"'

… in Chrome's console when I try to load the page.
Am I missing some config to get sass errors?

There are actually tests for error reporting, so I don't expect this issue to be a problem of sass-loader. Could you provide a minimal example of your project where the error occurs?

This was my mistake. Errors were indeed getting through webpack but I wasn't passing them through my gulp watch task.


Refactor

Codecov Report

Merging #14 (934a0d8) into master (e42dd45) will decrease coverage by 0.95%.
The diff coverage is 90.62%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   84.93%   83.98%   -0.96%
==========================================
  Files           1        1
  Lines         664      687      +23
==========================================
+ Hits          564      577      +13
- Misses        100      110      +10

Impacted Files
Coverage Δ

source/argparse.d
83.98% <90.62%> (-0.96%)
:arrow_down:

Continue to review full report at Codecov.

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


Add Bower support

Add the metadata required to publish a Bower package for engine.io-client.

please search old issues before making new ones

Sorry, I had seen the other issues, but I did not realize that they meant you actively don't want to add Bower support.


Increase text on graphs to 14px

Increase minimum text size on graph axis labels and hover over to 14px as per GOV.UK accessible communication format guideline here https://www.gov.uk/government/publications/inclusive-communication/accessible-communication-formats

 Increase text on graphs to 14px


mrp2_robot: 0.2.3-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository mrp2_robot to 0.2.3-0:

upstream repository: https://github.com/milvusrobotics/mrp2_robot.git
release repository: https://github.com/milvusrobotics/mrp2_robot-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.20
previous version for package: 0.2.2-0

Sorry for repetitive PRs. Hope this will be OK. Next time I will test better before sending PR.
Thanks.


Is "Learn my voice"supported with the AVS SDK?

Just a question. Is the feature "voice profile" supported with the 1.9 SDK?
Thanks,

Hi @subjectxbj , this feature seems to be a cloud feature and is already supported when you use v1.9 SDK.

Hi @visayamv , are you sure that the voice profile training utterance "Learn my voice" is available for AVS devices? Also, do you know if voice purchase and personalize by voice profile is supported by the AVS devices?


Fix server not stopping when the user presses Enter

Refactors the way PortChangingServer operates and how things are setup to simplify and optimize the code around launching the server

Okay, I might have got a little distracted by this change but on the bright side this vastly simplifies the code around this "restarting server" of ours, achieves the desired behavior without an infinite loop waking up periodically and now I am much more familiar with Java's threading model as well as how this work in scalaz.concurrent._

@djspiewak Ready for another look

@djspiewak The previous implementation of PortChangingServer was using an async.BoundedQueue which meant that adding a "restart" to the queue through the Int => Task[Unit] function would complete immediately, independently from when the thread reading the queue at the other end would actually trigger the restart and the server actually be up and running. With the new implementation that ditches Process in favor of TaskRef, the Int => Task[Unit] function that the endpoint uses to restart the server only completes once the new server has been started. The one drawback to this is where before the server would probably fail to serve a response to the request asking to restart the server about 90% of times, now it deterministically fails to send a response back to the client (because the server will always have been killed already). But I added this to the doc for the endpoint and I think the implementation is much cleaner and easier to test. It would perhaps be possible to delay the closing of the "original" server to give the endpoint the opportunity to return a successful response, but I'm not sure how to accomplish that without using an unsafe[something] that's not at the very edge of the world and so I decide to leave it like this for now.


As a TA, I want my application state to be saved

...so that my progress is not lost and I can continue using the app.

AddressBook 3 already has an autosave feature.


reporting package for threebot for TFT

features

[ ] import full blockchain into BCDB tables (using sqlite indexing)

see what is the easiest way how to do this, implement a redis backend for the explorer maybe

[ ] actors to allow nice queries on the TFT blockchain
query examples on actor

nr tokens per wallet or specified wallet
...

info in BCDB record

[X] actor for transactions
[ ] wallet addr
[ ] nr tft
[ ] subobjects = transactions (date, from to who, amount, description, ...)
...

[ ] j.tools.rivine_explorer.iterator, iterate over all items and yield the BCDB records
[X] define models

Blockchain deamon

[ ] try to add a transaction through redis call from the golang deamon
[ ] try to add several transactions through redis call from the golang deamon
[ ] verify transactions have been added
[ ] setup a good timing between transactions feeding (meaning from deamon to 3bot through the redis call) to avoid problem with chain reorganisation

steps

[ ] define all actors
[ ] blockchain guys learn how to create package
[X] make sure all required code is in right JS repo's
[ ] let kristof review
[ ] use builder to have all blockchain components build : need more info
[ ] start the components in tmux (startupcmd) : need more info
[ ] use redis backend to explorer which populates the BCDB: need more info
[ ] some tests & reporting queries

@GlenDC I have already implemented and tested the transactions part take a look here so that you could call that actor to send transactions in bundle and try the flow
either you could call the actor through a REDIS call
cl = j.clients.redis.get(port=8901)
payload = {"from_addr": "0xmkjxlhxzledhzkjhdzekhdze", "to_addr": "54d65dez46ez4de564d6z4de3dz", "amount": 3}
encoded_payload = j.data.serializers.json.dumps(payload)
encoded_response = cl.execute_command("default.tft_explorer.data_dump_transaction", encoded_payload)
data_dec = j.data.serializers.jsxdata.loads(encoded_response)

or you can use the GEDIS endpoint inside nginx
that only expose 1 endpoint with post method
there's backend docs on root README.md and there's frontend specific docs on frontend dir/README.md
https://github.com/threefoldtech/jumpscaleX_core/tree/development/JumpscaleCore/servers/gedis_http
https://github.com/threefoldtech/jumpscaleX_threebot/blob/development/ThreeBotPackages/myjobs/README.md
https://github.com/threefoldtech/jumpscaleX_threebot/blob/development/ThreeBotPackages/alerta/README.md
https://github.com/threefoldtech/jumpscaleX_threebot/blob/development/ThreeBotPackages/pastebin/README.md
these are the frontend docs
https://github.com/threefoldtech/jumpscaleX_threebot/blob/development/ThreeBotPackages/pastebin/pastebin/README.md
https://github.com/threefoldtech/jumpscaleX_threebot/blob/development/ThreeBotPackages/myjobs/JobsVisualSvelte/README.md
https://github.com/threefoldtech/jumpscaleX_threebot/blob/development/ThreeBotPackages/alerta/alerta/README.md
for more info about that you can join
Ahmed Thabet @xmonader

The fastest method would be through the redis protocol according to kristof if you find it easier to go through http tell me then i will adapt the package.py

Blocked by https://github.com/threefoldtech/jumpscaleX_threebot/issues/85.

should be unblocked now

Still blocked by #85, even though you did help me get a bit further @rkhamis.

Blocked by some issue in JSX. Cannot reach gedis over https. People are on it.

@xmonader unblocked me. Turned out the documentation linked at https://github.com/threefoldtech/jumpscaleX_core/blob/development/JumpscaleCore/servers/gedis_http/README.md was wrong. Will create an issue for it.
I can now succesfully curl to the tft_explorer actor:
$ curl -k -XGET -H "Content-Type: application/json" https://<IP_ADDRESS>/web/gedis/http/tft_explorer/get
{"error": "Traceback (most recent call last):\n  File \"/sandbox/var/codegen/gedis/main_gedis_threebot/client/default_tft_explorer.py\", line 57, in get\n    res = self._redis.execute_command(cmd_name,data)\n  File \"/usr/local/lib/python3.6/dist-packages/redis/client.py\", line 839, in execute_command\n    return self.parse_response(conn, command_name, **options)\n  File \"/usr/local/lib/python3.6/dist-packages/redis/client.py\", line 853, in parse_response\n    response = connection.read_response()\n  File \"/usr/local/lib/python3.6/dist-packages/redis/connection.py\", line 718, in read_response\n    raise response\nredis.exceptions.ResponseError: {\"traceback\": [[\"/sandbox/lib/jumpscale/Jumpscale/servers/gedis/handlers.py\", \"_handle_request\", 409, \"result = cmd.method(*params_list, user_session=user_session, **params_dict)\", null], [\"/sandbox/code/github/threefoldtech/jumpscaleX_threebot/ThreeBotPackages/threefold/tft_explorer/actors/tft_explorer.py\", \"get\", 86, \"return self._get_trans(transaction_id)\", null], [\"/sandbox/code/github/threefoldtech/jumpscaleX_threebot/ThreeBotPackages/threefold/tft_explorer/actors/tft_explorer.py\", \"_get_trans\", 92, \"raise j.exceptions.NotFound(\\\"transaction %s not found\\\" % transaction_id)\", null]], \"message\": \"\\u001b[1;31mEXCEPTION: \\n    transaction<PHONE_NUMBER> not found\\u001b[0;0m\", \"linenr\": 92, \"filepath\": \"/sandbox/code/github/threefoldtech/jumpscaleX_threebot/ThreeBotPackages/threefold/tft_explorer/actors/tft_explorer.py\", \"processid\": \"unknown\", \"level\": 50, \"context\": \"_get_trans\", \"cat\": null, \"data\": null}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/sandbox/lib/jumpscale/threebot_packages/zerobot/webinterface/bottle/BottleInterfaceFactory.py\", line 100, in gedis_http\n    result = command(**data[\"args\"])\n  File \"/sandbox/var/codegen/gedis/main_gedis_threebot/client/default_tft_explorer.py\", line 59, in get\n    self.handle_error(e,1,cmd_name=cmd_name)\n  File \"/sandbox/var/codegen/gedis/main_gedis_threebot/client/default_tft_explorer.py\", line 264, in handle_error\n    raise j.exceptions.RemoteException(message=msg, data=logdict, exception=e)\nJumpscale.core.InstallTools.JSExceptions.__init__.<locals>.RemoteException1: None\n"}

Documentation is also updated in the meanwhile.

Progress:

Cleaned up and updated the 3Bot package code a bit, also added all the models already that I'll use (all except 1 not used yet, so their structure might still change), from now on progress on in the threebot package code can be followed at: https://github.com/threefoldtech/jumpscaleX_threebot/tree/development_tftexplorer
Was able to curl GET/POST HTTP calls using the only 2 available set/get methods;
Did the same thing as in curl, but using Go. This can be found as the following example: https://github.com/GlenDC/bcdb-go-example

Did it in go so I can get a feel how I'll need to interact with the TFT Explorer from Go;
Turns out I can simply write and use a small 86L Go client that does all I need (for now) to interact with it, this can be found at https://github.com/GlenDC/bcdb-go-example/blob/f9d976bd1602fe75108f8d761c6789ed88f4cda8/pkg/tftexplorer/client.go#L12-L79
Used the zos schemac tool (link: https://github.com/threefoldtech/zos/tree/master/tools/schemac) to bootstrap my types based on my schemac using the command pkg/generate.sh ~/sandbox/code/github/threefoldtech/jumpscaleX_threebot/ThreeBotPackages/threefold/tft_explorer/models tftexplorer. It's not perfect, but it helped me to quickly bootstrap. Will probably also use this to bootstrap me with all models for the real BCDB-based explorer that I'll add to Rivine.
It means that I also make use of the zos pkg/schema code found at https://github.com/threefoldtech/zos/tree/master/pkg/schema (will add a PR there to support getting a BigInt from a Numeric as that is what we'll need for our purposes, and I hope that JSX also uses something that supports big values in python (e.g. decimal.Decimal).

Now that my setup works, I know how to develop the actor, know how to use it and know how to interact it from Go code from my host machine, it is time to continue the real work of this task.
Estimated work to be done is about 3 full "dev" days, if all goes according to plan that is. Will as a first step already try to just make sure my chain context is updated based on real data, and take it from there. Goal is to have Friday something to show, and be able to have it finished as a first version to do a full show-and-tell on Monday or Tuesday, next week.

More progress has been made.
Rivine codebase can now use BCDB as a backend of the Explorer GraphQL instead of StormDB (the default). It is ready for complete syncing. For now as first step I only store the chain context. Tomorrow I'll start storing also the block data and all its child objects. Once that is all working, and the data is reachable from both 3Bot Actor API as well as the GraphQL API, I'll do the wallet support as well. Let's see how fast all this goes.
Quickly tested a new Rivine devnet chain and it seems my data syncs indeed:
$ bcdb-go-example
{
         "consensus_change_id": "89f53c1bd9df5168aea90859478033455d13abe52a51786c86464268d1feebf6",
         "height": 4,
         "timestamp":<PHONE_NUMBER>,
         "block_id": "ab46b2b91acab6fed8ef6c1c0e2cb1be58d9c92d43e71ca50b538ff20e486002"
}
$ bcdb-go-example
{
         "consensus_change_id": "4c8cec31376a21ca276832e06da0aedd59d49eb19dac55f6a90e105ade6f60b4",
         "height": 5,
         "timestamp":<PHONE_NUMBER>,
         "block_id": "3474b62e888c95cf4134772cc195f4570ff21126b0293ba1b7c0ba7df0a20606"
}

I do notice that there is something weird going on with timestamps. They do not seem to be correctly stored...
Is there something I should know about Date values in schemas @rkhamis? For now I am storing them as integers (UNIX Epoch Timestamp, seconds), is this ok? As it seems that my values are somehow fixed towards specific values, in this example<PHONE_NUMBER>, even though the real values are<PHONE_NUMBER> and<PHONE_NUMBER> respectively.

@GlenDC : the date type docs are here: https://github.com/threefoldtech/jumpscaleX_core/blob/development/docs/types/date_time.md
let me know if something is unclear


extraction.py (line 28): AttributeError: 'dict' object has no attribute 'iteritems' in python 3

File "extraction.py", line 28, in extract
    for key, value in kwargs.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

A similar issue is raised in http://stackoverflow.com/a/30418498/2952688
iteritems() being deprecated in python 3, items() has to be used instead.
Commit https://github.com/monkeylearn/monkeylearn-python/commit/f3eee368e13ee37048d52bde0d067efea057fef8 seems to be the culprit.

Fixed


The app will not open due to a constant crashing

The app maybe responding unreasonably to the recent beta and update of Minecraft. Block Launcher may be used on any Minecraft versions 1.15.04 and lower with the previous version of Block Launcher. I hope you will be able to fix this problem. I look forward to it.

Edit: My device is a Samsung Galaxy Note 5. Android Version: N920VVRS2BPF2


pull request for e2e test at 01/14/2017 01:26:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[Feature Request] Some sort of authentication

Hello,
I'm trying to use Maintainerr in one of my seedboxes and as soon as the port is exposed anyone can access the app.
It would be nice to have some login mechanism (maybe Plex login?).
The current workaround is to setup a reverse proxy, set basic auth or something like that.

up


Fix simple_cache build error(because of handle mismatch).

Simple cache build fails with error:
CacheItemHandle get(CacheKey key) { return gCache_->find(key); }
      |                                            ~~~~~~~~~~~~~^~~~~
      |                                                         |
      |                                                         facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait>::ReadHandle {aka facebook::cachelib::detail::ReadHandleImpl<facebook::cachelib::CacheItem<facebook::cachelib::LruCacheTrait> >}

Change the Itemhandle to use the correct member aka. ReadHandle.

Thanks for sending in the fix!

@therealgymmy Thanks for the review.
I think I have already signed the CLA, is there something else I need to do as well?


Fix documentation typo

Hello,

the code <Form action="https://server.meowform.xyz/page/YourEmail method="post" /> misses one thing. You forgot to add " after your email to close action="".

yup you are right on that let me fix it 😸


Comments in separate line

I think it would be nice if comments in the output could be on a separate line before the data. That gives more space for comments, and also allows for multi-line comments to be included.
Maybe there could be a parameter on doku::to_json() to choose between multiple predefined output formats.

Right, more customization options for the pretty-printer could certainly come handy; thanks for reporting!


[resolver] Select a non-main branch option

End-user friendly description of the problem this fixes or functionality that this introduces

[ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions
I usually do my development on a feature branch, but the current resolver only has the ability to develop on main

Link of any specific issues this addresses

@neubig passes tests :)

@neubig hey, could i get this lgtm'd

Ahh, sorry, when you're ready to have it re-reviewed it helps if you click the "cycle" icon on the top right of the screen, which will put it back on my reviewing queue. Just did that now and I'll take a look.


chore: develop branch synchronization

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


Clean up tool drivers

Delete unused imports/variables
No clobber=False on exe/vswitch, clobber=False on threads/script/refdir/version
post_process():

Delete if empty
Remove return 0
Remove error/warning processing (use regex)

Nice clean up!


Cannot find runtime 'node' on PATH.

VS Code cannot find runtime 'node' on PATH. I've tried some ways to handle it, but failed.
VSCode Version: Version 1.23.1
OS Version: Ubuntu 16.04
Environment variables checked seems no problem there.
I can execute from the terminal with node app.js
launch.json:
   {
        "type": "node",
        "request": "launch",
        "name": "Launch Program",
        "program": "${workspaceFolder}/job/app.js"
    }

I found a similar but closed issue at https://github.com/Microsoft/vscode/issues/32130
Workaround:
sudo apt remove code && sudo apt install code

So the workaround of reinstalling Code makes it work? If it's working after that, is there still a problem?

Hello @roblourens , after reinstalled it worked for 2-3 debugs and after i reopened it, it failed again. I follow the same steps every time i get errors.

How are you opening vscode? From the terminal, clicking on icon, etc?

Basically i am using code ..

And you said you can use node in the terminal? Can you use it in both the terminal that you are launching code from, and the integrated terminal in vscode?


[Bug] TouchEff. Native animation doesn't work with images

Copy of: https://github.com/AndreiMisiukevich/TouchEffect/issues/89
Description
I'm using icon font in my app and have several clickable images like this:
<Image touch:TouchEff.NativeAnimation="True" Source="{FontImageSource FontFamily={StaticResource MaterialFontFamily}, Glyph={Static fonts:MaterialIconsFont.CalendarPlus}, Color=Black}">
    <Image.GestureRecognizers>
        <TapGestureRecognizer Command="{Binding AddToCalendarCommand}" />
    </Image.GestureRecognizers>
</Image>

But NativeAnimation doesn't do anything for them (there is no animation on click).
Steps to Reproduce

Create Xamarin.Forms project
Add any image with font image as source to the page and add TouchEff.NativeAnimation="True" to it
Launch the app on Android phone and press on the image

Expected Behavior
Ripple animation appearing
Actual Behavior
Nothing changes
Basic Information

Version with issue:
Last known good version:
IDE:
Platform Target Frameworks:

iOS: Not tested
Android: 10
UWP:

Android Support Library Version:
Nuget Packages: TouchView v4.1.99
Affected Devices:

Workaround

Reproduction imagery

Reproduction Link

Hi, can you check the NuGet package published there https://github.com/xamarin/XamarinCommunityToolkit/pull/668?

Hi, can you check the NuGet package published there https://github.com/xamarin/XamarinCommunityToolkit/pull/668#issuecomment-742372209?

Feel free to reopen this ticket if that nuget doesn't work

@AndreiMisiukevich It does work, thank you! But there is one more issue: animation is contained within image control border. That's great for other controls, but not for image since content of the image takes up 100% of the image and animation doesn't look good:

And here is animation with radius of 1/2 of image size:

Expectation is that animation would extend around 5-10 units outside of the image. Is there a way to do this?
(Image control doesn't support padding)

Hi
I guess you should put the image inside content view or frame
On Wed, Dec 30, 2020 at 23:13 Maksym Koshovyi<EMAIL_ADDRESS>wrote:

@AndreiMisiukevich https://github.com/AndreiMisiukevich It does work,
thank you! But there is one more issue: animation is contained within image
control border. That's great for other controls, but not for image since
content of the image takes up 100% of the image and animation doesn't look
good:
[image: image]
https://user-images.githubusercontent.com/6609929/103378629-9f945300-4aeb-11eb-9645-2b652d04da46.png
And here is animation with radius of 1/2 of image size:
[image: image]
https://user-images.githubusercontent.com/6609929/103378746-0f0a4280-4aec-11eb-81c9-90f6da58287f.png
Expectation is that animation would extend around 5-10 units outside of
the image. Is there a way to do this?
(Image control doesn't support padding)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xamarin/XamarinCommunityToolkit/issues/706#issuecomment-752744327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNH4DUVDEI4XOOZLWBVOTDSXOCVNANCNFSM4VNUYM3A
.

--
Andrei Misiukevich
Lead Software Engineer at ISsoft Solutions
*mobile: *+375 29 <+375%2017%20389%200100>303 40 07   Email:
<EMAIL_ADDRESS>Skype: csi.andreymisyukevich
Minsk, *Belarus *(GMT+3)


Impossible to load snapshot

Steps
In an empty directory only containing the MeiliSearch binary (v0.14.0)

I launch MeiliSearch with a snapshot creation every 10 secondes

$ ./meilisearch --snapshot-path mySnapShots/ --snapshot-interval-sec 10

I create an index and I add documents. But the bug is also present even if I do not do any action with MeiliSearch.

After one snapshot was created, I stop MeiliSearch. Two folders are present: data.ms and mySnapShots/ (containing data.ms.tar.gz)

I try to launch MeiliSearch with the snapshot:

$ ./meilisearch --load-from-snapshot mySnapShots/data.ms.tar.gz
Error: database already exists at "./data.ms"

=> the error is expected according to the docs.

So I remove data.ms

I re-launch MeiliSearch with the same command:

$ ./meilisearch --load-from-snapshot mySnapShots/data.ms.tar.gz
Error: Cannot open database, expected MeiliSearch engine version: <0.12.0, current engine version: 0.14.0

=> a data.ms is now present in my folder.
=> the error is not expected.

If I try to use the --ignore-snapshot-if-db-exists flag:

./meilisearch --load-from-snapshot mySnapShots/data.ms.tar.gz --ignore-snapshot-if-db-exists
error: The argument '--ignore-snapshot-if-db-exists <ignore-snapshot-if-db-exists>' requires a value but none was supplied

USAGE:
    meilisearch --db-path <db-path> --env <env> --http-addr <http-addr> --http-payload-size-limit <http-payload-size-limit> --ignore-snapshot-if-db-exists <ignore-snapshot-if-db-exists> --load-from-snapshot <load-from-snapshot> --max-mdb-size <max-mdb-size> --max-udb-size <max-udb-size> --no-analytics <no-analytics> --sentry-dsn <sentry-dsn>

For more information try --help

=> This flag should not expect any value.
Version
MeiliSearch v0.14.0
Fix
It should be a hotfix with a v0.14.1 since the snapshots are not usable right now (If I used them correctly)

I confirm this bug as I did not work for me aswell.
➜  meili-binaries ./meilisearch --snapshot-path plouf --snapshot-interval-sec 10
# MeiliSearch Launches
➜  meili-binaries ls
data.ms       meilisearch   plouf
➜  meili-binaries ./meilisearch --load-from-snapshot plouf/data.ms.tar.gz
Error: database already exists at "./data.ms"
➜  meili-binaries rm -rf data.ms
➜  meili-binaries ./meilisearch --load-from-snapshot plouf/data.ms.tar.gz
Error: Cannot open database, expected MeiliSearch engine version: <0.12.0, current engine version: 0.14.0
➜  meili-binaries ./meilisearch --snapshot-path plouf/ --load-from-snapshot plouf/data.ms.tar.gz
Error: database already exists at "./data.ms"
➜  meili-binaries rm -rf data.ms
➜  meili-binaries ./meilisearch --snapshot-path plouf/ --load-from-snapshot plouf/data.ms.tar.gz
Error: Cannot open database, expected MeiliSearch engine version: <0.12.0, current engine version: 0.14.0

There is nothing much we can do right now. This is the expected behavior from clap apparently https://github.com/TeXitoi/structopt/issues/428#event-3739844591
There is a conflict with the fact that the flag is also fetched from the environment, and expecting a value (true/ false).
We have to rethink our option system, I suggest this be part of #907, as we'll have to re-define setting precedence anyway. In the meantime, you'll have to pass true to these options to enable them.
Note that this behavior is the same for all options flags, and must have been for some time now (the issue is > 1 year old).
On quick fix would be to remove the environment variables for these flags, but that would be a regression.

Ok, good to know, we need to change the docs then 🙂 @bidoubiwa

There is an issue that has been added to the 3.0 milestone of clap on 11 of july, maybe that will be fixed one day.

closed in favor of #907


Create a screen to list all keyboard shortcuts

Right now, there is no way to discover possible keyboard shortcuts that can be used.
It would be helpful to list all available shortcuts, even for codemirror.

[x] research possible library to display shortcuts
[x] create new tab component with all shortcuts to view and maybe search by name and actual shortcut
[x] create button in main navigation to access it
[ ] test all shortcuts on mac

There is one small caveat to using the keymaster library and it is the global all scope. This scope is used in evitaLab for all of the global shortcuts that should be available anywhere. However, when dialog window is opened, these global shortcuts should be IMO disabled. The issue is that the keymaster library doesn't allow to disable the global context nor it allows to set up multiple active scopes at once (where I could have specific scope for global evitaLab shortcuts).
This issue than allows to e.g. switch tabs while have dialog specific to one tab opened, effectively losing bindings for the dialog window until the original tab is selected again.
The solution could be either extend the keymaster to support multiple action scopes (probably not good idea, lots of software may rely on the switching feature of setting new scopes, including evitaLab), or allowing to enable/disable the global scope.

Only thing missing is to fix some shortcuts in core CodeMirror editor on macOS.


Remove AuthCredentials and related classes, use google-auth-library-java instead

This PR gets rid of our AuthCredentials classes and uses google-auth-library-java instead.

Coverage increased (+0.3%) to 84.152% when pulling e4e1baaff7ec43d326ae6a2b3a21b76e9263367e on mziccard:refactor-auth into e4fb76bcf61fc5a54a5d469b72296f89a115c4e8 on GoogleCloudPlatform:master.

Coverage increased (+0.3%) to 84.152% when pulling c3d396dc1fc6b4e781079de01a74b38bff2dc6ef on mziccard:refactor-auth into e4fb76bcf61fc5a54a5d469b72296f89a115c4e8 on GoogleCloudPlatform:master.

@lesv @garrettjonesgoogle care to have a look?

Coverage increased (+0.2%) to 84.143% when pulling 96c2b606fd1f8b1d395f9b10c173f698d1acca44 on mziccard:refactor-auth into e4fb76bcf61fc5a54a5d469b72296f89a115c4e8 on GoogleCloudPlatform:master.

LGTM

Coverage increased (+0.2%) to 84.145% when pulling e8f9f6e3fd7f4c31359f54584924ba7916958d45 on mziccard:refactor-auth into e4fb76bcf61fc5a54a5d469b72296f89a115c4e8 on GoogleCloudPlatform:master.


Hot to make a bottom sheet like behavior using side navigation?

Feature request, or proposal:
Would be ideal if we can make mat-sidenav have an input to allow to start from bottom rather than top.
What is the expected behavior?
I was hoping bottom sheet would be available, but for now wondering if we can replace it with mat-sidnav-container.
What is the current behavior?
No matter where I set bottom:0px; in mat-sidenav-container, I can never force the content to start from bottom. Is it  possible to make it happen?
What are the steps to reproduce?
I put together an example here.
https://plnkr.co/edit/eGnr8iQzXj7SmStuRr2H?p=preview
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/animations": "^4.1.3",
"@angular/cdk": "^2.0.0-beta.12",
"@angular/cli": "^1.2.0",
"@angular/common": "^4.1.3",
"@angular/compiler": "^4.1.3",
"@angular/compiler-cli": "^4.1.3",
"@angular/core": "^4.1.3",
"@angular/forms": "^4.1.3",
"@angular/http": "^4.1.3",
"@angular/material": "^2.0.0-beta.12",
"@angular/platform-browser": "^4.1.3",
"@angular/platform-browser-dynamic": "^4.1.3",
"@angular/platform-server": "^4.1.3",
"@angular/router": "^4.1.3",

Try:
Width: 100%
Margin-top 90%
Height: 10%

See #8113

@Kyderman, That's pretty close, but for some reason it's stuck in the center. At that point in order to make it bottom sheet like, it needs at least height of 50%; (tried inserting your css in mat-sidenav-container)


Rancher CLI fails to install catalog by name

**Rancher Version:**1.2.0
Rancher CLI version: v0.4.0
**Docker Version:**1.12.3
**OS and where are the hosts located? (cloud, bare metal, etc):**Ubuntu, Cloud
**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**Single node
**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**Cattle
Steps to Reproduce:

Setup rancher CLI v0.4.0
Issue the command to install a catalog by name.

Results
The command fails
soumyas-MacBook-Pro:rancher-v0.4.0 soumya$ ./rancher catalog install Wordpress
FATA[0001] Failed to find template Wordpress

Note: Catalog install by id succeeds
soumyas-MacBook-Pro:rancher-v0.4.0 soumya$ ./rancher catalog install community/wordpress:v0.1-educaas1
public port to access the wordpress site
Public Port public_port[80]:
1st53

We wouldn't be able to install by name, as there is no guarantee that name will be unique.
I'll make a PR to update the help for this command.


Are node-fetch and chrome-launcher needed?

Hello,
I'm trying to get my lambda to work but I'm still getting some pupeteer errors. I'm trying to mimick yours as much as possible so I was wondering if those two packages were actually needed? I don't see them used anywhere

got it working without it. Thanks

Hi @djpate.
Did you change anything in the Dockerfile or in the app.js file for this to work?
I tried to use the code as it is but I get this error:
START RequestId: e4f651d0-911a-45a4-b891-95754481339f Version: $LATEST
2021-03-14T14:47:46.893Z	e4f651d0-911a-45a4-b891-95754481339f	INFO	{}
2021-03-14T14:48:17.371Z	e4f651d0-911a-45a4-b891-95754481339f	INFO	TimeoutError: Timed out after 30000 ms while trying to connect to the browser! Only Chrome at revision r818858 is guaranteed to work.
    at Timeout.onTimeout (/function/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:204:20)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)
END RequestId: e4f651d0-911a-45a4-b891-95754481339f
REPORT RequestId: e4f651d0-911a-45a4-b891-95754481339f	Duration: 30480.97 ms	Billed Duration: 30481 ms	Memory Size: 1664 MB	Max Memory Used: 220 MB

Tim

Hey @TimotheeJeannin ,
I only used this repo as a reference, mostly for the flags used in app.js for pupeteer.
I'm using my own docker image using alpine instead of debian. It's available on djpate/alpine-node-lambda:chromium if interested.


Off canvas menu won't open/reveal left

I have set the mobile menu to Offcanvas through the Appearance > Customize menu and nothing happens. It attempts to reveal the topbar but with no menu. It doesn't slide right and open the offcanvas menu.
I ran into a similar issue with previous version of FP and was able to fix by toggling the Topbar and Offcanvas options but no luck this time.
I pulled down FP on 1/6/16 and am developing locally.

I'm also seeing the same issue. Pulled down on 1/19.

Hmm. Strange as it works as expected here. Do you get any errors in your console?


Update DefaultAdminService.php

link
I did some changes to the SilverStripe code to fix the use of "unique_identifier_field" variabile.
Now you can set any variable name, which will be used for login and will also be set as the required field in Member_Validator

Hey @alessandromarotta,
Can you please raise an issue so that the merits of this change can be discussed before we proceed?
Additionally, can you please group these changes into a single Pull Request? None of these PRs can be merged on their own, and it's very difficult to review the full set of changes when they're spread out this way. See our contributing guide for details on how to get a local installation of Silverstripe running so that you can test your changes before pushing up a PR.


Fix security issues

https://huntr.dev/bounties/d2a9ec4d-1b4b-470b-87da-ec069f5925ae/
https://huntr.dev/bounties/cdd995b2-c983-428b-a73a-827b61b7c06b/

Just realized that this can potentially break legitimate pages with html special chars in their URL. Maybe only use htmlspecialchars when it's outputted?


Question: Scrub sensitive variables in client side

I would like to scrub sensitive variables in client side.
sentry_sdk.init(
    dsn=settings.get('SENTRY_DSN', ""),
    before_breadcrumb=truncate_breadcrumb_message,
    with_locals=False,
    integrations=[FlaskIntegration()],
    before_send=sanitize_sentry_event,
)

def sanitize_sentry_event(event, hint):
    pass

def truncate_breadcrumb_message(crumb, hint):
    pass

def raise_execption(password):
    auth = 5
    raise Exception()

I am not sure how to scrub the local variables sent to Sentry in the methods sanitize_sentry_event and truncate_breadcrumb_message can you please help?

event is a JSON payload that contains the same exact JSON you see in the "JSON" download in Sentry's UI. So you have a event like this:
{
  "exception": {
    "values": [
      {
        "stacktrace": {
          "frames": [
            {"vars": ...}
          ]
    ]
  }
}

And you want to remove vars, you need to do this:
def sanitize_sentry_event(event, hint):
    for exception in event.get("exception", {}).get("values", {}):
        for frame in exception.get("stacktrace", {}).get("frames", []):
            frame.pop("vars", None)

    for exception in event.get("threads", {}).get("values", {}):
        for frame in exception.get("stacktrace", {}).get("frames", []):
            frame.pop("vars", None)

    return event

You probably want to wrap the entire function body with a try-except. If the function raises an exception the event is dropped. Make sure to test this using init(debug=True) to see all exceptions your before_send hook might throw

I see you posted the same question on stackoverflow. Please choose one, not both.


add reloadCoins to API

Fixes #304
@tiero please review

Should we reflect it on the MarinaProvider interface as well?

You can bump marina-provider to latest


[CSL-418] Fix Pos.Web.Server.convertHandler

@gromak
Currently it uses runTxpLDHolder which creates new TVars, but we want TVars to be shared.
P. S. It happens in csl386 branch.

@volhovm
I've solved this problem in a hacky way because no good solution was found. Probably the best thing we can do now is to merge Txp.Class with Txp.Handler (see comment above MonadTxpLD class declaration). I'll create a special issue for it.


SdFat version?

This looks like a really fantastic library and I would love to be able to use it.
I am building a project on an ESP8266 Wemos D1 board and therefore have to use the ESP8266 version of SdFat.
Can this library be made to work with SdFat instead of SD.h? I have tried but not succeeded getting anything to compile.

Hello, I'm using Arduino 1.8.15 and Esp8266 boards for Arduino package (2.5.0). I tried to compile SD card example for "Generic esp8266 board" and "LOLIN(WEMOS) D1 mini Pro" and in both cases it compiled successfully.
Are you using Platformio by any chance? If yes, then possibly the suggestion from this issue will be helpful.
I never used SdFat library on its own, it seems low level and I'm not sure how to integrate it. If you manage to read a file byte by byte (or in chunks), then you could just supply it to CSV_Parser object as shown in this example.

The following code works with SdFat:
Looking at CSV-Parser.cpp, line 4 :
#include <SD.h>
I have replaced this with:
#include <SdFat.h>
using namespace sdfat;
SdFat sd;
Then line 111:
File csv_file = SD.open(f_name);
if (!csv_file) {
...
becomes:
File csv_file;
if (!csv_file.open(f_name, FILE_READ)) {
...
This works with SdFat.
Yes SD.h does work with ESP8266, but not with all other libraries and I was unable to get it working with my particular configuration of modules where I finally managed to get SdFat working. My understanding is that SdFat is more recent, more powerful and better supported - but I may be completely wrong. Subject to the changes above it works fine and my CSV files are parsing beautifully. Job done.
Thank you so much for a fantastic library that has saved me a whole pile of work. And thank you also for responding to issue threads - I know it must be a huge burden but it really helps users getting started and want you to know how much it is appreciated.


After install Xam.Plugin.Geolocator" version="4.1.3" It generated a new application class

After install Xam.Plugin.Geolocator" version="4.1.3" It generated a new Application Class
What should I do with this class? I already got another Application Class
Bug Information
Version Number of Plugin:4.1.3
Device Tested On:not available
Simulator Tested On:not available
Version of VS: 15.4.1
Version of Xamarin:Monoandroid80
Versions of other things you are using:
Steps to reproduce the Behavior
Using android native
Expected Behavior
SHould not produce another application class
Actual Behavior
Generated a new application class
Code snippet
public class MainApplication : Application, Application.IActivityLifecycleCallbacks
    {
        public MainApplication(IntPtr handle, JniHandleOwnership transer)
          :base(handle, transer)
        {
        }

        public override void OnCreate()
        {
            base.OnCreate();
            RegisterActivityLifecycleCallbacks(this);
            //A great place to initialize Xamarin.Insights and Dependency Services!
        }

        public override void OnTerminate()
        {
            base.OnTerminate();
            UnregisterActivityLifecycleCallbacks(this);
        }

        public void OnActivityCreated(Activity activity, Bundle savedInstanceState)
        {
            CrossCurrentActivity.Current.Activity = activity;
        }

        public void OnActivityDestroyed(Activity activity)
        {
        }

        public void OnActivityPaused(Activity activity)
        {
        }

        public void OnActivityResumed(Activity activity)
        {
            CrossCurrentActivity.Current.Activity = activity;
        }

        public void OnActivitySaveInstanceState(Activity activity, Bundle outState)
        {
        }

        public void OnActivityStarted(Activity activity)
        {
            CrossCurrentActivity.Current.Activity = activity;
        }

        public void OnActivityStopped(Activity activity)
        {
        }
    }

Screenshotst

It will always create a new one, you can simply delete everything in the file if you don't want it re-created.

Or call your existing on MainApplication.cs and it wont add it again


RFC-2774: Lister API

IMO the change is already clear and makes a lot of sense. +1

Great. +1

Would you like to give me an approval so that we can move on?


[Admin] ability to remove Audit Certificate

Trello Story
Some users have uploaded the blank form, and the admins need to be deleted.
And the status will need to go back to incomplete so they can reupload it.
Also need to updated the cases status report so it says the certificate has not been uploaded.

 QAE: Admins can delete the auditors certificate in case the user has uploaded it in error.


EWMH atoms seem...weird

In the xcb crate, all the atoms are constants. But for xcb_util::ewmh, you have to call a function on a xcb_util::ewmh::Connection to access the atoms. Would it be possible to make the EWMH atoms constants, or is this impossible due to a bunch of technical reasons that I don't know about?

The EWMH atoms are loaded at runtime when the ewmh::Connection is created, they are not constant.


Missing tag and release for <IP_ADDRESS> and some other previous versions

Missing tag and release for <IP_ADDRESS> and some other previous versions
Its useful to have these tags on the repo for comparison.
Is the current master HEAD <IP_ADDRESS> ?

this can be closed.


Bump gson version and remove duplicating in each operation

We are currently copying the data each time.
Created an ApplyInPlace which modifies the input without copying the data. To maintain backward compatibility for anyone using Apply function directly from the operations, both apply and applyInPlace are exposed by AbsOperation
The patch now uses applyInPlace to calculate the final result so that we save on processing time.
Perf Analysis:
Tested with source and diff payload sizes of around 15KB applying the patch 10k times.
Existing solution (average over 5 runs): 6826.5 ms
New InPlace solution (average over 5 runs): 191.5 ms

Raised a pull request to original repo unintentionally.
Need to verify and update this diff with tests before the actual review.

Merged, thanks.

Thanks. Can you build a release with this as well?

Can't promise anything. Have a lot of other work to do.

I could help you with the release if needed. You can give addnl permissions temporarily.


How to get/configure SMA to use my Nvidia GPU

Using SMA, just downloaded and installed it a few days ago, so a recent version.
My system is Linux Mint 20.2
Graphic card: nVidia TU116 [GeForce GTX 1660 Ti]
I built the ffmpeg using the following.
./configure --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --enable-gpl --enable-gnutls --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-nvenc --enable-cuvid
I only use your manual.py script, calling it from inside my own script the loops the media files, doing some "other" things before and after your script. As it is now it does process my 1080p media down to 720p, with my preferred bitrate, but it seems really slow. I doesn't look like its using my Nvidia GPU at all. Suggestions to allow your script & ffmpeg to utilize my gpu? Is there something I'm missing from my ffmpeg build? Any guidance would be helpful.
I've attached several file for your reference.
sma-codec-list.txt
hwaccels-list.txt
decoder-list.txt
autoprocess.ini.txt
sma.log.txt

I updated to the latest release of SMA. Then made the following edits to my .ini file. SMA now is working will with h264 input files and using my nVidia GPU for down scaling video files. But its not working for h265 input files, see below.
[Converter]
ffmpeg = /usr/local/bin/ffmpeg
ffprobe = /usr/local/bin/ffprobe
threads = 0
hwaccels = cuda, cuvid
hwaccel-decoders = h264_cuda, h264_cuvid, hevc_cuda, hevc_nvenc, mjpeg_cuvid, mpeg1_cuvid, mpeg2_cuvid, mpeg4_cuvid, vc1_cuvid
hwdevices =
hwaccel-output-format = cuda:cuda
output-directory = /media/data1/work
output-directory-space-ratio = 0.0
output-format = mp4
output-extension = mp4
temp-extension = rokuize
minimum-size = 50
ignored-extensions = nfo, ds_store
copy-to =
move-to = /media/data1/tvprocess
delete-original = True
process-same-extensions = True
bypass-if-copying-all = False
force-convert = False
post-process = False
wait-post-process = False
detailed-progress = True
opts-separator = ,
preopts =
postopts =
regex-directory-replace = [^\w-_. ]
[Permissions]
chmod = 0664
uid = -1
gid = -1
[Metadata]
relocate-moov = True
full-path-guess = True
tag = True
tag-language = eng
download-artwork = False
sanitize-disposition =
strip-metadata = True
keep-titles = False
[Video]
codec = h264_nvenc, h264, x264
max-bitrate = 2800
bitrate-ratio =
crf = -1
crf-profiles =
preset =
codec-parameters =
dynamic-parameters = False
max-width = 1280
profile = main
max-level = 4.1
pix-fmt =
prioritize-source-pix-fmt = True
filter =
force-filter = true
[HDR]
codec =
pix-fmt =
space = bt2020nc
transfer = smpte2084
primaries = bt2020
preset =
codec-parameters =
filter =
force-filter = False
profile =
[Audio]
codec = aac,ac3
languages = eng
default-language = eng
include-original-language = True
first-stream-of-language = False
channel-bitrate = 128
variable-bitrate = 0
max-bitrate = 0
max-channels = 0
filter = volume=5dB
profile =
force-filter = False
sample-rates =
sample-format =
copy-original = False
aac-adtstoasc = False
ignored-dispositions =
force-default = False
unique-dispositions = False
stream-codec-combinations =
[Audio.Sorting]
sorting = language, channels.d, map, d.comment
default-sorting = channels.d, map, d.comment
codecs =
[Universal Audio]
codec = aac
channel-bitrate = 128
variable-bitrate = 0
first-stream-only = False
filter =
profile =
force-filter = False
[Audio.ChannelFilters]
[Subtitle]
codec = mov_text
codec-image-based =
languages = eng
default-language = eng
include-original-language = False
first-stream-of-language = False
encoding =
burn-subtitles = False
burn-dispositions =
embed-subs = True
embed-image-subs = False
embed-only-internal-subs = False
filename-dispositions = forced
ignore-embedded-subs = False
ignored-dispositions =
force-default = False
unique-dispositions = False
attachment-codec =
remove-bitstream-subs = False
[Subtitle.Sorting]
sorting = language, d.comment, d.default.d, d.forced.d
codecs =
burn-sorting = language, d.comment, d.default.d, d.forced.d
[Subtitle.CleanIt]
enabled = False
config-path =
tags =
[Subtitle.FFSubsync]
enabled = False
[Subtitle.Subliminal]
download-subs = False
download-forced-subs = False
include-hearing-impaired-subs = False
providers =
[Subtitle.Subliminal.Auth]
opensubtitles =
tvsubtitles =
===
the screen output.
Processing The Dukes of Hazzard Season 07 Episode 15 - Strange Visitor to Hazzard
Input Data
{
"format": "matroska,webm",
"format-fullname": "Matroska / WebM",
"video": {
"index": 0,
"codec": "hevc",
"bitrate": 6809455,
"pix_fmt": "yuv420p10le",
"profile": "main10",
"fps": 23.976023976023978,
"framedata": {
"pix_fmt": "yuv420p10le",
"color_space": "bt709",
"color_primaries": "bt709",
"color_transfer": "bt709",
"side_data_list": [
{
"side_data_type": "H.26[45] User Data Unregistered SEI message"
},
{
"side_data_type": "H.26[45] User Data Unregistered SEI message"
}
]
},
"dimensions": "1920x1080",
"level": 4.0,
"field_order": "unknown"
},
"audio": [
{
"index": 1,
"codec": "aac",
"bitrate": 160357,
"channels": 2,
"samplerate": 48000,
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions"
}
],
"subtitle": [],
"attachment": []
}
Reading video stream.
Video codec detected: hevc.
Pix Fmt: yuv420p10le.
Profile: main10.
Pix-fmt adjusted to yuv420p in order to maintain compatible bit-depth <=8.
Video codec parameters None.
Creating h264_nvenc video stream from source stream 0.
Reading audio streams.
The following stream indexes have been identified as being copies: [] [stream-codec-combinations].
Audio detected for stream 1 - aac eng 2 channel.
Creating copy audio stream from source stream 1.
Found 0 streams that can be removed from the output file since they will be duplicates [stream-codec-combinations].
Final sorting:
['0->0']
Final sorting:
['0->0']
Default audio stream set to eng copy 2 channel stream [audio-default-sorting: ['channels.d', 'map', 'd.comment']].
Reading subtitle streams.
Scanned for external subtitles and found 0 results in your approved languages.
Final sorting:
[]
cuda hwaccel is supported by this ffmpeg build and will be used [hwaccels].
Output Data
{
"source": [
"/media/data1/tvdl/The Dukes of Hazzard - S07E15 - Strange Visitor to Hazzard (1080p x265 EDGE2020).mkv"
],
"format": "mp4",
"video": {
"codec": "h264_nvenc",
"map": 0,
"bitrate": 2800,
"crf": -1,
"maxrate": null,
"bufsize": null,
"level": 4.1,
"profile": "main",
"preset": null,
"pix_fmt": "yuv420p",
"field_order": "unknown",
"width": 1280,
"filter": null,
"params": null,
"framedata": null,
"bsf": null,
"debug": "video.max-bitrate.max-width.profile",
"title": "HD"
},
"audio": [
{
"map": 1,
"codec": "copy",
"channels": 2,
"bitrate": 256,
"profile": null,
"quality": 0,
"filter": null,
"samplerate": null,
"sampleformat": "",
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"bsf": null,
"debug": "universal-audio",
"title": "Stereo"
}
],
"subtitle": [],
"attachment": []
}
Preopts
[
"-hwaccel",
"cuda",
"-hwaccel_output_format",
"cuda"
]
Postopts
[
"-threads",
"0",
"-metadata:g",
"encoding_tool=SMA"
]
Starting conversion.
FFmpeg command:
/usr/local/bin/ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i "/media/data1/tvdl/The Dukes of Hazzard - S07E15 - Strange Visitor to Hazzard (1080p x265 EDGE2020).mkv" -map_metadata -1 -vcodec h264_nvenc -map 0:0 -pix_fmt yuv420p -vb 2800k -metadata:s:v BPS=2800000 -metadata:s:v BPS-eng=2800000 -metadata:s:v title=HD -metadata:s:v handler_name=HD -profile:v main -level 4.1 -tag:v avc1 -vf scale_npp=w=1280:h=720 -c:a:0 copy -map 0:1 -metadata:s:a:0 title=Stereo -metadata:s:a:0 handler_name=Stereo -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -y "/media/data1/work/The Dukes of Hazzard - S07E15 - Strange Visitor to Hazzard (1080p x265 EDGE2020).rokuize"
[                    ] 0% Error converting file, FFMPEG error.
Traceback (most recent call last):
File "/home/xbmc/rokuize/resources/mediaprocessor.py", line 2316, in convert
for timecode, debug in conv:
File "/home/xbmc/rokuize/converter/init.py", line 329, in convert
for timecode, debug in self.ffmpeg.convert(outfile,
File "/home/xbmc/rokuize/converter/ffmpeg.py", line 798, in convert
raise FFMpegConvertError('Exited with code %d' % p.returncode, cmd,
converter.ffmpeg.FFMpegConvertError:
/usr/local/bin/ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i /media/data1/tvdl/The Dukes of Hazzard - S07E15 - Strange Visitor to Hazzard (1080p x265 EDGE2020).mkv -map_metadata -1 -vcodec h264_nvenc -map 0:0 -pix_fmt yuv420p -vb 2800k -metadata:s:v BPS=2800000 -metadata:s:v BPS-eng=2800000 -metadata:s:v title=HD -metadata:s:v handler_name=HD -profile:v main -level 4.1 -tag:v avc1 -vf scale_npp=w=1280:h=720 -c:a:0 copy -map 0:1 -metadata:s:a:0 title=Stereo -metadata:s:a:0 handler_name=Stereo -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -y /media/data1/work/The Dukes of Hazzard - S07E15 - Strange Visitor to Hazzard (1080p x265 EDGE2020).rokuize
ffmpeg version N-113564-g3372876888 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
configuration: --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --enable-gpl --enable-gnutls --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-iconv --enable-version3 --enable-ffnvcodec --enable-nvdec --enable-gnutls --enable-fontconfig --enable-gmp --enable-zlib --enable-cuda --enable-cuvid --enable-nvenc
libavutil      58. 36.101 / 58. 36.101
libavcodec     60. 39.100 / 60. 39.100
libavformat    60. 20.100 / 60. 20.100
libavdevice    60.  4.100 / 60.  4.100
libavfilter     9. 17.100 /  9. 17.100
libswscale      7.  6.100 /  7.  6.100
libswresample   4. 13.100 /  4. 13.100
libpostproc    57.  4.100 / 57.  4.100
Input #0, matroska,webm, from '/media/data1/tvdl/The Dukes of Hazzard - S07E15 - Strange Visitor to Hazzard (1080p x265 EDGE2020).mkv':
Metadata:
encoder         : libebml v1.4.2 + libmatroska v1.6.4
creation_time   : 2022-02-05T02:57:31.000000Z
Duration: 00:48:24.97, start: 0.000000, bitrate: 6972 kb/s
Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
BPS             : 6809455
DURATION        : 00:48:24.944000000
NUMBER_OF_FRAMES: 69649
NUMBER_OF_BYTES :<PHONE_NUMBER>
_STATISTICS_WRITING_APP: mkvmerge v64.0.0 ('Willows') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-02-05 02:57:31
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
Metadata:
BPS             : 160357
DURATION        : 00:48:24.917000000
NUMBER_OF_FRAMES: 136168
NUMBER_OF_BYTES : 58228244
_STATISTICS_WRITING_APP: mkvmerge v64.0.0 ('Willows') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-02-05 02:57:31
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_nvenc))
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
Impossible to convert between the formats supported by the filter 'Parsed_scale_npp_0' and the filter 'auto_scale_0'
[vf#0:0 @ 0x557ae3f47000] Error reinitializing filters!
[vf#0:0 @ 0x557ae3f47000] Task finished with error code: -38 (Function not implemented)
[vf#0:0 @ 0x557ae3f47000] Terminating thread with return code -38 (Function not implemented)
[vost#0:0/h264_nvenc @ 0x557ae3f483c0] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 0x557ae3f483c0] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 0x557ae3f483c0] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0x557ae3f5fcc0] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=       0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!
Suggestions?
sma.log

Does it work without the scaler? Looks like it might be that filter that's throwing an error. Try adjusting your settings so you're not resizing the video

Thanks for following up. It will be a day or two before I can test your suggestion.

This is the command that works to convert hevc/h265 to h264 and scale to 720p using my nVidia card. I've attached my autoprocess.ini file for your review.
autoprocess.ini.txt
/usr/local/bin/ffmpeg -benchmark -hwaccel cuda -hwaccel_output_format cuda -i "/tvdl/video-file.1080p.HEVC.x265.mkv" -vf scale_cuda=-2:720 -c:v hevc_nvenc "/work/video-file.720p.x264.mp4"

Looks like SMA is defaulting to using scale_npp and you're using scale_cuda
If you set your encoder to h265_nvenc_cuda it should switch this
I didn't previously have one for h264 but I just added h264_nvenc_cuda as well
efc0f4103de293ce05afef25fc4837fa380a1565


after clicking on close in modal the all dropdown resets its values

i have selected country india and state as gujrat and then i again go to country dropdown and then in modal i click on close then country and state then it resets its value to initial stage .... it should store the previous values

after clicking on close link in country modal

Field Reset issues resolved now, kindly use v0.2.1


[Statie] add spell check for pages and posts

mekras/php-speller
hunspell-php/hunspell-php

To huge


[bug] Bugcrowd API Importer deduplication algorithm issue

I noticed I made a mistake in my PR to add the bugcrowd api importer... the full name should be Bugcrowd API Import as in dojo/tools/bugcrowd_api/parser.py
https://github.com/DefectDojo/django-DefectDojo/blob/1ae21acb8462fd4ba8c15afff6a48dfeccfd5b98/dojo/settings/settings.dist.py#L1252
https://github.com/DefectDojo/django-DefectDojo/blob/1ae21acb8462fd4ba8c15afff6a48dfeccfd5b98/dojo/settings/settings.dist.py#L1252

What tipped me off was:
uwsgi_1         | [14/Nov/2022 17:09:06] DEBUG [dojo.importers.reimporter.utils:47] Legacy reimport. In case of issue, you're advised to create a deduplication configuration in order not to go through this section
We should maybe have a test suite to flag these ? my PR went through without a problem and I didn't realize it was the wrong name @damiencarol


tpl: Treat booleans as set in default function

Booleans and default don't really make sense together, so we'll always treat
booleans as "set" and return the given value.

Makes sense. Merged in b0326a1


Add operations to get/set the speaker balance

This is a PR for the functionality discussed in https://github.com/SoCo/SoCo/issues/692. Credit to https://github.com/tephlon for the idea and the majority of the implementation.

Coverage increased (+0.2%) to 56.996% when pulling 912822b3ed02d9db5ee5d20e533fada6638e12b5 on pwt:add_balance_operations into 0ed276c7e1508b0961802470b0fe5a02f178640b on SoCo:master.

This looks great. As I understand from the issue that you also had the option to test this, I think it is good to go. Thanks for the contribution. Can you persuade you to add a comment to the release notes thread #674 and in there also credit @tephlon for the original draft.

Can you persuade you to add a comment to the release notes thread #674 and in there also credit @tephlon for the original draft.

Done. Thanks for the merge.


Create a Verifiable Credential Fields display component

We need a new Vue component to display the fields in a Verifiable Credential.
This will be used in the upcoming VC display screen in the Account Explorer and to replace the current VC display in the Credential Management Platform.
Requirements

The component should be passed a data array fields in key:value form

These fields generally will come from the decrypted credential, but the component MUST NOT be responsible for verification or decryption. This is because in most uses we'll want to use other parts of the credential (eg, who issued it etc) outside this component

The component may optionally be passed a schema

The component  MUST NOT be responsible for retrieval of the schema

Field naming should follow this algorithm:

If a schema has been passed AND if it contains schema.properties then:

if the schema has a layout.view section, only use the fields from there. Otherwise use all fields.
Look up each field name in schema.properties. If it exists use the title field for the label

Otherwise break field labels on CaseBreak (ie, CaseBreak becomes Case Break)
Otherwise break field labels on CaseBreak (ie, CaseBreak becomes Case Break)

Styling

The component must be flexible enough to allow for the ability to style fonts (size, name etc), width of component, colours.
If other things are needed to match the display in the Credential Management Platform they should be implemented
This component itself needs to be able to implement this display:

This is part of https://www.figma.com/file/KUUXMIaE7OyRwEdW173wr5/Account-Explorer-App?node-id=290%3A8072
References
Current display in Credential Management Platform. Note that this display does NOT implement the algorithm above

Current display in Vault. Note that this correctly implements the CamelCase Case Break. This schema does NOT have schema.properties:

This issue has been fixed in this PR https://github.com/verida/verida-vue-components/pull/44


Get errors when visualizing a class when the class is split up over partial classes

I have an auto-generated ViewController from a storyboard.  The ViewController has a code-behind ".designer.cs" file, which is a partial class for the ViewController.  I have my outlets defined there, and when those are referenced from the main part of the class (not the designer file), it gives an error like this when trying to visualize the class:
error: The name `blahTableView' does not exist in the current context
In addition, when you get this error in a popup, not only will the live-coding not work for that class due to the error, but the Tools menu in Xamarin Studio still says "Stop visualizing BlahView", so it didn't recognize the error case.

Yes, partial classes don't work right now :-(


Setting new logical type with set_types drops user set semantic tags

Setting a new logical type with set_types can cause previously set semantic tags to be lost. This behavior seems a bit counter-intuitive when users do not specify new tags. If users do not specify new values for semantic tags during the call to set_types any previously set semantic tags should be retained.
Current Behavior
Custom tag on vals column is lost
import pandas as pd
import woodwork as ww

df = pd.DataFrame({'id': [0, 1, 2], 'vals': [True, False, True]})
df.ww.init(semantic_tags={'vals': 'custom_tag'})

df.ww

       Physical Type Logical Type Semantic Tag(s)
Column
id             int64      Integer     ['numeric']
vals            bool      Boolean  ['custom_tag']

df.ww.set_types({'vals': 'boolean_nullable'})
df.ww

       Physical Type     Logical Type Semantic Tag(s)
Column
id             int64          Integer     ['numeric']
vals         boolean  BooleanNullable              []

Expected Behavior
Custom tag on vals column is retained
import pandas as pd
import woodwork as ww

df = pd.DataFrame({'id': [0, 1, 2], 'vals': [True, False, True]})
df.ww.init(semantic_tags={'vals': 'custom_tag'})

df.ww

       Physical Type Logical Type Semantic Tag(s)
Column
id             int64      Integer     ['numeric']
vals            bool      Boolean  ['custom_tag']

df.ww.set_types({'vals': 'boolean_nullable'})
df.ww

       Physical Type     Logical Type Semantic Tag(s)
Column
id             int64          Integer     ['numeric']
vals         boolean  BooleanNullable  ['custom_tag']

Changing the Logical Type could mean that the old semantic tag no longer applies

Additionally, you could have a parameter that specifies whether or not to drop tags (when calling set_types).

Potential already existing bug in featuretools' usage of set_types in add_relationship: https://github.com/alteryx/featuretools/blob/main/featuretools/entityset/entityset.py#L365

@gsheni @thehomebrewnerd @tamargrey Is there a reliable programmatic way that we track which tags belong to which types?
I'm seeing this utility function here:
https://github.com/alteryx/woodwork/blob/96d31b8a00ff405377441c78ee702cebfa937a81/woodwork/type_sys/utils.py#L102.
However, that looks like it includes some ad hoc stuff such as the way it specifies tags that are compatible with all types.
Relatedly, do we allow users to set their own custom tags?  If so, we may not have a way of determining whether a tag is compatible with a type.

Is there a reliable programmatic way that we track which tags belong to which types?

Sort of. Standard tags which belong to logical types are defined on the LogicalType.standard_tags attribute. That is the most reliable way to determine the tags that belong to specific logical types.
However, the whole picture is a little more complicated. I think there are a few types of tags that are treated differently:

Standard tags, which are defined on the LogicalType class: these are tags that we as Woodwork devs have determined should be applied to certain logical types, primarily numeric and categorical columns. These tags are really meant to indicate that any columns with these tags applied can be used in numeric operations (like adding two columns together) or contain categorical values.
index and time_index tags: These are special tags that can be applied to certain columns only. They aren't necessarily tied to a specific LogicalType, but the data contained in those columns must meet certain criteria - for example, index columns must be unique. Users cannot add these tags directly, they only get set through operations like set_index.
Custom tags: Anything else. If users want to create their own tag, they are free to do so, but they must make sure they are applying and using it properly. We have no mechanism in place to determine whether or not a custom tag is compatible with a given logical type - the creator/user of the custom tag must take on that burden.

For the most part, I think that outside of the "standard tags" which are defined on the LogicalType class, there is not a notion of compatibility between semantic tags and logical types. Having said that, we have defined a few other tags (like "date_of_birth") that have special meaning, primarily in the Featuretools usage of Woodwork. That is why you are seeing that "ad hoc" code in the list_semantic_tags function - because we are suggesting to users that the "date_of_birth" tag should only be used on datetime columns, but there is no checking or enforcement of that inside of Woodwork.
I'm not sure that helps or confuses things further. Happy to chat more about all this if needed.

@davesque It might be worth noting that the restrictions around the index and time_index tags only exist on Woodwork DataFrames. A Woodwork Series will not restrict the use of those tags, because the concept of a woodwork index isn't applicable to a series.
So the following is perfectly acceptable:
es = make_ecommerce_entityset()

col = es['log'].ww['latlong']
col.ww.add_semantic_tags('time_index')


chore: reduce imports in Mathlib.RingTheory.Polynomial.Basic

Found by linter.minImports (#14840).

Nice!
bors d+

bors r+


Rename canvas to notebook

I renamed canvas.py to notebook.py. For the notebooks we sometimes need to run supplementary code for visualization which does not need to be shown. From now on we can simply add code to notebook.py and import it to the notebooks.
We can, alternatively, have a separate file in addition to canvas.py, but I believe this is better since it keeps it as simple as possible.

This rename makes sense.


[VL] Allow specifying maximum batch size for batch resizing

This is a rework of https://github.com/apache/incubator-gluten/pull/6009.

Rename operator VeloxAppendBatchesExec to VeloxResizeBatchesExec, and have it supporting batch-splitting as well as batch-appending.
Remove old config options spark.gluten.sql.columnar.backend.velox.coalesceBatchesBeforeShuffle and spark.gluten.sql.columnar.backend.velox.minBatchSizeForShuffle
Add new config options:

spark.gluten.sql.columnar.backend.velox.resizeBatches.shuffleInput=true
Enable batch resizing for shuffle input
spark.gluten.sql.columnar.backend.velox.resizeBatches.shuffleInput.range=500~1000
Specify batch resizing target size range: [500, 1000]

Default range of shuffle batch resizing: [0.25 * 4096, 4 * 4096] (changed from [0.8 * 4096.])

would you consider implement such logic into a Velox operator like ValueStream? then it can be reused in these place: before shuffle write, before agg, after scan. cc @zhli1142015 .
And lots java/scala changes can be removed.

would you consider implement such logic into a Velox operator like ValueStream?

It will be the next step of the topic. See a related comment from another PR.
The major pros of doing it in Velox is to avoid breaking one Velox task into several.

And lots java/scala changes can be removed.

Regarding the code, it's expected most of C++ code can be removed then. However it might still needed to have a JVM side plan node to map to Velox's corresponding plan node.

yeah, indeed, I have done a POC for above ideas, just one rule/transformer/velox operator added.

would you consider implement such logic into a Velox operator like ValueStream?

It will be the next step of the topic. See a related comment from another PR.
The major pros of doing it in Velox is to avoid breaking one Velox task into several.

And lots java/scala changes can be removed.

Regarding the code, it's expected most of C++ code can be removed then. However it might still needed to have a JVM side plan node to map to Velox's corresponding plan node.

yeah, indeed, I have done a POC for above ideas, just one rule/transformer/velox operator added.

That sounds great. Do you tend to contribute to upstream Velox? If so please feel free to open a PR to refresh the feature in Gluten once Velox change has landed.

would you consider implement such logic into a Velox operator like ValueStream?

It will be the next step of the topic. See a related comment from another PR.
The major pros of doing it in Velox is to avoid breaking one Velox task into several.

And lots java/scala changes can be removed.

Regarding the code, it's expected most of C++ code can be removed then. However it might still needed to have a JVM side plan node to map to Velox's corresponding plan node.

yeah, indeed, I have done a POC for above ideas, just one rule/transformer/velox operator added.

That sounds great. Do you tend to contribute to upstream Velox? If so please feel free to open a PR to refresh the feature in Gluten once Velox change has landed.

yes, I'm preparing the codes.

Sorry, just noted this PR.
The config of spark.gluten.sql.columnar.backend.velox.resizeBatches.shuffleInput.range=500~1000 is too complex. The maximal batch size should honor the configued batch size always. Slice has little overhead. we just need to define the threshold to merge batches.

yes, I'm preparing the codes.

We can merge small batches into large one. But the slice shouldn't happen, instead we should fix the operator which doesn't honor the maximal batch size define. @jinchengchenghh will fix the generator operator. The other operator I know is the hashjoin.


Sarif output does not reflect the enrichment (Terraform plan with --repo-root-for-plan-enrichment)

When scanning a Terraform plan (with --repo-root-for-plan-enrichment enabled) the SARIF results point to the plan file instead to the respective .tf file.
I'm not sure but think that it has to do with
checkov/common/output/sarif.py using the "repo_file_path" to build the "artifactLocation" and
checkov/common/output/report.py only replacing the "file_path" record property (with "scanned file") but not "repo_file_path" (and "file_abs_path") as well.
Is there a workaround/advice on how to deal with this to have a sarif file that can be used with github annotations?
Or is a bug and will be fixed?

sorry, wrong repository ;-)


Detaching an unlinked block and linking a cloned block to the detached block in the treeify pass

Discovered in #192
In test_get_inputs test in the treeify pass:

repeated block5 removal in #wee_alloc::neighbors::Neighbors<T>::remove;
failing new block insertion after previously detached block23 in #wee_alloc::alloc_first_fit;

Fixed in #198


Missing property in V5GetPositionInfoItem

Hello, looking at v5_position_service.go -> V5GetPositionInfoItem there seems to be missing properties : positionBalance and adlRankIndicator
Info: https://bybit-exchange.github.io/docs/v5/position#response-parameters
EDIT: there are actually two

@id-petrov
Thank you very much for your support.
Just merged.
https://github.com/hirokisan/bybit/pull/155


Responsive-Card

Zero To Mastery - Webblocks 2022 📦📦
👉 Please remove the below and replace with your own values, leaving the headers where they are. 👈
PR contains:

It contains a  component with 4 cards fully responsive (Please be as descriptive as possible) 🤜

Breaking changes

NONE

Screenshots

Do you have the rights to the images or are these under public domain?
Images are under copyright, so we cannot merge your PR until you provide proof that you are legally allowed to use the images.

Ok i will change the images


Fix gen CM error return

Was returning nil instead of the actual error in such a situation

/lgtm


It seems manul afl new path not increase on windows, but winafl can detected more path for same exe

I use latest manul on windows 10 1903, I found afl not increase new path for additional client libs, it only can detect 3 new path, but tested on winafl for same windows exe, it can detect 36 new path shortly, I tested not worked on  DynamoRIO-Windows-7.91.18299-0 and DynamoRIO-Windows-7.91.18157-0,

can you provide an executable to test please?

I find the issue root cause, it is caused by manul_utils.py save_content fd.flush() not actually write file content to disk, so the test case file content not updated, so manul cannot find new path.
I add os.fsync(fd) after fd.flush() desnot work either. I still haven't solved it now
I used python is python-3.7.6,
I see fd.flush have following comment:
Note flush() does not necessarily write the file’s data to disk. Use flush() followed by os.fsync() to ensure this behavior.
https://docs.python.org/2/library/stdtypes.html#file.flush

Well, the doc relevant to python2 while you are running Python3, not sure if it helps at all. A simple test source code or binary would help.

Sorry I paste python2 doc, The Python3 doc also have same request for fd.flush,
https://docs.python.org/3/library/os.html #search os.fsync

I see, then it is definitely needed :)

The manul still doesnot increase new path on windows 1903 after I fixed test case generate, I try test_gdiplus.exe in dbi_persistence_mode in manul, manul only detect 4 new path after long run, but winafl detect 11 new path shortly
My test environ:
Python 3.8.2 x86, DynamoRIO-Windows-7.91.18299-0
The test_gdiplus comes with winafl, I attched
test_gdiplus.zip

The test bmp file attached
not_kitty.zip

the client lib is gdiplus.dll,gdi32full.dll,GDI32.dll

Correction: The windows 10 I tested is version 1909

Thank you @chbest0102, It helps a lot. I will take a look what's going on today.

I was able to reproduce that. Seems like manul doesn't receive everything from shared libraries.

Fixed, Manul can explore paths at the same speed as winAFL.

I tested this issue has been fixed, thanks


Accurate PWM

The existing PWM implementation is fixed to 1kHz and uses the Fast PWM mode which isn't phase- nor frequency-correct.  This is rather useless for applications like controlling a Servo where an exact frequency and duty-cycle are needed.
So, in addition to the Fast PWM implementation a seconds "correct" PWM implementation should be added which allows specifying the frequency + duty cycle exactly.  Ideally, this should be based on the rate and duration primitives from embedded-time.
Open Questions:

How to select the prescaling?  We could devise an algorithm to use the smallest clock-divider which still fits the frequency.  This would, however make it entirely unobvious what precision the duty-cycle will have.  Would good documentation help here?  Or should the prescaler be selected manually instead?
Should the Duty type be a percentage or a duration?
Not all pins will be available with this "correct" PWM mode, because some of the timer peripherals aren't flexible enough for this (e.g. OCR0A is either used for PWM on OC0A, or as the timer period).  How do we properly model this?

Looks like prescaler is better option. It's better to be explicite
Duration? Percentage seems not very precise. Percentage can help in some use cases?
Are we able to define this on avr-device?

Looks like prescaler is better option. It's better to be explicite

Not sure what you mean?  We'll use the prescaler either way, the question is how it is initialized.  Either we have an algorithm which takes a frequency and selects a fitting prescaler, or we leave it up to the user to decide manually.
Actually, while thinking about it: Why not both?  We could provide two separate constructors for 'automatic' and 'manual' configuration ...

Duration? Percentage seems not very precise.

In terms of precision, the two solutions don't differ too much.  It's always a bit up to luck whether the integer values cleanly divide the timer steps.  But we could, again, build a solution where all possibilities are accounted for and provide multiple methods for setting the duty-cycle based on exact timer counts, based on duration, or based on percentage.

Aret there any usecases where percentage is common?

Yes, definitely.  PWM is a cheap way to create power output that scales linearly and for those usecases you mostly care about a percentage of the maximum power (= 100% duty cycle).

Are we able to define this in avr-device?

No, this belongs into the HAL only.

IMHO, hardware abstraction is creative process, it is a search of something new, something that didn't exist. I would like to stick with reality and make a handy interface, at least in the beginning.
Lets look at Pins from atmega328p. avr-device generates pretty neat interface for chip's internals. Arduino Uno, on the other hand, provides different pinout. In order to use Arduino Uno you have to translate it's own pins to MCU's pins. Interfacing Pins struct from this perspective is much more handier if you are working with Arduino Uno.
Suppose you want to generate some form of signal on specific pin of Arduino board. Intuitive way is to access needed pin to setup wave parameters, but right way is to find out what timer is needed first.
First proposal: add timer access via pin.
Why you need to access timer? Lets take at SG 90 datasheet. Wave period 20 ms with 1-2 ms duty cycle mapped for -90..90 rotation angle. Internal generator frequency 16 MHz, with prescaler 1024 maximum period we can get with 8 bit timer is ~16.3 ms (~81% of required time). Let's imagine that we are fine with this period, next thing we need is to map -90..90 angle range to 1-2 ms duty cycle range. 1 ms is about 16 cycles. 180 degrees / 16 = 11.5 degrees per step is how accurate value we can set. It is a huge difference in angle. Such steps are pretty fine for LEDs if you want smooth turn on\off, because you can not say for sure how much if differs. On the other hand, difference in 11 degrees everyone can see for sure. Situation is even worse if you need to map duty cycle for even shorter range or you want to handle sensitive PID controller.
Best thing you can do at this point is to use 16 bit register. avr-device does great job for interfacing all required registers to configure timers, but still fields like WGM, that are logically tighten, located in separate physical registers.
Second proposal: add data access layout to simplify field access of related RegisterBlock.
Timers have more use cases besides PWM and handy interface needed for sure. I have doubts that covering every possible use case with its own abstraction is good idea.
Unified 8 bit duty access can be achieved with default mapper that work similar to Arduino's map function by converting value from input range to value from output range. BTW, this is what I feel like best answer on duty type question.
Third proposal: add range mapper for PWM pins that will convert user defined type into timer's duty type. Default implementation should unify timer usage.


101 blog post: what is a blockchain?

:shipit: https://medium.com/ethereum-grid/ethereum-101-whats-a-blockchain-5a1e925963d7


Strings stored in *.exe as "cleartext" (not encoded) -any Nuitka or compiler options...?

Hello,
python -m nuitka --version
0.6.6rc5
Python: 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC v.1900 64 bit (AMD64)]
Executable: C:\Python35\python.exe
OS: Windows
Arch: x86_64

I've been using Nuitka, and it's working great, but I have a question regarding how strings are encoded in the created *.exe:

literal strings
functions names, parameters, etc.

I can easily pull up a text editor, and search for (1) and (2), and easily see them embedded in the executable -which I don't know of anyone using Nuitka would probably want (I certainly do not).
Is there a way to pass a compiler flag to have (1) and (2) encoded differently?
I'm using the MinGW64 compiler.
Here is a compiler I might be interested in trying (movfuscator -"The single instruction C compiler"):
https://github.com/Battelle/movfuscator
I tried searching for some documentation to either "switch out" to a different compiler, or to pass flags (when I run python -m nuitka --standalone ...) to the compiler or Nuitka, but I didn't see anything that helped me, or at least that I could understand -sorry about that.
Also, the interesting thing is I seem to find the strings in the *.exe, but not in the *.o files...?

Any hints or ideas would be most welcome!  :smiley:
Thanks,
George Hynes
10/21/2019 1:32pm ET

+1 for the question regarding literal strings
I am currently learning Nuitka (I have discovered the project 2 weeks ago and I really like it) and I am working on a work-around to obfuscate some code that is not currently compatible with Nuitka (I have a project with the UI based on PySide2).
My current attempt is to use AES encryption on PySide2 dependent modules and Noitka on other modules, including the main script where I need to hide an encryption key.
I read somewhere that with Nuitka executables, like Cython, function names are easy to read, but I am wondering if there is way to make string variables less readily available in the executable.
Thanks

it would be great if a cli flag could be added to strip certain data, and perhaps a flag to obfuscate data (like PyInstallers ""--key flag)

There is Nuitka commercial for that: https://nuitka.net/pages/commercial.html


Bump Node.js 18.14.1

Security update Node.js 18
https://nodejs.org/en/blog/vulnerability/february-2023-security-releases/

@magcho thanks for the PR!


Possibility to get existing user with something else than userId ?

Hi,
I would like to check if user exist before create it.
One thing I did not find on the doscumentation is if it mandatory to store into my DB the mangopay userId or if I can search for it based for exemple on email adress (unique on my DB).
Best for me will be of course to not store new information regarding external system (mangopay).
Regards

Hello @timott29
It's an very useful feature that we are considering, but not in a short term view.
Before bringing you (and every people using Mangopay) this, we do have to think about the best way to offer a powerful search without any performance issue.
We will keep you posted about any update regarding this feature !
Mickaël

@mickaelpois is there anything to do with this? In the docs it seems that nothing was implemented.

Hi @timott29,
As mentioned by @mickaelpois search by email is not on our short term roadmap.
Regards,
Max


Double pipe in a code span into an array

Hello,
When I write a double pipe in a code span into an array, I have an error into the HTML file.
| Operator | Description |
| -------- | ----------- |
| `&&`     | And         |
| `||`     | Or          |
| `!`      | Not         |

The second line is broken :(
Thx for your work ;)

This is a Github Flavored Markdown error.  Since that is the parser you are using, that is why you are getting the error.  You'll see that below I'll post the table code in this comment.  Since these comments use Github Flavored Markdown, you'll see that it is broken:

Operator
Description

&&
And

`

!
Not

If you use the Python Markdown parser (markdown) instead of the GitHub Flavored Markdown (github), you'll see the issue goes away.
I would file this issue on GitHub's markdown parsing repo.  There is nothing we can do in this plugin as the github parser uses GitHub's public API, and that is what is broken.

I'm going to close this as there appears to be no actionable item to be done here.


Hide unimplemented features in release version

Is it a ?

[x] Chore

Chore
Description
Unimplemented features should be hidden or removed in the release version.
Would you like to work on the issue?
Yes

Which unimplemented features?

I thought you were referring to device name.


[ECDSA/GG20] Resharing issues

Issue
Due to panic in round 2, it's impossible to reshare key when there's an overlap of players in the new and old committees.
A similar problem is described in the old issue #128.
If the original issue would be fixed, there will be a similar panic in round 4, and a few other inconsistencies in state replication.
Rationale
Resharing mechanism implemented in the upstream library bnb-chain/tss-lib isn't that what outlined on paper CGGMP21.
The rationale described in the paper is to use a key refresh as a measure of proactive security, similar to regular key rotations in the conventional PKI. Whereas, existing implementations are keen to leverage this more for dealing with dynamic players committees, i.e. onboarding/offboarding.
Although developers do not describe protocol specifications on which their implementation is based, I found it very similar to what the Coinbase team is describing in their pseudocode spec for coinbase/kryptology library.
Fixes
The proposed fix is based on coinbase/kryptology resharing protocol and my own debugging and understanding of the version that Binance's team implemented. A detailed description is available in the comments below.

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


[Todo] Should not log twice, etc. for the same esbuild error

Right now we simply log for every page load, independent of whether the error presented is the same as previously. So we need to be able to deeply compare api.Message. Maybe we simply add fields to the runtime for lastEsbuildError, etc. But that doesn’t solve the compare problem since as-is errors are not reference types. However, if we use an array (since errors and warnings are arrays anyway), we might be able to referentially compare them.

Maybe we just do a deep equal on the current and previous messages.

Maybe we just do a deep equal on the current and previous messages.


10.0.19041.1023 - Fully supported, running but not listening

Stopped and restarted the service. Restarted the PC. Didn't work.
What am I missing? Thanks!

Try:

Download RDP Wrapper 1.6.2 and extract this to any directory.
Place rdpwrap.ini in the same directory.
Open CMD as administrator
Execute this commands

cd C:\path\to\directory\
rdpwinst -u -k
rdpwinst -i

Enjoy!

Original message: https://t.me/rdpwrap/49131

One termsrv.dll version = one opened issue --> duplicate.

Duplicate of https://github.com/stascorp/rdpwrap/issues/1420


dcli init fails

Describe the bug
During the init of the cli on my system it throws this error:
error: table device has 10 columns but 11 values were supplied

To Reproduce
Steps to reproduce the behaviour:

Fresh install via homebrew and run dcli secret
Enter the details which were asked

? Please enter your email address: <redacted>
info: Please open the following URL in your browser: https://www.dashlane.com/cli-device-registration?login=<redacted>
? Please enter the code you received by email: <redacted>
? Please enter your master password: <redacted>
error: table device has 10 columns but 11 values were supplied

Expected behavior
It should not throw a SQL error.
Screenshots
I attached all the important output above in redacted form.
Environment (please complete the following information):

OS: [e.g. iOS] MacOS 14.6.1 (23G93)
Version [e.g. 22]: dcli version 6.2436.0

Additional context
Add any other context about the problem here.

Hello,
You should try to log out and log back in again. There are similar closed issues.
https://github.com/Dashlane/dashlane-cli/issues/101
https://github.com/Dashlane/dashlane-cli/issues/275


Implement Sessions

I'd like to see sessions come to the PostHog Android SDK, would be very useful for some more analytics.

We're currently reworking the Android SDK and this may change, stay tuned.

Relates to https://github.com/PostHog/posthog-android/pull/13

https://github.com/PostHog/posthog-android/releases/tag/3.1.0-alpha.1


Fix broken output formatting in Azure Pipelines.

I've changed arm-ttk/ttk.ezformat.ps1 and regenerated arm-ttk/arm-ttk.format.ps1xml.

Excellent - thank you.


1.3: More markdown support and line comments

Can't reproduce failure locally (though it's unrelated to the production bits.)