Can't install Nico's as ext2 is being detected as ext4

I am unable to install nixos latest version as ext2 is being detected as ext4

Just to get a little more insight about your problem, did that happened while following the install guide?
Also, could tell the command that triggered the error and paste the full error message?

Yes command was nixos-install. I tried with NIXOS_GRUB_INSTALL=0 by copying file nixos-install it didn't seem to work

Can anyone tell which script calls grub-install

Here you go:
git grep grub-install
nixos/modules/system/boot/loader/grub/grub.nix:          Whether to invoke <literal>grub-install</literal> with
nixos/modules/system/boot/loader/grub/install-grub.pl:            system("$grub/sbin/grub-install", "--recheck", "--root-directory=$tmpDir", Cwd::abs_path($dev)) == 0
nixos/modules/system/boot/loader/grub/install-grub.pl:            system("$grub/sbin/grub-install", "--recheck", "--root-directory=$tmpDir", "--target=$grubTarget", Cwd::abs_path($dev)) == 0
nixos/modules/system/boot/loader/grub/install-grub.pl:    my @command = ("$grubEfi/sbin/grub-install", "--recheck", "--target=$grubTargetEfi", "--boot-directory=$bootPath", "--efi-directory=$efiSysMountPoint");

Thanks I worked it out


Maintenance Reboot

As we get more active in maintaining yt, I wanted to share our todo list for this library as a sort of "meta issue". We haven't decided on where we're going to track development, but we can figure that out too 😄

[ ] Add a PR template
[ ] Decide on where to track issues
[ ] Make issues for future hopes and dreams ✨
[ ] Make fixture script for setting up a YouTube account
[ ] Change tests to use fixtures

or have integration tests be runnable with VCR? and then run them without cassettes when we hit master?

[ ] Re-enable as_content_owner tests
[x] Fold yt-support into yt
[ ] Re-enable Yt::URL features
[ ] Remove hard ActiveSupport dependency

this is necessary for instrumentation, but anything else?

If you work on or use this project, let us know what's on your wishlist too.

I would greatly appreciate more expansive documentation!
The documentation on the github pages is handy, but it lacks a lot of information.
For example, I didn't realize that when using Yt::Video#thumbnail_url I could specify the quality as an argument. For the past few months I've actually been making a separate call to YouTube to fetch a high-res image. It's great to learn that doing so is unnecessary, but it would have been nice if the documentation elaborated on that without me needing to visit the RDoc pages.
I understand that the RDocs are supposed to be the true/full documentation, but the github-pages reference gives the impression of itself being documentation, and nothing in the info given there implied that there was additional functionality available.
And thanks for maintaining the gem! It's good to see it's still being worked on. Let me know if you need additional contributors.

@YSavir Yeah, we're working on it in fits and starts.
I think my issue with the state of documentation is that it's not clear where to look for what you want. I think a move from RDoc to Github pages was started but not finished. Either way, it'd be nice to have the "reference" documentation up to date and easily accessible, along with "narrative" documentation (sorta like the existing README) that goes through the main use cases.
Anyway, I'll add improving documentation to our list :)


⚠ Turnos 24x7 has degraded performance

In bbd5a24, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 821 ms

Resolved: Turnos 24x7 performance has improved in 3b34332.


get-client-lib fails with "Unexpected character"

We are using endpoints tool to generate a Java client library for our API:
java -cp <endpoints-framework-tools and all dependency JARs> \
    com.google.api.server.spi.tools.EndpointsTool \
    get-client-lib \
    --war=<directory of our WAR> \
    <our API class>

With 2.0.0-beta.9 everything worked fine:

API client library written to ./-v1-java.zip

With 2.0.0-beta.10 it no longer works:

API Discovery Document written to ./<api name>-v1-rest.discovery
Error: Unexpected character ('.' (code 46)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: ./<api name>-v1-rest.discovery; line: 1, column: 2]

The discovery file is there contains a valid JSON structure. Seeing a similar error message in a Jackson issue it seems this happens when ObjectMapper.readTree(String) is called providing a String with a path to the JSON file instead of its contents.

Thanks for the report. Can you try this as a workaround?
java -cp <...> \
    com.google.api.server.spi.tools.EndpointsTool \
    get-discovery-doc \
    --war=<...> \
    <...>
java -cp <...> \
    com.google.api.server.spi.tools.EndpointsTool \
    gen-client-lib \
    <discovery doc>

@tangiel That works, thanks, we'll use that as a workaround for the moment.

This should be fixed by #34 and is being released in beta.12. Thank you for the report. Please let us know if there are still issues.

The fix looks good, thanks for your help.


Could you add support for --protein_ligand_csv and support for SMILES for ligand e.g. --ligand "COc(cc1)ccc1C#N"?

Hi Jochem,
I found it could be really useful to use the "--protein_ligand_csv" option for batch jobs.
Thank you,
Yang

Never mind, I figured out how to use the protein_ligand_csv.
Cheers,
Yang

Never mind, I figured out how to use the protein_ligand_csv.
Cheers, Yang

Hi there,
It's possible by calling inference.py directly. However, I don't think this is not convenient from a user POV. I'm working on implementing support for the protein_ligand_csv option directly from inferenceVS.py. It will basically split the csv file into separate smaller csv files, and then launch them as jobs like the other option. I need to change and check some other minor things as well to ensure compatibility. After I test it I will push the update! I hope to do this either later today, or otherwise tomorrow.

Thank you. As you mentioned, I was using the inference.py directly.
Best,
Yang
On Sun, Jul 28, 2024, 11:39 AM Jochem Nelen @.***>
wrote:

Never mind, I figured out how to use the protein_ligand_csv.
Cheers, Yang
Hi there,
It's possible by calling inference.py directly. However, I don't think
this is not convenient from a user POV. I'm working on implementing support
for the protein_ligand_csv option directly from inferenceVS.py. It will
basically split the csv file into separate smaller csv files, and then
launch them as jobs like the other option. I need to change and check some
other minor things as well to ensure compatibility. After I test it I will
push the update! I hope to do this either later today, or otherwise
tomorrow.
—
Reply to this email directly, view it on GitHub
https://github.com/Jnelen/DiffDockHPC/issues/5#issuecomment-2254559761,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQQMUFCO6AELLUAXDLXO2N3ZOUGBTAVCNFSM6AAAAABLQUITWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGU2TSNZWGE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Thank you. As you mentioned, I was using the inference.py directly. Best, Yang
…
On Sun, Jul 28, 2024, 11:39 AM Jochem Nelen @.> wrote: Never mind, I figured out how to use the protein_ligand_csv. Cheers, Yang Hi there, It's possible by calling inference.py directly. However, I don't think this is not convenient from a user POV. I'm working on implementing support for the protein_ligand_csv option directly from inferenceVS.py. It will basically split the csv file into separate smaller csv files, and then launch them as jobs like the other option. I need to change and check some other minor things as well to ensure compatibility. After I test it I will push the update! I hope to do this either later today, or otherwise tomorrow. — Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQMUFCO6AELLUAXDLXO2N3ZOUGBTAVCNFSM6AAAAABLQUITWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGU2TSNZWGE . You are receiving this because you modified the open/close state.Message ID: @.>

Hi,
I just pushed some changes. Could you try it out? The protein_ligand_csv can contain different proteins, however, it will all be stored in the molecules/ directory. But at least the --protein_ligand_csv option can now be used from inferenceVS.py, which means it can be run using slurm, and also across multiple jobs! Can I ask you what exactly is your usecase by the way? Perhaps there is an option to save the ligands per protein target, but this might complicate the code quite a lot, and perhaps in that case it's easier to use regular DiffDock?
Kind regards,
Jochem

Actually I just made some additional changes, and now it does group the output molecules per protein file (if there is more than 1). The implementation is not the cleanest, but it's functional! Please try it out and let me know if it works for you!

Wow, that was fast. Thank you for adding this feature. I will try it out.
My use case is multiple pdbs vs multiple small molecules. As long as the program can take the protein_ligand_csv, I can name each combination in the csv. I love the HPC version because it is easy to install and easy to use.
I also realize that the HPC inference.py takes the ';' separated csv instead of a regular csv.
Thanks again,
Yang

Wow, that was fast. Thank you for adding this feature. I will try it out. My use case is multiple pdbs vs multiple small molecules. As long as the program can take the protein_ligand_csv, I can name each combination in the csv. I love the HPC version because it is easy to install and easy to use. I also realize that the HPC inference.py takes the ';' separated csv instead of a regular csv.
Thanks again, Yang

Thanks for your kind words!
 I actually made some changes, and now csvs with ',' also should work fine. So please update if you haven't already! Additionally, if you use --protein_ligand_csv with inferenceVS.py, it will now also group the ligands per protein, which I think can be very useful for your usecase. The protein files are also copied to the molecules directory, but maybe that's not useful for you? Perhaps I should make that optionial?
Thanks again for the feedback!

It has been very useful to me. Thank you for the work! I have pulled the latest update and will test it out soon.
Best,
Yang

It has been very useful to me. Thank you for the work! I have pulled the latest update and will test it out soon.
Best, Yang

Awesome, I hope it works well for you!
Any feedback is appreciated!
Kind regards,
Jochem


Operating platform

Hi,  @hkchengrex , I recently read the corresponding article on the code and think it is a great job. I see that you just tested the GUI on Windows and the code tested on Ubuntu, so can you debug the code on Windows as well?
Looking forward to your reply！

The GUI seems fully-functional on windows when using anaconda to set up the requirements, I've been playing around with the overlay modes to enable a layer sequence without issues on windows 11.

The GUI seems fully-functional on windows when using anaconda to set up the requirements, I've been playing around with the overlay modes to enable a layer sequence without issues on windows 11.

OK，Thanks! I'll try it.


camera lib 0.2.8: CameraPreview shows black screen instead of camera preview on some iOS devices, including iPhone X

Steps to Reproduce

Run the complete camera example from https://pub.dartlang.org/packages/camera#-example-tab- on iPhone X or iPhone 7 plus (and presumably some other iOS devices, but not iphone 6s, and not iPad).
Click on the first camera to select it.
Preview screen of the camera is all black. Pressing the photo capture button will successfully capture an image (not a black screen).  Expected result is that CameraPreview screen should not be all black, and should instead have pixels approximating whatever objects are in front of the device's camera.

A couple relevant notes:
This issue happens in camera versions 0.2.8 and later, but not in 0.2.6 and 0.2.7 (haven't tested earlier versions, but presume also not there).
It's also worth noting that this does not happen for the shorter camera example on https://pub.dartlang.org/packages/camera#-readme-tab- .  The difference is that the broken example uses ResolutionPresets.high, while the working example uses ResolutionPresets.medium.
Logs

[  +45 ms] [100%] Installed package build/ios/iphoneos/Runner.app
[ +264 ms] ------ Debug phase ------
[        ] Starting debug of ec55604459969d400ac4f51ddc6def2a7ff12d58 (D221AP, D221AP, uknownos, unkarch) a.k.a. 'Tane's iPhone' connected through USB...
[ +535 ms] [  0%] Looking up developer disk image
[  +52 ms] [ 95%] Developer disk image mounted successfully
[ +903 ms] [100%] Connecting to remote debug server
[        ] -------------------------
[  +33 ms] (lldb) command source -s 0 '/tmp/CD3CA301-E1AC-43F6-96BF-436296499990/fruitstrap-lldb-prep-cmds-ec55604459969d400ac4f51ddc6def2a7ff12d58'
[        ] Executing commands in '/tmp/CD3CA301-E1AC-43F6-96BF-436296499990/fruitstrap-lldb-prep-cmds-ec55604459969d400ac4f51ddc6def2a7ff12d58'.
[        ] (lldb)     platform select remote-ios --sysroot '/Users/michaelnelson/Library/Developer/Xcode/iOS DeviceSupport/12.1.2 (16C101)/Symbols'
[        ]   Platform: remote-ios
[        ]  Connected: no
[        ]   SDK Path: "/Users/michaelnelson/Library/Developer/Xcode/iOS DeviceSupport/12.1.2 (16C101)/Symbols"
[        ] (lldb)     target create "/Users/michaelnelson/Documents/GitHub/flutter/appraisal_supplier_app/build/ios/iphoneos/Runner.app"
[+6074 ms] Current executable set to '/Users/michaelnelson/Documents/GitHub/flutter/appraisal_supplier_app/build/ios/iphoneos/Runner.app' (arm64).
[        ] (lldb)     script fruitstrap_device_app="/private/var/containers/Bundle/Application/069425FF-B047-4ADD-99B5-1EBBA8BA8710/Runner.app"
[        ] (lldb)     script fruitstrap_connect_url="connect://<IP_ADDRESS>:62803"
[        ] (lldb)     target modules search-paths add /usr "/Users/michaelnelson/Library/Developer/Xcode/iOS DeviceSupport/12.1.2 (16C101)/Symbols/usr" /System "/Users/michaelnelson/Library/Developer/Xcode/iOS DeviceSupport/12.1.2 (16C101)/Symbols/System" "/private/var/containers/Bundle/Application/069425FF-B047-4ADD-99B5-1EBBA8BA8710" "/Users/michaelnelson/Documents/GitHub/flutter/appraisal_supplier_app/build/ios/iphoneos" "/var/containers/Bundle/Application/069425FF-B047-4ADD-99B5-1EBBA8BA8710" "/Users/michaelnelson/Documents/GitHub/flutter/appraisal_supplier_app/build/ios/iphoneos" /Developer "/Users/michaelnelson/Library/Developer/Xcode/iOS DeviceSupport/12.1.2 (16C101)/Symbols/Developer"
[  +98 ms] (lldb)     command script import "/tmp/CD3CA301-E1AC-43F6-96BF-436296499990/fruitstrap_ec55604459969d400ac4f51ddc6def2a7ff12d58.py"
[  +13 ms] (lldb)     command script add -f fruitstrap_ec55604459969d400ac4f51ddc6def2a7ff12d58.connect_command connect
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_ec55604459969d400ac4f51ddc6def2a7ff12d58.run_command run
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_ec55604459969d400ac4f51ddc6def2a7ff12d58.autoexit_command autoexit
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_ec55604459969d400ac4f51ddc6def2a7ff12d58.safequit_command safequit
[        ] (lldb)     connect
[  +24 ms] (lldb)     run
[ +361 ms] success
[        ] (lldb)     safequit
[ +113 ms] Process 55795 detached
[  +58 ms] Application launched on the device. Waiting for observatory port.
[ +715 ms] [Crashlytics] Version 3.12.0 (136)
[  +53 ms] Observatory URL on device: http://<IP_ADDRESS>:57049/
[        ] attempting to forward device port 57049 to host port 1024
[        ] executing: /usr/local/bin/iproxy 1024 57049 ec55604459969d400ac4f51ddc6def2a7ff12d58
[   +8 ms] attempting to forward device port 57049 to host port 1025
[        ] executing: /usr/local/bin/iproxy 1025 57049 ec55604459969d400ac4f51ddc6def2a7ff12d58
[+1008 ms] Forwarded port ForwardedPort HOST:1025 to DEVICE:57049
[        ] Forwarded host port 1025 to device port 57049 for Observatory
[   +2 ms] Installing and launching... (completed)
[   +3 ms] Connecting to service protocol: http://<IP_ADDRESS>:1025/
[ +159 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:1025/
[   +2 ms] Sending to VM service: getVM({})
[   +5 ms] Result: {type: VM, name: vm, architectureBits: 64, targetCPU: dbc, hostCPU: Unknown, version: 2.1.0-dev.9.4.flutter-f9ebf21297 (Thu Nov 8 23:00:07 2018 +0100) on "ios_dbc", _profilerMode: VM, _nativeZoneMemoryUsage: 0, pid: 55795, startTime:<PHONE_NUMBER>793...
[   +3 ms] Sending to VM service: getIsolate({isolateId: isolates/1048716777})
[   +2 ms] Sending to VM service: _flutter.listViews({})
[  +31 ms] Result: {type: Isolate, fixedId: true, id: isolates/1048716777, name: main.dart:main.dart(), number:<PHONE_NUMBER>, _originNumber:<PHONE_NUMBER>, startTime:<PHONE_NUMBER>806, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 2, avgCollecti...
[   +8 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x129e077b8, isolate: {type: @Isolate, fixedId: true, id: isolates/1048716777, name: main.dart$main.dart-1048716777, number:<PHONE_NUMBER>}}]}
[   +8 ms] DevFS: Creating new filesystem on the device (null)
[        ] Sending to VM service: _createDevFS({fsName: appraisal_supplier_app})
[  +27 ms] Result: {type: FileSystem, name: appraisal_supplier_app, uri: file:///private/var/mobile/Containers/Data/Application/CF2166E2-E688-437A-9C06-909671E21EA1/tmp/appraisal_supplier_app2gIBim/appraisal_supplier_app/}
[        ] DevFS: Created new filesystem on the device (file:///private/var/mobile/Containers/Data/Application/CF2166E2-E688-437A-9C06-909671E21EA1/tmp/appraisal_supplier_app2gIBim/appraisal_supplier_app/)
[   +2 ms] Updating assets
[ +400 ms] Syncing files to device Tane's iPhone...
[   +1 ms] DevFS: Starting sync from LocalDirectory: '/Users/michaelnelson/Documents/GitHub/flutter/appraisal_supplier_app'
[        ] Scanning project files
[   +3 ms] Scanning package files
[ +110 ms] Scanning asset files
[   +4 ms] Scanning for deleted files
[   +8 ms] Compiling dart to kernel with 445 updated files
[   +5 ms] /users/michaelnelson/flutter/bin/cache/dart-sdk/bin/dart /users/michaelnelson/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /users/michaelnelson/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill --packages /Users/michaelnelson/Documents/GitHub/flutter/appraisal_supplier_app/.packages --filesystem-scheme org-dartlang-root
[+1015 ms] Updating files
[+1023 ms] DevFS: Sync finished
[        ] Syncing files to device Tane's iPhone... (completed)
[        ] Synced 27.4MB.
[        ] Sending to VM service: _flutter.listViews({})
[   +3 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x129e077b8, isolate: {type: @Isolate, fixedId: true, id: isolates/1048716777, name: main.dart$main.dart-1048716777, number:<PHONE_NUMBER>}}]}
[        ] Connected to _flutterView/0x129e077b8.
[   +1 ms] 🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[        ] An Observatory debugger and profiler on Tane's iPhone is available at: http://<IP_ADDRESS>:1025/
[        ] For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".

flutter analyze results:
No issues found

flutter doctor -v
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.2 18C54, locale en-US)
    • Flutter version 1.0.0 at /users/michaelnelson/flutter
    • Framework revision 5391447fae (7 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/michaelnelson/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

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

[!] Connected device
    ! No devices available

same here. Tried camera 0.3.0, iPhone 6s. Just a black screen instead of preview


Revert "feat: Manual impl of PartialEq for Coroutine"

Reverts DioxusLabs/dioxus#2895

Why is the CI beng skipped?

Closing -> https://github.com/DioxusLabs/dioxus/pull/2897


Fix BulkSetAmpl bug, Add more diff cuquantum unit tests

From this PR, other differentiators like ParameterShift(), LinearCombination and its subclasses can be accelerated with cuquantum expectation and sampled_expectation op.

I also fixed the random seeds at the end of each test in expectation_test and sampled_expectation_test because they are using internal keras layer with randomly initialized weights.
I also found and fixed that the two keras layers were using predefined initializer at the function argument default value position of __init__(). In python, this creates an object and cached it, and then re-use it whenever the new object is created. That doesn't make sense, so Keras team also guided to avoid the usage. After moving it into function body, we can see the errors from the same random initializer gone.
Also, I added initializers in each test in expectation_test and sampled_expectation_test to fix the random behavior in the test.
Now I confirmed that both ./scripts/test_all.sh gpu and ./scripts/test_all.sh passed.


Setting up Python for Neovim

Problem summary
Unable to activate neovim on pyenv
Expected
When running the code to activate neovim on pyenv, "virtualenv"  and "activate" are not recognized as valid pyenv commands.
Environment Information

OS: Mac OS 10.11
Neovim version: 0.1.7

Provide a minimal init.vim with less than 50 lines (required)
" Use the following as a template.
set runtimepath+=~/path/to/deoplete.nvim/
set runtimepath+=~/path/to/deoplete-jedi/
let g:deoplete#enable_at_startup = 1
call deoplete#custom#set('jedi', 'debug_enabled', 1)
call deoplete#enable_logging('DEBUG', '/tmp/deoplete.log')

Generate logfiles if appropriate

export NVIM_PYTHON_LOG_FILE=/tmp/nvim-log
export NVIM_PYTHON_LOG_LEVEL=DEBUG
nvim -u minimal.vimrc

Then look at and attach the files /tmp/nvim-log_{PID} and
/tmp/deoplete.log here.
Steps to reproduce the issue after starting Neovim (required)

pyenv install 2.7.12
pyenv install 3.6.0
pyenv virtualenv 2.7.12 neovim2
pyenv virtualenv 3.6.0 neovim3
pyenv activate neovim2
pip install neovim
pyenv which python  # Note the path
pyenv activate neovim3
pip install neovim
pyenv which python  # Note the path

Screen shot (if possible)
Upload the logfile(s)

Updating Jedi solved the issue for me.
But the python-client broke for me with version 3.6.
You can install pyuv version 0.10.x in the same virtualenv as a provisional fix.
I sent a PR to fix for pyuv >1.0.
I will see if I can fix for bare asyncio.

Thanks. Installing pyuv 0.10 solved the problem.
2017-01-06 20:58 GMT-02:00 Hélio Meira Lins<EMAIL_ADDRESS>
Updating Jedi solved the issue for me.
But the python-client https://github.com/neovim/python-client/ broke
for me with version 3.6.
You can install pyuv version 0.10.x in the same virtualenv as a
provisional fix.
I sent a PR https://github.com/neovim/python-client/pull/240 to fix for
pyuv >1.0.
I will see if I can fix for bare asyncio.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zchee/deoplete-jedi/issues/98#issuecomment-271033360,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIsUFA3qzIspDiIiUAqNBU8pvKteFxQ3ks5rPsczgaJpZM4LcWz-
.

What exactly is the issue here?
It seems like completion just does not happen when using Python 3.6, but without any error?
We should ensure that the error that prevents this does not get swallowed then probably, too!

Closing as dupe of #100.


Add Greeting welcome bot

Is your feature request related to a problem? Please describe.
Add welcome greeting bot to greet contributors and asking them to follow contributors guidelines for GSSOC :)

@vigneshshettyin Can it be assigned to me?

Ok


[SPARK-35091][SPARK-35090][SQL] Support extract from ANSI Intervals

What changes were proposed in this pull request?

In this PR, we add extract/date_part support for ANSI Intervals
The extract is an ANSI expression and date_part is NON-ANSI but exists as an equivalence for extract
expression
<extract expression> ::=
  EXTRACT <left paren> <extract field> FROM <extract source> <right paren>

 for interval source

<primary datetime field> ::=
    <non-second primary datetime field>
| SECOND
<non-second primary datetime field> ::=
    YEAR
  | MONTH
  | DAY
  | HOUR
  | MINUTE

dataType
If <extract field> is a <primary datetime field> that does not specify SECOND or <extract field> is not a <primary datetime field>, then the declared type of the result is an implementation-defined exact numeric type with scale 0 (zero)

Otherwise, the declared type of the result is an implementation-defined exact numeric type with scale not less than the specified or implied <time fractional seconds precision> or <interval fractional seconds precision>, as appropriate, of the SECOND <primary datetime field> of the <extract source>.

Why are the changes needed?

Subtask of ANSI Intervals Support
Does this PR introduce any user-facing change?

Yes

extract/date_part support ANSI intervals
for non-ansi intervals, the return type is changed from long to byte when extracting hours

How was this patch tested?

new added tests

Test build #137963 has started for PR 32351 at commit e0ac000.

cc @MaxGekk @cloud-fan @maropu

thanks for reminding @MaxGekk

Test build #137964 has started for PR 32351 at commit c4d957b.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42484/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42484/

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

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42485/

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

Test build #137963 has finished for PR 32351 at commit e0ac000.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
abstract class ExtractIntervalPart[T](
case class YearsOfYMInterval(child: Expression)
case class MonthsOfYMInterval(child: Expression)
case class DaysOfDTInterval(child: Expression)
case class HoursOfDTInterval(child: Expression)
case class MinutesOfDTInterval(child: Expression)
case class SecondsOfDTInterval(child: Expression)

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

Test build #137964 has finished for PR 32351 at commit c4d957b.

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

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

Test build #137975 has started for PR 32351 at commit db74496.

Test build #137975 has finished for PR 32351 at commit db74496.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ExtractANSIIntervalYears(child: Expression)
case class ExtractANSIIntervalMonths(child: Expression)
case class ExtractANSIIntervalDays(child: Expression)
case class ExtractANSIIntervalHours(child: Expression)
case class ExtractANSIIntervalMinutes(child: Expression)
case class ExtractANSIIntervalSeconds(child: Expression)

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42495/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42495/

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

Test build #137979 has started for PR 32351 at commit e4bc0f6.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42499/

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

Test build #137985 has started for PR 32351 at commit 687a384.

Test build #137979 has finished for PR 32351 at commit e4bc0f6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42505/

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42505/

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

Test build #137985 has finished for PR 32351 at commit 687a384.

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

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

thanks, merging to master!


Queues don't scroll.

On chrome 49.0.2623.112 m (64-bit) only the first 10 queues are shown. If you open availability or colleagues even less are shown. The colleagues list does have a scroll bar however so it's not a global problem.

Helllo @SixFive7,
I was able to confirm that at most 10 queues are visible. I will be following up on this in the next 2-4 weeks.

Hello @SixFive7,
I've fixed the problem. The new version of the extension should be in the store in the next 24 hours. Thanks for your feedback!


Demo website is not working

the blog (https://medusajs.com/blog/announcing-medusa-eats) points to this website:
https://medusa-eats.vercel.app/
But the items list is empty.

yea, same. Originally it was working and was a great example to great creative ideas from. Not to complain but this has been the case with few recent examples, product module example stopped working in the demo site, reservation demo stopped working, etc... it would be nice to have them back please, particularly this one. Totally understand you guys are busy with the v. 2 updates, and you guys have done a fantastic job.

We were actually looking some for some time investments, to see if our current system can migrate to Medusa, however because demos we tried didnt work, some members of our team had cold feet. I am still enthutiastic and excited about Medusa and its promise, I know V2 is just coming out, these things happen, so I feel the need to investigate further and see whats going on.
Why do you guys thing it worked initially and failed now? Perhaps they released the demo to vercel without certain limitations to the database so it crashed the backend? Is anyone who cloned the code having any success?
But I would still be curious about the underlying reason, would be a horror story if we spend a month and have errors we dont understand.


Fix flakiness in leak_tracker.

Leak tracker does not detect some not disposed objects, created in last executed test.
As result, randomization brings new failures of previously passing tests.
Example of the failure at master: https://github.com/flutter/flutter/pull/135394

fix: https://github.com/dart-lang/leak_tracker/pull/149


chore(main): release 0.0.32

:robot: I have created a release beep boop
0.0.32 (2024-11-28)
Miscellaneous Chores

change the way Adapter and Kernel handle and process incoming event (c4dbb69)
make OutgoingResponse properties mutable (9cce3ac)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.0.32
:sunflower:


Weird error with line breaking (MathJax 4.0.0)

When using  MathJax 4.0.0 with line breaking, I get an odd outcome whereby the following equation renders when the screen width is above about 320px, but not not below 320px (results in Math output error).
\begin{spreadlines}{0.5em}
\begin{align}
 \int_0^1 L(\theta|h, n) \phantom{c} d\theta &= \frac{n!}{h!(n-h)!}\frac{h!(n-h)!}{(n + 1)!} \nonumber \\\\
&= \frac{n!}{(n + 1)!} \nonumber \\\\
&= \frac{1}{n+1}. \label{eq:likelihood-proof}
\end{align}
\end{spreadlines}

Here is the setup code for MathJax I am using
window.MathJax = {

  section: {
    n: -1,
    useLetters: false,
    letters: "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  },

  loader: {load: ['[tex]/tagformat', '[tex]/mathtools', 'output/chtml']},
  tex: {
    inlineMath: [['$', '$'], ['\\(', '\\)']], //allow inline math
    displayMath: [['$$','$$']],
    tagSide: 'right', //location of equation numbers
    tags: 'all',
    packages: {'[+]': ['tagformat', 'sections', 'autoload-all', 'mathtools']},
    tagformat: {
      number: (n) => {
        const section = MathJax.config.section;
        return (section.useLetters ? section.letters[section.n] : section.n) + '.' + n;
      }
    }
  },

  chtml: {
   mtextInheritFont: true,         // font to use for mtext, if not inheriting (empty means use MathJax fonts)
   displayOverflow: 'linebreak'
  },

  linebreak: {                  // options for when overflow is linebreak
      inline: true,                   // true for browser-based breaking of inline equations
      width: '100%',                  // a fixed size or a percentage of the container width
      lineleading: .2,                // the default lineleading in em units
      LinebreakVisitor: null,         // The LinebreakVisitor to use
  },

  startup: {
    ready() {
      const Configuration = MathJax._.input.tex.Configuration.Configuration;
      const CommandMap = MathJax._.input.tex.SymbolMap.CommandMap;
      new CommandMap('sections', {
        nextSection: 'NextSection',
        setSection: 'SetSection',
      }, {
        NextSection(parser, name) {
          MathJax.config.section.n++;
          parser.tags.counter = parser.tags.allCounter = 0;
        },
        SetSection(parser, name) {
          const section = MathJax.config.section;
          const c = parser.GetArgument(name);
          const n = section.letters.indexOf(c);
          if (n >= 0) {
            section.n = n;
            section.useLetters = true;
          } else {
            section.n = parseInt(c);
            section.useLetters = false;
          }
        }
      });
      Configuration.create(
        'sections', {handler: {macro: ['sections']}}
      );
      MathJax.startup.defaultReady();
    }
  }
};

<script<EMAIL_ADDRESS>

I'm reopening, as I was working on the issue of the equation numbers being outside the container, and was able to reproduce the error, and can do so reliably.  I will look into it further.

Ok sounds good. Also, I just came across another interesting phenomenon in MathJax 4.0.0 whereby all the inline Math and the equation numbers are not vertically aligned in the text. Everything is offset slightly downward. I have attached two examples. I assume this is not a new issue but can't seem to find the fix.  I am using the above setup for MathJax.

I believe the alignment issue may be due to CSS on your page, but I no longer have access to the site, so can't check it out.  This is not something that has been reported elsewhere.

Well, it took several hours to figure out what was going on, and it was subtle, having to do with cached information about how many line breaks there are in various elements.  When the width of the table cell is smaller than the width of the fractions, that leads to the error.  I've made a PR for the fix, but for now, you can add
      const {CommonWrapper} = MathJax._.output.common.Wrapper;
      const {LineBBox} = MathJax._.output.common.LineBBox;
      Object.assign(CommonWrapper.prototype, {
        invalidateBBox(bubble = true) {
          if (this.bboxComputed || this._breakCount >= 0) {
            this.bboxComputed = false;
            this.lineBBox = [];
            this._breakCount = -1;
            if (this.parent && bubble) {
              this.parent.invalidateBBox();
            }
          }
        },
        _getLineBBox: CommonWrapper.prototype.getLineBBox,
        getLineBBox(i) {
          if (!this.lineBBox[i] && !this.breakCount) {
            const obox = this.getOuterBBox();
            this.lineBBox[i] = LineBBox.from(obox, this.linebreakOptions.lineleading);
          }
          return this._getLineBBox(i);
        }
      });

to the ready() function in the startup section of your configuration in order to take care of it.

Ok perfect! I tried removing all CSS and Javascript on my website and still had vertical misalignment of all in-line  math whereby each component is slightly downshifted by the same amount. Here is my current MathJax setup:
window.MathJax = {
  section: {
    n: -1,
    useLetters: false,
    letters: "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  },

  loader: {load: ['[tex]/tagformat', '[tex]/mathtools', 'output/chtml']},
  tex: {
    inlineMath: [['$', '$'], ['\\(', '\\)']], //allow inline math
    displayMath: [['$$','$$']],
    tagSide: 'right', //location of equation numbers
    tags: 'all',
    packages: {'[+]': ['tagformat', 'sections', 'autoload-all', 'mathtools']},
    tagformat: {
      number: (n) => {
        const section = MathJax.config.section;
        return (section.useLetters ? section.letters[section.n] : section.n) + '.' + n;
      }
    }
  },

  chtml: {
   mtextInheritFont: true,         // font to use for mtext, if not inheriting (empty means use MathJax fonts)
   displayOverflow: 'linebreak'
  },

  linebreaks: {                  // options for when overflow is linebreak
      inline: true,                   // true for browser-based breaking of inline equations
      width: '100%',                  // a fixed size or a percentage of the container width
      lineleading: 2,                // the default lineleading in em units
      LinebreakVisitor: null,         // The LinebreakVisitor to use
  },

  startup: {
    ready() {
                  const {CommonWrapper} = MathJax._.output.common.Wrapper;
      const {LineBBox} = MathJax._.output.common.LineBBox;

      const Configuration = MathJax._.input.tex.Configuration.Configuration;
      const CommandMap = MathJax._.input.tex.SymbolMap.CommandMap;
      new CommandMap('sections', {
        nextSection: 'NextSection',
        setSection: 'SetSection',
      }, {
        NextSection(parser, name) {
          MathJax.config.section.n++;
          parser.tags.counter = parser.tags.allCounter = 0;
        },
        SetSection(parser, name) {
          const section = MathJax.config.section;
          const c = parser.GetArgument(name);
          const n = section.letters.indexOf(c);
          if (n >= 0) {
            section.n = n;
            section.useLetters = true;
          } else {
            section.n = parseInt(c);
            section.useLetters = false;
          }
        },
      });
      Object.assign(CommonWrapper.prototype, {
        invalidateBBox(bubble = true) {
          if (this.bboxComputed || this._breakCount >= 0) {
            this.bboxComputed = false;
            this.lineBBox = [];
            this._breakCount = -1;
            if (this.parent && bubble) {
              this.parent.invalidateBBox();
            }
          }
        },
        _getLineBBox: CommonWrapper.prototype.getLineBBox,
        getLineBBox(i) {
          if (!this.lineBBox[i] && !this.breakCount) {
            const obox = this.getOuterBBox();
            this.lineBBox[i] = LineBBox.from(obox, this.linebreakOptions.lineleading);
          }
          return this._getLineBBox(i);
        }
      });

      Configuration.create(
        'sections', {handler: {macro: ['sections']}}
      );
      MathJax.startup.defaultReady();
    }
  }
};

I tried removing all CSS and Javascript on my website and still had vertical misalignment of all in-line math whereby each component is slightly downshifted by the same amount.

What browser and OS are you using?
I am not able to reproduce the baseline problem.  What encoding is set for your page, and do you have <!DOCTYPE html> at the top?

Yup. I found the problem. It only happens on Safari (Version 16.3). The vertical alignment is fine in Chrome and Firefox.

Yes, Safari does have some round-off problems that cause baseline alignment issues.  Does it change at different zoom levels?

Yup, the alignment seems to disappear as I zoom in.  If it helps, here is a link to  a post on my website that I am setting up: https://sebastiansciarra.com/technical_content/mle_em_algorithms/.

Well, you could try using
mjx-math {
  vertical-align: .6px;
}

and see if that helps, hoping that it doesn't throw off the other browsers.  If it does, then you could use a Safari-only CSS hack.  Google "safari only css" to get lots of examples of how to do it.

Ok sounds good. This ended up solving most of the alignment issues in Safari:
  @supports (-webkit-appearance:none) {
    .mjx-math {
      vertical-align: 0.8px;
    }
    .MathJax_ref {
      vertical-align: 2px;
    }
  }


Help wanted with hyperlinkslinks

Hey, I want to know whether we can use Hyperlinks with Eel, and if yes, how?
This is my directory structure..
App.py
Web.py
one.html
two.html
I want to start at one.html and hyperlink to two, this works fine, but for some reason, I am not able to call App.py functions from two.html

windows
chrome.1

Yes, this should work. Did you remember to include eel.js on the second page?

Yes that was it. Thanks 😅😅


NAS-123643 / 23.10 / Add top output to separate file (by Qubad786)

Context
For better readability it was requested to move top output command to it's own separate file.
Original PR: https://github.com/truenas/ixdiagnose/pull/51
Jira URL: https://ixsystems.atlassian.net/browse/NAS-123643

JIRA ticket https://ixsystems.atlassian.net/browse/NAS-123643 is targeted to the following versions which have not received their corresponding PRs: 23.10


bar mode toggle?

Thanks for a beautiful bar! Just installed it now, and I have a question: is it possible to run something like
bindsym $mod+x bar mode toggle

to hide the bar? I have been using this with i3bar, and would love this feature in waybar as well!

@Alexays To add a bit more detail, if it helps (since your description and @kflak's doesn't mention this): when using sway, sending a killall -SIGUSR1 waybar "un-docks" the bars from the tiling layout; they stay visible, but start floating above (overlaying) the rest of the layout, which expands to use the newly available space. Sending USR1 again makes them "dock" as before. I assume the "un-docking" is expected behaviour, it's just the "hiding" part that is missing.
On a separate note, thank you for this wonderful project. I needed a polybar replacement since I moved to Wayland, and this bar is both gorgeous and super customisable, congrats!

Done in ecc5f48dd788ec5edbd94b6ad50b36a4ebf51b3f
You must define the .hidded class in your style file,
In the default style file, I set opacity' to 0.2' to keep an eye on it but you can hide it completely :)

Cool! Will take a bit more detailed look at this when I have a bit more time. Just a quick question, though: how would you set this up in swayconfig so that fx. ctrl-x would toggle visible/invisible?

@kflak bindsym $mod+x killall -SIGUSR1 waybar ;)

bindsym $mod+x exec killall -SIGUSR1 waybar  to be a bit more precise ;-)
The toggle works fine with SIGUSR1. However, the change of opacity seems not to take, seems like it is stuck on 0.2... And the text as well as all the modules (battery, wifi, etc) are all at 1.0 opacity. How do I make them inherit the .hidded attribute?
This is my ~/.config/waybar/style.css:
* {
    border: none;
    border-radius: 0;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 24px;
    min-height: 0;
}

window#waybar {
    background: rgba(43, 48, 59, 0.5);
    border-bottom: 3px solid rgba(100, 114, 125, 0.5);
    color: white;
}

window#waybar.hidded {
    opacity: 0.0;
}

#workspaces button {
    padding: 0 5px;
    background: transparent;
    color: white;
    border-bottom: 3px solid transparent;
}

#workspaces button.focused {
    background: #64727D;
    border-bottom: 3px solid white;
}

#mode {
    background: #64727D;
    border-bottom: 3px solid white;
}

#clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode {
    padding: 0 10px;
    margin: 0 5px;
}

#clock {
    background-color: #64727D;
}

#battery {
    background-color: #ffffff;
    color: black;
}

#battery.charging {
    color: white;
    background-color: #26A65B;
}

@keyframes blink {
    to {
        background-color: #ffffff;
        color: black;
    }
}

#battery.warning:not(.charging) {
    background: #f53c3c;
    color: white;
    animation-name: blink;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

#cpu {
    background: #2ecc71;
    color: #000000;
}

#memory {
    background: #9b59b6;
}

#network {
    background: #2980b9;
}

#network.disconnected {
    background: #f53c3c;
}

#pulseaudio {
    background: #f1c40f;
    color: black;
}

#pulseaudio.muted {
    background: #90b1b1;
    color: #2a5c45;
}

#custom-spotify {
    background: #66cc99;
    color: #2a5c45;
}

#tray {
    background-color: #2980b9;
}

Doh, my stupid! Forgot to update waybar. Please forgive my ignorance. I will go into a corner and shame myself a bit.

Why is it desinged with a SIGUSR1 ? is that a comman way to do sth like that?
Is taht documented somewhere? It took me some time to figure it out. Is sway sending some event when mod is pressed so hat the bar could appear when u hold mod.

Hi anyone here got issues with SIGUSR1  ?
It only hides it but I can't call it back.

@kRHYME7 Same here. Figured that SIGUSR1 means hide and SIGUSR2 show again. Unfortunately this broke the toggle effect that I preferred for my use case.

Gotta use the latest commits then.


PSD for Designers

Could provide the PSD of icons for designers?
It would be nice also distribute for download at the official website.
Cheers!

I think would be better to have the actual font for offline design process. The TTF doesn't work for me, i can install it and see the glyphs on Illustrator, but can't use it.
With FontAwesome i can install the OTF font and just copy the icons a need from the their cheat sheet website.
Any help on the case would be very much appreciated.


Error using use two consecutive use_query_value::<T>

Hi! First, thanks for this amazing crate.
I'm trying to use two consecutive use_query_value::<T>, but I'm getting an error.
My source is something like this:
#[hook]
pub fn use_user_logged() {
    log::info!("01");
    let user_query = use_query_value::<LoggedUserQuery>(0.into());
    log::info!("02");

    let email = match user_query.result() {
        Some(Ok(m)) => m.logged_user.email.to_string(),
        _ => {
            log::info!("02 exit");
            return;
        }
    };

    let user_condition = TableField::new("user.email").equal(email);
    let user_request = DomainRequest::new("user", user_condition);

    log::info!("03");
    let use_user_domain = use_query_value::<DomainQuery>(user_request.into()); // <========exception occurs here
    log::info!("04");

    //...
}

I added some console infos to get the steps. The console log and the stack are here.

index-32d32242a8d24f2b.js:728 INFO src/states/user_listener.rs:56 01
index-32d32242a8d24f2b.js:728 INFO src/states/user_listener.rs:58 02
index-32d32242a8d24f2b.js:728 INFO src/states/user_listener.rs:63 02 exit
index-32d32242a8d24f2b.js:728 INFO src/services/api_request_gloo.rs:33 ### url: api/user...
index-32d32242a8d24f2b.js:728 INFO src/states/user_listener.rs:56 01
index-32d32242a8d24f2b.js:728 INFO src/states/user_listener.rs:58 02
index-32d32242a8d24f2b.js:728 INFO src/states/user_listener.rs:63 02 exit
index-32d32242a8d24f2b.js:728 INFO src/services/api_request_gloo.rs:68 ### url response: Ok(Response { url: "http://<IP_ADDRESS>:3000/api/user", redirected: false, status: 200, headers: Headers { access-control-allow-credentials: "true", content-length: "101", content-type: "application/json", date: "Mon, 03 Oct 2022 20:19:10 GMT", vary: "origin, access-control-request-method, access-control-request-headers" }, body_used: false })
index-32d32242a8d24f2b.js:728 INFO src/services/api_request_gloo.rs:72 ### url status: 200
index-32d32242a8d24f2b.js:731 DEBUG src/services/api_request_gloo.rs:78 Response: LoggedUser { id: "114130981533683136057", email<EMAIL_ADDRESS>name: None, given_name: None }
index-32d32242a8d24f2b.js:728 INFO src/states/user_listener.rs:56 01
index-32d32242a8d24f2b.js:728 INFO src/states/user_listener.rs:58 02
index-32d32242a8d24f2b.js:728 INFO src/states/user_listener.rs:71 03
index-32d32242a8d24f2b.js:920 Uncaught (in promise) Error: `unwrap_throw` failed
    at imports.wbg.__wbindgen_throw (index-32d32242a8d24f2b.js:920:15)
    at wasm_bindgen::throw_str::h53cebbd13a7eccef (index-32d32242a8d24f2b_bg.wasm:0x741387)
    at <core::result::Result<T,E> as wasm_bindgen::UnwrapThrowExt<T>>::expect_throw::h245aab6c05240048 (index-32d32242a8d24f2b_bg.wasm:0x55ddee)
    at wasm_bindgen::UnwrapThrowExt::unwrap_throw::hdc8d1c0854a1dff4 (index-32d32242a8d24f2b_bg.wasm:0x5f7876)
    at yew::functional::HookContext::next_state::h361dc7938ce62f05 (index-32d32242a8d24f2b_bg.wasm:0x316158)
    at <yew::functional::hooks::use_ref::UseMutRef<F> as yew::functional::hooks::Hook>::run::h3b1cf5a44df995da (index-32d32242a8d24f2b_bg.wasm:0x744968)
    at yew::functional::hooks::use_memo::use_memo_base::inner_fn::h0e4a63e86166658a (index-32d32242a8d24f2b_bg.wasm:0x331753)
    at <yew::functional::hooks::use_memo::use_memo_base::HookProvider<T,F,D,K> as yew::functional::hooks::Hook>::run::hf9db019d04b7d61c (index-32d32242a8d24f2b_bg.wasm:0x744b64)
    at yew::functional::hooks::use_memo::use_memo::inner_fn::h37766fe8f7a83e73 (index-32d32242a8d24f2b_bg.wasm:0x7415a7)
    at <yew::functional::hooks::use_memo::use_memo::HookProvider<T,F,D> as yew::functional::hooks::Hook>::run::hedac06a70c188af9 (index-32d32242a8d24f2b_bg.wasm:0x744a83)
imports.wbg.__wbindgen_throw @ index-32d32242a8d24f2b.js:920
$wasm_bindgen::throw_str::h53cebbd13a7eccef @ index-32d32242a8d24f2b_bg.wasm:0x741387
$<core::result::Result<T,E> as wasm_bindgen::UnwrapThrowExt<T>>::expect_throw::h245aab6c05240048 @ index-32d32242a8d24f2b_bg.wasm:0x55ddee
$wasm_bindgen::UnwrapThrowExt::unwrap_throw::hdc8d1c0854a1dff4 @ index-32d32242a8d24f2b_bg.wasm:0x5f7876
$yew::functional::HookContext::next_state::h361dc7938ce62f05 @ index-32d32242a8d24f2b_bg.wasm:0x316158
$<yew::functional::hooks::use_ref::UseMutRef<F> as yew::functional::hooks::Hook>::run::h3b1cf5a44df995da @ index-32d32242a8d24f2b_bg.wasm:0x744968
$yew::functional::hooks::use_memo::use_memo_base::inner_fn::h0e4a63e86166658a @ index-32d32242a8d24f2b_bg.wasm:0x331753
$<yew::functional::hooks::use_memo::use_memo_base::HookProvider<T,F,D,K> as yew::functional::hooks::Hook>::run::hf9db019d04b7d61c @ index-32d32242a8d24f2b_bg.wasm:0x744b64
$yew::functional::hooks::use_memo::use_memo::inner_fn::h37766fe8f7a83e73 @ index-32d32242a8d24f2b_bg.wasm:0x7415a7
$<yew::functional::hooks::use_memo::use_memo::HookProvider<T,F,D> as yew::functional::hooks::Hook>::run::hedac06a70c188af9 @ index-32d32242a8d24f2b_bg.wasm:0x744a83
$bounce::query::query_::use_query_value::inner_fn::h665425610704603b @ index-32d32242a8d24f2b_bg.wasm:0x1e2e7e
$<bounce::query::query_::use_query_value::HookProvider<T> as yew::functional::hooks::Hook>::run::hdd9ba11e18e3d997 @ index-32d32242a8d24f2b_bg.wasm:0x6faf7d
$roxi_example_frontend::states::user_listener::use_user_logged::inner_fn::hbc621f890677bf10 @ index-32d32242a8d24f2b_bg.wasm:0x570e9
$<roxi_example_frontend::states::user_listener::use_user_logged::HookProvider as yew::functional::hooks::Hook>::run::h9e08f3b9d98bd587 @ index-32d32242a8d24f2b_bg.wasm:0x77b1d7
$<roxi_example_frontend::components::app::Nav as yew::functional::FunctionProvider>::run::inner::hede1f4a9e0a4b005 @ index-32d32242a8d24f2b_bg.wasm:0xd279
...

The source of the error, in the yew framework, is this:
impl HookContext {
	\\...
    pub(crate) fn next_state<T>(&mut self, initializer: impl FnOnce(ReRender) -> T) -> Rc<T>
    where
        T: 'static,
    {
        // Determine which hook position we're at and increment for the next hook
        let hook_pos = self.counter;
        self.counter += 1;

        let state = match self.states.get(hook_pos).cloned() {
            Some(m) => m,
            None => {
                let initial_state = Rc::new(initializer(self.re_render.clone()));
                self.states.push(initial_state.clone());

                initial_state
            }
        };

        state.downcast().unwrap_throw() // <========exception occurs here
    }
	\\...
}

I'm using the main branches of yew and bounce-rs (git versions), with SSR.
Probably I'm doing something wrong, but I don't know what.
Thanks!

This is due to hooks being called conditionally.
See: https://yew.rs/docs/next/concepts/function-components/hooks#rules-of-hooks
#[hook]
pub fn use_user_logged() {
    log::info!("01");
    let user_query = use_query_value::<LoggedUserQuery>(0.into());
    log::info!("02");

    let email = match user_query.result() {
        Some(Ok(m)) => m.logged_user.email.to_string(),
        _ => {
            log::info!("02 exit");
            return; // Returned.
        }
    };

    let user_condition = TableField::new("user.email").equal(email);
    let user_request = DomainRequest::new("user", user_condition);

    log::info!("03");
    let use_user_domain = use_query_value::<DomainQuery>(user_request.into()); // Hooks called conditionally.
    log::info!("04");

    //...
}

Thank you very much for your replay.
But how I can construct this "dependency" between hooks?
Should I use use_effect_with_deps? I tried this before but I had a compilation error.
What is the correct design for this?

I changed my second use_query_value to accept an Option as input and then I ignore it in this situation.
It became ugly but worked for now. I'll be trying to figure out how to do a better design.
I'm closing this issue. Thank you.


Determining which folder is most recently modified is excessively hard, especially in the UK

In the situation pictured by the screenshot below, I wished to determine which subfolder of 'scripts' was the most recently modified. Doing so was hard, especially since rclone-browser's date format is not following my - United Kingdom - locale.

Isn't that obvious that Sat is recently modified, because it is at the top (because you are sorting on Modified column)?

On reflection, yes. But I wish that (1) it were more obvious which field is determining the order, and I wish that (2) RcloneBrowser were to use my local date formatting.
Still, 1 - and even 2? - may owe to theme or to the qt toolkit rather than to RcloneBrowser.


Address security vulnerability CVE-2022-25647

Remove dependency on protobuf-java-util, since it has a dependency on gson.
Remove use of gson in code, despite it not being declared as a dependency.

Signed-off-by: Mark S. Lewis<EMAIL_ADDRESS>

@Mergifyio backport release-2.2 release-1.4


[roborazzi-idea-plugin] has no icon when using Android Studio with new theme setting.

When not selected

Thanks! I'll fix this issue

This fix has been released! Thank you for reporting!


Merging to master

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Fixing


chore(ui): update header component to match new designs (ENG-58153)

According to the Figma design, the header bar should have a single, consistent color in both dark and light themes. Currently, the header bar is incorrectly matching the background color, rendering it invisible.

Hi @echristie-bc,
I think we should style the CSS for the header.stories.less for a better view since the . What do you think?

Before:

After:

I'm wondering if you've encountered a similar issue: Upon initial page load, the component would initially match the background color and only update after a noticeable delay. This behavior seems to be isolated to components related to the header.
https://github.com/user-attachments/assets/b0681099-82fc-4d20-9831-9cd59bb0be08

The Storybook HeaderAccountMenu, HeaderHelpMenu, and HeaderSystemMenu are very difficult to see.


Modify props

Based on https://github.com/Monchi/eslint-plugin-chakra-ui/pull/13#pullrequestreview-866960683

I must consider pros and cons of rearrangement.

nice and meaningful
hard to automation

In this approach,  I noticed some ugly points regarding rtl-related props.

example : marginStart comes after marginEnd

Maybe we should change that in the future.

Perhaps we can automatically generate those rules from the definition in @chakra-ui/styled-system. We need to investigate though.

I think so too! Let's automate it if we can.

@no-yan Is this ready for release?

Yes, definitely!

When I expect improvements in the review, it will be easier to see when to merge if I open PR as a draft.
I'll do that next time!


Error handling swift throw not catching

I have a method as below:
The issue is that when I throw something from recover. It does not throw it back to the actual calling function get(), as it does for line //1. throw DPError.Error
Because of this I am not able to catch any error.
Is there a way to make this happen or am I missing something here. Can't find anything related to this in the documentation.
func get(req: NetRequest, fn: NSData? -> ResponseModel?) throws -> Promise<(NetResponse, ResponseModel)> {
	//1. throw DPError.Error
	return NSURLSession
		.GET(req.url)
		.asDataAndResponse()
		.then { (data, resp) -> Promise<(NetResponse, ResponseModel)> in
			let httpStatusCode = (resp as! NSHTTPURLResponse).statusCode
			let model = fn(data) //parse conditionally of course
			return Promise(NetResponse(statusCode: httpStatusCode, errorCode: nil, respBody: data), model!)
		}.recover { body -> Promise<(NetResponse, ResponseModel)> in
			let error = body as NSError
			throw DPError.Error
        }
}

enum DPError: ErrorType {
	case Error
	case STCIPRangesError(apiType: String, errorType: String, errorCode: Int)
	case STCMSISDNError(apiType: String, errorType: String, errorCode: Int)
}

The issue is that when I throw something from recover. It does not throw it back to the actual calling function get(), as it does for line //1. throw DPError.Error
Because of this I am not able to catch any error.
Well, yes. This is expected. When you do this:
func get(req: NetRequest, fn: NSData? -> ResponseModel?) throws -> Promise<(NetResponse, ResponseModel)> {
    throw DPError.Error
}

You are throwing synchronously.
When you do this:
func get(req: NetRequest, fn: NSData? -> ResponseModel?) throws -> Promise<(NetResponse, ResponseModel)> {
    return Promise {
        throw DPError.Error
    }
}

You are throwing asynchronously. The error is thrown inside the promise chain, which happens later.
You need to add a error handler for the promise chain in order to catch the error.


Placement of cell in search.ipynb

@norvig and @MrDupin: The visualization cell of uniform_cost_search in search.ipynb has been misplaced under the 'A* Search' header instead of the 'Uniform Cost Search' header.
Shall I correct this with a PR?
Thanks!

Yes, good catch.

@norvig and @MrDupin: In search.ipynb, in the list under the header of 'Searching Algorithms Visualization', Best First Graph Search and Uniform Cost Search (Points 5. and 6.) have been placed before Depth Limited Search and Iterative Deepening Search (Points 7. and 8.). Since the list places Uninformed Search Algorithms before Informed Search Algorithms, should we interchange the order of the above-mentioned algorithms i.e. Best First Graph Search and Uniform Cost Search with Depth Limited Search and Iterative Deepening Search?
Thanks!


Update AUTHORS.rst

This is relatively minor and should be pushed without much review because it updates the AUTHORS.rst file

@PokestarFan The issue preventing the check from being successful was fixed in my most recent PR, now merged with the master. Maybe try a new PR with the current master?


Commit cosmwasm and gitpod development changes

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@d69ea2e). Click here to learn what that means.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #108   +/-   ##
=======================================
  Coverage        ?   54.02%
=======================================
  Files           ?       23
  Lines           ?     2136
  Branches        ?        0
=======================================
  Hits            ?     1154
  Misses          ?      914
  Partials        ?       68

closing this as cosmwasm integration is done via other PRs


Can't build project after updating Xcode to version 11.4 (Circular reference)

I have read the guidelines for contributing and I understand

[ ] My issue is happening in the latest version of SideMenu (older versions are no longer maintained).
[ ] My issue was not solved in the README.
[ ] My issue can not be answered on stackoverflow.com.
[ ] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[ ] My issue is reproducible in the demo project.

Describe the bug
After updating Xcode to version 11.4 , i can't build project. We now have error.
To Reproduce
Steps to reproduce the behavior:

Build project

Expected behavior
Build to succeed.
Screenshots

Additional context
Nothing.

Update to the latest.


Add Get Into Teaching to the Mission Patches page

Context:
This PR aims to add the Get Into Teaching Mascot to the Design History for various reasons:
1 - our new mission approach
2 - to commemorate Ian Jukes leaving GIT. The mascot was designed after him (amongst others in the team).

I need to add a better quality image, will amend PR


[Draft] Testing CI speed of uv + pip vs mamba

This PR allows the CI to build an env and install virtualizarr from the dependencies listed in the pyproject.toml via uv & pip.

Building an fresh environment and installing deps via pyproject.toml then running pytest locally throws no errors.  In the Github CI, pytest raises a bunch of RuntimeError: NetCDF: HDF error 😕

Seems like we're getting different environments on a linux build. The netcdf4 version between conda-forge & pypi don't match. Gonna close this for now. Thanks for the help @andersy005


How to merge fetched video and audio into one url when yt-dlp uses --get url

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
yt-dlp how to merge the fetched video and audio into one url when using -f bestvideo+bestaudio --get url , this function is very useful for fetching youtube HD live streams, if it can't be achieved directly this way, is there any other workaround to achieve this? I hope I can get your careful help, thank you very much!
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

No
If your media player supports multiple inputs, you can pass the video URL and the audio URL as separate inputs to it. This is essentially what mpv's ytdl hook does.
This question seems very closely related to #10236. My advice: just pass the youtube URL directly to mpv

I would like to realize this requirement in vlc? Is there a way to do this?

AFAIK it's not possible with VLC
Maybe what you want is format 96 and/or 95, the combined video+audio 1080p and 720p HLS formats, which are available when you pass --extractor-arg "youtube:player_client=mediaconnect"

yes !
Is it possible to give a detailed format for using the syntax, for example, the
ytdlp --extractor-arg "youtube:player_client=mediaconnect" xxxx

using your example video url from the other issue:
yt-dlp --extractor-arg "youtube:player_client=mediaconnect" -f best --print url "https://www.youtube.com/watch?v=y6oMutwJQCw" | vlc -

It can serve the purpose, but the resolution of the live stream is only up to 1080p, is it possible to get a 4k live stream?

No. Resolutions above 1080p are only available as separate video and audio streams

I understand!
Is it possible to raise this as a feature request?

No, we can't change what youtube serves

OK! Thank you very much for your help and answers, teacher!🌹👍🏆😜

@bashonly

AFAIK it's not possible with VLC

Yes, it is. I'm using this with a short bash script to stream youtube vids with VLC. It should be possible to write a Windows cmd script to do the same.
VLC has an "experimental" command argument, --input-slave=, with which it's possible to play audio and video from separate sources simultaneously and synchronously.
@zhouxinghong I hope you see this.

@bashonly Thank you very much for your help and guidance! You're very cool 🤞😜🍦🌹

I used a more complex script to handle my case, but for the record, the following will work with split audio and video:
yt-dlp -f 'ba,bv' --exec 'vlc --meta-title=%(title)#q --input-slave=%(requested_formats.0.url)#q %(requested_formats.1.url)#q' https://www.youtube.com/watch?v=some_id
This command only works for exactly one audio and one video stream together. It needs more logic to handle additional items, or the possibility of a combined stream, if the exact number isn't known ahead of time.

I used a more complex script to handle my case, but for the record, the following will work with split audio and video:
yt-dlp -f ba+bv --simulate --exec video:'vlc --meta-title=%(title)#q --input-slave=%(requested_formats.0.url)#q %(requested_formats.1.url)#q' https://www.youtube.com/watch?v=some_id
This command only works for exactly one audio and one video stream together. It needs more logic to handle additional items, or the possibility of a combined stream, if the exact number isn't known ahead of time.

@Lieutenant-L-T-Smash My teacher! This is very, very awesome! 😜🏆🎉👍


Implement new testing-farm API

The old testing-farm API does not work now because of the cluster problems which can't be solved easily. Moving old API to the new cluster is not easy as well (will need some coding to make it work). We should implement the new API ASAP.

API endpoint and documentation: https://testing-farm.gitlab.io/api
Submitting of the test runs is done here:
https://github.com/packit/packit-service/blob/7db1556b83db89c6a9dd480c226bf1b20356be30/packit_service/worker/testing_farm.py#L120-L216
The payload is created here:
https://github.com/packit/packit-service/blob/7db1556b83db89c6a9dd480c226bf1b20356be30/packit_service/worker/testing_farm.py#L71-L94
Packit API endpoint for testing-farm results:
https://github.com/packit/packit-service/blob/7db1556b83db89c6a9dd480c226bf1b20356be30/packit_service/service/api/testing_farm.py#L90-L91
API models:
https://github.com/packit/packit-service/blob/7db1556b83db89c6a9dd480c226bf1b20356be30/packit_service/service/api/testing_farm.py#L46-L87
Processing of the received results:
https://github.com/packit/packit-service/blob/7db1556b83db89c6a9dd480c226bf1b20356be30/packit_service/worker/handlers/testing_farm_handlers.py#L89-L138
Testing-farm model in postgres:
https://github.com/packit/packit-service/blob/7db1556b83db89c6a9dd480c226bf1b20356be30/packit_service/models.py#L1076-L1086

ping @thrix

Thanks for all the info @lachmanfrantisek I will try to do this!

sync, please

@thrix, we pulled this work in our sprint starting today. Do you mind if I take it over and do this? :smiley:

@csomh no, we talked already with @TomasTomecek about it, that somebody from your team will do it. There are some significant changes to the API, which we need to talk about @csomh, would you have time today?

this is in progress, stale bot

this is in progress, stale bot

Fixed in #875


Allow for payload testing with multiple PRs from the same repository

The restriction that the PRs be from distinct repositories is no longer necessary
For: https://issues.redhat.com/browse/DPTP-3691

/cc @danilo-gemoli

/retest

/lgtm

/retest

/test all


Updated syntax for psutil to find child processes

Issue #901

master has moved in the meantime and this branch is outdated, instead of asking you to do fix that I rebased it on latest master and opened a new PR - #904.


FIX: QwarpPlusMinus renamed source_file to in_file

In a cleanup in nipy/nipype#2674, QwarpPlusMinusInputSpec.source_file got renamed to in_file, to be consistent with the Qwarp interface. Apparently the deprecation machinery doesn't set the values in the new location, causing #1287.
Changes proposed in this pull request

Change source_file to in_file

Fixes #1287.

Documentation that should be reviewed

None

We'll need to bump our dependency to nipype 1.1.3 as soon as it's released.


fix: Add commands for sr-Cyrl and sr-Latn

@ttasovac,
This PR adds command to Enable/Disable sr-Cyrl and sr-Latn.


[nfc] bazel cleanup, fix warnings on Windows, use http_archive where possible

@Warfields We talked about using http_archive for V8-related dependencies – turns out the reason we can't reliably use these tarballs is that they are not created deterministically as noted in the Workspace comments and on https://github.com/google/gitiles/issues/84. This still switches to http_archive for a few more repos where it is possible. For protobuf and perfetto we also switch from a commit representing a release version to the release archive itself, this makes it easier to see what version we are using here.


requirements: Update 'Flake8'

Changelog:

4.0.1 (2021-10-11):
https://flake8.pycqa.org/en/latest/release-notes/4.0.1.html
4.0.0 (2021-10-10):
https://flake8.pycqa.org/en/latest/release-notes/4.0.0.html
3.9.2 (2021-05-08):
https://flake8.pycqa.org/en/latest/release-notes/3.9.2.html
3.9.1 (2021-04-15):
https://flake8.pycqa.org/en/latest/release-notes/3.9.1.html
3.9.0 (2021-03-14):
https://flake8.pycqa.org/en/latest/release-notes/3.9.0.html

Code diff: https://github.com/PyCQA/flake8/compare/3.8.4...4.0.1

[x]  Commit message includes changelog for version 3.8.4, which is the version that is already installed.
[x]  Code diff in commit message starts at version 3.8.3, but the current version is 3.8.4.

Good catch, thanks.


pdf file unable to recognize

any pdf file uploaded, it pops up error: invalid file type. Please upload a file that is one of these formats: ['pdf'].
Any specific pdf format required?

Hi @dadleo
I'm having same issue you reported... Could you help me to resolve it?
Thanks in advance.
Regards

Hi @dadleo
I'm having same issue you reported... Could you help me to resolve it?
Thanks in advance.
Regards

You may want to check out my revision @  PDF2Audio.ipynb.


Support envfrom secret

pass env variables use secret
https://pyroscope.slack.com/archives/C01FJRYENPQ/p1668486401890059
similar open issue: https://github.com/pyroscope-io/helm-chart/pull/41

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.liangliangma seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Update default-probing.md

Summary
Updating based on https://github.com/dotnet/runtime/pull/57616
This property is a historical artifact from very early CoreCLR uses. It hasn't had much utility since before CoreCLR 1.0 therefore I don't see a need to document when it was respected vs removed.
/cc @vitek-karas @elinor-fung

Also remove from the list in: https://docs.microsoft.com/dotnet/core/tutorials/netcore-hosting#step-3---prepare-runtime-properties

/cc @gewarren


Create staging playground deploy workflow and other updates

Notes for Reviewers
This PR fixes #11042

Create workflow for updating the meshery helm release in the staging playground. Added this to the edge release workflow
Updated the playground reset job to use secrets.METAL_SERVER1
Use pinned version of actions/checkout@v4 in the edge release workflow

Signed commits

[X] Yes, I signed my commits.

Updated to use mesheryctl @leecalcote @MUzairS15

Good deal. I think that this command is all that we need. We'll find out shortly. 😉


Suggestion for saving front history in experiment

Hello,
I congratulate everyone involved in this interesting project.
I would like to make a suggestion.
We were trying to save the history of the approximation front so that we could generate graphs of the convergence of the metrics (like Hypervolume, for example).
We verify that there is an Observer to record the front of each generation. We then try to create a JobHist class, copying the Jobs class from lib "https://github.com/jMetal/jMetalPy/blob/master/jmetal/lab/experiment.py", as follows:
class JobHist:

    def __init__(self, algorithm: Algorithm, algorithm_tag: str, problem_tag: str, run: int):
        self.algorithm = algorithm
        self.algorithm_tag = algorithm_tag
        self.problem_tag = problem_tag
        self.run_tag = run

    def execute(self, output_path: str = ''):

        if output_path:
            save_front_history = WriteFrontToFileObserver(output_directory=output_path+'/HIST.{}'.format(self.run_tag))
            self.algorithm.observable.register(save_front_history)

        self.algorithm.run()

        if output_path:
            file_name = os.path.join(output_path, 'FUN.{}.tsv'.format(self.run_tag))
            print_function_values_to_file(self.algorithm.get_result(), filename=file_name)

            file_name = os.path.join(output_path, 'VAR.{}.tsv'.format(self.run_tag))
            print_variables_to_file(self.algorithm.get_result(), filename=file_name)

            file_name = os.path.join(output_path, 'TIME.{}'.format(self.run_tag))
            with open(file_name, 'w+') as of:
                of.write(str(self.algorithm.total_computing_time))

To make it easier to maintain, the Job class could have a parameter to store or not the history of each generation, or just the history for each interval of N=10 (or 20, 30, etc) generations, among other options.
However, we note that the function "generate_summary_from_experiment" expects the folders to be in a specific structure, in which it considers the last folder found as the name of the problem, and the penultimate folder found as the name of the algorithm.
When trying to use this JobHist class that we created, the function "generate_summary_from_experiment" considered that the folder "HIST.0" would be the name of a problem, and that ZDT1 would be the name of the algorithm. And it gave an error because it did not find the PF reference file for the "problem" "HIST.0".
As the algorithm and problem folders are generated as first and second folders after the name of the "output_dir" of the experiment, we saw that it would be enough to change the function "generate_summary_from_experiment" in: [-2:] to [1:3]
    for dirname, _, filenames in os.walk(input_dir):
        for filename in filenames:
            try:
                # Linux filesystem
                #algorithm, problem = dirname.split('/')[-2:]
                algorithm, problem = dirname.split('/')[1:3]
            except ValueError:
                # Windows filesystem
                #algorithm, problem = dirname.split('\\')[-2:]
                algorithm, problem = dirname.split('\\')[1:3]

            if 'HIST.' not in dirname: # <------------ needed
                if 'TIME' in filename:
                    run_tag = [s for s in filename.split('.') if s.isdigit()].pop()

                    with open(os.path.join(dirname, filename), 'r') as content_file:
                        content = content_file.read()

                    with open('QualityIndicatorSummary.csv', 'a+') as of:
                        of.write(','.join([algorithm, problem, run_tag, 'Time', str(content)]))
                        of.write('\n')

                if 'FUN' in filename:

So we can keep a folder "HIST.{RUN}" inside each folder "algorithm / problem" of an experiment.
    * <base_dir>/
      * algorithm_a/
        * problem_a/
          * HIST.0/ (history of RUN 0)
            * FUN.0 (first generation non-dominated front of execution 0)
            * FUN.1 (second generation non-dominated front of execution 0)
            * ...
          * FUN.0.tsv (final non-dominated front of execution 0)
          * HIST.1/ (history of RUN 1)
            * FUN.0 (first generation non-dominated front of execution 1)
            * FUN.1 (second generation non-dominated front of execution 1)
            * ...
          * FUN.1.tsv (final non-dominated front of execution 1)
          * VAR.0.tsv
          * VAR.1.tsv
          * ...

Another need would be after that we can generate the summary of indicators or metrics by RUN, so that we can generate graphs with the convergence of these indicators, presenting the median and the 1st and 3rd quartiles.
With this history of the approximation front of each RUN, we will also be able to generate animations to verify their evolution over the generations.
It is a suggestion.
Thank you very much.
Regards.

Now I understood better why the penultimate and the last part of the directory name were examined. The workbook will not always be in the same directory in which you are working. For example, you can specify a folder with a full path, such as "/content/data".
In this case, if a regular expression were used, it would be possible to remove the base folder of the experiment, so that the first and second remaining folders would contain the names of the algorithm and the problem.
For example:
import re

(...)

    for dirname, _, filenames in os.walk(input_dir):
      if 'HIST.' not in dirname:
        dirname2 = re.sub('^'+input_dir+'/', '', dirname)
        for filename in filenames:
            try:
                # Linux filesystem
                #algorithm, problem = dirname.split('/')[-2:]
                algorithm, problem = dirname2.split('/')[0:2]
            except ValueError:
                # Windows filesystem
                #algorithm, problem = dirname.split('\\')[-2:]
                algorithm, problem = dirname2.split('\\')[0:2]

            if 'TIME' in filename:
(...)

Hello Sávio,
Thank you for your suggestion. We can extend the Experiment class to save the history of the approximation front (although it can already be implemented using the existing Observers).
However, the generate_summary_from_experiment() function expects a very “peculiar” folder structure, as you noticed. I think it could be easier if we modify the function to ignore every unexpected folder/file (such as HIST.*) inside the input directory, e.g., using glob.
Let me think about it. I will update this issue as soon as possible!
Thank you for your time,
Antonio.

Thank you very much, Antônio. Your welcome.
I am also doing some experiments using jMetalPy. Any news we implement, it will be a pleasure to share with your project.
Once again, congratulations and thank you for the beautiful work.
Regards.
Sávio


Option to install only select components

Could you add something to the start of the script to optionally install only some components e.g. a list with

sonarr
lidarr
radarr

then enter numbers, or 'a' for all (default).

Addressed in latest update.


how deleteConfirm manipulation ?

Hi, I just manipulate Confirm to delete not show me but the javascript confirm, but I can not disappear me the same, attached prin screen, thanks

Solution: https://github.com/tabalinas/jsgrid/pull/221


Alternitive

I made a alternative on my server which is faster than phosphorus called phosoporus+ (http://cosmicsearch.org/phosphorus+). Can you note this alternative? Thanks!

Cool!

it seems to be down... I do not know why I will get to it tomorrow


Transaction does not export

Description
Transactions created with the app does not export to location.
Steps to reproduce

Create an account create transaction and enter in memo field
Export to InputFiles directory

Additional context
No response
Hedera network
other
Version
v0.2.0
Operating system
macOS

user error


fix: improve provider setup

Signed-off-by: sh1luo<EMAIL_ADDRESS>

@ErikQQY plz review.

Some providers such as Google and Github don't have detailed developer apply information, I will add these to the docs.


ISPN-9922 New API modules

https://issues.jboss.org/browse/ISPN-9922
This is the first step. These modules are new, actual code should not be impacted by this work.
This PR contains:

New API module
New hotrod-client reactive module
Reactive key-value store with simple methods

Needs to be done - maybe not now but in a near future PR because this is very new

Javadocs
Documentation

This PR is part of an umbrella issue

failures not related

This PR focus is adding the two new modules. APIs are not definitive at all. This will be treated in other pull requests

The failure is not related

I changed the base branch for tis PR

I've said this @karesti before but I really want to lay it down here so that others can read:
I'd really like to see a plan on how we plan to evolve APIs over time. What recommendations should developers follow when they want to add/change/remove API methods? At which point they should come up with new interfaces and how do users migrate from one to the other? When should we create new modules? When can we reuse existing API modules?
The answers to these questions should take end user into consideration to see what makes their life easy when upgrading or changing things.
All this needs to be sketched out before deciding which APIs and which methods to include, because you're never going to get that right. So, the best way to future protect yourself against deciding between api A or B, or whether to include this or that method, is to have a clear plan on how to evolve things.
Not doing this when we started Infinispan is by far the biggest mistake we did API wise. I don't want us to repeat the same mistake again.

I've said this @karesti before but I really want to lay it down here so that others can read:
I'd really like to see a plan on how we plan to evolve APIs over time. What recommendations should developers follow when they want to add/change/remove API methods? At which point they should come up with new interfaces and how do users migrate from one to the other? When should we create new modules? When can we reuse existing API modules?
The answers to these questions should take end user into consideration to see what makes their life easy when upgrading or changing things.
All this needs to be sketched out before deciding which APIs and which methods to include, because you're never going to get that right. So, the best way to future protect yourself against deciding between api A or B, or whether to include this or that method, is to have a clear plan on how to evolve things.
Not doing this when we started Infinispan is by far the biggest mistake we did API wise. I don't want us to repeat the same mistake again.

ok.
Which concrete output would you like to see produced? A readme document?
Here is the issue related to the task: https://issues.jboss.org/browse/ISPN-9966

Which concrete output would you like to see produced? A readme document?

A section in the contribution guide. I also would like to see a separate repo with examples where we show contributors potential scenarios. E.g.

If you want to phase out a return type (e.g. reactivestreams APIs and use Java 9+ reactivestreams types), then do this.
If you want to add a new API do this.
If you want to add a new method, do this... (make sure it has default modifier)

It's important to do this sooner rather than later so that we know the foundations that put in place for new API is as future proof as possible (at the time of writing). I believe that unless we sit down and write these examples we'll miss things that might make our new API infrastructure not as future proof as we'd like and eventually we'll have to revisit parts in some kind of breaking change.

Btw, the moment we're based on Java 11 we should be able to use JDK's reactive streams classes.

Dealing with that would have an example when a new version of the API needs to be exposed.

Related to the topic of other APIs, are you expecting all APIs to live in the api/ module? Not sure this is a good idea from the PoV of isolating APIs and only depending on what are need.

@galderz I sent you a link with another doc

Related to the topic of other APIs, are you expecting all APIs to live in the api/ module? Not sure this is a good idea from the PoV of isolating APIs and only depending on what are need.

This is one of the things we talked about in the F2F. This is one of the strategies, we could not decide what to do without being able to see how it would potentially look. I decided to implement a first thing based on the idea we will have api jar + impl jar to use a particular API.

@galderz This first work could be experimental  and just for us before promoting it to a new official way of doing things from now on in infinispan

This is one of the things we talked about in the F2F. This is one of the strategies, we could not decide what to do without being able to see how it would potentially look. I decided to implement a first thing based on the idea we will have api jar + impl jar to use a particular API.

Fair enough...
However, I see two problems I found with this approach are:

How does one add a new API? Currently you'd have to modify the source API module and add your API to Infinispan object. This works if we're not interested in promoting APIs created by external users, which includes not only end users, but also consuming projects (e.g. OGM).
Say your API module exposes a RxJava APIs A.B.C and the user wants to use the plain KV API and it uses Rx Java APIs X.Y.Z. Such user might have issues mixing 3rd party libraries that the API brings indirectly (even though the user does not actually use them) with APIs that it uses.

@karesti You should write down the decisions/options you've made WRT API, write down the reasons why you choose that, and you should also track the potential problems. Only this way we can get a full picture of why things are the way they are and the problems we've decided not to solve.

This is one of the things we talked about in the F2F. This is one of the strategies, we could not decide what to do without being able to see how it would potentially look. I decided to implement a first thing based on the idea we will have api jar + impl jar to use a particular API.

Fair enough...
However, I see two problems I found with this approach are:

How does one add a new API? Currently you'd have to modify the source API module and add your API to Infinispan object. This works if we're not interested in promoting APIs created by external users, which includes not only end users, but also consuming projects (e.g. OGM).
Say your API module exposes a RxJava APIs A.B.C and the user wants to use the plain KV API and it uses Rx Java APIs X.Y.Z. Such user might have issues mixing 3rd party libraries that the API brings indirectly (even though the user does not actually use them) with APIs that it uses.

@karesti You should write down the decisions/options you've made WRT API, write down the reasons why you choose that, and you should also track the potential problems. Only this way we can get a full picture of why things are the way they are and the problems we've decided not to solve.

I wrote this down in the API manifesto. This PR is a previous one

closing in favor for https://github.com/infinispan/infinispan/pull/6690 for the first steps in the code, and the API manifesto https://github.com/infinispan/infinispan/pull/6678

I just saw @galderz's comment so I'm adding a late reply here.

* How does one add a new API? Currently you'd have to modify the source API module and add your API to Infinispan object. This works if we're not interested in promoting APIs created by external users, which includes not only end users, but also consuming projects (e.g. OGM).

-1 from me to promote APIs created by external users, it would complicate things, and some (most?) consuming projects will want to hide the underlying caches/key-value stores anyway.

* Say your API module exposes a RxJava APIs A.B.C and the user wants to use the plain KV API and it uses Rx Java APIs X.Y.Z. Such user might have issues mixing 3rd party libraries that the API brings indirectly (even though the user does not actually use them) with APIs that it uses.

Clement's reactive strategy proposal suggests exposing in our APIs only the Publisher from reactive streams. So the API module should only depend on reactive-streams and nothing else.

One thing I've noticed is that in Clement's document he specifies that CompletableFuture should be used as return type and here CompletionStage is used.

The newest version of the doc uses CompletionStage.

Btw, the moment we're based on Java 11 we should be able to use JDK's reactive streams classes.

The doc also suggests getPublisher() for the JDK version getRsPublisher() for the reactive-streams version. IDK if it would require multi-version jars or not, but I'm sure we can support Flow.Publisher right now.

@danberindei thank you! you are welcome to check the other two PR I've mentioned above 💃 🕺


Types for "Untyped" Data Values are inferred from Schema

As a Configuration Consumer
I want the Data Values that I supply through command-line flags to be automatically typed based on the provided schema
so that I can use more intuitively named flags to supply such values

Conversation around shaping this story here: https://kubernetes.slack.com/archives/CH8KCCKA5/p1618506748309700


Replace unnecessary bind(this) statements with arrow functions in web/ files

By using let, which is block-scoped, instead of var in a couple of places we're able to get rid of additional bind calls.

/botio-windows preview

Thank you for the patch.


https://swc-project.github.io/ has a broken link in the footer

the link "Usage" links to https://swc-project.github.io/docs/usage-cli.html
instead of https://swc-project.github.io/docs/usage-swc-cli

Thanks!


-Csplit-debuginfo=unpacked is default on nightly

https://github.com/rust-lang/cargo/pull/9298

Ci reports markdown lint errors in README and CHANGELOG. Should i fix it?

#1096 will fix it.

Yeah, the issue is fixed by #1906, so this would be safe to merge (because bors checks the version from after rebase), although if you do come back to the code then rebasing would also make CI pass here

bors r+

@DJMcNab I don’t know how to get the pr merged. After glancing other merged prs, I thought  running bors commands might be needed.

Yup thats a reasonable guess. For now I'm the only one that can merge prs with bors r+

bors r+

@gfreezy please respond in #2373 for the relicense to MIT/Apache 2.0. Thanks!


Update container-instances-quickstart-powershell.md

Correctly reference New-AzContainerGroup. The snippet incorrectly references New-AzContainerInstanceObject, the above copy on line 55 currently states to use New-AzContainerGroup.
Copy also incorrectly states a status will be returned, so I updated it so that it only instructs the user to check the deployment state with Get-AzContainerGroup.
The container needs to be a container object, not a string as well.
See: https://github.com/MicrosoftDocs/azure-docs/pull/124082

@tomvcassidy
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Corrected typos in .ipynb

I have corrected some typos that I found in the file.

Thank you! I'm using the "Code Spell Checker" extension for VS Code, it's not perfect but it helps me find most typos

Thank you for correct typos

You are all welcome.


Possibility to pass additional parameters to kubelet

I need a way to add  --cpu-manager-policy=static --system-reserved=cpu=1 (according to https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ ) to kubelet cmdline on worker nodes.
Is there any way to do that from k-d-c level, or does it require also some changes on kubeadm level?

To be more precise - right now i'm doing that only on first worker node, manually modifying /lib/systemd/system/kubelet.service file, after which i need to call systemctl daemon-reload, systemctl restart kubelet, then rm /var/lib/kubelet/cpu_manager_state.
This issue is about providing an option to do this kubelet.service modification (or pass somehow these parameters as KUBELET_EXTRA_ARGS through /etc/default/kubelet?) before kubelet start.


can not find the cpp_mstar

when I cd into the od_mstar3 folder, and use the terminal to run 'python3 setup.py build_ext --inplace', I can't find any new file, even the cpp_mstar file.
And the setup.py in od_mstar3 can not run until using terminal.
I want to know how to obtain the cpp_mstar file, there is no build file in od_mstar3

when I cd into the od_mstar3 folder, and use the terminal to run 'python3 setup.py build_ext --inplace', I can't find any new file, even the cpp_mstar file.
And the setup.py in od_mstar3 can not run until using terminal.
I want to know how to obtain the cpp_mstar file, there is no build file in od_mstar3


Reconstruct meetup tests to drive implementation

This version of the test suite starts each method’s tests with a
concrete example, followed by tests that change each parameter in turn,
and finally groups together the remaining tests as a quick check of the
method.
While it's a matter of style/taste/practice, these are the tests I would write as I test-drove an implementation of Meetup. The simplest thing to make the first test in each "group" pass is of course to return a hard-coded object; as one adds requirements, the implementation becomes more and more complete.
The "remaining" tests are retained, but grouped into a single example (since by the time that test is run, the implementation should be complete).
Note: I do understand that this change may be seen as a matter of personal taste and get rejected on that basis.

Thanks @jmtuley I really like this change.


why there is difference for averaging validation loss and testloss

to get total average valid loss you divide by len(valid_loader) but for avaerage test loss you divide by len(test_loader.dataset). This does not seems correct. And also you are multiplying the loss with batch_size in test runs, but you dont do it for validation. Why?

Validation Loss:
Per Batch Averaging: During validation, you might be interested in how well the model is performing per batch, especially if batch sizes are consistent. Thus, dividing by the number of batches is sufficient.
Simplification: Assuming consistent batch sizes, the validation loss calculation can be simplified by dividing by the number of batches.
Test Loss:
Per Sample Averaging: For the test set, it's common to report the loss per sample, giving a more precise evaluation of the model's performance on each data point.
Accuracy: Multiplying by the batch size ensures that the total loss reflects all samples accurately, especially if the last batch has fewer samples.
sample snippet for consistent approach:-

validation loss:-

total_valid_loss = 0.0
total_valid_samples = 0
for data in valid_loader:
    inputs, labels = data
    outputs = model(inputs)
    loss = criterion(outputs, labels)
    total_valid_loss += loss.item() * inputs.size(0)  # Multiply by batch size
    total_valid_samples += inputs.size(0)

average_valid_loss = total_valid_loss / total_valid_samples  # Divide by total samples

Test Loss:-

total_test_loss = 0.0
total_test_samples = 0
for data in test_loader:
    inputs, labels = data
    outputs = model(inputs)
    loss = criterion(outputs, labels)
    total_test_loss += loss.item() * inputs.size(0)  # Multiply by batch size
    total_test_samples += inputs.size(0)

average_test_loss = total_test_loss / total_test_samples  # Divide by total samples

Hope, this helps
Thanks


[2.x] Use ScalaInstance from update

Fixes https://github.com/sbt/sbt/issues/7725
Problem
doc task currently doesn't work when the subproject tries to use the Scala instance from metabuild.
Solution
For now turn off the optimized ScalaInstance

https://github.com/sbt/sbt/actions/runs/11793915183