codec2: 1.0.5 -> 1.03

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/codec2/versions.
meta.description for codec2 is: "Speech codec designed for communications quality speech at low data rates"
meta.homepage for codec2 is: "https://www.rowetel.com/codec2.html"
meta.changelog for codec2 is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.03 with grep in /nix/store/kygn9g9wv905iv1n3nddri3iwni171xc-codec2-1.03
found 1.03 in filename of file in /nix/store/kygn9g9wv905iv1n3nddri3iwni171xc-codec2-1.03

Rebuild report (if merged into master) (click to expand)

26 total rebuild path(s)

26 package rebuild(s)

First fifty rebuilds by attrpath
codec2
freedv
gnss-sdr
gnuradio
gnuradio3_8
gnuradio3_8Minimal
gnuradio3_8Packages.ais
gnuradio3_8Packages.gnuradio
gnuradio3_8Packages.grnet
gnuradio3_8Packages.limesdr
gnuradio3_8Packages.osmosdr
gnuradio3_8Packages.rds
gnuradio3_9
gnuradio3_9Minimal
gnuradio3_9Packages.gnuradio
gnuradioMinimal
gnuradioPackages.gnuradio
gqrx
gqrx-gr-audio
gqrx-portaudio
haskellPackages.bindings-codec2
inspectrum
lpcnetfreedv
m17-cxx-demod
qradiolink
sdrangel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kygn9g9wv905iv1n3nddri3iwni171xc-codec2-1.03 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A codec2 https://github.com/r-ryantm/nixpkgs/archive/ad4200e72e9fb83763f7cd213543ba68f9596989.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/kygn9g9wv905iv1n3nddri3iwni171xc-codec2-1.03
ls -la /nix/store/kygn9g9wv905iv1n3nddri3iwni171xc-codec2-1.03/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @markuskowa for testing.

I think this version was an accident (was supposed to be 1.0.3?). It is actually and old version, which exists on repology and unfortunately also a git tag.


Add ability for cypress.yml values to be pulled from environment.

This checks to see if a user has set different configuration variables in their environment before falling back to defaults directly defined in the cypress.yml.

So this is going to actually take more consideration than I initially realized. The issue is that there are multiple calls to APP_CONFIG (for example https://github.com/projectcypress/cypress/blob/master/app/models/ability.rb#L10) which used to return true or false, but now returns as follows
irb(main):001:0> APP_CONFIG.ignore_roles
=> "<%= if ENV['IGNORE_ROLES'].nil? then true else ENV['IGNORE_ROLES'] end %>"

which means that the data being pulled from cypress.yml is not actually being evaluated. One fix could be using Settings[:ignore_roles] however I do not know enough about the application to know the implications of such a change.

This did require tweaking the tests to set the Settings hash instead of the APP_CONFIG hash as well, however it seems that change did not break anything.

If you go into the admin dashboard and edit the settings, it completely blows away or doesn't replace any of the settings in cypress.yml now, because the regexs in AdminController.sub_yml_settings no longer match the values due to the ENV variable logic

Okay after giving this some thought here's what I think: Since we are now loading these values from environment variables, it no longer makes sense to overwrite values in cypress.yml. So we have two options:

We no longer persist any settings that are changed through the admin dashboard. We can update the values in memory, but they will be lost and reset to the environment variables on app restart.
We persist the new values by programmatically changing the environment variables.

What do people think? @rbclark @okeefm @ssayer

I feel like we should still be able to persist values set through the admin dashboard, though I'm not sure what the best way to do so is.

It seems like it would be confusing to users if the settings kept switching and did not persist through reboots. I was looking to see if the Settings gem in use has a better way to handle this but it seems to always give ENV variables precedent which we do not want. What about the third option of having the program pull from the environment by default but subbing out the ruby code via regex. Looking at the regex it should be possible to just make it care less about how tightly it matches and just make it match up to the newline.

That would be an option. We're mostly using the environment variables to initialize settings, so once they're in the app, it would probably be okay to overwrite the yaml that pulls them in if local changes are made.

Okay that sounds good to me. I didn't realize the environment variables were only used for deployment.

✅


How to do integration test in a multi-project setup

Hi,
We have a multi-project gradle build with 20 submodules. Each submodule has its own farm, and each farm shares a lot of common modules. So the farmIntegrationTest task seems very inefficient, as it would start and stop the common modules many times.
Is it possible to call farmStartWar, run all integration tests and then finally call farmStopWar?
Thanks!

Hi Mats,
Does Gretty 1.1.8 solve the issue for you?
Can we close this issue?

Hi! I guess we can close this now. Although we decided to do things slightly different and did not need this feature any more. That being said, I was voting for this feature though :smiley:


CLN: consolidate compression inference as much as possible

we have 3 copies of the compression inference routines in parser.py, parser.py, and io/common.py. See how much we can reduce this (some is necessary as sometimes we need to actually return a file handle or need to read in and re-wrap).
xref #12175

cc @lababidi

@gfyoung if you are looking for something to do :>
I think we can blow away _wrap_compresed in parsers/io/parsers.py and incorporate any such functionaility in io/common.py/_get_handle
there is also compression handling in parser.pyx but I think this might be harder to remove (in favor of _get_handle, though maybe if we pass an argument might work).
xref #13317

Haha.  Thanks @jreback for the mention.  I'll take a closer look when I have the time. :smile:

@jreback I got the following error when attempting to test:
TypeError: assert_almost_equal() got an unexpected keyword argument 'check_dtype'```

you need to rebuild extensions
python setup.py build_ext --inplace


fix Fix sequence_col column used default expr insert failed

Proposed changes
Issue Number: close #18911
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

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

please add a regression test.

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.3 seconds
stream load tsv:          429 seconds loaded<PHONE_NUMBER>9 Bytes, about 166 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230423093318_clickbench_pr_133309.html

run buildall

run p0

run buildall

please rebase after https://github.com/apache/doris/pull/19216 . thank you

we will fix the p0 regression soonly

@zclllyybb Ok, if already fix the p0 regression, could you call me? I will re-run it. Thanks!

Ooops... Sorry, I made a mistake and wrongly thought it was because of a series of known issues with the pipeline. But actually it's not. The actual reason for P0 failure is that your changes make there an inequality of block's and output descriptor's column number, in VOlapTableSink::_validate_data 😄

Ooops... Sorry, I made a mistake and wrongly thought it was because of a series of known issues with the pipeline. But actually it's not. The actual reason for P0 failure is that your changes make there an inequality of block's and output descriptor's column number, in VOlapTableSink::_validate_data 😄

@zclllyybb Could you offer a more detailed logs for me, i would like to known the exception column order is? Btw, I have tested the above error case with locally run-regression-test.sh and no error was reported.

run buildall

run buildall

run buildall

run clickbench

run buildall


Root directory unorganized

idea: organize the directory structure of the program.

IMO the root directory should contain only the following: README, LICENSE, .gitignore and requirements.txt.
Put the python source code files in a src directory

I tried this but geckodriver.exe has some permission issues then, and the Scraper script needs to be in the same file as that. So I ended up ditching this idea

@Anirudh-S-Kumar  do you have anything to add else I am closing this issue

I don't have anything else to add

I don't have anything else to add

Improved in commit bc8b752242fb5e95a241f4d777bfe049ed2acba1 , although it's still not perfect


Can't access index route of sub router

Hello,
I am facing another issue with the sub-router where it seems it can't resolve the index route of the sub-router. When I visit the index router I am just getting this in the console

I was trying to reproduce it in a test repository, but I am not able to reproduce it, even though in the example seems to be another issue, where the sub route navigation resets the URL prefix. (https://stackblitz.com/github/kleinpetr/nuxt-content-i18n_micro)
In the project where we are facing the issue with index sub routes it's very complex, uses more than 10 layers and it's a bit heavy so it's probably not reproducible, so let me know if you have any idea where the problem might be :pray:
Thank you

I already found the issue, it happens when there is missing one of the index.vue in the sub directory, I've updated the stackblitz, so now you can see that the /sub/child can't be resolved :+1:

hello
just add a name for the page like:
<template>

    This is a nested child router parent

    <NuxtPage />

</template>

Ok, it seems to be working, but could you pls explain it a bit? :)

When you create a folder without an index file, the router generates routes incorrectly, without a name, which essentially breaks the entire logic. Unfortunately, I don't know why this happens—it's something that would need to be addressed by the router developers. You can observe this issue in DevTools, for instance.

In such cases, I create an index file with a redirect like this:

<template>

</template>

With this approach, routing is generated correctly and nothing breaks.

Ok, since we don't need the index itself I've solved it by using inline route rules to make a redirect

But the second issue is also interesting, if all index.vue exists, the I18nLink resets the current locale prefix from the url, but if I use the definePageMeta just with a name, then it's being resolved well :thinking:

Regarding this issue, if you could provide an example, I'll try to understand what the problem is. But I suspect that we'll just need to define definePageMeta in such cases everywhere.

Yes, you can see it in the example I sent https://stackblitz.com/github/kleinpetr/nuxt-content-i18n_micro
here is a quick screen record
https://github.com/user-attachments/assets/9c990903-02a6-41ee-8296-3048791ac2ae

Thank you :blush:


Stuck in recursive run_query when using scroll

Attempting to troubleshoot an issue that I'm seeing.  I'm using a frequency rule that will alert where it appears that self.num_hits never reaches self.total_hits  so it continues to call itself (def run_query).  It keeps running even after reaching the end timeframe because it expected to eventually gather all of self.total_hits.
INFO:elastalert:Queried rule Bruteforce Login Detected from 2017-06-08 11:53 PDT to 2017-06-08 12:18 PDT: 31453 / 0 hits (scrolling..)
I can of course modify the check to break out if it reaches the end of the timeframe, but I'm curious if there's any suggestions to troubleshoot as to why my self.num_hits never reaches and equals self.total_hits making it recurse forever.

Hmm, I haven't encountered this before. When you make a query to Elasticsearch, it gives you a scroll ID and the total number of documents that will be returned in that scroll. It usually matches up nicely but I guess some times it doesn't. It would probably make sense to break out of the scroll if we get 0 results back.

Thanks for the suggestion @Qmando, I'll dig a bit further as well to determine what is the initial cause of the num_hits and total_hits mismatch.  Likely will end up just default breaking as you suggested.
We like the scroll feature because sometimes the results that are returned are exceptionally large even after modifying timeframe and after filtering results through the query as much as we possibly can.


CordovaClipboard and Cordova 5.1.1

The new Phonega build has gradle support, that use NPM on plugins. Are you intend to update to it on the next few days?

hi @calebeaires
the gradle build for PGB seem have some problem
http://community.phonegap.com/nitobi/topics/gradle-support-enabled-for-android-builds
I am "ColinBau"
maybe you can wait until PGB release the "stable" version again

I'm running into the same issues.
Build Date: 2015-10-23 12:21:24 +0000
----------------------------------------------

/project/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
Error: Project contains at least one plugin that requires a system library. This is not supported with ANT. Please build using gradle.
    at /project/cordova/lib/build.js:169:27


Output puzzle is unsorted and is not shifted to always allign to screen.

The first word is always at (0,0). Most of the time, some words end up higher, or more left, resulting in negative coordinates. This is not ideal for rendering the puzzle, so they need to be shifted. Additionally, it is important that the words are sorted by orientation and by leftness and upness. This allows for proper word numbering.

Words are now shifted to all have positive values, but are still unsorted


[BUG] Tasks Plugin's Baclinks causing scroll on note

This bug only happening on reading view.
https://user-images.githubusercontent.com/70096810/229996091-44a9ac1e-d8ee-48f3-b94d-fb455915010a.mp4

Can you reproduce this in a sandbox vault with the stock theme and no plugins besides Hover Editor?  Also please indicate your Obsidian version.  Thanks.

Ek olarak, obsidiyeni ilk açtığımda herhangi bir hata yok, ancak dosyayı kaydırıp bağlantının üzerine geldiğimde hata oluşmaya başlıyor.

Google translated your message as: "Additionally, when I first open obsidian there is no error, but when I scroll the file and hover over the link, the error starts to occur," but that doesn't answer any of the questions I asked.

Does it happen without the Tasks plugin active, though?

When I disabled the Hover editor, bug disappear.
I can't disable the Tasks plugin because this task list came from Tasks plugin.

Quick question: do you have automatic focus turned on for Hover Editor?  That is, is focus going to the hover editor when it pops up?

In my vault, I tried the disable auto focus, but the bug still happened.
In sandbox vault, I disabled the auto focus then restart the app, first its work when I didn't scroll the note yet. When I scroll and tried the hover on, bug was happening.
Then tried "auto pin = always" settings and bug still remaining.
Then tried "default mode = editing view" settings and bug still remaining.
Then tried "default mode = match current view" settings and bug still remaining.
But when I changed the note view mode to editing view from reading view, bug is gone.

Its could be the Tasks plugin bug I think. ?

When a hover editor pops up, a couple of Obsidian events are triggered, to tell plugins that the workspace layout has changed (because there's a new pane open) and that a file has opened.  These events can't be disabled, because then lots of other features and plugins would not work correctly.  If the Tasks plugin (or something else) is responding to these events by re-rendering the pane that was hovered, then yes, it certainly could be Tasks that is responsible.
A quick search of the Tasks plugin's code does not show any obvious way in which they are responding to those events, though.  But it could be indirect.
In any case, there is nothing that Hover Editor does to directly affect the thing(s) you hover over.  But since it does create a new pane and open a file to show in that pane, it does trigger Obsidian events that tell all plugins that the workspace layout has changed and a file has been opened.  Any plugin, or Obsidian itself, could then do pretty much anything in response that could trigger a re-rendering of the reading view, and identifying which plugin it is would be difficult.
All I can suggest is putting similar links in a similar note, but not using Tasks -- if the issue still happens then it is an issue with Obsidian core, otherwise it is most likely an issue with Tasks.

Thank you for everything.

I tried the new update (version 0.11.12) and the issue solved.

Yeah, it's an issue with Obsidian that was doing this, that I added a workaround for in 0.11.12.  (See issue #222 for more details.)


Add support for custom watchers and auditors

In order to more cleanly separate out modules that should be part
of the public release from modules that are unique to an
individual installation, this PR updates the monitors, auditor
and watcher framework to support dynamic loading of modules.
In addition to adding mechanisms to dynamically load watchers and
auditors recursively from a corresponding directories, this
change also cleans up and encapsulates functionality that id
duplicated in multiple modules.
Change summary:

Fix Error in exception handling
Adding audit class to distinguish items created by different
auditors of the same type
Adding custom directories
Adding development guidelines documentation
Fixing links in documentation
Removing duplicate auditors
Adding init test for scheduler
Fixing DB error in scheduler test
Removing unneeded DB insert from test case
Race condition with watcher_registry
Fixing DB migration conflict
Picking up pubspec.lock changes
Code style cleanup
Update file headers for contribution prep

This PR was updated and merged in #410.  Closing PR.


[Bug]: "Developer Blog" quickstart CatchBoundary problem

Which Remix packages are impacted?

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[ ] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[ ] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
1.0.4
Steps to Reproduce
Run the Developer Blog quickstart project and see the "URL Params and Error Boundaries" demo. Click "And this will be 401 Unauthorized" link.
Expected Behavior
I'm expecting to see a custom error message with a webmaster email.
Actual Behavior
I see generic "There was a problem with your request!" error message.
This switch block is missing breaks.

This have been fixed by a PR


Loading states: Components

Input fields can, for various reasons, have a loading state. For example "validation pending".
Discussion: https://teams.microsoft.com/l/message/19:e7fa68fb13eb40b4bf4604edea5f4b3e@thread.tacv2/1690987475146?tenantId=3ae7c479-0cf1-47f4-8f84-929f364eff67&groupId=123c7c9e-052a-40e6-98d3-6cc6d46bad0a&parentMessageId=1690987475146&teamName=Design System&channelName=🚑 Support&createdTime=1690987475146&allowXTenantAccess=false
### Tasks
- [ ] Analyze what components need a loading state (input fields, textarea, select, button, ...)
- [ ] Create tickets for each component (for faster implementation)

Closing as out of scope


Update article on the GitHub CLI

Why:
Closes #4845

What's being changed:

Change 'computer' to 'terminal' to make intended use of the tool more specific (computer is a more general term here)
Change the wordings in the 'About GitHub CLI' section to make it more general and add more features in the list

Check off the following:

[x] I have reviewed my changes in staging (look for the deploy-to-heroku link in your pull request, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (eg. a "before and after video")

🎉 Thanks so much for opening a PR for this fix @thepushkarp! I'll triage this for review 💖

@janiceilene thanks for the review. I've added the changes as suggested by @myarb

Awesome, thanks for making updates @thepushkarp! I'll triage this for the team to review ⚡

Thank you so much @lecoursen! I checked the later commits and understood what could have been improved upon :smile:. I'll keep these little things in mind while working on the next issue. It was a great experience working on this one!

https://support.google.com/recaptcha/?hl=en
Get Outlook for @.***> Cardgen.iohttps://example.css/wordpress/freedomfinancial.ifo


More proper formatting of the shell

Code is rough / to be refined.

#1629 implements this properly


PPO2 value function clipping

Hello, I would like to ask question about clipping value function in realization of PPO2:
https://github.com/openai/baselines/blob/master/baselines/ppo2/ppo2.py#L32
Could you please explain intuition behind it, I found that in original PPO paper and implementation of PPO no such clipping was used.
Thanks in advance!.

Same intuition as clipping the policy, it is used to avoid big changes in the value network.
This is good because it helps to avoid overfitting on the most recent batch.


Library replacement

Some time ago I wrote a new emoji library as this one is no longer maintained and there seems to be no good replacement.
The emojis are auto-generated directly from the source, so it is easy to create a new version when new emojis become available.
This also keeps maintenance time to a minimum.
If you want to check it out: https://github.com/felldo/JEmoji

Nice

Fantastic thanks a lot

Finally! Thanks!

Nice. Does anyone use it?


MELPA Stable dependency is unsatisfiable

(In case you're not familiar, MELPA Stable is an arm of MELPA that only contains stable packages. "Stable" packages are defined by the existence of vX.X.X style tags in the project repository.)
Floobits is on MELPA Stable (due to the existence of the relevant tags), but the highlight package it depends on is not, therefore installation from MELPA Stable always fails.
If MELPA were fetching highlight from GitHub, then solving this would simply be a matter of getting the library author to tag the appropriate releases, but unfortunately the package is being pulled from Emacs Wiki. Not only does this preclude tagging releases, but the wiki is something of a sinking ship with respect to hosting source code—I think the whole community has realized at this point that code on the wiki needs to have a proper home elsewhere.
That all said, the path forward is to see if the package author (Drew Adams) is willing to host the package elsewhere. Then we can change the recipe and get the release tagged. That may sound like a lot of effort, but I've done it several times now (see the My Experience section of this blog post), and in reality it usually amounts to sending an email and making a one line PR against the MELPA repo. Plus, in this case we have the advantage that the author is still active in the Emacs community.
Alternately, it doesn't even look like floobits uses highlight extensively—it probably wouldn't be a large effort to switch to something like ov or to eliminate the dependency entirely.

Could this be related to an issue I'm experiencing when installing it using straight.el?
Building floobits...
Building floobits → Cloning highlight.el...
straight--get-call-raw: Command failed: git clone --origin origin --no-checkout git@github.com:steckerhalter/highlight.el.git highlight.el (output: "Cloning into 'highlight.el'...
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


LICENSE: update the copyright year

Redo of #3 after history got rewritten

Sorry about that. I won't have to rewrite history again.

Np, if it had to be done, today was the day to do it :)


[MACHINE LEARNING] Using C++ to build a regularized model for your Python Machine Learning Project

Topic Suggestion
[MACHINE LEARNING] Using C++ to build a optimized model for your Python Machine Learning Project
Writing sample(s):
My latest sample is found here
Proposal Submission
Proposed title of article
Using C++ to build a optimized model for your Python Machine Learning Project
Proposed article introduction
It's with no doubt that Python is more versatile in building Machine Learning models. This is most definitely due to the large community, many libraries, short and easy-to-understand code, etc. However, it has its shortfalls when it comes to execution speed. This is where a high-speed language like C++ comes in. We can build a fast executing ML model using C++, but it's no match to Python in the number of Machine Learning libraries. How about utilizing Python libraries such as Numpy and Pandas for data preprocessing and then building a model running on C++? That's what we're going to look at.
Luckily, Python has the ctypes module that allows us to call C++ code and use it in Python code. In this article, we are going to do exactly that. We will use C++ to build a Logistic Regression model and then regularize it using Batch Gradient Descent with early stopping.
Key takeaways
The user will learn about:

Python's ctypes module.
Building a machine learning model from scratch using C++.
Consuming the C++ model using Python.

Article quality
It will be easy and simple to follow. Everything will be done from scratch and broken down bit by bit.
References
Towards Data Science

Hmm seems a good idea.
I have built a program on LinearRegression using c, which is more accurate and many times faster than python scripts.

Thank you so much. I am finalizing on my research, and I'll upload it
probably Saturday. Could you share with me the link you did on Linear
regression?
On Thu, Jan 27, 2022, 23:39 Mohammed Adnan Khan @.***>
wrote:

Hmm seems a good idea.
I have built a program on LinearRegression using c, which is more accurate
and many times faster than python scripts.
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/issues/6006#issuecomment-1023619599,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALV7XMMAEQKTX3K7NA6EFEDUYGUPXANCNFSM5LTBN6QA
.
You are receiving this because you authored the thread.Message ID:
<section-engineering-education/engineering-education/issues/6006/1023619599
@github.com>

I have attached the link to my file on linear regression using c
https://github.com/the-confused-genius/Best-fit-curve/tree/main/Linear Regression
Using this we could find the best fit line for any linear model. With the minimum input of two points. The output of the program is m which is the slop and c which is the intercept of the line.

I have attached the link to my file on linear regression using c https://github.com/the-confused-genius/Best-fit-curve/tree/main/Linear Regression
Using this we could find the best fit line for any linear model. With the minimum input of two points. The output of the program is m which is the slop and c which is the intercept of the line.

Alright, I'll check it out.

Topic Suggestion
[MACHINE LEARNING] Using C++ to build a model for your Python Machine Learning Project
Writing sample(s):
My latest sample is found here
Proposal Submission
Proposed title of article
Using C++ to build a model for your Python Machine Learning Project
Proposed article introduction
It's with no doubt that Python is more versatile in building Machine Learning models. This is most definitely due to the large community, many libraries, short and easy-to-understand code, etc. However, it has its shortfalls when it comes to execution speed. This is where a high-speed language like C++ comes in. We can build a fast executing ML model using C++, but it's no match to Python in the number of Machine Learning libraries. How about utilizing Python libraries such as Numpy and Pandas for data preprocessing and then building a model running on C++? That's what we're going to look at.
Luckily, Python has the ctypes module that allows us to call C++ code and use it in Python code. In this article, we are going to do exactly that. We will use C++ to build a Logistic Regression model and then regularize it using Gradient Descent.
Key takeaways
The user will learn about:

Python's ctypes module.
Building a machine learning model from scratch using C++.
Consuming the C++ model using Python.

Article quality
It will be easy and simple to follow. Everything will be done from scratch and broken down bit by bit.
References
Towards Data Science

@the-confused-genius, it was published yesterday. Here it is. Though I tried passing a CSV directly from Python I did not succeed in that(I tried for close to 3 consecutive days). The pointer manipulation and memory allocations need more research. I will do that on a dedicated article once I finish my research. For testing, I just used a sample 2D array I extracted from a heart data CSV file. It was worth it.


Question regarding the data for the log-likelihood

Description
Hi, I am trying to run flowMC to sample from the inhomogeneous Poisson likelihood mentioned in equation 4 of the paper. I am using the following Monte-Carlo approximation for the integral.

You can notice we have a different number of samples for each iteration. JAX does not support such arrays where each sub-array has a different size. Therefore my next natural choice was to use jax.tree_map, but you have vectorized the log_pdf (which is in my case the log-likelihood) by vmap which is not working.
Is there any other way to pass those pre-computed values?
I am attaching the code down here.
from __future__ import annotations

import jax
from jax import jit
from jax import numpy as jnp
from numpyro import distributions as dist

from gwkokab.vts.utils import interpolate_hdf5

from ..models import *
from ..utils.misc import get_key

@jit
def exp_rate(rate, *, pop_params) -> float:
    N = 1 << 13  # 2 ** 12
    lambdas = Wysocki2019MassModel(
        alpha_m=pop_params["alpha_m"],
        k=0,
        mmin=pop_params["mmin"],
        mmax=pop_params["mmax"],
    ).sample(get_key(), sample_shape=(N,))
    I = 0
    m1 = lambdas[..., 0]
    m2 = lambdas[..., 1]
    value = jnp.exp(interpolate_hdf5(m1, m2))
    F = jnp.sum(value)
    I_current = F / N
    I += rate * I_current
    return I

def log_inhomogeneous_poisson_likelihood(x, data=None):
    alpha = x[..., 0]
    mmin = x[..., 1]
    mmax = x[..., 2]
    rate = x[..., 3]
    alpha_prior = dist.LogUniform(-5.0, 5.0)
    mmin_prior = dist.LogUniform(5.0, 30.0)
    mmax_prior = dist.LogUniform(30.0, 100.0)
    # rate_prior = dist.Uniform(1, 500)
    expval = exp_rate(
        rate,
        pop_params={
            "alpha_m": alpha,
            "mmin": mmin,
            "mmax": mmax,
        },
    )
    mass_model = Wysocki2019MassModel(
        alpha_m=alpha,
        k=0,
        mmin=mmin,
        mmax=mmax,
    )
    log_integral = jnp.sum(
        jnp.asarray(
            jax.tree_map(
                lambda d: jax.nn.logsumexp(
                    mass_model.log_prob(d)
                    - alpha_prior.log_prob(alpha)
                    - mmin_prior.log_prob(mmin)
                    - mmax_prior.log_prob(mmax),
                )
                - jnp.log(len(d))
                + jnp.log(rate),
                data,
            )
        )
    )
    return log_integral - expval

Wysocki2019MassModel is equation 7 of the same paper mentioned above. Also, I have an inner feeling that there is something wrong with the likelihood function too, but I cannot point it out.

@Qazalbash Regarding the sub-arrays being different sizes, you mean the number of samples per event, d, being different sizes from event to event, right? Usually, the easiest way is to upsample or downsample the event to a common size, then one should be able to vmap over it without problems.
Regarding your likelihood, a number of things:

It seems your exp_rate and likelihood function is constructing the Wysocki2019MassModel at every call, which I am not sure whether it is intended. Depending on how the Wysocki2019MassModel is written, this can massively slow the computation down. Same goes for the priors. I would initialize those objects outside the likelihood and pass them in as data.
The function signature of the likelihood should be f(x: array, data: dict), where x is a 1D array of the parameters. Meaning it should something like x = jnp.array([alpha, mmin, mmax, rate]).
The sample in the mass model seems to be a stochastic process to me, which I am not sure you need it. I assume lambdas are the hyperparameters, and it is for computing the rate. In that case, x in the likelihood is your lambda, you don't have to resample it within the likelihood.

@kazewong Thank you for the points. I have a few uncertainties about certain aspects of the process, which I've outlined below. I hope this doesn't inconvenience you.

The reason for making Wysocki2019MassModel inside the log_inhomogeneous_poisson_likelihood is according to my understanding, we are running the flowMC to recover the parameters $\alpha$, $m_\text{min}$, $m_\text{max}$, $\mathcal{R}$, therefore at each iteration, these values would change as we can see that we are passing them as x in the log_inhomogeneous_poisson_likelihood, therefore our model should also get updated according to these parameters. This is my understanding and I highly doubt it.
I am following one of the tutorial in the docs and there they have passed data as a jnp.array. I also can not grasp how we are passing different data to the sampler in the form of dict.

This is the Wysocki2019MassModel.

#  Copyright 2023 The GWKokab Authors
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

from __future__ import annotations

from typing_extensions import Optional

from jax import lax, numpy as jnp
from jax.random import uniform
from jaxtyping import Array
from numpyro.distributions import constraints, Distribution
from numpyro.distributions.util import promote_shapes, validate_sample

from ..utils.misc import get_key

class Wysocki2019MassModel(Distribution):
    r"""It is a double-side truncated power law distribution, as
    described in equation 7 of the `paper <https://arxiv.org/abs/1805.06442>`__.

    .. math::
        p(m_1,m_2\mid\alpha,k,m_{\text{min}},m_{\text{max}},M_{\text{max}})\propto\frac{m_1^{-\alpha-k}m_2^k}{m_1-m_{\text{min}}}
    """

    arg_constraints = {
        "alpha_m": constraints.real,
        "k": constraints.nonnegative_integer,
        "mmin": constraints.positive,
        "mmax": constraints.positive,
    }

    support = constraints.real_vector
    reparametrized_params = ["m1", "m2"]

    def __init__(self, alpha_m: float, k: int, mmin: float, mmax: float, *, valid_args=None) -> None:
        r"""Initialize the power law distribution with a lower and upper mass limit.

        :param alpha_m: index of the power law distribution
        :param k: mass ratio power law index
        :param mmin: lower mass limit
        :param mmax: upper mass limit
        :param valid_args: If `True`, validate the input arguments.
        """
        self.alpha_m, self.k, self.mmin, self.mmax = promote_shapes(alpha_m, k, mmin, mmax)
        batch_shape = lax.broadcast_shapes(
            jnp.shape(alpha_m),
            jnp.shape(k),
            jnp.shape(mmin),
            jnp.shape(mmax),
        )
        super(Wysocki2019MassModel, self).__init__(
            batch_shape=batch_shape,
            validate_args=valid_args,
            event_shape=(2,),
        )

    @validate_sample
    def log_prob(self, value):
        return (
            -(self.alpha_m + self.k) * jnp.log(value[..., 0])
            + self.k * jnp.log(value[..., 1])
            - jnp.log(value[..., 0] - self.mmin)
        )

    def sample(self, key: Optional[Array | int], sample_shape: tuple = ()) -> Array:
        if key is None or isinstance(key, int):
            key = get_key(key)
        m2 = uniform(key=key, minval=self.mmin, maxval=self.mmax, shape=sample_shape + self.batch_shape)
        U = uniform(key=get_key(key), minval=0.0, maxval=1.0, shape=sample_shape + self.batch_shape)
        beta = 1 - (self.k + self.alpha_m)
        conditions = [beta == 0.0, beta != 0.0]
        choices = [
            jnp.exp(U * jnp.log(self.mmax) + (1.0 - U) * jnp.log(m2)),
            jnp.exp(jnp.power(beta, -1.0) * jnp.log(U * jnp.power(self.mmax, beta) + (1.0 - U) * jnp.power(m2, beta))),
        ]
        m1 = jnp.select(conditions, choices)
        return jnp.stack([m1, m2], axis=-1)

    def __repr__(self) -> str:
        string = f"Wysocki2019MassModel(alpha_m={self.alpha_m}, k={self.k}, "
        string += f"mmin={self.mmin}, mmax={self.mmax})"
        return string

I have pretty much got the idea where I am wrong. Your response will make it more clear. Thanks in advance.

I think this is resolved. Closing the issue.


Dynamic Programming: Knight Probability in Chessboard in Go

https://leetcode.com/problems/knight-probability-in-chessboard/

@akgmage plz assign me this task i will completed


RSA8a

It is good, but I am not sure it really shows that a token request has been created, other than the fact a TokenDetails object is returned and assumed comes from a TokenRequest.  It would be nice to have some deeper test, but it's not that important either.

@mattheworiordan Yes I know, it is superficial but basically it calls the Auth#createTokenRequest. I could create some mock object for Auth to record all the steps of the authorisation process.

No, I think lets proceed, it's not that important


fix cossack labs' blog link

re #593 — i am just updating the links.
i think we've stopped using "ios" tag in 2019 and switched to "mobile" (still mostly iOS, don't ask why..).
also, i updated rss link.
@daveverwer does it make sense?

Sorry for the confusion before and thanks so much for the update!

thank you!


offtopic: CCRs and lab results

sorry for the noise (but i can't find email addresses for either of you!)
would it be possible to get a pointer to how one encodes lab results via CCR? neither LabCorp nor Quest Diagnostics have a download "CCR" (or "CCD") button, but only a "PDF" button.
fine, i can run http://tabula.technology/ as well as anyone else and clean up the output. and i can write a transformation program ... if i know what the format/dictionary is... would you be able to help?
many thanks!
/mtr

I'm not sure if You meant to post this here, but Cypress doesn't have anything to do with CCR.

thank you very much... in truth, i realize that while the repo might not be current, as a contributor, you know a lot more than i do.
best,
/mtr


Allow local code directories for training and serving

aws/sagemaker-containers#95
Tests will fail until new sagemaker containers is in pypi.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Yes. Will do!


test: add version 2 and 3 declare tx support

This change is

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

Project coverage is 77.39%. Comparing base (6b87bdc) to head (855b632).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1837   +/-   ##
=======================================
  Coverage   77.39%   77.39%
=======================================
  Files          60       60
  Lines        8556     8556
  Branches     8556     8556
=======================================
  Hits         6622     6622
  Misses       1494     1494
  Partials      440      440

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


[Form] Always scan shadow elements when categorizing the form inputs

Reviewer:  @GioSensation
Asana: https://app.asana.com/0/1205996472158114/1208767323230381/f
Description
Autofill doesn't work on reddit's login page. A few problems:

It seems like we were not looking for enclosed elements in shadow in some cases, I have fixed that. This fixes reset + login
To fix the signup form the following had to be done:
a. The traversal had to be increased to 10, since the email feel is deeply nested, and we don't really get a parent form otherwise. This hasn't caused any problems in the test suite, so I am fine keeping it to 10 since reddit is a big one.
b. There's  a "Login" external link, but it's a custom component. Because of that, the scoring doesn't get flipped up. I have added a regex to check if a custom component ends with a -link, then look inside and see if there are any anchor elements within it's shadow boundaries.
c. Only scan on click works for signup

Additionally there are some minor refactors.
Steps to test

Go to reddit.com
Click on login, you should see the key icons if you have password. Save should be prompted normally, everything should work like happy path.
Go to signup, click on the field that says "Email". You should see the dax icon and email suggestion.

Something broke the tests, checking!


test-branch/execute-job/wrong-commit-sha-on-pr/0eb5b248-cacf-472c-b1a4-01267e684fa2

PR for testing c9f08bbbcf72976c4b45821cec48cbe72bb9fff1

/canonical/self-hosted-runners/run-workflows b810e20942c2916cf233b1182b91fd77fdb40c03


Fix buffer overrun in tabs[MAX_NESTS] by adding space for \0 terminator

.. also speed it up by not using strcat when direct array access works just fine.
In the Anaconda Distribution we build on macOS with -fstack-protector-strong. Here is the stack trace I got:
1  __pthread_kill                         0x7fff58d86e3e
2  pthread_kill                           0x7fff58ec5150
3  abort                                  0x7fff58ce3312
4  abort_report_np                        0x7fff58ce3485
5  __chk_fail                             0x7fff58d07c2d
6  __chk_fail_overflow                    0x7fff58d07bfd
7  __strcat_chk                           0x7fff58d07fb9
8  rec_print_metadata  nc4internal.c 1484 0x1001081e0
9  rec_print_metadata  nc4internal.c 1561 0x1001085bb
10 rec_print_metadata  nc4internal.c 1561 0x1001085bb
11 rec_print_metadata  nc4internal.c 1561 0x1001085bb
12 rec_print_metadata  nc4internal.c 1561 0x1001085bb
13 rec_print_metadata  nc4internal.c 1561 0x1001085bb
14 rec_print_metadata  nc4internal.c 1561 0x1001085bb
15 rec_print_metadata  nc4internal.c 1561 0x1001085bb
16 rec_print_metadata  nc4internal.c 1561 0x1001085bb
17 rec_print_metadata  nc4internal.c 1561 0x1001085bb
18 rec_print_metadata  nc4internal.c 1561 0x1001085bb
19 nc4_open_file       nc4file.c     2350 0x1000fc2f7
20 NC4_open            nc4file.c     2867 0x1000fbe05
21 NC_open             dfile.c       1980 0x1000bcb18
22 nc_open             dfile.c       652  0x1000bc8eb
23 main                ncdump.c      2296 0x1000037f2
24 start                                  0x7fff58c37115
25 start                                  0x7fff58c37115

Please consider my patch for inclusion, if you have any problems with it then please let me know.

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

Thank you very much, it looks great. Updating with the changes in master and will merge :).


Add linking to Terraform documentation (#113)

The "View External Documentation" and "Navigate Declaration" actions both open documentation in the browser for:

backends
data sources
keywords
functions
providers
provisioners
resources

Beware this is my first use of Kotlin and my first IntelliJ plugin so I wont be surprised if there are some silly mistakes!

@VladRassokhin any chance of this getting reviewed? Would love to have this feature, as it's pretty much the main thing missing vs what the Code plugin offers 🙂

v 0.7.3 just added this: https://plugins.jetbrains.com/plugin/7808-hashicorp-terraform--hcl-language-support

Support external documentation in 'Quick Documentation' action for Terraform providers, resources and data sources

It is far from being as usable as the VS Code implementation. When the feature appeared on the change log I assumed this fork had been merged in but apparently not.

@VladRassokhin I'm keen to help with this but not sure if I can now that the source is closed?

For now I’ve implemented much simpler feature which just provides link to official documentation for resources and providers. It’s done for several reasons:

Much faster to implement
Don’t increase distribution size and memory consumption. Even simpler terraform-metadata is 0.5 MiB compressed and consumes around 5 MiB in IDE memory with all possible deduplications performed.
From legal perspective I’m not sure about scrubbing documentation and bundling it with plugin. However same applies for terraform-metadata, but it’s done from MPL-licensed sources.

@matthew16550 I do appreciate what’ve you done in this PR, though for now I don’t have enough time to thorough review code and implement something similar based on your code.


Support for Oauth?

Was wondering if there is any support for Oauth2 namely, Implicit Grant, or ideally, Authorization Code Grant?
If not:

Are there plans to support any of these?
Would you be open to me (eventually) adding in this support?

I think OAuth2 flow is generally outside the scope of a client lib. Once you have a JWT from an OAuth session you can use it in the client with the Bearer prefix though. And there are some enums for the different scopes.
I'm not too sure on this though, but generally OAuth stuff involves separate libraries.

I'll look into this further, but I was thinking some additions to this library to make the whole sign in process with Oauth nicer. In the case for iOS, possibly provide a webview that is set to load the url required to begin the oath process. And possibly some hackery to set the redirect uri so the client may be able to intercept it and go from there.
This might warrant creating a new library just focused on the iOS platform itself, however. But I thought it would be good to bring this topic up for discussion.

Yeah I don't really want to include iOS specific code in the lib... Mostly because iOS is kind of a pain to install atm, and there's a good chance it'll be break and stay that way for awhile before someone notices.

That being said, I would probably need to see an implementation in a PR before I know if it's too hacky or scary to try and include in the lib.

Fair enough, thanks for the quick reply.


Command line syntax for explicitly passsing the empty collection as a param-value

It's often useful to be able to explicitly specify a default value, rather than needing to special case to not pass the param at all (e.g. in a bash script). Empty collections are the natural default for most collection-values params, but there's no way to explicitly encode them as a value.
I propose that the empty string should be parsed as the empty collection, to fill this gap. Empty string is the best choice for this empty-collection sentinel because it's the result of string-joining an empty collection, so the transformation is vaguely symmetric.
This proposal does make it impossible to specify a collection containing only the empty string, which is inconsistent in some ways, but that input should be way less common than empty collection. This could be solved by generalizing that trailing separators are ignored by parsing, but that would be a larger change.

I agree that it is not possible to specify an empty collection in the annotations.
As a workaround, if the option or positional parameter is backed by an annotated field, you can give this field the initial value of an empty collection. That can look something like this:
@Option(names = "-s", description = "workaround: initial value is empty list")
List<String> initiallyEmptyList = new ArrayList<>();

I believe the problem you mention will be solved as part of https://github.com/remkop/picocli/issues/879 (and #877),
which will provide the ability to specify default values for multi-value options in the annotations.
When #879 is implemented, application developers can write code like this:
@Option(names = "-n", defaultValues = {"1", "2"})
List<Integer> numberList;

@Option(names = "-x", defaultValues = {}, description = "Empty list by default")
List<Integer> otherList;

The request isn't about the annotations (that I can tell), it's about the command line syntax. I want there to be a way that given:
@Option(names = "--int_list")
List<Integer> numberList;

println("numbers_count: " + numberList.size())

I can do:
$ my_binary --int_list=
number_count: 0

I see what you mean now, thank you for the clarification.
Currently, picocli has the notion of fallbackValue, which is the value that is assigned to options with an optional parameter, when the user did not specify that parameter on the command line.
However, currently fallbackValue (like defaultValue) only works for single-value options, not for multi-value options.
The plan is for https://github.com/remkop/picocli/issues/879 to address that also.
Your code would look like this:
@Option(names = "--int_list", fallbackValues = {})
List<Integer> numberList;

And that would result in an empty list being assigned to numberList when --int_list= is specified on the command line.

I see what you mean now, thank you for the clarification.
Currently, picocli has the notion of fallbackValue, which is the value that is assigned to options with an optional parameter, when the user did not specify that parameter on the command line.
However, currently fallbackValue (like defaultValue) only works for single-value options, not for multi-value options.
The plan is for https://github.com/remkop/picocli/issues/879 to address that also.
Your code would look like this:
@Option(names = "--int_list", arity = "0..1", fallbackValues = {})
List<Integer> numberList;

And that would result in an empty list being assigned to numberList when --int_list= is specified on the command line.

@nreid260 You can also accomplish the desired behaviour by specifying a custom IParameterPreprocessor. For example:
import picocli.CommandLine;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Stack;

public class Issue1987 implements Runnable {
    @CommandLine.Option(names = "--int_list", preprocessor = MyPreProcessor.class)
    List<Integer> numberList;

    static class MyPreProcessor implements CommandLine.IParameterPreprocessor {
        @Override
        public boolean preprocess(Stack<String> args,
                                  CommandLine.Model.CommandSpec commandSpec,
                                  CommandLine.Model.ArgSpec argSpec,
                                  Map<String, Object> info) {
            if (argSpec == commandSpec.findOption("--int_list")) {
                if (args.empty()) {
                    return false; // no parameters at all: let picocli standard parsing handle this case
                }
                if (args.peek().isEmpty()) { // empty option parameter
                    args.pop(); // remove the empty string parameter from the stack
                    if ("=".equals(info.get("separator"))) { // user input was `--int_list=`
                        List<Integer> currentList = argSpec.getValue();
                        if (currentList == null) {
                            argSpec.setValue(new ArrayList<Integer>());
                        } else {
                            // list already has some value from previous args...
                            // your app should decided what (if anything) to do here...
                        }
                    }
                    return true; // tell picocli we handled this option completely
                }
            }
            return false; //let picocli standard parsing do the param handling for this Option
        }
    }

    @Override
    public void run() {
        System.out.println("numbers_count: " + numberList.size());
    }

    public static void main(String[] args) {
        new CommandLine(new Issue1987()).execute(args);
    }
}

Is there a way to do this generically? Can that preprocessor be added to Picocli?
If 30 lines of code are needed for each flag with needing behavior, I wouldn't call it a solution. Ideally, all collection flags would treat empty input as empty collection.

@nreid260 The generic approach will be available when https://github.com/remkop/picocli/issues/879 is implemented in a future release. One of my previous comments has some details on how that will work.
The preprocessor example is a way to accomplish your requirements with the current version of picocli.
Hopefully the example is clear enough for you to get your application to work the way you intend to. You can modify the example to make it generic enough to work for multiple options.

In my own app, I added a post-processing function to the run() method.

Oh interesting!
When users specify --int_list=, picocli will by default give an error "missing parameter for option --int_list".
The option parameter can be made optional with arity=0..1, but then picocli will still fail trying to convert the empty String to an Integer...
So I thought you needed something to prevent these errors, hence the preprocessor idea.
However, if you have something that works for you, that is great of course.

Ahh, in my real case it's a list of strings, so the conversion can't fail.


@edge-runtime/types Missing addEventListener

With the following TSConfig, a lot of things are missing in the types
{
	"compilerOptions": {
		"moduleResolution": "NodeNext",
		"module": "NodeNext",
		"strict": true,
		"useUnknownInCatchVariables": true,
		"noImplicitOverride": true,
		"noFallthroughCasesInSwitch": true,
		"noUnusedLocals": true,
		"noUnusedParameters": true,
		"exactOptionalPropertyTypes": true,
		"noImplicitReturns": true,
		"noUncheckedIndexedAccess": true,
		// Explicitly empty lib (no DOM, etc)
		"lib": [],
		// Only specify types for edge-runtime
		"types": ["@edge-runtime/types"]
	}
}

Here's a couple things that don't exist. Perhaps I need to include some other types to "lib" but for example addEventListener exists in DOM but a lot of things that exist in DOM do not exist in the edge-runtime

Hey @alii, I'm taking care about this.
I reproduced the issue in this repo: https://github.com/Kikobeats/edge-runtime-138
It looks like addEventListener is defined, still some types are missing. Working into land a fix.


Add option to specify kubeconfig in olm_operator

Add optional parameter olm_operator_kubeconfig to specify exact kubeconfig file to use. If not specified, defined or it's empty, then the previous default behaviour keeps working.

@sshnaidm we usually do apply the kubeconfig env when including the role, something like:
- ansible.builtin.include_role:
    name: olm_operator
    vars:
      <config>
    apply:
      environment:
        KUBECONFIG: <path to KC>

Which should work unless more than 1 KC file is used in the role, would that work for you?

@sshnaidm we usually do apply the kubeconfig env when including the role, something like:
- ansible.builtin.include_role:
    name: olm_operator
    vars:
      <config>
    apply:
      environment:
        KUBECONFIG: <path to KC>

Which should work unless more than 1 KC file is used in the role, would that work for you?

We discuss this in issue: #296

@tonyskapunk @thekad is there anything blocking this PR?

@sshnaidm before actually doing the changes we need to reach consensus  in #296.  This is good as a PoC and a validation that things won't break, but once #296 is solved we can proceed with this one.


Update Metadata for SimonG4ELI.SDR-Radio

Related to #138357

Microsoft Reviewers: Open in CodeFlow

Nice, thanks a lot for the quick fix! :-)


Add setting to exclude specific routes from pageview tracking

At the moment all routes are being tracked as pageview. In some cases, it can be necessary to exclude some of the routes from sending pageview tracking, for example if the route itself contains sensitive information that should not be sent out to third-party system.
I implemented that change locally but seeing that others showed interest about this recently (see https://github.com/angulartics/angulartics/issues/395) I thought it might be worth considering for inclusion in an upcoming version of Angulartics.
The proposed changes are:

new excludedRoutes setting in the pageTracking settings, containing a list of strings or regular expressions that should prevent the pageview event from being triggered
new excludeRoutes() provider configuration option (which writes to settings.pageTracking.excludedRoutes)
when attempting to trigger a pageview event, the url is checked against the list (does it match any RegExp, or does it contain any of the strings) to verify if it should be excluded from tracking

I have also added tests to validate the new configuration options and to ensure routes are correctly excluded when matching any of the excluded routes.
Finally, I have updated the README with instructions on how to use the new setting.
(I haven't pushed changes to the /dist directory, this PR only contains source changes)

Great work @PierreVincent thanks for the PR and the test coverage :)


Update machine-learning-r-csharp-normal-distribution.md

Article refresh

Hi @jaymathe, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (jaymathe). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Display todo cards

karma testing is failing because we haven't properly implemented tests for the todo service or the todo list component yet... we'll do this another time, then hopefully get this working and merge to main

🎉


图标 i 标签的的伪类before样式没有引入进来

页面不存在 类似 .anticon-search:before {    content: "\E670";} 的样式。按照官网所示，不知是否缺了哪个步骤。iconfont已解压放置相应目录，指令属性已添加。

https://zhuanlan.zhihu.com/p/25795393

I
feel
i will get
beat up from
zorro
team
after reading
"https://zhuanlan.zhihu.com/p/25795393"
remind me that i make so many mistakes in open source project's discussion.
also i need to jinshen di go home or office. maybe when i discuss on the road, someone will
Stab me in the back
😂😂😂

抱歉~~~
那我还是手动引入吧~~


Generate GDAX Deposit Address

Adding a method to generate and populate GDAX deposit addresses.  This is an undocumented feature but can be referenced from the Coinbase GitHub exchange found here: https://github.com/coinbase/gdax-node/issues/91

Unfortunately it doesn't seem to be working anymore, returns a 404 not found- are you experiencing the same thing?

This just worked for me to generate a BTC address:
from gdax.authenticated_client import AuthenticatedClient
if name == "main":
auth = AuthenticatedClient(api_key, api_b64secret, api_passphrase)
coinbase_accounts = auth.get_coinbase_accounts()
for coinbase_account in coinbase_accounts:
if coinbase_account['currency'] == 'BTC':
coinbase_account_id = coinbase_account['id']
 print(coinbase_account_id)
 address = auth.get_deposit_address(coinbase_account_id)
 print(address)

On Thu, Feb 22, 2018 at 11:14 PM, Dennis K<EMAIL_ADDRESS>wrote:

Unfortunately it doesn't seem to be working anymore, returns a 404 not
found- are you experiencing the same thing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/danpaquin/gdax-python/pull/216#issuecomment-367912134,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGxeVgm--8WEqzEA2_frA2hBP_ceyvD-ks5tXklEgaJpZM4RQLhS
.


Add read capability

Codecov Report

Merging #4 into master will increase coverage by 0.41%.
The diff coverage is 81.63%.

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
+ Coverage   86.25%   86.66%   +0.41%
==========================================
  Files           3        2       -1
  Lines          80      105      +25
==========================================
+ Hits           69       91      +22
- Misses          7        9       +2
- Partials        4        5       +1

Impacted Files
Coverage Δ

node.go
100% <100%> (ø)
:white_check_mark:

filesystem.go
85.85% <81.25%> (ø)

Continue to review full report at Codecov.

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


Why required of object definition are not with properties field ?

It's strange that required field in definition object are not directly to properties field.
required:
  - foo
properties:
  foo:
    type: string

This will be more easy to use ?

properties:
  foo:
    type: string
    required: true

And they are no warning or error if you add a wrong name in required.

That's the JSON schema talking, not OpenAPI spec.

One reason for not having it in the property's schema is that the same schema might be used (by means of $ref) in several places, but it can be required in some and optional in others.


"Generating Tags" process is noisy and disruptive.

Issue Type: Bug
I have a testing framework that creates symlinks in subdirectories of the _build directory. Recently, VSCode Insiders has started spontaneously opening the "OUTPUT" tab of the console tray, and spewing tons of warnings from "ctag". Here are the first few lines:
> conda --version
> pyenv root
> python3.7 -c "import sys;print(sys.executable)"
> python3.6 -c "import sys;print(sys.executable)"
> python3 -c "import sys;print(sys.executable)"
> python2 -c "import sys;print(sys.executable)"
> python -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> conda info --json
> conda info --json
> conda info --json
> conda info --json
> conda --version
> conda --version
> conda --version
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
Starting Jedi Python language engine.
----------Generating Tags----------
ctags --options=/Users/gwk/.vscode-insiders/extensions/ms-python.python-2019.12.53195-dev/resources/ctagOptions --languages=Python --exclude=**/site-packages/** -o /Users/gwk/work/muck/.vscode/tags .
> ctags --options=/Users/gwk/.vscode-insiders/extensions/ms-python.python-2019.12.53195-dev/resources/ctagOptions --languages=Python --exclude=**/site-packages/** -o ~/work/muck/.vscode/tags .
cwd: ~/work/muck
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
> /usr/local/gloss/bin/python3 -c "import sys;print(sys.executable)"
ctags: Warning: cannot open source file "pithy/_build/test/svg/svg.py" : No such file or directory
...

Followed by many more warnings.
Additionally, I now see a .vscode/tags file getting generated in all of my projects, which I need to exclude in gitignore.
I am guessing this is a new feature being rolled out, and this is what I get for using Insiders. But, some honest feedback:

The spontaneous switch to focus on the output pane is very disruptive.
The new tags file is annoying (must be gitignored).
I have no idea what this stuff is for, and have been unable to find any documentation related to tags by googling.
When I search for text in my project, I now get search results from the generated "tags" file, which seems like something that nobody would ever want.
Adding my _build directory to "files.exclude" setting does not fix the ctags warnings.
It looks like the call to ctags takes an --exclude flag; should probably at least respect files.exclude setting, and at most be more aggressively populated.

Thank you, -George
VS Code version: Code - Insiders 1.41.0-insider (87c2e0be5d7359ce110c4c9ec9f6df71be996f8a, 2019-12-06T21:34:49.305Z)
OS version: Darwin x64 19.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz (8 x 3100)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
6, 5, 4

Memory (System)
16.00GB (2.31GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (24)

Extension
Author (truncated)
Version

npm-intellisense
chr
1.3.0

crafts
gwk
1.0.0

vscode-eslint
dba
1.9.1

vscode-dash
dee
2.3.0

gitlens
eam
10.2.0

vscode-npm-script
eg2
0.3.9

macros
ged
1.2.1

gloss
gwk
1.0.0

vscode-settings-cycler
hoo
1.0.1

vsc-python-indent
Kev
1.8.1

legs
gwk
1.0.0

vscode-docker
ms-
0.9.0

python
ms-
2019.12.53195-dev

cpptools
ms-
0.26.2

debugger-for-chrome
msj
4.12.3

erlang
pgo
0.5.2

ploy
gwk
1.0.0

vscode-yaml
red
0.6.1

vscode-hexdump
sle
1.7.2

cython
tcw
0.1.0

pdf
tom
0.5.1

vscode-lldb
vad
1.4.3

change-case
wma
1.0.0

writeup
gwk
1.0.0

@vscodebot that is not a duplicate.

The output console pane continues to steal focus from the editor window every couple of minutes. This is making VSCode Insiders maddeningly unusable. I suggest you treat this as a high priority regression. In the meantime I will try switching to non-insiders.

I have managed to disable this with the setting python.workspaceSymbols.enabled: false.

@gwk Since this is caused by the Python extension, can you please reopen this issue here: https://github.com/Microsoft/vscode-python

@RMacfarlane thank you. filed at https://github.com/microsoft/vscode-python/issues/9046.
For what it's worth, I appreciate the personal note. In general I think the vscode team does not appreciate how off putting the bots are. Every time I encounter @vscodebot, it is after I have put at least an hour into filing a bug report, and it always feels like the humans on the other end don't care enough to read it. I understand the practical reason for using bots, but it has engendered some deep negative feelings about the vscode project for me.
For one thing, if the bot can automatically close my issue, maybe it could automatically open it in the right place instead of just asking me to do more free work!

@gwk Thanks for the feedback! I agree that having the bot automatically transfer the issue would be a much better experience. I'll pass this on to the rest of the team.


Bug 2218316: Pass-through CA certificates to Velero

Problem
An S3 store specified in a VRG's profiles has a certificate signed by a non-trusted authority and Kube object/resource protection is enabled but unable to store or retrieve data from it. See issue https://github.com/RamenDR/ramen/issues/921.
Proposed solution
Velero and OADP provide ways to specify CA certificates; both eventually specify them in a BackupStorageLocation. Provide a caCertificates input in each S3 profile and pass it through to corresponding BackupStorageLocation.
Make s3StoreAccessor an S3StoreProfile to avoid field duplication

Test results
End-to-end shio-demo failover and failback completed successfully with caCertificates field omitted from s3StoreProfiles

/bugzilla refresh

/bugzilla-refresh

/bugzilla refresh


Chevron icons get cropped while moving

Description
Hover over a chevron link and look at the chevron icon. As its moving, it gets clipped. It is more pronounced in the left facing chevron.
Defect Priority: Medium
Defect Severity: Moderate
Testing Environment: Production
Method of discovery: Manual
Defect Nature: Visual
Screenshots

Unable to reproduce. Closing.


Will this SDK work with the new Tinyman contract or will it need to be updated? If it needs to be updated, any ETA?

As stated in title.

The SDK will continue to work with the updated contract. The only change is to update the mainnet and testnet application IDs.

Updated today.


This page is missing from Teams Toolkit ToC

Somehow this page is missing from Teams Toolkit doc ToC? I couldn't find it anywhere other than directly open the link.

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

ID: 5555cc27-dbfc-72da-e12d-f73dec786c5d
Version Independent ID: 5555cc27-dbfc-72da-e12d-f73dec786c5d
Content: Add single sign-on to your Teams apps - Teams
Content Source: msteams-platform/toolkit/add-single-sign-on.md
Service: msteams
GitHub Login: @zyxiaoyuer
Microsoft Alias: surbhigupta

Edit Azure AD Manifest is already added in the table of contents under Customize manifest. Can you please confirm if this is what you are looking for?

@Meghana-MSFT I was referring to "Add single sign on" page, but I saw ToC is updated to include this page, so never mind and we can close.

Thank you for confirming, we are closing this issue. Please feel free to reach out to us if you face any issue.


Git importer

It would be cool to have an importer that would backup all my code across all hosting services.

yes please!
on nixos, i want to store source files
(usually git shallow clones, fetched via the github tar.gz api)
in their original format (preserve file permissions)
currently, /nix/store will modify the file permissions,
so i can no longer verify the files only by their sha1 commit hash.
currently, nixos/nix is using a separate sha256 hash to "pin the source" files,
but i see that additional sha256 hash as a useless overhead
perkeep storage backend?
sounds like perkeep.org/pkg/blobserver/diskpacked comes closest to the native git format
ideally, we simply use "git repos in filesystem" as storage backend
github, gitlab, gitea, ... all use this strategy,
probably cos its simpler/faster than storing git objects in a different database
related: radicle is using a local git monorepo as database for everything
(which imho is bad design, cos sha1 has only "local" collision safety)
challenges
storing a billion small files is a waste of inodes ...
practically, we have these scenarios:

shallow clone. this should be trivial to store in perkeep, blob = file, tree = folder, commit = ?
deep clone = full history, one branch (master/main)

simple solution: unpack ALL git objects (.git/objects/hh/hhhh...) and store them in perkeep

full clone = full history, all branches
sparse clone

a series of shallow clones → file deduplication?
part of a shallow clone, for example, only a subdirectory (tree) of the repo
single files, for example downloaded via the github "raw" api

sha1 is unsafe
... but (pure) sha1 is 2x faster than sha256,
and all the old repos use sha1
so probably, sha1 will stay
as a workaround for the "sha1 is unsafe" problem,
i propose collision-resolution via human-readable metadata,
assuming that sha1 does have local collision safety
(local = per package/project/namespace)
for example:
assume we have a global sha1 collision, this means,
two files in our perkeep store have the same sha1 sum.
the client knows that "sha1 is unsafe",
so in advance, the client sends additional metadata/context,
like the project name, or the remote url, or the commit time ...
anything that can help to resolve a potential sha1 collision


build: Fix outdated dockerfile

Leads to CI failures such as https://github.com/celo-org/optimism/actions/runs/10902271919

That code does not exist in upstream anymore (see 1e1f22c), which explains why we didn't get the fix for this from upstream.

Yeah, but it's a nice way to check that the migration tool builds. We can remove this once the migration is done.


Bump version to 0.8a3 for another pre-release candidate

@heyman  @cgbystrom  @cgoldberg
This updates the version, however I cannot release the version to pypi (see this request).
Once this PR is merged, please also upload to pypi so that people can begin consuming.
FYI  @mbeacom

Any update on this?

@aldenpeterson-wf Done! Sorry for the wait!


Unable to disable cron for hourly rotations

The default crontab on a Ubuntu machine runs hourly/daily/weekly/monthly jobs at offsets off of the hour which is highly undesirable for log rotations which should be done on the hour.
For daily jobs we have told the logrotate module to not manage cron, and then used puppet/cron to create an appropriate job that runs at 00:00 each day.
But there is no way to tell logrotate module to not manage cron for hourly rotations.
Is there any chance this module can be transitioned to use puppet/cron which supports creating cron jobs where you can specify the exact hour, minute, day, week, etc.
https://forge.puppet.com/puppet/cron
In theory then logrotate::cron could simply call puppet/cron
The issue I see is the lack of FreeBSD support in puppet/cron and if that is still important to this module then I suggest we provide a flag manage_cron_hourly so hourly jobs be set to be unmanaged.

For which option

Mechanism to disable managing hourly cron
Switch whole module to puppet/cron

Submitted PR #137 but cannot figure out why travis ci tasks are failing, can anyone help?


Add test for ObjC gRPC proto forward declaration

Add a test for the changes in #12637

Interop Cloud-to-Prod Tests (internal CI) - should not affect java tests


Question: getting a Assertion `! impl.wr_close' failed error.

First time writing websocket and I was trying to test the reconnect of a websocket, it was working for a few times but after a while it returns this error.
/usr/local/include/boost/beast/websocket/impl/read.hpp:1143: std::size_t boost::beast::websocket::stream< ,  >::read_some(const MutableBufferSequence&, boost::beast::error_code&) [with MutableBufferSequence = boost::asio::mutable_buffer; NextLayer = boost::beast::ssl_stream<boost::asio::basic_stream_socketboost::asio::ip::tcp >; bool deflateSupported = true; std::size_t = long unsigned int; boost::beast::error_code = boost::system::error_code]: Assertion `! impl.wr_close' failed.
I have a thread that checks and print outs the message from the websocket
  try {
        while (true) {
            ws->read(buffer);
            std::string a = beast::buffers_to_string(buffer.data());
            std::cout<< a <<std::endl;
            rapidjson::Document d;
            d.Parse(a.c_str());
            buffer.clear();
            if (d.HasParseError()) {
                Message M(MessageType::m_Reject);
            }
           ...
 catch (...) { }

and I have another thread that checks the ping pong message, it close and reconnects when did not receive pong.
    ws->control_callback(
    [&](
        boost::beast::websocket::frame_type kind,
        boost::beast::string_view
    ){
        if(kind == boost::beast::websocket::frame_type::pong){
            std::cout << "pong!!\n";
            // t_pong = std::chrono::system_clock::now().time_since_epoch() / std::chrono::seconds(1);
        }
    });
while (true) {
        t_ping = std::chrono::system_clock::now().time_since_epoch() / std::chrono::seconds(1);
        ws->ping(websocket::ping_data(payload));
        std::this_thread::sleep_for(std::chrono::seconds(10));
        if (t_pong >= t_ping) {
        }
        else {
            try {
                ws->close(websocket::close_code::normal);
            }
            catch (...) {
                std::this_thread::sleep_for(std::chrono::seconds(1));
            }
            ...\ connecting to the websocket by again in here by emplace as seen in previous discussions
            break;
        }

I thought I would be able to catch the error but it still came from time to time. Is there anything that I did wrong? Thanks

Are you using the websocket from multiple threads?

Yes Im having a thread for reading the message (code on the top) and a thread to check ping and restart it (bottom code).

That doesn't work. You should use the async interfaces instead.

Do you mean I cant do multi threading for websocket or it just does not work when try to reconnect? Sorry I tried looking at async but it has not make sense to me yet.

You can't use a websocket on multiple threads period.

thanks


Slow and unresponsive

Description
It is taking time to load as compared to files explorer in windows.Please make it faster to load.It also freezes sometimes and crashes.
Steps To Reproduce
It crashes and showing black screen when it is trying to open.
Requirements
When the app opens,it remains as black screen and unresponsive and loads after a few seconds.It should be faster as compared to files explorer.
Files Version
2.5
Windows Version
Windows 11 22621.1848
Log File
debug.log

Thank you for your feedback, Merging with #4180. You can check there or click subscribe in the right sidebar for updates.
Startup performance is limited mainly by WinAppSdk. A workarounds is being looked at here https://github.com/files-community/Files/issues/12614.

As for the crash can you see if this is an issue in the preview version. https://files.community/download

@karthikvijay5227 thank you for your feedback, we're aware of the slow startup performance and while it's a limitation with the WinAppSdk framework, we're actively looking for a solution.

We're excited to share that startup performance will be significantly improved in the upcoming release of version 3. You can download the preview version from our website https://files.community/download.

When will be the version 3 release?
On Wed, 13 Sept, 2023, 9:19 am Yair, @.***> wrote:

We're excited to share that startup performance will be significantly
improved in the upcoming release of version 3. You can download the preview
version from our website https://files.community/download.
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/12719#issuecomment-1716899121,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASNUMCRYISDULYSSKNGLZGLX2EUK7ANCNFSM6AAAAAAZSQJUME
.
You are receiving this because you were mentioned.Message ID:
@.***>

We're aiming to release it in a couple of weeks, but you can already try the preview using the link above.


ISPN-15199 Expose needed parameters for the console

https://issues.redhat.com/browse/ISPN-15199

@karesti Please rebase on the latest main, we need the changes to the Jenkinsfile in order for CI to report failures correctly.

@ryanemerson done

@ryanemerson build seems ok, can we please merge https://ci.infinispan.org/job/Infinispan/job/PR-11342/7/

Thanks @karesti


[9.x] Add the functionality to create signed routes with actions

Add the functionality to create signed routes with actions
Purpose
Currently it is only possible to create signed routes and temporary signed routes by using the route name.
This PR adds the possibility to create those routes by using actions
As our company relies heavily on actions for routing we thought that others might also benefit from this functionality.
Implementation
The implementation is heavily based on the given logic of the UrlGenerator->signedRouter function
Some of the code was encapsulated to avoid duplication. I tried my best to find a reasonable naming :)
For the new functions I added strict typing but, kept the old methods params as is for compatibility reasons.
The tests are also heavily based on the signedRoute logic

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


[MsTeams][Rendering] [Data Uri for images not working on MsTeams application]

Copied bug from: https://github.com/microsoft/AdaptiveCards/issues/4487
Details from original post:
Author or host
I am the author and the host app is Ms Teams (either desktop and web), I am sending the adaptive card using Power Automate as personal chat message.
Version of SDK
Details
The data uri encoding worked few months ago and I have today tested directly on the designer, however the image is not displayed anymore on Microsoft Teams:

JSON:
{"type":"AdaptiveCard","$schema":"http://adaptivecards.io/schemas/adaptive-card.json","version":"1.2","body":[{"type":"TextBlock","size":"Medium","weight":"Bolder","text":"New approval: ai processes and solutions"},{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"Image","style":"Person","url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXM[...]","size":"Small"}],"width":"auto"},{"type":"Column","items":[{"type":"TextBlock","weight":"Bolder","text":"User title","wrap":true},{"type":"TextBlock","spacing":"None","text":"Created 25-07-2020","isSubtle":true,"wrap":true}],"width":"stretch"}]},{"type":"TextBlock","text":"Nueva aprobación pendiente","wrap":true},{"type":"ActionSet","actions":[{"type":"Action.Submit","title":"Approve","style":"positive","data":{"ActionTaken":"Approved"}},{"type":"Action.Submit","title":"Reject","data":{"ActionTaken":"Rejected"}}]}]}

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

ID: 3fb4394d-25b1-8752-3996-fe3a2934732d
Version Independent ID: 6d391381-89d0-117c-27cc-00043bd26a36
Content: Cards reference - Teams
Content Source: msteams-platform/task-modules-and-cards/cards/cards-reference.md
Product: msteams
GitHub Login: @surbhigupta12
Microsoft Alias: surbhigupta12

We are looking into this issue. We will get back to you.

@imari91 - We tried to repro this issue at our end with a dataUri. We were able to see the image in Microsoft Teams. Attaching a screenshot of the same.

Could you please help by providing us with the entire JSON that is failing?

@imari91 - Could you please provide us with the JSON that is failing?

We are closing this issue due to user inactivity. Please feel free to reopen it if you face the issue again.


[shuffle] fix deno lint errors on main/mod.ts

Motivation
Comply with deno lint on the .ts files.
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/tree/main/developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

:broken_heart: Test Failed - ci-test

/land

/cancel

/land


Version bump

Rust 2018 -> 2021

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 6 (83.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.782%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/bench_run.rs
3
4
75.0%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
302

Relevant Lines:
348

💛  - Coveralls


DNS requests blocking don't work

Steps to reproduce

Enable DNS option in AdGuard settings
Add this rule to user filter:
||example.org^
Go here - http://example.org/

Expected behavior
I think that example.org request/website should be blocked.
Actual behavior
Requests/website is not blocked.
Screenshot:

Your environment

AdGuard for Windows 7.5 nightly 11 (build 3312, CL 1.7.2)

Not a bug, we're not going to support DNS queries blocking in v7.5

And there should be no "Block" button there

Okay, I thought that it should works like in AdGuard for Android.
Thank you for your answer.

It will be like that in the future, but we're starting slow, with DNS encryption only


[FEAT] Expand for CAR/BUS to use deepstack-ai with logo-detection (as detector)

Is your feature request related to a problem? Please describe.
i want to use another detector in double-take.
it has a similar api to the face-detectors, but could detect logos
Describe the solution you'd like
i would like to simply configure another detector for the pre-detected categories CAR/BUS
(instead of PERSON for faces)
Additional context
the api looks familiar to what you have. may not the biggest efford to adopt this custom deepstack-ai  for logo-detection
. let me know what you think.

+1
this is similar to a question I posted on the home assistant forum.
I was asking if I could train an image of a vehicle (ie: the mail carrier), but this would take it to the next level and catch all delivery vehicles. (at least those with a logo)

i turn out that the logo-detection is baseed on yolov5.
so it could also be implemented directly or with doods2
https://github.com/snowzach/doods2/issues/28

While this is still open, I'm already doing this via node red. There is a deepstack addon for node red, that you can use with the openlogo set. It works only in theory though, because the snapshots are too small to be recognized by deepstack/openlogo.
But I have the same problem with face recognition, so YMMV.


Lidar data conversion taking too long - python - xviz - avs

Hi, I am using the python version of XVIZ AVS. For my requirement, I am converting sensor_msgs/PointCloud2 Lidar data to XVIZ. Presently, I am adding all the points to a list and adding it to the builder. However, when I call builder.get_message and write the data into the file, it takes a lot of time. The whole process takes around 0.3 seconds per frame. Is there any way to do this faster?

XVIZProtobufWriter is the preferred one really.  XVIZGLBWriter is largely replaced by protobuf.
The performance difference is just that XVIZGLBWriter is not tune, and since it was an early direction for the binary data (really a mix of json & binary) it just doesn't have the same level of perf.
If XVIZProtobufWriter works that should generally give the best performance for generation as well as in-browser perf decoding

XVIZProtobufWriter faster than XVIZGLBWriter


About AES encode

I can see you support AesDecoderStream, do you support AesEecoderStream?
How can I user it if supported?
Thanks!

So far I've only ported the AES decoder so it's currently not possible to output encrypted archives, but I'll take a look. If System.Security.Cryptography outputs data compatible to the 7z format I may be able to implement it.

I have to say your project is the best 7Z project I have ever seen.
Very easy to use as well!

I've done some initial testing and it looks like it is possible to use System.Security.Cryptography for implementing an AES encoder. However before doing so I need to fix some other issues, in particular issue #5 is important to verify the password when you later unpack an encrypted 7z archive. If the (optional) hash is not present 7z can still decrypt the file but cannot tell if your password was correct. If it isn't correct you get random garbage in the decrypted file, but 7z doesn't realize that when it doesn't have a checksum to compare with.

Very nice work!

Is the AES encoder available to use?

Sorry, I only have limited time and have been using that to work on issue #4 - right now I can't get the sample to work as it was intended so there is not much point in working at new encoder variants until that bug is fixed.
I do have a prototype version which can be used in the ArchiveWriter.ConnectEncoder call but currently this means you have to chose between encryption and compression and can't use them both at the same time, which is probably not really useful, so I didn't bother to check it in.

After fixing the deadlock issue I'll work on AES over the next week.

Initial implementation for AES encryption is checked in, it should match what 7z 9.22 does.
The sandbox-7z project is updated as an example, but basically you create an EncryptionProvider with the desired password and assign it to the ArchiveWriter and the encoders will pick it up.

Your are my hero! :)


Test Integration with Zapp Opensource

This is a valid specification even though it does not add much of value/context to this test PR.

:+1:

👍

:+1:

:-1:

test

:+1:

:+1:

:+1:

:

:+1:

:+1:

:+1:

:+1:

👎


Allow a component to decide whether it is valid

I have a rather complex form field (a typeahead) which should only be valid if certain conditions hold.
Since this form field only appears once in the form, it seems more natural to encapsulate the validity check within the component class rather than defining an "external" rule.
As a workaround, I make the Formsy.addValidationRule call currently before the complex component is defined and specify the validity rule as a prop when embedding the component.
Despite the fact that this isn't really pretty, it also leads to problems since the validator needs access to internal state.
That is why I think, the best solution for this would be to allow components to provide some sort of checkValidity function which will be called by Formsy.
What do you think?

Hi @philippotto ,
Thanks for the input!
Do you have a code example of how you would like this to work? Just so I am completely sure that I understand what you are asking for :-)

Even better: I opened a PR :)

Cool, I will check it out :-)


Set content-type header from target filename

I use the transform function to convert SVGs to PNGs, and to generate json metadata files from script files. When these transformed files are served, the content-type header in the response is for SVG and .ts files (which are interpreted as video/mp2t).
It would be better if the target filename was used on renamed files when determining the content-type to use. Or alternatively, an option to set this header manually.

It would be better if the target filename was used on renamed files when determining the content-type to use.

That makes sense. PR is welcome.


Shows only the first stream

I have a nginx-rtmp server configured with two rtmp applications.
The stat.xml generated by nginx-rtmp-module  shows correctly the two applications and each application with its streams but nginx-rtmp-monitoring shows only the first rtmp application.
Is there any way to monitor more than one application from the same server with nginx-rtmp-monitoring?

if you have more then one application you can't do that,
but if you wan't you can make RP to do that you just need to edit this file
https://github.com/fiftysoft/nginx-rtmp-monitoring/blob/master/public/js/model.js
and play with this setLiveStream function
good luck

or iterate into server[0].application in socket.on function of core.js.

Push a pull request for simple solution: https://github.com/fiftysoft/nginx-rtmp-monitoring/pull/14


Bug with psycopg2 v2.9.1: Database connection isn't set to UTC

This is not a bug of RDMO, but it affects the installation process, so I thought here would be a good place to document this.
After a new RDMO installation, we were able to open the website, but changing the language or logging in (presumably performing any action that touches the database) raised a HTTP 500 error. In the RDMO error.log, these showed up with the following error message:
Database connection isn't set to UTC

In the current version (2.9.1) of psycopg2 / psycopg2-binary, which is a requirement of the postgres installation, there is a bug that does prevent it from working with certain Django versions: https://github.com/psycopg/psycopg2/issues/1293
This is currently being worked on, so a fix should be available soon and will likely be fixed in the next release. However, if needed the versions can be pinned to avoid this.
By forcing psycopg2 (-binary) to the last 2.8 version solved this problem for us. For example in requirements/postgres.txt we used:
psycopg2-binary>=2.8,<2.9

Since a fix is already in the works I am not sure if its necessary to adapt the requirements or if we can just sit that out.

The Django dev team has announced that they will not add compatibility with psycopg2(-binary)>=2.9 to Django 2.2 (see https://github.com/django/django/pull/14530). Thus, we need to pin psycopg2-binary in the postgres requirements in rdmo-app. I prepared a PR for that.
The alternative would be to use Django>=3.1 (see https://github.com/rdmorganiser/rdmo/issues/166), but pinning seems to be the quickest solution right now.

Thanks for your comment. This is basically what I was able to find out so far. Django2 seems to something that we need to leave behind. We are currently looking into upgrading to Django3.

Thanks! I merged https://github.com/django/django/pull/14530 and we are working on Django 3.2 support. We need to ditch Python 3.5 for this which might or might not be a problem for people.

RDMO 1.6 will use Django 3.2 and Python >=3.6, so this will not be a problem anymore.

Thank you! With his change we could probably un-pin the psycopg-binary version in the postgres requirements file (see rdmorganiser/rdmo-app#7) again. From my point of view, this Issue can be closed.


How to get Horizontal Orientation of Bar Chart when Y-Axis is of 'Value' type

Version
5.2.1
Steps to reproduce

Open link: https://echarts.apache.org/examples/en/editor.html?c=bar-background
Replace the whole context with the below code:
==========================

option = {
title: {
text: 'Depth Vs Level Of Concern'
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
}
},
xAxis: {
type: 'value',
name : 'Level of concern'
},
yAxis: {
type: 'value',
name : 'Depth'
},
series: [
{
type: 'bar',
data: [[40,100], [50,200], [60,500], [60,800]] // [xAxis, yAxis]
}
]
};
==========================
What is expected?
We want X and Y axes to be 'Value' type and bars to be horizontally aligned 'on' Y-Axis.
What is actually happening?
The bars are always aligned on X-Axis.

Our X and Y axes are not discrete values. They are continuous values.

Custom series is required. See examples and doc.


make it possible to create developing profiles

when I do front end I don't need all the installed extensions I need only subset of them and the remaining extensions is still running consuming resources
and the same when I do something Like java development I don't need extension like "vetur" at that time
I know it is possible to edit settings for work space
but it is boring to copy the same settings for every front end work space it would be much easier if there is an option to apply a predefined profile

Probable duplicate: https://github.com/microsoft/vscode/issues/116740


sphinx shell for docs

basic menus
initial content

quickstart: https://github.com/opendp/smartnoise-core-python
api guide (link or embed). (#2)
notebooks embed + binder link. (#4)

https://github.com/opendp/smartnoise-samples/blob/master/analysis/basic_data_analysis.ipynb

I stubbed out a quickstart in 134687b.

I just added a fair amount of content based on the outline in the "Proposed Information Architecture for OpenDP Documentation" doc we've been discussing: https://docs.google.com/document/d/1f4XWFxDL6Dwu68bjtpdO8AYfXaEL8URBDn4Lc943zTA/edit
I'll paste a screenshot below of how it looks.
I'm ready for more feedback. The site is now at https://docs.opendp.org
At some point we should probably close this broad "shell" issue and work on more specific issues.