[SPARK-12840] [SQL] pass any object into generated function

This is a refactor to support codegen for aggregation and broadcast join.

Test build #49494 has started for PR 10777 at commit a2fd52e.

Test build #49494 has finished for PR 10777 at commit a2fd52e.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49494/
Test PASSed.

LGTM. Do you mind updating the pull request title/description to the one I wrote for the JIRA?
Thanks.

Merging this into master.


GH-41787: Update fmpp-maven-plugin output directory

Rationale for this change
Per convention fmpp-maven-plugin should not directly generate files under target/generated-sources but into a subdirectory.
What changes are included in this PR?
Changing config to output files under target/generated-sources/fmpp

Are these changes tested?
CI
Are there any user-facing changes?
No

GitHub Issue: #41787

@github-actions crossbow submit -g java


vagrant: fix Ruby and libffi libraries on Darwin

On Darwin, keep the Ruby and libffi libraries and binaries bundled
with Vagrant instead of linking to the Nix ones, to avoid errors about
libraries not found.
Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[x] macOS
[x] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

This patch seems to do the opposite of what you say: it moves Linux-only binary replacements into the section that applies to all platforms.

@orivej on the contrary. With the previous version, the replaced versions of Ruby and the gems are causing warnings on Darwin. With my patch, the Vagrant-bundled copies of Ruby and the gems are left alone on Darwin (this section is triggered by (! stdenv.isDarwin)), and only the other binaries and libraries are replaced with the system ones.

@zzamboni Oh, I misinterpreted that stdenv.lib.optionalString (! stdenv.isDarwin) existed before, rather than just introduced.

@orivej thanks!

Is this necessary, why isn't this a problem on linux?

@LnL7 not sure, but some of the statements in the package (e.g. those linking .so files) are very Linux-specific. My question would be if it's necessary at all to replace/link those files (in any platform) instead of using the files bundled with the package.


Add a lint gutter

This PR adds a lint gutter (ala Atom's lint gutter) which displays messages on hover. It addresses the TODO described in the readme "show error messages on hover rather than in a new line". I think the spirit of that comment is to have hover behavior over the marked part of the code, but that can be added reasonably easily if required.

I have a PR open against jupyterlab as well (https://github.com/jupyterlab/jupyterlab/pull/7305) that adds enables custom gutters, which when it lands will enable less hacky gutter behavior. That said, (based on that thread) it seems like this mechanism of forcing the the gutter to exist is not un-standard.
There are a lot of non-sense whitespace changes because prettier went a little hog wild on the file. If the prettier changes are annoying I can redo the PR without them. Additionally the extension could pull in jupyterlab's prettier config for consistency (which could either happen here or in another PR).

@mcnuttandrew I pulled this into feature/gutter and made a few edits (namely to remove the ----.... text).
I was about to push it up, then I realized the gutter doesn't show up in the editor (python text files). Do you have a moment to see if you can get the gutter to show up in the editor?  It shouldn't be much different, though the gutter may behave differently in the editor?

Woah I had no idea jupyterlab had that functionality, I'll poke around

I'm encountering a somewhat surprising bug with the file view. Whenever I try open any python file in the fileview I get an error
"jupyterlab-flake8 ran into an issue connecting with the terminal. Please try reloading the browser or re-installing the jupyterlab-flake8 extension"
Which is sufficiently bad where I had to do a hard kill of my jupyter lab instance to restart it.  This problem doesn't appear to occur when using alternate conda environments (eg the one for jupyterlab itself). Have you encountered this bug before? Do I have something misconfigured? I am somewhat new to conda / jupyterlab dev so I would easily believe it's something on my end

Interesting - I assume you did jupyter labextension install when you pulled in the changes? This will overwrite your settings file, so you'll have to make a setting for the conda_env you are using. I had this problem when conda_env was set back to base instead of my development jlflake8. It seems like you have to restart jupyterlab for this setting to take.
I made a few changes, I think the issue may be a little out of our hands. I added a checkEditorGutters method similar to your notebook version and the custom gutter gets added successfully. When I debug the browser it seems to be there this.editor.getOption('gutters') returns both linenumbers or just the lintgutter.  For some reason, it is still not added to the editor view - no idea why.

@mcnuttandrew merged this in - i just reverted back to the old way of using the editor.
Thank you very much for the contribution! Looks so much better.


No longer works with atom: 1.20.0

Doesn't seem to run, or is highly slow and unresponsive (when I run npm start, I get no feedback that anything is happening.

Hey there, thanks for reporting the issue! However, the project is currently unmaintained (I originally made it as I needed to work on a Windows machine where editor integration was more convenient than command line and no longer do). That said, I'd be happy to merge and publish a verified fix, and/or hand over the project ownership if someone is able and willing. 🐜😊


Ability to suppress rules at the module level

Expected Behavior
With tools like Android Lint, one can specify a rule or list of rules to be ignored for a given module. Our codebase has a large number of modules and in general we want them all to behave/be checked the same, but there are a few outliers that require exclusions.
With Android Lint, this would be done by either configuring a lint.xml file that would then be pointed to in the build.gradle within the lintOptions block, or by using the disable "SomeRule" syntax in the lintOptions block.
Having Detekt offer this functionality would be great.
Current Behavior
Today (based on this documentation), the most far-reaching suppression appears to be the @file: annotation, which is not enough because every file must then contain that annotation.
Context
In a large, multi-module project, it is not enough to rely on a single configuration for all modules, and it is too much to ask to have a configuration file for every module. The hope here is that you can have a single configuration file for all modules with the ability to easily turn off rules for certain modules without needing to create a different configuration file for each.

You can specify a config file per module. Or add a base one and then add one in the module you want and change the rules as you wish.

Is there documentation on this configuration file inheritance method? I don't see it in the documentation for configuring or suppressing.

@btrautmann You can specify more than one config file when configuring Detekt (comma or semicolon separated). So you can have a global config file with your default configuration and local config files that overrides your specific configuration.
Logic for the parsing of multiple files is here:
https://github.com/detekt/detekt/blob/cff69a96a6e9c3829f9b9da72752fae5526c14d1/detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/Configurations.kt#L75-L81
There is no real documentation about the override mechanism, although this page: https://detekt.github.io/detekt/cli.html mentions this for the CLI interface:
    --config, -c
      Path to the config file (path/to/config.yml). Multiple configuration
      files can be specified with ',' or ';' as separator.

Thanks for the help! Will give those a shot.


fix: update sort icon

closes: https://github.com/jhipster/generator-jhipster/issues/8105

An alternative approach to correctly set the sort icons (ascending, descending etc).
Unit tests to assert different flows

@wmarques could you follow it up?

@deepu105, @wmarques, did you get chance to look into this PR?


Provide the capability to use LDAP Authentication

What this PR does / why we need it:
Currently there is no way  (short of forking the repository) to provide an LDAP password as a Kubernetes Secret to the Airflow Web Pod. The only supported secrets are Postgres and Redis. I've added the capability to set an ldap.bind.password in values.yaml which will be deployed as part of the default airflow secrets. If LDAP backend is disabled, this will have no effect.
Due to the above, created a generic solution that will map any env var in the deployment and stateful set to a given secret in an existingAirflowSecret.
Secrets can be mapped in your values.yaml like so:
airflow:
existingAirflowSecret: my-airflow-secrets
secretsMapping:

envVar: AIRFLOW__LDAP__BIND_PASSWORD
secretName: ldapBindPassword
envVar: POSTGRES_USER
secretName: airflowPostgresUser
envVar: POSTGRES_PASSWORD
secretName: airflowPostgresPassword
envVar: REDIS_PASSWORD
secretName: airflowRedisPassword

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @gsemet

@gsemet @maver1ck new generic solution to cover replacing any environment variable with a secret using the suggestion @gsemet  provided.

For me this look almost good, just a few questions. Thanks a lot for this work :)

@gsemet fixed as per your suggestions

thanks a lot!

@gsemet how do I get this merged? First time working with this repo.

/lgtm
should merge when all tests are done

@gsemet odd, says the tests are successful when I drill into the circleci link. A way to retrigger them?

/test

/retest

@gsemet Says it's missing /ok-to-test?

/ok-to-test

Damned, seems like I am no more able to merge/approve.
@maver1ck can you approve?

/ok-to-test

/test

/retest

/test all

@gsemet I had to add a new commit to retrigger the tests, so I fixed the formatting on the README.md entry I created and by adding yaml code block formatting. Should auto merge now if you /lgtm it.

/lgtm

kawabounga!

boom and we're done! cheers!

Thanks a lot ! Do not hesitate to continue helping improving this chart, will help a lot !


Prompt for user name

Currently if I try to authenticate without passing a username, aws-okta-processor will just pass None as the user name to get_okta_single_use_token.
I'd prefer it prompt me for input (just as it does for password). Is this a feature that people would be interested in?

@tahoward Very cool. I was going to post up something myself, but it looks like you've already gotten to it (and with org to boot!).
Am I allowed to review the PR?

Resolved with release:
https://github.com/godaddy/aws-okta-processor/releases/tag/v1.5.2


dom_node does not work on native components

i.e. if you use ref to get the id of say a "div" then you can't say ref["my_div"].dom_node as you would expect.
class Foo < React::Component::Base
  after_mount do
    refs[:my_div].dom_node # is nil!
  end
  def render
    div(ref: :my_div) { "no can do" }
  end
end

seems like the ref is pointing some ruby object which is just a simple wrapper around the native object... not sure how to solve.
For now work around is to do this:
`React.findDOMNode(#{refs[:my_div].to_n})` # === refs[:my_div].dom_node

This issue was moved to reactrb/reactrb#110


First draft of contributing guidelines.

@cewood do you have time to take a look?

Actually, something is better than nothing, so I've just merged this. Please let me know if you have any feedback @cewood

Sorry, had a full schedule today. I'll take a look and ping you/or raise a PR if I have any worthy suggestions/feedback.

Late to the party, but looks good. Left a few comments, let me know if you have any thoughts on this.


Bump meta to 1.3.0-nullsafety.4

Description
Bump meta to 1.3.0-nullsafety.4. This new version of meta includes the @internal annotation.
Related Issues
Tests
I added no tests.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

Maybe OK to land now?

Maybe OK to land now?

Done!


MIoU is less

Why is the miou of each of my models 10% less than the table? I ran 200 rounds of training.

Hi, Chris. Please share the configs for your experiments.

Hi, Chris. Please share the configs for your experiments.

I used the same configs as you. I ran 200 rounds of epochs on BiseNetv2, but the best miou is 68.65%. The GPU is RTX 2080 Ti. There are some pictures about my result.

BiseNetv2 is not pretrained on imagenet dataset, so you need to train it more epochs (e.g. 800 epochs) to achieve better results. Actually you may switch this repo from main branch to archive branch, you will see the mIoU for BiseNetv2 is 69.36 (200 epochs) and 72.15 (800 epochs). Other tricks may increase the performances are: use larger crop-size (e.g. 1024) and use larger batch size.
Best

Hi, Chris. Please share the configs for your experiments.

I used the same configs as you. I ran 200 rounds of epochs on BiseNetv2, but the best miou is 68.65%. The GPU is RTX 2080 Ti. There are some pictures about my result.

兄弟你用过这里面STDC的Detail head吗，训练无法收敛

没有-------- 原始邮件 --------发件人： zhy61718 @.>日期： 2024年6月27日周四 09:32收件人： zh320/realtime-semantic-segmentation-pytorch @.>抄送： 书灏 @.>, Author @.>主    题： Re: [zh320/realtime-semantic-segmentation-pytorch] MIoU is less  (Issue #9)
Hi, Chris. Please share the configs for your experiments.
I used the same configs as you. I ran 200 rounds of epochs on BiseNetv2, but the best miou is 68.65%. The GPU is RTX 2080 Ti. There are some pictures about my result.
兄弟你用过这里面STDC的Detail head吗，训练无法收敛
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Add WAIT and CHAIN or similar functionality (was Implement additional BASIC commands/statements)

It would be useful to have the following commands/statements for modular programming and convenience:
CHAIN {filename} : Load and run the file specified in {filename}
INCLUDE {filename} : Load the library procedures defined in the file (so they can be used in multiple programs)
WAIT/PAUSE {period} : Pause execution of a program for the specified period (fraction of a second based on implementation)

The first and last are fairly straightforward. The library has both technical issues and issues related to being limited to a 6502 ; limited memory, not easy just to shift stuff about.

Understood. WAIT/PAUSE is most useful as people use loops and timer to simulate it.

I think I'd just extend RUN to allow RUN "" and that would be a composite of LOAD and RUN. One has to be careful adding tokens too enthusiastically ; any token (e.g. WAIT) means you can't have a variable called WAIT any more. Though programs that already exist should work, and be listable, though you couldn't edit them.
I've moved libraries as that's a more complex issue.

If RUN "" can be embedded into programs, it would be fine. The idea is to split larger programs into smaller ones to save memory.


Fix debug format patch for gtest.

The previous patch no longer applied. It's been revised to reflect the upstream changes.

Thanks again for your contribution!


how to choose pdf, doc file in this

I want to upload pdf, doc file but this library only shows images & videos list, How can I select photos & videos.

@vnanaware I can't understand. Neither the pdf one nor the doc is not include in photos and video.

@vnanaware I can't understand. Neither the pdf one nor the doc is not include in photos and video.


Same concept as --bind but for UNIX signals

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux
[] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
This is a bit similar as what is described in https://github.com/junegunn/fzf/issues/1789, so maybe it still does not make sense to handle signals as events.
I use fzf for multiple cases, and in one particular usecase, I am using fzf on some json data that comes from a given file, which contains an array of items.
Since this data takes some time to refresh from its "production" source, I actually use a cached version of the data for the fzf script which is present on my local machine.
However, in parallel, when the script runs, I also do a refresh of the data so that the data is uptodate when I run the script the next time.
Refreshing the data and then running fzf would add some seconds of delay (approximately 5 probably), and since I use that command quite often, I think it makes sense to do both steps in parallel.
Now the problem I have is that quite often, I'm interested in the updated data, and since it doesn't show the uptodate version at first, it means that I usually start the script once and then again because my cached version is too much outdated.
I would find it cool to have the possibility to tell
My current script :
get_data() {
  jq '.[] | .name + " " + .version' <~/tmp/data.json
}
update_data() {
   # some refreshing command with curl that updates ~/tmp/data.json
}
update_data &
get_data | fzf

What I would like to have :
get_data() {
  jq '.[] | .name + " " + .version' <~/tmp/data.json
}
update_data() {
   # some refreshing command with curl
   kill -SIGUSR1 "$fzf_pid"
}
update_data &
fzf < <(get_data) --bind 'sigusr1:reload'  &
fzf_pid="$!"
wait "$fzf_pid"

I'd also be interested in such a feature. I'd like to make an already running fzf session reload data when an external program does something - I'd like the external program to tell fzf to reload the list. (I came to search for such an issue after trying to solve this and this).

Hello @junegunn ,
I have a usecase where I would like to reopen this issue.
My usecase is running some unit test in watch mode and piping it to fzf (this is a custom script that gets a lot of different information).
What I would like to do is that between each run, I would like to reload the data.
Currently, I need to relaunch the script (and the fzf instance) if I want to be able to see results only of the latest test.
I could send a unix signal to fzf to tell it to reload the data.

Hello @junegunn,
I'm pinging you back on this because I can see a pattern in many of my fzf scripts where fetching the data to fzf would take some time (3-10 seconds), and I prefer to have an fzf instance running with the cached data during the download.
What I do is the following :

fetch the new data in the background
use fzf on the cached data
when seeing the data, decide whether I should reload fzf using the new data or not.

I would still find it very cool to be able, after the async fetching of data is done, to send a signal to the fzf instance to reload the data from the cache.

Please take a look at #3094.


Documents: file_size and file_hash not updated when document file changed

Issue Summary
In edit function in file https://github.com/wagtail/wagtail/blob/master/wagtail/documents/views/documents.py#L143
        if form.is_valid():
            doc = form.save()
            if 'file' in form.changed_data:
                doc.file_size = doc.file.size

                # Set new document file hash
                doc.file.seek(0)
                doc._set_file_hash(doc.file.read())
                doc.file.seek(0)

                # if providing a new document file, delete the old one.
                # NB Doing this via original_file.delete() clears the file field,
                # which definitely isn't what we want...
                original_file.storage.delete(original_file.name)

            # Reindex the document to make sure all tags are indexed
            search_index.insert_or_update_object(doc)

            messages.success(request, _("Document '{0}' updated").format(doc.title), buttons=[
                messages.button(reverse('wagtaildocs:edit', args=(doc.id,)), _('Edit'))
            ])
            return redirect('wagtaildocs:index')

            # --------------------------------------
            # Where doc is saved?
            # --------------------------------------

we see that document form is being saved... then... when "file" was changed it updates its "file_size" and "file_hash" property but it does not save "doc" object anywhere so that these properties remains unchanged
Steps to Reproduce

Add new document
Check file_size and file_hash in database
Edit uploaded document - change file and save
File has changed but file_hash and file_size is unchanged

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: yes

Technical details

Python version: 3.6.4
Django version: 2.2.6
Wagtail version: 2.6.3

Resolved via #5705


Fixing some issues with opening log files

For which version is this?

I'll close this since it works for me, and I haven't recieved any info about which version breaks it...


Refactor everything

Mostly opinionated code formatting changes, but also simplifies item registration, mixins, checking for installed (compatible) mods, and much more that I don't remember!
Also stops directly classloading classes from Botania, which fixes running the mod on Sinytra Connector by not improperly loading parts of Botania before it can initialize fully.

Much cleaner - thank you!


tinkering with making thumbnails work

This is not currently fully functional, but its a great start to using a headless browser for generating thumbnails from our SVGs automatically.


Update README.md

Fixed a link.

Thank you very much @luca-heltai for making this teaching material publicly available!


build: allow urllib3 2.2.1

https://github.com/boto/botocore/issues/3111#issuecomment-1953560852

Summary by CodeRabbit

Chores

Updated the dependency specification for urllib3 to exclude version 2.2.0, enhancing stability and compatibility.

Closing in favor of #32.


Added community

Due we named ourself EddieHub I would recomment using only this title
Refering to here

Ohh! Closing this request.


feat: ca tranlations

Catalan translations

Many thanks, I'll get this included in the next build.


Updation in Contributing.md

Describe the bug
Make migrations comment shows error when ran without making the mentioned changes in settings.py.
So in contributing.md we have to move the make migrations step after the step to make changes in settings.py
Are you willing to contribute to this issue? [Yes/No]
Yes, I am a GsSOC'21 participant.
Desktop (please complete the following information):

OS: Windows
Browser : Chrome

@kanishka8276 Go ahead with this one.


Give users the ability to choose their database

Motivation
I want to show how developers can choose a database when creating a new service.
Approach
I added a configuration to the template that shows a dropdown with different PostgreSQL options. That value will be passed to the template. I would like to pass this information to the infrastructure profile. The infrasture profile should choose how to provide the database for the workload.
Here is the humanitec-app.yaml file that is used to generate JSON payload that's sent to the Humanitec API.
        profile: humanitec/default-module
          database: ${{ values.database }}

I would expect the infrastructure profile take PostgreSQL 15, PostgreSQL 14.5 or PostgreSQL 13. When deployed in development environment, it should run the PostgreSQL database as a workload in a container. When deployed in production, the database should be provisioned on the infrastructure.
Alternate Designs
🤷

📣 NOTIFICATION
You are receiving this message because we did not publish any packages.
Generated by @thefrontside/actions


[Bug] AsyncCommand causes RefreshView to complete instantly

Description
If you have a RefreshView to load some data asyncronsly on a pull to refresh the pull to refresh actions (IsRefreshing = false, animation goes away) will complete differently depending if you are using the normal Command vs XCT AsyncCommand.
Steps to Reproduce

Add RefreshView and wire it up as per most tutorials
Change RefreshCommand to be backed by AsyncCommand provided by Xamarin Community Toolkit.

Expected Behavior
When the user pulls to refresh the RefreshView will await for the specific method (ExecuteRefreshCommand in my sample) to finish before setting IsRefreshing to false and making the refresh animation go away.
Actual Behavior
RefreshView completes refresh instantly when RefeshCommand is an AsyncCommand.
Basic Information
Xamarin.Forms: <IP_ADDRESS>2
Xamarin Community Toolkit: 1.1.0
Workaround

Use Command instead of AsyncCommand. However this means you can't take advantage of the built in allowsMultipleExecutions functionality and you'd have to re-create that yourself.
Reproduction imagery

Command:

AsyncCommand:

Reproduction Link

AsyncCommandRefreshView.zip
In this sample there are two pages to view the two different types of commands. In both AsyncCommandPage.xaml.cs and CommandPage.xaml.cs there is some Debug.WriteLine statements to observer when ExecuteRefreshCommand begins and ends as well as when IsRefreshing property is automatically toggled.

Interesting case. Issue is with RefreshView, and not with AsyncCommand.

Turns out, when ICommand becomes disabled (CanExecute=false), RefreshView immediately sets IsRefreshing to false.
When you set allowsMultipleExecutions to false, you requested AsyncCommand to disable itself while it's being executed (in another words, removing allowsMultipleExecutions: false fixes your issue. RefreshView cannot be refreshed while it's being refreshed, so it's not needed in this case anyway).
If you manually implement the same logic for Command, you'll see the same issue:

bool canExecute = true;
...
new Command(async () => await ExecuteRefreshCommand(), () => canExecute)
...
async Task ExecuteRefreshCommand()
{
    System.Diagnostics.Debug.WriteLine("ExecuteRefreshCommand Start");

    canExecute = false;
    RefreshCommand.ChangeCanExecute();

    await Task.Delay(2000);

    // Stop refreshing
    IsRefreshing = false;

    canExecute = true;
    RefreshCommand.ChangeCanExecute();

    System.Diagnostics.Debug.WriteLine("ExecuteRefreshCommand End");
}

I think, this issue can be closed as "As Designed".

Dang my solution for this was going to be implement the can execute myself but I guess not 😅
I'll go handle it inside my ExecuteRefreshCommand so at least it can only execute once. I'll go file this as a potential bug with Xamarin.Forms repo. Thanks for digging into this though.


pypy support?

hi @jaltmayerpizzorno!
Great project, this is a fun approach! I was wondering whether you would be interested in adding PyPy support? I briefly looked, and there seems not a lot missing: The C extension seems to just work, the only problem is some detail around the way PyPy does builtin functions. If there is interest, I would be happy to open up a pull request to deal with the latter! (if not, feel free to just close the issue)

Hi @cfbolz, thank you!  I haven't explored adding pypy support yet.  Assuming it doesn't get in the way of research too much, it would be great to have!

fair enough! I've opened the above PR, the only fundamental change, which makes slipcover work. will open another one to add it to CI (only pypy3.8 supported by the setup-python action though).
performance isn't as good as CPython for a bunch of reasons (pypy is much faster in the first place, C extensions are worse on pypy). I briefly tried with a pure Python tracker, which helped and could probably improved with more careful thinking about the locking needed.

Hi, sorry for the delay... have been hard at work adding CPython 3.11 support.  I've merged your PR now.
Slipcover's locking does need some rework.
I'd love to see the benchmarks with pypy if you cared to run them... they're in benchmarks/run_benchmarks.py.


Add an option to installers/install.sh which installs locally-build native_main

This helps platforms where no official binary distribution is available. (I'm on NetBSD/amd64 by the way.)

Looks great, thanks!


Helm UI does not have any bread crumb to logs of the deployment

Internal reference: SURE-4016
Reported in 2.6.3
Within the Helm UI, there's no way to connect the logs of a deployment during a session.
The new UI spawns a container to and will show you the logs of said deployment, but theres no way to navigate to the app and see logs from the past runs once you've navigated away.

Comment from user:

Looks related but I'm simply not seeing certain resources that are part of a Helm release (PVs PVCS, etc). Also, when the Helm chart fails, nothing shows up. In the old UI, you would still see everything and it would show you the "Deployment" failed or the "Ingress" failed. This was very useful. The old UI (despite being janky and not ideal) would persist the helm error in the top of the app UI. Now there's no way to see that.

On the detail view for an application, e.g.

Add details for the last Helm operation for the application. Find all of the Helm operation resources - type catalog.cattle.io.operation and find the ones for the application being viewed - the status.releaseName and status.namespace must match metadata.name and metadata.namespace of the catalog.cattle.io.app resource.
You should then sort those matching operations and show only the latest operation - showing on a single line:
Last Operation (Install) - View Logs
Where View Logs is a link that when clicked will show the log for that operation - the model for the operation should have an action that will do this, so you should just need to invoke that.
Install should be replaced with whatever the action is from the operation resource.

On 2.6-head commit id: 4df2214

Last Operation: ( upgrade ) - [View Logs]() is seen on the Installed Apps page after an upgrade on CIS Benchmark. is performed.


As a user I want some improvements to the  Create a new cluster modal

Acceptance criteria:

the issues in #308 are all done
change the HTML multi select element with a "two boxed approach", where the user can select one or more fields from the left box and put them into the right box (representing: selected items)
users can remove items from the right box, so they are put back in the left box again
user can search through both boxes in separate search boxes (or something better than this, please research a nice solution)

@lilimelgar @jblom
Issue for labo-components project done in branch:
issue/#323-improvements-to-create-new-cluster-modal
What's been done?

The user is able to select items in a 2 column interface.
Validation is added to the component (the user must add a name to the new cluster and selected at least 1 field)

Screenshot

Screencast
https://drive.google.com/open?id=1vbEjFOlsybpcI8xrVp9LX6mQXTqTR06X

@jblom
The original pull request has been closed and a new pull request has been created with an up to date Master version.
Branch name:
issue/#323-improvements-to-create-new-cluster-modal-v2
Pull request:
https://github.com/beeldengeluid/labo-components/pull/341

@lilimelgar @avlisodraude ok I tested & merged this (after refactoring mainly CSS & mark-up). Works nicely!
Please test

Tested in production, nice feature! works well. I also tested that the field clusters are stored in the query, also works well!


When loading is slow the table rows are jumping.

It seems the scroll offset is still going when new data is not arriving yet. It's clearer when you scroll faster. The old rows stays at bottom with animation. But when new rows are added, the old rows jump up instead of staying at bottom.

I'm afraid I don't understand what you mean. Can you give an example on how to reproduce this issue using the Demo project?

I tried some debugging, just find the code
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
is the key! Without it, inserting rows causes some flickers in table. And below code won't work too.
dispatch_async(dispatch_get_main_queue(), ^{
So why the 1 second pause is a must?

Is that a code in the demo?

Right.


Support for Leading, Trailing etc

There are some attributes not support by the helper as Leading, Trailing etc
I'm not 100% sure but this may be an issue if the new right to left language support is for those layout attributes specifically
https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/SupportingRight-To-LeftLanguages/SupportingRight-To-LeftLanguages.html
To resolve we could add new methods such as addLeadingConstraint or addTrailingConstraint
and advise to use those for labels instead of addLeftConstraint or addRightConstraint
We should also see how the new support works
cc @danieladias @jamaine-ustwo @chris59david

👍 on this one.


Move fonts

AFAIK the fonts are only used in the examples so let's move the fonts in the examples directory. If there's a dependency on a font in the library itself I suggest moving the fonts into the package itself. MANIFEST.in doesn't include the fonts right now so some of the examples will be broken (unless it's moved into the examples directory).

Merged.


Can't deserialize value if itself is a prefix like CARGO and CARGO_HOME

Given envs like:
CARGO=1
CARGO_HOME=abc

We can't deserialize the value from CARGO.

Fixed by https://github.com/Xuanwo/serde-env/pull/19


[Support] Rename Manganelo module into Manganato following the reader's changes

So far, the only failing tests (on chrome/firefox commons) are those of the mangahere.us reader, and do not concern this specific PR.
Will bypass CI to merge.

Removed mangahere which was no longer relevant.
Waiting for review + merging to re-enable blocking tests on manganato (instead of manganelo)

Thanks!


Add screenshot

Added screenshot.

Update readme and add screenshot.

Update readme and add screenshot;

Added screenshot.


Server crashes with double flowers?

I've ran into some issues while keeping the server active. I don't really get why it crashes, but here's the log:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6b15e1]

goroutine 21 [running]:
github.com/df-mc/dragonfly/server/block.dropItem(0xc0001b6e00, {0x2427, {0xfbf060, 0xc005c8e950}, 0x1, {0x0, 0x0}, {0x0, 0x0, 0x0}, ...}, ...)
    /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.9.6-0.20230507195931-1877140372de/server/block/block.go:262 +0x141
github.com/df-mc/dragonfly/server/block.DoubleFlower.NeighbourUpdateTick({{}, {}, 0x1, {0x0}}, {0xffffffffffffff60, 0xffffffffffffffe2, 0xffffffffffffffa8}, {0xffffffffffffff60, 0xffffffffffffffe1, 0xffffffffffffffa8}, ...)
    /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.9.6-0.20230507195931-1877140372de/server/block/double_flower.go:39 +0x365
github.com/df-mc/dragonfly/server/world.ticker.performNeighbourUpdates({0xc0001b6e00?})
    /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.9.6-0.20230507195931-1877140372de/server/world/tick.go:111 +0x257
github.com/df-mc/dragonfly/server/world.ticker.tick({0xc0004d3f90?})
    /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.9.6-0.20230507195931-1877140372de/server/world/tick.go:74 +0x265
github.com/df-mc/dragonfly/server/world.ticker.tickLoop({0xc0001b6380?})
    /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.9.6-0.20230507195931-1877140372de/server/world/tick.go:26 +0xa5
created by github.com/df-mc/dragonfly/server/world.Config.New
    /home/runner/go/pkg/mod/github.com/df-mc/dragonfly@v0.9.6-0.20230507195931-1877140372de/server/world/conf.go:88 +0x5aa

One of my friends in Discord figured out it happens when breaking the bottom part of the double flower

Is this by any chance in a world not created by dragonfly? If so, make sure the world.Config.Entities field is filled out properly.

Is this by any chance in a world not created by dragonfly? If so, make sure the world.Config.Entities field is filled out properly.

It happens with a world not created by dragonfly and without level.dat. I made sure I filled out the entire Entities field

Could you show the code for that? I suspect the issue is there.

This one here is for the default world:
newEntityField := Conf.Entities.Config().New(append(Conf.Entities.Types(), customEntity.CustomThrowableType{}))
Conf.Entities = newEntityField

This one is for world manager worlds instead:
w := world.Config{
	Provider:  p,
	Generator: generator.NewFlat(biome.Plains{}, []world.Block{block.Grass{}, block.Dirt{}, block.Dirt{}, block.Bedrock{}}),
	Entities:  m.entities,
}.New()

Has this since been fixed after discussion in Discord?

Yeah, it's been fixed.


Fix bugs in RenderSizedOverflowBox and RenderFractionallySizedOverflo…

…wBox
Bug #1: These didn't work with directional alignments, due to an error
in the types of the constructor arguments.
Bug #2: Pretty sure RenderSizedOverflowBox never worked at all. As
soon as I wrote a test for it, the test showed that there was a
fundamental bug in its performLayout method: it didn't set
parentUsesSize, but it immediately tried to use the child's size.

cc @goderbauer


Confusing / wrong errors thrown when trying to run tests locally.

The docs describe only needing a private key or seed phrase. The error when trying to run also says you need either or... however the code checks for the existence of 4 env vars.
if (
  !process.env.SECRET_WORDS &&
  !process.env.PRIVATE_KEY &&
  !process.env.SKIP_METAMASK_SETUP &&
  !process.env.SKIP_METAMASK_INSTALL
) {
  throw new Error(
    'Please provide SECRET_WORDS or PRIVATE_KEY environment variable',
  );
}

I wonder if you've considered using a library like dotenv or at least giving an example for folks. I think the minimum might be to throw a more complete error?

Hello, I am currently working on a fix here. I am running into the same issue

Hey @archae0pteryx, thanks for reporting.
This is what I have done:
// if user skips metamask install or setup
if (!process.env.SKIP_METAMASK_INSTALL && !process.env.SKIP_METAMASK_SETUP) {
  // we don't want to check for presence of SECRET_WORDS or PRIVATE_KEY
  if (!process.env.SECRET_WORDS && !process.env.PRIVATE_KEY) {
    throw new Error(
      'Please provide SECRET_WORDS or PRIVATE_KEY environment variable',
    );
  }
} else {
  log(
    'Skipping check for SECRET_WORDS and PRIVATE_KEY as SKIP_METAMASK_INSTALL or SKIP_METAMASK_SETUP is set',
  );
}

I hope this makes it clearer.
Please, let me know if you would like me to improve it further and re-open this issue. Looking forward for suggestions!
Thanks,
Jakub.


support YCbCr subsample ratios 4:1:0 and 4:1:1

See also #37 and #39.
This fixes a panic() for a few JPEG images found in the wild. Without this fix, a program which downloads and resizes tons of images from a source like ImageNet will eventually panic unexpectedly upon finding a 4:1:0 or 4:1:1 image.
To test this change, I have attached a 4:1:0 image found in the wild (from ImageNet, in fact). I zipped the image to prevent any potential image compression from Github (which would presumably destroy the 4:1:0-ness of the image).
YCbCr_410.jpg.zip
I could not find a 4:1:1 in the wild (although I only searched for several minutes). To address this, I have attached a small Go program which can convert an image in-memory to a 4:1:1 image, then resize said image. I could not use this program to generate a 4:1:1 image file because Go's jpeg package converts 4:1:1 into 4:2:0 (as of Go 1.7)
411_test.go.zip

Note: this pull request will not work on older versions of Go which don't support 4:1:0. Accepting this pull request would mean removing backwards compatibility with older Go versions, unless some extra build voodoo is done (e.g. separate .go files for different Go versions).

This does part of what #39 does, but without needing to duplicate two .go files (one for Go1.4 and earlier).

I'm okay with dropping support for older versions of Go, but only after we're certain that using build constraints in go/build isn't an option. IMO that's the superior solution, because we can keep backwards compatibility. Unfortunately I couldn't really look into it too deeply, but will soon(-ish). Code duplication is something we should avoid as much as possible, the current code is already (for performance reason) a bad example. Want to figure out if that's something that would work with build constraints. If it doesn't, i.e. having build constraints would mean a lot of code duplication, I'd be okay to merge this PR.

@nfnt Actually, this no longer requires Go >1.1. If you note my last comment, I now use the Stringer interface to avoid symbols which are undefined in earlier versions of Go. Any code duplication could be easily avoided, but the only code duplication was the result of an already-duplicated switch statement in the master branch.

Ah, sorry, then I misunderstood what you wrote. That's great! So it's only some tests that'll fail. Would be even greater when we could apply build constraints on these few test cases. Don't know if that's possible though.

@nfnt all tests pass. I even added tests that use the Stringer interface, that way they can test the new functionality on newer versions of Go.

@nfnt say, pls, when will you merge this PR or Charlie Vieth solution (with build tags) to solve 411 problem?

@rkravchik thanks for the reminder, I submitted a PR https://github.com/nfnt/resize/pull/57 that uses build tags to add support for YCbCrSubsampleRatio411 and YCbCrSubsampleRatio410 and maintains backwards compatibility with older versions of Go.

@charlievieth i saw your repo and just wanted to remind @nfnt to make a choice between two solutions (your and @unixpickle ) soon.
P.S. I have forked this repo and merged with your's:
https://github.com/rkravchik/resize
It is temporary solution for me now.

Closed by #57.


https://www.vecteezy.com

This one is still showing up in google results but I dont know how to add

Vecteezy is in the additional nuclear list, but I understand that additional list is not for everyone. So, here's how to add it:
In uBlock Origin:

Click on the uBlock Origin extension, and hit the cog wheel symbol in the bottom right, labeled "Open the dashboard"
Click on the My filters tab
In one of the empty lines, copy & paste this filter in there:

google.com,duckduckgo.com,bing.com##a[href*="vecteezy.com"]:upward(div):style(opacity:0.00!important;)

Click Apply Changes
It's now added!

In uBlacklist:

Click on the uBlacklist extension and hit the blue Options text
In the giant main text box where it says "Sites blocked from appearing in Google search results", copy and paste this filter in any empty space:

*://*.vecteezy.com/*

Hit the Save button.
It's now added!

Now, I've been thinking about revising the nuclear list to drop some sites such as Vecteezy, in favor of putting it in the main list instead. I've been a little bit cautious, of doing this, as Vecteezy still includes quite a bit of authentic artwork & imagery; but on the other hand, from what i've been experiencing, it seems like Vecteezy appears a lot in normal searches, and it shows their garbage AI images. So, I might put it in the main list just to test it out.

Keep in mind tho, that the nuclear list really is nuclear. It takes out prominent sites such as Adobe Stock, Pixabay, Artstation, Deviantart, etc. These sites are overrun with AI spam, but even so, it still houses a lot of authentic artwork & imagery that you may want for reference. Just letting you know!


FutureWarning: Possible nested set at position X

Hi,
when running a numbertext with python3 (as for LibreOffice - here built against system-python which is 3.7.3 currently - and the LO extension installed) I get
/usr/lib/libreoffice/share/extensions/numbertext/pythonpath/org/Numbertext/Soros.py:44: FutureWarning: Possible nested set at position 26
  prg = re.sub(r"(^|[\n;])([^\n;#]*#[^\n]*[[]:[^\n:\]]*:][^\n]*)", r"\1#\2", prg)
/usr/lib/libreoffice/share/extensions/numbertext/pythonpath/org/Numbertext/Soros.py:45: FutureWarning: Possible nested set at position 27
  prg = re.sub(r"(^|[\n;])#([^\n;#]*#[^\n]*[[]:" + lang.replace("_", "-") + r":][^\n]*)", r"\1\2", prg)
/usr/lib/libreoffice/share/extensions/numbertext/pythonpath/org/Numbertext/Soros.py:73: FutureWarning: Possible nested set at position 1
  s2 = re.sub(r"[[]\$(\d\d?|\([^\)]+\))",u"$(\uE00A\uE00A|$\\1\uE00A", s2)
/usr/lib/libreoffice/share/extensions/numbertext/pythonpath/org/Numbertext/Soros.py:74: FutureWarning: Possible nested set at position 1
  s2 = re.sub(r"[[]([^\$[\\]*)\$(\d\d?|\([^\)]+\))",u"$(\uE00A\\1\uE00A$\\2\uE00A", s2)

printed on the console, which doesn't really sound very well. A trivial test (=NUMBERTEXT(10)) works, but..
The same happens if you patch the numbertext makefiles to use python3, and thus it it printed during the tests, see for example https://buildd.debian.org/status/fetch.php?pkg=libnumbertext&arch=amd64&ver=1.0.5-3&stamp=1567490482&raw=0
Regards,
Rene

still in 1.0.6

Hi Rene,
Fixed in https://github.com/Numbertext/libnumbertext/commit/8810ddf61fdb830911fe85caaf9beceffe5fc26a
Thanks for the bug report!
Best regards,
László


Add technical users endpoint in People [PEOPLE-65]

JIRA: https://netguru.atlassian.net/browse/PEOPLE-65
In order to generate reports for technical users we need an endpoint returning list of technical users with memberships.

:+1: looks good


Fix DBCS attribute corruption during reflow

TBD
PR Checklist

[x] Closes #12837
[x] I work here
[ ] Tests added/passed

Validation Steps Performed

Run pwsh -noprofile -command echo "u{D83D}u{DE43}"
Resizing conhost preserves all contents ✅
Resizing Windows Terminal doesn't crash it ❔
Added a test covering this issue ❌

We will not erroneously copy a DBCS Trailing Attribute to the edge of the screen, right? Or a leading one?

We will not erroneously copy a DBCS Trailing Attribute to the edge of the screen, right? Or a leading one?

I'll have to check! This PR could've been a draft tbh. 😅
I'll need a bit to write a unit test and test this more thoroughly.

So, here is my hope.
WinDev is in "ask" mode locally, so I'm just gonna take this fix up during Ask for both Terminal and Console.
We need this to be rock solid. I need tests for resizing single- and double- width surrogate pairs, at the edge of the buffer, wider and narrower.
I need to understand the impact on Terminal, and I think we should wrap UpdatePatternLocationsUnderLock in a try/catch just to be safe so that any future regressions here only break URL updating and don't cause a crash.
We're in a tight corner here. :)


TrackIR Only mode not working

So I got the TrackIR 5 today and set it up, but I couldn't get it to work with PrecisionGazeMouse. Whenever I move my head, the cursor does not move. Perhaps I did something wrong or missed something?
Here's what I tried:

Running TrackIR in administrator mode (same as PrecisionGazeMouse)
Used both continous mode and the other mode
Tried different sensitivity values (didn't seem to make a difference when I adjusted it)
I used the latest version of TrackIR (5.4.2)
I used the latest version of PrecisionGazeMouse

Here's what I noticed:

I couldn't find the profile "GazePlusMouse" in the titles tab of the TrackIR 5 software, so I wasn't able to change it to One:One profile as stated in documentation
It says "running" as status in PrecisionGazeMouse and occasionally teleports the mouse somewhere
The Head Rotation value shown in PrecisionGazeMouse does not change when moving my head

I don't have an eye tracker, so I didn't test any of the other modes. Any idea on how I could get it working?
Edit: My operating system is Windows 10 if that is relevant.

You have to be able to select "GazePlusMouse" because that is associated with a profile ID that we load in the API. Did you check for game updates? I tried updating mine and I still see it in the list.

Thanks, got it working now after updating game list.

I'm having the exact same issue, except I don't play games. I just need it because I have RSI. Where would we find the "GazePlusMouse"? I don't see it in any menu on the program


Declaring a static variable in a contract causes WASM exception when setting the compiled contract

Can you not declare static variables in the class?

We really need to see at least the exception that you're getting and preferably a code sample

This is a piece of code that I believe would cause the same problem. The only exception I got was "WASM exception" when setting the compiled contract.
namespace hello{
  class foo : public eosio::foo {
    public:
     /* constructor */
     //@abi action
      void hello();
    private:
    static uint32_t x;
    void incrX(){
      x++;
    }
  };
  /* Define constructor */
  void hello(){
    incrX();
  }
};

I don't think static member is supported in EOS. Please ask in eosio.stackexchange.com if you have further questions.

No response in months, closing


Transaction Lists

Resolves L2B-1659
Entire page now:

Commited Transaction List:

Empty mempool

Mempool with a transaction

Send Transaction is hard to find right not, maybe move it to the bottom-center of the component, add an arrow icon and change the background?
also icon for the Check component would be useul
this does not have to be added in the scope of this PR


PCH.look_up('ID_W', GM_ID = 16, vds = 1.65, L=1)

This is not an error. The VDS supplied to lookup is beyond the allowable bounds for the process.


Update event-loop to 0.2

Updates event-loop to ^0.2 - also fix failing tests caused by https://github.com/amphp/byte-stream/releases/tag/v2.0.0-beta.4 (fail when upgraded to ^0.2 because Composer is allowed to install byte-stream beta4).

Thanks!


WCAG: How do we handle buttons in the table of our repeating groups components?

Description
In the table listing the groups the user has added with the repeating groups we have an issue with the cell containing the edit button. Also we will add the delete button in this table as well, so we need to plan how we solve this for two buttons.
Right now we have an empty header for the column that contains the button. We should look into if we need to add a hidden aria to describe what that column contains. We do no not need to show it as it is enough information in the button. We should also be careful about adding a header with the word "rediger" as we might end with screen readers saying words twice.
Relevant WCAG failure
Because button gets focus when tabbing they will skip all informasjon in the table and jump directly too the button. I believe we should look into if we need to give some extra informasjon at this place so they have any informasjon about the rest of the row. What element am I editing if i press this button.
Example using VoiceOver

It do say something about the table and what column in the row you are at, but I think it would be easier to navigate if we presented some identifying informasjon about the row. For example something like: rediger, knapp, Ola nordmann, kolonne 4 av 4
In scope
Research other solutions similar to this. How do they handle a button in a table?
Specify how this should be solved
Out of scope
No response
Additional Information
No response
Analysis
No response
Conclusion
No response

Solved


Certs and keys shouldn't be accessible to anyone but root.

Pretty much what it says on the tin.

+1


React and Redux: Manage State Locally First - Tests wrongfully pass

Describe your problem and - if possible - how to reproduce it
So, this code passes all tests:
class DisplayMessages extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      input: '',
      messages: []
    }
    this.handleChange = this.handleChange.bind(this);
    this.submitMessage = this.submitMessage.bind(this);
  }
  handleChange(event) {
    this.setState({
      input: event.target.value,
      messages: this.state.messages
    });
  }

  submitMessage() {
    this.setState({
      input: '',
      messages: this.state.messages.concat(this.state.input)
    });
  }

  render() {
    return (

Type in a new Message:

        <input onChange={this.handleChange} value={this.state.input}></input>
        <button onClick={this.submitMessage}>Add message</button>

    );
  }
};

While I haven't added anything regarding the rendering of the
 elements, it still passes the 4th test: "The DisplayMessages component should render a div containing an h2 element, a button element, a ul element, and li elements as children."
Add a Link to the page with the problem
React and Redux: Manage State Locally First

Just +1ing this issue.  I experienced the same thing.  I passed with an empty  tag.  I added a comment so if I free up some time I might be able to fix it.

this reposidory is go or onot good

my comends is isfory way from polands

@WillzMu an array is an "object"   i.e.:
let myArray = [1,2,3,4]; console.log(typeof myArray)
This outputs 'object'.

@louischrisorona , yeah, thats true. But you cant .map() an "object" now, can you?

@WillzMu I think you misinterpreted my helpful tip... I was not trying to patronize you.
Have you since been able to correct your issue?
Was it perhaps that your object was not setup properly to access the array?
this.state.messages.map((message, index) => {   return
{message}
 })


remove trusted service url check in appcredentials

Thanks for the reviews. I pushed another commit, but I'll do a little more local testing before merging.
And then as a follow on PR I'm planning on an update to enable continue conversation (aka proactive) in CloudAdapter.

And we can do parity in JS, Python and Java in the next release. This unblock Cloud Adapter which we only have in C# so far.


Adding support for bigQuery datasets, tables and views

Adding support for bigQuery datasets, tables and views to the default resource type list + adding tests on these resources.
Note: Views's type in CAI export is actually the same as Tables (with extra fields).

anyone to review this PR?


Update HelperText component styles

Update helperText to text style Subtitle2 (14pt, weight 600)
Reference: SC3 DESIGN LIBRARY
Confirm helperText icon container is 20x20 px
Reference: SC3 DESIGN LIBRARY

Here is the PR handling adjustments to SQFormHelperText that helps resolve changes to the component for both issues https://github.com/SelectQuoteLabs/SQForm/issues/820 and https://github.com/SelectQuoteLabs/SQForm/issues/817.


added dropdown menu to select resume instead of slider

Pull Request Title
Added Dropdown Menu for Resume and Job Description Selection
Description
This pull request introduces a dropdown menu for selecting resumes and job descriptions, replacing the previous slider-based selection method. This change enhances user experience and provides a more user-friendly way to choose both resumes and job descriptions.
Type

[x] Bug Fix
[x] Feature Enhancement
[ ] Documentation Update
[x] Code Refactoring
[ ] Other (please specify):

Proposed Changes

Replaced the slider with a dropdown menu for selecting resumes.
Implemented a dropdown menu for selecting job descriptions.

Screenshots / Code Snippets (if applicable)

How to Test

Open the application.
Navigate to the resume selection section.
Verify that a dropdown menu is available for selecting resumes, where number of resumes are greater than 1.
Repeat the same steps for job description selection.

Checklist

[x] The code compiles successfully without any errors or warnings
[x] The changes have been tested and verified
[ ] The documentation has been updated (if applicable)
[x] The changes follow the project's coding guidelines and best practices
[x] The commit messages are descriptive and follow the project's guidelines
[ ] All tests (if applicable) pass successfully
[x] This pull request has been linked to the related issue (if applicable)

Thanks @Devasy23 for the PR I will test it out and let you know.

Changes look good @Devasy23

Thanks a lot for merging my PR! 🙌
And a big shoutout to @hal for pointing out the issues in the code. I'm already working to recreate it in reflex.dev for the interactive version that @Hal pushed. 🚀
Appreciate your help and guidance!


Fix fix multi phase analysis failed in multi instance environment

Proposed changes
Problem:
When executing group_concat with order by inside in view, column can not be found when analyze.
Example:
create view if not exists test_view as select group_concat(c1,',' order by c1 asc) from table_group_concat;
select * from test_view;
it will return an error like: "can not find c1 in table_list"
Reason:
When we executing this sql in multi-instance environment, Planner would try to create plan in multi phase
aggregation. And because we analyze test_view independent with tables outside view. So we can not get
table informations inside view.
Solution:
Add table informations to outside analyzer from inside view.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.49 seconds
stream load tsv:          512 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>1 Bytes

run buildall

run p0

run buildall

run clickbench

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.31 seconds
stream load tsv:          512 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>8 Bytes


Add input handle and make Context & Input singleton

It's just like #3 but without the bug causing mouse detection broken.

Also I think this PR has merge conflicts be sure to fix those


switch to python 3.10

With 3.10 the onnx package needs to be built from source at the moment. Therefore the user needs to install the development files for the protobuf library as well as the python development sources.

[ ] make sure tests run with 3.10
[ ] update documentation (install instructions) to reflect the fact mentioned above

@glencoe I tried to switch to python 3.10. But I think that currently Brevitas has some problems with torch 1.11, because in version 1.11 of torch they removed the "enable_onnx_checker" parameter of the torch.onnx.export function (in version 1.10 it was still there). See this error message of a brevitas test:
Traceback (most recent call last):
  File "/home/juho/ESProjects/elastic-ai.creator/elasticai/creator/systemTests/brevitas_representation/test_onnx_export.py", line 60, in test_bigger_model_save_to_onnx
    br.save_to_onnx((3, 1, 97), path="bigger_brevitas_model.onnx")
  File "/home/juho/ESProjects/elastic-ai.creator/elasticai/creator/brevitas/brevitas_representation.py", line 79, in save_to_onnx
    BrevitasONNXManager.export(
  File "/home/juho/ESProjects/elastic-ai.creator/.venv/lib/python3.10/site-packages/brevitas/export/onnx/manager.py", line 137, in export
    return cls.export_onnx(module, input_shape, export_path, input_t, **kwargs)
  File "/home/juho/ESProjects/elastic-ai.creator/.venv/lib/python3.10/site-packages/brevitas/export/onnx/manager.py", line 111, in export_onnx
    torch.onnx.export(module, input_t, export_target, **kwargs)
TypeError: export() got an unexpected keyword argument 'enable_onnx_checker'

And sticking to torch 1.10 with python 3.10 is, as I understand, also not possible, because torch 1.10 does not support python 3.10 at the moment.
All other integration, unit and system tests (except the export ONNX tests of brevitas) passes on python 3.10.
So what should we do? Sticking to python 3.9 or ignoring the brevitas tests until brevitas fix the support of torch 1.11?

for future reference: we decided to drop brevitas support in favor of the new torch versions (ie. upgrade to python 3.10)


JBDS-4334 Cygwin fails to install into location with space in name

Codecov Report

Merging #880 into master will decrease coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #880      +/-   ##
==========================================
- Coverage    97.8%   97.77%   -0.04%
==========================================
  Files          36       36
  Lines        3242     3417     +175
  Branches      276      496     +220
==========================================
+ Hits         3171     3341     +170
+ Misses         71       65       -6
- Partials        0       11      +11

Impacted Files
Coverage Δ

browser/directives/pathValidator.js
100% <ø> (ø)
:arrow_up:

browser/model/cygwin.js
100% <100%> (ø)
:arrow_up:

browser/main.js
98.41% <0%> (-1.59%)
:arrow_down:

browser/model/helpers/downloader.js
96.94% <0%> (-1.52%)
:arrow_down:

browser/pages/confirm/controller.js
94.94% <0%> (-1.48%)
:arrow_down:

browser/model/devstudio.js
96.8% <0%> (-0.97%)
:arrow_down:

browser/model/cdk.js
99.21% <0%> (-0.79%)
:arrow_down:

browser/model/jdk-install.js
97.28% <0%> (-0.44%)
:arrow_down:

browser/model/kompose.js
100% <0%> (ø)
:arrow_up:

browser/pages/install/controller.js
100% <0%> (ø)
:arrow_up:

... and 24 more

Continue to review full report at Codecov.

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


OMHTTPRequest no response fail crash

(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error {

crashes if self.response is not initialised.

Good catch, I'll write a fix and message you when it's done. I think it's also time to push a new version to CocoaPods.

This one has already been fixed in 6d3f1b4613f8281cb1967b2632d90267a25f6913, which has not been released yet. I'll publish a new version just now.


Mystery Text Discussion of a radio play

Post your screenshots and discuss your findings about any one of the texts in the radioPlays folder here!

tnt01.txt

I feel like the two different programs looked at the text very differently because the data that it gave me was very different from each other. It is very different using the two different programs voyant is defiantly more user friendly but I believe that Antconc you can be more specific with the data that you want to collect.


Support for writing UBytes

I'm building an android app using Kable and need to send an unsigned 16-bit value to set a port number. I'm still getting used to working in Bytes, but I seem to be running into a problem. I attempted to use peripheral.write to write a uByteArray. However, it seems as though this is not currently possible as .write requires a ByteArray. Is there any interest in supporting uBytes in the near future?
Here is a basic example of how you can get different values for a port when using Byte vs UByte:
val port = 8883

asByte(port)
asUByte(port)

fun asByte(port: Int) {
    val arr = byteArrayOf(port.toByte())
    println(arr.contentToString())
}

fun asUByte(port: Int) {
    val arr = ubyteArrayOf(port.toUByte())
    println(arr.contentToString())
}

You'll get -77 asByte and 179 asUByte, with 179 being the correct value.

For your asByte and asUByte functions, I don't believe this will work as you expect. Since your port value is 8883 it can't be represented as either a Byte (-128 to 127) or UByte (0 to 255). So the conversion to Byte or UByte (port.toByte and port.toUByte) won't be able to hold the 8883 value in a single Byte or UByte.
That being said, I'm not aware of a simpler way of building a ByteArray from an Int (or UInt) other than doing a manual bit shifting technique as described here (a similar technique is used in the popular Okio library).
Here is a sample that demonstrates that the same bytes will be written regardless if your port is converted to an array of Bytes or UBytes:
fun main() {
    val port = 8883
    val hex = port.toByteArray().toHexString(separator = " ")
    val uhex = port.toUByteArray().toByteArray().toHexString(separator = " ")
    println(hex)
    println(uhex)
}

private fun Int.toByteArray() = ByteArray(4).also { array ->
    array[0] = (this shr 0).toByte()
    array[1] = (this shr 8).toByte()
    array[2] = (this shr 16).toByte()
    array[3] = (this shr 24).toByte()
}

private fun Int.toUByteArray() = UByteArray(4).also { array ->
    array[0] = (this shr 0).toUByte()
    array[1] = (this shr 8).toUByte()
    array[2] = (this shr 16).toUByte()
    array[3] = (this shr 24).toUByte()
}

// https://github.com/JuulLabs/tuulbox#encoding
fun ByteArray.toHexString(
    separator: String? = null,
    prefix: String? = null,
    lowerCase: Boolean = false
): String {
    if (size == 0) return ""
    val hexCode = if (lowerCase) "0123456789abcdef" else "0123456789ABCDEF"
    val capacity = size * (2 + (prefix?.length ?: 0)) + (size - 1) * (separator?.length ?: 0)
    val r = StringBuilder(capacity)
    for (b in this) {
        if (separator != null && r.isNotEmpty()) r.append(separator)
        if (prefix != null) r.append(prefix)
        r.append(hexCode[b.toInt() shr 4 and 0xF])
        r.append(hexCode[b.toInt() and 0xF])
    }
    return r.toString()
}

Outputs:
B3 22 00 00
B3 22 00 00

...all that is to say, unless Kotlin's UByteArray.toByteArray() extension function does some undesirable manipulation, I don't think there is any reason to provide functionality for writing unsigned byte arrays. As library consumers can convert unsigned byte arrays to signed byte arrays before writing.
Android does provide helper functions for setting characteristic values of unsigned types (so you don't have to manually do the bit shifting as shown above). It may make sense to have Kable provide some helper functions for building ByteArray data that will be written.
Something like:
interface ByteArrayBuilder {
    fun append(value: Int)
    fun append(value: UInt)
    fun append(value: Long)
    // ..
    fun append(text: String)
}

fun buildByteArray(builder: ByteArrayBuilder.() -> Unit): ByteArray = TODO()

This would allow library consumers to easily create ByteArrays for writing, in your example, this would allow you to do something like:
val port = 8883
val bytes = buildByteArray {
    append(port)
}
peripheral.write(bytes)

Did I address your issue? Would a helper like I mentioned be useful to you?

Sorry for my delayed response and thank you for your detailed response and examples. I ended up solving this via bit-shifting, as you suggested. The toHexString extension function was very helpful in visualizing what was being generated. Thanks for the help. It seems as though nothing needs to be done here until the need becomes stronger for some other reason.


Add StudMap Icon

Codecov Report
Base: 58.96% // Head: 58.96% // No change to project coverage :thumbsup:

Coverage data is based on head (c91e94b) compared to base (6c9be0f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #174   +/-   ##
=========================================
  Coverage     58.96%   58.96%
  Complexity      630      630
=========================================
  Files           116      116
  Lines          2493     2493
  Branches        292      292
=========================================
  Hits           1470     1470
  Misses          895      895
  Partials        128      128

Impacted Files
Coverage Δ

src/main/java/seedu/studmap/ui/UiManager.java
0.00% <ø> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


scripts[patch]: Fix import path for build script

dist_build is not shipped in the released package code

Merged in #6188


Implement API Endpoint for Random Greetings

Description:
Changes Made

Created a new Rails API app named 'hello-rails-back-end.'
Initialized the project with Git and set up the Postgres database.
Added a migration to create a table for storing messages.
Seeded the database with 5 different greetings.
Implemented an API endpoint (/random_greeting) to select and return a random greeting from the table.
Created a controller with the necessary action and a corresponding route.

Feel free to ask any question. Thanks for your time.
PS: I have one problem with the linters. Everything is ok on local, but on gh is not working. I submit the screenshot to show you that is passing on my local.

@topeogunleye  OH I forgot to push the changes on the API repo, sorry.

@topeogunleye OH I forgot to push the changes on the API repo, sorry. Can you make the submission available? Because is still waiting for the reviewing

@MarcoDDM, No problem. feel free to push the changes


WiP: automation: First sketch of a task specification and prototype to d...

...emonstrate usage.
Wrote prototype which is able to run tasks sequentially.
Task output may be reused as input in another task.
Review files in this order:

automation.proto
scheduler_test.go
rest of the files

@aaijazi @alainjobart

(you also need to submit the output of the protoc command, as we don't re-generate that at build time)
Couple comments:

this is a good start overall!
the Value is a bit confusing, I'm not sure why you need a list of strings, vs a single string. In either case it will need to be parsed to send some types around (like times, integers, ...) so might as well make it simple and be a string, you can always strings.Join or strings.Split if appropriate?
the output of a task can be re-injected because it's a simple []string, why not make it a map[string]Value too? I guess map[string]string after my previous comment.
the proto file needs documentation for every type, golang style.

Anyway, we can chat about this in person if you want :)

Agree with all of Alain's comments, plus one more of my own.
Definitely a good start, I like that this is fairly simple but powerful already!

Deleting this one because we agreed to not encode cluster operations in protobuf.
Instead, I resumed the work here: https://github.com/youtube/vitess/pull/669


Add wallaby support

Thank you for your contribution!
This GitHub repository is just a mirror of https://opendev.org/openstack/charm-neutron-gateway, where development really happens. Pull requests proposed on GitHub are automatically closed.
If you are interested in pushing this code upstream, please note that OpenStack development uses Gerrit for change proposal and code review.
If you have never contributed to OpenStack before, please see:
https://docs.openstack.org/contributors/code-and-documentation/quick-start.html
Feel free to reach out to the First Contact SIG by sending an email to the openstack-discuss list with the tag '[First Contact]' in the subject line. To email the mailing list, you must first subscribe which can be done here:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss


API call to add ssh keys

Hello All,
At the moment I cannot add SSH keys via the API, is this feature coming anytime soon? I see v2 of the DO api supports this here:
https://developers.digitalocean.com/documentation/v2/#create-a-new-key
This would be great to have, it helps quite a lot with the provisioning.
Many thanks,
Vlad

@vladimirghetau: What version of tugboat do you have? That should be avaliable as the add-key function!
~ $ tugboat help add-key
Usage:
  tugboat add-key KEY-NAME

Options:
  -k, [--key=KEY]    # The string of the key
  -p, [--path=PATH]  # The path to the ssh key
  -q, [--quiet]

Description:
  This uploads a ssh-key to DigitalOcean, which you can then assign to a droplet at creation time so you can connect to it with the key rather than a password.

Excellent!
I am using the latest version, installed via gem, however this add-key wasn't in the README documentation.
All good now, I tried it and it's there. Super product!
Vlad

Thanks! Yeah, I don't think our docs have kept up with our features, I'll add that one in now 👍


jsdoc {integer} type-specialization

This is not a "bug" per-se but, for fields and parameters where such makes sense, I propose annotating the JSDoc type as {integer} instead of {number} as this imposes additional useful context and type-refinement.
There is no natural distinction in JavaScript itself - but the semantic meta-information added by JSDoc is outside of JavaScript's type-system anyway. Using {integer} adds additional and useful information (in some cases a non-integer number just doesn't make sense) and enables a method to correctly, per it's method documentation, treat a "number" as an integer.

Closing this off as it's something you've been doing bit-by-bit anyway, and will be an on-going effort really.


Fix drbd offline environment installation problem

https://gitlab.daocloud.cn/ndx/engineering/kpanda/-/issues/3957

Combined with the helm value.yaml of hwameistor-operator to fix it.


change card number range

0~12 is mapping to 1~14 due to simple codding

Codecov Report

Merging #175 (7ec60bf) into master (05ede06) will increase coverage by 0.04%.
The diff coverage is 19.04%.

@@            Coverage Diff            @@
##           master    #175      +/-   ##
=========================================
+ Coverage    6.23%   6.28%   +0.04%
=========================================
  Files          46      46
  Lines        2212    2213       +1
=========================================
+ Hits          138     139       +1
  Misses       2074    2074

Impacted Files
Coverage Δ

mighty/src/rule/deck.rs
0.00% <0.00%> (ø)

mighty/src/rule/joker_call.rs
0.00% <0.00%> (ø)

mighty/src/rule/mod.rs
0.00% <0.00%> (ø)

mighty/src/state.rs
0.00% <0.00%> (ø)

mighty/src/card.rs
93.25% <100.00%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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


Closes https://github.com/OpenHumans/open-humans/issues/727

Fixes the typo on the about page.
Closes https://github.com/OpenHumans/open-humans/issues/727

Thanks for the fix and spotting the typo!


[BUG] (Hugo update error)

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.1
Windows version, edition, and architecture
Windows 11 Pro 22631.4037
Describe your issue
Installed Hugo from WinGet. I'm trying to upgrade to a new version, error:
No installed packages were found that matched the conditions entered.
Steps to reproduce the issue
No response
UniGetUI Log
[23.08.2024 10:24:18]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.1
[23.08.2024 10:24:18]
[23.08.2024 10:24:18] Version Code:  3,11
[23.08.2024 10:24:18] Encoding Code Page set to 866
[23.08.2024 10:24:19] Using bundled GSudo at C:\Program Files\WingetUI\Assets\Utilities\gsudo.exe
[23.08.2024 10:24:20] Loaded language locale: ru
[23.08.2024 10:24:20] Randomly-generated background API auth token for the current session: yhjo7pxqkrpgctj8fthtcmeloehmz3ddom9oga44i5eul5458ei0pwyu4bj2qkbh
[23.08.2024 10:24:21] Api running on http://localhost:7058
[23.08.2024 10:24:21] Lang files were updated successfully from GitHub
[23.08.2024 10:24:21] UniGetUI is up to date
[23.08.2024 10:24:21] Downloaded new icons and screenshots successfully!
[23.08.2024 10:24:21] Command pwsh.exe was not found on the system
[23.08.2024 10:24:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] Command scoop was not found on the system
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\...\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments:
                      █ Version:
                      █   System WinGet CLI Version: v1.8.1911
                      █   Microsoft.WinGet.Client PSModule version: ""
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[23.08.2024 10:24:22] Microsoft.Powershell.Client detection has been forcefully skipped as the module is not required on the current context
[23.08.2024 10:24:22] Dependency WinGet PowerShell Module for manager Winget is present
[23.08.2024 10:24:22] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[23.08.2024 10:24:27] Found 170 installed packages from Winget
[23.08.2024 10:24:27] Found 5 available updates from Winget
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Icon for package Mozilla.Firefox.DeveloperEdition was not found, returning default icon
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Icon for package Hugo.Hugo.Extended was not found, returning default icon
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=TheDocumentFoundation.LibreOffice
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Microsoft.EdgeWebView2Runtime
[23.08.2024 10:26:54] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:26:54] Icon for package OpenJS.NodeJS.LTS was not found, returning default icon
[23.08.2024 10:26:54] Icon for package TheDocumentFoundation.LibreOffice stored on C:\Users\...\AppData\Local\UniGetUI\CachedMedia\Winget\TheDocumentFoundation.LibreOffice.png
[23.08.2024 10:26:54] Icon for package Microsoft.EdgeWebView2Runtime stored on C:\Users\...\AppData\Local\UniGetUI\CachedMedia\Winget\Microsoft.EdgeWebView2Runtime.png
[23.08.2024 10:32:22] Update
[23.08.2024 10:32:22] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:32:22] Icon for package Hugo.Hugo.Extended was not found, returning default icon
[23.08.2024 10:32:22] Found 0 screenshots for package Id=Hugo.Hugo.Extended
[23.08.2024 10:32:26] Loaded details for package Hugo.Hugo.Extended on manager Winget
[23.08.2024 10:32:59] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[23.08.2024 10:32:59] Icon for package Hugo.Hugo.Extended was not found, returning default icon

Package Managers Logs
Starting package update operation for package id=Hugo.Hugo.Extended with Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=True;RunAsAdministrator=True;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable     : C:\Program Files\WingetUI\Assets\Utilities\gsudo.exe
Process Call Arguments : "C:\Users\...\AppData\Local\Microsoft\WindowsApps\winget.exe"  update --id "Hugo.Hugo.Extended" --exact --source winget --accept-source-agreements --interactive  --accept-package-agreements --force --include-unknown
Working Directory      : C:\Users\...
    |    -
    | No installed packages were found that matched the conditions entered.
Process Exit Code      : -1978335212
Process End Time       : 23.08.2024 10:33:01

Relevant information
No response
Screenshots and videos
No response

I am afraid this issue is caused by WinGet, and not UniGetUI. See that WinGet is failing to detect the package


Delete PublicExperience object on (local) database when deleted on OH

Summary
Currently when a user deletes a story from the OH database via the AutSPACEs site - the local PE object containing the contents of the story is not deleted
Deadline
Feb 2023
What needs to be done?

[x] In functions where request.user.openhumansmember.delete_single_file is called, delete the corresponding PE object at the same time

Who can help?

@helendduncan
@callummole

Updates

Closed in #410


Right clicking a comment crashes the UI

ref 3579
From the stack trace, looks like it happens when there are no submenu items

Closing for now, have a fix from consumer side


firestore: quickstart sample doesn't have appropriate imports

See this issue for context.
@tbpg, should we separate samples into standalone files and add imports as we did in Storage?

I'm not sure the best way to do this. The Firebase samples generally use a different style that doesn't include imports (I think so they can show how to various types of queries succinctly). But, for a quickstart, I think we should show more detail.
Looking at the tutorial, it is a bit confusing that the snippets shown on the page aren't wrapped in declarations, therefore don't compile if copied & pasted as-is.
So, let's not rewrite all of the Firestore samples, at least for now. But, let's clean this one up so the tutorial shows function declarations and imports.
@BenWhitehead, does that sound OK to you?

For now, lets only add the imports for the quick start by adding a region tag around the imports of fs_initialize then the docs site will pull the imports into that snippet before the NewClient code.

Imports added into the samples with https://github.com/GoogleCloudPlatform/golang-samples/pull/1407


Iframed flutter web in a fixed position with a ListView in a SingleChildScrollView will share scrolling with the parent page

Steps to reproduce

Wrap a ListView in a SingleChildScrollView
Embed the flutter app on another website in a fixed position
Hover over the flutter app and scroll

Expected results
Just the flutter app scrolls.
Actual results
The flutter app AND the parent website scrolls.
Code sample
Code sample
Here is the flutter app: https://dartpad.dev/?id=a2e11707d9d8b33fae7d1aa737feaf80
Here is an example of it embedded in a website: https://codepen.io/erik-wayhaven/pen/gOVWXzq
You may need to resize your window to get it to scroll.

Screenshots or Video

Screenshots / Video demonstration
https://github.com/user-attachments/assets/4fe14652-bd54-496c-9ed3-5cdc94892e5e

Logs
No response
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.94.1)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Thanks for the report. Seeing the same behavior as reported.
Stable : 3.24.3
Master: 3.27.0-1.0.pre.88

As a full fix for this we need to make the browser aware of the inner scrolling state, so that it knows when the iframe reaches the end of the scroll extend and starts bubbling scroll event up the chain, including outside the iframe. However, that's a big change that will take us a while to implement. For the time being, it may be possible to intercept scroll/wheel/pointer events (not sure which ones need to be intercepted) and call preventDefault on them so that the browser does not scroll the outer view.


Could you please write micro-modules call spawn to use with chain

Hi,
Your chain module is awesome! I use it for chain many animation actions together. But i also want to using spawn actions with chain too. For example:
I want to move and scale object play in same time and then chain with other move?
(Actually, i want using chain and spawn like this: http://www.cocos2d-x.org/wiki/Actions)
Thank so much!

Hi, glad you're enjoying Chain!
You want to be able to do something like this, is that right?
Chain(
    function (go)
        asyncFunc(go)
        otherAsyncFunc(go)
    end,
    function (go)
        print 'this happens after both async functions finish'
    end
)()

What about something like this?
local function spawn (n, go)
    return function (...)
        n = n - 1
        if n == 0 then go(...) end
    end
end

You could use it like this:
Chain(
    function (go)
        go = spawn(2, go)
        asyncFunc(go)
        otherAsyncFunc(go)
    end,
    function (go)
        print 'this happens after both async functions finish'
    end
)()

I haven't tested it but it looks like it should work. Let me know what you think, I think it's too small to add a module for, but maybe it can be a note in the docs?
What about callbacks that pass arguments to go, though? Arguments to go are passed through to the next "link" in the chain, how should this be handled in this case?

Incredible that it is works! i feel like we are playing with lego pieces 👯
I just tested and it works! Thank so much for quickly answer!
`local function move(go)
-- body
print("move ")
print("and then.. after some wait")
go()
end
local function scale(go)
-- body
print("scale ")
print("and then .. after some wait")
go()
end
local function spawn (n, go)
return function (...)
n = n - 1
if n == 0 then go(...) end
end
end
local function MoveAndScale(go)
go = spawn(2, go)
move(go)
scale(go)
end
local function callback(go)
-- body
print("Yes, it is just works!")
end
local action = Chain(MoveAndScale,callback)
action()`
The only think i am concerned is how to write code more naturally like this:
local spawn_action = Spawn(move,scale) local action = Chain(spawn_action,callback) action()
I still thinking about how to use your lego pieces to make Spawn function like that ...

Hmm, what about this?
local function Spawn (...)
    local t = { ... }
    return function (go, ...)
        local n = #t
        local function cb (...)
            n = n - 1
            if n == 0 then go(...) end
        end
        for _, func in ipairs(t) do
            func(cb, ...)
        end
    end
end

Again untested, but something like this might work.

Excellent! It is power of Chain, thank you so much!


data_pipeline hgnc uses urllib2

The hgnc.py file within data_pipeline uses urllib2 to get remote http objects. This means that it is not included in the requests based logging that has been added.
This ticket is to update hgnc.y to use requests. Or to remove http access enitrely in favour of a pre-downloaded local file.

Done and merged to master


Feature request

It would be great if the following feature could be added. I have created a extension to achieve this.
prepare the alert without showing it right-away and only show it by explicitly calling show() somewhere else.
Usecase scenario 1

Users sees a screen with table
User clicks on a table cell & the Alert is prepared
User is taken to a new screen (another View controller)
Users goes back to the original screen with table
User is presented with the previously prepared Alert

Mock example
class MyViewController: UIViewController {
    private var alertViewResponder: SCLAlertViewResponder?
    ...
    func userClickedSomewhere(){
          ...
          self.alertViewResponder = SCLAlertView().prepareTitle(
                "Congratulations", // Title of view
                subTitle: "Operation successfully completed.", // String of view
                duration: 2.0, // Duration to show before closing automatically, default: 0.0
                completeText: "Done", // Optional button value, default: ""
                style: .Success, // Styles - see below.
                colorStyle: 0xA429FF,
                colorTextButton: 0xFFFFFF
            )
    }
    ...
    func showAlert(){
        self.alertViewResponder!.show()
    }
}

I don't see a need for it. you can just SCLAlertView(). and then set values before calling showInfo function.
But, feel free to send PR. I'm closing this issue for now

The need is debatable. But this is not important for us at the moment, so i'm fine with the close.


Clearly document our environment variables

Inspired by #1106 (and others I can't remember atm).
We have a handful of really useful environment variables, with subtly different behaviour. These are currently poorly, or undocumented which leads to people not knowing they exist, or how they work.
We need to document theses
Off the top of my head we ENV variables for installing/downloading the binaries, as well compiling the binary in dev mode. Below is some, but not all, of the ENV variables that directly affect node-sass.

Variable name
value

SASS_BINARY_NAME
path

SASS_BINARY_SITE
URL

SASS_BINARY_PATH
path

LIBSASS_EXT
auto,yes,no

LIBSASS_CFLAGS
compiler directives

LIBSASS_LDFLAGS
linker directives

:+1:
Incidentally, should we add two more columns to list down their package.json cofig and CLI argument counterparts (where applicable)?


Update index.html with my details

can u please help me
my vercel deployment has been failing. What should I do?

fix conflicts

don't worry about vercel deployment as the todays deployment limit is reached
but yiu should fix conflicting files by syncing the repository and recommiting

What changes should I make to fix merge conflicts

What changes should I make to fix merge conflicts

just sync your repositoryand commit your changes again


Feature: Change colour of the progress / arc

I'd like to be able to change the colour of the progress.

I tried simply exposing the arc view:
@interface GBKUIButtonProgressView (Expose)
- (UIView *)borderView;
- (CAShapeLayer *)arc;
@end

Which works for setting the background colour, but since the arc view is created on demand createArcView. this doesn't work.


btrfs-heatmap: 8 -> 9; python.pkgs.btrfs: 11 -> 12

Motivation for this change
new versions came out a while ago
Things done
updated btrfs-heatmap to latest version
change btrfs-heatmap to use in-tree man page
changed btfs-heatmap to use the renamed executable
updated python.pkgs.btrfs to latest version (in this PR as btfrs-heatmap's docs refer to v12)
(this is a dependency of btfs-heatmap, though it works with v11 and v12)
change python.pkgs.btfs to get source from github as v12 isn't published on pypi

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)

/nix/store/41g33y7dqdnsd7gbpq457v3a6dk5g3dp-python3.8-btrfs-11	   98558656
/nix/store/dyhjxhbmrjr2dccwvjl7acdyd5fqy1zp-btrfs-heatmap-8	   98584136
/nix/store/c1vicpq9idgmdq2kdqcmilqgdwfl148i-python3.8-btrfs-12	   98604088
/nix/store/96qp7vchj1pwbfzp66sz450lbni72lw0-btrfs-heatmap-9	   98630440

[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 119753 at 096b69e7 run on x86_64-linux 1

3 packages built successfully:

btrfs-heatmap
python38Packages.btrfs
python39Packages.btrfs

3 suggestions:

warning: unused-argument
Unused argument: fetchurl.
Near pkgs/tools/filesystems/btrfs-heatmap/default.nix:5:3:
  |
5 | , fetchurl
  |   ^

warning: no-python-tests
Test runner could not discover any test cases: ‘Ran 0 tests in 0.000s’
Near pkgs/development/python-modules/btrfs/default.nix:18:0:
   |
18 |     description = "Inspect btrfs filesystems";
   | ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/filesystems/btrfs-heatmap/default.nix:24:3:
   |
24 |   installPhase = ''
   |   ^

Please update the commit messages according to the title.

Please update the commit messages according to the title.

upstream calls them v12 and v9

Please update the commit messages according to the title.

@SuperSandro2000 done