printer-tester:0.1.0

I am submitting

[X] a new package
[ ] an update for a package

Description: Easily generate printer tests by calling functions. Very usefull for large scale printing, like exam papers. Only CMYK for now.
For example:

(theses are all made with Typst and not basic images as they can easily be degraded by tweaking the document size)

I have read and followed the submission guidelines and, in particular, I

[ ] selected a name that isn't the most obvious or canonical name for what the package does
[X] added a typst.toml file with all required keys
[X] added a README.md with documentation for my package
[X] have chosen a license and added a LICENSE file or linked one in my README.md
[X] tested my package locally on my system and it worked
[ ] excluded PDFs or README images, if any, but not the LICENSE

As is, the name is too obvious for the package's functionality. It would be great if you could pick a more unique name. Please also exclude the examples from the package by adding an exclude = ["examples"] line in typst.toml.

Thanks for your quick feedback
Just changed the things mentionned!
In case you wonder,
Chromo comes from "Chromo" in French, which means "image with bad color taste".

Thanks!


Missing table-responsive.

Too long tables break on small devices. Adding a wrapper such as below fixes the issue:
<div class="table-responsive" >
   // table here
</div>

with style:
.table-responsive {
   position: relative;
   width: 100%;
   overflow-x: auto;
}

Done on v2.5.0


Issues with newer versions of hugo

Describe the bug
I am having issues with newer versions of Hugo as they look to be breaking the site.
My 404 and about me both fail to render correctly and have default content or missing some parts.
To Reproduce
edit about and 404 .md files under content/posts and run hugo build. I use hugo --cleanDestinationDir --forceSyncStatic --gc --minify --templateMetrics --templateMetricsHints --verbose
Expected behavior
all content of the 404 and about pages should render in the files.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
If I manage to work it out I will create a pull request for everyone, so even some hints that might help would be great.
you can also view my 404 and about pages in the source below and check my site lucassymons.net to see the issue.
Your project
https://bitbucket.org/LucasSymons/lucassymons.net
Hugo version
Hugo Static Site Generator v0.62.0/extended linux/amd64

Well, I'm dropping support for this theme due to time constraints, therefore I'm afraid you'll have to switch to other themes.


ValueError: bad marshal data (unknown type code)

Hi. Thank you for your work. I am trying to test the model using the models provided by you. I generated the frames and followed your instructions in the README file. However, when I'm trying to test the model, I'm getting an error:
ValueError: bad marshal data (unknown type code)
I'm using Google Colab Pro. Thank you very much for your help.
File "test.py", line 52, in
test_model(saved_files_path=saved_files_path)
File "test.py", line 45, in test_model
acc, auc, f1, precision, recall = method_class.test(beh_seq_test, saved_files_path)
File "/content/drive/My Drive/Pedestrian_Crossing_Intention_Prediction/action_predict.py", line 1099, in test
test_model = load_model(os.path.join(model_path, 'model.h5'))
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/saving/save.py", line 146, in load_model
return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 168, in load_model_from_hdf5
custom_objects=custom_objects)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/saving/model_config.py", line 55, in model_from_config
return deserialize(config, custom_objects=custom_objects)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/layers/serialization.py", line 106, in deserialize
printable_module_name='layer')
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/utils/generic_utils.py", line 303, in deserialize_keras_object
list(custom_objects.items())))
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/engine/network.py", line 937, in from_config
config, custom_objects)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/engine/network.py", line 1893, in reconstruct_from_config
process_layer(layer_data)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/engine/network.py", line 1875, in process_layer
layer = deserialize_layer(layer_data, custom_objects=custom_objects)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/layers/serialization.py", line 106, in deserialize
printable_module_name='layer')
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/utils/generic_utils.py", line 303, in deserialize_keras_object
list(custom_objects.items())))
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/layers/core.py", line 947, in from_config
config, custom_objects, 'function', 'module', 'function_type')
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/layers/core.py", line 999, in _parse_function_from_config
config[func_attr_name], globs=globs)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/utils/generic_utils.py", line 400, in func_load
code = marshal.loads(raw_code)
ValueError: bad marshal data (unknown type code)

The reason why "ValueError: bad marshal data (unknown type code)" happened is that  A .pyc file ('compiled' Python file) in the Python install folder has become corrupt. These files are used by Python to speed up the start-up and usage of the .py files that are used in scripting.
My recommendation is that you can give up google colab and use a local Linux system to run the project. It is better to use Python3.8 and TensorFlow 2.2- GPU because, by these configurations, two members of our team can run this project without any problem.


support Solana Actions and Dialect Blinks

Already has support for Lulo and Jup blinks. Blinks need to be integrated one-by-one, and all encompassing support can't be done (have discussed this with the dialect team).

closing as not planned


Documentation bug for "Downloaded filename"

The documentation suggests using
http://markevans.github.com/dragonfly/file.URLs.html#Downloaded_filename
"#{job.basename}_#{job.process_steps.first.name}.#{job.format}"

when I used this on my code, I got right away a "nil has no method name" error.
I suggest fixing the documentation as
"#{job.basename}.#{job.format}"

or as my current code
if job.process_steps.empty? then
  "#{job.basename}.#{job.format}"
else
  "#{job.basename}_#{job.process_steps.first.name}.#{job.format}"
end

Thanks for having good documentation to start with !

fixed - thanks! 042e8c7ba0564b13f5062bf0fd1d7482a00d361c


Deployment

Deployment

Support font swapping
Add SSO setup to readme

Actually maybe circle the toggle in the screenshot?


Compile schemas once

Feature:

Main goal: improve performance

How? The schemas are compiled only once, when the
Validator#validate() is invoked to produce a middleware.
This is unlike previously, when Ajv#compile() was invoked
on each request. In reality, Ajv caches compiled schemas:

Ajv compiles schemas to functions and caches them in all cases
(using schema serialized with fast-json-stable-stringify or a
custom function as a key), so that the next time the same schema
is used (not necessarily the same object instance) it won't be
compiled again.

However:

The best performance is achieved when using compiled functions
returned by compile or getSchema methods (there is no additional
function call).

Bonus: Using a for loop will allow us to allow stopping
validation (loop) on first error (as a separate feature (to be done!)).

References:

Ajv Readme: https://github.com/epoberezkin/ajv#readme
Issue #44 (Performance improvements): https://github.com/JouzaLoL/express-json-validator-middleware/issues/14

Thank you for the PR! I created a new issue #16 for discussion of your bonus.


Expand Usage section of README

In the README your Usage section lists various ways of calling the program, but doesn't explain any of them, or when you'd use one over the other.  Add some text to help new users understand what's going on with each of these.

I added some explanation of how the command works. Thank you!


[DRAFT] Implement calling convention wrappers for freecell.exe/commctrl.dll

#12
Progress so far (later crashes in SendMessageW, differing definitions for TB_SETTOOLTIPS seems to be the cause):

TODO:

Make it not crash
Organize the wrappers instead of dumping all of them into one file
Mutex protection for WrappedWndProcs

It's working! (with a few hacks)


[FLINK-12819][sql-client] Reuse TableEnvironment between different SQ…

…L statements
What is the purpose of the change
reuse TableEnvironemnt instance between different SQL statements
Brief change log
reuse TableEnvironemnt instance between different SQL statements
Verifying this change

Added test to verify TableEnvironment instance is reused: org.apache.flink.table.client.gateway.local.testReuseTableEnv

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

Thanks for the pull request @docete .
However, I think we can't reuse TableEnvironment between SQLs. Because StreamExecutionEnvironment is stateful and will cache the previous transformation. Which means it will re-run the first SQL job when submitting the second SQL job.
I think we should decouple StreamExecutionEnvironment from TableEnvironment first, i.e. generate the StreamGraph by TableEnvironment itself. And then start this work.

Hi， @wuchong I checked flink planner and blink planner. Both of them have cleared transformations after execution. For flink planner, transformations are cleared in execution() function. For blink planner, transformations are cached in TableEnvironment and cleared after generating StreamGraph.

Sorry @docete ,  you are right, transformations will be cleared after execution.
I will review it again.


Deprecate conf_update_interval

Description:
As noticed in #20526 , CONF_UPDATE_INTERVAL and CONF_SCAN_INTERVAL serve identical purposes and CONF_SCAN_INTERVAL is used a lot more.
Now that we have a clean way to deprecate configs without causing breaking changes, (#20565) we can clean this up.
CONF_UPDATE_INTERVAL has been deprecated in 0.88 and is set to become invalid in 0.91 (three versions out). In 0.92, we can go ahead and do a final cleanup since all users should have migrated over by then.
Breaking Change: update_interval has been deprecated and replaced with scan_interval in all components and platforms. This is a soft deprecation in this release and will automatically become a hard breaking change in Home Assistant version 0.91.0.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#8603
I need to go through all of these components/platforms and update the documentation.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

Is this a fix and that's why it should go into 0.88?

Is this a fix and that's why it should go into 0.88?

No, I'm trying to place all of the configuration deprecations in a single release (there's already one in 0.88) so that it easier for users to remember when the deprecations became forcibly invalid.
All changes addressed and pushed up.

Nice!


Non-Opportunistic Transfer

TNF-04M: Non-Opportunistic Transfer

Type
Severity
Location

Logical Fault
Minor
TransferNFTCondition.sol:L186, L252

Description:
The linked safeTransferFrom invocations are performed regardless of whether the amount to be transferred is equal to zero.
Example:
function fulfill(
    bytes32 _agreementId,
    bytes32 _did,
    address _nftReceiver,
    uint256 _nftAmount,
    bytes32 _lockPaymentCondition,
    address _nftContractAddress
)
public
override
returns (ConditionStoreLibrary.ConditionState)
{

    bytes32 _id = generateId(
        _agreementId,
        hashValues(_did, _nftReceiver, _nftAmount, _lockPaymentCondition, _nftContractAddress)
    );

    address lockConditionTypeRef;
    ConditionStoreLibrary.ConditionState lockConditionState;
    (lockConditionTypeRef,lockConditionState,,,,,,) = conditionStoreManager
    .getCondition(_lockPaymentCondition);

    require(
        lockConditionState == ConditionStoreLibrary.ConditionState.Fulfilled,
        'LockCondition needs to be Fulfilled'
    );

    IERC1155Upgradeable token = IERC1155Upgradeable(_nftContractAddress);

    token.safeTransferFrom(msg.sender, _nftReceiver, uint256(_did), _nftAmount, '');

    ConditionStoreLibrary.ConditionState state = super.fulfill(
        _id,
        ConditionStoreLibrary.ConditionState.Fulfilled
    );

    emit Fulfilled(
        _agreementId,
        _did,
        _nftReceiver,
        _nftAmount,
        _id,
        _nftContractAddress
    );

    return state;
}

Recommendation:
We advise an if clause to be introduced that performs the transfer solely when an actual amount of NFTs is meant to be transferred.

fixed by #145


Post release automated changes for mediaservices releases

Post release automated changes for azure-arm-mediaservices

API change check
API changes are not detected in this pull request.


400 Bad Request

I set pyramid_swagger.schema_directory = /Users/ip-Label/Virtualenvs/foobar-py3/ini/api_docs
and I have the folder api_docs which contain my jsons like in ur example.
but always I get this error:
400 Bad Request
The server could not comply with the request since it is either malformed or otherwise incorrect.
Could not find the relevant path (/) in the Swagger schema. Perhaps you forgot to add it?

You will get 400 responses anytime you query for an endpoint not described in your schema. Are you querying an endpoint which does not exist in your schema?

Hi
when I edit mu api_docs.json like this
{
"swaggerVersion": "1.2",
"apiVersion": "1.0",
"basePath": "http://petstore.swagger.io/api",
"apis": [
{
"path": "/pet"
},
{
"path": "/store"
},
{
"path": "/user"
}
]
}
I have this error pyramid_swagger.ingest.ResourceListingGenerationError: api_docs/api_docs.json has an apis listing. Generating a listing would override this listing.
When I remove apis from api_docs.json I get this in the browser Could not find the relevant path (/) in the Swagger schema. Perhaps you forgot to add it?
How can fix that?

now I have this log in the browser
404 Not Found
The resource could not be found.
/pet/

Hi
When I add in the init.py this line
config.add_route('hello', '/pet/')
I get no error in the browser http://<IP_ADDRESS>:6543/pet/  but I have no result what I should I will get?

Should I have a local data base to add my pets?

Are you sure the application itself is running? I would encourage you to pick a simple endpoint to implement (not the whole Pet example from Swagger.io), implement it as a Pyramid application that you know works, and only then integrate it with pyramid_swagger. If you get through all that I'm happy to help you debug this library, but it sounds like you are asking for how to implement the application itself.

what does it mean endpoint?
file json? or what ?

By endpoint I mean a particular pyramid view (like GET on "/pet"). You can see my comment on #104 to see what the goals of pyramid_swagger are, but it definitely does not build your application for you or provide any database.

closed for lack of feedback


[3.x] Bind Semaphore.try_wait()

Also updates the documentation of wait() and post(), as they always return OK now.

Thanks!


chore() increase events queue len to 102450

Summary
increase events queue len to 1024*50, it may reduce the probability of queue overflow.
See FT-3214.

it may reduce the probability of queue overflow

or move it later? have we hit this issues, and how can we reproduce?

it may reduce the probability of queue overflow

or move it later? have we hit this issues, and how can we reproduce?

Please see FT-3214.


Missing RBAC for webhook?

I used this for about a year, and now I noticed that I cannot get new certificates.
0222 18:02:29.828161       1 controller.go:167] cert-manager/challenges "msg"="re-queuing item due to error processing" "error"="XXX.YYY is forbidden: User \"system:serviceaccount:cert-manager:cert-manager\" cannot create resource \"XXX\" in API group \"YYY\" at the cluster scope" "key"="AAA/BBB-zh49m-3528166467-3830210674"

Not sure if I missed some changes during upgrades, or if something in Kubernetes needs special treatment now.
From what I found this might (or not...) be related to missing RBAC permissions. This issue seems similar.
So does this one, but that had another root cause (that I checked, my groupName is the same everywhere).
Any ideas?

I also ran into this problem.  I don't know what changed (I assume it might be certmanager running as different service account), but I fixed it by setting certManager,serviceAccountName=cert-manager (it defaults to cert-manager-controller afair).

I also ran into this problem. I don't know what changed (I assume it might be certmanager running as different service account), but I fixed it by setting certManager.serviceAccountName=cert-manager (it defaults to cert-manager-controller afair).

Thanks for the reply. That seems to have done the trick.

I created a PR to change the serviceAccountName, see #36. Not sure if this only hit us for whatever reasons, or if this should be fixed in general by the PR.

Had the same issue. Works after chaning the serviceAccountName

I will add golang patch and make new release. Thanks!

More RBAC issues
https://github.com/vadimkim/cert-manager-webhook-hetzner/pull/37
The hook can't access flowcontrol-solver
I am using k8s:  v1.26.1+k3s1 (installed via k3s)

More more RBAC issues
I needed to add this roles to my cluster to cert manager: https://stackoverflow.com/a/73750470

Released at 1.2.2


update download and changelog for v2.100.2-beta.1

I don't think going through the beta and rc process is necessary here, but oh well.


Title:  Beautiful Animated Login Page

I want to add a Animated login Page.
Please assign me this issue

No need for a login page as of now.


Enable support for custom column names for tenant-level security policies

Description
This pull request introduces the ability to specify custom column names for tenant-level security policies within the TenantLevelSecurity::SchemaStatements module.
The need for this enhancement is due to potential conflicts with existing tenant_id columns in some applications.
For example, a real estate service may already have a tenant table that uses the tenant_id column in a different context.
I'm leaving the default column name as tenant_id to maintain compatibility with the standard approach of multi-tenant architecture.
I also made sure that the tenant_level_security.tenant_id setting remains unchanged to maintain the consistency and intent behind the design principles of multi-tenant architecture.
Key changes

Added an optional column_name parameter to the create_policy method to allow developers to specify a custom column name for tenant identification.

In addition, the following modifications were made:

Fix bug preventing remove_policy without second argument
specify as a string and symbol partition_key


Add support to measure multiple lights

I think, that feature would also benefit from the ability to select multiple lights or groups of these in the hue light controller.

I think, that feature would also benefit from the ability to select multiple lights or groups of these in the hue light controller.

Good suggestion. When you use the hass light controller you will be able to use HA light groups, but for the Hue controller I'll need to add this.

@tomsoftcom Choosing hue groups/zones is now supported from the measure tooling. #280
When you choose the option to measure multiple lights, the light picker is extended with the Hue groups.
I am not adding support to choose multiple lights yet, as this needs a lot of refactoring in the code, but it is easy enough to add a group for the set of lights in the Hue App.
Also controlling the lights as a group is much faster and robust.
When you use the hass light controller it should also be possible to just define a light group as the entity_id


game crashes as soon as I load character.

I used bl2_all-tools_1.0.5-with-symbols, now every time I try to play the edited save on that character the game crashes.

What is your badass rank if it is above 4,294,967,295 because it is the max unsigned 32-bit integer

No where close to that number. Although how where can I find out?

From: xcier<EMAIL_ADDRESS>Sent: 12 September 2018 16:35:37
To: gibbed/Gibbed.Borderlands2
Cc: Reco3; Author
Subject: Re: [gibbed/Gibbed.Borderlands2] game crashes as soon as I load character. (#67)
What is your badass rank if it is above 4,294,967,295 because it is the max unsigned 32-bit integer
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/gibbed/Gibbed.Borderlands2/issues/67#issuecomment-420714855, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ApGpz-wkpq7cG4knPE8FioQlaG7oGXFmks5uaTfZgaJpZM4WgDyM.

Reco, its in the mod options, just look.
He has a currpted save. He needs to learn to backup the file, then mod, and load.
I had this happen, I couldnt restore it without a backup.


Async SPI

This PR implements a Future based abstraction around the current DMA implementations and uses said abstraction to implement the Async SPI traits from e-h on SpiDma.
FYI the diff looks kinda weird because of the fmt commit, perhaps compare the commits before that fmt commit for easier viewing.
Breaking changes
dma::private, gdma::private, and pdma::private no longer exist. All the DMA types/traits are now public. The ideal solution would be to erase these types see #381.
Future work

The error handling for the DMA needs some work at the moment DMA errors are unchecked.
We could implement the e-h-a SPI traits on the normal Spi struct using the peripheral FIFO + interrupts, but this is less efficient and unnecessary for this initial implementation.

Looks good and works fine
Only thing is discovered: we broke the I2S sound example (circular DMA) by https://github.com/esp-rs/esp-hal/commit/5f933aa7c13311288e4dfedd858463563554b55d
So technically this PR isn't the problem but I think the mentioned commit is the ground work for this
Reverting that one line makes it work again, apparently but breaks this

Maybe an obvious fix would be to change
dw0.set_suc_eof(last);

to
dw0.set_suc_eof(circular || last);

Interestingly the example also works with the original true on ESP32

Thanks for the review!

Maybe an obvious fix would be to change

Sounds good, but perhaps we should do that change in another PR, and maybe take a closer look and make sure that's the real fix?

Thanks for the review!

Maybe an obvious fix would be to change

Sounds good, but perhaps we should do that change in another PR, and maybe take a closer look and make sure that's the real fix?

You are right it's not really related to this PR - I will create an issue for that (since I2S is already broken)
So I guess this is fine for me then


cheat sheet in the docs

it would be great to have a cheat sheet somewhere in the docs, with a list of commands you need to do once in a while:

getting annotations or some other part that is not typically downloaded
updating the package
pulling updates from datasets
saving updates
publishing updates

Don't you think this would be redundant with https://github.com/LAAC-LSCP/ChildRecordsData/blob/docs-improvements/docs/REUSE.md in a way ?
Maybe we should think about what we should do to make this look more like a cheatsheet.
Apart from the cheatsheet, we'd have two tutorials:

The VanDam tutorial, to package a dataset to our format
The Namibia tutorial, to install namibia-data, get the data, submit updates etc.

What do you think?


Overlay for STASH units

Imagine like an overlay on each STASH unit that shows if it's built or not and what is/can be in it.
So if you've got it built it's outlined in green and if not it's outlined in red and on top of it would be a text list of what items go into it and the text would be red or green depending on if you've got them stored or not.
Seems useful to me?

Duplicate of #1662

Github search seems more useful to me


Brocken Link to website and demo

On the README the link to the website and demos don't work.

Hi Luis,
Sorry, but we have discontinued work on Corkscrew and no longer have the
Domain it was hosted on.
Thank you for bringing it to our attention.
Best,
Alex Fedorov
Co-Founder, Fresh Tilled Soil
On Fri, Nov 23, 2018 at 2:55 AM Luis Pato<EMAIL_ADDRESS>wrote:

On the README the link to the website and demos don't work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freshtilledsoil/corkscrew/issues/2, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABTAtJRdRML5HFuGXtl5n9zOJCEWIKVvks5ux6nVgaJpZM4YwOos
.

--
Fresh Tilled Soil
www.freshtilledsoil.com
Design & strategy for the future of digital products

Thanks for the heads-up. We've removed the link to the demo in the README. Going forward, please just clone & run it locally.


spec run by example name doesn't work

Bug Report
crystal 1.0
I would expected the following to work, based on the description of crystal spec runner  -e , --example STRING            run examples whose full nested names include STRING
$ cat badspec.cr
require "spec"
describe "works" do
  it "should replace more than one instance same line" do
    false.should eq(true)
  end
end

$ crystal badspec.cr
F

Failures:

  1) works should replace more than one instance same line
...
$ crystal spec.cr -e "works should replace more than one instance same line"

Finished in 26 microseconds
0 examples, 0 failures, 0 errors, 0 pending

Thanks for your help.

The example filter matches against each name component individually. That's why a search string spanning multiple hierarchies does not match. But the description clearly indicates this would work.
This can be changed. It probably should match against the full nested description of every example , instead of descending hierarchically


Latest version of unroll dependency does not compile

https://gitlab.com/elrnv/unroll/-/issues/4
Temporary fix in #219

This is now fixed


MaxSun RX580 8GB performance issues

I installed ROCm and tensorflow using the aieater script:
aieater
I get expected performance on standard benchmarks:
Cifar10 peak        ~8500 examples/sec
Alexnet forward    0.051s/batch
Alexnet backward  0.190s/batch
However for OpenAI baselines PPO2 implementation I get half the performance of a p106-100 on the same computer
command used from baselines:
OpenAI baselines
python3 -m baselines.run --alg=ppo2 --env=PongNoFrameskip-v4 --num_timesteps=2e7

I haven't have the time to profile yet, I wounder if someone else ran into same performance issues
System:
Ubuntu 18.10
Asus x99-e ws motherboard
Xeon e5 2667 v3
32GB DDR4 2400mhz

I recommend that you taking this issue to our TensorFlow issue tracker.


Dialog.fullscreen has bottom barrier in iOS

I am trying to implement a fullscreen dialog using Dialog.fullscreen but I am getting a bottom barrier. I would like to keep the top barrier but have the fullscreen dialog positioned so that it starts at the absolute bottom of the screen without the barrier.
This is occurring on iOS devices (tested on both iPhones and iPads) without a physical button. Android seems to be working as expected.
onTap:() {
  showDialog<void>(
    context: currentContext,
    builder: (BuildContext context) {
      return const Dialog.fullscreen(
        child: Center(child: Text("Fullscreen Dialog"),),
      );
    },
  );
},

https://user-images.githubusercontent.com/91960896/228292070-6e144ec1-67fb-4b65-9502-d429bf724721.mov

@TahaTesser Since you worked on the Dialog.fullscreen feature I figure you may have some additional insight. Do you know if this is intentional? Or if there is a way around this?

Hi @jgarciamccausland
You can disable safe area in the showDialog to get rid of the safe area paddings.
          showDialog<void>(
              context: context,
              useSafeArea: false,
              builder: (BuildContext context) {
                return const Dialog.fullscreen(
                  child: Center(
                    child: Text('Fullscreen Dialog'),
                  ),
                );
              },
            );

	|

I would like to keep the top barrier but have the fullscreen dialog positioned so that it starts at the absolute bottom of the screen without the barrier.

For this use case, you can first disable the safe area for the showDialog and then add wrap Dialog.fullscreen with your own SafeArea widget.
            showDialog<void>(
              context: context,
              useSafeArea: false,
              builder: (BuildContext context) {
                return const SafeArea(
                  bottom: false,
                  child: Dialog.fullscreen(
                    child: Center(
                      child: Text('Fullscreen Dialog'),
                    ),
                  ),
                );
              },
            );

	|
Ths should solve your issue, feel free to comment below with any questions.

Ahh, brilliant. I ended up disabling the safe area but knowing we can implement the initial design with the second option is fantastic. Thank you very much.


Support launching multiple Chrome DriverSessions

I have a test for this behaviour, but I'll wait for https://github.com/fluffysquirrels/webdriver_client_rust/pull/14
to merge before adding it.

Supporting multiple Chrome DriverSessions certainly sounds good!
I think just add the test to this PR and we can patch it slightly as required by #14. Without the test I'm having a little difficulty seeing how this impl supports multiple sessions.
Also, can you try a generic impl for Arc? Something like:
impl<T: Driver> Driver for Arc<T> {
    fn url(&self) -> &str {
        self.deref().url()
    }
}

Don't bother if it's tricky to get that to compile. I sometimes have problems when I try this sort of thing and from memory it may require specialization (default keyword) or more features to land in the compiler (tracking issue, RFC).

So the reason you can't do this currently is the Driver::session(self) method consumes the ChromeDriver, right? How about just adding an explicit new session method to ChromeDriver that takes &self? I think that might be a bit more obvious from the rustdoc than some impl for Arc<ChromeDriver>.
I have a feeling that just adding ChromeDriver::session(&self) would work (by shadowing the method on the trait), but that might be a bit unusual and hence confusing. How about multiple_session? Happy to hear better suggestions :)

Seeing the test helps, thanks! I still think ChromeDriver::multiple_session() might be clearer. The method could also be on a new trait MultiSessionDriver: Driver, which ChromeDriver would impl and others may also impl later.

Updated, please take a look :)

Hey, thanks for this. I'll take a look soon.

Personally I would avoid the hard dependency on Arc in the method return type. It seems it should be possible to implement the Driver trait for Arc and Rc
impl Driver for Arc<ChromeDriver> {
    fn url(&self) -> &str {
        &self.url
    }
}

with  this impl alone it should be possible to launch multiple sessions (the same applies to std::rc::Rc)
#[test]
fn launch_multiple_chrome_sessions() {
    ensure_logging_init();
    use std::sync::Arc;
    let server = FileServer::new();
    let chromedriver = Arc::new(ChromeDriver::build().spawn().unwrap());

    let session1 = Arc::clone(&chromedriver).session(&Default::default()).expect("Error starting first browser");
    let session2 = chromedriver.session(&Default::default()).expect("Error starting second browser");

    let page1 = server.url("/page1.html");
    let page2 = server.url("/page2.html");
    session1.go(&page1).expect("Error getting page1");
    session2.go(&page2).expect("Error getting page2");

    assert_eq!(&session1.get_current_url().expect("Error getting url 1"), &page1);
    assert_eq!(&session2.get_current_url().expect("Error getting url 2"), &page2);
}

It is not as ergonomic as yours but it shifts the ability to do this to the caller,
by implementing the Driver trait to his own types (that wrap ChromeDriver). We can and should provide implementations for std types when applicable - e.g. Arc and Rc.
I dont know if you choose Arc because you intended to use this accross threads, but neither your approach or mine are sufficient to move the session into the closure e.g.
    thread::spawn(move || {
        chrome1.go(&page1).expect("Error getting page1");
    });

this fails with
error[E0277]: the trait bound `std::ops::Drop + 'static: std::marker::Send` is not satisfied
   --> tests/webdriver_client_integration.rs:352:5
    |
352 |     thread::spawn(move || {
    |     ^^^^^^^^^^^^^ `std::ops::Drop + 'static` cannot be sent between threads safely
    |
    = help: the trait `std::marker::Send` is not implemented for `std::ops::Drop + 'static`
    = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Uniqu
e<std::ops::Drop + 'static>`
    = note: required because it appears within the type `std::boxed::Box<std::ops::Drop + 'static>`
    = note: required because it appears within the type `webdriver_client::DriverSession`
    = note: required because it appears within the type<EMAIL_ADDRESS>352:19: 354:6 chrome1:webdriver_client::DriverSession, page1:std::string::String]`
    = note: required by `std::thread::spawn`

Yeah, that was my first implementation, but @fluffysquirrels didn't like
the ergonomics of it as a caller…
On 3 Feb 2018 10:36, "@equalsraf" <EMAIL_ADDRESS>wrote:

Personally I would avoid the hard dependency on Arc in the method return
type. It seems it should be possible to implement the Driver trait for
Arc and Rc
impl Driver for Arc {
fn url(&self) -> &str {
&self.url
}
}
with this impl alone it should be possible to launch multiple sessions
(the same applies to std::rc::Rc)
#[test]fn launch_multiple_chrome_sessions() {
ensure_logging_init();
use std::sync::Arc;
let server = FileServer::new();
let chromedriver = Arc::new(ChromeDriver::build().spawn().unwrap());
let session1 = Arc::clone(&chromedriver).session(&Default::default()).expect("Error starting first browser");
let session2 = chromedriver.session(&Default::default()).expect("Error starting second browser");

let page1 = server.url("/page1.html");
let page2 = server.url("/page2.html");
session1.go(&page1).expect("Error getting page1");
session2.go(&page2).expect("Error getting page2");

assert_eq!(&session1.get_current_url().expect("Error getting url 1"), &page1);
assert_eq!(&session2.get_current_url().expect("Error getting url 2"), &page2);

}
It is not as ergonomic as yours but it shifts the ability to do this to
the caller,
by implementing the Driver trait to his own types (that wrap
ChromeDriver). We can and should provide implementations for std types when
applicable - e.g. Arc and Rc.
I dont know if you choose Arc because you intended to use this accross
threads, but neither your approach or mine are sufficient to move the
session into the closure e.g.
thread::spawn(move || {
    chrome1.go(&page1).expect("Error getting page1");
});

this fails with
error[E0277]: the trait bound std::ops::Drop + 'static: std::marker::Send is not satisfied
--> tests/webdriver_client_integration.rs:352:5
|
352 |     thread::spawn(move || {
|     ^^^^^^^^^^^^^ std::ops::Drop + 'static cannot be sent between threads safely
|
= help: the trait std::marker::Send is not implemented for std::ops::Drop + 'static
= note: required because of the requirements on the impl of std::marker::Send for std::ptr::Uniqu e<std::ops::Drop + 'static>
= note: required because it appears within the type std::boxed::Box<std::ops::Drop + 'static>
= note: required because it appears within the type webdriver_client::DriverSession
= note: required because it appears within the type<EMAIL_ADDRESS>352:19: 354:6 chrome1:webdriver_client::DriverSession, page1:std::string::String]
= note: required by std::thread::spawn
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fluffysquirrels/webdriver_client_rust/pull/17#issuecomment-362843265,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFEuELfq9azHQmYyB3pbIKDg1jpatl4ks5tRKcTgaJpZM4R1L0J
.

Ah sorry i missed that.
I've been trying to figure out if it is possible to get Send.working but the only way I got it to work was by requiring it in the  Driver definition.
pub trait Driver: Send {

which i dont think we should do.

Send and Sync are normally derived if all fields on a struct support them, or you can manually implement them with an empty impl (they're just marker traits):
// unsafe because the compiler can't check your implementation is correct (or it would have
// derived it automatically for you).
unsafe impl Send for MySafeType {}
unsafe impl Sync for MySafeType {}

// You can also mark a type as unsafe for Send or Sync
impl !Send for MyUnSafeType {}
impl !Sync for MyUnSafeType {}

See the Rust nomicon page on Send and Sync

Thought a bit more. I think I prefer a single instance of Driver creating multiple sessions, instead of cloning the driver. Also it's not so bad if GeckoDriver returns an error if a session has already been created. @equalsraf, does that make sense to you also?
So please try changing Driver::session to take a reference and DriverSession::create_session similarly.

Send and Sync are normally derived if all fields on a struct support them, or you can manually implement them with an empty impl (they're just marker traits):

My only point concerning sync/send was that send was not being automatically derived for Driver (or Drop + 'static) which means that choosing Arc seemed strange since we couldnt actually send it to another thread. Rc would make more sense, but ideally the caller would decide.

Yeah, the awkwardness is definitely that having a consuming session(self) makes it hard to have a non-consuming session(&self). If you're happy to just have a non-consuming session(&self), and have the GeckoDriver return an Err if you try to re-use it, that definitely works for me, though I can see the desire to model this lifetime in the types.
The awkwardness with that, though, is that it requires the caller to manually ensure that the Driver is kept alive while the DriverSession is. This comes for free using an Arc (or an Rc), but I believe would push work onto the caller to convince the borrow-checker that Driver doesn't drop while DriverSession is in scope.
This is why I find it somewhat nicer as a consumer to just be given an Arc<ChromeDriver> - it means that the underlying methods Just Work in all situations. While the API mandating an Arc is not ideal (being able to choose an Rc or a & would be nice), I find it hard to object to an Arc here on efficiency reasons, because necessarily when you're calling this method, you're forking a process, and the cost of an Arc is meaningless in that situation. I wonder whether I could put together something clever with AsRef... I'll give it a go :)

The caller certainly doesn't need to handle a complicated type. No Arcs, no AsRefs, nothing clever. If you want to use those things, add them as fields in ChromeDriver.
Yes, an Arc is certainly efficient enough if you want to enable thread-safe use, which may be useful.

Add an inner: Arc<ChromeDriverProcess> field on ChromeDriver.
#[derive(Clone)] on ChromeDriver.
Create session methods clone the ChromeDriver.
Drop on ChromeDriverProcess cleans up the chromedriver process.

Moved this to https://github.com/fluffysquirrels/webdriver_client_rust/pull/20
(But I believe the caller does need to know about some non-ChromeDriver type if we want to avoid the consumer having to clone the ChromeDriver)

Continued in #20.


[RFC] [Feature] Documentation for Integrations

Is your feature request related to a problem?
Currently, there is no organized location for general documentation on the integrations codebase, and how the individual integrations function. There are a few scattered sources but they aren't especially useful for development. In particular, we're missing:

Javadocs for most code functions
A high-level overview of how the plugin works
Up-to-date API documentation
A publicly visible roadmap
Descriptions of how individual integrations function

Currently, we have some creation documentation available in the wiki. We ideally would like to make a folder for the documentation, but since we still don't have an established integrations repository, it's tricky.
What solution would you like?
As a stop-gap solution for the lack of a repository, I propose we put the documentation in a new integrations-docs folder, maintained separately from the observability docs. This folder will contain:

README.md: A high-level overview with a table of contents that directs to other documents.
roadmap.md: Future planned features that don't have issues yet, just to give ideas. Flooding too many issues could harm the development of observability, so a simple tracker here may be valuable.
integrations: Documents for each of the supplied integrations and their intended usage, such as nginx or aws-elb. These documents should typically contain a description of how to set up OpenSearch to correctly ingest these logs, and some ingestion pipeline.
usage: How to set up pipelines to use the plugin. This can link to the catalog for schemas, and describe various setups with FluentBit, Vector, Data Prepper, or other tools. This will be important to drive adoption, and gives us a place to deposit things like the updated fluentbit converter.
plugin: Documents pertaining to plugin functionality, such as the API and how to navigate the codebase. This can be especially useful since the plugin is embedded with the dashboards-observability plugin and we could use this to help with splitting them.

What alternatives have you considered?
For integration documentation, we could embed it directly with the provided repository. This can work, but may be difficult to find. Ideally, we want to simply move our existing code to a separate repository, this is in progress but due to other priorities may take a while.
We have some documentation in the observability repo, but I'd like to avoid making our documentation any more fragmented than it already is. We need to start focusing more on cohesion for users.
Do you have any additional context?
N/A

we already support this for integration here

@Swiddis can u plz link each doc u think is necessary to an existing doc we already have in our here documents folder  ?


Conditionalized container vars in Makefile

Added the ability to use docker or podman along with setting a desired
tag.
Service account for observatorium-operator was updated to default to
observatorium namespace.

/assign @metalmatze

@dofinn Could you rebase your PR to pass the test? Thanks.

@clyang82 https://app.circleci.com/pipelines/github/observatorium/operator/197/workflows/93d14fb0-0ee4-4b35-9210-13454231d70f/jobs/491 looks like the namespace definition may break this e2e. What is desirable from your PoV here?


feat: create manual client for Write API

Fixes #111 ☕
A StreamWriter that provides built-in capabilities to help making bi-di streaming client easy to use:

handle batching of messages;
controlling memory utilization (through flow control);
automatic connection re-establishment;
request cleanup (only keeps write schema on first request in the stream).

Example:
WriteStream writeStream =
client.createWriteStream(
CreateWriteStreamRequest.newBuilder()
.setParent(tableId2)
.setWriteStream(WriteStream.newBuilder().setType(WriteStream.Type.PENDING).build())
.build());
StreamWriter streamWriter = StreamWriter.newBuilder(writeStream.getName()).build();
ApiFuture response =
streamWriter.append(
createAppendRequestComplicateType(writeStream.getName(), new String[] {"aaa"})
.setOffset(Int64Value.of(0L))
.build());
assertEquals(0, response.get().getOffset());
streamWriter.shutdown();
}

please take a look at the various build failures.

As a general note, all public methods need to be documented clearly in accompanying Java doc to help developers understand what the inputs, outputs, exceptions, etc are. I see a number of public methods without Java doc. Please make sure to put them in.


Combine raster image bands if multiple are available

This updates the logic for pulling S2 raster imagery so that if the image contains multiple bands, all of them are combined prior to rendering.
See https://cogeotiff.github.io/rio-tiler/readers/#rio_tileriorasterioreader for example.

I've moved this over to #510 (https://github.com/ResonantGeoData/RD-WATCH/pull/510/files#diff-47d30659c222eac3045105d112673bb128ab41c2238b04db41a7f1f38ba5bc1eR40).


[Framework] refactor the framework based on Move Object and Storage Abstraction

Refactor the framework based on Move Object and Storage Abstraction, including instructions such as move_to, move_from, borrow_global, borrow_global_mut and exist

close as complete https://github.com/rooch-network/rooch/pull/102


Add a function to fetch auth user from cookies on the server side

Is your feature request related to a problem? Please describe.
I am trying to authenticate requests that come into my Next.js API routes, however, I am not able to pass the token from the useAuthUser hook into the Authorization header. This means that I cannot easily tell if a request is authenticated for my API routes.
Describe the solution you'd like and how you'd implement it
It would make it very easy to achieve this if there was a function to get the AuthUser from the backend by passing in the req object. This would behave similarly to the setAuthCookies function that currently exists.
Alternatively (or additionally), I think it would be a great addition to have function wrappers that one can wrap their API Route handlers in, similar to withAuthUserTokenSSR but specifically focused for server-side API Routes.
Is this a breaking change?
No, this would not be a breaking change.
Describe alternatives you've considered
As far as I can tell, the only alternatives are to write custom logic to read and parse the cookies myself. This seems like a very brittle solution since it will break if the structure of the cookies used by this library will break.
Additionally, I have tried to use the method shown in examples of setting the Authorization header, however, for my use case this is not a viable option.
As far as I can tell, I do not think that this change would require significant changes from this library. I think exposing two functions (possible called getAuthUserFromCookies and withAuthUserTokenAPI or something similar), would solve my use case and greatly expand the functionality and flexibility of this library.
I have really enjoyed porting my own Firebase authentication scheme to this library, however, this is a significant challenge now for me. I'm happy to answer any further questions or possibly contribute as well.

I have a very similar use case and I've been scratching my head for two days about how it could be achieved in a secure way on my end, but I'm left to believe that there isn't. I would love it if this could be implemented natively as it would greatly simplify this kind of workflow when it's just impossible to pass the token in the Authorization header.

FWIW, I have copied some of the logic from the internals of this package to replicate this behavior and access the cookies directly. This is a pretty bad idea IMO as it is likely to break if anything internal to this package changes.

FWIW, I have copied some of the logic from the internals of this package to replicate this behavior and access the cookies directly. This is a pretty bad idea IMO as it is likely to break if anything internal to this package changes.

Indeed 😅, but as long as it works, that's about the only way to do it, for now, I guess. I hope they could implement something in that direction soon.

I agree, a getAuthUserFromCookie probably makes sense to add.

I am not able to pass the token from the useAuthUser hook into the Authorization header

@jasonsilberman Just curious, what prevents you from passing the token in your API requests?

@jasonsilberman Just curious, what prevents you from passing the token in your API requests?

In my case, I'm trying to identify which user is currently authenticated after he has successfully completed an OAUTH2 process to get an access token from an external API. Since the user clicks on a link, I can't pass the access token in any way that allows me to identify him back when he is redirected :/. I could be thinking all of this wrong though 😅, so I'm open to suggestions!
In the meantime, I found an alternative that necessitated me to go from "strict" to "lax" for the sameSite setting, but I'm aware that it's not optimal.

@mathcrln I'm not sure I follow. When the app loads after redirect, I'd expect you'd be able to access the token and pass in in API calls (client-side example, server-side example). Or, is the problem that your auth lives on a separate domain from the app?

I agree, a getAuthUserFromCookie probably makes sense to add.

I am not able to pass the token from the useAuthUser hook into the Authorization header

@jasonsilberman Just curious, what prevents you from passing the token in your API requests?

A method likes getAuthUserFromCookie  would be awesome

for those how want to rely on cookie and not send token in headers there is a simple helper:
import { withAuthUserTokenSSR } from 'next-firebase-auth'

const checkServerSideAuth = typeof window !== 'undefined'
  ? null // "withAuthUserTokenSSR" can only be called server-side.
  : withAuthUserTokenSSR({
      whenAuthed: AuthAction.RENDER,
      whenUnauthed: AuthAction.REDIRECT_TO_LOGIN,
      authPageURL: '401',
    })(({ AuthUser }) => ({ AuthUser, props: {} }))

export function withAuthUserTokenAPI(handler) {
  return async (req, res) => {
    const { AuthUser, redirect } = await checkServerSideAuth({ req, res })
    if (redirect) {
      res.status(401).json({ ok: false, code: 'unauthorized' })
      return
    }
    return handler(req, res, AuthUser)
  }
}

and then you wrap your API handler:
export default withAuthUserTokenAPI((req, res, user) => {
  // your code here
})

I'll second this use case. I proxy my graphql requests from apollo so the server side handles the application of the bearer token on request; abstracted from the client side. Example
If this function existed, I wouldn't need to pass the context/header info upon every single time I wanted to make a request. This would be an amazing feature.
And @zaverden, is this supposed to work within the pages/api routes?

@Rykuno for the first error just add async for a callback
-     })(({ AuthUser }) => ({ AuthUser, props: {} }))
+     })(async ({ AuthUser }) => ({ AuthUser, props: {} }))

for the second one - next-firebase-auth has wrong TS typings for withAuthUserTokenSSR (at least for 1.0.0-canary.5 and earlier), that's why there is an error. I suggest to ignore it until typings are fixed. Use @ts-expect-error here
+    // @ts-expect-error wrong typings in lib. remove expect-error if typings are correct now
     const { AuthUser, redirect } = await checkServerSideAuth({ req, res });

Here is typed version: https://gist.github.com/zaverden/9f6579f262ac25b591dd814047e19b30

@zaverden If you've identified an incorrect type, please open an issue. Thanks!

A getUserFromCookies method was added in #516. It's available in release 1.0.0-canary.13. PR #521 shows a simple demo.
For those following this issue, please let me know if this meets your needs or if you run into any problems using it. Thanks!


Hiding wrappers from directus filters

Hi @ptkio
Thanks for the really useful extension!
What do you think about hiding the wrappers from appearing in filters in directus?
Sadly im not versed enough about directus yet to help make PR for this yet.
Currently the columns in wrappers would be nested 2 deep, which makes it harder for people to use the filters.
Data Studio:

Access Control > Item Permission

Wondering if its even possible to make the nested columns/fields flat at top level.
Please pardon my bad field naming 🤭

I have exactly the same issue and it's really annoying!
Unfortunately, the created groups respond to the functioning of Directus groups, which seem to have the same problem. To resolve this issue, it would be necessary to go deeper and add an option that allows groups to be "invisible" in these interfaces. It doesn't seem like such an option exists at this time. This addition needs to be made directly in Directus.
Unfortunately, there's nothing I can do on my side.
If anyone has a solution, I'm interested, but I don't see one without modifying the Directus source. Maybe a request could be made directly to Directus?
But I'm not sure if they would consider it, as it's a rather specific issue, and responding to every such request might complicate the source.

The issue is resolved in the latest Directus version. It's not the best way to navigate the data, but it's the only solution to apply a layout without breaking other functionality or requiring extensive development.


pyenv migration potentially

pyenv seems to be taking the cake in terms of python environment management. see if we can migrate from conda to pyenv

done!


export

can i export it from pt to onnx in this file

can i export it from pt to onnx in this file

so，it can be work？i change some function but still can't to export onnx file

bump. I also wanna know 👀

Any progress?

any progress?

sorry, its been too long. I successfully transfered this model into onnx, by changing some functions in tensor and np convertor? Maybe? I remember u can see the warning log during transferring and changing 2 to 3 functions will be the solution.

sorry, its been too long. I successfully transfered this model into onnx, by changing some functions in tensor and np convertor? Maybe? I remember u can see the warning log during transferring and changing 2 to 3 functions will be the solution.

Thanks, I have solved this problem.

@huzhanming16 could you provide some suggestions export model to  ONNX? thanks


Trying to add an item to the front of a list is cumbersome

VSCode Version: Code 1.12.2 (19222cdc84ce72202478ba1cec5cb557b71163de, 2017-05-10T13:13:11.413Z)
OS Version: Darwin x64 16.6.0
Extensions:

Extension
Author
Version

theme-sapphire
Tyriar
0.2.1

quokka-vscode
WallabyJs
1.0.34

nord-visual-studio-code
arcticicestudio
0.2.0

vscode-eslint
dbaeumer
1.2.11

tslint
eg2
0.15.0

Go
lukehoban
0.6.61

debugger-for-chrome
msjsdiag
3.1.2

vetur
octref
0.6.11

java
redhat
0.5.0

vscode-icons
robertohuertasm
7.8.1

sass-indented
robinbentley
1.4.1

language-stylus
sysoev
1.7.3

vim
vscodevim
0.8.4

For a list like:
[|"foo", "bar"]

If I type " when cursor is at |, it'll replace the ".
This is really cumbersome for adding items to the front of list,

Caused by swallowing the quotes.

I have a similar problem. I always run into it when using parentheses in if statements. If I'm editing an existing condition that contains a function, I'll often end up with the wrong amount of parenthesis at the end because one was swallowed. Really irritating.


You can make a quick check with following Dockerfile (example for Building multi-platform images)
FROM --platform=$BUILDPLATFORM golang:alpine AS build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM" > /log
FROM alpine
COPY --from=build /log /log

Build docker image.
$ docker version
Client: Docker Engine - Community
 Version:           23.0.1
 API version:       1.42
 Go version:        go1.19.5
 Git commit:        a5ee5b1
...

$ docker build --tag local/multi-arch:demo .
[+] Building 1.0s (9/9) FINISHED
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load build definition from Dockerfile                                                                          0.0s
 => => transferring dockerfile: 249B                                                                                0.0s
 => [internal] load metadata for docker.io/library/alpine:latest                                                              0.0s
 => [internal] load metadata for docker.io/library/golang:alpine                                                              0.9s
 => [stage-1 1/2] FROM docker.io/library/alpine                                                                               0.0s
 => [build 1/2] FROM docker.io/library/golang:alpine@sha256:87d0a3309b34e2ca732efd69fb899d3c420d3382370fd6e7e6d2cb5c930f27f9  0.0s
 => CACHED [build 2/2] RUN echo "I am running on linux/amd64, building for linux/amd64" > /log                                0.0s
 => CACHED [stage-1 2/2] COPY --from=build /log /log                                                                          0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:b83dc9576d6391bea082b79f8bce05d85607034a3fb508dfa9b8f1107189e1d7

To solve the issue for you, either remove --platform=$BUILDPLATFORM from the Dockerfile or install a Docker version with BuiltKit support.

I'll try to replace Ubuntu's stock package for docker with the latest version from Docker's own apt repostitory and see whether it solves the problem.

It works!

Here's what I did.
The Docker documentation gives this command to remove any previous installation of Docker.
sudo apt-get remove docker docker-engine docker.io containerd runc

For me it removes the following packages:

containerd
docker.io
runc

I use deb-get to configure the official apt repo and from there install Docker.
deb-get install docker-ce

My Docker now includes the buildx command.
$ docker --version
Docker version 23.0.1, build a5ee5b1
$ docker buildx version
github.com/docker/buildx v0.10.2 00ed17d

The quick check now outputs this.
[+] Building 10.4s (9/9) FINISHED
 => [internal] load .dockerignore                                                                   0.1s
 => => transferring context: 2B                                                                     0.0s
 => [internal] load build definition from Dockerfile                                                0.1s
 => => transferring dockerfile: 249B                                                                0.0s
 => [internal] load metadata for docker.io/library/alpine:latest                                    0.0s
 => [internal] load metadata for docker.io/library/golang:alpine                                    2.0s
 => [build 1/2] FROM docker.io/library/golang:alpine@sha256:87d0a3309b34e2ca732efd69fb899d3c420d33  6.8s
 => => resolve docker.io/library/golang:alpine@sha256:87d0a3309b34e2ca732efd69fb899d3c420d3382370f  0.0s
 => => sha256:752c438cb1864d6b2151010a811031b48f0c3511c7aa49f540322590991c949d 100.63MB / 100.63MB  4.6s
 => => sha256:87d0a3309b34e2ca732efd69fb899d3c420d3382370fd6e7e6d2cb5c930f27f9 1.65kB / 1.65kB      0.0s
 => => sha256:18da4399cedd9e383beb6b104d43aa1d48bd41167e312bb5306d72c51bd11548 1.16kB / 1.16kB      0.0s
 => => sha256:0b94e5e3eec1be96be80bab3ffc3186af109233342f79fb5051b45ba4beb6bd5 5.11kB / 5.11kB      0.0s
 => => sha256:63b65145d645c1250c391b2d16ebe53b3747c295ca8ba2fcb6b0cf064a4dc21c 3.37MB / 3.37MB      0.4s
 => => sha256:a2d21d5440ebff5aaaaeb115a003f7a4a3897f1866a87de95bc4a21436fc563c 284.82kB / 284.82kB  0.3s
 => => extracting sha256:63b65145d645c1250c391b2d16ebe53b3747c295ca8ba2fcb6b0cf064a4dc21c           0.1s
 => => sha256:07244a03b3147bcdf5c1256e62110d50e31af7af76ef53aae3bcc9da8410dcdc 155B / 155B          0.7s
 => => extracting sha256:a2d21d5440ebff5aaaaeb115a003f7a4a3897f1866a87de95bc4a21436fc563c           0.1s
 => => extracting sha256:752c438cb1864d6b2151010a811031b48f0c3511c7aa49f540322590991c949d           1.7s
 => => extracting sha256:07244a03b3147bcdf5c1256e62110d50e31af7af76ef53aae3bcc9da8410dcdc           0.0s
 => [stage-1 1/2] FROM docker.io/library/alpine                                                     0.0s
 => [build 2/2] RUN echo "I am running on linux/amd64, building for linux/amd64" > /log             1.2s
 => [stage-1 2/2] COPY --from=build /log /log                                                       0.0s
 => exporting to image                                                                              0.1s
 => => exporting layers                                                                             0.0s
 => => writing image sha256:76213bc2185ab8b3076a42d08c6203fae31915ef88268ffa1561a924dc57246e        0.0s
 => => naming to docker.io/local/multi-arch:demo                                                    0.0s

I clone the repo and run the development instructions.
git clone https://github.com/owenthereal/jqplay.git
cd jqplay
make start

make start now outputs this.
docker-compose up --build --force-recreate
Building jqplay
[+] Building 107.1s (18/18) FINISHED
 => [internal] load .dockerignore                                                                   0.0s
 => => transferring context: 2B                                                                     0.0s
 => [internal] load build definition from Dockerfile                                                0.1s
 => => transferring dockerfile: 1.56kB                                                              0.0s
 => [internal] load metadata for docker.io/library/golang:latest                                    0.0s
 => [internal] load metadata for docker.io/library/ubuntu:latest                                    0.0s
 => [gobuilder 1/5] FROM docker.io/library/golang:latest                                            0.3s
 => [jqbuilder 1/3] FROM docker.io/library/ubuntu                                                   0.0s
 => [internal] load build context                                                                   0.8s
 => => transferring context: 60.58MB                                                                0.7s
 => [stage-2 2/5] RUN useradd -m jqplay                                                             1.3s
 => [jqbuilder 2/3] RUN apt-get update &&     apt-get install -y         build-essential           53.2s
 => [gobuilder 2/5] RUN apt-get update && apt-get install -y --no-install-recommends   nodejs   n  29.6s
 => [stage-2 3/5] WORKDIR /app                                                                      0.1s
 => [gobuilder 3/5] WORKDIR /go/src/github.com/owenthereal/jqplay                                   0.0s
 => [gobuilder 4/5] COPY . .                                                                        0.3s
 => [gobuilder 5/5] RUN --mount=type=cache,target=/root/.cache/go-build     --mount=type=cache,ta  29.7s
 => [jqbuilder 3/3] RUN git clone --recurse-submodules https://github.com/stedolan/jq.git &&       53.1s
 => [stage-2 4/5] COPY --from=jqbuilder /usr/local/bin/jq /app                                      0.1s
 => [stage-2 5/5] COPY --from=gobuilder /go/bin/* /app                                              0.2s
 => exporting to image                                                                              0.3s
 => => exporting layers                                                                             0.3s
 => => writing image sha256:82a399359790f31c096e1603b6316f19a2eebe700287310aaa10e9a5b8fd1066        0.0s
 => => naming to docker.io/library/jqplay_jqplay                                                    0.0s
Creating jqplay_db_1 ... done
Creating jqplay_jqplay_1 ... done
Attaching to jqplay_db_1, jqplay_jqplay_1
db_1      | The files belonging to this database system will be owned by user "postgres".
db_1      | This user must also own the server process.
db_1      |
db_1      | The database cluster will be initialized with locale "en_US.utf8".
db_1      | The default database encoding has accordingly been set to "UTF8".
db_1      | The default text search configuration will be set to "english".
db_1      |
db_1      | Data page checksums are disabled.
db_1      |
db_1      | fixing permissions on existing directory /var/lib/postgresql/data ... ok
jqplay_1  | time="2023-03-05T19:04:25Z" level=info msg="initialized jq" path=/app/jq version=1.6
jqplay_1  | time="2023-03-05T19:04:25Z" level=info msg="Starting server at <IP_ADDRESS>:8080" host=<IP_ADDRESS> port=8080
jqplay_1  | time="2023-03-05T19:04:25Z" level=fatal msg="error starting sever" error="failed to connect to `host=db user=jqplay-user database=jqplay-db`: dial error (dial tcp <IP_ADDRESS>:5432: connect: connection refused)"
db_1      | creating subdirectories ... ok
db_1      | selecting dynamic shared memory implementation ... posix
db_1      | selecting default max_connections ... 100
db_1      | selecting default shared_buffers ... 128MB
db_1      | selecting default time zone ... Etc/UTC
db_1      | creating configuration files ... ok
db_1      | running bootstrap script ... ok
db_1      | performing post-bootstrap initialization ... ok
db_1      | syncing data to disk ... ok
db_1      |
db_1      |
db_1      | Success. You can now start the database server using:
db_1      |
db_1      |     pg_ctl -D /var/lib/postgresql/data -l logfile start
db_1      |
db_1      | initdb: warning: enabling "trust" authentication for local connections
db_1      | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
db_1      | waiting for server to start....2023-03-05 19:04:26.156 UTC [48] LOG:  starting PostgreSQL 15.2 (Debian 15.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
db_1      | 2023-03-05 19:04:26.159 UTC [48] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1      | 2023-03-05 19:04:26.166 UTC [51] LOG:  database system was shut down at 2023-03-05 19:04:25 UTC
db_1      | 2023-03-05 19:04:26.172 UTC [48] LOG:  database system is ready to accept connections
db_1      |  done
db_1      | server started
db_1      | CREATE DATABASE
db_1      |
db_1      |
db_1      | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sql
db_1      | DROP TABLE
db_1      | psql:/docker-entrypoint-initdb.d/db.sql:1: NOTICE:  table "snippets" does not exist, skipping
db_1      | CREATE TABLE
db_1      |
db_1      |
db_1      | 2023-03-05 19:04:26.500 UTC [48] LOG:  received fast shutdown request
db_1      | waiting for server to shut down....2023-03-05 19:04:26.503 UTC [48] LOG:  aborting any active transactions
db_1      | 2023-03-05 19:04:26.505 UTC [48] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
db_1      | 2023-03-05 19:04:26.505 UTC [49] LOG:  shutting down
db_1      | 2023-03-05 19:04:26.508 UTC [49] LOG:  checkpoint starting: shutdown immediate
jqplay_jqplay_1 exited with code 1
db_1      | 2023-03-05 19:04:26.629 UTC [49] LOG:  checkpoint complete: wrote 925 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.036 s, sync=0.075 s, total=0.125 s; sync files=253, longest=0.020 s, average=0.001 s; distance=4239 kB, estimate=4239 kB
db_1      | 2023-03-05 19:04:26.674 UTC [48] LOG:  database system is shut down
db_1      |  done
db_1      | server stopped
db_1      |
db_1      | PostgreSQL init process complete; ready for start up.
db_1      |
db_1      | 2023-03-05 19:04:26.743 UTC [1] LOG:  starting PostgreSQL 15.2 (Debian 15.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
db_1      | 2023-03-05 19:04:26.743 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
db_1      | 2023-03-05 19:04:26.743 UTC [1] LOG:  listening on IPv6 address "::", port 5432
db_1      | 2023-03-05 19:04:26.748 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1      | 2023-03-05 19:04:26.755 UTC [66] LOG:  database system was shut down at 2023-03-05 19:04:26 UTC
db_1      | 2023-03-05 19:04:26.762 UTC [1] LOG:  database system is ready to accept connections
jqplay_1  | time="2023-03-05T19:04:25Z" level=info msg="initialized jq" path=/app/jq version=1.6
jqplay_1  | time="2023-03-05T19:04:25Z" level=info msg="Starting server at <IP_ADDRESS>:8080" host=<IP_ADDRESS> port=8080
jqplay_1  | time="2023-03-05T19:04:25Z" level=fatal msg="error starting sever" error="failed to connect to `host=db user=jqplay-user database=jqplay-db`: dial error (dial tcp <IP_ADDRESS>:5432: connect: connection refused)"
jqplay_1  | time="2023-03-05T19:04:26Z" level=info msg="initialized jq" path=/app/jq version=1.6
jqplay_1  | time="2023-03-05T19:04:26Z" level=info msg="Starting server at <IP_ADDRESS>:8080" host=<IP_ADDRESS> port=8080
jqplay_1  | time="2023-03-05T19:04:26Z" level=fatal msg="error starting sever" error="failed to connect to `host=db user=jqplay-user database=jqplay-db`: dial error (dial tcp <IP_ADDRESS>:5432: connect: connection refused)"
jqplay_1  | time="2023-03-05T19:04:27Z" level=info msg="initialized jq" path=/app/jq version=1.6
jqplay_1  | time="2023-03-05T19:04:27Z" level=info msg="Starting server at <IP_ADDRESS>:8080" host=<IP_ADDRESS> port=8080
jqplay_1  | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
jqplay_1  |  - using env:	export GIN_MODE=release
jqplay_1  |  - using code:	gin.SetMode(gin.ReleaseMode)
jqplay_1  |
jqplay_1  | [GIN-debug] GET    /assets/*filepath         --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (7 handlers)
jqplay_1  | [GIN-debug] HEAD   /assets/*filepath         --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (7 handlers)
jqplay_1  | [GIN-debug] GET    /                         --> github.com/owenthereal/jqplay/server.(*JQHandler).handleIndex-fm (7 handlers)
jqplay_1  | [GIN-debug] GET    /jq                       --> github.com/owenthereal/jqplay/server.(*JQHandler).handleJqGet-fm (7 handlers)
jqplay_1  | [GIN-debug] POST   /jq                       --> github.com/owenthereal/jqplay/server.(*JQHandler).handleJqPost-fm (7 handlers)
jqplay_1  | [GIN-debug] POST   /s                        --> github.com/owenthereal/jqplay/server.(*JQHandler).handleJqSharePost-fm (7 handlers)
jqplay_1  | [GIN-debug] GET    /s/:id                    --> github.com/owenthereal/jqplay/server.(*JQHandler).handleJqShareGet-fm (7 handlers)
jqplay_1  | [GIN-debug] GET    /ping                     --> github.com/owenthereal/jqplay/server.newHTTPServer.func1 (7 handlers)
jqplay_1  | time="2023-03-05T19:05:43Z" level=info msg="GET /" bytes=6273 client_ip=<IP_ADDRESS> latency="444.663µs" method=GET path=/ request_id=70c6869e-a406-4fac-b618-ee7754dd63d7 status=200
jqplay_1  | time="2023-03-05T19:05:43Z" level=info msg="GET /" bytes=6273 client_ip=<IP_ADDRESS> latency="444.663µs" method=GET path=/ request_id=70c6869e-a406-4fac-b618-ee7754dd63d7 status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/css/app.min.1678042999758.css" bytes=121974 client_ip=<IP_ADDRESS> latency="436.133µs" method=GET path=/assets/public/css/app.min.1678042999758.css request_id=e84f0568-5ff8-46b8-892f-eb7495dad2ad status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/css/app.min.1678042999758.css" bytes=121974 client_ip=<IP_ADDRESS> latency="436.133µs" method=GET path=/assets/public/css/app.min.1678042999758.css request_id=e84f0568-5ff8-46b8-892f-eb7495dad2ad status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/images/logo.png" bytes=1427 client_ip=<IP_ADDRESS> latency="51.645µs" method=GET path=/assets/public/images/logo.png request_id=45f0ba42-7644-4964-98b3-b32b37fb0166 status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/images/logo.png" bytes=1427 client_ip=<IP_ADDRESS> latency="51.645µs" method=GET path=/assets/public/images/logo.png request_id=45f0ba42-7644-4964-98b3-b32b37fb0166 status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/js/app.min.1678042999758.js" bytes=1047575 client_ip=<IP_ADDRESS> latency=1.162183ms method=GET path=/assets/public/js/app.min.1678042999758.js request_id=2ad73268-d6d9-4676-beee-9f6768cf146a status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/js/app.min.1678042999758.js" bytes=1047575 client_ip=<IP_ADDRESS> latency=1.162183ms method=GET path=/assets/public/js/app.min.1678042999758.js request_id=2ad73268-d6d9-4676-beee-9f6768cf146a status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/fonts/glyphicons-halflings-regular.woff2" bytes=18028 client_ip=<IP_ADDRESS> latency="106.5µs" method=GET path=/assets/public/fonts/glyphicons-halflings-regular.woff2 request_id=f63711ef-9256-4a02-aa91-0a811c413f51 status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/fonts/glyphicons-halflings-regular.woff2" bytes=18028 client_ip=<IP_ADDRESS> latency="106.5µs" method=GET path=/assets/public/fonts/glyphicons-halflings-regular.woff2 request_id=f63711ef-9256-4a02-aa91-0a811c413f51 status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/images/favicon.png" bytes=4199 client_ip=<IP_ADDRESS> latency="68.848µs" method=GET path=/assets/public/images/favicon.png request_id=3ffdf182-a538-48f5-8237-2c936627ee59 status=200
jqplay_1  | time="2023-03-05T19:05:44Z" level=info msg="GET /assets/public/images/favicon.png" bytes=4199 client_ip=<IP_ADDRESS> latency="68.848µs" method=GET path=/assets/public/images/favicon.png request_id=3ffdf182-a538-48f5-8237-2c936627ee59 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /" bytes=6273 client_ip=<IP_ADDRESS> latency="221.072µs" method=GET path=/ request_id=501682fa-4692-455b-9caa-944951225535 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /" bytes=6273 client_ip=<IP_ADDRESS> latency="221.072µs" method=GET path=/ request_id=501682fa-4692-455b-9caa-944951225535 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /assets/public/css/app.min.1678042999758.css" bytes=121974 client_ip=<IP_ADDRESS> latency="297.887µs" method=GET path=/assets/public/css/app.min.1678042999758.css request_id=37ce7bb8-97cf-4af4-9956-78db4303fd13 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /assets/public/css/app.min.1678042999758.css" bytes=121974 client_ip=<IP_ADDRESS> latency="297.887µs" method=GET path=/assets/public/css/app.min.1678042999758.css request_id=37ce7bb8-97cf-4af4-9956-78db4303fd13 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /assets/public/images/logo.png" bytes=1427 client_ip=<IP_ADDRESS> latency="31.885µs" method=GET path=/assets/public/images/logo.png request_id=839e9174-addb-48f4-94e4-c3bb0fc5d0a7 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /assets/public/images/logo.png" bytes=1427 client_ip=<IP_ADDRESS> latency="31.885µs" method=GET path=/assets/public/images/logo.png request_id=839e9174-addb-48f4-94e4-c3bb0fc5d0a7 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /assets/public/js/app.min.1678042999758.js" bytes=1047575 client_ip=<IP_ADDRESS> latency="924.781µs" method=GET path=/assets/public/js/app.min.1678042999758.js request_id=c6755187-b89c-45e9-bd5c-f89c496831a0 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /assets/public/js/app.min.1678042999758.js" bytes=1047575 client_ip=<IP_ADDRESS> latency="924.781µs" method=GET path=/assets/public/js/app.min.1678042999758.js request_id=c6755187-b89c-45e9-bd5c-f89c496831a0 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /assets/public/fonts/glyphicons-halflings-regular.woff2" bytes=18028 client_ip=<IP_ADDRESS> latency="165.972µs" method=GET path=/assets/public/fonts/glyphicons-halflings-regular.woff2 request_id=5fe1c9de-4fd8-488c-9950-da202c78b121 status=200
jqplay_1  | time="2023-03-05T19:06:09Z" level=info msg="GET /assets/public/fonts/glyphicons-halflings-regular.woff2" bytes=18028 client_ip=<IP_ADDRESS> latency="165.972µs" method=GET path=/assets/public/fonts/glyphicons-halflings-regular.woff2 request_id=5fe1c9de-4fd8-488c-9950-da202c78b121 status=200
jqplay_1  | time="2023-03-05T19:06:48Z" level=info msg="jq error" error="exit status 4" request_id=8a4cf4aa-db58-40f5-ae4a-0bddd924b9ec
jqplay_1  | time="2023-03-05T19:06:48Z" level=info msg="POST /jq" bytes=71 client_ip=<IP_ADDRESS> latency=40.656812ms method=POST path=/jq request_id=8a4cf4aa-db58-40f5-ae4a-0bddd924b9ec status=200
jqplay_1  | time="2023-03-05T19:06:48Z" level=info msg="jq error" error="exit status 4" request_id=8a4cf4aa-db58-40f5-ae4a-0bddd924b9ec
jqplay_1  | time="2023-03-05T19:06:48Z" level=info msg="POST /jq" bytes=71 client_ip=<IP_ADDRESS> latency=40.656812ms method=POST path=/jq request_id=8a4cf4aa-db58-40f5-ae4a-0bddd924b9ec status=200
jqplay_1  | time="2023-03-05T19:06:52Z" level=info msg="jq error" error="exit status 4" request_id=0a8d03ea-6be3-454c-bc97-726fd1417dbc
jqplay_1  | time="2023-03-05T19:06:52Z" level=info msg="POST /jq" bytes=74 client_ip=<IP_ADDRESS> latency=38.852889ms method=POST path=/jq request_id=0a8d03ea-6be3-454c-bc97-726fd1417dbc status=200
jqplay_1  | time="2023-03-05T19:06:52Z" level=info msg="jq error" error="exit status 4" request_id=0a8d03ea-6be3-454c-bc97-726fd1417dbc
jqplay_1  | time="2023-03-05T19:06:52Z" level=info msg="POST /jq" bytes=74 client_ip=<IP_ADDRESS> latency=38.852889ms method=POST path=/jq request_id=0a8d03ea-6be3-454c-bc97-726fd1417dbc status=200
jqplay_1  | time="2023-03-05T19:06:56Z" level=info msg="jq error" error="exit status 4" request_id=570988cb-fa5c-4700-b907-ae8a282bd94f
jqplay_1  | time="2023-03-05T19:06:56Z" level=info msg="POST /jq" bytes=74 client_ip=<IP_ADDRESS> latency=44.071282ms method=POST path=/jq request_id=570988cb-fa5c-4700-b907-ae8a282bd94f status=200
jqplay_1  | time="2023-03-05T19:06:56Z" level=info msg="jq error" error="exit status 4" request_id=570988cb-fa5c-4700-b907-ae8a282bd94f
jqplay_1  | time="2023-03-05T19:06:56Z" level=info msg="POST /jq" bytes=74 client_ip=<IP_ADDRESS> latency=44.071282ms method=POST path=/jq request_id=570988cb-fa5c-4700-b907-ae8a282bd94f status=200
jqplay_1  | time="2023-03-05T19:07:04Z" level=info msg="POST /jq" bytes=26 client_ip=<IP_ADDRESS> latency=43.821743ms method=POST path=/jq request_id=db641875-9a53-448a-8b5e-3ea11b245074 status=200
jqplay_1  | time="2023-03-05T19:07:04Z" level=info msg="POST /jq" bytes=26 client_ip=<IP_ADDRESS> latency=43.821743ms method=POST path=/jq request_id=db641875-9a53-448a-8b5e-3ea11b245074 status=200
jqplay_1  | time="2023-03-05T19:07:11Z" level=info msg="jq error" error="exit status 3" request_id=86d188c4-2a43-4a03-a985-36b549b8ee4e
jqplay_1  | time="2023-03-05T19:07:11Z" level=info msg="POST /jq" bytes=172 client_ip=<IP_ADDRESS> latency=3.190794ms method=POST path=/jq request_id=86d188c4-2a43-4a03-a985-36b549b8ee4e status=200
jqplay_1  | time="2023-03-05T19:07:11Z" level=info msg="jq error" error="exit status 3" request_id=86d188c4-2a43-4a03-a985-36b549b8ee4e
jqplay_1  | time="2023-03-05T19:07:11Z" level=info msg="POST /jq" bytes=172 client_ip=<IP_ADDRESS> latency=3.190794ms method=POST path=/jq request_id=86d188c4-2a43-4a03-a985-36b549b8ee4e status=200
jqplay_1  | time="2023-03-05T19:07:14Z" level=info msg="POST /jq" bytes=9 client_ip=<IP_ADDRESS> latency=45.012514ms method=POST path=/jq request_id=d54420f3-c94c-487e-a80b-cfd8878a8caf status=200
jqplay_1  | time="2023-03-05T19:07:14Z" level=info msg="POST /jq" bytes=9 client_ip=<IP_ADDRESS> latency=45.012514ms method=POST path=/jq request_id=d54420f3-c94c-487e-a80b-cfd8878a8caf status=200
db_1      | 2023-03-05 19:09:26.852 UTC [64] LOG:  checkpoint starting: time
db_1      | 2023-03-05 19:09:31.210 UTC [64] LOG:  checkpoint complete: wrote 46 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=4.330 s, sync=0.014 s, total=4.358 s; sync files=14, longest=0.009 s, average=0.001 s; distance=260 kB, estimate=260 kB


[FLI-783] C# Server Side SDK

Language
C#
Willing to Implement

[ ] I'm willing to help implement the Flipt Server SDK in this language if it's accepted. 🙌

Willing to Review

[ ] I'm willing to review contributions to the Flipt Server SDK in this language if it's accepted.

Additional Notes
Re: https://github.com/flipt-io/flipt/discussions/2208
FLI-783

https://github.com/mrjavaguy/flipt-rest-dotnet/tree/main is an example rest of the openapi, is this what you are after? It used a code generator.
I am also consider writing a dotnet provider for OpenFeature

Hey @mrjavaguy ! Thanks for looking at this! We're totally down for using generated code as long as its idiomatic. Ive only done a bit of C# so would def want to lean on your experience here.
Also, our current Server Side SDKs only expose the Evaluation APIs and (ideally) ListFlags. Would it be possible to have the generator only generate those methods to keep it consistent with the other languages?
A user in Discord mentioned they were working on a C# OpenFeature SDK as well (unless that was you ;) ) Let me try and find that thread

Found it! https://discord.com/channels/960634591000014878/960697263150227510/1206996127870623744

@markphelps So you are looking for Evaluation Api and ListFlag. Are there any other requirements you would like for the C# SDK? I think I'll take a stab at it.

Thanks @vgwizardx !! That would be very much appreciated!
Yes I think the main REST endpoints we need supported are:

ListFlags
BooleanEvaluation
VariantEvaluation
BatchEvaluation

With support for authentication: https://docs.flipt.io/reference/overview#authentication

@markphelps Hey, I was wondering how ListFlags is used. I'm only asking because I can't really think of a situation where a service using the flags would want to list all the flags. Wouldn't you just use the UI?

@vgwizardx yeah i see your point, and that's what we initially thought as well. we did have one or two users request ListFlags in some of our other SDKs so we thought it would be good for parity. However we can also add that later if it's required specifically for this C# SDK.
Happy to just have the evaluation calls implemented for now!

@markphelps Cool, I'm working on auth now, and then I will take some time to test it all out.

@vgwizardx awesome! lmk if I can help with anything

@markphelps I got super busy. But wanted to share what I have so far. I haven't had a change to test this and might not until next week. But here is what I got so far. https://github.com/vgwizardx/flipt-server-sdks/tree/CSharp-Sdk

This is looking great @vgwizardx !! thank you! do you want to open it up as a PR and we can give it a proper review?

@markphelps Yeah, I can do that today. Since I have yet to have a chance to test it and will be busy (My daughter graduated high school this year). So that can help if someone else can give it a try and make sure it is working properly.

@markphelps Yeah, I can do that today. Since I have yet to have a chance to test it and will be busy (My daughter graduated high school this year). So that can help if someone else can give it a try and make sure it is working properly.

Sounds great. thanks @vgwizardx ! and congrats to your daughter!! 🎓

@markphelps don't forget to close this.

Yup, just waiting until we setup CD to push to nuget and will close. Thanks @vgwizardx !

@vgwizardx Im working on getting this SDK released to Nuget and I have a naming question for you (or others familiar with .NET/C# ecosystem)
Should we call this SDK flipt-dotnet or flipt-csharp? Is there a common idiom for naming?
I ask because we have an existing gRPC SDK that we named flipt-grpc-dotnet, so i'd prefer to stick with dotnet if it makes sense.

Actually.. nevermind it seems we just called it Flipt.grpc
dotnet add package Flipt.gRPC --version 0.x.x
```

so I'll just call this `Flipt`

@markphelps Yeah, I would just call it Flipt. Another good thing to do is to start with version 0.0.1 (if we are saying alfpha) or 8.0.0 and let the first number match the .net version.

Published here: https://www.nuget.org/packages/Flipt/
Thanks for all your help @vgwizardx !! It really means a lot!

I'm happy to help. I will be using this sometime soon, so I will send PRs if I find any improvements.


Installing kubeadm - confusing/misleading text

Under the Check required ports section, this following statement is misleading because nothing about pod network plugin was discussed on that page:
The pod network plugin you use (see below) may also require certain ports to be open. Since this differs with each pod network plugin, please see the documentation for the plugins about what port(s) those need.

The text in parenthesis (see below) should be taken out to avoid confusion.

The text in parenthesis (see below) should be taken out to avoid confusion.

I think it makes sense to remove the text.
/help
/sig cluster-lifecycle

/language en
/kind bug
/priority backlog
Anyone is welcome to open a PR that omits the text “(see below)”.

/triage accepted

I'll open a PR for it.


New package: EyeTracking v0.1.0

Registering package: EyeTracking
Repository: https://github.com/jakewilliami/EyeTrackingUtils.jl
Created by: @jakewilliami
Version: v0.1.0
Commit: 44a1448940c9026a2d0cb3d3a2ea0463c68e038a
Git reference: master
Release notes:

Robust package for preparing and analysing eye tracking data

This PR can be deleted.  Old package name.


[WIP] Add 3.0 EE versionning support

@Tieske this is a quick try to support the 3 digit EE versioning.. I do not especially like to use another globally shared variable but works well.
Todo:

[ ] Add --enterprise flag in usage
[x] Add support to add_version.sh
[x] test backport compatibility with CE+EE vesions..

something is really wrong with the Github UI here, duplicates of message
with regard to the -d check:

I added the -d check because it is possible to also specify --enterprise with older versions, so we need it to resolve to the old asset path.

I see. In that case please know that the update script will recreate ALL Kong version data. If we update that one to include/append -ee to all EE versions, then also all older versions/paths would be updated. And we can forego on these additional checks anyway. That would be cleaner I think?

@Tieske that's exactly what I noticed while working on the add/update scripts. and yes, adding -ee to all enterprise versions make sense. I thought only the new version assets would be added using that script. :+1:

@Tieske I tried a different approach with my latest changes. Internally, pongo is now supporting this version format x.y.z[.w][-ee].
Note that I also updated  all artifacts and the github UI doesn't seem to like that...

I've drop the commit that updates all the artifacts because I am unable to load the diff page to review. Here is the real CI run: https://app.travis-ci.com/github/Kong/kong-pongo/builds/251653402

this has become a complex change. I think we'd be better of to include a simplee prefix to the version. eg. 1.2.3 for CE, e1.2.3 for EE.
This will also make it easier in CI, since we'd need a single parameter in CI matrices, where otherwise we'd need 2; the version and the flag.

Created #291 as a simpler version. Just need a way to test it.

@Tieske I am OK if you want to go your direction for this feature, but note that we will need to merge a functional one as soon as we bump the version to 3.0.0. I tested mine with a fork of the CE and EE repos with a new 3.0.0 tag pushed in both. It also supports reading the version from a kong image.


Is there a way to support audio on TI-84?

Awesome work! I was able to get this working on wabbitemu, but it seems that there is no audio. Does TI-84 support any audio output, or it's just an emulator issue?

The way the anon got the sound working was by using the IO port on the ti84.
The ti84 has no integrated speakers and afaik wabbitemu doesn't offer the solution that anon went for because well, why would plug in speakers thru the IO port it's not meant for that.

The way the anon got the sound working was by using the IO port on the ti84.
The ti84 has no integrated speakers and afaik wabbitemu doesn't offer the solution that anon went for because well, why would plug in speakers thru the IO port it's not meant for that.

Awesome work! I was able to get this working on wabbitemu, but it seems that there is no audio. Does TI-84 support any audio output, or it's just an emulator issue?
Go to "Calculator", then click on "Enable sound". There, solved it


layouts: image: use exact match

Description
Use exact match to decide which image file should be rendered in render-image.html layout.
(Thank you for this great elegant Hugo theme...!)
Fixes #34
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Thank for your review.

What was missing initially was the path separator after the wildcard so it should be "/%s" instead of "%s".

I understood. I've fixed the pattern.

Thanks! I'm really digging your modified version of the theme, btw.


Building and hosting Java packages in GitHub

I've freshened the repository and applied all of the changes from PR #1 except for actually publishing a package.
GS1 will need to discuss hosting of packages for this codebase. I'll have such a discussion in due course and advise on the decision or bring the discussion online here.
Thank you for your contribution.

Note that GitHub Actions is enabled for the project repo, however it honours GitHub's default to not run workflows for new contributors. Any future PR's that you make should now run in CI.


Add support for $Cashtags

This pull request adds support for cashtags (aka stock symbols).
Ignore my custom styles for links:

Thanks for this @jxxe; looks good and has been merged. Have also released 1.3.0 : https://github.com/jedkirby/tweet-entity-linker/releases/tag/1.3.0


Add Github Actions for Compiling

It's kind useless, but it's cool

There's no point in merging it if it's useless, and I agree that it's kind of pointless since this repo has no tests to run (and doesn't really need them either since it's primarily just storing the code from the tutorials).

I mean i could be useful but ok, although it does work on other repos


Tables get bootstrap table class added to them

Fixes #107
Ad-hoc Markdown tables (e.g. added by a developer to a @description) don't otherwise have a way for the table class to be added to them, and for ad-hoc html tables, this eliminates the need to add the table class yourself

Thanks, this is merged


RegisterPlusNextWord interprets offset as unsigned, however it is signed.

emulator.js, line 30
RegisterPlusNextWord.prototype.getB = RegisterPlusNextWord.prototype.getA = RegisterPlusNextWord.prototype.get = function() {
	var nw = this.emulator.nextWord();
	if(nw == 0xffff) nw = -1;	// TODO: why is this like this???? (required for '99 bottles' to work...)
	this.cachedResult = this.register.get() + nw;
	return this.emulator.RAM[this.cachedResult] || 0;
}

nw should be interpreted as a signed number. 0xFFFF translated to -1, 0xFFFE translates to -2 etc...
Most of the material on the internet appears to agree interpreting the offset as a signed integer.
This could be changed to something like
...
   var nw = this.emulator.nextWord();

    if ((nw & 0x8000) !== 0) {
        nw = -((nw ^ 0xFFFF) + 1)
    }
...

Interesting...so should values stored in registers also be treated as signed for the purposes of arithmetic instructions (ADD, SUB, MUL, DIV)?

Hey so I am looking into this deeper, and actually I think it is a little more complex than I was mentioning. I.e, consider:
On a 16-bit platform:
0xFFFF (-1) + 3 (0x0003) = 0x0002
So I shouldn't have to do anything special to "add" a negative number.
The actual problem appears to come from here:
''''
this.cachedResult = this.register.get() + nw;
return this.emulator.RAM[this.cachedResult] || 0;
''''
After the addition, the result should be and'ed with 0xFFFF to emulate a 16 bit machine.
This is actually done correctly in ADD:
		ADD: new Op(this, "ADD", OPERATION_ADD, 2, function(a, b) {
			var res = a.getA() + b.getB();
			if((res & 0xffff0000) > 0)
				this.emulator.Registers.EX.set(0x0001);
			else
				this.emulator.Registers.EX.set(0);
			b.set(res & 0xffff);
		}),

MUL and DIV have their MLI and DVI counter parts, so I think they are an exception.

Right you are.  Thanks!


RN 0.71.4 with New Architecture enabled and react-native-geolocation 3.0.5 C++ build error

Environment
System:
    OS: macOS 13.2.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 33.29 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.14.2 - ~/.nvm/versions/node/v18.14.2/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.5.0 - ~/.nvm/versions/node/v18.14.2/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.0, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0
    Android SDK:
      API Levels: 26, 28, 29, 30, 33
      Build Tools: 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0
      System Images: android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.2 AI-202.76<IP_ADDRESS>51085
    Xcode: 13.0/13A5154h - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.18 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.71.4 => 0.71.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Platforms
iOS - npx react-native run-ios
Versions
  "dependencies": {
    "@react-native-community/geolocation": "^3.0.5",
    "react": "18.2.0",
    "react-native": "0.71.4",
    ...
  },

Description
After installing @react-native-community/geolocation the iOS build started failing on a C++ compilation error.
Steps to reproduce

Follow the RN docs to create a new RN app with the New Architecture enabled on RN v0.71.4
Check that the app builds fine on iOS
Install @react-native-community/geolocation with yarn add @react-native-community/geolocation as per the README
Uninstall the app from the simulator
Open XCode, Select Product > Clean build folder
Run cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
Run npx react-native run-ios
Check the terminal output:

...tor/react-native-geolocation.build/Objects-normal/x86_64/RNCGeolocati[1940/1940]
/Users/xxxxxx/Desktop/projects/AwesomeProject/node_modules/@react-native-community/geolocation/ios/RNCGeolocation.mm:393:23: error: property 'sourceInformation' not found on object of type 'CLLocation *'
    mocked = location.sourceInformation.isSimulatedBySoftware;
                      ^
1 error generated

...

The following build commands failed:
        CompileC /Users/xxxxxx/Library/Developer/Xcode/DerivedData/AwesomeProject-xxxxxx/Build/Intermediates.noindex/Pods.build/Debug
-iphonesimulator/react-native-geolocation.build/Objects-normal/x86_64/RNCGeolocation.o<EMAIL_ADDRESS>normal x86_64 objective-c++ com
.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-geolocation' from project 'Pods')
(1 failure)

Also tried clearing the pod cache and rebuilding from scratch, same result.

Run rm -rf ~/Library/Caches/CocoaPods && rm -rf ~/Library/Developer/Xcode/DerivedData/* && cd ios && rm -rf Pods && pod deintegrate && pod setup && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
Run npx react-native run-ios
Check the terminal output:

The following build commands failed:
        CompileC /Users/xxxxxx/Library/Developer/Xcode/DerivedData/AwesomeProject-xxxxxx/Build/Intermediates.noindex/Pods.build/Debug
-iphonesimulator/react-native-geolocation.build/Objects-normal/x86_64/RNCGeolocation.o<EMAIL_ADDRESS>normal x86_64 objective-c++ com
.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-geolocation' from project 'Pods')
(1 failure)

I've created a patch commenting-out the line of code causing the issue and it seems to work now:
<EMAIL_ADDRESS>diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 5403680..9bfa163 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -389,9 +389,9 @@ - (void)locationManager:(CLLocationManager *)manager
   CLLocation *location = locations.lastObject;

   BOOL mocked = NO;
-  if (@available(iOS 15.0, *)) {
-    mocked = location.sourceInformation.isSimulatedBySoftware;
-  }
+  // if (@available(iOS 15.0, *)) {
+  //   mocked = location.sourceInformation.isSimulatedBySoftware;
+  // }

   _lastLocationEvent = @{
                          @"mocked": @(mocked),


Set ContextAccessor before the BeginRequest event runs

Tools like Glimpse are expecting to have access to the ContextAccessor to determine if profiling should be turns on or not. The contextAccessor is key to being able to determine this and based of the code flow, it shouldn't have any side effect.

Hi @avanderhoorn, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:shipit:
@muratg @davidfowl Consider for beta8?

:shipit:

Rebased and merged.

THANKS!!!


Update to collector v0.29.0

Similar to #48 but for v0.29.0.

Hi, i would like to work on this issue

Go for it!