Proposed auth-next support for simulateTransaction method

Made two changes:

Add auth field to each operation result, containing an xdr.ContractAuth, to be merged into the transaction similarly to footprint.
Move footprint into the operation result. Unrelated, to auth-next, but a good time to fix https://github.com/stellar/soroban-tools/issues/363

Any other changes needed from the client's perspective, @2opremio , @dmkozh ?

Preview is available here:http://soroban-docs-pr291.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr291.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr291.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr291.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr291.previews.kube001.services.stellar-ops.com/


MessageController (message/extract) does not delete files with removeUnused=true

What steps will reproduce the problem?

PhpMessageSource
Files messages/<language>/category/subcategory.php:

<?php
return [
    'Message' => 'Translation',
];

Source code to extract messages from does not contain anymore any messages the category Yii::t('category/subcategory', ...);
./yii message/extract message/config.php so removeUnused is true

What is the expected result?
Since there are no more messages in the category category/subcategory, I extect a deletion of files messages/<language>/category/subcategory.php (with directories becoming empty) or at least see any notice about such files or categories.
What do you get instead?
Neither the files was deleted, nor notices are displayed.
Additional info

Q
A

Yii version
<IP_ADDRESS>

PHP version
*

Operating system
*

Indeed, deleting files isn't implemented.


SQLCipher compile flags consistency

Hello!
I was looking into using the linux library for an existing Android/iOS app that uses sqlcipher_flutter_libs.
I've found that the flags used on Linux and Windows have some differences between iOS and Android that can break an existing app implementation.
Here are the flags used on the dependencies maintained by the SQLCipher team (Android, iOS and macOS)
https://github.com/sqlcipher/sqlcipher/blob/master/SQLCipher.podspec.json
"compiler_flags": [
        "-DNDEBUG",
        "-DSQLITE_HAS_CODEC",
        "-DSQLITE_TEMP_STORE=2",
        "-DSQLITE_SOUNDEX",
        "-DSQLITE_THREADSAFE",
        "-DSQLITE_ENABLE_RTREE",
        "-DSQLITE_ENABLE_STAT3",
        "-DSQLITE_ENABLE_STAT4",
        "-DSQLITE_ENABLE_COLUMN_METADATA",
        "-DSQLITE_ENABLE_MEMORY_MANAGEMENT",
        "-DSQLITE_ENABLE_LOAD_EXTENSION",
        "-DSQLITE_ENABLE_FTS4",
        "-DSQLITE_ENABLE_FTS4_UNICODE61",
        "-DSQLITE_ENABLE_FTS3_PARENTHESIS",
        "-DSQLITE_ENABLE_UNLOCK_NOTIFY",
        "-DSQLITE_ENABLE_JSON1",
        "-DSQLITE_ENABLE_FTS5",
        "-DSQLCIPHER_CRYPTO_CC",
        "-DHAVE_USLEEP=1",
        "-DSQLITE_MAX_VARIABLE_NUMBER=99999"
],

Differences found

THREADSAFE is 2 instead of 1 like on sqlite3_flutter_libs and like on the team maintained flags. Related https://github.com/simolus3/drift/issues/2032#issuecomment-1247186128
sqlite3_flutter_libs and sqlcipher_flutter_libs (linux and windows) use the flag DQS=0 which disables the usage of double quotes as string literal. The SQLCipher maintained libs don't set that flag, so existing apps that have used the Android and iOS dependency may use double quotes in many different queries. Using the Linux or Windows dependency now breaks those queries.

1 is an easy fix, like it was done for `sqlite3_flutter_libs'  v0.5.10
For 2 I can see two solutions.

Remove the DQS flag on Windows and Linux to match the Android, iOS and macOS flags from the SQLCipher team.

Compile SQLCipher for Android, iOS and macOS with the same set of flags from sqlite3_flutter_libs so that drift with all platforms and engines have the same behavior.
Android SQLCipher appears to be agnostic to the flags used. https://github.com/sqlcipher/android-database-sqlcipher#building
I'm not sure about distribution on gradle though.
As for iOS and macOS they use the following podfile https://github.com/sqlcipher/sqlcipher/blob/master/SQLCipher.podspec.json
But I'm not sure if it's possible to override the complete set of flags to use the ones we want.
This solution would be breaking, but at least we could have same behavior across the board.

1 is an easy fix, like it was done for sqlite3_flutter_libs v0.5.10

I agree we should use the default of 1 instead of 2 for SQLCipher builds as well, done.
As you've mentioned, issue 2 is a bit more troublesome. We can't add compile-time options to a podspec from another podspec (it can be done from the root Podfile, but we have no control over that). I also prefer to use these existing libraries where available to reduce the maintenance work (especially since we have to be really careful not to link both sqlite3 and SQLCipher on iOS).
The compatibility argument between Linux/Windows vs. Android/macOS/iOS is compelling, but I think there should also be compatibility between sqlite3_flutter_libs and sqlcipher_flutter_libs.

With the native assets feature currently being developed for the Dart and Flutter SDK, we will likely have a cross-platform solution in the future that works for both Dart and Flutter and allows us to write compile scripts independent of the native build system used in the end. Since that puts the responsibility of linking the right library on iOS and macOS away from us, I think that would be a good opportunity to migrate away from all native build scripts once it is stable. The current situation is not ideal, but I wonder if we should just document it and leave it as is until we have full control over the build.

@simolus3 Thanks for the information!
2 is not really a problem for me right now, but it definitely caught me off guard when I saw many queries randomly failing with a Syntax error I wasn't aware about, so I think it was worth mentioning. I understand how DQS=0 can be useful when starting from scratch and avoid using legacy syntax. I always thought SQLite treated double quotes and single quotes the same way, so my project mostly uses double quotes as is what I'm used to in my keyboard.

It seems this like this will also support user-defines, so we will likely be able to let application developers decide whether they need DQS or not.

@simolus3 A simple reminder just in case :smile:
It looks like version 0.5.7 of sqlcipher_flutter_libs with the THREADSAFE fix hasn't been uploaded to pub yet.

Thanks for the reminder, I've just published 0.5.7.


Like to have color state list

Would like to have something like ColorStateList to manage color in state of widgets

You might want to look at MaterialStateColor

We have WidgetStateColor now available for stateful color palettes, so I am going to close this. Thank you!


fix(go/adbc/driver/flightsql): use updated authorization header from server

Fixes #584.

@zeroshade something looks suspect to me. It's crashing here:
https://github.com/apache/arrow/blob/85f67cd22d21ea1225e94a32398f730f2e0d6807/go/arrow/flight/client.go#L124
Isn't cs always invalid since we're in an err != nil block?


Turn on branch protection

We should setup branch protection for branches development and main.
For now at least enable Require status checks to pass before merging on both development and main. I don't seem to have rights to do this @pgleeson on the repo, could you handle it.

Added


Try to set IDs for ListItems generated by elementum to easily use them in context menu

Expected Behavior

if we can store IDs (e.g. tmdb id) then we can use them in context menu plugin w/o any hacks.
Current Behavior

currently in context menu plugin in order to support  ListItems generated by elementum we have to parse path and then we have to convert acquired information to real tmdb id (since path does not have id for episode and season, only for show and movie). this is very hacky and incovenient.
Possible Solution

count | integer (12) - can be used to store an id for later, or for sorting purposes
https://codedocs.xyz/AlwinEsch/kodi/group__python__xbmcgui__listitem.html#ga0b71166869bda87ad744942888fb5f14
Function: setUniqueIDs(values, defaultrating)
Sets the listitem's uniqueID
https://codedocs.xyz/AlwinEsch/kodi/group__python__xbmcgui__listitem.html#ga7fc2ecd77b8d0032cc68eee6b4c9d6a2
Steps to Reproduce (for bugs)

Context

Your Environment

Version used:

Environment name and version:

Operating System and version:

Link to Kodi debug log:

@antonsoroko make sure to target API for Kodi16. It is used by SPMC, so is pretty popular.

i also used to use spmc, but beta version - 17.6
in case of 16 - it is sad since setUniqueIDs/getUniqueID were introduced only in 17
https://github.com/xbmc/xbmc/commit/f438970acb9bfc8646e91f298c62e8a786e72551

@antonsoroko that is why where are checks for Kodi version in navigation.py that remove fields that cause Python Errors in old Kodi.

I mean, we still can use it, but I also wanted to remove all hacks for elementum items in context plugin and context.go. But I guess we have to keep them untill Kodi 16 is completely gone.
Would be nice if we had some statistics about about Kodi versions and OSes that use elementum :-)


Optimize dependencies of samba

Current situation
Samba is well-known for its full-blown dependencies on a huge number of libraries. Whenever it bumps into a release, like 4.12, it pulls in another libs.
Recently we updated samba to 4.12.9, and apparently the latest Alpha release 2783.0.0 has ~50 MB of less free space compared to the previous version.
To improve that, we need to do some deep dive into the samba ebuild file.
Unfortunately the ebuild does not make use of all configure options available in upstream Samba. It is the case for both Flatcar and Gentoo.
A rough list of what to do, as of Samba 4.12.x.
Gentoo-changes:

make USE flag spotlight to pass --disable-spotlight.

The spotlight is not needed by Linux, not sure why configure tries to auto-detect it and pulls in libs like icu.
we can probably liburing as well.

make USE flag doc to exclude deps on app-text/docbook-xsl-stylesheets and dev-libs/libxslt.
make USE flag glusterfs to pass --disable-glusterfs.
make USE flag ntvfs to pass --without-ntvfs-fileserver.
make USE flag regedit to pass --without-regedit.

Flatcar changes:

set bundled_libs=ldb instead of ALL.

Gentoo PR https://github.com/gentoo/gentoo/pull/19650 .
Flatcar PRs, WIP:

https://github.com/kinvolk/portage-stable/pull/150
https://github.com/kinvolk/coreos-overlay/pull/864

The doc USE flag was not included, because it causes strange side effect of pulling in a bunch of dependencies.
Had to keep liburing, as it might be needed in the future when io_uring is widely used.

https://github.com/gentoo/gentoo/pull/19650 was merged


Not working with play-services-ads v17.0.0

Google published version 17 of play-services-ads. To make it working with it, the plugin has to add a new requirement for a <meta-data> tag in AndroidManifest.xml:
Google AdMob publishers are required to specify a <meta-data> tag with key com.google.android.gms.ads.APPLICATION_ID. See the AdMob getting started guide for more details.
Source: https://developers.google.com/android/guides/releases#october_5th_2018

Try adding this in your config.xml
<config-file parent="./application" target="AndroidManifest.xml">
        <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="yourApplicationId" /></config-file>

@schnouz Yes, I know :D I only opened this issue for my PR ;)

@paulstelzer ahah my bad :)


Support type-hint comments

It would be nice if Ruff supported type-hint comments. These were in use before the type hint syntax was added to Python, which happened in 3.6.
While most projects have moved to syntax type-hints, there are projects with these still around. There may be a couple of reasons, like the project still haven't migrated to the new format, or the project needing to target older Python versions that do not support the new syntax.
For example, I am currently working on a project that introspects Python installations, and as such, I am maintaining a script that needs to run on older versions.
Example:
if False:  # TYPE_CHECKING
    from typing import Any

def generate_data(schema_version: str):  # type: (str) -> dict[str, Any]
    ...

At the moment, Ruff issues F401 ("imported but unused") for the import in the example, which is incorrect, as Any is used in the type-hint comment.
That said, I do realize this doesn't have that many users, so it'd be totally understandable if you opt to not support it.
If it helps, I can look into implementing this myself, as I'd like to get more familiarized with the Ruff codebase.

Thanks for the issue. Going to close as a duplicate of #1619 and #10501, however :-)

Ah, sorry! I did search for this on the issue tracker, but didn't notice those issues.


publish both stable and pre-release builds to bintray

We plan to merge this soon: https://gitter.im/scalameta/scalameta?at=58e3eba28bb56c2d1175ae0f.


Added a free SQL PDF course to Spanish course list

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s)
For resources
Description
A PDF course of SQL
Why is this valuable (or not)?
It's a long and complete PDF
How do we know it's really free?
It's a direct link to a PDF
For book lists, is it a book? For course lists, is it a course? etc.
It's a course.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

A judgment call about whether this is a course or a book (it's a coursebook, I guess.) Merging, but would appreciate a double check that it's not on the book list.


'make offlinetest' fails 2 tests (socket.timeout: timed out)

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.09.01 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones.   If the socket is non-blocking and no bytes
        are available, None is returned.

          If the socket is non-blocking and no bytes
        are available, None is returned.

        If *b* is non-empty, a 0 return value indicates that the connection
        was shutdown at the other end.
        """
        self._checkClosed()
        self._checkReadable()
        if self._timeout_occurred:
            raise OSError("cannot read from timed out object")
        while True:
            try:
>               return self._sock.recv_into(b)
E               socket.timeout: timed out

/system/lib/python3.7/socket.py:589: timeout
========================================================================= short test summary info ==========================================================================
FAILED test/test_http.py::TestProxy::test_proxy - socket.timeout: timed out
FAILED test/test_http.py::TestProxy::test_proxy_with_idn - socket.timeout: timed out
======================================================== 2 failed, 292 passed, 4777 deselected in 200.39s (0:03:20) ========================================================
Makefile:74: recipe for target 'offlinetest' failed
make: *** [offlinetest] Error 1

You can see from the GHA that the tests pass. You'll need to figure out why the server yt-dlp sets up is not working in your system


Extract ValueSetConceptComponentRule

Completes task CIMPL-483.
A ValueSet may contain included or excluded components that can be defined by as a FSH ValueSet concept component. These components must contain at least one concept definition, and therefore must also have a system specified. Other components are defined by a FSH ValueSet filter component, which are outside the scope of this extractor.

Ah.  You beat me to it!  I also implemented ProcessableValueSet and some of this stuff in my support for extracting ValueSetFilterComponentRule.  But, you got the PR in first, so I'll wait until it's reviewed/merged and then reconcile my branch with it!


node: Declare global.gc()

This function is available with the node flag --expose-gc.

@lbguilherme thanks mate!


Is there any problem with the code now?

Is there any problem with the code now? Since I sent the request, it has been timing out and I have never received a successful response.

I don't think so, the package works fine. can you provide me with a sample code to reproduce and to determinethe issue source?


[FEATURE] Expose Cadence 1.0 CLI Install/Usage docs

Issue to be solved
Either add a page for this in our dev docs or link to https://cadence-lang.org/docs/cadence_migration_guide.  Maybe we could include a little snippet/callout in existing Flow CLI installation instructions.
Related, maybe a separate ticket: include usage in VSCode (depends on https://github.com/onflow/vscode-cadence/issues/538)
Suggest A Solution
No response
What are you currently working on that this is blocking?
No response

Yeah, it would be nice to have the Cadence 1.0 CLI Installation steps in a separate page/section, so we can link it from other places. For e.g: it is currently repeated in multiple places:

https://github.com/onflow/cadence-lang.org/blob/bf3a09b70dd23bf1c977e9e2f4044310f538fe81/docs/cadence_migration_guide/index.md?plain=1#L19-L38
https://github.com/onflow/cadence-lang.org/blob/08437c7f924bffac3d845e7ea08b9984aa7d2547/docs/cadence_migration_guide/emulator-state-migration-guide.mdx#L42


How can i run this Client?

I have tried all npm command but not able to run it client.

it's a package that you need to consume. it is not a full client just a client lib


Shader is tightly coupled to GLSL

This is particularly visible in the necessity of defining a main function in shaders. Functions serve no other purpose currently—there’s no mechanism to call them, for example—so it’s just another dynamically-checked error waiting to happen.

Fixed this in #13.


new test vectors for testing puk reverse sigs

@maxtaco This now corrupts the message that the signature is over and recomputes the signature instead of the signature itself. (and both positive and negative tests pass on client)
I couldn't figure out the problem with the label_kids, will have to look more into it tomorrow.


remove version constrain on cryptography. obove of the current versio…

…n the library runs without problems in mac with M1 processors
Fixes #1034 .
Installing ocean.py in Mac with M1 processor fail due to issues with Cryptography #1034
Changes proposed in this PR:

upgrade to a newer version of Cryptography

This issue was initially reported in #887.
The fix was: in installation instructions in data-nfts-and-datatokens-flow.md README, have:
Known issues:

for M1 processors, coincurve and cryptography installation may fail due to dependency/compilation issues. It is recommended to install them individually, e.g. pip3 install coincurve && pip3 install cryptography

However, the proposed fix here is simpler, because it doesn't require user intervention. It just uses the latest version of the library. Nice!
Does it work for both libs coincurve and for cryptography?
If yes, great! Please ensure that both are updated in setup.py.
And, please update the instructions in the README as appropriate. (Ideally it works for both libs; then we can completely remove the sentence "for M1 processors..."

This issue was initially reported in #887.
The fix was: in installation instructions in data-nfts-and-datatokens-flow.md README, have:
Known issues:

for M1 processors, coincurve and cryptography installation may fail due to dependency/compilation issues. It is recommended to install them individually, e.g. pip3 install coincurve && pip3 install cryptography

However, the proposed fix here is simpler, because it doesn't require user intervention. It just uses the latest version of the library. Nice!
Does it work for both libs coincurve and for cryptography?
If yes, great! Please ensure that both are updated in setup.py.
And, please update the instructions in the README as appropriate. (Ideally it works for both libs; then we can completely remove the sentence "for M1 processors..."

Coincurve failed was because an outdated library in my local machine, after updating it coincurve installation went through. So I think we can safely reove the M1 message in the read me.

@jfdelgad Great to see this PR :)
If your changes fixes the problem, can you please update also: https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/data-nfts-and-datatokens-flow.md. We have that mention of m1 issues. Thank you!

@jfdelgad, can we also update the READMEs as well? Also as @trentmc said, can we check if coincurve can also be updated?

@jfdelgad, can we also update the READMEs as well? Also as @trentmc said, can we check if coincurve can also be updated?

The coincurve issue was related to libtools, updating it makes the issue to go away, it is not related to the version of coincurve.

@jfdelgad, can we also update the READMEs as well? Also as @trentmc said, can we check if coincurve can also be updated?

updated the readme, removed the line that suggested to install the libraries first. that was actually not a valid solution for me.

@jfdelgad can you please fix the conflicts and apply the same change in a different PR for main-brownie? I reverted the main branch to its pre-brownie stage, and that's where I think the conflicts are coming from. It's also a measure of precaution from my part to double everything into main-brownie as well, in order to help testing and to have a "complete" functionality there as well.

@jfdelgad can you please fix the conflicts and apply the same change in a different PR for main-brownie? I reverted the main branch to its pre-brownie stage, and that's where I think the conflicts are coming from. It's also a measure of precaution from my part to double everything into main-brownie as well, in order to help testing and to have a "complete" functionality there as well.

This was already merged to the main branch in another PR, I will close it.


Support PixelFormat.rgbaFloat32 on Web

The PixelFormat enum in the web engine is incomplete. According to https://api.flutter.dev/flutter/dart-ui/PixelFormat.html and the native engine, we are supposed to have a rgbaFloat32 option as well. In https://github.com/flutter/engine/pull/42019 I added support for it in Skwasm, but it remains unsupported in the other renderers, as well as in the BMP creation code path.

This probably doesn't need to be a P1. Downgrading to P2


Change SendNibble

Change SendNibble to avoid double Wire.begin()
Adjust begin() for beter work in case of LCD half initialized
Adjust Clear() so LCD is reinitialized in case of power off lcd
Adjust _send()  so wire.beginTransmission and wire.endTransmission are called only once.

I am very about this push request
It was a mistake,  i sended a work brench  and it is bad :(
I will make a new pull request  lot cleaner ( I hope)
Thanks for your nice answer
Net234

So I close this one.


feat: support pkcs12 with chain in pushsecret to Azure KeyVault

Problem Statement
Currently you can use "pemToPkcs12" function in a PushSecret template to upload a cert-manager generated certificate to Azure KeyVault. However that creates a pkcs12 without the proper certificate chain. The new function in https://github.com/external-secrets/external-secrets/pull/3494 called "fullPemToPkcs12" on the other hand creates a pkcs12 with the proper certificate chain, however the Azure KeyVault provider fails to validate this pkcs12 due to the use of gopkcs12.Decode.
Related Issue
Fixes #3745
Proposed Changes
Add a fourth validation check in "getCertificateFromValue" that calls "gopkcs12.DecodeChain" to allow pkcs12 files with multiple certificates.
Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

/ok-to-test sha=4e00610d3daec5ff6f9ca86cb1cbfef5548231ef


Travis.yml for Crystal HEAD

Is there a working example of travis.yml for Crystal HEAD? I tried next one, but it doesn't work :
install:
  - git clone https://github.com/manastech/crystal.git
  - cd crystal
  - make
script:
  - bin/crystal deps
  - bin/crystal spec

I think you can refer the .travis.yml of crystal itself.  You need to install the stable version of crystal at first to bootstrap the build

@rhysd I tried this, but got build errors:
before_install: |
  curl http://dist.crystal-lang.org/apt/setup.sh | sudo bash
  sudo apt-get -q update
install:
  - sudo apt-get install crystal
  - crystal deps
  - git clone https://github.com/manastech/crystal.git
  - cd crystal
  - make
script:
  - bin/crystal deps
  - bin/crystal spec

Yeah, you'll need the whole LLVM downloading stuff in order to compile the compiler.

@Codcore What do you want this for?

@asterite I create separate branch of Amethyst which using Crystal Head to test new features.

@asterite @jhass @rhysd following travis.yml worked:
before_install: |
  curl http://dist.crystal-lang.org/apt/setup.sh | sudo bash
  sudo apt-get -q update
install:
  - sudo apt-get install libgmp3-dev crystal
  - sudo sed -i -e 's/.*LIBRARY_PATH.*/export LIBRARY_PATH=\"$INSTALL_DIR\/embedded\/lib${LIBRARY_PATH:\+:$LIBRARY_PATH}\"/' /opt/crystal/bin/crystal
  - curl "http://crystal-lang.s3.amazonaws.com/llvm/llvm-3.5.0-1-linux-x86_64.tar.gz" | tar xz -C /tmp
  - curl "http://crystal-lang.s3.amazonaws.com/pcl/libpcl-1.12-1-linux-x86_64.tar.gz" | tar xz -C /tmp
  - export LIBRARY_PATH=/opt/crystal/embedded/lib:/tmp/libpcl-1.12-1/lib
  - export PATH=/tmp/llvm-3.5.0-1/bin:$PATH
  - export CRYSTAL_CONFIG_VERSION=ci
  - export CRYSTAL_CACHE_DIR=/tmp/crystal
  - sudo apt-get install crystal
  - crystal deps
  - git clone https://github.com/manastech/crystal.git
  - cd crystal
  - make
  - cd ..
  - git clone -b crystal-head https://github.com/Codcore/Amethyst.git
  - cd Amethyst
script:
  - ../crystal/bin/crystal deps
  - ../crystal/bin/crystal spec

Maybe add this example somewhere in wiki? I don't think that I'm only one who will need this. It is quite easy to figure out, but it took some time.

If on successful crystal builds on travis uploaded the binary to s3 (and the s3 bucket was fixed so ssl works), I think we'd be able to add crystal-head to the community travis support.

@will yes, it would be cool. Anyway, we should ask @asterite what does he think.

:+1:
Crystal is now on pre-alpha stage.  I think it is good practice to test apps with Crystal HEAD.
Is there any example to test apps with multiple languages on Travis?  If crystal-head is added, we would want to test apps with crystal and crystal-head.
If not possible to use multiple languages, it might better to add a key to specify version of crystal the same as node.js.

Has anyone asked travis yet to add a crystal-head ? :)

Crystal on Travis is community supported, we would "just" need to open a PR. What we would need to do this in a sane manner (that is without rebuilding crystal from head in every single build) are (official) nightly builds, ideally in a or the existing APT repository.

Closing this for now, will reopen if I can no longer provide the nightlies.


Why is runApp supposed to be the only action?

runApp is supposed to be the only IO action in a Haste.App program. Why is this?
The reason why is that there are ways there may be ways to help enforce this in the typing system. For example, by having it return a type of IO Void instead IO (), you are saying that any IO action after it would be an impossible situation, since no Void can exist.

The main reason is that relying on side effecting computations performed before the invocation of runApp may have disastrous results. It's not necessarily the case (or even likely) that running runApp more than once would cause this, but it's much easier to simply say "you should always start and end your program with runApp" than to attempt to write code that's safe despite using side effects in an unapproved way or running multiple instances. However, since runApp itself is relatively benign in this regard, there would probably be no great harm in removing the restriction.
Using Void wouldn't accomplish much beyond better documentation, however. While having runApp return Void would better indicate that the function does not return, it still wouldn't prevent someone from actually writing such code. However, the documentation aspect alone is important enough that it's probably good idea to change the return type.

Why do you think it would cause bad stuff? It doesn't appear that any values can leak out of the App monad.

Okay, I see that it says that it may cause the Server and Client to diverge. How exactly?

Also, instead of Void, just a polymorphic variable would do (that would signal that, since it can be anything, it can't be anything.) See https://hackage.haskell.org/package/base/docs/Control-Monad.html#v:forever for example.


Fix error in defaultInterval

Converting Time.Duration into string must use the https://pkg.go.dev/time#Duration.String function.
Steps to reproduce the issue: run ./otelcol-dev --config config.yaml with no defaultInterval : the program raises an invalid value for defaultInterval but the setting should be optional.

thank you @JonathanHuot , can you sign the CLA?

@JonathanHuot can you sign the CLA? If not let me know as well so we can close this PR (unfortunately signing the CLA is a requirement no matter how big the contribution is)

Closing due to inactivity


Updated incorrect link

Updated link to shared-responsibility.md#cloud-security-advantages as did not use hypens between words

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

Verified the link; merging. @silvermarkg Thanks for submitting this fix.


[OSX][Unity] DllNotFoundException: discord-rpc

Hey!
I followed the Unity setup guide in the read me and could never get the library to work on mac. I checked other forks and I can't seem to find anyone else that has it working on OSX either.
Should I give up on this for now? Or am I doing some wrong?

Hey @Skeledurr, I think I may have made a mistake in that Readme. By chance, is your dll file named libdiscord-rpc.bundle? It should just be discord-rpc.bundle. I'll change the readme right now to reflect that; I apologize for the confusion if that's the case.
If that's not the issue, could you take a screenshot of what your folder structure looks like for the Unity project? Where you've put the DLLs, their names, etc.

That was it!
Should I do the same for the linux .so?

I think the linux .so actually looks for libdiscord-rpc, because consistency 😆 If it's not working as that, then yeah drop the lib.

Gonna close this as the solve was found. Please re-open if it's not working!


Adjust the SwiftPMWorkspaceTests.testMultiTargetSwift() test to account for the SwiftPM fix for SR-12050

This fix (https://github.com/apple/swift-package-manager/pull/3215) adds '-Xcc' to the command line generated by SwiftPM and thereby introduces revlock between the SwiftPM fix and SourceKit-LSP.  Because of the branch-based dependency of SourceKit-LSP on SwiftPM, this means that SourceKit-LSP's unit test will start failing once that PR is merged.  This adds a temporary change to allow SourceKit-LSP to accommodate both command lines.  It will be removed once SwiftPM's PR has been merged.

@swift-ci please test

@swift-ci please test


chore(main): release 0.0.37

:robot: I have created a release beep boop
0.0.37 (2024-03-12)
Features

update multiple validation rule results at once (#237) (5425ad0)

Refactoring

replace custom retries w/ patch helpers; make SinkState a condition (#233) (38f1bc5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/spectrocloud-labs/validator/releases/tag/v0.0.37 :sunflower:


Guix install action stuck after guix install script change

Currently, the install action terminates (on Ubuntu20.04 runners) after creating the systemd entry (example log), i.e. at the first yes/no prompt.
This is the first point that the guix-install script as it is executed by the action encounters the recently modified prompt_yes_no() function. It was modified in this commit. Apparently, the changes lead to the yes utility no longer adequatly stopping the prompt...

I reported it here. I’m guessing that _flush is a bad idea for non-interactive uses, but we’ll see what Maxim says.

In case relevant: Guix bug report

Closing, as this was fixed at the actual source of the issue (here ).


sw-background-sync-queue

Library Affected:
sw-background-sync-queue
Browser & Platform:
all browsers
Issue or Feature Request Description:
"One-shot" background sync has some common usage patterns that we might be able to automate—e.g., provide a method to coordinate passing data between the controlled page and the service worker (via postMessage() or IndexedDB) and a helper to automate the sync event handling in the service worker to consume that data from the queue of pending requests.

cc @marcacohen who had some ideas about an Outbox style library that could fit in here.

@addyosmani @jeffposnick
trying to wrap my head around this, is it that we are trying to implement a queue kind of solution, to which all the request can be submitted and the specified 'sw-helper' can pick them keep firing them one after the other?
Do we have some use cases where we are trying to see this work, although I have worked on one such use case(where a QUEUE implementation is important), but would be really nice to know more?

I don't think this one's gone beyond the "wouldn't it be cool if..." stage. But yes, "work queues" of one sort or another falls into the scope of what we're talking about.
I think the general idea is that this is an area where the underlying primitive (the sync event handler) is fairly low-level, and it benefits from being combined with other primitives (like IndexedDB) in order to solve general problems. Creating a library that handled that combination in an opinionated matter is within the scope of what we're trying to do with these projects.

Alright, so far based on some use cases I know (e.g. fb/twitter likes, passing coordinates from an uber like app where you like to track a delivery guy). I am guessing some stuff like below should work.
##js @ Controlled Page:
<script src='../../pathToClientHelper.js'></script>
<script>
/*
 ###earlier code:
 if(navigator.onLine){
  fetch(requestObj).then(res=>res.json())=>(res=>{
    //do something with res
  });
 } else {
  //register bg sync and put stuff it in iDB or something
 }
*/

 //###new code
 //to make a req
 goog.bgQ.push(requestObj [,tagName]).then(taskId=>{
  // this task id can be used to see the status/response of req
 });

 // to fetch response of a taskId
 goog.bgQ.seek(taskId).then(taskResponse=>taskResponse.json()).then(res=>{
  if(res.isResponsefetched){
    console.log(res.response)
  }
  else{
    console.log("response not fetched yet");
  }
 });

 //also if a page is open it can listen to postMessage from sw as they happen. client.postMessage
</script>

Hey @prateekbh: It's generally a good practice when using service workers to treat them as a progressive enhancement, and avoid changing the code in your client pages.
So rather than explicitly add in a helper library to client pages and have those pages behave differently depending on the state of navigator.onLine, the idea would be that a service worker could handle network failures as part of a fetch event handler, and inside that handler, implement the logic for queueing and subsequently retrying requests.
I don't even know if, in this model, there needs to be code in the client page to listen for a message event from the service worker indicating that the queue has been cleared. It may make more sense for the service worker to just show a notification when the queue's cleared, since the client page might have been closed in the interim.
Anyway, this is not currently at the top of our list to implement, but those are my general thoughts as to how it could be approached.

Caught up with @prateekbh today and it looks like we've got a good opportunity to get this knocked out :) We're going to get him added to our team sync and explore a design doc for this work.

Can this be closed now that @prateekbh's work has landed?


Useless timer in adalight?

Why do we need to update the leds of adalight every 5 seconds? My hyperion sends 20 frames per second anyways, even if all leds are off.
https://github.com/tvdzwan/hyperion/blob/master/libsrc/leddevice/LedDeviceAdalight.cpp#L20-L22

@NicoHood can be closed?

The question is still valid. I'd like to have an answer if possible.

Does yours still update the LEDs if it's set to a static colour ?
Mine doesn't seem to with the 2801 device type.

I tried with
hyperion-remote --color red

But it still updates every few seconds. It also does this if the screen is blank. It sends the data over and over to the device. I do not think that this is different with other devices.
And this timer ensures to write the frame ever 5 seconds or whatsoever. No idea why though.

You still have no answer, and it seems no one knows. The dev should answer this ;)
I will close this. You could fork hyperion and remove the value and test again. I am sure this is the fastest solution.
I will close this


Add printf format checking attribute to report_error

On gcc and clang, add __attribute__((__format__)) checking to the report_error function.
Note: clang warns -Wformat-nonliteral (off by default, but good practice) when a format string argument not annotated by __attribute__((__format__)) is passed to vprintf etc.; gcc does not. See https://clang.llvm.org/docs/AttributeReference.html#format .
Plus fixes for bugs exposed by this change:

Cast faulting addresses to uintptr_t for formatting as 0x%08lx. If there is an LLP64 platform that uses Posix signals (i.e. not Win64, which uses SEH) this should be changed to use PRIxPTR format specifier.
Fix swapped si_code/si_addr (& si_band) format arguments.
Add missing %s to format diagnostic information.

Hi,
Thanks for the PR, tests are passing. However I have some comments. Would you please take the time to address those?
Thanks

Thank you for having addressed all the comments and for the quality of the work. This is currently in next and should be merged to develop pretty soon.

In master, closing. Thanks!


I don't see the ~/wtfd.conf file

I have run the make and install as instructed, but I do not see the wtfd.conf file, only a deploy.yml file inside the github action folder that include the suggested credentials,
          [http]
          domain    = "wtfdial.com"
          block-key = "${{ secrets.BLOCK_KEY }}"
          hash-key  = "${{ secrets.HASH_KEY }}"

          [google-analytics]
          measurement-id = "${{ secrets.GA_MEASUREMENT_ID }}"

          [github]
          client-id     = "${{ secrets.GH_CLIENT_ID }}"
          client-secret = "${{ secrets.GH_CLIENT_SECRET }}"

but I don't think that's where I should update the parameters. Would you please give me some hint?

@JizongL You'll need to create a new wtfd.conf in your home directory. The Development section gives a template of the file although you'll need to update the values that are marked as zeros.
[github]
client-id     = "00000000000000000000"
client-secret = "0000000000000000000000000000000000000000"

[http]
addr      = ":3000"
block-key = "0000000000000000000000000000000000000000000000000000000000000000"
hash-key  = "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"


[Calling][Feature] Support Form + Audio Only

Purpose

Audio-Only/AvMode toggles, to enable audio only mode
Support Form and API, to better enable customers to collect support

Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[X] Feature
[X] Code style update (formatting, local variables)
[X] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Pull Request Checklist

[X] Public API changes
[ ] Verified for cross-platform
[X] Synced with iOS, Web team
[X] Internal review completed
[X] UI Changes

[ ] Screen captures included
[ ] Tested for Light/Dark mode
[ ] Tested for screen rotation
[ ] Tested on Tablet and small screen device (5")
[ ] Include localization changes

[X] Tests

[ ] Memory leak analysis performed
[ ] Tested on API 21, 26 and latest
[x] Tested for background mode
[X] Unit Tests Included
[X] UI Automated Tests Included

How to Test

Open...
Click on...

What to Check
Verify that the following are valid

...

Other Information

@ahammer would it be possible to write mocking E2E tests?

@ahammer would it be possible to write mocking E2E tests?

they are in the branch now for audio only and enhanced support, unit and mock ui.


[pubsub-pulsar]disableBatching Invalid setting

Expected Behavior
disable batch
Actual Behavior
disableBatching Invalid setting
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: pubsub
spec:
  type: pubsub.pulsar
  version: v1
  metadata:
  - name: host
    value: host
  - name: enableTLS
    value: "false"
  - name: backOffMaxRetries
    value: "50"
  - name: disableBatching
    value: "true"

Exceptions will still be thrown：
time="2022-04-15T01:52:07Z" level=error msg="[unable to add message to batch]" producerID=8 producer_name=pulsar-cluster-zk-3-2988 properties="map[]" size=270636 topic="persistent://public/default/testEvent"
time="2022-04-15T01:52:07.670125177Z" level=debug msg="rpc error: code = Internal desc = error when publish to topic testEvent in pubsub pubsub: message add to batch failed: AddToBatchFailed" app_id=test instance=test-1.2.65-5f89f79776-bkpxf scope=dapr.runtime.grpc.api type=log ver=1.7.0

Hello @saber-wang, I am not able to reproduce this with the latest Dapr version. Here is my configuration file:
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: pulsar-pubsub
  namespace: default
spec:
  type: pubsub.pulsar
  version: v1
  metadata:
  - name: host
    value: "localhost:6650"
  - name: disableBatching
    value: "true"

I was able to publish and listen for data, without running into the mentioned error.

What version are you on?
Can you please share a minimum reproducible example?
Also, can you share the complete Dapr logs?

Ok, able to reproduce with publishing message size greater than 128 bytes.

Full logs
== APP == C:\Users\shubhash\src\pulsar-test\publisher.py:18: DeprecationWarning: metadata argument is deprecated. Dapr already intercepts API token headers and this is not needed.
== APP ==   result = client.publish_event(
time="2022-05-01T17:53:44+05:30" level=info msg="[Connecting to broker]" remote_addr="pulsar://localhost:6650"
time="2022-05-01T17:53:44+05:30" level=info msg="[TCP connection established]" local_addr="[::1]:54656" remote_addr="pulsar://localhost:6650"
time="2022-05-01T17:53:44+05:30" level=info msg="[Connection is ready]" local_addr="[::1]:54656" remote_addr="pulsar://localhost:6650"
time="2022-05-01T17:53:44+05:30" level=info msg="[Created producer]" cnx="[::1]:54656 -> [::1]:6650" producerID=1 producer_name=standalone-2-2 topic="persistent://public/default/test-topic"
time="2022-05-01T17:53:44+05:30" level=error msg="[unable to add message to batch]" producerID=1 producer_name=standalone-2-2 properties="map[]" size=153970 topic="persistent://public/default/test-topic"
== APP == Traceback (most recent call last):
== APP ==   File "C:\Users\shubhash\src\pulsar-test\publisher.py", line 18, in <module>
== APP ==     result = client.publish_event(
== APP ==   File "C:\Users\shubhash\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\dapr\clients\grpc\client.py", line 363, in publish_event
== APP ==     _, call = self._stub.PublishEvent.with_call(req, metadata=metadata)
== APP ==   File "C:\Users\shubhash\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\grpc\_channel.py", line 957, in with_call
== APP ==     return _end_unary_response_blocking(state, call, True, None)
== APP ==   File "C:\Users\shubhash\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\grpc\_channel.py", line 849, in _end_unary_response_blocking
== APP ==     raise _InactiveRpcError(state)
== APP == grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
== APP ==       status = StatusCode.INTERNAL
== APP ==       details = "error when publish to topic test-topic in pubsub pulsar-pubsub: message add to batch failed: AddToBatchFailed"
== APP ==       debug_error_string = "{"created":"@1651407824.955000000","description":"Error received from peer ipv4:<IP_ADDRESS>:54641","file":"src/core/lib/surface/call.cc","file_line":904,"grpc_message":"error when publish to topic test-topic in pubsub pulsar-pubsub: message add to batch failed: AddToBatchFailed","grpc_status":13}"
== APP == >
The App process exited with error code: exit status 1

Looks related to https://github.com/apache/pulsar-client-go/issues/681

@shubham1172    Together with #1671 , we can only go back to version 1.6.0 at present


osbuild-mpp: Allow importing multiple pipelines from a manifest

This is what we do in the automotive-sig, and it would look a lot cleaner if we could import each sub-manifest only once. Also, it makes a lot of sense that the includer shouldn't have to be aware of the sub-pipelines that the including pipeline should need.

Any idea why this never seems to finish the CI`

Rebased on main

I added some commits that makes mpp-define-image work well with includes too. With these changes the automotive images can be cleaned up alot.


Pr remove issue as aws health event type

Remove-issue-as-AWSHealthEventType

Hi all, this PR looks like an internal customization.  I'm going to close, but comment back if I'm missing something.


Remove JSON type since Apollo supports it directly

This could possibly be written as an issue too and it's totally ok if this is not merged. I struggled with a new schema and Apollo server while trying to use the graphql-type-json library as part of my schema + resolvers. I was getting a message like this:
/tmp/X/node_modules/graphql-tools/dist/schemaGenerator.js:332
        Object.keys(resolvers[typeName]).forEach(function (fieldName) {
               ^

TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at /tmp/X/node_modules/graphql-tools/dist/schemaGenerator.js:332:16
    at Array.forEach (<anonymous>)
    at addResolveFunctionsToSchema (//tmp/X/node_modules/graphql-tools/dist/schemaGenerator.js:324:28)
    at _generateSchema (/tmp/X/node_modules/graphql-tools/dist/schemaGenerator.js:98:5)
    at Object.makeExecutableSchema (/tmp/X/node_modules/graphql-tools/dist/schemaGenerator.js:110:20)
    at ApolloServerBase (/tmp/X/node_modules/apollo-server-core/dist/ApolloServer.js:87:31)
    at new ApolloServer (/tmp/X/node_modules/apollo-server/dist/index.js:58:42)
    at Object.<anonymous> (/tmp/X/index.js:125:16)
    at Module._compile (module.js:643:30)

All because I set the resolver for JSON to GraphQLJSON from graphql-type-json, following these docs. As I found out, JSON is a built in with Apollo Server 2 (beta)! 🎉
It would be fantastic if:

There was a banner in this section mentioning that JSON is a built in Scalar type for Apollo Server
The error message from graphql-tools could detect issues like this (even literally this one) and provide a better error message (and how to resolve it)

cc @peggyrayzis

Hey Kyle! Thanks for catching this. The graphql-tools docs will be merged with the Apollo Server 2.0 docs upon release, so we should note that Apollo Server 2.0 supports JSON out of the box in the new docs instead.
I'll make an issue so we remember to add it in before launch.

Works for me! Thanks!


Weird Banner Image on Timeline

It seems like there's some sort of new Grok advertisement that sometimes appears when you go onto your main home timeline, though I can't be for 100% sure. The reason I say this is because text elements for it are removed, but an image remains:

The only reason I even suspect this is a Grok advertisement is looking within the HTML of the page, where it's labelled as such:

The problem is that every time I disable the extension and reload the page, it disappears! So not only am I not sure what it is to begin with, I can't even confirm if it's actually even this extension that causes it..
If it turns out not to be related to this extension, my sincere apologies.. I've been trying to find a way to reliably reproduce this, but I'm genuinely not sure what causes it 😞

Finally managed to get it to show up with the extension disabled, so it does seem to be this extension that causes it!
(Not sure if the below image is needed, but I've added it for reference just in case)

As you've found out, the hard part is getting it to display again so you can test hiding it 🥲
The element we hide to get rid of other inline timeline prompts (data-test-id="inlinePrompt") is inside this variant, so we need to figure out a different selector to target the top-level timeline item in this case.


update my project with vuepack upstream

Is there a way to use git to make an update of my project even if I made a lot of changes inside my config files and index.html ?
As you may have guessed I'm not a Git Pro when it's something unusual like that.

I guess it would be easier if we convert vuepack to something like create-react-app, for now, I don't know either 🤔

Ok I'm checking if it's possible. Will get back here soon

I kinda want to create something like create-vue-app, anyone interested?

@egoist create-react-app is flawed by the choice to eject or not eject so please don't go that way. Maybe look at Nuxt as an example of delivering a single NPM package with configuration and plugins - so we could customise index.html via config and still pull your latest. But please keep this project light and not universal (not SSR) so we can use standard packages like Vue Material and Vue Apollo - thanks

@joshbotnet yeah, vuepack will keep the way it is 😄


Problem in login (UnhandledPromiseRejectionWarning: StatusCodeError: 400 - "Bad request")

My code worked well, but, recently started throwing this exception in login:
"UnhandledPromiseRejectionWarning: StatusCodeError: 400 - "Bad request" "
Have tryed #97 . Still not working
Any idea?

Same problem

it looks like instagram is encoding passwords before they are submitted to the login endpoint. my work around for the time being was to just login and grab the payload from the login request and update the library to match (make sure you URL decode first):

how to solve this problem using this lib?

same issue

Thanks @benkauffman for the work around.

I notice that this enc_password are composed by #PWD_INSTAGRAM_BROWSER:0:CURRENT_TIMESTAMP:YOUR_PLAIN_PASSWORD.
For now, I fork and publish a work aroundpublish a work around

I notice that this enc_password are composed by #PWD_INSTAGRAM_BROWSER:0:CURRENT_TIMESTAMP:YOUR_PLAIN_PASSWORD.
For now, I fork and publish a work around

@anakis Good job, please make PR with your fix.

getting the same problem.
Please help to solve it.

@vikasvmads Did you try the solution proposed above?

The solution which  is given by @benkauffman?

Hello guys!, i solves this problem, and created an method to crypt password,
Just visit: https://github.com/codexJoin/InstagramCrypto

I have done the same procedure but getting authenticated flag: false
Here is the screenshot

Working now Thanks

Dude. Your username and password are literally in plain text in that screenshot.
Ben Kauffman - Principal
360.909.0203 . KrashidBuilt
https://krashidbuilt.com

On May 20, 2020, at 2:32 AM, vikas mishra<EMAIL_ADDRESS>wrote:

Working now Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

i changed - \node_modules\instagram-web-api\lib\index.js
const createEncPassword = pwd => {
      return `#PWD_INSTAGRAM_BROWSER:0:${Date.now()}:${pwd}`
    }

to
const createEncPassword = pwd => {
      return `#PWD_INSTAGRAM_BROWSER:10:${Date.now()}:${pwd}`
    }

it works for me


chore: Subscribe to mainnet quotes

testnet quotes look odd, especially as we are using the mainnet prices for the candlestick charts.
I don't see a reason why we should not use the mainnet quotes also for testing.

Not against it but it will mess with our hedging strategy.

Alternatively, we can also use the testnet quotes consistently. e.g. the candlestick chart always shows mainnet prices. Also the testnet quotes do not change that often, thats why I sometime thought the maker was down.

Alternatively, we can also use the testnet quotes consistently. e.g. the candlestick chart always shows mainnet prices. Also the testnet quotes do not change that often, thats why I sometime thought the maker was down.

If this bothers you, I'd rather go for showing a different candle chart.


Implementing new cogwheel materials through KubeJS

Hello, you closed the last issue where I mistakingly asked for the same thing but with datapacks. I have since corrected myself in https://github.com/Rabbitminers/Extended-Flywheels/issues/22 and I am creating this issue as a tracker for KubeJS integration progress (if you are even seriously considering it).
I'd look into it myself, but I'm not particularly familiar with Java. This feature would be a lifesaver however, as I'm currently working on a modpack, that adds tens of modded materials and being only able to use vanilla and Create stuff is a major downside.
I'll link to this new issue in my private modpack issue tracker.

I'm definitely interested in adding this I'll get to work on implementing it for the next update :)

Implemented For Large And Small Cogwheels Ready For Release 2.1.0 (Half shaft & Shaft Cogwheels Will Also Be Available At Release)


Fix insertion of USE PROTO into parent PROTO parameter

Fix #332: there is no need to check the validity of internal nodes of a USE node.

:+1:

:eyes:


Version 2.6.0 squishes my main menu together

What happened?
After updating to version 2.6.0, (2.5.4 does not have this problem), my main menu items are squished together:

Theme version
2.6.0
Hugo version
v0.114.1
What browsers are you seeing the problem on?
Firefox
Relevant Hugo log output
No response

Figured it out - I was overriding basic.html, needed to update it with the tailwind css tags from 2.6.0's basic.html

I've got the same issue. After upgrading to congo v2.8.2, I get:

However, I don't think am overriding basic.html, at least not intentionally.


Fix incorrect logger arguments

Description
The placeholder is redundant because the argument is debug(String msg, Throwable t)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:
Please delete options that are not relevant.

[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] If adding new functionality, I have discussed my implementation with the community using the linked GitHub issue
[x] I have signed and submitted the ICLA and if needed, the CCLA. See Contributing for details.

Thanks @ebyhr for the PR. Thanks @dimas-b and @aihuaxu for the review.


Skeleton need smoothing and set_temporal_smoothing need introduction

By default,  the skeleton  is easier to shake. I find the function set_temporal_smoothing but its introduction is plain.  I've done some experiments, but I'm not sure.
How to smooth skeleton to minimize the shaking? How does the value of smoothing_factor influence the results? Its range？
 /* Set temporal smoothing */
 void set_temporal_smoothing(float smoothing_factor) noexcept
{
     k4abt_tracker_set_temporal_smoothing(m_handle, smoothing_factor);
}

@wqs111000 It seems that you are using the CPP wrapper for your header. For detailed documentation, please refer to the original C API descriptions:
/** Control the temporal smoothing across frames.
*

\param tracker_handle
Handle obtained by k4abt_tracker_create().

\param smoothing_factor
Set between 0 for no smoothing and 1 for full smoothing. Less smoothing will increase the responsiveness of the
detected skeletons but will cause more positional and orientational jitters.

\relates k4abt_tracker_t

\remarks
The default smoothness value is defined as K4ABT_DEFAULT_TRACKER_SMOOTHING_FACTOR.
*/
K4ABT_EXPORT void k4abt_tracker_set_temporal_smoothing(k4abt_tracker_t tracker_handle, float smoothing_factor);

I also encountered this problem. Have you solved it


Clarification on usage/purpose (question)

I think Apex is pretty good, however, I'd appreciate some further clarity on something that seems missing. Is it "just" a Lambda function manager so one still has to configure the actual trigger for the function such as CloudWatch events for scheduled events? If so what does the workflow look like with Apex?
Thanks.

Currently it's just for managing the functions, sources are done via Terraform (or manually) so you can preview changes made to the configuration.

Ah. Thanks for the clarity.


[Question] Font Type 1 and \setsansfont

Description
I'm preparing a presentation with beamer and I would want to use lxfonts. At the moment in my preamble I added DejaVu fonts:
\setsansfont{DejaVuLGCSans}[
	Path		= fonts/dejavu/sans/ ,
	Extension	= .ttf ,
	BoldFont        = *-Bold ,
	ItalicFont      = *-Oblique ,
	BoldItalicFont	= *-BoldOblique ,
	UprightFont	= * ,
]

EVERYTHING WORKS AS EXPECTED!
But is it possible use \setsansfont, like above, with a Type 1 font?
I discovered that the UprightFont is called leclq8.pfb so I tried
\setsansfont{leclq8}[
	Path		= fonts/dejavu/sans/ ,
	Extension	= .pfb ,
	UprightFont	= * ,
]

BUT IT DOESN'T WORK!
(compiled with latexmk -interaction=nonstopmode -synctex=1 -lualatex ./foo.tex)
Then I read the documentation of luaotfload and I found at page 11

So I'm a bit confused because I don't understand if it is possible use a Type 1 font, like above.

Please note this is a bug report form, not a support forum, stackexchange or similar would be more suitable for general questions.
To give a reasonable interface to T1 encoded fonts you neeed to disable most of the Unicode handling, just loading the font does not do anything reasonable, even if it does not give errors.
For example the ec-lmr10 example you give produces

from
\documentclass{article}
\begin{document}
\font\lmromanten = {file:ec-lmr10} at 10pt \lmromanten

«Gruß»

\end{document}


Update the required dependencies

What are the required dependencies of kerchunk? Right now https://github.com/fsspec/kerchunk/blob/6b57f0620c9e1e55206523ac54dadf60830b0935/requirements.txt has ujson on fsspec.
Working with HDF5 files (https://github.com/fsspec/kerchunk/blob/main/kerchunk/hdf.py) seems to require h5py, zarr (and numcodecs), and numpy.
combine requires those plus xarray  and dask (since it uses chunks={}).
So I'd recommend the additional requirements

h5py
zarr
numcodecs
numpy
xarray
dask[array]

It probably makes sense to have the official deps be more comprehensive indeed. The original idea was, that you should be able to get the offsets for some grib or CSV without needing the rest of the things - but it's easy enough to install everything, given that makers of references will be far fewer than consumers. For now, at least, combined HDF5s will continue to be the most used path.
btw: I don't suppose you need numcodecs and numpy in the list, they are already included in the others.


refactor: disable precompile for v23

Description
To switch release/v23 base branch once created

fyi @fbac


PhoneGap Serve Doesn't Do Nothing and Exits

I reinstalled my Arch Linux because I bought a new SSD and now running phonegap serve does nothing. No errors, no nothing.
~/tmp/ phonegap -v
5.3.6
~/tmp/ cordova -v
5.3.3
~/tmp/ node -v
v5.0.0
~/tmp/ npm -v
3.3.12
~/tmp/ phonegap create test
Creating a new cordova project.

cp: no such file or directory: /usr/lib/node_modules/phonegap/node_modules/cordova-lib/node_modules/cordova-app-hello-world/hooks/*

cp: no such file or directory: /usr/lib/node_modules/phonegap/node_modules/cordova-lib/node_modules/cordova-app-hello-world/config.xml

~/tmp/ cd test
~/tmp/test/ l
drwxr-xr-x    - dagrevis users  7 Nov 15:02 platforms
drwxr-xr-x    - dagrevis users  7 Nov 15:02 hooks
.rw-rw-r-- 5.4k dagrevis users  7 Nov 15:02 config.xml
drwxr-xr-x    - dagrevis users  7 Nov 15:02 plugins
drwxr-xr-x    - dagrevis users  7 Nov 15:02 www
~/tmp/test/ phonegap serve
~/tmp/test/ phonegap help

Usage: phonegap [options] [commands]

Description:

  PhoneGap command-line tool.

Commands:

  help [command]       output usage information
  create <path>        create a phonegap project
  build <platforms>    build the project for a specific platform
  install <platforms>  install the project on for a specific platform
  run <platforms>      build and install the project for a specific platform
  platform [command]   update a platform version
  plugin [command]     add, remove, and list plugins
  template [command]   list available app templates
  info                 display information about the project
  serve                serve a phonegap project
  version              output version number

Additional Commands:

  local [command]      development on local system
  remote [command]     development in cloud with phonegap/build
  prepare <platforms>  copies www/ into platform project before compiling
  compile <platforms>  compiles platform project without preparing it
  emulate <platforms>  runs the project with the flag --emulator
  cordova              execute of any cordova command

Options:

  -d, --verbose        allow verbose output
  -v, --version        output version number
  -h, --help           output usage information

Examples:

  $ phonegap help create
  $ phonegap create path/to/my-app
  $ cd my-app/
  $ phonegap run ios

~/tmp/test/ which phonegap
/usr/bin/phonegap

I tried to Google about missing hooks/ and config.xml, but no luck with that. It's a really bad phrase to search for too.
Where do I dig from here? Thanks.

Hi @daGrevis,
Thanks for all the details!
I think you just happened to upgrade your OS / SSD at the wrong time :) Node v5.0.0 caused one of Cordova's underlining libraries (for promises) to break. Yesterday, we got a release out that addressed the issue and we updated PhoneGap as well.
You can upgrade to<EMAIL_ADDRESS>to fix the issue:
npm install -g phonegap
phonegap -v
5.3.7

While not necessary, you can upgrade to<EMAIL_ADDRESS>to use the Cordova global command:
npm install -g cordova
cordova -v
5.4.0

If you have any problems, just ping me on this issue and I'll reopen it!

Thanks for the quick response! I updated phonegap and cordova and now eveything works fine! :+1:

Great to hear! Have a good weekend @daGrevis!


Improve runtime performance using custom allocator

On several real world shader collections, we are seeing bad runtime performance on Windows. Among various reasons, memory allocation is a significant factor. Too many small separate memory allocations together consume too much time. STL containers do this, and also other places we have explicit new/delete.
We should consider to have a custom allocator to consolidate small allocations and improve runtime performance.

Several approaches:
We can pull in some existing allocator, but if incorporating using CMake, it introduces an additional dependency; thus the requirements on toolchain can change.
Copying in the source code needs to have the same license. And typically it will pull in many source files.
Writing our own and make it good is hard.

I've a tentative implementation of a custom allocator entirely inside SPIRV-Tools and changing STL containers to use the allocator here: https://github.com/KhronosGroup/SPIRV-Tools/pull/1946

We need to set the requirements:

We cannot override new/delete/malloc/free because we are a library.  If the main program does the same, then their allocator will be used.  If they don't then the main program will have to use ours.  This is not good behaviour from a library.

If we use an external project, it must the the right lenience, and will have to work with all of the compilers that we support including MSVS 2013.

Think the questions we need to answer here are:

Is the time spent allocating or deallocting data?
What are the most time consuming data structures to allocate and deallocate?
Are there any special characteristics of the data?  For example, are they POD?
What are the options for existing memory allocators?
What type of memory allocator do we want to use? See https://github.com/mtrebi/memory-allocators for a list and implementation of some basic memory allocators.

is there an option to change the problematic container(s) itself.

std::map and std::unordered_map (and the set variants) are both pretty bad due to a few features they need to provide in the standard that force a allocated-node-per-element based implementation (referential consistency and exchanging nodes between containers come to mind). I don't think those features are actually used here.
Dropping those requirements allow creating for better containers for our purposes.
From a quick look at the pull request most unordered_map and unordered_set are used with a uint32 or a pointer as key and map it to a uint32 or pointer.
The uint32 will always be the instruction results from the input spirV, those should have enough structure to be exploitable.


Added Heap and stack analysis to AFR demos.

Added Heap and stack analysis to AFR demos.
Description
This is my proposal for a demo agnostic and port agnostic heap and stack usage collection. This has been tested on ST port and Windows Simulator. This is to be tested on CI to ensure it works for all demo and board combinations.
TODO: Test on CI
TODO: Add more granular analysis to individual demos. (Eg. Some demos use more than one task.)
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ x] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Some thought -- I do see the urgency for getting some analysis done. Would it be possible to share some analysis and numbers first before merging to master?
And just to confirm -- is the requirement to get stats on demos only, or profiling a system/project memory usage as a whole? (There are quite a few other tasks on ports. And every port has something different. I do agree that getting stats on demos would be the first step. )

Some thought -- I do see the urgency for getting some analysis done. Would it be possible to share some analysis and numbers first before merging to master?
And just to confirm -- is the requirement to get stats on demos only, or profiling a system/project memory usage as a whole? (There are quite a few other tasks on ports. And every port has something different. I do agree that getting stats on demos would be the first step. )

@yuhui-zheng I have some numbers that I can show. I believe the end goal is the profile the whole system but to start by getting demo numbers.

/bot run checks


Error: Cannot find module 'webpack/lib/removeAndDo' when building a project

Do you want to request a feature or report a bug?
Report a bug

What is the current behavior?
Running my build returns an error:
"build": "node ./node_modules/webpack/bin/webpack.js -p",

npm run-script build

Error: Cannot find module 'webpack/lib/removeAndDo'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.

make sure to only have one webpack version installed

That was part of my problem (was trying to update and had an old version... wipe out node_modules and start clean!)  Sorry about that.  Thanks for the quick response.

@nschubach did you solved this problem?

@zengxiaoluan : yeah

wipe out node_modules and start clean!

Same to me. I've just upgraded my webpack to latest version and I got this error

Please try to run npm install or yarn install again.

`C:\my_project\node_modules\webpack-cli\bin\webpack.js:243
throw err;
^
Error: Cannot find module 'webpack/lib/removeAndDo'
...`
When I see into source of webpack/lib I don't see the module. So maybe webpack-cli has wrong reference?

It seems like the file has been removed from version 4.x.x+

Hey @beatlecz did you manage to fix the above? Experiencing the same issue.

do we have a fix for this? i am also experiencing this issue.
"dependencies": {
"@angular/animations": "^4.2.2",
"@angular/common": "~4.2.2",
"@angular/compiler": "~4.2.2",
"@angular/core": "~4.2.2",
"@angular/forms": "~4.2.2",
"@angular/http": "~4.2.2",
"@angular/platform-browser": "~4.2.2",
"@angular/platform-browser-dynamic": "~4.2.2",
"@angular/router": "~4.2.2",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.26",
"@reactivex/rxjs": "^5.5.3",
"@types/sharepoint": "^2013.1.6",
"angular2-toaster": "^6.0.0",
"bootstrap": "^3.3.7",
"core-js": "^2.4.1",
"helpers": "0.0.6",
"rxjs": "^5.5.2",
"sp-pnp-js": "^1.0.6",
"typescript": "^2.8.3",
"zone.js": "^0.6.25"
},
"devDependencies": {
"@types/core-js": "^0.9.34",
"@types/node": "^6.0.45",
"angular2-template-loader": "^0.4.0",
"awesome-typescript-loader": "^5.0.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.23.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.8.5",
"gulp": "^3.9.1",
"gulp-replace": "^0.5.4",
"gulp-spsave": "^3.0.0",
"html-loader": "^0.4.3",
"html-webpack-plugin": "^2.15.0",
"null-loader": "^0.1.1",
"raw-loader": "^0.5.1",
"replace-webpack-plugin": "^0.1.2",
"rimraf": "^2.5.2",
"style-loader": "^0.13.1",
"webpack": "^4.8.3",
"webpack-cli": "^2.1.3"
}

For me extract-text-webpack-plugin was causing the issue.
Older version of this package is not compatible with webpack 4.
Upgrading this package to latest version solved the issue.

For me the issue was caused by extract-text-webpack-plugin module. Older version of this package are not compatible with webpack 4.
As per this comment, updating extract-text-webpack-plugin solved the issue for me.
@paigeflourin  You are using older version of extract-text-webpack-plugin.

From this Usage , have to use for CSS it seems.

I am quite confused that, after run 'yarn', then 'npm start', the problem disappeared!

my case, update package.json, remove webpack older verison devDependencies, then npm i. resolved

Link globally installed package to your project
npm link webpack
Full Code Here

my case, update package.json, remove webpack older verison devDependencies, then npm i. resolved

Could you list off the specific packages you updated?

I easily replicate this issue with the following Dockerfile
Stage 1 BUILD
FROM node:12.7-alpine AS build
WORKDIR /usr/src/app
COPY ClientApp/package.json ./
RUN npm install
COPY ClientApp/. .
RUN  npm run build
the npm run build fails with the Cannot find module 'webpack/lib/removeAndDo' error on a fresh Angular CLI version 9 created website.

I started my React project using CRA(Create React App) and the added server side rendering using Express.
tatic/js/main.6413eec0.js from UglifyJs
SyntaxError: Unexpected token: keyword (XXXX)
And started facing this issue so after going through an article I figured out that by changing webpack version I can fix it. So I have added latedt version of webpack in project. Deleted nodemodule and then did npm i. Still facing this error.
Error: Cannot find module 'webpack/lib/removeAndDo'

I have the same problem
[22:25:27] Error: Cannot find module 'webpack/lib/removeAndDo'
Require stack:
- /Users/projects/task-runner-bundler-comparison/node_modules/extract-text-webpack-plugin/ExtractedModule.js
- /Users/projects/task-runner-bundler-comparison/node_modules/extract-text-webpack-plugin/index.js
- /Users/projects/task-runner-bundler-comparison/webpack.config.js
- /Users/projects/task-runner-bundler-comparison/gulpfile.js
- /usr/local/lib/node_modules/gulp-cli/lib/shared/require-or-import.js
- /usr/local/lib/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js
- /usr/local/lib/node_modules/gulp-cli/index.js
- /usr/local/lib/node_modules/gulp-cli/bin/gulp.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:893:15)
    at Function.Module._load (internal/modules/cjs/loader.js:743:27)
    at Module.require (internal/modules/cjs/loader.js:965:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/Users/projects/task-runner-bundler-comparison/node_modules/extract-text-webpack-plugin/ExtractedModule.js:30:42)
    at Module._compile (internal/modules/cjs/loader.js:1076:30)
    at Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Object.require.extensions.<computed> [as .js] (/Users/mehrdadkarami/projects/task-runner-bundler-comparison/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (internal/modules/cjs/loader.js:941:32)
    at Function.Module._load (internal/modules/cjs/loader.js:782:14)
[22:25:27] 'default' errored after 698 ms

Do not use extract-text-webpack-plugin, please migrate on mini-css-extract-plugin

how to fix this?
[webpack-cli] Error: Cannot find module 'webpack/lib/rules/DescriptionDataMatcherRulePlugin'
Require stack:

c:\xampp\htdocs\employees\node_modules\vue-loader\lib\plugin-webpack5.js
c:\xampp\htdocs\employees\node_modules\vue-loader\lib\plugin.js
c:\xampp\htdocs\employees\node_modules\vue-loader\lib\index.js
c:\xampp\htdocs\employees\node_modules\laravel-mix\src\components\Vue.js
c:\xampp\htdocs\employees\node_modules\laravel-mix\src\components\ComponentRegistrar.js
c:\xampp\htdocs\employees\node_modules\laravel-mix\src\Mix.js
c:\xampp\htdocs\employees\node_modules\laravel-mix\setup\webpack.config.js
c:\xampp\htdocs\employees\node_modules\webpack-cli\lib\webpack-cli.js
c:\xampp\htdocs\employees\node_modules\webpack-cli\lib\bootstrap.js
c:\xampp\htdocs\employees\node_modules\webpack-cli\bin\cli.js
c:\xampp\htdocs\employees\node_modules\webpack\bin\webpack.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (c:\xampp\htdocs\employees\node_modules\vue-loader\lib\plugin-webpack5.js:6:42)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'c:\xampp\htdocs\employees\node_modules\vue-loader\lib\plugin-webpack5.js',
'c:\xampp\htdocs\employees\node_modules\vue-loader\lib\plugin.js',
'c:\xampp\htdocs\employees\node_modules\vue-loader\lib\index.js',
'c:\xampp\htdocs\employees\node_modules\laravel-mix\src\components\Vue.js',
'c:\xampp\htdocs\employees\node_modules\laravel-mix\src\components\ComponentRegistrar.js',
'c:\xampp\htdocs\employees\node_modules\laravel-mix\src\Mix.js',
'c:\xampp\htdocs\employees\node_modules\laravel-mix\setup\webpack.config.js',
'c:\xampp\htdocs\employees\node_modules\webpack-cli\lib\webpack-cli.js',
'c:\xampp\htdocs\employees\node_modules\webpack-cli\lib\bootstrap.js',
'c:\xampp\htdocs\employees\node_modules\webpack-cli\bin\cli.js',
'c:\xampp\htdocs\employees\node_modules\webpack\bin\webpack.js'
]
}

Any solutions?


Bugfix/876 fix make clean-all and building of stanc.d

Submisison Checklist

[x] Run tests: ./runCmdStanTests.py src/test
[x] Declare copyright holder and open-source license: see below

Summary:
Fixes #876 by adding a rule to delete stan/src/stan/*.d files and remove the need to build stanc.d file if not using stanc2.
This also moves the precompiled headers logic to the main makefile file which enables adding the precompiled header to make build if it is used.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Rok Češnovar, Faculty of Computer and Information Sciences, University of Ljubljana
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Closing as develop tests are issueing warnings - see yellow https://jenkins.mc-stan.org/blue/organizations/jenkins/CmdStan/detail/develop/687/pipeline
see: https://jenkins.mc-stan.org/blue/rest/organizations/jenkins/pipelines/CmdStan/branches/develop/runs/687/log/?start=0
I thought it was something related to the Rtools switch on Windows but there are some errors on Linux as well. Looks like the path to the TBB and the test name get merged somehow.
/home/jenkins-slave/jenkins-slave-files/workspace/CmdStan_develop/stan/lib/stan_math/lib/tbb/src/test/interface/metric_test.cpp', IO exception has been thrown:
[Linux interface tests with MPI@GCC4] [-ERROR-] Can't resolve absolute paths for some files:
[Linux interface tests with MPI@GCC4] [-ERROR-] - /home/jenkins-slave/jenkins-slave-files/workspace/CmdStan_develop/stan/lib/stan_math/lib/tbb/src/test/interface/metric_test.cpp
[Linux interface tests with MPI@GCC4] [-ERROR-] Can't create fingerprints for some files:
[Linux interface tests with MPI@GCC4] [-ERROR-] - '/home/jenkins-slave/jenkins-slave-files/workspace/CmdStan_develop/stan/lib/stan_math/lib/tbb/src/test/interface/metric_test.cpp', IO exception has been thrown: java.nio.file.NoSuchFileException: /home/jenkins-slave/jenkins-slave-files/workspace/CmdStan_develop/stan/lib/stan_math/lib/tbb/src/test/interface/metric_test.cpp
[Linux interface tests with MPI@GCC4] [-ERROR-] Can't determine head commit using 'git rev-parse'. Skipping blame.
[Linux interface tests with MPI@GCC4] [-ERROR-] hudson.plugins.git.GitException: Command "/usr/bin/git rev-parse HEAD^{commit}" returned status code 128:
stdout:
stderr: fatal: not a git repository (or any of the parent directories): .git

[Linux interface tests with MPI@GCC4] [-ERROR-] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2372)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2302)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2298)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1857)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1869)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:994)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at hudson.plugins.git.GitAPI.revParse(GitAPI.java:316)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at io.jenkins.plugins.analysis.core.scm.GitBlamer.blame(GitBlamer.java:65)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at io.jenkins.plugins.analysis.core.steps.IssuesScanner$ReportPostProcessor.invoke(IssuesScanner.java:180)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at io.jenkins.plugins.analysis.core.steps.IssuesScanner$ReportPostProcessor.invoke(IssuesScanner.java:148)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3052)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at hudson.remoting.Request$2.run(Request.java:369)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[Linux interface tests with MPI@GCC4] [-ERROR-] 	at java.lang.Thread.run(Thread.java:748)

Will reopen once we fix that.


JupyterLab extensions that only operate within a notebook do not all work in RetroLab

Description
I understand that some JupyterLab extensions that access non-notebook areas in JupyterLab are not yet expected to work in RetroLab. However, something is inconsistent about the way RetroLab handles JupyterLab extensions that operate only within a notebook without modifying anything in the other Jupyterlab areas. Extensions/widgets this is known to impact: plotly
Reproduce

pip install plotly numpy pandas into the environment of JupyterLab/RetroLab.
In a new notebook create a simple data set to plot.

import pandas as pd
import numpy as np
X = [k*np.pi/10 for k in range(-30,30)]
Y = np.sin(X)
df = pd.DataFrame({'X':X, 'Y':Y})
df['size']=df['X']/3/np.pi

Plot it.

from plotly import graph_objects as go
fig = go.Figure()
fig.add_trace(go.Scatter(x=df["X"], y=df['Y'],mode='lines+markers',name='sin(x)'))
fig.add_trace(go.Scatter(x=df["X"], y=df['size'],mode='lines',name='y = x'))
fig.update_layout(template='simple_white')
fig.update_xaxes(mirror='ticks')
fig.update_yaxes(mirror=True)
fig.show()

This works in an .ipynb running in JupyterLab but in RetroLab nothing is displayed.
Expected behavior
Expect the same graph displayed in JupyterLab and RetroLab
Context

Operating System and version: Linux Ubuntu 20.04
Browser and version: FireFox 93.0 or Chromium 95.0.4638.54
JupyterLab version: RetroLab 0.3.11

Thanks @gutow for reporting.
I just opened #262 which should fix the issue (if you want to try it on Binder)


Add roadmap

What?
It adds a roadmap document with 3 sections:

Project mission and summary
How to get involved
Timeline

Why?
Let's make AsyncAPI a welcoming community
Dependencies

https://github.com/asyncapi/asyncapi/pull/106

Extra
I followed this document.

Merging. Feel free to leave comments afterward and I'll handle them in another PR.


Forms validation

ref #62  @mcdonnelldean this works just for add user form for now so you can check it out. Let me know if you are happy with it and if you want to continue using it.
@salmanm would you have a look at this, see if can be improved in any way. I would totally like to hear your feedback :) thanks!

@ckiss Looks good to me.


riscv64: Implement some Zbs extension lowerings

This commit extends the riscv64 backend with instructions from the Zbs extension. I did this awhile back for the bmi{1,2} instructions for x64 and this is mostly for completeness's sake rather than performance or anything like that, and because I had a long plane ride!

I'm not sure if these are really all that common enough in practice to warrant new CLIF instructions, especially given that the lowerings aren't too bad to have, but it's also true though that if every platform has a variation of this then it might be reasonable to add.
I do think though that the suite of instructions on x64 is different than on riscv64, for example riscv64 has more immediate-related instructions because on x64 you can fit an entire 32-bit immediate into an instruction but you can't do that on riscv64. That means that bclri is motivated on riscv64 (or at least that's my inference as to the assumption), whereas on x64 there's only the bclr equivalent (or roughly speaking I think)


Sharing violation on Android using Xamarin Forms

Hi,
Have randomly been getting the following error:
Unable to retrieve image data
System.IO.IOException: Sharing violation on path /data/user/0/<project>/cache/ImageService/7b8116362b9408c1d5e7437479980e90

Unfortunately I'm unable to provide an example to replicate the issue as it happens randomly. The app I'm using your awesome package with does a lot of image downloading on app load so perhaps there's too much happening at once?
Here's the full stack trace:
System.IO.IOException: Sharing violation on path /data/user/0/<project>/cache/ImageService/7b8116362b9408c1d5e7437479980e90
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x0026d] in /Users/builder/data/lanes/2185/53fce373/source/mono/mcs/class/corlib/System.IO/FileStream.cs:257
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [0x00000] in /Users/builder/data/lanes/2185/53fce373/source/mono/mcs/class/corlib/System.IO/FileStream.cs:157
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access) [0x00000] in /Users/builder/data/lanes/2185/53fce373/source/mono/mcs/class/corlib/System.IO/FileStream.cs:92
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess)
  at FFImageLoading.IO.FileStore.GetOutputStream (System.String path) [0x00000] in <filename unknown>:0
  at FFImageLoading.Cache.DiskCache+<AddOrUpdateAsync>c__async0.MoveNext () [0x00072] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2185/53fce373/source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:477
  at FFImageLoading.Cache.DownloadCache+<DownloadAndCacheAsync>c__async2.MoveNext () [0x003b6] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2185/53fce373/source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.IO.MemoryStream].GetResult () [0x00000] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:580
  at FFImageLoading.Cache.DownloadCache+<GetStreamAsync>c__async1.MoveNext () [0x00102] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2185/53fce373/source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[FFImageLoading.Cache.CacheStream].GetResult () [0x00000] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:580
  at FFImageLoading.Work.StreamResolver.UrlStreamResolver+<GetStream>c__async0.MoveNext () [0x0008f] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2185/53fce373/source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[FFImageLoading.Work.WithLoadingResult`1[System.IO.Stream]].GetResult () [0x00000] in /Users/builder/data/lanes/2185/53fce373/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:580
  at FFImageLoading.Work.ImageLoaderTask+<GetStreamAsync>c__async5.MoveNext () [0x000e4] in <filename unknown>:0

@molinch We could insert a lock with a new separated lock object, only for an image files write operation. It would force only one file write at a time but on mobile devices it could actually have a positive performance impact. What do you think?

http://forum.xda-developers.com/showthread.php?t=1176334

@ahohns Could you give me a list of URL examples?
Yes we can have some locking mechanism. I will check and try to repro first.

@molinch Link: https://github.com/daniel-luberda/FFImageLoading/commit/a760ba920411a7ce8f30ce59857ee507cbcdcb49 What do you think about it?

Hi @ahohns. There were some changes in 2.0.0-alpha4 - now, FFImageLoading queues file saving operations, so it shouldn't throw "too many open files" exceptions or sharing violations. If you still experience this bug - let us know. Thanks.

Thanks, love the effort you guys are putting in :)  I haven't seen the issue again, and will try out alpha4 cheers!

Thanks :)
If you haven't seen the issue, I'll close it. Feel free to reopen it if you experience it once again.


Randomize developers on home page

This randomizes the developers who are added to the home page, but caches them so that it stay stable for 1 day. This is coming from discussion #721.
I don't currently see any caching being using in the app, but you do have Sidekiq. If you like this solution, are you wanting to using Redis in production?

Thanks for the PR @jbennett! I'm going to close this for now as I don't think that randomizing developers is the right approach. Even if they are cached.
But if I do decide to go that route I'll make sure to re-open this. Thanks again!


[CT-26] Pre-hooks should be conditional while runnning a DBT job

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
Here is an observation, let's say if we are deleting data from the same table in pre-hook and if there is metadata change and even though we are running with the  Full-refresh option it's failing as the Delete statement is using a new attribute, now I understand that this might be working as designed but I think if we are saying Full-refresh then ideally the pre-hook part should be skipped if there is any DML operation happening on the same table, else there needs to be a manual intervention of dropping the table first and checking if the table exists then only run the pre-hook.
Now if we have an option in the dbt build/run the command as a boolean value to select the pre-hook that needs to be run that will enable us not to drop the table in case there is any metadata change.
Describe alternatives you've considered
There needs to be a manual intervention of dropping the table first and checking if the table exists then only run the pre-hook .
Who will this benefit?
This will beneficial during deployment as the developer can just pass an option and skip the pre-hook and not involve the DBA.
Are you interested in contributing this feature?
I would ave loved to but my work schedule is too demanding right now
Anything else?
I have spoken with Sung and he also sees value in this so I am pretty sure others will as well, as the idea is to make DBT  more stateless.

@AuroChowdhury-UA, can you provide a code snippet of the pre-hook you're running that outputs conditional results? I can see a pre-hook exiting its functionality similar to how python has sys.exit() depending on the query results.
For the actual feature, do you imagine a command like?: dbt run --skip-pre-hook

Sure .
@Saini, Deepak @.***> Can you please provide the same ?
From: sungchun12 @.>
Sent: Tuesday, January 25, 2022 2:19 PM
To: dbt-labs/dbt-core @.>
Cc: Chowdury, Aurobrata Roy (C) @.>; Mention @.>
Subject: Re: [dbt-labs/dbt-core] [CT-26] Pre-hooks should be conditional while runnning a DBT job (Issue #4555)
CAUTION: This email originated from outside of the organization. Do not click on links or attachments unless you recognize the sender. Forward suspicious emails to:
<EMAIL_ADDRESS>@AuroChowdhury-UAhttps://github.com/AuroChowdhury-UA, can you provide a code snippet of the pre-hook you're running that outputs conditional results? I can see a pre-hook exiting its functionality similar to how python has sys.exit() depending on the query results.
For the actual feature, do you imagine a command like?: dbt run --skip-pre-hook
—
Reply to this email directly, view it on GitHubhttps://github.com/dbt-labs/dbt-core/issues/4555#issuecomment-1021617642, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS35443J5VMMINLI4ZMWK4LUX4HS3ANCNFSM5LNGEHBA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hey @AuroChowdhury-UA, @jtcohen6 also mentioned that there are also (flags)[https://docs.getdbt.com/reference/dbt-jinja-functions/flags] you can access in pre-hook logic/macro, including flags.FULL_REFRESH (true/false) and flags.WHICH (run, build, test, etc), and use that to condition the hook logic accordingly.
But we kind of believe that the intended use case is a bit of dbt anti-pattern since we encourage all DML/DDL should live in the materialization logic, which can be fully context / invocation-aware. Also doing so might cause the model SQL to no longer be an idempotent transformation(if the prehook accidentally runs twice, no guarantee it will yield the same results).


Update backlinks to client libraries page

Some links were still going to the old location hosted on github. Fixing those.

This change is

/assign @zacharysarah