fix: make changes that reduce false positive in PDFBox

Fixes #230

[NOT ALLOWLISTED]: org/slf4j/MarkerFactory
[NOT ALLOWLISTED]: org/slf4j/helpers/BasicMarker
[NOT ALLOWLISTED]: org/slf4j/spi/LocationAwareLogger

These classes seem to have been reported as false positive due to our tool. All the dependencies in the agents should be shaded as they can conflict with the classes of the application.
Classes of our app will be loaded but if they have the same fully qualified name as of the one in the application, they would not be intercepted as they won't be loaded.

I have made it work well on JDK >= 18 because GCA have been removed in 18. May look why GCA4 was being reported in future.


Publish pre-releases on npm

I would like to use the 2.0.0 alpha in my project, but don't want to build the files myself every time. Could you publish the pre-releases to npm? According to this post, this is preferrably done using a custom tag:
npm publish --tag alpha

otherwise, npm seems to install pre-releases by default when installing without a version number (e.g. npm install pixi-sound).

They are published under the "canary" tag.
npm install pixi-sound@canary


ERROR: WebDriver.init() got an unexpected keyword argument 'executable_path'

when trying to login this error occurs

Go to session.py and change
import undetected_chromedriver.v2 as uc
for
import undetected_chromedriver as uc

i have the same error


Added Open E-commerce App

closes #618

@ashitaprasad Can u please merge this also

@ashitaprasad can u please merge this

Already added


Medium sized test repo

We need a repeatable test suite using a medium sized repository (large enough to have a moderate amount of complexity, multiple partitions (when implemented), yet small enough that we can include the whole thing in the main git repo). This should solve part of #13.
Ideas

create an initial repo, probably via random generators (e.g. sequences example), with many commits (100?)

check several things:

file names
hash sums of files (black box test)
combined state sum of all data
partition sums

using a saved copy, perform some operations, checking the result afterwards:

insertion
deletion
replacement
replacement causing movement to a new partition
a mixed commit with multiple of all above ops
new snapshot creation
...

benchmarks?

Requirements & difficulties
Many things could cause files to change. We need to know whether element data and metadata is the same when the file format changes, commits go in different log files etc. One test will be whether the loaded partitions are identical (including all history).
We also need to handle different partitioning: to compare with/without partitioning and check that different classification rules do not change the data (from point of view of whole repo).
How is this going to work with Cargo? Ideally we want multiple test binaries but sharing code and data files. Use a cfg to put shared code in the main library? What about temporary data generated during testing — where does that go and when is it cleaned up?

Tests:

[ ] creation
[ ] adding a few simple commits to the tip
[ ] merging a repo loaded with multiple tips and/or commits made not on the tip
[ ] repartitioning

Generation is now deterministic (seq_create_small), now for testing and operations.


Problem in Publishing a Titanium code written in VS

When I publish code in VSwhich uses Titanium(NuGet installed) it runs perfectly when the application is run on that System...
But that application fails to run on a separate system and throws an error:
The system cannot execute the specified program.
An assembly specified in the application dependencies manifest (ConsoleApp1.deps.json) was package: 'Titanium.Web.Proxy',Version: 3.1.1301'
path: 'lib/netstandard2.0/Titanium.Web.Proxy.dll'

There were some problems in zipping the folder which made the files go missing!!! Closing this issue...


is there a comparison between easy state and mobx somewhere?

Looking for the clear pro/cons/differences between the two - especially considering mobx 5 now supports proxies

Hi!
pros:

Has a smaller API with more automatic deductions (no need for @action, @observable, @computed, etc.)
Slightly more performant and smaller, but these should not be a deciding factor.
More stable (MobX 5 just started with Proxies, I think it will have quite some bugs for the next period).
If any user is reading this post, please add your points in a comment (I will include them here).

cons:

Smaller ecosystem.
No decent debugger yet.
If any user is reading this post, please add your points in comments (I will include them here).

others:

MobX is caching computed props. Many see this as a feature, but I think it's an anti-pattern.
easy-state will morph into a full routing + state-management solution - called react-easy-stack - soon. (I am in the testing/documenting phase for more than two months now).

I prefer to not add comparisons to the docs, but I can keep this issue open for some time and see if people are interested.


Add an option to hide level label

In my project, I would like to conditionally hide the level label so here we go again :)
Without the label:

With the label:

Sorry I messed up the code stack. Give me a second.


Fix/tizen device error

Codecov Report

Merging #299 into develop will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           develop     #299      +/-   ##
===========================================
- Coverage     29.4%   29.38%   -0.02%
===========================================
  Files           54       54
  Lines         5801     5798       -3
  Branches      1280     1282       +2
===========================================
- Hits          1706     1704       -2
+ Misses        2965     2962       -3
- Partials      1130     1132       +2

Flag
Coverage Δ

#rnvunittests
29.38% <0%> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

packages/rnv/src/platformTools/tizen/index.js
13.97% <0%> (-0.84%)
: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 7f71012...1a95e5b. Read the comment docs.


Resizing the grid for smaller screen sizes

As you can see below, the grid for the Dashboard doesn't resize when it gets smaller than a certain point. This is something that could easily be improved on :)
https://user-images.githubusercontent.com/44822892/213871603-a22993b3-7a6c-4f85-a66f-726ac2f14b92.mov

Maybe display make the col take 100% when the window is as large as a phone


Fail to download big zip file from job supervisor

@zimo-xiao
There was a big summa job that has a 5.9GB zipped results file. User failed to download it though tried several times.

MemoryError                               Traceback (most recent call last)
 in
----> 1 communitySummaJob.download(str(model_folder))
/opt/conda/envs/pysumma/lib/python3.7/site-packages/job_supervisor_client/Job.py in download(self, dir)
92         dir = self.client.download('GET', '/supervisor/download/' + self.id, {
93             "aT": self.JAT.getAccessToken()
---> 94         }, dir, self.protocol)
95         print('file successfully downloaded under: ' + dir)
96         return dir
/opt/conda/envs/pysumma/lib/python3.7/site-packages/job_supervisor_client/Client.py in download(self, method, uri, body, localDir, protocol)
33         connection.request(method, uri, json.dumps(body), headers)
34         response = connection.getresponse()
---> 35         body = response.read()
36         contentType = response.getheader('Content-Type')
37
/opt/conda/envs/pysumma/lib/python3.7/http/client.py in read(self, amt)
468             else:
469                 try:
--> 470                     s = self._safe_read(self.length)
471                 except IncompleteRead:
472                     self._close_conn()
/opt/conda/envs/pysumma/lib/python3.7/http/client.py in _safe_read(self, amt)
623             s.append(chunk)
624             amt -= len(chunk)
--> 625         return b"".join(s)
626
627     def _safe_readinto(self, b):
MemoryError:

The file download is currently using a direct download method which uses a lot of memory. I'll work on it to make the process a stream download.

The file download is currently using a direct download method which uses a lot of memory. I'll work on it to make the process a stream download.

@zimo-xiao  Thanks. This is a high priority issue as far as I can tell. We are using job supervisor to run SUMMA on real-world problems (not toy model anymore), and the downloading of big results is the last missing piece to achieve a fully working workflow.
I am also ccing @padmanabhananand  so he is aware of this.
For long-term, we could look into big file transfer services like Globus.

@zimo-xiao  Thanks. This is a high priority issue as far as I can tell. We are using job supervisor to run SUMMA on real-world problems (not toy model anymore), and the downloading of big results is the last missing piece to achieve a fully working workflow.
I am also ccing @padmanabhananand  so he is aware of this.
For long-term, we could look into big file transfer services like Globus.

updated the SDK with streaming download (uses less memory). Please check if this works and close the issue if resolved. @zhiyuli

updated the SDK with streaming download (uses less memory). Please check if this works and close the issue if resolved. @zhiyuli

@zimo-xiao
This new commit still works on small files, but for big files the downloading gets stuck for a long time until a "Kernel Dead" error pops up.
I guest you may need to explicitly enable streaming mode in requests.get(.....,stream=True)?
Can you double check it?

Thanks for the comment. I added the stream option and tested locally. Please try again @zhiyuli

I believe this refers to v1 download which has been replaced with Globus. I'm going to close, but we can reopen if I misunderstood.


fix: claims migration based on pallet version

parent #98

Removing debug info - Ok. But what was wrong with declarative approach (V1/V2)? Seems inline with docs.

@green-jay using special storage for migrations was effectively deprecated with this feature https://github.com/paritytech/substrate/pull/7208


How to start the server minimized in OS X?

How can we make it so that Bluebubbles server starts minimized on Mac OS instead of popping up on every boot?
Thanks

Feature added. Will be in the next release. Once the DB is initialized, the server will minimize itself.


[PPP-4865] - Vulnerable Component: snakeyaml

@smmribeiro
@renato-s

:x: Build failed in 2m 4s
Build command:
mvn clean verify -B -e -Daudit -amd -Djs.no.sandbox -pl \
engine,plugins/pur/core

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message


Scanning QR code does not work (missing feature?)

Hi, thanks for this great FLOSS initiative!
I suspect this is not a bug in the existing program, but a feature that has not been implemented (yet).
When I use an app that scans a QR code for something, it never recognizes the code. Instead, it just keeps the camera running indefinitely.
When running logcat on the device, the following stack trace jumps out:
11-25 18:36:53.412 25867  9525 W DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found.
11-25 18:36:53.413 25867  9525 D GmsDynamiteLoaderImpl: unimplemented Method: getModuleVersion for com.google.android.gms.vision.dynamite
11-25 18:36:53.413 25867  9525 I DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:0
11-25 18:36:53.415 25867  9525 E BarcodeNativeHandle: Error creating remote native handle
11-25 18:36:53.415 25867  9525 E BarcodeNativeHandle: com.google.android.gms.dynamite.DynamiteModule$iF: No acceptable module found. Local version is 0 and remote version is 0.
11-25 18:36:53.415 25867  9525 E BarcodeNativeHandle: 	at com.google.android.gms.dynamite.DynamiteModule.ˋ(Unknown Source)
11-25 18:36:53.415 25867  9525 E BarcodeNativeHandle: 	at o.ᴝ.ˊ(Unknown Source)
11-25 18:36:53.415 25867  9525 E BarcodeNativeHandle: 	at o.ᴝ.ˏ(Unknown Source)
11-25 18:36:53.415 25867  9525 E BarcodeNativeHandle: 	at o.ᴉ.ˊ(Unknown Source)
11-25 18:36:53.415 25867  9525 E BarcodeNativeHandle: 	at o.п.ॱ(Unknown Source)
11-25 18:36:53.415 25867  9525 E BarcodeNativeHandle: 	at o.н$ˊ.run(Unknown Source)
11-25 18:36:53.415 25867  9525 E BarcodeNativeHandle: 	at java.lang.Thread.run(Thread.java:761)

I'm assuming this means the vision module is not present in the Microg implementation. Is there a way to provide this module? If I'm reading the Google documentation correctly, the Vision API is superseded by Firebase ML Kit, which is now in beta. After a quick search I found that parts of Firebase are made open source. Could we somehow include Firebase in Microg, or am I way in over my head here?

I'm seeing a similar issue with the DHL locker app, which tries to scan a 2D barcode and also shows the camera but never scans the image (easy to reproduce with DHL locker, no account or login required, just select "Deliver" at startup). The backtrace is different, though:
NativeBarcodeDetectorHandle: Error creating native barcode detector
NativeBarcodeDetectorHandle: com.google.android.gms.dynamic.zzg$zza: Could not load creator class.
NativeBarcodeDetectorHandle:   at com.google.android.gms.dynamic.zzg.a(Unknown Source)
NativeBarcodeDetectorHandle:   at com.google.android.gms.vision.barcode.internal.client.d$a.b(Unknown Source)
NativeBarcodeDetectorHandle:   at com.google.android.gms.vision.barcode.internal.client.d$a.a(Unknown Source)
NativeBarcodeDetectorHandle:   at com.google.android.gms.vision.barcode.internal.client.d.b(Unknown Source)
NativeBarcodeDetectorHandle:   at com.google.android.gms.vision.barcode.internal.client.d.a(Unknown Source)
NativeBarcodeDetectorHandle:   at com.google.android.gms.vision.barcode.a.a(Unknown Source)
NativeBarcodeDetectorHandle:   at com.google.android.gms.vision.a.b(Unknown Source)
NativeBarcodeDetectorHandle:   at com.dhl.parcellocker.scanner.camera.i$c.run(CameraSource.java:1199)
NativeBarcodeDetectorHandle:   at java.lang.Thread.run(Thread.java:818)
NativeBarcodeDetectorHandle: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.vision.client.DynamiteNativeBarcodeDetectorCreator" on path: DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/data/app/com.google.android.gms-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.gms-2/lib/arm, /data/app/com.google.android.gms-2/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
NativeBarcodeDetectorHandle:   at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
NativeBarcodeDetectorHandle:   at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
NativeBarcodeDetectorHandle:   at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
NativeBarcodeDetectorHandle:   ... 9 more
NativeBarcodeDetectorHandle:   Suppressed: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.vision.client.DynamiteNativeBarcodeDetectorCreator" on path: DexPathList[[dex file "/data/dalvik-cache/xposed_XResourcesSuperClass.dex", dex file "/data/dalvik-cache/xposed_XTypedArraySuperClass.dex"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
NativeBarcodeDetectorHandle:           at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
NativeBarcodeDetectorHandle:           at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
NativeBarcodeDetectorHandle:           at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
NativeBarcodeDetectorHandle:           ... 10 more
NativeBarcodeDetectorHandle:           Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.vision.client.DynamiteNativeBarcodeDetectorCreator
NativeBarcodeDetectorHandle:                   at java.lang.Class.classForName(Native Method)
NativeBarcodeDetectorHandle:                   at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
NativeBarcodeDetectorHandle:                   at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
NativeBarcodeDetectorHandle:                   at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
NativeBarcodeDetectorHandle:                   ... 11 more
NativeBarcodeDetectorHandle:           Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

Also having issues with scanning QR code in Swedish BankID app. This spams the logcat while the camera is active.
03-03 22:03:31.793  5376  5390 D SensorsBio: BioSensor_common::readEvents, FAR = -1
03-03 22:03:31.808  4061 11611 E SensorListener: Sensor(8) is not enabled yet!
03-03 22:03:31.840 11467 11587 D GmsDynamiteLoaderImpl: unimplemented Method: getModuleVersion for com.google.android.gms.vision.dynamite
03-03 22:03:31.841 11467 11587 D GmsDynamiteLoaderImpl: unimplemented Method: getModuleVersion for com.google.android.gms.vision.dynamite
03

Same issue here with Swedish BankID on a Lineage OS with microg.
I bypassed this issue by installing a QR code reader (from F-droid) and show the QR code generated by the BankID website which pops up a link. An OK on the link activates the BankID app on the mobile (which runs in the background) and you have to set your password. Activation done. 👍

I guess I have the same issue when trying to use the QR code scanner to log into the 1Password app.

QR code scanner is not available in the currently installed version of Google Play Services.

I have a similar issue. The app does not even show an image from the camera, just a black square and switches to manual number-entry after a minute.

Seconded. I know this has to do with "dynamite vision" module or somesuch and I know that's a "maybe" according to the wiki, was just wondering how likely is it to actually happen.

Duplicate of #395?

I confirm that using a separate qr scanner app (SecScanQR from F-droid) works as workaround for BankId (with the right version of gmscore, see #824).

I confirm that using a separate qr scanner app (SecScanQR from F-droid) works as workaround for BankId (with the right version of gmscore, see #824).

This does not work for me now, not sure if they changed something or if there's something wrong with my phone. SecScanQR opens the link with BankId, which changes to say "Please wait..." for a fraction of a second but then goes back to the main/idle screen. It was working with my old id earlier today before I reinstalled the app.

More and more apps use the QR code Google API.
Does anybody know a library that implements the QR code Google API?

https://github.com/microg/android_external_GmsApi/pull/14 and https://github.com/microg/android_external_GmsLib/pull/18 were pushed y-day.

thanks for the update, subscribed to those PRs!

@JohanAR @owlnical You only get the QR-codes if you use different devices like your computer and your phone.
If you instead activates bankid on the same device aka your smartphone then there are no QR-codes and you don't have that problem.
The QR-codes are added as an security feature to stop fraud by adding an proximity check (QR-code) if different devices are used.
If you instead use firefox (web-browser) on the same device then there is no QR-codes.
That said there's still need for QR-codes to work and i will try the newly added functionality.

For BankId on a different device, a workaround is to scan with SecScanQR, copy the text, add &redirect=null and paste it in Firefox, resulting it in opening in BankId correctly. You have to go fast because the token is short-lived :)

@monperrus is that for creating an mobilt BankID or for logging in to a service on a different device (computer)?
If i try to log in on a different device the QR-code reads bankid:///?autostarttoken=28efdaf3-820a-48d8-82cc-94fbbd7a5687 and pasting that into a web browser opens BankID but it doesn't let me sign a login.

for logging in to a service on a different device. Did you also manually add the &redirect=null?

@monperrus  adding &redirect=null doesn't change anything and it still doesn't work on different devices.
My bank uses QR-code if i try to login from my computer using mobile BankID and it doesn't work what ever i try.

I've had the same problem while trying to use BankID for some webservices like Handelsbanken but actually got the "&redirect=null"-workaround working, only tested Handelsbanken so far though, THANKS!

Confirmed not working for Belfius Mobile and Payconiq.
The SecScanQR workaround does work for some applications (Sometimes you need to cut a piece out of the scanned URL/Code, but at least it does the trick).
But not if the applications don't offer a way to enter the codes manually / refuse to work without the Google QR Code API...
Which is the case for both these apps :/
Any sight on implementation? Or another workaround to be suggested?

Vision Barcode API is now added via 5e39818a20032d261215420fc72e05efad4202b5.


Error with CloudFormation

Hi,
during the creation with the cloudformation I see this error:
The  runtime parameter of nodejs4.3 is no longer supported for creating or  updating AWS Lambda functions. We recommend you use the new runtime  (nodejs8.10) while creating or updating functions. (Service:  AWSLambdaInternal; Status Code: 400; Error Code:  InvalidParameterValueException; Request ID:  d5fedcf4-215f-11e9-984c-1b75dc1aca1b)

do you have any idea how to solve it?
thank you

Hi rocky1011,
Thanks for reporting. I will update the cloudformation template to use the latest nodejs version

issue fixed.


Manually calculating the FLOPs of the Mamba block

I try to calculate the FLOPs of Mamba, but got error in triton. So I try calcualte it manually.
There are two linear layers(in_proj layer and out_proj layer), a group convolution and a SSM layer with 9BLDN+BLD FLOPs.
in_proj layer: 2(D-1)*d_inner*2(per batch per length)
out_proj layer: 2(d_inner-1)*D(per batch per length)
conv1d: d_inner*(d_inner/d_inner*d_conv+1)(per batch per length) as it is a group conv1d.
where d_inner=d_conv*D, and d_conv=4.
so FLOPs of one mamba layer is (9BLDN+BLD)+(24D^2-18D)BL+(20D)BL
Is my calculation correct? Are there any operations that I have missed?
error message
triton.compiler.errors.CompilationError: at 31:24:    HAS_BIAS: tl.constexpr,
):
    # Map the program id to the row of X and Y it should compute.
    row = tl.program_id(0)
    X += row * stride_x_row
    Y += row * stride_y_row
    if HAS_RESIDUAL:
        RESIDUAL += row * stride_res_row
    if STORE_RESIDUAL_OUT:
        RESIDUAL_OUT += row * stride_res_out_row
    # Compute mean and variance
    cols = tl.arange(0, BLOCK_N)
                        ^
ValueError("arange's arguments must be of type tl.constexpr")

set rms_norm and fused_add_norm to False.


Logging every successful step?

Expected behavior
It would be very useful if we could read every step of the scenario as logs after the execution. So that, we could analyze after/before which step scenario got failed without searching through the spec files for the related scenario.
Actual behavior
After a successful scenario execution, Gauge logs say only success or fail status.
Gauge version
Gauge version: 1.0.4

Plugins
-------
html-report (4.0.8)
java (0.7.2)
screenshot (0.0.1)
spectacle (0.1.3)
xml-report (0.2.1)

@emirhangl I think you are looking at verbose logging feature of Gauge.
You can run gauge run -v or gauge run --verbose to enable verbose logging. You can run gauge --help or look at https://manpage.gauge.org/ for a list of flags available.


added support for Managed Scripts plugin

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests


Process worker metrics asynchronously

Fixes https://github.com/Alluxio/alluxio/issues/10470
Previously we process worker metrics synchronously in the
MasterWorkerInfo lock and also the WorkerMetrics lock. This will
(1) Make each worker heartbeat takes longer. Worker heartbeat need to
wait for the submitted metrics to be processed.
(2) Make worker heartbeats block each other. We can only process one
worker metrics at a time.
Process worker metrics asynchronously will help unblock worker
heartbeats.
pr-link: Alluxio/alluxio#10485
change-id: cid-5f0e458dde3273c716477df5cc2bbef750542703

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7225/
Test FAILed.

Tests in error:
BlockReadHandlerTest>ReadHandlerTest.cancelRequest:127->ReadHandlerTest.waitForOneResponse:274 » Runtime

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7227/
Test PASSed.

alluxio-bot, merge this please


refactor(*): reorganize files 🧹

Summary

Shorten leading comments. No more detailed instructions, just a short description + link to website page + author.
Move custom command code to src/.
Change custom command filenames to snake_case, to be consistent with Go.
Don't duplicate code on the website. Instead, include the content from the file using a plugin.
Rewrite pages on the website to make use of Docusaurus features like line highlighting, admonitions, and so on. Also use a consistent style across all pages.
Probably some more things I've forgotten

Progress

[x] Move custom command to src/
[x] Change custom command filenames to snake_case
[ ] Replace  placeholders in leading comments with actual links
[ ] Rewrite website pages

[x] afk/
[x] birthday/
[x] code-snippets/
[ ] fun/
[ ] birthday/
[ ] info/
[ ] leveling/
[ ] moderation/
[ ] suggestion/
[ ] utilities/

[x] Shorten leading comments

[x] afk/
[x] birthday/
[x] code-snippets/
[x] fun/
[x] birthday/
[x] info/
[x] leveling/
[x] moderation/
[x] suggestion/
[x] utilities/

Closes #222
Closes #194

Joe you mentioned in #222 to also switch the branching model, aka make those changes also appear in contributing guidelines
I'll let you know what else you probably forgot

switching the branching model isn't a concern of this PR

aight :ye:


Merge pull request #1 from apache/master

update from origin

Coverage increased (+0.03%) to 38.738% when pulling c4675f6322ae67153efe757c381bb1c4ecd069f0 on warning5:master into db00885d536993b32dadb9b4e26be86a32c740aa on apache:master.

@warning5 this pr has no files changed.

@warning5 It seems that you are testing how to submit a PR.
Now could you please close this empty pr?


Use full screen mode

For development purposes and for SteamOS not running in full screen mode wasn't an issue, but the final application should run full screen.

Since the full screen mode of the current version of pygame is really buggy(no alt+tab support), I decided to use a borderless windowed mode.

The applcation now uses full screen mode. The borderless windowed mode would cut off the bottom text.


Fix: filesystem edge case in ModelCheckpoint

Fixes #17912.

@schmidt-ai @awaelchli how is it going here? :)


error when using in docker alpine

here is the step to replicate the issue
Dockerfile
FROM ruby:2.7.7-alpine
ENV BUNDLER_VERSION=1.17.3

RUN gem install bundler -v 1.17.3
RUN mkdir /usr/src/app
ADD . /usr/src/app/
WORKDIR /usr/src/app/
RUN bundle install

RUN ruby test.rb

Gemfile
source 'https://rubygems.org'
gem 'tokenizers', '~> 0.3.1'

test.rb
require 'tokenizers'

tokenizer = Tokenizers.from_pretrained("bert-base-cased")

the error when run docker build
[+] Building 7.3s (11/11) FINISHED
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 225B                                                                                0.0s
 => [internal] load metadata for docker.io/library/ruby:2.7.7-alpine                                                                                0.9s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 277B                                                                                0.0s
 => [1/7] FROM docker.io/library/ruby:2.7.7-alpine@sha256:cdfd6dbfa41f2826dafb8c53c677dbebe28d32b401cd644997b1baa8e3e45c8a                                                                                0.0s
 => CACHED [2/7] RUN gem install bundler -v 1.17.3                                                                                0.0s
 => [3/7] RUN mkdir /usr/src/app                                                                                0.3s
 => [4/7] ADD . /usr/src/app/                                                                                0.0s
 => [5/7] WORKDIR /usr/src/app/                                                                                0.1s
 => [6/7] RUN bundle install                                                                                5.5s
 => ERROR [7/7] RUN ruby test.rb                                                                                0.4s
------
 > [7/7] RUN ruby test.rb:
#0 0.406 /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:5:in `require_relative': cannot load such file -- /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers/tokenizers (LoadError)
#0 0.406     from /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:5:in `rescue in <top (required)>'
#0 0.406     from /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:2:in `<top (required)>'
#0 0.406 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `require'
#0 0.406 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `rescue in require'
#0 0.406 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:147:in `require'
#0 0.406 	from test.rb:1:in `<main>'
#0 0.406 /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:3:in `require_relative': Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers/2.7/tokenizers.so) - /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers/2.7/tokenizers.so (LoadError)
#0 0.406 	from /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:3:in `<top (required)>'
#0 0.406 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `require'
#0 0.406 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `rescue in require'
#0 0.406 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:147:in `require'

I try to add gcompat to Dockerfile. there is new error
> [8/8] RUN ruby test.rb:
#0 0.385 /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:5:in `require_relative': cannot load such file -- /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers/tokenizers (LoadError)
#0 0.385     from /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:5:in `rescue in <top (required)>'
#0 0.385     from /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:2:in `<top (required)>'
#0 0.385     from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `require'
#0 0.385 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `rescue in require'
#0 0.385 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:147:in `require'
#0 0.385 	from test.rb:1:in `<main>'
#0 0.385 /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:3:in `require_relative': Error relocating /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers/2.7/tokenizers.so: __register_atfork: symbol not found - /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers/2.7/tokenizers.so (LoadError)
#0 0.385 	from /usr/local/bundle/gems/tokenizers-0.3.1-x86_64-linux/lib/tokenizers.rb:3:in `<top (required)>'
#0 0.385 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `require'
#0 0.385 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `rescue in require'
#0 0.385 	from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:147:in `require'
#0 0.385 	from test.rb:1:in `<main>'

Hey @haanhduclinh, there's not currently a precompiled version for x86_64-linux-musl, but will try to add one this week.

great! Thanks

Ended up being very straightforward (thanks to @ianks's work on oxidize-rb/actions). Just pushed 0.3.2. bundle install should download the x86_64-linux-musl version now (if not, make sure the bundle platform output includes it).

I seem to be running into a very similar issue. I'm running Ruby 2.7 on AWS Lambda and I get the same error.
{
  "errorMessage": "cannot load such file -- /opt/ruby/2.7.0/gems/tokenizers-0.3.2-x86_64-linux-musl/lib/tokenizers/tokenizers",
  "errorType": "Init<LoadError>",
  "stackTrace": [
    "/opt/ruby/2.7.0/gems/tokenizers-0.3.2-x86_64-linux-musl/lib/tokenizers.rb:5:in `require_relative'",
    "/opt/ruby/2.7.0/gems/tokenizers-0.3.2-x86_64-linux-musl/lib/tokenizers.rb:5:in `rescue in <top (required)>'",
     ...
}

I checked the bundle logs and it shows:
Fetching tokenizers 0.3.2 (x86_64-linux-musl)
Is this the same issue, or should I open another one?

Hey @superslau, from what I can tell, AWS Lambda uses Amazon Linux 2, which uses glibc instead of musl, so you'll want to use the x86_64-linux version. Also, please create a new issue for any follow-up.


Mouse hovering and tooltips viewing has low performance on some data

DefaultPlotComponentProviderBatik requires executor for processing mouse events for showing tooltips.
Looks like this executor should execute in EDT, at least in all other cases i am getting tons of exceptions.
When moving move over geomLine, we will see huge CPU load on 2000 points, unresponsiveness at 5000, and in >10000 points we can get a 1-2 second freezes.
This is a sample code for testing
val rand = java.util.Random()
val n = 5000
val data = mapOf<String, Any>(
        "x" to List(n) { "Some average text $it" },
        "y" to List(n) { rand.nextGaussian() } )

val plot = letsPlot() + themeClassic() + geomLine(data = data, showLegend = false, sampling = samplingNone) {
        x = "x"
        y = "y"
}

Probably we can move all the math at least in the background thread, and probably, we should somehow improve the hover detection math for charts with a number of points > 1000.

Thats strange. The line geom uses binary search by default (if no scatterplot layers present, like points).
This is my test code:
val n = 25_000
val step = 4 * PI / n
val x = MutableList(n) { "Some average text $it" }
val y = MutableList(n) { sin(it * step) }

val data = mapOf<String, Any>(
        "x" to x,
        "y" to y
    )

val plot = letsPlot() + themeClassic() + geomLine(data = data, showLegend = false, sampling = samplingNone) {
        x = "x"
        y = "y"
}
plot

And this is how tooltips work (upper window - Chrome, lower window - Batik):
https://github.com/JetBrains/lets-plot/assets/14200189/0b97a887-ce78-4138-ab7b-175e115e8831

Sorry. I have checked on different data and both on batik & javafx and everything is ok in separate test project, but extremely slow in IDE. Probably we have some specialities in our batik, i will check this on our side, this is not a problem of lets-plot.


Some Streaming Sites Wont Work In Linux...

Change the user-agent to Windows to make it work!

Nice trick!


HDFS-15620. RBF: Fix test failures after HADOOP-17281

JIRA: https://issues.apache.org/jira/browse/HDFS-15620

Add assertj to test dependency
Skip testSimpleRootListing in TestRouterWebHDFSContractRootDirectory

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
28m 56s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
29m 29s

trunk passed

+1 :green_heart:
compile
0m 40s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
0m 37s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
checkstyle
0m 27s

trunk passed

+1 :green_heart:
mvnsite
0m 41s

trunk passed

+1 :green_heart:
shadedclient
15m 23s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 39s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
0m 54s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
spotbugs
1m 15s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 13s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 32s

the patch passed

+1 :green_heart:
compile
0m 32s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javac
0m 32s

the patch passed

+1 :green_heart:
compile
0m 29s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
javac
0m 29s

the patch passed

+1 :green_heart:
checkstyle
0m 17s

the patch passed

+1 :green_heart:
mvnsite
0m 31s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

+1 :green_heart:
shadedclient
13m 59s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 35s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
0m 53s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
findbugs
1m 13s

the patch passed

_ Other Tests _

+1 :green_heart:
unit
8m 21s

hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 33s

The patch does not generate ASF License warnings.

109m 56s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2375/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2375

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml findbugs checkstyle

uname
Linux 9ff351c4f1ec 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 518a212cfff

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2375/1/testReport/

Max. process+thread count
3144 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2375/1/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Merged. Thank you @steveloughran and @ayushtkn

@ayushtkn

Would have been good if we would have used Assume.assumeTrue(unsupported, false) as Steve suggested.
But none in the class are doing this way. So, not a thing to block this.

All those contract tests are really designed to be driven by an per-FS XML declaration of features. This PR highlights that we may be short of some. Many filesystems don't bother with the root contract, especially if they care about not deleting things...maybe we should revisit that/split it up/add some more configs.


Ref-RHIROS-579 code refactoring: DateFormat component from FEC

Description:
Refactored code to add <DateFormat /> component from FEC library to be consistent with other services.
Jira: https://issues.redhat.com/browse/RHIROS-579
References:
Inventory Entities.js
Vulnerability report generation
DateFormat Component from FEC
dateByStringType() from FEC library
Demo
https://drive.google.com/file/d/18w90dtodrr103BTXpG6ZG1rRd5ehJQoa/view?usp=sharing

Codecov Report

Merging #113 (3392f57) into main (cbd8d09) will decrease coverage by 0.48%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
- Coverage   21.67%   21.19%   -0.49%
==========================================
  Files          37       37
  Lines         655      651       -4
  Branches      129      128       -1
==========================================
- Hits          142      138       -4
  Misses        478      478
  Partials       35       35

Impacted Files
Coverage Δ

src/Components/Reports/UtilTestData.js
100.00% <ø> (ø)

src/Components/RosTable/RenderColumn.js
18.75% <0.00%> (ø)

src/constants.js
71.42% <ø> (ø)

src/Components/Reports/Util.js
92.30% <100.00%> (-0.72%)
: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 cbd8d09...3392f57. Read the comment docs.

Thank you for the review @kgaikwad 🙌🏻 merging this!


poppler_utils: 0.74.0 -> 0.79.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/poppler-utils/versions.
meta.description for poppler_utils is: '"A PDF rendering library"'.

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.76.0 with grep in /nix/store/2jhpy23fg386zpfxrswwnl2fzak9c0z5-poppler-utils-0.76.0
directory tree listing: https://gist.github.com/d91bae795dc7ff654ba71d4b3de183a1
du listing: https://gist.github.com/1c93db405d8130357233945bc0dc62a0

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

964 total rebuild path(s)
311 package rebuild(s)
311 x86_64-linux rebuild(s)
280 i686-linux rebuild(s)
110 x86_64-darwin rebuild(s)
263 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
R
aesop
apt
apvlv
asciidoc-full
asciidoc-full-with-plugins
asymptote
auctex
autofs5
bookworm
btrbk
calibre
cddlib
cups-filters
dblatex
dblatexFull
deepin.dde-api
deepin.dde-daemon
deepin.dde-session-ui
deepin.deepin-desktop-base
deepin.deepin-desktop-schemas
deepin.deepin-metacity
deepin.deepin-mutter
deepin.deepin-wallpapers
deepin.deepin-wm
deja-dup
denemo
diff-pdf
diffpdf
digikam
disorderfs
dolphin
dragon
dwarf-fortress-packages.dwarf-fortress-full
dwarf-fortress-packages.dwarf-therapist
dwarf-therapist
eaglemode
eclib
elisa
empathy
enblend-enfuse
enlightenment.econnman
enlightenment.efl
enlightenment.enlightenment
enlightenment.ephoto
enlightenment.rage
enlightenment.terminology
epdfview
eukleides
evince

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2jhpy23fg386zpfxrswwnl2fzak9c0z5-poppler-utils-0.76.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A poppler_utils https://github.com/r-ryantm/nixpkgs/archive/9908cad5c24a6431fa5aac8cfa570452713ea994.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2jhpy23fg386zpfxrswwnl2fzak9c0z5-poppler-utils-0.76.0
ls -la /nix/store/2jhpy23fg386zpfxrswwnl2fzak9c0z5-poppler-utils-0.76.0/bin

cc @ttuegel for testing.

poppler 0.76.1 has been released: https://poppler.freedesktop.org/poppler-0.76.1.tar.xz

@GrahamcOfBorg build cups-filters texlive-bin

@GrahamcOfBorg build cups-filters texlive.bin.core

ping @vcunat @veprbl @lovek323 @jwiegley about the texlive.bin failure.

This should be considered a security issue as it resolves CVE-2019-9959
https://nvd.nist.gov/vuln/detail/CVE-2019-9959
Though if it's really troublesome there does seem to be a fairly trivial patch available linked to from https://security-tracker.debian.org/tracker/CVE-2019-9959

Due to the security implications, I am going to merge this pull request into staging despite the breakage; we can fix that in staging-next. We should merge the patches into master for quicker turnaround.

Okaaaaaay, rebasing the patch to master...

 See e.g. https://hydra.nixos.org/build/103643153.

That one is caused by race between this and https://github.com/NixOS/nixpkgs/pull/71046. We should revert this PR, as it is nowhere near ready.

Or maybe not, this failure has already been resolved in 192e73f7a14ffc3c2465e5be9674b046e4c19f83.

Then there's texlive breaking. I will revert it instead.

Hopefully, #71419 will fix that.

Ah, I forgot to revert all 3 commits. Let's try again.

These changes were reverted in b5e481a07efae3a9eadabd607a76870ffe6b67f6. Additionally, the bump to 0.81.0 was reverted in 5118f12a07b5bb839806d364e0a0ed9f7aa5cc40.

@ttuegel the patch went in in https://github.com/NixOS/nixpkgs/pull/71046. or was there anything more relevant in the newer versions of poppler?

I think I can pick up bump to poppler 0.79.0 back in #71419

@veprbl That would be great. Could you try bumping straight to 0.81.0, if you do that? Also do not forget checking/bumping cups-filters.


Guide for build custom plugin

Please answer these questions before submitting your issue.
What version of sky-walking are you using?
5.0.0
What did you do?
If I want to build a custom plugin, any coding convention, topology, naming convention I need to follow? Do I need to register the define in ComponentsDefine  and need someone to assign me an ID?

If you want to contribute a plugin, we can discuss that. We will allocate you an available id  after you send the pull request.
otherwise, choose  an  unused one  is OK.


Memory usage increases continuously during gameplay

While the program is running, the memory usage keeps rising until all memory is exhausted.
A few minutes after the program started:

Some time later:

I'd say this is a pretty significant issue.

Are you sure this is a general issue and not just happening when loading chunks until the render distance is being reached?
In my experience, memory usage does spike initially while chunks are loading but then stabilizes once the target render distance is reached.
My observation

At startup, memory usage is around 115M:

When the render distance is set to 10, memory usage stabilizes at around 497M after initial loading:

Increasing the render distance to 25 and render height to 10 results in a peak of around 2.6G, which then remains steady:

It took some time for all those chunks to render, but as soon as the chunks variable stopped rising, I checked btop and took the screenshots. It seems that memory usage scales predictably with render distance and height settings but doesn't continually increase once the chunks are fully loaded. The spike is probably more a function of the initial loading process rather than a persistent memory leak.
How can you check?
To verify if this behavior matches what you are seeing, you could monitor the number of chunks loaded. This should provide a better insight into whether memory usage is tied to chunk-loading  or if it continues to increase abnormally over time.


Updating ignore files

Just a bit of maintenance.  Main thing of note is that this would keep the tests from being published to npm, saving 10K or so.

Published as 1.2.0


Range checking, and communication on Windows

First, some of the range checking for registers checks against 0x1ff, because some of the bits are unused, but legal values are from 0 to 0xffff, and in fact 0xffff is the factory default for those registers.
Second, I've got this wonderful library running great on Mac OSX, but on Windows the hid read calls are returning nonsense. Has this been tested on Windows? It's suspicious that in the Windows device manager the mpc2210 shows up as two different devices. Can you shed any light?

Unfortunately I don’t have any hardware for this anymore to test the changes, but if you can point out which ones are wrong I can try to fix them.
I am normally working on Linux and Mac but I am pretty sure I tested this on Windows 10 pro and it worked fine. Is that the version you are using?

Sorry for the delayed reply. If you look on lines 119, 240, and 246 you'll range checks for these values, the 0x1ff should be changed to 0xffff.
We never did get this library working under Windows. I had to use the dll from Microchip and create a layer on top of both your library and theirs to get cross platform capability. But without this one I wouldn't have things working on the Mac.
One final question though. On the Mac, I can't access the device without root permission. I downloaded a package called Elevate - it works but is a bit of a hassle. Do you know a way to tell MacOS that it is OK for your library to get access to the device without having root permission?

I borrowed some hardware from a colleague today and just pushed a fix for the windows problem; there is a windows quirk where an optional report ID needs to be prepended to the HID transaction (I had to break out the hardware USB protocol analyser to work this one out, it would have been very difficult to find otherwise). It works fine for me on Windows 10 Pro now.
You can install the new version with pip install --upgrade mcp2210-python (assuming you installed it with pip originally)
As for mac, I am running 10.15.6 and it works fine without any elevation, though I can't guarantee that I didn't do some tinkering in the past and forgot about it. I don't have a second Mac to test it on unfortunately.
Also tested and working fine on Ubuntu 20.04.


Snowflake - code compiling, testing & pushing the code to GIT Repo using any client

We are planning to using Visual studio code to push the code to GIT repo in Azure DevOps, but unfortunately we don't have snowflake code compiler and testing available in Visual Studio code.
DO you recommend any tool where we can compile, test the Snowflake code push the code to GIT repo in Azure DevOps? To avoid manual copy/paste into Visual Studio code from Snowflake console or SnowSQL?

Hey there @praneeth1987, I would suggest testing out our new Visual Studio Code plugin. It's currently in Private Preview but will be in Public Preview soon. In the meantime please reach out to your Snowflake account team about getting access to the PrPr.


channel rubocop-0-60 does not run rubocop.

My config is
version: 2
plugins:
  rubocop:
    enabled: true
    channel: rubocop-0-60

but the rubocop doesn't run at all. The build page shows the step of rubocop only take 2 seconds but no error. If I use the default 0.52 rubocop, it becomes workable and take 1 minute.
How can I debug this weird case?

close it because it's a problem related to rubocop config.


Temporary fix for pkg misbehaving when v8 cache is used

Currently when v8 cache is used everything works well except pkg prints a message Pkg: MAGIC_NUMBER_MISMATCH. This is a temporary fix until i fix that message.

Codecov Report

Merging #341 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #341   +/-   ##
=======================================
  Coverage   69.55%   69.55%
=======================================
  Files          12       12
  Lines         381      381
=======================================
  Hits          265      265
  Misses        116      116

Impacted Files
Coverage Δ

src/index.js
71.51% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Also does this still happen with https://github.com/zeit/ncc/pull/241 reverted.


crash on startup

Expected Behavior
Chains should startup normally and remain running
Actual Behavior
Chains controller keeps crashing due to:
{"level":"error","ts":"2024-11-07T17:44:59.117Z","logger":"watcher","caller":"pipelinerun/pipelinerun.go:123","msg":"Mismatch in number of steps for task run postgresql-16-9-5-on-pull-request-25wpn-build-images-0. TaskSpec steps: 7, Status steps: 0","commit":"1390c44","knative.dev/controller":"github.com.tektoncd.chains.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/traceid":"fe6ca274-8bf0-4846-9bbb-bf96875cadeb","knative.dev/key":"osci-rhel-containers-tenant/postgresql-16-9-5-on-pull-request-25wpn","stacktrace":"github.com/tektoncd/chains/pkg/chains/formats/slsa/v1/pipelinerun.buildConfig\n\t/go/src/github.com/tektoncd/chains/pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go:123\ngithub.com/tektoncd/chains/pkg/chains/formats/slsa/v1/pipelinerun.GenerateAttestation\n\t/go/src/github.com/tektoncd/chains/pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go:69\ngithub.com/tektoncd/chains/pkg/chains/formats/slsa/v1.(*InTotoIte6).CreatePayload\n\t/go/src/git...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x29586ed]
goroutine 164 [running]:
github.com/tektoncd/chains/pkg/chains/formats/slsa/v1/pipelinerun.buildConfig({0x3d77928?, 0xc0059356e0?}, 0xc005df0ae0)
	/go/src/github.com/tektoncd/chains/pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go:122 +0x5ad

Additional Info

Tekton Pipeline version:
Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

kubectl get pods -n openshift-pipelines -l app=tekton-chains-controller -ojson | jq '.items[0].metadata.labels.version'
"v0.22.2"

pipelinerun-postgresql-16-9-5-on-pull-request-25wpn.zip

Thanks for reporting the issue!
We fixed a couple of nil-pointer dereferences in v0.23.0:

https://github.com/tektoncd/chains/pull/1237
https://github.com/tektoncd/chains/pull/1188

This seems like one of those.

NOTE: The issue seems to manifest in different way. One of them is if a TaskRun does not contain a status.

Taking another stab at this in:

https://github.com/tektoncd/chains/pull/1250

Fixed

Ok to close


dataset problem

Hello,
I am interested in your work but I cannot obtain the AFRL dataset. I tried to contact the authors of the [33] in your paper but no one replies to me. Do you know how to access such a dataset?
Besides, I have successfully received the VIPL-HR v1 dataset, and I am wondering whether you can provide the benchmark on that dataset.
Best Wishes,
Yue

Please move to https://github.com/ubicomplab/rPPG-Toolbox
We added support there.
Thanks!


[Bug]: Glitchy dropdown on editing permission of members in an organization

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When trying to change the permissions of multiple users of an organization, the dropdown in most cases just goes away very soon and I'm unable to select the last option in the dropdown.
Sometimes it works well, sometimes it's just very glitchy
Steps To Reproduce

Go to the 'Members' section of an organization
Try changing the permission using the dropdown.
Screen recording reference

Public Sample App
No response
Version
Cloud v1.7.13

More context : https://app.slack.com/client/TGA9SH07N/C02K2MZERSL

TDB after new dropdown component.

This was long fixed, closing.


Text bar content "remembered" even when visually cleared

To reproduce:

Gaze at People tab. Gaze and Copy down some text to the text bar.
Gaze at Favorites tab. Notice that text bar is cleared. Gaze and Copy down some text to the text bar. The previous text from the People tab reappears, followed by the Favorites text.

There's another version with the Suggestion tab:

Gaze at People tab. Gaze and Copy down some text to the text bar.
Gaze at Favorites tab. Notice that text bar is cleared.
Gaze at Suggest tab. Gaze at a green suggestion bubble to insert it to the Text bar.
Using the onscreen gaze keyboard, type spacebar then type backspace. The text copied from the People tab appears.

Text from suggest also carries over to other modes:

Type something in Suggest bar.
Switch modes e.g. favorites, text bar is cleared.
Copy text down, Suggest text reappears.


User codes-schedule- Etc don't get updated by the lock

Hi. Thanks for making this smart app.  I have a Schlage connect camelot deadbolt.  I was able to install the Lock Manager 4 applications following your instructions (https://dl.dropboxusercontent.com/u/54190708/LockManager/v1/guide.pdf).  I am having a problem because I created users in the ST app, but I cannot have the lock to add the new user via the hub automatically.  Currently, I can only add-delete codes manually.  How can I troubleshoot this? Thanks in advance.
Guillermo

It maybe that the lock doesn't refresh


Vertical double bar not rendered in Firefox on Linux

Issue Summary
Vertical double bar (\lVert, \rVert) not rendered in Firefox on Linux.
Steps to Reproduce:
See Supporting information.
Technical details:

MathJax Version<EMAIL_ADDRESS>Client OS: Ubuntu 20.04
Browser: Firefox 90.0; Chrome 91.0  edit/clarification: Chrome works; Firefox does not work

Supporting information:
Example: ~https://emg3d.emsig.xyz/en/latest/api/emg3d.optimize.misfit.html~
https://emg3d.emsig.xyz/en/stable/api/emg3d.simulations.Simulation.html#emg3d.simulations.Simulation.misfit

I am not able to reproduce your result (on Mac OS; I need to set up an Ubuntu 20 VM).  Can you verify that you are getting version 3.2.0 and not an older cached version?  (Use the "About MathJax" item in the MathJax contextual menu.)
Also, does it appear if you zoom in or out?

Yes, it shows that it is version 3.2.0, both in Firefox and in Chrome. It works fine in Chrome/Chromium, but not in Firefox.

Do the vertical bars appear if you change the zoom level?

Ha, yes!

OK, thanks.  I'll have to install an Ubuntu VM to test further.

30/40/60/70/100 % do not work, the rest does.

I wonder if this is the twin of the problem with horizontal extenders. https://github.com/mathjax/MathJax/issues/2795
That was acknowledges to be a bug in Firefox  https://bugzilla.mozilla.org/show_bug.cgi?id=1741887  but it does not seem to be something which is high enough a priority for them to fix soon.

I just realized that the link I provided does not work any longer. Here an update:
https://emg3d.emsig.xyz/en/stable/api/emg3d.simulations.Simulation.html#emg3d.simulations.Simulation.misfit
However, the problem still exists.

I see similar behaviour in Firefox on Linux (but not Chromium) with single vertical bars in this formula:
$$ A = \frac{1}{2} \left\vert{\sum_{i=1}^n {(x_{i+1}+x_i)(y_{i+1}-y_i)}}\right\vert $$

They do reappear upon increasing the zoom to 110% or greater.


Rewrite the Telestion Client CLI

Summary
Rewrite the tc-cli to provide a better user experience, more functionality and better stability.
Details
This PR introduces a complete rewrite of the Telestion Client CLI package.
It features:

new init command
new build command based on Parcel and Electron Packager
new start command with Hot Reloading, even in the Electron main process
the source code is written in ModuleJS (CommonJS is deprecated since NodeJS v12 is EOL)
better progress output
better error messages
programmatic API (when you want to write your CLI yourself)
improved performance due switch to Parcel as web-app builder
the CLI now requires pnpm as package manager (gets installed automatically)
workspace link support (if you want to develop in the Telestion Client libraries and see your changes directly in a test project)

Usage / Setup
Preparation
You need the following tools:

NodeJS
npm
pnpm

First, clone this repository and checkout the target branch:
git clone git@github.com:wuespace/telestion-client.git
cd telestion-client
git checkout feat/cli/module-js

Next, install the development dependencies via pnpm:
pnpm install

Build all packages:
pnpm build

Setup a test project with workspace link
First, uninstall any other versions of the Telestion Client CLI:
pnpm rm --global @wuespace/telestion-client-cli
npm rm --global @wuespace/telestion-client-cli

Go into the @wuespace/telestion-client-cli package and link it globally via pnpm:
cd packages/telestion-client-cli
pnpm link --global

Next go into a temporary directory and initialize a new Telestion Frontend Project:
cd ~/tmp
tc-cli init "Test Project 1 Workspace"

Wait for the initialization to finish.
Next, go into the created project and start the development process:
cd test-project-1-workspace
pnpm start

This starts Parcel in serve mode and configures Electron to execute the main process file and shows the Parcel development server.
Now, head back to the Telestion Client Monorepo and start the watch mode:
cd /path/to/telestion-client
pnpm watch

Now, you can edit code in the monorepo and the test project should automatically detect the changes and should rerender.

Note: Due to limitations in Parcel, the development server in the test project doesn't detect your changes in the monorepo.
A GitHub issue tracks the current progess: https://github.com/parcel-bundler/parcel/issues/4332

Setup a test project via private registry
First, uninstall any other versions of the Telestion Client CLI:
pnpm rm --global @wuespace/telestion-client-cli
npm rm --global @wuespace/telestion-client-cli

Next, install Verdaccio and start it:
pnpm add --global verdaccio
verdaccio

Next, setup pnpm to use the current Verdaccio instance as the main npm registry:
pnpm set registry http://localhost:4873/
pnpm adduser --registry http://localhost:4873/

Now, go into the Telestion Client monorepo and increase the package versions.
You can use sed to automate this step:
sed -i 's/"version": "0.18.1"/"version": "0.19.0"/g' package.json packages/*/package.json

Now, publish the bumped packages to Verdaccio:
pnpm publish --no-git-checks --recursive --filter './packages/**/*'

Next go into a temporary directory and initialize a new Telestion Frontend Project:
cd ~/tmp
tc-cli init "Test Project 2"

Wait for the initialization to finish.
Next, go into the created project and start the development process:
cd test-project-2
pnpm start

You can also build the test project:
pnpm build

Publish changes to the private registry
If you changes in the monorepo that you want to the test in the test project, you need to publish them in your private registry.
First, rebuild all packages:
cd /path/to/telestion-client
pnpm build

Bump the package versions of the packages you've changed:
sed -i 's/"version": "0.19.0"/"version": "0.19.1"/g' packages/telestion-client-{common,cli}/package.json

And publish them:
pnpm publish --no-git-checks --recursive --filter './packages/**/*'

Head over to the test project and install the new versions:
pnpm add @wuespace/telestion-client-common@latest
pnpm add -D @wuespace/telestion-client-cli@latest

That's it!
Additional information
Related links

Fixes #1377
Fixes #1378

CLA

[x] I have signed the individual contributor's license agreement and sent it to the board of the WüSpace e. V. organization.

* Plugin system

Ithink, we've already discussed this topic. From my point of view, t's okay that we merge this PR and then add an additional package to the monorepo that controls and manages the Electron main process. (with access hooks, properties, etc.)

* `tc-cli install` - a wrapper around dependency installation to simplify installing `electronDependencies`

Good point! I'll implement this feature before merging this PR. :wink:

Ithink, we've already discussed this topic. From my point of view, t's okay that we merge this PR and then add an additional package to the monorepo that controls and manages the Electron main process. (with access hooks, properties, etc.)

Agreed, but then, we should definitely add a braking change notice about plugins in the meantime

Agreed, but then, we should definitely add a braking change notice about plugins in the meantime

Good point. Hmm, currently we build the PSC only in an unpacked format (linux-x64-unpacked, mas-arm64-unpacked). The package options (like .rpm, .deb, .exe, .app, .msi, etc.) are currently not working. This feature is essential for the build pipeline. I think, we also add it via a separate PR.


ADJob Podtemplates for tigera-intrusion-detecion with corresponding updated ClusterRoles

Description
New resources that were added:

an ADJob template for training
an ADJob template for detection
update to the ClusterRole for IntrusionDetection's Service Account to allow fetching and editting Jobs / CronJobs, Podtemplate

For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

/merge-when-ready delete-branch

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.

I'm sorry but I failed delete the branch after merging the pull request.


When click on fullscreen for plugin clappr-video360 the content does not come in fullscreen

closing as noted in https://github.com/thiagopnts/clappr-video360/issues/19


better tree shaking

from @indutny on twitter what we can do to make it easier for this library to be tree shaken.

Are there any more things you can reasonably think of here to work on this particular issue? I can't seem to think of any off the top of my head


Error from my ss service, how to solve it

Open youtube, the following error occurs in the gap:
2018/11/14 02:19:16 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 02:19:16 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 04:28:50 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 04:46:52 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 06:46:12 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 06:46:13 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 06:46:13 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 10:54:29 tcp.go:116: failed to get target address: cipher: message authentication failed

After using it for one day, the error occurred is as follows:
2018/11/14 00:50:17 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 01:56:39 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 01:56:39 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 01:56:39 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 01:56:39 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 01:56:39 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 01:56:47 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 01:56:47 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 01:56:47 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 01:56:47 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 01:56:47 tcp.go:122: failed to connect to target: dial tcp <IP_ADDRESS>:443: connect: connection timed out
2018/11/14 02:19:12 tcp.go:116: failed to get target address: EOF
2018/11/14 02:19:16 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 02:19:16 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 02:26:07 tcp.go:134: relay error: read tcp <IP_ADDRESS>:51884-><IP_ADDRESS>:443: read: connection reset by peer
2018/11/14 04:28:50 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 04:46:52 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 06:42:21 tcp.go:116: failed to get target address: read tcp <IP_ADDRESS>:51884:51884:44051-><IP_ADDRESS>:52050: read: connection timed out
2018/11/14 06:46:12 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 06:46:13 tcp.go:116: failed to get target address: cipher: message authentication failed
2018/11/14 06:46:13 tcp.go:116: failed to get target address: cipher: message authentication failed

Either you have configuration errors (in which case it won't work for you), or someone is sending you invalid traffic (most likely some kind of replay attack). But you're using AEAD ciphers so you should be fine.


Newsletter-13: translate into Chinese

Newsletter https://github.com/bitcoinops/bitcoinops.github.io/pull/8 in zh link required and I will sync the file when https://github.com/bitcoinops/bitcoinops.github.io/pull/8 merged.

Newsletter #8 in zh link required and I will sync the file when #8 merged.

update Newsletter #8 link in zh


Apptheus seems to provide basic metrics for Apptainer itself rather than CPU, RAM and filesystem resource metrics for cgroups

I've cloned the Apptheus repo, built the binary and ran it on the host we're running Apptainer on - is there anything else I need to configure regarding Apptainer or Apptheus in order for it to produce comprehensive metrics like RAM, CPU and FS for each of the containers we're running on the host?
We're running Apptainer version 1.3.2 and apptheus 0.1.0 on Ubuntu 22.04 (so this uses cgroup2), but I only get a list of a few metrics that rather seem related to Apptainer (or maybe Apptheus?) regarding CPU time spent and process memory:
process_cpu_seconds_total 0.03
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 524288
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 9
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 1.6228352e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.73097307657e+09
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 2.253180928e+09
# HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes.
# TYPE process_virtual_memory_max_bytes gauge
process_virtual_memory_max_bytes 1.8446744073709552e+19

There are other go related metrics, but I presume those are for the process itself.
How would I be able to expose RAM, CPU and filesystem metrics for each cgroup our Apptainer workloads are creating on the host using this tool? Is there a way I need to run the Apptainer instances in order for this tool to expose them?
Thanks

MIsconfiguration on my part, will close.


Loop workaround to ConnectionRefusedError

I was getting consistent ConnectionRefusedError as the code was jumping over the server start too quickly. A loop solved it

The tests are passing fine. LGTM. Thank you!


Error construct schema for ListAttribute without of

Hi!
There is a problem with ListAttribute():
from pynamodb.models import Model
from marshmallow_pynamodb import ModelSchema

class User(Model):
    nick_names = ListAttribute()

class UserSchema(ModelSchema):
    class Meta:
        model = User

/marshmallow_pynamodb/schema.py", line 39, in get_declared_fields
    element_type = type(attribute.element_type.__name__, (ModelSchema, ), {'Meta': Meta})
AttributeError: 'NoneType' object has no attribute '__name__'

It is understandable that is not so much sense for schema with list without type specification but it is valid model and possible use case.
So it seems two way to handle this issue. First option is forbid create list attribute without specifying type and second is handle this situation and create schema and validate only container type.

@asduj I would welcome a PR. As far as how to resolve this issue, I would prefer the second approach (i.e. handle the situation where a ListAttribute doesn't have a type)


Badge for latest GitHub pre-release excluding later non-pre-release releases

Are you experiencing an issue with...
shields.io
🐞 Description
I asked on StackOverflow but no answer, if not appropriate to ask here, apologies, please redirect:
How can I create a badge that will display the latest pre-release version, excluding later releases that are not marked pre-release?
The current behavior allows for "inclusion" of a pre-release, but I want to explicitly only get the latest pre-release, ignoring any later releases that are not pre-release.
E.g.
![GitHub Latest Pre-Release)](https://img.shields.io/github/v/release/ptr727/PlexCleaner?include_prereleases&label=pre-release&logo=github)
![GitHub Latest Release)](https://img.shields.io/github/v/release/ptr727/PlexCleaner?logo=github)

From example releases, expected that the badges list 2.7.11 as latest and 2.7.10-ga8a94550e6 as latest pre-release. (at time of writing).
Iterating over releases and finding pre-release by attribute seems possible.
🔗 Link to the badge

💡 Possible Solution
No response

Thanks for sharing your idea. I'm having a bit of déjà vu with this but can't find any precisely matching issues so will leave this open. I'm personally open to supporting this as it strikes me as enabling users to display information to the effect of "here's the latest stable version, and the latest unstable version".
However, my recollection of past discussion is that some other maintainers have expressed skepticism about the value of showing metrics/stats for explicit pre-release targets so would be curious to know what other maintainers think.

Thx, I'd add that the value is in consistency when there is a pre-release available, i.e. I use simplified github flow with main and develop, new work goes on develop, when ready goes to main.
While there are newer releases the badge works as expected, the moment I PR from develop to main the badge no longer works as expected, as in the pre-release and release versions are now the same.
I also tag the develop pre-release builds as develop in docker, so the docker badge does work as expected since I can say use develop tag, but the github release badge only looks for the latest version, not the latest pre-release only version.

Its a bit of an esoteric one.
I don't think you can construct this query with jsonpath either so dynamic json isn't an option for this.
I guess one concern with adding an only_prereleases (as well as include_prereleases) flag for one version badge is it becomes a legit feature request for all of them. We probably do need to consider it in that context.

I don't think you can construct this query with jsonpath either so dynamic json isn't an option for this.

Not sure which "jsonpath" is being referred to, but from stackoverflow solution:
jq -r 'map(select(.prerelease)) | first | .tag_name'

Not sure which "jsonpath" is being referred to, but from stackoverflow solution:

That's a reference to the dynamic json badges we provide (https://shields.io/#your-badge) wherein you can include a jsonpath query as part of the badge url which we'll use to build out the badge against the specific json document; and the fact that won't work here (sure you already know this, but worth noting for any others that jq != jsonpath)

In my case I want my badges to support viewing both prerelease and stable releases depending on which one is viewed as a "higher" version.

@badgen Provides this feature: https://github.com/badgen/badgen.net/pull/485/files


add summary data sections

What?
add summary data sections
Why?
How?
Testing?
Screenshots (optional)
Anything Else? (optional)
Check list

[ ] I have reviewed my own pull request for linting issues (e.g. adding new lines)
[ ] I have written tests (if relevant)
[ ] I have created a JIRA number for my branch
[ ] I have created a JIRA number for my commit
[ ] I have followed the chris beams method for my commit https://cbea.ms/git-commit/
here is an example commit
[ ] Ensure drone builds are green especially tests
[ ] I will squash the commits before merging

Looks good to me, just fix the linting error and all should be fine!


Watch new files

whenever I create a new file on the folder I'm running live reload guard, the changes on that file does not trigger browser reload.
My workaround is to restart the guard
Is it possible to add the new files to the watch automatically?

Not currently. Anyone willing to take a crack at this? Reopen and send PR.


WIP: Add Single Assignment C (SaC) compiler

Hi, I'd like to add support for the Single-Assignment C (SaC) compiler (https://sac-home.org/) to glot.io. I've extended language.rs, and have tested it locally. I'm currently also add SaC support to https://github.com/glotcode/glot-images (will update with PR).

I tried running sac2c within the built image from glot-images, and it seems that there is no /tmp path in the image. Sac2c uses this to store intermediary files before generating the binary. I'm working on a solution around this.

I tried running sac2c within the built image from glot-images, and it seems that there is no /tmp path in the image. Sac2c uses this to store intermediary files before generating the binary. I'm working on a solution around this.

Are you using one of the existing images or are you creating a new?
On glot.io I'm mounting a tmpfs dir on /tmp so it should be available, if you are running them directly via docker you might need to use the flag --tmpfs /tmp or something like that.
I'm not familiar with SaC but will gladly merge it if you are able to create the image for it.
Note that I'm using nix to build the container images and if the SaC compiler is not available as a nix package it might be a big learning curve to add it (depending on you nix experience, etc).

Yes, we have a nix package at https://github.com/cxandru/sac-nix... its a flake, but I've gotten it to load/setup/install the sac stuff into the glot image.
Ahhh that was it, thanks for --tmpfs /tmp. Yes I locally created an image for the sac code runner, with that extra flag it works as expected!

Awesome!


Bigger infinity causes libtexpdf crash

Using the latest HEAD commit, I'm getting funny errors from some of my documents:
This is SILE 0.9.4-unreleased
<mujdenin_gucu-kitap.sil>
[1] [2] [3]
libtexpdf:fatal: CFF: Parsing CFF DICT failed. (error=-1)

I tried narrowing it down to something in the document, and got as far as these:
\titlepage
\publicationpage
\tableofcontents

I found that if I removed \publicationpage AND either \titlepage or \tableofcontents I could compile the rest fine. Oddly enough removing just the publication page doesn't seem to do the trick. All of these pages involve either \vfill or \hfill.
Reverting 69a63b7 fixes this crash (but obviously re-opens the issue it was meant to solve).

Wow. I was trying to track that down (Travis tests are failing). I had no idea that would be the cause. Could you try naking infinity progressively smaller until the strangeness goes away?

1E13 seems to be infinite enough to fix 226; does it cause CFF errors?

My CFF error starts somewhere between 1e107 and 1e108.

I just ran into this again. Apparently 1e100 doesn't actually keep us safe. The funny thing is the EXACT same document works with larger page sizes it's only when the page size is at a certain size (below a certain point) that this blows up.

Have you tried 1e13?

I'm experimenting with values right now.

In my particular case, 1e98 worked, 1e99 died. I tested the test case from issue #122 and 1e7 seemed to be the magic order of magnitude that mashed the math into line. Just a few orders orders of magnitude on that should be plenty, and if not something else is likely broken. So 1e13 sounds fine to me.


⚠ ClamAV has degraded performance

In d2bc78b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in 4852dbb after 5 minutes.


mvpp2: Add hack to suppress error when setting high MTU

Previously, large MTU values could not be set on an interface that was in Netmap mode. This caused an issue where users could not enable features that required Netmap and also have mru jumbo enabled for a port.
This change spoofs support for NAF_MOREFRAG in the MVPP2 driver but doesn't actually implement it. Packets that are too large to fit in a single slot are simply discarded. Now setting mru jumbo for a port succeeds and the configuration is written to the hardware as desired so that jumbo packets can be forwarded on the LAN.

Closed for now after some discussion about whether jumbo frames should be supported at all.


Implement foliage instancing

Either particle or MMI
Should be paintable w/ multiple levels eg. paint grass, sunflowers, rocks
Collision is not expected
Maybe an option for the user to provide either a textured mesh, or just a 2D texture that gets applied to a generated quad

Maybe to add up on the  description it could be  faded in the distance like the visibility ranges, and giving an ability to get replaced in the distance by another mesh/alpha  card. It could be good to see  how the roblox engine manages  a high amount of grass with a small loss on performance  with particle shader.  https://youtu.be/luhAhuR_nw4  at first it seems there's only s region   that uses grass and by the distance lods appear there.

Sounds pretty good how it coming, though something that should be taken into account are custom lods, where for example for short distance you can have mesh foliage and in longer distance a billboard mesh is used with less vertices. I think for lod system the mohsen foliage paint can be useful ( it allows various lods and are customizable if  you want to check it out https://github.com/mohsenph69/Godot-MTerrain-plugin, though don’t remember if he uses MMI).
Also wouldn’t the  particles be even faster in 4.3 thanks to the  acyclic render graph(gpu particles)?.

it could be faded in the distance like the visibility ranges

Distance fade is handled in the material of the user's object. If using MMI chunks distant chunks won't be generated.

custom lods

We'll be lucky to get any LODS at all. Custom lods with MMI chunks means 2-4x the number of chunks and instances to manage. If autolods work, and I haven't tested them yet, great. There's a proposal or idea to connect custom lods into the built in system, so that's perhaps the best way to get custom lods in MMI. However, I will look at other systems to see what they do. Links to the specific section of code are appreciated.

Also wouldn’t the particles be even faster in 4.3 thanks to the acyclic render graph(gpu particles)?.

I don't know much about it. Do  you have a link where it talks about particles?

it could be faded in the distance like the visibility ranges

Distance fade is handled in the material of the user's object. If using MMI chunks distant chunks won't be generated.

custom lods
I will look at other systems to see what they do. Links to the specific section of code are appreciated.

Yea sounds understandable though i think for that you could talk with mohsen  about his approach, which seem’s to work well.   As for his system let’s see if i find the files where he uses it.

I don't know much about it. Do you have a link where it talks about particles?

Yes here it  is about the performance diference  when it talks results — gpu  performance.
https://godotengine.org/article/rendering-acyclic-graph/

Good discussion on #rendering godot dev chat. Bottom line, acyclic graph won't help fixed particles like grass much. MMI is simpler and more efficient than a particle shader (which uses MMI in the background).
Cory
7:56 PM
I'm deciding between a Particle Shader and Multimesh Instancing for a foliage instancer in Terrain3D and have some questions that I haven't been able to find out for myself in the code:
Does the new acyclic graph improve MMI like it does particles?
Do MMIs use particles in the background?
Does the data container that stores MMI transforms consume VRAM, as a splatmap/uniform array that defines placement for a particle shader would?
It appears that MMI manages autolods, so I don't have to setup multiple MMIs to manually swap LODs. (Haven't tested it, seems to be undocumented, but SimpleGrassTextured documentation shows it working). Is that true, and does that also work on particles? https://github.com/IcterusGames/SimpleGrassTextured#lod-optimization

Any other pros and cons or recommendations on one path vs the other? I'm quite familiar with using both, but lack the esoteric knowledge of the renderer.
I'd like to support 64-128 particle types, paintable on 16k and eventually up to 90k terrains, highest instancing performance, minimal VRAM, built in LOD support if possible.

dariosamo
8:39 PM
Does the new acyclic graph improve MMI like it does particles?
No. MMI is reliant on a CPU-side structure you upload for the transforms. GPU particles benefited from the graph because the transforms are filled by the GPU instead (hence why it parallelized it better).

Cory
10:24 PM
So only the initial loading is faster with the graph, but once the particles (say grass) are in place, rendering is not any faster?
And are we talking about this speedup is for GPUParticles3D? Or a particle shader, which would likely get transforms from a texture map?

clayjohn
10:29 PM
For MMI, acyclic graph doesn't make them any faster, that's right.
The speed benefit for Particles comes from parallelization. So the speed benefits will vary depending on your content. Basically, before particle updates (so running the particles process shader) happened sequentially. After the acyclic graph they run in parallel. So if you have a lot of particle systems that don't fully saturate the GPU (i.e., there are only a few thousand particles in each GPUParticles node), then you should get a huge speedup.
If your particles use a complex shader and you have tens of thousands of particles per node, then you might not see a huge speedup

QbieShay
10:34 PM
I think MMI would be the better fit for terrain. Particles have their own compute pipeline set up
If your objects are just static then there's no benefit to the extra setup cost
I'm deciding between Particles and Multimesh Instancing for a foliage instancer in Terrain3D and have some questions that I haven't been able to find out for myself in the code:

clayjohn
10:38 PM
Following up on the rest of the questions:
Answered
No MMI's do not use particles in the background, Particles use MMI in the background. The big difference is that particles run the particle shader pass and always have color and custom in their data structure. MMI are more efficient to render as a result
Yes, the MMI buffer consumes ram. It is always the same or less than what GPUParticles consumes (especially if you are passing a splatmap as a uniform buffer)
The auto LOD for multimesh is kind of buggy. If it works for you, then that's great. HLOD is a much better fit though IMO so you can adjust the number of instances over distance as well
Like I said before MMI are more efficient to render than Particles. However, Particles are more efficient if you are doing updates to their data every frame (and those updates can be done completely on the GPU). Updating every instance transform every frame, for example, will be slow with MMI compared to using the GPU to update the instance transforms.

Adding collisions to objects can't come soon enough.  We can't have people running through trees!  Once that's in, I can move on from Proton Scatter.
Love the plug-in: you're doing God's work here!

Adding collisions to objects can't come soon enough.

It's fine , the devs are busy with other stuff rn that is pretty important too  , in the meantime keep it with proton

Would be nice to have the ability to select more then one mesh for building forests with random trees or a field with grass and flowers

Would be nice to have the ability to select more then one mesh for building forests with random trees or a field with grass and flowers

Would be cool to have presets where each mesh has it's own weight.
Also, big thanks to all devs and contributors for making this plugin.


Enable Unix build of System.Private.Interop

See TODOs in https://github.com/dotnet/corert/blob/master/src/System.Private.Interop/src/System.Private.Interop.csproj

I am adding more TODOs to https://github.com/dotnet/corert/blob/master/src/Native/Bootstrap/platform.unix.cpp

Also:

Change WIN32 to BIT64 - the CoreRT convention is to use BIT64 for 64-bit specific code.
IsAtom/IsNotWin32Atom needs to be short-circuited for Unix because of they would return false positives.

Maybe worth it going through FEATURE_PAL and PLATFORM_UNIX ifdefs in CoreCLR to see whether there is more of these.

an extra TODO added to https://github.com/dotnet/corert/blob/master/src/Native/Bootstrap/platform.unix.cpp

All TODOs listed here are fixed.


Add some missing private methods in PropertyTable for batch table hierarchy

There were a couple private methods of PropertyTable (and ModelFeatureTable) that were missing concerning the batch table hierarchy extension:

isClass()
isExactClass()
getExactClassName()

This fixes the 3D Tiles Batch Table Hierarchy when enableModelExperimental = true
Sandcastle for testing
@j9liu could you review?

Thanks for the pull request @ptrgags!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

@ptrgags looks good to me, thanks!


feat(forge): add cheatcodes vm.recordLogs() and vm.getRecordedLogs()

Overview
The methods vm.recordLogs() and vm.getRecordedLogs() provide the tester the ability to leverage information from the events emitted during the execution of a transaction.
Ref: https://github.com/foundry-rs/foundry/issues/543
Motivation
While porting solutions from the CTF Ethernaut to Foundry, got bumped by the fact that when you create a challenge, you are calling the Ethernaut.sol contract with the address of the factory of the challenge you want to solve. Ethernaut.sol will invoke the factory, deploy a new challenge for you, and return the address of this new contract within an event LevelInstanceCreatedLog(address indexed player, address instance).
In practical terms, one can just modify the Ethernaut contract to return you the address instead of emitting such event, but, this is a motivation to just build the feature into Foundry!
Solution

Implement vm.captureLogs(): Function mirroring vm.record().
Implement vm.getRecordedLogs(): Function mirroring vm.accesses().

Hey @onbjerg I went a bit verbose here: https://github.com/foundry-rs/foundry/pull/2161#discussion_r912155983
Really open to discuss it until we converge into a solution. So far, it's been a very instructive experience where you have to reason in Rust, and low level solidity all in a single package.

In the end I went with
    struct Log {bytes32[] topics; bytes data;}
    function recordLogs() external;
    function getRecordedLogs() external returns (Log[] memory);

The compilers weren't very friendly with
    function getRecordedLogs() external returns ((bytes32[] memory topics, bytes memory data)[]);

So, the common flow is, for example
        cheats.recordLogs();
        emitter.emitEvent(1, 2, 3, "some data");
        Cheats.Log[] memory entries = cheats.getRecordedLogs();

        assertEq(entries.length, 1);
        assertEq(entries[0].topics.length, 4);
        assertEq(entries[0].topics[0], keccak256("LogTopic123(uint256,uint256,uint256,bytes)"));
        assertEq(entries[0].topics[1], bytes32(uint256(1)));
        assertEq(entries[0].topics[2], bytes32(uint256(2)));
        assertEq(entries[0].topics[3], bytes32(uint256(3)));
        assertEq(abi.decode(entries[0].data, (string)), string("some data"));

On the last assertion, even if the data is not a string, but a bytes variable, assertEq wants to work with the former.
The PR!
Alright. I'm setting this PR on:

I'm satisfied with the working of both cheatcodes, I was driven by the tests at RecordLogs.t.sol.
One of the tests uncovered a bug on anonymous events. I'd like this to be filled as a separate issue.

Thank you.

@bentobox19 this looks good - can you explain why we panic on anonymous events?
Defer to @mds1 on the interface being exposed, I like it

Hey @gakonst

can you explain why we panic on anonymous events?

This is my output when runing the test
[ bentobox: testdata ]$ ../target/debug/forge test -c cheats/RecordLogs.t.sol --match-test testRecordOnAnonymousEvent -vvvv
[⠑] Compiling...
No files changed, compilation skipped

Running 1 test for cheats/RecordLogs.t.sol:RecordLogsTest
[PASS] testRecordOnAnonymousEvent() (gas: 46536)
The application panicked (crashed).
Message:  index out of bounds: the len is 0 but the index is 0
Location: /Users/bentobox/Documents/dev/playground/archive/foundry/evm/src/trace/decoder.rs:299

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

@gakonst
I filled an issue with the panic bug here: https://github.com/foundry-rs/foundry/issues/2206
Anonymous events fail at verbosity 4+.

Thank you for your feedback @onbjerg. We wait for @mds1 comments then?

@bentobox19 The proposed API looks great to me, thank you! 👌

Wait, @mds1, should I work on the API proposal of @onbjerg then?

Yea to clarify I think the below VM interfaces look good:
struct Log {bytes32[] topics; bytes data;}
function recordLogs() external;
function getRecordedLogs() external returns (Log[] memory);

And I think the above suggestion of behavior from @onbjerg is good too:
vm.recordLogs();
// some calls (lets say call a, b and c)
vm.getRecordedLogs(); // gets logs for calls a, b and c
// perform call d and call e
vm.getRecordedLogs(); // gets logs for calls d and e

Great - let's address the @onbjerg code review comments, and given we like the API we can get it over the line!

@mds1 @onbjerg changes implemented.

Any final comments on API @gakonst / @mds1? Otherwise this can be merged :)

I think we're missing the new Vm methods in https://github.com/foundry-rs/foundry/blob/master/testdata/cheats/Cheats.sol, but otherwise LGTM!
Thank you @bentobox19! 🎉

@gakonst I can send a PR to the book repository today

@gakonst https://github.com/foundry-rs/book/pull/427


add/remove contract without touching app-profile/epg

moving this issue to the right category for tracking purposes...
Enhancement request to allow users to add/remove contracts without touching app-profile/epg. This is supported in APIC, and it would add a lot more flexibility for customers to use Contiv to operate/manage their network.

@fgisiger : Thanks a lot. Please keep in mind that contiv is NOT way to manipulate objects in ACI.


Help to install the library

Hi @Twikito,
It's not an issue with your library: everything works with direct download.
But I want to use it in my workflow (Gulp 4 with basic JS task) so I'm wondering how I can use import or require? Can you give me some advice?
Thank you.

Thanks for taking time to report this issue.
I think you should just add "./node_modules/easy-toggle-state/dist/easy-toggle-state.es6.js", at line 79 of your package.json, and it should be done.

@Twikito sorry, that's what I was doing first but it didn't work.
I just understood that it's because I use async on <script>.


Improve --dt generation, and add --template option for DT users.

Templates are taken from our website (with the headers stripped out since we generate those separately).
If this is merged I can edit the DefinitelyTyped new-package script to use dts-gen instead. The usage will have to change: from npm run new-package -- foo to npm run new-package -- --name foo --template module.

It appears this option was never documented in the README


Tensor.constant should support creating a new Tensor from a Tuple of Numbers

55dff28c added support for loading a Tensor from a Tuple of elements


Option grep_current_line not found

Hi! When running the command :live-grep I'm getting the follow error in my debug buffer:
Error: 1:1: 'live-grep': 3:5: 'evaluate-commands': 7:11: 'set-option': option not found: 'grep_current_line'. Use declare-option first

I've installed live-grep like so:
bundle kak-live-grep "https://github.com/raiguard/kak-live-grep" %{
  hook global User ColorschemeLoaded %{
    set-face global LiveGrepMatch ",,rgb:%opt{light_orange}+u"
  }
}

And running the following kakoune version:
❯ kak -version
Kakoune v2023.08.05-335-g610d4114

I committed a lot of fixes, can you see if this issue still occurs?

Yup, it works now, thank you!


CDC resolved ts and checkpoint lag unstable and up to 2min

What did you do?

Deploy TiDB cluster with 2 CDC nodes (16c32g)
Create kafka simple protocol changefeed
Run workload for 4k tables (row width: 1.8k, cdc throughtput ~12k

What did you expect to see?
CDC lag should be stable
What did you see instead?
CDC resolve ts and checkpoint lag are very unstable, up to 2min sometimes.

Versions of the cluster
Release Version: v7.5.2-pr11031
Git Commit Hash: dd48f9e5bbd997a3885638315d5068bb194e2c80
Git Branch: heads/refs/tags/v7.5.2-pr11031
UTC Build Time: 2024-05-07 04:49:30
Go Version: go version go1.21.6 linux/amd64
Failpoint Build: false

/severity major

/label affects-7.5

/assign @hicqu

Duplicated with #11078