Dealing with different audio lengths

Hi Yuan and everyone,
Thank you for your excellent work!
I have some questions and I will happy for some help.
I have audio datasets that contain different lengths (i.e, 1.5s~ to 15s~). I am trying to classify 4 classes.
I set that I will take audio up to 5 sec (input_tdim=512, mel_bins = 128) to obtain the same shape for input to the AST. I am using the pre-trained Audioset with the same pre-process (fbank), normalization, and loss 'BCEWithLogitsLoss' as in your code.
When I plotted to myself the filterbank, I saw that some of the samples contained zeros in half of the plot. I am wondering if the AST can actually learn from that zero pedding?
After training with 10-20 epochs, I achieved the highest accuracy of 60%, and I think the AST can achieve much more.
I tried with different lengths and I played with the 'input_tdim' and 'mel_bins' parameters for maybe get any better results (unfortunately, I didn't see any improvement).
I am wondering if Is there any different approach to the representation of the lengths so that the AST can learn much better?
Thank you,
Ohad

Hi there,

I have audio datasets that contain different lengths (i.e, 1.5s~ to 15s~). I am trying to classify 4 classes. I set that I will take audio up to 5 sec (input_tdim=512, mel_bins = 128) to obtain the same shape for input to the AST.

What's the mean length of the audio? If the majority is around 5s, then your setting is reasonable. Also please check the sampling rate of the audio by wav, sr = torchaudio.load(audio_path) and make sure it is 16kHz.

loss 'BCEWithLogitsLoss' as in your code.

If your task is single-label classification, you could consider using cross-entropy loss, BCE loss is mainly for multi-label classification.

When I plotted to myself the filterbank, I saw that some of the samples contained zeros in half of the plot. I am wondering if the AST can actually learn from that zero pedding?

Zero padding is fine. Hopefully your audio's length is not a strong feature for classification, otherwise the model could just use the audio length info for classification and report over-optimistic results.

After training with 10-20 epochs, I achieved the highest accuracy of 60%, and I think the AST can achieve much more.
I tried with different lengths and I played with the 'input_tdim' and 'mel_bins' parameters for maybe get any better results (unfortunately, I didn't see any improvement).

If your audio's sampling rate is 16kHz, then changing mel bins could only make things worse as the AST model is pretrained on 16kHz data. I felt that the most important hyperparamter might be the learning rate. Also, note that timem (how much time is being masked during training as augmentation) should be modified accordingly with audio_length, you can set it to 0 for preliminary experiments.
Regarding the performance, do you have an expectation on the accuracy (e.g., from a baseline model or how human could do on the task)?. Our training pipeline is not optimal for your task so you would need to tune the hyperparameters by yourself. Or, if you already have your own training pipeline, you could insert the AST model in. In general, if you plan to use our pipeline, I suggest to start with the ESC50 recipe and modifying based on that.
-Yuan


Grid size

Steps to reproduce
Change grid size row on display tab
Expected behavior
Grid size can change from 1 per row to 10 per row
Actual behavior
The grid size 4 per row cant work, when changing from 3 per row it jump to 5 per row at potrait mode, landscape mode work as normal
Crash logs
No response
TachiyomiSY version
1.11.0
Android version
Android 14
Device
Mi 11T Pro
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.11.0.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

My SY (preview) can show 4 per row perfectly in portrait mode, both on small/big screen (a Fold)

My SY (preview) can show 4 per row perfectly in portrait mode, both on small/big screen (a Fold)

Yeah its work normal before i updated the app, just some small bug nothing more

Same here it defaults 2 per row and doesnt change even if I adjust the slider

This has been discussed before in the Mihon server.
It's a known issue (on Mihon too) with screen scaling/aspect ratio that affects the slider's padding or whatever. Current possible workarounds:

Tap on the location where the desired grid size might be, you might be able to select it by tapping rather than sliding
Change your screen zoom size (like Phone Settings > Display > Screen zoom) or resize the app's screen (if possible)


Support IPFS imports in solidity

Outline
Embark supports special solidity imports as outlined in the documentation here.
The goal of this task is to support solidity file imports with ipfs URIs just like it's currently support for HTTP and git, for e.g
import "ipfs://QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco/some_folder/test.sol"

Acceptance Criteria

It should support any valid IPFS URI
it should not use an external webservice, it should be able to access the file using ipfs directly (e.g through the configure ipfs node and or ipfs-js-api)
If the imported sol file, has other imports, those should automatically be taken care of (existing behaviour for current http imports)

Hi @PumpingWok glad to see you here. Please do keep us posted on progress, excited to see this one picked up 🙂

Hi @vs77bb , yes sure.
I'm looking in it, I'll keep update this issue with my progress. Thanks in advance !!

Hi there,
Yes, I still working on it.I have already done the issue and now I'm trying to implement it in another way.I'm going to open a PR in max one day.Thanks.

Thanks for the update, @PumpkingWok 👍

Hi, i have already open a WIP PR few days ago, i’m changing some part of code according with repo mainteiner.thanks

Thanks @PumpkingWok - snoozing Gitcoin Bot for 10 days here 👍

Hi,
Yes, I'm still working on it, I have already open a WIP PR. I'm waiting a reply from repo dev.
Thanks.

Hi,
Yes, I'm still working on it.

Hey @iurimatias, Ryan from Gitcoin here. Looks like @PumpkingWok submitted a PR for you to review. Do you think you could take a look? As always, feel free to ping me with any questions :)

Thanks! Taking a look now.

Hi @StatusSceptre,
it is the PR merged - > https://github.com/embark-framework/embark/pull/831
Thanks

Great thanks for all the hard work and meticulous cherrypicking! 💯

Hi @StatusSceptre,
Thank you for all support you gave to me.I have just seen the bounty paid, and the kudos !!!
Thank again, have a nice day !!

Closing this as it landed as https://github.com/embark-framework/embark/pull/831


Exercise 47 unclear.

The obvious replacement for ???.zap(???);, given the previous lesson, is with heat_ray.zap(&alien);, but it isn't the correct one. IMO this requires an explanation, or a another lesson about the combination of for and pointers.

The comment on line 87 states:

// Loop through every alien by reference (* makes a pointer capture value)

Meaning alien is already a pointer.


C++ syntax highlighting is not right

VSCode Version: 1.34.0
OS Version: Manjaro 18.0.4

Steps to Reproduce:

I was coding like this (src: https://paste.ubuntu.com/p/dtKxDtx94M/) and the color is not right since line 29.

When I change "segt[maxn<<2]" into "segt[maxn *4]" (at line 29), it became right again.

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

This bug has never been seen in older version.

I added some code and found colors of some chars still right.

@JHSeng I can't reproduce this. Do you have any extensions enabled?

@alexr00 This is https://github.com/jeff-hykin/cpp-textmate-grammar/issues/141 which was fixed in version v1.8.9

Perfect, thank you @matter123. VS Code insiders is now on 1.8.15.


Crypto WG questions

FCS_COP.1/KeyWrap
For KW and KWP, the CAM algorithm has been removed, yet for the key sizes and the standards it is still listed for each one. Is there a reason for the mismatch?

FCS_COP.1/KeyWrap
Is CCM & GCM really needed here since FCS_COP.1/AEAD is now explicit? While I can understand putting it here, it seems like any SFRs that may rely on GCM or CCM could just also point to the AEAD SFR in addition to KeyWrap.

I think that I will leave the CCM/GCM off from our cPP and adjust requirements to point to the AEAD SFR instead of duplicating the requirements in multiple places.

FCS_RBG.1, the HMAC list of standards seems to have issues with the selection closing brackets. Looking at the HASH, then the brackets should be after the "[SHA]", but for HMAC it is after the "10.1.2".
In the cPP I have placed it in the same place as the HASH.

ISO/IEC 9797-2:2011 has been withdrawn, the current versions is ISO/IEC 9797-2:2021.
Should this be updated?

I will forward the suggested changes to the Crypto Working Group


Fix CI for GCP

This pull request updates the credentials for GCP to allow CI to move to a new project such that leaked resources can be more easily identified.

The project setup is currently not quite correct, hence the build failures here. I'll kick this build off again once this is rectified.


Update args from 3.0.8 to 5.0.0

More compact layout (https://github.com/leo/args/pull/124)

Fix options parsing (https://github.com/leo/args/pull/116)

Updates dependencies

https://github.com/leo/args/releases/tag/5.0.0

https://github.com/leo/args/releases/tag/4.0.0

Needs testing

The most obvious advantages for us are the updated dependencies and the more compact layout:
Before:
$ vip app

  Usage: vip app [options] [command]

  Commands:

    help  Display help
    list  List your VIP Go apps

  Options:

    -f, --format [value]  Format results (defaults to "table")
    -h, --help            Output usage information
    -v, --version         Output the version number

  Examples:

    - Pass an app name or ID to get details about that app

    $ vip app <app>

    - Get details about the app with ID 123

    $ vip app 123

    - Get details about the app named vip-test

    $ vip app vip-test

After:
$ vip app
  Usage: vip app [options] [command]

  Commands:
    help     Display help
    list     List your VIP Go apps
    version  Display version

  Options:
    -f, --format [value]  Format results (defaults to "table")
    -h, --help            Output usage information
    -v, --version         Output the version number

  Examples:
    - Pass an app name or ID to get details about that app
    $ vip app <app>

    - Get details about the app with ID 123
    $ vip app 123

    - Get details about the app named vip-test
    $ vip app vip-test


ZSWAP is not available in the nix kernels

I added zswap.enabled=1 for the kernel command line:
cat /proc/cmdline
initrd=... zswap.enabled=1

But echo 1 > /sys/module/zswap/parameters/enabled doesn't work. There's no zwap module.
Then I looked for the kernel config: cat /proc/config.gz | gunzip | grep ZSWAP nothing.
ZSWAP should be available by 3.18.24 (the kernel I'm running), so any reason why zswap wasn't compiled into the kernel?

Link to relevant do: https://wiki.archlinux.org/index.php/Zswap
Grepping trough nixpkgs doesn't reveal anything either

Is simply compiling a custom kernel with ZSWAP_... y in kernelExtraConfig not an option?
Anecdotal experience: zswap can be quite unstable even on release kernels (4.3, here). I'd be weary of building it in by default.

Building it as a module shouldn't cause problems to those not loading it explicitly, should it?

Ah, no comment. I've never done that since having other problems with it modularised (of the ‘it just doesn't work’ variety, not the flaming data death kind).
But that was a very long time ago, so it's probably fine. The aforementioned panics were not (4.3, I think?).

I must have been thinking of zsomethingelse, as was all the rage around 3.0 (frontswap? cleancache? I really can't remember). CONFIG_ZSWAP would be boolean.
And kernelExtraConfig the way to go.

Closed by https://github.com/NixOS/nixpkgs/commit/7b9c493d6020d29b2229fffad35acf99c3b47a61

I just merged in nixos-unstable containing 7b9c493, and now I have:
$ journalctl -b | grep zswap
Jul 24 14:36:46 alpha kernel: zswap: default zpool zbud not available
Jul 24 14:36:46 alpha kernel: zswap: pool creation failed


Camera image doesn't work

After selecting the camera option and clicking the picture, the confirm button on camera doesn't work and am unable to get camera image cause of it.
Also, can we have the option to:

Change the error message when the image limit is reached while selecting the media
Enable/disable preview mode while selecting the media.

@tanveer1302 please provide your code and logcat.it's work well on my device.

@tanveer1302 please provide your code and logs.it's work well on my device.what's your device type?

I used the example code without any changes. Everything opens till I open the camera. Once i click the picture with camera, the picture gets selected and all other options work fine i.e., retake and cancel ones. but the confirm/Ok button on the camera screen doesn't work at all.
import 'dart:io';
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:images_picker/images_picker.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State {
String _platformVersion = 'Unknown';
String path;
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Column(
children: [
Text('Running on: $_platformVersion\n'),
RaisedButton(
child: Text('pick'),
onPressed: ()async {
List res = await ImagesPicker.pick(
count: 1,
pickType: PickType.video,
cropOpt: CropOption(),
);
if (res!=null) {
print(res[0]?.path);
setState(() {
path = res[0]?.thumbPath;
});
}
},
),
RaisedButton(
child: Text('openCamera'),
onPressed: ()async {
List res = await ImagesPicker.openCamera(
// pickType: PickType.video,
);
if (res!=null) {
print(res[0]?.path);
setState(() {
path = res[0]?.path;
});
}
},
),
path!=null?Container(
height: 200,
child: Image.file(
File(path),
fit: BoxFit.contain,
),
):SizedBox.shrink(),
],
),
),
);
}
}

@tanveer1302  android or ios ?

android

@tanveer1302  was pick api work well?

works great. It would be great if you can provide some more customization to the pick UI e.g., custom Button Name, color, custom alert message, etc.

@tanveer1302  this is a new plugin, so implement important feature first. I will think your idea.
And I will check the bug you say above with camera

thanks. But the alert message needs to be changed when user tries to select more than the defined limit. The message is not clear for the user and instead of "Ok" on the action for alert, it shows some message like "I know the".
For now can you please change the alert message to
You can select maximum of $count images
and Instead of alert action "I know the", change it to "Ok"

@tanveer1302  I test open camera and take a photo, it did well. And I retake and cancel ones, camera is work well. My test phone is XIAOMI with andoird 8.

I could reproduce this issue. ImagesPicker.openCamera did not do anythig. So looked into the code tried the following code.

MethodChannel _channel = const MethodChannel('chavesgu/images_picker');

      List<dynamic> res = await _channel.invokeMethod('openCamera', {
        "pickType": PickType.image.toString(),
      });

The above code threw an exception
): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method openCamera on channel chavesgu/images_picker)
E/flutter (31143): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
E/flutter (31143): <asynchronous suspension>
E/flutter (31143): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
E/flutter (31143)

I am facing the same issue. ImagesPicker.openCamera did not do anythig. So looked into the method implementation tried the following code.

MethodChannel _channel = const MethodChannel('chavesgu/images_picker');

      List<dynamic> res = await _channel.invokeMethod('openCamera', {
        "pickType": PickType.image.toString(),
      });

The above code threw an exception
): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method openCamera on channel chavesgu/images_picker)
E/flutter (31143): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
E/flutter (31143): <asynchronous suspension>
E/flutter (31143): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
E/flutter (31143)

what's your flutter version.
Show your flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.18363.900], locale en-IN)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] Connected device (1 available)
! Doctor found issues in 2 categories.

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.18363.900], locale en-IN)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] Connected device (1 available)
! Doctor found issues in 2 categories.

Can you just run example successfully?


update ramda dependency to 0.19.1

Would like to update ramda-extended so that we can pick up changes that have been added in ramda https://github.com/ramda/ramda/issues/1558
Note: I have not bumped version numbers yet, will let this happen using xyz post merge.

I have removed the RE implementation of juxt as this has been implemented in ramda core. see the change guide linked in my original description

LGTM @ebuckley

I'd say bump the minor version


Connect to MediaFlux desktop client

View secrets for connectivity in LastPass. (search for tigerdata)
We should see files and upload a file.
Acceptance criteria

[ ] Bess
[x] Carolyn
[x] Hector
[x] James
[x] Kate
[ ] Chuck

This seems to require VPN.  An I got an unsafe warning on my browser

For context, this is the error. I'd prefer to hold off on this until the error can be resolved. I'll ask on slack if there's someone we can reach out to...

Warning: Potential Security Risk Ahead
Firefox detected an issue and did not continue to arca.rc.princeton.edu. The website is either misconfigured or your computer clock is set to the wrong time.
It’s likely the website’s certificate is expired, which prevents Firefox from connecting securely. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details.
What can you do about it?
The issue is most likely with the website, and there is nothing you can do to resolve it. You can notify the website’s administrator about the problem.

I was able to login without VPN. I used http instead of https to bypass the warning for now.
I was able to "create an asset", it's under collection "samples3/net/hector-test-three" but it has no content. I have no idea how to add content to it.

I can not connect without the VPN.  With the VPN I can login, and if I shut down the DIT (I had to shut it down, log out, disconnect from VPN, reconnect to VPN, re login to shut down DTI) I was able to drag and drop a file into the acme folder.

As was the case with @carolyncole, I found it necessary to be authenticated over the VPN in order to access the web browser client. However, once successfully authenticated, I was indeed able to view files, download files, and upload my own test file.


guile-sdl2: 0.2.0 -> 0.3.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/guile-sdl2/versions.
meta.description for guile-sdl2 is: '"Bindings to SDL2 for GNU Guile"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.3.1 with grep in /nix/store/dr646699p7n32bvp06ih2h7myf0rmwsj-guile-sdl2-0.3.1

directory tree listing: https://gist.github.com/7e54c7e4da893f2a13c8e34178ea7e3d

du listing: https://gist.github.com/bda045c13e4d6801ef4a622fde6c2ab9

Rebuild report (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
guile-sdl2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dr646699p7n32bvp06ih2h7myf0rmwsj-guile-sdl2-0.3.1 \
  --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 guile-sdl2 https://github.com/r-ryantm/nixpkgs/archive/f4d42cbb366a80682ab71cbb393ed86bfa2beddd.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/dr646699p7n32bvp06ih2h7myf0rmwsj-guile-sdl2-0.3.1
ls -la /nix/store/dr646699p7n32bvp06ih2h7myf0rmwsj-guile-sdl2-0.3.1/bin

cc @seppeljordan @vyp for testing.

Success on x86_64-linux (full log)
Attempted: guile-sdl2
Partial log (click to expand)
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
/nix/store/dr646699p7n32bvp06ih2h7myf0rmwsj-guile-sdl2-0.3.1

Success on aarch64-linux (full log)
Attempted: guile-sdl2
Partial log (click to expand)
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
/nix/store/7f0gdhx97x5i9fc72qyh2hhpzsbkqxww-guile-sdl2-0.3.1

Success on x86_64-darwin (full log)
Attempted: guile-sdl2
Partial log (click to expand)
 /nix/store/acnfbicd84bnya2l2dq868b5l482qihw-coreutils-8.30/bin/install -c -m 644  sdl2/bindings/image.go sdl2/bindings/ttf.go sdl2/bindings/mixer.go '/nix/store/qdy4qyallkrsij4d9ny0amdx3cy2nsbw-guile-sdl2-0.3.1/lib/guile/2.2/site-ccache/sdl2/bindings'
 /nix/store/acnfbicd84bnya2l2dq868b5l482qihw-coreutils-8.30/bin/install -c -m 644  sdl2.go '/nix/store/qdy4qyallkrsij4d9ny0amdx3cy2nsbw-guile-sdl2-0.3.1/lib/guile/2.2/site-ccache/.'
 /nix/store/acnfbicd84bnya2l2dq868b5l482qihw-coreutils-8.30/bin/mkdir -p '/nix/store/qdy4qyallkrsij4d9ny0amdx3cy2nsbw-guile-sdl2-0.3.1/lib/guile/2.2/site-ccache/sdl2'
 /nix/store/acnfbicd84bnya2l2dq868b5l482qihw-coreutils-8.30/bin/install -c -m 644  sdl2/config.go sdl2/bindings.go sdl2/clipboard.go sdl2/surface.go sdl2/render.go sdl2/video.go sdl2/events.go sdl2/image.go sdl2/ttf.go sdl2/mixer.go '/nix/store/qdy4qyallkrsij4d9ny0amdx3cy2nsbw-guile-sdl2-0.3.1/lib/guile/2.2/site-ccache/sdl2'
make[1]: Leaving directory '/private/tmp/nix-build-guile-sdl2-0.3.1.drv-0/guile-sdl2-0.3.1'
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/qdy4qyallkrsij4d9ny0amdx3cy2nsbw-guile-sdl2-0.3.1/lib
patching script interpreter paths in /nix/store/qdy4qyallkrsij4d9ny0amdx3cy2nsbw-guile-sdl2-0.3.1
/nix/store/qdy4qyallkrsij4d9ny0amdx3cy2nsbw-guile-sdl2-0.3.1

Success on x86_64-linux (full log)
Attempted: guile-sdl2
Partial log (click to expand)
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
/nix/store/80692mf905bqhmq95g1nvwd66vlhxh4g-guile-sdl2-0.3.1

Success on x86_64-darwin (full log)
Attempted: guile-sdl2
Partial log (click to expand)
 /nix/store/x005987xqwcb89w7103xnqr7y2m934fx-coreutils-8.30/bin/install -c -m 644  sdl2/bindings/image.go sdl2/bindings/ttf.go sdl2/bindings/mixer.go '/nix/store/h3a6fp2xqrmv1rc2cb5jqybn1bglxq1l-guile-sdl2-0.3.1/lib/guile/2.2/site-ccache/sdl2/bindings'
 /nix/store/x005987xqwcb89w7103xnqr7y2m934fx-coreutils-8.30/bin/install -c -m 644  sdl2.go '/nix/store/h3a6fp2xqrmv1rc2cb5jqybn1bglxq1l-guile-sdl2-0.3.1/lib/guile/2.2/site-ccache/.'
 /nix/store/x005987xqwcb89w7103xnqr7y2m934fx-coreutils-8.30/bin/mkdir -p '/nix/store/h3a6fp2xqrmv1rc2cb5jqybn1bglxq1l-guile-sdl2-0.3.1/lib/guile/2.2/site-ccache/sdl2'
 /nix/store/x005987xqwcb89w7103xnqr7y2m934fx-coreutils-8.30/bin/install -c -m 644  sdl2/config.go sdl2/bindings.go sdl2/clipboard.go sdl2/surface.go sdl2/render.go sdl2/video.go sdl2/events.go sdl2/image.go sdl2/ttf.go sdl2/mixer.go '/nix/store/h3a6fp2xqrmv1rc2cb5jqybn1bglxq1l-guile-sdl2-0.3.1/lib/guile/2.2/site-ccache/sdl2'
make[1]: Leaving directory '/private/tmp/nix-build-guile-sdl2-0.3.1.drv-0/guile-sdl2-0.3.1'
post-installation fixup
strip is /nix/store/rk3p99jbj4idl3dkkg1rxja5gz0qgs98-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/h3a6fp2xqrmv1rc2cb5jqybn1bglxq1l-guile-sdl2-0.3.1/lib
patching script interpreter paths in /nix/store/h3a6fp2xqrmv1rc2cb5jqybn1bglxq1l-guile-sdl2-0.3.1
/nix/store/h3a6fp2xqrmv1rc2cb5jqybn1bglxq1l-guile-sdl2-0.3.1

Success on aarch64-linux (full log)
Attempted: guile-sdl2
Partial log (click to expand)
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
cannot find section .dynstr
/nix/store/jacybwsxa1dzgyz5s5x236jsdpnl70wl-guile-sdl2-0.3.1


Feature: Count how many characters appears in a given character set.

See String#count in ruby.

New api: Count.


rmd and rcid options are missing in ocsp man page for version 1.1.1

Although options rmd and rcid are supported by tool ocsp in version 1.1.1g, they are missing in the 1.1.1 man page [1]. However they are present in the master man page [2].
[1] https://www.openssl.org/docs/man1.1.1/man1/openssl-ocsp.html
[2] https://www.openssl.org/docs/manmaster/man1/openssl-ocsp.html

The version 1.1.1 is not supported anymore. Closing. If this is still an issue with currently supported releases, please open a new issue.


Storage Abstraction

Implement storage abstraction for Aetrion branch.

The PR for this was merged after a few little changes. Thanks for the contribution!

 Glad I could help.


Filesystem storage structures

Use binary prefix naming for folders /FFFF/..../FFFF.gs
Storage root should contain .gs file with following structure { server, count, size, next }, example:

{
  server: '0011', // server code
  count: 107282, // number of stored objects
  size: 429174885, // total storage size
  next: 2444643 // next object id
}

Each folder should contain .gs file with following structure { count, size, next }, all those data should be recalculated periodically and saved to disk.

Refs: https://github.com/metarhia/common/issues/147


Adding multi-arch to jvm based profiling

ADDED: switched to buildx to ease the multi-platform builds
ADDED: Variabilization of the async-profiler version
CHANGED: switched to supported version of Java container images as a base images
fixes #34

I think that it will not work now:
https://github.com/josepdcs/kubectl-prof/blob/c5d294ea36192b24ce769beda081eba33808744a/internal/agent/profiler/jvm/jcmd.go#L29

I think that it will not work now:
https://github.com/josepdcs/kubectl-prof/blob/c5d294ea36192b24ce769beda081eba33808744a/internal/agent/profiler/jvm/jcmd.go#L29
By the way, you can test your customized image by using the flag: --image and check that everything still working

Ok thanks will try that, didn't know how I could test locally built images. I thought the CI would be a effective way of identifying the issues.
Will definitely try the --image to test it locally, shouldn't be an issue.

updated and tested for debian and alpine based images.
I've added a custom built java sdk containing only jcmd to reduce resulting image sizes
For Alpine, I had to add an async-profiler build-stage as they don't provide the native libs for arm64.

Hi, @kikokikok
Have you tried generating a Heapdump or a JFR with JCMD? Please let me know if it worked for you, whether you used Alpine or not. If it worked, I will accept the PR. Thank you

Done, I've tested all scenario you mentioned and everything is working.
Had a glitch on the minideb based JDK which is now fixed and an issue I suppose you had also due to the split binary which was not compatible with the -e argument.
Everything is functional on my side for both distributions.

kubectl prof back-0 --target-container-name back --runtime-path "/run/k3s/containerd"  -t 5m -l java -o heapdump --tool jcmd  --namespace kapp --image=zot.kyri.test/kubectl-prof:v1.3.17-dev-jvm
Verifying target pod ... ✔
Launching profiler ... ✔
Profiling ... ✔
Remote profiling file downloaded in 14.967091 seconds. ✔
The profiling result file [agent-heapdump-27858-1-2024-05-27T08_51_45Z.hprof] was obtained in 64.394824 seconds. 🔥
➜  kubectl-prof git:(main) ✗ kubectl prof back-0 --target-container-name back --runtime-path "/run/k3s/containerd"  -t 5m -l java -o heapdump --tool jcmd  --namespace kapp --image=zot.kyri.test/kubectl-prof:v1.3.17-dev-jvm-alpine
Verifying target pod ... ✔
Launching profiler ... ✔
Profiling ... ✔
Remote profiling file downloaded in 8.536349 seconds. ✔
The profiling result file [agent-heapdump-27858-1-2024-05-27T08_54_12Z.hprof] was obtained in 36.787063 seconds. 🔥

Great, @kikokikok !!


Calendar Page functionality

Clicking on a date show only events of that day
Make sure it scrolls
Visually looks good

Describe the incomplete feature
The calendar page of the app is currently incomplete. It is intended to be able to scroll between the months. When a user clicks on a day, it should display the events.
Describe what part of the feature is incomplete
While it does scroll, it does not scroll past last December, despite there being events before then. As such, I have not been able to test any other features because I can't access any of the days with events.
Describe the solution you'd like
Allow infinite scrolling instead of stopping in December 2022. Additionally, ensure that other features work, like displaying events when a day is clicked on.
Describe alternatives you've considered
An alternative to infinite scrolling would be limiting scrolling to between the earliest and latest months with events. However, this might be more difficult than just making scrolling infinite.

The calendar library appears to require that there be a start date.
https://github.com/aleksanderwozniak/table_calendar


fix mac path

The current path does not point to the default location where minecraft is installed on mac. It shares that location with a linux computer currently. This needs to be changed.
The screenshot below shows the actual location where it is supposed to be:

Fixed


std.json to(Pretty)String not pure

rschadek reported this on 2019-10-22T08:03:11Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=20310
Description
toString and toPrettyString of std.json are not pure.

rschadek commented on 2019-10-22T08:14:26Z
same as https://issues.dlang.org/show_bug.cgi?id=17628

rschadek commented on 2019-10-22T08:13:40Z
depends on https://issues.dlang.org/show_bug.cgi?id=15321


Retrieve one row of spreadsheet and pass to Handlebars - no longer working

I've had a simple CMS set up using Tabletop and Handlebars for almost two years.  It was working fine, until a few days ago. Now the content doesn't seem to get passed to the template, and I can't figure out what's going on.  This might have to do with the new version of Google Spreadsheets-I'm not sure. I did update to the newest version of Tabletop.
Below is the code that used to work. I'm trying to use rowKey to retrieve one row of the spreadsheet and display the values from that row, using the template, on a particular page. Again, this was all working fine until very recently. Should I be using some notation other than data[index]?
I can't seem to get the Handlebars example in this repo to work either. I hope someone can help ... thank you so much!
<script type="text/javascript">
    var public_spreadsheet_key = '1JZREv6TAFDhwAY9ZqFc5ApIbXe_cvs1jWp3rHlIztb8';

    $(document).ready( function() {
        Tabletop.init( { key: public_spreadsheet_key,
            callback: showInfo,
            debug: true,
            simpleSheet: true
         } );
    });

   function showInfo(data, tabletop) {
        var rowKey = parseInt(<?php echo json_encode($page); ?>) - 1;
        var source = $("#building-template").html();
        var template = Handlebars.compile(source);
        $("#content").html(template(data[rowKey]));
    }
</script>

I think I've figured it out. I missed the whole prettyColumnNames deal, and needed to set that to false. It's sorted now.


build.gradle check out of date, throws error in Android Studio

FYI - the Cordova/Android Gradle settings are out of date and throw an error. I believe this is the correct statement, changing the else if from 0.14.0+ to 2.1:
// Switch the Android Gradle plugin version requirement depending on the
// installed version of Gradle. This dependency is documented at
// http://tools.android.com/tech-docs/new-build-system/version-compatibility
// and https://issues.apache.org/jira/browse/CB-8143
if (gradle.gradleVersion >= "2.2") {
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'
    }
} else if (gradle.gradleVersion >= "2.1") {
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
    }
} else {
    dependencies {
        classpath 'com.android.tools.build:gradle:0.12.0+'
    }
}

}

Thanks Sean.  I'll take a look at this.  I am seeing a gradel build error in my stuff too.  It seems to build okay with just "manifoldjs package -p android " but I get an error in android studio.  Are you using Android Studio?  What version?

Thanks – am using Android Studio, latest version. On the plus side, my signed MVP app passed cert and was published on Google Play this AM. ;)
I did have to jump through some SDK Manager hoops. I wonder if it’s worth documenting? Happy to do.
From: Jeff Burtoft<EMAIL_ADDRESS>Sent: Thursday, July 28, 2016 2:00 PM
To: manifoldjs/manifoldjs-cordova<EMAIL_ADDRESS>Cc: Sean Alexander<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [manifoldjs/manifoldjs-cordova] build.gradle check out of date, throws error in Android Studio (#11)
Thanks Sean. I'll take a look at this. I am seeing a gradel build error in my stuff too. It seems to build okay with just "manifoldjs package -p android " but I get an error in android studio. Are you using Android Studio? What version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/manifoldjs/manifoldjs-cordova/issues/11#issuecomment-236023592, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATurYqptc-dICdUf44H8qVSavMuSPx3Tks5qaRhQgaJpZM4JWlXe.

We could update ManifoldJS to include the correct mappings; however I noticed that the mappings @BBQSean specified above on this thread are currently out of date too in the latest version of Android Studio (which is currently 2.1.3), so if you use those mappings the issue still persists. These are the new mappings by the time of this writing (taken from http://tools.android.com/tech-docs/new-build-system/version-compatibility).

Android Gradle Plugin
Requires Gradle

1.0.0 - 1.1.3
2.2.1 - 2.3

1.2.0 - 1.3.1
2.2.1 - 2.9

1.5.0
2.2.1+

2.0.0-2.1.2
2.10 - 2.13

2.1.3+
2.14.1+

Given that Android Studio will keep releasing new versions, these mappings might continue evolving. So adding these mappings in Manifold might have no effect in a near future.
Perhaps we should leave this as is and let Android Studio to fix this from the Gradle Sync window:

I'm planning to close this issue unless you have any other comments.

closeing for now.


Duplicate

In st_moe_pytorch.py:
Line 70-74 is a duplicate of line 61-65.

@David-Archer-us ah yea, ok removed, thanks!


Remove duplicate call to finish() when clearing data from app shortcut

Task/Issue URL: https://app.asana.com/0/608920331025315/794822164879962
Tech Design URL:
CC:
Description:
Small fix to remove duplicate call to finish() the Activity when clearing the data from an app shortcut.
Steps to test this PR:

Use the app shortcut to clear the data
Once the browser restarts, use the in-app fire button
Verify the app restarts and doesn't just disappear

Internal references:
Software Engineering Expectations
Technical Design Template

Merging without approval due to no timely availability of team for review


fix: Rely on the bazel zipper instead of zip

Checklist

[ ] I have filed an issue about this change and discussed potential changes with the maintainers.
[X] I have received the approval from the maintainers to make this change.
[X] This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
N/A
Description of this change
Not all environments have zip in their path. For instance, some Remote Execution environments like to have very lean workers. Furthermore, we shouldn't rely on all environments having the same version. We replace zip with the bazel jar handler.
We have been using this change internally to build the plugin against our build environment for a few months now.

Yeah, it wasn't my happiest PR to write 😅 . There are java tools like jarjar which can do this, but I erred on the side of not introducing another dependency.

ok, now we have #6468

I’ll get on this right now.
On Thu, 6 Jun 2024 at 14:31, Tomasz Pasternak @.***>
wrote:

ok, now we have #6468 https://github.com/bazelbuild/intellij/issues/6468
—
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/intellij/pull/6462#issuecomment-2152508172,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMW6PWA57DUU4IKNT3FYI3ZGBQC7AVCNFSM6AAAAABIYTABVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJSGUYDQMJXGI
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


[AMP components in Firefox] 'Drop down' button cropped in portrait view_Advanced-COMBO BOX

Description: 'Drop down' button cropped in portrait view_Advanced-COMBO BOX.
Steps to Reproduce:

Launch Firefox
Go to https://ampbyexample.com/
Tap on 'Combo box' card under Advanced section.
Observe drop drown box under example.

Observed Result: https://screenshot.googleplex.com/9QHi0qCxN4o
Expected Result: Drop down button should be visible as expected
Environment:
Device: Samsung SM-G900H
Version: 5.0
Browser: Firefox
Version: 57.0.4

Cannot reproduce this


add IDatabase type

Description

Added/Removed/Updated something...

Added/Removed/Updated something else...

Types of changes

[ ] Docs change
[ ] Refactoring
[ ] Dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

How has this been tested

Do you consider this PR needs further testing?

[ ] No
[ ] Yes

Disclaimer

Task linked: CU-hf7bp3 Use arena-server DB


Created examples list in commands.py to auto update readme, updated contributing.md to reflect this

Wanting to push this change before anyone else gets a chance to add more modules and not update the examples list. Planning to implement the readme auto-updater in the next few days.

Though I don't think unfinished code should ever be committed master, I will allow this after the proposed changes. The added code does not break anything, and I have faith that you are woking on completing it.

Committed those suggested changes. Ill start working on the auto updater part today. While I understand the comments regarding unfinished code, would there be a better practice that I should have followed? It kind of just seems like a drawback to the open source paradigm in terms of the possibility of someone building a feature while another person may be building a feature that conflicts with it...which I guess is what makes planning just that much more important...

Though I don't think unfinished code should ever be committed master, I will allow this after the proposed changes. The added code does not break anything, and I have faith that you are woking on completing it.

Committed those suggested changes. Ill start working on the auto updater part today. While I understand the comments regarding unfinished code, would there be a better practice that I should have followed? It kind of just seems like a drawback to the open source paradigm in terms of the possibility of someone building a feature while another person may be building a feature that conflicts with it...which I guess is what makes planning just that much more important...

Ideally the unfinished code would live in a separate branch until completion. In this case that could be your fork. To avoid conflicts you should regularly pull master into your branch, to stay up to date. But since this task would require much more work than previous contributions, it would be a very large PR. In normal circumstances large PRs is not an issue, but this repository is aimed towards beginners and hacktoberfest participants, so yours is a special case. And I'm not an experienced maintainer :)


Screenshot gives away all your "friends" names

Perhaps respect their privacy by changing or removing the screenshot?

I will remake all screenshots, these are just temporary, but thank you for your concern.

Screenshot updated!


#378 api defaults resolved whitelisted

fixes #378

Current coverage is 47.14%

Merging #379 into master will increase coverage by +0.04% as of 6f415ac

@@            master    #379   diff @@
======================================
  Files          126     126
  Stmts         2811    2815     +4
  Branches       233     232     -1
  Methods          0       0
======================================
+ Hit           1324    1327     +3
- Partial         51      53     +2
+ Missed        1436    1435     -1

Review entire Coverage Diff as of 6f415ac

Powered by Codecov. Updated on successful CI builds.

:+1:

:+1:


Unknown pixel format causes uvcvideo.ko to crash after patch and modprobe

Required Info

Camera Model
R200

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux Mint 18 Sarah

Kernel Version (Linux Only)
4.4.0-21-generic

Build System
Makefile

Crash report from dmesg:
[ 2108.799363] WARNING: CPU: 2 PID: 5092 at /build/linux-Ay7j_C/linux-4.4.0/drivers/media/v4l2-core/v4l2-ioctl.c:1272 v4l_enum_fmt+0xd86/0x10f0 [videodev]()
[ 2108.799365] Unknown pixelformat 0x30315752
[ 2108.799365] Modules linked in: uvcvideo(OE) videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media xt_multiport iptable_filter ip_tables x_tables binfmt_misc drbg ansi_cprng eeepc_wmi intel_rapl snd_hda_codec_realtek asus_wmi dm_crypt x86_pkg_temp_thermal sparse_keymap mxm_wmi snd_hda_codec_generic intel_powerclamp snd_hda_intel coretemp snd_hda_codec kvm_intel snd_hda_core kvm snd_hwdep snd_pcm irqbypass snd_seq_midi crct10dif_pclmul crc32_pclmul snd_seq_midi_event snd_rawmidi aesni_intel snd_seq aes_x86_64 lrw gf128mul snd_seq_device glue_helper snd_timer ablk_helper cryptd snd serio_raw soundcore lpc_ich shpchp mei_me mei tpm_infineon wmi mac_hid acpi_pad sunrpc parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq dm_mirror dm_region_hash dm_log i915 i2c_algo_bit
[ 2108.799392]  psmouse drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm e1000e ptp video ahci libahci pps_core fjes [last unloaded: videobuf2_memops]
[ 2108.799398] CPU: 2 PID: 5092 Comm: AudioThread Tainted: G        W  OE   4.4.0-21-generic #37-Ubuntu
[ 2108.799400] Hardware name: ASUS All Series/H97I-PLUS, BIOS 2701 11/11/2015
[ 2108.799401]<PHONE_NUMBER>000286 00000000ecd391a5 ffff8802147fbbf0 ffffffff813e93c3
[ 2108.799403]  ffff8802147fbc38 ffffffffc06e3a78 ffff8802147fbc28 ffffffff81080f62
[ 2108.799405]  ffff8802147fbda0<PHONE_NUMBER>000000<PHONE_NUMBER>000000 ffff88021153a900
[ 2108.799407] Call Trace:
[ 2108.799409]  [<ffffffff813e93c3>] dump_stack+0x63/0x90
[ 2108.799411]  [<ffffffff81080f62>] warn_slowpath_common+0x82/0xc0
[ 2108.799413]  [<ffffffff81080ffc>] warn_slowpath_fmt+0x5c/0x80
[ 2108.799416]  [<ffffffffc06fa72d>] ? uvc_ioctl_enum_fmt+0x9d/0xc0 [uvcvideo]
[ 2108.799420]  [<ffffffffc06ce6f6>] v4l_enum_fmt+0xd86/0x10f0 [videodev]
[ 2108.799426]  [<ffffffffc06cf2c1>] __video_do_ioctl+0x291/0x310 [videodev]
[ 2108.799428]  [<ffffffff81216c54>] ? terminate_walk+0x64/0xd0
[ 2108.799432]  [<ffffffffc06ced96>] video_usercopy+0x336/0x5b0 [videodev]
[ 2108.799437]  [<ffffffffc06cf030>] ? video_ioctl2+0x20/0x20 [videodev]
[ 2108.799442]  [<ffffffffc06cf025>] video_ioctl2+0x15/0x20 [videodev]
[ 2108.799446]  [<ffffffffc06ca6a3>] v4l2_ioctl+0xd3/0xe0 [videodev]
[ 2108.799448]  [<ffffffff812200ff>] do_vfs_ioctl+0x29f/0x490
[ 2108.799450]  [<ffffffff8121be34>] ? putname+0x54/0x60
[ 2108.799452]  [<ffffffff8120b85f>] ? do_sys_open+0x1bf/0x2a0
[ 2108.799453]  [<ffffffff81220369>] SyS_ioctl+0x79/0x90
[ 2108.799456]  [<ffffffff818244f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 2108.799458] ---[ end trace 1b6c89db4cc7474a ]---

Hi,
I have the same issue, with f200 and a self-patched module for 4.7 kernel. Have you be able to solve the problem?

@thielsn ,
The reported pixel format  0x30315752 is RW10 , and is covered by LibRealSense kernel patch.
The patch itself has been refactored several times, including changing the underlying 4CC code for RW10 so it is possible that the patched kernel module is not aligned with the formats definition that appear in source code.
In case it is still relevant you should reapply the Linux backend installation guide and update accordingly.


renderer process constantly consumes CPU when background task is running.

VSCode Version: Code 1.14.2 (cb82febafda0c8c199b9201ad274e25d9a76874e, 2017-07-19T23:34:09.706Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author (truncated)
Version

ts-tslint
eg2
0.0.4

cpptools
ms-
0.12.1

csharp
ms-
1.11.0

PowerShell
ms-
1.4.1

vscode-icons
rob
7.11.0

cmake
twx
0.0.17

Steps to Reproduce:

I use typescript with npm: run compile 2.0 task.
When task is not running renderer process is idling.
When I run this task, process starts consuming ~10% CPU even if there is no activity, but fan in my Surface Pro 3 starts spinning.
When I terminate this task, things get back to normal.

My tasks.json:
{
    "version": "2.0.0",
    "tasks": [
        {
            "type": "npm",
            "script": "compile",
            "problemMatcher": [
                "$tsc-watch"
            ]
        }
    ]
}

Here how it looks:

This can either be the animated spinner or the terminal itself. Need to profile.

Is there a way I can help?
I've noticed that if I run the same task in the terminal manually, everything is fine.
I also tried to remove problem watcher (so that tasks.json became almost empty), but the problem didn't go away.

@ytimenkov thanks for offering help. You can profile the case using the Dev tools. (Help > Toggle Developer Tools)

Not sure if it helps, it seems that most of work is done by native code...
Here are 2 profiles: one is completely idling while the second one is with running npm run compile task (I took 2 to compare). I've made 'JavaScript CPU profile` of Main process.
CPU-running_task.zip

this task is enough to make it use at least 10% of CPU (on a Core 2 Quad):
{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  "version": "2.0.0",
  "tasks": [
    {
      "taskName": "typescript",
      "args": [
        "-w",
        "-p",
        "tsconfig.json"
      ],
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "isBackground": true,
      "problemMatcher": "$tsc-watch",
      "type": "shell",
      "command": "tsc"
    }
  ]
}

I can't reproduce this using the following setup:

vscode latest insider
cloned https://github.com/Microsoft/vscode-languageserver-node
cd client
npm install
open VS Code
Run Build task.

Here is what I see:

If you can still reproduce it can you share your project. Might make a difference.

@dbaeumer Sorry for late reply. I can confirm that with the latest insiders build the renderer process goes to idle after some time when there is no activity.
Although setup is very different (freshly installed insiders has no extensions and not configured yet, and it's 64 bits) my issue magically disappeared 😄.

@ytimenkov good to hear. If you see it reappearing please ping.


Client sometimes uses whole CPU and causes game lagging.

Problem:
Client sometimes eats all CPU cores, what it causes - we don't know.
Possible solutions:

find and fix that bug
use just half threads on CPU

Maybe this could help: https://stackoverflow.com/questions/39476385/set-cpu-affinity-for-a-java-process-when-started-from-eclipse/39478227#39478227

Connect a profiler if that happens and we can see

Closing to lack of information


Change pyiron_vasp to broken

Hi @conda-forge/core,
Please move my package from main to broken on the conda-forge channel on anaconda.org
because: We merged the pyiron packages to one big package, meaning:

pyiron_base
pyiron_atomistics
pyiron_dft
pyiron_example_job
pyiron_lammps
pyiron_vasp

Are now all included in pyiron, before these were individual packages.
best,
Jan

https://github.com/conda-forge/pyiron_atomistics-feedstock/issues/4


(Awaiting SDK update) Integrate SDK concepts locally

Removes duplicate content post dwavesystems/dwave-ocean-sdk#62
Assumes we agree on proposed structure; alternative is for content to live here and be pulled into SDK top level.
NOT TO BE MERGED BEFORE 62.

Codecov Report

Merging #633 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #633   +/-   ##
=======================================
  Coverage   90.67%   90.67%
=======================================
  Files          58       58
  Lines        4020     4020
=======================================
  Hits         3645     3645
  Misses        375      375

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 b780a4a...aaf9355. Read the comment docs.


Feature/AddedSpanishLanguageSupport

Added spanish language support (es-ES, spanish from Spain)

How could I fix the Travis error?

Why is it failing again?


Link in ubsan when -sanitize=fuzzer is used

In the absence of tsan and asan, needed symbolication symbols are provided by ubsan.
Otherwise, fuzzing crashes produce no symbolicated traces and complain about missing symbols.

@swift-ci please smoke test

This pull request has gone stale.  I've filed SR-11884 to see if an external contributor wants to take this up.


⚠ Bofrost.de has degraded performance

In 4cf5d43, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 968 ms

Resolved: Bofrost.de performance has improved in beb5d7b.


boards: shields: add nrf700x_nrf54l15pdk shield

Add support for the nrf700x_nrf54l15pdk shield. This shield is only usable with the in-tree nrf54l15pdk board.

Found a DIP switch which has to be in the correct position, updated docs to reflect this :)


virt-handler: Refactor claimDeviceOwnership method

What this PR does / why we need it:
Pass to the method the isolation data it needs to avoid re-calculating
it multiple times in the setup flow.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/cc @enp0s3

Note that with this PR changes the calling order of  claimDeviceOwenrship() and isolation.Detect() is changed
now we call claimDeviceOwenrship() before isolation.Detect().
It might affect setting memory limit for libvirtd/QMEU process for VM's with VFIO devices.

change: Rebase

Thank Eddy

change: Rebase


fix(utils): fix issue where congregation backup could not be retrieved

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


How to show dae file by SceneKit

Hi , I want to show a dae file replace the box. I try SCNScene(named: "xxx.dae").It's too small.Then can't see clearly. Do you know how fix that ?
And what about the light, shader, material....etc.Because there're someone use unity write a app. I want to use Swift or Objective-C overwrite this app.
my email<EMAIL_ADDRESS>Maybe We can talk in email.
Thanks. You project is great. It Helps me a lot.

maybe, you can adjust model object using SCNNode.scale.


Request no issue.. Could a playlist/s be added to the database?

Not an issue however a request..
Great work by the way.
Been looking for something simple to walk a directory and pull in tracks.
I'm going to use you code as a basis for storing a list of band songs in a similar way. Is there any thought to add a setlist (Play list) and keep these in the database.
I don't need to deal with Albums so may modify the database and code to do what I require. Using Mutagen to pull in the id3 tags is not required however, I'll open a song.txt file which keeps the artist, BPM, Key  etc which I'll open.
Could Lyrics be imported into  the database as a blob possibly in compressed format gzipped?  If Lyrics file not available locally get the Lyrics from external site eg.. LyricsGenius etc
Cheers

Setlists vs. Albums
You can use the Albums table, and directory scanner as a template.  I'm assuming you wouldn't use the regex portion of the directory scanner, but you can add up tracks as done in my code. You wouldn't need the following columns:

artist, could keep a list of artists if desired
year, see above
format

And particularly, you don't want to reference "artist" as a foreign key.  Or are your setlists only comprised of one unique artist? In that case, keep it as is.
Lyrics
Maybe you can just add a TEXT column to the SQL table (in this case, the Songs/Tracks table), and list the path to your lyrics file. As you're scanning, you can search for lyrics online if songs don't have a lyrics file (that could also be referenced in your songs.txt).
Good luck! Feel free to link whatever you come up with.


elementBlockOuts implementation missing from @wdio/visual-service

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

WebdriverIO Version
8.39.1
Node.js Version
16.17.1
Mode
Standalone Mode
Which capabilities are you using?
local: {
        capabilities: [
            {
                'appium:maxInstances': '1',
                platformName: DEVICE_OS,
                'appium:deviceName': DEVICE_FULL_NAME || 'Android emulator',
                'appium:automationName': 'UiAutomator2',
                'appium:newCommandTimeout': Constants.WAIT_TIME_WORKERS_MS,
                'appium:udid': DEVICE_UUID || 'emulator-5554',
                'appium:hideKeyboard':
                    HIDE_KEYBOARD === undefined ? true : /^\s*(true|1|on)\s*$/i.test(HIDE_KEYBOARD),
                'appium:app': APP_PATH,
            },
        ],
    },

What happened?
I've tried to upgrade our current infrastructure which is using wdio-native-app-compare-service to visual-service, but unfortunately the elements are not hidden from the images/screenshots diffs.
Tried with both below flows:
                hideElements: [
                    await elem1,
                    await elem2,
                ],

                elementBlockOuts: [
                    {
                        element: await elem1,
                    },
                    {
                        element: await elem2,
                    },

Infrastructure:
App: Native App (RN based)
Node: 16.17.1
WDIO: 8.39.1
Appium: 2.11.2
visual-service: 5.2.0

wdio.base.visual.config.ts file contents:
export const visualDiffConfig = {
    misMatchPercentage: 0.4,
    largeMisMatchPercentage: 0.8,
    specFileRetries: process.env.CIRCLECI ? 1 : 0,

    services: [
        'visual',
        {
            baselineFolder: `./e2e/screenshots/${process.env.DEVICE_OS}/expected`,
            formatImageName: `{tag}-{deviceName}`,
            screenshotPath: `./e2e/screenshots/${process.env.DEVICE_OS}`,
            savePerInstance: true,
            autoSaveBaseline: true,
            blockOutToolBar: true,
            blockOutStatusBar: true,
            ignoreAlpha: true,
            scaleImagesToSameSize: true,
        },
    ],
};

tsconfig.json file contents:
        "types": [
            "node",
            "jest",
            "@wdio/globals/types",
            "@wdio/mocha-framework",
            **"@wdio/visual-service",**
            "expect-webdriverio/jest",
        ],

What is your expected behavior?
Elements blocks to be hidden from diff images/screenshots.
How to reproduce the bug.

Run a visual test on a native app with latest visual-service version and make sure baselines (images/ss are saved).
Run the test again with elements to be hidden mentioned in blockOuts list (you've to make sure that there is indeed a difference for that element, in order for that part of the screen to be marked with green colour in diffs folder).

Relevant log output
Diff is not detected (element is not hidden from the diff picture).

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Is there an existing issue for this?

[X] I have searched the existing issues

Hi @berekmerilorand,
I found the reason why it's not working. As mentioned during our call I didn't migrate the option elementBlockOuts. I now found out I did migrate it, but I renamed it. The reason why you couldn't find it was because I didn't document it 🤦♂ .
I will document this in the coming days, but here's a way to use the new option. The new option is called ignore and allows 3 different ways to ignore elements.
it('should compare a screen successful with different ignore options', async () => {
    await $('~Login').click()
    const result = await driver.checkScreen('app-forms', {
        ignore: [
            // By ChainablePromiseElement<WebdriverIO.Element>
            $('~button-LOGIN'),
            // By WebdriverIO.Element
            await $('~input-password'),
            // By coordinates
            {
                x: 150,
                y: 250,
                width: 100,
                height: 100,
            }
        ]
    }) as number

    (await $('~Login')).elementId

    expect(result).toEqual(0)
})

this will result in the following

I did not add the margion property, because if you need to make it bigger then you can first find the coordinates of the element, but using the following
it('should compare a screen successful with a custom resized ignored element', async () => {
    await $('~Login').click()
    const elementId = (await $('~Login')).elementId
    const rectangles = await driver.getElementRect(elementId)
    const result = await driver.checkScreen('app-forms', {
        ignore: [
            // By coordinates
            {
                x: rectangles.x, // Add or abstract a number
                y: rectangles.y, // Add or abstract a number
                width: rectangles.width, // Add or abstract a number
                height: rectangles.height, // Add or abstract a number
            }
        ]
    }) as number

    (await $('~Login')).elementId

    expect(result).toEqual(0)
})

I will fix the hideElements for native apps to use the ignore Logic

[!NOTE]
If you want to store all diffs you can run the test and add --store-diffs as a command line argument

Created this new issue
https://github.com/webdriverio/visual-testing/issues/448


RPATH with boost

Describe the motivation for the feature request
Currently setting LD_LIBRARY_PATH before launching an application that uses hipSYCL is requires.
Describe the solution you'd like
Not have to set LD_LIBRARY_PATH to boost.

Can you share your syclcc.json? I believe boost should be put in the -rpath for the omp_link_line and the for the sequential_link_line as well. Can you also confirm that you don't set the OMP_LINK_LINE and SEQUENTIAL_LINK_LINE variables when configuring hipSYCL?

Yes, -rpath enter for OMP_LINK_LINE:
https://github.com/illuhad/hipSYCL/blob/2fe0d85d8cbf0ee7cd74be0a4b7f41b164849f94/CMakeLists.txt#L247
@pszi1ard Is it possible that this issue only trigger when not targeting omp, and can it be fixed for you using `--hipsycl-targets="omp;..."?

I think I figured out what's going on. Not sure about the best way to fix it, though.
Turns out, Boost libraries are dynamically linked to other boost libraries without specifying RPath, and RPaths are not transitive: https://gitlab.kitware.com/cmake/cmake/-/issues/19626.
Example.
Here the test binary is dynamically linked to libboost_fiber and libboost_context. These libraries are not in LD_LIBRARY_PATH, but RPath is set correctly, so they are loaded just fine. However, libboost_fiber is linked to libboost_filesystem, and does not ha
$ syclcc -O1 --hipsycl-dryrun test.cpp -o test
/project/project_123456789/rocm/softwares/rocm/5.2.5/llvm/bin/clang++ -isystem /pfs/lustrep3/projappl/project_123456789/rocm/softwares/hipSYCL/0.9.4-rocm-5.2.5/bin/../include/ -D__HIPSYCL__ -std=c++17 -isystem /pfs/lustrep3/projappl/project_123456789/rocm/softwares/hipSYCL/0.9.4-rocm-5.2.5/bin/../include/hipSYCL/std/hiplike -isystem /project/project_123456789/rocm/softwares/rocm/5.2.5/llvm/lib/clang/14.0.0/include/.. -U__FLOAT128__ -U__SIZEOF_FLOAT128__ -I/project/project_123456789/rocm/softwares/rocm/5.2.5/include -I/project/project_123456789/rocm/softwares/rocm/5.2.5/include --rocm-device-lib-path=/project/project_123456789/rocm/softwares/rocm/5.2.5/amdgcn/bitcode --rocm-path=/project/project_123456789/rocm/softwares/rocm/5.2.5 -fhip-new-launch-api -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false -D__HIP_ROCclr__ -x hip -D__HIPSYCL_ENABLE_HIP_TARGET__ -fplugin=/pfs/lustrep3/projappl/project_123456789/rocm/softwares/hipSYCL/0.9.4-rocm-5.2.5/bin/../lib/libhipSYCL_clang.so -D__HIPSYCL_CLANG__ --cuda-gpu-arch=gfx90a -fpass-plugin=/pfs/lustrep3/projappl/project_123456789/rocm/softwares/hipSYCL/0.9.4-rocm-5.2.5/bin/../lib/libhipSYCL_clang.so -D__HIPSYCL_ENABLE_OMPHOST_TARGET__ -I/project/project_123456789/rocm/softwares/boost/1.81.0-rocm-5.2.5/include -D_ENABLE_EXTENDED_ALIGNED_STORAGE -O1 test.cpp -o test -L/pfs/lustrep3/projappl/project_123456789/rocm/softwares/hipSYCL/0.9.4-rocm-5.2.5/bin/../lib/ -lhipSYCL-rt -Wl,-rpath=/pfs/lustrep3/projappl/project_123456789/rocm/softwares/hipSYCL/0.9.4-rocm-5.2.5/bin/../lib/ -Wl,-rpath=/project/project_123456789/rocm/softwares/rocm/5.2.5/lib -Wl,-rpath=/project/project_123456789/rocm/softwares/rocm/5.2.5/hip/lib -L/project/project_123456789/rocm/softwares/rocm/5.2.5/lib -L/project/project_123456789/rocm/softwares/rocm/5.2.5/hip/lib -lamdhip64 -L/project/project_123456789/rocm/softwares/boost/1.81.0-rocm-5.2.5/lib -lboost_context -lboost_fiber -Wl,-rpath=/project/project_123456789/rocm/softwares/boost/1.81.0-rocm-5.2.5/lib

$ syclcc -O1 test.cpp -o test

$ ldd test
        linux-vdso.so.1 (0x00007fff155f5000)
        libhipSYCL-rt.so => /project/project_123456789/rocm/softwares/hipSYCL/0.9.4-rocm-5.2.5/lib/libhipSYCL-rt.so (0x0000145e8c372000)
        libamdhip64.so.5 => /project/project_123456789/rocm/softwares/rocm/5.2.5/lib/libamdhip64.so.5 (0x0000145e8b26d000)
        libboost_context.so.1.81.0 => /project/project_123456789/rocm/softwares/boost/1.81.0-rocm-5.2.5/lib/libboost_context.so.1.81.0 (0x0000145e8c36c000)
        libboost_fiber.so.1.81.0 => /project/project_123456789/rocm/softwares/boost/1.81.0-rocm-5.2.5/lib/libboost_fiber.so.1.81.0 (0x0000145e8c358000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000145e8ae5a000)
        libm.so.6 => /lib64/libm.so.6 (0x0000145e8ab0f000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000145e8a8f6000)
        libc.so.6 => /lib64/libc.so.6 (0x0000145e8a501000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000145e8a2fd000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000145e8a0da000)
        /lib64/ld-linux-x86-64.so.2 (0x0000145e8c19b000)
        librt.so.1 => /lib64/librt.so.1 (0x0000145e89ed1000)
        libamd_comgr.so.2 => /project/project_123456789/rocm/softwares/rocm/5.2.5/lib/libamd_comgr.so.2 (0x0000145e8280f000)
        libhsa-runtime64.so.1 => /project/project_123456789/rocm/softwares/rocm/5.2.5/lib/libhsa-runtime64.so.1 (0x0000145e823c5000)
        libnuma.so.1 => /usr/lib64/libnuma.so.1 (0x0000145e821b9000)
        libboost_filesystem.so.1.81.0 => not found
        libz.so.1 => /lib64/libz.so.1 (0x0000145e81fa2000)
        libtinfo.so.6 => /lib64/libtinfo.so.6 (0x0000145e81d74000)
        libelf.so.1 => /usr/lib64/libelf.so.1 (0x0000145e81b5c000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x0000145e8194a000)
        libdrm_amdgpu.so.1 => /usr/lib64/libdrm_amdgpu.so.1 (0x0000145e81740000)

$ readelf -d test  | grep -i runpath
 0x000000000000001d (RUNPATH)            Library runpath: [/pfs/lustrep3/projappl/project_123456789/rocm/softwares/hipSYCL/0.9.4-rocm-5.2.5/bin/../lib/:/project/project_123456789/rocm/softwares/rocm/5.2.5/lib:/project/project_123456789/rocm/softwares/rocm/5.2.5/hip/lib:/project/project_123456789/rocm/softwares/boost/1.81.0-rocm-5.2.5/lib]

$ ldd /project/project_123456789/rocm/softwares/boost/1.81.0-rocm-5.2.5/lib/libboost_fiber.so.1.81.0
        linux-vdso.so.1 (0x00007ffc0c3f4000)
        libboost_filesystem.so.1.81.0 => not found
        libboost_context.so.1.81.0 => not found
        librt.so.1 => /lib64/librt.so.1 (0x0000152c76f33000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000152c76b20000)
        libm.so.6 => /lib64/libm.so.6 (0x0000152c767d5000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000152c765bc000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000152c76399000)
        libc.so.6 => /lib64/libc.so.6 (0x0000152c75fa4000)
        /lib64/ld-linux-x86-64.so.2 (0x0000152c7713c000)

$ readelf -d /project/project_123456789/rocm/softwares/boost/1.81.0-rocm-5.2.5/lib/libboost_fiber.so.1.81.0 | grep runpath || echo "empty :("
empty :(

$ ./test
./test: error while loading shared libraries: libboost_filesystem.so.1.81.0: cannot open shared object file: No such file or directory

Compiling Boost with hardcode-dll-paths=true dll-path="'\$ORIGIN/../lib'" (per https://stackoverflow.com/a/50044265/929437) solves the issue.
Not sure if the problem can reasonably be fixed on hipSYCL's side, except by allowing to link Boost statically? By setting -DBoost_USE_STATIC_LIBS=ON it is possible to link hipSYCL itself statically to Boost, but it still sets default-omp-link-line/default-sequential-link-line in the config to use dynamic linking.

I guess if it simplifies life for users, we could make default-omp-link-line and friends depend on whether Boost_USE_STATIC_LIBS is set, and if so, use a static link line. I'd be wary of making this the default though, as static linking can have its own problems..


HDDS-2919. Remove intermittent TestRDBStore#testRocksDBKeyMayExistApi

What changes were proposed in this pull request?
Remove intermittent testRocksDBKeyMayExistApi, which was an "integration" test checking if RocksDB keyMayExist call is cheaper than get call for the same key.
There are several problems with it:

No warmup, so order matters. (Adding warmup reduces time of both calls.)
Same key names are used for both get and keyMayExist calls, the result of get might be cached at RocksDB level. (This should help keyMayExist due to current order. Reordering the loops indicates that keyMayExist takes longer than get.)
Too few measurements, no check of whether the difference is statistically significant.
Tests a completely empty database (does not match real life usage)
Measured time includes getBytesUtf16 calls, not only the RocksDB call being tested.

A real JMH-based microbenchmark would be better for that purpose.
https://issues.apache.org/jira/browse/HDDS-2919
How was this patch tested?
https://github.com/adoroszlai/hadoop-ozone/actions/runs/1768566838

Thanks @ayushtkn for the review.


Improve Retry client middleware

Only retry idempotent requests with pure bodies
Only retry when status code is appropriate
Retry failed tasks from client

Partially addresses #712.  Further fixes (e.g., Retry-After) are binary incompatible and would come in a separate PR.

:+1: It looks good to me. Mima is apparently angry again.

MiMa needs a retry plugin of its own.


Start using error wrapping #792

Changes
fixes #792
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[-] Includes tests (if functionality changed/added)
Not functionality changed

[-] Includes docs (if user facing)
Maybe not user facing

[x] Commit messages follow commit message best practices

See the contribution guide
for more details.

/ok-to-test

I wonder if we should start using https://godoc.org/golang.org/x/xerrors -- this library will be moved into the errors package in the stdlib in a Go 1.13

unit test:
https://tekton-releases.appspot.com/build/tekton-prow/pr-logs/pull/tektoncd_pipeline/808/pull-tekton-pipeline-unit-tests/1122889442651017217/
Result | FAILURE
Tests | 0 failed / 514 succeeded
What’s the meaning of Result FAILURE , although Tests was 0 failed?

@u5surf there is a few errors (build-tests and unit-tests) if you look at the logs
I0429 15:46:27.979] # github.com/tektoncd/pipeline/test/logs/pod
I0429 15:46:27.979] test/logs/pod/watcher.go:22:2: errors redeclared as imported package name
I0429 15:46:27.980] 	previous declaration at test/logs/pod/watcher.go:20:2
# […]
I0429 15:47:18.026] # github.com/tektoncd/pipeline/test/logs/pod
I0429 15:47:18.029] test/logs/pod/watcher.go:22:2: errors redeclared as imported package name
I0429 15:47:18.030] 	previous declaration at test/logs/pod/watcher.go:20:2

and
I0429 15:51:44.055] Diffing /go/src/github.com/tektoncd/pipeline against freshly generated codegen
I0429 15:51:44.068] diff -Naupr /go/src/github.com/tektoncd/pipeline/pkg/client/informers/externalversions/generic.go /go/src/github.com/tektoncd/pipeline/tmpdiffroot.BL7fDM/pkg/client/informers/externalversions/generic.go
I0429 15:51:44.069] --- /go/src/github.com/tektoncd/pipeline/pkg/client/informers/externalversions/generic.go	2019-04-29 15:47:35.422100003 +0000
I0429 15:51:44.070] +++ /go/src/github.com/tektoncd/pipeline/tmpdiffroot.BL7fDM/pkg/client/informers/externalversions/generic.go	2019-04-29 15:45:02.163494373 +0000
I0429 15:51:44.070] @@ -16,8 +16,7 @@ limitations under the License.
I0429 15:51:44.070]  package externalversions
I0429 15:51:44.071]
I0429 15:51:44.071]  import (
I0429 15:51:44.071] -	"fmt"
I0429 15:51:44.071] -
I0429 15:51:44.072] +	"github.com/pkg/errors"
I0429 15:51:44.072]  	v1alpha1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1alpha1"
I0429 15:51:44.073]  	schema "k8s.io/apimachinery/pkg/runtime/schema"
I0429 15:51:44.073]  	cache "k8s.io/client-go/tools/cache"
I0429 15:51:44.074] @@ -65,5 +64,5 @@ func (f *sharedInformerFactory) ForResou
I0429 15:51:44.074]
I0429 15:51:44.074]  	}
I0429 15:51:44.075]
I0429 15:51:44.075] -	return nil, fmt.Errorf("no informer found for %v", resource)
I0429 15:51:44.075] +	return nil, errors.Errorf("no informer found for %v", resource)
I0429 15:51:44.076]  }
I0429 15:51:45.407] /go/src/github.com/tektoncd/pipeline is out of date. Please run hack/update-codegen.sh

Ping about the comment in https://github.com/tektoncd/pipeline/pull/808#issuecomment-487595982 -- have we considered using xerrors wrapping so that when it gets added to the stdlib in Go 1.13 we can easily move to that?

@ImJasonH
I have understood the usage of xerrors which can rewrite while keeping original format only changing “: %w”. Certainly it’s easier than rewriting with pkg/errors. I will retry this issue using it

Related proposal for golang/x/xerrors : https://go.googlesource.com/proposal/+/master/design/29934-error-values.md

@u5surf can you rebase ? :angel:

/approve
/meow space

oh noes, another rebase :sweat_smile: :bowing_man:

oh noes, another rebase

so close!!! sorry abotu this @u5surf we're almost there :pray:

/lgtm

/retest


[BUG]: pgArray generates invalid SQL when an array includes an empty string

What version of drizzle-orm are you using?
0.24.5
What version of drizzle-kit are you using?
0.17.6
Describe the Bug
Given a table with an array column:
export const users = pgTable("users", {
  onboardingServices: text("onboardingServices").array(),
});

And you set an array:
    await db.insert(users)
      .values({
        onboardingServices: ['test', ''],
      });

Drizzle will produce SQL with a value like {test,} for the array, and you'll get a syntax error in the underlying query.
Expected behavior
drizzle-orm should protect against this crash by refusing to build a query with an empty string, or by removing empty strings from what it inserts.
Environment & setup
No response

Very close to this bug is that you also can’t use } in array inputs, which will also cause an SQL syntax error.

Is there a list of strings that cause these errors? This is a really serious bug isn't it? I'm having random failures in production that I can't work around: raw strings would introduce an injection attack, and no form of templated string seems to work.

node-pg has quite a bit of escaping logic for this:
https://github.com/brianc/node-postgres/blob/6cd0aeb212d1672edd33499b2f4f858cf7ed9a79/packages/pg/lib/utils.js#L5-L32
drizzle's is a bit less aggressive:
https://github.com/drizzle-team/drizzle-orm/blob/0a4e3b265ce121675e7baa14f3a39669ea387e6d/drizzle-orm/src/pg-core/utils/array.ts#L81

@tmcw thank you so much, we've had an internal discussion and we'll update our internal implementation with the reference from node-pg

I think I encounter something of similar nature in the past, didn't think much back then as I simply use lodash to remove empty values from array, but I guess this is a big problem for people who don't want to do some cleaning to their inputs. It would be nice if this is also fixed so no bugs will be produced.

Fixed in<EMAIL_ADDRESS>


CronTrigerringPolicy date

Hello, below is my login configuration file, the main assumptions are:

maximum 5 logs per day, 20 MB each
deleting logs older than 21 days
log backup every day at midnight

${sys:user.home}/.test/logs

<Appenders>
    <RollingFile name="fileLogger" fileName="${basePath}/console.log" filePattern="${basePath}/console_backup/console-%d{yyyy-MM-dd}_%i.log">
        <PatternLayout>
            <pattern>%msg</pattern>
        </PatternLayout>
        <Policies>
            <CronTriggeringPolicy schedule="00 00 00 * * ?"/>
            <SizeBasedTriggeringPolicy size="20 MB"/>
        </Policies>
        <!-- Maximum number of backups -->
        <DefaultRolloverStrategy max="5">
            <Delete basePath="${basePath}/console_backup">
                <IfLastModified age="21d" />
            </Delete>
        </DefaultRolloverStrategy>
    </RollingFile>
</Appenders>

<Loggers>
    <Logger name="name.john.doe.util.gui.ConsoleOutputStream" level="info" additivity="true">
        <appender-ref ref="fileLogger" level="info" />
    </Logger>
    <Root level="info" additivity="false">
        <appender-ref ref="console" />
    </Root>
</Loggers>

According to the assumption, I would like the log backup to include the date of log creation, i.e. if I create a log on July 8, 2024, the log backup should contain the name 'console-2024-07-08_1.log' and it creates a backup with the date from the previous day (console -2024-07-07_1.log). After changing the logging policy and replacing CronTriggeringPolicy with the entry <TimeBasedTriggeringPolicy interval="1" modulate="true"/>, it logs the correct date, but I would like to have more control over it, so I want to use CronTriggeringPolicy. Please help me find what could be the cause.

Hi @Nef91,
Thank You for reaching out.
The %d pattern of the filePattern should be replaced with the timestamp of the previous rollover. For example at midnight of 2024-07-08 the rolling file appender will move console.log to console-2024-07-07_1.log.
The reason for this behavior is that the console-2024-07-07_1.log file contains log events issued from 2024-07-07 00:00 to 2024-07-07 23:59.
The TimeBasedTriggeringPolicy should behave the same way CronTriggeringPolicy does and the fact that it uses the timestamp of the current rollover is IMHO a bug. @rgoers, what do you think?
In any case, you can use the $${date:yyyy-MM-dd} runtime lookup together with CronTriggeringPolicy, which will be expanded to the current date.


Upload to hackage

Any plans to upload to hackage?

Hey Luke, yeah eventually for sure. It's just a project that's coming together slowly with several dependent parts. I won't be ready to release it for at least a month or two. I just stuck it up here because it exhibited a bug I was showing to GHC team.
Thanks for the interest.

Thanks


feature: support LinearCombination as observable

Issue #, if available:
#245
Description of changes:

Add support for the new LinearCombination as an observable that will be the default in the new version of PennyLane
Add support for the qml.opsSProd and qml.ops.Sum in the observable

Testing done:
tox and tox -e integ-tests
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General

[x] I have read the CONTRIBUTING doc
[x] I used the commit message format described in CONTRIBUTING
[x] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

When I proposed the solution I did not expect the issue of having to do conditional imports. In that case I would say:
isinstance(..., qml.Hamiltonian)

would suffice. Depending on whether new opmath is enabled, qml.Hamiltonian will point to the correct thing. The only time this would cause an error is if the user is explicitly using the legacy Hamiltonian with new opmath enabled, which will be deprecated in v0.36 of PennyLane, so we don't necessarily need to worry about supporting that.


android:allowBackup="true" causes error with android gradle 0.11.1 when applications has android:allowBackup="false"

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:37:9-36
is also present at [com.tubb.smrv:swipemenu-recyclerview:2.0.1] AndroidManifest.xml:12:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to  element at AndroidManifest.xml:35:5-270:19 to override.

I will remove the application@allowBackup attribute, fixed it next version.


Build CPython wrapper to connect with USearch

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


Mega Menu "Hack" does not work for smaller screens

When moving the mouse downwards on smaller screens, the mega menu disappears
Windows, Chrome

On which screen sizes does this appear? If it occurs only at < 640px, we can neglect it, since we are going to build a mobile navbar anyway.

Seems to be all below the "lg" breakpoint, i.e. <1024px.


Suggestion: Option to hide underground players + players sneaking.

Basically, a config line which will allow you to toggle hiding players underground (when they mine, etc...) then another line that makes so players using shift to sneak won't be seen on the map.

Closed it accidentally, any updates on when this could potentially be added?

Any news to get this in the actual pl3xmap (1.16.5 and 1.17.1?)

Because of how the rolling release works, it definitely won't be coming to 1.16.5. And probably not 1.17 (view #51)


Contexts in processed_data

Hi, first of all, thank you for the great work!
I really enjoyed reading the paper, and the proposed idea with promising results was really interesting.
Now, I am trying to use this codebase for my own project and have a question about the processed_data.
In the processed_jsonl file (e.g., test_subsampled.jsonl), the contexts are already included for all datasets.
Are these contexts the result of BM25 with one retrieval? If not, how they are obtained?
If you can provide the answer to this question, it would be really useful.
Thank you so much!

Hi @bbuing9, The contexts in those files are NOT the result of BM25 retrieval. They are the contexts that come with the reading comprehension version of these datasets. Check out processing_scripts/process_{dataset_name}.py for how those preprocessed files are created. I am closing this for now, but please feel free to reopen if you have more questions.


MSBuild Platform target was misspelled fixes #359

This fixes an type that caused code like this to fail:
        MSBuild(solution, settings =>
            settings.SetPlatformTarget(PlatformTarget.MSIL)
                .WithTarget("Build"));

Merged :+1:


Delegation Stuck - cannot undelagate

I delegated to a pool with around 10 ADA, it seemed to go through no problem.
Now the delegation centre page says 'undelegated' but when I click on stake pools it shows it is delegated.
I cannot seem to undelegate now. it's stuck like that.

@willcbanks can this issue be closed?

The "undelegation" is not present in recent Daedalus builds but it will be made available soon.

@nikolaglumac what build have it? I have quite a lot of funds blocked because I wasn't aware you can not undelegate once you delegated is there any other way?

@ovidb delegation does not block any funds except for the 2 ADA deposit. No builds contain the undelegation feature yet but you don't need it to move your funds.

Ok sorry, I'm just stupid, I looked at the wrong wallet. What basically happened is I transferred from an old Byron wallet into a new Shelly to be able to stake it, which I did. I was now looking at the old wallet and thought that there was actually a transaction toward the pool because of the name I've chosen for the wallet.
Thanks for opening my eyes.

Glad to help! Have a nice day!


CI: K8sDatapathConfig AutoDirectNodeRoutes Check connectivity with sockops and direct routing

cilium policy get -o json returns empty output, causing JSON parsing to fail with unexpected end of JSON input.
/home/jenkins/workspace/Cilium-PR-K8s-1.19-kernel-5.4/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:518
Error creating resource /home/jenkins/workspace/Cilium-PR-K8s-1.19-kernel-5.4/src/github.com/cilium/cilium/test/k8sT/manifests/l3-policy-demo.yaml: Cannot retrieve cilium pod cilium-8q5k8 policy revision: cannot get revision from json: could not parse JSON from command "kubectl exec -n kube-system cilium-8q5k8 -- cilium policy get -o json"
unexpected end of JSON input

Expected
    <*errors.errorString | 0xc000257210>: {
        s: "Cannot retrieve cilium pod cilium-8q5k8 policy revision: cannot get revision from json: could not parse JSON from command \"kubectl exec -n kube-system cilium-8q5k8 -- cilium policy get -o json\"\nunexpected end of JSON input\n",
    }
to be nil
/home/jenkins/workspace/Cilium-PR-K8s-1.19-kernel-5.4/src/github.com/cilium/cilium/test/k8sT/DatapathConfiguration.go:1058

487d5039_K8sDatapathConfig_AutoDirectNodeRoutes_Check_connectivity_with_sockops_and_direct_routing (3).zip
https://jenkins.cilium.io/job/Cilium-PR-K8s-1.19-kernel-5.4/611/testReport/junit/Suite-k8s-1/19/K8sDatapathConfig_AutoDirectNodeRoutes_Check_connectivity_with_sockops_and_direct_routing/

A couple data points from our CI dashboard:

This flake also occurs in v1.10 [link].
23c100b4_K8sDatapathConfig_AutoDirectNodeRoutes_Check_connectivity_with_sockops_and_direct_routing.zip
It's fairly rare: 3 occurrences on master in 1 month.
It seems specific to the CI job k8s-1.19-kernel-5.4. All cases I could validate were on that kernel.

Also worth noting that when this flake happens, the bugtool collection for k8s1 always fails, even though the agent status on that node is reported as healthy.

Observed in this run as part of #16914.
c1c5d956_K8sDatapathConfig_AutoDirectNodeRoutes_Check_connectivity_with_sockops_and_direct_routing.zip

Observed same fail/flake in the same test in kernel-5.4 pipeline in https://jenkins.cilium.io/job/Cilium-PR-K8s-1.21-kernel-5.4/504/testReport/junit/Suite-k8s-1/21/K8sDatapathConfig_AutoDirectNodeRoutes_Check_connectivity_with_sockops_and_direct_routing/


buildkite: update pipeline to use new dockerfiles release

Update buildkite to use dockerfiles release 0.11.10.
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>

Looks good, update .buildkite/daily.yml as well.

yeap, done.

Can we add to this pr removing the pip3 install in .buildkite/run.sh

Can we add to this pr removing the pip3 install in .buildkite/run.sh

That's actually a good idea - see how things run without the temp hacks in .buildkite 👍


Accessibility Issue: Focus going outside the dialog while pressing tabs multiple time

once the Dialog opens and we press tab it's moving to targeted elements but once it's reaching on the last element of the dialog then the focus will go outside the dialog.
in the below image, once the focus comes at the "agree" button and I will press tab then the focus will be lost. in an actual way, it should come to the first element which dialog box is having.

Duplicate of #19651

Note that the focus moves to the root element of the dialog, it doesn't go outside of it.

@oliviertassinari thanks for your reply.
is there any option avialable to keep focus in dialog box only.
ex. after pressing the tab on the "agree" button it will move to the "disagree" button rather than going to the root element.

Subscribe to the duplicated issue, this behavior will come once we close it. @PaulSavignano might bring in a fix.


Propose Thanos Block Viewer to Prometheus  (:

TBD

Very much todo.
cc @kunal-kushwaha @Oghenebrume50

Still in progress

Still in progress


HttpUrl encodedPath clears encodedPathSegments

I'm using retrofit 2.0.0 from snapshots (mainly because it's cleaner than 1.9, does not depend on GSON which I don't use, and allows for better error processing). If I set up retrofit endpoint to something like "http://<IP_ADDRESS>/api" that "/api" part is ignored resulting in invalid urls. I've debugged up to HttpUrl Builder encodedPath and resolvePath methods. First one does not allow urls which not begin in "/", second clears encodedPathSegments if url begin with "/" (thus in retrofit case "/api" is always removed from resulting url). Please, advise.

Try http://<IP_ADDRESS>/api/ with a trailing slash.

@swankjesse no, it does not change anything. If you look at resolvePath logic, it always clears encodedPathSegments if it's argument begins with "/", so it doesn't matter what I have in endpoint url — it's path will always be neglected. And encodedPath method which is called from retrofit does not allow it's argument not to begin with "/", it throws.

Don't use a leading slash in the relative URL.
On Sat, Jul 4, 2015, 11:45 AM Dmitry Gorbunov<EMAIL_ADDRESS>wrote:

@swankjesse https://github.com/swankjesse no, it does not change
anything. If you look at resolvePath logic, it always clears
encodedPathSegments if it's argument begins with "/"
https://github.com/square/okhttp/blob/master/okhttp/src/main/java/com/squareup/okhttp/HttpUrl.java#L1010,
so it doesn't matter what I have in endpoint url — it's path will always be
neglected. And encodedPath method which is called from retrofit does not
allow
https://github.com/square/okhttp/blob/master/okhttp/src/main/java/com/squareup/okhttp/HttpUrl.java#L732
it's argument not to begin with "/", it throws.
—
Reply to this email directly or view it on GitHub
https://github.com/square/okhttp/issues/1742#issuecomment-118525226.

As I've mentioned twice already if I don't use leading slash in the relative URL, encodedPath will throw IllegalArgumentException. I even pointed to the LOC, where this check happens. And actually, retrofit itself will not allow that and throw the same thing even before HttpUrl.

Retrofit is happy with non-leading slash or even a full URL with a
different host. It uses resolve, not encodedPath.
On Sat, Jul 4, 2015, 12:18 PM Dmitry Gorbunov<EMAIL_ADDRESS>wrote:

As I've mentioned twice already if I don't use leading slash in the
relative URL, encodedPath will throw IllegalArgumentException. I even
pointed to the LOC, where this check happens. And actually, retrofit itself
will not allow that and throw the same thing even before HttpUrl.
—
Reply to this email directly or view it on GitHub
https://github.com/square/okhttp/issues/1742#issuecomment-118527636.

I see, snapshot version of retrofit on sonatype is very different from master. After compiling retrofit from master, adding trailing slash to endpoint url and removing trailing slash from REST resource urls it works as expected.


Coordinate possible API options with the customer

We consider existing solutions and significant nuances. Choosing a suitable API (perhaps several to have other ways of development)

It was decided to use customer provided API for tokenizing and development team providing Alan Voice API for voice synthesis and voice recognition.


use '-' for stdin in positional arguments

could be a nice thing if you have lots of inputs and outputs.

next version has an Arginine::fh option for casting that does this


Examples not running

Describe the bug
Can't get examples or new project to work.
To Reproduce
Downloaded the latest code and have tried the Razor example and the react example under the frameworks folder. Ran npm ic and ran the examples. Neither worked and this error showed in the logs:
Vite.AspNetCore.Services.ViteDevServerStatus: Information: Vite development server started with process ID 91316.
PID   TT  STAT      TIME COMMAND
91309   ??  S      0:00.51 /usr/local/bin/dotnet /Users/chris/Development/Test/Vite.AspNetCore-main/examples/basic/frameworks/ViteNET.React/bin/Debug/net8.0/ViteNET.React.dll

<EMAIL_ADDRESS>dev /Users/chris/Development/Test/Vite.AspNetCore-main/examples/basic/frameworks/ViteNET.React
vite

Also tried the setup steps on the project readme on a "dotnet new webapp" project and it hows this error:
Vite.AspNetCore.Services.ViteDevMiddleware: Warning: Connection refused (localhost:5173). Make sure the Vite development server is running
Device (please complete the following information):

OS: M1 MacPro macOS Monterey
IDE/Editor: vs code

Hi. mmm, so the vite dev server is not starting, right?

The dev server should be at https://localhost:5173/@vite/client right? That doesn't load. Dev tools show this:

Discovered downgrading vite to 4.1.0 works.
Any v5 of vite fails. More info on the error:
info: Vite.AspNetCore.Services.ViteDevServerStatus[0]
      Starting the vite development server...
info: Vite.AspNetCore.Services.ViteDevServerStatus[0]
      Vite development server started with process ID 46589.
Vite.AspNetCore.Services.ViteDevServerStatus: Information: Vite development server started with process ID 46589.
  PID   TT  STAT      TIME COMMAND
46585   ??  S      0:00.56 /usr/local/bin/dotnet /Users/chris/Development/Test/Vite.AspNetCore-main/examples/basic/frameworks/ViteNET.React/bin/Debug/net8.0/ViteNET.React.dll

><EMAIL_ADDRESS>dev /Users/chris/Development/Test/Vite.AspNetCore-main/examples/basic/frameworks/ViteNET.React
> vite

(node:46593) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token '??='
    at Loader.moduleStrategy (internal/modules/esm/translators.js:145:18)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:46593) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:46593) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
info: System.Net.Http.HttpClient.Vite.AspNetCore.DevHttpClient.LogicalHandler[100]
      Start processing HTTP request GET https://localhost:5173/


fix: Update PagerDuty API V2 to send full details on resolve

This adds compatiblity with PagerDuty's Event rules feature, allowing resolve events to be routed based on attributes
Fixes #1440

LGTM. I see that @stuart-warren already +1s. Lets wait a bit for @scarvel8 to weigh in. In case of no response, we can merge it in a few days.

I just got notification that PagerDuty have made a change to how their API resolves events:

(PagerDuty Support)Aug 1, 05:58 PDT
Hi Mike,Thanks for your patience while we worked on this. Our engineering team has made an update that should now allow resolve events that are sent with only a dedup_key to resolve alerts through global event rules.

So it looks like this PR is no longer necessary, but likely wouldn't hurt.


Add percent of validator delegators votes to UI

Range 0.01 - 100

@bro-n-bro-0
The response requires information for each validator about its total amount or total shares

Let's discuss it on call. We need to adjust API response. I thought we had such info in response :(
The main goal to show delegators_shares_options in total/validator_tokens_amount
To see community engagement for each validator.

@iljagrabar14 @bro-n-bro-0 , could you please add voting power to /gov/votes/{id}/validators-info ?

https://www.figma.com/file/qhmlIKVNDNUFfdkOZqhvnR/👊🏻-bro_n_bro-team?type=design&node-id=4710-78095&mode=design&t=m7KDWQpdLooct9JO-4


Update README

rm Matrix chat banner reads as inaccessible and the channel is read only (not chat)
add SE banner
update links & call to action to SE

Why is the SE banner showing invalid?

@bkchr fixed.

bot merge


Unable To Get it running, npm run install throws error

When I run npm run install i get below error
npm ERR! Missing script: "install"
npm ERR!
npm ERR! Did you mean this?
npm ERR!     npm uninstall # Remove a package
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR!   npm run
On npm run reset I get below error

<EMAIL_ADDRESS>reset
bin/reset

'bin' is not recognized as an internal or external command,
operable program or batch file.
I'm running this on windows 11 cmd prompt

Hey @dilkushpatel 👋
Oh, great spot – it should be npm install 🙈
Updated the README: https://github.com/sqlhabit/sql_schema_visualizer?tab=readme-ov-file#step-1-clone-and-set-up-the-repo 🙌

What about issue with npm run reset?
It looks like it is not working with window file structure?


Add device LeTianPai Presence Sensor Box

@pInksenberg I would also recommend that you add a CN translation for this device in the https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/main/tools/localizations/cn.csv file

Hello @lelandblue, the cn.csv file has been updated to include the LeTianPai Presence Sensor Box.

The partner has finished the self-test and the result is good
https://smartthings.atlassian.net/browse/PIOT-128?focusedCommentId=1469625
Please consider merging this PR and China eco team will work on the product verification & publish accordingly

@greens Hello, we push it again. At present, there are 4 workflows waiting for approval. Please help me. Thank you


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 292 ms

Resolved: ClamAV performance has improved in 48f1944 after 1 hour, 8 minutes.