Added possibility to pick between use and useFirst

closes https://github.com/syntax-tree/nlcst-emoticon-modifier/issues/3

Hey @wooorm ! What about this? So this allows the use to pick between use and useFirst. Instead of modifying the plugin to 1 behavior this will allow me to test it in production for a while. I'm going to use this branch to see on the short/medium term what is the impact of it. If that's fine with you we can merge it. Or else, we can wait a few week so that I have more production data about it to find edge cases, and then pick afterwards.
To me it seems like the best combination so far is useFirst for emoji and use for affix & emoticon.

Heya! This seems like it’ll only be useful for now, while trying this out locally. So I don’t think it really makes sense to merge it and maintain it in the future as well?
Aside: did you know you can link local npm packages?

@wooorm yeah I know, but my experience with link has always been a bit flaky! And it doesn't make it as easy when deploying.
So using use for emoticon seems to be working well so far. I think we could just change it.

Alright, then lets try that instead?! If the tests pass, I’m fine with it!

Maybe I missed your comment, but how did it go?

@wooorm so I found another issue with another link. So sadly useFirst doesn't fix everything. So I'll need to find time to do a better fix for emoticon.

Oh what a pity, I had high hopes!
Thanks for still working on this! 🍻


Error org.freedesktop.DBus.Error.UnknownMethod

I have seen there a lot of people got the same issue(but seems not work for me), and I hope if anyone could help me with this issue.
I tried sudo sh ~/Downloads/crouton -n xenial -u but it won't help.
Thanks a lot!!!
Env info

Samsung chromebook pro
ChromeOS 64.0.3282.190 (stable)

sudo startunity

Please describe your issue:
After I start the unity in shell ,  I will get a desktop with nothing on it , no menus, no icons, only the wallpaper.
log shows below:
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sat Mar 31 00:48:26 2018
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Error org.freedesktop.DBus.Error.UnknownMethod: Method "ReleaseDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Error executing command as another user: Not authorized
This incident has been reported.
crouton: version 1-20180329190032~master:d287904a
release: xenial
architecture: amd64
xmethod: xorg
targets: unity
host: version 10176.76.0 (Official Build) stable-channel caroline
kernel: Linux localhost 3.18.0-16387-g09d1f8eebf5f #1 SMP PREEMPT Sat Feb 24 13:34:10 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output DP1 is not disconnected but has no modes
xrandr: Output DP2 is not disconnected but has no modes
xrandr: Output HDMI1 is not disconnected but has no modes
xrandr: Output HDMI2 is not disconnected but has no modes
Kicking xrandr again
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output DP1 is not disconnected but has no modes
xrandr: Output DP2 is not disconnected but has no modes
xrandr: Output HDMI1 is not disconnected but has no modes
xrandr: Output HDMI2 is not disconnected but has no modes
Kicking xrandr again
(II) AIGLX: Suspending AIGLX clients for VT switch
Error org.freedesktop.DBus.Error.UnknownMethod: Method "TakeDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist
If known, describe the steps to reproduce the issue:
Just run sudo startunity

@WoodrowDay,
You may be running into this issue:

Can't Initialize ubuntu with crouton #3375

A fix for this has been merged:

Use updated dbus method calls #3378

If this is your issue then a crouton update should get you back in business.
Hope this helps,
-DennisLfromGA


Make local build script more robust

Description
I had problems with the new build_image.sh, so I tried to make it nicer according to the following:

Why isn’t the ${PLATFORM} double quoted? The simplest shellcheck complains about that.
PLATFORM  as an env is a bit sketchy, as it’s not very specific, and it may be set for other reasons in certain envs. (like mine 🤦 )
build_image.sh is only used for development. (if you search for the file name in the codebase, nothing really comes up)
the CI uses a different logic to build

How can this be tested?
PLS test it in your environment.
Checklist

~[ ] Unit tests have been updated/added~
[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.82%.  Consider uploading reports for the commit 62634f4 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2868   +/-   ##
=======================================
  Coverage   66.82%   66.82%
=======================================
  Files         253      253
  Lines       13787    13787
=======================================
  Hits         9213     9213
  Misses       3767     3767
  Partials      807      807

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Updated styles

Coverage decreased (-3.7%) to 85.347% when pulling e064fdcbe3f8d4f42f93dbd139be45243e234013 on dev into 42f37f148e3c107745d6bc15ace9bc4c478d2b03 on master.


How to mute user stories/posts?

Thanks for the great library guys, I have a one general question though. How can I mute someone's posts and stories using Instagram API?

Take a look at ig.friendship.mutePostsOrStoryFromFollow.

@CryogenicPlanet, not sure if you're still working on this, or you figured it out yourself, but for any other sorry souls hitting this thread, I found it to work when I used the following:
const user_id = user_id_like_to_mute.pk;

await ig.friendship.mutePostsOrStoryFromFollow({
  mediaId: null,
  targetReelAuthorId: user_id,
  targetPostsAuthorId: user_id,
});

@CryogenicPlanet, not sure if you're still working on this, or you figured it out yourself, but for any other sorry souls hitting this thread, I found it to work when I used the following:
const user_id = user_id_like_to_mute.pk;

await ig.friendship.mutePostsOrStoryFromFollow({
  mediaId: null,
  targetReelAuthorId: user_id,
  targetPostsAuthorId: user_id,
});

When I run this code, it seems that only Posts is muted, not Stories. I'm looking at the User page on android app after tapping on Following button.
It seems it might be needed a parameter similar to "targetStoriesAuthorId"

That’s weird. It worked for both stories and posts for me. You can see my code here (beware it is absolute garbage but it got the job done 🙃): https://github.com/BKDaugherty/ig-mute


Clarify training documents

I made some small changes:

Training 3: Removed most of the sections about USE_FIFO_FOR_PIPELINE_REG
Training 2: Added a line to explain that SmartHLS doesn't create extra logic to reset the RAM content
Clarified some readme paths to match the github directories

If the users follow the instructions in 'Prerequisites' to download the main.zip from github, the content will be extracted to a folder named , so the paths in readme.txt should be
cd /cygdrive/c/Workspace/fpga-hls-examples-main/Training2/Libero/
What do you think?

Reviewed the document updates, looks good! Thanks!

Ok thanks I updated the example path to main


(WIP) More flexible image export handling for extensions.

There are now several GLTF extensions for alternate image formats like KHR_texture_basisu and  EXT_texture_webp. It would be nice to add support for these to to other addons built against this extension without them having to duplicate the node traversal and channel combination/remapping logic already implemented in ExportImage.
This is a quick attempt at abstracting things just enough to allow that. I am not particularly happy with this solution but I think its a useful starting point for discussion.
Using this in the Hubs Blender Exporter to support .hdr (which blender already natively understands) files on lightmaps like this:
https://github.com/MozillaReality/hubs-blender-exporter/blob/76579e38ad2b3ad6768eef7b1acf575b2fe4302d/gather_properties.py#L181-L193
https://github.com/MozillaReality/hubs-blender-exporter/blob/76579e38ad2b3ad6768eef7b1acf575b2fe4302d/gather_properties.py#L215
For formats Blender does not already natively support you could instead completely override encode(mime):
ImageData.extension_for_mime["image/ktx2"] = ".ktx"
class BasisExportImage(ExportImage):
    def preferred_mime_type(self) -> str:
        return "image/ktx2"

    def encode(self, mime_type: Optional[str]) -> bytes:
        # use self.fills to generate a ktx2 image
        return bytes()

Again this feels a bit messy and its stretching the ExportImage abstraction quite a bit, but hopefully serves to show what an addon might want to be able to do. It would likely be a better solution to pull out the bits of gather_image and ExportImage that are generically useful and have the addon call those instead, skipping gather_image entirely, but I wanted to start with a more direct approach just to see the minimal set of changes needed.

Some related issues I ran into while looking into this: #1234 #1308

For comparison, this is the same thing but built against the existing exporter without modification. In many ways its cleaner, but there is some code duplicated (namely __encode_from_image) and I am intentionally skipping many edge cases (unsaved image, compositing multiple image channels, input images in a different format than export format) that ExportImage handles.
https://github.com/MozillaReality/hubs-blender-exporter/blob/hdr-lightmaps/gather_properties.py#L177


Add pagination to Contacts API

Some Android phones struggle to load many contacts at once. Would it be possible to add pagination to getContactsAsync?

We're working on that right now. Will be available in the next release.

We released this today, check out the new docs.


Debug console crash when getting autoloaded node at the top of the file

In my project that was made in 1.1 I was sometimes fetching autoloads to the member  reference variable at the declaration line (basically almost at the top of the file, not in any function). This in Godot 2.0 Alpha (b59c86f6f953ce6957bccbcc1ec6f3ce4c55572d) is causing crash of debug console, so in the end when game crashes there is no indicator why.
I'm unable to reproduce this in every project (on simple ones it works fine for me), but I modified platformer 3d demo in the way it's behaving like this. (In the demo there is an Autoload that causes crash because of calling funcion on null, after couple seconds from running it).
Steps:

Download sample project
Load editor with the project
Run it instantly.
Project will crash in a couple seconds and there will be no indication on why (hopefully)

Anyway here is sample project:
https://dl.dropboxusercontent.com/u/168251/godot/some/issues/platformerDebugConsoleCrash.7z
Here is one minute video from my experimentation, first part with debug console crash, second part with fix: https://youtu.be/F4t756bWS9I
Further observations:
In other project, when I was trying to pause game with breakpoint and debug (which is possible for some time before console crash) I was able to see an error that there is no such node like "/root/global" (at the time when given node should be fetchable)
Also it seems that this bug is not easy to reproduce and might be related to performance somehow. It's harder for me to reproduce with release_debug compilation flags... (but still possible).
Because of that I think this bug should not be labeled as 2.0 milestone, until more people will have it.

I'm not sure if this is a bug, this will not work because node is not on the scene yet
var autoloaded = get_node("/root/Autoloaded")

Closing since @reduz is right. Remember that I was using this kind of code in 1.1 but this feature is not documented and by the logic should not work just like reduz said.

@reduz  From the other side the issue was about debug console not the game crash itself. But since the bug is really hard to reproduce I will leave it closed until I will find better way to reproduce it.


Latest compiler failing with bad path error. (Windows)

Just downloaded the version built 22 hours ago. Now getting this:

Yeah, dir separator should be a backslash in Windows.
I've pushed a fix. Can you please download new version and try again? Thanks for reporting!

Thanks for testing. I'm closing this issue.


Add Deserializer

Description
Adds the Deserializer base class.
Checklist

[x] Self-review changes.
[x] Evaluate impact on the documentation.
[x] Ensure test coverage. (will be covered in tests of its implementations)
[x] Write new samples.

Using this as testing grounds for the clang-tidy fix


Add default container annotation to Pod

What this PR does / why we need it:
Add default container annotation to virt-launcher Pod for kubectl logs <vmi-pod> to display logs without specifying container.
Special notes for your reviewer:
Release note:
Users now don't need to specify container for `kubectl logs <vmi-pod>` and `kubectl exec <vmi-pod>`.

/retest

/retest

/retest

/lgtm

/ok-to-test
/retest

/retest


Implement base64 images

Use base64 images. It's quite useful as selenium screenshot images can be generated on the fly.
https://github.com/adamgruber/mochawesome/issues/171
What I did:
Built another RegEx for detecting a base64 image. Afterwards, I used the appropriate renderer to display the image.
Result:

Guys, this is a game changer, this is a must have, how can I help expedite this?

@marcusdb  I don't have time right now to fix the PR but I'll merge this once the comments are addressed. Maybe you could pick up the PR and work on it.

Thanks for replying, let's see how it goes, will try to find some time to help you guys and get through your comments...

@dok Not sure what happened here? Any plans to revisit and finish this up?

Closing this in favor of #60


[Help] First request with large object

So i have a somewhat different question and i would really like for your help.
Me app needs to show some data in a table on the page, that data is about 2.5MB large. The data consists of object and the table shows some of the properties of the object. There is about 1000 such objects.
The data is needed before the page loads for the user so i've used the const need of the component.
Now, the problem that i'm facing.
Every time i perform a full refresh, the server.jsx calls the need function that fires an event to the server side using axios. The server calls some distant API to receive back the data (takes less than 1 second).
The amount of time between receiving the initial byte of data until all the data is received on the server.jsx side (right after the function of preRenderMiddleware) moves between 10-60 seconds. I've added console log before and after that function.
Moreover, i have a button on the same page that performs the same flow of action just without the server.jsx side (cause its a client request). That requests ends in about 1 second all the time!
I have no idea what is causing this behaviour.
I'm using 'request' module to call the distant API for the data and and listened for the 'response' and 'end' events of that call and the difference between them is 10-60 seconds when i'm in the flow of a full page refresh and about 1 seconds when i'm in a client side action.
If anyone has an idea what can cause this or what should i try then please please help!

not 100%, but possible the delay has to do with SSR...
Speed up Server Side Rendering - Sasha Aickin

Thanks for the video! It actually helped me to try something else.
The app.js file (the whole client side application) on my end is about 4.4mb.
I've tried to do the API call on componentDidMount function so that i'll see the UI and then a request would be made. That request seems to take about 6 seconds on average. That's how long it takes to download the data from the remote server.
So i guess there is no much i can do about those 6 seconds to download the data =[
I could maybe download it in several parts or something, so that i'll start showing the user something while all the other data loads and downloads in the meantime.

I would suggest you setup a system for "polling" your data on the server. Basically, when you request the data anytime after initial-load, check the timestamp, or array length, etc. (anything to determine if you actually need to send the full dataset, or if that's is a pointless exchange because the data is already fresh in the browser's cache, etc.)


Update .gitignore

formatted the text (test)
Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

Hey @username
Thank you for opening this pull request.
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.

Hey @username
Thank you for opening this pull request.
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


Add support to use plugins on markdown-it CLI with --plugin parameter

With this change, it's possible to add plugins on makrdown-it CLI execution. For exemple, to use the markdown-it-mermaid and markdown-it-footnote plugins, we can just call the markdown-it command with --plugin argument:
cat markdown.md | markdown-it --plugin markdown-it-mermaid --plugin markdown-it-footnote

That will introduce new problem with missed plugin options support. I don't like such incomplete feature.
Also, no tests and broken travis-ci.

Close - incomplete/broken


PAT-1354: Create webView step layout file

Creates a layout file for the Web View Step
Link to ticket

Did you test this with a WebView? I think we need clarification about how it works, because it's not a question/answer, it's a webview that is read-only as far as I know.


create a unix-style tarball with a nested folder

resolves #935.

:+1: but as noted in #935 I think this should go into the next non-patch release.

:+1: Thanks!
@matthiasr If we need to do another 0.15.x bugfix release, we'd currently open a new branch from 0.15.2 and base any backported fixes ontop of that. We might want to adjust that whole process at some point, but for now we just merge anything breaking directly into master.


Run E2E tests in parallel

To speed up CI builds and pull request builds/reviews we should run the E2E tests in parallel.
To solve this, two options were suggested.
IMO, the simpler and easier to maintain option is: Do away with helm test and run make test-integration-(integration) in parallel.
This can be implemented as follows,

Ensure all required ENV VARS are loaded, including SLACK_BOT_NAME.

Use the GitHub Actions matrix strategy to run make test-integ... jobs in parallel.

In practice this means updating pr-build.yaml and branch-build.yaml with:
  ...
  integration-tests:
  ...
  strategy:
      matrix:
        integration:
          - slack
          - discord
  steps:
  ...
    - name: Run tests
      run: "make test-integration-${{ matrix['integration'] }}"
  ...

Few questions:

is it already agreed to have in the 0.14 scope? I would recommend postponing it to 0.15 as we still have quite a lot of work to do.

IMO, the simpler and easier to maintain option is: Do away with helm test and run make test-integration-(integration) in parallel.
This can be implemented as follows,

Ensure all required ENV VARS are loaded, including SLACK_BOT_NAME.

Use the GitHub Actions matrix strategy to run make test-integ... jobs in parallel.

So that would mean the setup (randomizing channel names, updating deployment with envs) would be done before running actual tests using matrix? How would we like to do implement this, some simple Go code ran in pipeline?

Did we consider keeping what we have and using t.Parallel()a and moving the initial setup + cleanup to TestMain`? 🤔  That would work as well, right, or do you see any blockers for such solution?

After discovering that we won't be able to add test with "restarts", IMO the solution suggested by Ezo would work nice. But we should not only run the tests but basically create the whole environments (create k3d cluster, etc.), so they will be properly isolated and parallelized.

I am very happy to postpone this.

So that would mean the setup (randomizing channel names, updating deployment with envs) would be done before running actual tests using matrix? How would we like to do implement this, some simple Go code ran in pipeline?
Did we consider keeping what we have and using t.Parallel() and moving the initial setup + cleanup to TestMain? 🤔 That would work as well, right, or do you see any blockers for such solution?

But to clarify, the idea is to go for a very simple solution that avoids the above.
@mszostok's would make using the strategy matrix even easier.
... Again ... happy to de-scope for v0.14.0

But to clarify, the idea is to go for a very simple solution that avoids the above.

Ah, okay, so we'll run the Deployment with properly set envs already as a separate K8s cluster (in matrix). No need to restart it and set/restore envs. Makes sense 👍

... Again ... happy to de-scope for v0.14.0

Just wanted to point out that we probably won't manage to do it - of course if anyone from the team will have capacity to deliver it for 0.14, then that would be awesome 🚀 Thanks!


Implement Preference Storage for User Service

Setup API for querying match preferences
Setup database for storing match preferences

once this is done we can link it with #13

Closed as API and database schema are ready


Unable to start docker-elk

Disabling SELinux not issue for me. But
.-root@centos ~
-$ chcon -R system_u:object_r:admin_home_t:s0 docker-elk/

doesn't help. It still can't get access
kibana_1         | FATAL CLI ERROR Error: EACCES: permission denied, open '/opt/kibana/config/kibana.yml'
kibana_1         |     at Error (native)
kibana_1         |     at Object.fs.openSync (fs.js:549:18)
kibana_1         |     at Object.fs.readFileSync (fs.js:397:15)
kibana_1         |     at module.exports (/opt/kibana/src/cli/serve/read_yaml_config.js:52:31)
kibana_1         |     at Command.callee$1$0$ (/opt/kibana/src/cli/serve/serve.js:67:22)
kibana_1         |     at tryCatch (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:67:40)
kibana_1         |     at GeneratorFunctionPrototype.invoke [as _invoke] (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:315:22)
kibana_1         |     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:100:21)
kibana_1         |     at invoke (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:136:37)
kibana_1         |     at enqueueResult (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:185:17)
kibana_1         |     at new Promise (/opt/kibana/node_modules/babel-core/node_modules/core-js/modules/es6.promise.js:201:7)
kibana_1         |     at Promise.exports.(anonymous function).target.(anonymous function).function.target.(anonymous function).F (/opt/kibana/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36)
kibana_1         |     at AsyncIterator.enqueue (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:184:12)
kibana_1         |     at AsyncIterator.prototype.(anonymous function) [as next] (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:100:21)
kibana_1         |     at Object.runtime.async (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:209:12)
kibana_1         |     at Command.callee$1$0 (/opt/kibana/src/cli/serve/serve.js:51:32)
logstash_1       | {:timestamp=>"2016-09-02T14:20:02.365000+0000", :message=>"No config files found: /etc/logstash/conf.d/logstash.conf\nCan you make sure this path is a logstash config file?", :level=>:error}
dockerelk_logstash_1 exited with code 1

What means .-root@centos ~ ?? Is that means that chcon should be executed under root??
Under what user should be executed docker-compose run??

Strange, can you verify the permissions of the folders/file?
Should be:

775 for logstash/config and kibana/config folders
664 for logstash/config/logstash.conf and kibana/config/kibana.yml file

About the user, this depends of your system. I can use it with my user on my system (no root).
For the chcon, I guess that it should be executed with the user used to start the docker-compose stack.

Also looks like there are some simillarities with #59

No any changes.
[ishikawa@localhost docker-elk]$ ls -lZ -R
.:
-rwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 docker-compose.yml
drwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 elasticsearch
drwxrwxr-x. ishikawa ishikawa system_u:object_r:admin_home_t:s0 kibana
-rwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 LICENSE
drwxrwxr-x. ishikawa ishikawa system_u:object_r:admin_home_t:s0 logstash
-rwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 README.md
./elasticsearch:
drwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 config
./elasticsearch/config:
./kibana:
drwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 config
-rwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 Dockerfile
-rwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 entrypoint.sh
./kibana/config:
-rw-rw-r--. ishikawa ishikawa system_u:object_r:admin_home_t:s0 kibana.yml
./logstash:
drwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 config
-rwxrwxrwx. ishikawa ishikawa system_u:object_r:admin_home_t:s0 Dockerfile
./logstash/config:
-rw-rw-r--. ishikawa ishikawa system_u:object_r:admin_home_t:s0 logstash.conf
[ishikawa@localhost docker-elk]$ cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
[ishikawa@localhost docker-elk]$ sudo docker-compose up
Starting dockerelk_elasticsearch_1
Starting dockerelk_logstash_1
Starting dockerelk_kibana_1
Attaching to dockerelk_elasticsearch_1, dockerelk_logstash_1, dockerelk_kibana_1
kibana_1         | Stalling for Elasticsearch
elasticsearch_1  | [2016-09-03 10:56:38,652][WARN ][bootstrap                ] unable to install syscall filter: seccomp unavailable: your kernel is buggy and you should upgrade
elasticsearch_1  | [2016-09-03 10:56:39,214][INFO ][node                     ] [Douglas Birely] version[2.4.0], pid[1], build[ce9f0c7/2016-08-29T09:14:17Z]
elasticsearch_1  | [2016-09-03 10:56:39,214][INFO ][node                     ] [Douglas Birely] initializing ...
elasticsearch_1  | [2016-09-03 10:56:40,735][INFO ][plugins                  ] [Douglas Birely] modules [reindex, lang-expression, lang-groovy], plugins [], sites []
elasticsearch_1  | [2016-09-03 10:56:40,885][INFO ][env                      ] [Douglas Birely] using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/mapper/centos-root)]], net usable_space [31.5gb], net total_space [37.3gb], spins? [possibly], types [xfs]
elasticsearch_1  | [2016-09-03 10:56:40,885][INFO ][env                      ] [Douglas Birely] heap size [1007.3mb], compressed ordinary object pointers [true]
elasticsearch_1  | [2016-09-03 10:56:46,094][INFO ][node                     ] [Douglas Birely] initialized
elasticsearch_1  | [2016-09-03 10:56:46,094][INFO ][node                     ] [Douglas Birely] starting ...
elasticsearch_1  | [2016-09-03 10:56:46,516][INFO ][transport                ] [Douglas Birely] publish_address {<IP_ADDRESS>:9300}, bound_addresses {[::]:9300}
elasticsearch_1  | [2016-09-03 10:56:46,527][INFO ][discovery                ] [Douglas Birely] elasticsearch/7N8q5ZDpTgarmaT2oOogxQ
elasticsearch_1  | [2016-09-03 10:56:49,682][INFO ][cluster.service          ] [Douglas Birely] new_master {Douglas Birely}{7N8q5ZDpTgarmaT2oOogxQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
elasticsearch_1  | [2016-09-03 10:56:49,764][INFO ][http                     ] [Douglas Birely] publish_address {<IP_ADDRESS>:9200}, bound_addresses {[::]:9200}
elasticsearch_1  | [2016-09-03 10:56:49,764][INFO ][node                     ] [Douglas Birely] started
kibana_1         | Starting Kibana
elasticsearch_1  | [2016-09-03 10:56:49,943][INFO ][gateway                  ] [Douglas Birely] recovered [2] indices into cluster_state
elasticsearch_1  | [2016-09-03 10:56:51,323][INFO ][cluster.routing.allocation] [Douglas Birely] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[logstash-2016.09.02][2], [logstash-2016.09.02][2], [.kibana][0]] ...]).
logstash_1       | {:timestamp=>"2016-09-03T10:56:53.123000+0000", :message=>"No config files found: /etc/logstash/conf.d/logstash.conf\nCan you make sure this path is a logstash config file?", :level=>:error}
kibana_1         | FATAL CLI ERROR Error: EACCES: permission denied, open '/opt/kibana/config/kibana.yml'
kibana_1         |     at Error (native)
kibana_1         |     at Object.fs.openSync (fs.js:549:18)
kibana_1         |     at Object.fs.readFileSync (fs.js:397:15)
kibana_1         |     at module.exports (/opt/kibana/src/cli/serve/read_yaml_config.js:52:31)
kibana_1         |     at Command.callee$1$0$ (/opt/kibana/src/cli/serve/serve.js:67:22)
kibana_1         |     at tryCatch (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:67:40)
kibana_1         |     at GeneratorFunctionPrototype.invoke [as _invoke] (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:315:22)
kibana_1         |     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:100:21)
kibana_1         |     at invoke (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:136:37)
kibana_1         |     at enqueueResult (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:185:17)
kibana_1         |     at new Promise (/opt/kibana/node_modules/babel-core/node_modules/core-js/modules/es6.promise.js:201:7)
kibana_1         |     at Promise.exports.(anonymous function).target.(anonymous function).function.target.(anonymous function).F (/opt/kibana/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36)
kibana_1         |     at AsyncIterator.enqueue (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:184:12)
kibana_1         |     at AsyncIterator.prototype.(anonymous function) [as next] (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:100:21)
kibana_1         |     at Object.runtime.async (/opt/kibana/node_modules/babel-runtime/regenerator/runtime.js:209:12)
kibana_1         |     at Command.callee$1$0 (/opt/kibana/src/cli/serve/serve.js:51:32)
dockerelk_logstash_1 exited with code 1
dockerelk_kibana_1 exited with code 1

Looks like labeling volumes solves problem. https://docs.docker.com/engine/tutorials/dockervolumes/#/volume-labels


:sparkles: Updated client lib bundler

Added separate bundler for browser and node environment
UpgradeClient is exported by default not a named export anymore.
For browser
Load as script
const lib = window["upgrade-client-lib"];
const Upgrade = lib.default;
const client = new Upgrade("user1", "http://localhost:8000", "portal");

Load in typescript/es6 project
import UpgradeClient from 'upgrade_client_lib/dist/browser';
const client = new UpgradeClient("vivek", "http://localhost:3030", "math");

For Node
import UpgradeClient from 'upgrade_client_lib/dist/node';
const client = new UpgradeClient("vivek", "http://localhost:3030", "math");

What does const Upgrade = lib.default; do? Would it be possible to not require this line?

I have updated the webpack config to address this issue

I tried copying the clientlibs/js/dist/browser/index.js file but an error "Cannot read properties of null (reading 'type')" occurs when the experiment is running. You can also try it here: https://jsfiddle.net/m0w938zb/17/

I tested in the client-lib-tester and this seems to work (will need to make some changes to the tester code after this gets merged since it changes the import syntax). This works for me I think, we can merge into dev, but we'll need to discuss cherry-picking this and publishing a patched version for Mathstream on monday, I think they'll need a version 3 ts lib. @mswartzCL @zackcl


added option to cache test result in ReadBodyRoutePredicateFactory

In case predicate is a pure function, we don't need to re-run it against cached body.

CI build test doesn't look related:
https://app.circleci.com/pipelines/github/spring-cloud/spring-cloud-gateway/406/workflows/9dbf64f5-b39e-433e-94f5-05b7c437ad96/jobs/3613/steps
[INFO] Running org.springframework.cloud.gateway.test.websocket.WebSocketIntegrationTests
[ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 7.269 s <<< FAILURE! - in org.springframework.cloud.gateway.test.websocket.WebSocketIntegrationTests
[ERROR] echo  Time elapsed: 5.637 s  <<< ERROR!
java.lang.IllegalStateException: Timeout on blocking read for<PHONE_NUMBER> NANOSECONDS
	at org.springframework.cloud.gateway.test.websocket.WebSocketIntegrationTests.echo(WebSocketIntegrationTests.java:174)

This test passes locally. Probably it is flaky. Is it possible to re-run build?

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Azure Key Vault - Support for wildcard filter

As of today you have 2 options to filter the secrets:

Use * to get all the secrets
Use <secret-name> to get one specific secret

However, it would be nice to be able to use a filter sucht as Api-* that will get all the secrets that start with Api- such as Api-DeploymentPassword

Hi Tom, As discussed offline, we have added this requirement to our backlog and will prioritize it appropriately.

Any updates on this?

Hi Tom, This is still in our backlog. I will check internally with our team and get back on this thread.

Hi Tom, We discussed this internally and azure key-vault does not have an API for supporting wild cards in secrets lookup and hence we have not done it.

That's correct but you could list all secrets behind the scenes, apply the wildcard on top of it and only fetch the values for the secrets that match?

That approach is not optimal and adds overhead to key vault APIs.

@tomkerkhove - . This has risk of perf degradation without appropriate API support from Azure. We are not planning to pick this up anytime soon. I'm closing this as a suggestion.

Any plan to pick this up soon as we are now in 2024? Would be nice to have :)

It is 2024 now, any updates?


Take a look at my work so far

Please check my work so far.

hey @Tribruin  just confirming the bug.


Reject negative numbers up-front

Password generation functions and the web UI all accept negative number input in some form. None of them will return a password with that, but you don't get a nice error or UI feedback.

Resolved in beta 2.


SASS: @import from node_modules issues

Do you want to request a feature or report a bug?
Bug
What is the current behaviour?
import .scss file from a node module produces the following error:
@import "primer-base/index.scss";
^
      File to import not found or unreadable: primer-base/index.scss.
Parent style sheet: stdin

If the current behaviour is a bug, please provide the steps to reproduce.
preact create widget test
cd test && npm i --save primer-base
echo -e "@import \"primer-base/index.scss\";\n\n$(cat ./src/components/hello-world/style.scss)" > ./src/components/hello-world/style.scss
npm run start

What is the expected behaviour?
npm run start to run dev server successfully with the primer stylesheet included in the dom.
Please mention other relevant information.

Node version
v8.2.1
npm version
6.0.1
Operating system
Mac OSX 10.13.4
CLI version
2.2.1
Browser
Irrelevant

Hi there,
In order to specify a node_modules import, you need to use the ~ character prefix.
@import "~bootstrap/dist/css/bootstrap"

Taken from [sass-loader docs(https://github.com/webpack-contrib/sass-loader#imports).

Hi @lukeed, thank you for the fast response!

No problem!

@lukeed, one problem with the primer scss is that it uses things like @import 'primer-core/index.scss' to reference .scss files inside other node modules. So even after I did the import with ~ in my style.scss, npm run start still throws similar errors.
I know this is probably the wrong repo to ask, but do you know a solution to this off of top of your head? No worries if you don't : D

Ya, that part stinks. You have to add the module directory to your includePaths inside custom config. I don't know what the directory name should actually be in this case:
// preact.config.js

module.exports = (config, env, helpers) => {
  let { rule } = helpers.getLoaderByName('sass-loader')[0];
  rule.options.includePaths.push(
    path.resolve('./node_modules/prism-core/scss')
  )
}

You'd have the check that, I'm sure the config code is wrong too 😂 I'm in the car now, but that's the start.

Really appreciate the help!! Safe drive!
On Sun, May 13, 2018 at 20:00 Luke Edwards<EMAIL_ADDRESS>wrote:

Ya, that part stinks. You have to add the module directory to your
includePaths inside custom config. I don't know what the directory name
should actually be in this case:
// preact.config.js
module.exports = (config, env, helpers) => {
let { rule } = helpers.getLoaderByName('sass-loader')[0];
rule.options.includePaths.push(
path.resolve('./node_modules/prism-core/scss')
)
}
You'd have the check that, I'm sure the config code is wrong too 😂 I'm
in the car now, but that's the start.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/developit/preact-cli/issues/570#issuecomment-388665440,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFm8TCRzwT0W7la2qv4MRMwh1dgk5QDpks5tyMkdgaJpZM4T8_YA
.


[MKLDNN]Fix mkldnn deconvolution forward with bias

Description
The deconv out_data need reorder to default to broadcast with bias. Fix issue in GluonCV#784
@pengzhao-intel @TaoLv @ZhennanQin
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

It's good to see the CI is fixed :) Merging now.
Thanks for your contributions.


(optionally) Encrypt OOB notes to pubkey

https://x.com/4moonsettler/status/1769821195698905299?s=20
I could imagine fedimint-cli spend --to <pubkeyofsomekind> 1000sats

It's not entirely clear what a good way of implementing this would be imo:

Do our own thing

Roll our own DH key exchange+symmetric encryption
Implement some RFC

Integrate with nostr
???

We can do anything that makes sense and doesn't cost too much bloat.
In a way anyone can already:
fedimint-cli spend 100sats | gpg -e -a -r <recipient>


of Batch

Hi. Thanks for your great research and implementation.
However, I am not sure how to use this loss function in a multi-batch situation.
I mean, instead of using 2 batches, I am trying to use 4 batches.
Is it right that I just pass torch.cat([b1, b2, b3, b4, b5])? with the class label for b1?
Thanks a lot.

Suppose your feature b1 is of shape [n, feat_dim], you should stack b1,b2,b3,b4,b5 to make the concatenation like [n, 5, feat_dim], for labels, it should be of shape [n].

Thank you!


Add dependency resolution to the analyzer

If you wish, merge https://github.com/Microsoft/python-language-server/pull/617 here, it is related.

OK, approving pending the merge conflicts.


Scrolling via mousewheel in the terminal scrolls by a lot on Windows (~12 lines)

Testing #34868
Scrolling using the mouse wheel appears to scroll a constant number of lines, regardless of the terminal height, which can become very confusing:
emoji-test.txt

save this file as UTF8 with bom (I think it is already)
configure "terminal.integrated.scrollback": 5000
run chcp 65001
run cat emoji-test.txt

This is using all the defaults:

the editor scrolls by ~5 lines
native PowerShell scrolls by ~3 lines
our integrated terminal scrolls by ~12 lines

For example, in this case, scrolling via mouse wheel once has jumped over "Venezuela", which is very confusing:

Might be related to https://github.com/Microsoft/vscode/issues/35191

I was scrolling with an external mouse, not with the Surface Trackpad.

I am also seeing this issue and when the terminal is only 8 lines tall it skips large sections. This causes me to not know where I am in the output.
Could smooth scrolling be added as a setting to give a temporary fix for this issue? At least I would be able to see the lines as they scroll by.

I believe this is fixed in the latest version of Insiders, it now correctly scrolls depending on the mouse's configuration by the pixel/line/page amount.


add SimulationData type

This is nagging me for a long time and has caused a lot of headaches.
The main problem is that each of these can stand on their own, no clear hierarchy is obvious.
ISOKANN has its own trainings data, which however can differ from the full "coordinate" data.
For visualization however it needs access to the "coordinate" data.
Adaptive sampling complicates this further.
One way of patching them together is via a DataLoader which doubles as data provider for ISOKANN but also holds raw data, and is able to also contain a Simulation.
Where do we attach known reaction coordinates (for visualization) etc?

Iso needs to know only data
data can be either the common tuple of arrays, or some other struct implementing the MLUtils.getobs interface.
In the latter case it could host a simulation.
Iso can just tell data to resample itself, and data can forward to simulation.
I think this also makes the most sense semantically.

A good starting point would be a type SimulationData which holds the simulation coords (necessary for output), the isokann data (possibley transformed) and the sim object to generate the data.
This should then be able to work as data object for Iso2.

We could make this an interface as well. Here some thoughts on the specs.
getobs or getdata?
getxs
getys
getcoords (but how do we return the ys coords)
dim
outdim? (chi dimension)
length?
getindex? (but calling only via getobs)
gpu/cpu?


[VS Code] [Audio] HTTPS request failed for SkypeToken: connect ETIMEDOUT <IP_ADDRESS>:443

Error:
HTTPS request failed for SkypeToken: connect ETIMEDOUT <IP_ADDRESS>:443
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS-Audio

extensionVersion
0.1.91

applicationName
VSCode

applicationVersion
1.68.1

platformName
MacOS

platformVersion
21.5.0

We're unable to prioritize fixes to this area as we re-evaluate our priorities and product direction. We understand that this maybe disappointing. We appreciate your input and comments on this issue till now. We will soon be sunsetting this feature and will work towards a better use experience for communication needs for Live Share users from the editor.


PC gen rework

This PR is intended to implement the pc_gen rework found at https://docs.google.com/document/d/1r18F7dxunUaRZTh07pzaYvLyV6VwMBJ5X5v9o_PvHIo/edit
It is not functional at the moment (hence the WIP DO NOT MERGE). Use it to give feedback and collaborate.

@dpetrisko thank you for providing Anthony feedback, Dan!

You have to merge dev->fe_dev and then rebase this branch onto fe_dev
(Because fe_dev is protected)

On May 18, 2019, at 11:17 AM, Farzam Gilani<EMAIL_ADDRESS>wrote:
@zaazad @apducimo can you rebase this branch and fe_dev with dev?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@farzamgl , could you take a final pass over this? The branch prediction override stuff is still disabled for now, although I think it could potentially work with the BE fix and some RTL changes. But we should punt it for now to derisk for tapeout


add wip tutorial on correlated random effects

Not sure if this will make it as a tutorial, but anyway I copied it from the rpubs repo.
So this is a WIP.
@ThierryO for the moment it is just R code. In order to make it into a tutorial some explanation is necessary.
Also, the code reads a rather large csv file, which I have not committed. I leave it up to you on how/ if to proceed with this tutorial.

@ThierryO please wait working on this. I think I missed some information that was available. Will fix this later.

@ThierryO the tutorial is now up to date with what is available on Rpubs. Do I add the 10Mb csv to the repo (I am OK with this)?

I use Git LFS for large files, or other solutions like the googledrive package (drive_download(as_id("a24dcf534bsU389"), path = file.path(tempdir(), "large-file.csv")). Git LFS however nicely integrates with git versioning when the large files evolve too. It is to be installed separately, see https://git-lfs.github.com.
# After a file is set to track with LFS,
# you can use regular git status, add, commit, checkout.
# Seen from the working directory, these will behave
# as if the file were stored as normal in the git repo.
# In the background, LFS files are stored separately
# and a simple placeholder is stored in the repo
# itself (visible e.g. with 'git diff', 'git show' or in the remote).

git lfs track large-file.csv
git add .gitattributes  # where the LFS tracking is defined
git add large-file.csv
git commit -m "Added csv file (LFS)"
# have made changes to the csv along with other things?
git add large-file.csv index.Rmd index.md
git commit -m "Changed csv file and tutorial"

# For LFS-files -AFAIK- pushing currently still needs to be done
# in a separate fashion beforehand

git lfs push origin tutorial-branch # first upload LFS files for separate storage
git push                            # regular push of commits
# But, according to the website this two-step approach
# isn't needed anymore :-)

@florisvdh Cool! So LFS has come to GitHub for free now. That is new.
But, in this case in my opinion it is better to just push the 10 Mb csv file because it is not "large" and not a "binary" file and will probably never change during its lifetime on this repo. I was just hesitant to do so on a repo which I do not manage. In other repo's we have many of such < 50 Mb csv files tracked without a problem.
Do you agree?

Do you agree?

I have no strong opinion on this - sure you can go with this, and it's not the first large file in this repo. It's rather my preference to keep git repositories small - to me 'small' is like simple and brilliant.
Thanks for pointing to the interesting thread in #181 BTW.
I know one tool (QGit) that, when not customized at startup, does suffer from the presence of multi-mega-byte files that have changed in the repo, when it loads the repo history, but that's probably a consequence of the git commands that it runs :wink:.
Current master of the tutorials repo already has quite a lot of somewhat larger binary files, see below, which poses no problems. But truly clean? :thinking:

Files larger than 100 kB in the master branch (b34d6c0)
ls -S1sh $(find . -type f -size +100k -not -path "./.git/*")
2,0M ./content/tutorials/r_inla/spatial.pdf
1,8M ./content/tutorials/r_beginners/data/20180123_rainfall_klemskerke.csv
1,4M ./content/tutorials/r_beginners/data/bosvitaliteit.accdb
1,2M ./content/tutorials/r_beginners/src/Rmarkdown_oefening_resultaat.html
1,2M ./content/tutorials/r_effectclass/effectclass.pdf
792K ./content/tutorials/r_beginners/src/R_en_RStudio.pdf
756K ./content/tutorials/r_beginners/src/ggplot.pdf
712K ./content/tutorials/r_tidyverse_piping/images/chiphooray.png
692K ./content/tutorials/r_effectclass/effectclass/photo-of-forest-with-fog-1671324.jpg
680K ./content/tutorials/r_inla/random_intercept.pdf
656K ./content/tutorials/spatial_create_leaflet_map/index_files/figure-markdown_github/unnamed-chunk-6-1.png
588K ./content/tutorials/spatial_transform_crs/index_files/figure-markdown_github/unnamed-chunk-5-1.png
556K ./content/tutorials/spatial_point_in_polygon/index_files/figure-markdown_github/unnamed-chunk-16-1.png
556K ./content/tutorials/spatial_point_in_polygon/index_files/figure-markdown_github/unnamed-chunk-18-1.png
544K ./content/tutorials/r_beginners/src/dplyr.pdf
532K ./content/tutorials/r_inla/inlabru.pdf
460K ./content/tutorials/r_beginners/src/Rmarkdown.pdf
372K ./content/tutorials/r_inla/random_intercept/pexels-photo-167698.jpeg
372K ./content/tutorials/spatial_wms_services/index_files/figure-markdown_github/unnamed-chunk-4-1.png
356K ./content/tutorials/r_inla/spatial/aerial-aerial-shot-aerial-view-753868.jpg
300K ./content/tutorials/r_inla/inlabru/pexels-photo-1310755.jpeg
280K ./content/tutorials/r_beginners/Figuren/iris-machinelearning.png
256K ./content/tutorials/r_beginners/src/data_inlezen.pdf
252K ./content/tutorials/r_beginners/Figuren/InterfaceRStudio.jpg
240K ./content/tutorials/r_beginners/src/dplyr_huistaak.pdf
216K ./content/tutorials/spatial_wms_services/index_files/figure-markdown_github/unnamed-chunk-6-1.png
204K ./content/tutorials/r_database_access/database-R/access_dsn.png
184K ./content/tutorials/r_beginners/src/data_inlezen_ggplot_huistaak.pdf
176K ./content/tutorials/r_tidyverse_piping/images/hooraypenguin.jpg
176K ./content/tutorials/r_beginners/src/R_en_RStudio_huistaak.pdf
168K ./content/tutorials/spatial_wms_services/index_files/figure-markdown_github/unnamed-chunk-7-1.png
148K ./content/tutorials/r_beginners/src/Rmarkdown_huistaak.pdf
148K ./content/tutorials/r_beginners/src/dplyr_oefening.pdf
144K ./content/tutorials/r_beginners/Figuren/gather_data_R.png
140K ./content/tutorials/r_beginners/src/ggplot_oefening.pdf
136K ./content/tutorials/r_beginners/Figuren/spread_data_R.png
132K ./content/tutorials/r_beginners/Figuren/rstudio_script.png
112K ./content/tutorials/r_beginners/src/data_inlezen_oefening.pdf

Let me try out lfs on this file then :wink:  I wonder what happens when someone wants to make changes to that file and does not have lfs installed.

@florisvdh thanks for pointing to LFS. This worked wonderfully. I also learned that the file is now stored on a different server and the repo only contains a pointer to the file on that server. A very nice solution for large files, which, as it happens, I am going to need a lot in a different project. :rocket:

:tada: :+1:
Indeed, it appears such files are stored at https://media.githubusercontent.com/. I remember they may be storage limits (compared to gitlab.com), but that may have changed.

I wonder what happens when someone wants to make changes to that file and does not have lfs installed.

I guess it will result in having the pointer file only - AFAIK git itself is unaware of Git LFS. If I remember correctly, with Git LFS it's only when checking out something that a certain file at a certain version is downloaded from a server to the user's working directory (that would also make it convenient in managing local storage).
My first time collaborating with LFS (note the third last line) :smiley: :
$ git fetch
remote: Enumerating objects: 132, done.
remote: Counting objects: 100% (126/126), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 68 (delta 38), reused 61 (delta 34), pack-reused 0
Unpacking objects: 100% (68/68), done.
From https://github.com/inbo/tutorials
   b34d6c0..e75720a  master     -> origin/master
   6cbd600..7a7a6ed  gh-pages   -> origin/gh-pages
   8a23bca..0f5f511  rpubs-correlated-re -> origin/rpubs-correlated-re
   44dbd81..a25e567  rpubs-olre -> origin/rpubs-olre
 * [new branch]      softw-inbodb -> origin/softw-inbodb
$ git checkout --track origin/rpubs-correlated-re
Downloading content/tutorials/r_perfect_correlation/correlated-random-effects.csv (11 MB)
Branch rpubs-correlated-re set up to track remote branch rpubs-correlated-re from origin.
Switched to a new branch 'rpubs-correlated-re'

@hansvancalster @ThierryO and I decided to close this PR as it is not releveant anymore.
Reason: this tutorial is already online. Who searches for it, will find it.


Issue with dispatch method.

What is the current behavior?
Upon calling dispatch method i get the following Warning.
Warning: setState(...): You passed an undefined or null state object; instead, use forceUpdate().
I have implemented immutable js for the state. Could that be the reason ?
The following is my code:
let EditorToolBar = ({
        dispatch
    }) => {
	const onHandleTextEditor = ()=> {
		dispatch(openDialog('signupDialog'))
	}
        let toolbarBtnStyle = className('btn btn-primary toolbar-button', styles.editorToolBarBnt);
        return (

						<button type="button" className={ toolbarBtnStyle }
							id="toolbar-text" onClick= { onHandleTextEditor }>

						</button>

			.................

        );
    } //class ends
EditorToolBar = connect()(EditorToolBar);

export default EditorToolBar;
Which versions of Redux, and which browser and OS are affected by this issue? Did this work in previous versions of Redux?
I think this is the latest version.
got it through npm.

This is best asked on Stack Overflow, and I see you've already got the question up there: http://stackoverflow.com/questions/39777405/having-issues-with-dispatch-method-after-implementing-immutable-js-for-state-tre .


Update aws-deployment-faqs.md

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: FAQ Changes

PRs must meet these requirements to be merged:

[x] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6752477855da8a6070d7bfa4--harness-developer.netlify.app

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: NandeeshHarness:x: krishi0408You have signed the CLA already but the status is still pending? Let us recheck it.

Approved with some minor changes.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://67592b035620c31351b092f8--harness-developer.netlify.app


Calculating wrong version number

Hi,
I wanted to trigger a new release on our Nx monorepo yesterday, but whenever I run:
npx nx run workspace:version

is not picking or calculating the right version, is not taking into account the last version (current v0.10.0) and is calculating for the release v0.9.0 😒 and no change is seen.
Our Nx monorepo release in sync mode, we have been using this plugin in all our releases without issue. The git tags are set correctly and can also be listed in the CLI.
We are kinda block now and we have a bunch of new features that we would like to release as soon as possible. Any help is really appreciated 🙌🏼.

Hey @dgonzalezr, I found out that the issue is due to the custom preset usage. I'm still investigating concretely why but to unlock your release without waiting for a fix you could use the base preset, instead of:
"preset": {
  "name": "conventionalcommits",
  "types": [
    { "type": "feat", "section": "Features ⚡" },
    { "type": "fix", "section": "Bug Fixes 🐞" },
    { "type": "test", "section": "Test 🧪" },
    { "type": "docs", "section": "Documentation 📚" },
    { "type": "style", "section": "Style 🎨" },
    { "type": "chore", "section": "Chore ⚙" },
    { "type": "perf", "section": "Performance ⌛" },
    { "type": "refactor", "hidden": true },
    { "type": "release", "hidden": true }
  ]
}

use "preset": "conventionalcommits, it will work again.

It's fixed in https://github.com/jscutlery/semver/releases/tag/semver-4.2.0, thank you!


ERROR for site owner: Invalid site key

I keep having the ERROR for site owner: Invalid site key message.

I added the site key to the recaptcha setting page
Turn on recaptcha protection on the field group, when saved it turns off again.
I use it on a frontend form which is loaded like this:
$args = array(          'post_id' => 'new_post',          'new_post' => array(              'post_type' => 'contact',              'post_status' => 'publish'          ),          'return'		=> '?contact-form-did-send=true',          'submit_value'	=> __('Send to DoToo team', 'dotoo')      );      acf_form($args);
Also see this post, he has the same issue.
https://wordpress.org/support/topic/recaptcha-v3-17/#post-11381855

I use a V2 checkbox and have these domains entered:
https://hbosafe.nl
http://hbosafe.test
https://www.hbosafe.nl
Would love to get a reply to know if this is an issue with the plugin or me.

Did you register your site as reCAPTCHA v3? I believe that wouldn't be supported, you have to use v2.
Specifically, this plugin is only to create a reCAPTCHA v2 checkbox like this: https://developers.google.com/recaptcha/docs/versions#checkbox

@irvinlim thanks for replying, I actually have the V2 checkbox one since I expected the plugin not to support V3.
I does work with the demo keys (third question here: https://developers.google.com/recaptcha/docs/faq) So that's weird to me.
Do you have any clue on what Im missing here?


TST: fix missing seed in lobpcg test.

CI failure observed in gh-9447, this will fix that.

Thanks Ralf, merged.

The random seed wasn't the problem -- you can see the same thing happening here: https://ci.appveyor.com/project/scipy/scipy/builds/20106920
That's from #7827 after I rebased on the fix / latest master.  cc @rc
I keep seeing array([4.+0.j, 5.+0.j]) compared with array([5., 4.]). Is it something related to complex numbers, and only happening on Windows / subset of Python versions? Are we even expecting complex numbers here? I know that complex math can sometimes happen slightly differently depending on platform and so on.

Maybe I spoke too soon -- I do see the seed added here in the failing test, but I'll keep the issue closed because Ralf's commit wasn't in my rebase after all. Not sure if appveyor is rebasing for those subset jobs or something. If the fresh rebase fails I guess I'll reopen the issue.

Alternative suggestions in the linked issue now.


should be able to copy folder into file explorer tree by dragging from outside vscode

VSCode Version: Code 1.7.2 (7ba55c5860b152d999dda59393ca3ebeb1b5c85f, 2016-11-21T22:06:37.428Z)
OS Version: Windows_NT ia32 10.0.14931

Currently, the behavior is that VSCode will open the folder in the workspace, no matter where you drag it. But sometimes, you want to copy a folder into the current workspace.

We disable this to prevent accident large file copy operations. There is no real technical reason otherwise.


Testing for Enabling GenAI Sandbox for DHP Diagnostics

Description
Conduct end-to-end QA testing for the GenAI Sandbox environment tailored to the DHP  Diagnostics use case. Validate key workflows, ensure catalogue generation using GenAI, and verify the accuracy and structure of JSON responses for on_action calls.
Goals

[x] Perform end-to-end QA for the GenAI Sandbox for DHP Diagnostics.
[x] Verify if the catalogue is generated using GenAI, and flag if it is missing.
[x] Validate the JSON responses for on_action calls to ensure accuracy and structure.

Expected Outcome
A validated GenAI Sandbox environment for DHP Diagnostics with seamless functionality, accurate catalogue generation, and correct JSON responses.
Acceptance Criteria

[x] End-to-end QA testing is completed and documented.
[x] Catalogue is generated using GenAI or issues are flagged.
[x] JSON responses for on_action calls are validated and confirmed accurate.
[x] No critical issues remain, and test results are documented.

Mockups / Wireframes
NA
Product Name
Beckn
Domain
TBD
Tech Skills Needed
GenAI Integration, QA Testing, JSON Validation, Workflow Testing
Complexity
Medium
Category
Testing
Sub Category
Sandbox Validation

Application tested but there is a blocker -
https://github.com/beckn/beckn-ui-workspace/issues/2827
Will resume testing once blocker is removed.
Closing this task.
cc: @shreyvishal @emmayank @PritiEM @SanketEminds


Add infrastructure for ga2vcf and ga2sam tools

Does not close #83

I'd like to keep all the command line argument parsing and user interface stuff in cli.py and farm out the actual conversion to classes in a dedicated module --- see my comments on #126.

@jeromekelleher ok, I read the comments in #126 and tried to implement your suggestions here.
A couple problems I still have:

the lack of a request factory -- or some other way to abstract the details of protocol request instantiation -- leads to a lot of copy and pasting.  This is bad.
the lack of a unified way to determine workarounds leads to copy-and-paste-and-slightly-modify, which is even worse.

What do you suggest to resolve these issues?  I still like my request factory, but it seems like you don't.

This looks good, thanks for trying this out @dcolligan. I agree that we need some sort of request factory method, and we definitely don't want to copy-paste code. I've been thinking about this a bit, and I wonder if the right design is to extend argparse. We're doing a lot of stuff like
def addStartArgument(parser):
    parser.add_argument(
        "--start", "-s", default=0, type=int,
        help="The start of the search range (inclusive).")

which might be more natural to express as
def addStartArgument(self):
    self.add_argument(
        "--start", "-s", default=0, type=int,
        help="The start of the search range (inclusive).")

So, the vague idea would be to make a class hierarchy that extends argparse.ArgumentParser and returns a fully instantiated XRequest object when you ask it.  For example, we might have
def ga2vcf_main(parser=None): # We really should sort out the camelCasing here!
    if parser is not None:
        parser = SearchVariantsParser()
    parser.addOutputFileArgument()
    args, request = parser.parse_args()
    converter = converters.VcfConverter(request)
    outputHandle = sys.stdout
    if args.outputFile is not None:
        outputHandle = open(args.outputFile, "w")
    converter = converters.VcfConverter(request, outputHandle)
    try:
        converter.convert()
    finally:
        if args.outputFile is not None:
            outputHandle.close()

What do you think, will this work?

That would work, but it feels like it violates a separation of concerns between 1) argument parsing and 2) instantiating protocol objects.  I think it would be wrong to turn ArgumentParser into a DoEverythingBeforeARequestIsRunObject.  Furthermore, I think preferring composition to inheritance is always a good rule of thumb to follow.
You know, I think your only real objection in #144 was that RequestFactory took a host argument to all of its class methods.  I think I can refactor the code so that is no longer the case.

I don't think this would lead to a DoEverythingBeforeARequestIsRunObject --- really, all your RequestFactory is doing is taking a bundle of args from argparse and returning an instantiated Request object. We could legitimately view this as parsing command line arguments into a Request object; that is, extending the functionality of argparse.ArgumentParser. Inheritance is a very powerful design principle, and I don't think there are any hard and fast rules for when it should and shouldn't be used. We should use whatever design solves the problem in hand in the simplest and clearest way (modulo a reasonable level of performance awareness).
Anyone else want to weigh in on this? @Naburimannu, @pashields any thoughts?
Having said all that, it doesn't really matter that much once we keep all of the command line interface stuff in cli.py and use the instantiated Request object as our interface to the converter classes. You're right that the only real objection I have to your RequestFactory are the side effects, so if you remove  these I'm happy to move on with this.

Ok, I pushed a new commit in #144.  Let me know what you think.

My kibbitzing: I don't think inheritance is "more natural" than composition as @jeromekelleher suggested.
I like the idea of a class that processes arguments into a FooRequest, even though I'm not sure whether it'll smell - as with many things, my reaction is to say "Let's try it, and we can always introduce another intermediate layer in the future if it's really necessary." It seems without that, we have class A: arguments -> internal representation, and factory F: internal representation -> class instance. Without a principled reason for the internal representation, if it doesn't add complexity, let's collapse the two.
Here's a possible principled reason: would DoEverythingBeforeARequestIsRun need to know about all our internal classes, while ArgParse and a set of RequestFactories could have more limited coupling?

Do we have a PR somewhere for ga2sam or ga2vcf so that we know this is the correct infrastructure to be building? Examples of what the output of this process will be?

Okay, just pushed a new commit addressing some concerns.
Hopefully most of @Naburimannu 's concerns were resolved in the phone call.

+1 modulo small nits.

@jeromekelleher pushed a commit addressing your concerns

Thanks @dcolligan --- I'll merge this tomorrow if there are no objections.

@jeromekelleher this PR made good progress, but there are a few problems with this model that I've discovered:

The one request object passed to the Converter class may not be sufficient if the converter needs to make multiple kinds of requests to the server.  For instance, the VcfConverter can not infer the datasetIds argument needed in a GAVariantSetsSearchRequest from the GAVariantsSearchRequest that is passed to it.

The httpClient that the converters need to make requests needs to be initialized from the command line args (for instance baseUrl).  Either a) the client is initialized in the cli module and passed to the converter in another argument or b) we also pass the command line args to the converter in another argument.

The pysam API actually doesn't support writing to file streams.  The only thing it does support for SAM files is writing to stdout, but even that requires instantiation through a pysam object.  http://pysam.readthedocs.org/en/latest/usage.html#using-streams  So anything that the cli module could pass it would be pretty useless, thus calling into question whether this is the right converter interface at all...

How do you think we should resolve these issues?

Hmmm, all good points @dcolligan.

This seems like a problem with the protocol to me. We should be able to get the metadata for a variant set without having to make a request for all the variant sets and filter them out.  Can you look into this and open an issue against the schemas repo, if you agree? In the mean time, here I would just pass in the extra arguments that are required one-by-one. I don't like the idea of passing an argparse args bundle around between modules are we are creating an implicit dependency on argparse.
I would initialise the httpClient in the CLI module, and pass it in as an argument to the Converter. We'd have something like converter = VcfConverter(httpClient, request, dataSetIds).
OK, just adopt the pysam convention here and pass in "-" as the filename when writing to stdout.

Wrt (1), I don't really understand this: "We should be able to get the metadata for a variant set without having to make a request for all the variant sets and filter them out."
That doesn't seem to be the problem to me.  The problem is that we have an interface that is expecting one kind of request object (GAVariantsRequest) but we need two request objects (GAVariantSetsRequest and GAVariantsRequest) in order to retrieve the data needed to write a VCF file.  It would seem inappropriate to me to have the data in one response object contain the data of the other -- it just seems like they are plainly separate objects.

Basically I think it makes sense to toss out the converters interface design since it seems to work in neither the SAM case (since the pysam api doesn't support writing to arbitrary file streams) nor the VCF case (since more than one type of request object is needed to get the data to write the VCF file).

We don't have to keep this precise interface. All I'm saying essentially is that we should keep the interface for converters completely separate from the command line interface. This means we can't pass argparse args bundles around as parameters, and we can't use infrastructure designed to turn argparse args bundles into request objects within the converter module. There's far too much coupling between them if we do.


kernel_lowpass has arguments when being called in Expwin source code, what value for x is being passed?

Taken from expwin.py in pygsp:
`def kernel_lowpass(x):
return h(0.5 - x/G.lmax + band_max)
def kernel_highpass(x):
return h(0.5 + x/G.lmax - band_min)
    if (band_min is None) and (band_max is None):
        kernel = lambda x: np.ones_like(x)
    elif band_min is None:
        kernel = kernel_lowpass  #Here what value of x is being passed
    elif band_max is None:
        kernel = kernel_highpass  #Here what value of x is being passed
    else:
        kernel = lambda x: kernel_lowpass(x) * kernel_highpass(x)`

This doubt came to my mind when I wanted to use expwin as high pass filter for my graph. Is this a glitch?

I am not sure I understand your concern. I just tested expwin and everything seems alright.
import numpy as np
from pygsp.filters import Expwin
from pygsp.graphs import Sensor
from matplotlib import pyplot as plt

N = 100
slope = 4
G = Sensor(N)
G.estimate_lmax()
f1 = filters.expwin.Expwin(G, band_min=None, band_max=0.4, slope=slope)
f2 = filters.expwin.Expwin(G, band_min=0.2, band_max=None, slope=slope)
f3 = filters.expwin.Expwin(G, band_min=0.2, band_max=0.4, slope=slope)
plt.figure(figsize=(15,4))
ax = plt.subplot(131)
f1.plot(ax=ax);
ax = plt.subplot(132)
f2.plot(ax=ax);
ax = plt.subplot(133)
f3.plot(ax=ax);

I wanted to know from the source code how kernel_lowpass is being called
without arguments in case of band max or band min being None
On Wed, May 1, 2019, 1:19 PM nperraud<EMAIL_ADDRESS>wrote:

I am not sure I understand your concern. I just tested expwin and
everything seems alright.
import numpy as np
from pygsp.filters import Expwin
from pygsp.graphs import Sensor
from matplotlib import pyplot as plt
N = 100
slope = 4
G = Sensor(N)
G.estimate_lmax()
f1 = filters.expwin.Expwin(G, band_min=None, band_max=0.4, slope=slope)
f2 = filters.expwin.Expwin(G, band_min=0.2, band_max=None, slope=slope)
f3 = filters.expwin.Expwin(G, band_min=0.2, band_max=0.4, slope=slope)
plt.figure(figsize=(15,4))
ax = plt.subplot(131)
f1.plot(ax=ax);
ax = plt.subplot(132)
f2.plot(ax=ax);
ax = plt.subplot(133)
f3.plot(ax=ax);
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/epfl-lts2/pygsp/issues/49#issuecomment-488229460, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHMSIMFYI54XDKX2CD2WANDPTFDSJANCNFSM4HJK2RXQ
.

The function kernel_low pass is defined above taking the argument into account. I am closing the issue since this is not pygsp related.


Allow creation of empty mask

This PR adds a feature that creates an empty mask if segmentation does not exist. This is useful, for example, when creating MS lesion segmentations from scratch.
Please, could you double-check especially the part of the code responsible for empty mask creation:
https://github.com/spinalcordtoolbox/manual-correction/blob/bba77adbb97f28fa68c5c13a4b81e69a8e547331/utils.py#L254-L264
Fixes https://github.com/spinalcordtoolbox/manual-correction/issues/4

Thank you for reviewing! I addressed your comments. --> merging


Logstash 2.3.4 issue [solved]

Hi,
I upgraded my logstash server to 2.3.4 using this filter.
After about a week the java process died with "out of heap space". Increasing the heap didn't help, it just took longer until the java process died.
After long hours of debugging I found a solution to this:
In the file 2030_filter_section_c_parse.conf I replaced the lines:
  grok {
    match => {
      "rawSectionC" => "(?<requestBody>.+)"
    }

with
  mutate {
    add_field => { "requestBody" => "%{rawSectionC}" }
  }

It basically just copies the field rawSectionC to requestBody. That's also what the grok is doing. For me the result is the same.
My logstash 2.3.4 server is running now a couple of weeks with this config without any issues.
For anyone using this filter with logstash 2.x you should also replace the line in the inputs from
  charset => "US-ASCII"

to
 codec => plain { charset => "US-ASCII" }

Other than that the filter is working fine for me with the new logstash version.

Can you please submit a pull-request w/ the affected fix? I will then create a new release

Also is the change backwards compatible?

Are you used "logstash-forwarding" or "filebeat" to forwarding ? i can't make it work well, path of log is like that: /var/log/modsecurity/audit///* ?

@paltryeffort do you have a PR?

@paltryeffort PR?


NewUUID expression should be removed

Describe the bug
https://skriptlang.github.io/Skript/expressions.html#ExprRandomUUID is a thing now, so SkQuery should remove it from itself and SkQuery's syntax of it is also wrong, it works with "%uuid%" which sometimes causes conflicts when using syntax like "something of uuid of player"
Information:

Skript version: 2.5.1
Server software: Paper
Server version: 1.12.2

Removed in 4.1.6


how to set not scroll header layout and set scroll only content layout

how set header layout set toolbar bar not scroll but content layout only scroll line uber app bottom sheet animation.

Optimally, when opening the bottom sheet to full screen the header would
actually turn into an action bar just like in the (previous) Google Maps
app, which cannot be scrolled. Does this fit into what you're looking for?
On Thu, Jun 21, 2018, 05:52 rmvivek<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/reline/Google-Maps-BottomSheet/issues/11, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIuSrzqvkNRIDogyIVQzfM3YDrjegoNkks5t-5cpgaJpZM4UyAcv
.

how to set Header layout act as a toolbar?

how to set content layout act as a buttom sheet?

@rmvivek Please don't duplicate issues.


Fixed Unhelpful selection color for blue background

Fixed Unhelpful selection color for blue backgrounds #40797

but now the selection highlighting doesn't appear at all for me? i don't think this solution is correct

@niranjandarshann It seems that the current solution is not the appropriate one because upon reviewing the deploy preview, it appears that the text selection feature is no longer functional.

@dipesh-rawat  thank you , and ack.


Adds a fancy new README file

After discussions with the team, I decided I would try my hand at a "nice" README file that may be good to turn into a template in the future.
Inspiration

https://github.com/matiassingers/awesome-readme
https://medium.com/@meakaakka/a-beginners-guide-to-writing-a-kickass-readme-7ac01da88ab3

Using an HTML header
I decided to go with an HTML header, because I noticed that the README files I liked in the awesome-readme repo all did this.
Centred
I also liked the centred design better than a left-aligned version.
Note this is officially a markdown anti-pattern (as is any formatting); however, I don't think that's a big deal for GFM, since it's not "official" markdown. Also, seeing as how many READMEs are using this pattern (at least for the header), I don't see a problem with it.

@lemonmade, when you get back, can you take another look at this?

I'm going to go ahead and merge this in, since all comments have been addressed.


[Feature] Using a higher sourceCompatibility version

Is this your first time submitting a feature request?

[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing functionality

Describe the feature
The current sourceCompatibility is JavaVersion.VERSION_1_8
https://github.com/pinecone-io/pinecone-java-client/blob/eef17f845a60a7902fd1187aae8f8e54791d08ee/build.gradle#L15
This source compatibility restricts language features to Java 8 and doesn't allow newer language features like var, switch expressions, etc.
Is there any impediment to allowing source to use newer language features?
Describe alternatives you've considered
Remain using Java 8 language features
Who will this benefit?
All contributors to this project!
Are you interested in contributing this feature?
No response
Anything else?
No response

@russcam The only requirement is it must be compatible with java 8+ versions and some of the consumers of this sdk strictly rely on java 8.

Closing this issue now since it's non blocking and as mentioned in the description, we can still keep using java 8 features.


Cannot download with cookie on Abema.tv (Edited)

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Japan
Provide a description that is worded well enough to be understood
When I try to download a video from Abema.tv using a cookie, I get a 403 error and cannot download it.
I can view the video normally from my browser.
I could successfully download videos that did not require authentication.
And when I used a login method without a cookie (username and password), I could download the video.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', '--cookies', 'cookies.txt', 'https://abema.tv/video/episode/25-146_s1_p1']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (pip)
[debug] Python 3.10.12 (CPython aarch64 64bit) - Linux-5.15.0-1042-realtime-aarch64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.46.0, secretstorage-3.3.1, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[AbemaTV] Extracting URL: https://abema.tv/video/episode/25-146_s1_p1
[AbemaTV] Authorizing
[AbemaTV] 25-146_s1_p1: Downloading webpage
[AbemaTV] 25-146_s1_p1: Checking playability
WARNING: [AbemaTV] This is a premium-only stream
[AbemaTV] 25-146_s1_p1: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 25-146_s1_p1: Downloading 1 format(s): 5300
[debug] Invoking hlsnative downloader on "https://vod-abematv.akamaized.net/program/25-146_s1_p1/1080/playlist.m3u8?aver=1"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 788
[download] Destination: Re：ゼロから始める異世界生活 氷結の絆 [25-146_s1_p1].mp4
[download] Re：ゼロから始める異世界生活 氷結の絆 [25-146_s1_p1].mp4.part-Frag1 has already been downloaded
[download]   0.1% of ~   1.63GiB at  165.51MiB/s ETA Unknown (frag 1/788)[AbemaTV] Fetching media token
[AbemaTV] Requesting playback license
ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/common.py", line 837, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query))
  File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 3863, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

Did some investigation on my end with --print-traffic to an abema.tv premium-only stream, the 403 Forbidden response comes from 'POST /abematv-hls?t=<token_here> HTTP/1.1\r\nContent-Length: 65\r\nHost: license.abema.io\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Language: en-us,en;q=0.5\r\nSec-Fetch-Mode: navigate\r\nContent-Type: application/json\r\nAccept-Encoding: gzip, deflate, br\r\nConnection: close\r\n\r\n'
I'm not completely sure why this exact request fails, though... At first, I thought yt-dlp was doing something weird when building this call as it's sent to license.abema.io where my browser sends it to license.p-c3-e.abema-tv.com, but both hosts give identical responses on my end when replicating a browser request


macros-backend: fix raw idents in pymethods

Closes #1382
I added a comprehensive test and then added some fixes in the code for the cases uncovered by the test.

I ran this against my code (given that I opened the original issue) and it works perfectly.

I ran this against my code (given that I opened the original issue) and it works perfectly.

Thanks for the feedback!

Thanks for the feedback!


#2714

Add support for connection string to Microsoft.ApplicationInsights.NLogTarget #2714
Fix Issue # .
Changes
(Please provide a brief description of the changes here.)
Checklist

[x] I ran Unit Tests locally.
[x] CHANGELOG.md updated with one line description of the fix, and a link to the original issue if available.

For significant contributions please make sure you have completed the following items:

[x] Design discussion issue #
[x] Changes in public surface reviewed

The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:

FxCop and other analyzers will fail the build. To see these errors yourself, compile localy using the Release configuration.

Notes for reviewers:

We support comment build triggers

/AzurePipelines run will queue all builds
/AzurePipelines run <pipeline-name> will queue a specific build

@saidi-adot please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="ADOT MVM"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(ADOT MVM) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="ADOT MVM"

Contributor License Agreement

@saidi-adot please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="ADOT MVM"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(ADOT MVM) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="ADOT MVM"

Contributor License Agreement

@saidi-adothttps://github.com/saidi-adot please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree company="ADOT MVM"
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(ADOT MVM) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="ADOT MVM"
Contributor License Agreement
From: Saidi Reddy
Sent: Monday, March 13, 2023 11:03 AM
To: microsoft/ApplicationInsights-dotnet @.>; microsoft/ApplicationInsights-dotnet @.>
Cc: Mention @.***>
Subject: RE: [microsoft/ApplicationInsights-dotnet] #2714 (PR #2750)
@saidi-adothttps://github.com/saidi-adot please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="ADOT MVM"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(ADOT MVM) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
From: microsoft-github-policy-service[bot]<EMAIL_ADDRESS>Sent: Monday, March 13, 2023 9:45 AM
To: microsoft/ApplicationInsights-dotnet<EMAIL_ADDRESS>Cc: Saidi Reddy<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/ApplicationInsights-dotnet] #2714 (PR #2750)
@saidi-adothttps://github.com/saidi-adot please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="ADOT MVM"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(ADOT MVM) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/ApplicationInsights-dotnet/pull/2750#issuecomment-1466503868, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3VJ5NKJKBFBJ44ZNQT2MC3W35FJ7ANCNFSM6AAAAAAVW73YSY.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@microsoft-github-policy-service agree
and
@microsoft-github-policy-service agree company="ADOT MVM"

@snakefoot - Thank you for approving changes. Can you please approve the PR to merge the code.

@saidi-adot Only repository owners like @TimothyMothra or @teo-tsirpanis can merge pull-requests here.

@snakefoot I am not a repository owner. 😅

@TimothyMothra  / @cijothomas - Can you please review the changes and merge the PR.

@cijothomas - I fixed the build issues and committed the new changes. Can you please review now..

Given the overall direction is to use OpenTelemetry, I am not sure if we want to keep adding new features to this repo anymore. Though I agree that this is a relatively small fix with valid use case. since ConnectionString is going to be mandatory soon..... I'll defer to @rajkumar-rangaraj and @TimothyMothra to give direction here.

I am waiting for this to get merged.
As to comment by @cijothomas, in the project I'm working on, we recently switched from legacy logging to ApplicationInsights, so, at least for us, it's not going away anytime soon.
There's this recommendation in the docs: https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-enable?tabs=aspnetcore#should-i-use-opentelemetry-or-the-application-insights-sdk
so I suppose our project is not the only one still opting for AI over OT.