Can't access locales inside Provider wrapping _app.jsx

I'm not exactly sure if this is an actual bug but I read this issue #1215 and @oceandrama points that when you set an undefined on serverSideTranslations i18next loads all the resources, which is true and I agree that this could be the default behaviour and we can eliminate the need to add getStaticProps in all pages, and lead me to think about how next-i18next works with loading resources.
So I'll try to point exactly what I need to do and the expected behaviour.
Describe the bug
Not loading locales inside a Provider that wraps _app.jsx.
Occurs in next-i18next version
<EMAIL_ADDRESS>Steps to reproduce
I have a page that loads specific serverSideTranslations(locale, 'page') and over that page on _app I wrap the whole application with a Provider which needs translations too.
const MyApp = ({Component, pageProps}) => {
  return (
    <SWRConfig value={{fetcher}}>
      <Toaster />
      <ErrorProvider> // THIS IS THE PROVIDER THAT NEEDS TRANSLATIONS
        <Component {...pageProps} />
      </ErrorProvider>
    </SWRConfig>
  );
};

If I set serverSideTranslations(locale, undefined) then all translations are loaded and I can use them in the Provider, but if I set a specific locale, then next-i18next or i18next (I honestly don't know which one does it) loads locales from the pages and not the ones I need in the Provider.
Expected behaviour
Access useTranslation('error') locales inside a Provider that wraps _app.jsx
My questions are:
Is there any way to load specific locales inside my Provider even if it's not a page?, or
Should I need to add undefined in every page so I can access all of the locales everywhere?
I appreciate any kind of guidance for this, I'm having trouble finding a way to translate components that are not pages.
Screenshots
If applicable, add screenshots or a GIF to help explain your problem.
OS (please complete the following information)

macOS Big Sur
Versión 1.28.106 Chromium: 92.0.4515.159 (Build oficial) (x86_64)

Additional context
Add any other context about the problem here.

Is there any way to load specific locales inside my Provider even if it's not a page?

Yes, by adding the namespaces to each of your pages' serverSideTranslations. It's as simple as that. Please post any future help requests on StackOverflow. Good luck!

_app is not a page though? only solution I have found is by using the I18nextProvider to MyApp.


fix a couple broken links

Thanks for the PR @csantero, but this was an intentional change until we figure things out with our process of converting from markdown to html (which might end up being a regular expression find/replace).

@DanielRosenwasser gotcha, sorry about that


Remove searchable attr warning for nested attrs

Pull Request
Related issue
Fixes #366

@ellnix sorry can you fix the git conflicts so that we can merge?

@ellnix sorry can you fix the git conflicts so that we can merge?

Done :heavy_check_mark:


Move osu-framework to GitHub Actions

As part of making the entire workflow stick to Actions (and to keep us always up to date with .NET upstream since it's Microsoft-supported), moving to Actions might be a best idea considering most of our workflow is supported by Actions.

I don't really find the arguments here overly convincing. I see no particular reason to switch CI. There are way more important things to do.

It's low priority for sure, but definitely something we're looking to do in the long term.

Would be great if someone would do this for us. I believe there were previous attempts but they weren't completed / merged. That may have been osu! side though.

The reason I opened this because I asked in-stream if there were any stopgaps of moving to Actions, so I'm happily volunteering myself to do the migration (which may take time considering the Build Cake script is AppVeyor only)

Cake should probably be done away with as part of this migration, actually. This was the plan a while ago, and I don't think we have much of a reason to keep it around.

Got it, I'll keep that in mind while I'm writing it.

Almost done porting the entire pipeline to Actions, I won't be able to clean out the AppVeyor script to prevent unnecessary failures. A follow-up PR is imperative once we transition completely to Actions.


concurrent API login possible

with an error in authenticate :
ERROR - authenticate - No 201 return 400/{"statusCode":400,"body":{"errors":[{"code":"simultaneous.logins","status":400,"title":"Bad request"

Hello,
I have the error (login and password are correct) :
[10/3/2019, 7:36:07 PM] [HomebridgeAutomower] ERROR - authenticate - No 201 return 400/{"statusCode":400,"body":{"errors":[{"code":"invalid.login","status":400,"title":"Bad request","detail":"The provided access grant is invalid, expired, or revoked."}]},"headers":{"date":"Thu, 03 Oct 2019 19:36:07 GMT","content-type":"application/json; charset=utf-8","content-length":"142","connection":"close","x-dns-prefetch-control":"off","x-frame-options":"SAMEORIGIN","strict-transport-security":"max-age=15552000; includeSubDomains","surrogate-control":"no-store","cache-control":"no-store, no-cache, must-revalidate, proxy-revalidate","pragma":"no-cache","expires":"0","x-content-type-options":"nosniff","x-xss-protection":"1; mode=block","x-internal-request-id":"632350585","access-control-allow-origin":"*","access-control-allow-methods":"GET, POST, OPTIONS, PUT, PATCH, DELETE","access-control-allow-headers":"Origin,X-Requested-With,X-Internal-Request-Id,X-External-Request-Id,Content-Type,Accept,X-IAM-Session,Authorization,Authorization-Provider","etag":"W/"8e-m17VaH4hOOEPFgXIRrggSFUnBV0""},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"iam-api.dss.husqvarnagroup.net","port":443,"hostname":"iam-api.dss.husqvarnagroup.net","hash":null,"search":null,"query":null,"pathname":"/api/v3/token","path":"/api/v3/token","href":"https://iam-api.dss.husqvarnagroup.net/api/v3/token"},"method":"POST","headers":{"Accept":"application/json","Content-type":"application/json","content-length":100}}}
Thanks


Automated daily update to rustc (to nightly-2024-11-10)

Automated update to Github CI workflow rust.yml by create-pull-request GitHub action

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.438%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
19734

Relevant Lines:
23938

💛  - Coveralls

I believe this is failing with "no such nightly", which is kinda interesting since we're stealing the nightly date from dtolnay's github action repo.
I'm fine to just close this and wait for next time.


[Enhancement] add statically hasRawData interface

issue: #750

/hold

issue: #750

lgtm overall, just a couple of questions

/lgtm

/unhold

/kind improvement


Revert db classes

Code Coverage

File
Coverage [0.00%]
:x:

composeApp/src/androidMain/kotlin/com/ultraviolince/mykitchen/MainActivity.kt
0.00%
:x:

Total Project Coverage
3.45%
:x:


Add prime(A,not(i)) syntax

This implements the idea in #136 to add syntax like prime(A,not(i)) to prime/tag the complement of the specified indices.
For example:
i = Index(2,"i")
j = Index(2,"j")
k = Index(2,"k")
A = randomITensor(i,j,k)

prime(A,not("j"))  # has indices (i',j,k')

addtags(A,"x",not("k"))  # has indices (addtags(i,"x"),addtags(j,"x"),k)

setprime(A,2,not(i,j))  # has indices (i,j,k'')

This can help clean up some priming and tagging code.
A further possibility is to add other kinds of logic, for example prime(A,or("i","j")) to prime indices containing either the tags "i" or "j", but we can wait to see if that turns out to be useful.

Nice to see how little codes this requires


Fix missing utils when running via Docker

Fixes the following error when running from Docker:
  File "/opt/gpt3discord/bin/gpt3discord.py", line 14, in <module>
    from cogs.code_interpreter_service_cog import CodeInterpreterService
  File "/usr/local/lib/python3.10/site-packages/cogs/code_interpreter_service_cog.py", line 38, in <module>
    from utils.safe_ctx_respond import safe_ctx_respond, safe_remove_list
ModuleNotFoundError: No module named 'utils'

Thanks for the fix

Oh so that was the issue...


feat: dynamic OG images for docs #986

Adds dynamic OG images for documentation.
Closes #986
✅ Checklist

[ ] I have followed every step in the contributing guide (updated 2022-10-06).
[ ] The PR title follows the convention we established conventional-commit
[ ] I performed a functional test on my final commit

Changelog

Setup Astro for server builds
Setup route for generating dynamic images using Satori

Screenshots
[Screenshots]
💯

OG generation is working. I need to change the design of the OG images themselves. I plan to make the title bold and play around with the sizing + logo color. If anyone has any ideas on what we can use please share!
The red boxes are apart of debug mode in satori

Enabling SSR with Astro means, by default, every page will be server-side rendered. Currently, when SSR is enabled prerendering pages (static page generation) is set to false for every page, with an opt-in variable export const prerender = true. Using SSR also means the automatic sitemap generation does not work.
On Astro's roadmap, they have plans to change the default to allow for prerendering by default, with opt-in for SSR. https://github.com/withastro/roadmap/issues/539
If you guys do not want SSR then it would be best to wait for the Astro team to release the opt-in SSR per page.

This PR is ready to merge, however, I am not sure if this should be merged yet due to the previous comment.

The OG images look really good now!
Would be nice to have a lil playground to be able to preview / modify them in dev. But IMO ok to merge this without, and open an issue to add it.

Glad you like them :)
Did you see my previous comment about the issues around enabling SSR with Astro? Is the sitemap something that is important to you guys? The sitemap plugin cannot automatically generate the sitemap for SSR routes and due to how the server output mode works, all routes are SSR routes by default.


ShaderBytecode.Compile crashes on byte order mark.

CompileFromFile properly reads files including the byte order mark, however compile from a byte buffer crashes when the file starts with a byte order mark EF BB BF in this case for UTF-8.

Yes, that a bug in DirectCompiler itself, not sure we can do anything about this.


Added Go 1.16+ install method to README

Changed installation method to reflect Go 1.16+, as cloning the repo and doing a go install achieves the same process.
Also changed "Advanced Installation" to "Using the Go toolchain"

 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.Vignesh Mani seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing this PR as commit was done with a different email and username in the git config.


Run tests also on macOS

This PR creates a marker for macOS. This enables triggering the tests which ran specifically on Ubuntu and on macOS.
On the different OS, the tests receive another variable with the OS name. This variable lets the tests use different example roadmaps because the generated roadmaps look slightly different on each system.

Should we generate an example roadmap first for MacOS?

Should we generate an example roadmap first for MacOS?

With PR #40, I added a workflow to generate example roadmaps. I updated the macOS example roadmaps in this PR and the tests succeed now.
BTW: The PR is ready for review now.


Label fix

Coverage remained the same at 81.343% when pulling 07d2c6fd02b0772005f143862ac15e94f8b9a14b on label-fix into ea3fb7f05ffff07db6354f56f37fa96fa3794102 on development.

Coverage remained the same at 81.343% when pulling 07d2c6fd02b0772005f143862ac15e94f8b9a14b on label-fix into ea3fb7f05ffff07db6354f56f37fa96fa3794102 on development.


chore: code split sagas and reducers for abac

Description
Code split ABAC sagas and reducer functions.
Fixes #14395
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Manual

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=f753ace

/ok-to-test sha=a8f7bdc

/ok-to-test sha=3322f0c


Incorrect service status for if syslog-ng enables

Environment info

NooBaa Version: noobaa-core-5.15.3-20240502.el9.x86_64
Platform: RHEL9

Actual behavior
[root@s3test-11 ~]# systemctl show -p ActiveState --value syslog-ng
active
[root@s3test-11 ~]# systemctl show -p ActiveState --value rsyslog
inactive
from above syslog-ng is active but rsyslog is inactive but in health command /usr/local/noobaa-core/bin/node /usr/local/noobaa-core/src/cmd/health --check_syslog_ng it showing RSYSLOG_SERVICE_FAILED even syslog-ng is active (up & running)
{"service_name":"noobaa","status":"NOTOK","memory":"313.7M","error":{"error_code":"RSYSLOG_SERVICE_FAILED","error_message":"RSYSLOG service is not started properly, Please verify the service with status command."},"checks":{"services":[{"name":"noobaa","service_status":"active","pid":"1172983","error_type":"PERSISTENT"},{"name":"rsyslog","service_status":"inactive","pid":"0","error_type":"PERSISTENT"},{"name":"syslog-ng","service_status":"active","pid":"1006808","error_type":"PERSISTENT"}],"endpoint":{"endpoint_state":{"response":{"response_code":"RUNNING","response_message":"Endpoint running successfuly."},"total_fork_count":2,"running_workers":[2,1]},"error_type":"TEMPORARY"}}}
Expected behavior
it should not report rsyslog as error
Steps to reproduce

deactivate rsyslog
install syslog-ng and enable it
run the health command /usr/local/noobaa-core/bin/node /usr/local/noobaa-core/src/cmd/health --check_syslog_ng

More information - Screenshots / Logs / Other output

@Roushan45 Thank you for bringing this to our attention. We will add it to our task list and address it based on our priorities.

Hey @Roushan45
I created a PR in which I add --check_rsyslog flag, without passing this flag we won't check rsyslog status.
Guy and I discussed last week if checking rsyslog/syslog_ng service status during this health check is appropriate, So for now I decided to put all the rsyslog/syslog_ng checks as optional, and the status of these won't affect the overall status. WDYT?

@Roushan45 adding request validation label, please let us know when the fix for this issue was validated. thanks!


i18n(fr): Init French translation, and locales in astro.config.mjs

Description (required)
Initiate French translation, and locales in astro.config.mjs.
I don't translate some pages like features/* because this is in TODO
I liked the project ! I keep an eye 👀

Related issues & labels (optional)

Suggested label: i18n

Thanks for this, I am constantly changing the docs and therefore I cannot expect translations for now, I'll open the docs for translation soon when things are more stable, I'll let you know when that happens!

Thanks for this, I am constantly changing the docs and therefore I cannot expect translations for now, I'll open the docs for translation soon when things are more stable, I'll let you know when that happens!

Good! 🔔


Request: Dialog box size change

I don't seem to be able to resize dialog box for doing transforms/facets. Using 2.7-rc.2
I note that another issue discusses css issues with resizing: https://github.com/OpenRefine/OpenRefine/issues/421
So, I'm not sure why I can't resize, unless that feature was removed?
Anyway, I'd like to request that the size of the dialogue box is increased, or ideally resizable. The text area is way too small when doing more complex transforms etc.
Would  PR to increase the standard size be accepted as an interim?
An expression text area height of 200px works well for me, and maybe an overall dialogue box width of 1000px, but that's less critical than the height of the textarea IMO.

It would be great to make the dialogs resizable!

The Expression input box itself (inside the Transform dialog) is resizeable.
Agreed that Dialogs should be resizeable primarily so that users can see longer value strings previewed by stretching things out.

@richyvk PR is welcomed. just make sure you test it out under different browsers. Also you can do a screenshot after your change. :)

@thadguidry Are you sure The Expression input box itself (inside the Transform dialog) is resizeable? I tried but seems not.

Done a bit more digging. Expression box is resizable in everything but IE because it is a textarea, and by default there are resizable in none IE browsers, via the resize css property.
I think getting the whole dialog box to resize might be hard, certainly outside of my skills. But, it looks to me like adding css to the expression box to limit resize to vertical would at least offer a possible fix for this: https://github.com/OpenRefine/OpenRefine/issues/421
I will do a PR to do that.
Are there instructions on installing OR from the repo on a Mac? I currently have it installed via homebrew. How would I run it from the cloned repo so I can check my fix works?

@richyvk Just FYI on the design we're looking towards and in our future plans are to have the expression box a dockable element that can be snapped to the left, right, bottom, etc (same for facets) and that can remain open and allow you to quickly click on a column and then move your mouse to that left, bottom, or right expression box and start transforming with Cloure, Python, GREL, etc.  Even optionally moving windows and panels into a separate browser tab or window if you have 2 or more screens.  We have big plans to make a lot of the edit menus disappear and instead move a lot of operations that you do in OpenRefine into more flow based work.  Think Photoshop for data :)

@thadguidry Thanks for that. Do you know when this big change might happen? I'm wondering if it's worth my PR, but if the big change is a way off, maybe it still is?

@richyvk A long ways off.


GO version critical CVEs

Based on a scan we did on the image, it looks like the GO version used in the binaries is vulnerable.
CVE-2023-39320 and CVE-2023-39323
Path: /0.5.0/bin/0.6.0/hcl2json_linux_arm64
Recommended course of action: Upgrade GO to 1.21.2 or higher

hi @corbin-lounsbury thanks for raising this, but I don't have any control over the go packages used in the hcl2json tool. This module is a wrapper around it to give native accessibility and ease of distribution to PowerShell users via the package and cmdlet(s).
If you can please raise the request in https://github.com/tmccombs/hcl2json/issues that'd be great. I regularly check if there is a new version available for the tool and once there is a new version I keep this Powershell module up to date with the latest.


Fix disappearing and reappearing files, improve performance

First of all, thank you for the project. I think it's very promising and very elegantly implemented.
I'll offer my use case first, as it might differ from others' usage of the project. I have two servers, we'll call them A and B. They are network file servers and should accept writes from any client at any time. It is my goal to use bitpocket to synchronize the writes between the two boxes. And yes, I'm aware that a cluster file system with distributed locking might be a better option; however, I think that's overly complicated. In our environment, folks don't generally edit the same file at the same time. Having a 10 minute lag between the servers is acceptable. I'm using the idea to replace Microsoft(R) DFSR (Distributed File System Replication), which works similarly to this project. (with the exception of a GUI)
When I started testing bitpocket I noticed that it deleted files unexpectedly and that it also pushed deleted files back. I believe this is because of how it tracks added and deleted files. Although describing why I think  that is in a few paragraphs is very difficult.
I've adjusted how bitpocket works so that it assumes that, after the sync is complete, both of the servers have the same contents. Then, when the sync is performed the next time, a file list from both servers is collected and compared against the previous sync listing. A list of locally added and deleted files and remotely deleted files is compiled. These two lists are used for the pull and push to ensure that none of the files is deleted nor resurrected unexpectedly.
The most significant change here is that the stock version did not use any exclude list for the push.
I've also adjusted the backup method to run in parallel with the pull sync. This reduces one of the rsyncs between the servers. In my environment, I have about 500G of data in about 250k files. So each rsync between the servers is time consuming. And what's more, there is a bug in recent versions of rsync such that, when extended attributes are synced (--xattrs), then the sync time goes from about a minute to about 20 minutes.
I can go into more detail for any of the edits or commits but mainly want to start the conversation. I also don't mind rebasing to change parts of it.
Cheers,

can't reproduce disappearing and reappearing files scenario in master version, How do you meet it? @greezybacon

I've also attempted to figure it out. I worked at trying to piece back together what I noticed when bitpocket had troubles. I tried putting together a test to reproduce it. I put this together, which the master branch fails. I think the problems surround the usage of the added-prev file, since it adds exclusions from the following sync. Strangely, my branch fails this test too.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 3cc3e83..1142014 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -35,6 +35,10 @@ def rm(path)
   FileUtils.rm(path)
 end

+def mv(a, b)
+  FileUtils.mv(a, b)
+end
+
 RSpec::Matchers.define :exist do
   match do |filename|
     File.exist?(filename)
diff --git a/spec/sync_spec.rb b/spec/sync_spec.rb
index 080c73e..a7953c9 100644
--- a/spec/sync_spec.rb
+++ b/spec/sync_spec.rb
@@ -75,4 +75,27 @@ describe 'bitpocket sync' do
     local_path('a').should_not exist
     remote_path('a').should_not exist
   end
+
+  it 'handles remote deletes between syncs' do
+    touch remote_path('a/c')
+    touch remote_path('a/f')
+
+    sync.should succeed
+
+    # After the sync, 'c' and 'f' are in 'added-prev', so they are excluded
+    # from the next pull
+
+    rm remote_path('a/c')
+    mkdir remote_path('a/b')
+    mv remote_path('a/f'), remote_path('a/b/f')
+
+    sync.should succeed
+
+    local_path('a/c').should_not exist
+    local_path('a/f').should_not exist
+    local_path('a/b/f').should exist
+
+    remote_path('a/c').should_not exist
+    remote_path('a/f').should_not exist
+  end
 end

I also continue to observe that bitpocket has this side effect where some files seem to get pulled back even if they were locally edited. And sometimes the same thing happes to permissions. If they are changed locally, the old permissions will be pulled. I haven't found a solution to either of these yet.

Okay, I was able to get the test to pass on my branch.

Okay, I think most of my problems may have been self-inflicted. Since I was attempting to work around the performance issues, I probably introduced the strange behavior. I was able to fix the syncing of permissions.

Will this ever be merged?

@aggsol I don't have the authority to merge this. But I am using bitpocket with these patches for mission-critical data syncing. I don't know if @sickill has any interest in continuing to maintain the product. So perhaps I should apply to become a maintainer...

Hey @greezybacon, I'm happy to invite you as one of the maintainers of this project 🎉
I don't really have time and motivation to keep this project going, so I hope you and @torfason (if he's still interested / using it) can keep it in good health.

Hi Jared (@greezybacon) and Marcin (@sickill),
I have not reviewed in detail each the commits that Jared has been submitting, but I read through a number of them. They are thoughtful and in line with what I saw as the key attraction of bitpocket - it being a simple to set up batch synchronizer with as minimal dependencies as possible, and as robust as possible.
It seems to me that Jared is currently the most dedicated user and developer of bitpocket, and I would vote to make him maintainer. It would be great to see this product continue to be improved.
Best,
Magnus

Go for it @greezybacon! ;)

Two of the three last commits exist in the master branch, I believe. I'll merge this branch and continue to track any issues I notice as new issues. I'll also go through the existing issues and pull requests to see which ones still apply or need to be rebased.

If you feel up to the task, removing the "maintainers needed" notice from the readme won't keep new users away anymore ;-)

@aggsol thanks for pointing this out. I've just removed this notice from README.


Avoid setAttribute for CSP compliance

Proposed changes
Under some circumstances (we experienced this issue with a recent rails and appropriately strict CSP policies, see mkhairi/materialize-sass#186), materialize causes CSP violations.
Using setAttribute('style', style) causes issues with the style policy. element.style = ... is CSP compliant and could be used instead. jQuery offers .css(), which uses the aforementioned .style.
This PR changes the problematic setAttribute calls to using a setStyle() function which checks if jQuery is loaded and uses .css() if possible or falls back to setAttribute.
It might be possible to enhance the function to fall back to looping through the styles and directly applying them with .style = , but I didn't look into that yet.
I "played it safe" with regards to the jQuery check, but maybe .css() is already implemented by whichever way materialize chose to replace/deprecate jQuery, so it might not even be necessary.
Screenshots (if appropriate) or codepen:
/
Types of changes

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

We no longer use jQuery as a dependency

That's good to know, but what about the actual intention of my PR? Should I rewrite it without using jQuery, or is the original problem (CSP violations) a thing that you are not interested in getting fixed? And if it should be rewritten: is there something else implementing .css() used in materialize? Otherwise, I'd need to rewrite the relevant method with plain JS, which should be possible but might be unneccessary.


WindowsTerminalPreview -> 1.1.1671.0

Microsoft Reviewers: Open in CodeFlow

"timed out while downloading msixbundle file" is not a good look. There is nothing I could possibly do to fix that.

I'll just force push it with a different commit ID.


librenms-*: Should report UNKNOWN if filter parameters lead to no devices

Is your feature request related to a problem? Please describe.
If filter parameter are set and result in no devices found, maybe there is a filter definition error and therefore it would be better to return UNKNOWN instead of OK.
Describe the solution you'd like
No response
Alternatives
No response
Additional context
No response

Rewritten from scratch.


ARROW-8300: [R] Documentation and changelog updates for 0.17

This edits the NEWS.md and adds a python.Rmd (static) example of using the reticulate bindings.
cc @wesm @pitrou

OK @nealrichardson I'll tweak the words a bit per the comment above and then this can be merged

Hm well this is a mystery
-- 1. Failure: filter() on is.na() (@test-dplyr.R#102)  ------------------------
##[error]Error: R CMD check found ERRORs
`via_table` not equal to `expected`.
Execution halted
Incompatible type for column `chr`: x vctrs_unspecified, y character
Incompatible type for column `int`: x logical, y integer

There are no R code changes in this PR, so that's a flake, though there's no reason I can see that that test should be non-deterministic. There's something fishy going on with the Windows builds in general, given all of the failures we've seen lately. Maybe one of these failures will give us a clue someday.
I'll merge this, and if master is broken, well, I'll fix that tomorrow.


Introduce SellCheck make target and GitHub action

This PR includes:

Introduction of a new make target that runs ShellCheck on all relevant scripts in the repo
Implementation of all proposed fixes for all issues in those scripts
Introduction of a new GitHub action that checks if there are any issues in the scripts

Closes #240
Tasks:

[x] Updated design documents in docs/design directory or not applicable
[x] Updated user-facing documentation in docs directory or not applicable
[x] Ran tests (e.g. make test) or not applicable
[x] Updated changelog or not applicable

I have added this to lint.yaml
      - name: ShellCheck
        uses: ludeeus/action-shellcheck@master
        with:
          ignore_paths: test/testdata/workspaces

which leads to scripts inside of workspaces used for tests to not be checked by ShellCheck.
In a previous run I noticed that there are some warnings inside gradle-sample-app/gradlew, but as this script does not seem to be created by us I thought that we should not worry about issues in scripts that come from other sources, thus we can ignore them.
What do you think @michaelsauter & @kuebler?


RTX 4080 missing (desktop)

Hi I use your repo for my project. First of all thank you for your research My application has improved thanks to you.
now to the issue My users with the RTX 4080 dont have the metadata for their card. I belive for this card it should be 999.
Thanks

Hi, I updated the file. I'll need to fix the script on my PC that's supposed to run periodically to update this.

Okay thanks!

https://github.com/ElPumpo/TinyNvidiaUpdateChecker/issues/126


Add unit tests for integration test suite

Currently the integration-test module is untested. It defines test classes which are used/extended by various Gaffer stores, but these tests are not tested themselves (unit or integration).
Usually tests don't have tests. But in this case integration-test is used as a utility class for other parts of Gaffer and is not simply a traditional test.
Adding some unit tests to integration-test will help to prevent problems caused by other changes from going undetected. Due to how the tests classes are written, there's a potential for tests to become broken without this being detected. This is because if the tests do not run or are skipped then it will appear from the CI that there's no problem.

This is small piece of work. I would anticipate only a couple of new files containing some basic Unit tests.

Fixed by #2732


BUG: docs can't be built from forks

As evidenced by #176 , docs can't be deployed from a fork, for security reasons.
The workaround is to have 2 workflows: one to build, one to deploy.
The build workflow is run from the fork (i.e. the PR author can edit this workflow to their hearts content) and the only expectation is that a folder with HTML stuff is published.
The deploy workflow is run from master. The security concern is alleviated because PR authors can't use workflows to push code without review. This workflow will never be runnable from the PR that is updating it, but luckily it shouldn't need to be updated very often.

Codecov Report

Merging #181 (168a80a) into master (e44dc80) will decrease coverage by 0.45%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #181      +/-   ##
==========================================
- Coverage   99.55%   99.09%   -0.46%
==========================================
  Files           6        5       -1
  Lines         674      666       -8
==========================================
- Hits          671      660      -11
- Misses          3        6       +3

Impacted Files
Coverage Δ

scikeras/_saving_utils.py
96.20% <0.00%> (-3.80%)
:arrow_down:

scikeras/__init__.py

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 e44dc80...168a80a. Read the comment docs.

Codecov Report

Merging #181 (168a80a) into master (e44dc80) will decrease coverage by 0.45%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #181      +/-   ##
==========================================
- Coverage   99.55%   99.09%   -0.46%
==========================================
  Files           6        5       -1
  Lines         674      666       -8
==========================================
- Hits          671      660      -11
- Misses          3        6       +3

Impacted Files
Coverage Δ

scikeras/_saving_utils.py
96.20% <0.00%> (-3.80%)
:arrow_down:

scikeras/__init__.py

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 e44dc80...168a80a. Read the comment docs.


Milestone incorrectly named

The milestone in the Rhovanian player dimension is named "Gondor Housing"

from the patreon server

Alright, will get on in the next day or so to fix the name, will double check to make sure the main map is fixed too


Install gnuplot

Please add gnuplot to the installed dependencies. It is needed by pgfplots.

and adding golang may also make sense. People (like me) may use the docker image for github and ghr seems to be the recommended tool to make releases and it is written in go.

Thank you for the PR 🎉
As far as I understand GitHub workflows correctly, you can run another docker image in a separate step, but it uses the same file system.
So, I would recommend to use the following docker image: https://hub.docker.com/_/golang
For more simpler use, I would recommend to use a GitHub action for ghr. For instance: https://github.com/apihackers/docker-ghr - I already submitted a PR to update it to the latest ghr release: https://github.com/apihackers/docker-ghr/pulls

Thanks! I still do not really get how those GitHub actions work (I am currently using circleci) but I will have a look.
For now I will install golang via apt-get after having loaded the container. It's a rather small installation, so it's probably more efficient than using another docker container :)


ENC28j60 No Internet

Hi
I have a NODEMCU ESP8266 and an ENC28J60 Ethernet Module.
I've been able to successfully flash the Firmware by making the Changes in user_config.h and enabled HAVEENC28J60. I have a project where i needed a simple Ethernet to WiFi Router to allow my other ESP's to be able to connect to it.
I have made the Following changes:
set eth_enable 1
set eth_dhcpd 1
set speed 160
When I type
show:
I get to see the following:
Version V2.2.15 (build: Sun Mar 14 13:22:44 2021)
STA: SSID:ssid PW:password [AutoConnect:0]
AP:  SSID:MyAP  PW:none [open] IP:<IP_ADDRESS>/24 [NAT]
ETH IP: <IP_ADDRESS> Netmask: <IP_ADDRESS> Gateway: <IP_ADDRESS>
STA MAC: 5c:cf:7f:53:c6:a5
AP MAC:  5e:cf:7f:53:c6:a5
ETH MAC: 5a:cf:7f:53:c6:a5
STA hostname: ESP_53c6a5
Network console access on port 7777 (mode 3)
Clock speed: 160
Show route:
Routing table:
Network              Dest
<IP_ADDRESS>/24       ew1
<IP_ADDRESS>/24       en0
<IP_ADDRESS>/8          lo0
default              <IP_ADDRESS>
Serial Monitor shows the Following:
Boot v1.4.2 -<EMAIL_ADDRESS>Flash Size:   32 Mbit
Flash Mode:   DIO
Flash Speed:  40 MHz
Booting rom 0.
⸮⸮⸮⸮o⸮r⸮⸮g|⸮dldl`b⸮⸮|{⸮l⸮n⸮⸮o⸮
WiFi Repeater V2.2.15 starting
running rom 0
Config found and loaded (2836 Bytes)
Starting Console TCP Server on port 7777
Starting Web Config Server on port 80
Starting enc28j60
Starting enc28j60 DHCPd
mode : sta(5c:cf:7f:53:c6:a5) + softAP(5e:cf:7f:53:c6:a5)
add if0
add if1
dhcp server start:(ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>)
bcn 100
add 1
aid 1
station: 40:a3:cc:bd:aa:1a join, AID = 1
The Problem is that I am unable to access the Internet. When I visit 1<IP_ADDRESS> i get to see the NAT router page. But no internet connectivity. Can someone guide me as to where i am going wrong?
I've made the connections as per the Instructions. Previously I had connected the ENC28j60 CLK to D5. Turns out that was causing the ESP to bootloop. When i switched it to SCK it started working. I am unsure where I've gone wrong.
Regards,

What does "show status" print?
What happen if you give "interface if0 down"?

Hi Martin,
This is what i get when i type show stats. show status returns "Invalid command".
show stats
System uptime: 0:01:43
8 KiB in (73 packets)
0 KiB out (4 packets)
Power supply: 2.911 V
Phy mode: n
Free mem: 7512
STA not connected
ETH IP: <IP_ADDRESS>/24 GW: <IP_ADDRESS>
0 Stations connected to SoftAP
When I Send the command "interface if0 down" it returns with Invalid interface
Regards,

Could you try to set a default gw address for the ethernet (the upstream internet router) with:
set eth_gw x.x.x.x

Hi Martin,
I set the default gateway to <IP_ADDRESS>.
when I input show:
Version V2.2.15 (build: Sun Mar 14 13:22:44 2021)
STA: SSID:ssid PW:password [AutoConnect:0]
AP:  SSID:MyAP  PW:none [open] IP:<IP_ADDRESS>/24 [NAT]
ETH IP: <IP_ADDRESS> Netmask: <IP_ADDRESS> Gateway: <IP_ADDRESS>
STA MAC: 5c:cf:7f:53:c6:a5
AP MAC:  5e:cf:7f:53:c6:a5
ETH MAC: 5a:cf:7f:53:c6:a5
STA hostname: ESP_53c6a5
Network console access on port 7777 (mode 3)
Clock speed: 160
show stats:
System uptime: 0:01:09
2 KiB in (22 packets)
1 KiB out (4 packets)
Power supply: 2.914 V
Phy mode: n
Free mem: 7232
STA not connected
ETH IP: <IP_ADDRESS>/24 GW: <IP_ADDRESS>
1 Station connected to SoftAP
Station: d8:a3:15:44:17:ed - <IP_ADDRESS>
show route
Routing table:
Network              Dest
<IP_ADDRESS>/24       ew1
<IP_ADDRESS>/24       en0
<IP_ADDRESS>/8          lo0
default              <IP_ADDRESS>
Still no access to internet. If you see, the Ethernet IP shows <IP_ADDRESS>. When i enter this address in my mobile phone browser, it takes me to the NAT Settings page.

The ethernet interface must have an IP in the subnet of the connected upstream router (192.168.0.x) and <IP_ADDRESS> as default gw. Than it should be able to ping to the outside world. NAT should than enable Internet access for the connected STAs.

Hi Martin,
I checked the DHCP client list on my router and couldn't find the ethernet module. So i don't think the Module has initialized correctly. What can i do to ensure it is initialized correctly? do you by any chance have a working version with the stats that i could compare it to. also what setting can i further change to just get it running ?
Regards

There is no DHCP client running on the ethernet interface. Just give it a static IP (best out of the range of the DHCP server in the uplink router), but for a try any unused IP will do). Currently I have no config running here.

Hi
I have a NODEMCU ESP8266 and an ENC28J60 Ethernet Module.
I've been able to successfully flash the Firmware by making the Changes in user_config.h and enabled HAVEENC28J60. I have a project where i needed a simple Ethernet to WiFi Router to allow my other ESP's to be able to connect to it.
I have made the Following changes:
set eth_enable 1
set eth_dhcpd 1
set speed 160
When I type
show:
I get to see the following:
Version V2.2.15 (build: Sun Mar 14 13:22:44 2021)
STA: SSID:ssid PW:password [AutoConnect:0]
AP: SSID:MyAP PW:none [open] IP:<IP_ADDRESS>/24 [NAT]
ETH IP: <IP_ADDRESS> Netmask: <IP_ADDRESS> Gateway: <IP_ADDRESS>
STA MAC: 5c:cf:7f:53:c6:a5
AP MAC: 5e:cf:7f:53:c6:a5
ETH MAC: 5a:cf:7f:53:c6:a5
STA hostname: ESP_53c6a5
Network console access on port 7777 (mode 3)
Clock speed: 160
Show route:
Routing table:
Network Dest
<IP_ADDRESS>/24 ew1
<IP_ADDRESS>/24 en0
<IP_ADDRESS>/8 lo0
default <IP_ADDRESS>
Serial Monitor shows the Following:
Boot v1.4.2 -<EMAIL_ADDRESS>Flash Size: 32 Mbit
Flash Mode: DIO
Flash Speed: 40 MHz
Booting rom 0.
⸮⸮�⸮�⸮o⸮r⸮⸮g|⸮d�ldl`��b⸮���⸮|�{⸮�l⸮n⸮�⸮o⸮
WiFi Repeater V2.2.15 starting
running rom 0
Config found and loaded (2836 Bytes)
Starting Console TCP Server on port 7777
Starting Web Config Server on port 80
Starting enc28j60
Starting enc28j60 DHCPd
mode : sta(5c:cf:7f:53:c6:a5) + softAP(5e:cf:7f:53:c6:a5)
add if0
add if1
dhcp server start:(ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>)
bcn 100
add 1
aid 1
station: 40:a3:cc:bd:aa:1a join, AID = 1
The Problem is that I am unable to access the Internet. When I visit 1<IP_ADDRESS> i get to see the NAT router page. But no internet connectivity. Can someone guide me as to where i am going wrong?
I've made the connections as per the Instructions. Previously I had connected the ENC28j60 CLK to D5. Turns out that was causing the ESP to bootloop. When i switched it to SCK it started working. I am unsure where I've gone wrong.
Regards,

Can you help me?
I have only enabled the ENC28J60 in the user_config.h (#define HAVE_ENC28J60 1)and get the following error:
Linux terminal :
user@user-virtual-machine:/Desktop/project2/esp_wifi_repeater-master$ make clean
user@user-virtual-machine:/Desktop/project2/esp_wifi_repeater-master$ make
CC driver/spi.c
CC driver/new_uart.c
CC user/config_flash.c
CC user/ringbuf.c
CC user/rboot-ota.c
CC user/acl.c
CC user/user_main.c
CC user/rboot-api.c
CC user/sys_time.c
CC mqtt/mqtt.c
CC mqtt/mqtt_msg.c
CC mqtt/queue.c
CC mqtt/utils.c
CC mqtt/ringbuf_mqtt.c
CC mqtt/proto.c
CC easygpio/easygpio.c
AR build/app_app.a
/home/sanjeewa/Desktop/project2/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/../../../../xtensa-lx106-elf/bin/ld: build/app.out section .text' will not fit in region iram1_0_seg'
collect2: error: ld returned 1 exit status
Makefile:132: recipe for target 'firmware/0x02000.bin' failed
make: *** [firmware/0x02000.bin] Error 1
Thanks
Sanjeewa.

hi how did you enabled HAVEENC28J60 i forked the project and changed it and built firmware but it dose not work at all!!!!


aws s3 image processing swift

how to use kingfisher to load images in colliectionview. Currently i have my image files in S3 bucket protected folders. I can download the images using aws identitiy id and file name key. But i want to use kingfisher to handle the caching. Done adding custom headers in request but nothing downloads

I am not quite familiar with AWS S3 bucket myself. But according to this doc it seems that you may need an Authorization header in the request to get a protected resource.
What are you doing now? Are you using any other SDK or how did you download the images now?


Can't load YouTube videos

I don't know why, but since the day before yesterday, YouTube doesn't work whenever I try to load a video. It's not an internet issue - I've already checked if it loads videos with another browser like Firefox and it works. It seems to be that, whenever I log in to my main account in ungoogled Chromium, it just doesn't load YouTube videos. Is anyone else having this issue?

Please continue in the core repo: https://github.com/ungoogled-software/ungoogled-chromium/issues/3012


Create utcderby.txt

Added new name of school (previous known as Derby Manufacturing UTC)

@1ambs Pull request merged. Thank you!

@1ambs Pull request merged. Thank you!


platform/aws/cost: add missing lambda configurations.

 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.

oh yeahhhh I forgot about the new ones, thanks!


Middleware doesn't call close() on iterable properly.

Your solution to timing when generator returned doesn't ensure that close() is called on iterable properly. This can result in resource cleanup not being performed properly. Read:

http://blog.dscpl.com.au/2012/10/obligations-for-calling-close-on.html

It also will not work in general where an exception is raised when pulling items from the iterable.
I did say it isn't simple to get this all right. :-)

the cases when exception is raised are NOT measured intentionally - that's
by design
the idea is that those when exception happened should be addressed by
different service (for example - sentry) and it makes not much sense to
measure them as it's an Exception.
About the close - this is very useful, thanks!
On 14 January 2015 at 21:28, Graham Dumpleton<EMAIL_ADDRESS>wrote:

Your solution to timing when generator returned doesn't ensure that
close() is called on iterable properly. This can result in resource cleanup
not being performed properly. Read:

http://blog.dscpl.com.au/2012/10/obligations-for-calling-close-on.html
It also will not work in general where an exception is raised when pulling
items from the iterable.
I did say it isn't simple to get this all right. :-)
—
Reply to this email directly or view it on GitHub
https://github.com/paylogic/wsgi-statsd/issues/2.

--
Anatoly Bubenkov

From experience we have seen from customer cases where when exceptions occur the response time can be quite large. This can be significant because it affects server capacity as that request thread is still going to be busy and and unavailable for handling requests. Ignoring it entirely is not necessarily a good idea. Measurement of them can still be worthwhile independent of capturing exception details.

totally agree about the response time
about the measurement-anyway: i think it can be a setting with a default False

in our situation we didn't want to measure exceptions, at least for now as it will only make stats processing more difficult

Anyway, here is an actual case study of where tracking error response can be important.

http://blog.newrelic.com/2011/11/02/monitoring-python-on-django-optimizing-for-page-not-found/

In that case the exception is swallowed by Django and so a normal response is still seen by the WSGI middleware doing timing, but same type of issue.
This highlights another thing. Most frameworks will swallow exceptions and convert them to error pages, so your idea for ignoring exceptions that get to top level and ignore then usually isn't going to work.

i solved both issues raised here

You aren't calling close() when an exception occurs. That was the whole point of what the blog post was saying people do wrong. The close() call should be done in a finally clause around just the consumption of the iterable. Check the blog post again.

thanks!
i had that variant but then replaced it again
Now it should be good

That looks good at this point. Will create separate issue for next problem. :-)

thanks a lot for the contribution!


TODO: Improvements on paper

HDA* vs PBNF: Experiments with more threads
Experiments are done. Need to analyze them.

HDA* Search Overhead: What if closed list is bigger / smaller?
Well, not sure what the problem is.

Bold font
Highlighting important words would be nice.

HDA* closed list size
Hash function is so trickey....

Change the color for the HDA vs PBNF to match the algorithm

TODOs

Investigate the speedup on each closed list size.
Or, find a way to make some conclusion.

Do that on 24 Puzzle

Take in the results on Korf instances in burns' code


Username not transferring from glpi to rocketchat

Hello, I am using the function:
RocketChat( function() {
this.registerGuest( {
name: livechat('name'),
} );
} );
but the data is not transferred to Rocketchat. The user from glpi in Rocketchat appears as a guest-1.
I understand that the username should be posted by GLPI?

I will do some tests, there are some message error in the DevTools Console?

Tkank you but it's already working for me. The problem was that in the instruction there is a call via name: livechat('name') and it should be : name: livecall('name')


review outbox configuration

https://github.com/cap-js/audit-logging/pull/56 and generic outbox feature in @sap/cds


Change Font Size and/or limit text section

Just thought it would be nice to be able to change the font size of the different modules in the config files. Allows for a little more customization.
Also i know things like the rss feed work well in the middle portion of the screen, but it would be cool if you could put them in side locations. Currently if they are in the corner the text still goes all the way across the screen.. maybe making a text line limit or making it appear on multiple lines would work
Im not that experienced at programming so i dont know how possible these are but i figures I would see what everyone thinks

Sounds good! Furthermore we also can add a configurable boarder variable. For example in my case in need 0px, not 60px in each direction.

Check: https://github.com/MichMich/MagicMirror/blob/v2-beta/css/custom.css
You can modify any style you want. Any changes to this file are ignored by git.

Since the custom.css file is the official way to do this, I closed this issue. Feel free to further discuss (I can always reopen if necessary.)


Add a function to get the orthodox characters (正字)

It would be great to add a function to get the orthodox characters (正字) of a character.
>>> f('畱')  # TODO: Get a better name
['留']
>>> f('留')
['留']
>>> f('為')
['爲']  # OpenCC standard
>>> f('苧')
['苧', '薴']  # The order should not matter
>>> f('a')
[]  # No data

As the OpenCC standard “separate as much as possible” (能分則不合), there would be little difficulty in determine the orthodox characters.

Related: https://github.com/BYVoid/OpenCC/issues/493


Implement MS-RDPEVOR

This PR proposes an implementation of MS-RDPEVOR. It changes the API of the geometry plugin to make it more convenient for other plugin to interact with it.
The video packets are reassembled and decoded (only H264). Then rendering is done using a new YUV renderer, that may use multiple threads to do the work (each thread doing the YUV420->RGB conversion on a small part of the picture).
A very trivial feedback algorithm is implemented to inform the server about the decoding capabilities.
To test: use WMP (don't know minimal version) with at least a 2012 server, download your favourite trailer and enjoy.
TODO: the spec suggests that we should be able to synchronize audio and video using the provided timestamps but I've not dig the subject.

@hardening Sorry for the late feedback.
Tested your current branch, the following issues still apply:

I can see an offset of the video if I start youtube in chrome (/gfx /video)
The video is not scaling (/gfx /video /smart-sizing)
/gdi:sw is ignored, as in it still calls the X11 client specific code and does not fall back to copying the video data to the gdi framebuffer

Yeah there's an issue with geometry, I'm currently on it.

@hardening Another issue, clang-scanbuild tells there is a use after free in VideoFrame_free

@akallabeth yep, already fixed here

@hardening Fixed a few issues I found, but the geometry stuff is still not really working.

@freerdp-bot test

@freerdp-bot test

@hardening Did some further testing, looks like we miss some FREERDP_API prefixes in exported header files.
Other than that, are you still looking into unifying GFX and VIDEO surfaces?

@akallabeth unifying => nope not for now. I guess we could merge that PR and unify things after.

@hardening added the missing header export, could you do the rebase? Don't want to screw that one up ^^


fix not to overwrite optional headers/attrs of global logger

PluginLoggerMixin did overwrite optional_header and optional_attrs of @log, and @log(PluginLogger instance) did overwrite optional_* of @logger.
But @logger is always equal to $log. So this code overwrites optional_* of global default logger always. It's a bug.
This patch will fix this problem by cloning Logger object always to create PluginLogger.

Looks good. 👍


FM v6 is coming soon

The next version of flutter_map is coming soon, with breaking changes for all users and plugins!
Expected CHANGELOG: https://github.com/fleaflet/flutter_map/blob/release-prep/CHANGELOG.md
Likely to be merged PR with significant impacts: fleaflet/flutter_map#1615
Release prep PR: fleaflet/flutter_map#1632
New documentation (path liable to change): https://docs.fleaflet.dev/v/v6-1
Expected migration instructions, suitable for most users: https://docs.fleaflet.dev/v/v6-1/getting-started/migrating-to-v6
List of commits since v5 (more to come): https://github.com/fleaflet/flutter_map/compare/v5.0.0...master

Hello,
flutter_map v6 is now released.
An update for flutter_map v6 please !!!

Wow I just started having a look... it's going to take time. There is a TON of breaking changes, way more than I would expect for a single major version.

We hope you like the new look, and welcome any feedback!


🐛 Can't install biome

Environment information
I couldn't install biome

What happened?
I am attempting to create a Docker image using the most recent Node.js installation.
I encountered an exception when attempting to compile the docker image.

The Docker image I used is:
# syntax=docker/dockerfile:1
FROM python:3.10-slim-bullseye

ENV PYTHONUNBUFFERED="1" \
    PIP_DISABLE_PIP_VERSION_CHECK="1" \
    PIP_NO_CACHE_DIR="1" \
    NODE_MAJOR="18"

RUN mkdir /code
WORKDIR /code
COPY bin/install_extra_packages requirements.txt dev-requirements.txt /code/

# install nodejs source
RUN apt-get update \
    && apt-get install --no-install-recommends -y curl ca-certificates curl gnupg \
    mkdir -p /etc/apt/keyrings \
    curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
    echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list

RUN apt-get update \
    && apt-get install --no-install-recommends -y libc6-dev gcc git libmagic-dev libproj-dev nodejs npm \
    && ./install_extra_packages \
    && apt-get autoremove -y --purge \
    && rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man \
    && apt-get clean

RUN npm install -g pnpm \
    && npm cache clean --force

Expected result
Install the biome
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Hi @felipe3dfx , please read the error message emitted in your screenshot. The minimal node version is 14, but your docker image has node V12 installed.


fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info

这个 PR 实现什么功能/修复什么问题:

修复域视图下报警记录显示不争取的问题
修改nodata 报警策略返回信息

是否需要 backport 到之前的 release 分支:

release/3.6
release/3.7

/cc @zexi
/area monitor

Codecov Report

Merging #9960 (83a6fd7) into master (74b8373) will increase coverage by 2.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #9960       +/-   ##
==========================================
+ Coverage    5.97%   8.05%    +2.08%
==========================================
  Files         849     107      -742
  Lines      132225   12991   -119234
==========================================
- Hits         7898    1047     -6851
+ Misses     123626   11824   -111802
+ Partials      701     120      -581

Flag
Coverage Δ

aFlag
8.05% <ø> (+2.08%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/multicloud/aws/snapshot.go

pkg/compute/models/hostjoints.go

pkg/cloudnet/utils/key.go

pkg/compute/models/scaling_policy.go

pkg/cloudcommon/db/statusbase.go

pkg/compute/models/cloudaccounts.go

pkg/multicloud/aws/storage.go

pkg/cloudcommon/db/infraresource.go

pkg/multicloud/ucloud/host.go

pkg/cloudcommon/db/modelbase.go

... and 730 more

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 74b8373...83a6fd7. Read the comment docs.

Codecov Report

Merging #9960 (83a6fd7) into master (74b8373) will increase coverage by 2.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #9960       +/-   ##
==========================================
+ Coverage    5.97%   8.05%    +2.08%
==========================================
  Files         849     107      -742
  Lines      132225   12991   -119234
==========================================
- Hits         7898    1047     -6851
+ Misses     123626   11824   -111802
+ Partials      701     120      -581

Flag
Coverage Δ

aFlag
8.05% <ø> (+2.08%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/multicloud/aws/snapshot.go

pkg/compute/models/hostjoints.go

pkg/cloudnet/utils/key.go

pkg/compute/models/scaling_policy.go

pkg/cloudcommon/db/statusbase.go

pkg/compute/models/cloudaccounts.go

pkg/multicloud/aws/storage.go

pkg/cloudcommon/db/infraresource.go

pkg/multicloud/ucloud/host.go

pkg/cloudcommon/db/modelbase.go

... and 730 more

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 74b8373...83a6fd7. Read the comment docs.


Poor flight path following during FW final auto landing approach

Describe the bug
Although the FW plane flies auto missions exceptionally well, the plane struggles to follow a straight path on the final landing approach--and only on the final landing approach. Instead, it swerves (sometimes very aggressively) as it descends.
I have ruled out the plane losing control due to stalling as the stall speed is about 11 m/s. The plane remains at about 13 m/s during the landing approach. See the logs below.
It seems as though the plane is overcorrecting its yaw angle. However, this seems to happen only during the landing approach. While cruising, the plane does very well at compensating for wind and remains very stable.
To Reproduce
Steps to reproduce the behavior:
The only step to reproduce the behavior is to fly an auto mission including an auto landing.
Expected behavior
The plane should fly in a straight line throughout its final approach and not swerve.
Log Files and Screenshots
Here are three separate flights with the same behavior. These flights were all conducted at the same site in roughly the same conditions, but this behavior has been experienced in all wind conditions, terrain, etc. that I have tested it in.
https://logs.px4.io/plot_app?log=94994303-2e07-4a8d-8796-04ffb223ea72
https://logs.px4.io/plot_app?log=ac1454a6-9d4f-4c8c-8cde-a53ccad1a2a9
https://logs.px4.io/plot_app?log=aacc386a-5f6d-4945-bda2-143f521e23fd
Add screenshots to help explain your problem.

Drone (please complete the following information):
I am using a Finwing Penguin FPV airframe with a Pixhawk 2.1 running PX4 1.8.1.
Additional context
The plane has flaps enabled which do deploy as the plane is coming in for landing. However, these flaps don't seem to affect the flight path during any other portion of the auto missions so I doubt that they are the cause.

Hello @zanemountcastle .  I see a couple issues based on a quick glance at your logs:

you are using the default inner loop gains and they seem to be driving your yaw and roll way too hard.  Look at your yaw and roll angles and yaw and roll rates in the Flight Review logs, the estimated values are oscillating strongly above and below the setpoints.  You could get a lot better flight control if you tuned your gains.  Gains tuning is often more art than science on opensource autopilot systems - be sure you have a safety pilot with manual control ready!
https://docs.px4.io/en/config_fw/pid_tuning_guide_fixedwing.html

You have Flaperon's enabled which I think are causing the flaps to also be acting as additional ailerons on landing which is worsening your roll control, it seems to be lagging badly behind the setpoint.

My recommendation:
Step 1 is gains tuning.
Step 2 is Flaps and Flaperon tuning.
(P.S. you might consider RTL_TYPE = 1 if you want the vehicle to immediately break off mission and come straight into the landing pattern, up to you).


Added the CHERIoT LLVM compiler

nix build github:hu90m/lowrisc-nix/llvm-cheriot#llvm_cheriot
./result/bin/clang --version

Very cool! We might need to think about how to setup a cache sooner rather than later ;)

Haha yes! I should of added a little warning about runtime next to the commands above.


Badly need tests

Not even fancy ones, just something that runs at least a happy path with a small amount of text to make sure everything is valid.

just something that runs at least a happy path with a small amount of text to make sure everything is valid.

Explain please? I have lots of samples, I'm just unclear on what you want.

Just something we can run when we're doing builds on travis that will run the code and verify the return, just so that if we have broken imports or something we won't be able to push it to pypi.

so like
test.py
import RAKE
# Do RAKE stuff
# verify RAKE stuff worked

It seems to me that all we need is the things to do the described behavior in the readme.md , and that needs a list of stop words, a space separated .txt file of stop words*, and a maybe a few lists of trial text. I'll be back in a minute with all those the things attached.
*(by the way- we need to add .csv support, if you can figure out the most pythonic way to do it (maybe a function flag with a default?) I'll add it myself after the dust has settled)

Test String (I like this because it has funny edge cases):
'Machine learning is the subfield of computer science that, according to Arthur Samuel in 1959, gives "computers the ability to learn without being explicitly programmed."[1] Evolved from the study of pattern recognition and computational learning theory in artificial intelligence,[2] machine learning explores the study and construction of algorithms that can learn from and make predictions on data[3] – such algorithms overcome following strictly static program instructions by making data-driven predictions or decisions,[4]:2 through building a model from sample inputs. Machine learning is employed in a range of computing tasks where designing and programming explicit algorithms with good performance is difficult or infeasible; example applications include email filtering, detection of network intruders or malicious insiders working towards a data breach,[5] optical character recognition (OCR),[6] learning to rank, and computer vision.
Machine learning is closely related to (and often overlaps with) computational statistics, which also focuses on prediction-making through the use of computers. It has strong ties to mathematical optimization, which delivers methods, theory and application domains to the field. Machine learning is sometimes conflated with data mining,[7] where the latter subfield focuses more on exploratory data analysis and is known as unsupervised learning.[4]:vii[8] Machine learning can also be unsupervised[9] and be used to learn and establish baseline behavioral profiles for various entities[10] and then used to find meaningful anomalies.
Within the field of data analytics, machine learning is a method used to devise complex models and algorithms that lend themselves to prediction; in commercial use, this is known as predictive analytics. These analytical models allow researchers, data scientists, engineers, and analysts to "produce reliable, repeatable decisions and results" and uncover "hidden insights" through learning from historical relationships and trends in the data.[11]
As of 2016, machine learning is a buzzword, and according to the Gartner hype cycle of 2016, at its peak of inflated expectations.[12] Effective machine learning is difficult because finding patterns is hard and often not enough training data is available; as a result, machine-learning programs often fail to deliver.[13][14]'
Here's a meh stopwords .txt that isn't built in
stopwords list.txt
Here's the same thing as a python list:
https://pastebin.com/6j76y30j

This is great, I'll work on adding some tests this week.

Add an empty line at the end of the test read in file and shift to to being a single line and .csv files as well. Also did you get a chance to take a look at this?

@fabianvf get a chance to add the tests?

@fabianvf anything new and interesting?

@justinkterry not yet, as usual it's hard to prioritize tests over features :P. I'll try to find some time to do this, but work projects have been keeping me plenty busy the last few weeks.

@fabianvf anything new?

yeah, at least those tests should check that the project is importable/instantiatable


Revise overview section to include code snippets

Check out how other popular packages do this. I want to make it as easy as possible to get started.
Move the "why" pieces into their own page.

Completed


Javascript errors on initial page load of https://reactjs.org/docs/installation.html

Navigate to https://reactjs.org/docs/installation.html in a web browser
A javascript error is shown in the developer console (happening with both chrome version 61.0.3163.100 and firefox 56.0)

I've noticed other js errors throughout the docs that seem to break the right side page navigation.

Like #247, I am also unable to reproduce this.
Could you provide additional information about your OS + browser + plugins you have installed to help identify why you are experiencing these unique issues?

Sure. OS is MacOS 10.12.3. I'm also experiencing this bug with Chrome in incognito mode with no extensions enabled.

OS X 10.12.6 here. Can't reproduce with Chrome 62.0.3202.62.
I did actually see the behavior you described initially when testing with Firefox 56.0 and Safari 11.0, but after refreshing the pages (as well as in incognito mode) I was not able to reproduce.
This makes me suspect a problem in a version of the docs that you may have cached on your computer.

I'm going to close this issue for now because I suspect it's something specific to your setup and I'm not sure what action I can take given that I'm unable to reproduce it. If someone else reports this issue, or if you're able to provide additional info to help track it down, we'll re-open!

Sounds good, thanks for looking into it.


wip: produce command

POC for produce and consume.

@jackdelahunt Looks like we have duplicate PR. Closing this one


Assertion failed: (ec == 0)

2020-03-19 11:22:54:883926 [NOTICE] Initiate Session Termination <4c311f19928b4f89>
2020-03-19 11:22:54:884147 [INFO]   Receive SIP Event [nua_r_bye] Status 900 Invalid handle for BYE [SIP-Agent-1]
Assertion failed: (ec == 0), function unlock, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/libcxx/libcxx-400.9.4/src/mutex.cpp, line 48.
2020-03-19 11:24:47:142265 [INFO]   Receive SIP Event [nua_i_invite] Status 100 Trying [SIP-Agent-1]
2020-03-19 11:24:47:142304 [INFO]   Receive SIP Event [nua_i_state] Status 100 Trying [SIP-Agent-1]
2020-03-19 11:24:47:142313 [NOTICE] SIP Call State  [received]
2020-03-19 11:24:47:142320 [INFO]   Create Session 0x7fb8ee015710  [uni2]
2020-03-19 11:24:47:142324 [INFO]   Remote SDP 0x7fb8ee015710
v=0
o=FreeSWITCH<PHONE_NUMBER>398183637<PHONE_NUMBER>319249234 IN IP4 <IP_ADDRESS>
s=-
c=IN IP4 <IP_ADDRESS>
t=0 0
m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechrecog
a=cmid:1
m=audio 4002 RTP/AVP 97 98 99 0 8 96
a=rtpmap:97 PCMU/16000
a=rtpmap:98 PCMA/16000
a=rtpmap:99 L16/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 L16/8000
a=sendonly
a=mid:1
2020-03-19 11:24:47:142380 [NOTICE] Add Session
2020-03-19 11:24:47:142385 [INFO]   Receive Offer 0x7fb8ee015710  [c:1 a:1 v:0]
2020-03-19 11:24:47:142409 [INFO]   Add Pending Control Channel a1de0f4a0b6d4b41@speechrecog [1]
Abort trap: 6

What version do you use?
What is the OS?
Can you provide logs encompassing the entire MRCP session?


Add tests for extended intraday

Temporarily closing this issue due to a prolonged period since the last response was posted. Will re-open if needed.


New Kong instances fail to boostrap configuration with KongPlugin invalid configuration

Summary
Kong Ingress controller version
0.7.1
Kong or Kong Enterprise version
Kong (open-source)
Kubernetes version
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.10", GitCommit:"575467a0eaf3ca1f20eb86215b3bde40a5ae617a", GitTreeState:"clean", BuildDate:"2019-12-11T12:32:32Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Environment

Cloud provider or hardware configuration: AWS
OS (e.g. from /etc/os-release): Container Linux by CoreOS stable (2303.4.0)
Kernel (e.g. uname -a): Linux ip-10-35-37-57.ec2.internal 4.19.95-coreos #1 SMP Thu Feb 6 12:30:43 -00 2020 x86_64 Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz GenuineIntel GNU/Linux
Install tools: KOPS

What happened
After setting an unknown plugin config option in a KongPlugin (one in use), new Kong pods won't get ANY configuration at bootstrap, returning only 404. The more new pods you have, the greater your error rate. An eventual recycling of all pods would lead to a complete unavailability of APIs.
Expected behavior
Kong should be configured preperly, according to resources set on cluster, despite the existence of a broken/incorrect KongPlugin configuration.
Steps To Reproduce

Create a KongPlugin resource with valid configuration, and attach it to an Ingress;
Add an arbitrary invalid option to that KongPugin as (config.foo=bar);
Ingress controller will start logging as below:

ingress-kong-7444fb49-4595l ingress-controller posting new config to /config: 400 Bad Request {"fields":{"plugins":[null,null,{"config":{"foo":"unknown field"}},{"config":{"foo":"unknown field"}}]},"name":"invalid declarative configuration","code":14,"message":"declarative config is invalid: {plugins={[4]={config={foo=\"unknown field\"}},[3]={config={foo=\"unknown field\"}}}}"}

Delete pods
kubectl delete pods -l app=ingress-kong -n kong

Kong will initialize and no configuration will be set by the Ingress Controller to it.

An eventual fix in the plugin configuration (added in step 2) will bring everything up again.

I understand that this is a pain-point and we have to fix it. Our current solution against this problem is to use Admission Controller to guard against erroneous behaviors. You can use the following guide to set it up: https://github.com/Kong/kubernetes-ingress-controller/blob/master/docs/deployment/admission-webhook.md

Oh... I thought the default deployment files were already setting this up and not even verified. Ok, then, since this prevents incorrect configs from being created, we can go ahead with Kong Ingress until the controller itself is more resilient to these kind of errors. Thanks for pointing this up!

@hbagdi I set up the validatingWebhook properly and it worked as expected. Thanks for the advice.


[Spanner] Add Read Stale Data sample

This PR is to add a Read Stale Data sample for Ruby.
@remi PTAL, if you're unable to review by this Friday, I'll review it as you recommended.

Did a final pass and will now merge.


Swift 4 and Xcode 9 is not supported? I'm still getting crashes. Would love to understand what the workaround might be for this is. Thanks!

Swift 4 and Xcode 9 is not supported? I'm still getting crashes. Would love to understand what the workaround might be for this is. Thanks!

Hey @rlam3,
My bad. I forgot to release a tag for the Swift 4 Pr #23 . Tagged and pushed the swift 4 changes. Let me know if that fixes it.

@initFabian It looks like cocoapods don't recognize or see this 2.0.1 version. Only 2.0.0. updating repo doesn't do anything either...

@initFabian
pod 'Cely', :git => 'https://github.com/chaione/Cely', :branch => 'master'

also doesn't work

Oh I see what the issue is. Cely.podspec was not updated to the correct version. Sorry, Im still learning how to mainstream all this type stuff. Going to reach out to a few friends on how they do it on their frameworks

@rlam3 give it a shot now

Looks good now 👍  Thanks! I'm new to this Cocoapod specs thing too. Closing issue now.
Also to point out for those whom are moving away from swift 32. This is a better way of splitting up which cocoa pods which needs swift 3 or swift 4.

swift_32 = []
swift4 = ['Cely']

post_install do |installer|
  installer.pods_project.targets.each do |target|
    swift_version = nil

    if swift_32.include?(target.name)
      swift_version = '3.2'
    end

    if swift4.include?(target.name)
      swift_version = '4.0'
    end

    if swift_version
      target.build_configurations.each do |config|
        # config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = '$(inherited)'
        config.build_settings['SWIFT_VERSION'] = swift_version
    end

  end
end
end

Hi guys, is this related to #32 ? I am having issues and getting the error in #32 ..Thanks guys


asyncConnect does not dispatch action

I'm trying to replicate the logic of the widgets page by following through pretty much step by step. Everything works as expected except the initial load upon page refresh. When the widgets page is loaded, I can see redux-example/widgets/LOAD in the dev tool. However, in my page, which is more or less a copy of the logic, my action loadSnapShot, never got dispatched. Actually I even tried to remove if (!isLoaded(getState())) condition but the action still doesn't get dispatched. Nothing shows up in the dev tool.
The redux model (action creator, reducer, etc.) does work, as I can manually dispatch the action by clicking the reload button (evidenced in the dev tool). I think I must be missing something obvious. Please help.
Here is the code:
import React, {Component, PropTypes} from 'react';
import {connect} from 'react-redux';
import * as snapShotActions from 'redux/modules/dashboardSnapShot';
import {isLoaded, load as loadSnapShot} from 'redux/modules/dashboardSnapShot';
import { asyncConnect } from 'redux-async-connect';

@asyncConnect([{
  deferred: true,
  promise: ({store: {dispatch, getState}}) => {
    if (!isLoaded(getState())) {
      return dispatch(loadSnapShot());
    }
  }
}])
@connect(
  state => ({
    snapShotData: state.dashboardSnapShot.data,
    error: state.dashboardSnapShot.error,
    loading: state.dashboardSnapShot.loading,
    loaded: state.dashboardSnapShot.loaded
  }),
  {...snapShotActions })
export default class DashboardSnapShot extends Component {
  static propTypes = {
    snapShotData: PropTypes.object,
    error: PropTypes.string,
    loading: PropTypes.bool,
    loaded: PropTypes.bool,
    load: PropTypes.func.isRequired,
  };

  render() {
    const { snapShotData, loading, loaded, error, load } = this.props;
    if (loaded) {
      console.log(loading, loaded, error, snapShotData);
    }

    let refreshClassName = 'fa fa-refresh';
    if (loading) {
      refreshClassName += ' fa-spin';
    }

    return (
      <div className={'row'}>
        <button className={'btn btn-success'} onClick={load}>
          <i className={refreshClassName}/> {' '} Reload
        </button>
      </div>
    );
  }
}

OK, I think I got it. According to the document,

reduxAsyncConnect allows to delay route transition until all promises returned by reduxAsyncConnect methods of components defined within corresponding route are resolved or rejected.

My component isn't connected with router (it's part of the dashboard page), which is why I'm not getting the action dispatched. I should just bindActionCreators with @connect and load the data in componentDidMount. Or, if I really want to make sure the data gets loaded before rendering the page, I probably should move the @asyncConnect to it's parent component that is connected with router. Are there another other options available? Thx.

I am running into the same exact problem, moved the asyncConnect to an upstr@eam component that is part of the router, but still not getting dispatched.
The route is
...
<Route path="/posts/:id" component={ Post } />
...

defined as /posts/:id and the container Post
Any advice?


Adjust and polish README

This PR polishes the readme, goal is to reflect latest changes on sw-rover, AI docs and adjust some text to better present our projects.
I will be changing text all over the place to improve the ai behavior on accuracy.

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

I think this PR is majorly to update AI chat in the readme. My suggestion is, that you should consider adding them to a better place on the generated documents, rather than here(in GitHub readme).
We don't need to add everything in the readme, because the website always has better search hits AFAIK.

I think this PR is majorly to update AI chat in the readme. My suggestion is, that you should consider adding them to a better place on the generated documents, rather than here(in GitHub readme).
We don't need to add everything in the readme, because the website always has better search hits AFAIK.

Sure, reverted the ai part.


Admin has no access to self-description

This is a more detailed version of https://github.com/International-Data-Spaces-Association/DataspaceConnector/issues/671
Describe the bug
If I log in as an admin I cannot access the self-description any longer
To Reproduce

Open Google Chrome
Access base URL of DSC (self-description works)
Log in via admin credentials (e.g., swagger ui path)
Access base URL of DSC --> Not working (type=Forbitten, status=403)
Access base URL of DSC via incognito mode works

Expected behavior
Admins shall be able to view the self description

Will be fixed by replacing anonymous() with permitAll() for API access control for the above mentioned APIs.


Packet loss / ENOBUFs with kqueue(2) and tap(4) on OpenBSD

This issue is for the work in progress multiple device support in #373. While testing with the newly added "dual interface" tests/test_net_2if on OpenBSD, I've found what seems like a bug in the interaction between kqueue(2) and tap(4).
This is reproducible on OpenBSD 6.4 (under nested KVM) and OpenBSD 6.5 (on bare metal). This issue does not occur on FreeBSD, which uses identical calls to kqueue(2), or Linux ,which uses epoll(2).
To reproduce:

Build #373 (branch):./configure.sh
gmake

Setup the TAP interfaces:doas tests/setup-tests.sh

Start the service unikernel:doas tenders/hvt/solo5-hvt --net:service0=tap100 --net:service1=tap101 tests/test_net_2if/test_net_2if.hvt

In another session, start a flood ping to the service0 interface:doas ping -f <IP_ADDRESS>

Observe that the flood ping is functioning correctly, with no packets dropped.
In another session, start a normal ping to the service1 interface:doas ping <IP_ADDRESS>

Observe that, for each ping sent to service1, a packet is dropped by service0. This shows as a . in the first flood ping's output.
Kill the normal ping to service1 and start a flood ping instead:
In another session, start a flood ping to the service1 interface:doas ping -f <IP_ADDRESS>

Observe massive packet loss on both interfaces, and ping complaining about No buffer space available (ENOBUFS). Note that netstat -m shows a large (but not inordinately so) amount of mbufs used.

In an attempt to find the root cause of this issue, I've looked at the source to OpenBSD's if_tun.c and written a patch for solo5-hvt that dumps the IFQ_LEN() returned by the kqueue filter to userspace:
kqueue-diag.patch.txt.
Rebuilding the branch with this patch, and repeating up to step (7) above, note that for each ping sent to service1 (tap101, h=1), the queue length (q=) reported by the filter for service0 (tap100, h=0) increases by one and never decreases while the flood ping to service0 (tap100) is running. In fact, if we leave the normal ping from (6) running long enough for the queue length to reach 255, then we see that the flood ping (4) starts reporting ENOBUFS.
My hypothesis is that there is something wrong in the interaction between kqueue(2) and tap(4), perhaps a race condition that is causing events to be dropped? Of course there may also be an implementation error in the kqueue(2) code in #373, but given that FreeBSD does not have this problem, and neither does the functionally equivalent Linux epoll(2) code, this seems unlikely.
@adamsteen I'd appreciate it if you could confirm that you can reproduce this. Not sure what to do about it -- my idea would be to first take test_net_2if.c and rewrite it as a conventional UNIX program by cut-n-pasting from the hvt tender, to see if the problem still occurs. If it still does, then we should report that as a bug (with the non-Solo5 test case) to the OpenBSD tech@ mailing list.
In the mean time, I'll probably just disable the two-interface test for OpenBSD CI in #373.

@mato I have tested the scenario described and I too see the dropped packets. Issue confirmed.
I will setup a test_net_2if unix program and see what happens.

@adamsteen Thanks for confirming. Let me know how it goes with the UNIX
version, or if you have any questions on how to put that together.

@mato i have setup something up so far (not working), test_net_2if, need to have a look at where i went wrong with yield. (error: Yield returned false, but handles in set!)
Just doing a little bit now and then as I have time.

@mato using my very naive translation, i was able to reproduce this error with Unix program.

@adamsteen I can also reproduce the behaviour on 6.5 with your UNIX version. So, I suggest asking on tech@ what people think and whether or not this is a bug. Perhaps include a link to this issue, and point out that the UNIX version is a quick-n-dirty hack for the purposes of having a standalone test case.

here is the bug report sent to @bugs https://marc.info/?l=openbsd-bugs&m=156229879107900&w=2

@adamsteen Thanks for filing that. Is there some way I can get myself added to a Cc: list on that bug?

@mato I have cc you into the bug report

@adamsteen Any progress on this? I've not seen any traffic from<EMAIL_ADDRESS>Perhaps ask on tech@ instead?

@mato Sorry for the late reply, I have been with limited internet access for the last few weeks (Holidays), once i have caught up on things, I will ask on tech@ and see what we can do.

@mato
I have sent an email to @tech Packet loss / ENOBUFs with kqueue(2) and tap(4)

I have been reading a little further in tap(4), and found this tid bit

Writes never block. If the protocol queue is full, the packet is dropped, a “collision” is counted, and ENOBUFS is returned.

See 4th the paragraph of Description in tap(4) https://man.openbsd.org/tap.4
Not sure exactly what that means or where to look but wanted to note it down


M2M  load{{ $e.StructField }} query, joinT missing schema

file:  "https://github.com/ent/ent/blob/master/entc/gen/template/dialect/sql/query.tmpl"
line:  110

joinT := sql.Table({{ $.Package }}.{{ $e.TableConstant }})

Missing schema when using M2M queries。

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

file:  "https://github.com/ent/ent/blob/master/entc/gen/template/dialect/sql/query.tmpl"
line:  110

joinT := sql.Table({{ $.Package }}.{{ $e.TableConstant }})

Missing schema when using M2M queries。

Expected Behavior 🤔
file:  "https://github.com/ent/ent/blob/master/entc/gen/template/dialect/sql/query.tmpl"
line:  110

{{- $schema := print $.Name $e.StructField }}
{{- if $e.Inverse }}
{{- $schema = print $e.Type.Name (pascal $e.Inverse) }}
{{- end }}
joinT := sql.Table({{ $.Package }}.{{ $e.TableConstant }}).Schema({{ $receiver }}.schemaConfig.{{ $schema }})

Steps to Reproduce 🕹

Steps:

Your Environment 🌎

Tech
Version

Go
1.17.?

Ent
0.9.?

Database
MySQL

Driver
https://github.com/go-sql-driver/mysql

Thanks a lot for reporting this, @piyongcai. The issue was addressed with https://github.com/ent/ent/pull/3087.
Please feel free to reopen or join our Discord community in case you still have troubles with this 🙏


adds automatic fips detection

Per #126, this tries to guess FIPS columns in the database at startup, and returns that guessed data for requests to /fips-column-name (which now returns a two-element dict, with "state" and "county" keys... a change which should make it into the documentation).
This implements the hueristic described at #126: if every value in a column is a valid county FIPS code or if every value in a column is a valid state FIPS code, and if the set of a column's values represent more than 10% of the total state or county FIPS codes, then we assume that column contains FIPS data.
This implementation assumes the following invariant: a table may have no FIPS columns, a single county FIPS column, a single state FIPS column, or both a state and county FIPS column. A table may not have more than one state or county FIPS columns.
If more than one column contains what looks like either state or county FIPS data, a single arbitrary column is chosen as the state or county FIPS column for the table.
Here's the output of running this against our "worksheet" database:
user@MITprobcomp:~/projects/bayesrest$ curl http://localhost:5000/fips-column-name
{"county": "state_county_fips", "state": "state_fips"}

The source for FIPS data that is used to test the FIPSiness of a column is https://www2.census.gov/geo/docs/reference/codes/files/national_county.txt
Closes #126

I think we might need a corresponding PR in BayesSheets to handle the new response format for the /find-fips-columns endpoint.  My current task will need to do this so I can take care of that without an issue, but - if I'm looking at this correctly - it probably doesn't make sense to merge this into master until the corresponding BayesSheets PR is ready.

@tctrautman You're absolutely right. Thanks for noticing the problem and for volunteering to fix it!


Reset cast buffer so it can be set with bitwise ORs

When converting floating point arrays to binary, we use bitwise OR operations to set the relevant bits in the output buffer to 1. We do nothing if the bit is zero, so we assume that the bit is zero to start with.
The memset statement makes sure this assumption holds.

Hi @Ngalstyan4! I've already merged it in #428 🤗


Update minimum required cmake version

Because abseil is using list(FILTER ... in its cmake files, the minimum required cmake version is actually 3.6 and not 3.1.
See

https://cmake.org/cmake/help/v3.5/command/list.html
https://cmake.org/cmake/help/v3.6/command/list.html
https://github.com/abseil/abseil-cpp/blob/master/CMakeLists.txt#L19
https://github.com/abseil/abseil-cpp/blob/master/CMake/AbseilHelpers.cmake#L94

Sorry to just see this.  I would be hesitant to upgrade to cmake 3.6 given that, for example, Ubuntu 14.04 LTS still ships cmake 3.5 (https://packages.ubuntu.com/trusty/cmake3).  We can try toa ccomplish the same thing without using list(FILTER) though.  Thanks for the heads up!

update: there is an internal fix for this out for review . Should be public in day or two at worst


iOS Pythonista run Lulu. need not  sys.stout.buffer and no ffmpeg. so found Youku and twitter merge failed. now is fixed.and download merge perfect.

1.fix iOS python3.6 crash sys.stout.buffer
2.fix has no ffmpeg merge extenstion mp4 file failed. mp4 real is flv or ts. for example youku is real flv, twitter is real ts

已经改好了。谢谢耐心的提示。


fix(backup): override meeting parts not restored from backup

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


flutter not updated properly

Steps to Reproduce

...
...
...

Logs

Logs

Thank you for filing an issue! However, unfortunately this issue is not currently actionable by our team. Feel free to open a new issue filling out the template, including steps to reproduce, relevant logs, and the output of flutter doctor --verbose.


#15 Improve previous/next Lab links

Added button style for Lab Links with a little icon transition on mouseover.
Screenhost preview
Button hover preview

Oh, that's awesome! Great work, and thanks for contributing!


File uploads don't provide standard File/Blob if fetchAPI option is omitted in v3 and Node 18

Describe the bug
The v3 documentation section on File Uploads states:

In GraphQL Yoga, you consume uploaded files or blobs as WHATWG standard File or Blob objects you might be familiar from the browser's API.

But to get a standard File/Blob you must define the fetchAPI option with createFetch and useNodeFetch to either false or true:
createYoga({
  fetchAPI: createFetch({
      useNodeFetch: true, // <----- either true or false to get a standard File/Blob in resolvers
    }
  })
})

If you don't define the fetchAPI option you get a proxy object in the resolvers with a stream method that returns a FileStream from busboy which lacks the pipeTo method of ReadableStream. Example error: TypeError: file.stream(...).pipeTo is not a function. Also, you cannot use the size property of the proxy before consuming the stream, you get this error: Error: Cannot access file size before consuming the stream.
The behavior differs if you define fetchAPI: you can use the size property before consuming the stream and the stream returned does have the pipeTo method.
I stumbled upon this issue using Pothos and Typescript:
const builder = new SchemaBuilder<{
  Scalars: {
    File: {
      Input: File; // <----- Not the right type if you don't define the fetchAPI option
      Output: never;
    };
  };
}>({});

Your Example Website or App
None
Steps to Reproduce the Bug or Issue

Use createYoga without specifying the fetchAPI option.
The file object received in resolvers is not of File type.

Expected behavior
The file object received in resolvers is a standard File/Blob for correct typing.
Screenshots or Videos
No response
Platform

OS: Windows 11
NodeJS: v18.6.0
@graphql-yoga/* version(s): 3.0.0-next.4

Additional context
No response

Could you try with the latest v3 which is 3.0.0-next.10 currently?

Yes, thanks. This issue no longer exists in 3.0.0-next.10.


Api documentation fixes (2)

Here's a new set of fixes.
I took the liberty to normalize all //optional tags, as that change was already halfway through. Let me know if you want me to revert that particular commit.

Thanks as always @MisterTicot


feat: support jd provider

Support JD provider

Thanks for your contribution.
Can you add tests for jd provider under the tests directory and run them by Makefile?

sure

Thanks for your contribution 🎉


Can We change the view.

It is possible to change the view of archToolbarView like google Tez app (Home Screen) Can you add this feature in this cool library..

Can you share an example? A video or a nimage would be great.On 19 Oct 2019 08:07, MustafaAndroid<EMAIL_ADDRESS>wrote:It is possible to change the view of archToolbarView like google Tez app (Home Screen) Can you add this feature in this cool library..
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

yep this is image of google tez bro

![Screenshot_2019-10-19-16-41-00-780_com google android apps nbu paisa user](https://user-images.githubusercontent.com/47474589/67144038-c3c19680-f28f-11e9-8eab-bac4f7c67026.png)

I see, unfortunately the Google Tez view have different concept.


Allow for setting warm migration cutover datetime

This PR allows for setting cutover date & time for a wam migration ServiceTemplate. This information will be a iso-formated datetime string and will land in config_info[:warm_migration_cutover_datetime]
Ordinarilly, we would not need to create anything special here, since we already have a way (in backend & API) to update an existing service template: update_catalog_item() routine.
Though the routine normally will not allow to update a ServiceTemplate which is "in progress" (i.e. tasks for it are already running).
The usual workflow for a warm migration plan is:

the template for warm migration is created and immediately ordered
as soon as the template is ordered, the pre-copying phase of the migration starts (i.e. the plan is already in progress)
at some point the user decides to add a cutover date

The change that I'm proposing here allows to add the cutover datetime to a warm migration template which is already in progress and would allow to expose this funcionality via API as:
# cat post.json
{
  "action" : "edit",
  "resource" : {
    "config_info": {
        "warm_migration_cutover_datetime": "2020-05-01T01:01:01"
    }
  }
}
# curl -s<EMAIL_ADDRESS>http://admin:smartvm@localhost:3000/api/service_templates/75|json_reformat|grep warm_migration_cutover
            "warm_migration_cutover_datetime": "2020-05-01T01:01:01"

@fdupont-redhat

@miq-bot add_label enhancement

@fdupont-redhat this is blocking some PR merge conflict resolution in v2v, do you think we can merge this soon?

@miq-bot add-reviewer @agrare

@miq-bot add_label bugzilla needed


[Component] - TextArea - Add an "autoExpand" prop

A new autoExpand prop should be added to our TextArea component. This will allow the height to update automatically each time the number of lines changes, preventing an unattractive overflow scrollbar from appearing.
overflow scrollbar:

While working on this ticket we realized the complexity that could arise from considering changes in the text area's font size and so forth. It's wise to take a step back and not go any further.
To address the issue of the unappealing scrollbar, we recommend that our consumers use the scrollbar-color CSS property to customize scrollbar styles instead. A PR has been made to add a story showcasing customised scrollbar


Invalid Example to copy images across tenants

Image copy across tenants example does not work.
https://learn.microsoft.com/en-us/azure/virtual-machines/image-version?tabs=cli%2Ccli2#create-an-image-in-one-tenant-using-the-source-image-in-another-tenant

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

ID: 720b9403-2322-5abd-2edc-7fa80bae90f2
Version Independent ID: 2c33a6b1-43ef-6736-3255-8f8c25feb9cf
Content: Create an image definition and image version - Azure Virtual Machines
Content Source: articles/virtual-machines/image-version.md
Service: virtual-machines
Sub-service: gallery
GitHub Login: @sandeepraichura
Microsoft Alias: saraic

@DanielTillmannTR
Thanks for your feedback! We will investigate and update as appropriate.

Hi @DanielTillmannTR
Could you kindly provide with the error screenshots where you notice invalid example to copy image across tenants. So, it can help us to update this document accurately.

@DanielTillmannTR
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Since we have not heard back from you, we will now proceed to close this thread.If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Fixed db.Query.clone()

Needed for fulltext search

@tsteinruecken  Why should we not clone the attribute lastCursor?

This would be unnecessary effort. The reason to clone a query is to run it independently of the main query. This will always (re-)set lastcursor.


Interface "Illuminate\Contracts\Console\PromptsForMissingInput" not found

Now I'm using PHP 8.1 for to use the release 8.4, but I'm receiving this error.

there's something wrong with the 8.4 release it contains changes meant for recent versions, looking into it.

https://github.com/nWidart/laravel-modules/pull/1730

Getting the same error on php 8.3

there's something wrong with the 8.4 release it contains changes meant for recent versions, looking into it.

Yes I think some of the commits for 10.x is included into 8.x

@dcblogdev
We also have the same error when we update the package 8.2 to 8.4.
I used Laravel version 8.X and PHP version 8.1.*

waiting on https://github.com/symfony/symfony/pull/53711 this should resolve the issue.

Revert to 8.3 since 8.4 will break the application, once the PR on Symfony is released I think that will sort it.

Revert to 8.3 since 8.4 will break the application, once the PR on Symfony is released I think that will sort it.

I tried that, but the erro "An option shortcut cannot be empty." returned. In this case I used PHP 8.1.27, Laravel 8.83.27 and  nwidart/laravel-modules 8.3.0.

Yes the symphony release is still open, it won't be fixed until that's been released

@dcblogdev just a heads up: it's merged

All good now?

I tried updating the package, still get the same error on 8.5.0

I tried also updating the package nothing changes; still have the same error

Correct me if I am wrong ... Is this the issue ? i saw from the package's composer.json

See https://github.com/nWidart/laravel-modules/issues/1728#issuecomment-1921445620 I'll close this as its essentially the same thing as the other issue.

This helps:
in composer.json add
"conflict": {
  "symfony/console": "5.4.35"
},

and in require section use exactly 8.3 version
"nwidart/laravel-modules": "8.3"


the validation methods doesn't work properly the when the formData contain array

It happen sometimes this schema will break the validation
'{ "type": "object", "properties": { "array": { "type": "array", "title": "Validate", "items": { "type": "object", "properties": {} } } } }'

The bug was cause by the schema and the formData didn't match.
When passing an object to an array validator, the validator try to call forEach which was not existed in the object.