rewriting the autocompleting text field

This rewrite puts all of the options into a single text view, instead of having each one as a separate NSView. The result is at least a couple orders of magnitude difference; I'll do some benchmarking in a bit.
The old implementation made the ⌘F find feature borderline unusable because of how slow it was. Now it won't quite be snappy, but it'll at least be usable.

Some numbers:

Load the options
Open the popup
Type a char
Delete a char

Before
4.3 seconds
~7 seconds¹
~3 seconds
~9 seconds³

After
0.15 seconds
milliseconds²
milliseconds²
milliseconds²

1. I couldn't figure out how to time the UI elements; even when I enqueue a work item using DispatchQueue.async with a QoS of userInteractive, the timer completes well before the actual change appears on the UI.  So, I'm manually starting a stopwatch to time it, and it's thus subject to my thumb reaction time. Any column marked with "~" is approximate because of this.
2. Using the stopwatch method described above, these were basically all "noticeable, but too fast for me to time."
3. Deleting a char takes longer than typing one, because it means that by the end of the action, there are more options visisble.</sub


TranslationTableSeeder fixes

With this PR I fix the error when installing Voyager with a locale different from en.
Improved the way TranslationTableSeeder seeds the Translation contents. So, with this PR, Translation Seeder isn't hardcoded anymore.
From now on, the seeds' dummy content use Laravel lang files to fill the categories and pages tables.

Important: As far as I changed some dummy seeder content, it's needed to run:
php artisan vendor:publish --force --tag="dummy_seeds"

You need to update the multilanguage-test to use the translations as well:
https://github.com/the-control-group/voyager/blob/9101761b2f821d239c1e05015a52d5982c53a5cd/tests/MultilingualTest.php#L243-L266
Also, I'd like to see a test where Voyager is installed with a different local.
Something like
$this->app->setLocale('pt_BR');
$this->install();

should do the trick


How to wait for future inside Kafka Stream map()?

I am implementing Spring Boot application in Java, using Spring Cloud Stream with Kafka Streams binder.
I need to implement blocking operation inside of KStream map method like so:
public Consumer<KStream<?, ?>> sink() {
    return input -> input
        .mapValues(value -> methodReturningCompletableFuture(value).get())
        .foreach((key, value) -> otherMethod(key, value));
}

completableFuture.get() throws exceptions (InterruptedException, ExecutionException)
How to handle these exceptions so that the chained method doesn't get executed and the Kafka message is not acknowledged?
Is there a better way of blocking insidemap()?

Thank you for the fast response, I will continue the discussion there. I apologize for the duplication of the question, I was not sure if SO questions reach you.


Initial pass at reducing Copyright verbiage in headers/source.

Will eventually Resolve #12
From all the comments on the ticket, I wasn't quite certain what the COPYRIGHT file and the
headers/source files should contain. So this is a draft for feedback.

For current copyright, we have blank lines before and after the actual copyright notice in our source and header files. Should we keep those blank lines in the reduced version or remove them?

/***************************************************************
*
*  Copyright (c) VisIt.  All rights reserved.
*  See the top-level COPYRIGHT file for details.
*
*****************************************************************/

or

/***************************************************************
*  Copyright (c) VisIt.  All rights reserved.
*  See the top-level COPYRIGHT file for details.
*****************************************************************/

FWIW...I don't see any value in the asterisks and would lean towards...
// Copyright (c) VisIt.  All rights reserved.
// See the top-level COPYRIGHT file for details.

/* Copyright (c) VisIt.  All rights reserved. */
/* See the top-level COPYRIGHT file for details. */

# Copyright (c) VisIt.  All rights reserved.
# See the top-level COPYRIGHT file for details.

I agree, it looks cleaner without the row of asterisks before and after. A blank line before and after should suffice.

@brugger1 @markcmiller86 I committed a source and header file for your perusal before I run a script on the whole tree.

Ok, taking a closer look I think we have an issue with Copyright (c) VisIt as VisIt is not a legal entity.
Copying from Spack...
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.

Which includes dates we don't want to (and indeed have permission from lab legal to not) include.
I think it should be...
# Copyright Lawrence Livermore National Security, LLC and other VisIt Project
# Developers. See the top-level COPYRIGHT file for dates and other details.
# No copyright assignment is required to contribute to VisIt.

I think the third line could reasonably go into the top-level COPYRIGHT file only. I kinda like what you did in repeating it in every source file because this is probably the key question any contributor is likely to ask themselves and it saves them having to go hunt for it.

@ianlee1521 @tgamblin @gonsie ... do you see any problem with above?

When you spoke with legal/IPO did they approve the VisIt wording? If not, I would definitely stick with attributing LLNS. I like the 3-line comment block, which does encourage others to contribute :)

I don't think you really need the "no copyright assignment is required" statement.  It is redundant with "and other Visit Project Developers", since if you contribute to VisIt, you're an "other VisIt project developer".
Also it should direct users to LICENSE, which VisIt actually has, not COPYRIGHT.  Spack points at COPYRIGHT (mostly stolen from what Rust used to do) because it has two LICENSE files: LICENSE-APACHE and LICENSE-MIT.  COPYRIGHT just explains all that and has a statement about copyright assignment.  You can just as well put your statement about copyright assignment in the README.
Technically you don't need any of this.  The Rust folks removed all their headers soon after I adopted their scheme.

When you spoke with legal/IPO did they approve the VisIt wording?

I don't recall running that specific wording by them. I recall asking if we could do same as Spack except without the dates in each file and their answer was they didn't see why not.

I don't think you really need the "no copyright assignment is required" statement.

Agreed. I like having it their though as a further clarification to assuarge potential concerns.

Also it should direct users to LICENSE, which VisIt actually has, not COPYRIGHT.

Our intention was to add COPYRIGHT. But, now that I think about it, the bulk of the original text in these individual files was just a recitation of the license verbiage.
# Copyright Lawrence Livermore National Security, LLC and other VisIt Project
# Developers. See the top-level LICENSE file for dates and other details.
# No copyright assignment is required to contribute to VisIt.

@markcmiller86 I modified the previous files used for example.

Should /src/resources/help/en_US/copyright.html be modified at all?

Wooohooo! This is great @biagas

I don’t see any reason to.
From: Kathleen Biagas<EMAIL_ADDRESS>Sent: Wednesday, July 24, 2019 5:08 PM
To: visit-dav/visit<EMAIL_ADDRESS>Cc: Brugger, Eric<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [visit-dav/visit] Initial pass at reducing Copyright verbiage in headers/source. (#3557)
Should /src/resources/help/en_US/copyright.html be modified at all?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/visit-dav/visit/pull/3557?email_source=notifications&email_token=AAING7SFMHVC362TZB4NOV3QBDVHVA5CNFSM4HVE2WC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2X6LYQ#issuecomment-514844130, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAING7WVTHHEPJTJ4KNMJILQBDVHVANCNFSM4HVE2WCQ.


Unable to login - "Unknown error occurred"

When trying to login I am returned with an "Unknown error occurred" message.
I have tried using my email and my id (as mentioned in #17 ) as well as setup manually using a token and the same message comes up.
My browser console is saying "Failed to load resource: the server responded with a status of 500 ()"

Possible duplicate of #30


gltfpack fails to write output data to tmp folder when compiling latest

I've been working on adding gltfpack as a tool in vcpkg. I've gotten v0.18 up there already but without basisu support for starters. Going back to add basisu support I've run into a little snag; I get a compilation error in meshopt's basisenc.cpp file:
basisenc.cpp(164): error C2661: 'basisu::job_pool::add_job': no overloaded function takes 2 arguments
The code at commit e62c41e47cfdaf014c1e2a98dfeb571dd60c271f passes nullptr as a second parameter to add_job. But I can't find any commit in https://github.com/zeux/basis_universal where add_job accepts two parameters. Looks like v0.18 of gltfpack was released Jul 31, 2022. The closest commit in zeux/basis_universal looks to be 9009cae5407ef54f5030c1d0fabb1c2919c418bb from Jul 9, 2022. Is there some other patch that was applied to get this to compile?
I have tried to work around this by just using the latest commits from both repos, which does compile, but I've run into a runtime error. When trying to compress a couple different glbs that I have with -tc I get the following outputs:
ERROR: Failed writing output data to file "<appdata>\Local\Temp\gltfpack-a35556.ktx2"
Warning: unable to encode image 0 (?), skipping (error encoding image)

I don't get these issues when using the v0.18 release of gltfpack downloaded off github. But I've tried compiling the latest build on Windows with LLVM and VS 2022 on Windows 11 with no success.
So I guess this issue is two part:

Is there something I'm missing to compile the same v0.18 version of gltfpack?
Am I somehow messing up compilation of latest that's causing this runtime failure?

For reference these have been my cmake configurations.
Clang 15.0.3 is set as my default compiler but the VS config uses MSVC.
cmake -S meshoptimizer\ -B build_llvm -G"Ninja Multi-Config" -DMESHOPT_BUILD_GLTFPACK=ON -DMESHOPT_BASISU_PATH=C:/Users/Arsine/Git/gltfpack_test/basis_universal

cmake -S meshoptimizer\ -B build -G "Visual Studio 17 2022" -DMESHOPT_BUILD_GLTFPACK=ON -DMESHOPT_BASISU_PATH=C:/Users/Arsine/Git/gltfpack_test/basis_universal

I dug in with a debugger and it seems like this is an error that comes from basisu_comp.cpp when write_vec_to_file fails. I've seen something kind of like this when contributing to KTX-Software where there is a bug in the msvcrt on large file writes https://github.com/KhronosGroup/KTX-Software/pull/574 but I haven't had time yet to test explicitly linking against the ucrt instead.
Am I just doing something wrong with the build system here? Should I not be using your fork of basisu to compile anymore?
My test glbs are too big to upload here but one of them is just a glb version of Sponza. I can upload it somewhere else and link it if that's helpful.

Going back to add basisu support I've run into a little snag; I get a compilation error in meshopt's basisenc.cpp file

For v0.18, you need to use branch gltfpack of this fork: https://github.com/zeux/basis_universal
The latest master doesn't need that, although the gltfpack branch of the fork above is still recommended for performance (I intend to eventually contribute the changes from the branch above to upstream but unfortunately the rate that upstream takes patches is pretty slow, so I'm waiting for some earlier PR to get merged). But with latest version you should be able to successfully compile on non-forked basis_universal as well.

But I've tried compiling the latest build on Windows with LLVM and VS 2022 on Windows 11 with no success.

Just to double check, you've tried both and both exhibit the same error of writing to a temporary file?

I dug in with a debugger and it seems like this is an error that comes from basisu_comp.cpp when write_vec_to_file fails.

This, however, shouldn't happen regardless of the fork you use I think. I'll try to reproduce your build setup a little later today and see if I can get the same bug.
Can you check if you're getting the issue above on any input glb? Or just on very large models with lots of textures?

Oh... Does your user name contain non-ASCII characters? :)

Oh the gltfpack branch might be what I was missing.

Just to double check, you've tried both and both exhibit the same error of writing to a temporary file?
Yep
Oh... Does your Windows user name contain non-ASCII characters?
Nope
Can you check if you're getting the issue above on any input glb? Or just on very large models with lots of textures?
I have a dozen or so glbs that I run through. Most of them do have textures and it does seem to be the smaller ones that succeed while the larger ones exhibit this failure. In the debugger I noticed that the number of write failures is inconsistent; I saw that Sponza would have between 1-4 failures

Hmm just tested this again making sure to be on the gltfbranch of basisu and I still see the same issues

Oh excuse me, no I'm sorry. I checked out the v0.18 tag of meshoptimizer and that seems to build and run correctly

I still don't have access to a Windows system yet to try to fully reproduce this but looking at the code, I think the problem was indeed introduced after 0.18 and has to do with the style of file handling.
In 0.18, each thread that encoded the texture created a temporary file and then wrote the image to that file, read the file and then deleted it. The file name is created using _mktemp on Windows which doesn't create the file itself (unlike Unix platforms where we use mkstemps that creates the file, guaranteeing uniqueness), but it does use thread id as part of the file name, so we more or less get a file name per thread.
After 0.18, I've switched to an official public API for parallel compression, to make sure that gltfpack can be built off of any fork of basisu (my fork still provides optimal performance, but long term the changes will hopefully be integrated upstream). As part of that, all input and output temp files are pre-created ahead of time. For input files, this is not a problem as they are created and written to one after another, and _mktemp checks if a file exists before returning the name.
For output files, however, they are expected to be written by basisu API... however, repeated invocations of _mktemp return the same file name on Windows, unless you actually create the files in between.
The easiest way to patch this would be to create a dummy file after establishing the file name, but maybe there's a cleaner way to do all this without using temp file APIs.


Rename ping_cog.py to ping.py

Description

Renamed ping.py in cogs and respective changes made in main.py
Related Issue:
#199
closes # (issue)
Type of change

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

Checklist:

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

https://github.com/Vyvy-vi/TearDrops/blob/5a11525abbad37de9dda9f31fc54a4c4682b5656/bot/main.py#L30-L43
- 'cogs.ping_cog'
+ 'cogs.ping'

Thanks for opening this PR-!
Could you also make changes here?


Enforce two blank lines above notebook cells (# %%)

I'd like to enforce two blank lines above code cells (# %%) excluding the first one. Ideally, this would be auto-formatted on save. Sounds like a job for black except that the # %% syntax is quite niche so I expect they won't want to implement this. But then this extension doesn't do formatting either (correct me if I'm wrong). So where would a feature like this fit in?
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

We don't actually do formatting ourselves but support a number of formatters:
https://code.visualstudio.com/docs/python/editing#_formatting
I'm afraid if one of those doesn't do the job, you'll likely have to find another as we're not planning on doing any formatting ourselves.


Integrate NDT on PointNet

Integrate the NDT downsampling to standardize number of input points to PointNet.

This was already done


Unable to run commands after using a non return command

Hi,
Thanks a lot for the wonderful plugin. I am using this plugin to build an app manager tool, which basically updates my docker containers running in my machine. From my node application, I am starting the Angular CLI application using this plugin, and it works fine.
app.get('/', (req, res) => {
  runAppManager();
  res.send('Server started');
});

function runAppManager(){
  shell.exec('npm start --prefix /home/ApplianceManager', { silent: false, async: true }).stdout;
}

But the issue is whenever we run any non-returning commands as ng serve, the next commands are not executing. Basically once my angular application is loaded I need to check the docker container versions and execute docker-compose up, as my docker-compose file have an asp.net core image to run, after running, I am facing the same issue.

user@lz:~/node$ node server

<EMAIL_ADDRESS>start /home/ApplianceManager
ng serve

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

Date: 2019-01-26T16:05:29.039Z
Hash: 5e2842c7dbd96ca17a27
Time: 38630ms
chunk {main} main.js, main.js.map (main) 35 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 236 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 179 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 7.03 MB [initial] [rendered]
ℹ ｢wdm｣: Compiled successfully.

What should I do in this case? Any help is really appreciated.

This is outside of the scope of shelljs, and I think you'll find better results asking on stackoverflow (I really don't know what your app's requirements are).
Keep in mind, shell.exec(cmdWhichNeverFinishes) will never finish, and your event loop will be tied-up forever. You'll need look carefully at the async API (we have docs for this on the README).


Fix java installation step for Travis build

Guys, we have our Travis builds failing on Installing oraclejdk8 step

Installing oraclejdk8
$ export JAVA_HOME=~/oraclejdk8
$ export PATH="$JAVA_HOME/bin:$PATH"
$ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"
Ignoring license option: BCL -- using GPLv2+CE by default
install-jdk.sh 2019-09-17
Expected feature release number in range of 9 to 14, but got: 8
The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during .
Your build has been stopped.

There are two possible fixes:

use trsted storage to install the jvm from
use openjdk8 instead, which is safe as we do not exploit seasoned enterprise libs here.

The first one is tried here as the easiest one  (avoids documetnation issues and local installation issues). Let me know, if the second one is preferrable.

Abandon in the favour of 318


Issues Running MariaDb4j on Docker Alpine

Hi,
I am encountering an issue when running MariaDb4j on a docker container based on Alpine.
When starting up, MariaDb shows the following error message:  error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory.
The java library path that specifies the location for the shared libraries does contain /usr/lib, which is where libstdc++ is located, so the library should be loaded.
The issue does not seem related to the Alpine image itself as I am able to load that library specifically from a test using the following code: System.load("/usr/lib/libstdc++.so.6")
If in that test I replace that line of code with code to start the embedded MariaDb server,  the error is shown. To summarize, I can load libstdc++ programmatically but when it is loaded as part of MariaDb4j, this library can not be found.
I am also able to successfully start the MariaDb server from the host from which the docker container is running with MariaDb.
I am wondering if anybody has any insight to share on this.
Attached is an extract of the failure.
mariadb-failure.txt
Many thanks ...

@BenDave did you see there is a previous issue #74 which, I think, is about the same - if you agree, perhaps you'd like to close this issue, and we can continue the conversation there?
[Standard Footer] PS: Shameless plug, consider https://www.patreon.com/vorburger to support MariaDB4j.


Auto-Completion based on scheme.

Some XML editors provide a context sensitive auto-completion feature, which suggests valid items to add.
Is something like that possible to include in exalt or is it meant for validation only?

It's probably possible (and a very useful feature which has also been requested before, see #1), but implementing something like that would be a pretty massive undertaking.
Unfortunately, it's not something I can realistically hope to do in my current situation.

Oh. Didn't see, sorry for duplicate. Thanks.


[firebase_dynamic_links] get added parameters (PayPal Connect)

So, I am currently using Flutter to develop an IOS-App and added Firebase. I am trying to use PayPal-Connect with the url_launcher package. As the PayPal-Connect link looks like this:
https://www.sandbox.paypal.com/connect?flowEntry=static&client_id=[<my_client_Id>]&scope=&redirect_uri=[<my_url>]

I am trying to use Firebase Dynamic Links for the redirect_uri to go back to the app and fetch the data I got from Pay-Pal as url parameters. The problem is that whenever I run this code:
Future<void> retrieveDynamicLink() async {
      final PendingDynamicLinkData data = await FirebaseDynamicLinks.instance.getInitialLink();
        final Uri deepLink = data?.link;

        if (deepLink != null) {
          print(deepLink);
          print(deepLink.queryParameters['code']);
        }
    }

The logs say:
flutter: https://domain.page.link/ppc
flutter: null

But I know from the Paypal-Connect Docs that they add a code=[<some_code>] parameter. But is the thing I plan to do even possible with Dynamic Links? Or Am I doing something completely wrong?

Hi @BastianCode
can you please provide your flutter doctor -v
and your flutter run --verbose?
Thank you

Sure, thank you!!
flutter doctor -v
 [✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale de-DE)
    • Flutter version 1.12.13+hotfix.5 at /Users/bastianmeyer/Documents/flutter
    • Framework revision 27321ebbad (3 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/bastianmeyer/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

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

[✓] Connected device (1 available)
    • iPhone Xʀ • 7352CBE1-A72D-4A37-8FCA-41CEB39D6EF6 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

! Doctor found issues in 1 category.

flutter run --verbose
[  +32 ms] executing: [/Users/bastianmeyer/Documents/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +53 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] 27321ebbad34b0a3fafe99fac037102196d655ff
[        ] executing: [/Users/bastianmeyer/Documents/flutter/] git describe
--match v*.*.* --first-parent --long --tags
[  +35 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long
--tags
[        ] v1.12.13+hotfix.5-0-g27321ebba
[   +9 ms] executing: [/Users/bastianmeyer/Documents/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/bastianmeyer/Documents/flutter/] git ls-remote
--get-url origin
[  +13 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +70 ms] executing: [/Users/bastianmeyer/Documents/flutter/] git rev-parse
--abbrev-ref HEAD
[  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +6 ms] executing: sw_vers -productName
[  +20 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +24 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.1
[        ] executing: sw_vers -buildVersion
[  +18 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19B88
[  +31 ms] executing: /usr/bin/xcode-select --print-path
[  +14 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +125 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +2 ms] Xcode 10.2
           Build version 10E125
[  +72 ms] executing: /Users/bastianmeyer/Library/Android/sdk/platform-tools/adb
devices -l
[   +6 ms] Exit code 0 from:
/Users/bastianmeyer/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
[  +13 ms] executing:
/Users/bastianmeyer/Documents/flutter/bin/cache/artifacts/libimobiledevice/idevi
ce_id -h
[  +79 ms] /usr/bin/xcrun simctl list --json devices
[ +269 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[  +11 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +48 ms] Found plugin cloud_firestore at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_f
irestore-0.12.9+5/
[   +7 ms] Found plugin cloud_functions at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_f
unctions-0.4.0/
[  +15 ms] Found plugin firebase_auth at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebas
e_auth-0.14.0+5/
[   +2 ms] Found plugin firebase_core at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebas
e_core-0.4.0+9/
[   +2 ms] Found plugin firebase_dynamic_links at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebas
e_dynamic_links-0.5.0+9/
[   +4 ms] Found plugin firebase_storage at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebas
e_storage-3.0.6/
[  +13 ms] Found plugin flutter_web_view at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter
_web_view-0.0.6/
[  +16 ms] Found plugin image_picker at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/image_p
icker-0.6.1+8/
[  +24 ms] Found plugin path_provider at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_pr
ovider-1.2.0/
[  +34 ms] Found plugin url_launcher at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/url_lau
ncher-5.2.7/
[  +11 ms] Found plugin vibrate at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/vibrate
-0.0.4/
[  +60 ms] Found plugin cloud_firestore at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_f
irestore-0.12.9+5/
[   +3 ms] Found plugin cloud_functions at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_f
unctions-0.4.0/
[  +12 ms] Found plugin firebase_auth at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebas
e_auth-0.14.0+5/
[   +2 ms] Found plugin firebase_core at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebas
e_core-0.4.0+9/
[   +2 ms] Found plugin firebase_dynamic_links at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebas
e_dynamic_links-0.5.0+9/
[   +2 ms] Found plugin firebase_storage at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebas
e_storage-3.0.6/
[   +6 ms] Found plugin flutter_web_view at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter
_web_view-0.0.6/
[   +7 ms] Found plugin image_picker at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/image_p
icker-0.6.1+8/
[  +13 ms] Found plugin path_provider at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path_pr
ovider-1.2.0/
[  +16 ms] Found plugin url_launcher at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/url_lau
ncher-5.2.7/
[   +6 ms] Found plugin vibrate at
/Users/bastianmeyer/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/vibrate
-0.0.4/
[ +118 ms] Generating
/Users/bastianmeyer/Desktop/Flutter-Projects/premorrowhq/android/app/src/main/ja
va/io/flutter/plugins/GeneratedPluginRegistrant.java
⣽[  +78 ms] executing:
[/Users/bastianmeyer/Desktop/Flutter-Projects/premorrowhq/ios/Runner.xcodeproj/]
/usr/bin/xcodebuild -project
/Users/bastianmeyer/Desktop/Flutter-Projects/premorrowhq/ios/Runner.xcodeproj
-target Runner -showBuildSettings
[        ] executing:
[/Users/bastianmeyer/Desktop/Flutter-Projects/premorrowhq/ios/Runner.xcodeproj/]
/usr/bin/xcodebuild -project
/Users/bastianmeyer/Desktop/Flutter-Projects/premorrowhq/ios/Runner.xcodeproj
-target Runner -showBuildSettings

I found a solution:
I am now using Cloud_functions to generate a redirect url that contains all the parameters I got from Paypal


Game Crashes during launch with Mini Tweaks installed

Fabrication seems to be incompatible with https://github.com/manyrandomthings/minitweaks, as it crashes during boot. Crash log is here.

I should note that this does not happen with any other carpet-extension mods.

I should note that this does not happen with any other carpet-extension mods.

@unascribed this seems to be fixed in dev version

@unascribed this seems to be fixed in dev version

Yeah, failing redirects no longer cause game crashes.

Yeah, failing redirects no longer cause game crashes.


Add Repo Maintainers to CODEOWNERS file

Update CODEOWNERS to provide maintainers ownership of all files in their repos
Description:
Update this repositories .github/CODEOWNER file to ensure that the repository maintainer
group(s) have full control of the files in this repository.

The CODEOWNERS file should be freely updated by @hashgraph/envision-blockchain-hedera with the following caveats:
###################################
##### Global Protection Rule ######
###################################
# NOTE: This rule is overriden by the more specific rules below. This is the catch-all rule for all files not covered by the more specific rules below.
*                                               @hashgraph/envision-blockchain-hedera # add teams as desired

.........

#########################
#####  Core Files  ######
#########################

# NOTE: Must be placed last to ensure enforcement over all other rules

# Protection Rules for Github Configuration Files and Actions Workflows
/.github/                                       @hashgraph/devops-ci @hashgraph/devops-ci-committers # add teams as desired
/.github/workflows/                             @hashgraph/devops-ci @hashgraph/devops-ci-committers # add teams as desired

# NodeJS project files
package.json                                    @hashgraph/devops-ci @hashgraph/devops-ci-committers # add teams as desired
package-lock.json                               @hashgraph/devops-ci @hashgraph/devops-ci-committers # add teams as desired
jest.config.mjs                                 @hashgraph/devops-ci @hashgraph/devops-ci-committers # add teams as desired

# Codacy Tool Configurations
/config/                                        # add appropriate teams
.remarkrc                                       # add appropriate teams

# Semantic Release Configuration
.releaserc                                      @hashgraph/devops-ci @hashgraph/devops-ci-committers # add teams as desired

# Self-protection for root CODEOWNERS files (this file should not exist and should definitely require approval)
/CODEOWNERS                                     @hashgraph/release-engineering-managers # No modifications

# Protect the repository root files
/README.md                                      # add appropriate teams
**/LICENSE                                      @hashgraph/release-engineering-managers # add teams as desired

# CodeCov configuration
**/codecov.yml                                  @hashgraph/devops-ci # add teams as desired

# Git Ignore definitions
**/.gitignore                                   # add appropriate teams
**/.gitignore.*                                 # add appropriate teams

Note that the Core Files section and the catch-all at the top are the only two required sections in a Hashgraph repository. Ownership is determined top-to-bottom in the CODEOWNERS file. Meaning if there is a rule at line 100 in the file and a conflicting rule at line 10 in the file; the rule at line 100 would take precedence.

@anvabr I added some comments to correct minor issues in how the teams were added in.


Opt-in reminders to Volunteers of the upcoming Events that they have volunteered to help with.

Done


[camera] Add support for changing camera FOVY

Some students ask me about changing 3d camera field-of-view. Right now raylib FOVY for 3d is fixed to 45 degrees. Allowing the user to change FOVY requires some redesign of struct Camera and review all examples... but after some thinking I realized it could be useful.
Camera system will be updated to:
typedef struct Camera {
    Vector3 position;
    Vector3 target;
    Vector3 up;
    float fovy;           // Field-of-view angle (Y axis)
} Camera;

Involved functions to change:
void Begin3dMode(Camera camera)

Added on commit: https://github.com/raysan5/raylib/commit/d8bd8634ab7d5179cb1481206176af1f8e592e75


[bug 1289117] Make 'is_spam' field writable in the admin interface.

@johngian r?
Really minor but it would be helpful to be able to toggle this bit (missed profiles or false positives).

Coverage remained the same at 92.547% when pulling 2ca57a1f5b5e987f51077a418ff510335894cf09 on akatsoulas:1289117-admin-toggle-boolean into 8694e1fa464a0ca215ca6d9df153dd57a8ab4aa2 on mozilla:master.

r+


get stdout of hilbish.run

Hello! :wave:
I'm trying to make support to the git branch in my prompt, but i tried using hilbish.run and trying to get the stdout and don't works :c
here is my code:
local function get_git_branch()
    local status, stdout, stderr = hilbish.run('git branch', true)

    if stdout ~= "" then
        return stdout
    end

    return nil
end

but that function always returns nil, and print the stdout in the terminal without catching it in my variable, here is the demonstration:

Idk if i'm doing smth wrong, please tell me if i'm doing something wrong lol

you are using the function correctly and it also works on my end. you have to be using at least commit 0fc5f457adf1c8d8b8fefc94ab9d940cacb275b6 for stdout/stderr returns

and for this usage specifically, here is how delta does it, which is my own prompt

ah lol, well now i tried with this code, and seems that it's working more: (based in delta xd)
local hilbish = require 'hilbish'

local function branch ()
    local _, gitbranch = hilbish.run('git rev-parse --abbrev-ref HEAD', false)

    return gitbranch:gsub('\n', '')
end

print(branch())

but i don't really know how to remove that 1 (that changes to 0 when the command fails), do you know how can i remove it?

if i remove gitbranch:gsub('\n', ''), it hide the number, but when i remove it, it doesn't trim the last line space, but if i add it (the string.gsub), for some reason, it adds the 0 or the 1

gsub returns 2 arguments: the resulting string and the amount of matches
just wrap the return in a () like return (str:gsub('h', 'ay')) and that will only take the 1st return value. in the context of where it is used in delta it only takes the 1st but i should maybe change it to be bug prone
but also: can i recommend promptua, it would actually be nice to get some more stuff added to that.

tysm


Possibility of being able to customize filepicker ui

Hello, the plugin is very complete, but there would be the possibility of being able to change the icons in filepicker (camera, gallery, file, view etc) and being able to customize with a filepicker ui button.
thank you

Hi,
Yes you can make your own ui and implement file_picker_pro functions like Files.cameraPicker, Files.imagePicker and Files.filePicker.
For more information, Please visit https://pub.dev/packages/file_picker_pro#example


FS-597 zap update

This needs a description @harryyo. It seems wrong to me reading the PR but I dont know why you've done anything.


Fix Skopeo tests with latest containers/image and kubernetes

@runc0m here you go, this is based off erikh/image@kube-fix.

Let's see if tests pass here :) @mtrmac

success!

LGTM.
After https://github.com/containers/image/pull/214 is merged, please restore the github.com/containers/image master line, rerun vndr and update this PR.

@erikh please go ahead and restore github.com/containers/image master line, re-run vndr an update this PR (as @mtrmac said). Thanks!

Merged in #291. Thanks for the fix!


Allow for access to synchronised root cursor data across derived cursors

Currently, in order to give a derived cursor access to up-to-date root-level data, it must be adjoined to the root-level cursor via a chained sequence. This characteristic is severely limiting when used in applications where sub-cursors are distinctly independent, and therefore establishing a chain in this way isn't feasible, nor appropriate.
A typical example of this is in a React application where multiple sibling sub-cursors are passed into a component as props. The issue was nicely summarised by @charypar recently. Issues include:

reliance on the component's render cycle in order to propagate root data updates to cursors.
skipping a subtree in shouldComponentUpdate will result in the subtree having out-of-date cursors

Solution
Instead of each cursor holding it's own reference to the root data, every cursor now shares a common reference to the root data.

Given the apparent enthusiasm of the authors for others to extend the cursor outside of Immutable.js, and due to the integral change in semantics that my PR would introduce, I've decided to fork the cursor implementation as it's own project in the hope it can be extended further, independently of future Immutability.js releases. I will however, be actively tracking this project, and fixing any issues/including additions as and when they come about.


Typo on Documentation: getting started

On the getting started documentation, there is a typo in the sample code:
Step 4: Add Clarity to Angular application
Import the ClarityModule into your Angular application's module. Some features also depend upon the BrowserAnimationsModule, so you should add it as well. Your application's main module might look like this:
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { BrowserAminationsModule } from "@angular/platform-browser/animations";
import { ClarityModule } from "@clr/angular";
import { AppComponent } from "./app.component";

@NgModule({
    imports: [
        BrowserModule,
        BrwoserAnimationsModule,
        ClarityModule,
        ...
     ],
     declarations: [ AppComponent ],
     bootstrap: [ AppComponent ]
})
export class AppModule { }

The typo is **Brwoser**AnimationsModule

@mathisscott - I'll publish this separate from the v0.12.2 website push.

Fixed with this commit: https://github.com/vmware/clarity/commit/260a5fd347506ac9845060b829a76b0821bd0c69


The docs imply ? can take any number, but it only takes 0 or 1

The docs imply that ? can take any value, but when running it says it must be 0 or 1:

Also, are these docs for the website on GitHub? I'd update it myself but I don't know where the docs/website are, assuming they are public.

Fixed in 699c68a04eb18863

Fixed in 699c68a

Clarification: fixed in docs


Fix deprecation warning

Hi @finestructure, the PR #111 will take care of this, but we are holding off on merging right this moment because it will break Xcode 16 beta 4. We'll wait just a little bit longer and then update all of our packages.

Ah sorry, I should have gone through and checked first!
I'm trying to keep our server project up to date with Swift 6 warnings and was a bit overeager to eliminate them all 😅


Don't block threads unnecessarily during backoff & retry

Previously we fixed an issue where the backoff & retry logic would recursively submit tasks onto the same executor until it was full, but the solution was to give it a different executor with many threads (the okhttp threadpool). It still recursively submits tasks, so will consume more threads than needed when retrying.
This PR refactors the backoff & retry logic and handles the blocking and async cases separately:

for blocking calls, just sleep in a loop since the caller is already blocking anyway
for async calls, schedule an async retry and do not block any threads

The tests got a bit weird as I wanted to test the sync and async codepaths for all cases - happy to work on these more if others feel it's needed.

I think this may now be obsolete, @nziebart . Feel free to reopen against develop if it's still relevant.


need to change this urgently to use the database instead and not env

https://github.com/digital-clinical-safety-alliance/digital-clinical-safety-platform/blob/a8bd5c1d782bcc96b488d0dcdc055c24d208528a/app/dcsp/app/functions/git_control.py#L43

fixed


Updated ses_config.yml file generation to DeepSea openstack.integrate format

Modified ses_config.yml.j2 template and added a task to make the output ses_config.yml file from the ses-osh role match the DeepSea openstack.integrate output format. Tested and verified locally (KVM), but not on eng cloud...

PR #113 addresses this problem (and accounts for a problem parsing the variable name 'cinder-backup' in the new format due to the hyphen).

I closed PR 113 and moved its changes into this PR since they all pertained to the new ses_config format. Per JP's request in PR 113, I changed the "Get ses_cluster_configuration" task in deploy-osh/tasks/main.yml to use include_vars rather than using filtering.

Close to perfect to me. I'd remove the set fact for future reviewability

Following JP's recommendation, I've removed the task "Get key values for ses-config" entirely and moved the client key lookups to the ses_config.yml.j2 template directly.

I haven't tested it, but it's simple and looks great.

merge?


[Question] How do I force a redownload of resources

I changed some images but the PWA keeps showing the old ones. How do I force the client to redownload all resources?

You need to implement this in serviceworker.js.
Perhaps these links can help you:
https://medium.com/progressive-web-apps/pwa-create-a-new-update-available-notification-using-service-workers-18be9168d717
https://deanhume.com/displaying-a-new-version-available-progressive-web-app/
https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle

hi @guillermo7227 , have a look at this thread, It may help you to understand better the caching behaviour of your application:
https://stackoverflow.com/questions/41000874/service-worker-expiration/54707038#54707038


Fix broken tests with h2 3.0

":scheme" and ":authority" are required headers for requests, ":status"
is required in the response. Explicitly set header_encoding since it is
no longer 'utf-8' by default since h2 3.0.0 (see docs for
h2.config.H2Configuration).
Do not use h2.settings.INITIAL_WINDOW_SIZE, it was deprecated since h2
2.6.0 and removed in 3.0.0.
Provide headers as a list of tuples instead of a map (as required by the
documentation). Explicitly connect to localhost, otherwise the
connection seems to fail on macOS.
Tested with Python 3.6.3, h2 3.0.1, hyperframe 5.1.0.

The last successful tests were run with
Python 3.5.2, aioh2 0.2.0, h2 2.4.1, hpack 2.3.0, hyperframe 4.0.1, priority 1.2.0
according to https://travis-ci.org/decentfox/aioh2/jobs/160335447.
With h2 3.0 things broke terribly bad, this is an attempt to fix them.

No idea why the test_tcp test is failing... see the FIXME. With that concurrency=8 change it works locally for me, but travis is unhappy with older Python versions.

Much appreciated! We'll merge first then move on afterwards.


Update deps

Closes #686
Closes #687

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Not able to access container

Unable to retrieve child resources.
Details:
getaddrinfo ENOTFOUND bck0207.file.core.windows.net

@pradeepthampi do you have a storage firewall or anything like that on the file service of your storage account? Are you able to use other desktop tools to access your file shares?

Closing due to lack of response from original issue opener. Please open a new issue if you are continuing to have problems.


remove css from js files

There are currently a lot of instances of the style attribute being abused with stuff that would fit better into a seperate css file.

fixed in #101


Date of sequencing is based on "last modified" which is not necessarily when the sequencing happened

I was using the LastModified time (i.e. creation time) for "date of sequencing". However, I realise now that for instance if we move the fingerprints around or rename them or anything like that - we lose the actual date of sequencing.

I've added a new metadata field called "sequencing-date" that records when the fingerprint was originally created from the BAM.
HOWEVER - when doing a ListObjects to list out the fingerprints - we only get the LastModified date and not the metadata. So we'd need to do a HeadObject on every object (thousands?) to get the real sequencing date.
Given we don't really use the sequencing date for much - I am currently just setting the metadata. Not actually using it yet.

The metadata is now the "date" when doing searches and for display of fingerprints


I want return an empty array in a function, but it return a null value.

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce

I want return an empty array in a function, but it doesn't do it, which has an unintended effect.
I also used the [array] cast type, which didn't work either.
The problem is that since I explicitly specified its return type, it should not return any other type.

Here, the Compare-Object error occurs because it does not return the expected array.

Here I used -is to see if it was an array, and returned false.

Expected behavior
- It should return an empty array.

Actual behavior
- It return null.

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

function test-function {
        return New-Object System.Collections.ArrayList
}

$arr = test-function

$arr.GetType()

gives
IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     ArrayList                                System.Object

Thanks, it can solve the problem.
But, why  @() be a problem?

But, why  @() be a problem?

You have my sympathy, PowerShell can be infuriating with lists of zero or one items where the list can magically evaporate.

There is no magic, only an initially perhaps surprising behavior that is fundamental to PowerShell:
In the PowerShell pipeline - which is invariably involved when producing output from a command (function, script, cmdlet, script block) - (most) enumerables (such as arrays, ArrayLists, ...) are auto-enumerated; that is, an enumerable's elements are sent one by one to the success output stream.
In other words: Unless you take extra steps (see below), the original enumerable is - predictably - lost, and in the success output stream you cannot tell the difference between outputting a single-element enumerable and the one element it contains, given that in both cases it is only the latter that is sent to the output stream.
An empty enumerable - such as in your case - sends "nothing" to the success output stream (pipeline), which is technically the [System.Management.Automation.Internal.AutomationNull]::Value singleton, which in effect behaves like $null in expression contexts and argument-based parameter binding (such as your case).
The success output stream is an open-ended stream of objects that itself has no notion of an array or a similar data structure: the objects in it can - and often are - processed one by one, as they are received, in which case the question of how to collect them for later processing doesn't arise.
Collecting stream output of necessity comes into play when you assign to a variable (e.g., $arr = test-function), or make command output participate in a larger expression (e.g., 'foo' + (test-function)), including use of $(...) and @(...) (except with array literals). Collecting a single object in the stream causes it to be collect as-is. It is only if two or more objects in the stream that a list-like data type is invariably needed for collection, in which case PowerShell invariably creates an [object[]]-typed array. For the reasons explained above, this array is unrelated to any originating enumerable type, which never participated as itself in the pipeline.
To send an instance of an enumerable type itself, as a whole to the success output stream, you must prevent auto-enumeration:

New-Object itself uses this technique, which is why @rhubarb-geek-nz's workaround is effective; New-Object's behavior is unusual among cmdlets (see below), but necessary in order to preserve the constructed instance as-is.

It is worth noting that the alternative, v5+ expression syntax for calling .NET type constructors does not exhibit this unusual behavior; that is, while New-Object object[] 0 sends the resulting array as itself to the success output stream, the otherwise equivalent expression [object[]]::new(0) is subject to auto-enumeration

The conceptually clearest expression of the intent to suppress auto-enumeration is to use Write-Output -NoEnumerate,
but an often-seen shortcut is to use the unary form of , the array-constructor operator to create a transient helper array that wraps the output enumerable in a single-element array whose auto-enumeration then sends the enumerable itself to the success output stream.

In other words: The following techniques all work to output an empty array as a whole from your function:
# Using New-Object
function test-function { New-Object -object[] 0 }

# Using Write-Output -NoEnumerate
function test-function { Write-Output -NoEnumerate @() }

# Using a transitory single-element helper array wrapper
function test-function { , @() }

It is worth noting that auto-enumeration is a core PowerShell feature that you should generally not deviate from, especially in public-facing functions / cmdlets / scripts.
On a higher level of abstraction, one of PowerShell's core strength is its consistency, of which consistent behavior in output streams / in the pipeline is one aspect.
To put it in concrete terms: Users justifiably expect commands to output objects one by one rather than outputting list-like containers as a whole, especially given that the latter behavior will not behave as expected in the pipeline; e.g.:
# Expected, auto-enumerating streaming behavior (element-by-element streaming).
# Where-Object's script block is invoked once for each element.
# -> 2, 3
& { @(1, 2, 3) } | Where-Object { $_ -ge 2 }

# Unusual, array-as-a-whole output behavior.
# !! -> @(1, 2, 3)
# !! Where-Object only receives *one* input object, which is the *array* as  while, in which
# !! case -ge acts as an array filter, that returns subarray @(2, 3), which Where-Object interprets
# !! as $true, and therefore *passes the input object (array) through*.
& { Write-Output -NoEnumerate @(1, 2, 3) } | Where-Object { $_ -ge 2 }

So as not to confound user expectations, deviation from this behavior should make the target command require user opt-in, such as via the -NoEnumerate and -AsArray switches some built-in cmdlets (now) offer.
The legacy PowerShell edition, Windows PowerShell, neglects to exhibit this patterns in a few cases (i.e. outputs arrays-as-a-whole by default or invariably), which have since been corrected in PowerShell 7.
A prominent example is ConvertFrom-Json, which only in PowerShell 7 exhibits the expected behavior - see https://github.com/PowerShell/PowerShell/issues/3424 for the backstory.
Note that while PowerShell 7's built-in cmdlets now work consistently, from what I can tell, third-party code and even modules that ship with Windows may still exhibit the unexpected behavior; e.g., Get-WinUserLanguageList
If you encounter such a command and want to force enumeration, simply enclose it in (...)

Another trick to avoid PowerShell's collapsing of single elements is to capture the OutVariable itself which will contain all the elements of the output pipeline, so you can see it is the assignment doing collection.
$date = Get-Date -OutVariable datevar
$date.GetType()
$datevar.GetType()

gives
IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     DateTime                                 System.ValueType
True     True     ArrayList                                System.Object

@rhubarb-geek-nz, while that is technically true, I consider this asymmetry between direct variable assignment and -OutVariable a bug, not a feature, as discussed many years ago in the following issue (nowadays, I would use slightly different framing and language, but the gist of the issue still applies):

#3154

Consider the following pitfall:
$null = Get-Item -OutVariable v $PROFILE

# !! ->  "The property 'LastWriteTime' cannot be found on this object. Verify that the property exists and can be set."
$v.LastWriteTime = [datetime]::now

Clearly, the intent of Get-Item $PROFILE is to retrieve a single object; yet, $v is now an ArrayList instance, so that $v.LastWriteTime applies member-access enumeration, which is unsupported for setting properties.

As a general rule, avoid assignment in PowerShell when you are dealing with multiple items. It is problematic managing codes paths which sometimes run a single item or a list of items. Compare with an SQL query, a result can return zero items, one item or multiple items with no drama. Where as powershell can give you a null, a single item or a collection.
It is all water under the bridge, but my recommendation remains, avoid assignment operator when dealing with multiple items where the count may be 0, 1 or many. Use the output either in a pipeline or the OutVariable for consistent results.

Clearly, the intent of Get-Item $PROFILE is to retrieve a single object

However
PS> get-command get-item -syntax

Get-Item [-Path] <string[]> [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-Force] [-Credential <pscredential>] [-Stream <string[]>] [<CommonParameters>]

Get-Item -LiteralPath <string[]> [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-Force] [-Credential <pscredential>] [-Stream <string[]>] [<CommonParameters>]

Your parameter goes to the path variable which can both take an array and expand the wildcards
PS> $FOO='*.ps1'
PS> get-item $FOO

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          29/04/2024    00:20            156 array.ps1
-a---          28/04/2024    20:31            120 empty.ps1
-a---          28/04/2024    21:57             91 error.ps1
-a---          28/04/2024    21:55            101 outvar.ps1

So your clearly is clearly not quite as clear as you suggest.

The "clearly" applied to  the specific command, where a literal, single path was provided as the input.
The point is that any cmdlet is free to situationally "return" - i.e., emit to the output stream - zero, one, or more output objects.
Earlier we've discussed the stream collection behavior that applies in direct variable. assignment, notably that a single output object is collected as-is.
The point of my previous comment was:

There is NO good reason for $v = ... to collect the output objects differently than ... -OutVariable v.

This difference can lead to bugs / unexpected behavior that may be hard to understand.

Also, note that your framing wasn't correct:

avoid PowerShell's delisting of single elements is to capture the OutVariable itself

-OutVariable has no impact on auto-enumeration, which happens regardless, unless explicitly suppressed.
It's simply  that the-OutVariable feature unconditionally creates an ArrayList for the collected output, irrespective of the number of output objects. In concrete terms:

With zero output objects, direct variable assignment stores [System.Management.Automation.Internal.AutomationNull]::Value (the "enumerable null", which behaves like $null in an expression context, and like an empty enumerable in the pipeline), whereas -OutVariable creates an empty ArrayList instance.
With one output object, direct variable assignment collects that object as-is, whereas -OutVariable creates a single-element ArrayList
With two or more output objects, direct variable assignment creates a - fixed size - [object[]] array, whereas -OutVariable creates a (multi-element, resizable) ArrayList instance.

While you may choose to rely on this awkward inconsistency  (which the documentation only hints at, without spelling out the ramifications) in order to always get an array-like result, I personally recommend avoiding it, both for the awkwardness of then having to suppress the success output ($null = ... -OutVariable) and the confusing discrepancy.
The short of it:

In order to emit enumerables as a whole from a PowerShell command, auto-enumeration must be suppressed (as an aside: in the Cmdlet.WriteObject() SDK function, the logic is reversed), using the techniques previously discussed.

If you want to ensure that at most one object is captured in a variable, pipe to Select-Object -First 1 or - if you don't mind collecting all output first - use (...)[0] (assuming Set-StrictMode is at most at -Version 2).

If you want to ensure that output is always captured in an array, use @(...), the array-subexpression operator ($v = @(...)), or (with subtly different  behavior, [array] $v = ....).

However, thanks to the unified handling of scalars and lists, provided via intrinsic members and member-access enumeration, it is often not necessary to force creation of an array.

A common pattern that I have, which is why I have so much frustration with PowerShell's Schroedinger's OO model is that being able to round trip JSON data is of vital importance. If the original JSON was an array it needs to stays as an array even if it only has one contained object. Likewise if an object contains a property that was array of one object that needs to stay as an array after out processing. Yes ConvertFrom-JSON now has the -NoEnumerate, and that adds to the complexity when writing scripts that have to work on both Desktop and Core. In order to do that we have to have test cases where every array anywhere within an object can have zero, one or some items so we know we are using the right flags at each processing step and work with all combinations of data.

ConvertFrom-JSON now has -NoEnumerate, and that adds to the complexity when writing scripts that have to work on both Desktop and Core.

That is unfortunate, but an unavoidable consequence of things getting improved / fixed in PS Core.
An array stored in a property value should never pose any problem, however; e.g., the following round-trips properly, in both editions:
[pscustomobject] @{ ArrayProp = @(1) } | ConvertTo-Json | ConvertFrom-Json

Also note that a simple way to avoid auto-enumeration is to pass an enumerable as an argument to ConvertTo-Json:
ConvertTo-Json @(1) -Compress # -> '[1]'


update requirement

Type of Change
update UT requirement

extension test: https://inteltf-jenk.sh.intel.com/view/nlp-toolkit-validation/job/neural_speed_extension/118/


next-sass: how to use post css autoprefixer/flex bug fixes?

Hi, I'm struggling to understand how I might implement autoprefixer for use with flex here.  I've tried your example steps of configuring next.config.js and add postcss.config.js but it doesn't seem to get picked up.
Do you have a working example?
index.js
import "../styles/main.scss"
main.scss
.container {   display: flex;   flex-direction: column;   flex: 1 1; }
postcss.config.js
module.exports = {     plugins: [       // Illustrational       require('postcss-easy-import')({prefix: '_'}),       require('autoprefixer')({}),       require('postcss-flexbugs-fixes')     ]   }
next.config.js
const withSass = require('@zeit/next-sass') module.exports = withSass({   postcssLoaderOptions: {     parser: true,     autoprefixer: true   } })
This is what I've tried, with no joy.

Have you added the browserslist property to package.json? I'm using almost the exact same config as you and autoprefixer started working for me only after I included this:
"browserslist": [
    "last 2 versions",
    "> 1%"
  ]

@fiveid thank you!  that was it.


Accept symbol keys to the t() / translate function

Hi, We just saw an issue with nice_partials and a Rails Engine, specifically good_job attempting to render an icon with a scoped translation where the translation key being passed was a symbol.
See their call here
So i've made a change to support it.
Unclear if symbol keys should be entirely ignored for prefixing as I assume it will be rare to pass t(:".foo")
I built a test app that hopefully showcases the issue.
I also added a test_case but I'm unclear on how to run the tests for the gem; The README says bundle exec rake test but bundle exec rake -T lists no task called test.

Minimal App Test Case
run with
$ rbenv local 3.1.2
$ ruby main.rb

begin
  require "bundler/inline"
rescue LoadError => e
  $stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
  raise e
end

gemfile(true) do
  source "https://rubygems.org"

  ruby '3.1.2'

  gem 'rails', '~> 6.1.6'
  gem 'nice_partials', '~> 0.9.1'
  gem 'puma', '~> 4.3.12'

  # gem 'pry', '~> 0.13.1'
  # gem 'pry-rails', '~> 0.3.9'
  # gem 'pry-byebug', '~> 3.9.0'
end

require "action_controller/railtie"

class App < Rails::Application
  routes.append do
    get "/" => "home#index"
  end

  config.consider_all_requests_local = true
  config.eager_load = false
end

INDEX = <<~FOO
  <%= render('partial') do %>
    <%= t(:foo) %>
  <% end %>
FOO

PARTIAL = <<~FOO
  something
FOO

class HomeController < ActionController::Base
  def index; end
end

FileUtils.mkdir_p("#{Rails.root}/app/views/home")
File.write("#{Rails.root}/app/views/home/index.html.erb", INDEX)
File.write("#{Rails.root}/app/views/home/_partial.html.erb", PARTIAL)

App.initialize!

Rack::Server.new(app: App, Port: 3001).start

Sweet, thank you for the detailed reproduction, that made it really easy to validate this!

Ok, it looks like the test invoked the t method on our Partial object, and not our t override, so I fixed that here https://github.com/bullet-train-co/nice_partials/pull/83


robyn_allocator - channels that are excluded from the model get excluded from the initial spend mix too

Issue description
| variable | coef | decompPer | decompAgg | CPA | mean_response | mean_spend
-- | -- | -- | -- | -- | -- | -- | --
1 | (Intercept) | 0.38 | 0.02% | 41.394 | - | - | -
2 | trend | 0.115 | 11.51% | 31.709K | - | - | -
3 | season | 0.208 | -0.11% | -308.36 | - | - | -
4 | holiday | -0.015 | 0.00% | -8.989 | - | - | -
5 | context_var1 | 13.471K | 49.79% | 137.15K | - | - | -
6 | paid_var1_cost | 247.17 | 0.40% | 1.096K | 24.923 | 4.703 | 250.68
7 | paid_var2_cost | 443.86 | 3.49% | 9.61K | 11.136 | 75.767 | 981.84
8 | paid_var3_cost | 618.42 | 2.99% | 8.224K | 4.489 | 154.08 | 338.67
9 | paid_var4_cost | 0 | 0.00% | 0 | - | 0 | 1.772K
10 | paid_var5_cost | 586.01 | 7.64% | 21.031K | 13.232 | 234.18 | 2.553K
11 | paid_var6_cost | 882.39 | 7.37% | 20.291K | 12.642 | 260.05 | 2.353K
12 | paid_var7_cost | 471.91 | 4.68% | 12.901K | 9.194 | 123.54 | 1.088K
13 | paid_var8_cost | 867.21 | 3.53% | 9.718K | 9.156 | 153.67 | 816.29
14 | paid_var9_cost | 271.37 | 4.62% | 12.718K | 13.812 | 122.74 | 1.611K
15 | paid_var10_cost | 660.22 | 3.05% | 8.404K | 3.344 | 84.346 | 257.79
16 | paid_var11_cost | 44.764 | 1.04% | 2.876K | 42.2 | 31.124 | 1.113K
RobynModel-2_216_5.json.zip
Based on this model I would expect paid_var4_cost to be accounted in the initial spend but not in the optimal spend in robyn_allocator(), however it is excluded from both charts.
  InputCollect = InputCollect,
  OutputCollect = OutputCollect,
  select_model = select_model,
  scenario = "max_historical_response",
  channel_constr_low = 0.7,
  channel_constr_up = c(1.2, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5),
  export = TRUE,
  date_min = "2022-08-29",
  date_max = "2022-09-25"
)

plot(AllocatorCollect1)

As you can notice, paid_var4_cost is not there and the initial spend percentage adds up to 100% despite this var is missing.
Here's a sample dataset to reproduce the issue:
MMMSampleDataset.csv
Related facebook group thread: https://www.facebook.com/groups/robynmmm/permalink/1395036564597806/
Environment & Robyn version
Robyn version: <IP_ADDRESS>00
R version 4.2.2 (2022-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.1

Hi @fraschen thanks for sharing your issue into a quite detailed ticket.

The parameters you used for picking the dates (date_min & date_max) were deprecated in v3.10; now you should use date_range instead (which by default takes the last month's worth of data).
Are you sure that for the last month you have spend for paid_var4_cost? Note that for the table you first shared, the mean spend of 1.772K occurred during the whole training window, not necessarily the same during the last month.
The reason paid_var4_cost is excluded is because having coef = 0 means that its spend doesn't affect the response, and any spend multiplied by zero will be zero (response). I see your point on "but I did spend money, why it's not in the distribution of initial spend", but no matter how much money you spend, the response will be zero and the optimizer will not be able to give a different solution. It also means that paid_var4_cost represents 0% of the budget we can actually allocate.
That said, after you confirm point 2, we can def consider and double check this case to be more congruent. If you actually spent in paid_var4_cost during the last month worth of data, is it summed in the total spend shown in the first section (84K)?

@laresbernardo thanks for looking into it.
Yes there is some spend for paid_var4_cost, as you can see from the attached csv file. The total spend in the last four weeks is supposed to be 88k, not 84k as shown in the one-pager.
I get why the response is 0, but I believe the initial spend should reflect the actual for a better comparison of the spend mix pre- and post-reallocation.

Thanks for your deep analysis of this issue.
I still feel that accounting for the coef = 0 vars in the initial spend percentages would be more intuitive from a business perspective. A marketer would probably question the validity of the model just because "where is my paid_var4 spend???". As an analyst, it is difficult to explain the why those percentages, and I would probably need to create my own viz with reviewed figures to avoid these questions.

Hi @fraschen
We have just updated the main branch with the change proposed.
We now do include the non-optimizable budget and sum it into the initial spend so that, even though we can't/shouldn't consider these channels with coefficient 0 or constrained with lower and upper bounds set in 0, we use that budget nevertheless.
You can check these changes by looking at the allocator's one-pager initial spend, and by checking the percentages don't sum up to 100% (when we exclude a channel); that way we reflect correct initial distributions.
Please, do check these changes and feel free to share additional feedback or closing this task.


bug: A dismissed Dismissible widget is still part of the tree

What

A dismissed Dismissible widget is still part of the tree.

Steps to reproduce the behavior

Go to Search Tab
Click on Search TextField
See an error

Part of

#1171

Screerecording
https://user-images.githubusercontent.com/55257452/162477929-1d930928-e246-4a7e-b55b-5bda219293fb.mov
Smartphone model

Device: [Note 7 Pro]
OS: [e.g. Android 10]

Hi @teolemon @monsieurtanuki,
Got this debug error. Could you suggest what can be the reason behind it.

But I had worked on a similar error before so the just changed key: Key(query) to key: UniqueKey()  Error is resolved.

@abhay1821 Quickly said: I guess that the Widget is dismissed too early (e.g. before the end of the swipe animation).
There's no obvious reason why we should use a UniqueKey instead of Key(query). Except that UniqueKey is probably different and unique for each call, meaning that it's a random key instead of a real key. I guess you're hiding the bug doing so.

Hi @monsieurtanuki,
I've also encountered this error in the past and I also solved it using UniqueKey().
Reference : https://stackoverflow.com/a/65859611/13595256

@abhay1821 @bhattabhi013 I solved this in #1525, and I did not use UniqueKey (that would have been cheating).


Remove the "Danger!" from the sections where the various steps have not been met.

Having "Danger!" there implies something is wrong when it is a perfectly natural case to not have achieves the thresholds for each step until they have been achieved.

Fixed in recent PR


small change

im uuphoria tho got locked out of my old account this is my new account (where i moved most of my stuff too like my new github pages thing)
i also do a little bit of backend developing nowadays (not too much tho)

Sorry for the delay

Sorry for the delay

Its fine!

Its fine! 😄

Sorry for the delay


Heatmap performance improvements

The heatmap should fetch all builds for a specific day only when the user selects a day (not when the heatmap initializes).
This will require a new endpoint in the API and a refactoring of the current build-fetching endpoint.
So:
api/repo/:orgname/:reponame/batches would return all batches for a repo.
api/repo/:orgname/:reponame/:timestamp/builds would return every build for the timestamp day.
Batches would be:
interface {

timestamp: number,
failingBuilds: number, // # of failling builds for the day
flakyBuilds: number, // ...
passingBuilds: number, // ...

}

@StuartRucker @gis727 I think what we'll probably want to do is pre-calculate the heat map, which just includes passed/failed counts on a given day, and an indication on a given day, if any of the tests at that point in time were considered flaky. Then, when someone clicks a given day, make a different API call that pulls in all the builds for that day.


how can create dynamically KeyboardButtons for ReplyKeyboardMarkup:"help wanted"

How do I define the buttons dynamically? In other words, read the text of the buttons from the database?
I mean, instead of manually defining the "KeyboardButton[][]" ,Like the example below:
_mainKey = new ReplyKeyboardMarkup()         {             Keyboard = new KeyboardButton[][] { new KeyboardButton[] { "BlogPost Category" }, new KeyboardButton[] { "skills", "about me" } },             OneTimeKeyboard = true,             ResizeKeyboard = true         };
Read the information from the database,for example the keyboard for the "BlogPost Category" must be dynamically created.It is not fixed due to the number of categories and can be added at any time
_categoriesKey = new ReplyKeyboardMarkup()         {             Keyboard = new KeyboardButton[][] { new KeyboardButton[] { "Category1" }, new KeyboardButton[] { "category2", "category2-2" } ,... },             OneTimeKeyboard = true,             ResizeKeyboard = true         };
can anyone help me ?

You can make List<List<KeyboardButton>>, add all needed buttons to each inner list and then convert this structure to array KeyboardButton[][]. For example:
var categories = new [] { "skills", "about me" };
var rows = new List<List<KeyboardButton>>();

foreach (var category in categories)
{
    var row = new List<KeyboardButton>();
    var button = new KeyboardButton(name);
    row.Add(button);
}

var buttons = rows.Select(row => row.ToArray).ToArray();
var replyMarkup = new ReplyKeyboardMarkup(buttons);// add buttons to as many rows as you want

var buttons = rows.Select(row => row.ToArray).ToArray();
var replyMarkup = new ReplyKeyboardMarkup(buttons);

Or you can use Linq:
var categories = new [] { "skills", "about me" };
var buttons = categories.Select(category => new [] { new KeyboardButton(category) })
    .ToArray();
var replyMarkup = new ReplyKeyboardMarkup(buttons);

tan Q man , very code and  nice worked
but how can create  dynamic inline keyboard?
it seems different way to achieve this goal


(BKR-942) let beaker use either old pkg or new pkgng tools on FreeBSD

This PR enables beaker to install and query packages on new (>=9.3) and old (<9.3) versions of FreeBSD. The proposed code was used by me as a workaround in ptomulik/puppet-portsng puppet module and worked for all FreeBSD versions between 9.0 and 11.0, where the older versions (9.0 .. 9.2) used the old pkg toolstack and newer (9.3 ... 11.0) the new pkgng suite. A similar patch was proposed for specinfra as  PR specinfra/581.

Can one of the admins verify this patch?

@ptomulik thanks for submitting these fixes!
@petems would you mind taking a look at these FreeBSD changes?

@petems do you have any time to look at these changes specific to FreeBSD?

@kevpl LGTM! 👍

Well then, merge, maybe?

@puppetlabs-jenkins test this please

well, I merged that without realizing it hadn't passed through our automated testing. I've kicked that testing off now. If it fails, I'll revert the change. But hopefully that won't be the case, and it'll confirm that it's fine to leave this change in....

Looks like Jenkins won't pick up changes for testing that have already been merged.
That's fine, our master status job's last night run (internal link only) was green including this change, so we should be good.

Thank you vm.


feat(testing): Port infinite task sender to rust.

Closes #1015 creates a rust cli tool to generate and submit infinite task to the network to replace the current shell scripting framework.
Suggestions:

Currently the tool executes a go program from the cli to generate a gnark proof that in turn depends on specific folders to write the generated proofs. This is pretty fragile and we could eliminate this external dependency by using rust -> go ffi bindings via [rust-bindgen] to pass the proof data directly at during execution without writing and reading from files.

TODO:

[x] Test locally.
[x] Test on Holesky with local Keystore.

To Test:
make deps

make install_aligned_compiling

Run anvil, aggregator and batcher:

make anvil_start_with_block_time

make aggregator_start

make batcher_start_local

Run the aligned-task-sender by either running:

cd batcher/aligned-task-sender/ && cargo run --release -- send-infinite

make batcher_send_infinite_burst

Will close and reopen


Adding tests for grafana version

We need to handle deployment fields for version. We also need to handle what happens if we set both of the values at the same time? Or should we just block that all together?

I'd ignore the spec.version field if the container image has ben overwritten. I've envisioned the version field as an easy-to-use alternative specifying a deployment override. If the user knows what they're doing, they can override the image with a custom one.
The status field should report the correct version in any case


Fix for the dependency matching in Makefile.deps

This lets ino match every dependency (and not only the first) in Makefile.deps in lines containing multiple dependencies. This should also fix issue #13.
sketch.o: .build/src/sketch.cpp \
    /Applications/Arduino.app/.../arduino/Arduino.h \
    /Applications/Arduino.app/.../arduino/binary.h \
    ...
    /Applications/Arduino.app/.../arduino/new.h \
    /Applications/Arduino.app/.../standard/pins_arduino.h \
    lib/SSegs/SSegs.h lib/Framebuffer/Framebuffer.h lib/Metro/Metro.h

Fixed swapping match for findall during _scan_dependencies (unfortunately named group references cannot be used anymore as findall returns tuples).
I didn't see test covering this, so I didn't update them.

Thanks for the fix. Unfortunately, I'm still getting compiler errors when adding a simple "Defines.h" in an empty sketch. Where do you put the header file in your configuration? Could you maybe upload an example sketch so we can solve this issue?

It works now, thank you.


Create: bitcoin.py

This python program is for Bitcoin Price Index, it accepts the number of Bitcoins users want to buy and displays the current market price. Also, it shows how one can make use of API.

Request: Consider this PR to be merged. Thank you.


Update index.js to fix translation requests originating from China

Updates the index.js to resolve an issue where the Chinese can't use this library nor it's parent to translate using code from an old PR to this library's parent repo. This is part of the PR from https://github.com/vitalets/google-translate-api/pull/5 fixing issues https://github.com/vitalets/google-translate-api/issues/4, https://github.com/matheuss/google-translate-api/issues/59, https://github.com/matheuss/google-translate-api/issues/60, https://github.com/matheuss/google-translate-api/issues/62, https://github.com/matheuss/google-translate-api/issues/68, and https://github.com/matheuss/google-translate-token/issues/10 over there, using code from an old PR sent to the unmaintained upstream (https://github.com/matheuss/google-translate-token/pull/11, to be exact).

Thanks! Have a look on https://github.com/vitalets/google-translate-api/pull/5#issuecomment-470007185

Seeing that your approach you specified there is the better approach, allowing for more URLs to be used than just translate.google.cn and translate.google.com, this PR will now be closed.


The image rotated but the bitmap didn't rotate when invoking the method "rotateImage"

How can I get the rotated bitmap?

hey<EMAIL_ADDRESS>you got rotated bitmap...???
i also want a rotated bitamp. if you solved then Please tell me..Thanks

@SagarAghara Why not save it by each rotated?

@dazhaoDai  There is no available method in library for  to get a Rotated Bitmap....That's why.

How to get rotated bitmap ?

@SagarAghara  can you please describe how can we achieve it ??


[FLOC-1300] Release Flocker 0.3.2+doc1

https://clusterhq.atlassian.net/browse/FLOC-1300
Pre-tag Review Checklist

[ ] Do the acceptance tests. (although perhaps this can be skipped, as no changes were made to the running code)
[x] Check documentation.

[x] The documentation should be available at https://docs.staging.clusterhq.com/en/0.3.2/

[x] The following URLs should redirect to the above URL.

https://docs.staging.clusterhq.com/
https://docs.staging.clusterhq.com/en/
https://docs.staging.clusterhq.com/en/latest/

In addition, check that deep-links to /en/latest/ work. https://docs.staging.clusterhq.com/en/latest/authors.html should redirect to https://docs.staging.clusterhq.com/en/0.3.2/authors.html

[ ] Additional checks, since this is the first release on s3:

Check that, for all versions on readthedocs, we redirect to the latest version, both for the root, and for deep links.

I'm not sure the above list is exhaustive.
The branch should not be merged until the release process is complete.

I'm not sure the cloudfront invalidation is fixed. But I guess everybody else is hitting a different edge node, so my testing requests shouldn't be cached for anybody else.

Also, I used the staging buildbot to upload the docs this time around.

The diff or commits aren't an accurate portrayal of what should be reviewed. The plan is to tag https://github.com/ClusterHQ/flocker/commit/2c44aa71b530493e00546f0edb9a2a1edcb55924 as 0.3.2+doc1. https://github.com/ClusterHQ/flocker/compare/0.3.2...2c44aa71b530493e00546f0edb9a2a1edcb55924 is all the changes since 0.3.2, but those have all been reviewed. And everything has been merged to master. There are no changes specific to this doc release, as there is nothing significant to add to the release notes, and no version numbers to change in the documentation.

Thanks.  Unfortunately, I'm pretty confused.  The explanation sounds like there will be no text changes introduced into master by this merge.  If that's the case ... why is there a PR?  Is it just as a placeholder to satisfy the documented release process?  Or a helper to get buildbot to do the right thing (but buildbot won't do the right thing since the PR does seem to introduce text changes into master...)?  And the description implies this will be merged into master at some point.
Sorry, can you walk me through this in a little more detail?

Is it just as a placeholder to satisfy the documented release process?

Yes. Perhaps that isn't appropriate for documentation-only release.

Or a helper to get buildbot to do the right thing <...>?

Buildbot doesn't care about PRs, just branches. In particular, you can see the commit status for
Adam Dangoor 	Merge pull request #1092 from ClusterHQ/release-maintenance/flocker-0… …
2c44aa7

Only has failures on the omnibus builders, and dev-box builder (for broken https SNI links).
The goal is to get https://github.com/ClusterHQ/flocker/commit/2c44aa71b530493e00546f0edb9a2a1edcb55924 tagged as 0.3.2+doc1 and merged into master (the later is no-op). And then, based on that tag, get the documentation deployed.
The documented release procedure isn't correct, it seems.

There are no unreviewed changes in this release, unlike a full release, which at least updates the release notes.
In this case (although hopefully not typically), there is in-flight change to the release branch that should not be in the release.

The second thing can perhaps be addressed by having a different branch for documentation releases. But that seems like it might be confusing.


Add new trait isCOMClass

I'm not 100% certain I got this right, if I haven't let me know what to fix.

Implementation PR: https://github.com/dlang/dmd/pull/17095


[Bug]: Grouping widgets in a list widget makes text disappear

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I group 2 or more widgets which are in a list, the text in all widgets in the list go blank
https://user-images.githubusercontent.com/20532920/161190860-504c25bf-fa9b-412e-8aa4-c4283fa26815.mov
Steps To Reproduce

Create a list widget
Add multiple widgets inside the list
Group them
The text in the grouped widget disappears, as well as on occasion other text

Public Sample App
https://app.appsmith.com/untitled-application-15/page1-6246737b4f1a665b23048a35
Version
Cloud  v1.6.17

@rahulramesha can you tell me if this is related to the widget grouping?

For me something else happened on grouping the widget, they jump out of the list widget. On looking into it further, I found out the the list widget does not work for child container widgets.
@jsartisan @SatishGandham are you aware of why this happens?


Make it easy to create liquid asset network definitions

This PR reduces code redundancy when creating new Liquid(Elements) asset support.
It also adds support for Liquid Tether (https://blockstream.info/liquid/asset/ce091c998b83c78bb71a632313ba3760f1763d9cfcffae02258ffa9865a37bd2)

Hmm, tests pass on local run, what gives?

@Kukks tether should not be a new chain.

There is nothing to change at NBitcoin level for tether liquid support.


Store: New flags EARLY/LATE_DISTINCT_FILTER

EARLY_DISTINCT_FILTER: Remove duplicates early.
LATE_DISTINCT_FILTER: Remove duplicates late.

We now have a DISTINCT flag.


feat: add new icons

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


Download SupperPuTTy

Hi,
I understand to get the latest 1.4.10 version as described in the home section/Read.me
non the less is there some misleading stuff in the Wiki Homepage
it says 'for more information see our [Download SuperPuTTY] Page'
If you go there, you find:
SuperPuTTY is available in both Binary and Source Form from our GitHub project page
-> this linkify is not existing
as well: if you public google 'Download Superputty'
you first get to https://www.puttygen.com/superputty#SuperPuTTY_download
don't know, if this is as well in your hands
...just wanted to say..
all not a bug issue, but confusing.....
/hans

That is somebody elses page (puttygen), so I can't assist in them causing confusion


[Configuration] Modsecurity / Authelia

Hello there,
I am not sure if this or main plugin is correct place to ask about it but as Authelia is more of docker/traefik thing I will ask here.
I am having an issue with running this plugin, traefik, modsecurity and authelia together. They all seem to work fine but once modsecurity is added to the mix it seems to be blocking Authelia login page. The page loads but will always show incorrect username/password for the user as modsecurity is denying the request with method not allowed error:
 - - [11/Oct/2022:11:28:43 +0000] "POST /api/firstfactor HTTP/1.1" 405 150 "https://auth.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0" "-"
From what I see the defauly ModSecurity config allows the POSt method. Does anyone use this combo of applications or might be able to help me what setting would I need to allow for Authelia to work? Once logged in and modsecurity enabled then there seem be no issue, just the login page.

Please share your modaecurity config so we can troubleshoot how modsecurity is supposes to hamdle these POST requests


error: failed to resolve. Use of undeclared type or module libc

Looks like something slipped in the newest version vs. Rust 1.1.0 on OS X 10.10:
Compiling time v0.1.27
/Users/tadman/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.27/src/sys.rs:123:26: 123:39 error: failed to resolve. Use of undeclared type or module `libc`
/Users/tadman/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.27/src/sys.rs:123             let mut tv = libc::timeval { tv_sec: 0, tv_usec: 0 };
                                                                                ^~~~~~~~~~~~~
/Users/tadman/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.27/src/sys.rs:123:26: 123:39 error: `libc::timeval` does not name a structure
/Users/tadman/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.27/src/sys.rs:123             let mut tv = libc::timeval { tv_sec: 0, tv_usec: 0 };

@alexcrichton Thanks for fixing this quickly. The build was passing at the time, so it might be worth expanding the coverage there to non-Windows platforms.

Unfortunately there's no great solution for OSX CI (in the free open source sense), but we're already testing on two targets on Windows and on Linux, so we're pretty well covered :)

Surprised the Linux build didn't trip.
The builds I'm seeing in your CI link are only:

Environment: TARGET=x86_64-pc-windows-msvc
Environment: TARGET=i686-pc-windows-gnu

Windows and Windows?

https://travis-ci.org/rust-lang/time

Right you are. Thanks!


Destination page for logo

@kaal-coder Sir kindly review my code
#90

https://github.com/MightyITExplorer/Website/issues/90#issuecomment-1455029775
Fix the navbar position at top even while scrolling down.
Share a preview of the same with a video

Ok sir i will do
Sir is it possible to change the difficultiy to medium

Ok sir

@kaal-coder sir made the required changes kindly review

@vk20july please update the branch and provide a preview in the form of image/video for the changes you have made.

Uploading Mighty IT Explorer - Opera 2023-03-07 13-58-03 (1).mp4…

https://user-images.githubusercontent.com/71543332/223367809-a9df78f0-80a1-4fc8-a273-75bc2b0c7eaf.mp4

@kaal-coder made the required changes please review


OS X 10.10 (Yosemite) + MacVim + vim-airline + fullscreen = blank space where airline should be

What steps will reproduce the problem?
Under OS X 10.10:

1. Build MacVim with homebrew
2. Install vundler and use vunder to install vim-airline.
3. Now when you run MacVim, you should see the airline header just fine until
you go into fullscreen mode with the MacVim window, at which point the header
line is blacked out.

What is the expected output? What do you see instead?
Expected: Airline header should be visible in fullscreen mode (this worked
correctly in Mavericks)
Instead: see attached screen shot

What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?

MacVim: Custom Version 7.4 (73)
OS X: Yosemite Beta 10.10, version 3

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 22 Sep 2014 at 1:47
Attachments:

macvim_bug.png

This issue was moved to macvim-dev/macvim#12


Add controls instructions

A subtle but visible line should be added to explain the controls.
Something like the example image bellow. Modify the text to fit with our spacetime controls.

branch merged


Fix: Use object-specific updated_dt

OSIDB-2697: Error 409 updating a flaw reference
Checklist:

[x] Linting passed
[x] Type checks passed
[x] Tests suite passed
[x] Commits consolidated
[x] Changelog updated (NA)
[x] Test cases added/updated (NA)
[x] Jira ticket updated

Summary:
This PR aims to address an issue found by @JakubFrejlach where OSIM was sending the updated_dt of the flaw, to sub-models (i.e. Acks, Refs, Comments, Affects, etc.), making OSIDB respond with 409 Error "Save operation based on an outdated model instance".
Changes:

Renamed getFlawUpdatedDt function to getUpdatedDt on FlawService.ts
Use the options.url on beforeFetch to get the specific object update_dt
Removed potentially deprecated

Considerations:

This issue was only manifested when OSIDB's BZ Sync was disconnected, in other case the the updated_dt was not compared from OSIDB data but BZ.
@superbuggy I removed some code that looked deprecated after this changes. Would you mind to have a look on that to ensure nothing essential was removed?

It may be safe to remove those functions, as long at the updated_dt fetching behavior doesn't happen on inappropriate requests, it's probably fine--in retrospect, I'm not totally certain why I added as many guard clauses as I did but it was probably for data integrity fault tolerance.

It may be safe to remove those functions, as long at the updated_dt fetching behavior doesn't happen on inappropriate requests, it's probably fine--in retrospect, I'm not totally certain why I added as many guard clauses as I did but it was probably for data integrity fault tolerance (if data was weird on stage, the feature would still work without throwing confusing errors resulting from expected data/fields being blank/empty/falsey).

Thanks for the insights @superbuggy From the tests I performed with stage data I didn't find any broken scenario.
If there isn't any specific change you expect to made could you approve it?

Couple of smaller things, otherwise LGTM!

Very good catches @JakubFrejlach thanks for mentioning them.
Just amended them on last commits. Please give it another look when you can.


[mesheryctl] Add --skip-update flag to system restart command

See mesheryctl Command Tracker for current status of commands.
Current Behavior
system start offers user the ability the flag --skip-update, which has the effect of allowing them to bypass checking for and downloading new versions of Meshery's container images.
Desired Behavior
Ideally, system restart supports the same --skip-update flag with the same behavior.

Contributor Resources

mesheryctl Contributing Guide
Beginner's guide to contributing to Meshery and mesheryctl
mesheryctl Command Tracker
Meshery CLI Commands and Documentation

Can I look and take up this issue? 😄

Sounds good. FYI, there is a bug hunting session being scheduled for mesheryctl shortly.


[User Experience Improvement] for Number Field, if allowing decimal, when the field is emtpy, the first "." will be considered as decimal input.

We are using the this text-mask control with number add-on in a large leading healthcare company member facing project. However, during the UAT phase, everyone is complaining about one default behavior.
[Default Behavior]
If the currency amount filed is empty, when user type ".", nothing happens, and user continue to type number, it adds up the numbers instead of decimal.
if a user wants to type decimals, he/she has to explicitly type "0" then "." to enable the decimal.
[/Default Behavior]
So, what they really want is that, if in case the field is empty, if user types "." as the first key, it should be considered that user wants to type decimal afterwards.
This pull request is a fix for this problem, and still back-compatible for existing behavior.
Please let me know what your thoughts about it.
As of now, we are hacking the code directly in our project to get this behavior.

Sorry that I forgot to add/fix the unit test. will do it....