feat: update lifecycle logic to handle - after prefix

I don't think that this should affect any. I am working on a plugin for yarn 2 to add lifecycle handing.
As they say in their docs using just pre and post can have odd side effects. The plugin I am creating will use pre- and post- as the prefix. I use this package and wanted to keep using it without patching it per project to make use of it.
From yarn docs.
In particular, we intentionally don't support arbitrary pre and post hooks for user-defined scripts (such as prestart). This behavior, inherited from npm, caused scripts to be implicit rather than explicit, obfuscating the execution flow. It also led to surprising executions with yarn serve also running yarn preserve.

I am unsure why eslint is failing it is not failing locally when I run it.

Any docs suggest pre- instead of pre ?

No I have not. I had looked over a lot of names that come up and I felt that even if it was used most uses causes like pre-commit would likely be fine with being sorted near and around other commands like it anyway.
I was looking for a way to add a new way to do lifecycle hooks that would not match other known ones, but a naming format that would still work even if someone was not needing it.
The main reason I went with using - was that it would avoid issues with words inadvertently matching.


Create TreeBuilder with root defined.

Fix for 'A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.'

We are also experimenting this issue. Is it possible to take a look ?
The patch seems good, Symfony uses the same technique : https://github.com/symfony/monolog-bundle/pull/281/files

Hi! I just tested it, and it works nicely in Symfony 4.2! :)


fix: make jx gitops kpt update not add update too much

also removing archived repository jx3-gke-gcloud-vault

/cc tomhobson JordanGoasdoue Skisocks mentlak0

/approve

/retest

/retest


Command to reorder parameters/array items

It would be a really nice productivity feature to be able to change the order of comma-delimited words.
So, if you have...
getIngredients("lettuce", "tomato", "bacon")
...and you put your cursor somewhere inside bacon then execute Alt+← twice, you get...
getIngredients("bacon", "lettuce", "tomato")
Note that doing this by hand requires some combination of selecting-deleting-retyping or separately dragging and dropping both the item and the comma-space. This may sound like a small thing, but it's tedious and time consuming when you are doing a lot of refactoring.
This might also be nice with other types of delimiters, such as space, pipe, or semicolon, but I suspect that might get too complicated, and I think comma is by far the most common use case.

This would be quite a useful extension - might see if I can come up with something over the weekend...

Here you go: https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.shifter
I couldn't get it to work with Alt+left twice, so it uses Alt+S left instead.
Feedback welcome!

Amazingly fast turnaround on that! Much appreciated. On my Windows machine, Alt+S+arrow doesn't work, however. I can only seem to get it to work via the command palette. This is already helpful, though.

I'll see if I can get the keys to work - you can define other keys if you want though. I did try with Cmd+left (twice) but I tend to use Cmd+left repeatedly at other times so that would have caused problems...

Hmm - Alt+S works for me on my Windows 7 machine - you need to let go of the Alt key before pressing left or right though.
There is an issue on Ubuntu though, so I might change the default bindings.

Ohh, that was my problem, I was holding down Alt the whole time. So, yes, it does work!

@Gruntfuggly right now in a large refactoring session and boy does this extension save time and keystrokes. Great work 👍


message view: Floating recipient bar off in wide screens.

This is at 1440 pixels wide:

The bottom compose box is off as well

ok, these are fixed on reload, so it's likely a bug in our resizing logic (javascript), rather than our CSS.
Also not able to repro after reload.

(If anyone wants to try reproducing this I'd try playing around with resizing the window to various sizes.  If we can reproduce, we can fix; my guess is the bug is somewhere in resize.js)

Okay, spent a good amount of time reproducing this but no success yet (Chrome + Firefox + macOS).

This bug came up again today.
Before it appeared, I had my browser window for chat.zulip.org open on a larger monitor display. I disconnected the monitor by just pulling the HDMI cable connected between my laptop and the monitor, and then immediately put my laptop to sleep by closing it.
I can try to reproduce this again with the same monitor setup later.

If I remember correctly, the width of the browser on the larger monitor, prior to disconnecting, was greater than the maximum width of the browser on my laptop screen.

I bet that this is a bug in the logic in resize.js that changes the sizes of things when a window is resized.  @jackrzhang you might need to do some console.log debugging inside static/js/scroll_bar.js and/or static/js/resize.js related to this with your reproducer.  Probably the latter, but I'm not sure.

Since in 4dfe3d36e0c4373ea7f30daa894a4f195330e49c floating recipient bar was removed, this issue is no longer relevant.


OrcReaderTest: Copy test input files to the binary dir

This is a follow-up PR of #10194 to address test failures in the out-of-source build:
E20240728 Exceptions.h:67] Line: velox/velox/common/file/File.cpp:112, Function:LocalReadFile, Expression:  No such file or directory: cmake-build-debug/velox/velox/dwio/orc/test/examples/TestStringDictionary.testRowIndex.orc, Source: RUNTIME, ErrorCode: FILE_NOT_FOUND
E20240728 Exceptions.h:67] Line: velox/velox/common/file/File.cpp:112, Function:LocalReadFile, Expression:  No such file or directory: cmake-build-debug/velox/velox/dwio/orc/test/examples/complextypes_iceberg.orc, Source: RUNTIME, ErrorCode: FILE_NOT_FOUND
E20240728 Exceptions.h:67] Line: velox/velox/common/file/File.cpp:112, Function:LocalReadFile, Expression:  No such file or directory: cmake-build-debug/velox/velox/dwio/orc/test/examples/orc_index_int_string.orc, Source: RUNTIME, ErrorCode: FILE_NOT_FOUND
E20240728 Exceptions.h:67] Line: velox/velox/common/file/File.cpp:112, Function:LocalReadFile, Expression:  No such file or directory: cmake-build-debug/velox/velox/dwio/orc/test/examples/TestOrcFile.testDate1900.orc, Source: RUNTIME, ErrorCode: FILE_NOT_FOUND
E20240728 Exceptions.h:67] Line: velox/velox/common/file/File.cpp:112, Function:LocalReadFile, Expression:  No such file or directory: cmake-build-debug/velox/velox/dwio/orc/test/examples/orc_all_type.orc, Source: RUNTIME, ErrorCode: FILE_NOT_FOUND

Velox won't copy files to build folder, If you use vscode to debug, you can try https://github.com/apache/incubator-gluten/blob/main/docs/developers/NewToGluten.md#velox-debug.
Otherwise, you could search which command is similar to cwd in vscode launch.json or copy the folder by yourself.

You can also run the test from TestFile folder such as
/mnt/DP_disk1/code/velox/velox/dwio/parquet/tests/reader# /mnt/DP_disk1/code/velox/build/velox/dwio/parquet/tests/reader/velox_dwio_parquet_reader_test

@jinchengchenghh https://github.com/apache/incubator-gluten/blob/main/docs/developers/NewToGluten.md#velox-debug has fixed in #8460. You probably want to update the doc in Apache Gluten (incubator).


Add support for OpenXR controller model

Overview
Adds support for the controller render models via OpenXR.
Also works in-editor!

Changes

Fixes: #9699

/azp run

Is there any chance we can reuse the code?

We can! I started going down this path a couple days ago, refactoring out a MixedRealityControllerModelCreator that's responsible for more fully setting up the controller (more than just providing the model). This would also de-dupe code in a few other controllers, like https://github.com/microsoft/MixedRealityToolkit-Unity/blob/4bc46b31fd90bc9282096891dbf1ac53b956d8bf/Assets/MRTK/Providers/WindowsMixedReality/XRSDK/Controllers/WindowsMixedRealityXRSDKMotionController.cs#L155-L203.
I ended up dropping that thread after i realized i couldn't refactor out as much as I had wanted, due to the original implementation using inheritance to define TryAddControllerModelToSceneHierarchy. I'll revive the work though and see what I can do!

Looks good to me barring the same comments on potentially deduping code that Max had.

/azp run

@MaxWang-MS @RogPodge I refactored out MixedRealityControllerModelHelpers to de-dupe some of that code!


return error on verification functions

On the SDK implementation, we updated ICS23 to return an error when the verification failed. Would it be possible to do the same here now that we doing the migration?
cc: @cwgoes @AdityaSripal
https://github.com/confio/ics23/blob/9f53dd0c42123f18211f8671500d257696fd32e0/go/ics23.go#L36
https://github.com/confio/ics23/blob/9f53dd0c42123f18211f8671500d257696fd32e0/go/ics23.go#L52

It turns out, without needing to support compressed or batch proofs, we can use the proof.Verify(...) function directly. I've updated that in ibc-go here. We are choosing not to change the VerifyMembership and VerifyNonMembership functions to avoid unnecessary disruption


Support P2WSH by bitcoind-wallet getNewAddress function

getNewAddress function is now able to generate P2WSH address.

Works for me!
Just tested it out in the command line:
❯ bitcoind-wallet getNewAddress p2wsh
(node:85945) ExperimentalWarning: The ESM module loader is experimental.
(node:85945) ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time
bcrt1qdmd4w9grunkvwn4ts2vp66cnfk3szl485z4wddqp2pv2ewypvq5q5su5q7

and the code looks fine. May as well get this merged in :tada:


Affirm Universe Package config titles are utilised with tests and fixtures

We are already using the title attribute in Universe Package configs, this PR is to affirm this to fixtures and tests.

Apart from my one small comment

done!


Only show Followers that current user can access (#20220)

Backport #20220
Users who are following or being followed by a user should only be
displayed if the viewing user can see them.
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

make lgtm work


How do I import these settings in my iterm ?

The profile settings are specifically meant for Terminal.app! If you get it working in iTerm2 let me know.


How to refresh metadata on indexer

this item from indexer return #402: https://canary.koda.art/ahk/gallery/379-3210350593
subscan already provided the correct sn #403 without refreshing something: https://assethub-kusama.subscan.io/nft_item/379-3210350593

you have to reindex it

Have you checked if indexer is not stucked?

indexer not stuck, i still can mint the next drop adterwhile


feat(examples): add metric for latest l2 reference safe head update

Description
Adds a metric to track the latest time that the reference l2 safe head has been updated. This effectively tells us the liveliness of trusted-sync, while also making sure that the reference safe head is updating for the other alerting.

#375  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @refcell and the rest of your teammates on  Graphite

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

Project coverage is 77.8%. Comparing base (0cb5955) to head (372baaf).

Additional details and impacted files

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


Add monster test that indexes 1M vectors

This is a rough draft of a large-scale test for kNN vectors.
It tests a large dataset of kNN vectors to check for issues that only show up when
segments are very large, like overflow. The dataset is based on the StackOverflow
track from Elasticsearch's rally benchmarks: https://github.com/elastic/rally-tracks/tree/master/so_vector.
I tried developing a test using random vectors, but HNSW can become quite slow
and ineffective when the data doesn't have structure.
Steps to run the test

Download the dataset: wget https://rally-tracks.elastic.co/so_vector/documents.bin
Move the dataset to the resources folder: mv documents.bin lucene/core/src/resources/
Start the test: ./gradlew test --tests TestManyKnnVectors.testLargeSegment -Dtests.monster=true -Dtests.verbose=true -Dorg.gradle.jvmargs="-Xms2g -Xmx2g" --max-workers=1

Relates to #11863.

I love this idea of a "high scale" KNN monster test!  It can catch overflow exceptions that we otherwise miss, and @rmuir hit a spooky exception that might be just such an example?  @jtibshirani can we finish iterating on this PR and roll this test into Lucene, at least when running the @Monster tests?


Use S, V in hue bar of ColorPicker

Hmm, are other software doing it like this ? I suppose it's a more adequate way to visualize what will happen when you change the slider, but on the other hand it kind of make it impossible to set the hue first when the color defaults to white.

Hmm, are other software doing it like this ?

I've seen this in GIMP

it kind of make it impossible to set the hue first when the color defaults to white.

Yeah, that could be an issue. On the other hand, setting hue first has no effect, so displaying it as white is more accurate.

btw OKHSL color mode has similar behavior (and issues...):

Does https://github.com/godotengine/godot/pull/67534 resolve any of these issues?

Not really. Not sure if it's even fixable, because technically the colors are displayed correctly. So it's just sliders are not very useful for OKHSL.

Rebased. I also added the same for OKHSL. This mode is weird, because changing hue seems to affect brightness, but well 🤔
https://user-images.githubusercontent.com/2223172/199502304-5d3689d7-eca3-4615-a88c-da4bdfec1eeb.mp4
tbh I'm not 100% sure about this change either. It makes the displayed color more accurate at a cost of some usability.  I opened the PR because it bothered me that hue bar doesn't change.

For reference, GIMP's color picker behaves this way too – it displays previews on all sliders when in HSV mode:

Rebased. I also fixed OKHSL mode (it was using HSV functions).

GitHub did not pickup my push for whatever reason 🤔

That's strange, I see your latest commit on your fork: https://github.com/KoBeWi/Godot/tree/🍝
That said, static checks are failing.

Static checks are outdated.

I am still unable to revive this. I'll reopen a new PR with a new branch.


Fix Python setup-time diagnostics

Woops. Also fixes #8004, because I screwed up my branches and, well, the fixes are separate commits and not complicated so this shouldn't be too much of a review hassle and has a negligible effect on forensics.

Please document failures.


balances.transferKeepAlive - Not Supported on Ledger

balances.transferKeepAlive
Not supported
Kusama app v7.9111.0
#104 -- The issue remains on balances.transferKeepAlive! See above. I am using v7.9111.0 and the issue persists.

I confirmed I can send a normal transfer without keep alive checks
but it's "Not Supported" when attempting to transfer with keep alive checks

I have same issue also with the "without keep alive checks"
Ledger updated with firmware 2.0 but nothing chaged.
...It's not funny to have the founds blocked in this way!!!

This was submitted a few weeks ago in this PR
https://github.com/LedgerHQ/app-kusama/pull/12
Funds are not blocked, however, in the Light version it is not possible.
Until Ledger releases the update, you can install the XL version of the app that supports a wider range of tx types.


MessageBox chopped off with MaxWidth

If I have a long message and have MaxWidth set then the button and message get chopped off. The Grid in MessageBoxWindow should have a MaxWidth="{Binding MaxWidth}".

I ran into the same issue and it's frustrating especially because I often have to show long messages. Is there a solution?

As I see, it's fixed. If no - reopen.

As I see, it's fixed. If no - reopen.


C.RAND_bytes is missing

I need the random bytes from openssl package but it seem not to be implemented. What do i need to put into shim.h and shim.c to get the binding working? Thank for your help~

The purpose of shim.h and shim.c is to allow interoperability with different OpenSSL versions. If the call you're looking to expose is the same across all the versions that are supported, you can just ignore them and call it directly in the go file.

Is there a way to call RAND_bytes() without forking the openssl package?


In the omp branch, the server crashes when the player spawn

Command failed with exit code<PHONE_NUMBER>.
Related to the allowMultibyteNicknames function, after using it the player can enter any multibyte language, but the server will crash when the player spawn.

Currently only support the decimal number of bytes from 0 to 232, for 233 to 255 temporarily can not support, because that will cause the server to crash when the player spawn, depending on whether the native function of the omp side can be better supported after.


ETH wallet bug affecting the Android App

Describe the bug
ETH wallet is not updated, the data do not show up anymore so no way to unstake with Trust wallet (tested with versions 8.11 to 8.12.2)
To Reproduce
Open Trust Wallet and select the ETH wallet with ongoing staking and click on "Native staking".
Android 7.0 MIUI 11 (Xiaomi)
Expected behavior
ETH wallet get updated, data showed and unstaking possible.
Screenshots

Additional context
Re-installing your wallet or cleaning all the App data "fix" this issue for few minutes (importing an existing multicoins wallet).
With or without VPN didn't changed this issue.
It happened to briefly show the informations fine some very rare times but i wasn't able to understand what could have triggered it.
Since your Android wallet is not open source, feel free to relay this issue to the App team.
Thanks

Hi @Sami32, this issue is not related to the wallet core repository, please create a ticket here if u believe there is a bug in the application: https://support.trustwallet.com/en/support/tickets/new


User token support?

We're interested in using Discore as a discord client library for Users, not bots. Is this possible in the current version?

Currently this is not possible, Discord's API is only for use with bots, user authentication isn't publicly documents nor supported.

Huh, Discord.Net seems to have support for it.

And the authentication flow is documented, we have implemented a system which acquires the user token.

To elaborate on this a little more: the Discord developers have stated that their API is intended only for bots as of about a year ago. While technically you can authenticate as a user and use the documented API bits to make a basic client, it's not meant to be used this way.
We're just trying to respect this by keeping Discore under the scope of bot applications.
If their stance on this has changed recently, please correct me however.

I do understand that some of the other .NET Discord libraries support normal user authentication, however those libraries were around before Discord stated that they only wish to support proper bots. Discore was a little late to the party, so we decided to only support bots.

Apologies for splitting this into so many comments.
I should clear up my explanation here. Yes, you can use some of the API via normal OAuth. There are some things supported by Discord. I had forgotten about that. However, it's only a handful of HTTP endpoints. As noted here, only bots are allowed to use WebSocket API, which Discore heavily focuses on. Since only a very small subset of the HTTP API is meant for non-bots, Discore opt-ed out for supporting it.
Sorry for any confusion about our stance.


Suppress double home for each attempt

An update to prevent double homing for each attempt.
Add a prehome before attempt loop and store home pos in _posttest for the next attempt.
Reduce the speed/acceleration for the positioning movement: if these values are not adjusted in the klipper configuration before measuring them, we can lose step in the positioning before each attempt and this will disturb the measurement.

Reducing the accel/velocity is a good addition! I'll test home_steps on my printer and then merge. Thank you!


[Crash] Assert_failure lib/proposer/proposer.ml:539

G1 elements in proof: 4
G2 elements in proof: 2
Proof size in bits: 7536
Elements of w skipped: 17968 (7.22%)
Elements of w processed with special addition: 10870 (4.37%)
Elements of w remaining: 220089 (88.42%)
Elements of w skipped: 17541 (14.96%)
Elements of w processed with special addition: 10625 (9.06%)
Elements of w remaining: 89062 (75.97%)
Elements of w skipped: 17968 (7.22%)
Elements of w processed with special addition: 10869 (4.37%)
Elements of w remaining: 220088 (88.42%)
G1 elements in proof: 2
G2 elements in proof: 1
Proof size in bits: 3015
Elements of w skipped: 1898 (5.43%)
Elements of w processed with special addition: 364 (1.04%)
Elements of w remaining: 32697 (93.53%)
Elements of w skipped: 777 (4.55%)
Elements of w processed with special addition: 364 (2.13%)
Elements of w remaining: 15925 (93.31%)
Elements of w skipped: 1897 (5.43%)
Elements of w processed with special addition: 363 (1.04%)
Elements of w remaining: 32696 (93.53%)
G1 elements in proof: 4
G2 elements in proof: 2
Proof size in bits: 7536
Elements of w skipped: 21499 (26.14%)
Elements of w processed with special addition: 9872 (12.00%)
Elements of w remaining: 50885 (61.86%)
Elements of w skipped: 21013 (35.83%)
Elements of w processed with special addition: 9679 (16.51%)
Elements of w remaining: 27948 (47.66%)
Elements of w skipped: 21499 (26.14%)
Elements of w processed with special addition: 9871 (12.00%)
Elements of w remaining: 50884 (61.86%)
G1 elements in proof: 2
G2 elements in proof: 1
Proof size in bits: 3015
Elements of w skipped: 1922 (5.50%)
Elements of w processed with special addition: 340 (0.97%)
Elements of w remaining: 32697 (93.53%)
Elements of w skipped: 801 (4.69%)
Elements of w processed with special addition: 340 (1.99%)
Elements of w remaining: 15925 (93.31%)
Elements of w skipped: 1922 (5.50%)
Elements of w processed with special addition: 338 (0.97%)
Elements of w r2019-12-11 12:00:00 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
exn: "(monitor.ml.Error "Assert_failure lib/proposer/proposer.ml:539:16"\n  ("Raised at file \"lib/proposer/proposer.ml\", line 539, characters 16-183"\n    "Called from fil
e \"src/result.ml\", line 151, characters 9-15"\n    "Caught by monitor coda"))"
coda_crash_report_2019-12-11_12-00-00.240329.tar.gz

            assert (
              Consensus.Hooks.required_local_state_sync ~consensus_state
                ~local_state:consensus_local_state
              = None ) ;

From the coda.log
[2019-12-11 11:59:58.478028]Network_pool__Snark_pool: Verification of work 649814937 took 1.3508796691894531 ms
[2019-12-11 11:59:58.949732]Network_pool__Snark_pool: Verification of work 967336483 took 1.35040283203125 ms
[2019-12-11 11:59:59.035133]Trust_system__Peer_trust: Decreasing trust for peer "<IP_ADDRESS>" due to Trust_system.Actions.Connected. New trust is -0.032471.
[2019-12-11 11:59:59.385570]Network_pool__Network_pool_base: Broadcasting Snark_pool_diff for work [649814937,967336483] added with fee-prover {\"fee\":1,\"prover\":\"tdNEDdTE3BdcmopBvBGwdAB
XHySBvd2GqQruriNqK4qxLdBsu2xJqQ9wR3PRAthSFDopgHzmQJtr9TmShDZdQoJCLC4mhQ8EGFi1KwYnjBFYvATwijUN5UzSrgmHJ87M6Fx3tbu87QAMTr\"}
[2019-12-11 11:59:59.622957]Coda_networking: Broadcasting snark pool diff over gossip net
[2019-12-11 11:59:59.623999]Gossip_net: broadcasting message: "snark pool diff"
[2019-12-11 11:59:59.624095]Network_pool__Network_pool_base: Pool diff apply feedback: fee equal to cheapest work we have
[2019-12-11 12:00:00.000897]Init__Coda_run: Unhandled top-level exception: $exn
Generating crash report
$exn = "(monitor.ml.Error \"Assert_failure lib/proposer/proposer.ml:539:16\"\n  (\"Raised at file \\\"lib/proposer/proposer.ml\\\", line 539, characters 16-183\"\n    \"Called from file \\\"
src/result.ml\\\", line 151, characters 9-15\"\n    \"Caught by monitor coda\"))"

Thank you @gregbostrom ! I don't believe we've seen this before -- cc @nholland94

Had another occurrence.
$ cat coda.version
bd5715a3f00754869498083b2506db776a7047e2

[2019-12-14 00:00:00.000936]Init__Coda_run: Unhandled top-level exception: $exn
Generating crash report
$exn = "(monitor.ml.Error \"Assert_failure lib/proposer/proposer.ml:539:16\"\n  (\"Raised at file \\\"lib/proposer/proposer.ml\\\", line 539, characters 16-
183\"\n    \"Called from file \\\"src/result.ml\\\", line 151, characters 9-15\"\n    \"Caught by monitor coda\"))"

coda_crash_report_2019-12-14_00-00-00.240337.tar.gz

Yet another occurrence.
coda_crash_report_2020-01-11_12-00-00.520219.tar.gz
$ cat .coda-config/coda.version
bd5715a3f00754869498083b2506db776a7047e2

[2020-1-11 12:00:00.000281]Init__Coda_run: Unhandled top-level exception: $exn
Generating crash report
$exn = "(monitor.ml.Error \"Assert_failure lib/proposer/proposer.ml:539:16\"\n  (\"Raised at file \\\"lib/proposer/proposer.ml\\\", line 539, characters 16-183\"\n    \"Called from file \\
\"src/result.ml\\\", line 151, characters 9-15\"\n    \"Caught by monitor coda\"))"

Possibly related to #4028. I will write up some more details (including a diagram) of the the edge case documented in that issue. Unfortunately, our current logging around this situation isn't robust enough to easily determine whether or not this error is caused by #4028, but I think that's a good spot to start. Do you happen to know, for these crashes, if they happened relatively close to performing a Bootstrap (as in, did they happen within an hour or so of starting), or did these crashes happen after your nodes were running for an extended period of time?

The last crash definitely happened close to a bootstrap.  I just don't remember about the first two but it's certainly possibly.

Closing this issue as it is stale for a long time.


New version OVERWROTE MY settings.json!!!!

Issue Type: Bug
While I had several workspaces open on an instance of VS Code on Linux, in one of them I ran code -r <file> to open a new file (navigating "file explorers" is tedious and time wasting at best when one knows the path to a file to open) to open a new file.
I got a new VS Code window open with just that one file in it and a tab showing me what is new with a new VS Code version rather than ust getting a new tab in the existing instance.
But what is more, and very infuriating, is that that new window overwrote my settings.json completely wiping all of my previous settings!!!
I even closed the new window first and then closed the existing VS Code instance but it did not overwrite the new settings.json with the old content and now my previous settings.json are now IRREVOCABLY GONE!
This is a critical issue that absolutely must be fixed.  New VS Code instances should not be opened when existing ones are open and no overwriting of any configuration should be a result.
 You can email it to me if you prefer. I'd like to try to check whether it looks like a brand new user data dir, or an old one that was corrupted.
I assume that at the moment you did this, the previously opened vscode windows also had their settings wiped?
@deepak1556 checking whether you have heard of something like this. The user opened a file with the code CLI and seemingly got a fresh user-data-dir.

Well, you can click around in there and see whether you notice any files that predate this happening. I don't know exactly what to look for.

I mean looking at timestamps. For example there can be socket files from old versions that go in there.

This can happen when there are multiple processes trying to write into same file. I made sure we write into settings.json file only from main process. It means all opened windows request main process to update settings.
@brianjmurrell In your case, it seems multiple mains (older version and newer version) of VS Code are spawned and therefore two processes are writing into same file at the same time and causing this. May I know if you have settings sync on?


Timers should be on PST even on Heroku pods

Resolved with the following command:
heroku config:add TZ="America/Los_Angeles"


Win32 sample app crashes on GTX 960 M as of commit #25

The full error that seems to be the cause of the crash is pasted below. I believe it has to do with the absence of a GPU feature (presumably VPRT) which is required as of commit #20. I also experience issues with the UWP app, but I have not yet confirmed that it's the same issue. Commit #19 functions on my machine and unblocks me for now.
D3D11 ERROR: ID3D11Device::CreateVertexShader: Shader uses ability to feed viewport and/or array index from any shader feeding the rasterizer, but the device does not support this. To check for support, check device caps via the CheckFeatureSupport() API [ STATE_CREATION ERROR #166: CREATEVERTEXSHADER_INVALIDSHADERBYTECODE]
Exception thrown at 0x00007FFB28F2A839 in BasicXrApp_win32.exe: Microsoft C++ exception: _com_error at memory location 0x00000046DBBDDED0.
Exception thrown at 0x00007FFB28F2A839 in BasicXrApp_win32.exe: Microsoft C++ exception: std::logic_error at memory location 0x00000046DBBDDD38.

This sample now demos the best practice for OpenXR running on Hololens and therefore used VPRT.   If you need to run this sample in older GPU you have to stay before the #19, or upgrade your GPU ;).
We will consider to fork more samples in different tech    At this moment we’d like to keep the default recommendation to be the best on Hololens 2.   Thanks.

Makes sense. Thanks for letting me know!


Add optional parameter chainId

There is EIP155 that contains IDs of different blockchains (main, Ropsten, Kovan etc.)
We need to add optional parameter chainId - this will allow restricting blockchain for the signed transaction.
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-155.md

merged in 0.1.6


Internal registry usage

What does this PR do / why we need it
It allows the usage of the openshift internal registry
Which issue(s) does this PR fix
#22
Fixes #?
#22
How to test changes / Special notes to the reviewer

@christophe-f can you take a look at this?


update webpage /help to reflect new urls for fem, ifem, netfem and mblock manuals

Original issue: https://charm.cs.illinois.edu/redmine/issues/55

These dormant manuals are now under /www/manuals/old/*

Original date: 2013-02-21 15:47:37

Ramprasad Venkataraman wrote:

These dormant manuals are now under /www/manuals/old/*

The charisma manual has also been taken offline (being 4+ years old, and quite out of date). The link needs to be removed from that page.
The installation and usage manual has been folded into the main charm++ manual. That link needs to be deleted.
We are no longer building ps versions of any manual. All links to ps files need to be deleted.

Original date: 2013-03-08 02:32:50

Ping on this - some younger student should be shown how to get through all this, and ensure that it's documented.

Original date: 2013-03-08 23:51:52

Meanwhile, we have broken links on our webpage. This should be a quick fix for someone who can update and deploy the PPL website.
Documentation on how to do this should be added to the wiki.

Original date: 2013-05-09 15:35:33

It looks like there are in fact people interested in using ParFUM. Orion forwarded me the following, to which I'd like to respond "It's been fixed"

Phil, it looks like the FEM manual isn't getting published here anymore:
http://charm.cs.illinois.edu/manuals/html/fem/manual.html
Is this intentional, or a side effect of moving to the new illinois.edu server?
Is anybody working on the FEM framework or ParFUM anymore?
---------- Forwarded message ----------
From: Andreas Hafver <andreas.hafverfys.uio.no> Date: Wed, May 8, 2013 at 1:28 AM Subject: ParFUM framework To: olawloracm.org
Dear Sir,
I am a PhD student at the University of Oslo, Norway, and I am currently working on a new discrete element formulation for simulating coupled fracture and fluid transport.
I came across your ParFUM / FEM framework earlier this year, and I would like to use your grid class because I require the ability to insert/delete individual nodes/elements in parallel.
For the past weeks the link to the FEM manual on the Parallel Programming Laboratory website has been broken.
I was wondering if the framework is still actively maintained and publicly available?
Best regards,
Andreas Hafver

Original date: 2013-06-17 16:10:35

It looks like these broken links are now simply gone. We should point at the existing documentation, for the time being. Ram gave the base URL in the initial report:
http://charm.cs.illinois.edu/manuals/old

Original date: 2014-01-06 04:28:08

Inactive for 7 month; Should be a quick task, please complete. Ideally delegate to another student, so that the art of web update is known to more.

Original author: Shanna DeSouza
Original date: 2016-06-14 18:57:19

Old links were still in html commented out, they have been updated and uncommented to display. Update has also been tested and deployed.

Original date: 2016-12-22 23:11:23

Confirmed links now show and point at actual documents.


Manage dependencies with gdm

Since we are pinned to go 1.4.3, we're using the same dependency
manager as telegraf to make builds more reproducible.  We'll re-evaluate
vendoring when we can move off of 1.4.3.
Fixes #5342
@rossmcdonald

LGTM :+1:

+1
I moved the go get gdm to be the replacement for go get, so that gdm will be used even when you're not using the --test command.


Using device number from IMDS before propagation

When a secondary ENI is attached to an EC2 instance shortly after instance launch, setup_interface() in lib.sh will sometimes fetch the wrong device number from IMDS for the newly-attached interface. This results in conflicting default routes.
There is a comment calling out this possibility in the start condition: https://github.com/amazonlinux/amazon-ec2-net-utils/blob/c71ae5dc8cd67d4eb7b4fc2bdbc2e6f5e63218b1/bin/setup-policy-routes.sh#L53-L55
But then in setup_interface we proceed to do exactly what we were supposed to avoid:
https://github.com/amazonlinux/amazon-ec2-net-utils/blob/c71ae5dc8cd67d4eb7b4fc2bdbc2e6f5e63218b1/lib/lib.sh#L347
https://github.com/amazonlinux/amazon-ec2-net-utils/blob/c71ae5dc8cd67d4eb7b4fc2bdbc2e6f5e63218b1/lib/lib.sh#L360
This leads to identical eni.conf contents for the two interfaces:
[root@ip-172-31-65-182 ~]# cat /run/systemd/network/70-eth0.network.d/eni.conf
# Configuration for eth0 generated by<EMAIL_ADDRESS>[Match]
MACAddress=0e:63:0e:1f:54:e9
[Network]
DHCP=yes
[DHCPv4]
RouteMetric=512
[DHCPv6]
RouteMetric=512

[root@ip-172-31-65-182 ~]# cat /run/systemd/network/70-eth1.network.d/eni.conf
# Configuration for eth1 generated by<EMAIL_ADDRESS>[Match]
MACAddress=0e:62:4f:22:be:57
[Network]
DHCP=yes
[DHCPv4]
RouteMetric=512
[DHCPv6]
RouteMetric=512

And then conflicting default routes, which breaks a whole bunch of things.
[root@ip-172-31-65-182 ~]# ip route show table main to default
default via <IP_ADDRESS> dev eth0 proto dhcp src <IP_ADDRESS> metric 512
default via <IP_ADDRESS> dev eth1 proto dhcp src <IP_ADDRESS> metric 512

@atkinsam Thanks for the report.  Am I correct in assuming that this is happening on ENI hotplug, rather than at instance launch?

Yes that's right, only on ENI hotplug.

@atkinsam Are you able to test the change from https://github.com/amazonlinux/amazon-ec2-net-utils/compare/main...nmeyerhans:amazon-ec2-net-utils:device-number-propagation-fix?  You can simply replace the lib.sh file on an instance with the one from that branch.

Ran a quick test - confirmed that implementing the change from https://github.com/amazonlinux/amazon-ec2-net-utils/compare/main...nmeyerhans:amazon-ec2-net-utils:device-number-propagation-fix resolved this issue:
[root@ip-198-19-118-31 /]# cat /run/systemd/network/70-eth0.network.d/eni.conf
# Configuration for eth0 generated by<EMAIL_ADDRESS>[Match]
MACAddress=0e:72:04:5d:a4:b9
[Network]
DHCP=yes
[DHCPv4]
RouteMetric=512
[DHCPv6]
RouteMetric=512
[root@ip-198-19-118-31 /]# cat /run/systemd/network/70-eth1.network.d/eni.conf
# Configuration for eth1 generated by<EMAIL_ADDRESS>[Match]
MACAddress=0e:4b:cf:d7:3c:69
[Network]
DHCP=yes
[DHCPv4]
RouteMetric=522
[DHCPv6]
RouteMetric=522
[Route]
Table=10001
Gateway=_ipv6ra
[DHCPv4]
RouteTable=10001
[IPv6AcceptRA]
RouteTable=10001
[Route]
Gateway=_dhcp4
Table=10001

[root@ip-198-19-118-31 /]# ip route show table main to default
default via <IP_ADDRESS> dev eth0 proto dhcp src <IP_ADDRESS> metric 512

Thank you for confirming.  I'll be putting together a pull request in the near future and will include this fix in it.
Out of curiosity, what distro are you using?  The use of eth0 suggests that it's not Amazon Linux 2023 or Debian 12, which is where I'm primarily testing this.

I am using AL2023, but I’ve supplied the kernel parameter net.ifnames=0 to disable predictable network interface names, as instructed here: https://wiki.debian.org/NetworkInterfaceNames#:~:text=The simple way of disabling,grub and running update-grub.


Re-organize test/sampler.jl

We are starting to saturate test/sampler.jl, which currently includes unit tests for the data sampling code, and functional tests for the data-generation (OPF sampling and solving).
It would be good to separate those.
On top of my head:

tests for update! of OPF models should go with their respective formulations
tests for data distributions and sampling should be isolated, and preferably moved to a test/sampler folder (mimicking the structure of the source code)
tests for data generation (sampling and solving OPF instances) should be isolated too. It's less clear to me what this should look like.
I'm thinking we might want to move code currently in exp/sampler.jl to source code.

Ideally we can address #99 together with this

I'll get started on moving exp/sampler.jl to source.


Let ontologies override entity forms

It would be great if ontologies would be able to not use the genericentityform, but define a custom for class (probably in the APIS_ENTITIES dict) that should be used as the form in the entities edit view

This also relates to #182 - might be possible to implement this during the refactoring of get_entities_form

Forms at the moment are created with some factory? How about something like, add a setting with custom form overrides:
CUSTOM_FORM_OVERRIDES = {<Model>: <Form>}

And if there is a custom form for a particular model class, make the form factory function return that instead?
(Or, a custom forms.py file in the ontology, which we automagically import and find the right form, if it is there... if not, fall back to the factory default)

Yes, well, we do already have the APIS_ENTITIES dict, so we should probably reuse that for setting the form:
APIS_ENTITIES = {
    "MyEntity": {
         ...
         form = CustomMyEntityForm,
         ...
    }
}

I guess a check before this line should do the trick:
https://github.com/acdh-oeaw/apis-core-rdf/blob/7569984bb3a1b27607265e328b51d9fb88b9c452/apis_core/apis_entities/forms.py#L227


Constrain Subviews Within View

Is it possible to constrain a subview that is added to your view? For example, I add a subview called container to my UITableViewCell and then I add two UILabels to that container. Can I then constrain those two UILabels within the container as well?
Thanks

Hi @csimmonsbluebook,
Your case is similar to the example "TableView with variable cell's height" in the Sample app. See the UITableViewCell implementation: https://github.com/mirego/PinLayout/blob/master/Example/PinLayoutSample/UI/Tests/TableViewExample/Cells/MethodCell.swift
If you pin your labels's edges, they will be automatically contained inside your container.
For example, these lines will the layout the 2 labels one below the other, they will use the full container's width with a margin of 10 pixels. These lines will also adjust label's height to match their text (sizeToFit()).
label1.pin.top().left().right().margin(10).sizeToFit()
label2.pin.below(of: label1).left().right().margin(10).sizeToFit()

Another similar solution:
label1.pin.top().left().width(100%).pinEdges().margin(10)
label2.pin.below(of: label1).left().width(100%).pinEdges().margin(10)

@luc-dion yeah that makes sense, and I was following that example. However, to the left of those labels I want to add an image and to the right of the labels I want to add text. Basically, it looks like a cell for an appointment. I've illustrated below:

Instead of answering your question without testing it, I've implemented your view! Note that there is always multiple paths to achieve the same results. This is just one of them.
Here is the code:
class SampleView: UIView {
    fileprivate let container = UIView()
    fileprivate let logo = UIImageView(image: UIImage(named: "PinLayout-logo"))
    fileprivate let textLabel = UILabel()
    fileprivate let textLabel2 = UILabel()

    init() {
        super.init(frame: .zero)

        logo.contentMode = .scaleAspectFit
        addSubview(logo)

        textLabel.text = "12H00\n13h30"
        textLabel.font = .systemFont(ofSize: 14)
        textLabel.numberOfLines = 0
        textLabel.lineBreakMode = .byWordWrapping
        addSubview(textLabel)

        textLabel2.text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore"
        textLabel2.font = .systemFont(ofSize: 14)
        textLabel2.numberOfLines = 3
        addSubview(textLabel2)
    }

    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

    override func layoutSubviews() {
        super.layoutSubviews()

        let margin: CGFloat = 12
        logo.pin.top().left().bottom().size(100).align(.center).margin(margin)
        textLabel.pin.right(of: logo, aligned: .center).width(30%).margin(margin).sizeToFit()
        textLabel2.pin.right(of: textLabel, aligned: .center).right().margin(margin).sizeToFit()
    }
}

And the result:

Please note that I'm also working on another project that will integrate perfectly with PinLayout that would resolve this kind of layout even more easily. Please stay tuned 🙂

You can now check also my other project that resolves layouts with many views more easily: https://github.com/lucdion/FlexLayout


Go Generation | list<tuple<string,...>> -> map[string]...

Per the discussion here, it appears that a list<tuple<string,...>> is the wit equivalent of a python dictionary or more specifically for my use case, a go map.
If wit isn't going to bring in a new type for dictionaries/maps, I think it would be good to have the code generation output a map[string]... when list<tuple<string,...>> is parsed.
Thanks team!!
CC: @Mossaka

I imagine this would encounter similar obstacles; if you pass a list<tuple<string, ..>>, the bindings don't know that they keys are unique, and they also wouldn't know if the order of the list is meant to be significant.
Could you say more about your use cases? A common pattern in wit is that something which one might use a dictionary for can often be a record, with option fields for fields which may be omitted.

Thanks for the feedback @sunfishcode!!
I agree with you that the list<tuple<string,...>> syntax is not ideal and I agree on all your points WRT uniqueness and order.  I would love to eventually see a dictionary<K,V> or map<K,V> type introduced to wit.
As far as uniqueness/order goes, I know that maps in go don't promise order anyway, and keys are always unique. But I don't know how that transfers across languages...meaning, if we were to do this change, would a list<tuple<string,...>> mean the same in every language? 🤔
As far as my use-case goes, its more around preserving (where possible) idiomatic go the in wasi ecosystem.  For example, currently, when I want a simple map[string]string, and I use the list<tuple<string,...>> syntax, i get something along the lines of
type DerpTypesTuple2StringStringT struct {
	F0 string // key
	F1 string // value
}

type DerpTypesIface struct {
	Values     []DerpTypesTuple2StringStringT
}

which just feels really clunky, but ultimately can do the same thing.

Zhou just pointed out to me that I missed your point that List<Tuple<String, ...>> has an order, and can have repeated keys, which are different from a map.
Now that I have been straighten out, I agree with all your points.
That said, my biggest concern is preserving idiomatic go as much as possible and I think maps are really important to the language so it would be great to figure out how to get them in there

I'd like to explore one level deeper: could you describe what kinds of things you most often use map[string]string for, around wit interface boundaries?
For example, in some languages, dictionaries are a common way to implement a kind of named function parameters, like divide({ numerator: 21, denominator: 3 }). If that's the kind of thing you're doing, that gives us more avenues to explore for how we might produce ergonomic bindings.

Config property bags where the fields and types are not known ahead of time are the prime example.
https://github.com/wasmCloud/interfaces/blob/47825448f9c355a35453047d2cd8d5bccad60e3f/core/wasmcloud-core.smithy#L92

Bailey saves me.
That link she shared is my exact example.  In that smithy file (of which I am in the middle of converting to wit), there are 3 types that are map[string]string and as she pointed out, they are all configuration type things, specifically key/value, that are not known until runtime.  I guess I should point out here, its not just map[string]string its actually map[string]interface{}

@jordan-rash For HTTP headers, the approach taken in wasi-http is to define (what will be) a new resource, with a get(name: string) function for looking up keys. That is one of the tools in the toolbox, and it works well in cases like HTTP where HTTP has its own semantics for how headers work, and where implementations may want to do some of the work lazily instead of providing an eagerly populated dictionary.
As you say, list<tuple<string, ...>> is another tool in the toolbox.
For map[string]interace{}, if I understand correctly, that's a dictionary of callbacks, which is a bigger topic :-).
@ricochet Looking at just that file, if I were asked to implement that interface, I wouldn't know what kinds of values I might get passed. As a user, wouldn't know what kinds of values I could pass. Is there some additional documentation for that interface somewhere?
More broadly, in some systems, changing APIs is hard, because of backwards compatibility, and because there can be a lot of things to update, and in these kinds of systems, dictionaries are often considered essential, providing the flexibility to add fields or arguments to APIs without having to change the actual APIs. However, with interface subtyping (once it's implemented), if an implementor wants to add configuration knobs, they'll be able to add new option arguments/fields to the interface, and it won't need to break compatibility. And ideally all the boilerplate needed for the new arguments/fields is auto-generated. So it might not be so difficult to have actual APIs just add new fields or new arguments when they need to.
Even more broadly, none of these is or will be the answer all of the time. There are a lot of different use cases out there. I'm aiming to discuss the options and give some context.

You're essentially looking at a piece of middleware. It doesn't define the upstream API and this is an adapter for things like serialization. The other smithy files in the repo are examples of concrete values that could be passed in.
I'm unsure if subtyping could work for this but maybe a resources implementation similar to http headers  might be the best fit.

I could be misunderstanding how this works, but if a resource requires an implementor to implement the get(name:string) function, then this becomes a pretty big developer burden when the underlying storage mechanism is "just a map". Everytime I expose an interface that accepts a map, I have to code up a concrete type that supports a getter and setter. I see the value in this abstraction... but it's such a common one that is implemented in pretty much every language that can target wasm.
I think the use case that I want support for that I don't see represented is the "property bag", which is typically a map/dictionary from string -> string. Despite our best efforts in application development, there are times when we need to be able to accept an arbitrary bundle of keyed data. Sometimes people use this to help with backwards compatibility, and other times it's necessary for information exchange between disparate systems.
An ordered list of tuples isn't what I need to satisfy the above use case. Even HTTP headers don't require being ordered by key, we just need a set of the header keys that point to the values.

I've created an issue to discuss various places we can improve the developer experience of generated Go bindings at #612 . I am relating this issue to it.


Does not parse correctly Korean addresses

from postal.parser import parse_address
korea = "524 Bongeunsa-ro, Seoul,,Korea, Republic of"
pa = parse_address(korea)
parsed into "('524', 'house_number'), ('bongeunsa', 'road'), ('seoul korea', 'house')
I tried without ',', without republic of. It does not see to recognize Korea as country, or Seoul as city.

The first version of libpostal was not trained on any Korean addresses (see the blog post or the explanation in https://github.com/openvenues/libpostal/issues/62#issuecomment-214507333 about Japanese addresses, similar problem).
There's a new version of libpostal coming soon that is trained on addresses in Korea. It will definitely get Seoul correct as well as any other Korean city in OSM. It will probably not understand "Korea, Republic of" or just "Korea" because those names are not in OSM (feel free to add them), but it should get "Republic of Korea" or "South Korea" in English as well as "대한민국", "Daehan-minguk", etc.

Hey @dimashi, libpostal 1.0 has been released and can parse at least this version of the address:
> 524 Bongeunsa-ro, Seoul,,South Korea

Result:

{
  "house_number": "524",
  "road": "bongeunsa-ro",
  "city": "seoul",
  "country": "south korea"
}

As far as the country name, it currently only understands "South Korea", not "Korea" or "Korea, Republic of".  I've added "Korea" as an English alt name for South Korea in OSM. Also, it appears that "Korea, Republic of" is the ISO 3166 name, so those two forms will get picked up on the next batch of training data, but are not in the currently published model.


Correct vulkan extension name for inline uniforms

We should probably generate this portion of vk-device.cpp from the vulkan spec.


Basic functionality: Create a new note

Because /save could be used for this purpose, I'm closing this.


Initial Cloudberry code dump2.

closes: #ISSUE

Change logs
Merge partial CBDB codes on to base code.
Why are the changes needed?
This commit includes several features.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
ICW tests passed
Contributor's Checklist
Here are some reminders before you submit the pull request:

Document changes
Communicate in the GitHub Issues or Discussions (list them if needed)
Add tests for the change
Pass make installcheck
Pass make -C src/test installcheck-cbdb-parallel

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Cloudberry seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

LGTM.


Fix empty field login_name in API response JSON when creating user

Fix #30508
ps: if sourceID is not set, LoginName will be ignored

Backport?


show hca_bionetworks in catalogue

Acceptance:

[x] show hca_bionetworks column in project catalogue
[x] show bio networks filter
[ ] filter values:

[x]  each network
[ ]  any
[ ]  not in a network

[ ] update network assignment

[ ] write script to update a single project by uuid and network
[ ] review
[ ] run for all projects (see spreadsheet below)

For the Catalogue population of Networks, Amnon you can use the information from the spreadsheet:
https://docs.google.com/spreadsheets/d/129T_QsKKCqJmPiwuK9qLl7uxASUplI84At6ewu2vwLA/edit#gid=1084845810

These are ready to assign:
Blood V1.0  - these are Immune Network, Blood atlas, V 1.0
Kidney V1.0 - these are Kidney Network, Kidney atlas, V 1.0
Gut V1.0 - these are Gut Network, Gut atlas, V 1.0
Retina V1.0 - these are Eye Network, Retina atlas, V 1.0
Lung V1.0 - these are Lung Network, Lung atlas, V 1.0
Let me know if questions!

@gabsie I am assuming I can know which project is an atlas project by the existence of the word "atlas" in its name. Would this be correct?

All requested 5 networks updated.
I added 2 columns to each bionetwork worksheet with the update status and failure comments.
There were 7 errors in total.

@ofanobilbao & @amnonkhen to investigate the errors and discrepencies

@amnonkhen take a look at the above see if it's still relevant

updates according to Oihane's comment:

'fae72d89-4ac4-4aab-9b93-574775e168d4' - change to Lung

Moving to Done, considering you did the changes and it should in theory now be ok

Script to update is included in this PR (since link to dcp-954 update bionetworks #530 above is invalid)


Add rdseed.asm handle

Added handle for rdseed.asm when DISABLE_RDSEED=ON.

Thanks @hahaSK. It took a while but it got merged.


Setup project with app template

Use https://github.com/azavea/civic-apps-app-template to bootstrap the repo.
Instructions are available at https://github.com/azavea/civic-apps-app-template/blob/develop/PROJECT_CHECKLIST.md
In the process, update any libraries that may be out-of-date.

I've got the base repo set up from the template. Next I'm going to update older libraries, and update the docker config to reflect the changes necessary for development on apple silicon


link output definitions to scenarios

Description
Please describe the change you have made.
Checklist:

[ ] Tests added/updated.
[ ] Documentation updated.
[ ] Changelog updated in CHANGELOG.md.
[ ] Version bumped. If triggering a new release is desired, bump the version number in pyproject.toml per semantic versioning.

changes have been applied


Directory/File Layout should be documented

Having a brief documentation of the layout will help understanding the functionality and files.

fixed in #3


use yarn with travis

🙏

https://github.com/amilajack/popcorn-time-desktop/pull/203#issuecomment-255544099


Reverse proxy not documented or supported in V5 config

What version of V2Ray are you using?

V2Ray 5.7.0
What's your scenario of using V2Ray?

Set up reverse proxy from server to client
What problems have you encountered?

The reverse proxy functionality is not documented or supported in json v5 config. The config format is shown below:
{
    "log": {},
    "dns": {},
    "router": {},
    "inbounds": [],
    "outbounds": [],
    "services": {}
}

While in json v4, we can set up the "reverse" config:
{
    "log": {},
    "api": {},
    "dns": {},
    "routing": {},
    "policy": {},
    "inbounds": [],
    "outbounds": [],
    "transport": {},
    "stats": {},
    "reverse": {},
    "fakedns": [],
    "browserForwarder": {},
    "observatory": {}
}

Is it because the reverse proxy support has been removed from v5 config or it's just not documented yet?
I tried looking at source code for v5 config, but couldn't find any relevant to reverse proxy.
Thanks

{
    "services": {
      "reverse": {
          "bridgeConfig": {
             "tag": "example",
             "domain": "example.v2fly.org"
          },
          "portalConfig": {
             "tag": "example",
             "domain": "example.v2fly.org"
          }
       }
   }
}

Thanks. It works without problem.


Want to add Password generator extension

Want to add a Password generator extension to generate strong passwords while surfing the internet
As a participant of GSsOC '22, I would like to work on it.

I want to work on it which can easily generate the password and can save it also in the user profile

Hey @iamrahulmahato @shreelakshmijoshi @vaibhavmehro this extension is already present in the repo but you all can look at extension and enhance its features or UI


Gazelle target to run on Sync has no option

In the Bazel plugin config screen no options are displayed to Gazelle target to run on. Sync has no option

Open a project in GoLand
Select Settings
Select Bazel Settings
Click on combo of Gazelle target to run on. Sync
No option is displayed

Version information
GoLand: 2022.3.2
Platform: Mac OS X 13.2
Bazel for IntelliJ plugin: 2<IP_ADDRESS>.1-api-version-223
Bazel: 6.0.0

@jexelrud Thanks for the report! Unfortunately, that combobox in the settings menu will only display past values that you have set. Because that configuration is global in your IDE (persistent across projects), it can't read your project to figure out which gazelle targets you can list there.
However!
What you can do, and in fact what we recommend you do, is configure the gazelle target you want in your project view file (your .bazelproject file), using the gazelle_target: field. This will also not give you autocompletion, but it will allow you to check the configuration into the repository and share it with other members of the project.
An example on how to configure the project view file can be found in examples/go/with_proto/.bazelproject.
@mai93 , where would be the best place to document the gazelle_target field?

added gazelle_target section to the project view documentation: https://ij.bazel.build/docs/project-views.html#gazelle_target


Cache IEV calls

relaton currently caches calls to isobib, rfcbib, and gbbib. It should also cache calls to iev, even though those calls return strings and not bibliographic entries.
Currently calls to IEV are captured by the isobib registration prefix; this would register iev to relaton, and use the IEV prefix there instead. The cache key will need to be the IEV identifier plus the language requested; e.g. "IEV 101-01-01/en".
Once IEV calls are cached, I will do the integration into asciidoctor-iso of routing individual IEV clause requests via Relaton, instead of direct.
@ronaldtse You may want to keep IEV clauses out of Relaton, since they are not bibliographic entries at all. If so, a separate caching capability will need to be added to the iev gem instead. Please indicate your preference, and whether you want Andrej or me to work on this.

You're right, IEV is only used for term SOURCE-ing, and perhaps it should be kept out of Relaton since it is not about bibliographic entries. @opoudjis could you help describe the exact needs for @andrew2net to work on it? Thanks!

Will do, in New ticket at IEV.


[WFLY-19420] Move the com.fasterxml.jackson.dataformat.jackson-datafo…

…rmat-yaml module to the wildfly-ee feature pack
https://issues.redhat.com/browse/WFLY-19420

@spyrkob FYI. This is to help make https://issues.redhat.com/browse/JBEAP-27127 a non-issue in EAP 8.1.


Linked Items (Terms) Not Being Displayed For Columns

Is your proposal related to a problem?

Dictionary terms can be added to a dataset in two different ways - one at the dataset level (on the overview tab) and secondly at a column level (on the structure tab)
When looking at the linked terms in the dictionary it only shows datasets where the term was added on the overview tab and not at a column level.
Describe the solution you'd like

It would be fantastic to have all datasets listed within the linked terms regardless of if it was linked at an overview or column level
Additional context

Above is an example of the issue / limitation - I'm assuming this may be due to the fact of column level labelling only coming in later releases
ODD-Platform v0.15.0

Hey, @clintjb . You are correct, we have added terms to columns later, that's why they are not shown in linked items tab. This is good proposal, we will schedule this feature to one of our next releases, thanks!

Proposal:

New tab "Linked columns"
1.1 (TBD) properties: entity, business name, data type
Rename tab "Linked items" --> "Linked entities"
Calculate total as "Linked items" + "Linked columns"

Proposal sounds really good - this should give a solid overview while still allowing a clean segregation between the types of links...
Perfect!


Making things draggable blocks touch scrolling

First of all: this is a brilliant library- I've been looking for a drag and drop lib like this for a while.
But: I've got a long scrollable list of scrollable images that I want to drag and drop onto a page. When on a desktop: mousewheel, arrows, page up/down works fine. On a touchscreen, however the expected swipe to scroll doesn't happen- probably because of this:
	// On mobile, touch can become extremely janky without it 	node.style.touchAction = 'none';
Is there a way around this? Is there a way to add a delay to the action so that a swipe won't trigger the dragging, but holding for a half second will?
Cheers!

I could add an option touchDelay: number for this, but definitely need to investigate this further

Hi @PuruVJ
We have a maybe similar usecase. We're horisontally dragging containers. Works fine. But we cant scroll up/down

Have you any ideas?
In a "manual vanilla example" we register mouse position on mousedown, evaluate if mouse move horisontally is more than a treshhold and only then prevents scrolling


implement zen mode

First stab at a #465

Looks awesome @tcoopman ! Thank you!
Tested it out, and it worked great:

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

I've also implemented to hide the tabs by default

Sweet! Looks great, @tcoopman - thank you for the contribution!


Correction for raw affiliation Haihe Laboratory of Sustainable Chemical Transformations, Tianjin, 300072, China.

Correction needed for raw affiliation Haihe Laboratory of Sustainable Chemical Transformations, Tianjin, 300072, China.
raw_affiliation_name: Haihe Laboratory of Sustainable Chemical Transformations, Tianjin, 300072, China.
new_rors:
previous_rors: 03q99v794
works_examples: W4386979724
contact: 38d1060bd31f13eef136c30d77d91689:452687121c841de9e054ee0432a4 @ univ-lille.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


React-scripts v4 ignores the .eslintignore file at the root when using a monorepo

Describe the bug
I have a monorepo that is managed by Lerna and yarn workspaces.
All eslint and prettier configs are hosted in the root of the monorepo, CRA v4 ignores the .eslintignore and .prettierignre
and lints files and folders that are skipped in .eslintignore and .prettierignre.
running eslint via the command line or vs code load the  .eslintignore and .prettierignre and respects the ignored files,
back in CRA v3 this was working.
Environment

Environment Info:
current version of create-react-app: 4.0.0
running from C:\Users\user\AppData\Local\Yarn\Data\global\node_modules\create-react-app
System:
OS: Windows 10 10.0.19041
CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Binaries:
Node: 14.13.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 86.0.4240.111
Edge: Spartan (44.19041.423.0), Chromium (86.0.622.58)
Internet Explorer: 11.0.19041.1
npmPackages:
react: Not Found
react-dom: ^17.0.1 => 17.0.1
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce

Bootstrap a monorepo using lerna.
Add eslint and prettier config files alongside with .eslintignore file at the root
Bootstrap a CRA app inside the packages folder and remove eslintConfig from package.json
Add a js or ts file and ignore it in the .eslintignore file
Run yarn dev or build

Expected behavior

If the ignored file contains eslint or prettier error CRA shouldn't report it in the terminal
Actual behavior

CRA lists the files that supposed to be ignored when running dev or build scripts and displays the errors in the terminal
Reproducible demo

https://github.com/ahrbil/cra-v4-monorepo-eslint

Install the dependencies using yarn
Run yarn start
You should see this log :

@cra-v4-monorepo-eslint/web: Starting the development server...
@cra-v4-monorepo-eslint/web: Failed to compile.
@cra-v4-monorepo-eslint/web: src\ignore-this-file.tsx
@cra-v4-monorepo-eslint/web:   Line 7:42:  'children' is missing in props validation  react/prop-types
@cra-v4-monorepo-eslint/web:   Line 7:52:  'color' is missing in props validation     react/prop-types
@cra-v4-monorepo-eslint/web:   Line 8:10:  Delete `·`                                 prettier/prettier
@cra-v4-monorepo-eslint/web: Search for the keywords to learn more about each error.

even if the ignore-this-file.tsx file is ignored in the .eslintignore file, it is still being checked and makes the build fails to compile

Good catch, if this is true, it explains all the performance issues people have been having since v4 came out.

Hello @mareksuscak
I made a repo that you can check:
https://github.com/ahrbil/cra-v4-monorepo-eslint

We are having a similar issue. With v4, it seems like the use of eslint-webpack-plugin is not respecting .eslintignore or the  ignorePatterns option in package.json. We use yarn workspaces. The symptom we face is that eslint tries to extend configs in the root node_modules folder of the monorepo where it should not. Have any ideas for resolving this?

Unfortunately @leifdejong the only workaround I found for this is to copy the root .eslintignore file to the package that is using react-scripts


Administrator cannot list users or group

Affected Version of Concrete CMS
9.x
Description
After updating to v9.0.2 and enabling advanced permissions all users with the default group "administrator" are no longer able to view a user or group.
Multi-Site is enabled.
How to reproduce
One
For example when opening the attributes panel for a page via sitemap, the attribute "author" throws an error "access denied".

Two
For example when trying to add a new group to the page "view" permissions, the user groups listing throws an error.

Three
The user listing page is also empty, even though there should be multiple users.

Possible Solution
I checked all permissions and made sure, all access rights are granted, but I am unable to find a solution.
The super-user is working as intended.
Additional Context
These are the default user settings.

Additional Context
Checking a clean v9.0.2 installation I can see that the "Default Group Permissions" are not empty.

Unfortunately I am not able to update the "Default Group Permissions" above...
The selection is empty, even as super-admin:

Even more context
I just found a hint!
Is it maybe related to this issue?
https://github.com/concrete5/concrete5/issues/9430
Unfortunately I am not able to see the "All Groups" entry to modify it's permissions as described in the issue.
In V9 the page looks different:

So I guess the correct question should be:
Why am I not able to assign/update "Default Group Permissions" and why are they empty after enabling advanced permissions.
I am happy about any help!
Is there a way to update the values via database maybe?

This was a bug in the migration from 8.5.x to version 9. It has been fixed in the develop branch and will be released in 9.1.0.

Thank you so much for investigating this so fast.
Looking forward to the update.
Thanks!
Dominik

Yes, this is part of a specific migration. If you can run the code directly (or check out the code and force the migration to re-run) you should be able to fix this issue:
The migration in question is here:
concrete/src/Updater/Migrations/Migrations/Version20210216184000.php
If you can re-run this it might fix your issue:
concrete/bin/concrete c5:update --rerun --since=20210216184000
One potentially issue you might encounter is that this will rerun all migrations since this one, which might not be idea. You might have to Ctrl-C to cancel out of the process after this migration runs.

This is the code that is responsible for adding those options:
https://github.com/concrete5/concrete5/commit/721c9478f7e4e1bc4e329017cc66d63319f0b9b2#diff-54375e33bbb752780a0f878d10b217c292d03d38871039234e597dc5f890f657R51

Hi @aembler thank you so much for leading me the way on how to rerun the migration which indeed solved the problem.
I am now able to list and assign groups as "administrator" in the permission view of a page again.

Also the permissions in the "Default Group Permissions" view now correctly reflect "administrator".

Not sure if this should be fixed by the migration re-run, just wanted to let you know:
I am still not able to update the permissions in the "Default Group Permissions" the dropdown is still empty.
Note: I did not apply any changes from your commit, except the single migration Version20210216184000.
This is no problem for me right now, just want to make sure you catched all the things for the next release.

Thanks again!

Thanks for helping test it!


I am unable to set Header cell style for ngx-datatable

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

unable to set Header style for ngx-datatable
.datatable-header-cell{
color :green
}
HTML
<ngx-datatable id ="ngxdatatable"
class='material'
      [rows]="rows"
      [rowHeight]="20"
      [columns]="columns"
      [columnMode]="'force'"
      [scrollbarV]="true"
      [scrollbarH]="true"
      [headerHeight]="30"
      [footerHeight]="50"
      [limit]="35"
      (page)="onPage($event)">

    </ngx-datatable>

but still style is not applied, data table still showing with default style color.
Please Help.

Angular's default view encapsulation for components is Emulated to mimic a shadow DOM behavior effectively scoping a component's CSS within that component only!
To get around this, you could place that CSS into your global styles. Alternatively, you can use the :host and /deep/ provided by Angular to style the ngx-datatable, or just change your component's view encapsulation to ViewEncapsulation.None. See https://angular.io/guide/component-styles for more details.
You might have to be more specific with that selector though. Something like
.ngx-datatable.material {
  .datatable-header {
    .datatable-header-cell {
      // your styles here
    }
  }
}

should work after getting around the view encapsulation.

Please try what @andreykaipov suggested.

I had a problem adding styles to the table. I added below in my component
@Component({
....
encapsulation: ViewEncapsulation.None,
})
this takes my custom styling files

Thanks for this, maybe this should be somewhere in the documentation, had the exact same problem. Moving my component styles to the global styles solved the problem.

Any idea why I get "Cannot find name 'ViewEncapsulation'" when adding encapsulation: ViewEncapsulation.None?  I'm new to ngx-datatable coding.

Hi @tonym99 ,
You have to import it first before using it
import { ViewEncapsulation } from '@angular/core';

Thanks!
Sent from my iPhone

On Nov 13, 2017, at 11:36 AM, Andrew Rutazamba<EMAIL_ADDRESS>wrote:
Hi @tonym99 ,
You have to import it first before using it
import { ViewEncapsulation } from '';
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I would use caution when dealing with ViewEncapsulation.
The setting of encapsulation: ViewEncapsulation.None will make it so that your component CSS is no longer restricted to confines of that component. i.e. It will essentially make you CSS global. This can lead to some very tricky CSS bugs and overuse negates the reason you are using a framework in the first place. Try to leverage CSS specificity as mentioned above.

Angular's default view encapsulation for components is Emulated to mimic a shadow DOM behavior effectively scoping a component's CSS within that component only.
To get around this, you could place that CSS into your global styles. Alternatively, you can use the :host and /deep/ selectors provided by Angular to style the ngx-datatable, or just change your component's view encapsulation to ViewEncapsulation.None. See https://angular.io/guide/component-styles for more details.
You might have to be more specific with that selector though. Something like
.ngx-datatable.material {
  .datatable-header {
    .datatable-header-cell {
      // your styles here
    }
  }
}

should work after getting around the view encapsulation.

Adding encapsulation: ViewEncapsulation.None did the trick!
I am not going to get back my 1 hour back - but that solved many of my problems such as

Font color
Font size
Grid's padding
Grid's margin
all the above issues for the footer

Thanks a lot!


Fix wait-for-pods command in performance test scripts

Fix wait-for-pods command in performance test scripts not to depend on the number of pods
Closes USHIFT-294

/assign @sjug

/lgtm


LIFX integration working only on initial setup

Describe the bug
I've tried this with a couple of versions on a couple of different machines, ensuring it's uninstalled properly
I've also removed PresenceLight from authorised apps on cloud.lifx.com each time. I get a nice bright green light initially, but nothing can change that. When I uninstall the application, the light turns off (I can turn it back on via the Lifx iOS app).
To Reproduce
Install PresenceLight
Sign in
Configure LIFX
Get token
Get Lights
Save default colour scheme
Configured Light changes to current Teams status
Expected behavior
Subsequent status changes are reflected in the Sign in tab, but not via actual lights
Further details

OS: Win10
PresenceLight App Type (Desktop, Blazor): Desktop/
PresenceLight Build (Nightly, Store, etc): Store and Nightly
PresenceLight Version (The # in About) v3.0.43 and 3.0.53
Did you clear settings.json?  Yes

There should be a fix in the current nightly v3.5.5

Closed in 3.5.15

Tested on <IP_ADDRESS> and all seems to be working really well now. Thanks @isaacrlevin! :)


python code to create workspace has constant resource group name

python code to create workspace has constant resource group name as "myresourcegroup" when it should be whatever created and chosen by customer.

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

ID: 72c6907a-8658-f29b-cce9-6af0a359f26b
Version Independent ID: e41c8c19-d858-9a84-4b89-1b65bdd960a8
Content: Quickstart: Use the Python SDK to create a machine learning service workspace - Azure Machine Learning
Content Source: articles/machine-learning/service/quickstart-create-workspace-with-python.md
Service: machine-learning
GitHub Login: @hning86
Microsoft Alias: haining

@luigiw
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate
@hning86
Hi Hai, can you please take a look of this issue ? Thanks a lot!

@luigiw
You can use whatever you want for these values, but the example in our tutorials assume and expect this resource group name and workspace name.

I believe we've clarified the issue. #please-close.  Reopen if you need more.

@luigiw We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Add Backoff/Retry functionality to Http Transport

we're encountering more and more test failures on foundry due to ratelimited requests that look like
thread 'fork::can_deploy_greeter_on_fork' panicked at 'called `Result::unwrap()` on an `Err` value: JsonRpcClientError(JsonRpcError(JsonRpcError { code: 429, message: "Your app has exceeded its compute units per second capacity. If you have retries enabled, you can safely ignore this message. If not, check out https://docs.alchemyapi.io/guides/rate-limits", data: None }))', /home/runner/work/foundry/foundry/anvil/src/config.rs:478:57

this is alchemyapi https://docs.alchemyapi.io/guides/rate-limits
the request should succeed if we just wait a little, it'd be nice if the Http Provider/Transport had an option to configure this with a backoff interval or something.
@meetmangukiya would this be something you would like to take on?
cc @oliver-giersch

Can look into this next

I think a RateAwareHttp or something should be rather easy to realize. I think I'd give it a min_delay and (optional) max_delay duration and internally keep track of a deadline before sending out any requests. Only ugly part is detecting rate limit errors. The  429 error code looks rather unique, but I bet each provider uses its own code.

I started following this issue because we're also currently being hit by Alchemy rate limits when running Foundry in forking mode.

Only ugly part is detecting rate limit errors. The 429 error code looks rather unique, but I bet each provider uses its own code.

FWIW status 429 is at least somewhat standard:
https://www.rfc-editor.org/rfc/rfc6585#section-4
In addition to Alchemy, it is also used by Infura to signal being rate limited:
https://docs.infura.io/infura/networks/ethereum/how-to/avoid-rate-limiting#noticing-rate-limiting-behavior
Therefore, IMHO it's not necessarily that ugly to handle 429 by backing off then retrying. If there is a provider out there that doesn't use 429, now that would be really ugly to detect.

Ok, in this case I would propose something simple like the code below.
This is using the #1267 PR I am currently working on and I would just include it in that PR, if that is Ok with everyone.
Normally I would say the deadline mechanism is orthogonal to the retry, but it would be annoying to have to add a timeout to every JSON-RPC request function call, so I think it makes sense to optionally include it in the connection itself.
Alchemy recommends a more complex backoff algorithm, but I think this should do fine.
/// A rate-limit aware HTTP [`Connection`].
///
/// When this [`Connection`] encounters a rate-limit error, it will wait for a
/// short period of time before trying to send the request again.
/// The wait time inbetween retries increases with each iteration.
#[derive(Debug)]
pub struct DelayedHttp {
    http: Http,
    max_delay: Option<Duration>,
}

impl DelayedHttp {
    // this is the standard error code for rate limit errors and currently used
    // by at least Alchemy & Infura
    // cf. https://www.rfc-editor.org/rfc/rfc6585#section-4
    const RATE_LIMIT_CODE: i64 = 429;
    const INITIAL_BACKOFF: Duration = Duration::from_secs(1);

    /// Creates a new rate-limit aware HTTP [`Connection`] over the given `url`.
    ///
    /// If no `max_delay` is given, the connection will retry indefinitely.
    /// *Note*, that if it is set too short, no retries may ever happen, so it
    /// should be set no lower than at least 2 seconds.
    ///
    /// # Errors
    ///
    /// Fails, if `url` is not a valid URL.
    pub fn new(url: &str, max_delay: Option<Duration>) -> Result<Self, InvalidUrl> {
        let http = Http::new(url)?;
        Ok(Self { http, max_delay })
    }
}

impl Connection for DelayedHttp {
    fn request_id(&self) -> u64 {
        self.http.request_id()
    }

    fn send_raw_request(&self, id: u64, request: String) -> RequestFuture<'_> {
        Box::pin(async move {
            let deadline = self.max_delay.map(|dur| Instant::now() + dur);
            let mut backoff = Self::INITIAL_BACKOFF;

            loop {
                let response = self.http.send_raw_request(id, request.clone()).await;
                match response.as_ref().map_err(|err| err.as_ref()) {
                    Err(TransportError::JsonRpc(err)) if err.code == Self::RATE_LIMIT_CODE => {}
                    _ => return response,
                };

                // if a deadline is set and it is already reached, return the
                // response anyways.
                if let Some(deadline) = deadline {
                    if Instant::now() > deadline {
                        return response;
                    }
                }

                // sleep for the calculated backoff duration
                tokio::time::sleep(backoff).await;
                backoff *= 2;
            }
        })
    }
}

that's pretty simple and should work.
@meetmangukiya made some progress here https://github.com/gakonst/ethers-rs/pull/1302
it looks like two parameters influence the backoff behaviour:

when to retry (code 429 for example)
what's the next backoff

so perhaps we should make this configurable
one concern with this DelayedHttp is that if we have multiple instances of that we'll always try to send even if we're already rate-limited.
maybe we can optimize this by storing the current backoff in an atomic?

Should we close this given #1302 is merged?


changes required to allow replacing the obsolete conda_version in conda-rdkit

These changes are required to allow replacing the obsolete conda_version in conda-rdkit, and get the rdkit and rdkit-postgresql conda build recipes to work again (see issue #53).

Unfortunately pkg_version.py cannot be moved to the conda-rdkit repo. The reason is that when load_setup_py_data() sources the script, none of the conda environment variables (i.e., SRC_DIR, RECIPE_DIR, etc.) are passed to the pkg_version.py script. So the only version for the script to know where SRC_DIR is in order to find and parse CMakeLists.txt and RDKitUtils.cmake is to be located in the SRC_DIR tree, so it can retrieve the SRC_DIR path.
To make things tidier I have moved pkg_version.py  to a Conda subdirectory - this is the best I can do I am afraid.
I have also reverted all other changes (i.e., CMakeLists.txt and RDKitUtils.cmake). So the only change in the RDKit trunk is the addition of Conda/pkg_version.py - I hope this is acceptable.

One minor request: would you mind renaming the directory tobuild_support? It's intentional that this is somewhat inconsistent with the other directory names.

Done.

Thanks Paolo


Strapi favicon loading behind custom favicon

ffmpeg -i input_video_file.mp4 output.gif

strapi version: v4.1.11

Ok, thanks to Strapi amazing :1st_place_medal: support + Derrick super awesome sauce.
All you need to do is replace the favicon.ico in the root of the project, then rebuild the app.
We have figured out why this is happening. I added images to: ./strapi-app/ src/admin/extensions
then, added this to my: ./strapi-app/src/admin/app.js
...
        //replace favicon with custom icon
        head: {
            favicon: favicon,
        },
...

Ok, thanks to Strapi amazing 1st_place_medal support + Derrick super awesome sauce.
All you need to do is replace the favicon.ico in the root of the project, then rebuild the app.
We have figured out why this is happening. I added images to: ./strapi-app/ src/admin/extensions then, added this to my: ./strapi-app/src/admin/app.js
...
        //replace favicon with custom icon
        head: {
            favicon: favicon,
        },
...

The instructions here on Strapi docs entails us to replace the favicon without replacing root favicon.ico https://docs.strapi.io/developer-docs/latest/development/admin-customization.html#configuration-options

Can you open an issue on our documentation repo about this one? Because those docs are absolutely wrong, sorry about that!


Safari without sound

Describe the bug
When using Spotlight on Safari, Audio Files produce no sound when clicking on the play button
To Reproduce
Steps to reproduce the behavior:

Open Spotlight with an audio dataset
Click on a sample
Add audio view
Press play

Expected behavior
Sound should be played
Desktop (please complete the following information):

OS: MacOS
Browser Safari
Browser Version general problem, independent of version
Spotlight Version newest

After looking into this I think that there actually are 2 problems with Apples Safari.
@soerenray can you confirm that this is a Safari problem and that it is working in other Browsers in your setup?
Problem 1:
Afaik autoplay is disabled for audio in safari and is only enabled after a user interaction (a click for example). Obviously there is a click event, as we have to click a button before the audio is played but Safari does not link the onClick callback from react to the actual html click event therefore the audio is not allowed to autoplay
Problem 2:
I think that Safari is not able to interpret the blob src blob:http://localhost:5000/... without a type being specified on the audio source.
In my tests Problem 2 could be resolved by specifying source with a type:
So instead of:
<audio ref={audioRef} src={url} />

we could specify the audios type by adding a source tag:
<audio ref={audioRef}>
  <source src={url} type="audio/wav" />
</audio>

In order to solve Problem 1 we need to directly link the user interaction to audioElement and play a sound on the first interaction. I believe that when we did this once, we should be able to play sounds on this audio element without further user interaction.
In my test I added an eventListener to the button and played the current url. This worked but we might need to change how the AudioViewer plays sounds in order to use this approach.
useEffect(() => {
    if (url === undefined) return;

    const audioElement = audioRef.current;
    if (!audioElement) return;

    const audioSource = audioSourceRef.current;
    if (!audioSource) return;

    const button = playPauseButtonRef.current;
    if (!button) return;

    const playSound = () => {
        audioElement.load();
        audioSource.src = url;
        audioElement.play();
    };

    button.addEventListener('click', playSound);

    return () => button.removeEventListener('click', playSound);
}, [url]);


Media Queries: resolution for Safari 16 as well + update Edge bug

Same as (part of) #6148, but for Safari 16 🎉
https://tests.caniuse.com/css-media-resolution:

I checked the Edge bug, when it was (re-)added(?) here the latest version was 18 using EdgeHTML and at least in the current version it's not around anymore:

Thanks!

Resolution media queries is a bit strange, it was turned on in Safari TP 138 a long time ago, I wonder why it didn't ship until Safari 16?


LOCATION_CHANGE is wrong action type

You docs:

Real action type

It's an export: https://github.com/reactjs/react-router-redux/blob/master/src/reducer.js#L5


Connect Jenkins to U-CS Authentication

Connect Jenkins to U-CS authentication services

With the switch to Gitlab this is no longer possible due to the cost involved in each Gitlab account.


wrong times recorded for sessions / transactions

We noticed recently that our nightly reports are reporting transactions while the library is closed. Upon closer inspection, we find that transactions are being recorded as though they occur four hours later than is correct -- as we are in EDT, that is corresponds to GMT/UTC. It appears to have started doing this in the last half of June.
I've checked what time the server thinks it is using the linux date command, and it shoes the correct time including in this format:  Wed Jul 24 08:54:46 EDT 2019
When I check the transaction table, an entry from 8:54 this morning shows the time:
2019-07-24 12:54:46
Is there a setting I need to change somewhere?
The only relevant setting I see is this one:
service/analysis/config/config.yaml:
timezone: America/New_York

Hi Ken,
You may want to check to see that the correct timezone is set in php.ini:
https://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
Thanks,
Jason
On Wed, Jul 24, 2019 at 9:09 AM Ken Irwin<EMAIL_ADDRESS>wrote:

We noticed recently that our nightly reports are reporting transactions
while the library is closed. Upon closer inspection, we find that
transactions are being recorded as though they occur four hours later than
is correct -- as we are in EDT, that is corresponds to GMT/UTC. It appears
to have started doing this in the last half of June.
I've checked what time the server thinks it is using the linux date
command, and it shoes the correct time including in this format: Wed Jul
24 08:54:46 EDT 2019
When I check the transaction table, an entry from 8:54 this morning shows
the time:
2019-07-24 12:54:46
Is there a setting I need to change somewhere?
The only relevant setting I see is this one:
service/analysis/config/config.yaml:
timezone: America/New_York
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/suma-project/Suma/issues/83?email_source=notifications&email_token=AACVIVNJD4ENRTCT2BEAQXLQBBIATA5CNFSM4IGP4MV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBGKVWA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACVIVICLBTY2INW4D3XLXLQBBIATANCNFSM4IGP4MVQ
.

Thanks Jason – that was the answer.
Ken
From: Jason Casden<EMAIL_ADDRESS>Sent: Wednesday, July 24, 2019 10:46 AM
To: suma-project/Suma<EMAIL_ADDRESS>Cc: Ken Irwin<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [suma-project/Suma] wrong times recorded for sessions / transactions (#83)
Hi Ken,
You may want to check to see that the correct timezone is set in php.ini:
https://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
Thanks,
Jason
On Wed, Jul 24, 2019 at 9:09 AM Ken Irwin <notifications<EMAIL_ADDRESS>wrote:

We noticed recently that our nightly reports are reporting transactions
while the library is closed. Upon closer inspection, we find that
transactions are being recorded as though they occur four hours later than
is correct -- as we are in EDT, that is corresponds to GMT/UTC. It appears
to have started doing this in the last half of June.
I've checked what time the server thinks it is using the linux date
command, and it shoes the correct time including in this format: Wed Jul
24 08:54:46 EDT 2019
When I check the transaction table, an entry from 8:54 this morning shows
the time:
2019-07-24 12:54:46
Is there a setting I need to change somewhere?
The only relevant setting I see is this one:
service/analysis/config/config.yaml:
timezone: America/New_York
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/suma-project/Suma/issues/83?email_source=notifications&email_token=AACVIVNJD4ENRTCT2BEAQXLQBBIATA5CNFSM4IGP4MV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBGKVWA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACVIVICLBTY2INW4D3XLXLQBBIATANCNFSM4IGP4MVQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/suma-project/Suma/issues/83?email_source=notifications&email_token=AAOORIIYU5SLBSBV5HXCHILQBBTL3A5CNFSM4IGP4MV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2WSHEA#issuecomment-514663312, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAOORIO6S4MASUPMZXRIUL3QBBTL3ANCNFSM4IGP4MVQ.


Can you Selfhost the API?

Im confused, in the settings there is the option for a custom embed base, which seems to be one part of Ava. But is it possible to self-host all the APIs used by AVA. So, the plugin is fully functional with my own OpenAI Account etc.
The Pricing Page also mentions: "Get the hosted version. No Config. No Hassle."
So, I am assuming there is a self-hosted version.

@DarkByteZero you can self-host the API providing Link feature by following these instructions
FYI the special instance source code used in the hosted version is here (you don't need it)
https://github.com/different-ai/embedbase-ava which is just the original API + some middleware to check API keys

But i cant find where the code for these routes is defined ?
plans = {
"free": {
"/v1/text/create": 25,
"/v1/image/create": 5,
"/v1/search": 15,
},
"hobby": {
"/v1/text/create": 1000,
"/v1/image/create": 200,
"/v1/search": 600,
},
"pro": {
"/v1/text/create": 1000,
"/v1/image/create": 200,
"/v1/search": 600,
},
}
does it come from embedbase? I thought embedbase is just for context search?

ah i see you edited your response.
Would you accept a PR that adds a Setting to use the OpenAI API directly ? (API Key Setting)

Ok, when I have the time, I will try to check it out.

I would be really appreciating this feature too! GPT4All recently came out working perfectly on PC and it can handle local API call exactly in the same format to OpenAI api. So could you add a feature to support customizing API?


PIXI.filters.CrossHatchFilter is not a constructor

Lastest dev v4 doesnt allow me to use this filter, i think it might be a bug.

this has moved to pixi-filters repo