How would we use 3rd party ReactJS components?

I'm wondering how 3rd party ReactJS component libraries, such as Semantic-UI-React might be integrated into a project using your React wrappers code?
I'm new to both Kotlin and ReactJS (I'm a Java dev, so I can work my way round a Gradle build script).
I'm aware of both Kotlin's @native and the possibility of transpiling TypeScript definitions to Kotlin (using the 'ts2kt' tool), but, basically, I'd like your thoughts on how best to accomplish such an integration.
JFYI, I dread dynamic typing and using yet ANOTHER Editor for coding, I like the idea of sticking to Intellij/Android Studio for the majority of my development, so all hail Kotlin!

See for react-markdown usages (it's 3rd party reactjs component)


docs: fix broadcast in docs

broadcast function should get passed zonefile attachment

Codecov Report

Merging #1178 (d1255fb) into master (5e8736b) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1178      +/-   ##
==========================================
- Coverage   65.01%   65.00%   -0.01%
==========================================
  Files         126      126
  Lines        8753     8751       -2
  Branches     1901     1899       -2
==========================================
- Hits         5691     5689       -2
  Misses       2811     2811
  Partials      251      251

Impacted Files
Coverage Δ

packages/bns/src/index.ts
88.65% <ø> (-0.16%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e8736b...d1255fb. Read the comment docs.


Lost Connection ERROR

I managed to successfully connect an Nordic Thingy:91 with the latest Anjay LwM2M Client stack to the CoioteDM platform.
But then it suddenly lost the connection with the following error.
<wrn> anjay_zephyr_gps_nrf: GPS was interrupted multiple times by the LTE modem when producing a fix
	<inf> anjay_zephyr_lwm2m: Anjay is now offline
	<inf> anjay: [anjay] servers reloaded
<wrn> anjay: [anjay] transport required for protocol coaps is not supported or offline

After rebooting the device, the connection worked again, but I would like to know what happened and if this is reliable?
I'm using:  A coaps URI, with PSK, and no bootstrap with default GNSS settings:
anjay config set lifetime 50
anjay config set bootstrap n
anjay config set security_mode psk
anjay config set gps_prio_mode_timeout 300
anjay config set gps_prio_mode_cooldown 1800

Any ideas of potential issues?
Maybe it would be a good idea to be able to disable BT and GPS from anjay when not in use?

I just found this text about nRF9160 coneection loss.

nRF9160 uses the same radio for GPS and LTE connectivity. GPS signal is
caught between LTE transmissions and in case GPS "cold" fix acquisition takes
too much time, Anjay turns off LTE transmissions for the time of fix acquisition.
It can be seen by the following warning:
gps_nrf: GPS was interrupted multiple times by the LTE modem when producing a fix.
Anjay is notified by it, enters offline mode and reconnects when the first fix is acquired and LTE is enabled back.

@Mierunski

You can also disable GPS completely through KConfig options during compilation,

Yes, I know, and my point of #4 was exactly that. Add this functionality to the client so you don't need to recompile the entire client, just to turn on/off the GPS etc.


optimizer test framework

before any more changes to optimizers, we need a framework to test

[ ] getting the right answer
[ ] reporting correct errors
[ ] components independently tested
[ ] speed regression tests

This also depends on #1751.


Use GHA paths

GitHub Actions has built in path support to trigger workflows if certain files have changed. See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths
Starting to use this instead of the if_changed.sh script we use with travis.

My preference is defer on triggering on all dependencies until we have more complete tests in place and are better able to assess the time/benefit trade-offs.


2.11 test locks

OK, so I have seen this a few times. Now I am opening an issue for somebody smarter than me to investigate:
Every now and then (yay!), the 2.11 tests (I have never seen this with 2.12) will hang at the very end. I have only ever seen this if resources are not cleaned up properly and the forked JVM cannot shut down. Not sure if that is the case here.
Example build:
https://travis-ci.org/scalaz/scalaz-zio/jobs/425071678
If you have Travis retry, it will likely work.

Probably we should make sure that all tests run supervised in case where any ongoing work is done in fibers.
Also we should hook into the testing framework to shut down the thread pools after each test suite is done.

Most likely fixed.


⚠ Bofrost.lu has degraded performance

In ea1a84b, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1689 ms

Resolved: Bofrost.lu performance has improved in eedd4ae.


use v4 for auth:whoami

I think this is doing the wrong thing. We should not run whoami we should lookup the logged in user based on what is in ~/.netrc.

why?

That's what it used to do no?

it did, but that seems wrong to me. The login field in netrc could be anything, it wouldn't necessarily match to the HEROKU_API_KEY and it might have an expired token. This ticket mentions some of the issues with the old functionality: https://github.com/heroku/heroku/issues/1149

If I wanted to see my local machine user I'd just do echo $USER or whoami. If I want to see who I am on heroku I run heroku auth:whoami.
... just tried this locally and I'm definitely getting back my heroku user. I guess I was thinking that these were equivalent, but it seems to be doing something else which I don't understand:
Heroku::JSPlugin.run('whoami', nil, ARGV[1..-1])

and
whoami

oh so when I do Heroku::JSPlugin.run('whoami', nil, ARGV[1..-1]) what that does is call heroku whoami on the v4 cli at ~/.heroku/heroku-cli. Note that I changed this after the PR to be ~/.heroku/heroku-cli auth:whoami

but yeah, the new functionality calls /account on the api and returns the email there. This way should be better for scripting though because it's not just reading the .netrc file, it's actually checking to see if you will be able to access the API

some users were surprised that even though heroku auth:whoami returned an email that didn't mean they could actually use the API

Ah, that makes sense.


Adding MiniAudio

Summary of the PR
Adds The MiniAudio library
Related issues, Discord discussions, or proposals
Request

See #2264


OO version of in-vessel component geometry construction

Creates an object-oriented version of in-vessel component (IVC) geometry construction. The new Stellarator class features three primary child classes:

Data class: contains all data for IVCs, including outer surface Cartesian point-loci
CADGeometry class: contains all CAD information for IVCs, including the corresponding volume IDs in Cubit-generated H5M file. This class also contains the magnet geometry child class MagnetSet
SourceMesh class: contains the source mesh H5M file

Passes all included tests.
Closes #44.

High level design questions:

I think it makes sense to have this build only the invessel components and completely decouple the magnet and source mesh generation.
If so, then I think we also move all the export to somewhere else.

The final design is:

parastell

reads input
initializes cad engines as required, esp cubit
calls for each requested component to do its work

ivc
magnets
source mesh

exports data as requested

The follow up question is whether we do that before merging this or after?

I think that makes sense! I don't think it would take long to restructure the script to accommodate that.

I've separated building the IVCs from the main script as suggested. It's worth noting though that pytest fails even though the scripts work. Specifically, running the test scripts using Python doesn't result in any errors and everything runs smoothly. When using pytest however, there's a library linking issue related to Cubit:
___________________________________________________________________________________________________ ERROR collecting test_parastell.py ____________________________________________________________________________________________________
ImportError while importing test module '/home/camoreno/parastell/tests/test_parastell.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../miniforge3/envs/ps_env/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_parastell.py:1: in <module>
    import src.parastell as ps
../src/parastell.py:1: in <module>
    import cubit
/opt/Coreform-Cubit-2023.11/bin/cubit.py:44: in <module>
    from cubit3 import *
/opt/Coreform-Cubit-2023.11/bin/cubit3.py:12: in <module>
    import _cubit3
E   ImportError: /opt/Coreform-Cubit-2023.11/bin/libshowviz_base.so: undefined symbol: _ZN22vtkXOpenGLRenderWindow11SetWindowIdEm

I tried for a while to fix this but I'm really not sure what's going on.

Unfortunately, I realized too late that I forgot to commit renaming the files after doing git mv so I lost the git history from ivc.py and test_ivc.py. Luckily, there wasn't much history to begin with.

Also unfortunately, the same issue persists with pytest (though I didn't expect that to change with the updated structure).

I think this updated structure is much cleaner by the way; the in-vessel component script is far more readable, not to mention significantly shorter. Thanks, @gonuke!

Since I just merged #41 that has a copy of src/utils.py this probably needs a rebase

This PR has become rather large, sorry.

I'd still like to discuss the implementation of default dictionaries before merging this PR


Add instructions how to run ingestion script from command line

Fixes

Fixes #2799 by @stacimc
Description
Added documentation how to run ingestion script via cli
Checklist

[x] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.
[ ] I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

will have a look @AetherUnbound

changed it according to your comment. had to add a new command to the catalog rustfile too. Hope this will do it.


[BugFix] Fix IllegalStateException in LakeTableAsyncFastSchemaChangeJob

This patch contains the following changes:

Fix loss of unique ids list for sort key columns
Fix incorrect assertions

Fixes https://github.com/StarRocks/starrocks/issues/44070
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@imay @HangyuanLiu @nshangyiming PTAL


Remove the comma as an enum member delimiter

Following this discussion, delimiting enum members can be done with either a comma, a newline or a semicolon (and also a space at this time, which is a bug). Allowing an additional delimiter character like the comma isn't needed, as it acts similarly as the semicolon:
enum E
  A; B; C
  D, E, F
end

I'd keep it as a valid syntax, yet remove it by formatter as a preferred style.

We don't use semicolons anywhere else I think, why keep them over the comma?

Ah, nvm, because it's the same as newline. I'd reformat it to a newline here though I think.

I'd remove the comma syntax. It's probably a breaking change but it's a weird syntax. There's nothing like that anywhere else in the language. Newline and semicolon are probably fine and enough.

The closer syntax I see in the language is arguments:
puts(
  STDIN, STDOUT, STDERR
)

But enum members aren't arguments at all.

comma is more human readable .

comma is more human readable .

The enums with the members delimited by a newline or semicolon are human readable too IMO. And it's also about consistency. As @j8r said, enum members aren't arguments. You define something.

I don't think there is anything to brainstorm here: enum members must be separated by a linefeed, period.
A semicolon is only accepted because it acts as a linefeed, similar to how it's syntactically valid to inline constants, but we never do it, because it's ugly, and hinders readability:
FOO = 1
BAR = 2; BAZ = 3


[GC-69, GC-70] Use Hybrid Search instead of vector search for better accuracy and Extract chunk with Sparse and Dense vector

Description
Improve the chatbot accuracy with Hybrid search and new vector store.
What

Change the traditional vector search to a hybrid search
Change vector store from MongoDB atlas to Qdrant

Why

Make the chatbot accuracy higher.

Jira Ticket: GC-69, GC-70
Type of change
Please check the relevent option with x.

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

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if needed)
[ ] My changes generate no new warnings
[ ] I have tested on my Local Machine

fix the conflict that coderaddit mentioned


Report endpoints in error messages

The two Rust checks are not passing because cargo-nextest was updated, and now fails when it finds no tests to run. I had to update the workflow, but unfortunately the updated version is not run until it's merged to master.


Added test to demonstrate issue 97

Preliminary PR to demonstrate issue #97.  Maybe wait with merging until there is a fix. I'm happy to help, but I need some directions. Also, I don't know what you think about the other changes. Worst case, you cherry pick what you like.

@leonardoporro any chance you've got time in the near future to look at this?

Hi @Jogai,
Yes, taking a look now.
I'm sorry, last month I got caught by so many important tasks.
And the only time I had for the library was used to fix a multi-db context issue and improve a bit the initialization.

Awesome. Don't be sorry, I know. Its just that I didnt know where to look, so I wanted to know before I dug in myself.
I rebased to get rid of the conflicts. I'm on linux with only dotnet7 available, so I had to change some extra bits, but just take what you need.

Digging into it, it seems to me its going wrong in the batchexecutor of efcore. Maybe more info tonight.

What I see is 2 entities that are correctly detected as new (those id's are made up by EF is my guess):

First insert is correct (does not use id):

But then the next insert fails because the negative id is used, instead of the id that should've returned from the first insert:

Error is of course:

SQLite Error 19: 'FOREIGN KEY constraint failed'.

Added a comment on issue 97
El mié, 6 sept 2023 a la(s) 17:30, Jogai @.***)
escribió:

What I see is 2 entities that are correctly detected as new (those id's
are made up by EF is my guess):
[image: image]
https://user-images.githubusercontent.com/1233188/266131282-04a91639-835b-485e-a9dc-0ddf126e00e8.png
First insert is correct (does not use id):
[image: image]
https://user-images.githubusercontent.com/1233188/266131730-89e9c012-85aa-4622-8e31-78cb83d30b86.png
But then the next insert fails because the negative id is used, instead of
the id that should've returned from the first insert:
[image: image]
https://user-images.githubusercontent.com/1233188/266131964-efd4e7cd-9e9e-4d22-96fc-418dae552e17.png
Error is of course:
SQLite Error 19: 'FOREIGN KEY constraint failed'.
—
Reply to this email directly, view it on GitHub
https://github.com/leonardoporro/Detached-Mapper/pull/99#issuecomment-1709061253,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABE6UPELNZAOG3OIOHA7QRDXZDMONANCNFSM6AAAAAA3RCPUTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

merged manually
will probably change UnitTest1 for a better name next time


Include systemd start/stop routine for admin service

Is your feature request related to a problem? Please describe.
The admin service for HTTP service discovery is not started automatically by the included systemd unit and also not documented for the instantiated configuration.
Describe the solution you'd like
Include auto startup and instance documentation

Closed by #644

Verified on release/22.02.0 3d038fe
Used harvest generate to create admin node service.
start, stop, status all work as expected


Word layout from the scratch

Hi all,
I created report in AL, from the scratch, and set path to the Word layout.
After Build (Ctrl+ Shift + B) is executed, empty Word file is created:

I open Word doc, and insert 2 fields from dataset and 2 text constants:

I save document, build, publish and install app.
When I run report, only text constants are visible:

When I try to insert new layout in Custom Report Layouts, I get this error/warning:

Same result is when I leave Word doc empty, and modify layout through Custom Report Layout page.
So, dataset is not linked with word layout. I tried many combinations, always is the same.
Is this a bug, or I am missing (doing wrong) some steps?
I am using the latest image: bcinsider.azurecr.io/bcsandbox:ca
Idea is to have report ready for use, not users should do design from the scratch.
Thanks,
Radovan

Hi,
Do you have any update?

The problem seem to be spaces and periods in the dataitem name. The workaround is to use data item names that don't require double quotes.
In your case please try renaming
dataitem("Gen. Journal Line"; "Gen. Journal Line")
to
dataitem(Gen_Journal_Line; "Gen. Journal Line")

You are right, now it works.
Thank you for support,
Radovan

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26357.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26357 and VS Code Extension Version 2.1.68780.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/

One observation connected to this issue:

New word layout was created, app with the report was published into container
New custom layout based on this word build-in layout was created
Update layout was used on the Custom Layout page
Layout was modified, saved, imported
Running the report with the layout was giving correct result
The layout was exported and imported into the App source code instead the original empty one
App was rebuilded and published
The layout stopped to work and it seems that differences is that the namespaces have different format regarding the spaces - sometime they are replaced with underscore, and sometime not.

We tried to rename the report to name with underscore instead spaces and it helped. Now it is stable.
Result: The AL is not consistent in using underscore/spaces in the namespaces.
Extension version used: 3.0.124247


Finding Attachments inside PDF

I have a pdf with attachments inside. (I have attached the same to issue as well).
Using pdf-reader gem, how can i do the following:

Detect if a pdf has attachments
If it has, how to find the details of the attachments.

If pdf-reader cannot perform this action, may i know any other gem/library which can get this information.
PDFWithFileAttachmentAnnotation.pdf

Here's a very basic script that will tell you if a PDF page has annotations, and some basic details about them:
require 'pdf-reader'

PDF::Reader.open("PDFWithFileAttachmentAnnotation.pdf") do |pdf|
  page = pdf.page(1)
  puts "Has Annotations?"
  puts page.attributes.key?(:Annots)
  puts
  Array(page.attributes[:Annots]).each do |annot|
    data = pdf.objects.deref(annot)
    puts data.inspect
  end
end

Section 12.5 of the pdf spec has more details on annotations. Section 12.5.6 is particularly interesting - it lists the various types of annotations and how they're stored in a PDF.

Is it possible to extract text that is associated with a given annotation?

I'm not super familiar with Annotations, but it should be. pdf-reader doesn't have any helpers to make it nice though.
The above code snipped doesn't show any annotation text?

I'm getting PDF::Reader::Reference instances, but I'm not sure how to extract text using those.
Array(page.attributes[:Annots]).each do |annot|
  data = pdf.objects.deref(annot)
  puts data.inspect
  # [#<PDF::Reader::Reference:0x000000012400e4c8 @id=357, @gen=0>, #<PDF::Reader::Reference:0x000000012400de88 @id=356, @gen=0>]
end

If you use the ! version of deref (deref!), it should resolve that references recursively.


[flutterfire]: PathNotFoundException: Cannot open file 'android/build.gradle' when running flutterfire configure

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Other
Which platforms are affected?
Android, iOS, macOS, Web, Windows
Description
When running the flutterfire configure command to set up Firebase for a Flutter project, the process fails with a PathNotFoundException error. The error indicates that the build.gradle file in the [android] directory cannot be found. This issue occurs even though the Firebase configuration for Android, iOS, macOS, web, and Windows platforms is successfully registered.
Reproducing the issue
flutter create example
cd example
dart pub global activate flutterfire_cli
flutterfire configure --project=example-1b63e

Firebase Core version
3.8.1
Flutter Version
3.27.0
Relevant Log Output
PS D:\Projects\untitled> flutterfire configure --project=example-1b63e
i Found 4 Firebase projects. Selecting project example-1b63e.
✔ Which platforms should your configuration support (use arrow keys & space to select)? · android, ios, macos, web, windows
✔ Which Android application id (or package name) do you want to use for this configuration, e.g. 'com.example.app'? · com.example.untitled
i Firebase android app com.example.untitled registered.
i Firebase ios app com.example.untitled registered.
i Firebase macos app com.example.untitled registered.
i Firebase web app untitled (web) registered.
i Firebase windows app untitled (windows) registered.
PathNotFoundException: Cannot open file, path = 'D:\Projects\untitled\android\build.gradle' (OS Error: The system cannot find the file specified.
, errno = 2)

Flutter dependencies

Expand Flutter dependencies snippet

Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments
No response

Hi @bennajahk, thank you for reporting this. Could you please share your concerns on the flutterfire_cli repository?

how to resolve this

@SelaseKay this issue when using flutter 3.28
Because this version use build.gradle.kts

I am getting this same error since yesterday. I have searched for a solution but still I could not find one.
Here the error from my side
Android Project Structure


Reduce Maintenance Overhead

Umbrella issue for work related to making Web5 (and other projects) upgrades on the Developer Site simpler. From Discord thread:

[x] #532
[ ] Step 2 - Introduce Comprehensive Automated Test Suite (issue to come)
[ ] Step 3 - Inject tested code into written docs (issue to come)
[ ] Step 4 - Automate wherever possible (issue to come)

@dayhaysoos can we close this one?


UX improvements for the new benchmark pipeline

Since we move to use artificial ids in the new benchmark pipeline, naturally it isn't very friendly for users to figure out the details of benchmarks with those meaningless ids.
To improve the UX, some information can be added to the benchmark config files and some tools can help users to retrieve the benchmark information.
P0

[x] Serialize composite id
[x] Upload compilation and run flags to GCS (#12397)
[x] Upload compilation benchmark config to GCS
[x] Tool to find benchmark config and artifacts with benchmark ID (#12530)

[x] Dump benchmark names so they can be searched with keywords (#12833)

[x] run_benchmarks_on_*.py should support filter + run_config to run benchmarks locally with the new benchmark suite
[x] Post artifact links in the CI workflow results (use annotations or summary, GH log and artifacts retention are only 90d) (#13273)
[x] Better way to trigger benchmarks (no need to push empty commit) (#12348)
[x] More clues to link build target and artifacts back to the generator (#12693)

P1

[ ] Improve the readability of the serialized format
[ ] Export the benchmark config when build the e2e_test_artifacts
[x] Benchmark display name should be generated independently from run_benchmarks_on_*.py (#12723)
[ ] Support more x86_64 architecture for local developments (e.g. CPU w/o AVX512)
[ ] More structural filters in benchmark tools
[ ] Derive CPU uarch from device sepc
[ ] More clear and concise benchmark summary comment
[ ] Show timestamp on the benchmark summary
[ ] Docs to explain the structure of the new python benchmark framework
[ ] Docs for how the new benchmark suite structure and how to hack it

The new improvements are great, especially the docs (https://github.com/openxla/iree/blob/main/docs/developers/developing_iree/benchmark_suites.md#3-fetch-the-benchmark-artifacts) and summaries (e.g. https://github.com/openxla/iree/actions/runs/4832269569#summary-13105536036).
One thing I'd like is a way to see how large the files are and filter to only download "small" programs. When I run gcloud storage cp "%E2E_TEST_ARTIFACTS_DIR_URL%/*.mlir [destination path], that starts to fetch ~54GB of files. I could let that download complete, but what I'm usually looking for is a snapshot of several real programs and if I wanted the large programs I wouldn't mind running a different command. (I also wonder if we're actually storing 50+GB of data for each benchmark run... are those files compressed or deduplicated in the storage system?)
This was working well for me before (266MB):

I'm sure there's a way to do that with the gcloud CLI, so consider this a selfish request for an alternate command to copy/paste, a script to run, or some directory structure changes :p

Yeah, it's unhealthy to upload 50GB of artifacts to the GCS for every presubmit commit. It's a new problem after we added a new long-running category with larger models to the benchmark suite. I think the first step is to create separate build targets so we don't build the "long-running" benchmarks in the presubmit (or even in the postsubmit, since we only run them nightly).
A trick to only download small files can be:
gcloud storage ls -l "gs://iree-github-actions-presubmit-artifacts/4927200698/1/e2e-test-artifacts/*.mlir*" | sort -h

then pipe it to some bash tools that could give you a list of smaller files. I'll update the doc if I find something suitable (or feel free to update with your commands).
Another way could be putting TF/TFLite into the file name, that should allow you to download only TFLite models, which are usually smaller.

Major improvements are considered to be done


Fixed Discord link in readme

Related Issue
Closes #400

Description

Updated the discord link and set it to never expire.
Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

Why @SahityaRoy what's wrong?

@SahityaRoy ? what am I to fox in this?


Added help for builder image.

:shipit: after the modification requests!

Changed. You want to be swiss, I want to be more intuitive :-)

This image was designed for systems guy and programmers so I don't know if intuitive works here since we all have strong preferences and will just ignore what doesn't matter to us.  I prefer to stay Swiss on the topic because we all have strong preferences for deployment example: We use Travis CI and Bamboo, you use Gitlab.  You deploy with LFTP, I built this Docker image so people could deploy on my servers with Git and a backend build server watching.
There is a disparity in preference which forces me to remain neutral or alienate and I enforce that on some of my repos that are highly visible to support that stance too (but I always keep the Wiki open for all to contribute too.)

Makes sense. :-)
Jan Pobořil
2015-10-19 0:24 GMT-05:00 Jordon Bedwell<EMAIL_ADDRESS>
This image was designed for systems guy and programmers so I don't know if
intuitive works here since we all have strong preferences and will just
ignore what doesn't matter to us. I prefer to stay Swiss on the topic
because we all have strong preferences for deployment example: We use
Travis CI and Bamboo, you use Gitlab. You deploy with LFTP, I built this
Docker image so people could deploy on my servers with Git and a backend
build server watching.
There is a disparity in preference which forces me to remain neutral or
alienate and I enforce that on some of my repos that are highly visible to
support that stance too (but I always keep the Wiki open for all to
contribute too.)
—
Reply to this email directly or view it on GitHub
https://github.com/jekyll/docker/pull/49#issuecomment-149103773.


Set name as link to admission

The name (here test) should be named a link to the corresponding admission so it's easier to find older admissions (or the current one).

Done. Also added titles to make it clear which admission you're viewing.


Feature/update-shoot

@JanxSpirit @mprichard @emilyseibert @thoughtmanifest @cch1
I wanted to see if I could get some more eyes on this and also get opinions on the added gameplay idea (Detailed below).
Thanks for any help!
closes issue #45
Changes

Add destroyed metadata when a shot destroys a space
Add destroy space functionality to shoot
Add player damage to shoot
Add energy consumption logic to shooter
Add energy reward logic to shooter
Refactor initializers & finializers
Add tests for shoot

Added Gameplay Idea (Shoot Reward)
I added the concept of rewarding a player for shooting a space that is destructible. This is subject to change, but I kinda like the implication. Here's how it works.

Player A gives 10 energy to it's shot.

Player A's energy is decremented by 10.

Shot can travel 10 spaces.

Space 1 open

The shots travel distance is reduced to 9

Space 2 block with 1 energy.

The block is destroyed
The shot's energy is reduced to 9
The shots travel distance is reduced to 8
Player A receives 1 energy back (Players will get back any energy that goes into damaging / destroying blocks)

Space 3 AI with 2 energy

The AI is destroyed
The shot's energy is reduced to 7
The shots travel distance is reduced to 7
Player A receives 4 energy (Players will get back 2x energy that goes into damaging / destroying an ai)

Space 4 Player B with 100 energy

Player B's energy is reduced to 93
The shot's energy is reduced to 0
The shots travel distance is reduced to 0
Player A receives 14 energy (Players will get back 2x energy that goes into damaging / destroying another player)

How far does the shot move per tick?

Typo?  Shot's travel distance is reduced to 8 twice.

Fixed the typo, it was supposed to be 7.
A shot is instant and will travel only as far as specified in the shot config.
(def shot-settings {:can-occupy #{:open
                                  :ai
                                  :block
                                  :food
                                  :poison
                                  :fog
                                  :shoot}
                    :destructible #{:ai
                                    :block}
                    :distance 10})

I added a demo video to the #battlebots channel in the Cville slack as well


The latest chart 0.0.106 not working

The zeebe version 0.23.1 requires application.yaml as the configuration. But the ConfigMap creation of application.yaml is not working properly.  Can you provide a working example for  .values.zeebeCfg? which will be rendered as application.yaml via ToYaml in the zeebe configmap.

The issue is resolved by the following code change in templates/configmap.yaml
@@ -37,4 +37,6 @@ data:
 exec /usr/local/zeebe/bin/broker

application.yaml:

{{ toYaml .Values.zeebeCfg }}
+{{- with .Values.zeebeCfg }}
+{{ . | toYaml | indent 4 }}
+{{- end }}

@xuanzhong hi there.. why did you close the issue? did you get it fixed on your side?

@xuanzhong also.. which version of helm are you using?

your suggestion is now applied in 107


Dynamic generation of npm modules list on tachyons homepage

Currently the list of npm modules on the tachyons home page is manually declared. We could probably dynamically generate this list using either the gtihub or npm api.

https://github.com/tachyons-css/tachyons-modules <3

Ha, of course this is already done.


Expose CodeMirror and Vault.config?

I'd like typings for both of these to make the TypeScript gods happy.

Vault.config shouldn't be accessed directly, but we could consider making the accessors public. CodeMirror is already public if you're talking about CM5 (the desktop version), but we'd prefer you use the Editor interface if possible.


[JS] Incorrectly identifying what "this" is

VSCode Version: 1.52.1
OS Version: Windows 10 19042.685

this on debugger (Command class instance, has checkPermissions function)

this on IDE (Constructor object params, doesn't have checkPermissions function)

Steps to Reproduce:

Instantiate a Class which uses object destructuring on its constructor)
Use this inside a function that is a property of the constructor object

Does this issue occur when all extensions are disabled?: Yes

Please share example code (as text)
/needsMoreInfo

Oh sorry
Command.js
export default class Command {
    // ... Private fields ...

    constructor({description, usage, only = null, botPermissions = null, userPermissions = null, alias = [], fn}) {
        this.#description = description;
        this.#usage = usage;
        this.#only = only;
        this.#botPermissions = botPermissions;
        this.#userPermissions = userPermissions;
        this.#alias = alias;
        this.#fn = fn;
    }

    // ... getters and setters ...

    async checkPermissions(message) {
        //
    }
}

lang.js
import Command from "../../lib/Command.js";

export default new Command({
    description: {
        en_US: '...',
        pt_BR: '...',
    },
    usage: '...',

    userPermissions: {
        server: ['MANAGE_GUILD'],
    },

    async fn(message, args) {
        // ...

        // VS Code will not recognize this as the instance, but as the object params of the constructor
        // WebStorm correctly recognizes this as the instance
        await this.checkPermissions(message);

        // ...
    },
});


Added Solution for 1450. Number Of Students Doing Homework At A Given Time in python (issue #1509)

Pull Request Template
What have you Changed(must)
Added Solution for 1450. NumberOfStudentsDoingHomeworkAtAGivenTime in python
Issue no.(must) - #1509
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will be marked as spam.
[x] My file is in the proper folder
[x] I am following clean code and Documentation.
[x] I have added the title and what program will do first in the file
[x] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

I have added the solution with necessary comments, please merge this


feat: fix proxy examples

Description

Fixes proxy examples

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

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


Propagate capnp errors through callback

Adding the ability to handle capnp errors

@jwheels merged and published on NPM as  2.1.0, also with a new author 😛


fix(TypeScript): consistent validation updates in React forms

Fixes #1169

I'll open a separate issue for the flashing effect I've seen while testing manually.


Select which mowers to use?

A manual selection would be nice, as there may be mowers belonging to different homes and should be used by different HB installations.

Hi, so I understand it is working with multiple mowers (never tested since I have only one). Will try do add an option

Hi,
Yes, I have 2 so far but will add 1-2 more in a different location that should not be included in this homebridge.
Autodetection worked fine, but none of the errors they encountered so far has been indicated and start command sometimes needs 2 attempts. Not sure if it is related to multiple machines or not.

Hi, I have published an update that should address the issues you reported. Let me know .

Great, updated and will test!
i also previously got auth errors and was logged out from the app, related? Will see if it returns.

log errors can happen since it does not support being logged on multiple device at the same time .


Graph in sidebar does not load on Firefox, works on Chrome

Describe the bug
Description is in the title
Operating System
Tried it on Linux and my work Mac
To Reproduce
Steps to reproduce the behavior:

open graph sidebar, see no graph

Screenshots
Failed load in firefox

Here's how it is in chrome

IMPORTANT: Error Log

When I load up the page in Firefox I get one warning on the wasm js like so:

path to the erroring js

Uncaught (in promise) DOMException: Document.querySelector: '.sidebar:has(#graph-canvas)' is not a valid selector

additionally if it means anything for you. I'm serving these up as static assets through hugo and github pages

Hi, is your Firefox up to date? That error is caused by an out of date browser most of the time.

Hmm actually I am able to reproduce this, apparently Firefox does not yet support the has selector which I was not aware of. I will have to fix this in an update. Thanks for reporting this.

This is fixed in v1.7.3 :)

Hmm actually I am able to reproduce this, apparently Firefox does not yet support the has selector which I was not aware of. I will have to fix this in an update. Thanks for reporting this.

No no, thank you for being so on top of your github issues and making this extension in the first place :)

Same problem here for SAFARI version 17.0.
Chrome works though. :-/

@connect-m What version of the plugin are you using? Have you updated to 1.7.3?

Yes, I updated via Obsidian and it reads 1.7.3.
Any ideas how I can help to narrow this down?

@connect-m Can you take a sscreenshot of the developer log inside of Firefox? Just press Ctrl-Shift-I to open the inspector and make sure the "Console" tab is selected.

Please note: The graph error only occurs in SAFARI. FF like Chrome works fine.
SAFARI Log:

The FF console reads:
_wasm streaming compile failed: TypeError: WebAssembly: Response has unsupported MIME type '' expected 'application/wasm' graph_wasm.js:1:6144
falling back to ArrayBuffer instantiation graph_wasm.js:1:6182
WebGL context was lost. index.mjs:3:36
Module Ready graph_view.js:1:7766
Init called graph_wasm.js:1:6885
Error: SyntaxError: Document.querySelector: '.sidebar:has(#graph-canvas)' is not a valid selector
Using fallback. graph_view.js:1:3870
WebGL context was lost._

Ah my bad I misread because the topic of this issue was Firefox. In that case, if you could create a new issue for this and copy all the info you've given me so far into it that would be amazing.
This is a very odd error, I will look into it and update you on the new issue.


screen fit problem

It seems that can't fit the screen.

this issue has been fixed in commit 196da15827e6e3a2897b148c22cfb472dc66ffb3
just need uncheck HiDIP in the app options dialog box.


Embedded $ref directives crash conversion

Double whammy for me: new to Swagger and graphQL both, so lots of room to learn things.
I have been able to successfully convert Swagger v2 files to graphQL, except when the Swagger source files contain $ref directives.
Is there a workaround?
events.json.txt
events.graphql.txt

So the error message in your events.graphql.txt file is actually correct: containers definition doesn't exist in events.json.txt


Push Notifications Not Sending from Local Host

I'm using the same p12 files I used on hosted parse and they worked fine.  I have two apps so I need two certifications.  I haven't setup a server to try this outside of local host yet, but I was wondering if that's a known issue.  I get a log message saying the push was successful but nobody's getting them.   These are all cloud code pushes.
Here's my relevant configuration item.
push: { 	  android: { 	      senderId: 'somesenderid', // The Sender ID of GCM 	      apiKey: 'someapikey' // The Server API Key of GCM 	    },       ios: [ 	      { 	        pfx: './push_credentials/cred-file-1.p12',  	        bundleId: 'com.company.app-1',  	        production: true 	      },  	      { 	        pfx: './push_credentials/cred-file-2.p12',  	        bundleId: 'com.company.app-2',   	        production: true 	      } 	    ]     }
The push_credentials folder is at the same level as the index.js file.

Upon further testing.  It's specifically tied to that single push.  So I clearly made a mistake.  I'll reopen if I'm wrong on that.


Add Actor.reboot() to restart the container on the Apify platform

Sometimes actors running on the Apify platform get into a state that they cannot easily recover from, like a memory leak. This can easily be fixed by aborting and resurrecting the actor, but that needs to be done manually. By adding Actor.reboot() we could enable this functionality from code.
The function should:

pause any running crawlers (it needs to accept those in options)
persist state (optionally, default true)
metamorph the actor into itself; this will restart the container while keeping the same runId, storages etc.

Initial implementation draft is here.
Few questions/points to consider:

Is passing the crawlers necessary? Making the user to name all their used crawlers sounds human-error-prone :)
It seems to me that in cooperation with RequestQueue/RequestList, the consistency is ensured at all times (even with killing the crawlers' processes). Local tests (though very simple ones) do not show any problems either.

NOT persisting the state effectively means purging all the run artifacts (output data, request queue...)?
I think this might be a problem with named datasets + KVS, as there is AFAIK no way to access those.

Is passing the crawlers necessary?

You need to pause the crawlers so that they can gracefully finish all pending operations. BasicCrawler does that automatically when it receives a migrating or abort signal, so technically, you could fake this signal, instead of pausing each crawler manually.
https://github.com/apify/apify-ts/blob/c3850ecdb8024cd9e7e80dbcde97a47a39121968/packages/basic-crawler/src/internals/basic-crawler.ts#L597-L609

NOT persisting the state effectively means purging all the run artifacts (output data, request queue...)?

There are other things like the request list that need persisting.
https://github.com/apify/apify-ts/blob/c3850ecdb8024cd9e7e80dbcde97a47a39121968/packages/basic-crawler/src/internals/basic-crawler.ts#L611-L626
Thinking about it. Force emitting the abort signal might probably be the best choice, because all this will be handled automatically and we won't have duplicate code.

Migration/Abort signals

Great point, sounds only reasonable 👍🏽

There are other things like the request list that need persisting.

Understood. The persistState event is emitted regularly in intervals, letting the persistable components know it's time to save their state.
Emitting this event one more time before the reboot sounds like the only sensible choice here (otherwise, the state after reboot would be anything between 0 and 59 seconds old). What would the persistState option from the original issue toggle? It would make some sense to me to have a purge (or dontPersistState :) ) option, telling the actor to reboot the run with clean slate.

I wouldn't worry about the purge option. You would also have to remove all the items from the request queue, key value store and so on. Most of the actor's state is persisted all the time, because we use persistent storages. Only some things like the request list or session pool use the regular persisting interval. So when I talked about persisting, I really meant only making sure that those things get a chance to save, and also that any running tasks have a chance to finish - so that their status can get updated in RQ/KVS/Dataset and we won't get duplicate results.


support for relative imports of modules

Thanks for writing abs2rel - I found it's worked flawlessly on the few codebases I've tried it on.
It would be great if it also supported relative imports of modules, rather than just functions/classes.

Mr. Vernooij,
Thank you for your kind words and sharing your feedback. It is my pleasure to provide improvements whenever possible.

It would be great if it also supported relative imports of modules, rather than just functions/classes.

Could you please provide an example of what you described?
I'm asking because, to my knowledge, Python itself doesn't allow direct relative imports of modules, i. e., usage of
import .module

Instead, only relative import statements of the following kinds are allowed
# statement 1: submodule of a package
from .package import module

# statement 2: an object within a module, like a function, class or other obj
from .module import obj

# all other possibilities are variations of the statements above, only more nested:

# statement 3
from .package.subpackage.[...] import module

# statement 4
from .module.submodule.[...] import obj

In other words, all usage of the import statements must start with from, thus not allowing the direct relative import of a module, unless it is nested inside a package, like in the statements 1 and 3 above.
I'm explaining all of this just to show my interpretation of what you described, I'm not doubting your description.
I just, please, ask that you give me an example so that I can visualize what you want, since I might be missing something.
Peace

Running it on one of my projects, I'm finding that it doesn't convert all of the kind of statement 1 to relative imports. It just leaves them as absolute imports. You can see this by e.g. running abs2rel on https://github.com/breezy-team/breezy

Mr. Vernooij,
Thank you for providing further explanation and an example. That will help a lot.
I'm specially busy the beginning of this week due to my tasks related to the @indiepython project. Once I'm free I'll tend to this problem asap. ETA is 4 to 5 days, maybe a week (excluding Sundays).
Peace

Hello, Mr. Vernooij,
Just stopping by to let you know that I didn't forget about this issue. It is just that the tasks I've mentioned in the last message have been taking most of my time. I apologize, however, sive I should have given a better estimation of the time it would take to finish my other tasks and tend to your issue.
As soon as I'm finished with the most urgent stuff I'll tend to this issue right away.
Thank you for your patience.
Peace

Mr. Vernooij,
Here's a quick update on my progress.
I managed to set aside some time last week to take a good look in the breezy repository and, as you said, found out things that can be improved in abs2rel in order for it to be able to tackle this use-case.
I greatly underestimated the size of this task though, so I'd like to inform you that instead of tackling this problem in one go as I originally intended, I'll have to tackle it gradually, as I squeeze time to work on this between my main work.
Thank you for your patience so far. Please, do not expect updates frequently, but know that I'm on it and I did not solve it already solely because I need more time to understand the problem better.
Peace


Implement recording all actions participants do in the affective task.

Right now, the affective task only records whenever participant submits scoring (valence, arousal). @val-pf suggested recording all actions taken by participants to correlate with brain scanning signals.

@adarshp suggestion: Just publish the action messages to the message bus - if the ELK stack and MQTT message bus are running (i.e., the testbed), all the messages will automatically be ingested into the Elasticsearch database. Use the paho-mqtt to interface with the message bus.

To verify that things work, go to the Kibana interface. If you are accessing it through a browser on the iMac, ensure that port 5601 is forwarded from that iMac to the computer that the ELK stack is running on. If you are running everything locally on your laptop, no port forwarding is necessary.

If you don't like GUIs, there are libraries out there that can query Elasticsearch databases. In that case, you will need to ensure that the computer where you are running your query program has port 9200 forwarded to the computer where the ELK stack is running (if they are different computers).

This issue is dependent on #44


Integration tests all

Add an integration test that will install all available Python 3 versions.

CI canceled as way too slow (1h45).


Flogo UI JSON App build problems, FATAL: command "create" failed: dep not installed

I just created a new APP on the Flogo UI which has a simple Lambda trigger & a rest invoke. When i export the app and create a APP using the Json file it is failing with the following error
Creating initial project structure, this might take a few seconds...
FATAL: command "create" failed: dep not installed

{
"name": "Lambda",
"type": "flogo:app",
"version": "0.0.1",
"appModel": "1.0.0",
"triggers": [
{
"id": "lambda_trigger_1",
"ref": "github.com/TIBCOSoftware/flogo-contrib/trigger/lambda",
"name": "Lambda Trigger (1)",
"description": "AWS Lambda Trigger used to start a flow as a function.",
"settings": {},
"handlers": [
{
"action": {
"ref": "github.com/TIBCOSoftware/flogo-contrib/action/flow",
"data": {
"flowURI": "res://flow:lambda"
},
"mappings": {
"input": [
{
"mapTo": "input",
"type": "assign",
"value": "$.evt.txt"
}
],
"output": [
{
"mapTo": "response",
"type": "assign",
"value": "$.status"
}
]
}
}
}
]
}
],
"resources": [
{
"id": "flow:lambda",
"data": {
"name": "Lambda",
"metadata": {
"input": [
{
"name": "input",
"type": "string"
}
],
"output": [
{
"name": "response",
"type": "string"
}
]
},
"tasks": [
{
"id": "rest_2",
"name": "Invoke REST Service",
"description": "Simple REST Activity",
"activity": {
"ref": "github.com/TIBCOSoftware/flogo-contrib/activity/rest",
"input": {
"method": "GET",
"uri": "http://<IP_ADDRESS>:8686/bot",
"proxy": null,
"pathParams": null,
"queryParams": null,
"header": null,
"skipSsl": "false",
"content": null
}
}
},
{
"id": "actreply_3",
"name": "Reply To Trigger",
"description": "Simple Reply Activity",
"activity": {
"ref": "github.com/TIBCOSoftware/flogo-contrib/activity/actreply",
"input": {
"mappings": [
{
"mapTo": "response",
"type": "assign",
"value": "$activity[rest_2].result"
}
]
}
}
}
],
"links": [
{
"from": "rest_2",
"to": "actreply_3"
}
]
}
}
]
}

Hi! The CLI makes use of dep to get the dependencies and perform the build. You can install it using the instructions at https://github.com/golang/dep#setup

hi @ashdatla did you solve your problem?

Yes. I was able to seamlessly integrate my flogo lambda function which is interacting with a chatbot built on Lex and invoking functions deployed on BW & Data models. Thanks for the help. I will be publishing a demo soon on community and have that available.


custom onDragOver and onDragLeave can be inserted via props.

Looks like this somehow breaks the onDrop functionality.


Fix using tax code from product and product type's tax class

Fix Avalara to use tax code from product's or product type's tax class.
Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-6391 Simple taxes


Menu bar does not work in Qubes OS

When trying to click on 'File / View / Tools / Help' in the menu bar the drop down pops up for a split second and then disappears. When you hold left-click on the mouse the drop down will remain open but as soon as you let go it disappears.
I have tested on 2 different computers as well as in the Fedora, Debian, and Whonix VM's on Qubes OS. I have also tested the .deb, .rpm, and .AppImage installations all with the same result.
To replicate, install Sparrow Wallet in Qubes OS
Click 'File / View / Tools / Help'
As a temporary work around I have had success using Sparrow Terminal.
Thank you for the hard work on this amazing piece of software.

Thanks, duplicate of #170. It appears that a fix is in the works.


Documentation for running benchmarks with simd support does not work for me

Describe the bug
I tried running this command from https://github.com/apache/arrow-datafusion/tree/master/benchmarks
cargo run --release --features "simd mimalloc" --bin tpch -- benchmark datafusion --iterations 1 --path /mnt/bigdata/tpch/sf100-24part-parquet --format parquet --query 1 --batch-size 4096

It failed with:
$ cargo run --release --features "simd mimalloc" --bin tpch -- benchmark datafusion --iterations 1 --path /mnt/bigdata/tpch/sf100-24part-parquet --format parquet --query 1 --batch-size 4096
   Compiling libm v0.1.4
   Compiling libmimalloc-sys v0.1.22
   Compiling packed_simd_2 v0.3.5
error[E0557]: feature has been removed
   --> /home/andy/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.5/src/lib.rs:215:5
    |
215 |     const_generics,
    |     ^^^^^^^^^^^^^^ feature has been removed
    |
    = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]`

It works fine if I do not specify features.
To Reproduce
See above.
Expected behavior
Should not fail to compile.
Additional context
I am using rustc 1.58.0 (02072b482 2022-01-11)

Looks to be fixed by https://github.com/rust-lang/packed_simd/commit/45d5347a0d2187c046a546a477d2a53111cd7713
Which was released in ver 0.3.6
Version is currently 0.3.8
jeffrey:~/Code/arrow-datafusion/benchmarks$ cargo tree --features "simd mimalloc" | grep simd
│   ├── packed_simd_2 v0.3.8

And error not reproducible:
jeffrey:~/Code/arrow-datafusion/benchmarks$ cargo run --release --features "simd mimalloc" --bin tpch -- benchmark datafusion --iterations 1 --path /home/jeffrey/tmpdata --format parquet --query 1 --batch-size 4096
    Finished release [optimized] target(s) in 0.09s
     Running `/home/jeffrey/Code/arrow-datafusion/target/release/tpch benchmark datafusion --iterations 1 --path /home/jeffrey/tmpdata --format parquet --query 1 --batch-size 4096`
Running benchmarks with the following options: DataFusionBenchmarkOpt { query: 1, debug: false, iterations: 1, partitions: 2, batch_size: 4096, path: "/home/jeffrey/tmpdata", file_format: "parquet", mem_table: false, output_path: None, disable_statistics: false }
Query 1 iteration 0 took 589.6 ms and returned 4 rows
Query 1 avg time: 589.63 ms

(rustc 1.66.0-nightly (1898c34e9 2022-10-26))

Obsolete now that simd is no longer a feature.

Thanks @drauschenbach


api-linter: 1.65.0 -> 1.65.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/googleapis/api-linter/releases.
meta.description for api-linter is: Linter for APIs defined in protocol buffers
meta.homepage for api-linter is: https://github.com/googleapis/api-linter/
meta.changelog for api-linter is: https://github.com/googleapis/api-linter/releases/tag/v1.65.1
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.65.1 with grep in /nix/store/fi8da6nbpy866pyv729aq1gh14c29hbn-api-linter-1.65.1
found 1.65.1 in filename of file in /nix/store/fi8da6nbpy866pyv729aq1gh14c29hbn-api-linter-1.65.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
api-linter

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fi8da6nbpy866pyv729aq1gh14c29hbn-api-linter-1.65.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A api-linter https://github.com/r-ryantm/nixpkgs/archive/933b3f9a0f76ee55c373b23fd3f091d0899d50b4.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/933b3f9a0f76ee55c373b23fd3f091d0899d50b4#api-linter

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fi8da6nbpy866pyv729aq1gh14c29hbn-api-linter-1.65.1
ls -la /nix/store/fi8da6nbpy866pyv729aq1gh14c29hbn-api-linter-1.65.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

api-linter

Maintainer pings
cc @xrelkd for testing.

@NixOS/nixpkgs-merge-bot merge


[SPARK-9326] Close lock file used for file downloads.

A lock file is used to ensure multiple executors running on the
same machine don't download the same file concurrently. Spark never
closes these lock files (releasing the lock does not close the
underlying file); this commit fixes that.
cc @vanzin (looks like you've been involved in various other fixes surrounding these lock files)

LGTM (I assume closing the channel also closes the RAF from which is was created).

Merged build triggered.

Merged build started.

(Yes, just double-checked that's the behavior for closing the channel.)

Test build #38398 has started for   PR 7650 at commit 0401bd1.

Test build #38398 has finished for   PR 7650 at commit 0401bd1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Jenkins, retest this please

Merged build triggered.

Merged build started.

Test build #95 has started for   PR 7650 at commit 0401bd1.

Merged build triggered.

Merged build started.

Test build #38407 has started for   PR 7650 at commit 0401bd1.

Test build #95 has finished for   PR 7650 at commit 0401bd1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Jenkins, retest this please

Merged build triggered.

Merged build started.

Merged build triggered.

Test build #38409 has started for   PR 7650 at commit 0401bd1.

Merged build started.

Test build #96 has started for   PR 7650 at commit 0401bd1.

Test build #38407 has finished for   PR 7650 at commit 0401bd1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
abstract class InternalRow extends Serializable
class GenericRow(protected[sql] val values: Array[Any]) extends Row
class GenericInternalRow(protected[sql] val values: Array[Any]) extends InternalRow
class GenericInternalRowWithSchema(values: Array[Any], val schema: StructType)
class GenericMutableRow(val values: Array[Any]) extends MutableRow

Merged build finished. Test FAILed.

Test build #96 has finished for   PR 7650 at commit 0401bd1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #38409 timed out     for PR 7650 at commit 0401bd1     after a configured wait of 175m.

Merged build finished. Test FAILed.

Jenkins, retest this please

Merged build triggered.

Merged build started.

Test build #98 has started for   PR 7650 at commit 0401bd1.

Merged build triggered.

Merged build started.

Test build #38419 has started for   PR 7650 at commit 0401bd1.

Test build #38419 has finished for   PR 7650 at commit 0401bd1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #98 has finished for   PR 7650 at commit 0401bd1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

LGTM as well, so I'm going to merge this to master and branch-1.4.  Thanks!

Thanks @JoshRosen!


UI Fails to render any content

The deployment appears to be successful but the UI does not render anything (see screen shot).  My monitoring console is here:  https://ibm.biz/BdYpSx

cc- @sanjeevghimire


More BigBot Fixes

I found an issue where the bot never revived any events from discord. Turns out the workers were making http requests to ${EVENT_HANDLER_URL}:${EVENT_HANDLER_PORT} instead of http://${EVENT_HANDLER_URL}:${EVENT_HANDLER_PORT} like all other http requests. It makes sense to require the same formatting of url for all environment variables. This could possibly be done with a sort of check using try { new URL('${EVENT_HANDLER_URL}:${EVENT_HANDLER_PORT}') } catch (e) { log.error("Check url fomatting for the EVENT_HANDLER_URL key in .env!") } but that seems slightly repetitive and this is a smaller fix which keeps continuity.
I also added some more comments into .env.example and working defaults to simplify DX.
Next on the list might be to include the automatic importing of commands. E.g. just create a new file for a new command exporting a Command. I found a way to do this without using the fileloader-plugin which is a very hacky solution. Instead it would just scan the slash directory for commands and add those to the commands map.

deno fmt ./template/bigbot was run, apparently that doesn't make the correct changes to make the tests pass.

FYI, for future PRs, etc; run deno fmt **/changed-dir/* --config ./deno.json to make the formatting check pass. Anyways, all fixed @itohatweb.

ig good for now


Enhance info on supplying obj and 'Log on as a service' right

The topic doesn't explicitly say that when obj is supplied to sc create that the user account is granted Log on as a service rights. It looks like that's the case, so I wonder if it makes sense to call it out here for the obj entry in the table? ... and if this is the case, we won't need to make any changes to our topic, which uses sc create to set up the service.

Cross-ref: https://github.com/aspnet/Docs/issues/9573

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

ID: ca7f3a23-37b7-f9f3-4f59-91b98c1c8254
Version Independent ID: fda7f21d-f770-50fa-4cc1-e7139efeaa80
Content: Sc create
Content Source: WindowsServerDocs/administration/windows-commands/sc-create.md
Product: windows-server-threshold
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

No. This sc create command will not grant "log on as a service" rights for user.
It would be great, but currently it is not working. Also it is true for "sc config"

Correct ..... re-evaluation indicates that the privilege was assigned to the account in some other way when I was testing to set up the topic updates. The topic didn't use a dedicated user account prior to that, so this cropped up on the last update. This topic on sc create is fine. I plan to cover using the Local Security Policy console to grant Log on as a service to the user. Thanks @pherbel for calling this out.


[WIP] Initial commit of Spring/Okta integration

This PR adds the initial wiring for Okta authentication in the backend.
Okta integration is accomplished by adding the appropriate Spring Boot Starters. Two auth profiles are created, one for dev which disables security and one for everything else that enables it.
I refactored the query and mutation resolvers into their own classes, which made it easy to apply PreAuthorize annotations to further restrict access.
On the Okta side, I created a sample application here, and a couple of groups (user/admin groups) which I'm using for testing the permissions. There's still a lot of work to be done there, but this PR shows a trivial user/admin distinction, in that only admins are allowed to add devices.
We'll need to expand the pre-auth logic to pull the correct claims out of the token, as be default, I think I can only use scopes in the auth expression. Does that make sense?
Given that I don't have much experience with Spring I would love for @benwarfield-usds to take a look at the configuration settings and make sure they're sane.
@timothybest-usds @pete-usds do we have a process for storing secrets in the repo yet? Debating whether or not to commit the eval Okta clientId/clientSecret to the repo, or whether to use something like Ansible vault.
Closes #79

@timothybest-usds @pete-usds do we have a process for storing secrets in the repo yet? Debating whether or not to commit the eval Okta clientId/clientSecret to the repo, or whether to use something like Ansible vault.

We're storing some secrets in github at the moment - I think that would work for this as well? I double checked that you have admin Nick and should be able to access 'em.
Definitely don't commit any secrets into the raw repo directly as it's public. :o Worst case for not-terribly-secure eval testing could post 'em in slack.


Integration tests for Ceph CSI

Summary
Add integration tests for integration with https://charmhub.io/ceph-csi

Passed on AWS


Update help window url

Codecov Report

Merging #73 (8b789a8) into master (ab23279) will increase coverage by 0.23%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #73      +/-   ##
============================================
+ Coverage     72.15%   72.39%   +0.23%
- Complexity      399      441      +42
============================================
  Files            70       78       +8
  Lines          1232     1351     +119
  Branches        125      138      +13
============================================
+ Hits            889      978      +89
- Misses          311      334      +23
- Partials         32       39       +7

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <ø> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
90.00% <0.00%> (-10.00%)
:arrow_down:

...c/main/java/seedu/address/model/person/Person.java
95.74% <0.00%> (-1.88%)
:arrow_down:

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
100.00% <0.00%> (ø)

...rc/main/java/seedu/address/ui/PersonListPanel.java
0.00% <0.00%> (ø)

.../java/seedu/address/storage/JsonAdaptedPerson.java
100.00% <0.00%> (ø)

...java/seedu/address/logic/commands/ListCommand.java
100.00% <0.00%> (ø)

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <0.00%> (ø)

... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab23279...8b789a8. Read the comment docs.


Add support for CXF REST Consumers

It is reasonable to expect that HTTP endpoints are created in the standard JavaEE way. i.e. by deploying an JAX-WS, JAX-RS endpoint

done


[BUG] Tfr misc issues

Reference issue
Example: Fixes #8013 .
What does this implement/fix?

function returns a list of figures rather than a single figure, for every pick that is being plotted
the title is set for each figure separately, depending on the arguments of title and combine in following way:

if title is None or a String, set the title of every figure accordingly
if title is 'auto' and combine is None, set the title of every figure to the channel name that is being plotted
if title is 'auto' and combine is not None, set the title to Avg/Rms of   sensors

the documentation now better reflects what is actually done in the function
fixing bugs related to plot(), triggered a bug in plot_joint(), or actually the test script of plot_joint(). The doc of plot_joint() specify only mean and rms being valid keywords for combine, however, in https://github.com/mne-tools/mne-python/blob/f20c60ec23481e8c9888fb9f7da1544378dd2489/mne/time_frequency/tests/test_tfr.py#L551
the function is also tested for combine is None. I removed that particular test situation
some minor issues in the doc string were fixed

What else could be done?

When using a mask, mask_cmap is currently set to gray. Perhaps that is just personal style preference, but I find it extremely not pretty. My suggestions would be to use the same colormap as the actual plot is using. Especially if the mask is shown with transparency and not contour
passing a list of strings as title
the way the default value is specified in the docstring varies across keywords. Is that something that should be unified?
specify the output as either a list of figures or a figure (if it is only one)
with default for picks=None, a lot figures will be opened (200+ for only gradiometers in the data). Perhaps there is a warning or something that can be raised before it happens? (I just almost killed my laptop because of it ;) )
a more elaborate unit test?

Unrelated issues

the contour value to mask_style does not seem to work
the colorbar units are missing
https://github.com/mne-tools/mne-python/blob/a6abf3649bdf754c86bb983f393f690791816048/mne/viz/utils.py#L1819
this function is a bit weird that it only works if the title argument is not None. I'd think it would make more sense to remove the title keyword and just assume that if you call that  function, you'll get an output as if title was None.

I hope I haven't forgotten anything important :)

I think returning a list of figures is counter-intuitive. Users will expect the plot method to actually produce a plot (just like all other MNE functions). Therefore, returning just one figure with multiple axes is probably the better solution.

That was also my first hunch, but things get quite convoluted when trying to make reasonably pretty figures. I talked to @sappelhoff about it, and we agreed that it might be easiest to let user take care of subplots in a single figure by using the axes keyword.
I mean, it certainly is possible to swap out figures for subplots, but as far as I can see, it will take quite a bit of digging, and i am not sure the potential gain is worth the effort.

@cbrnr

Therefore, returning just one figure with multiple axes is probably the better solution.

Returning multpile figures when multiple channels are selected is used frequently in mne (for example in plot_properties or the function that produces epoch images IIRC) and is much simpler. One multi-axes figure can be a possible future improvement to keep in mind.

I'm fine with returning a list of figures as long as all figures are also displayed.

@cbrnr by default they should be, this is how it works in the functions I referred to.

@mmagnuski are you happy here?

I am good generally. Although codecov claims that 75% of the diff is covered, so it might be worthwhile to add a test here (for example for the tfr.plot() figure / axis behavior, how titles are created and for the returned list of fig length).

can you add a line to the BUG section mentioning this fix, and that a list of figures is now always returned instead of a single figure handle?

will do.

so it might be worthwhile to add a test here

I'll have a look whether some more settings can be tested!

Not sure what exactly is the problem with those older (python?) versions, but it seems like extracting the title text from the figure works differently across versions.
An alternative to how it is done now, we could use this here: figs[0]._suptitle().get_text(), which also works on my system. But it has the drawback of using private functions of matplotlib.

If it's just for the test I would do:
try:
    title = figs[0].get_figure().texts[0].get_text()
except Exception:  # old matplotlib version
    title = figs[0]._suptitle().get_text()
assert title == 'title'

Ok. Is there a way to test that without having to push to this PR?

You could install locally an env with an older version of matplotlib. If you want to see how the CIs do it, it's here:
https://github.com/mne-tools/mne-python/blob/main/.github/workflows/compat_old.yml#L36
So something like this should work:
conda create -n old numpy=1.15.4 scipy=1.1 matplotlib=3.0.3 pandas=0.23.4 scikit-learn=0.20.2
conda activate old
pip install -r requirements_testing.txt
pytest mne/time_frequency/tests/test_tfr.py -k plot

turns out, the old-compatible version works also for the recent tests.
Oh, and sorry for the messing up the commit! I think I included previous changes that I didn't have locally yet into the commit

Oh, and sorry for the messing up the commit! I think I included previous changes that I didn't have locally yet into the commit. I think d0ed820 is all you need.

What's important is that the diff on GitHub looks correct. Does it?
If not, you can push more commits to fix it.


fix: usage of net schema when the postgres role misses privileges

Related to https://github.com/orgs/supabase/discussions/21450.
Notes

Only the usage privilege on schema net should be required.
Also add GRANT on sequences to PUBLIC. See https://github.com/citusdata/pg_cron/blob/main/pg_cron--1.4--1.4-1.sql.

Is this ready for review? There's no code/SQL changes

Follow up on https://github.com/supabase/pg_net/pull/158


RFC: Declarative disk layout

Project description
One of the hardest parts of setting up a NixOS (or any Linux) system from scratch is setting up the disk itself. Deciding how big each partition needs to be, making sure it's UEFI compliant, whether to use LUKS inside LVM or LVM inside LUKS, remembering to set a partition bootable, etc. It would be fantastic to have a declarative way to deal with this. Features which come to mind include:

Integrates with the GUI installer. Point the installer to a configuration.nix with a disk layout somewhere, and it just goes and does all the necessary setup, asking for things like passphrases where necessary.
A tool to extract the Nix configuration from currently mounted file systems, expanding on what nixos-generate-config already does.
Optionally some way to apply the relevant part of a configuration.nix file to a system manually, like disko.

I'm not sure, but maybe this issue should be raised at https://github.com/NixOS/rfcs ?

Bad repo + you might want to checkout disko


[Snyk] Security upgrade typeorm from 0.3.17 to 0.3.18

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

631/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 6.2
Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: typeorm
    The new version differs by 94 commits.

b6ef306 updated glob version
b5d2599 build(deps-dev): bump the npm_and_yarn group group with 1 update (#10591)
080528b fix: resolve circular dependency when using Vite (#10273)
338df16 feat: add support for table comment in MySQL (#10017)
15bc887 build: update CircleCI config & repair failing tests (#10590)
b5ec088 docs: update Chinese faq.md (#10593)
a00b1df feat: implement OR operator (#10086)
dd59524 fix: prevent using absolute table path in migrations unless required (#10123)
4329996 docs: update Soft-Delete, Restore-Soft-Delete examples (#10585)
7ecc8f3 docs: updated id to _id (#10584)
8b4df5b fix: added fail callback while opening the database in Cordova (#10566)
173910e fix: should automatically cache if alwaysEnable (#10137)
73ee70b fix: correctly keep query.data from ormOption for commit / rollback subscribers (#10151)
e67d704 feat: nullable embedded entities (#10289)
5c28154 feat: BeforeQuery and AfterQuery events (#10234)
0f11739 docs: fix typos (#10243)
b188c1e chore: initial setup of ESLint (#10203)
25e6ecd fix: nested transactions issues (#10210)
3cda7ec feat: add isolated where statements (#10213)
149226d fix: backport postgres connection error handling to crdb (#10177)
122b683 fix: mssql datasource testonborrow not affecting anything (#10589)
dc1bfed fix: resolve issues on upsert (#10588)
a939654 fix: remove dynamic require calls (#10196)
f6b87e3 perf: improve SapQueryRunner performance (#10198)

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

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

Comparison is base (ed880bd) 100.00% compared to head (133cdd1) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #53   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           20        20
  Lines          148       148
  Branches        26        21    -5
=========================================
  Hits           148       148

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

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

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


Frontend

Initial pull to main

Looks good but you need to add a matching README.md before the merge or we're not gonna have a repository description.

LGTM.


Go Sum Database Mismatch for version v1.2.1

Description
The v1.2.1 tag has changed at some point in the past, causing installations to fail:
$ GOPROXY=direct go get<EMAIL_ADDRESS>go: downloading github.com/sigstore/timestamp-authority v1.2.1
go<EMAIL_ADDRESS>verifying module: checksum mismatch
	downloaded: h1:IgTOOdoB1HtMN9AeiOUaPD31G9oiYhgnC7rGp2mktjc=
	sum.golang.org: h1:j9RmqSAdvKgSofeltPO4x7d+1M3AXaROBzUJ+AA7L5Q=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

Unfortunately, go clean -modcache doesn't fix the issue for me, it happens even on a completely new environment that has never downloaded timestamp-authority before, for example:
$ docker run -it --rm docker.io/golang:1.22 env GOPROXY=direct go install<EMAIL_ADDRESS>
go: downloading github.com/sigstore/timestamp-authority v1.2.1
go<EMAIL_ADDRESS><EMAIL_ADDRESS>verifying module: checksum mismatch
	downloaded: h1:IgTOOdoB1HtMN9AeiOUaPD31G9oiYhgnC7rGp2mktjc=
	sum.golang.org: h1:j9RmqSAdvKgSofeltPO4x7d+1M3AXaROBzUJ+AA7L5Q=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

Yea, that makes sense, given the Go proxy has witnessed a different hash for that version. I'll cut a new release, I don't think there's anything else we can do to fix this.

Done - https://github.com/sigstore/timestamp-authority/releases/tag/v1.2.2
Thanks for posting about this!


fixing list formatting in generate_discount_code.rst

Lists needed more spacing to render properly. This is just a documentation update.

Codecov Report

Merging #1228 (6ffcf2e) into main (6c2462b) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1228      +/-   ##
==========================================
- Coverage   84.04%   84.03%   -0.01%
==========================================
  Files         296      296
  Lines       11620    11620
  Branches      802      802
==========================================
- Hits         9766     9765       -1
  Misses       1628     1628
- Partials      226      227       +1

Impacted Files
Coverage Δ

ecommerce/views/v0/__init__.py
89.58% <0.00%> (-0.42%)
:arrow_down:

ecommerce/models.py
85.83% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Updates pnpm to v9

using pnpm v6.1.0 caused install/build steps to err. upgrade to v9 only causes warns. same logs.
current
 ERROR  ENOENT: no such file or directory, chmod '~/ponder-sh/ponder/packages/core/dist/bin/ponder.js'

v9
  WARN  Failed to create bin at ~/ponder-sh/ponder/examples/feature-blocks/node_modules/.bin/ponder. ENOENT: no such file or directory, open '~/ponder-sh/ponder/packages/core/dist/bin/ponder.js'
 WARN  Failed to create bin at ~/ponder-sh/ponder/examples/feature-call-traces/node_modules/.bin/ponder. ENOENT: no such file or directory, open '~/ponder-sh/ponder/packages/core/dist/bin/ponder.js'
 WARN  Failed to create bin at ~/ponder-sh/ponder/examples/feature-filter/node_modules/.bin/ponder. ENOENT: no such file or directory, open '~/ponder-sh/ponder/packages/core/dist/bin/ponder.js'
 WARN  Failed to create bin at ~/ponder-sh/ponder/benchmarks/node_modules/.bin/ponder. ENOENT: no such file or directory, open '~/ponder-sh/ponder/packages/core/dist/bin/ponder.js'
 WARN  Failed to create bin at ~/ponder-sh/ponder/examples/feature-factory/node_modules/.bin/ponder. ENOENT: no such file or directory, open '~/ponder-sh/ponder/packages/core/dist/bin/ponder.js'
 ```

ok, even more interesting: the ci pipeline is using version 8 even though the lock file signaled for v6


Implement shrinker for 'MockRoots'

Done in https://github.com/input-output-hk/ouroboros-network/pull/3377


Different result from translation using PyTorch hub interface and loading from local files

❓ Questions and Help
Before asking:

search the issues.
search the docs.

What is your question?
It appears translated results from Pytorch Hub interface are different from loading from local files. See below for an illustration:
Code
en2de = torch.hub.load('pytorch/fairseq', 'transformer.wmt19.en-de.single_model', tokenizer='moses', bpe='fastbpe')
de2en = torch.hub.load('pytorch/fairseq', 'transformer.wmt19.de-en.single_model', tokenizer='moses', bpe='fastbpe')

# the downloaded files are cached in the following local directories:
en2de_local = '/root/.cache/torch/pytorch_fairseq/81a0be5cbbf1c106320ef94681844d4594031c94c16b0475be11faa5a5120c48.63b093d59e7e0814ff799bb965ed4cbde30200b8c93a44bf8c1e5e98f5c54db3'
de2en_local = '/root/.cache/torch/pytorch_fairseq/f42bb1b72d293668a5c50d9589fd2f3cc27322e390b1ef4cf3fdcf625c0d2fd7.bf6e22453272c2cba218a5ccecd045f73e926c34c1d66c47c9b31233343820a9'

# load from local files
en2de_2 = TransformerModel.from_pretrained(model_name_or_path=en2de_local, data_name_or_path=en2de_local, bpe='fastbpe',bpe_codes=os.path.join(en2de_local,'bpecodes'))
de2en_2 = TransformerModel.from_pretrained(model_name_or_path=de2en_local, data_name_or_path=de2en_local, bpe='fastbpe',bpe_codes=os.path.join(de2en_local,'bpecodes'))

text = """
Evening is the beautiful story of the flawed love of a mother. The movie split in time, is magically shot, amazingly acted and has a touching script. Vanessa Redgrave plays Anne Grant Lord, a woman sun-setting out of life. Lying in her bed, her mind remembering and misfiring, she recalls her first mistake. Claire Danes plays the young Anne, giving a youthful vitality to dying bed ridden woman. Daughters Nina (Toni Collette) and Constance (Natasha Richardson) try to decipher the real story from the disheartening dementia. Her first mistake revolves around Harris Arden (Patrick Wilson); the man her best friend Lila (Mamie Gummer) deeply loved. The daughters must come to terms with their mother's past, and their futures. The cast is glowing in Evening. The collective acting energy of this movie could have powered the equipment for the production of this entire film. I am so glad to see Claire Danes working again, especially in this role. She is so young, and alive, fully living the joys, mistakes and heartbreak of young Anne's first mistake. This is a true feat when you realize she is playing a woman, dying in bed. When her life overwhelms her, you can feel her desire to crack and her hopeless hope that she won't. Some of her facial expressions grinded on me a little, but over all her performance was so radiant, I was left with that only as a side note.   Nina finds a great deal of strength in her mother's mistake. Collette delicately avoids creating a cruel character who revels in the mistakes of her mother, instead choosing the wiser path of learning from her mother's mistakes. There is a great deal of infighting between Nina and her sister Constance. Their fights remind me of ones I have with my sister all the time. Mamie Gummer, who plays Anne's youthful best friend, is wonderful. Her character is stuck between her heart and her status in society. Even when she is crying and her heart is breaking, she is incredibly regal and charming. I can't wait to see her act in something else in the future. Vanessa Redgrave's performance is very hard for me to describe.  The audience does not know if she is making up the story because she is slipping away or if these events truly happened. Physically and emotionally speaking, Redgrave is acting in a box. Not much physical space and limited emotional range might have been a stunner to a lesser actress but she makes the limitations work for her. I was constantly amazed. The movie is definitely woman-focused but the men in the movie are not just accessories. Patrick Wilson is mesmerizing as Harris. It is no wonder that everyone in the movie is in love with him, I sure was. Buddy Wittenborn is Lila's brother, spiraling out of control. Hugh Dancy spirals Buddy out of control without sending his acting down the drain. Glen Close has my favorite scene in the movie. It reminded me of the famous scene from Monster's Ball. It is terrible and jaw dropping grief. I was utterly stunned. The one acting disappointment was Natasha Richardson. While her fight scenes were memorable, most of her acting reeks of melodrama. It would have suited her to take an acting bath before we had to breathe her stink. It's a good thing she wasn't in charge of the visuals. The visuals of the movie are sparkling. Cinematographer Gyula Pados couldn't make a film richer in color, light so perfectly matched to mood and emotion. The visual concepts of the flash back sequences are powerful and resonating. There were many scenes that could have been stopped, printed, mounted and sold as art. I admit it, I cried. Evening is a powerful movie. Evening is defiantly a chick flick but a really great chick flick. If you want to impress a woman with a movie choice, pick Evening.
"""

# translate using Hub interface
paraphrase = de2en.translate(en2de.translate(text,max_len_a=1, max_len_b=1000), max_len_a=1, max_len_b=1000)
print(paraphrase)

# translate using local files
paraphrase = de2en_2.translate(en2de_2.translate(text,max_len_a=1, max_len_b=1000), max_len_a=1, max_len_b=1000)
print(paraphrase)

the result from Hub:
The film is split in time, is magically shot, amazingly acted and has a touching script. Vanessa Redgrave plays Anne Grant Lord, a woman sunset from life. Lying in her bed, her mind remembers and misfires, she remembers her first mistake. Claire Danes plays the young Anne, gives a youthful vitality to bed-ridden woman. Daughters Nina (Toni Collette) and Constance (Natasha Richardson) try to decipher the real story of the disheartening dementia. Her first mistake revolves around Harris Arden (Patrick Wilson); the man deeply loved her best friend Lila (Mamie Gummer). The daughters must come to reconcile with their mother's past, and her future. The cast is glowing in Evening. The collective acting energy of this film could have driven the production of this entire movie.
The result from local files:
It 's as if it 's really a big deal when she 's a young woman playing a young woman who rides a youthful vitality to death ; Daughters Nina ( Toni Collette ) and Constance ( Natasha Richardson ) try to decide the real story of her dispiriting dementia ; her first mistake revolves around Harris Arden ( Patrick Wilson ) ; the man 's best friend Lila ( Mamie Gummerman ) ; the daughters have to come pasty with their mothers. and her future life is glowing in evening. the collective acting energy of this film may have driven the production of this whole movie. i 'm so glad to see her having so much fun .

What have you tried?
I also tried to add tokernizer = 'moses' when loading from local files:
en2de_2 = TransformerModel.from_pretrained(model_name_or_path=en2de_local, data_name_or_path=en2de_local, bpe='fastbpe',bpe_codes=os.path.join(en2de_local,'bpecodes'),tokernizer = 'moses' )
de2en_2 = TransformerModel.from_pretrained(model_name_or_path=de2en_local, data_name_or_path=de2en_local, bpe='fastbpe',bpe_codes=os.path.join(de2en_local,'bpecodes'),tokernizer = 'moses' )

but got the same results as that without it. Thanks
What's your environment?

fairseq Version (e.g., 1.0 or master):
PyTorch Version (e.g., 1.0)
OS (e.g., Linux):
How you installed fairseq (pip, source):
Build command you used (if compiling from source):
Python version:
CUDA/cuDNN version:
GPU models and configuration:
Any other relevant information:

You need to call .eval after loading the models, otherwise they will have dropout applied (thus causing them to be nondeterministic).

@myleott I tried to add eval() function for each of the model and the results are the same as before.
Also please note the official notebook on the Colab does not have eval() before calling translate function so I doubt the inconsistent results are caused by eval().
Could you please re-open this issue? Thanks.


Compatibility problem with VSCode AWS extensions

The AWS extensions for VSCode that require sign-in to AWS create session tokens that Granted cannot parse, preventing it from working.
Steps to reproduce:

Authorise an SSO session with "assume" and check you can successfully assume other roles as normal.
Launch VSCode, authorise an AWS extension.
Attempt to assume a new role, you will see an error similar to this:
[✘] operation error SSO: GetRoleCredentials, https response error StatusCode: 401, RequestID: 2a2d7c3f-c89d-4b1f-9ef7-8946f0c1369e, UnauthorizedException: Session token not found or invalid
Remove any session token cache files for the extension(s): rm ~/.aws/sso/cache/aws-toolkit-vscode-client*
Assuming a new role now works again.

Granted version: 0.27.0
OS: macOS Sonoma & Ventura
Update:
Looking at the contents of the files is appears that the aws-toolkit-vscode* files don't have accessToken or refreshToken defined within them; I'm not sure if this is a change that Amazon have made or not and may be related to the Amazon Q extension.

I have the same issues with VSCode and after authenticating with Amazon Q. You need to remove the whole directory:
rm ~/.aws/sso/cache/*

However I find a work around, when using the command assume to pass the flag --no-cache, e.g.:
assume --no-cache

It will prompt you all the time for the website, to confirm the 6 characters code but at least you don't need to keep re-login in Amazon Q or whatever plugin you use in VS Code.
I also notice granted is not storing anything in ~/.aws/sso/cache/ (I believe it caches in the in the Keylogin) but maybe I found a new token in that folder and maybe it is because it is failing.
Maybe if there is a way to granted to not look up into ~/.aws/sso/cache/ it will solve the problem.


How to handle push notification in WebView?

Hi, I have a RN app which has a webview. I want to change the state to change openingPage. I couldn't find any example code or maybe I couldn't recognize  :/
Here is the WebView component :
source={{ uri: this.state.openingPage }}

@muratdogan17 this issues page is for bugs in the SDK. The question you are asking seems more appropriate for stack overflow.
I’d be glad to help you if you can post more details but I’m not sure what you’re asking/having a problem with.


Log some output when pulling new service images

Either by capturing Docker's output, or adding other focused spinner messages. The first time running a task with all new services, it's hard to tell if it's actually working because all that's visible for however long it takes to pull the images and spin up (which can be long) is Starting services ....

Closing as completed per this PR comment


Extracted CacheInterface from yii\caching\Cache

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
let's see :)

Fixed issues
Haven't found

Merged! That's a good one.


Doc updates for v1.9. Release notes;About Help topic; privacy URL change

@mwhagedorn @johnDance @alicemhsiao @wescwu

Just added release notes (and links to ref pages)
Added the About Help topic (standard SFDC)
Updated privacy link to SDFC policy

@d45, the dashboard team also added more font support. @b-carver can your team provide specifics for Dave?

@b-carver  Are we talking about the addition of Benton Sans? Thanks.

Yes, we're talking about Benton Sans as well as work for loading all Tableau fonts by default.  Garrett said he'd reply by EOD with more specifics.

@b-carver @johnDance  I've updated the release notes with the font support announcement. I added a link to the formatting sample. The link will point to the new sample when we merge dev to main.