Azure* is too aggressive, resulting in all Azure packages placed under Core service

Left Azure and Azure.ApplicationModel.Configuration under this service. The rest should start being placed in the correct location due to the prevention of the glob eating them.
Additional files here are due to the fact that I merged master into smoke-test, given that it was not fully up to date.

Docs Build status updates of commit e3a0cd8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-toc/top_level_toc.yml
:white_check_mark:Succeeded

xml/Microsoft.Azure.Management.Fluent/Azure+Configurable.xml
:white_check_mark:Succeeded

xml/Microsoft.Azure.Management.ResourceManager.Fluent/ResourceManager+Configurable.xml
:white_check_mark:Succeeded

xml/Microsoft.IdentityModel.Clients.ActiveDirectory/AuthenticationContext.xml
:white_check_mark:Succeeded

xml/Microsoft.ServiceBus.Messaging.Configuration/NetMessagingBindingExtensionElement.xml
:white_check_mark:Succeeded

xml/index.xml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update Autoseg (fixes Chrome deprecation errors)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added ReturnTerm to Error for returning arbitrary terms as errors

Hi! I added a variant to return any encoder as an error. I think could help ergonomics and help return more meaningful errors from our native Rustler interfaces to Elixir.
Feedback is appreciated. :)

Where would you return something arbitrary (i.e. not {error, _}) to indicate an error?

That's a great question. Idiomatically, I would only ever return {:error, _} as an error.
Perhaps this function would be better as something like ReturnErrorTuple(Box<Encoder>) and return {:error, _}.
It would be pretty strange to return:
ReturnTerm(Box::new((atoms::ok(), "some ok result wrapped in an error")))

@filmor is your concern something like the Rust code above?

In line with the existing options, I think you should just add a Error::Term(X) that results in a returned error {error, X}.

@filmor Agreed; {:error, term} is preferrable.  I should have time to get this done on Friday. Thanks for the feedback!

@elbow-jason...do you have time to finish this? If not, let me know and I can take it to the finish-line.

Hmm, I just noticed that Error::Atom("some_str") actually returns some_str and this made me wonder whether it wouldn't be good to make this one also stricter by making it return {error, some_str}. The only halfway valid case to return a bare atom is forwarding of a badmatch or badarg and a totally invalid case is returning Error::Atom("ok"). Shouldn't be part of this PR, though.

@filmor Error::Term covers the use case you described for Error::Atom. I think what you are recommending is the deprecation of Error::Atom.

@elbow-jason No, I'm recommending a change of semantics for Error::Atom as I don't like it when libraries return a bare atom instead of {error, Description} as an error, but like @scrogson said, it's quite useful to have the possibility to return something like this without boxing :)

@elbow-jason now that #264 has been merged, feel free to fix up this PR so we can merge :+1:


@cookieconsentview is not rendered

Hi, I used the readme to integrate this cookie consent using laravel 10 (latest),
however, the app.blade.php
results in just printing @cookieconsentview instead of integrating it.
The package is included in vendors.
Someone knows what I'm doning wrong?
Kind regards, raymanP

Hi, I am also looking for the answer to this problem (laravel 9)

Hi, it seems the Blade directive is not registered properly. Could you check if the package's Service Provider is loading as expected? Maybe dd() inside https://github.com/whitecube/laravel-cookie-consent/blob/e8a363b2da8d3152ec8b4deb870a04394cbaa557/src/ServiceProvider.php#L64... Thanks :)

Hi @toonvandenbos ,  registerBladeDirectives is not called.
I tried dd at CookiesServiceProvider::registerCookies, this is called.

Hi @raymanP, the registerBladeDirectives is defined in an auto-loaded service provider, whereas the registerCookies is called in another service provider you have to register. In other words, it seems that the package's autoloaded service provider is ironically not being loaded. Could you run composer update and check if the service provider is showing up in the discovered services providers list?

Hi @toonvandenbos , this is what I get from composer update:
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html instead.
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.

  barryvdh/laravel-debugbar ................................................................. DONE
  intervention/image ........................................................................ DONE
  jackiedo/dotenv-editor .................................................................... DONE
  laravel/sail .............................................................................. DONE
  laravel/socialite ......................................................................... DONE
  laravel/tinker ............................................................................ DONE
  laravelcollective/html .................................................................... DONE
  mews/purifier ............................................................................. DONE
  nesbot/carbon ............................................................................. DONE
  nunomaduro/collision ...................................................................... DONE
  nunomaduro/termwind ....................................................................... DONE
  sentry/sentry-laravel ..................................................................... DONE
  socialiteproviders/manager ................................................................ DONE
  spatie/laravel-ignition ................................................................... DONE
  vedmant/laravel-feed-reader ............................................................... DONE
  whitecube/laravel-cookie-consent .......................................................... DONE
  yajra/laravel-datatables-oracle ........................................................... DONE

No security vulnerability advisories found.

whitecube/laravel-cookie-consent is in there, meaning the service provider should be loaded automatically. Could you dd inside its boot & register methods?

I found out, I had to copy also the files packages.php and services.php at bootstrap/cache/ to my server.
Now  registerBladeDirectives is called.
And also I had to change
@cookieconsentscripts to @cookieconsentscripts() and so on, otherwise it was not active.
Is this a typo in the readme?

Now I get at @cookieconsentview():
\Component\Routing\Exception\RouteNotFoundException   PHP 8.2.17   laravel 10.48.4
Route [policy] not defined.

Has been fixed, seems to work now

Thank you very much for the help @toonvandenbos !!


Memory Leak

I have noticed a memory leak in my server application. The memory consumption keeps increasing and is not released unless I restart the service.
Environment:
QUIC-GO Version: v0.40.1
Operating System: Linux centos 8, arch amd64
go: 1.21.2

pprof

Showing nodes accounting for 4904.20MB, 67.42% of 7273.69MB total
Dropped 352 nodes (cum <= 36.37MB)
Showing top 10 nodes out of 159
      flat  flat%   sum%        cum   cum%
 3512.39MB 48.29% 48.29%  3960.92MB 54.46%  github.com/quic-go/quic-go.(*connection).preSetup
  246.08MB  3.38% 51.67%   246.08MB  3.38%  crypto/aes.(*aesCipherGCM).NewGCM
  234.54MB  3.22% 54.90%   234.54MB  3.22%  crypto/aes.newCipher
  160.12MB  2.20% 57.10%  4539.29MB 62.41%  github.com/quic-go/quic-go.glob..func1
  148.15MB  2.04% 59.13%   148.15MB  2.04%  crypto/tls.(*Conn).quicWriteCryptoData
  138.59MB  1.91% 61.04%   138.59MB  1.91%  github.com/quic-go/quic-go.(*cryptoStreamImpl).Write
  128.69MB  1.77% 62.81%   128.69MB  1.77%  github.com/quic-go/quic-go.init.0.func1
  118.56MB  1.63% 64.44%   119.06MB  1.64%  github.com/quic-go/quic-go.(*frameSorter).push
  115.06MB  1.58% 66.02%   160.57MB  2.21%  github.com/quic-go/quic-go/internal/handshake.newCryptoSetup
  102.04MB  1.40% 67.42%   102.04MB  1.40%  crypto/tls.newQUICConn (inline)

this is how i used quic:
	udpConn, _ := net.ListenUDP("udp", &net.UDPAddr{Port: s.opts.Port})
	quicTLSCfg := tlsConfig.Clone()
	quicTLSCfg.NextProtos = []string{"quicgo"}

	s.quicListener, err = quic.Listen(udpConn, quicTLSCfg, &quic.Config{
		MaxIdleTimeout:         s.opts.MaxIdleTimeout,
		MaxIncomingStreams:     s.opts.MaxIncomingStreams,
		KeepAlivePeriod:        s.opts.KeepAlivePeriod,
		EnableDatagrams:        true,
		MaxStreamReceiveWindow: uint64(STREAM_RWND),
	})

How do you know it's a memory leak? If you have a lot of active connections, it's expected that they consume some memory.
It's only a leak if the memory persists beyond the lifetime of the connection.

I tried closing all connections to the server but the memory hasn't decreased in the past two days

How do you know it's a memory leak? If you have a lot of active connections, it's expected that they consume some memory.
It's only a leak if the memory persists beyond the lifetime of the connection.

I tried closing all connections to the server but the memory hasn't decreased in the past two days

Can you build a minimal reproducer? There's no way to debug this based on your report.

Can you build a minimal reproducer? There's no way to debug this based on your report.

I still haven't been able to recreate it.
But why does receivedPackets use so much memory?
         .    29.50MB    479:   s.framer = newFramer(s.streamsMap)     5.57GB     5.57GB    480:   s.receivedPackets = make(chan receivedPacket, protocol.MaxConnUnprocessedPackets)    24.50MB    24.50MB    481:   s.closeChan = make(chan closeError, 1)    25.50MB    25.50MB    482:   s.sendingScheduled = make(chan struct{}, 1)          .       19MB    483:   s.handshakeCtx, s.handshakeCtxCancel = context.WithCancel(context.Background())

It's a channel with 256 entries, and receivedPacket is a struct that takes 112 bytes. So for every connection, that's around 28 kB.

Thank you. my fault, my connection map not remove closed connection


Installation instructions dont include how to configure apache or mail server

RainLoop version, browser, OS:
1.12.0 http://www.rainloop.net/docs/installation/
Expected behavior and actual behavior:
After fillowing instructions server should be configured and working
Steps to reproduce the problem:
Follow the instructions on teh website as they are written
Logs or screenshots:
Unless I'm missing something
Installation instructions that are on http://www.rainloop.net  dont mention that the curl script creates all its file in . rather than /var/www/rainloop and they don't mention the fact that no attempt to configure apache2 is made.
I guess nginx and others are supported but I think it would be usefull to have instructions that get you from a bareboes linux to a working server.
I am happy to help with this if you think this would be useful or if its not done somewhere else already that just needs linking from the main website.
Perhpas includeing some example .conf files for nginx and apache would be useful, or creating them directly in the relevant /sites-available/  directories with enabling them?

You're probably mistaking RainLoop for a mail and/or web server.
RainLoop is a client for connecting to a mail server, that is running on top of an already set up web server like apache.
Quoting directly from the web page:
SIMPLE, MODERN & FAST WEB-BASED EMAIL CLIENT


[Model Enhancement]: Chocolate Classification using DL

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Project Title : [Model Enhancement]: Chocolate Classification using DL
:red_circle: Aim : enhancing custom CNN model
:red_circle: Dataset : https://www.kaggle.com/datasets/siddharthmandgi/chocolate-classification
:red_circle: Approach : adding attention as overhead to CNN architecture and using ELU and NADAM in activation and optimizer.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name : Arihant Bhandari
GitHub Profile Link : Arihant-Bhandari https://github.com/Arihant-Bhandari
Email ID<EMAIL_ADDRESS>Participant ID (if applicable): Arihant Bhandari (eternal_insight)
Approach for this Project : Creating a CNN-Attention model for bettering CNN accuracy
What is your participant role? (Mention the Open Source program)
GSSoC 2024 Contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@abhisheks008 hi, can i have a go at this, i feel attention can help boost accuracy for CNN. If i find my work substantial and satisfactory i will PR, if not i will close the issue on my end.
thank you for your time.

Are you planning to enhance this project, https://github.com/abhisheks008/DL-Simplified/tree/main/Chocolate Classification using DL right?

yes @abhisheks008 , the CNN is at 0.86 currently, i think it can be boosted to 0.94 ish with attention, if i do end up achieving this i will start PR.

Follow the same representation like you did in the previous issue. Go ahead with this. Assigned to you @Arihant-Bhandari

@abhisheks008 hi, i think i have completed the project, it has been boosted as i expected, but i want to send over the file without the actual PR for you to see before we make things official with PR.
is it possible, like with an email or on discord ?

@abhisheks008 hi, i think i have completed the project, it has been boosted as i expected, but i want to send over the file without the actual PR for you to see before we make things official with PR.
is it possible, like with an email or on discord ?

Chill dude, make a PR, if any changes are required you can update them flawlessly.

i had 2 possible solutions actually both are same implementation its just model structuring differences. how about i sent them over , you can have a look at them @abhisheks008.

You can sent them over<EMAIL_ADDRESS>My suggestion is put both of them together in the .ipynb file, why not showcase a comparison. That'll be insightful.

cool we can do this, i will push them and send a PR in, thanks for listening @abhisheks008

@abhisheks008 i have sent the files over email, pls check, also i noticed someone was working on the README file, issue #526, should i wait for them before updating readme with metrics like i did in the previous project or do it on my own ? i can hand them metrics and image link if they are working on it.

@abhisheks008 i have sent the files over email, pls check, also i noticed someone was working on the README file, issue #526, should i wait for them before updating readme with metrics like i did in the previous project or do it on my own ? i can hand them metrics and image link if they are working on it.

@abhisheks008 i have sent the files over email, pls check, also i noticed someone was working on the README file, issue #526, should i wait for them before updating readme with metrics like i did in the previous project or do it on my own ? i can hand them metrics and image link if they are working on it.

@abhisheks008 i have sent the files over email, pls check, also i noticed someone was working on the README file, issue #526, should i wait for them before updating readme with metrics like i did in the previous project or do it on my own ? i can hand them metrics and image link if they are working on it.

Let's wait for that issue to solved.

hi @abhisheks008 , have you reviewed the codebase, which should i be pushing as PR ?

I checked the code and found that you have overfitted the train dataset as a result it is giving an accuracy of 100% which is an eye catching event. Try to increase the test dataset portion.

hi @abhisheks008 im starting my PR i think i am on the right track here, pls review the codebase, if any changes needed i will be more than glad to do things over. thank you for your patience.


Add script to backfill data from a csv for projects

This reads in a csv file and keys off the url to update
past blog posts and repos.

Hey @samtstern
Can we provide merge access for this repo to @dumbbillyhardy and @developerseb ?
Billy and Himanshu are the ones who are handling the engineering part of the Dev Library. They might need access to merge the changes.


python312Packages.plotly: 5.24.0 -> 5.24.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.plotly is: Python plotting library for collaborative, interactive, publication-quality graphs
meta.homepage for python312Packages.plotly is: https://plot.ly/python/
meta.changelog for python312Packages.plotly is: https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.24.1 with grep in /nix/store/ijhl9v82s4sixrfgy56k6gwg3c77xrrb-python3.12-plotly-5.24.1
found 5.24.1 in filename of file in /nix/store/ijhl9v82s4sixrfgy56k6gwg3c77xrrb-python3.12-plotly-5.24.1

Rebuild report (if merged into master) (click to expand)

68 total rebuild path(s)

68 package rebuild(s)

First fifty rebuilds by attrpath

apkleaks
checkov
cve-bin-tool
das
deeptools
hp2p
jadx
picosnitch
python311Packages.ax-platform
python311Packages.catboost
python311Packages.chart-studio
python311Packages.compressai
python311Packages.cufflinks
python311Packages.dash
python311Packages.dash-bootstrap-components
python311Packages.experiment-utilities
python311Packages.explorerscript
python311Packages.igraph
python311Packages.kmapper
python311Packages.leidenalg
python311Packages.meshtastic
python311Packages.niaarm
python311Packages.optuna
python311Packages.orange3
python311Packages.plotly
python311Packages.pyannote-audio
python311Packages.pyannote-pipeline
python311Packages.pymatgen
python311Packages.reflex
python311Packages.scikit-tda
python311Packages.skytemple-dtef
python311Packages.skytemple-files
python311Packages.skytemple-ssb-debugger
python311Packages.sumo
python311Packages.synergy
python311Packages.textnets
python312Packages.ax-platform
python312Packages.catboost
python312Packages.chart-studio
python312Packages.compressai
python312Packages.cufflinks
python312Packages.dash
python312Packages.dash-bootstrap-components
python312Packages.experiment-utilities
python312Packages.explorerscript
python312Packages.igraph
python312Packages.kmapper
python312Packages.leidenalg
python312Packages.meshtastic

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ijhl9v82s4sixrfgy56k6gwg3c77xrrb-python3.12-plotly-5.24.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.plotly https://github.com/r-ryantm/nixpkgs/archive/04ba5bbfa7156866822c395a6a9661a6c0f0baa9.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/04ba5bbfa7156866822c395a6a9661a6c0f0baa9#python312Packages.plotly

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ijhl9v82s4sixrfgy56k6gwg3c77xrrb-python3.12-plotly-5.24.1
ls -la /nix/store/ijhl9v82s4sixrfgy56k6gwg3c77xrrb-python3.12-plotly-5.24.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

8 packages marked as broken and skipped:

python311Packages.pymatgen
python311Packages.pymatgen.dist
python311Packages.sumo
python311Packages.sumo.dist
python312Packages.pymatgen
python312Packages.pymatgen.dist
python312Packages.sumo
python312Packages.sumo.dist

54 packages failed to build:

checkov
checkov.dist
python311Packages.ax-platform
python311Packages.ax-platform.dist
python311Packages.catboost
python311Packages.catboost.dist
python311Packages.chart-studio
python311Packages.chart-studio.dist
python311Packages.compressai
python311Packages.compressai.dist
python311Packages.cufflinks
python311Packages.cufflinks.dist
python311Packages.dash
python311Packages.dash-bootstrap-components
python311Packages.dash-bootstrap-components.dist
python311Packages.dash.dist
python311Packages.experiment-utilities
python311Packages.experiment-utilities.dist
python311Packages.explorerscript
python311Packages.explorerscript.dist
python311Packages.igraph
python311Packages.igraph.dist
python311Packages.kmapper
python311Packages.kmapper.dist
python311Packages.leidenalg
python311Packages.leidenalg.dist
python311Packages.meshtastic
python311Packages.meshtastic.dist
python311Packages.niaarm
python311Packages.niaarm.dist
python311Packages.optuna
python311Packages.optuna.dist
python311Packages.orange3
python311Packages.orange3.dist
python311Packages.plotly
python311Packages.plotly.dist
python311Packages.pyannote-audio
python311Packages.pyannote-audio.dist
python311Packages.pyannote-pipeline
python311Packages.pyannote-pipeline.dist
python311Packages.reflex
python311Packages.reflex.dist
python311Packages.scikit-tda
python311Packages.scikit-tda.dist
python311Packages.skytemple-dtef
python311Packages.skytemple-dtef.dist
python311Packages.skytemple-files
python311Packages.skytemple-files.dist
python311Packages.skytemple-ssb-debugger
python311Packages.skytemple-ssb-debugger.dist
python311Packages.synergy
python311Packages.synergy.dist
python311Packages.textnets
python311Packages.textnets.dist

68 packages built:

apkleaks
apkleaks.dist
cve-bin-tool
cve-bin-tool.dist
das
das.dist
deeptools
deeptools.dist
hp2p
jadx
python312Packages.ax-platform
python312Packages.ax-platform.dist
python312Packages.catboost
python312Packages.catboost.dist
python312Packages.chart-studio
python312Packages.chart-studio.dist
python312Packages.compressai
python312Packages.compressai.dist
python312Packages.cufflinks
python312Packages.cufflinks.dist
python312Packages.dash
python312Packages.dash-bootstrap-components
python312Packages.dash-bootstrap-components.dist
python312Packages.dash.dist
python312Packages.experiment-utilities
python312Packages.experiment-utilities.dist
python312Packages.explorerscript
python312Packages.explorerscript.dist
python312Packages.igraph
python312Packages.igraph.dist
python312Packages.kmapper
python312Packages.kmapper.dist
python312Packages.leidenalg
python312Packages.leidenalg.dist
python312Packages.meshtastic
python312Packages.meshtastic.dist
python312Packages.niaarm
python312Packages.niaarm.dist
python312Packages.optuna
python312Packages.optuna.dist
python312Packages.orange3
python312Packages.orange3.dist
python312Packages.plotly
python312Packages.plotly.dist
python312Packages.pyannote-audio
python312Packages.pyannote-audio.dist
python312Packages.pyannote-pipeline
python312Packages.pyannote-pipeline.dist
python312Packages.reflex
python312Packages.reflex.dist
python312Packages.scikit-tda
python312Packages.scikit-tda.dist
python312Packages.skytemple-dtef
python312Packages.skytemple-dtef.dist
python312Packages.skytemple-files
python312Packages.skytemple-files.dist
python312Packages.skytemple-ssb-debugger
python312Packages.skytemple-ssb-debugger.dist
python312Packages.synergy
python312Packages.synergy.dist
quark-engine
quark-engine.dist
skytemple
skytemple.dist
theharvester
theharvester.dist
whisper-ctranslate2
whisper-ctranslate2.dist

Maintainer pings
cc @Pandapip1 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Blocked by https://github.com/NixOS/nixpkgs/pull/347567


feat: question endpoint usage for writer.ai

Enables usage of API question endpoint via ask() / stream_ask() methods.
Module-wide methods allow to use multiple instances of Graph class or multiple graph IDs to produce an answer; using methods on an instance of Graph class allows to query a single graph related to the instance.

Hey can you explain the stale logic and why it's needed?

Sure! Graph objects don't sync automatically with the API. They keep their retrieved state until you manually update them. To handle changes, you'll need logic to mark objects as stale. This ensures that when accessing properties, the module requests updates from the API to retrieve the latest object.


Test

Codecov Report

Merging #5 (faae001) into master (f1efb6d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   95.89%   95.89%
=======================================
  Files           8        8
  Lines         292      292
=======================================
  Hits          280      280
  Misses         12       12

Continue to review full report at Codecov.

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


E/SplitApkInstaller: Failed to finalize session : INSTALL_FAILED_CONTAINER_ERROR: Failed to extract native libraries, res=-18

get error when i want react-native run-android
E/SplitApkInstaller: Failed to finalize session : INSTALL_FAILED_CONTAINER_ERROR: Failed to extract native libraries, res=-18
i deleted @Override in RNAdMobRewardedVideoAdModule at line 89

rebuild android folder and then it works


setup.py example repo and documentation

@choldgraf suggested I make an issue so we don't forget.
I created an example repo with setup.py here:
https://github.com/cranmer/setup.py
with the expectation that would be added to the binder_examples organization. I'm not sure if it's a problem that the repo is seen as a fork of the original kennethreitz/setup.py repo.
I tried to make the README look like the other examples. I'm also not sure about the name of the repo with the . in it. I could also remove the Manifest.in, license files and make setup.py more minimal, but it's kind of a nice example for setup.py as well.
I created PR #113 for the binder docs, the Readme has link pointing to the future home location
https://github.com/binder_examples/setup.py

Hey! Sorry for the slow uptake - everybody in Jupyterland is in JupyterCon (and I'm actually in Europe for my honeymoon!)
A couple quick points:

I imported your repository to binder-examples: https://github.com/binder-examples/setup.py
I do actually think it'd be useful if we had a super bare-bones setup.py + repo instead of one with the complications in this repo. The idea of binder-examples is to show the "building blocks" that people can use to accomplish different goals, so each repo should be all about illustrating a single configuration. To that extent I feel like the extra stuff inside setup.py that doesn't have to do with specifying requirements does distract a bit. Why not simplify this repo, and add a link that says "for a more complex version of this repository with XXX extra features, see "?

Let me know what you think! And thanks again for offering this example, I think it'll be helpful for the developer community!

I'd :+1: to making the setup.py simpler.


Add blog post

Adds new blog post

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Rperry2174:x: petethepigYou have signed the CLA already but the status is still pending? Let us recheck it.


fix: correct linting errors

Corrected linting in test/app.js. Moving the require to top-level module scope did not break tests or seem to have adverse affects on the app running locally.
Also corrected some linting errors in other files.
Closes #1199

We need to rewrite a good amount of the code to address the vulnerable, deprecated, and out of date dependencies.  Will address linting issues after the changes are made on the new code.


Tray Icons on multiple monitors

Description of the new feature / enhancement
Allow for tray icons from the taskbar to be visible on multiple screens instead of main screen only
Scenario when this would be used?
Any configuration with more than one display
Supporting information
No response

/feedbackhub


Backend Messages-Admin-App -Sprint-2

https://github.com/ALCOpenSource/Mentor-Management-System-Team-6/issues/13:
create_conversation()
delete_conversation()
get_conversations()
add_participant_to_conversation()
remove_participant_from_conversation()
send_message()
delete_message()
edit_message()
get_messages()
mark_message_as_read()
mark_conversation_as_archived()
mark_conversation_as_unarchived()
get_archived_conversations()
get_unread_messages_count()
Get_conversation_participant
Flow
User authentication: Before a user can send or receive messages, they must first log in and authenticate their identity. This involves verifying their username and password or using a third-party authentication service like Google or Facebook.
User registration: New users must be able to create an account and provide basic information such as a username and password.
Message storage: Messages must be stored in a database so that they can be retrieved and displayed to users.
Real-time message delivery: When a user sends a message, it must be delivered to the recipient(s) in real-time. This can be accomplished using websockets, long-polling, or other techniques that enable real-time communication.
Message display: Messages must be displayed in a user-friendly interface that makes it easy for users to read and respond to them.
Message threading: In order to keep conversations organized, messages should be threaded and grouped by conversation.
Notification system: Users should be notified when they receive new messages, either through a desktop or mobile notification, or through an email or SMS message.

@Munalula-Sikazwe and this?

@askinss
You can assign this to me.


Update for new intellij 2022 Version planed?

As the topic says, are there any plans to update the plugin or is it abandoned?

Hi @sggt, thanks for the question!
Yeah, there are plans. A plugin is not abandoned. I was a bit busy, but I will update plugin in nearest future

The plugin now is in moderation in a marketplace, but you can download it from releases and install it manually from a disk

Done, 2022 version support is on marketplace :)


Add Drag-and-Drop Option for the the task list to set priorities

Title
Add Drag-and-Drop Option for the task list to set priorities
Requested Changes

add a drag-and-drop option on the task lists to set priorities on what to be done first
adding a new task should remain the first task on the list

Great idea, go for it @t-bello7

@SauveJeanLuc can i try this?

@divya-nshi, go for it.


node-cpu build not available

Hi !
Looking at the documentation, we should be able to use face-api.node-cpu build but it looks like it has been removed in this commit https://github.com/vladmandic/face-api/commit/d13586f54980b7ad14744b9c2ee260e9b573ada7

If you want to use FaceAPI in a NodeJS on platforms where NodeJS binary libraries are not supported, you can use JavaScript CPU backend.
npm install @tensorflow/tfjs
npm install @vladmandic/face-api
And then use with:
const tf = require('@tensorflow/tfjs')
const faceapi = require('@vladmandic/face-api/dist/face-api.node-cpu.js');

Any way to solve this issue ?

i forgot to remove it from readme
but the target was removed because:

there was no demand or use-case for it
non-accelerated js code is too slow for anything except proof-of-concept

if you cannot use native tensorflow (via tfjs-node or tfjs-node-gpu) because you're on unsupported platform,
you use face-api.node-wasm.js as that is still cross-platform and far faster than node-cpu would be
what is your use case?

I'm trying to run face-api in a Vercel lambda function.
My issue is that there is a bundle size limit per function of 50Mb and thanks to tensorflow, my build size is over 150Mb 😬

closing as resolved, but feel free to post any additional questions here.


Dont fire portal with grabbed object or from pause menu

See Issues #23 & #26.
To prevent the portalgun from firing when dropping a grabbed object via portal buttons, I used the pre-existing variable scene->ignorePortalGun. Now, the pressed portal button needs to be released prior to being used again. I also extended the connected logic a bit to prevent blocking the other button in the next frame(s) (if the other button is pressed in the next frame, it would otherwise block the entire press). Working on this I subsequently also fixed firing portals when exiting pause menu, as this was closely related.
Also, I noticed the "throw" impulse when pressing the portal buttons was not yet implemented, so I added it. I tried to get the impulse to match the original Portal and using the same value as the player's JUMP_IMPULSE worked really well. Coincidence? Who knows.
Edit: Throw impulse now scales with mass of the object, so the throw distance is consistent even with cameras and radios.
https://github.com/mwpenny/portal64-still-alive/assets/2451901/6e138323-cee0-4f59-85f3-759266f9df33
https://github.com/mwpenny/portal64-still-alive/assets/2451901/2cb354ff-a302-45dd-bc4e-a7ca681f160a

Also, I noticed the "throw" impulse when pressing the portal buttons was not yet implemented, so I added it.

Thanks for keeping the broader project in mind while working on this and considering other issues or areas that can be improved.
Don't undo it here, but in the future though, if you find something you want to contribute that is outside the scope of the current issue(s) and a separate issue doesn't exist, can you please create one first? That way details can be discussed beforehand, avoiding extra/duplicate implementation work, back and forth, and growing PR scope. Overall it helps make the process quicker and smoother.
For smaller and related things (like fixing the pause and grab cases at once here), doing it together makes sense. But throwing is independent from the button issue.
Thanks.

I agree this here should be a separate PR. I'll try to keep the scope of these a bit more narrow.

Thanks, I appreciate that


feat: allow args

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Manage organisation distribution groups

Describe the solution you'd like
I want to be able to manage organisation distribution groups and distribute releases to organisation groups managed by the organisation without Admin/Owner rights on the AppCenter Portal.
Additional context
A couple of days ago I was able to manage People and Distribution Groups in the AppCenter portal. This function now seems to be only available for Admin/Owner. As a developer I'm no longer able to access the People settings for my organisation. This also has the effect that I can't distribute releases to distribution groups that are part of the organisation. Instead only distribution groups that are created for each app can be added and I would have to create and manage all distribution groups for all apps separately. I'm able create groups and add apps using the API but not on the AppCenter Portal.

Hello! We added a new role called Member, to ensure that not everyone added to your apps, can change your org settings and org distribution groups. However, you should still be able to do so being an org collaborator (no need to be an admin).
It sounds like you are a Member for the org now. To change so, you need to ask the org admin to change your permissions back to Collaborator or Admin.
Hope this helps!

Is this working for organisations that are transitioned from Hockey? There is no way to manage users for our organisation and we've also not been able to find anything related on Hockey.

@Nalocar can you try managing your HockeyApp organization users now in App Center? This was recently enabled for adding/removing collaborators.

Can be done as a Collaborator now.


empty doc

usage/coordinator.md
usage/ifacer.md

worked in https://github.com/spidernet-io/spiderpool/pull/1959

finished by https://github.com/spidernet-io/spiderpool/pull/1959


The Ctrl+V function of version 1.15.1 has no effect on some devices.

Hello, I found that when some of my Android 7.1.2 phones use version 1.15.1, the Ctrl+V key combination does not have any effect.

When I use Ctrl+Shift+V on version 1.14, it can be pasted.

Ctrl+V key combination does not have any effect.

In which apps? What if you copy some text from the device (either with Ctrl+c or with long-press, then COPY) instead of from the computer, then Ctrl+v?
Since v1.15, Ctrl+v does 2 things:

it copies the computer clipboard to the device clipboard
it injects Ctrl+v on the device (which is handled by Android/the app).

The changes between v1.14 and v1.15 could be confusing. There are 3 ways to paste:

injecting Ctrl+v (not possible in v1.14, Ctrl+v in v1.15)
injecting PASTE (Ctrl+Shift+v in v1.14, MOD+v in v1.15)
injecting the clipboard content as a sequence of key events (Ctrl+v in v1.14, MOD+Shift+v in v1.15) (see 7ad47dfaab57a7e6c7462d7e6a2798a5f122ebaf)

See https://github.com/Genymobile/scrcpy#copy-paste

When I use Ctrl+Shift+V on version 1.14

Does MOD+v work in v1.15?

I tested MOD+ V and there is no response on these Android 7.1.2 devices.

I tested MOD + V, but there is no response on these Android 7.1.2 devices, but it can be pasted in version 1.14.

By the way, not all mobile phones will be like this, this problem only occurs on some Android 7.1.2 devices.

Using one of these Android 7.1.2 devices, copy some text on the computer (with Ctrl+c), copy some text on the device (long-press, COPY).
Then could you describe the result for each case:
On v1.14:

Ctrl+v: ?
Ctrl+Shift+v: ?

On v1.15.1:

MOD+v: ?
Ctrl+v: ?
Ctrl+Shift+v: ?

With adb:

adb shell input keyevent PASTE: ?

On v1.14:
Ctrl+v: Cannot paste non-ASCII characters
Ctrl+Shift+v: Can paste non-ASCII characters
On v1.15.1:
MOD+v: No response, the clipboard is not synchronized.
Ctrl+v: No response, the clipboard is not synchronized.
Ctrl+Shift+v: No response, the clipboard is not synchronized.
With adb:
adb shell input keyevent PASTE: Can paste non-ASCII characters

Ctrl+Shift+v: No response, the clipboard is not synchronized.

Sorry, I meant MOD+Shift+v.

MOD+Shift+v，cmd returns information：
[server] WARN: Could not inject char u+5378
[server] WARN: Could not inject char u+8f7d
[server] WARN: Could not inject char u+65e7
[server] WARN: Could not inject char u+7248

Without pasting any ASCII characters?

MOD+Shift+V can paste ASCII characters.

Could you please retest MOD+v and Ctrl+v on v1.15.1 + some more logs:
diff --git a/app/src/input_manager.c b/app/src/input_manager.c
index 1d73980c..14fe73d6 100644
--- a/app/src/input_manager.c
+++ b/app/src/input_manager.c
@@ -177,6 +177,7 @@ collapse_notification_panel(struct controller *controller) {
 static void
 set_device_clipboard(struct controller *controller, bool paste) {
     char *text = SDL_GetClipboardText();
+    LOGI("Computer clipboard: \"%s\"", text);
     if (!text) {
         LOGW("Could not get clipboard text: %s", SDL_GetError());
         return;
diff --git a/server/src/main/java/com/genymobile/scrcpy/Controller.java b/server/src/main/java/com/genymobile/scrcpy/Controller.java
index 9100a9db..af3fe86a 100644
--- a/server/src/main/java/com/genymobile/scrcpy/Controller.java
+++ b/server/src/main/java/com/genymobile/scrcpy/Controller.java
@@ -117,6 +117,7 @@ public class Controller {
                 }
                 break;
             case ControlMessage.TYPE_SET_CLIPBOARD:
+                Ln.i("Set device clipboard (" + msg.getPaste() + "): \"" + msg.getText() + "\"");
                 setClipboard(msg.getText(), msg.getPaste());
                 break;
             case ControlMessage.TYPE_SET_SCREEN_POWER_MODE:
@@ -263,6 +264,7 @@ public class Controller {

         // On Android >= 7, also press the PASTE key if requested
         if (paste && Build.VERSION.SDK_INT >= Build.VERSION_CODES.N && device.supportsInputEvents()) {
+            Ln.i("Injecting PASTE");
             device.injectKeycode(KeyEvent.KEYCODE_PASTE);
         }

diff --git a/server/src/main/java/com/genymobile/scrcpy/Device.java b/server/src/main/java/com/genymobile/scrcpy/Device.java
index de551f35..73a38296 100644
--- a/server/src/main/java/com/genymobile/scrcpy/Device.java
+++ b/server/src/main/java/com/genymobile/scrcpy/Device.java
@@ -224,6 +224,7 @@ public final class Device {

         String currentClipboard = getClipboardText();
         if (currentClipboard == null || currentClipboard.equals(text)) {
+            Ln.i("Clipboard already set, ignoring");
             // The clipboard already contains the requested text.
             // Since pasting text from the computer involves setting the device clipboard, it could be set twice on a copy-paste. This would cause
             // the clipboard listeners to be notified twice, and that would flood the Android keyboard clipboard history. To workaround this

Here is a binary (replace it in you v1.15.1 release):

scrcpy-server
SHA256: 7ce7dbd7a23895308c284f047ea4c0dd529700e28d1b3b5f1a0abc873c0b94dc

(if you are comfortable in applying diff and build to test, please tell me, it would avoid to generate a binary next time)

Ctrl+V:
[server] INFO: Device: ZUK Z2 Plus (Android 7.1.2)
INFO: Renderer: direct3d
INFO: Initial texture: 1080x1920
[server] INFO: Set device clipboard (false): "1276425564@&^%$155"
[server] INFO: Clipboard already set, ignoring
MOD+V
[server] INFO: Device: ZUK Z2 Plus (Android 7.1.2)
INFO: Renderer: direct3d
INFO: Initial texture: 1080x1920
[server] INFO: Set device clipboard (true): "1276425564@&^%$155"
[server] INFO: Clipboard already set, ignoring
[server] INFO: Injecting PASTE
Neither method can paste this character into the device.

In fact, I really look forward to your perfect implementation of the Ctrl+V paste method.

Oh, got it! The condition was incorrect: 80a240cbd4657b7ffb67f69df01a4c104f0cfcb7
Could you please confirm it fixes your problem?

scrcpy-server
SHA256: 4b5378ccfa4219415dc745d8224941ed65de331179cc0c5f551ef2f214bba3f7

Thanks, it can be pasted normally!

Thank you so much, you can publish a fixed version!

Thank you for your report and tests :+1:
Merged in dev: 95f1ea0d80e6bb61579ae6c9a50554d235d91383

you can publish a fixed version!

Yes, the bug could require to publish v1.15.2, but I think that if everything is ok with pinch-to-zoom implementation (https://github.com/Genymobile/scrcpy/issues/24#issuecomment-671063070), I will probably just publish v1.16 soon.

Very good, I am looking forward to it!

(If you have time, I'm interested in tests/feedbacks for the pinch-to-zoom feature :wink:)

Fixed in v1.16.


MicroK8s Homebrew installation fails on macOS Sonoma 14.5

Summary
Tried to install microk8s according to the instruction: https://microk8s.io/#install-microk8s using:
brew install ubuntu/microk8s/microk8s
on a MacBook Pro M2, 24 GB, Sonoma 14.5. Homebrew:
cc@MacBook-Pro ~ % brew install ubuntu/microk8s/microk8s
==> Fetching ubuntu/microk8s/microk8s
==> Downloading https://github.com/canonical/microk8s/archive/refs/tags/installer-v2.3.4.tar.gz
Already downloaded: /Users/dimi/Library/Caches/Homebrew/downloads/281c9d82705923ca3136ff18904081c5aa47bd1c6cd754f6562810a7d68f9af0--microk8s-installer-v2.3.4.tar.gz
==> Installing microk8s from ubuntu/microk8s
==> python3 -m venv --system-site-packages --without-pip /usr/local/Cellar/microk8s/2.3.4/libexec
==> python3 -m pip --python=/usr/local/Cellar/microk8s/2.3.4/libexec/bin/python install urllib3==1.26.5 click==7.1.2 progressbar33==2.4 psutil==5.9.0 requests==2.25.1 requests_unixs
Last 15 lines from /Users/dimi/Library/Logs/Homebrew/microk8s/02.python3:
click==7.1.2
progressbar33==2.4
psutil==5.9.0
requests==2.25.1
requests_unixsocket==0.1.5
pysha3==1.0.2; python_version < '3.6'
simplejson==3.8.2
toml==0.10.0
certifi==2023.7.22
chardet==3.0.4
idna==2.7
pyinstaller
https://pyyaml.org/download/pyyaml/PyYAML-5.3.1-cp38-cp38-win_amd64.whl; sys_platform == 'win32'
<EMAIL_ADDRESS>No module named pip
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/ubuntu/homebrew-microk8s/issues
What Should Happen Instead?
Should complete without errors, to be ready for microk8s install
Reproduction Steps
Terminal > brew install ubuntu/microk8s/microk8s
Homebrew was updated and upgraded befor installation attempt
Introspection Report
does not apply
Can you suggest a fix?
none
Are you interested in contributing with a fix?
no

Hello @octameter .
Have you tried
curl https://bootstrap.pypa.io/get-pip.py | python3

before the microk8s installation ?

Hello @carvido1
Thanks for your reply. I have tried to install pip using the<EMAIL_ADDRESS>and just straight in the Terminal with no success:
xx@MacBook-Pro ~ % cd<EMAIL_ADDRESS>xx@MacBook-Pro bin % curl https://bootstrap.pypa.io/get-pip.py | python3.12
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 2224k  100 2224k    0     0  3029k      0 --:--:-- --:--:-- --:--:-- 3026k
Collecting pip
Using cached pip-24.1.2-py3-none-any.whl.metadata (3.6 kB)
Collecting wheel
Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Using cached pip-24.1.2-py3-none-any.whl (1.8 MB)
Using cached wheel-0.43.0-py3-none-any.whl (65 kB)
Installing collected packages: wheel, pip
Attempting uninstall: pip
Found existing installation: pip 24.0
Uninstalling pip-24.0:
Successfully uninstalled pip-24.0
Successfully installed pip-24.1.2 wheel-0.43.0
brew install ubuntu/microk8s/microk8s -v
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
==> Fetching ubuntu/microk8s/microk8s
==> Downloading https://github.com/canonical/microk8s/archive/refs/tags/installer-v2.3.4.tar.gz
Already downloaded: /Users/dimi/Library/Caches/Homebrew/downloads/281c9d82705923ca3136ff18904081c5aa47bd1c6cd754f6562810a7d68f9af0--microk8s-installer-v2.3.4.tar.gz
==> Verifying checksum for '281c9d82705923ca3136ff18904081c5aa47bd1c6cd754f6562810a7d68f9af0--microk8s-installer-v2.3.4.tar.gz'
==> Installing microk8s from ubuntu/microk8s
/usr/bin/env tar --extract --no-same-owner --file /Users/dimi/Library/Caches/Homebrew/downloads/281c9d82705923ca3136ff18904081c5aa47bd1c6cd754f6562810a7d68f9af0--microk8s-installer-v2.3.4.tar.gz --directory /private/tmp/homebrew-unpack20240725-29996-7dmfs2
/usr/bin/env cp -pR /private/tmp/homebrew-unpack20240725-29996-7dmfs2/microk8s-installer-v2.3.4/. /private/tmp/microk8s-20240725-29996-nm4jph/microk8s-installer-v2.3.4
==> python3 -m venv --system-site-packages --without-pip /usr/local/Cellar/microk8s/2.3.4/libexec
==> python3 -m pip --python=/usr/local/Cellar/microk8s/2.3.4/libexec/bin/python install --verbose --no-deps --no-binary=:all: --ignore-installed --no-compile urllib3==1.26.5 click==7.1.2 progressbar33==2.4 psutil==5.9.0 requests==2.25.1 requests_unixsocket==0.1.5 pysha3==1.0.2; python_version < '3.6' simplejson==3.8.2 toml==0.10.0 certifi==2023.7.22 chardet==3.0.4 idna==2.7 pyinstaller https://pyyaml.org/download/pyyaml/PyYAML-5.3.1-cp38-cp38-win_amd64.whl; sys_platform == 'win32'
<EMAIL_ADDRESS>No module named pip
-> I wonder if it hast to do with sys_platform == 'win32'?


Unable to read mainnet contract on a forked network using pytest mark [APE-1016]

Environment information

OS: macOS Ventura
Python Version: 3.9.16
ape and plugin versions:

$ ape --version
0.6.10

$ ape plugins list
Installed Plugins:
  foundry      0.6.8
  etherscan    0.6.4
  hardhat      0.6.6
  vyper        0.6.7
  fantom       0.6.0

Contents of your ape-config.yaml (NOTE: do not post anything private like RPC urls or secrets!):

$ cat ape-config.yaml
plugins:
  - name: vyper
  - name: hardhat
ethereum:
  default_network: local
  local:
    default_provider: hardhat
  mainnet_fork:
    default_provider: hardhat
geth:
  ethereum:
    mainnet:
      uri: https://redacted

What went wrong?
When running a test in a forked mainnet using the use_network pytest mark, ape seems to think that no contract is deployed at the address. As a consequence, both these tests below fail. However, if we remove the marks and instead run ape test --network ethereum:mainnet-fork,  both tests pass. I have tried multiple addresses of contracts that are deployed on the actual mainnet, and none of them pass the test.
@pytest.mark.use_network('ethereum:mainnet-fork')
def test_code(networks):
    assert len(networks.provider.get_code('0xB9fC157394Af804a3578134A6585C0dc9cc990d4')) > 0

@pytest.mark.use_network('ethereum:mainnet-fork')
def test_read(networks):
    factory = Contract('0xB9fC157394Af804a3578134A6585C0dc9cc990d4')
    assert factory.pool_count() > 0

The second tests fails with ape.exceptions.ContractError: Unable to make contract call. '0xB9fC157394Af804a3578134A6585C0dc9cc990d4' is not a contract on network 'mainnet-fork'.
This is the output of print(networks.provider):
name='hardhat' network=<ethereum:mainnet-fork chain_id=31337> provider_settings={} data_folder=PosixPath('/Users/user/.ape/ethereum/mainnet-fork') request_header={'User-Agent': 'Ape/0.6.10 (Python/3.9.16 final)'} cached_chain_id=None block_page_size=100 concurrency=4 process=None is_stopping=False stdout_queue=None stderr_queue=None PROCESS_WAIT_TIMEOUT=15 port=8545 attempted_ports=[8545] _test_config=Config(mnemonic='test test test test test test test test test test test junk', number_of_accounts=10, gas=GasConfig(show=False, exclude=[]), disconnect_providers_after=True, hd_path="m/44'/60'/0'/{}") _fork_config=HardhatForkConfig(upstream_provider=None, block_number=None, enable_hardhat_deployments=False) _upstream_provider=<geth chain_id=1>

So I figured out what is happening here but I have not yet figured out the best way to address it.
Your default network is a local hardhat node, as configured in your config.
When ape test first starts up, it spins up a local hardhat node.
You have NOT specified a different port for your mainnet-fork versus your local. If you plan on running multiple nodes like this, you need to tell it different ports or else it will think it is connecting to an already-running existing node.
And that is exactly what is happening: mainnet-fork hardhat connects to the local hardhat thinkining it is mainnet fork when it is not, it never did the fork...
To fix for your project, you can configure hardhat to use a different port for mainnet fork.
The updated config that works is like this:
hardhat:
  host: auto

Alternatively, you can run everything on a forked network.
I am going to offer a way to pass provider settings directly to the markers because that may be another option.

I think the problem is in ape-hardhat and other similar providers.
We need to ensure we are connecting to a fork.
I will fix the issue there will a good message showing how to use auto and then can close this

I suppose another thing we need to do in ape-hardhat is allow setting a hosts (ports) per network individually, instead of using auto, in the case you need these to be consistent.


fix bootstrap misspelling

PR Title
fixing misspelling errors
The purpose of this Pull Request is to fix #
to fix bootstrap which was misspelled #250
Description

How you solved

Screenshots

Checklist

[ ] I have Made this contribution as per the CONTRIBUTING guide in this repo
[ ] I have tested in local Environment.
[ ] I have made the fix as per issue converstaion
[ ] I have starred the repository ⭐

Great @munyanezaarmel
Please star the repo

@jsvigneshkanna done

@jsvigneshkanna can you please add hactober-accepted label on this PR


JSX elements within JS-blocks inside of JSX-blocks need to be wrapped in parentheses

E.g for a code block like this:
render() {
  return (

        {
            this.showIfTrue &&
            <Modal/>
        }

  )
}

The last } will not be correctly highlighted.
You'll need to wrap the <Modal/> element inside the JS-block (inside the JSX-block) in parentheses:
render() {
  return (

        {
            this.showIfTrue &&
            (<Modal/>)
        }

  )
}

Alternatively, I've been wrapping the entire block in parentheses for consistency:
render() {
  return (

        {(
            this.showIfTrue &&
            <Modal/>
        )}

  )
}

Any plans to fix this issue?
The workaround will not work for projects that use prettier for they code formatting.


File Manager: Add ability to resize tree-view

It would be great to have an ability to resize tree-view on the fly.
Example:

Hi,
Thank's for your job.
I found a problem on the tree view : at the bottom te filter box hide the last directory on the tree.
Greetings,
Sylvain Legrand.

Hi, Sylvain.
It's fixed https://github.com/authentic-theme/authentic-theme/commit/0e724addc146fab20d6f3a939c8b8d8d9a995344.
Thanks for reporting.


RkChoise with rkType='radio' displays with bugs on Android

I'm submitting a ...  (check one with "x")

[ x] bug report
[ ] feature request

Hi, I have the same bug.. any news?

Hi,
That was an issue in predefined border styles for 'radio' type. Currently, using default RkChoice component, without any overriden styles you should have correct behavior.
Note:  if this issue still occur you should check your screen component layout.
Thanks for reporting

Hi, I use version 3.1.2 and this issue was reproduced.
Sources:
      <RkChoiceGroup
        radio
        style={style.container}
        selectedIndex={selectedIndex}
        onChange={i => this.onSelect(i)}>
        {this.props.options.map((option, index) => this.renderChoice(option, index))}
      </RkChoiceGroup>

  renderChoice({ title }, index) {
    return (
      <TouchableOpacity key={index} choiceTrigger>
        <View style={style.row}>
          <RkText rkType="modal">{title}</RkText>
          <RkChoice rkType="radio" />
        </View>
      </TouchableOpacity>
    );
  }

  render() {
    return (
      <Modal
        {...this.props}
        buttons={this.props.withButtons && this.buttons}
        onRequestClose={() => {}}
        onBackdrop={() => this.props.onDismiss()}>
        {this.renderChoiceGroup()}
      </Modal>
    );
  }
}

const style = StyleSheet.create({
  container: {
    alignSelf: null,
    paddingTop: Dimens.M,
  },
  row: {
    height: 56,
    paddingHorizontal: Dimens.XXL,
    paddingVertical: Dimens.M,
    flexDirection: 'row',
    justifyContent: 'space-between',
    alignItems: 'center',
  },
  choice: {
    alignSelf: null,
  },
});

View:

@artyorsh could you pls check this?


Show the edited blob snapshot after selecting 'Snapshot original blob then upload'

Storage Explorer Version: 1.10.1
Build: 20191029.11
Branch: rel/1.11.0
Platform/OS: Windows 10/ Linux Ubuntu 19.04/macOS High Sierra
Architecture: ia32/x64
Regression From: Previous release (1.10.1)
Steps to reproduce:

Expand one storage account -> Blob Containers.
Select one blob container -> Upload one file.
Open this uploaded file and make some changes -> Save it.
Select 'Snapshot original blob then upload' on the prompt dialog.
Check the content of snapshot.

Expect Experience:
The snapshot content is the same as the original blob.
Actual Experience:
The snapshot content is the same as the edited blob.

A fix has been merged.

This issue has been fixed on build 20191101.5. So we close it.


pycifrw problem

There are error for pycifrw, do I need care this problem?  do I installed Larch in Anaconda successfully?
Building wheel for pycifrw (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\anaconda3\envs\xraylarch\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-install-40e_mgd2\pycifrw_ac1533fa99234bdd856a45b8bbc07d65\setup.py'"'"'; file='"'"'C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-install-40e_mgd2\pycifrw_ac1533fa99234bdd856a45b8bbc07d65\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-wheel-5g7b2r0q'
cwd: C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-install-40e_mgd2\pycifrw_ac1533fa99234bdd856a45b8bbc07d65
Complete output (26 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\CifFile
copying src_init_.py -> build\lib.win-amd64-3.8\CifFile
copying src\CifFile_module.py -> build\lib.win-amd64-3.8\CifFile
copying src\yapps3_compiled_rt.py -> build\lib.win-amd64-3.8\CifFile
copying src\YappsStarParser_1_1.py -> build\lib.win-amd64-3.8\CifFile
copying src\YappsStarParser_1_0.py -> build\lib.win-amd64-3.8\CifFile
copying src\YappsStarParser_STAR2.py -> build\lib.win-amd64-3.8\CifFile
copying src\YappsStarParser_2_0.py -> build\lib.win-amd64-3.8\CifFile
copying src\StarFile.py -> build\lib.win-amd64-3.8\CifFile
copying src\TypeContentsParser.py -> build\lib.win-amd64-3.8\CifFile
copying src\parsetab.py -> build\lib.win-amd64-3.8\CifFile
creating build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\drel_ast_yacc.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\drel_lex.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\drel_runtime.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\parsetab.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\py_from_ast.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel_init_.py -> build\lib.win-amd64-3.8\CifFile\drel
running build_ext
building 'CifFile.StarScan' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Failed building wheel for pycifrw
Running setup.py clean for pycifrw
Failed to build pycifrw
Installing collected packages: setuptools, patsy, imagecodecs, h5py, greenlet, fabio, wxutils, tomli, statsmodels, sqlalchemy, silx, pywin32, py, pluggy, iniconfig, attrs, atomicwrites, asteval, algopy, xraydb, wxmplot, termcolor, pytest, pyshortcuts, pyfai, pycifrw, psutil, peakutils, numdifftools, lmfit, hdf5plugin, xraylarch
Attempting uninstall: setuptools
Found existing installation: setuptools 61.2.0
Uninstalling setuptools-61.2.0:
Successfully uninstalled setuptools-61.2.0
Running setup.py install for pycifrw ... error
ERROR: Command errored out with exit status 1:
command: 'D:\anaconda3\envs\xraylarch\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-install-40e_mgd2\pycifrw_ac1533fa99234bdd856a45b8bbc07d65\setup.py'"'"'; file='"'"'C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-install-40e_mgd2\pycifrw_ac1533fa99234bdd856a45b8bbc07d65\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-record-5wux1uzc\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\anaconda3\envs\xraylarch\Include\pycifrw'
cwd: C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-install-40e_mgd2\pycifrw_ac1533fa99234bdd856a45b8bbc07d65
Complete output (28 lines):
running install
D:\anaconda3\envs\xraylarch\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\CifFile
copying src_init_.py -> build\lib.win-amd64-3.8\CifFile
copying src\CifFile_module.py -> build\lib.win-amd64-3.8\CifFile
copying src\yapps3_compiled_rt.py -> build\lib.win-amd64-3.8\CifFile
copying src\YappsStarParser_1_1.py -> build\lib.win-amd64-3.8\CifFile
copying src\YappsStarParser_1_0.py -> build\lib.win-amd64-3.8\CifFile
copying src\YappsStarParser_STAR2.py -> build\lib.win-amd64-3.8\CifFile
copying src\YappsStarParser_2_0.py -> build\lib.win-amd64-3.8\CifFile
copying src\StarFile.py -> build\lib.win-amd64-3.8\CifFile
copying src\TypeContentsParser.py -> build\lib.win-amd64-3.8\CifFile
copying src\parsetab.py -> build\lib.win-amd64-3.8\CifFile
creating build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\drel_ast_yacc.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\drel_lex.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\drel_runtime.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\parsetab.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel\py_from_ast.py -> build\lib.win-amd64-3.8\CifFile\drel
copying src\drel_init_.py -> build\lib.win-amd64-3.8\CifFile\drel
running build_ext
building 'CifFile.StarScan' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'D:\anaconda3\envs\xraylarch\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-install-40e_mgd2\pycifrw_ac1533fa99234bdd856a45b8bbc07d65\setup.py'"'"'; file='"'"'C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-install-40e_mgd2\pycifrw_ac1533fa99234bdd856a45b8bbc07d65\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Dongxiao FAN\AppData\Local\Temp\pip-record-5wux1uzc\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\anaconda3\envs\xraylarch\Include\pycifrw' Check the logs for full command output.

@dxfan2022 What command did you run -- you give a lot of output but did not say what you did to get that output.
Pycifrw is one of the packages that we usually install from Anaconda.  It does not have binary wheels on PyPI for all platforms, so using pip would require a working compiler.
We should probably try to get rid of needing it entirely, but I'm not sure when that will happen.

@newville Hi, Matt,
The problem happens when I am installing Larch in the Anaconda base terminal.
The command is: pip install xraylarch, which is the last step of installation of "[Installing into an existing Anaconda Python environment]".
I am wondering If I have succeeded in the installation.
I met problem when I try to start programming according to Larch website tutorial (Chapter 8. Programming with Larch from Python)
Like this:
(base) C:\Users\username>python
Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
--- import larch
---from larch.xafs import autobk
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'larch.xafs'
I am very familiar with XAFS, and also know how to use XAS viewer in Larch GUI (already installed from the Binary installer).
But I am a beginner in Python.
PS: Is there any introduction video tutorial for starting Larch programming as you have shown on Youtube for "Larch for XAFS Analysis". I printed out your Larch website tutorial, and try to read (so long.....).

@dxfan2022 OK, thanks.
Yeah that looks like pip install xraylarch did not finish correctly.
(aside: installing from the binary installers does install a complete Python environment, ready to use.  You could also install a new Python environment for Larch with the GetLarch.bat or GetLarch.sh scripts - these are meant to give the same result as the binary installers.)
But, it looks like the documentation at https://xraypy.github.io/xraylarch/installation.html#installing-into-an-existing-anaconda-python-environment says to install some "core packages" from Anaconda.    In fact the list there is probably incomplete -- missing pycifrw in fact --  as the installers and GetLarch scripts actually do
    conda install -yc conda-forge wxpython tomopy scipy matplotlib scikit-image scikit-learn pymatgen pycifrw
which is probably what went wrong for you.  Probably just doing
 conda install -y -c conda-forge pycifrw
will work correctly and then allow
pip install xraylarch
to finish.   I guess we never tested doing that process by hand on Windows!
For documentation and videos: I apologize for these being all of ["incomplete", "way behind", and "way too long"] all at the same time!
A video on scripting is a good suggestion - I am thinking about making a couple more videos, and maybe this topic could fit in with that.    Then again, I don't think it really makes sense for these to be teaching Python itself - there are lots of resources for that.

Hi, Matt. Thank you very much. The installation is succeeded.
Looking forward to more videos on your Youtube channel.


tesseract: ensure fixupPhase is run, e.g. ensuring library codesigning on darwin

Since the tesseract wrapper replaces the phases in tesseractBase with it's buildCommand, this prevents running e.g. the fixupPhase which would codesign the modified library for darwin.
This change ensures the fixupPhase is executed, ensuring a valid code signature for libtesseract.5.dylib.
Before the change:
$ nix-build -A tesseract5.tesseractBase
/nix/store/5f9hf5d2lgdkb44x60khx5b2cm50xyv5-tesseract-5.3.4
$ codesign -vvv result/lib/libtesseract.5.dylib
result/lib/libtesseract.5.dylib: valid on disk
result/lib/libtesseract.5.dylib: satisfies its Designated Requirement

$ nix-build -A tesseract5
/nix/store/zxmnplp54g4iks4h9hrllfrd2rlbbj20-tesseract-5.3.4
$ codesign -vvv result/lib/libtesseract.5.dylib
result/lib/libtesseract.5.dylib: invalid signature (code or signature have been modified)
In architecture: arm64

After the change:
$ nix-build -A tesseract5.tesseractBase
/nix/store/5f9hf5d2lgdkb44x60khx5b2cm50xyv5-tesseract-5.3.4
$ codesign -vvv result/lib/libtesseract.5.dylib
result/lib/libtesseract.5.dylib: valid on disk
result/lib/libtesseract.5.dylib: satisfies its Designated Requirement

$ nix-build -A tesseract5
/nix/store/zxmnplp54g4iks4h9hrllfrd2rlbbj20-tesseract-5.3.4
$ codesign -vvv result/lib/libtesseract.5.dylib
result/lib/libtesseract.5.dylib: valid on disk
result/lib/libtesseract.5.dylib: satisfies its Designated Requirement

Fixes #350072.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 352788 run on aarch64-darwin 1

49 packages marked as broken and skipped:

almanah
arcan
arcan-all-wrapped
arcan-wrapped
arcan.dev
arcan.lib
arcan.man
cat9-wrapped
durden-wrapped
evolutionWithPlugins
gscan2pdf
gscan2pdf.man
khoj
khoj.dist
perl538Packages.ImageOCRTesseract
perl538Packages.ImageOCRTesseract.devdoc
perl540Packages.ImageOCRTesseract
perl540Packages.ImageOCRTesseract.devdoc
pipeworld-wrapped
prio-wrapped
private-gpt
private-gpt.dist
python311Packages.llama-index
python311Packages.llama-index-readers-file
python311Packages.llama-index-readers-file.dist
python311Packages.llama-index-readers-s3
python311Packages.llama-index-readers-s3.dist
python311Packages.llama-index.dist
python311Packages.paperwork-backend
python311Packages.paperwork-backend.dist
python311Packages.paperwork-shell
python311Packages.paperwork-shell.dist
python311Packages.private-gpt
python311Packages.private-gpt.dist
python312Packages.llama-index
python312Packages.llama-index-readers-file
python312Packages.llama-index-readers-file.dist
python312Packages.llama-index-readers-s3
python312Packages.llama-index-readers-s3.dist
python312Packages.llama-index.dist
python312Packages.paperwork-backend
python312Packages.paperwork-backend.dist
python312Packages.paperwork-shell
python312Packages.paperwork-shell.dist
python312Packages.private-gpt
python312Packages.private-gpt.dist
spamassassin
spamassassin.devdoc
xarcan

2 packages failed to build:

python311Packages.pdf2docx
python311Packages.pdf2docx.dist

51 packages built:

browsr
browsr.dist
ccextractor
invoice2data
invoice2data.dist
manga-cli
mcomix
mcomix.dist
normcap
normcap.dist
ocrmypdf (python312Packages.ocrmypdf)
ocrmypdf.dist (python312Packages.ocrmypdf.dist)
paperless-ngx
python311Packages.layoutparser
python311Packages.layoutparser.dist
python311Packages.ocrmypdf
python311Packages.ocrmypdf.dist
python311Packages.pymupdf
python311Packages.pymupdf.dist
python311Packages.pyocr
python311Packages.pyocr.dist
python311Packages.pytesseract
python311Packages.pytesseract.dist
python311Packages.pytikz-allefeld
python311Packages.pytikz-allefeld.dist
python311Packages.videocr
python311Packages.videocr.dist
python312Packages.layoutparser
python312Packages.layoutparser.dist
python312Packages.pdf2docx
python312Packages.pdf2docx.dist
python312Packages.pymupdf
python312Packages.pymupdf.dist
python312Packages.pyocr
python312Packages.pyocr.dist
python312Packages.pytesseract
python312Packages.pytesseract.dist
python312Packages.pytikz-allefeld
python312Packages.pytikz-allefeld.dist
python312Packages.videocr
python312Packages.videocr.dist
qt-box-editor
subtitleedit
termpdfpy
termpdfpy.dist
tesseract (tesseract5)
tesseract3
tesseract4
vimPlugins.openscad-nvim
vobsub2srt
zathura

Hi, thanks for fixing this. Any idea when it can be merged 🙏?


⚖ Register StakerHouse.com Validator

Register new validator gentx on the drunemeton-1 network.

Was not selected for this network.


How to use as validation middleware

I would like to check body and query parameters as middleware.
like
app.get("/someRoute",myValidationMiddleware,(req,res)=>{
//Validated data
});
Can I use express validator like middleware and how to implement myValidationMiddleware?
Thank you.

You've already done that in your example

@iamchathu Yes, that is doable.
Here's an example code
...
// validation middleware
const validateRequest = schema => (req, res, next) => {
  req.check(schema)

  req.getValidationResult()
     .then(r => !r.isEmpty() ? r.throw() : next())
     .catch(r => next(r.mapped()))
}

// routes
app.all('*',
  validateRequest(mySchema),
  (req, res, next) => res.json({ code: 'OK' }))

// Woops!
app.use((err, req, res, next) => res.json(err))
...

Thank you @IOAyman I'll test it now and will close this issue

You're welcome 😄

I need to allow only defined url params only. Is there any way to do it using schema definition?
Thank you.

Yes, it can be done in various ways;
You can validate only the query using that schema
...
req.checkQuery(schema)
...

Or use the 'in' property when you define the schema
...
const my schema = { param: { in: 'query', notEmpty: true } }
...

And if you prefer, you can use the chained validation approach as well. You would then declare you middleware like:
...
// validation middleware
const validateRequest = (req, res, next) => {
  req.checkQuery('param').notEmpty().withMessage('required!')

  req.getValidationResult()
     .then(r => !r.isEmpty() ? r.throw() : next())
     .catch(r => next(r.mapped()))
}

// routes
app.all('*',
  validateRequest, // this is not a function call
  (req, res, next) => res.json({ code: 'OK' }))

Read the docs about using validation schema

As @IOAyman already helped you a lot, I'll close for now :)

@IOAyman  Thanks a lot.

 Glad to help 😉


Add image service logs to grafana dashboard

This adds a panel to the existing prod logs to show the image service logs
cc @rccrdpccl

/lgtm

@rccrdpccl any reason this isn't merging?


Feature/tech 701 parallel runs

This pr is on hold until we or the backend guild finds a solution for sbt commands and parallel threads.


ODIOU loss and its training time

Hello, thanks for your work!
I cannot install your codebase for some unknown reasons(docker environment), so I just copy your code. As for ODIOU loss,
self.odiou_3d_loss(boxes1, boxes2, weights, batch_size=4)
It need to run this only one line for 7 minutes (KITTI, SECOND model)!
Besides, the result of the first iter is also Irregular (train from sketch):
odiou_loss[odiou_loss>0].shape=1162, weights[weights>0].shape==512, odiou_loss[weights>0].sum()==0).
So, is the calculation time of ODIOU loss normal? And is the iou_loss output right(cannot be zero)?

It may be caused by too much calculation, in our codebase, the pre-trained model would lead to very limited boxes for calculation. I guess the iou_loss is hard to be zero.

It may be caused by too much calculation, in our codebase, the pre-trained model would lead to very limited boxes for calculation. I guess the iou_loss is hard to be zero.

Thank you for your reply!
I have another question, it points that orientation (\Delta r) is an important term, but i could not find any ablation study on this term. Since basically the IOU term already could  optimize the orientation, can you share the performance without extra optimization of (\Delta r)?

Yes, you may refer the results in our supplementary materials, where we conducted some ablation study on it.

Thanks, how about \gamma is zero? or you didn't consider this sutuation?

Sure. If \gamma becomes zero, the result would become worse.

Fine, thank you for your reply.


Hotfix for quota and google recaptcha

[x] Also send quota warning email to administrator
[x] Make administrator email link clickable with subject automatically populated.
[x] Passing google recaptcha site key from server to template client without manual filling in.

Any plan on when you will release the 1.14.2 version of HydroShare? The 1.14.1 version has the broken reCaptcha and makes it not useable.

Closing as 1.15.1 has been deployed. @hyi please confirm


a better CLI way to use microbin

I wrote a bash function that makes it easy to use the CLI, It is tested on bash and zsh
config
vim ~/.bashrc, Attention, please replace <YOURL_MICROBIN_URL> with your own Microbin URL.
mb() {
  mbclean() {
    perl -lne 's!/upload/!/p/!; print $1 if /^location: (.*)$/i'
  }

  upload_file() {
    curl -is -X POST https://<YOURL_MICROBIN_URL>/upload -F "file=@$1" | mbclean
  }

  upload_text() {
    curl -is -X POST https://<YOURL_MICROBIN_URL>/upload -F "content=$1" | mbclean
  }

  # Check if an argument is provided
  if [[ -n $1 ]]; then
    # Check if the argument is a file
    if [[ -f $1 ]]; then
      # Prompt user for choice
      echo "File detected. Choose an option:"
      echo "1. Upload file (default)"
      echo "2. Upload text from file"
      echo "Enter choice (1 or 2): "
      read choice
      choice=${choice:-1}
      case $choice in
        1) upload_file "$1" ;;
        2) upload_text "@$1" ;;
        *) echo "Invalid choice"; return 1 ;;
      esac
    # Check if the argument is a directory
    elif [[ -d $1 ]]; then
      echo "Error: '$1' is a directory. This script can only handle files and text."
      return 1
    else
      # If it's not a file or directory, assume it's a string and upload the string
      upload_text "$1"
    fi
  elif [[ ! -t 0 ]]; then
    # If no argument is provided and stdin is not from the terminal, read from stdin
    upload_text "@/dev/stdin"
  else
    # If no input is provided, print usage instructions
    echo "Error: No input provided."
    echo "Usage:"
    echo "  mb <text_string>"
    echo "  mb <file_path>"
    echo "  mb < file_path"
    echo "  echo \"hello world\" | mb"
    echo "  command | mb (e.g., 'python test.py | mb')"
    echo "  command 2>&1 | mb (e.g., 'python test.py 2>&1 | mb')"
    echo "  command 2>&1 | tee /dev/tty | mb (e.g., 'python test.py 2>&1 | tee /dev/tty | mb')"
    return 1
  fi
}

Don't forget source ~/.bashrc
how to use?
mb "hello world"
mb test.py  # It will ask you whether to directly upload the file or upload the text inside the file
mb < test.py
echo "hello world" | mb
python test | mb

Thanks for the suggestions provided by @vaskozl. https://github.com/szabodanika/microbin/issues/170#issuecomment-1800875718

hi, is there a way to set the syntax highlight with this? as it's not possible to modify it after publishing on the service...

hi, is there a way to set the syntax highlight with this? as it's not possible to modify it after publishing on the service...

support this, or at least allow us to change the syntax highlight AFTER a snippet is created, by editing it, thanks!


Add initial implementation of the SampleSpanStore.

Codecov Report

Merging #358 into master will increase coverage by 1.18%.
The diff coverage is 86.01%.

@@             Coverage Diff              @@
##             master     #358      +/-   ##
============================================
+ Coverage     88.96%   90.15%   +1.18%
- Complexity      545      565      +20
============================================
  Files            93       94       +1
  Lines          2121     2264     +143
  Branches        163      195      +32
============================================
+ Hits           1887     2041     +154
+ Misses          199      172      -27
- Partials         35       51      +16

Impacted Files
Coverage Δ
Complexity Δ

...src/main/java/io/opencensus/trace/base/Status.java
92.85% <ø> (ø)
16 <0> (ø)
:arrow_down:

...va/io/opencensus/trace/config/TraceConfigImpl.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...pl/src/main/java/io/opencensus/trace/SpanImpl.java
90.96% <44.44%> (-2.03%)
45 <4> (+5)

...o/opencensus/trace/export/SampleSpanStoreImpl.java
88.8% <88.8%> (ø)
14 <14> (?)

...a/io/opencensus/trace/export/SpanExporterImpl.java
90% <0%> (-1.67%)
6% <0%> (ø)

...a/io/opencensus/trace/export/SampledSpanStore.java
86.11% <0%> (+86.11%)
1% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Change PUSHA to be relative

See neo-project/neo-vm#317.

Interesting, that json tests pass even now, because PUSHA is always a first instruction.


Account creation with token

The "EnableAccountCreation" check should not apply for users with a valid invite token.
If needed you can simply revoke the users invite.
Just on a side note, I found a bug where you can signup with a valid token with EnableAccountCreation set to false if you click create while email validation is in progress.
You can reproduce this by entering your name and password then copy paste you email address and immediately click the create my account button.

Hello,
We'd be willing to accept a pr for this.

I cant access signup

From looking at the code it might just be a js fix to check for EnableAccountCreation or token rather than just EnableAccountCreation. The api might already work that way but its a bit hard to tell if I cant debug because of the above.

It looks like you are running the new ui locally, can you also go to this folder Exceptionless\src\Exceptionless.Web\ClientApp.angular\ and run npm run serve

Thanks again for the PR! We will cut a new beta release soon, in the mean time please use the nightly images.


Does not switch back to home/higher directory version

First of all, love the script!
Here's the issue:
Let's say I have .rbfu-version files sitting in my home directory and an app folder. The auto feature is turned on. When I  cd down into the app directory, the ruby version changes just fine. But when I cd back out of the directory, it stays the same version as specified in the project directory.
I think it would be more intuitive if it would automatically switch back to the next highest version definition in the directory tree (if there is one) instead of staying on the project version.
Example:
~ (1.9.3)
|
-- stuff (1.9.2)
|
-- projects
|
-- sample_app (1.8.7)
Entering the sample_app folder switches me to 1.8.7. Moving back up to projects keeps me at 1.8.7. It seems like the script should look for the next available version file in the tree; in this case, 1.9.2 located in stuff.
Let me know what you think (or if I'm doing something wrong)!

I just saw that your latest commit seemed to be directed at this issue. I just started playing with it tonight, and it's not reverting back to the home directory version after entering a directory without a config file. Also, what's the difference between .ruby-version and .rbfu-version files?

Hi @craiglittle, thanks for your feedback. The idea you're suggestion is something I've researched previously, however, I haven't found a way to implement this in a manner that is both fast and error-free.
Generally speaking, the problem is that on every directory change I would need to not only check the current (new) directory, but also walk up the directory tree, like you're describing. This doesn't sound very complicated, but there's a whole bunch of potential issues that makes implementing this not exactly trivial.
Just one example: since directories can be symlinks, it's entirely possible to end up in an endless loop. I would need to add a lot of code to the automatic mode, which is something I'm not too keen on at this point; and since most people just cd into individual projects and then cd . to get back to their home directory, it's probably not worth the effort, either.
I'll keep this in mind, though, and if I come across a good way to implement this (or a similar mode of operation), I will be happy to do it. Until then, I hope you're okay with me closing this issue.
Thanks,
Hendrik

Makes sense, thanks.
One more thing: What is the distinction between .rbfu-version and ruby-version files? To support the standardization effort that's floating around?


Create README.md

Proposing SQuAD v2 metric card

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[BUG] In-Place k8s Upgrade of Local Cluster results in RKE2 Cluster staying stuck in Updating state

Rancher Server Setup

Rancher version: v2.7.2-rc5
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): Helm

Proxy/Cert Details: byo-valid

Information about the Cluster

Kubernetes version: v1.24.10-rancher4-1 -> v1.25.6-rancher4-1
Cluster Type (Local/Downstream): Downstream RKE2

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): EC2

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom): Admin

Describe the bug
Seems an in-place k8s upgrade deletes the service account tokens for the system-agent
To Reproduce

Deploy an HA cluster on v1.24.10-rancher4-1
Create a downstream RKE1 and RKE2 cluster (both at 1.25 k8s versions)
Migrate from the HA cluster using the rancher backup-restore operator to another HA setup running v1.24.10-rancher4-1
Perform an in-place upgrade on the local cluster to k8s v1.25.6-rancher4-1

Note, I do not expect the RKE2 cluster to come back up after step 3.
Result
Upgrade completes and the RKE2 cluster is in an Updating status, waiting for plan to be applied
Expected Result
Upgrade completes and all clusters are in an Active status
Screenshots

Doing some investigation into this, the service account tokens were deleted because the Rancher setup was migrated from one Rancher installation to another. During this procedure, the service account tokens are deleted, and expected to be recreated through the process detailed here: https://github.com/rancher/rancher/issues/40819#issuecomment-1463015660
There is an issue where the system-upgrade-controller is not deployed to a 1.25.x cluster due to the inclusion of pod security policies, and Fleet errors out with:
fleet-default   nick-124-rke2   1/3             8/8           nick-124-rke2-c-66234465-8kcws   2023-03-13T19:58:15Z   ErrApplied(2) [Bundle mcc-nick-124-rke2-managed-system-upgrade-controller: unable to build kubernetes objects from release manifest: resource mapping not found for name: "system-upgrade-controller" namespace: "" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first]

This is occurring due to the fact that the latest RC (v2.7.2-rc5) does not have the newest version of the system-upgrade-controller chart that allows disabling PSPs. This should be when the following is fixed: https://github.com/rancher/rancher/issues/40565
@nickwsuse I will leave closing the issue up to you -- we can independently verify this specific path if you would like, once the chart is updated and a new RC is cut.

can be validated in v2.7.2-rc6

I'm blocked on testing this until https://github.com/rancher/rancher/issues/40819 is resolved, as my RKE2 clusters are stuck Updating even before getting to the in-place upgrade. Once that's fixed I can do the migration -> upgrade tests.

Validated on v2.7.2-rc7
I did an in-place upgrade with several RKE2 clusters after a migration and all the clusters came back up as expected.
Flow: HA1 v1.24.10 -> HA2 v1.24.10 -> HA3 v1.25.6 (I accidentally used the same backup file for HA1 -> HA2 so the clusters didn't come back up until I manually edited the redeploySystemAgentGeneration value to 2) -> HA4 1.25.6 (All clusters came up as expected)
Custom RKE1 k8s v1.24.10
DS EC2 RKE1 k8s v1.25.6
DS EC2 RKE1 k8s v1.24.10

Custom RKE2 k8s v1.24.11+rke2r1
Custom Hardened RKE2 k8s v1.24.10+rke2r1
DS EC2 RKE2 k8s v1.24.10+rke2r1
DS EC2 RKE2 k8s v1.24.11+rke2r1
DS EC2 RKE2 k8s v1.25.7+rke2r1


Make mouse drag attributes private in qt_layerlist

Description

This PR makes the QtLayerList class attributes related to mouse drag movements private, and uses _snake_case consistently for all of them:

drag_name --> _drag_name
dragTimer --> _drag_timer
drag_start_position --> _drag_start_position

@jni suggested we make this change, while discussing the details of another pull request
https://github.com/napari/napari/pull/958#discussion_r376906435

Not that this is a mistake in the PR, but are we sure we want this to be a public attribute? ditto for drag name and drag timer. The inconsistent naming is also a concern.

Type of change

[ ] This change requires a documentation update
This is an API change, but I don't think we need to change any docs - there's currently no docstrings for this yet (this is being addressed in https://github.com/napari/napari/pull/958)

References

https://github.com/napari/napari/pull/958#discussion_r376906435
How has this been tested?

[x] all tests pass with my change

Final checklist:

[x] My PR is the minimum possible work for the desired functionality~~ NA
- [ ] I have commented my code, particularly in hard-to-understand areas NA
- [ ] I have made corresponding changes to the documentation NA
- [ ] I have added tests that prove my fix is effective or that my feature works NA

Ok, we should be good to go if all the tests pass.
I've updated this PR now that https://github.com/napari/napari/pull/958 has been merged into master, so the docstrings are ok too.

Thanks, looks good - will merge now :-)


Annotations issue

Hi Lingyi,
Congratulations ICCV~
This dataset is an excellent and important work for long-term VOS !
I want some help for the valid split:
There are some new objects (appear in subsequent frames) in your videos.
Unlike the test split, the evaluation of valid is done locally, then the annotations will contain both old and new objects.
It's not very friendly for discovering new targets.
Thus, could you please to provide another version of valid that, like test, contains only the annotation of the first existence of each object ?
This is convenient for the dominant frameworks (like XMem and AOT) and easy to use your dataset.
Thanks a lot!

Also, since the single object only appears from frame 00001156 in d83wYdy0, could you please fix it: 00001156 -> 00000001?

Hello, Jailing. Thanks for your interest on our work.
(1) It was an oversight on our part not to take the new object problem into account. Indeed, when we construct LVOS, we followed the setting of YouTubeVOS, where new objects will appear in the subsequent frames in many videos. We think that the ability to segment new objects while maintaining tracking of old objects is a very important to VOS model, especially in practical environments.  We hope our LVOS can serve as a benchmark to evaluate the performance of VOS models in real application scenarios, so the new object is significant.
(2) The dominant frameworks, such as AOT and XMem, support the emergence of new object. In fact, we just modify the path and initiation code in AOT and XMem to conduct experiments in our paper. We can provide you with the dataloader codes if you need them.
(3) We have checked the validation and test videos to see which ones have new objects. There are some videos containing new objects in not only validation but also test sets. We will follow your advice to provide some codes to enable users to separate the new objects in each video in validation sets by themselves. But, if you use the separated videos, the final performance maybe a little different from origin score.
(4) I have also noticed your new work JointFormer. It is a nice work. If you don't mind, I think maybe we can communicate more via email or wechat afterward. I would also want to get more suggestions and comments from other researchers about LVOS to help me improve it. Of course, I'm eager to cooperate with more researchers too!
Finally, thanks for your suggestion. I will provide some codes to separate the new objects in validation sets and the dataloaders we implemented to help other researchers to develop their own codebase easier.


When soft keyboard showing， FPDF library is destoryed!

This is log:
D/jniPdfium( 9858): Destroy FPDF library

Hi, i'll need more info as it's working fine for me

I have used a text input field to jump to the page number given by the user. But as soon as the keyboard is displayed, the pdf view ends abruptly, with log: Destroy FPDF library

hi there , and thanx for this plugin , i solve ther problim by add resizeToAvoidBottomPadding: false in Scafold()
, i hope that help you :)

hi there , and thanx for this plugin , i solve ther problim by add resizeToAvoidBottomPadding: false in Scafold()
, i hope that help you :)

Now is resizeToAvoidBottomInset: false resizeToAvoidBottomPadding is deprecated

I have used a text input field to jump to the page number given by the user. But as soon as the keyboard is displayed, the pdf view ends abruptly, with log: Destroy FPDF library

Having same issue, is there any solution to this

I face same kink of problem. Please help me. Here is my problem:
I/flutter ( 2458): tenderimage/Dec08/Dec08_Dhaka Navy-7A.pdf
W/PlatformViewsController( 2458): Creating a virtual display of size: [1440, 3500] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1440, 2701].
D/com.shockwave.pdfium.PdfiumCore( 2458): Starting PdfiumAndroid 1.9.0
D/jniPdfium( 2458): Init FPDF library
D/jniPdfium( 2458): Destroy FPDF library

hi, thanks for your feedback.
@Shubham-Phatale , have you tried to use
resizeToAvoidBottominset: false

?
@Masrafi
you are trying to creating a virtual display larger then the device size as mention in the error, maybe you should try to fix this.
Feel free to give code sample if you need more help!

My code is here. To get json data:
getData() async {
var url = "https://bdtender.com/api/tend_call.php";
var response = await http.post(url, body: {"id": widget.masrafi});
Map<String, dynamic> map = jsonDecode(response.body);
List data = map["data"];
print(map['image'][0]['img1']);
var dir = await getTemporaryDirectory();
File file = new File(dir.path + "map['image'][0]['img1']");
await file.writeAsBytes(response.bodyBytes, flush: true);
return file.path;

}
And code:
ListView(
children: [
RaisedButton(
child: Text("Show Please Allah"),
onPressed: () {
getData().then((value) {
setState(() {
_localFile = value;
});
});
},
),
_localFile != null
? Container(
height: 1000,
width: 500,
child: PDFView(
filePath: _localFile,
),
)
: CircularProgressIndicator()
],
))
My Pdf file show console successfully. But when I want to show it in my app it create problem.

Olá, obrigado por este plugin, resolvo o problema adicionando resizeToAvoidBottomPadding: false no Scafold ()
, espero que ajude você :)

thanks man

Olá, obrigado por este plugin, resolvo o problema adicionando resizeToAvoidBottomPadding: false no Scafold ()
, espero que ajude você :)

thanks man

this worked for me: https://stackoverflow.com/a/60246126/12595823

this worked for me: https://stackoverflow.com/a/60246126/12595823

It can be reproduced easily by simply reloading the app, just press Command+s, or type r in terminal...


Bump version to v2.13.2

What was changed

Why?

Checklist

Closes

How was this tested:

Any docs updates needed?

https://github.com/temporalio/ui/pull/1249


added more text to the api

All texts below this one seem too big. Try to maintain a 2-3 line limit.

👍🏻 done!!


Webhook JSONPath Failure

Huginn Version: master 8dc5387f0b14940af6c728fe4f5c570d325c32ff
In a WebHookAgent, I think I should be able to declare a JSONPath to only capture the value of a leaf node. Currently, it seems that I can only follow the path down to the second to last key and value, i.e $.foo.bar, to generate an event of {"bing": "hmmm"}
If I try the complete JSONPath $.foo.bar.bing, I get an error as shown below, even though I think that is valid JSONPath.
If I do the same at http://ashphy.com/JSONPathOnlineEvaluator/, I get {"Hmmm"}
If I try foo.bar.* with the WebHookAgent, I get the event {"bing": "Hmmm"}
Of course, I can grab the whole JSON with WebHookAgent, then pare down with the EventFormatter, because EventFormatter does allow specifying JSONPath like $.foo.bar.bing. This is sub-optimal though, because it preserves more JSON than is strictly necessary in the WebHookAgent Events, if one keeps historical events there.
Is this accurate behavior for the WebHookAgent?
myjson-foo.json
{
 "foo": {
    "bar": {
      "bing": "hmmm"
    }
  }
}

Send Command Line Post
Enter a post with the JSON body found in myjson-foo.json and get a failure, if I have specified $.foo.bar.bing as the JSONpath in my WebHookAgent

WebhookAgent Setup
I have specified $.foo.bar.bing as the JSONpath in my WebHookAgent. The generated event should be {"hmmm"}

Hey @sean-horn, welcome and thanks for the detailed report!
The problem is that the output needs to be a valid JSON Object, and {"hmmm"} isn't valid JSON.  I'd suggest using $.foo.bar.  We could also modify the agent so that JSONPaths to single values return something like { "value": "hmm" }.  Would this be better?

@cantino Thanks, happy to try to help! Oh yes, I see that.  I think it's ok. I wouldn't make a special case of the final element unless other people have seen a need for this too. Please close at your convenience.

Glad you like it!  Let me know if we can help out.