Correct Ruby ArgumentError class name

Fixes #449

Coverage increased (+0.04%) to 92.062% when pulling 9ccbf4c17b605f3544eaa69af730793a9d3971c2 on domcleal:449-app-arg-error into 9c82100bedf597ac4cee604b4a601395185d4f2d on rodjek:master.


trufflehog: 3.61.0 -> 3.62.0

Diff: https://github.com/trufflesecurity/trufflehog/compare/refs/tags/v3.61.0...v3.62.0
Changelog: https://github.com/trufflesecurity/trufflehog/releases/tag/v3.62.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 264558 run on x86_64-linux 1

1 package built:

trufflehog


Admin should be able to add vehicle owners

We need to add vehicle owners to the system

Closed by #25


Create Reassert Fee Payment Method

This proposal allows the IOT subDAO to use their own token to pay for location asserts and reasserts.  Its goal is to drive more value into the IOT token.


Added 6px font for enumeration

This font should look readable on very los-res .png files with patterns and on big ones. I removed top padding since it caused numbers to "leak" from their cells.
Please look at the code carefully, it was stackoverflow-driven developed :skull:

Okay. I'm not sure what to do now since you've already fixed it.


Apng(Animated Png) with alpha channel won't get blended to background properly on Android.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

create apng with alpha channel which has slightly transparent(not perfectly intransparent, nor perfectly transparent. consider like shadows that darken the background color).
show it with Image widget, e.g. Image.asset("assets/animated.apng")
On Android, this will cause buggy behavior. The more transparent the pixel is, the brighter it will be.

Expected results
Image will be mixed with the background, corresponding to the value of the alpha channel.
Actual results
On Android, 100% transparent pixel will be fine, but other pixel will gets whiter and not transparent.
On web (dartpad), the behavior is totally fine.
Code sample
Code sample
dartpad here

Screenshots or Video

Screenshots / Video demonstration
tested apng is this below.

Expected result (dartpad behavior)
https://github.com/flutter/flutter/assets/32694778/e4c81249-67fc-40db-9dc4-e8b07e86cafb
Actual result (Android Pixel 7 Pro)
https://github.com/flutter/flutter/assets/32694778/089560c3-b5b9-42b4-af1e-9c895d9ae3db

Logs
Logs
log is too long to write here, so uploaded to gist
https://gist.github.com/nagataaaas/fa74ad7bcf7c3565f0a8d0e1087d35b6#file-flutter_verbose-log

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.10.2, on Microsoft Windows [Version 10.0.22621.1755], locale ja-JP)
    • Flutter version 3.10.2 on channel stable at C:\Users\nagata\Desktop\tools\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (9 days ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\nagata\AppData\Local\Android\sdk
    • Platform android-33-ext5, build-tools 33.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version openjdk version "11.0.15" 2022-04-19
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2019 16.8.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
    • Visual Studio Enterprise 2019 version 16.8.30717.126
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version openjdk version "11.0.15" 2022-04-19

[√] IntelliJ IDEA Ultimate Edition (version 2020.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2020.2.2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.78.2)
    • VS Code at C:\Users\nagata\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.64.0

[√] Connected device (4 available)
    • Pixel 7 Pro (mobile) • 2B071FDH300330 • android-arm64  • Android 13 (API 33)
    • Windows (desktop)    • windows        • windows-x64    • Microsoft Windows [Version 10.0.22621.1755]
    • Chrome (web)         • chrome         • web-javascript • Google Chrome 113.0.5672.127
    • Edge (web)           • edge           • web-javascript • Microsoft Edge 113.0.1774.50

[√] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for the report. This issue is reproduced on master channel as well. And it also happens on some platforms as below:

Web
Android
iOS
MacOS

✅
❌
❌
❌

✅: No Issue ❌: Issue reproduced

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.10.2 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (22 hours ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.11.0-16.0.pre.78, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.11.0-16.0.pre.78 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 60a87d0798 (4 minutes ago), 2023-06-01 21:27:17 -0700
    • Engine revision 3a453f2ccb
    • Dart version 3.1.0 (build 3.1.0-160.0.dev)
    • DevTools version 2.24.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 114.0.5735.90

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

cc @bdero


experiencing blank screen on Firefox

Appearing a blank page in firefox when using apex chart. After resizing the screen we are able to see the values.Seems like a window sizing event is not firing. Is there any way to fix the issue.

Can you please provide a simple codepen demo so I can reproduce easily?


Minecraft village / villager events

Villager entities create villages. These villages are often manipulated by popular designs for iron farms.
Is it possible to capture the creation of these villages, e.g. on village forms, or something along the lines -- or anything else that might not have been tapped into with this Minecraft's resource, such as perhaps villager inventories.

By "villager entities create villages", he means the way villagers define a village (as discussed on Discord). That is, doors and possibly other special conditions.
Might be worth adding if any event exists for it in the Spigot API.

I don't think it quite works that way (though it might?).
What you can do is listen to on villager spawns for handling villagers popping into the world and on iron_golem spawns to handle iron golems spawning (there's even a cause value of village_defense available for specifically golems spawning as guardians of a village)

I've looked for my source on this particular topic, and it was an iron farm design by TangoTek.
https://youtu.be/kxixJ5P_V7k
The explanation starts at the end of the video, at 1:19:45.

That isn't relevant at all.

Please reply below if you find any reference for such an event existing in Spigot.
Otherwise, use the events I mentioned above.

I found this on the Jira, where you could not trade with villagers outside a village.
Thought the trace in the bug report might be useful as it might give insight to how a village functions, or is referenced by nms.


tf.data.Dataset.from_generator() does not work with tf.data.experimental.enable_debug_mode()

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Colab
TensorFlow version (use command below): v2.7.0-0-gc256c071bb2 2.7.0
Python version: 3.7.12

Describe the current behavior
tf.data.Dataset.from_generator() does not work when tf.data.experimental.enable_debug_mode() is called in advance.
import tensorflow as tf

tf.data.experimental.enable_debug_mode()

def gen():
    yield from iter(range(10))

dataset = tf.data.Dataset.from_generator(gen, output_signature=tf.TensorSpec(shape=(), dtype=tf.int32))

for item in dataset:
    print(item)

Results in
  ...

  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 810, in get_iterator
    return self._iterators[iterator_id]

TypeError: unhashable type: 'numpy.ndarray'

	 [[{{node EagerPyFunc}}]] [Op:IteratorGetNext]

From a small investigation it seems that the "obvious" solution — changing https://github.com/tensorflow/tensorflow/blob/ffe6f62b7f8e57177c26ca3b38c0929d5f64b43f/tensorflow/python/data/ops/dataset_ops.py#L833 to
return np.int64(ret)

does not fix the issue, even though np.int64(0) is hashable, while np.array(0, dtype=np.int64) is not.
Additionally, I tried a workaround and added to _GeneratorState the following method:
@staticmethod
def _fix_iterator_id(iterator_id):
    assert isinstance(iterator_id, np.ndarray)
    assert iterator_id.ndim == 0
    assert iterator_id.dtype == np.int64
    return np.int64(iterator_id)

and added calls to it from get_iterator() and iterator_completed(). However, this triggered yet another issue: in tf.python.ops.script_ops, FuncRegistry started throwing an error ValueError('callback pyfunc_63 is not found').
Describe the expected behavior
No crash.
Standalone code to reproduce the issue
https://colab.research.google.com/gist/dniku/80456bc9d30fbaaadca4a22469c2c1df/tf_dataset_from_generator_with_debug_mode_crash.ipynb

@sachinprasadhs ,
I was able to reproduce the issue in tf v2.5, v2.7 and nightly.Please find the gist of it here.

@dniku , If you have identified the issue in the code and the probable fix, could you please raise a PR. Thanks!

I have not, and my small investigation only hints at what will not resolve this issue.


Add waze layer on the Melbourne map

Closing this because it's stale, feel free to reopen if you still would like this addressed.


How to get values of Filters

I have been pursuing a long time requirement of showing grouping in PDF and Excel File #1340.
i was thinking that if we can use the PDF generated by html page as shown in sample page of Order Dialog.
we can make a cshtml file and show it as PDF as shown in sample.
this way the group headers and the group totals can be shown.
for this we need to call a report class identified by a report key.
but my problem now is how can i get the current values of filter and send them to the report class.
please guide me if i am thinking in correct line.

Check browser console for request contents. That won't be easy.


AB#6847 Add a message banner populated by Sitecore CDP below the header

QA steps are in the work item description
Also:

Refactored the page Storybook stories common components and props.
Fixed a HeroSection issue seen in the browser console (div inside a p element)

Looking good!


fsproj file text is missing  (would help in the case of a user mistake leading to a missing project reference)

Normally I wouldn't file my own stupidity as an issue.
But since this is the on-ramp tutorial, I will this time.
I followed the tutorial and slipped up (twice)
What I broke was adding the reference from the app fsproj file to the library. (I went to get a cup of tea and skipped the line in the tutorial)
The fix was to add this to App.fsproj
< ItemGroup >
<ProjectReference Include="..\Library\Library.fsproj" />
</ItemGroup>
My mistake was clear from the error message
(error FS0039: The namespace or module 'Library' is not defined.).
But a link to the fsproj files might help people like me who cant follow instructions.
Now I dont know if it is worth cluttering up the tutorial. However, learning the fsproj format is the less glamourous part of learning FSharp the language, and I often trip up on building and linking when learning something new, (and frequently in stuff I should know too).
My second slip was not saving from the editor. (Cant fix stupid, but I realized when I saw "Hello from F#").
(This can be closed, just my two cents on including the App.fsproj in the tutorial somehow)

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

ID: 836d726d-1f95-51e7-c5c3-a7200adc5772
Version Independent ID: 3e9e6e89-7017-7a7c-faea-4c0e76cef442
Content: Get started with F# with command-line tools
Content Source: docs/fsharp/get-started/get-started-command-line.md
Product: dotnet-fsharp
GitHub Login: @cartermp
Microsoft Alias: dotnetcontent

Thanks for filing this @xela-trawets
It will help us improve the experience for everyone.


error: all build users are currently in use; consider creating additional users and adding them to the ‘nixbld’ group

This error message is very bad.
error: all build users are currently in use; consider creating additional users and adding them to the ‘nixbld’ group
It should list which configured build users exist (with a count too) it then should display what those are doing, and finally it should output the code required to add a nixbld group.
In this particular case, I think it's a bug... because no builds are in progress in the first place. But really such error messages ... an "error path" of a program should still generate proof that it cannot do something and as such it cannot just create existential output. Computation is constructive, so ... output that.
So, I now have a broken version of Nix on my laptop (with some wrong instructions on a wiki), and a broken version of NixOS on my server (no idea on what can possibly have caused that). Good going guys!
This even happens after a reboot and running nixos-rebuild switch as the first command. WAT.

I fixed this for my situation by doing the simplest thing possible (adding more build users). I now have 100, but this still remains a bug; if you have every user add random hacks to make stuff work, you don't have an OS, you have a kludge. Long term this will create a segregation between those who added all the random hacks to make it workable and those who didn't. While this situation also exists for tons of other operating systems, that doesn't mean that it needs to be this way.

@wwat You're free to not use NixOS if you don't like it, however you're
more likely to see fixes to problems if they are reported in a courteous
and productive manner. We all like to help and you're getting it for free,
no reason for the tone of entitlement in your communications.
In this case, it would be nice to know more about the system, I suppose you
told nix to run e.g. 16 build jobs where there are only 10 build users? And
what is wrong with Nix on your laptop? Different problem right?
Indeed, adapting the error message with more information might be good,
that could be a nice PR :-)
On Sun Feb 15 2015 at 10:55:22 AM wwat<EMAIL_ADDRESS>wrote:

I fixed this for my situation by doing the simplest thing possible (adding
more build users). I now have 100, but this still remains a bug; if you
have every user add random hacks to make stuff work, you don't have an OS,
you have a kludge. Long term this will create a segregation between those
who added all the random hacks to make it workable and those who didn't.
While this situation also exists for tons of other operating systems, that
doesn't mean that it needs to be this way.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/6341#issuecomment-74411057.

@wmertens My time is not free.
And, it's probably the case that indeed I told nix to run more build jobs than that there are build users, but that just shows a design flaw in the semantics.
If the semantics of that variable would change to be a maximum of the number of jobs running, then this failure condition wouldn't exist in the first place. There could be a warning explaining why it is limited to N jobs while the maximum is configure to be M > N jobs.
The thing with nix on my laptop is documented in another Issue. Should be easy to find.

@wwat Indeed your time is not free, but you choose to spend it on trying Nix and notifying the community of issues.  Therefore, a way of reporting issues that results in maximum efficiency for all parties involved is optimal, and that way probably does not include being grumpy about things.
You're right, the semantics you propose would indeed be better. I opened #6357, would that work for you?

Dupe of #5637.


Application port preview links

When the application runs in the workspace, Daytona will detect the port and will create a preview link that can be shared with other users.
The link can be set to private or public.

This feature can be accessed from the web IDE, the VSCode Extension, and the JB Plugin.
It should be documented for all three interfaces.


[Bug]

Discord Account
Client Mod
BetterDiscord
What happens when the bug or crash occurs?
when i put the plugin on it's ask me to refresh and when i refresh it's ask me again to refresh and that keep going every time i put the plugin on, i did try to uninstall and re-install the plugins but it's keep going

What is the expected behaviour?
i expect that betterdiscord open the plugin correctly and don't ask me to keep refreshing because of the plugin
How do you recreate this bug or crash?

i turn on the plugin, 2. when it's ask me to refresh i refresh, 3. just keep refreshing

Errors
Replace this text with your crash-log.

Request Agreement

[X] I am using Discord Stable or tried on Stable and this bug happens there as well
[X] I have read the requirements for opening an issue above

it's make my discord crash

and everytime that i turn the plugin on it's make my discord crash and when i refresh it's still make it crash, please do something because it's do start to go on my nerve because yesterday it was working correctly and today it's stoped working without knowing why


Compiler not working

Compiler fails to compile multi-line Ink code.

Preliminary fix in JXKit branch.
Also now includes tests for well formed Ink stories.
Need to add tests for:

Ink stories with errors
Ink stories with JavaScript characters.

Added additional tests. The compiler should be usable now.


juicefs bench negtive value

+------------------+------------------+---------------+
|       ITEM       |       VALUE      |      COST     |
+------------------+------------------+---------------+
|   Write big file |     612.69 MiB/s |   1.67 s/file |
|    Read big file |     390.55 MiB/s |   2.62 s/file |
| Write small file |     44.4 files/s | 22.52 ms/file |
|  Read small file |    769.1 files/s |  1.30 ms/file |
|        Stat file |   2170.1 files/s |  0.46 ms/file |
|   FUSE operation | 17826 operations |    0.36 ms/op |
|      Update meta |    -9 operations |    0.00 ms/op |
|       Put object |   356 operations |   91.47 ms/op |
|       Get object |   258 operations |   54.76 ms/op |
|    Delete object |     0 operations |    0.00 ms/op |
| Write into cache |   357 operations |    3.36 ms/op |
|  Read from cache |   100 operations |    0.11 ms/op |
+------------------+------------------+---------------+

Mount point remounted causing


feat: JavaScript support in the project picker

Fixes #366

:tada: This PR is included in version 0.23.0 :tada:
The release is available on:

v0.23.0
GitHub release

Your semantic-release bot :package::rocket:


update README

How far do you want me to go in terms of documentation? I think Xin Shu and Anusha are working on documenting the repo. Like virufy6.0 I can have them lead here and I can answer any necessary questions they might have.

iirc you worked with Steven on documentation in Confluence. Can you share link to it? I'd like to get a better understanding of its content so far so we don't duplicate work.

Here is the Confluence Page

Quick update: I haven't heard back from Anusha to Xin about documentation. I did double slack now so lets wait.

Ok no worries and thanks for the update. I plan to add some content in the README on Wed.


Some string can't hide?

Hi,
Is it possible to hide the names of dllimports?
I have declared hidden variables and method names hidden but they are still displayed.
Do I need to find the right assemblypath?

Thanks you!

No plan to investigate further on such.
Pull requests are welcome.


get_system_dir does not return correct media folders in Android

Tested versions
Tested on 4.2.2
System information
Tested on Android 11 and Android 14
Issue description
Calling OS::get_system_dir(dir = SystemDir::SYSTEM_DIR_PICTURES,  shared_storage = false) on Android returns the following path:
/storage/emulated/0/Android/data/org.godotengine.gamename/files/Pictures
This is not a very useful location, as files stored in this location are not visible in the phone's gallery and are in general not accessible for the user.
If instead a path on media is used, the pictures are available in the gallery and are accessible to the user. I am currently hardcoding the following path and it works correctly:
/storage/emulated/0/Android/media/org.godotengine.gamename/gamename
I'm don't have much knowledge in Android, but I think this should be the path returned by the get_system_dir function.
Steps to reproduce
Print the returned value of OS::get_system_dir(SYSTEM_DIR_PICTURES) in an Android phone.
Minimal reproduction project (MRP)
N/A

Doesn't scoped storage make this impossible since Android 11?

Doesn't scoped storage make this impossible since Android 11? The user needs to grant explicit permission for every folder to be readable (let alone writable) outside of the app-specific private folder.

Yes. Actually Google's latest take on this is that Android presents a selection dialog to the user and only returns a path to the app which points to the media file selected by the user. This is asynchronous and the app needs to wait for the user to make their selection.
See https://developer.android.com/training/data-storage/shared/photopicker#add-dependency for details.

Doesn't scoped storage make this impossible since Android 11? The user needs to grant explicit permission for every folder to be readable (let alone writable) outside of the app-specific private folder.

Both folders I mentioned are app specific:
/storage/emulated/0/Android/data/org.godotengine.gamename/files/Pictures
/storage/emulated/0/Android/media/org.godotengine.gamename/gamename
They are specific to the app org.godotengine.gamename. The difference is that the second case it belongs to "media" and that makes it visible in the gallery. As I mentioned, I tested this both on Android 11 and 14, no extra permission is necessary and the image saved using Image.save_png method is visible to the gallery if I use the path with /media/ on it. That path however is not the one returned by get_system_dir.


[BUG] Cannot read properties of undefined (reading 'indexOf')

What happened?
Trying to start dev after creating an empty project throws an error.
Version
Latest
What OS are you seeing the problem on?
MacOSX
Node version
v21.0.0
What browsers are you seeing the problem on?
No response
Relevant log output
><EMAIL_ADDRESS>dev /Users/nikola/Projects/primal-web-extension
> plasmo dev --verbose

🟡 0      | Running command: dev
🟡 1      | TypeError: Cannot read properties of undefined (reading 'indexOf')
    at file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:82:1662
    at file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:3:461
    at file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:82:3161
    at file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:3:461
    at file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:158:499
    at file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:3:461
    at file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:158:7994
    at file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:3:461
    at file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:158:11611
    at async qg (file:///Users/nikola/Projects/primal-web-extension/node_modules/.pnpm/plasmo@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/plasmo/dist/index.js:158:12621)
🔴 EXIT   | This program will terminate in 3 seconds...
🔴 EXIT   | This program will terminate in 2 seconds...
🔴 EXIT   | This program will terminate in 1 seconds...
 ELIFECYCLE  Command failed with exit code 1.

(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

The issue is with the Node version. It doesn't work with the latest v21.0.0 but it works with the previous version v20.8.1.


Fix loop var declaration

https://github.com/cython/cython/commit/584078a371ef412554a2cd0b96fcc20fb3b9c476 looks like it introduced a minor typo.

CC @scoder

Thanks


RECORD has incorrect file mode in generated archives

The file mode is incorrect for generated files:
$ zipinfo dist/*.whl
...
?rw-r--r--  2.0 unx      104 b- defN 16-Jan-01 00:00 wheel-0.38.4.dist-info/entry_points.txt
-rw-r--r--  2.0 unx     1107 b- defN 23-Jan-27 13:33 wheel-0.38.4.dist-info/LICENSE.txt
?rw-r--r--  2.0 unx       81 b- defN 16-Jan-01 00:00 wheel-0.38.4.dist-info/WHEEL
?rw-r--r--  2.0 unx     2051 b- defN 16-Jan-01 00:00 wheel-0.38.4.dist-info/METADATA
?rw-r--r--  2.0 unx     2747 b- defN 16-Jan-01 00:00 wheel-0.38.4.dist-info/RECORD

Notice the file flag is ? for all the generated files - stat.S_IFREG is not being set.
See https://github.com/pypa/wheel/issues/506, where this was just fixed in wheel (though it only had an issue with RECORD, while flit-core has this for more files). The fix was in https://github.com/pypa/wheel/pull/511. It should be fairly straightforward to apply the same fix here - 0o664 | stat.S_IFREG should be used instead of 0o664 here: https://github.com/pypa/flit/blob/532bdaabafe0660b6c7494d8043ec4fa15b286a8/flit_core/flit_core/wheel.py#L140
Or it should be or'd in later, like when this function is called or inside this function: https://github.com/pypa/flit/blob/532bdaabafe0660b6c7494d8043ec4fa15b286a8/flit_core/flit_core/wheel.py#L35-L37
Actually, that function has a comment about making it a regular file by setting an extra bit but literally doesn't do it (and not sure what 0xFFFF mention is, it's 0x8000, and and'ing with 0xFFFF is done elsewhere). So that's where it probably should be done. But then again, that function runs on the actual regular files too, but those should be already regular files.
This doesn't "break" anything as far as I know, it's just slightly ugly with the ?'s and technically incorrect.

I can make a PR if I know which of the three places the | stat.S_IFREG ideally should go. This isn't tested in tests, I checked by adding it to the _set_zinfo_mode function.

I'd say it should go inside _write_to_zip(). That function always makes regular files, so there's no need for it to be part of a parameter (in fact it looks like the mode= parameter is unused anyway).
_add_file seems to be able to call _set_zinfo_mode on directories as well, so setting the 'regular file' bit inside that helper function could be wrong. At a glance, I think it might never be used on a regular file, but still.


[MRG] moved cheatsheet pdf to sphinx docs

closes #147

Coverage remained the same at 89.737% when pulling b7537f074ecc02ead2d1f05e481db8f6f563db5d on cheatsheet into 328f22af6cd2ae3ba955f3aa3278061d826d5f20 on master.


feature: wrappid-module template versioning

Description
Currently there is no template versioning, so there is no way to know which template version user's wrappid-module is using.
Proposed solution
Use wrTemplateVersion key in wrappid.meta.json

Closing as done.


WordPress Enlighter and Oxygene, Swift

WordPress Enlighter will include support for RemObjects Oxygene and Swift?
Thanks,
Best regards,
Jose A.

Dear Jose,
Swift support is projected for the next release.
Oxygene is not very popular - if someone creates a language support file it can be added to a future release.


Problem to view the application

Community, I have the following problem, it does not display the screens correctly. I have looked for solutions but have not been able to find. If there is someone who can guide me to solve it. In the meantime I leave you an image that shows the indicated problem. Thank you :

It's looks less doesn't compiled well. Do you have node js and npm? If not, install node.js LTS version.

Well, I'm going to install it, Thanks !!

It's seems like fixed. I close this issue 👍


ERR_FILE_NOT_FOUND (-6) loading

Uncaught (in promise) Error: ERR_FILE_NOT_FOUND (-6) loading 'file:///xxxx/electron/xxxxxxx/node_modules/_electron<EMAIL_ADDRESS>    at rejectAndCleanup (electron/js2c/browser_init.js:205)
    at Object.failListener (electron/js2c/browser_init.js:205)
    at Object.emit (events.js:315)

"vue-cli-plugin-electron-builder": "^2.0.0-rc.6",
"electron": "^11.0.0",
"vue": "^2.6.11",
"electron-prompt": "^1.6.2",

Hi, first things first, please submit a short code that can reproduce the error you sent along with a description. Also this looks like a duplicate of #64
I'll close this and reopen if new information is brought


implement correct og tags to all pages on headless cannabis

The social metadata needs to be valid on all pages of the headless version of cannabis
Step 1: Get the metadata to be available in the WP API like it is on drought (assigned to @chachasikes)
Step 2: Use metadata in headless cannabis templates (feel free to reassign ticket to @aaronhans)

Removing from the headless cannabis go live milestone because they are no longer blockers for that step

Need to merge the updated code to headless main & coordinate with plugin update.


Internationalization of Account Currency

This PR aims to have dynamic Account Currency:

replaced _static string _ by a property on CashBook.AccountCurrency
added AccountCurrency property to Brokerages passed in constructor
all references are now from Cashbook instances instead of static class field
some references are with helper:
- Portfolio.CashBook.AccountCurrency
- _algorithm.Portfolio.CashBook.AccountCurrency

Closing this for now as it's gotten bigger than expected. Is there a way we can apply these changes incrementally in smaller PRs? Perhaps we can have a PR for each class using CashBook.AccountCurrency that refactors it to receive the value in a non-static way (ctor arg/method arg).


[beta] updated translation for "basic" auth

Description
This is to address a review on pr #1639 for translations. The "HTTP Basic Auth" translation should be replaced with "Basic".
The translation isn't in all languages. I updated the ones that were fairly obvious to me, but a few need review.

[ ] DE - there is a one word translation for "Basic Auth", I left it.
[ ] PL - same
[ ] RU
[ ] and UK - the initial translation didn't seem to be accurate, just "authorization", I leave this for someone who knows well. The translated key also was wrong (was Basic Auth instead of HTTP Basic Auth... so nothing broken here :) )
[x] ZH CN
[x] and ZH TW
[x] and KR - Could use some help here as well.

https://github.com/louislam/uptime-kuma/pull/1639#pullrequestreview-1006682330
Type of change

Translation update

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

I'm just going to tag the last few committers on the lang files to see if they have input on the languages in question. Help is appreciated :)
@MarkusDick
@NixNotCastey
@sovushik
@deni7
@dhfhfk
@AnnAngela
@SiderealArt

The translation for "Basic" in zh-tw is "基本".

In ko-KR, "Basic": "기본 인증", is better.

@louislam There is also no translation for the section title "HTTP Authorization", do you think the section should just be called "Authorization"?

@louislam There is also no translation for the section title "HTTP Authorization", do you think the section should just be called "Authorization"?

It sounds good.👍

I fixed the ru and uk keys for the HTTP Basic Auth trans as well. Let me know if anything else should be tweaked :)

I fixed the ru and uk keys for the HTTP Basic Auth trans as well. Let me know if anything else should be tweaked :)

Thanks, it's good to me.

The translation for german looks good to me.


Bug in Phaser.Timer w/r/t game.time.slowMotion

Here's a test-case: http://jsbin.com/nutavu/edit?js,output
There's an effect in my game where the player can make the game run in slow motion. I just recently added gargoyles that fire a number of fireballs after a delay.
When the game is running in slow motion the timer doesn't take it into effect, so my fireballs stack up a lot closer than they did without it.

Hmm this is an interesting one. Part of me thinks that if you ask a Timer to last 4 seconds, it should last 4 seconds regardless. But at the same time it makes sense it should honour slowMotion too. I can see cases where both are equally desired outcomes, one neither better than the other.

It's why I hesitated posting this as a bug, yeah. Like tweens, maybe, four seconds is four seconds. But it is kinda annoying. :)

It's like say you got an in game power-up that gave you slow motion for 3 seconds. You'd need a non Phaser Timer to calculate the expiration of the power-up (especially if you tweened the slowMotion value to make the game ease into and out of slow motion). Like I said, I half agree with you and can equally see the need to not 'fix' it. At the very least it should be in the docs though.

This is 'correct' behavior because time.event is real-world (wallclock) time, not physics time.
The documentation isn't always the best at the making the delineation.

Example: http://jsbin.com/ditecudewi/edit?js,output

Works for me. :+1:

Alternatively, because tweens run in physics time, a tween (with a 'dummy object') could be created and the event can be handled.

Forgot to close this one, docs update has been merged. Bingo.


Google 2-step authentification

When adding 2step authentication to your Google Account, it is not possible to add this account to rainloop as it looks like rainloop does not work with the "App Password" yet.
Screenshot
See:

App Password BY GOOGLE
Using sign-in Apps BY GOOGLE

I have tested it right now and it works correctly for my gmail account with "App Password".

Interesting.
I did add an "app" manually to the app-password list, but i never get asked about the App Password when I try to add my gmail account to rainloop
.


INI Conversion tool is closed-source, Windows-only

I am trying to convert some INI files that were working with the old vpnmaster/homeassistant-custom-components custom component, but the tool to do so is closed-source, and Windows only.

Can you please publish the source to the conversion tool in tools/SmartIR_INI_Converter.zip?
A large proportion of the HomeAssistant community don't run Windows (I run Linux, I know quite a few people use MacOS) - is it possible to port this tool to something more cross-platform?

Thanks

No. The purpose of this tool is to quickly convert the old INI files. The application is written in classic .NET and requires Visual Studio to be installed by the user. The publication of the code makes no sense since there will always be a compiled file to quickly make the user work. Publishing the code makes no sense since there will always be a compiled exe for the user to quickly get the job done. For someone who worries there are too many .NET decompilers.

2, Not for now. Participation in this is welcome. I spend a lot of my time on this project mainly to answer questions and fix issues. I'm trying to be as quick as I can. I would like to mention that all the old INI files have already been converted. For users who were experiencing conversion problems and did not want to share their files, I was glad I could do it for them.

Please feel free to contact me if you need any further information otherwise please close this issue.

Hi, sorry if I came across as demanding, and thank you for your work. I've managed to get my custom INI files working, will clean them up a bit and post them later


Update embedded forms behaviour

Summary
Update embedded forms behaviour
Ticket Link
None
Related PRs:
Webapp: https://github.com/mattermost/mattermost-webapp/pull/6804

Codecov Report

Merging #38 (a9fc99c) into master (0446359) will decrease coverage by 0.38%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   14.73%   14.34%   -0.39%
==========================================
  Files          20       20
  Lines         672      690      +18
==========================================
  Hits           99       99
- Misses        571      589      +18
  Partials        2        2

Impacted Files
Coverage Δ

server/apps/call.go
12.00% <ø> (ø)

server/apps/impl/proxy.go
0.00% <0.00%> (ø)

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 0446359...a9fc99c. Read the comment docs.

Can we add additional fields to the helloapp survey form to include a button field and a submit field?

@mickmister Slight changes were made in the webapp to finish tying the dots. You can see them in this PR: https://github.com/mattermost/mattermost-webapp/pull/6804
Also, the current approach is more than welcomed to be discussed.

The effort in this PR is mostly the "UpdatePost" response, which will be removed. Closing this PR.

The effort in this PR is mostly the "UpdatePost" response, which will be removed. Closing this PR.


Future of glibc support

In #32, CentOS 7 support was requested, which we now use for building glibc shared librararies for Linux. CentOS changed its release cycle to streaming releases and the latest CentOS 8 is discontinued. CentOS 7.9 will be supported until end of 2024. Also CentOS 7 only supports x86-64, i.e. we would need different builder systems for x86_64 and ARM.
So the question is if we find a more future proof build image, that uses a low version of glibc and ideally has native support for AArch64.
@westaking what systems are you using these days? Is CentOS still used? If so, which version?

It seems like CentOS 7.9 is still fine to be used for the glibc build for x86_64 until June 2024.
For the corss-compilation of the glibc/aarch64 build it would be good to migrate away from CentOS as we have to rely on some old third party builds of glibc since the cross-compilation tooling is only maintained for kernel builds. Looking at https://jensd.be/1126/linux/cross-compiling-for-arm-or-aarch64-on-debian-or-ubuntu, it seems like Debian or Ubuntu are a better choice as they have the cross compilation tooling available.

As stated in https://serverfault.com/a/1161831, CentOS 7 is dead now. We dan't use it anymore as creating builder images now fails with

0.470 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

Debian 12 leads to a glibc requirement of 2.34.
Debian 11 leads to a glibc requirement of 2.28, using this for now.


Added some popular and renowned sources for ML

Added 3 renowned Links for learning ML with description.

@vggithub7 good work.


can this be used as a java sdk (without android)

hi, I've been working on a matrix client for the desktop. It's inspired by https://github.com/UprootLabs/unplug and written in kotlin/java.
i used retrofit to interact with the rest api, then i discovered this sdk
can i use it? please give me some pointers

i never tested it with java environment. Many things could be reused so please create branch for this       sdk to include the java sdk. I would be happy to add jsk support.

I came here with the same idea in mind. After a first look at the source code, I was a little bit surprised to see Fragments and Views in the source code. From the description of this project ("The Matrix SDK for Android wraps the Matrix REST API calls in asynchronous Java methods and provides basic structures for storing and handling data.") I would have only expected backend code.
@ylecollen Did I understand you correctly, that you are proposing to create a separate branch, in which all the Android stuff is removed? I would be willing to spend some time on this. Perhaps I will create such a branch. Could you elaborate on what you mean by "I would be happy to add jsk support?".

@MrCustomizer
The matrix SDK has been cleaned : only 2 fragments and few views are left.
They have been included to provide the minimum UI items to manage messages list.
We never thought to support all the java platforms with this SDK : it was only design for the android platforms (it was the same for the IOS SDK which was only IOS compliant before being able to run on MacOs).
It would be nice to have a jar file for all the java platforms  + aar dedicated to android.
But, the call libs are only compiled for android by now so it is not so easy to have the java ones;
"I would be happy to add jsk support" -> I would be happy to add jdk (java) support".

Guys,
your should join "https://riot.im/develop/#/room/#riot-android:matrix.org".
i did not see your questions here because more of them are asked in the Riot git (https://github.com/vector-im/riot-android)

Oh, that's interesting news. Though lately, I've been focusing my attention on https://github.com/kamax-io/matrix-java-sdk as I wouldn't have thought removing the Android dependencies would be a task which could be accomplished so easily. That SDK is still very basic, but as I already have invested significant time in improving this SDK and as I have even begun writing a client based on it, I will stay on this path for now.

The answer is no, there are other pure Java SDK. This one will stay an Android SDK


re-added link to leveldb cache

I updated prerender-level-cache for prerender >= v5.0.0, so you might judge it worth re-adding to the readme :)

Sorry I never responded here! We're going to have links to our basic caching capabilities in the readme for now and leave all other plugins for people to search for. I'll let you know if we change our mind on that in the future.


Timer Problem

Yesterday I open #115

You forgot to add
unset($func,$args);

It is very important part , As you know anonymous functions is Closure object , Also until you have a reference to object it remain to memory
So if you pass a variable in $args that refer to Closure It remain in memory , It is safe to use unset

I have tested that and conclusion is there is not need add unset codes. Here the codes.
<?php
$c = str_pad('', 10240000, 1);
$a = function()use($c){
    $a = $c."\n";
    //unset($c);
};
$a();
echo memory_get_usage(true)."\n";

Run this code
class A{
	public $a;

	function __destruct(){
		echo "This object(A) removed from memory
\n";
	}
}

class B{
	public $B;

	function __destruct(){
		echo "This object(B) removed from memory
\n";
	}
}

$a = new A;
$a->a = function()use($a){

};

$b = new B;
$b->b = $a;

unset($a,$b);
echo "You think both \$a and \$b are freed from memory But \$a is in memory
\n";

So it is safe to use unset inside anonymous function
As you see object of class A is in memory and destructed in shutdown

I tried the codes below and $a still in memory. unset is no need in function context.
Since  version 5.3  PHP has its own GC and unset is not required in function context.
Here is the link for PHP GC.
You can call gc_collect_cycles() after code unset($a,$b); then $a will destruct.
<?php
class A{
        public $a;

        function __destruct(){
                echo "This object(A) removed from memory
\n";
        }
}

class B{
        public $B;

        function __destruct(){
                echo "This object(B) removed from memory
\n";
        }
}

$a = new A;
$a->a = function()use($a){
    unset($a);
};

$b = new B;
$b->b = $a;

call_user_func($a->a);

unset($a,$b);
echo "You think both \$a and \$b are freed from memory But \$a is in memory
\n";


Add top K as Self Query Retriever Get Documents Input

Add Top K as Optional Parameter for Self Query Retriever
Adding k as a parameter to Self-Retriever's Get Relevant Documents method. This allows users to specify how many documents they want it to retrieve during a search. This is a fixed PR from previous PR: https://github.com/hwchase17/langchain/pull/4297
Who can review?
Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:

@hwchase17 @dev2049
Two questions to figure out here:

We don't have benchmarks anywhere. Adding another parameter makes the task more complex which means that performance will likely decrease. It might be by a tiny amount, but we don't know.

(Less important) the existing parser can be generalized right now to yield a single "program" rather than be broken into a query, k, and a program for filtering. It'll clean up some of the code, but same bench marking problem. This is less of an issue since the implementation can be refactored at later time.

@hwchase17 @dev2049
Two questions to figure out here:

We don't have benchmarks anywhere. Adding another parameter makes the task more complex which means that performance will likely decrease. It might be by a tiny amount, but we don't know.
(Less important) the existing parser can be generalized right now to yield a single "program" rather than be broken into a query, k, and a program for filtering. It'll clean up some of the code, but same bench marking problem. This is less of an issue since the implementation can be refactored at later time.

Are there existing benchmarks for other retrievers? Do you want me to look into adding one?

@eyurtsev @hwchase17  any feedback for this? It would be really helpful to add this parameter so I can use Self-Retriever in my application

@hwchase17 @dev2049
Two questions to figure out here:

We don't have benchmarks anywhere. Adding another parameter makes the task more complex which means that performance will likely decrease. It might be by a tiny amount, but we don't know.
(Less important) the existing parser can be generalized right now to yield a single "program" rather than be broken into a query, k, and a program for filtering. It'll clean up some of the code, but same bench marking problem. This is less of an issue since the implementation can be refactored at later time.

i think its actually beneficial to have k separate - otherwise it will get bundled up with other parameters. unless we want to do some complicated decoding....


updated code to purescript 0.12 and Generic.Rep

ok this includes a lot of (sadly breaking) changes:

updated packages to the newest ones for PureScript 0.12
uses purescript-argonaut-generic (right now my own fork - I hope they include this or something similar soon)
uses Aff
I think it's better to have a version of affjax (called it ajax here) that is close to your original version but there is one change: it will use argonaut-generic instances to decode the JSON right there - so we don't need getResult any more - I think it's the obvious use case here
it also drops most of the copied code and uses affjax directly - only FFI left is encodeUriComponent and unsafeToString - mostly because I could not find the first any more and I'm not sure what the second is exactly used for at the moment

sadly there are no tests and I'm not 100% certain that this code is working
so this is more or less WIP but I need this to continue on servant-purescript and I wanted to have your input/feedback on that
best regards,
Carsten

I believe the second is used for error reporting, if I remember correctly.
If we get the JSON directly, how do we report errors if something goes wrong?

I should probably write some test cases but I hoped to use this kind of error
https://github.com/eskimor/purescript-servant-support/pull/15/files#diff-4dd6048806498efe169a5f3a62c9672bR59
for those kinds of errors

Sounds reasonable.

ok, this one is needed, what is the situation with this, I will test with the servant-purescript PR now

Any updates on the update? :-)

any news?


[Fix] curve25519-dalek security issue.

Summary of changes

Changes introduced in this pull request:

Fixes a security audit issue with curve25519-dalek

Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

This is a duplicate of https://github.com/ChainSafe/forest/pull/4421


Ensure all reference channels are used during final average referencing

PR Description
Closes #90. This PR fixes the issue by making reference_channels a local variable within Reference.robust_reference() so that it doesn't affect the self.reference_channels variable that's used to select reference channels during Reference.perform_reference().
As an aside, is there any situation where it would make sense to only use a subset of all channels for final average reference calculation, post-interpolation? Wondering if the whole reference_channels parameter is a carry-over from MatPREP that only exists because EEGLAB doesn't have as nice a method of marking non-EEG channels as MNE. In MatPREP, channels are excluded from being sources for interpolation if they're not specified in the "reference channels" parameter, whereas PyPREP just uses all non-bad EEG channels, but I'm not sure if that would ever actually be a problem.
Merge Checklist

[ ] the PR has been reviewed and all comments are resolved
[ ] all CI checks pass
[ ] (if applicable): the PR description includes the phrase closes #<issue-number> to automatically close an issue
[ ] (if applicable): bug fixes, new features, or API changes are documented in whats_new.rst

Codecov Report

Merging #92 (9a2ea4a) into master (6abe0bc) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #92   +/-   ##
=======================================
  Coverage   98.51%   98.51%
=======================================
  Files           7        7
  Lines         675      675
=======================================
  Hits          665      665
  Misses         10       10

Impacted Files
Coverage Δ

pyprep/reference.py
96.55% <100.00%> (ø)

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 6abe0bc...9a2ea4a. Read the comment docs.

Also, check out the difference this makes in the MATLAB difference plot for the full PREP example in the docs. That example's not even running in MATLAB-strict mode, either!
Before this PR:

After:

I don't think so 🤔 you wouldn't even be able to call it an average reference if not all channels that are part of the data are averaged with respect to all of them.

That's what I thought. Wondering if that part of the default API (i.e., needing to specify "referenced" and "rereferenced" channels manually in the params dict instead of just defaulting to all EEG channels) might be worth changing before PyPREP officially leaves its "experimental" stage.


Database#execute returns no rows if multiple SQL statements in one command

Detailed description
Hi,
I'm using sqlite3-1.3.8 under ruby2.0.0-p195
If you put multiple SQL statements into a single Database#execute statement, then the result set returned is empty.
This does not match the behaviour on the Sqlite3 command line.
db=SQLite3::Database.new('test.db')
db.execute 'CREATE TABLE IF NOT EXISTS test( id INTEGER, val TEXT)'
row=db.execute "INSERT INTO test(id, val) VALUES (1, 'foo'); SELECT last_insert_rowid() AS id"
pp row  # => []
row=db.execute "SELECT last_insert_rowid() AS id"
pp row  # => [[1]]
I'm not sure if this is a feature, a bug in the ruby code or the underlying sqlite3 C API.
Cheers
Steve

Pretty sure you should use the execute_batch method for that dude....

execute only supports one statement at a time.  If you need to do more statements, then use execute_batch or just call execute more than once.


Getting "Something went wrong. Please try again" on clicking task/fetch button for opening modal

On inspect console, it is throwing this error -

Same thing is working for other accounts except for mine. On clicking this, it will open a modal in which we need to provide some dates nothing else.
Working for different account -

@madhvimit123, was this previously working and only recently stopped (and when?)? Or, are you trying to build this as new into your bot and isn't working?
Could you also please post your manifest.json and the code you are using for the task module?
Lastly, which SDK and version are you using? If it was previously working, did it stop as a result of the change in SDK?

It was working fine before. I have used this feature from approx 3-4 months. Yesterday, it stopped working suddenly. I am using v4 and botbuilder. I have not updated my SDK.
manifest.json -

{
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
"manifestVersion": "1.5",
"version": "1.0.0",
"id": "xxxxxxxx-xxxx-xxxx-a21f-ef5e06b45ca7",
"packageName": "com.example.abc",
"developer": {
"name": "SpringRole",
"websiteUrl": "https://abc.example.in",
"privacyUrl": "https://abc.example.in/privacy-policy",
"termsOfUseUrl": "https://abc.example.in/terms-and-conditions"
},
"name": {
"short": "TestingBot",
"full": "TestingBot"
},
"description": {
"short": "TestingBot",
"full": "TestingBot"
},
"icons": {
"outline": "outline.png",
"color": "color.png"
},
"accentColor": "#FFFFFF",
"bots": [
{
"botId": "xxxxxxxx-xxxx-xxxx-a21f-ef5e06b45ca7",
"isNotificationOnly": false,
"scopes": ["team", "personal"],
"commandLists": [
{
"scopes": ["personal"],
"commands": [
{
"title": "me",
"description": "See your profile summary"
},
{
"title": "help",
"description": "Know what you can do with the bot"
}
]
}
],
"supportsFiles": false
}
],
"permissions": ["identity", "messageTeamMembers"],
"validDomains": [],
"webApplicationInfo": {
"id": "xxxxxxxx-xxxx-xxxx-a21f-ef5e06b45ca7",
"resource": "https://abc.example.in"
}
}

@madhvimit123, looking at your manifest.json, I see two issues though I don't know if either will fix your current problem (without you testing).
First, the scopes you list for your bot don't match the scopes you list under the commandLists. Looking at this sample, you will see that they match.
Second, you will see that, according to the manifest.json schema, it says the id in webApplicationsInfo should be the "AAD application id of the app". However, you appear to have it set to the same value as your botId (i.e. your Microsoft Application Id).
Correct both of those and then try again. If the issue persists, can you tell me the version of the SDK you are using (v4.9.3, v4.8.0, etc.)? And, could you post your bot code that represents the action(s) taken in the modal?

Closing due to inactivity


Translate job-group properly

BeakerJob use job-group key instead of group

Block  tmt mr: https://github.com/teemtee/tmt/pull/3397 :)

Hi Dav, thanks for your review, I have updated the commit message, I guess we are good now, and sorry for failing to note that before I submit this mr :sweat_smile:

Hi @skycastlelily
Thank you for your changes. In principle LGTM.
The reason behind this change is that previous key was wrong, right?

The reason behind this change is that previous key was wrong, right?

Yes ,
BeakerJob use job-group key instead of group.
I have moved the above line here,hope we can get rid of the PR header format error:)

LGTM. Nevermind about the failing check, idk why it's still failing


Nest lambda expression and implicit type annotation in func definition

Recently I plan to translate some code in PLFA and Lean's tutorial into Aya. I believe this is helpful to my understanding of Aya and it can also be seen as a test for Aya. These may not be serious issues and maybe low priority, but I'll post them for now anyway.
The following code doesn't type check:
def fun1 => \x => \y => ifElse (not y) (x + suc zero) (x + suc (suc zero))
Do we support nest lambda expressions now?
Another one is:
def fun3 x => ifElse true (x + suc zero) (x + suc (suc zero))
The error msg is :
40 | def fun3 x => ifElse true (x + suc zero) (x + suc (suc zero))
Error: The name `x` is not defined in the current scope

I'm not sure where the problem is in this one. BTW, if this is out of expectation, I can try to fix it.

Recently I plan to translate some code in PLFA and Lean's tutorial into Aya. I believe this is helpful to my understanding of Aya and it can also be seen as a test for Aya. These may not be serious issues and maybe low priority, but I'll post them for now anyway.

:+1:

The following code doesn't type check: def fun1 => \x => \y => ifElse (not y) (x + suc zero) (x + suc (suc zero))
Do we support nest lambda expressions now?

I expect this to be fixed by #160 (search funExt2 in the test library)

Another one is: def fun3 x => ifElse true (x + suc zero) (x + suc (suc zero)) The error msg is :
40 | def fun3 x => ifElse true (x + suc zero) (x + suc (suc zero))
Error: The name `x` is not defined in the current scope

Try def fun3 (x : _) => ... or def fun3 => \x => ...

I'm not sure where the problem is in this one. BTW, if this is out of expectation, I can try to fix it.

It should be obvious from my above answers. Lmk if you have further questions

Note that #160 is being fixed right now. I expect your code to work with future main branch (after like a few minutes)

Don't worry, I'm far from productive :rofl: .  I guess I'll just work on the basis of the future main branch.

Don't worry, I'm far from productive :rofl: .  I guess I'll just work on the basis of the future main branch.

Does it work?

def fun3 => \x => ... works while def fun3 (x : _) => ... doesn't. The error is
def fun3 (x : _) => ifElse true (x + suc zero) (x + suc (suc zero))
              ^^

Error: Unsolved meta _0

def fun3 => \x => ... works while def fun3 (x : _) => ... doesn't. The error is
def fun3 (x : _) => ifElse true (x + suc zero) (x + suc (suc zero))
              ^^

Error: Unsolved meta _0

Try the other code

def fun3 => \x => ... works while def fun3 (x : _) => ... doesn't. The error is
def fun3 (x : _) => ifElse true (x + suc zero) (x + suc (suc zero))
              ^^

Error: Unsolved meta _0

I think it's fine. What about fun1?

fun1 passed now!
But why is the error of  fun3 above fine? It seems to be a legal expression to me.

fun1 passed now!
But why is the error of  fun3 above fine? It seems to be a legal expression to me.

Question: consider the following which works with current behaviour
def succ Nat : Nat
| a => suc a

You're asking Nat to be parsed as a binding

Who knows~ not me

fun1 passed now!
But why is the error of  fun3 above fine? It seems to be a legal expression to me.

It's because signatures and bodies are checked separately. Maybe we should enhance the SCCTycker to disallow recursion in functions with an expression body and check its signature along with its body

/cc @imkiva

check its signature along with its body

in this case, the fun3 lives in an SCC which only contains fun3. So its body and signature are checked together.

Yes, but can we invoke a special function in this case?

@ice1000 of course. it is pretty simple

@imkiva How to do it? I am clueless


186631276 patch typeahead menu so it does not expand card row

PT-186631276
This changes the styling of the type-ahead dropdown in the data card deck so that the menu appears as a menu typically does - in a separate pane from the deck "row".
It does not move the menu a portal, so the element is still within the calculated bounds of the tile but as a result will also potentially be in a state in which a user has to manually expand the height of the tile to see the full menu.  This is the approved state for this iteration.

With this change, if there are a lot of items in the menu, they are cut off at the bottom of the tile so you cannot pick the later ones. Is there a way to adjust the z-index so that the menu can extend beyond the tile bounds?

@bgoldowsky, yes thanks for picking up on that.  So, this is a "patch" requested by the product team, and they are aware that this is the behavior (it's similar to what happens currently in long menus in dataflow).
My understanding from the graph implementation is that our standard way of handling this ( a menu internal to a tile that needs to display "above" other tiles) is to put the menu panel itself in a react portal, so that it's dom position is outside the tile's dom position.   That is a longer bit of work and may be part of a larger adjustment to how this element behaves, so the team expressed a preference for this behavior in the immediate term.
That said, I did double check and confirm that just forcing a gigantic z-index number does not work.

My understanding from the graph implementation is that our standard way of handling this ( a menu internal to a tile that needs to display "above" other tiles) is to put the menu panel itself in a react portal, so that it's dom position is outside the tile's dom position. That is a longer bit of work and may be part of a larger adjustment to how this element behaves, so the team expressed a preference for this behavior in the immediate term.

FYI: putting the menu in a React portal is pretty simple and doesn't need to be "part of a larger adjustment".

My understanding from the graph implementation is that our standard way of handling this ( a menu internal to a tile that needs to display "above" other tiles) is to put the menu panel itself in a react portal, so that it's dom position is outside the tile's dom position. That is a longer bit of work and may be part of a larger adjustment to how this element behaves, so the team expressed a preference for this behavior in the immediate term.

FYI: putting the menu in a React portal is pretty simple and shouldn't need to be "part of a larger adjustment".

Good to know, thanks, @kswenson .  I suppose I have an association of complexity with portals since the first time I worked with one was in some context that was not simple.   But I see from glancing through that we should be able to do this with createPortal(<ul>...</ul>, documentContent). That said, I still think it should wait for when we are in there making some changes planned for the typeahead.


Environment variable CC is ignored

Forcing a specific C compiler by setting the environment variable CC does not work as intended, as the following error occurs at compilation stage:
$ make CC=gcc8
[...]
CC    build/host/mrblib/mrblib.c -> build/host/mrblib/mrblib.o
AR    build/test/mrbgems/mruby-test/mrbtest.a
ar: warning: creating /tmp/mruby/build/test/mrbgems/mruby-test/mrbtest.a
AR    build/test/lib/libmruby.a
ar: warning: creating /tmp/mruby/build/test/lib/libmruby.a
AR    build/host-debug/lib/libmruby.a
ar: warning: creating /tmp/mruby/build/host-debug/lib/libmruby.a
AR    build/host/lib/libmruby.a
ar: warning: creating /tmp/mruby/build/host/lib/libmruby.a
LD    build/test/bin/mruby-strip
sh: gcc: not found
rake aborted!
Command Failed: ["gcc"  -o "/tmp/mruby/build/test/bin/mruby-strip" "/tmp/mruby/build/test/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.o" "/tmp/mruby/build/test/lib/libmruby.a"  -lm -lreadline -lncurses ]

As a workaround, occurances of gcc in tasks/toolchains/gcc.rake have to be changed to the desired compiler executable, for instance gcc8.

How about as follows?
$ make CC=gcc8 LD=gcc8

Another idea is the following change:
diff --git a/tasks/toolchains/gcc.rake b/tasks/toolchains/gcc.rake
index 4929811c..f304b2a0 100644
--- a/tasks/toolchains/gcc.rake
+++ b/tasks/toolchains/gcc.rake
@@ -22,7 +22,7 @@ MRuby::Toolchain.new(:gcc) do |conf, _params|
   end

   conf.linker do |linker|
-    linker.command = ENV['LD'] || 'gcc'
+    linker.command = ENV['LD'] || ENV['CC'] || 'gcc'
     linker.flags = [ENV['LDFLAGS'] || %w()]
     linker.libraries = %w(m)
     linker.library_paths = []

Setting the linker as you describe does the job. Thank you.


ModuleNotFoundError

After the changes in python 3.10.3 this new error has been creating an issue for the dataStax Library. I will try to fix this issue ASAP, meanwhile any help regarding this issue will be appreciated.

#15 this must fix it. Just noticed that the private directories were not added in the distribution which caused the module not to be found
Fix:
Added the directory paths inside setup.py > setup > packages


OpenLayers 5.x Update

As of OpenLayers 5.0, the Closure library and custom builds with the compiler will no longer be supported. Their entire codebase has been converted to ES6 modules, which cannot be used in tandem with goog.provide or goog.module.
In order to support upgrading to OpenLayers 5.x, OpenSphere would have to do the following:

Remove all dependencies on the Closure library.
Refactor all code to use ES6 modules.
Refactor the build to support ES6 modules.

This issue is intended to track conversation/decisions on this subject. This refactor would impact all downstream projects and require them to follow suit to maintain compatibility.
A less invasive alternative would be to use the compiled OpenLayers distribution as a library, like we do for other vendor libraries. Work required for this approach:

Remove all goog.require statements for OpenLayers classes.
Create externs for all OpenLayers API's we are using.
Remove/refactor all references to OpenLayers code that is not in their public API. This includes protected/private properties and function access, mixins, etc.
Repeat the above tasks for ol-cesium. As of 2.x, they are also using ES6 modules.

I did some testing with the production ol.js build of OpenLayers 5.x, which is a minified ES5 build with only their public API exposed. This approach is not straightforward, and will result in loss of functionality.
Many of our mixins to adjust/enhance OpenLayers behavior will be lost. There are a lot of minor losses, but these are the most significant:

Extensions to XML-based parsers (KML/GML/GPX) will break due to use of public functions that are not in the API, as well as extending their private parser maps. Our extensions add parsing support for things OpenLayers did not implement (mostly time components, but also KML network links, multi-tracks, and tours), along with a few bug fixes. Much of this could likely be PR'ed to them.
Many abstract classes are not in the API, so extensions and high level mixins are no longer possible outside of hacks like discovering the correct prototype with Object.getPrototypeOf.

Some examples of public functions/classes that are not in the API, and no longer available for use/mixins:

ol.format.XSD.*: Used by all of our XML parsers.
ol.ImageTile: We extend this to color tiles, and intend to use it for other filters like brightness and contrast in the future.
ol.source.UrlTile: We add a mixin to this to show loading spinners for tile layers, and prevent tiles from loading outside the view extent.
ol.events.*: We use these instead of the ol.Observable#on/un API calls because they take a context argument. Without a context argument, you have to use fn.bind(context) and keep a reference to the bound function for listener cleanup. It seems odd ol.events was omitted from the API, so we could suggest adding it.
*.EventType: Similar to the above, many event type enums are absent from the API.
ol.tilegrid.createForProjection: Used to create our default 512x512 tile grid.
ol.ResolutionConstraint.createSnapToPower: We override this to make zoom work how our users expect. There may be an alternative way to achieve this in OL.
ol.style.IconImage: We extend this to try loading failed icon requests with empty crossOrigin > proxy > default icon.

This is only scratching the surface of what we will encounter, and it already seems like the wrong approach.

To facilitate others in migrating code, it would be nice to use something like jscodeshift to write AST transforms to automatically update existing code. I started a new project to experiment with this and start creating these transforms.


Add the possibility to stop the server

As a developer, I want to stop the server so that I could free the port I have taken

This was resolved in the closed issue #1


Forbidden403Exception when creating new record

Seeding works fine, I have all the seeded records indexed and search returns valid results.
When I submit site form to add new record, it however fails on Forbidden403Exception from there:
vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:605.
The actual error is:
{"error":{"root_cause":[{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}],"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"},"status":403}
Any idea what is going on here?
It says index is read-only, however, during the seeding process, records are being added correctly. Is there a way to set index permissions? Thanks

Sorry for eagerly opening issue. Simple: curl -H 'Content-Type: application/json' -XPUT 'localhost:9200/<index>/_settings' -d '{ "index.blocks.read_only_allow_delete": null }' has fixed it.


Create LavenderFive.toml

Discord: schultzie | Lavender.Five Nodes#3231 & Jame𝕊 | Lavender.Five#7191 & Ertemann | Lavender.Five nodes#9832
Telegram: @dylanschultzie @reversesigh @Ertemann
Email<EMAIL_ADDRESS>Website: lavenderfive.com
Twitter: @lavender_five
Github: https://github.com/lavenderfive

Who Are We
Lavender.Fives Nodes is one of the most trusted Proof of Stake validators.
Our team is able to maintain industry-leading uptime through a variety of resources including dedicated servers around the world,
multiple 24/7 alerting systems in place, and always-ready backups. We are proud to say we serve as validators on more than 30 mainnets,
and are trusted by over 30,000 delegators.
We differentiate ourselves through our community engagement and contributions to the projects we serve.
This is achieved by authoring documentation for fellow validators, writing and promoting new governance proposals,
and helping squash code bugs before they become an issue.
Our Infrastructure
We take a pragmatic approach to running validators. At the most basic level we utilize bare metal servers with a minimum of 2 full nodes per network.
Each server is with a different providers, Hetzner, OVHCloud, or MEVspace, spread across multiple geographic locations.
In addition, we utilize Horcrux as our remote signing solution, with 3 signers. What this means in practice is ALL nodes have to go down, or 2 signers, before we miss a single block.
In addition to this, we utilize the following as our monitoring solutions:

Zabbix
Prometheus
Tenderduty

Our Contributions
We also contribute greatly to each ecosystem we're in.
As a few off the cuff examples:

Open source tooling for validators/node runners:

Core maintainer of the Cosmos Chain Registry
Ansible playbooks for Horcrux
Ansible playbooks for running nodes
Ansible playbooks for secure server setup
Tendermint slashing refund script

We provide public RPC, API, and gRPC endpoints for every network we have a presence on
We maintain state sync snapshots for every network
We provide a public seed node for each network we are on
Relaying: we are one of the most prolific relayers in the ecosystem, and have helped many relayers get their start (see the docs below)
We wrote the Gentx documentation for Kujira, Defund, Odin, Chihuahua, Dig, and more
We've either written or edited every document for Secret Network
We write documentation to help other node runners:

Relaying
Setting up TMKMS
Horcrux
Raising the Security Floor of the Cosmos

We commonly create proposals for networks:

Osmosis
Secret

A Showing of Networks
A small selection of the networks we support include:

Secret Network
Cosmos Hub
Osmosis
Evmos
Juno
NEAR
and many more!

merged manually into public-testnet-3


Convert subdirectories of ID directories

BeatSaverDownloader downloads levels into ID'd directories and extracts them inside, so this tool should traverse into directories with an ID and one subdirectory if -a is passed to allow converting all downloaded levels at once.

This is intended. You can either use shell commands to walk the directories and pass them as arguments, or use the --glob flag to match all info.json files.
eg: ./songe-converter --glob **/info.json CustomSongs


ENH: Rename ResampleInPlaceImage to TransformGeometryImageFilter

Community discussion and voting converged TransformGeometryImageFilter
is a more accurate name for the operation.
Renamed per the discussion: https://discourse.itk.org/t/simpleitk-euler3d-transform-adjust-image-origin-and-direction/3966/25

@hjmjohnson Yes, I am working on those now. I am prioritizing API changes to get them merged before the RC. Internal corrections and pipeline fixes are coming.

@hjmjohnson Yes, I am working on those now. I am prioritizing API changes to get them merged before the RC. Internal corrections and pipeline fixes are coming.

You are awesome!  Thank you.

I guess merge as soon as the CI comes back green?


remote origin url is being set wrong

(true)miriam at herman in ~/Sites/true/.pages on gh-pages
$ g remotes
origin	/Users/miriam/Sites/true/. (fetch)
origin	/Users/miriam/Sites/true/. (push)

I have to run git remote set-url origin <github-url> every time I build, before I can push.

@valeriangalliat maybe? 😇


change color of matching closing element

Hello, I am using you'r nvim config, I wont to thank you for the hard work, its my favorite setup, I have 2 things however that I can't change because I cant find where they are being defined..
where do you define the color change to the matching closing element like (, { and even jsx tags.
In addition where do you change the status line to show the line of the closing tag if it's offscreen?
Thank you again...

I found out its an external plugin


BACKLOG-19752 - Fixed failing PDI Integration Tests

@rmansoor @tkafalas

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -Dsurefire.runOrder=alphabetical -B -fn -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd site

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/it/java/org/pentaho/di/job/entries/copyfiles/JobEntryCopyFilesIT.java

Still Broken Tests:
org.pentaho.di.trans.steps.syslog.SyslogMessageConcurrentTest.concurrentSyslogMessageTest:
:red_circle: java.lang.Exception
java.lang.Exception: test timed out after 10000 milliseconds
	at org.pentaho.di.trans.steps.syslog.SyslogMessageConcurrentTest.createSyslogMessageTask(SyslogMessageConcurrentTest.java:119)
	at org.pentaho.di.trans.steps.syslog.SyslogMessageConcurrentTest.concurrentSyslogMessageTest(SyslogMessageConcurrentTest.java:67)

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.trans.steps.calculator.CalculatorMetaFunction

Branch Change: -8.7% :small_red_triangle_down:
Complexity Change: -3% :small_red_triangle_down:
Instruction Change: -0.7% :small_red_triangle_down:
Line Change: -0.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.csvinput.CsvInputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -2.1% :small_red_triangle_down:
Complexity Change: -2.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.insertupdate.InsertUpdateMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -2.2% :small_red_triangle_down:
Complexity Change: -2.6% :small_red_triangle_down:

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.ui.core.widget.TableView

Complexity Change: -0.3% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:
Line Change: -0.1% :small_red_triangle_down:
Method Change: -0.9% :small_red_triangle_down:

org.pentaho.di.ui.trans.step.BaseStepDialog.EditConnectionListener

Branch Change: -25% :small_red_triangle_down:
Complexity Change: -25% :small_red_triangle_down:
Instruction Change: -24.8% :small_red_triangle_down:
Line Change: -33.3% :small_red_triangle_down:
Method Change: -25% :small_red_triangle_down:

Note: The list of offending coverage changes extends beyond the presented results and was truncated to prevent reaching the comment size limit.


View newest members?

Chalk this one up as another way for people to find other people to whom to donate.  It would be nice if https://gratipay.com/explore/ had a "most recent users" option in addition to communities.
(If my issues end up in the wrong place, please let me know.)

@mattbk The community pages each have a "most recent users" column on the left. Does that get at what you're after?

I see that (after I started digging around Communities more), but I was wondering if there could be a "most recent users" on the main communities page.  It's interesting to dig around and see what kind of people are joining, regardless of community.

Sure, happy to leave this ticket open to track the idea. :)

I would support a more clear (new users) function.

Closed until communities (or tags) return. Until that happens, we really have no way of looking at ~user lists, only Teams on the front page.


The Webpack homepage doesn't handle all page widths properly

Bug report

What is the current behavior?
The "It's" in "It's That Simple" gets partially clipped by the left side of the page if the page width is between 768 and 1050 px.
If the current behavior is a bug, please provide the steps to reproduce.
1.) Visit the homepage
2.) Adjust the width of the page to something between 768 and 1050 pixels.

What is the expected behavior?
To be able to read the text on the page.

Other relevant information:
webpack version:
Node.js version:
Operating System:
Additional tools:
This was a little tongue in cheek, but I didn't want the issue getting deleted!
I would have submitted a pr, but I couldn't find the code for the website anywhere. Maybe I'm just blind?
Thanks!

Also, if there's a better place for this to go I'm happy to put it there.
Thanks again!

@webpack-bot move to webpack/webpack.js.org


Investigate why gunicorn processes are not terminated on the WPS server

Resolved with cron job cleaning up old processes.


Update init.py

Tasks are filtered by checking if task_filter parameter is in task name. Workers are filtered by checking if task_filter is exactly matching  one of the registered tasks. The requested change will make both task and workers to be filtered by checking if task_filter is a substring of task name.

👍 Merging your PR and adding you to Contributors list, thanks !


WIP: put/get

still todo:

salt (just for mutable - like bt dht?)
tests

(note: first pass on mutable put/get)

This'll be great to have, thanks! :D

almost there :) we prob need some tests also

LGTM on tests 🎉

tests incoming for whole module as new PR


[Release-1.27] - Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot

Backport fix for Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot

#10371

Validated on Version:
-$ k3s version v1.27.15-rc3+k3s1 (3ced503a)

Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
ubuntu
AMD
Cluster Configuration:
-3 node server
-1 node agents
Steps to validate the fix

Install k3s etcd embedded
Take etcd snapshot more than once at the same time
validate error response

Reproduction Issue:

 k3s -v
k3s version v1.27.15-rc1+k3s1 (102e42a5)
go version go1.21.11

k3s etcd-snapshot save & k3s etcd-snapshot save; sleep 5

WARN[0000] Unknown flag --write-kubeconfig-mode found in config.yaml, skipping
WARN[0000] Unknown flag --tls-san found in config.yaml, skipping
WARN[0000] Unknown flag --cluster-init found in config.yaml, skipping
WARN[0000] Unknown flag --protect-kernel-defaults found in config.yaml, skipping
WARN[0000] Unknown flag --selinux found in config.yaml, skipping
WARN[0000] Unknown flag --node-external-ip found in config.yaml, skipping
WARN[0000] Unknown flag --node-ip found in config.yaml, skipping
WARN[0000] Unknown flag --secrets-encryption found in config.yaml, skipping
WARN[0000] Unknown flag --kube-apiserver-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-apiserver-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-apiserver-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-apiserver-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-apiserver-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-apiserver-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-apiserver-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-apiserver-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-apiserver-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-controller-manager-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kube-controller-manager-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kubelet-arg found in config.yaml, skipping
WARN[0000] Unknown flag --kubelet-arg found in config.yaml, skipping
WARN[0000] Unknown flag --node-label found in config.yaml, skipping
WARN[0000] Unknown flag --node-label found in config.yaml, skipping
WARN[0000] Unknown flag --node-label found in config.yaml, skipping
FATA[0000] open /home/ec2-user/.rancher/k3s/server/token: no such file or directory
[1]+  Exit 1                  sudo k3s etcd-snapshot save

$ journalctl -xeu k3s.service | grep "snapshot"

Jun 21 20:23:09 ip-172-31-1-64 k3s[13884]: time="2024-06-21T20:23:09Z" level=error msg="Failed to take etcd snapshot: could not rename /var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390.part to /var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390 (rename /var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390.part /var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390: no such file or directory)"
Jun 21 20:23:09 ip-172-31-1-64 k3s[13884]: I0621 20:23:09.912916   13884 event.go:307] "Event occurred" object="local-on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390-c93945" fieldPath="" kind="ETCDSnapshotFile" apiVersion="k3s.cattle.io/v1" type="Warning" reason="ETCDSnapshotFailed" message="Failed to save snapshot on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390 on ip-172-31-1-64.us-east-2.compute.internal: could not rename /var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390.part to /var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390 (rename /var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390.part /var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-1-64.us-east-2.compute.internal-1719001390: no such file or directory)"

Validation Results:

k3s etcd-snapshot save & k3s etcd-snapshot save; sleep 5
 FATA[0000] see server log for details: Internal error occurred: etcd-snapshot error ID 11914
INFO[0000] Snapshot on-demand-ip-172-31-7-229.us-east-2.compute.internal-1719001372 saved.
[1]+  Exit 1                  k3s etcd-snapshot save

$ journalctl -xeu k3s.service | grep "snapshot"

 Jun 21 20:20:01 ip-172-31-7-229 k3s[13083]: time="2024-06-21T20:20:01Z" level=info msg="Starting managed etcd snapshot ConfigMap controller"
Jun 21 20:20:02 ip-172-31-7-229 k3s[13083]: time="2024-06-21T20:20:02Z" level=info msg="Reconciling snapshot ConfigMap data"
Jun 21 20:22:52 ip-172-31-7-229 k3s[13083]: time="2024-06-21T20:22:52Z" level=info msg="Saving etcd snapshot to /var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-7-229.us-east-2.compute.internal-1719001372"
Jun 21 20:22:52 ip-172-31-7-229 k3s[13083]: {"level":"info","ts":"2024-06-21T20:22:52.098617Z","logger":"etcd-client","caller":"snapshot/v3_snapshot.go:65","msg":"created temporary db file","path":"/var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-172-31-7-229.us-east-2.compute.internal-1719001372.part"}
Jun 21 20:22:52 ip-172-31-7-229 k3s[13083]: {"level":"info","ts":"2024-06-21T20:22:52.101602Z","logger":"etcd-client.client","caller":"v3@v3.5.13-k3s1/maintenance.go:212","msg":"opened snapshot stream; downloading"}
Jun 21 20:22:52 ip-172-31-7-229 k3s[13083]: {"level":"info","ts":"2024-06-21T20:22:52.101781Z","logger":"etcd-client","caller":"snapshot/v3_snapshot.go:73","msg":"fetching snapshot","endpoint":"https://<IP_ADDRESS>:2379"}
Jun 21 20:22:52 ip-172-31-7-229 k3s[13083]: {"level":"info","ts":"2024-06-21T20:22:52.111894Z","caller":"v3rpc/maintenance.go:126","msg":"sending database snapshot to client","total-bytes":5713920,"size":"5.7 MB"}
Jun 21 20:22:52 ip-172-31-7-229 k3s[13083]: time="2024-06-21T20:22:52Z" level=error msg="etcd-snapshot error ID 11914: snapshot save already in progress"
Jun 21 20:22:52 ip-172-31-7-229 k3s[13083]: time="2024-06-21T20:22:52Z" level=error msg="Sending HTTP 500 response to <IP_ADDRESS>:50686: etcd-snapshot error ID 11914"
Jun 21 20:22:52 ip-172-31-7-229 k3s[13083]: {"level":"info","ts":"2024-06-21T20:22:52.160236Z","caller":"v3rpc/maintenance.go:175","msg":"successfully sent database snapshot to client","total-bytes":5713920,"size":"5.7 MB","took":"now"}


Fixed parameter preservation after identity

When setting a transform to represent an Identity mapping, it is crucial that the stationary component of the transform is preserved.
tfm.SetCenter( [1,2,3] );
tfm.SetIdentity();
out=tfm.GetCenter();
assert( out == [1,2,3] );

PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)
[X] Added test (or behavior not changed)
files (if any)

@N-Dekker FixedParameters should never change after being chosen, they represent the static component of the structure of the transform.  Similar to template parameters for a function in C++.   the "Parameters" represent the current state of the Transform (i.e. Not the structure of the transform).
The SetIdentity() function should change the state of the transform, not the structure of the transform.

Thanks for your clear explanation, @hjmjohnson Unfortunately I think my knowledge and understanding of MatrixOffsetTransformBase derived transforms just isn't sufficient yet  🤷

FixedParameters should never change after being chosen

MatrixOffsetTransformBase::SetIdentity() does zero-fill the m_Center. The values of m_Center are also part of FixedParameters, right? When you restore the previous values of FixedParameters, but you leave m_Center zero-filled, FixedParameters and m_Center will get out of sync, right? Isn't that a problem?
BTW, I won't stop this PR, I'm just trying to understand, because it seems a bit tricky to me!

Could you possibly still explain where in the original SetIdentity() implementation the FixedParameters gets modified? Because I don't see anything like m_FixedParameters = someNewValue here:
https://github.com/InsightSoftwareConsortium/ITK/blob/13ccff6af85522d77aa0e5e19fa929988a9de49d/Modules/Core/Transform/include/itkMatrixOffsetTransformBase.hxx#L96-L107

@N-Dekker The problem (at least for the Euler3DTransform) is explicitly that the m_Center is being filled with all zeros.  Initially I tried removing filling the center with all zeros, but that caused a family of "Scale*Transforms" to start failing regression tests.  The issue, I think, is that the behavior of the m_Center and m_Offset parameters can be manipulated by "SetFixedParameters" of the child classes.
My solution works under the principle that transforms can be properly configured with only "SetParamters" and "SetFixedParameters" from the child classes (as is done in the TransformIO mechansims).  Under this known behavior of all transforms, I concluded that restoring the fixed parameters would set the state of the class correct for whatever weird behavior a child class may choose to do.
Well.  ...... that was my rational for this approach which a) Passes all regression tests, and b) fixes the nasty conceptual bug I ran into when using the Eurler3DTransform with SetIdentity.

Thanks again Hans. I just did a rebuild of the latest master branch, having locally removed the questionable m_Center zero-filling:
https://github.com/InsightSoftwareConsortium/ITK/blob/13ccff6af85522d77aa0e5e19fa929988a9de49d/Modules/Core/Transform/include/itkMatrixOffsetTransformBase.hxx#L102
I'll try the tests in a moment...

I think this PR is ready for merge, but I would like to see one more approval! Especially because there is a tiny little chance that some user may experience slightly different behavior, because with this PR, MatrixOffsetTransformBase::SetIdentity() no longer resets the center. Again, I think the PR is entirely correct, but one more approval would be nice!