Scheduling not being following from 01/01/2021

Describe the bug

The collection pattern is every two weeks, beginning 14/12/2020 and running until 29/11/2021, with three exceptions during the year for bank holidays.
It should be 14/12/20, 28/12/20, 11/01/21, 25/01/21 and so on, every two weeks (apart from the bank holidays). No matter what changes I've tried it just keeps switching from 04/01/21 and I can't work out what I'm doing wrong. I've rebooted multiple times, just in case that might help but no difference. Another user has the same issue, following the roll over to the new calendar year.

Configuration
Do you configure the integration in YAML or Config Flow (GUI)? :  Config Flow

                "entry_id": "eb511fc36fc9fa7b4e0fb65ac96d3fb6",
                "version": 1,
                "domain": "garbage_collection",
                "title": "Green bin",
                "data": {
                    "unique_id": "ca63892e-8f07-49d4-87e8-b108b1cff79c",
                    "frequency": "odd-weeks",
                    "icon_normal": "mdi:trash-can",
                    "icon_today": "mdi:delete-restore",
                    "icon_tomorrow": "mdi:delete-circle",
                    "verbose_format": "on {date}, in {days} days",
                    "date_format": "%d-%b-%Y",
                    "expire_after": "13:30",
                    "collection_days": [
                        "mon"
                    ],
                    "first_month": "dec",
                    "last_month": "nov",
                    "holiday_move_offset": 0,
                    "observed": false,
                    "include_dates": [
                        "2021-04-03",
                        "2021-05-01",
                        "2021-05-29",
                        ""
                    ],
                    "exclude_dates": [
                        "2021-04-05",
                        "2021-05-03",
                        "2021-05-31",
                        ""
                    ],
                    "holiday_in_week_move": false
                },
                "options": {},
                "system_options": {
                    "disable_new_entities": false
                },
                "source": "user",
                "connection_class": "local_poll",
                "unique_id": null
            }

Error log/debug information

2020-12-14 10:22:49 INFO (MainThread) [homeassistant.setup] Setting up garbage_collection
2020-12-14 10:22:49 INFO (MainThread) [homeassistant.setup] Setup of domain garbage_collection took 0.0 seconds
2020-12-14 10:22:49 DEBUG (MainThread) [custom_components.garbage_collection] Setting Green bin (odd-weeks) from ConfigFlow
2020-12-14 10:22:49 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.garbage_collection
2020-12-14 10:22:49 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Calling update
2020-12-14 10:22:49 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2020-12-14)
2020-12-14 10:22:49 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Found next date: 14-Dec-2020, that is in 0 days
2020-12-14 10:22:49 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.garbage_collection entity: sensor.green_bin
2020-12-14 10:22:49 DEBUG (MainThread) [custom_components.garbage_collection.sensor] Creating garbage_collection calendar
2020-12-14 10:22:49 INFO (MainThread) [homeassistant.components.calendar] Setting up calendar.garbage_collection
2020-12-14 10:22:54 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2020-11-30)
2020-12-14 10:22:54 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2020-12-14)
2020-12-14 10:22:54 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2020-12-28)
2020-12-14 10:22:54 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2021-01-04)
2020-12-14 10:22:54 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2021-01-18)
2020-12-14 10:22:59 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2020-11-30)
2020-12-14 10:22:59 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2020-12-14)
2020-12-14 10:22:59 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2020-12-28)
2020-12-14 10:22:59 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2021-01-04)
2020-12-14 10:22:59 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Green bin) Next date candidate (2021-01-18)

Screenshots

Version
Integration version: 3.10
Home Assistant version: 2020.12.0

Hopefully I've done this properly and not missed anything, if you need any more information or for me to test things please let me know.
Thanks!

You configured the collection on odd week numbers (that is week# 1,3,5 etc). The last week of this year is week number 53. Followed by week number 1. So it will trigger collection in both of these.

If you want to have a collection every 2 weeks, regardless of the week number, choose frequency every-n-weeks, with a starting date 2020-12-14 and period 2.

Thanks for getting back to me so quickly. Last year I had it configured using every-n-weeks but noticed the duplication of collection on 28/12/20, as expected, and again on 04/01/21 and following a suggestion by another user tried out odd-weeks.
Following your suggestion I've changed back to every-n-weeks, as below (I can't see where to enter a starting date on Config Flow, so I've gone with wk51 (14/12/20) as today is the first date of collection for the new year).

The calendar is still showing a collection from 04/01/21 and then two weeks from there.

It's not showing a collection due today, but I'm guessing that's because it has expired.

Ok, you are right. Every n weels works the same way as odd weeks, I forgot.
Please use EVERY-N-DAYS. There you can set-up a starting date. And for 2 weeks select period 14 (14 days).

It actually says that in the documentation:

every-n-days (repeats regularly from the given first date). If n is multiply of 7, it works similar to weekly or every-n-weeks, with the difference that it ignores the week numbers (that restart each year) but continues infinitely from the initial date.

Thanks for the help, all sorted now. I'll stick with every-n-days from now on, as that seemed to fit all scenarios.


demo not work

HI, the demo page seems not working anymore
http://markserbol.com/urlive/

+1
The demo don't work for me....


i18n(fr): Update guides/dev-toolbar.mdx from #8002

Description (required)
Update guides/dev-toolbar.mdx from #8002

Related issues & labels (optional)

Closes #
Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
guides/dev-toolbar.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


[Registration] Passwords match bug

Says passwords do not match until you re-type first password.

Added validation directive


python3Packages.desktop-notifier: 5.0.1 -> 6.0.0

Description of changes
https://github.com/samschott/desktop-notifier/releases/tag/v6.0.0
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
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

[ ] Fits CONTRIBUTING.md.

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

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

10 packages built:

maestral (python312Packages.maestral)
maestral-gui
maestral-gui.dist
maestral.dist (python312Packages.maestral.dist)
python311Packages.desktop-notifier
python311Packages.desktop-notifier.dist
python311Packages.maestral
python311Packages.maestral.dist
python312Packages.desktop-notifier
python312Packages.desktop-notifier.dist

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

10 packages built:

maestral (python312Packages.maestral)
maestral-gui
maestral-gui.dist
maestral.dist (python312Packages.maestral.dist)
python311Packages.desktop-notifier
python311Packages.desktop-notifier.dist
python311Packages.maestral
python311Packages.maestral.dist
python312Packages.desktop-notifier
python312Packages.desktop-notifier.dist

@ofborg build python312Packages.desktop-notifier python311Packages.desktop-notifier

Result of nixpkgs-review pr 341155 at fd693b3f run on aarch64-darwin 1

4 packages built successfully:

maestral (python312Packages.maestral)
python311Packages.desktop-notifier
python311Packages.maestral
python312Packages.desktop-notifier


ssh sites not working

Hello,
I'm trying to add ssh sites but the User Name and Password fields are not present.
I'm adding the hostname and port, but when I'm check the connection I get back "Please fill host, port and credentials."

Someone had this issue before?

Sorry, ssh remote sites are out of scope for this plugin.


[Rating] Add TODO comment in Rating component to use readOnly state class

[x] I have followed (at least) the PR section of the contributing guide.

With the advent of readOnly global state class in https://github.com/mui/material-ui/pull/32822, we also need to add it in the list of state classes that is used to trigger the CSS specificity warning when overriding in theme. We missed it in #32822.
I refactored it to keep it defined in one place only. Otherwise, this would be easy to miss in future.

The changes makes sense, however in this moment the Rating component does not increases the specificity for the readOnly state. We could introduce this breaking changes in the next major release. The error currently is kind of not reflecting the correct state of things, which may be confusing. Let's add in https://github.com/mui/material-ui/blob/master/packages/mui-material/src/Rating/Rating.js#L106 comment for using the state class in v6.

Oh okay. I didn't notice that the Rating component uses ownerState instead. I reverted the changes added the comment.
I wonder whether it is better to use ownerState in future to apply conditional styles?

I wonder whether it is better to use ownerState in future to apply conditional styles internally in our components?

This is always the recommended approach, except for the state classes, so that we are closer to the CSS pseudo selectors. For e.g. in plain CSS you would have: .some-classname:disabled, which in our world, maps to: .some-classname.Mui-disabled.


Icon "wifi" has merged path

With merged path I can't customize color for each curve separately to show signal level.
Would be nice to have unmerged path in icons:
link-2
maximize
minimize
phone-call
radio
volume-2
wind

Oh, right. I didn't think of that use case. I'll change the SVGO settings 👍


Improved travis config

As far tests is running without coverage then we can disable xdebug completely. This makes tests much faster.
Also enabled cache for composer and increased memory limit.

Thank you for your pull request.
It looks like this may be your first contribution to an Oro, Inc. open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at http://www.orocrm.com/contributor-license-agreement/
If you've already signed the CLA, it's possible we don't have your GitHub username or you're using a different email address. GitHub uses the email address you set in your local Git configuration to associate commits with your GitHub account. Please sign the CLA again using the correct GitHub username and email address or see this help article on setting the email on your git commits.
Once you've signed the CLA, please allow for about an hour for the submission to be processed.


Errors in the default template

Congratulations on the new release!
Some issues I've encountered:

the template zip in the release page still includes choicetags.js but the release says it's removed
the project.js in the template (zip & repo) still imports choicetags.js
opening the template project results in an error:

Uncaught (in promise) Error: Can't resolve filename because no FileHandler was provided when instantiating the parser / compiler.

That's because the template project uses storylets & the ink file has INCLUDE patches/storylets.ink which the compiler doesn't know how to load.
I suggest providing a much simpler project.js in the default template, at least not including storylets since it doesn't load correctly.
I'm happy that Calico got a new release, now I can work on it knowing it's very much alive :-D
I found a few bugs in the v1 a few weeks ago, I haven't yet checked if they're fixed in v2. I'll report here if I find anything.
Are you open to pull requests or do you prefer issues and tackling them yourself?

Oh damn, thanks for letting me know! I'm definitely open to pull requests, but you're more than welcome to just report bugs too.
I'll get the template issues sorted shortly. INCLUDEs are unfortunately a more complicated issue (I can't believe I didn't think to test that), but I've reached out to someone on the inkjs team to get that figured out too!


fix: nil pointer dereference on UserInfoAddress (option 2)

This is an alternative to #207, where userInfoAddress is no longer accessed through pointers. This makes it always safe for acces. IMHO this is a slightly cleaner approach because we don't need to if/else.

closed in favour of #207


mac os: Undefined symbols for architecture x86_64

#go install github.com/djimenez/iconv-go
github.com/djimenez/iconv-go
Undefined symbols for architecture x86_64:
"_libiconv", referenced from:
__cgo_3f1a54b9fe24_C2func_iconv in converter.cgo2.o
__cgo_3f1a54b9fe24_Cfunc_iconv in converter.cgo2.o
"_libiconv_open", referenced from:
__cgo_3f1a54b9fe24_Cfunc_iconv_open in converter.cgo2.o
__cgo_3f1a54b9fe24_C2func_iconv_open in converter.cgo2.o
"_libiconv_close", referenced from:
__cgo_3f1a54b9fe24_Cfunc_iconv_close in converter.cgo2.o
__cgo_3f1a54b9fe24_C2func_iconv_close in converter.cgo2.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

Same issue on my end. Mac Air Yosemite

Ok. So I finally got this fixed on my end. I had libiconv libraries downloaded for working with Nokogiri on Ruby. This is what worked for me.
$ find /usr/lib -name libiconv*
/usr/lib/libiconv.2.4.0.dylib
/usr/lib/libiconv.2.dylib
/usr/lib/libiconv.dylib
Then I went through Finder and moved all three to the trash (Just in case it didn't work I could restore them from the trash easily). After that, run the go get and see if it worked. Good luck!

I solved this by using brew uninstall libiconv. Notice this may make anything you use libiconv (like Nokogiri for Ruby) break.

OpenBSD is suffering from this exact same issue.


iOS Build Error on Telerik Platform

Getting the following error on the Telerik Platform when trying to build a project using the google maps sdk module.  We removed the module and the app built ok.  Do you have any idea why this might be?
Error: Cannot build project because module nativescript-google-maps-sdk contains insecure code. Remove the module and try again.

I'm not experienced with the Telerik Platform - found the nativescript-sqlite plugin had the same issue https://github.com/NathanaelA/nativescript-sqlite/issues/4
@teobugslayer - any ideas?

Thanks for your help, @dapriett.  I'll submit a support ticket too through their ticketing portal.  Hopefully it's an easy fix on their end.
-Dan

FYI - got this from Telerik
The issue is due to the usage of Cocoapods in the above mentioned plugin. This is so, because for such plugins Telerik Platform checks if their authors are among the trusted ones for our organization. This is something that will change in the future.
This said, I have now escalated this to our development team in order to add dapriett as a trusted {N} plugin developer. Once this is done, you will be able to use the google maps plugin in AppBuilder

Great, thanks for contacting them and for the update!

This works now.
-Dan


Touchscreen not properly detected for IE on touchscreen devices.

I use a surface pro 3 device, which is touch enabled, when I walk through kitchen sink with IE 11 (even with Metro version), it states my browser is not touch enabled. This is incorrect. It actually doesn't work on chrome either. I am not sure if there is a way to detect this rather than checking user agent.

What is Modernizr.touch telling you?  Seriously, try not to sniff user agents.

Yeah, my inkling is that this is a modernizer and Windows issue more than anything we can control. Windows has been pretty bad in reporting its touch correctly.
Might be related to the discussions here https://github.com/modernizr/modernizr/issues/548
I'll close this as it looks like there's nothing we can do about it at the moment, but feel free to reopen if i'm misunderstanding or you have thoughts.


Feat/native file picker

There are a lot of cross-platform system dialog libraries. I've chosen one of them because it's just a header file and seems to fit our requirements:
https://github.com/samhocevar/portable-file-dialogs
It can support directory selection, open files for reading, or for saving.

(not tested on MacOS)
An option menu (Tools > Option) has been added you can still use the ImGui file picker.

Note this also fix the issue here (while implementing this I noticed that the title of the FilePicker is the same as other windows which leads in some cases of a mixing UI):
https://github.com/AutoFlowResearch/SmartPeak/issues/484

Very clean. Thanks for leaving the option for the ImGui picker. Did you want to wait until testing on MacOS before merging?

Well, we can wait a test on MacOS.


Copied Angular project and added Scully

I had to add routing to the Angular app to make Scully work.

By making a PR you are agreeing to that contributing a hello world project allows the repo/project owner to use the hello world app in examples for their own use.

[ ] only the most simple basic hello world app
[ ] must say "Hello World" on the main component
[ ] only include the minimal components (1 ideally)
[ ] no routing, not extras whatsoever
[ ] no styling
[ ] nothing else !
[ ] must work by running npm install and npm start (or equivalent)
[ ] must be in the folder named <tech-name>
[ ] add yourself using the all-contributors bot @allcontributors please add @<your-github-account> for code
[ ] add build steps and which folder to serve in the README.md, Serve the public folder

wow - does it need the routing? I dont know scully
seems hello world shouldnt need routing.

@johnpapa Scully generates the static files based on the Angular routing config. If no routes are specified, Scully will not generate the static files.

Thanks @manekinekko. Yes @johnpapa, without the routes added Scully doesn't know what to generate.

@allcontributors please add @gilcreque for code

Adds @gilcreque as a contributor for code.


Issues with Origin version of Red Alert 2/YR

Unfortunately this doesn't seem to work with my copy of RA2/YR. I've unset the compatibility options on every executable in the game directory as instructed but the game crashes at launch no matter what. This is on a fresh RA2 install and I've also tried repairing through Origin and using the previous version of cnc-ddraw from 2018 with no luck.
In the most recent version it just crashes and tells me to disable the compatibility options which I've done, I've checked through multiple times now and they're all still disabled. I also tried setting all of them to Windows 8 just to test and that didn't help either. I've tried launching the game with administrator permissions and without. No difference. I've tried launching straight from the game executables instead of the Origin launcher in case that's messing with stuff but that doesn't seem to work even without the patch (It either does nothing or starts the launcher).
The game works pretty much fine without, but I'd much rather get this working and have windowed mode, alt-tab, etc. if possible.
Is there any way to submit a log file or something?

Do you get a "Unable to set video mode" error? This error message means that there are still some unsupported compatibility modes enabled.
Maybe it's easier if you just install CnCNet, the installer will remove all compatibility modes for you:
https://cncnet.org/yuris-revenge

Installing CnCNet seems to have fixed it.
I don't know what could have been causing issues. Like I said, I went through every single executable in the game directory (Even all the subfolders which I'm pretty sure only contained Origin related stuff), unset all the compatibility options and triple checked before posting here. I don't know why that didn't work. :/
I guess if it works it works though. Thanks for the help.


Create Java bindings

We should create a Java library which permit to load world files.
Ideally we may want to release it on Maven.
Does it make sense @psi29a ?

I started creating this project: https://github.com/ftomassetti/worldengine-java
If it makes sense for you we could move it under Mindwerks

Be my guest, however I want to be honest, I'll be hands off on Java. :)

Moved


det3d.datasets.loader.sampler.DistributedGroupSampler

Hi,
I noticed that there exist a class called DistributedGroupSampler in det3d.datasets.loader.sampler.DistributedGroupSampler
class DistributedGroupSampler(Sampler):
    """Sampler that restricts data loading to a subset of the dataset.
    It is especially useful in conjunction with
    :class:`torch.nn.parallel.DistributedDataParallel`. In such case, each
    process can pass a DistributedSampler instance as a DataLoader sampler,
    and load a subset of the original dataset that is exclusive to it.
    .. note::
        Dataset is assumed to be of constant size.
    Arguments:
        dataset: Dataset used for sampling.
        num_replicas (optional): Number of processes participating in
            distributed training.
        rank (optional): Rank of the current process within num_replicas.
    """

I noticed that this function does not seem to reduce the number of point clouds, it just divides the point clouds into individual gpus. So will this function actually sample the point cloud data?
thanks.

it is not related to the point cloud. It is only used for ddp training / testing

ok, thanks!


Update tooling

This project is pretty old, may be a good idea to update Babel, webpack, loaders, …

I'd like to work on this please


Bump Yarn Package

Version: v1.0.0

Feature Requirement
The yarn package is still at 1.0.0, can you bump it to the latest version please?
https://yarnpkg.com/package/sneat-bootstrap-html-admin-template-free

Hi @tacman,
Thanks for using our theme and getting back to us. :)
We have used yarn package 1.0.0 for now.
We would love to update that, and we will be there with the updated version for the same soon.
Let me know if you have any other queries :)
Stay Safe!!


Lucene.net sort returns doc with NULL fields. Invalidating sort

Using Lucene.Net 4.8.0-beta00016, the indexer index object with a field in Document specifically used for sorting like this :
new TextField("lastname-sort", person.LastName.RemoveDiacritics(), Field.Store.NO)
However when searching with sort using new SortField("lastname-sort", SortFieldType.STRING, false) will return some scoreDocs (the first ones) with fields to null, which is odd to me.
After researching in the doc (https://lucenenet.apache.org/docs/4.8.0-beta00008/api/Lucene.Net/Lucene.Net.Search.Sort.html?q=sort) - that is not up-to-date, because using new Field is deprecated and using Field.Index.NOT_ANALYZED is also deprecated.
Note that if the fields of the ScoreDocs hits are not null, they are correctly sorted. It is always the same Documents that have fields to NULL. So if they are part of the result, the sorted result is invalid.
Note, all fields (Field.Store.YES) are stored except for two used for sorting.

The null fields were returned because of this analyzer used to index and search :
 private readonly StandardAnalyzer _standardAnalyzer = new(AppLuceneVersion);
Meaning some lastname (Will, To, etc.) were considered stopWords. fields are therefore set to NULL and the sort would sort them like the field was empty (null).
Modifying to private readonly StandardAnalyzer _standardAnalyzer = new(AppLuceneVersion, CharArraySet.EMPTY_SET); solved the issue.
IMHO, stops words set should be opt-in, and constructor that does not have the CharArraySet's parmater should default to CharArraySet.EMPTY_SET not the ENGLISH_STOP_WORDS_SET. Mostly because : Not everyone is building search engines for english only. Not everyone is build search engines for common words only. Using default ENGLISH_STOP_WORDS_SET is assuming a certain business case / usage of the search engine... But really it should not interfer with the context of usage.

What you need to do here is use StringField, and not a TextField when adding lastname-sort field to the index. This will ensure that the field is not analyzed when it's being stored.

I am closing this because it is not a bug that needs addressing in Lucene.NET. Please direct usability questions to StackOverflow or the Lucene.NET user mailing list.


Adds reference state correction code

Nothing automagic is done ... you must provide your DAT_restraints as a list in the order I have specified: r, theta, phi, alpha, beta, gamma.  Use None if you don't have a restraint for a specific coordinate.  Our host-guest stuff would be fecalc.compute_ref_state_work([rest1, rest2, None, None, rest3, None])
We can think about automagic later

Codecov Report

Merging #61 into master will increase coverage by 0.13%.
The diff coverage is 83.05%.

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
+ Coverage   81.31%   81.45%   +0.13%
==========================================
  Files          10       10
  Lines        1440     1499      +59
==========================================
+ Hits         1171     1221      +50
- Misses        269      278       +9

Impacted Files
Coverage Δ

paprika/analysis.py
87.84% <83.05%> (-0.68%)
:arrow_down:

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 3c20478...ffdeedf. Read the comment docs.


Flutter pub get is not running

For 2 days I have been trying to launch flutter pub get but there is still the message Running "flutter pub get" in Splitti ...
I have tried almost everything but the get pub does not run.
flutter doctor

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.1, on Mac OS X 10.15.7 19H2 darwin-x64, locale
    fr-CD)
    • Flutter version 2.2.1 at /Users/splitti1/Development/flutter
    • Framework revision 02c026b03c (5 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/splitti1/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • iPhone 12 Pro Max (mobile) • 4C0D6598-33D1-46B3-8871-9EEC509C33F4 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 90.0.4430.212

! Doctor found issues in 1 category.

flutter pub get -v

logs
[ +131 ms] executing: sysctl hw.optional.arm64
[  +23 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +11 ms] executing: [/Users/splitti1/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +59 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] executing: [/Users/splitti1/Development/flutter/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ +284 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] 2.2.1
[   +8 ms] executing: [/Users/splitti1/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +19 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [/Users/splitti1/Development/flutter/] git ls-remote --get-url origin
[  +42 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +221 ms] executing: [/Users/splitti1/Development/flutter/] git rev-parse --abbrev-ref HEAD
[  +31 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +15 ms] executing: sw_vers -productName
[  +67 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +25 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.7
[        ] executing: sw_vers -buildVersion
[  +17 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19H2
[  +78 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +10 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +88 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[  +17 ms] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +193 ms] Running "flutter pub get" in Splitti...
[  +12 ms] Using /Users/splitti1/Development/flutter/.pub-cache for the pub cache.
[   +1 ms] executing: [/Users/splitti1/Projects/Splitti/] /Users/splitti1/Development/flutter/bin/cache/dart-sdk/bin/pub --verbose get --no-precompile
[ +129 ms] FINE: Pub 2.13.1
[ +101 ms] MSG : Resolving dependencies...
[  +82 ms] SLVR: fact: splitti is 2.0.0+1
[  +11 ms] SLVR: derived: splitti
[  +36 ms] SLVR: fact: splitti depends on flutter any from sdk
[        ] SLVR: fact: splitti depends on flutter_localizations any from sdk
[        ] SLVR: fact: splitti depends on cupertino_icons ^0.1.2
[        ] SLVR: fact: splitti depends on contacts_service ^0.3.10
[        ] SLVR: fact: splitti depends on rxdart any
[        ] SLVR: fact: splitti depends on permission_handler ^5.0.0+hotfix.2
[        ] SLVR: fact: splitti depends on font_awesome_flutter ^8.8.1
[        ] SLVR: fact: splitti depends on animated_floatactionbuttons ^0.1.0
[        ] SLVR: fact: splitti depends on solid_bottom_sheet ^0.1.9
[        ] SLVR: fact: splitti depends on share ^0.6.4
[        ] SLVR: fact: splitti depends on http ^0.12.1
[        ] SLVR: fact: splitti depends on device_info ^0.4.2+2
[        ] SLVR: fact: splitti depends on firebase_core ^0.4.0+9
[        ] SLVR: fact: splitti depends on image_picker ^0.6.6+1
[        ] SLVR: fact: splitti depends on firebase_messaging any
[        ] SLVR: fact: splitti depends on shared_preferences ^0.5.12+4
[        ] SLVR: fact: splitti depends on url_launcher ^5.4.7
[        ] SLVR: fact: splitti depends on flutter_image_compress ^0.7.0
[        ] SLVR: fact: splitti depends on bot_toast ^3.0.0
[        ] SLVR: fact: splitti depends on percent_indicator ^2.1.5
[   +1 ms] SLVR: fact: splitti depends on flutter_keyboard_visibility ^2.0.0
[        ] SLVR: fact: splitti depends on moor ^3.4.0
[        ] SLVR: fact: splitti depends on sqlite3_flutter_libs ^0.3.0
[        ] SLVR: fact: splitti depends on path_provider any
[   +1 ms] SLVR: fact: splitti depends on path any
[   +1 ms] SLVR: fact: splitti depends on flutter_luban ^0.1.11
[        ] SLVR: fact: splitti depends on app_settings ^4.0.4
[        ] SLVR: fact: splitti depends on number_display any
[        ] SLVR: fact: splitti depends on google_fonts ^1.1.0
[        ] SLVR: fact: splitti depends on flutter_swiper ^1.1.6
[        ] SLVR: fact: splitti depends on intl any
[        ] SLVR: fact: splitti depends on uuid ^2.2.2
[        ] SLVR: fact: splitti depends on dotted_border ^1.0.7
[        ] SLVR: fact: splitti depends on cached_network_image any
[        ] SLVR: fact: splitti depends on flutter_test any from sdk
[        ] SLVR: fact: splitti depends on moor_generator any
[        ] SLVR: fact: splitti depends on build_runner any
[   +6 ms] SLVR: fact: splitti depends on flutter_launcher_icons ^0.8.0
[        ] SLVR: fact: splitti depends on flutter_native_splash ^0.2.9
[        ] SLVR:   selecting splitti
[        ] SLVR:   derived: flutter_native_splash ^0.2.9
[        ] SLVR:   derived: flutter_launcher_icons ^0.8.0
[        ] SLVR:   derived: build_runner any
[        ] SLVR:   derived: moor_generator any
[        ] SLVR:   derived: flutter_test any from sdk
[        ] SLVR:   derived: cached_network_image any
[        ] SLVR:   derived: dotted_border ^1.0.7
[        ] SLVR:   derived: uuid ^2.2.2
[        ] SLVR:   derived: intl any
[   +1 ms] SLVR:   derived: flutter_swiper ^1.1.6
[   +3 ms] SLVR:   derived: google_fonts ^1.1.0
[        ] SLVR:   derived: number_display any
[   +8 ms] SLVR:   derived: app_settings ^4.0.4
[        ] SLVR:   derived: flutter_luban ^0.1.11
[        ] SLVR:   derived: path any
[        ] SLVR:   derived: path_provider any
[        ] SLVR:   derived: sqlite3_flutter_libs ^0.3.0
[        ] SLVR:   derived: moor ^3.4.0
[        ] SLVR:   derived: flutter_keyboard_visibility ^2.0.0
[        ] SLVR:   derived: percent_indicator ^2.1.5
[        ] SLVR:   derived: bot_toast ^3.0.0
[        ] SLVR:   derived: flutter_image_compress ^0.7.0
[        ] SLVR:   derived: url_launcher ^5.4.7
[        ] SLVR:   derived: shared_preferences ^0.5.12+4
[        ] SLVR:   derived: firebase_messaging any
[        ] SLVR:   derived: image_picker ^0.6.6+1
[   +1 ms] SLVR:   derived: firebase_core ^0.4.0+9
[        ] SLVR:   derived: device_info ^0.4.2+2
[        ] SLVR:   derived: http ^0.12.1
[        ] SLVR:   derived: share ^0.6.4
[        ] SLVR:   derived: solid_bottom_sheet ^0.1.9
[        ] SLVR:   derived: animated_floatactionbuttons ^0.1.0
[        ] SLVR:   derived: font_awesome_flutter ^8.8.1
[        ] SLVR:   derived: permission_handler ^5.0.0+hotfix.2
[        ] SLVR:   derived: rxdart any
[        ] SLVR:   derived: contacts_service ^0.3.10
[        ] SLVR:   derived: cupertino_icons ^0.1.2
[        ] SLVR:   derived: flutter_localizations any from sdk
[        ] SLVR:   derived: flutter any from sdk
[  +27 ms] IO  : Get versions from https://pub.dartlang.org/api/packages/flutter_native_splash.
[  +25 ms] IO  : HTTP GET https://pub.dartlang.org/api/packages/flutter_native_splash
[        ]     | Accept: application/vnd.pub.v2+json
[        ]     | X-Pub-OS: macos
[        ]     | X-Pub-Command: get
[        ]     | X-Pub-Session-ID: EED239E9-72E2-4C23-A962-48DE936D9C39
[        ]     | X-Pub-Environment: flutter_cli:get
[        ]     | X-Pub-Reason: dev
[        ]     | user-agent: Dart pub 2.13.1

Hi @elikyalk
Can you please flutter pub upgrade, flutter clean and then run the app with flutter run -v
If the problem persists, try removing flutter_native_splash or some recent packages you've added in your project then run the app

I run flutter pub upgrade but it's been running for more than 30 minutes
Resolving dependencies...

Without changing anything, I went back to version 1.22.5, the version on which the project was developed and everything works perfectly


implement new chip component

see MDCWeb 0.30.0. need to check when will be fully supported

https://github.com/material-components/material-components-web/pull/2083

merged !


[bug] get_user_likes returns a 404

Steps: login and run get_user_likes with the authenticated user id
Expected: I should get the user's liked posts
Observed: twikit.errors.NotFound: status: 404, message: "{"errors":[{"message":"Sorry, that page does not exist","code":34}]}"
This is probably due to likes becoming private. However, we should still be able to get likes for the authenticated user.
Unofficially, this is what it looks like Twitter is calling, if useful to solve
https://x.com/i/api/graphql/ayhH-V7xvuv4nPZpkpuhFA/Likes?variables={"userId":"XXX","count":20,"includePromotedContent":false,"withClientEventToken":false,"withBirdwatchNotes":false,"withVoice":true,"withV2Timeline":true}&features={"rweb_tipjar_consumption_enabled":true,"responsive_web_graphql_exclude_directive_enabled":true,"verified_phone_label_enabled":false,"creator_subscriptions_tweet_preview_api_enabled":true,"responsive_web_graphql_timeline_navigation_enabled":true,"responsive_web_graphql_skip_user_profile_image_extensions_enabled":false,"communities_web_enable_tweet_community_results_fetch":true,"c9s_tweet_anatomy_moderator_badge_enabled":true,"articles_preview_enabled":true,"tweetypie_unmention_optimization_enabled":true,"responsive_web_edit_tweet_api_enabled":true,"graphql_is_translatable_rweb_tweet_is_translatable_enabled":true,"view_counts_everywhere_api_enabled":true,"longform_notetweets_consumption_enabled":true,"responsive_web_twitter_article_tweet_consumption_enabled":true,"tweet_awards_web_tipping_enabled":false,"creator_subscriptions_quote_tweet_preview_enabled":false,"freedom_of_speech_not_reach_fetch_enabled":true,"standardized_nudges_misinfo":true,"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":true,"rweb_video_timestamps_enabled":true,"longform_notetweets_rich_text_read_enabled":true,"longform_notetweets_inline_media_enabled":true,"responsive_web_enhance_cards_enabled":false}&fieldToggles={"withArticlePlainText":false}

@bawahakim
You can use get_user_tweets to get likes for the authenticated user.
await client.get_user_tweets(await client.user_id(), 'Likes')```

Thank you, will try this out!
On Thu, Jul 11, 2024, 09:05 d60 @.***> wrote:

@bawahakim https://github.com/bawahakim
You can use get_user_tweets to get likes for the authenticated user.
await client.get_user_tweets(await client.user_id(), 'Likes')
—
Reply to this email directly, view it on GitHub
https://github.com/d60/twikit/issues/143#issuecomment-2221739525, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKOF7LUOTMM4MGW6FLZT73TZLXD2ZAVCNFSM6AAAAABKMXHQG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRRG4ZTSNJSGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Potential deadlock in order_place

I've seen frequent cases where the code seems to deadlock in the req_id = self._client.next_order_id() line below.  Deadlock monitoring has been added to try to find the problem.
    def order_place(self, contract: RegisteredContract, order: Order) -> Request:
        """Places an order.

        Args:
            contract (RegisteredContract): contract to place an order on
            order (Order): order to place
        """
        self._assert_connected()

        if contract.is_multi():
            raise Exception(
                f"RegisteredContracts with multiple contract details are not supported for orders: {contract}")

        req_id = self._client.next_order_id()
        cd = contract.contract_details[0]
        self._client.log_request(req_id, "PlaceOrder", cd.contract, {"order": f"Order({order})"})
        self._client.placeOrder(req_id, cd.contract, order)
        return Request(request_id=req_id, cancel_func=self.order_cancel)

The deadlock detector returned this.  It seems like TWS is not responding on some ID requests.
r-Scheduler-Serial-1 | i.d.s.s.SessionState      | Internal Error 'cc58a3f9-12ab-45b1-b71b-c53912c3facc' java.lang.RuntimeException: Error in Python interpreter:
Type: <class 'Exception'>
Value: OrderIdRequest.get() timed out after 120.0 sec.
Line: 37
Namespace: get
File: /opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/order_id_queue.py
Traceback (most recent call last):
  File "<string>", line 426, in <module>
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/__init__.py", line 1080, in order_place
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/tws_client.py", line 907, in next_order_id
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/requests.py", line 27, in next_order_id
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/order_id_queue.py", line 37, in get

        at org.jpy.PyLib.executeCode(PyLib.java:-2)
        at org.jpy.PyObject.executeCode(PyObject.java:138)
        at io.deephaven.engine.util.PythonEvaluatorJpy.evalScript(PythonEvaluatorJpy.java:56)
        at io.deephaven.engine.util.PythonDeephavenSession.lambda$evaluate$1(PythonDeephavenSession.java:190)
        at io.deephaven.util.locks.FunctionalLock.doLockedInterruptibly(FunctionalLock.java:46)
        at io.deephaven.engine.util.PythonDeephavenSession.evaluate(PythonDeephavenSession.java:189)
        at io.deephaven.engine.util.AbstractScriptSession.evaluateScript(AbstractScriptSession.java:147)
        at io.deephaven.engine.util.DelegatingScriptSession.evaluateScript(DelegatingScriptSession.java:71)
        at io.deephaven.engine.util.ScriptSession.evaluateScript(ScriptSession.java:85)
        at io.deephaven.server.console.ConsoleServiceGrpcImpl.lambda$executeCommand$8(ConsoleServiceGrpcImpl.java:219)
        at io.deephaven.server.session.SessionState$ExportBuilder.lambda$submit$2(SessionState.java:1299)
        at io.deephaven.server.session.SessionState$ExportObject.doExport(SessionState.java:847)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at io.deephaven.server.runner.DeephavenApiServerModule$ThreadFactory.lambda$newThread$0(DeephavenApiServerModule.java:143)
        at java.lang.Thread.run(Thread.java:829)

#31 allows different methods to get the next order id.  This is a potential work around for the problem.

Saw this again:
r-Scheduler-Serial-1 | i.d.s.s.SessionState      | Internal Error '9aaf405f-8e59-424a-8f8f-2c5e4ed13d43' java.lang.RuntimeException: Error in Python interpreter:
Type: <class 'Exception'>
Value: OrderIdRequest.get() timed out after 60.0 sec.  A possible deadlock or TWS bug was detected!  You may be able to avoid this problem by using a different OrderIdStrategy.  Please create an issue at https://github.com/deephaven-examples/deephaven-ib/issues containing this error message
Stack Traces:
<_MainThread(MainThread, started<PHONE_NUMBER>09280)>Thread stack not found: thread=140166847809280
<Thread(DeadlockMonitor, started daemon<PHONE_NUMBER>77248)>  File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_internal/threading.py", line 34, in _run
    time.sleep(self.sleep_sec)

<Thread(OrderIdEventQueueRetry, started daemon<PHONE_NUMBER>46016)>  File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/order_id_queue.py", line 95, in _retry
    sleep(0.01)

<_DummyThread(Dummy-2, started daemon<PHONE_NUMBER>27040)>  File "<string>", line 428, in <module>
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/__init__.py", line 1101, in order_place
    req_id = self._client.next_order_id()
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/tws_client.py", line 939, in next_order_id
    return self.request_id_manager.next_order_id(self.order_id_queue)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/requests.py", line 27, in next_order_id
    oid = request.get()
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/order_id_queue.py", line 55, in get
    trace = trace_all_threads_str()
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_internal/trace.py", line 27, in trace_all_threads_str
    rst += trace_thread_str(th)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_internal/trace.py", line 15, in trace_thread_str
    return "".join(traceback.format_stack(sys._current_frames()[thread.ident]))

<Thread(OrderIdEventQueueRetry, started daemon<PHONE_NUMBER>53312)>  File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/order_id_queue.py", line 95, in _retry
    sleep(0.01)

<EReader(Thread-3, started daemon<PHONE_NUMBER>74176)>  File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/opt/deephaven-venv/lib/python3.7/site-packages/ibapi/reader.py", line 35, in run
    data = self.conn.recvMsg()
  File "/opt/deephaven-venv/lib/python3.7/site-packages/ibapi/connection.py", line 93, in recvMsg
    buf = self._recvAllMsg()
  File "/opt/deephaven-venv/lib/python3.7/site-packages/ibapi/connection.py", line 114, in _recvAllMsg
    buf = self.socket.recv(4096)

<Thread(IbTwsClient, started daemon<PHONE_NUMBER>81472)>  File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/ibapi/client.py", line 263, in run
    self.decoder.interpret(fields)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/ibapi/decoder.py", line 1296, in interpret
    handleInfo.processMeth(self, iter(fields))
  File "/opt/deephaven-venv/lib/python3.7/site-packages/ibapi/decoder.py", line 795, in processSymbolSamplesMsg
    self.wrapper.symbolSamples(reqId, contractDescriptions)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/tws_client.py", line 470, in symbolSamples
    self.contract_registry.request_contract_details_nonblocking(cd.contract)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/contract_registry.py", line 142, in request_contract_details_nonblocking
    self._request_contract_details(contract=contract)
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/contract_registry.py", line 201, in _request_contract_details
    req_id = self._client.request_id_manager.next_id()
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/requests.py", line 19, in next_id
    with self._lock:
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_internal/threading.py", line 131, in __enter__
    self.acquire()
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_internal/threading.py", line 113, in acquire
    ret = self.lock.acquire(blocking)

Line: 57
Namespace: get
File: /opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/order_id_queue.py
Traceback (most recent call last):
  File "<string>", line 428, in <module>
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/__init__.py", line 1101, in order_place
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/tws_client.py", line 939, in next_order_id
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/requests.py", line 27, in next_order_id
  File "/opt/deephaven-venv/lib/python3.7/site-packages/deephaven_ib/_tws/order_id_queue.py", line 57, in get

        at org.jpy.PyLib.executeCode(PyLib.java:-2)
        at org.jpy.PyObject.executeCode(PyObject.java:138)
        at io.deephaven.engine.util.PythonEvaluatorJpy.evalScript(PythonEvaluatorJpy.java:56)
        at io.deephaven.engine.util.PythonDeephavenSession.lambda$evaluate$1(PythonDeephavenSession.java:188)
        at io.deephaven.util.locks.FunctionalLock.doLockedInterruptibly(FunctionalLock.java:46)
        at io.deephaven.engine.util.PythonDeephavenSession.evaluate(PythonDeephavenSession.java:187)
        at io.deephaven.engine.util.AbstractScriptSession.evaluateScript(AbstractScriptSession.java:145)
        at io.deephaven.engine.util.DelegatingScriptSession.evaluateScript(DelegatingScriptSession.java:71)
        at io.deephaven.engine.util.ScriptSession.evaluateScript(ScriptSession.java:84)
        at io.deephaven.server.console.ConsoleServiceGrpcImpl.lambda$executeCommand$8(ConsoleServiceGrpcImpl.java:187)
        at io.deephaven.server.session.SessionState$ExportBuilder.lambda$submit$2(SessionState.java:1299)
        at io.deephaven.server.session.SessionState$ExportObject.doExport(SessionState.java:847)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at io.deephaven.server.runner.DeephavenApiServerModule$ThreadFactory.lambda$newThread$0(DeephavenApiServerModule.java:157)
        at java.lang.Thread.run(Thread.java:829)

I will note that this deadlock seems to happen when deephaven-ib is used at the start of the day.  If deephaven-ib is bounced and then reconnects, the problem does not seem to recur during the day.


Do not call set_string on NULL pointer in g_application_run wrapper

This leads to a segfault. And seems to have no meaning.

Also note this:
https://developer.gnome.org/gio/stable/GApplication.html#g-application-run:

Although you are expected to pass the argc , argv parameters from main() to this function, it is possible to pass NULL if argv is not available or commandline handling is not required.
Not sure if this should be encompassed as well.

A nil value sent to the Run method is completely fine - Golang treats a nil slice as an empty slice.


Fix: Assign fixed port IDs for DSDL wrappers which have a fixed port ID assigned

All existing DSDL wrappers stored in src/wrappers  need to be checked against the DSDL specification in public_regulated_data_types. Any type that has a fixed-port ID (can be identified by a number prefixed to the type name), e.g. 409.Write.1.0.uavcan, the corresponding wrapper need to be modified as shown below:
-template <CanardPortID ID>
+template <CanardPortID ID = uavcan_file_Write_1_0_FIXED_PORT_ID_>
class Request
{
...
-template <CanardPortID ID>
+template <CanardPortID ID = uavcan_file_Write_1_0_FIXED_PORT_ID_>
class Response
{
1_0_FIXED_PORT_ID_;

One might want to use a type with a fixed port-ID over a non-fixed port. Why don't you just say template <CanardPortID ID = uavcan_file_Write_1_0_FIXED_PORT_ID_>?

This would work :+1: My only gripe is that the whole template concept is not future-proof when it comes to changing ports via register API during runtime. You've got a smart way out of that? (I wanted to address it only after fixing this).

You've got a smart way out of that?

Ah yes. Irrespective of my above comment, templates shouldn't be used here at all because port-IDs are not meant to be hard-coded.

I'll update above comment with your suggestions and let's fix the hard-coded port-id another time ;)

Fixed by #109.


debug: Print sst files in region properties

What have you changed?
Print SST files in region properties, which facilitates debugging.
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?

Manual test (add detailed scripts or steps below)
run the tikv-ctl region-properties command

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No
Does this PR affect tidb-ansible?
No

PTAL @zhangjinpeng1987 @yiwu-arbug

lgtm


add --debug option to be improved on over time

Why:

first time using hugo I got very little info from --verbose output
but I noticed there is quite a lot of useful DEBUG logging
asked for in other issues like https://github.com/gohugoio/hugo/issues/3514

This change addreses the need by:

adding a simple --debug flag which simply turns on debug level in stdout
and logoutput if enabled.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

so i've signed the CLA but it still wont let me pass ;/

Hello @maxandersen,
first of all thanks for your contribution. I've seen another issue with the same problem. Please click on the recheck button in the CLA comment above if you haven't already done this.
I browsed the issues in the repo for the CLA assistant. Is it possible that you use two GitHub accounts? A problem described in one issue was that the submitter used account A to sign the CLA sometime ago but used account B to submit a pull request.

@digitalcraftsman I think I know what the problem with the CLA is, I will check.

okey, seems CLA is now only showing up once and is all good - now it says "appveyor was unable to build non-m..." and I can't see the details on that to know what is failing ? any ideas ?

btw. looking some more I'm starting to think it might make more sense to add a --verboselevel string  set level of verbose logging level. Possible values are TRACE, DEBUG, INFO, WARN, ERROR, CRITICAL, FATAL
Suggesting this as i've found both trace and debug levels in the source code.
WDYT ?


Catalog-Of-My-Things

In This PR me(@bhushan354) and @sagieramos @Ochiengsteven have created a console app by implementing following things :

Insert and query data in SQL.
Use primary key & foreign key mechanisms for joining tables.
Understand the different types of relationships between tables.
Query multiple tables.
Prepare complex queries that answer analytical questions.
Run a program using the command line.
Use Ruby syntax for basic programming operations.
Apply Ruby best practices and language style guides in code.
Describe the SOLID principles of OOP.
Implement classes and objects in Ruby.
Understand the four main principles of OOP.
Implement encapsulation and inheritance with Ruby.
Create a UML class diagram.
Explain the difference between associations, aggregations, and composition in OOP.
Set up associations between classes and objects.
Store data in files.
Build interactive console apps.
Recognize the value of making equal contributions to group projects to produce the best outcome.

Thank you .

Thank you sir ,
congratulations @sagieramos , @Ochiengsteven :fireworks:


In dataset export function please add an option to set the annotation filename

For now, the export function does not take argument of annotation filename output. So for example the output of COCO format is always "instances_default.json". Will be nice if there is an option to set this.

Hi, @natanaels12
Thanks for your suggestion on our project. Sorry but my personal thoughts are a little hard on that. This is because there are strict rules to detect COCO data format. Please see the following:
https://github.com/openvinotoolkit/datumaro/blob/b16301058399b866e6c47a90daa88482c727c3e4/src/datumaro/plugins/data_formats/coco/importer.py#L137-L157
The rule to detect the COCO data format is to find JSON files with the naming rule, {coco_task_name}_{subset_name}.json. If we give some flexibility on this, for instance, taking any JSON file and investigating its body whether to follow the COCO data format scheme, its performance can be degraded as a trade off to the flexibility. Please let me have some discussions about it among our team.
Thanks you.

Thank you for your kind answer @vinnamkim, I will close this issue.


updating Readme to add method overrides.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @Pradeet thanks for contributing, can you make sure to sign the CLA.
Also, I'm not opposed to the change, but if you could add in your PR description why you think it belongs, that would be helpful.
Also if you could update the example/ app to match that would help show us why the changes are required.

Hi, I have a medium article explaining the details.
https://medium.com/@pradeet/react-native-fragments-182d35459ca1.

Incomplete


Port update check from master

This is a port of https://github.com/Alluxio/alluxio/pull/9736 (directed to master).
Diff:

no journal entry for clusterId
update check is done in fs master instead of meta master

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5185/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5187/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5188/
Test FAILed.

jenkins, test this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5190/
Test PASSed.

alluxio-bot, merge this please


Hi, please add switch to turn on/off "True Tone" option in the display. It's beneficial for photographer/editor when editing artwork to have accurate color when True Tone is off. Thank you!!

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi, please add switch to turn on/off "True Tone" option in the display. It's beneficial for photographer/editor when editing artwork to have accurate color when True Tone is off. Thank you!!

Hi @room216 ,
Sorry for reply late. True Tone switch will be integrated in version 2.4.5

This feature is integrated with version 2.4.5.


[spike] 'prefetch' script hints for chart chunks

Overview
Offer prefetch hints to the browser for unneeded yet useful webpack chunks.
I was doing some research into the critical path for loading the login page and found an easy win: With this webpack-html-plugin extension, you can alter the script loading behavior of various webpack chunks. Previously, all non-dynamic chunk imports (such as the chart chunks) load synchronously in the <head> of the html document in anticipation of the dashboard being loaded.
Collectively, these represent 160K of scripts whose loading can be deprioritized, and they also need not be evaluated, either.
I don't know if this improves loading by a measurable difference, but this change could theoretically help login loading speed, especially on high latency networks.
The second commit (index.html) is a small addition to the new relic (?) script that adds async to that dynamically added script tag.  This might be a problem. It's especially visible on slow networks (slow 3g in the gifs):
Here

Master

Brandon, that's awesome! I wonder if we could adding react16  to those so that they don't look "broken"? :)

@nLight I added Loader to each chart. Here is the effect (slow 3G throttling)

I also removed the NR async commit because it poses an unnecessary risk. It should remain a black box

pages/services/ServiceDetail is failing. I will try to reproduce locally.

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


Why not Bower, Grunt-CLI and Gulp as dependencies to Yo package?

On the Getting Started page (at http://yeoman.io/learning/), you are given the very first command of:
npm install -g yo bower grunt-cli gulp
If these are required by Yo, would it make more sense to have these listed as dependencies? This way the user will not need to specify the packages explicitly.
If they are only required for the generator-webapp example, perhaps it would be clearer if the installation of Bower, Grunt-CLI and Gulp was listed in there, rather than with the installation of Yo.

Those aren't required for yo, but are generally used by a bunch (nearly all) of the generators. Besides from that those can't really be autmatically installed with yo as we're talking about global packages.

You could include them as dependencies but then its harder to run them as you have to setup a npm script for them and remember how to pass args in to that script every time


Add ability to generate csv reports as well

The plugin is wonderful. Can you please add the ability to generate the CSV reports as well?

I haven't been using this project actively myself.
However, you are more than welcome to put in a PR for these additions.


add backend with timeout

fix timeout issues by adding backend to timeout

This has been pushed to r6 and the issue resolved.


[FLINK-33768] Support dynamic source parallelism inference for batch jobs

What is the purpose of the change
Currently, for JobVertices without parallelism configured, the AdaptiveBatchScheduler dynamically infers the vertex parallelism based on the volume of input data. Specifically, for Source vertices, it uses the value of execution.batch.adaptive.auto-parallelism.default-source-parallelism as the fixed parallelism. If this is not set by the user, the default value of 1  is used as the source parallelism, which is actually a temporary implementation solution.
We aim to support dynamic source parallelism inference for batch jobs
Brief change log

Lazily initialize the parallelism of the OperatorCoordinator.
Add the DynamicParallelismInference and DynamicFilteringInfo interfaces, and enable the SourceCoordinator to invoke corresponding methods for dynamic parallelism inference.
The AdaptiveBatchScheduler applies dynamic source parallelism inference, and to avoid blocking the main thread by calling external systems, we have transformed the scheduling process to be asynchronous.

Verifying this change
This change added tests and can be verified as follows:

Added integration tests to verify the end-to-end logic of dynamic parallelism inference, see AdaptiveBatchSchedulerITCase#testSchedulingWithDynamicSourceParallelismInference for details.
Added unit tests for the newly added methods in classes such as SourceCoordinator and AdaptiveBatchScheduler.
Manually verified the feature on a Flink session cluster (1 JobManager, 77 TaskManagers), including dynamic inference of parallelism, asynchronous scheduling, and execution exceptions in DynamicParallelismInference, all performing as expected.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no )
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs / JavaDocs)

@flinkbot  run azure

@flinkbot  run azure


Fetch journal metrics

We should to implement APIs to fetch journal metrics: https://scholar.google.com/citations?view_op=top_venues&hl=en

This would a great feature to add. Very interested in this.

Good to know you're interested. The hardest part so far has been the designing of an API, given that there is an overall leaderboard for each language and in English, there are multiple categories and subcategories.
My current idea is to have an API to list out all the possible categories and then another API that will accept one of those to return a list of journals and metrics. Any thoughts on what would be intuitive/useful are welcome.

Here is a list of 160 journals under the 8 categories. I used to copy and paste those into the speadsheet. It would be nice if there is an API to retrieve the list of journals under each category and subcategory.

Thanks for the snippet. This isn't quite what we want though, since as a Google Scholar scraper, we want to get the information from (and only from) Google Scholar. This package seems to be downloading it from elsewhere into a database and running the query, which is bit more complex than scraping the Google Scholar page on demand.

@giswqs This should now be available in v1.6 through get_journals/save_journals_csv method in scholarly for each category and subcategory. You can see the (sub-)categories themselves using get_journal_categories method. Give it a try and please open an issue if you have any bugs with it.

Fantastic! Will try it out. Thank you


[ENG-5490] Fix github mock data

Purpose
Fixed github mock data and updated it to the newer version of the library.
Changes

fix github mock data;
fix error in test_folder_list_GET_expected_behavior test;
fix error in test_set_config test;

QA Notes
Please make verification statements inspired by your code and what your code touches.

Verify
Verify

What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation

Side Effects

Ticket
https://openscience.atlassian.net/browse/ENG-5490

Merged and closed by d9b757b


Added Package.swift for Swift Package Manager support

Tested using swift build from the latest development drop of Swift.

Build :white_check_mark:
:sparkles:

Closes #46.

Not sure if this is still up to date but:

You will need to make sure your .Swift files are in a Sources folder.

All the packages here follow that.

I'm not sure if that is still required.

It is acceptable to have no Sources directory, in which case the root directory is treated as a single module (place your sources there) or sub directories of the root are considered modules.
Reference: Source Layouts

Maybe we should run some tests to be sure.

I think we should go with Source to be sure:

(...)or sub directories of the root are considered modules.

In our case it would work.

I tested it with the layout we have now and it works. swift build in the root creates  .build/debug/Vinyl.swiftmodule. .swiftmodule files can be imported into other projects. I had to add an exclude section in Package.swift so that VinylTests and Carthage folders are ignored.

@mluisbrown y good job.

Also, see this thread on swift-users mailing list. Confirms that .swiftmodule output is all you need to import module into a client package.


Recorder CPU-sampling support

Recorder can now CPU-sample end-to-end.
This goes after #3
We'll need to merge the 3 PRs sooner than later, so we can start e2e integration work with user-api etc.
This also includes a few protobuf type-changes, which we'll need to fit with other branches and incorporate in code that is already in master.

Went through changes in recorder/main/cpp. Yet to go through recorder/main/java, e2etest

Looked at e2etest module as well. LGTM

@gauravAshok the changes are pushed, please have a quick look. I didn't completely follow 1 item about 0-initializing something.
Other than that, the latest patch tries to fix bugs you mentioned.

Pushed the change that removes unnecessary 0-out of jvmpi frames.

LGTM.


Support multiple calls to body

Fixes #1017

Thanks @ghn1712, this looks great!
One worry I have is that this might break apps that currently work (but might work in an inconsistent manner).
I think perhaps clearly stating this in the release notes might be good enough. I suppose we should actually remove the old requestCacheSize to show that this might in fact break things if you don't rewrite 🤔

Thank you @tipsy!
I tried to keep it backward compatible, could you please explain in what case you see this change breaking apps that currently work? From what I understood in  #773 the only logic I changed is you don't have to deal with null/empty ctx.body() anymore if you call it more than once, but I might be missing something.
If it's a breaking change anyway I think it is indeed better to remove requestCacheSize to make it explicit. In this case shall I also change  maxRequestSize to contain a default value or keep it as an optional config?

I tried to keep it backward compatible, could you please explain in what case you see this change breaking apps that currently work?

As you just wrote in the updated docs, it goes from silently failing to actually throwing an exception.

Hey @tipsy !

As you just wrote in the updated docs, it goes from silently failing to actually throwing an exception.

True, but only if maxRequestSize is set to a value, by default it is null, so no exception is thrown when you update to this version, and the silent fail is removed. I still think it is backward compatible, but if you see it as a breaking change I will update this PR removing requestCacheSize and adding a default value to maxRequestSize (4kb). Please, let me know what you think!

Ah, I see now why you were asking about the default value! I thougt it was set.
This looks good to me then, are you ready for merge?

@tipsy Great! Sorry for the confusion 😅
Yes, I don't have anything else to add then, if it is good to you I think it is good to be merged

Great, thank you!

This is out now ! https://javalin.io/news/2020/11/14/javalin-3.12.0-released.html


Compile error on Linux

    Compiling native-dialog v0.6.3
error[E0277]: expected a `Fn<(char,)>` closure, found `[char; 2]`
Error:   --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/native-dialog-0.6.3/src/dialog_impl/gnu/message.rs:62:18
   |
62 |         .replace(&[' ', '\t'], " ")
   |          ------- ^^^^^^^^^^^^ expected an `Fn<(char,)>` closure, found `[char; 2]`
   |          |
   |          required by a bound introduced by this call
   |
   = help: the trait `Fn<(char,)>` is not implemented for `[char; 2]`
   = note: required because of the requirements on the impl of `FnOnce<(char,)>` for `&[char; 2]`
   = note: required because of the requirements on the impl of `Pattern<'_>` for `&[char; 2]`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `native-dialog` due to previous error

rustc 1.63.0 (4b91a6ea7 2022-08-08)

Looking at the source, it's already fixed


Missing CONFIG_XFRM_USER option

IPSec with OpenSwan requires use of xfrm_user, which is controlled by the CONFIG_XFRM_USER kernel option. Enabling this will allow the use of IPSec VPNs on online.net

Thanks for the report! I'll add it as a kernel module.

:+1: