docs: Revert Python to 3.7.9 in docs-builder, downgrade a dependency

Some time ago, we updated the version of the Python interpreter in the Dockerfile for the docs-builder image. But we didn't realise that this would introduce a difference with the version in use on the Read The Docs platform. For a long period it didn't cause any issue, but the latest update of Sphinx dependencies bumped sphinxcontrib-applehelp to a version which is no longer compatible with Python 3.7. The build would run fine locally and in CI with Python 3.10, but would fail on Read The Docs where Python 3.7.9 is still in use.
We have two options: revert back to Python 3.7 in the docs-builder image, or make Read The Docs use a newer version. Updating the version on RTD sounds sensible, but there's no concrete advantage at this point, and we would have to introduce a .readthedocs.yaml file at the root of the Cilium repository, which we haven't needed so far. Conversely, there's no apparent drawback to stick to the older Python version in the docs-builder image, so we can just do that.
In addition to the Python version change, we need to regenerate the list of dependencies. Some are updated to their latest version, some seem to be slightly renamed, but note the downgrade for sphinxcontrib-applehelp. This should fix the builds on Read The Docs.
Fixes: 2b3207ed1967 ("docs: update Alpine image for cilium/docs-builder")
Fixes: #19348
Fixes: eb1338a12e63 ("docs: Update build dependencies (Sphinx add-ons etc.)")
Fixes: #24014
docs: Revert Python version in docs-builder image to 3.7.9, downgrade sphinxcontrib-applehelp, to fix builds on Read The Docs

I updated the workflow with the new docs-builder image and it's passing, all good from CI side.


gh-43: Full support for ESM modules.

Fixes https://github.com/weaviate/typescript-client/issues/43 in v1.3
Problem:
In typescript when using more strict moduleResolution such as  nodenext or node16, typescript can't find type declarations of the esm module which has .mjs extension. This is because TypeScript ignores .js when there is an identically named .d.ts file beside it. Same happens with .mjs and .d.mts but if no such pair found, typescript thinks there are no type declarations.
More info in my comment here.
Solution:
Assuming that weaviate team doesn't want to change package module type from commonjs to module, keeping commonjs as default option, the smallest change is to generate d.mts declaration file. Since we don't have actual .mts files, it's not easy to emit one using standard bundlers and builders, see. The best workaround I see is to clone original type definitions after build. This will make this PR small and if one day weaviate team decides to implement a build pipeline it will be straightforward to implement this step using other tools.

@iSuslov the intention of making this package a CommonJS library is to keep backwards compatibility with the projects who previously used the CommonJS JavaScript client which this client was migrated from.
Does changing this package type to module break this compatibility?

@iSuslov, what is the status of this PR? Are you in a position to reply to https://github.com/weaviate/typescript-client/pull/56#issuecomment-1545785442?


Calculate average unit cost description is incorrect

[Enter feedback here]
You have this statement for calculate average unit cost:
Calculate average unit cost – Set this option to Yes to display a column that shows the average unit cost. The average unit cost is the total quantity divided by the total amount.
It is the total amount / total quantity, not quantity / total amount.
e.g., 10 units @ $50 each = $500
$500/10 = $50/ea
Not
10/$500

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

ID: 5d20ffe0-4e0a-4327-8211-84f8f903e914
Version Independent ID: 59e5d7a9-05d7-ce98-59bf-18dc8c52ab96
Content: Inventory value reports - Supply Chain Management | Dynamics 365
Content Source: articles/supply-chain/cost-management/inventory-value-report-storage.md
Service: dynamics-365-supply-chain
GitHub Login: @banluo-ms
Microsoft Alias: banluo

@iangorman2020 , thank you for reporting that error. I have updated the topic as you suggested and the fix should go live later today.


DMA: allow to use arbitrary user data in its callback

In the current 'dma_callback' function, the first argument  struct device * dev is assumed to be the pointer to the DMA device driver. However, a DMA client could need to access its private data as well in the callback function. So, it is better to make the first argument as a generic void *arg so that the client can set whatever data it likes to use in the callback function.
The PR is trying to address the request of the issue: https://github.com/zephyrproject-rtos/zephyr/issues/8928

Codecov Report

Merging #9018 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9018   +/-   ##
=======================================
  Coverage   52.31%   52.31%
=======================================
  Files         197      197
  Lines       24792    24792
  Branches     5156     5156
=======================================
  Hits        12970    12970
  Misses       9743     9743
  Partials     2079     2079

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 47a9f9a...23db964. Read the comment docs.

There's an interesting discussion happening in a parallel PR rearding what arguments such IRQ callbacks should take, see https://github.com/zephyrproject-rtos/zephyr/pull/8951#issuecomment-405510624 and https://github.com/zephyrproject-rtos/zephyr/pull/8951#issuecomment-407078491 .
Ideally, this PR should be considered in that scope too.

@pfalcon Yeah, I referred to PR #8951 when creating this PR. :) Also, one of my projects needs this feature as well.

@erwango Any further comments /suggests?

@jli157

Any further comments /suggests?

No comments on my side. Dismissing the review

@erwango, @pfalcon and  @nashif do you think this PR is still worth being merged? I noticed the PR #8951 did the similar changes to UART and got merged.

recheck


Kong doesn't trust public CAs

Hello,
Trying to use pongo to test a lua plugin for kong.  I am attempting to make an https request to an API.  It's failing with tls_process_server_certificate:certificate verify failed:unable to get local issuer certificate.
I don't see a way to set kong's configuration with Pongo to remediate this problem.
I have tried setting
  export KONG_LUA_SSL_TRUSTED_CERTIFICATE=system
  export KONG_TEST_LUA_SSL_TRUSTED_CERTIFICATE=system

both prior to starting pongo, and in pongo shell prior to starting kong.

can you provide a minimal example that reproduces the problem?

So, what I found was TLS working is library dependent.  The plugin documentation doesn't really outline this, nor mention what libraries are generally available in the environment, but despite lua-http being present, it does not work:
local http_request = require "http.request"
local util = require('http.util')

local req = http_request.new_from_uri("https://some-well-known-api.example.com")

local headers, stream, number = req:go()
-- If there is a problem, headers will be nil, stream is actually an error, and number is error int.
if headers == nil then
  kong.log.debug("Error " .. stream)
end

This will show the TLS CA problem.
After some more searching, I saw that various plugins are using resty.http:
  local httpc = require("resty.http").new()

  -- Single-shot requests use the `request_uri` interface.
  local res, err = httpc:request_uri("https://some-well-known-api.example.com", {
      method = "POST",
  })

In this case, TLS works normally.

ok, that explains it. Do not use lua-http with OpenResty.
You can only use libraries that explicitly support OpenResty, the goto http-lib is indeed resty.http. That one will work.


Fix broken tests

Two tests are currently broken:
➜  contiamo-client-python git:(update-contracts) ✗ pytest contiamo/tests
======================================================== test session starts ========================================================
platform darwin -- Python 3.6.4, pytest-3.4.1, py-1.5.2, pluggy-0.6.0
rootdir: /Users/brandon/projects/contiamo-client-python, inifile:
plugins: nbval-0.9.0, aspectlib-1.4.2
collected 34 items / 2 errors

============================================================== ERRORS ===============================================================
_________________________________________ ERROR collecting contiamo/tests/test_requests.py __________________________________________
contiamo/tests/test_requests.py:28: in <module>
    data_client = DataClient(contract_id, contract_token, api_base=api_base)
E   NameError: name 'contract_id' is not defined
---------------------------------------------------------- Captured stderr ----------------------------------------------------------
/Users/brandon/projects/contiamo-client-python/contiamo/tests/test_requests.py:25: UserWarning: These tests will be skipped, as they require configuration information that is unavailable.
  warnings.warn('These tests will be skipped, as they require configuration information that is unavailable.')
_________________________________________ ERROR collecting contiamo/tests/test_resources.py _________________________________________
contiamo/tests/test_resources.py:28: in <module>
    class ResourceTestCase(unittest.TestCase):
contiamo/tests/test_resources.py:30: in ResourceTestCase
    client = Client(api_key, api_base=api_base)
E   NameError: name 'api_key' is not defined
---------------------------------------------------------- Captured stderr ----------------------------------------------------------
/Users/brandon/projects/contiamo-client-python/contiamo/tests/test_resources.py:23: UserWarning: These tests will be skipped, as they require configuration information that is unavailable.
  warnings.warn('These tests will be skipped, as they require configuration information that is unavailable.')
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
====================================================== 2 error in 0.86 seconds ======================================================

The above errors occur because you need contiamo/tests/data/test_config.yml to run the tests. More informative errors are in f93343ffbf3d653d9551ba84f307585bea77702d and ae74c86282147e9320cdf2b5adbd2ab66d7334f6.


Add Michael Line

https://math.stackexchange.com/q/4597483

It can even be the primary name I would think.


Upgrade restify to >=3.0.0

Currently, sails-rest installs<EMAIL_ADDRESS>And with node 0.12 or iojs, I get these errors:
{ [Error: Cannot find module './build/Release/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/default/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/Debug/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }

From what I've been able to figure out, this is fixed by using dtrace-provider >=0.4.0, which<EMAIL_ADDRESS>satisfies.

Were you able to run sails-rest with restify 3.0.0 ? I'm happy to accept a PR that resolves this

@joshuajabbour please take a look at v0.1.0-waterline-v0.10 . It's a complete re-write of the adapter (doesn't use restify anymore). I plan to let it sit in that branch for a while before releasing, but it might be a good way to work around the problem you described above.

@zohararad its great to see oncoming official superagent version! I made dirty port before to use in isomorphic fluxible application. Let me know if I can help somehow.

@ertrzyiks glad for the positive comments. I'd love to get some feedback on

Code quality if you're happy looking through it
Usefulness in a real application. Most bugs come from real-world usage and I may have missed some things


Tool changes for Functionapp Dependencies and Fortinet-Fortigate Package

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

@v-sabiraj : Please confirm back once testing is completed.. we will merge this PR... Thanks!!

Hey @v-rucdu, I have removed the commented code, thanks.


[tool] Configure renovate

@webersni Yes you are right, it's a copy left license and might not comply with MIT, so let's just be safe and do it manually, I'll close the pr.


Test: Should pass because is using max ocp version

Test: Should pass because is using max ocp version

Test is done with success.


Allow multiple access to ZipFileData

This is a provisory attempt at trying to address #18. The main use case I had is that I wanted to be able to look through a Zip file looking for one or two "magic" filenames. Because by_name() is &mut, it's impossible to look for a second file if the first one is absent. I also noticed the lack of an Iterator capability on any of the types in zip::read.
This PR separates reading ZipFileData out from reading ZipFiles. by_name and by_index now return ZipFileData values, and there is a new open(&mut, &ZipFileData) method that takes a ZipFileData and returns a ZipFile. Unfortunately, at first, a client can't call open() because the existence of a ZipFileData reference means that there's a borrow on the larger ZipArchive, preventing the &mut borrow we need for open().
In order for this to work, we apply the Rust design pattern of composing structs to achieve better borrowing, namely by moving open() out of the same struct that has access to the by_name/by_index indices and into a new type. This type is a natural place to centralize access to the "reader" that we're using to read the ZipFile itself. Once you extract this functionality, the only thing left in the current ZipArchive type is its by_name/by_index indices, so rename ZipArchive to ZipIndex and create a new ZipArchive type that wraps the "reader". We can also add an Iterator type that walks the (new) ZipArchive and yields each entry in the directory. ZipIndexes can be built using this iterator; provide a convenience method ZipArchive#index() that allows this for convenience.
While I was here, I performed a few other cleanups:

rustfmt everything
Get rid of ZipError::FileNotFound; this error doesn't arise in any ZipArchive method, but only in ZipIndex, where it can be replaced with Option
Move unix_mode from ZipFile to ZipFileData, because we needn't have opened a file to compute its UNIX mode.

I might have gotten a bit carried away here -- my main goal was to highlight the refactor of separating ZipArchive out from ZipIndex and offer it for consideration. I learned a lot about "thinking in Rust" in the process, so don't be afraid to reject this PR ;)
This PR makes almost no attempt to preserve backwards compatibility (it renames a few types), but because this library is only version 0.2.3, I didn't worry too much about it.
Feedback gratefully solicited :)

This PR is a bit too complicated to merge at this point.
Sorry that it took a long time to have a verdict.
I am not really a fan of people running rustfmt on all the files, this touches too many things, and git blame will not give any reliable results anymore.
I think this can be solved in several ways:

Run by_name in a new scope, so that the reference is dropped afterwards and the second file can be checked.
We can add a filenames iterator to ZipArchive
You can loop over all file indices, and check the names in the loop

Feel free to add to this discussion or open a new one, but I am closing the PR.


Dependent field "country" value blank on drop down

You MUST use this template when reporting issues. Please make sure you follow the checklist and fill in all of the information sections below.

All versions of django-smart-selects prior to version 1.2.8 are vulnerable to an XSS attack as detailed in issue 171. As a result, all previous versions have been removed from PyPI to prevent users from installing insecure versions. All users are urged to upgrade as soon as possible.
Checklist
Put an x in the bracket when you have completed each task, like this: [x]

[X] This issue is not about installing previous versions of django-smart-selects older than 1.2.8. I understand that previous versions are insecure and will not receive any support whatsoever.
[ ] I have verified that that issue exists against the master branch of django-smart-selects.
[X] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
[ ] I have debugged the issue to the smart_selects app.
[X] I have reduced the issue to the simplest possible case.
[X] I have included all relevant sections of models.py, forms.py, and views.py with problems.
[ ] I have used GitHub Flavored Markdown to style all of my posted code.

Steps to reproduce

Followed the instruction of usage (Continent, Country, Location models)
Added USE_DJANGO_JQUERY = True in settings.py
Added "path('chaining/', include('smart_selects.urls'))," to the app urls.py
Using Admin to check the behavior (as demonstrated in the test app)

Actual behavior

Getting "blank" field values for the country field (corresponding to the continent selected) with "show_all=False"
With show_all=True, all values of the "country" is visible
On changing the settings.py with "JQUERY_URL = True", getting ERROR: "bool' object has no attribute 'startswith' "

Expected behavior

The "country" field values should correspond to the continent value picked up in the choice (drop down) widget.

Addendum:
Using:
Python 3.6
Django 2.0.6
smart-selects 1.5.4

Problem solved (on Admin).
What I did:

Ran python3 manage.py collectstatic (from projects folder)

Upgraded js-unlinting-fixes by running pip3 install --upgrade git+https://github.com/digi604/django-smart-selects.git@js-unlinting-fixes.

Note: I had missed the Step 1 first so even after installing the fix, the results was the same (no secondary key value)

Refreshed browser cache.

PS. I have used USE_DJANGO_JQUERY = True in settings .py file.
Must say lots of fine minds at this site. Thankful to everyone for putting their thoughts which makes this a really great melting pot of ideas. The only need is to put everything at one place (after of course, resolution of an issue happens).
Closing the issue.

Thank you for the solution!! I really would have never managed to do it on my own. Just a question to try to understand the solution: why "python manage.py collectstatic" solves everything?


optapy-core: Add missing annotations/decorators

optapy-core currently have the most important annotations from OptaPlanner, but is missing many. The missing annotations should be added as decorators.

Closed via #34


Slightly improve clarity of logical bool ops

The doc states that these "return true" but more precisely they're the "typical" short-circuiting boolean operations with Python-like semantics. and and or may not return booleans at all depending on their inputs.

I had a coworker express the expectation that x or y in a Jinja template would return a bool, in a context in which x and y are both str | None, based on this section of the docs.
I don't read the doc in this way, but strictly speaking that's what it says (these don't say that they're Python-like boolean operations -- they say they "return true").
I think the clarification is possibly helpful and at worst harmless. It was written based off of the Python documentation for the boolean operators.^1

I added further clarification.


ci: remove theme from go.mod

Temporarily remove hugo-theme-gists theme to fix Netlify deploy

I'm merging this now to see if this clears the build. I tried adding hugo-theme-gist to a local Hugo project, and got the same error on first build, but then it somehow cleared. So I assume it's a cache issue, but it's hard to say what.

hugo-theme-gist repo could maybe try to create a v1.0.1 tag.
If that doesn't work, try adding a go.mod file (hugo mod github.com/dmachard/hugo-theme-gists) and then create a new tag.


Add mdio/ethernet/ptp drivers for Infineon XMC4xxx SoCs

@sreeramIfx, please review this on my behalf.
Ian

thank you @jukkar, @sreeramIfx for your reviews. I've added the changes you suggested.
I'll also rebase to origin/main shortly assuming CI passes.

LGTM. For the PRNG, if you find a way to utilize the board one, even better.

thanks, @jukkar. Unfortunately, it doesn't look like the PRNG values are accessible from the DAC module.

@sreeramIfx, could you have another look when you have a moment, please

@sreeramIfx, could you have another look when you have a moment, please

Looks good to me..


[EOSF][No Ticket] Update validated-model-form component

Purpose
To update the validated-form-component to be more dynamic.
Summary of Changes

Added onError, modelProperties, and recreateModel properties
Updated the handbook

Side Effects
All of the properties being added are optional and shouldn't affect other components already using it.
Feature Flags
N/A
QA Notes
There shouldn't be any noticeable front-facing differences.  The only real difference is that it'll be able to take in more use cases.
Ticket
N/A
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 1801

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 63.264%

Files with Coverage Reduction
New Missed Lines
%

lib/osf-components/addon/components/validated-model-form/component.ts
5
79.52%

Totals

Change from base Build 1789:
-0.01%

Covered Lines:
3788

Relevant Lines:
5672

💛  - Coveralls


python311Packages.speechbrain: 0.5.16 -> 1.0.0

Description of changes
Changelog: https://github.com/speechbrain/speechbrain/releases/tag/v1.0.0

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

4 packages built:

python311Packages.pyannote-audio
python311Packages.pyannote-audio.dist
python311Packages.speechbrain
python311Packages.speechbrain.dist


Guidance on how to fix messages needed (Regex)

I got the non static regex error a few times, but https://stil4m.github.io/elm-analyse/#/messages/NonStaticRegex doesn't really help me to understand what the problem is and what the fix is. Is it possible to augment the docs a little?

Fair point :).
Regexes could cause runtime exceptions. This  is the meta issue. To limit this, you can define regexes as top level expressions such that these evaluate when your JS is loaded in the browser. This way you get a runtime exception directly or not at all, but never when your end user enters a corner case.
The docs need some improvements in general. Currently, I do not have that much time so if you want to help me out with a PR, I would be really happy.


Json one single value to multidimension array

Hello,
Is there any other way to convert from one single value to array? for example, I have below single object:
1st:
Object { js_language="1",  js_language_level="1"}
and this is two values object:
2st:
Object { js_language=[2],  js_language_level=[2]}
what I wanted is convert 1st from :
Object { js_language="1",  js_language_level="1"}
to
Object { js_language=[1],  js_language_level=[1]}
Are there any way to achieve it with serializeObject?
Thanks in advanced

No, that won't be supported. This plugin is a mirror of $.serialize() and $.serializeArray(). You can convert to that model after running $.serializeObject.


Conversion of captured images to plot-level tiles

This piece of functionality is necessary for several extractors and project deliverables. It is related to #159 that factors out geospatial metadata extraction.

https://github.com/terraref/computing-pipeline/issues/207 FLIR - compute plot level means
https://github.com/terraref/computing-pipeline/issues/85 Create full field stitched mosaic

We want to avoid duplicating effort if possible, and share code that may address multiple needs.
DELIVERABLES ARE:

[x] discussion & determination whether code can be shared across these issues or not

and if appropriate, code snippets that:

[ ] ingest a set of images & geospatial information, from disk or Clowde
[ ] ingest plot definition geometries
[ ] chop images into plot tiles, either in MEMORY or written to FILES on disk

...to the extent this generalized code is feasible. These snippets can be generalized libraries or modules (outside Clowder or any specific extractor) in the /scripts directory so anyone can use them.

@yanliu-chn and @jterstriep this is the issue that came up today. We discussed options in December but have not yet come up with a generalized approach. I think we determined that it will be helpful to have a generalized approach. However, the next step is to come up with a plan of action. Can one of you take the lead on this?

I'm going to close this issue as a similar discussion is occurring in #265. Should've just added those comments to this issue initially.


Test Coverage Tracker

Test coverage in this repo is incomplete. If you would like to make a PR adding test coverage in the listed files, it will be reviewed and you will be lavished with praise for your work. Note that there is a nice utils library to make your life easier!

[ ] INITIAL_POLL_NONCE.js
[ ] attrUUID.js
[ ] commitPeriodActive.js
[x] commitVote.js
[ ] dllMap.js
[ ] getCommitHash.js
[x] getInsertPointForNumTokens.js
[ ] getLastNode.js
[ ] getLockedTokens.js
[ ] getNumPassingTokens.js
[ ] getNumTokens.js
[ ] getTotalNumberOfTokensForWinningOption.js
[ ] hasBeenRevealed.js
[ ] isExpired.js
[ ] isPassed.js
[x] pollEnded.js
[ ] pollExists.js
[ ] pollMap.js
[ ] pollNonce.js
[x] requestVotingRights.js
[x] rescueTokens.js
[ ] revealPeriodActive.js
[x] revealVote.js
[ ] startPoll.js
[ ] store.js
[ ] token.js
[x] validPosition.js
[ ] voteTokenBalance.js
[x] withdrawVotingRights.js

I'll work on:

[ ] getLockedTokens.js
[ ] getNumPassingTokens.js
[ ] getNumTokens.js
[ ] getTotalNumberOfTokensForWinningOption.js

I'm gonna add more files. There are getters that we don't have any pending coverage for.

https://github.com/ConsenSys/PLCRVoting/commit/47efcb5c9fee8af6d4d96ffdf5fc493de61e42ab
There's pending coverage for everything now, including getters (If I missed anything lemme know). Updated the checklist.

#16

unchecking revealVote to account for various input values
https://github.com/ConsenSys/PLCRVoting/issues/28

This is related to, but not identical to, #33. This issue attempts to track functions without any tests at all vs. functions that have at least one test.

Deprecated due to #40.


Fixes #159 Implemented Custom Logs for both environments - Development and Production.

Fixes #159
Description:-
This PR does the following:-

Implemented Custom Logging for both the environments development and production.
Three different custom formatters are defined in the LOGGING dictionary - simple, verbose, and detailed.
Two different handlers  defined, one for showing logs in the terminal which is to be used in development, and one for storing logs in the file, which is to be used in production.
Added a dateformat to all formatters with asctime to exclude miliseconds from asctime.
Added a check for logs directory to make one if it doesn't exist as it can create issues on different os.

PROOF OF WORK:-
https://github.com/BitByte-TPC/alumni/assets/136831315/1b676d8e-a1ae-488a-83c4-343200375a9b
Thank You.

@ritankarsaha Good work. Although a few changes are required!!

Remove unused imports at the top of common.py
You have created two loggers which are both doing the same thing. Only keep the django one. Remove the first one.
In the loggers, you have defined django. Instead django, when you define level, do level INFO for development environment and WARNING for production.
The detailed format should be more clearer. Right now, person viewing it won't be able to tell what is what. Try to get it in the following style:
Level -
Time -
Module -
PID -
TID -
Message -
[One-line-gap]
Instead of a single file logs/alumni_connect.log, make three different ones logs/warning.log, logs/error.log and logs/critical.log storing their respective level logs. No need for info.log or debug.log as we won't be needing those.

@ritankarsaha Good work. A last few changes are required.

Remove the last 4 lines in your code. Those logs are not really required.
Also, currently, your segregation of log levels in different files is not specific. For example, in warning.log, you are storing all logs above the warning level in that file. Make only store that particular level in that file. You can define filters for the following.

@ritankarsaha LGTM. Nice work!

@ritankarsaha Good work.


No aletrts listed

Description of the issue
The badge displays 5 alerts for the TMatrix project: , but there are no alerts listed: https://lgtm.com/projects/g/M4444/TMatrix/alerts/?mode=list.

This was resolved. Maybe some sync problem caused a delay.


Document what a developer needs to change to use the template

The initial aim is to document what parts need to be changed / configured before the template can be used for a project.

How to shake things that aren't used in particular projects?
Provide scripts that help with the process?

Irrelevant as we are moving to remix


Merge upstream

Get up to date with relevant bits from https://github.com/testing-library/pptr-testing-library.

Codecov Report

Merging #90 into master will increase coverage by 0.55%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
+ Coverage   94.44%   95.00%   +0.55%
==========================================
  Files           2        2
  Lines          72       80       +8
  Branches       11       13       +2
==========================================
+ Hits           68       76       +8
  Misses          3        3
  Partials        1        1

Impacted Files
Coverage Δ

lib/index.ts
98.43% <100.00%> (+0.22%)
:arrow_up:

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 dbac3d3...8d7d66c. Read the comment docs.

:tada: This PR is included in version 2.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix command arguments for multiple inputs in benchmark tools

Change nargs="+" to action="append" in benchmark tools to correctly accept multiple inputs.
Benchmark tools accept multiple results files in the command arguments. But it intends to accept:
tool.py --benchmark_files=a.json --bencmark_files=b.json

while currently with nargs="+", it only accepts
tool.py --benchmark_files a.json b.json

Searched across the IREE codebase and looks like the first format is more commonly used.

This should solve the issue of result uploading after #13199

Ah, turned out we use the second format to pass arguments in Android benchmark pipeline (and only on the results uploading step)... Send out #13434 for the fix.


Wifi/web page for config idea

Could create a web page, hosted from the ESP32, that allows various options to be set. This would allow more customisation and less binary builds required.
ESP32 could enable access point mode (with DHCP) for e.g. 30 seconds after boot. With a password.
Then switch it off, to make sure that someone in the crowd at a gig can't mess around.
Possible options:

bluetooth client/server modes
whether setting the same preset again does bypass or not
serial/wired Midi enable
maybe even check boxes for bluetooth client mode, to enable various pedals, and a text box for custom device name

It would be also great if such config menu would be available for units with screen.

That is actually a web page. I'm working on adding this to PCBs with and without a screen, via a web browser and WiFi.


Rewrite ArchivePacker::CreateArchive to be exception based instead of returning bool on success

Will involve refactoring VolFile::CreateArchive and ClmFile::CreateArchive.
rewrite:
virtual bool CreateArchive(std::string volumeFileName, std::vector<std::string> filesToPack) = 0;
to read:
virtual void CreateArchive(const std::string& volumeFileName, std::vector<std::string> filesToPack) = 0;

I agree with the return code versus exception change.
I noticed the volumeFileName parameter changed as well. I had to think about this. It probably makes sense to change it, with similar reasons applying to the second parameter as well.
We should perhaps figure out some guidelines for when input strings, and other objects, should be passed by const lvalue-reference, by lvalue-reference, by rvalue-reference, pointers, or by value. My initial take on this is:
The const lvalue-reference (&) is appropriate when the string is owned somewhere else, and access is borrowed. You should not store a caller owned lvalue-reference somewhere that might outlive the input value (otherwise you end up with a dangling reference). Typically the caller continues to own the object, and is responsible for the lifetime. It's possible to transfer ownership, though this is usually unexpected, and would need to be a documented part of an API. A const lvalue-reference can accept a temporary value generated by an expression. No copy is created.
An lvalue-reference (non-const) is suitable for out parameters, where the caller expects the value to be updated. A non-const lvalue-reference can't accept a temporary value generated by an expression, and so must be passed a named variable. This means you can not pass a constant literal expression, such as a hardcoded number or string. Ownership is by convention, where the caller may still own the object or transfer ownership, depending on the API design, though the usual expectation is the caller owns the object. No copy is created.
The rvalue-reference (&&) is only appropriate when you're assuming ownership of an object. It may invalidate the original value from the caller when it assumes ownership. Think of this like passing a unique_ptr, where once passed in, the caller no longer has access to it because it was invalidated. An rvalue-reference can accept temporary values created by expressions. It can use the move constructor as opposed to the copy constructor for better performance, allowing internal resources such as buffers to be transferred, without being reallocated and copied. The move may copy buffer pointers, rather than full buffers.
Pointers (and const pointers) can be used in place of lvalue-references (and const lvalue-references) if support is needed for nullptr. For cases where nullptr is not expected nor desired, prefer the corresponding lvalue-reference instead.
The by value approach is suitable for any other type of input. It may be used in the above cases as well, though with lower efficiency due to needless copying. In particular, since it makes a copy, it doesn't concern itself with the lifetime of the original, and doesn't affect the lifetime of the original. It can accept temporary expressions. It may cause performance issues if large objects are copied frequently.

I'll plan to tackle this next.


Projected model enumeration

Hello,
We are using libclasp and libgringo libraries in D-FLAT. As I understand , clingo5 allows the use of #project directly in the ASP encoding but it is still necessary to pass --project as a command line argument. However, we call gringo and clasp not from the command line but directly in the code. Is there a way of setting this option for projected model enumeration in the code?
Thank you,
Marius

It can be set from Python:
import clingo
ctl = clingo.Control()
ctl.configuration.solve.project = "project,3"

Thank you! As we don't use Python in D-FLAT: can it be set also with c++?

The same functionality is available in the C++ interface. If you are using libgringo and libclasp directly (which you should avoid and better use the public API we provide) it is also possible. Just have a look at how functions to set the configuration are implemented. This should be possible by using clasp's facade if I remember correctly.


changing to QIIME2017.12

Codecov Report

Merging #2493 into release-candidate will not change coverage.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           release-candidate    #2493   +/-   ##
==================================================
  Coverage              94.64%   94.64%
==================================================
  Files                    160      160
  Lines                  19459    19459
==================================================
  Hits                   18416    18416
  Misses                  1043     1043

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 d8f776b...75e4d18. Read the comment docs.


Fix .nvimrc symlink on bootstrap

+1 yikes I made a bad merge
On Sat, Sep 5, 2015 at 4:28 PM Alexandre González<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/spf13/spf13-vim/pull/822
Commit Summary

Fix .nvimrc symlink on bootstrap

File Changes

M bootstrap.sh
https://github.com/spf13/spf13-vim/pull/822/files#diff-0 (2)

Patch Links:

https://github.com/spf13/spf13-vim/pull/822.patch
https://github.com/spf13/spf13-vim/pull/822.diff

—
Reply to this email directly or view it on GitHub
https://github.com/spf13/spf13-vim/pull/822.

I thought that was on purpose, since it should read nvimrc from there shouldn't it?

regular vim doesn't need ~/.vimrc since 7.4, it will happily read ~/.vim/vimrc or so the docs say.

Ack that's right. Can't keep my head straight.
On Sat, Sep 5, 2015 at 4:45 PM Johnny Robeson<EMAIL_ADDRESS>wrote:

regular vim doesn't need ~/.vimrc since 7.4, it will happily read
~/.vim/vimrc or so the docs say.
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/spf13-vim/pull/822#issuecomment-137993707.

The "old" style (~/vimrc) is being used for vim: https://github.com/agonzalezro/spf13-vim/blob/patch-1/bootstrap.sh#L124
Sadly, I've clear my history already, but that line was failing. Checking the code is weird because ~/.vim is a folder linked to ~/.nvim and the ~/.nvim/.nvimrc should be allowed, but as I said, the link was failing.

and now this PR is obsolete for neovim due to the usage of XDG

I didn't even remember that this was open. Feel free to close it. Thanks.


Import IANA IDN tables

https://www.iana.org/domains/idn-tables

This server responds to HEAD requests and includes If-Modified-Since, so an autopull task can efficiently check for IDN table updates.


Tests for tpwdcee 5457

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Entity/Payload/IdealPayloadData.php  1
- src/Entity/Payload/NvpPayloadData.php  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Entity/Payload/IdealPayloadData.php  1
- src/Entity/Payload/NvpPayloadData.php  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Entity/Payload/IdealPayloadData.php  1
- src/Entity/Payload/NvpPayloadData.php  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Entity/Payload/IdealPayloadData.php  1
- src/Entity/Payload/NvpPayloadData.php  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Entity/Payload/NvpPayloadData.php  1
- src/Entity/Payload/IdealPayloadData.php  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Entity/Payload/IdealPayloadData.php  1
- src/Entity/Payload/NvpPayloadData.php  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Entity/Payload/NvpPayloadData.php  1
- src/Entity/Payload/IdealPayloadData.php  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Entity/Payload/IdealPayloadData.php  1
- src/Entity/Payload/NvpPayloadData.php  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Entity/Payload/NvpPayloadData.php  1
- src/Entity/Payload/IdealPayloadData.php  1

See the complete overview on Codacy


bug: Keyboard Overlaps Input on iOS/Makes div disappear

Type: bug
Platform: ios 8 webview
Hello:
I know Ionic is a bit fraught with keyboard challenges across platforms. Most of the issues I've read about related to Android, but I'm having an issue with iOS. When I tap into the input field, instead of scrolling up to show it, the keyboard overlaps the input entirely.

As you can see, it also make the div above disappear until I tap it.
Any guidance would be much appreciated.

Greetings @nicholasalanbrown!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Need a codepen, plunkr, jsbin to test against.

Greetings @nicholasalanbrown!
My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.

Greetings @nicholasalanbrown!
My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.


Int cannot represent non 32-bit signed integer value:<PHONE_NUMBER>

Describe the bug
When going to Open collective Homepage and sorting the "ALL COLLECTIVE" to newest an error occurs
To Reproduce
Steps to reproduce the behavior:

Go to 'https://opencollective.com/discover'
sort from most popular to newest

Expected behavior
All the available projects should be sorted to the newest
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [Windows 10]
Browser [Firefox]
Version [94.0.2 (64-bit)]

Additional context
Alternatively, you can also go to this URL- HERE

Triage Template (core team only)
This template is for members of the team to triage for prioritization. For more guidance see https://www.loom.com/share/369ab467fbc64dec848085d38ff57ca0:
P1 high frequency, high impact
P2 low frequency, high impact
P3 high frequency, low impact
P4 low frequency, low impact
Examples of high impact - a problem affects users during an essential process (expenses and payments > onboarding and registration > contributing) with no workaround.
High frequency - >10% of users affected (measured as a proportion of total potential users for this case).

@Lucifer1590 : Thanks much for reporting this issue. We are aware of this problem and tracking this issue at, https://github.com/opencollective/opencollective/issues/4944.


feat(applications): application page performance improvements EE-4956

cached namespaces
add namespace dropdown in application screen
sync settings between stacks and applications datatable

/azp run

/azp run


Specialization for IO?

Are you open to contributions for API specialized for IO? I want to make this as simple as possible to adopt for those using IO and suffering for EitherT

That is a good idea. The docs (README) would also be more concise 🎉

What does your idea for a simpler API entail? Something like import catcheffect.io.* maybe?

I've put in a very barebone PR in #7.
Some other unrelated ideas from my own prototyping:
Instead of Raise I named it Abort, and instead of a Raise#raise method, I have Abort#apply, which allows the following API:
def doSomething()(implicit abort: Abort[DomainError]): IO[String] = {
  for {
    _ <- ...
    _ <-  abort(DomainError.Err1(..))
  } yield ...
}

Which I think is quite nice. I think raise(DomainError.Err1(..)) will work well too but abort definitely catches my attention more :smile:

It looks nice to not have to wire a Catch instance through the whole application :+1:
The naming and structure of the current algebra stems from cats-mtl.
Have you also handled naming for the IO-specialized instance of Handle in your prototype?
I don't think I have seen apply on an algebra before, I think Abort[F]("error") looks a bit funny, but maybe I have been trained to always expect a method after typeclass summoning :smiley:.
The only case of a specialized (and IO in fact) MTL typeclass is IOLocal, they also have other naming scheme for IO specialized datatypes here (a bit funny that one starts with IO[Local] and others end with [Outcome]IO).
Maybe we could add something akin to MTL extension methods?
// not entirely sure this works nice with type inference
extension [A](a: A)
  def abort[F[_], E >: A, C](using raise: Raise[IO, E]): IO[C] = raise.raise(a: E)

def doSomething()(implicit raise: Raise[IO, DomainError]): IO[String] = {
  for {
    _ <- ...
    _ <-  DomainError.Err1(..).abort
  } yield ...
}

This needs more work since there are 3 type parameters which I get the feeling will cause inference problems. This is how cats-mtl does it.

No I didn't have a equivalent for Handle. Was just a clean room minimal prototype and I needed an alternative name for Raise :smile:
As for the extension methods, I think for readability I prefer "operation first", so R.raise(..) is fine to me.

I think the current implementation looks good 👍.


Erroneous error when breaking out of a loop with a value

This loop expression will always produce a value:
fn stuff() -> Result<(), ()> {
    loop {
        break Err(());
    }
}

fn main() {
    println!("{:?}", stuff());
}

Rustc and Clippy are happy with this, but Analyzer produces an error:
wrap return expression in Ok

Duplicate of #4492.

Duplicate of #4492.


Particle filter example

Small example of a particle filter using the new API. Since Metal.jl doesn't really support rand() / Distributions, it's hard to make this more complex.
Discussed here https://github.com/TuringLang/SSMProblems.jl/issues/43

Haven't done a proper benchmark but it seems like its helping a bit, but not much.


Add pushdown for parquet timestamp predicate

Updated, thanks

Merged, thanks!

Does this cover int64 logically typed as TIMESTAMP_MICROS OR TIMESTAMP_MILLIS (also timestamp nanos I believe in newer versions of Parquet)? I wasn't familiar with ParquetTimestampUtils which is used here but it seems to reference int96 timestamps which is deprecated for Parquet. Also this is using BinaryStatistics then (probably what you get for int96 encoded timestamps? not familiar).
For reference there was an older PR #1999 that was adding pushdown for timestamps on int64 via LongStatistics

Hey Ryan, thanks for pointing that out. I think you're right, this only works for the legacy int96 timestamps. I didn't realize it was deprecated.
Do you know if Presto's Parquet read/writer supports the new format or should we add an issue to add that in? There's probably some more changed needed to work in the parametric timestamp types that Dain has been working on too.

@alexjo2144 I'm not sure what the writer actually writes out currently (my write path isn't through Presto currently). For the read path I'm pretty sure it can read int64 TIMESTAMP_MILLIS but I'm not sure about int64 logically typed as TIMESTAMP_MICROS. I thought of this because there was a post in Slack asking if TIMESTAMP_MICROS is supported on the read path here
Here's the documentation about timestamp handling in Parquet. One of the newer features is support for nanos precision stored in an int64 (with nano precision in int96 being deprecated, see here)

Gotcha. Looks like the default presto parquet writer uses int96, but there's a new writer, added the same day as these changes, that supports int64 at millisecond precision https://github.com/prestosql/presto/pull/3400 That should help for testing.
I can work on putting up an updated version of https://github.com/prestosql/presto/pull/1999 to tie that in.

This improvement really helped with one of our queries, but I want to understand a bit more of what's actually happening with Presto and taking advantage of the parquet metadata...
What does the getDomain function in the TupleDomainParquetPredicate.java file do? How does leveraging timestamp metadata help when data is randomly stored on disk?

So, Parquet files are separated out into RowGroups. Each RowGroup gets an entry in the file footer with statistics information. This section of the code reads that footer and determines which sections of the file can be skipped by comparing the footer statistics with any filters from the query. getDomain returns that statistics information as a Domain that the engine can use for this comparison. Skipping whole groups means being able to reduce IO, and also do less filtering after the data is loaded into the engine.


How can I make two camera sync ?ZR300

Required Info

Camera Model
R200 / F200 / SR300 / ZR300 / D400

Firmware Version

Operating System & Version

Kernel Version (Linux Only)

I have two ZR300 ,and I want both of them be synced ,  How to do that ?
There is a usb3.0 on the right hand of the camera. Is that port I should use to synced two cameras?
Are there some soure file related to this  problem ?
Thanks

Hello csuwp,
There is no way to externally sync two ZR300 cameras through hardware. The sync capabilities within the camera sync the fisheye sensor, with the IMU, depth, and RGB sensors. See this page under ZR300 Asynchronous APIs for more information: https://software.intel.com/sites/products/realsense/camera/developer_guide.html.
This sample demonstrates how to use the fisheye_strobe signal: https://github.com/IntelRealSense/librealsense/blob/legacy/examples/cpp-motion-module.cpp.
Best regards,
Jesus G.
Intel Customer Support


[FEA][SPARK-41226] Refactor Spark types by introducing physical types

Is your feature request related to a problem? Please describe.
Spark 3.4 introduces physical types to refactor its type system for physical plan.
I guess this change won't block the plugin, but it is better to take a look on it.
Related ticket: https://issues.apache.org/jira/browse/SPARK-41226
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
We could not do this.
Additional context
Add any other context, code examples, or references to existing implementations about the feature request here.

As long as the physical type is not exposed in an operator we are replacing, we do not need to take action on this.  However it would be a good optimization for the long term.


Update Composer dependencies (2021-09-04-00-03)

Visual regression test passed!
View the visual regression test report


spelling and grammar correction

The bazels generated are not grammatically correct, we should correct this by asking the LLM or adding it to the prompt.

Fixed with refactor to Gemini


Update buildFeatureSets method in Golang SDK to ensure order of FeatureSet in the request follows that from the argument

Current implementation of buildFeatureSets method do not ensure such order. However, the unit test expects the order to be respected. This results in failed Golang unit test occasionally.
This pull request update the implementation by not depending on order of iteration of a map object when creating the FeatureSetRequest slice. Map iteration in Golang has random order and therefore cannot be used to ensure ordered output.
Related to https://github.com/gojek/feast/issues/330

/lgtm

/lgtm


implement get_sys_path() and dev node iterator for virtual devices

This addresses issue #70 by:

Implementing the ui_get_sysname ioctl.
Using the aforementioned ioctl to implement VirtualDevice::get_syspath() function, which returns the syspath of the form /sys/devices/virtual/input/inputX for the virtual device.
Adding both a synchronous and asynchronous version of VirtualDevice::enumerate_dev_nodes() depending on the tokio feature flag that essentially yields an iterator over the devices nodes of the form /dev/input/eventX that correspond to the virtual device.

@jeff-hiner This is ready for review.


add box-sizing: border-box to text editor to ensure correct styling

Just a small fix we discussed earlier! Noticed not having this property was breaking the cursor alignment in react-live. Most people will have box-sizing: border-box on by default but for those who don't at least things won't break now. :)

Thank you :)


Convert E-Mail to PDF

Hey,
First of all i want to thank you for the amzing job you do! I really like papermerge as my DMS.
In my opinion there ist a few little thinks, which will make a good programm even better ;)
The most thinks i would like to see, are already suggested (OCR Layer on the PDF for export, Automates for Metadata, re-trigger automations, Automates for rename files.
But there is these one "Big Thing" I was struggling by so many programms. And also papermerge hasn't the perfect solutions for me yet.
Is your feature request related to a problem? Please describe.
I get many invoices via email. Most of them have a pdf attachment with all informations. So here papermerge works like a charm, other then many other programms how haven't any kind of email handler. But theres also companys, which provides alle the information just in the email body (e. .g eBay). And the the struggle beginns.  At the moment point i need to manualy convert the email to an pdf an then upload the file to the inbox.
Describe the solution you'd like
In my dream papermerge will combine the email body and all attachments to one big pdf file.
Describe alternatives you've considered
I spend the whole day for searching an out of the box solutions with docker. Well i wasn't successfully. So i will use the import from papermerge for 90% of my mails and import the other 10% manual.
Again thank your very very much for your great work. I am excited for papermerge 2.0
Regards,
w4tzmann

@w4tzmann, the thing is, starting with Papermerge 2.0 has a feature called import pipelines which enables development of 3rd party apps/plugins which allow extra magic on imported documents (via web, email or from shared document).
One of the ideas for import pipelines would be obviously what you have mentioned - converting email to PDF.
This is something which I experimented with and looks like a good thing to have.

Wow, that sounds really great! I'm really excited about the version 2.0


Move esp-idf bootloader and partition table to known location after build

Currently, they are tucked away in the build folder of esp-idf-sys, in which a unique fingerprint is appended to the folder name. E.g
target/xtensa-esp32-espidf/debug/build/esp-idf-sys-1d1212f75c9bfd7a/out/build/bootloader/bootloader.bin
Because of the fingerprint, it's not possible for tooling (like espflash) to grab the bootloader and partition table automatically. If we moved it to a known location in the target directory we could allow tooling to automatically pick up bootload and partition table changes.
I think moving them to the $TARGET/$PROFILE/ makes sense. E.g target/xtensa-esp32-espidf/debug/build/esp-idf-sys-1d1212f75c9bfd7a/out/build/bootloader/bootloader.bin would get copied to target/xtensa-esp32-espidf/debug/bootloader.bin.

You can actually build the crate with cargo build --message-format json and extract these messages with the cargo_metadata crate (using cargo_metadata::MessageIter). One such message is BuildScript which contains the path to the our-dir of that build script.
I actually use that approach in my (very long) WIP cargo-idf tool here.  You can get almost all information with that and cargo metadata.

That's a good point! Definitely useful for the cases where the tool is invoking the cargo build process. In the case of espflash (note, not cargo-espflash, the wrapper) it is typically used as a cargo runner, and has no sway over cargo's build process.
Hypothetical usage I am picturing.
[target.xtensa-esp32s2-espidf]
runner = "espflash --bootloader target/bootloader.bin --monitor"

I suppose it be possible to write a build script that could find the esp-idf-sys directory inside target/ and move it to where ever?


SignalR Client - Help needed

Hallo,
i have a SignalR Client on .net Core which sends and receives events to / from streams.
I've just started in using Reactive and I'd like to use it to send Events from an Observable and
to write Received-Events to an other Observable.
Currently i have the following Client Code which i'd like to modify in the described way.
Any help is much appreciated.
        {
            ....
            await this.hubConnection.StartAsync(cancellationTokenSource.Token);

            // Sending events to the server
            _ = Task.Run(async () =>
              {
                  await hubConnection.SendAsync("SetCount", ClientStreamData(), cancellationTokenSource.Token);

              }, cancellationTokenSource.Token);

            // Reading events from the server
            _ = Task.Run(async () =>
              {
                  var channel = await hubConnection.StreamAsChannelAsync<int>("ReadCounter", cancellationTokenSource.Token);

                  while (await channel.WaitToReadAsync(cancellationTokenSource.Token))
                  {
                      while (channel.TryRead(out var count))
                      {
                          Console.WriteLine($"{count}");
                      }
                  }

              }, cancellationTokenSource.Token);
        }

        private async IAsyncEnumerable<int> ClientStreamData()
        {
            for (var i = 0; i < 2000; i++)
            {
                await Task.Delay(1000);

                yield return i;
            }
        }

For the part to receive events, you can use Observable.Create<T>.
(Sample code below isn't tested; it merely sketches the idea of using the Create<T> methods.
IObservable<int> countObservable = Observable.Create<int>(async (observer, ct) =>
              {
                  var channel = await hubConnection.StreamAsChannelAsync<int>("ReadCounter", ct);

                  while (!ct.IsCancellationRequested && await channel.WaitToReadAsync(ct))
                  {
                      while (channel.TryRead(out var count))
                      {
                          observer.OnNext(count);
                      }
                  }
              });

To send events, you'd build an observer using Observer.Create<T>:
IObserver<int> countObserver = Observer.Create<int>(
  count =>
  {
    hubConnection.SendAsync("SetCount", count).Wait();
  }
);

Note that the observer is blocking; the pending "Async Rx .NET" work brings IAsyncObserver<T> which would make this non-blocking. With classic Rx, observers do not support async (though you could use an async void implementation of OnNext, which won't guarantee ordering).

Thanks alot for your help and the details!


Bull trout observation rows in habitat sheet step 2 are duplicated with burbot rows

I thought I had addressed this a while ago. There's a mix up with the species codes. I know how to fix. Will update and close.

if there is a way to fix things once and for all using fishbc::freshwaterfish vs the mucked up page from the submission template that woudl be preferred.  you can view the tibble with
checkmeout <– fishbc::freshwaterfish
If there are ever issues with that tibble we can make PRs to the repo. There actually used to be an error with burbot but I made a PR that fixed it years ago

I'm not sure I understand why this error is happening in the first place. When doing the fish summaries we extract the species codes from the "Species Template Order" sheet from the template and cross ref with the fish we caught. When I look at the species code for burbot in that sheet it is correct (BB). So why is it turning it back to BT?

I just committed to a new branch, here's what I did for a quick fix: https://github.com/Mateo9569/fish_passage_elk_2022_reporting/blob/a0320661f8cde3fcc209c8a5bc704efed7bb08af/scripts/01_prep_data/0100-extract-inputs.R#L888-L893. I see that before you were calling species_by_group instead of species_by_common_name. But the species_by_group sheet doesn't exist in the template. I looked back in the skeena 2021 repo and that sheet does exist. Did they update the templates this year?

they updated the template without changing the name of the file!  classic.
If we wanted we could also do:
hab_fish_codes <- fishbc::freshwaterfish %>%
      select({just the columns we need})

and leave that sheet in the rearview

Cool, thanks. glad I caught this now. That code was also in skeena and bulkley but I just ignored it because we never caught any bull trout. Good to know. I'll get a draft of the map done first and then I'll add that code in and close this.

fyi - there is a new version of the submssion template out as of Jan 15, 2023 and they fixed that error. Let's move to fishbc anyway though since it is wonderfully stable and properly version controlled.

this can probably be left in this repo but fixed in skeena since that repo has many more features and will likely be moved ahead. better off would be functions in fpr since it doesn't really matter in skeena either as there are no BB captured. For reference - whjen it is fixed...
hab_fish_codes <- habitat_confirmations %>%
  purrr::pluck("species_by_common_name") %>% ##changed from specie_by_common_name because BB burbot was wrong!!
  select(-step)

is in there twice.  we need to be sure to do a search of hab_fish_codes to be sure it is called only once AND that the names of the columns used to facilitate the joins are called by their correct names as they are likley different that the excel spreadsheet


Latest master.dockerproject.org client / server win builds have incompatible protocol versions

Latest https://master.dockerproject.org/windows/amd64/docker.exe (2016-07-28T09:11:56.000Z) api protocol version (1.25) is not compatible to latest https://master.dockerproject.org/windows/amd64/dockerd.exe
(2016-07-28T09:11:59.000Z) api protocol version (1.24). Someone did not bump server protocol version in master or its incompatibly prev for real?
Output of docker version:
Client:
 Version:      1.12.0-dev
 API version:  1.25
 Go version:   go1.6.3
 Git commit:   193b036
 Built:        Thu Jul 28 09:05:05 2016
 OS/Arch:      windows/amd64

Output of dockerd -v:
Docker version 1.12.0-dev, build 193b036

Ping @tiborvass @mlaventure any idea how that would be possible? it's built from the same source

Sorry. It seems like its my fault. - another instances in the search path.

Related to https://github.com/StefanScherer/docker-windows-box

phew, thanks!


feat: remove planetscale cli option

Is your feature request related to a problem? Please describe.
Since planetscale has axed their free tier (https://planetscale.com/blog/planetscale-forever), I think it's reasonable to remove the option from the list when starting a project using create-t3-app. I think it's safe to say that most people using create-t3-app are hobbyists and are not interested in paying ~$40 per month for their database.
I suggest that planetscale is immediately removed as an option so as not to trick anyone in to getting stuck with planetscale.
If the maintainers of this package still think it's a viable option to keep, I would suggest to explicitly mark the option as (not free) or similar. But I think it should be removed from the list completely.
What say ye?
I have a PR ready to go that is literally just 1 line of code removed to eliminate the cli option. I looked through the code base and I don't feel qualified to remove all the code associated with planetscale. Even so, I would love to get that PR in and ax them off the list, if you'd let me. A quick and dirty way to not lure anyone into using their services.
Yay/nay?
Thanks! :)
Describe the solution you'd like to see
remove the cli option to pick planetscale
Describe alternate solutions
add (not free) next to the option. Or similar information.
Additional information
No response

I like having the option for Planetscale when starting a create-t3-app project, maybe just adding (paid option) would be useful.


Is It Possible to change on TextBox Focus Bottom Border Blue color?

NuGet package version:
[Microsoft.UI.Xaml 2.6.2]

Yeah, its the accent color, so the user could change their accent color, or you could override the accent color brushes in your app to point at a different color than the system provided one, or you could change the text box template to point the stroke fill at a different resource.

hi, @StephenLPeters thanks for reply I have tried with set "SystemAccentColor" key .but doesn't reflect with winui2 .when tryed with normal Uwp Project without [Microsoft.UI.Xaml 2.6.2] package it change TextBox BorderColor.
code:-
 <ResourceDictionary.ThemeDictionaries>                 <ResourceDictionary x:Key="Default">                     <Color x:Key="SystemAccentColor">OrangeRed</Color>                 </ResourceDictionary>                 <ResourceDictionary x:Key="Dark">                     <Color x:Key="SystemAccentColor">DeepPink</Color>                 </ResourceDictionary>                 <ResourceDictionary x:Key="Light">                     <Color x:Key="SystemAccentColor">OrangeRed</Color>                 </ResourceDictionary>             </ResourceDictionary.ThemeDictionaries>

You'll need to override the https://github.com/microsoft/microsoft-ui-xaml/blob/1f2d163b4e9639fff0e86216387baf2f2c0f2cb7/dev/CommonStyles/TextBox_themeresources.xaml#L38 resource to change that color


Incorrect is_first_launch value passed to React Native

Report
Incorrect value for is_first_launch passed from the iOS SDK to the React Native SDK. For example, a value of 1 or true is received by the iOS SDK in the logs, yet the React Native SDK reports false.
"is_first_launch" = 1; in Xcode (iOS)
"is_first_launch" = false; in React Native JS
Plugin Version
6.8.2
On what Platform are you having the issue?
iOS
What did you do?
Installed the SDK and built the app using QR code deep link.
What did you expect to happen?
Correct value for is_first_launch
What happened instead?
Incorrect value for is_first_launch is observed with the RN SDK.

@amit-kremer93 any update?

@hsandhu i couldn't reproduce this issue. I suggest that you'll open a ticket to our support team so we can further investigate your problem.


When the semi-transparent tabs flag is on along with the supermium custom tab ui flag, the opacity of the transparent tabs get stacked in the places where they overlap.

Describe the bug
When the Semi-Transparent Tabs flag is on along with the Supermium Custom Tab UI flag, the opacity of the transparent tabs get stacked in the places where they overlap.
To Reproduce
1: Go to chrome://flags
2: Enable #transparent-tabs and #custom-tab-shapes
3: Open more than two tabs
Expected behavior
The tabs' overlapped space should look as it does in the top section of my provided screenshot.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 (Aero10 custom theme + DWMBlurGlass)
64 bit

I'll see if I can prevent drawing of overlapped tabs (so inactive tabs on the right of another inactive tab only start drawing at the end of the overlap), but it may be difficult.


Empty issue body leaves too much spacing in card.

Closed as of https://github.com/tpb1908/AndroidProjectsClient/commit/8fa97a50c611d5cd52f3f4bf51ae4c2f9c5c6750


Upgradlew to 8.1 RC2

https://github.com/gradle/gradle/releases/tag/v8.1.0-RC2

@bot-gradle test and merge

I've triggered a build for you.


v1.1.3 unable to pair

Unable to pair v1.1.3 with any Apple TV. v1.1.1 works fine.

Same issue here, keeps scanning while prompting for the 4 digit code that never appears on the appleTV.

I was able to install and pair with an older release https://github.com/bsharper/atv-desktop-remote/releases/tag/v1.0.0-beta

Same issue with 1.1.3. Looks like the 1.1.1 build works fine. Great app!

Yeah, I'm on v1.1.1 and I'm fine, too. Just that v1.1.3 gets fixed eventually. bsharper should mark that release as pre-release.

Also having issues pairing with v1.1.3-arm46.  v1.1.1 works just fine.

Confirming that v1.1.1-arm64 pairing works with AppleTV 4k.  Couldn't pair it with v1.1.3.

Thanks for the feedback everyone. I've reverted 1.1.3 to a pre-release so 1.1.1 is the latest version, which should prevent people from seeing this bug right away. I'm looking into what caused the bug.

Okay

I had the same problem as others have described here. Installing 1.1.1 allowed me to pair; I then installed 1.1.3 over the top and it works as expected. Just adding FYI.


Latest update broke YouTube

After iOS 18 update, I saw a pending update to Hush. After installing, YouTube videos stopped playing. Clicking play did nothing. Disabling Hush corrected this. Not sure if an issue with Hush specifically or if it’s a conflict due to another installed content blocker (Stop the Madness Pro), but nothing would play until Hush was disabled.

Hi, on my iPhone 16 Pro on iOS 18 with just Hush installed it plays just fine. Could you try disabling the other extension?

Weird, disabling all extensions except Hush made things work, re-enabling all other extensions did not stop it from working. Guess whatever was happening on my end was a momentary glitch?


split line highlight border and cell region lines #99425

Would it be possible to re-open the issue microsoft/vscode#99425: It would be a great added-value to be able to better distinguish the cells in the python files. But currently the color used to delimit the cell is editor.lineHighlightBorder which highlights the line where the cursor is located in ...

Please check the original issue https://github.com/microsoft/vscode/issues/99425


using https on localhost

Resource error: Error code: 6 ErrorString: SSL handshake failed url: https://localhost:3000/ id: 1
Resource Recived: https://localhost:3000/
[warning] [phantom] Loading resource failed with status=fail: https://localhost:3000/
[debug] [phantom] Successfully injected Casper client-side utilities
Error:    SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent.
file:     phantomjs://webpage.evaluate()
line:     2
function:

Can we run localhost using https on phantomJS. ?

Is by any chance your webpage trying to load images on canvas? Did you check the page source for possible errors? One reason for this kind of error is attempting to load images/content from a location which is outside of the domain of your file.

#solved
--acceptSslCerts=true --web-security=no --ignore-ssl-errors=yes --ssl-protocol=any
```


Added more explanation on less code in Pair programming

Added explanation on coding less but coding right with pair programming

[ x] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Where did you find those statistics?

Thank you for your contribution.  At this time we have decided not to merge your pull request.  We welcome future pull requests from you.
Reason: Please provide a source
Happy Coding!


TCN Forecaster: The provided path to the data in the Datastore does not exist.

Package Name: azureml-automl, python SDK v1
Package Version:  1.49.0
Operating System: Linux 24.01.30
Python Version: 3.8.10

Describe the bug
Whenever I try to train a model use a dnn model, namely the TCNForecater, the job will fail with the following error message:

The provided path to the data in the Datastore does not exist. Error:
Error Code: ScriptExecution.StreamAccess.NotFound
Native Error: Dataflow visit error: ExecutionError(StreamError(NotFound))
VisitError(ExecutionError(StreamError(NotFound)))
=> Failed with execution error: error in streaming from input data sources
ExecutionError(StreamError(NotFound))
Error Message: The requested stream was not found. Please make sure the request uri is correct.| session_id=xxx Marking the experiment as failed because initial child jobs have failed due to user error

The dataset is indeed valid and I can load it into a notebook.
To Reproduce
Steps to reproduce the behavior:

Create an AutoMLConfig object with these parameters:

enable_stack_ensemble=True
allowed_models=["TCNForecaster"]

submit auto ml job

Expected behavior
The automl job should train a valid model
Screenshots

Additional context
The logs do not seem to provide any additional information. If I disable those 2 parameters and do not change anything else, including the dataset used for training, then the automl job will proceed as expected.
Please let me know if you would need additional info to troubleshoot.
Kind regards,
Ervin

Hi @ErvinPuratos, Thanks to open this issue.
As connected with AutoML team, Version is pretty old and recommending to update later version. Could you please keep posted us if it is working or not.

Hi,
thank you for your answer.
The problem is if I use any other version of the SDKv1 I will get this error:
Message: rslex failed
Payload: {"pid": 55039, "rslex_version": "2.22.2", "version": "5.1.6"}
2024-06-06 10:52:37.698241 | ActivityCompleted: Activity=to_pandas_dataframe, HowEnded=Failure, Duration=60.79 [ms], Info = {'activity_id': '1ff5decd-e91d-4982-88d5-665065770255', 'activity_name': 'to_pandas_dataframe', 'activity_type': 'PublicApi', 'app_name': 'TabularDataset', 'source': 'azureml.dataset', 'version': '1.56.0', 'dataprepVersion': '5.1.6', 'sparkVersion': '', 'subscription': '', 'run_id': '', 'resource_group': '', 'workspace_name': '', 'experiment_id': '', 'location': '', 'completionStatus': 'Success', 'durationMs': 136.29}, Exception=UserErrorException; UserErrorException:
Message: Execution failed in operation 'to_pandas_dataframe' for Dataset(id='0c6669da-671b-49be-a6cd-bcb91893ad6d', name='fcst_pred_Hybr_1101_Pat-', version=8, error_code=ScriptExecution.StreamAccess.NotFound,error_message=The requested stream was not found. Please make sure the request uri is correct.| session_id=l_f4e71928-4d04-4b5f-a990-88217ddaad3b) ErrorCode: ScriptExecution.StreamAccess.NotFound
InnerException
Error Code: ScriptExecution.StreamAccess.NotFound
Native Error: Dataflow visit error: ExecutionError(StreamError(NotFound))
VisitError(ExecutionError(StreamError(NotFound)))
=> Failed with execution error: error in streaming from input data sources
ExecutionError(StreamError(NotFound))
Error Message: The requested stream was not found. Please make sure the request uri is correct.| session_id=l_f4e71928-4d04-4b5f-a990-88217ddaad3b
ErrorResponse
{
"error": {
"code": "UserError",
"message": "Execution failed in operation 'to_pandas_dataframe' for Dataset(id='xxx', name='yyy', version=8, error_code=ScriptExecution.StreamAccess.NotFound,error_message=The requested stream was not found. Please make sure the request uri is correct.| session_id=l_f4e71928-4d04-4b5f-a990-88217ddaad3b) ErrorCode: ScriptExecution.StreamAccess.NotFound"
}
}
{'infer_column_types': 'False', 'activity': 'to_pandas_dataframe'}
{'infer_column_types': 'False', 'activity': 'to_pandas_dataframe', 'activityApp': 'TabularDataset'}
version used:
azureml-core                 1.56.0
azureml-dataprep             5.1.6
I can load the Dataset:
Dataset.get_by_name(ws, name="xxx")
but the error above happens when I try to use the to_pandas_dataframe() method on the Dataset

The AutoMLConfig object used these parameters:
enable_stack_ensemble=True
allowed_models=["TCNForecaster"]
But TCN cannot be included in ensembles. So, the enable_stack_ensemble should be False. AutoML supports Voting (and Stack) ensemble for non DNN models.
We have added this in our documentation as well. Please look at "Note" section.


probably gotta be logged in for the background tab thing to work

yeah, no real solution other than warning people about it


Wrong log level when user found in cache

At https://github.com/AscendingCreations/AxumSessionAuth/blob/main/src/service.rs#L94C1-L94C74 a warn logging is used to log that a user is found in the cache, but I assume that finding a user in a cache is expected behavior? It seems better to change this to a debug log.
Or is there a specific reason why this is a warn log? It floods my server logs...

Yes, it should be set as Debug.

Thanks for merging. Would it be possible to make a new release?

I can make a small revision release for this tomorrow.

Released on crates.


Hot reload update view

Hot reload is not updating the views! A Toast with hot load is shown but views are not updated, on force refresh, the simulator views are updating!

I'm having the same issue on macOS.
My tsconfig.json:
{
  "compilerOptions": {
    "baseUrl": ".",
    "rootDir": "./src",
    "strict": true,
    "target": "es6",
    "module": "es6",
    "moduleResolution": "node",
    "noEmit": true,
    "jsx": "react",
    "lib": [ "dom", "es6", "es2015", "es2016" ]
  },
  "include": [ "src/**/*.ts", "src/**/*.tsx" ]
}

Since tsc doesn't emit any output, I have to restart the packager on every file change, it's quite annoying.

I'm going to close this issue due to inactivity. If you're still having trouble with hot reloading, please feel free to open another issue and link to this one :pray:

yup still happening

Any chance you could reproduce this issue in a public repo?

yea lemme do it :)

Thr you go
https://github.com/jas99/rn_ts_hmr_issue_34

Dope thanks! I'll look at this later tonight.

@ds300
Although also tried https://www.npmjs.com/package/react-native-template-typescript.
Lemme attach my envs
envinfo                                                                                 10.38   ✔   22:27    05.06.18

  System:
    OS: macOS High Sierra 10.13.4
    CPU: x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
    Memory: 4.90 GB / 16.00 GB
    Shell: 5.5.1 - /usr/local/bin/zsh
  Binaries:
    Node: 10.3.0 - /usr/local/bin/node
    npm: 6.1.0 - /usr/local/bin/npm
    Watchman: 4.7.0 - /usr/local/bin/watchman
  Utilities:
    CMake: 3.11.3 - /usr/local/bin/cmake
    Make: 3.81 - /usr/bin/make
    GCC: 4.2.1 - /usr/bin/gcc
    Git: 2.17.1 - /usr/local/bin/git
  Servers:
    Apache: 2.4.29 - /usr/sbin/apachectl
  Virtualization:
    Docker: 18.05.0 - /usr/local/bin/docker
    VirtualBox: 5.2.10 - /usr/local/bin/vboxmanage
  SDKs:
    iOS SDK:
      Platforms: iOS 11.3, macOS 10.13, tvOS 11.3, watchOS 4.3
    Android SDK:
      Build Tools: 23.0.1, 26.0.2, 27.0.3
      API Levels: 23, 26, 27
  IDEs:
    Android Studio: 3.0 AI-171.4443003
    Emacs: 22.1.1 - /usr/bin/emacs
    Nano: 2.0.6 - /usr/bin/nano
    Vim: 8.0 - /usr/bin/vim
    VSCode: 1.23.1 - /usr/local/bin/code
    Xcode: 9.3/9E145 - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Go: 1.10.2 - /usr/local/bin/go
    Java: 1.8.0 - /usr/bin/javac
    Perl: 5.18.2 - /usr/bin/perl
    PHP: 7.1.14 - /usr/bin/php
    Python: 2.7.15 - /usr/local/bin/python
    Ruby: 2.5.1 - /usr/local/bin/ruby
    Rust: 1.9.0 - /Users/jas/.cargo/bin/rustup
  Databases:
    SQLite: 3.19.3 - /usr/bin/sqlite3
  Browsers:
    Chrome: 66.0.3359.181
    Firefox: 59.0.2
    Safari: 11.1

Basically once I change code, on my device it gives me toast msg of hmr update and then disappears without making any updates.
Lemme know if you need more info.

Just double checking: hot reloading works ok if you use the standard non-typescript setup?

It definitely does.

This fixed it for me: tsconfig.json
 {
   "compilerOptions": {
     /* Basic Options */
-    "target": "es5",
+    "target": "es2015",
-    "module": "commonjs",
+    "module": "es2015",
     // "lib": [],                             /* Specify library files to be included in the compilation. */
     // "allowJs": true,                       /* Allow javascript files to be compiled. */
 ...

Thx very much for your time, it worked for me as well 😄.
Feel free to close it.

For anybody else stumbling on it; HMR also don't work with "jsx": "react-native", it need to be "jsx": "react"
Thx

@ds300 you sir are a legend amongst us mere mortals! If you haven't guessed... your fix worked for me.
Another suggestion for those who are still seeing crashes with Hot Module Reloading when using React Native in a Typescript environment; make sure to get rid of any circular dependencies.
A great library for helping with this is tslint-no-circular-imports.

@ykensuke that looks like a different issue.
There are two potential fixes. Either import firebase as follows:
import * as firebase from 'react-native-firebase'

Or, perhaps easier, update your tsconfig.json to include the following two properties.
{
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true,
	...
  },
}

It looks like


Fix placement of hint parent element

hints are not visible due to improper placement of parent element

add position fixed and top 0 to parent element of hint

Hi, Thanks for the PR. Sorry, can you provide a recording or something which explains your issue. Because, I haven't faced any issue with the hints.
Probably to center the hints there is an internal div -
https://github.com/shubhexists/react-maps/blob/faf54824af8da6c35d6591654dcbeb8c359c9e74/scripts/v2/updateCountry.py#L164

Sure, here is a video clip depicting the problem with my workaround solution. In the clip you can see the parent element of hint is not visible but after changing its position it working fine
https://github.com/user-attachments/assets/cb6353bc-dc75-4cbe-8afe-172644b9ec16

Hey @Akshay-G-Dev , Apologies for the late response. Can you please provide me the reproducible code sample for this issue.
Sorry this is taking a while but I am kind off hesitant to add unwanted code to the library ( I hope you understand ) .


Issue with wild card query

SELECT * FROM test.users
WHERE stratio_col = '{query : {
type  : "wildcard",
field : "food",
value : "tu*" }}';
Here this query is working fine when  food field has only one value start with 'tu'.If we insert  another food start with 'tu' then we are getting error.
Any suggession ?
Thanks in advance .

I am trying to reproduce the issue with this script:
-- Create keyspace
CREATE KEYSPACE IF NOT EXISTS test
WITH REPLICATION = {
       'class' : 'SimpleStrategy',
       'replication_factor': 1
};

-- Create table
USE test;

CREATE TABLE IF NOT EXISTS test.users (
  name varchar,
  gender varchar,
  animal varchar,
  age int,
  food varchar,
  number int,
  bool boolean,
  stratio_col text,
  PRIMARY KEY ((name, gender), animal, age)
);

-- Create index
CREATE CUSTOM INDEX IF NOT EXISTS users_index
ON  test.users (stratio_col)
USING 'com.stratio.cassandra.index.RowIndex'
WITH OPTIONS = {
      'refresh_seconds':'1',
      'schema':'{
        fields:{
                name:{type:"string"},
                gender:{type:"string"},
                animal:{type:"string"},
                age:{type:"integer"},
                food:{type:"string"},
                bool:{type:"boolean"}}
}'};

INSERT INTO test.users (name, gender, age, animal, food, number, bool) VALUES ( 'pepito_2', 'male', 0, 'monkey', 'turkey', 18, false);

SELECT * FROM test.users
WHERE stratio_col = '{query : {
type : "wildcard",
field : "food",
value : "tu*" }}';

INSERT INTO test.users (name, gender, age, animal, food, number, bool) VALUES ( 'pepito_3', 'male', 1, 'monkey', 'tuna', 19, false);

SELECT * FROM test.users
WHERE stratio_col = '{query : {
type : "wildcard",
field : "food",
value : "tu*" }}';

But all seems OK, the new row is indexed and the second search finds both rows. Can you give me more information about your schema and dataset? Which version of Stratio Cassandra are you using?
It could be that you didn't realize that there is an option called "refresh_seconds" in the index creation statement. You should see the result after that number of seconds. Couldn't it?

ok thanks @adelapena


fix(query-core): add number, symbol as safe key for OmitKeyof for strictness safely

Motivation
TypeScript original Omit's 2nd type parameter's type should be string | number | symbol.

But Error is occured when we use OmitKeyof with 'safely' for object having number | symbol key

Solution
So I update constraint of OmitKeyof's 2nd type parameter when using 'safely' like original Omit's one
  export type OmitKeyof<
    TObject,
    TKey extends TStrictly extends 'safely'
      ?
          | keyof TObject
          | (string & Record<never, never>)
+         | (number & Record<never, never>)
+         | (symbol & Record<never, never>)
      : keyof TObject,
    TStrictly extends 'strictly' | 'safely' = 'strictly',
  > = Omit<TObject, TKey>

Expectation
No error when we use OmitKeyof with 'safely' for object having number | symbol key

Codecov Report

Merging #7164 (ee357f6) into main (93674fe) will decrease coverage by 0.34%.
Report is 50 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@            Coverage Diff             @@
##             main    #7164      +/-   ##
==========================================
- Coverage   41.42%   41.08%   -0.34%
==========================================
  Files         184      183       -1
  Lines        7331     7355      +24
  Branches     1531     1531
==========================================
- Hits         3037     3022      -15
- Misses       3889     3925      +36
- Partials      405      408       +3

Components
Coverage Δ

@tanstack/angular-query-devtools-experimental
∅ <ø> (∅)

@tanstack/angular-query-experimental
86.46% <0.00%> (ø)

@tanstack/eslint-plugin-query
85.29% <100.00%> (ø)

@tanstack/query-async-storage-persister
49.20% <ø> (ø)

@tanstack/query-broadcast-client-experimental
∅ <ø> (∅)

@tanstack/query-codemods
0.00% <0.00%> (ø)

@tanstack/query-core
93.29% <95.12%> (+0.03%)
:arrow_up:

@tanstack/query-devtools
3.92% <0.00%> (-0.02%)
:arrow_down:

@tanstack/query-persist-client-core
57.73% <ø> (ø)

@tanstack/query-sync-storage-persister
82.50% <ø> (ø)

@tanstack/react-query
92.77% <100.00%> (ø)

@tanstack/react-query-devtools
10.71% <ø> (ø)

@tanstack/react-query-next-experimental
∅ <ø> (∅)

@tanstack/react-query-persist-client
100.00% <ø> (ø)

@tanstack/solid-query
81.62% <44.44%> (-0.65%)
:arrow_down:

@tanstack/solid-query-devtools
∅ <ø> (∅)

@tanstack/solid-query-persist-client
100.00% <ø> (ø)

@tanstack/svelte-query
62.68% <100.00%> (ø)

@tanstack/svelte-query-devtools
∅ <ø> (∅)

@tanstack/svelte-query-persist-client
100.00% <100.00%> (ø)

@tanstack/vue-query
71.04% <90.47%> (+0.23%)
:arrow_up:

@tanstack/vue-query-devtools
∅ <ø> (∅)

@TkDodo @tannerlinsley, In my opinion this is simple Pull Request, review this please


Ability to pipe a recipe file into rattler-build build command

It would be nice if I could pipe a recipe file to the rattler-build build command so I could avoid writing to disk.
For example, using the recipe conversion tool in a CI environment, I could do something like:
convert meta.yaml | rattler-build build --render-only

This might also be useful for other/future recipe generation tools.

Took a quick stab at this at #735
You can test it out and tell me what you think! 🐻


Upgrade .clang-format from version 12 to 15

Fixes #114

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

Comparison is base (6bebf23) 87.35% compared to head (81b05fd) 87.35%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #247   +/-   ##
=======================================
  Coverage   87.35%   87.35%
=======================================
  Files          18       18
  Lines         514      514
=======================================
  Hits          449      449
  Misses         65       65

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


Replace pvorb/clone with lodash.clonedeep to prevent errors when cloning complex objects

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
Replace pvorb/clone with lodash.clonedeep to prevent errors when cloning complex objects
I ran into the error “Cannot assign to read only property 'writeQueueSize’” when cloning messages with complex objects as properties
I’m using node-red-contrib-amqp and when I create an amqp-in node with two outputs, the messages aren't sent through the outputs and I get the following error in the console:

error: Queue.onMessage consumer function returned error: Cannot assign to read only property 'writeQueueSize' of object '#<TCP>' module=amqp-ts

It works fine when the node has only one output.
I was able to trace the issue to how the runtime clones messages in RED.util.cloneMessage(), particularly the use of pvorb/clone for creating deep copies. The amqp node places an amqp-ts Message object on the msg object as a property and pvorb/clone isn’t able to clone it properly. Perhaps it has issues with cloning objects that contain read only properties. If I remove the amqp object from the message before it is sent then the message is cloned no problem.
And if I replace pvorb/clone with lodash.clonedeep there is no issue with cloning whatsoever. The replacement seems to work quite well and unit tests continue to pass without modification.
Checklist

[x] I have read the contribution guidelines
[NA] For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
[x] I have run grunt to verify the unit tests pass
[NA] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 77.586% when pulling d017dd75cd1f7394bd32f2a0e11ae946697ca7e3 on amodelbello:master into c1dae95f71473f75f6d50ff005894e3f084c79f5 on node-red:master.

Hi - thanks for this.
in general, node's shouldn't be putting things on messages that aren't JSON encodable - with the exception of Node.js Buffers because they are too useful.
We'll take a look at this alternative module you're suggesting. But as this is on the core messaging path, we'll have to examine the performance impact of any such change.

Cool. Thanks for taking a look. I wasn't aware about the preference for only JSON encodable message properties.
FWIW, when experimenting with lodash.clonedeep I removed the code that prevents cloning of req & res in RED.util.cloneMessage() and got similar error messages as with the amqp module:

[warn] [http in:db3a60b3.fb79a] TypeError: Cannot assign to read only property 'writeQueueSize' of object '#’

FWIW, when experimenting with lodash.clonedeep I removed the code that prevents cloning of req & res in RED.util.cloneMessage() and got similar error messages as with the amqp module:

Yup - that's why we handle them as a special case. They are a long standing regret with the core HTTP nodes that we can't change without a risk of breaking users. But that doesn't mean we want to make the situation worse :)

Thanks for this. Following further discussion due to #2496 proposing the same change, I'm happy to merge this. Testing appears to show better performance as a result as well - which is a double win.

You'll note I retargeted dev - so this won't be released until 1.1.0. Whilst I'm happy with the change, not something we'd do in the maintenance stream of 1.0.x.

Fantastic! Happy to contribute.


update the banner?

https://github.com/dataarts/dat.gui/blob/096993eb6eecad0481b03c40862a11a4ab0db8e9/build/dat.gui.module.js#L3

Oops, yeah we should fix that. 😅


Page auto-refreshing doesn't work in Brave

Version
3.4.1
Reproduction link
https://github.com/SilencerWeb/gsap-training
Environment info
  System:
    OS: macOS 10.14.2
    CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
  Binaries:
    Node: 11.7.0 - /usr/local/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.8.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 72.0.3626.119
    Firefox: Not Found
    Safari: 12.0.2
  npmPackages:
    @ant-design/icons-vue:  1.0.1
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0-beta.2
    @vue/babel-plugin-transform-vue-jsx:  1.0.0-beta.2
    @vue/babel-preset-app:  3.4.1
    @vue/babel-preset-jsx:  1.0.0-beta.2
    @vue/babel-sugar-functional-vue:  1.0.0-beta.2
    @vue/babel-sugar-inject-h:  1.0.0-beta.2
    @vue/babel-sugar-v-model:  1.0.0-beta.2
    @vue/babel-sugar-v-on:  1.0.0-beta.2
    @vue/cli-overlay:  3.4.1
    @vue/cli-plugin-babel: ^3.4.0 => 3.4.1
    @vue/cli-plugin-eslint: ^3.4.0 => 3.4.1
    @vue/cli-service: ^3.4.0 => 3.4.1
    @vue/cli-shared-utils:  3.4.1
    @vue/component-compiler-utils:  2.6.0
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    ant-design-vue: ^1.3.5 => 1.3.5
    babel-helper-vue-jsx-merge-props:  2.0.3
    eslint-plugin-vue: ^5.0.0 => 5.2.2
    vue: ^2.6.6 => 2.6.7
    vue-eslint-parser:  5.0.0
    vue-hot-reload-api:  2.3.3
    vue-loader: ^15.6.4 => 15.6.4
    vue-ref:  1.0.4
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.21 => 2.6.7
    vue-template-es2015-compiler:  1.9.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
Just clone it, install dependencies, run it, open Brave and try to change any file.
What is expected?
Page auto-refreshing is expected after a file change
What is actually happening?
No page auto-refreshing. It works ok in Chrome.

In case you are referring to hot Module Reloading, it works fine for me on Brave (Mac) with your repository (once I fixed the missing module error).

@LinusBorg what module error?

The one from the missing HelloWorld component. You just fixed it with this commit: https://github.com/SilencerWeb/gsap-training/commit/1e3fc8358c002b52e170d28e011b10f68e2cc5fe

@LinusBorg it still doesn't work :(
It doesn't work in another project too. Any clues why it could be like that?

Hard to say, as I can't reproduce it.

@LinusBorg Same thing in Safari. Even more, if you reload the page, no changes will arrive. Same thing on iOS in any browser.


Can't get app to deploy

When using the "Deploy to IBM Cloud" button the deploy stage fails with the following output:

The instructions to deploy from the terminal are also incomplete.

With the deployments to IBM Cloud being constant updates and changes, I have removed the command lines and modified the steps to make it easy on any user to be able to create this repo with no issues.


Maximum callback depth is not configurable

Problem:  Maximum callback depth is not configurable.
Solution: Revert patch 9.0.2103.  Set 'maxfuncdepth' in test.
Fix #13732

ha, that was fast! Thanks!