Add Hari Kuduva to Contributors list

title says it all.
Great tutorial, thank you.

@sriharikuduva, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


How do I access the Unused Signals report?

Issue in help/using/reporting/dynamic-reports/unused-signals.md
I see information about what the unused signals report IS and what it DOES, but where can I find it? I've checked a number of different locations in AAM.
The steps for getting to this report, or where it is located, are unclear.

@wilderfreed - thanks for reporting this. Please see the updated page for instructions on how to find the report in the Audience Manager UI and for instructions on what to do in case you can't see the report.
Best regards,
Victor Giurgiu
Senior Technical Writer, Audience Manager


Identifiers validation failed for dataset Estudio de la diversidad genética y su distribución de los maíces criollos y sus parientes silvestres en Michoacán (Teocintle)

Identifier validation failed for the dataset Estudio de la diversidad genética y su distribución de los maíces criollos y sus parientes silvestres en Michoacán (Teocintle):

Crawler attempt: 284
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 102
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 100%, total records count 102, absent records count 102
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3072712/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Estudio de la diversidad genética y su distribución de los maíces criollos y sus parientes silvestres en Michoacán (Teocintle) : https://doi.org/10.15468/lscpoh.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Estudio de la diversidad genética y su distribución de los maíces criollos y sus parientes silvestres en Michoacán (Teocintle):

Crawler attempt: 288
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 102
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 100%, total records count 102, absent records count 102
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3093662/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Estudio de la diversidad genética y su distribución de los maíces criollos y sus parientes silvestres en Michoacán (Teocintle) : https://doi.org/10.15468/lscpoh.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


added autocomplete and more laguage supports for codeblock in rich-text

this is a following up of https://github.com/tinacms/tinacms/discussions/3266#discussion-4458196

added autocomplete component
made codeblock in rich-text to support all languages registered in Monaco editor

@rabelais88 Thanks for the contribution. I really like the idea of adding this. Looking at it, the placement of the autocomplete seems a bit off. Its in the top right and hidden behind the form (see screenshot).

@rabelais88 Thanks for the contribution. I really like the idea of adding this. Looking at it, the placement of the autocomplete seems a bit off. Its in the top right and hidden behind the form (see screenshot).

@logan_anderson do you mean...

the z-index of autocomplete is off?
or shadow is not properly applied to all corners of autocomplete?
or should autocomplete be placed on top-left? if this is the case, codeblock dropdown was placed on the same top-right position and and autocomplete component is respecting the original style.

it does not look off from the given screenshot, I didn't quite get the meaning. sorry for asking once again.
thank you for leaving a review!🙇♂

@rabelais88 My apologies the the issue I was seeing was with the autocomplete in the monaco editor and has nothing do to do with your PR. Everything looks good here to me.


fhem-rhasspy

Thanks for writing about fhem-rhasspy on your GitHub! May I ask you to change the name from "rhasspy-fhem" to "fhem-rhasspy" and change the url to https://github.com/fhem/fhem-rhasspy? Thx!

Thanks for reporting this, fixed!


Fixing the broken links related to dev.office.com

Category

[X] Content fix
[ ] New article
[ ] Example checked item (delete this line)

What's in this Pull Request?

Most of links which is hosted under the dev.office.com are broken, now fixing the broken links with proper urls

The title & description of the PR says this is fixing broken ACS links, but there's a LOT more than that in here and most looks totally unrelated to ACS. Please update the title & description to be accurate as what the PR contains.

Updated the PR details


setup [FIRapp configureWithOptions] passing Google .plist

Fix for issue #866
Gets path for GoogleService-Info.plist and pass it as a parameter to FIRApp configureWithOptions

@chrisid Any idea why this is needed?  I took a quick look at that method you reference and the only documentation that is provided is related to multiple projects and dynamically loading plists.  From your code submission I don't think you are trying to load different plists, just the default one.  I was trying to figure out why that is required.

@briantq based on the issue description, it might be an issue with iOS 12

Though if I were to have read the other comments, the issue is also being seen on iOS 11.  Perhaps it's an issue with xcode 10?

@briantq I don't know why that's exactly needed but it's the only way I was able to get it working again. When the file is not passed, FIRApp does not find it and silently fails to configure. I'd love to understand why.
@soumak77 I also tried XCode 9 iOS 11 and the same happened.

@briantq when you have a chance, could you verify this works with your app?  So long as it doesn't break anything it seems fine to merge.

@soumak77 my project is in a bad state at the moment (still trying to figure out why...).  One thing that crossed my mind is that if we think this is a XCode 10 issue that we might see if upgrading FIrebase resolves the issue (they might have included a fix for something).  The current verision is 5.9.0 while we are using 5.7.0.

Based on @chrisid comments, it also happens with xcode 9. There is a known issue with cordova-ios supporting xcode 10, but I'm not sure of that is related.

It wouldn't hurt to upgrade the firebase SDK, but I don't think it'll fix this issue

@soumak77 Thanks for mentioning about the known issue in XCode 10, that was why I was not able to get anything to work.  I did test with the branch and after using the work around, did see notifications so I think the PR works.


"Rusănești", "Jieni" are listed in the drop-down menu

Description:
When user writes "Rusănești" and "Jieni" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Rusănești"

Expected results
The location appears in the drop-down menu as "Sat Rusănești, OLT (Rusănești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Jieni"

Expected results
The location appears in the drop-down menu as "Sat Jieni, OLT (Rusănești)".


link pipeline to dashboard

[Enter feedback here]

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

ID: 847579c6-9fbb-d9b7-3472-f733e4e2aa93
Version Independent ID: 73f7444c-472a-666c-a6c3-09a9273bdefc
Content: Create a service hook for Grafana - Azure DevOps
Content Source: docs/service-hooks/services/grafana.md
Product: devops
Technology: devops-collab
GitHub Login: @azooinmyluggage
Microsoft Alias: atulmal

How to configure the grafana dashboard to show the azure pipeline release result, since I already create grafana service hook description.


Re-entering a hardcore world after death, puts back into survival.

https://github.com/Wilyicaro/Legacy-Minecraft/assets/39068731/b4e2eee0-c160-4c91-8faa-7609a99a039c

Fixed in 1.6.1, thanks for reporting.


Cadent Aperture MX: add filename attribute to fix build

🏷 Type of documentation

[ ] new bid adapter
[ ] update bid adapter
[ ] new feature
[ ] text edit only (wording, typos)
[ ] bugfix (code examples)
[ ] new examples

📋 Checklist

[ ] Related pull requests in prebid.js or server are linked -> Paste link in this list or reference it on the PR itself
[ ] For new adapters check submitting your adapter docs

This PR was required as the web build was failing previously.  We have confirmed via the deploy-preview link that this simple change fixes our ability to build Prebid with our adapter through the web interface.  We weren't sure what to select in the description for "type of change", so we just left it blank.  Please let us know if anything else is required.


KAFKA-2295; Support given for dynamically loaded classes (encoders, e…

Rebased code..

LGTM, thanks.

Rebased code..


Close stdin stream after sending all data

RunWithInput and RunWithString do not signal the end of the stdin
stream.  This can cause remote commands to hang after consuming all data
from standard input if they block waiting for standard input to be
closed.
Fix this by sending an additional rsp:Stream block with no data and an
End="true" attribute after all stdin data has been sent.  The End
attribute is specified in section 3.7.5 of "Remote Shell Web Services
Protocol" (http://xml.coverpages.org/MS-RemoteShell-200607.pdf).

Possibly related #104

@nwt I accidentally recreated this on #105 :)


add: Nabil Akhunjee

Description

Related Issues

Changes Proposed

Checklist

[x] I have read and followed the Contribution Guidelines.
[ ] All new and existing tests passed.
[ ] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

@nbakh16 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


Handle OGROpen errors in session.start()

Expected behavior and actual behavior.
Opening an existing GeoJSON to overwrite should succeed or raise an IO exception. Instead, we see ValueError: null layer inside session.start(). See #436.
Steps to reproduce the problem.
Modification of tests/test_geojson.py's WriteTest.test_json() demonstrates the issue.
Operating system
Any
Fiona version and provenance
1.7.5

Raising this exception in start() also causes problems for the context manager protocol. The collection and session are left in a error state that trips up code called when the manager exits. I see double errors in some cases.

Resolved by #444.


fix appveyor fails

using latest image !

show PSVersionTable for debug
use newer image

ref: http://help.appveyor.com/discussions/problems/5170-progresspreference-not-works-always-shown-preparing-modules-for-first-use-in-stderr

remove os section

Thanks!

Released as v2.61.2.


[Question] Is there an extension for Python testbed on the marketplace?

Hi, I'd like to try Python execution on the web shell described in https://code.visualstudio.com/blogs/2023/06/05/vscode-wasm-wasi. I found the web shell extension on the market place, but couldn't find the Python testbed extension. Is it not publicly available yet?

No we didn't release it since it would mean to update with moving Python forward. But you can look at the code here: https://github.com/microsoft/vscode-wasm/blob/main/testbeds/python/package.json


Drop python 3.5

Description
In wandb==0.12.0 we are dropping support for python3.5, this is the last incremental step to prep for wandb==1.0.0

Targets wandb to >= 3.6
Removes wandb/sdk_py27
Removes codemod from tox/make/circle
Removes PY3 checks
Removes wandb.TYPE_CHECKING checks
Removes py3.5 eol notice
Fixes import order for type annotations

Future
(these are not done in this PR)

go through and remove py27 specific compatibility MagicMock, six etc
update mypy to be more aggressive in flagging errors now that we can check the entire tree

Testing
Unittests
Release Notes
Below, please enter user-facing release notes as one or more bullet points.
If your change is not user-visible, write NO RELEASE NOTES instead, with no bullet points.
------------- BEGIN RELEASE NOTES ------------------
Drop support for python 3.5
------------- END RELEASE NOTES --------------------

We're free !


Cleans up all lint warnings

Okay @asutula only 221 files changed :D
figured we could start adding a lint step on the build checks for a simple value/quality quick win here.

Ok this is cool, just wondering the best way to integrate it... Tried a test merge on my comments branch, and that's just a mess. Wondering if we should get the comments branch merged and then, merge in the new tsconfig.json and then re-run the lint fix? Thoughts?


test: replace slirp4netns with pasta

We use slirp4netns to connect the namespace to the host to allow us to test external lookups.
Given we replaced slirp4nents with pasta in podman 5.0 the package might no longer be installed/available everywhere.

So I did the replace part except that pasta doesn't like to run as root which makes it impossible to use in our tests

We dropped slirp4netns in favour of dnsmasq local in the netns so we no longer require a network connectivity


no upgrade path for observability in 1.5 to 1.6.

Istio 1.5 has instructions for exposing telemetry over port 15029-15032. During an upgrade from 1.5 to 1.6, observability breaks. A pre-canned yaml blob is needed to continue export over 15032. Then the upgrade documentation should guide users to transitioning to the new model.

@howardjohn is busy, and I don't immediately know how to write the precanned yaml blob. i had spoken to John about this two weeks back, and he said he would get to it. This may miss the initial upgrade notes.
This is not an upgrade blocker and can be managed shortly after 1.6 releases.

   ingressGateways:
    - name: istio-ingressgateway
      enabled: true
      k8s:
        service:
          ports:
            - port: 15020
              targetPort: 15020
              name: status-port
            - port: 80
              targetPort: 80
              name: http2
            - port: 443
              name: https
            - port: 15029
              targetPort: 15029
              name: kiali
            - port: 15030
              targetPort: 15030
              name: prometheus
            - port: 15031
              targetPort: 15031
              name: grafana
            - port: 15032
              targetPort: 15032
              name: tracing
            - port: 15443
              targetPort: 15443
              name: tls
            - port: 31400
              name: tcp

can retain the old ports (copy+paste from default profile in 1.5)


Convert back to EBM from onnx

ebm2onnx version:3.30
Python version:3.10
Operating System:macos

Hello everyone, i have converted my EBM model to onnx. Now i do not have access to training data anymore, i want to convert my onnx model to EBM , do you think it is possible?

Technically this is feasible because all the model parameters are in the onnx graph. However, this is not supported by ebm2onnx (and out of scope).


python310Packages.mitmproxy-wireguard: 0.1.15 -> 0.1.17

Description of changes
https://github.com/decathorpe/mitmproxy_wireguard/releases

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 199411 run on x86_64-linux 1

2 packages built:

python310Packages.mitmproxy-wireguard
python39Packages.mitmproxy-wireguard


can't load config.json; Model error

Here are my steps to setup my model for deployment:

Execute a training job using HuggingFace estimator
Specify in train.py that my output_dir in the TrainingArguments is set to '/opt/ml/model' so that Trainer saves all training artifacts, including logs, checkpoints, and models. SageMaker also archives the whole '/opt/ml/model' directory as model.tar.gz and uploads it at the end of the training job to S3
Take model.tar.gz and copy it's S3 URI to model_data for the HuggingFaceModel.
Call deploy along and predictor.predict({'inputs': "buy me sushi"})

The predict function seems to cause the error since it seems to not be able to read the files. I am not sure why config.json cannot be loaded since my model.tar.gz file structure is the following:
./model/
./model/config.json
./model/optimizer.pt
./model/pytorch_model.bin
./model/rng_state.pth
./model/scheduler.pt
./model/special_tokens_map.json
./model/tokenizer.json
./model/tokenizer_config.json
./model/trainer_state.json
./model/training_args.bin
./model/vocab.txt

@philschmid

Could you please share your HuggingFace estimator on how you run training and deployed your model?
Could you also verify that you followed the steps similar to the 01_getting_started example
The error hints that there is no model in the correct directory.


Script for building Giraph

The current set-up script downloads pre-built Giraph. I have tried to recompile it in docker container and facing some issues. Is it possible to share the script for building Giraph? I will appreciate it.

Sorry, I don't remember exactly what we did. I think it's some variant of what is described in these notes:
https://github.com/uwsampa/graphbench/wiki/Setting-up-Giraph
(mostly just saying "mvn package" with the right flags set)
If you figure it out, write it up and send a pull request and we'll include it in the repo. Thanks!


ArgumentTransformer for zadd

Doc for zadd: https://redis.io/commands/zadd
Hello,
The zadd command can accept endless score member [score member ...]. May I have a default ArgumentTransformer for zadd? I can create a PR for that.
My code:
function convertFilpObjectToArray (obj) {
  var result = []
  for (var key in obj) {
    result.push(obj[key], key)
  }
  return result
}

Redis.Command.setArgumentTransformer('zadd', args => {
  if (args.length > 1) {
    let last = args.pop()
    if (typeof last === 'object' && last !== null) {
      args.concat(convertFilpObjectToArray(last))
    } else args.push(last)
  }
  return args
})

It's a little confused whether score should be the key or the value of an object (at least more confused than mset for a hash key).
Since ioredis flattens arguments, the following form is supported:
redis.zadd('key', [17, 'a'], [18, 'b'], [19, 'c'])

Given that I don't think the transformer is necessary.

Score can be duplicate, but member should be unique. So score must be value, member should be key.
A real use case is sortin score in a game. Every player will have a score, but some people may have the same score (and have same rank).

I'm aware of this fact. It's just not straightforward compared with the transformer of hmset for the hash key, which itself is an object.
Anyway, I'd like to accept a PR for that, as long as the transformer keeps the same format with hmset that only takes effect when the argument length is 2 and supports both Map and plain object.

I'd like to write PR, but I still have some question:

zadd not only have 2 argument, so may I only check the last args?

ZADD key [NX|XX] [CH] [INCR] score member [score member ...]

Order in plain object is obvious, But I have no idea which order is better in Map:

myMap.set("member", "score");
myMap.set("score", "member");

If you want to add multi data to a sorted set, you may write such code:
const len = 5;//The length may be the count of some records getten from some db
const originalData = [
{score:1,value:'a'},
{score:2,value:'x'},
{score:3,value:'f'},
{score:4,value:'e'},
{score:5,value:'j'},
];

var params = new Array(len+2);
params[0] = 'a_sorted_redis_key';
var i = 1;
for (var item of originalData ) {
    params[i++] = [item.score,item.value];
}
params[i] = function(err) {
    console.log(err);
}
redis.zadd.apply(redis,params);


Recent Pandoc and HTML handling

Raw HTML is exported as e.g. the (nonstandard)
`<i class="fa fa-wikipedia-w">`{=html}`</i>`{=html}

which does not work well with Jupyter notebooks.

fixed in 39091e57d7996314dcea03ee7851aa05f0165383


com.squareup.protoparser.EnumType$Value cannot be cast to java.lang.String

Hi, first of all, thank you for your contribution
The thing is when I try to check a MessageType.Field has default or not
I use =>  if (field.getDefault() != null)
but I get exception:
com.squareup.protoparser.EnumType$Value cannot be cast to java.lang.String
the original .proto defined is
optional PhoneType type = 2 [default = HOME];
(same as official example Person message: https://developers.google.com/protocol-buffers/docs/javatutorial)
is any misunderstanding or mistake in my code?
(my source code https://github.com/cecol/protobuf-to-avro/blob/dev/src/main/java/wilber/com/transform/ProtoSchema.java)

Dupe of #90.
I would urge you to try 4.0.0-SNAPSHOT as the release is imminent. It's re-think of the model and it's much more sane for handling parsed data. I'm going to try to publish a 3.1.6 that fixes this issue after 4.0.0's release though.


Add --qualifier flag to Publish Gateway command

Acceptance Criteria
Passes the --qualifier values to the API call params.

This is a duplicate of an APS repo issue, https://app.zenhub.com/workspaces/bc-gov-api-services-60943b8bf73eb300102d9c97/issues/gh/bcgov/api-services-portal/862, follow along there for updates.


Client doesn't recognize server disconnect

There doesn't appear to a callback a client can register to be made aware of server disconnect.  The server listen socket can definitely detect disconnected clients but not the other way around.  After pulling down this crate and adding some println statements, I do see NetConnectionStatusChanged events being published to a default NetworkingSocketsData.connection_callback handler but I don't see a way to register for this outside the library.
 NetConnectionStatusChanged { connection: 791123397, connection_info: NetConnectionInfo { identity_remote: Some(steamid:765xxx..), user_data: -1, listen_socket: None, state: Ok(ProblemDetectedLocally), end_reason: Some(MiscTimeout) }, old_state: Connected }

Whether the client is connected via p2p or ip doesn't matter.  Am I missing something?

I needed a quick and dirty solution to this.  I forked, exposed some internal structs and reutilized a channel that wasn't doing anything.  It's not pretty but am sharing if others stumble on this issue.


Windows executable no longer works when ran at low integrity

The official windows executable (youtube-dl.exe created with py2exe) no longer works correctly when ran at a low integrity level.  I've been running it at a low integrity level for quite some time now in combination with mpv which also works fine as neither require any write access.
My common use case is the following:
PsExec.exe -d -l mpv.exe --ytdl youtube/twitch-url-here

With more recent versions of youtube-dl the following error occurs:

The last working version I believe is the 2015.10.18 build (yes this has been broken for quite some time now I just haven't gotten around to making the ticket till now).  I couldn't really find anything that would suggest this would stop working in the commit log so maybe something changed with the py2exe building.
I realize that most people probably don't care about this but I do think that it's a useful and attractive feature that the youtube-dl + mpv combination provide.  I can provide additional information if needed.  This is on Windows 8.1 Update 3 64-bit.

I'm not sure if I understand it correctly..
Did you build your youtube-dl.exe with py2exe yourself?

No the official builds.

Ah, okay. So the low integrity mode is the culprit. I agree with you, I don't see why it shouldn't work with low integrity, theoretically. But theory is one thing and..
What is the benefit of low integrity level here? After all, this are some binaries you can trust, I'd say ;-)

It's not about trusting binaries, it's about the data they work on.  mpv and youtube-dl are connecting to the internet so they're working on untrusted data exclusively in this case.

Post the output of youtube-dl -v youtube/twitch-url-here.

Confirmed with the following command:
C:\Users\yen\Desktop>PsExec.exe -l cmd

In the newly opened cmd, run:
C:\Users\yen\Desktop>youtube-dl.exe
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "youtube_dl\__init__.pyo", line 410, in main
  File "youtube_dl\__init__.pyo", line 377, in _real_main
  File "youtube_dl\YoutubeDL.pyo", line 342, in __init__
  File "youtube_dl\YoutubeDL.pyo", line 1982, in _setup_opener
  File "youtube_dl\utils.pyo", line 503, in make_HTTPS_handler
  File "ssl.pyo", line 440, in create_default_context
  File "ssl.pyo", line 391, in load_default_certs
  File "ssl.pyo", line 378, in _load_windows_store_certs
WindowsError: [Error 5] Access is denied

C:\Users\yen\Desktop>

With PsExec 2.11.

It's not about trusting binaries, it's about the data they work on. mpv and youtube-dl are connecting to the internet so they're working on untrusted data exclusively in this case.

You are obviously right here, but truth be told, I've never heard of a case so far.
This could be an issue, potentially, but it boils down to what links/sites you run youtube-dl against.
Open any new/unknown/dubious link in a browser first, for example..

Ref: It's actually a Python bug http://bugs.python.org/issue25939. However, youtube-dl should have a workaround. For example, --no-check-certificate should work in such cases.

This issue seems to be fixed in 3.4 and 3.5 branches: https://bugs.python.org/issue25939#msg260429
Any plans to update Python for Windows builds?

First we should wait until the next stable release of Python. Seoncd there's currently no plan to build Windows binary against Python 3.x due to some reported failures. See comments in #5094. And py2exe does not support Python 3.5 or later, so 3.4 is the only option.
It's not a good news that my patch is not applied to 2.7 branch. I've asked them.

If I understand everything correctly, latest youtube-dl for Windows is built against Python 2.7.10, so using --no-check-certificate should be sufficient?

latest youtube-dl for Windows is built against Python 2.7.10

Yes

using --no-check-certificate should be sufficient

Unfornately no - old Python fails before no_check_certificates takes effect because certificates are always loaded when creating an SSL context. Disabling checking occurs after the context is created. A workaround cab be porting create_default_context() of ssl.py but I don't think it's a good idea.

Looks like py2exe has not been updated in a while, let's hope it soon will be.

A good news from Python.org: https://bugs.python.org/issue25939#msg260901. I'll keep this ticket open until Python 2.7.12 released.

Python 2.7.12 is released, closing. Note that the official youtube-dl.exe is now built against Python 3.4.4 and does not include the upstream fix. You'll need to install either Python 2.7.12 of Python 3.5 in this case. See #10014 for more further discussion.


[2.5] Fix unable to view namespace yaml

Problem:
some namespace gets error invalid character '\x1f' looking for beginning of value when editing YAML.
Solution:
If the content of the resource is too large, the returned content will be compressed by gzip, add the request header Accept-Encoding: identity to prevent compression.
Relate issue:
https://github.com/rancher/rancher/issues/26390

My problem is to export the YAML file and this fix can solve it.
Currently, I'm doing a workaround to export the YAML file, using Postman to request rancher api, adding this header, and it works properly.


[GHSA-9j4f-f249-q5w8] Default installation of synthetic-monitoring-agent exposes sensitive information

Updates

Affected products

Comments
Not Safe

Hi there @mem! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


commit faq up to branch

added to faq about choosing WDAC or AppLocker. Discussed this with Stefan Georgiev.

@cshea15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Heidilohr can you review this

@cshea15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@cshea15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@cshea15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Heidilohr are we good to merge now? I changed the acronym so it shows the actual name.

@cshea15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Heidilohr thank you for the change. Committed to your change.

@Heidilohr anything else I need to update?

@Heidilohr @sethmanheim can we wrap this PR up? this has been open for almost two months. I am happy to make changes but then this PR just sits here.

@cshea15 Sorry, because this PR is in the public repo I do not have permissions to merge, and only the author, @Heidilohr, can sign off. I believe she asked you to make some changes before she does so.

@Heidilohr Can you please sign off on this PR if all looks OK? Thanks!

Closing as I have moved this to the private repo. Content should be live after 3 PM PT. #please-close

@cshea15 @Heidilohr Unfortunately this PR is not mergeable -- the TOC links you have added return a 404, and I do not know enough about what was originally intended to fix them. Lines 262, 266, 268 return a 404. Can you please let me know what the correct links should be? Otherwise I will have the close the PR in the private repo as well. Thank you.

@sethmanheim @Heidilohr I did not add any links under the Resources section. I added links under the Reference section lines 229-252

@sethmanheim Here's the likely correct syntax for the intended relative links:
Line 246:
/azure/architecture/example-scenario/wvd/windows-virtual-desktop-fslogix
(live: https://docs.microsoft.com/en-us/azure/architecture/example-scenario/wvd/windows-virtual-desktop-fslogix)
Line 250:
../firewall/protect-azure-virtual-desktop.md
(live: https://docs.microsoft.com/en-us/azure/firewall/protect-azure-virtual-desktop)
Line 252:
/azure/cloud-adoption-framework/scenarios/wvd/
(live: https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/scenarios/wvd/)


websocket run infinitely even server is dead

hello:
I start a ws request, but it has an error response, but doesn't stop.

I did not take into account that an error can occur during the connection setup and the connection is closed directly. In this case the Promise was not resolved. With the next version of vscode-httpyac it is also corrected in httpbook.


Donut: Several images

Hello,
I have a question about an idea to implement an advanced use case using Donut.
Is it possible to include multiple documents in an inference? The idea is not to merge the images and put them into the model, but for example to infer several images one after the other and only after a certain number of images, decode the collected embeddings. So it would be possible to use Donut for multi-paging.
Is there a reasonable approach for this?
I would be very grateful for answers and ideas!

I think you should be able to do that multiple encoders with shared weights, and all of the outputs of encoders go as inputs to decoder, as queries for attention, but you have to retrain the entire model from scratch. This one won't work cause we are adding extra dimensions in decoder input

Yes indeed, you can encode each page using the vision encoder of Donut (or any other vision encoder), which will give you last_hidden_states (image patch embeddings) for each document. Next, you can concatenate those along the sequence dimension and use them as keys and values in the cross-attention operation with a text decoder. But indeed you would need to retrain the cross-attention layers again from scratch (you could use the parameters of all other layers of Donut's text decoder)

Thank you for the detailed answers! I will try it soon.

Yes indeed, you can encode each page using the vision encoder of Donut (or any other vision encoder), which will give you last_hidden_states (image patch embeddings) for each document. Next, you can concatenate those along the sequence dimension and use them as keys and values in the cross-attention operation with a text decoder. But indeed you would need to retrain the cross-attention layers again from scratch (you could use the parameters of all other layers of Donut's text decoder)

Approach which I am suggesting might not follow author's question but is it possible to create patch partition for multiple images separately then concatenate them and pass it to through our encoder blocks?
Since we are only modifying the input we do not need to retrain the model from scratch


Module Discovery (PSoC)

Add module discovery code for the module MCUs.
Module discovery is the process that allows the system to correctly enumerate attached modules during startup and when a new one is added.
Please note that this remains untested on real-world hardware, since I don't have access to that right now.

Also, ignore the failing checks. The PSOC branch doesn't have any unit tests.


Add Style Box

Extend Stock model
Add Size, Style enums
Reduce Tooltip padding

Codecov Report

Merging #60 (d9acdf1) into main (2a0ef93) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   98.72%   98.72%
=======================================
  Files           7        7
  Lines         629      629
  Branches       17       17
=======================================
  Hits          621      621
  Misses          8        8

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[Bug] calculateWidth is not updating the parent offsetWidth correctly

On initial page load or browser resize offsetWidth is correct, however if there is a change to the DOM which adjusts the parent width it is not correct.
I started with my sidebar expanded and the parent offsetWidth at 1298. When I collapse my sidebar the onWindowResize function is called and the offsetWidth now shows 1148 but ReactDOM.findDOMNode(this) isn't pulling the latest.
Steps To Reproduce

Load window initially
Use another element sampleSidebar resize trigger $(window).resize();
Adjust sampleSidebar which causes parent to change width rather than browser resize
Notice that onWindowResize is called but node.clientWidth is previous size.

SampleSidebar.jsx
onSidebarToggle = () => {
	...code that toggles size

	$(window).resize();
}

WidthProvider.jsx
onWindowResize = () => {
	this.calculateWidth()
}

calculateWidth = () => {
	if (!this.mounted) return
	let node = ReactDOM.findDOMNode(this);

	console.log(`clientWidth: ${node.clientWidth}`);
	console.log(node);

	if (node instanceof HTMLElement) {
		this.setState({ width: node.offsetWidth })
	}
}

FYI the link to WebpackBin Template isn't working.

Tried an initial stab at a PR but I'm running into the following error.
Error: lib/components/WidthProvider.jsx:68
 68:       }, delay)
              ^^^^^ delay. Could not resolve name

Here is my updated WidthProvider.jsx
// @flow
import React from "react";
import PropTypes from "prop-types";
import ReactDOM from "react-dom";
import type { ComponentType as ReactComponentType } from "react";

type WPProps = {
  className?: string,
  measureBeforeMount: boolean,
  delay: number,
  style?: Object
};

type WPState = {
  width: number
};

/*
 * A simple HOC that provides facility for listening to container resizes.
 */
export default function WidthProvider<
  Props,
  ComposedProps: { ...Props, ...WPProps }
>(
  ComposedComponent: ReactComponentType<Props>
): ReactComponentType<ComposedProps> {
  return class WidthProvider extends React.Component<ComposedProps, WPState> {
    static defaultProps = {
      measureBeforeMount: false,
      delay: 0
    };

    static propTypes = {
      // If true, will not render children until mounted. Useful for getting the exact width before
      // rendering, to prevent any unsightly resizing.
      measureBeforeMount: PropTypes.bool,
      delay: PropTypes.number
    };

    state = {
      width: 1280
    };

    mounted: boolean = false;

    componentDidMount() {
      this.mounted = true;

      window.addEventListener("resize", this.onWindowResize);
      // Call to properly set the breakpoint and resize the elements.
      // Note that if you're doing a full-width element, this can get a little wonky if a scrollbar
      // appears because of the grid. In that case, fire your own resize event, or set `overflow: scroll` on your body.
      this.onWindowResize();
    }

    componentWillUnmount() {
      this.mounted = false;
      window.removeEventListener("resize", this.onWindowResize);
    }

    onWindowResize = () => {
      setTimeout(() => {
        if (!this.mounted) return;
        // eslint-disable-next-line
        const node = ReactDOM.findDOMNode(this); // Flow casts this to Text | Element
        if (node instanceof HTMLElement)
          this.setState({ width: node.offsetWidth });
      }, delay)
    };

    render() {
      const { measureBeforeMount, delay, ...rest } = this.props;
      if (measureBeforeMount && !this.mounted) {
        return (
          <div className={this.props.className} style={this.props.style} />
        );
      }

      return <ComposedComponent {...rest} {...this.state} />;
    }
  };
}

@CWSites I have a issue like yours.
    let event = new CustomEvent("resize");
    window.dispatchEvent(event);

I add above code into my relate component.

@linmodev did that fix the error? Where in the code did you add that to?

  componentDidUpdate() {
    let event = new CustomEvent("resize");
    window.dispatchEvent(event);
  }

This is not a nice solution. But I solve the item component is out of parent's range.
@CWSites

@linmodev why don't you submit a PR with this change? It seems much more straight forward than mine if it works.

@CWSites But need these code is not insert component source code, I just add this code to some place it needs.So it not a real final solution.

I'm having the exact same issue, and even in a manual window resize, the width value in widthProvider is not updated.
Why the issue is closed ?


Allocate 82 bytes instead of 62 bytes in LevelDB's CreateKeyFor method

In LevelDB's createKeyFor method we allocate size for 3 hashes but append 4 hashes. Eventhough append handles it intelligently, the code is misleading.
CLA already signed, PR ready for review

LGTM. That's a nice easy fix.


[QUESTION] Add disk hang and get EOF

Question
Environment:

Longhorn version: v1.1.1
Kubernetes version: 1.21
Node config

OS type and version  linux (amd64) / Debian GNU/Linux 9 (stretch)  /  4.14.81.bm.15-amd64
CPU per node:
Memory per node:
Disk type
Network bandwidth and latency between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):

Additional context
Add any other context about the problem here.
Add a exist path of disk and page loading hang, get EOF in the end

Add a exist path of disk and page loading hang, get EOF in the end

Is it a fresh install disk?
What the Default Data Path on the Setting page? At Longhorn, we use /var/lib/longhorn/ by default.
Could you please check the default data path on the disk is available and is accessible?

ping @sinoon

Closing due to no feedback, but feel free to reopen if you still have any questions.


Merge in changes from JHU/APL BossDB (rebased)

This subsumes PR #380.
We have taken the core functionality changes and committed them below in three commits:

State export and download
Add credentials management to the python module for BossDB datasources
Add public access for open data stored in BossDB

cc: @hannahgooden @BrockWester

Thanks --- overall looks good, just a few comments.

Thanks Jeremy, much appreciated!

Updated with requested changes. We force pushed to amend the authorship to my JHU APL email.

Thanks!

Thank you @jbms!

Agreed, thanks!


Release v2023-07-21.1 does not have a prebuilt toolchain for host x86_64-pc-windows-msvc

Hello! I am using Windows 11 and am facing this problem.
> cargo wasix check
Finding latest release... (https://api.github.com/repos/wasix-org/rust/releases/latest)...
Could not download pre-built toolchain: Release v2023-07-21.1 does not have a prebuilt toolchain for host x86_64-pc-windows-msvc
error: Download of pre-built toolchain failed

Caused by:
    Release v2023-07-21.1 does not have a prebuilt toolchain for host x86_64-pc-windows-msvc

@sergree New toolchain has been uploaded here.

@dynamite-bud Thank you for the fast response!
I've got new error:
> cargo wasix check
Finding latest release... (https://api.github.com/repos/wasix-org/rust/releases/latest)...
Downloading sysroot from url 'https://github.com/wasix-org/rust/releases/download/v2023-07-21.1/wasix-libc.tar.gz'...
Extracting...
Downloading Rust toolchain from url 'https://github.com/wasix-org/rust/releases/download/v2023-07-21.1/rust-toolchain-x86_64-pc-windows-msvc.tar.gz'...
Extracting...
Downloaded toolchain x86_64-pc-windows-msvc to C:\Users\sssss\AppData\Roaming\cargo-wasix\toolchains\x86_64-pc-windows-msvc_v2023-07-21.1\rust
Activating rustup toolchain wasix at C:\Users\sssss\AppData\Roaming\cargo-wasix\toolchains\x86_64-pc-windows-msvc_v2023-07-21.1\rust...
error: Invalid toolchain directory: rustc executable not found at C:\Users\sssss\AppData\Roaming\cargo-wasix\toolchains\x86_64-pc-windows-msvc_v2023-07-21.1\rust\bin/rustc

Released a new version of cargo-wasix This should work fine now.
https://crates.io/crates/cargo-wasix
in version 0.1.21


Incorrect type of maximum_iterations argument in tfa.seq2seq.decoder causes runtime error.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Debian Stable
TensorFlow version and how it was installed (source or binary): 2.1 binary
TensorFlow-Addons version and how it was installed (source or binary): 0.8.1 binary
Python version: 3.7
Is GPU used? (yes/no): no

Describe the bug
Calling tfa.seq2seq.decoder.BaseDecoder with a tf.Tensor for maximum_iterations, which worked before, now results in
TypeError: type of argument "maximum_iterations" must be one of (float, int, float16, float32, int8, int16, int32, int64, uint8, uint16, uint32, uint64, NoneType); got tensorflow.python.framework.ops.Tensor instead

Other info / logs
The problem is caused by a faulty type annotation
  maximum_iterations: Optional[Number] = None,

Note that this annotation is also used in tfa.seq2seq.decoder.dynamic_decode.

Note that while tfa.seq2seq.decoder.BaseDecoder.__init__ is marked with @typechecked, tfa.seq2seq.decoder.dynamic_decode is not.

Thanks for reporting! The PR above should fix this one.


Some errors don't show up on rebuild

Assume this may be something to do with not having source span - seem module related

An example which surely can't be the one I ran across in the wild, because I am not a monster:
module Prim.Module2 where

z :: Int
z = 42

Build on save, no errors. Full build, a CannotDefinePrimModules error. This error comes with reasonable looking source position:
"filename":"src/Module1.purs","position":{"startLine":1,"startColumn":1,"endLine":1,"endColumn":26}

I have a feeling this check happens somewhere outside the rebuildModule machinery the ide server uses. Probably somewhere in figuring out the dependency graph.

Now this one I legitimately did hit on rebuild: https://github.com/purescript/purescript/issues/3949


Accessibility mode does not change dropdowns to classic

Describe the bug
When you select accessibility mode in the user settings, the drop downs in openEQUELLA remain as stylish select dropdowns.
To Reproduce
Steps to reproduce the behavior:

Log in to a non-admin user account.
Click on the user settings icon in the top right of the screen and select "My Preferences".
Set the "Accessibility mode" checkbox to checked.
Hit "Save".
Note that the dropdowns are still using stylish select.

Expected behavior
Accessibility mode is supposed to set the dropdowns to be just classic <select> tags, and did so in 6.6. This change also fails the AccessibilityModeTest in the autotest suite.
Platform:

OpenEquella Version: 2018.2
OS: Ubuntu 18.04.1
Browser Firefox

Verified in 2018.2


data is not fetched based on the where clause

Description

when i query this data in any other way i see the record for OrdernNo SO-10270, when i query the table without "where" clause and order the results i see the line for SO-10270 as well. Tying to make it "like" doens't help either.
Neither is the record shown if i query on any other of the fields.
DBeaver Version
<IP_ADDRESS>408041450
Operating System
windows 11
Database and driver
SqlExpress
Steps to reproduce
connect to the database
execute query SELECT * FROM MPM.vyncke.ProductionOrder PO WHERE po.OrderNo = 'SO-10269'
no result is shown.
in any other database viewer i get a result line.
Additional context

It's been a while since no update here. If the issue is still actual please let me know and provide requested information.


Feat/Add CoinFLEX Perpetual Connector

Before submitting this PR, please make sure:

[X] Your code builds clean without any errors or warnings
[X] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Add CoinFLEX Perpetual Connector
Includes some fixes for CoinFLEX Spot connector
Tests performed by the developer:
Unit tests included
Tips for QA testing:
Use staging environment

Hi, please resolve conflicts in this PR. Thanks!

When testing on perpetual market-making using coinflex_perpetual, we confirmed that the bot creates the initial orders to OPEN a position however when an order is filled it still continuously creating orders to OPEN with an error of ERROR - Unexpected error in user stream listener loop: conversion from NoneType to Decimal is not supported
On the recording below, we would notice that the filled orders are getting added to the existing position. Reviewing the log file, it does not show any instance of ...creating an order to CLOSE position
https://user-images.githubusercontent.com/73840223/163965071-04d550dc-5def-4c9a-9080-674d670c8047.mp4
On the screenshot below, we tried to check if the bot can retrieve the OPEN position but no go. It redo the same issue and with errors of Could not fetch account updates from Coinflex perpetuals. Check API key and network connection

Tried to reinstall the PR but still same results. Tested on AWS
Steps to reproduce:

Create simple perpetual market making strategy using coinflex_perpetual
Set spreads enough to enter trades
Monitor the bot behavior when about to OPEN position

Attached:
perp-coinflex.zip

Thanks @rapcmia @nikspz please try the latest commits

@TheHolyRoger the latest commit fixed the reported issue below. Testing still in progress, thank you!

When testing on perpetual market-making using coinflex_perpetual, we confirmed that the bot creates the initial orders to OPEN a position however when an order is filled it still continuously creating orders to OPEN with an error of ERROR - Unexpected error in user stream listener loop: conversion from NoneType to Decimal is not supported

When testing position retrieval after stop(or exit) and then starting the client again, there are instances that order is stuck on both client and exchange after getting filled to an OPEN position. On the screenshot below, there was a returning error Unexpected error in user stream listener loop and waited for a while (4mins) and still the same.

2022-04-21 06:25:59,224 - 25588 - hummingbot.connector.derivative.coinflex_perpetual.coinflex_perpetual_derivative - ERROR - Unexpected error in user stream listener loop:
Traceback (most recent call last):
  File "/home/ubuntu/github/5225/hummingbot/connector/derivative/coinflex_perpetual/coinflex_perpetual_derivative.py", line 665, in _process_user_stream_event
    await tracked_order.get_exchange_order_id()
  File "/home/ubuntu/github/5225/hummingbot/core/data_type/in_flight_order.py", line 283, in get_exchange_order_id
    await self.exchange_order_id_update_event.wait()
  File "/home/ubuntu/miniconda3/envs/hummingbot/lib/python3.8/asyncio/locks.py", line 309, in wait
    await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/github/5225/hummingbot/connector/derivative/coinflex_perpetual/coinflex_perpetual_derivative.py", line 644, in _user_stream_event_listener
    await self._process_user_stream_event(event_message)
  File "/home/ubuntu/github/5225/hummingbot/connector/derivative/coinflex_perpetual/coinflex_perpetual_derivative.py", line 665, in _process_user_stream_event
    await tracked_order.get_exchange_order_id()
  File "/home/ubuntu/miniconda3/envs/hummingbot/lib/python3.8/site-packages/async_timeout/__init__.py", line 55, in __aexit__
    self._do_exit(exc_type)
  File "/home/ubuntu/miniconda3/envs/hummingbot/lib/python3.8/site-packages/async_timeout/__init__.py", line 92, in _do_exit
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError

Tried to crosscheck binance_perpetual if getting the same issue but no go,
Steps to reproduce:

After getting an OPEN position, stop then start the client
Wait for the trade to CLOSE the position
Monitor the client on the next trade to OPEN position

Attached:
perp-coinflex.zip

Bot not able to pick up changes in the order book --live and status --live immediately if there is a movement in price and orders.
Steps to reproduce:

create and start a perpetual MM strategy using Coinflex perpetual as exchange
try to check order book --live

Expected:
Bot should be able to pick up all changes in the information immediately if there is a movement in price and orders.
Order book, best bid, best ask, mid price, last price on the bot should match with the exchange
Actual
Bot not able to pick up changes in the order book --live and status --live immediately if there is a movement in price and orders.

@nikspz that issue should be fixed now thanks
@rapcmia I'm waiting to be able to reproduce that issue

hi @TheHolyRoger thanks for the update, this is confirm that the issue below has been fix regarding the orderbook, status and ticker --live

Bot not able to pick up changes in the order book --live and status --live immediately if there is a movement in price and orders.

@TheHolyRoger
For CLOSE Stop-loss/take-profit orders:
order was created and filled as well but the client did not record it
Steps:

Create a perpetualMM strategy using coinflex perpetual as an exchange.
Set up tight spread to order get filled.
Set up tight stop-loss and take-profit spreads to reach it fast (example 0.2)
Start a strategy and wait for order filled and bot opens a position
Wait till bot close the position with stop-loss or take-profit order
Check history --verbose

Actual:
Bot not showing records for CLOSE positions trades and this trades not showing on the performance calculation at the bottom
Expected:
Bot showing all the trades including CLOSE positions,
fees for CLOSE positions matches with the exchange
All trades showing on the performance calculation, The Return % at the bottom
logs_conf_perpetual_market_making_1.log
conf_perpetual_market_making_1.txt
2022-04-27 06:57:26,001 - 4619 - hummingbot.strategy.perpetual_market_making.perpetual_market_making - INFO - Creating stop loss sell order to close long position.
2022-04-27 06:57:26,001 - 4619 - hummingbot.strategy.perpetual_market_making.perpetual_market_making - INFO - (DOGE-USD) Creating 1  LIMIT ask orders at (Size, Price): ['75 DOGE, 0.14253 USD'] to CLOSE position.
2022-04-27 06:57:31,172 - 4619 - hummingbot.connector.derivative.coinflex_perpetual.coinflex_perpetual_derivative - ERROR - Unexpected error in user stream listener loop:
Traceback (most recent call last):
  File "/home/ubuntu/coinflexperp/hummingbot/connector/derivative/coinflex_perpetual/coinflex_perpetual_derivative.py", line 665, in _process_user_stream_event
    await tracked_order.get_exchange_order_id()
  File "/home/ubuntu/coinflexperp/hummingbot/core/data_type/in_flight_order.py", line 283, in get_exchange_order_id
    await self.exchange_order_id_update_event.wait()
  File "/home/ubuntu/miniconda3/envs/hummingbot/lib/python3.8/asyncio/locks.py", line 309, in wait
    await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/coinflexperp/hummingbot/connector/derivative/coinflex_perpetual/coinflex_perpetual_derivative.py", line 644, in _user_stream_event_listener
    await self._process_user_stream_event(event_message)
  File "/home/ubuntu/coinflexperp/hummingbot/connector/derivative/coinflex_perpetual/coinflex_perpetual_derivative.py", line 665, in _process_user_stream_event
    await tracked_order.get_exchange_order_id()
  File "/home/ubuntu/miniconda3/envs/hummingbot/lib/python3.8/site-packages/async_timeout/__init__.py", line 55, in __aexit__
    self._do_exit(exc_type)
  File "/home/ubuntu/miniconda3/envs/hummingbot/lib/python3.8/site-packages/async_timeout/__init__.py", line 92, in _do_exit
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
2022-04-27 06:57:31,178 - 4619 - hummingbot.connector.client_order_tracker - WARNING - The order fill updates did not arrive on time for<PHONE_NUMBER>646001741. The complete update will be processed with incomplete information.
2022-04-27 06:57:31,178 - 4619 - hummingbot.strategy.perpetual_market_making.perpetual_market_making - INFO - (DOGE-USD) Maker sell order<PHONE_NUMBER>646001741 (75 DOGE @ 0.14253 USD) has been completely filled. [clock=2022-04-27 06:57:31+00:00]
2022-04-27 06:57:31,180 - 4619 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "4811651042646001741", "base_asset": "DOGE", "quote_asset": "USD", "base_asset_amount": "0", "quote_asset_amount": "0", "order_type": "OrderType.LIMIT", "exchange_order_id": "1002094333400", "event_name": "SellOrderCompletedEvent", "event_source": "coinflex_perpetual"}
2022-04-27 06:57:31,181 - 4619 - hummingbot.connector.client_order_tracker - INFO - SELL order<PHONE_NUMBER>646001741 completely filled.

Issue when using Hedge mode for perpetual MM strategy
Failed to check history --verbose
Steps:

Create a perpetualMM strategy using Hedge mode and coinflex perpetual as an exchange.
Set up tight spread to order get filled.
Set up tight stop-loss and take-profit spreads to reach it fast (example 0.2)
Start a strategy and wait for order filled and bot opens a position
Wait till bot close the position with stop-loss or take-profit order
Check history --verbose

Actual:
Bot not showing history,  ERROR - 'NoneType' object has no attribute 'creation_timestamp' showing
Expected:
Bot showing history, displays all filled trades, the executed order size and price should match with the logs and exchange
No errors showing
logs_conf_perpetual_market_making_3.log
conf_perpetual_market_making_3.txt
2022-04-27 08:37:48,908 - 8780 - hummingbot.client.hummingbot_application - ERROR - 'NoneType' object has no attribute 'creation_timestamp'
Traceback (most recent call last):
  File "/home/ubuntu/coinflexperp/hummingbot/client/hummingbot_application.py", line 205, in _handle_command
    f(**kwargs)
  File "/home/ubuntu/coinflexperp/hummingbot/client/command/history_command.py", line 62, in history
    self.list_trades(start_time)
  File "/home/ubuntu/coinflexperp/hummingbot/client/command/history_command.py", line 230, in list_trades
    df: pd.DataFrame = TradeFill.to_pandas(queried_trades)
  File "/home/ubuntu/coinflexperp/hummingbot/model/trade_fill.py", line 124, in to_pandas
    age = pd.Timestamp(int(trade.timestamp / 1e3 - trade.order.creation_timestamp / 1e3),
AttributeError: 'NoneType' object has no attribute 'creation_timestamp'
2022-04-27 08:38:05,001 - 8780 - hummingbot.strategy.perpetual_market_making.perpetual_market_making - INFO - (DOGE-USD) Creating 1  LIMIT ask orders at (Size, Price): ['75 DOGE, 0.14241 USD'] to CLOSE position.
2022-04-27 08:38:05,153 - 8780 - hummingbot.connector.client_order_tracker - INFO - Created LIMIT SELL order<PHONE_NUMBER>685001715 for 75 DOGE-USD.```

![image](https://user-images.githubusercontent.com/83953535/165501858-b040fd49-d340-4817-9fa1-3c80ce570d6f.png)

@TheHolyRoger please fix the PR according to QA's comments and resolve the conflicts as well. Thanks!

@nikspz @aarmoa Coinflex Perpetual doesn't support HEDGE mode, I've defined only ONEWAY in supported_position_modes as per the derivative standard, but now that I've looked through the codebase I can see that this function is not actually called anywhere inside the perpetualMM strategy - it shouldn't allow you to choose hedge mode.

@nikspz @rapcmia pushed a bunch of updates today, I'm struggling to reproduce your latest issues now but I've added more debug logging, so if you manage to get that error again send me the logs as usual and I should be able to fix it

@TheHolyRoger Thanks for the update. There are instances of the client getting Unexpected error in user stream listener loop while testing the retrieval of position. This can be reproduce by stopping the bot after getting a OPEN position and then relaunch or start again to check if it will create a exit order to CLOSE the position and wait until that order is filled. Noticed that it did not recorded the trade as well

2022-05-10 07:06:40,038 - 6213 - hummingbot.strategy.perpetual_market_making.perpetual_market_making - INFO - (XRP-USD) Creating 1  LIMIT ask orders at (Size, Price): ['2E+1 XRP, 0.5268 USD'] to CLOSE position.
2022-05-10 07:06:45,209 - 6213 - hummingbot.connector.derivative.coinflex_perpetual.coinflex_perpetual_derivative - ERROR - Unexpected error in user stream listener loop:
Traceback (most recent call last):
  File "/home/ubuntu/github/5225/hummingbot/connector/derivative/coinflex_perpetual/coinflex_perpetual_derivative.py", line 692, in _process_user_stream_event
    await tracked_order.get_exchange_order_id()
  File "/home/ubuntu/github/5225/hummingbot/core/data_type/in_flight_order.py", line 283, in get_exchange_order_id
    await self.exchange_order_id_update_event.wait()
  File "/home/ubuntu/miniconda3/envs/hummingbot/lib/python3.8/asyncio/locks.py", line 309, in wait
    await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/github/5225/hummingbot/connector/derivative/coinflex_perpetual/coinflex_perpetual_derivative.py", line 671, in _user_stream_event_listener
    await self._process_user_stream_event(event_message)
  File "/home/ubuntu/github/5225/hummingbot/connector/derivative/coinflex_perpetual/coinflex_perpetual_derivative.py", line 692, in _process_user_stream_event
    await tracked_order.get_exchange_order_id()
  File "/home/ubuntu/miniconda3/envs/hummingbot/lib/python3.8/site-packages/async_timeout/__init__.py", line 55, in __aexit__
    self._do_exit(exc_type)
  File "/home/ubuntu/miniconda3/envs/hummingbot/lib/python3.8/site-packages/async_timeout/__init__.py", line 92, in _do_exit
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
2022-05-10 07:06:45,215 - 6213 - hummingbot.connector.client_order_tracker - WARNING - The order fill updates did not arrive on time for<PHONE_NUMBER>400039009. The complete update will be processed with incomplete information.
2022-05-10 07:06:45,215 - 6213 - hummingbot.strategy.perpetual_market_making.perpetual_market_making - INFO - (XRP-USD) Maker sell order<PHONE_NUMBER>400039009 (20.0 XRP @ 0.5268 USD) has been completely filled. [clock=2022-05-10 07:06:45+00:00]

While monitoring the testbot using Oneway and screen recorded, noticed that the client was able to get a filled sell order at 00:25s and expecting to cancel the buy order and create a exit buy order again based on the set value for long or short_profit_taking_spread. However, it did not cancel the buy order and instead create a exit sell order to CLOSE the position.
https://user-images.githubusercontent.com/73840223/167577359-31fbe2ba-796a-4e4a-85b5-1ba30551be05.mp4
Noticed at 00:45s the buy order got filled and the client recognized it to CLOSE the position and the exit sell order was cancelled. The client the moves to create buy and sell order again to OPEN position.  Ran history --verbose --days 1 and noticed those orders that were not cancelled and getting filled are recorded as OPEN position. This was tested on AWS instance on a fresh clone/installation

Attached:
834096a.zip

@rapcmia I made a silly mistake in the previous commit which is fixed now, I'm struggling to reproduce your errors now.
@aarmoa there's one strange issue in @rapcmia last logs where the connector has NaN for self.current_timestamp - I'm not sure why that is? I don't see that here.

@rapcmia could you also change your connector log config to DEBUG please?

@TheHolyRoger upon testing met this bugs again:

When orders get filled bot constantly increases order amount. (using One-Way mode now).
*Bot keep open orders for both sides when position not closed.

logs_coinnewest.log
coinnewest - Config.txt
coinnewest.zip-configs-logs-and-data

Bot keep open orders when position not closed

order was created and filled as well but the client did not record it (However filled orders showing on exchange)
For CLOSE Stop-loss orders:

logs_conf_perpetual_market_making_5.log
perp5.zip

could it be exchange-related issue?
logs_coinper2.log
coinper2.zip

Failed to check history --verbose (heisenbug, showing but couldn't be reproduced in a hour)

logs_coinper3.log
coinper3.zip

@TheHolyRoger For the first issue logs hummingbot_logs.yml attached in zip and it's
        level: DEBUG
        handlers: [console_info, file_handler]
        ```
Is that correct?

@TheHolyRoger For the first issue (Bot keep open orders for both sides when position not closed.) hummingbot_logs.yml attached in zip and it's
    hummingbot.connector:
        level: DEBUG
        handlers: [console_info, file_handler]
        propagate: false

Is that correct?

Thanks @nikspz yeah you're right DEBUG was definitely on for your first log file.
I think I've tracked down the problem now but not completely sure I understand all the issues in your above screenshots. I know for sure some are knock-on effects.
Please give it a go with the latest commit, should at least fix a big part of the problem!

@TheHolyRoger Bot keep open orders for both sides when position not closed. (bot increases order amount.)
I put same strategy (using binance_perpetual) and put in Zip, may be used as a refference.
Steps:
Create a perpetualMM strategy using coinflex perpetual and One-way.
Set up tight spread for one side of open orders (config attached)
Wait for oneside order get filled.
Actual:

After order get filled Bot open two orders (sell and buy)
Also error mesages showing Error submitting order to Coinflex Perpetuals
unsupported operand type(s) for +=: 'decimal.Decimal' and 'NoneType' in the logs

Expected:
Bot create only one side of order to CLOSE position.
logs_conf_perpetual_market_making_6.log
Coinflex-16.05.2022.zip

Upon re-checking issue Bot keep open orders for both sides when position not closed. (bot increases order amount.) and still showing

@nikspz pushed some fixes, still running my own bot to see if I can reproduce these

Sorry I know that dismissed everyone's reviews but I forgot to remove some debug logging from the code! @nikspz @mhrvth @aarmoa
No need to perform tests again, simply removing 3 logging lines: https://github.com/hummingbot/hummingbot/pull/5225/commits/09f0e292e345f889190cf792316098c9a67b5bc5


Undo Button for Un-Merging Molecule Entries?

I was merging two molecule entries by accident and was unable to undo the action. This forced me to start over with my archive and redo some of the steps.
Would there be a way to make this process reversible? Another option would be to keep the old molecule entries and tag them for later analysis. Like 'partial trace' for the incomplete trace and 'merged' for the merged trace. I am manually marking traces that are merged with the 'merged' tag so I can quickly asses which ones were merged.
Thanks a lot!

Yes, I like the idea of keeping the unmerged molecule records. I think this is the easiest way to allow an undo. The merge command requires that you tag some records with a common tag to be merged. What tag do you use for that?
I think it makes sense to add partial trace for molecules that were merged and could be deleted. So we can implement that.
However, I am puzzled what is the best way to deal with merged molecules. We could certainly add the merged tag, but is that also the tag you use when merging or how do you do it?

For merging, I tag the molecules which I want to merge with 'merge' (2 or more sometimes). Then I get the newly merged trace and I change the tag to 'merged'. But this is very flawed because forgetting to change the tag will lead to merged molecule traces which a merged into another set of traces. In the past, I used the first five characters of the UID which made it unique but also more tedious.
Maybe after merging the tag could automatically change to 'merged'. Would that be an option?
Thank you!

Yes, I think it is a good idea to have the tag change automatically. I think maybe I would add options to the dialog for the final tag. Now I have a clear idea what needs to be done.


Rank check

Hey, at first: your plugin works very well with LuckPerms!
But I have a issue:
When I change the rank from a player, your plugin does not change the rank at the time. Later, if I reconnect, it will change the rank (or if I update the prefixes in LuckPerms). Can you fix that the plugin change the rank without reconnecting/without command?
And it is possible that you can start a spigot project and upload a .jar-file there or can you upload the .jar-file here?
Greetings
Minecraft_Tim

Could you please turn on debug mode for plugin (from configuration) and paste the server log?

Of course, wait a minute

Ahh, I found the mistake!
That mistake is only if I write /lpb user xyz parent add/remove xyz
But I want to use /lpb, because otherwise, the tablist shows not the new rang

Can you add a sync with /lpb please :)?

Shouldn't that be handled by LP sync functionality?
I haven't tested my plugin on network yet, because of network I'm developing this plugin for is not working yet :(

Principality yes, but she tablist shows then the old rang... :/

Maybe a plugin for the Bungee-session who register that command and update then the rank would be fine :/

Try this build.

And how do I compile the plugin?
You said sth about ./grandlew build...

Wait a secound

Link is in my previous comment.

No, sorry, I don't have a clue how to compile a plugin :C

Literally there was a link to plugin jar in my comment. I'll put it here again: https://0x0.st/kA0.jar

Nope, does not work. Maybe you need a listener for Bungee?

I think that you have to write a plugin for BungeeCord (as default) and a bridge/listener (spigot) and when sth change => change in Bungee (Tablist) and Spigot (Name)
You understand what I mean?

Well yes I clearly understand what you mean.
I expected that LuckPerms' PostSyncEvent would fire when stuff is changed on BungeeCord side and eventually would reach on classical servers.. As you can see I added listener for it.
I'm trying to solve this in easier ways, instead of light-handedly creating BungeeCord version of this plugin and making it communicate with backend servers; as that would kill simplicity of my plugin's code. If I'll get more time I will look into this.

Ok, I understand you completely!!
Good luck! :/

According to my testing, network sync works perfectly, just lags behind about 10 seconds (at worst).
BungeeCord log snip: https://paste.wut.ee/gisabetoto.sql
Backend server log snip: https://paste.wut.ee/ewedodatol.sql
Make sure you have working synchronization and you will be okay.

That fit!
But /lpb user xyz parent add (or remove)  will not change the nametag...

That now depends on your permissions setup. Make sure your rank weights are set properly :wink:

That works correctly!!
Maybe, if you want, I invite you to my server so you are able to see what I mean

Sure.

3:30pm?
IP: <IP_ADDRESS>

Issue solved by turning on plugin messaging in LuckPerms configuration.

Thamms for helping!!


Add Cython to RTD requirements.

It seems h5py needs it and pip fails to pick up the dependency.

Current coverage is 100.00%

Merging #103 into master will not affect coverage as of 54b0aad

@@            master    #103   diff @@
======================================
  Files           29      29
  Stmts          956     956
  Branches         0       0
  Methods
======================================
  Hit            956     956
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 54b0aad

Powered by Codecov. Updated on successful CI builds.


Produce error on unrecognized command-line args

Partially resolves #172
Output an error message and exit the program if there are any unrecognized command-line args or any unrecognized parameters in the config file.
A new class is created: AllowedArgs. This class contains sets that define which arguments are allowed for each executable. It also defines a function for each of the executable types. These functions are passed in as a new required argument to the ParseParameters method in util.cpp.
All tests are updated to use allowed arguments. A new test is created which exercises parsing an invalid argument.
Several custom error messages for invalid args are removed, since the checking is now done earlier in the program execution.
In order to determine the set of allowed arguments, I primarily looked at the help documentation in the following locations:

bitcoind: init.cpp
bitcoin-qt: qt/utilitydialog.cpp (combined with the bitcoind args)
bitcoin-cli: bitcoin-cli.cpp.
bitcoin-tx: bitcoin-tx.cpp.

In addition, I grepped through the codebase using the following searches:

grep -r --exclude-dir=test -E "Get(Bool)?Arg\(\"\S*" .
grep -r --exclude-dir=test -E "map(Mutli)?Args.*?\"" .

Using these searches, I found 2 additional allowed arguments: "excessiveblocksize", and "use-thinblocks". I added help documentation to init.cpp for "use-thinblocks".
This change also fixes 2 related issues that came up:

Add support for a "-version" argument to bitcoin-tx. This standardizes the set of help arguments across all executables.
In qt/bitcoin.cpp, define BitcoinApplication before parsing the command-line options. This allows for any command-line parsing error messages to be shown in a gui window. This also fixes a bug that prevented the 'uiplatform' argument from taking effect if it was specified in the config file.

This change only checks for unrecognized args, it does not do any type checking on the values of the arguments. This is already quite large, so I wanted to limit the scope somewhat. However, it is designed such that adding support for type checking should be do-able without a major redesign - most of the future changes will simply need to be made to the AllowedArgs class.

Awesome!
I'm travelling for the rest of the week, so please be patient with this one.

While I was away the teamcity CI was turned off, I just started it up and this PR got an all green.


Input deserialization errors script

This script doesn`t seem to work.
// Shows errors caused due to malformed events that could not be deserialized by the job.
// To create an alert for this query, click '+ New alert rule'
AzureDiagnostics
| where ResourceProvider == "MICROSOFT.KEYVAULT" and parse_json(properties_s).DataErrorType in ("InputDeserializerError.InvalidData", "InputDeserializerError.TypeConversionError", "InputDeserializerError.MissingColumns", "InputDeserializerError.InvalidHeader", "InputDeserializerError.InvalidCompressionType")
| project TimeGenerated, Resource, Region_s, OperationName, properties_s, Level, _ResourceId
properties_s and Region_s seem to be the problem.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 65868641-5468-811b-ab2f-e6d977c39299
Version Independent ID: bdbaea0f-af9f-e1fb-acd7-b5015731d16a
Content: Monitoring Azure Key Vault
Content Source: articles/key-vault/general/monitor-key-vault.md
Service: key-vault
Sub-service: general
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@DavidCookLIG

@msmbaldwin
Can you please check and add your comments on this doc update request as applicable.

I was able to get this query to work. Could you provide us an error message? #please-close


Write motd to the room topic

Nvm, the rooms I tested with just don't have motds m(

FYI the channel topic is written to room topic, if a channel has a MOTD it's implemented as a notice or something from a service/bot which is likely written to the network room.


bugfix: CIFuzz fail due to timeout on FuzzReadExperimentFile

Since we're testing for non-existent files in our unit tests, we'll skip the unnecessary tests.

Proposed changes
delete redundant code in FuzzReadExperimentFile: We are testing for a file that doesn't exist in our unit test.
If the timeout is consistently over 25 seconds, we want to delete FuzzReadExperimentFile test case.
Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

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

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[ ] I have signed the commit for DCO to be passed.
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

Dependency

test: add fuzz test in chaoshub/handler

Special notes for your reviewer:

Currently, the following commands are used when running CIFuzz

/github/workspace/build-out/FuzzReadExperimentFile -timeout=25 -rss_limit_mb=2560 -len_control=0 -seed=1337 -artifact_prefix=/tmp/tmprxp861gc/ -max_total_time=4 -print_final_stats=1 /github/workspace/cifuzz-corpus/FuzzReadExperimentFile >fuzz-3.log 2>&1
timeout value is currently set to 25

The FuzzReadExperimentFile function has a common timeout (37s) that sometimes causes the CIFuzz to not pass.

can you check a build-pipeline?

@namkyu1999 I've removed the FuzzReadExperimentFile testcase because it was consistently timing out, thank you.

Can you also fixing the existing failure cases @sypark9646 ?

Okay, I'll get started on this.
When I checked, the FuzzProcessExperimentRunDelete function also timed out.
Also, the following error occurred in the FuzzTestGetEnvironment function.
/github/workspace/build-out/FuzzTestGetEnvironment -timeout=25 -rss_limit_mb=2560 -len_control=0 -seed=1337 -artifact_prefix=/tmp/tmp0k7_f226/ -max_total_time=4 -print_final_stats=1 /github/workspace/cifuzz-corpus/FuzzTestGetEnvironment >fuzz-3.log 2>&1
================== Job 3 exited with exit code 77 ============
INFO: Running with entropic power schedule (0xFF, 100).
INFO: Seed: 1337
AddressSanitizer:DEADLYSIGNAL
=================================================================
==881==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x56439db9d850 bp 0x7ffff020cb90 sp 0x7ffff020cb60 T0)
==881==The signal is caused by a READ memory access.
==881==Hint: address points to the zero page.
SCARINESS: 10 (null-deref)
    #0 0x56439db9d850 in operator() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp:413:11
    #1 0x56439db9d850 in IterateCounterRegions<(lambda at /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp:412:25)> /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerTracePC.h:165:9
    #2 0x56439db9d850 in fuzzer::TracePC::ClearInlineCounters() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp:412:3
    #3 0x56439db82223 in ResetMaps /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerTracePC.h:87:5
    #4 0x56439db82223 in fuzzer::Fuzzer::Fuzzer(int (*)(unsigned char const*, unsigned long), fuzzer::InputCorpus&, fuzzer::MutationDispatcher&, fuzzer::FuzzingOptions const&) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:145:7
    #5 0x56439db73d13 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:815:17
    #6 0x56439dba0af2 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
    #7 0x7f8b5f1f5082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: 0702430aef5fa3dda43986563e9ffcc47efbd75e)

DEDUP_TOKEN: operator()--IterateCounterRegions<(lambda at /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp:412:25)>--fuzzer::TracePC::ClearInlineCounters()
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp:413:11 in operator()
==881==ABORTING
stat::number_of_executed_units: 0
stat::average_exec_per_sec:     0
stat::new_units_added:          0
stat::slowest_unit_time_sec:    0
stat::peak_rss_mb:              41


Remove some warnings related to protected module usage.

PR to remove some warnings related to invariant usage - also remove some unused imports.

Great, thanks! I'll have a peek and merge this in today
On Mon, Aug 3, 2015 at 4:40 AM, admmasters<EMAIL_ADDRESS>wrote:

PR to remove some warnings related to invariant usage - also remove some unused imports.
You can view, comment on, or merge this pull request online at:
https://github.com/corymsmith/react-native-icons/pull/74
-- Commit Summary --

Remove dependence on invariant and shim an assert.
Add react-native-0.9.0-rc to package.json.
Remove some unused dependents from FAKIconImage.ios.js
-- File Changes --
M FAKIconImage.ios.js (11)
M package.json (2)
A shim-assert.js (14)
-- Patch Links --
https://github.com/corymsmith/react-native-icons/pull/74.patch
https://github.com/corymsmith/react-native-icons/pull/74.diff

Reply to this email directly or view it on GitHub:
https://github.com/corymsmith/react-native-icons/pull/74

Thanks @admmasters!


Cow: Watch printercare24x7.com

Cow requests the watch of the watch_keyword printercare24x7\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

printercare24x7\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Dragonrage in Charcoal HQ


Cannot bypass getters with TypeScript

Reproduction
https://stackblitz.com/edit/github-xe2cxw?file=src%2Fstores%2Fcounter.test.ts
Steps to reproduce the bug
Given the following code:
import { defineStore } from 'pinia';
import { createTestingPinia } from '@pinia/testing';

const useStore = defineStore('lol', {
  state: () => ({ n: 0 }),
  getters: {
    double: (state) => state.n * 2,
  },
});
const pinia = createTestingPinia();
const store = useStore(pinia);

store.n++;
store.double = 3;

Expected behavior
TypeScript should not complain.
Actual behavior
TypeScript raises the following error:
TS2540: Cannot assign to 'double' because it is a read-only property.

Additional information
This is to be able to mock getters in tests
https://pinia.vuejs.org/cookbook/testing.html#mocking-getters

Why would you assign to a getter? It's a getter, it has not setter.
TS is warning you correctly here. if you want to do this for some exotic reason: //@ts-expect-error

Sorry I forgot to mention that it was to be able to mock getters in tests
https://pinia.vuejs.org/cookbook/testing.html#mocking-getters

By the way TypeScript complains about this error for Pinia's test file :
➜ ./node_modules/.bin/tsc packages/testing/src/testing.spec.ts
[…]
packages/testing/src/testing.spec.ts:217:11 - error TS2540: Cannot assign to 'double' because it is a read-only property.

217     store.double = 3
              ~~~~~~

I think we made the getters read only at some point because its easier to spot bugs.
A possible solution for this is to have some kind of wrapper when calling useStore but still not ideal. At the moment, a ts-expect-error comment in tests will do but maybe we can come up with a more ergonomic solution

Can we have an update for the docs at least to mention this issue?

I adjusted the mockedStore implementation in the docs & made the getters writable in typescript. This seems to work quite fine.
type Writeable<T> = { -readonly [P in keyof T]: T[P] };

function mockedStore<TStoreDef extends () => unknown>(
  useStore: TStoreDef,
): TStoreDef extends StoreDefinition<infer Id, infer State, infer Getters, infer Actions>
  ?
      | Exclude<
          Store<
            Id,
            State,
            Getters,
            {
              [K in keyof Actions]: Actions[K] extends (...args: infer Args) => infer ReturnT
                ? // 👇 depends on your testing framework
                  Mock<Args, ReturnT>
                : Actions[K];
            }
          >,
          _StoreWithGetters<Getters>
        >
      | Writeable<_StoreWithGetters<Getters>>
  : ReturnType<TStoreDef> {
  return useStore() as any;
}

const mockedCounterStore = mockStore(useCounterStore);

I forgot to update the docs with the Getters, it's fixed now! See 7218691


How to change language when using PDF.js Viewer?

I am using pdf.js viewer.html to display PDFs. PDF.js used to have an option of passing 'locale' as a hash parameter to the viewer, but that has been removed. I went through all the issues, but could not find a proper reason why that was done. Why was 'locale' hash parameter removed?
Given that 'locale' hash parameter is long gone, how to implement localization for pdf.js viewer?

I went through all the issues, but could not find a proper reason why that was done. Why was 'locale' hash parameter removed?

See #4954.

Given that 'locale' hash parameter is long gone, how to implement localization for pdf.js viewer?

Assuming that you're referring to the default viewer, i.e. https://github.com/mozilla/pdf.js#online-demo, then you'll need to set the locale before the viewer has been initialized which can be done with e.g.
document.addEventListener("webviewerloaded", function() {
  PDFViewerApplicationOptions.set("locale", "localeCode-here");
});

See also https://github.com/mozilla/pdf.js/wiki/Third-party-viewer-usage, and please keep the following in mind http://mozilla.github.io/pdf.js/getting_started/#introduction (emphasis mine):

The viewer is built on the display layer and is the UI for PDF viewer in Firefox and the other browser extensions within the project. It can be a good starting point for building your own viewer. However, we do ask if you plan to embed the viewer in your own site, that it not just be an unmodified version. Please re-skin it or build upon it.

Thanks @Snuffleupagus
I tried to set the locale by adding an event listener as you suggested, but the function inside the listener is never called.
document.addEventListener("webviewerloaded", function() {
    PDFViewerApplicationOptions.set("locale", "it");
    console.log("webviewerloaded event listener function called!");
});

var iframeElem = document.getElementById("iframe-el");
iframeElem.src = "http://sample.com/pdfjs/viewer.html?file=sample.pdf#pagemode=none";

I debugged the code to make sure that event listener is added before the event is dispatched, and that happens in the right order. Is there something else that needs to be done besides this?

Edit: Also it would be great if the page https://github.com/mozilla/pdf.js/wiki/Third-party-viewer-usage could be made accessible for anyone from the Wiki section's main page: https://github.com/mozilla/pdf.js/wiki.

This is done now. Thank you for the suggestion.

Thanks Tim

Based on https://github.com/mozilla/pdf.js/issues/12067#issuecomment-655791086, this looks like a duplicate of issue #11829 which is fixed in the (current) pre-release; see https://github.com/mozilla/pdf.js/releases
More generally though, when opening an issue please make sure to always provide all of the information requested in ISSUE_TEMPLATE.md upfront to both save time and to get better answers :-)

Thanks @Snuffleupagus
I apologize for omitting some important details in my first question. I thought that was insignificant, but do realize now that was not the case. I will take care from next time :)

I was able to verify that v2.5.207 fixes this issue.
Do we know (approximately) when this release will be declared stable?

For anyone else looking for this answer, maybe the code changed since 2020, but now you have to do:
document.addEventListener("webviewerloaded", function() {
PDFViewerApplicationOptions.set("localeProperties", {lang:"ja"});
});
I tried "lang" and "locale" variants with just "ja", and they don't work.

对于其他正在寻找此答案的人来说，代码可能自 2020 年以来发生了变化，但现在您必须执行以下操作：
document.addEventListener("webviewerloaded", function() { PDFViewerApplicationOptions.set("localeProperties", {lang:"ja"}); });
我尝试了仅使用“ja”的“lang”和“locale”变体，但它们不起作用。

thank you bro


Not working on Firefox OS Emulator 2.0

Hello, I've setup the Dexie on my Firefox mobile app project. It works fine when I open the app in Browser (Chrome and Firefox) but doesn't work (doesn't show anything in Storage section) when I run it in Firefox OS as an app.
App has privileged permissions so that shouldn't be issue. Any ideas??

Could you debug the app and see if any exception occur (try F12 and check the debugger to stop on caught exceptions)

Hello, Thanks for reply. I checked with debugger, there's no error.

Hello, I figured our that the issue was with the Firefox OS simulator. It was not showing me the records on the Storage tab but the data was there. I wrote get query and it pulled back added data.


Schedule Deneb for Mainnet

As discussed in https://github.com/ethereum/pm/issues/951, schedule Deneb for epoch 269568.

https://github.com/ethereum/EIPs/pull/8173

Shoutout to http://beatscribe.com/ as well, for the Nimbus ASCII art


[#1805] Add logic to EntityViewManager and ProxyFactory to maintain e…

Fixes #1805

Would be great to have this on the main branch to be able to test it all together!


What is the meaning of (Check(= .. ..)).

I'm just getting started and am trying to understand what (check (= .. ..)) means, for example:
(datatype Math (Num i64))
(fail (check (= (Num 1) (Num 1))))

(check (= t1 1))

Both tests succeed. I expected (Num 1) to equal (Num 1) and because t1 is unbound I expected it to not be equal to 1. Can someone explain why they're passing? thanks.

moved question to zulip.


False positive when the browser is in one language and the web pages are in another language

CreepJS has a false positive when the browser is in one language and the web pages are displayed in another language.

lies (1):

Navigator.language:

1 dollar des États-Unis locale and 1 US dollar language do not match

My browser is in French (the language of the menus), but the web pages are displayed in English (Accept-Language: en-US,en;q=0.9,fr-FR;q=0.8,fr;q=0.7).

navigator.language;
// "en-US"

(1).toLocaleString(undefined, {
    style: 'currency',
    currency: 'USD',
    currencyDisplay: 'name',
    minimumFractionDigits: 0,
    maximumFractionDigits: 0,
});
// "1 dollar des États-Unis"

There are bugs in Chromium, it doesn't use navigator.language as default language:

Stack Overflow - Why Chrome Date .toLocaleString() seems not to use windows.navigator.language?
Chromium Bug Tracker - tolocaledatestring type:bug

Issue 1095660: Date.prototype.toLocaleDateString() does not default to navigator.language when it is en-ZA

Thank you for reporting. I will look into it.

I'm removing this detection. It should no longer impact the score.


[Bug]: Misleading Python SDK readme

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Version or Commit ID
v0.4.0
Other environment information
No response
Actual behavior and How to reproduce it
The imported module is infinity-embedded.
Expected behavior
The module to import ought to be Infinity.
Additional information
No response

https://pypi.org/project/infinity-embedded-sdk/

infinity-sdk and infinity-embedded sdk should have different README.


Externalize SetDefaultProperties

pg1/1806

@bjustin-ibm - ready for review/merge please.  another simple method extern.


Get-Volume : Parameter set cannot be resolved using the specified named parameters.

I'm receiving this message:

Proposed code change that works on my machine: #234


v4

[x] Update deps & WDIO
[x] Finish ESM / CJS approach
[x] Auto-download Chromedriver
[x] Move example package into repo => integration tests
[x] Improve API interface wrt types
[x] Jest => Vitest
[x] Fix existing unit tests
[x] Fix existing unit tests on CI
[x] Integration tests running on CI
[x] CI on all platforms
[x] Fix Integration tests running on CI
[x] Fix Windows CI build
[x] Add workaround for #50
[x] Fix pre-push hook
[x] Update ESLint config, fix issues
[x] Update docs (chromedriver handling)
[ ] Add unit tests for Chromedriver auto-download
[ ] Add error case & test for no chromedriverCustomPath or electronVersion set
[ ] Update docs (API)
[ ] Test chromedriver download failure
[ ] Test on Intel Mac

Thanks for your efforts.
In service.ts there is a
`const chromeArgs = [];
if (isCI) {
  chromeArgs.push('window-size=1280,800');
  chromeArgs.push('blink-settings=imagesEnabled=false');
  chromeArgs.push('enable-automation');
  chromeArgs.push('disable-infobars');
  chromeArgs.push('disable-extensions');

  if (process.platform !== 'win32') {
    chromeArgs.push('no-sandbox');
    chromeArgs.push('disable-gpu');
    chromeArgs.push('disable-dev-shm-usage');
    chromeArgs.push('disable-setuid-sandbox');
  }
}`

I understand that it's a workaround for  "DevToolsActivePort file doesn't exist". But in my case for example we don't have any issue in Gitlab but the line chromeArgs.push('blink-settings=imagesEnabled=false'); makes images disabled. But we prefer that images remain enabled. Because of screenshots in reports. With the way it currently works, there isn't any option to edit these arguments. So do you think that we can also make this thing optional in V4 ?

@m4hdyar You can probably override this in the current version by specifying 'blink-settings=imagesEnabled=true' in appArgs but all the integration tests pass without so I think I will just delete this option and let people specify it in appArgs if required.

@m4hdyar You can probably override this in the current version by specifying 'blink-settings=imagesEnabled=true' in appArgs. I just removed it on this branch and the integration tests pass without so I think I will just delete this option and let people specify it in appArgs if required.

Thanks 👍 I also think letting people decide about these options are better, even animation or window size. Because there isn't any possibility to override them.
I've already tried your suggestion but it didn't work. So I'm currently deleting CI environment variables in onPrepare to bypass ci-info as a workaround.

Congrats on this excellent piece of work 👏 Amplified it on Twitter: https://twitter.com/webdriverio/status/1627087065283440641


Add install note for fswatch

This also moves the isAvailable() check so that it's called before the Watch instance is created.
Although, as isAvailable() was a public method, I'm not sure if it was intended to be used elsewhere. If this is the case, I'll revert that.
Closes #6

Fell free to work directly on the master buddy.

I don't think I had push access. But will look again.

@owenvoke You should have access now.


(Bug) #782 add to home screen pop is shown on installed webapp on ios

Description
standalone/fullscreen state should be detected correctly
add to home doesnt show on installed webapps
fix the way of detecting standalone app running to work correctly
About #782
How Has This Been Tested?
You should use ios device/simulator.
register/login to the app.
you will see the 'add app icon to home screen' popup.
click 'add icon' button.
you will see another popup with explanations of further steps - follow them.
the app should be added to home screen.
open it.
go to sign-in screen.
click to recover by pass-phrase.
paste valid mnemonic.
you will be redirected to dashboard and the addWebApp popup shouldnt be shown in standalone app.
Checklist:

[x] PR title matches follow: (Feature|Bug|Chore) Task Name
[x] My code follows the style guidelines of this project
[x] I have followed all the instructions described in the initial task (check Definitions of Done)
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have added reference to a related issue in the repository
[x] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[ ] I have added screenshots related to my pull request ( for frontend tasks)
[x] I have pasted a gif showing the feature.
[x] @mentions of the person or team responsible for reviewing proposed changes

Video: https://www.screencast.com/t/65igbkL8WBPl

@AlexeyKosinski don't you see that the popup doesn't look good?

@AlexeyKosinski don't you see that the popup doesn't look good?

Yes, I see.. but I think it is not related to this task. I think we need to create a new one


ci(docs): build docs preview for prs

Resolves #26
Changed:

Deploy main branch using an action and exclude the pr-preview folder

Added:

Preview action

Good to go


Include "publish" as one of the tasks completed

@andresnava : Thanks for your contribution to the Azure documentation! The author, @ggailey777, has been notified to review your proposed change.

Thanks @andresnava! #sign-off