Pair Classification and entailments tasks

It seems like (from the paper) that the current setup for pair classification relies upon computing similarity metrics for the pairs embeddings and then decide on a binary threshold. Naturally for tasks with more than two outcomes it soHowever, for tasks like entailment, I imagine the ideal would be to embed the two texts independently and then classify them.
Should I instead formulate an entailments tasks as a new task or would it be better to change the current pair classification task?
(Naturally you can just concatenate the two sentences and make it a classification task)

Not sure I understand why the current pair classification task does not work for Entailment? 🧐

embed the two texts independently and then classify them.

Isn't that essentially what it's doing? It embeds them independently and then uses a similarity metric to classify whether they are close.

Right. Sorry for being unclear. The main point was that it was binary, while entailment is non-binary.

Right. Sorry for being unclear. The main point was that it was binary, while entailment is non-binary.

But aren't the labels for your entailment dataset binary i.e. is entailed or not entailed? Or does it have three labels?
If the labels are binary then finding the best threshold like PairClassification does should be fine I think.

It is common to have three outcomes. Contradiction, entailment and neutral (it neither contradicts nor entails).

It is common to have three outcomes. Contradiction, entailment and neutral (it neither contradicts nor entails).

I think if we add an NLI dataset the evaluation should be just like prior work (e.g. like in SBERT). IIURC it's the same as the STS evaluation, i.e. you have three labels that have an ordering (0=negtive, 1=neutral, 2=entailment) & then embed the sentences, compute cosine sim & use correlation metrics to  score (just reuse the STS Evaluator) (cc @nreimers)

I wouldn't say that there is an ordering. E.g. neutral can be something else entirely (Cat eating a fish -/-> Dog jumps over fence).
It seems like they use a concatenation of the sentence vectors along with a distance metric. The distance does seem to meaningfully change performance (table 6).

Option 1: Training a classifier over actual features:
I think one way we could make these tasks a bit more nuanced and natural is by using logistic regression over:
a) The two embeddings concatenated
b) The difference vector of the two embeddings
c) Concatenate the two embeddings and their absolute difference - This is the approach used by SentenceTransformers for training on NLI datasets
Option 2: Training a classifier (maybe tree based) on distances
We might not want to use all of the features as it would make the tasks more difficult and we might have to encode more training examples.
We could still use distances in a manner that would at least be suitable for also accounting for neutral examples.
Currently we have some heuristics for choosing the best thresholds, but this is only good for binary classification.
I think by using a tree-based model (decision tree, random forest, etc.) we could obtain these implicitly and could utilize neutral examples still.

@KennethEnevoldsen suggested to go with Option 1, and I think it's a good idea. @Muennighoff green light?

I agree with Kenneth that neutral is a thrid thing entirely. I think even if we choose to go with something distance-based we could potentially account for this with Option 2. I would love to get more opinions on this.

Isaac also agreed with 1 in the other issue.

Sounds good to me then! Let's just make sure that existing PC scores remain reproducible & unchanged?

hmm, I guess we should write a new abstask then and then add new versions of tasks? Btw would it not make sense to have some sort of versioning on Abstasks as well? Considering that this is at least the second time (ClusteringFast) we're doing something like this we should think about how to do this in a smart way.

@x-tabdeveloping yea, then would should rename the old one (we should do this for clustering as well). I would probably do:
ClusteringTask -> RedactedClusteringTask
ClusteringTaskFast -> ClusteringTask

as we don't want people to accidentally use the outdated version.

Maybe instead of RedactedClusteringTask, ClusteringTaskV1 or something? In case we retire a task twice then we can have the next one be called V2 etc; Also I think we should only do this if the new task is better on all aspects; if there's reasons people might want to use the previous one (e.g. more accurate scores), then maybe we should rather name it e.g. ClusteringTaskSlow 🤔

I am fine with either. We could also implement a test that fails if there is a new task that uses the "old" version.

@KennethEnevoldsen What's the status on this? Would we need to hardcode a test like that? I'm also thinking it would probably be a good idea to add superseeded_by to AbsTasks as well, that way we could have a meaningful way of expressing this.
Potentially also deprecation warnings could be something we want?

I believe you currently have a PR on extended pair classification. We already raise a warning when running on a superseded dataset I believe.
I would probably not add superseeded_by to the abstasks (unless in all cases they are superseded, in which case they already have an error). Then I would have tests that fail.


Fix lighthouse navigate to a wrong URL

Hey, I just made a Pull Request!

This PR will fix the issue #15231 where audit list item and create audit button navigated to a wrong URL.
With resolvePath(generatePath('audit/:id', { id: audit.id }), '../../') we navigate from /<base-url>/audit/<id> to /audit/<id> but this is wrong because the base path will be removed. Therefore we use useRouteRef, this will navigate to the right url with respect to the base path.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Just a gentle nudge here. Note the test errors!

Hi @freben ,
thank you for you Feedback!
I was not able to set the the applications base path to e.g. /lighthouse for this one test.  I will search tomorrow a solution or do you maybe know a way how to do that?

You should be able to supply a config that has that setting. Your ApiProvider could contain a configApiRef that's like new ConfigReader({ app: { basePath: '/something' } })

@freben Sorry for the delay! It took me a while to fix this test case, thank you so much for your great help.
This is my first contribution to backstage :rocket: , be as strict with the review as necessary

(just popping in to mention I'm off for the holidays and reviews might take a while longer)

just resetting the stale status


Add Quizet & G+, Update multiple sites

I added quizlet and google+, and I also updated gmail, google, gopetition, change.org, cryptfolio, droplr, and audiomack

Hello @ChristoCoder , are you willing to fix this?

Unless there's anything that needs to be verified, I'd be happy to open a PR with these changes committed under @ChristoCoder's name.

Feel free to do so @Nightfirecat :)

Was pushed with #78

Sorry about not responding, was having some issues with my mobile authenticator as I had just got a new phone

It's alright @ChristoCoder , @Nightfirecat handled it with your login :)


Reinforcement learning model

Hi. Do you have plans to write a reinforcement learning training code?

@eds89 Sorry Ed not right now, maybe later someone did.


Statistics - add % from the population to the categories

Add to each category % of the whole population.

make Pocet ockovani from statistics as a universal table


reactstrap.github.io doesn't load with uBlock Origin Extension enabled

It seems https://reactstrap.github.io is broken when uBlock Origin Chrome Extension is enabled. I see the page showing and then going completely blank.
All good when uBlock is disabled.
Here's the errors in the console:

Browser: Chrome 74 - Mac / PC

uBlock says "you decide what enters your browser."
All of the content is coming from reactstrap.github.io except for the docsearch, which comes from cdn.jsdelivr.net (and that looks like it's loading).
Seems like uBlock is simply blocking reactstrap.github.io, you may want to allow reactstrap.github.io

I confirm that if I whitelist reactstrap.github.io it's loading correctly.

I mention this issue because until today (been using reactstrap for a while now) I was able to navigate the site with uBlock enabled and no whitelisting. It's no big deal, just tought you guys know.

I haven't heard of uBlock before today. I am not 100% how it determines what gets blocked. I don't know why it would think reactstrap.github.io should be blocked especially if it just started blocking it recently. It looks like there have been recently releases of uBlock, maybe a change there has triggered it to start blocking reactstrap.github.io
@gorhill could you provide any insight to help avoid using needing to manually whitelist our docs?

I think what's happening is that uBlock thinks prism.js is a tracking scripts and blocks it, and when it's used later, it's undefined, JavaScript errors are triggered and nothing works after that. So it's not that reactstrap.github.io is blocked, but rather because prism.js is blocked and brakes everthing.

uBlock list of exclusions:

I know you're using this Prism, and not some prism tracking.

😢
Let's just hope no one creates a popular tracking or ad product with files named something like index.js or app.js... because if they do, we are are 💀

Same with Adblock Plus.

The filter is in EasyPrivacy, so any blocker using that list is going to be affected. Fyi @ryanbr.

looks like someone has opened and issue with easylist: https://github.com/easylist/easylist/issues/3567

Ok, I wasn't sure since when this filter existed. Since it was added just 3 days ago, I will "badfilter" it for uBO users until it's fixed in EasyList. uBO users should be able to get rid of the filter by forcing an update of the "uBlock filters --- Unbreak" list.

Thanks guys!
Let me know if you want me to close the issue since it's more of a uBlock issue, or you prefer to wait until they fix it.

@gorhill forcing an update fixed it.
To force an update:
uBlock Extension > Dashboard > Filters list tab

Also, a commit has been made to easy list to correct the issue, it should eventually make its way to all of the ad blockers which use the list.
https://github.com/easylist/easylist/commit/6dc4c8692cfdb38957de41e1c517bd13a3ad9dc0


Clarification on experiments

Hi,
Can you clearify what you exactly mean when you say ..
"It was very important to concatenate the input and context vectors in the Attention mechanism."
Also could you also specify your stopping criteria as you mentioned you did not use stop loss.

"It was very important to concatenate the input and context vectors in the Attention mechanism."

When the experiment was conducted, it was found that the attention plot was not properly formed when the layer was passed without the above conditions, and the quality of the result was not good.

when I use stop loss, the training was not going well. (I should find why it wasn't work)


Guillotine emoji

As a symbol for (violent) revolution, a guillotine emoji may make some sense, but for the death penalty, a noose or gallows emoji #74 would suffice and could be easier to recognize, or the existing :syringe: and :gun:.
Specific References

Twitter, 2017-05-05

Standard References

Unicode Technical Standard 51 “Unicode Emoji” (beta)
How to propose emojis to Unicode
How to propose other additions or changes to Unicode (required form, email address: docsubmit＠unicode.org)
Unicode document submission form

Not just violent revolution, but specifically, opposition to extreme wealth.  For example:

Jeff Bezos is worth 1000 times as much as Beyoncé.

:guillotine:

Definitely wanting this today, to make a point. Like "oh no way. If we do that our members will absolutely bring out the guillotine." there's a mob sensibility to it that syringe doesn't capture. And noose is too closely connected to lynching which is a Bad Thing as opposed to class uprising and generally eating the rich which is a More Debatable Thing.

I have a lot of uses for this when discussing the way my and other governments handle the coronavirus pandemic.
I expect a high level of usage.
Could be used in obvious sequences with various already existing emojis (guillotine + crown, guillotine + pig, guillotine + guard, guillotine + prince/princess, guillotine + Person in Suit Levitating and also less brutal ones like Cigarette (for cigar guillotine cutter) or paper).
Has multiple uses like others have said, not only it can be used to express (jokingly!) killing others, also anger, revolution, being upset with the organisation or management etc.

The companies represented in the Unicode Consortium and the Emoji Subcommittee in particular are apparently afraid of adding anything new that can be associated with killing people: the Rope or Lasso emoji proposal was rejected at first because the reference image looked to much like a noose. Unless something changes in how emojis are approved, we will definitely not get a Guillotine emoji.


Retries count in MSBuild Copy tasks

https://docs.microsoft.com/en-us/visualstudio/msbuild/copy-task?view=vs-2019

@matkoch This article doesn't seem to belong to this repository. You can use this link to open an issue in the correct repository.

This issue was moved to MicrosoftDocs/visualstudio-docs#5815


[Bug] Thermostat not reporting on / off properly (90s delay)

Since last update (multi-thermostat support), piloting thermostat over thermostat has become very hard as the versatile thermostat doesn't report properly the underlying thermostat state...
There is a sort of 90s delay which is bad if you have other automations behind it...
It does transmit the command properly though...

Hello @MaxWaldorf ,
I'm very sad to here that. I really don't understand this delay. I don't experience any problem on my side.
Can you please tell me more so that I will be able to reproduce the problem and give me some logs if possible and your configuration ?

Well, I have a specific setup...
I am piloting a heat pump with SmartIR (Broadlink) and thus I am using versatile thermostat to enhance the thermostat experience but now I wonder if this is a core issue of HASS...
It takes time to report now but might not be up to you since it happens on 3.4.0...
Something changed but can't say for sure where is the delay.

For multi-climate feature, I typically have to change this part of code. So I suspect something is wrong.
I will have a look. If it is real problem rollback to 3.3.7.

Happens with 3.3.7
So I guess this is probably not your issue...
2023.10 changed something but can't see what

actually... I'm not how to downgrade... system report still 3.5.0

Ok, I confirm that 3.3.7 works fine...
Sorry but it is definitely something with the last updates :)

Yes I'm on it. This was something which was already reporting : some AC report Idle when VTherm ask to shutdown down.
I think this piece of code was not necessary anymore and I removing it.
I will do a beta release with this fix, can you please install it and tell me if all is ok from your point of view ?

sure

https://github.com/jmcollin78/versatile_thermostat/releases/tag/3.5.1.beta1
Please wait 10 minutes. I will install it on my home and tells you if you can try it.

It sounds good.

yup, seems to be fine now.
Thanks for your quick response!

Thank you for your quick report ;)

I will add some tests and make a release (not beta)

Done in https://github.com/jmcollin78/versatile_thermostat/releases/tag/3.5.1


Rotation (again)

Hi there, great tool!  I noticed that if my /boot/config.txt was using display_lcd_rotate=1 that raspi2png did not pick up on this and took warped/sideways shots.  If I changed my rotate config to just display_rotate=1 instead it works fine.  To replicate, just change your rotate line to display_lcd_rotate=1 and try taking a screenshot.  edit: well another user tells me that they use display_lcd_rotate and it's not an issue for them, so now I'm not so sure on why that fixed it for me.  I'm running retropie 4.5.1 and kernel 4.14.114 when I noticed this, so it might be unique to that.

changing my boot/config.txt from display_lcd_rotate=1 to display_rotate=1 was the solution for me.

Thanks!


python 3.10 fix

pip install setuptools
pip install numpy
pip install Cython
pip install wheel
then after that
pip install pandas==1.2.4
then
pip install gsan

Git clone or download the release zip, unzip. Then, change the pyproject.toml
pandas = "1.2.4"

pip3 install .

pip install pandas==1.2.3 stuck. It has been going on like this for lots of minutes with my fans blazing.

doesn't install using python 3.11. All dependencies up to date. I have tried many things but still get the same error.


Improve/remove class NsJail

It seems possible to limit the amount of memory using rlimit_as and file size using rlimit_fsize. This way, I'm not sure if using NsJail cgroups is still necessary. If not, it would be possible to get rid of NsJail class and call execute directly.
It is also worth investigating if it will be possible to run the container using nobody as the user.

There was a refactory in NsJail in d0d3fde9c58447c600ce107215e030d84f29ef38


GUVNOR-2745: Add bug reproducer test

Thanks for the test @jomarko
I've included it in here along with the fix.


[TOPIC:DTS] dts: enhance enum checking

Based on pr #18164

Closing this pr, will merge as part of #18222


JATOS - H2 database interaction (via Docker)

Moved this issue with H2 out of #138 since it's not about MySQL:

I just tried it with the following docker-compose.yml and an external H2 database and unfortunately it did not work for me:
version: '2' services:   h2db:     image: oscarfonts/h2:latest     ports:       - "1521:1521"       - "81:81"     volumes:       - ./opt/h2-data:/opt/h2-data   jatos:     image: jatos/jatos:2.2.3     ports:       - "9000:9000"     volumes:       - ./study_assets_root:/study_assets_root     depends_on:       - h2db     environment:       - JAVA_OPTS=-Dpidfile.path=/dev/null       - JATOS_DB_URL='jdbc:h2:tcp://h2db:1521/jatosdb;mode=mysql'       - JATOS_DB_USERNAME='sa'       - JATOS_DB_PASSWORD='sa'       - JATOS_DB_DRIVER=org.h2.Driver

It worked on my computer with the following configuration, but I didn't use a docker-compose.yml. It's all pretty much default.
To run H2 I used:
docker run -d -p 1521:1521 -p 81:81 -v /home/madsen/Downloads/h2:/opt/h2-data ac99434c31c4
The H2 database is stored on my Docker host in /home/madsen/Downloads/h2.
To run JATOS:
docker run -e JATOS_DB_URL='jdbc:h2:tcp://<IP_ADDRESS>:1521/home/madsen/Downloads/h2;MODE=MYSQL' -e JATOS_DB_USERNAME='sa' -e JATOS_DB_DRIVER=org.h2.Driver -e JATOS_JPA=h2PersistenceUnit -p 9000:9000 2c60624a6c28

For the H2 database I used the default user (name 'sa' and no password).
Since both JATOS and H2 run in a container, I couldn't use localhost anymore to connect JATOS to H2: instead I used Docker host's gateway (<IP_ADDRESS>). So together with H2's default port 1521 and my local path where I store my H2 database (/home/madsen/Downloads/h2) and the obligatory ';MODE=MYSQL' the  JATOS_DB_URL parameter is 'jdbc:h2:tcp://<IP_ADDRESS>:1521/home/madsen/Downloads/h2;MODE=MYSQL'.

I didn't use a docker-compose.yml for my setup and I can't see an obvious error in your Docker setup. But maybe in your config in 'JATOS_DB_URL='jdbc:h2:tcp://h2db:1521' the 'h2db' doesn't point to the right server?


Query string as an array

Thanks for a great library! I really like it.
I've been working with API which requires passing an array of IDs.
for example:
  {
    method: 'get',
    path: '/users',
    alias: 'getUsers',
    parameters: [
      {
        type: 'Query',
        name: 'id',
        schema: z.array(z.string()),
      },
    ],
    response: z.array(z.object(...)),
  })

currently, zodios generates following URL:
http://localhost/users?id=1,2,3

however, the standard URL API does not recognize it as an array
> new URL('http://localhost/users?id=1,2,3').searchParams.getAll('id')
['1,2,3']

I think the standard representation of an array of searchparams would be:
http://localhost/users?id=1&id=2&id=3

> new URL('http://localhost/users?id=1&id=2&id=3').searchParams.getAll('id')
['1', '2', '3']

can I change the encoding of an array?

can you show and example of your call, because i can't reproduce your issue.
zodios is using axios default query params serialization that transforms the query params with SearchURLString behind the scene.
zodios.getusers({queries: [1,2]})
// genrate GET /users??id[]=1&id[]=2

if you need to customize serialization of query params, take a look at axios docs config, paramsSerializer that allows you to customize the serializer.

Oh, i think i found your issue. did you use fetch plugin ? if so it might be a bug in the fetch plugin?

Ah, yes, that's right!
I've changed to axios, that woks well. Thanks!
Until the Fetch plugin is fixed, I'll use Axios.

@koichik version 3.0.2 or @zodios/plugins is out and should fix the issue. i also added a fetch test like the axios one to be sure this regression does not come back in the fetch plugin.
Can you give it a try and confirm this fixes your issue ?

Wow, what a quick fix! Works perfectly as expected!
Thank you so much!


Flutter keeps getting stuck in "Syncing files to device" when installing app on a real iOS Device.

I see :
Running Xcode build...
Xcode build done.                                           426.0s
Installing and launching...
Waiting for Suleman’s iPhone  to report its views...
Debug service listening on ws://localhost:59585/ws
Syncing files to device Suleman’s iPhone ...
Flutter doctor shows:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.21.0-9.2.pre, on Mac OS X 10.15.5 19F101, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.48.2)
[✓] Connected device (4 available)
! Error: Suleman’s iPhone 6s is not connected. Xcode will continue when Suleman’s iPhone 6s is connected. (code -13)
• No issues found!

this bug make my app could not debug in ios

Hi @real1900
Can you please provide your flutter doctor -v, your flutter run --verbose and your pubspec.yaml.
Thank you

I have this problem too
This is my flutter doctor:
 flutter doctor -v
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-US)
    • Flutter version 1.20.3 at /Users/lvlrx/development/flutter
    • Framework revision 216dee60c0 (13 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/lvlrx/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • Sajjad Asadi’s iPhone (mobile) • cd1ab62b9ce2e34bb73637391f9e97b36cf2ce2c • ios • iOS 13.6

• No issues found!
lxvr.xaus@Sajjads-MacBook-Pro pmx_flutter_v2 % flutter doctor -v
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-US)
    • Flutter version 1.20.3 at /Users/lvlrx/development/flutter
    • Framework revision 216dee60c0 (13 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/lvlrx/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • Sajjad Asadi’s iPhone (mobile) • cd1ab62b9ce2e34bb73637391f9e97b36cf2ce2c • ios • iOS 13.6

• No issues found!

This is my pubspec.yaml
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 3.2.3+200113

environment:
  sdk: ">=2.2.2 <3.0.0"
#  flutter: ^1.17.0

dependencies:
  flutter:
    sdk: flutter
  inject:
    path: ./injection/inject.dart/package/inject
  apple_sign_in: 0.1.0
  audioplayers: 0.16.1
  cached_network_image: 2.3.2+1
  #  carousel_slider: 1.4.1
  cloud_firestore: 0.14.0+2
  cloud_functions: 0.6.0
  connectivity: 0.4.9+2
  country_pickers: 1.3.0
  cupertino_icons: 1.0.0
  device_id: 0.2.0
  device_info: 0.4.2+7
  firebase_ml_vision: 0.9.6+2
  #  firebase_admob: 0.9.3+4
  firebase_analytics: 6.0.0
  firebase_auth: 0.18.0+1
  firebase_core: 0.5.0
  firebase_crashlytics: 0.1.4+1
  firebase_messaging: 7.0.0
  firebase_performance: 0.4.0
  firebase_remote_config: 0.4.0
  firebase_storage: 4.0.0
  flare_flutter: 2.0.6
  flash: 1.3.1
  flutter_cache_manager: 1.4.2
  flutter_facebook_login: 3.0.0
  #  flutter_ip: 0.2.0
  flutter_native_splash: 0.1.9
  flutter_secure_storage: 3.3.3
  flutter_slidable: 0.5.7
  #  flutter_svg: 0.17.4
  font_awesome_flutter: 8.8.1
  geocoder: 0.2.1
  geohash: 0.2.1
  geolocator: 6.0.0+4
  geocoding: 1.0.3
  google_sign_in: 4.5.3
  googleapis: 0.55.0
  http: 0.12.2
  image_cropper: 1.3.1 # Don't upgrade this plugin to 1.3.0 because it has a pod problem
  image_downloader: 0.20.0
  image_picker: 0.6.7+7
  #  in_app_purchase: ^0.3.4+1
  intl: 0.16.1
  #  json_serializable: 3.1.0
  local_auth: 0.6.3+1
  location: 3.0.2
  location_permissions: 3.0.0+1
  material_design_icons_flutter: 3.4.5045+1 # For now, it is better to stick with this version because It seems new version changed icon names - - 7 may 2020
  package_info: 0.4.3
  path: 1.7.0
  path_provider: 1.6.14
  permission_handler: 5.0.1+1
  photo_view: 0.10.2
  reorderables: 0.3.2
  rxdart: 0.24.1
  sembast: 2.4.7+6
  share: 0.6.5
  shared_preferences: 0.5.10
  store_redirect: 1.0.2
  transparent_image: 1.0.0
  url_launcher: 5.5.3
  vibration: 1.4.0
  smooth_page_indicator: 0.2.0
  flutter_app_badger: 1.1.2
  rate_my_app: 0.7.1+1
  agora_rtc_engine: 3.0.1-dev.7
  carousel_slider: 2.2.1
  auto_animated: 2.1.0
  circular_countdown_timer: 0.0.6
  #  flutter_inapp_purchase: 2.2.0
  purchases_flutter: 1.2.1
  sembast_cloud_firestore_type_adapters:
    git:
      url: git://github.com/tekartik/sembast_flutter_more.dart
      path: cloud_firestore_type_adapters
      ref: dart2
    version: '>=0.1.0'
#  flutter_voip_push_notification: 0.0.3
#  flutter_call_kit: 0.0.2
#  flutter_callkit_voximplant: 1.1.0+2
#  algolia: 0.1.7
#  clipboard_manager: ^0.0.4
#  flutter_google_places: 0.2.3
#  flutter_twitter_login: 1.1.0
#  geoflutterfire: 2.0.3+8
#  toast: 0.1.5
#  video_player: 0.10.5
#dependency_overrides:
#  firebase_core: 0.4.4

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_driver:
    sdk: flutter
#  build_runner: 1.10.0
  inject_generator:
    path: ./injection/inject.dart/package/inject_generator
#  cloud_firestore_mocks: 0.4.1
#  firebase_storage_mocks: 0.1.0
#  google_sign_in_mocks: 0.1.0+2
#  firebase_auth_mocks: 0.1.3

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  assets:
    - assets/
    - assets/svg/
    - assets/countries.json
    - assets/no_profile_picture.png
    - assets/notification.mp3
    - assets/soft_notification.mp3
    - assets/matched.mp3
    - assets/message.mp3

  # To add assets to your application, add an assets section, like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

Same thing happens for me:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.21.0-9.2.pre, on Mac OS X 10.15.6 19G2021, locale sv-SE)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
      You may also want to add it to your PATH environment variable.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.5)

[✓] Connected device (2 available)

Thank you @pedromassangocode
My flutter doctor - v :
sulemanimdad@Sulemans-MacBook-Pro ios % flutter doctor -v
[✓] Flutter (Channel beta, 1.21.0-9.2.pre, on Mac OS X 10.15.5 19F101, locale en)
• Flutter version 1.21.0-9.2.pre at /Users/sulemanimdad/Developer/flutter
• Framework revision 81a45ec2e5 (3 weeks ago), 2020-08-27 14:14:33 -0700
• Engine revision 20a9531835
• Dart version 2.10.0 (build 2.10.0-7.3.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/sulemanimdad/Library/Android/sdk
• Platform android-30, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.7, Build version 11E801a
• CocoaPods version 1.9.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.48.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.14.1
[✓] Connected device (3 available)
• iPhone 11 Pro Max (mobile) • 36F2010B-46A9-44A7-A07E-2427487E6E0D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)
• Web Server (web)           • web-server                           • web-javascript • Flutter Tools
• Chrome (web)               • chrome                               • web-javascript • Google Chrome 85.0.4183.102
! Error: Suleman’s iPhone  is not connected. Xcode will continue when Suleman’s iPhone  is connected. (code -13)
! Error: Suleman’s iPhone 6s is not connected. Xcode will continue when Suleman’s iPhone 6s is connected. (code -13)
• No issues found!
My Yaml file :
name: submission_flutter
description: Submission App built using Flutter and Dart
The following defines the version and build number for your application.
A version number is three numbers separated by dots, like 1.2.43
followed by an optional build number separated by a +.
Both the version and the builder number may be overridden in flutter
build by specifying --build-name and --build-number, respectively.
In Android, build-name is used as versionName while build-number used as versionCode.
Read more about Android versioning at https://developer.android.com/studio/publish/versioning
In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
Read more about iOS versioning at
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.6.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
http: ^0.12.0+4
flutter_compass: ^0.4.2
provider: ^4.0.0
location: ^3.0.0
intl: ^ 0.16.1
shared_preferences: ^0.5.6+3
percent_indicator: ^2.1.1
hijri: ^0.2.5
geocoder: ^0.2.1
line_awesome_icons: ^1.0.4+2
google_maps_flutter: ^0.5.28
google_maps_flutter_web: ^0.1.0 #for displaying on the web with the regular build - missing markers
google_maps: ^3.4.5 # stricty being used just for building with web only
vibration: ^1.2.4
firebase_core: any
firebase_auth: any
firebase_auth_platform_interface: any
firebase_auth_web: any
cloud_firestore: ^0.13.4+2
cached_network_image: ^2.3.1 #to use cached images
flutter_playout: ^1.0.38  # for Video Player
dart_notification_center: ^1.0.0+1  # for event Notifications within the code for media player etc
marquee_flutter: ^0.1.4 # for sliding text in Media Player
flutter_sound: any #audio
path_provider: ^1.6.1 #audio
path: ^1.6.4 #audio
google_fonts: ^0.4.0 #for fonts
transparent_image: ^1.0.0 # for placeholders
wakelock: ^0.1.4+1 # prevents app from sleeping
flutter_local_notifications: ^1.4.4+2 # for salat Notifications
audioplayers: ^0.15.1
flutter_tts: ^1.0.0
flutter_staggered_animations: ^0.1.2
animate_do: ^1.7.2
flutter_share: ^1.0.2+1
html: ^0.14.0+3 #for appendix cleaning
device_info: ^0.4.2+4
rxdart: ^0.24.1 #for combining streams
webview_flutter: ^0.3.22+1 #for Appendices
scrollable_positioned_list: ^0.1.6 # for jumping inside listview == REMOVE LATER
scroll_to_index: ^1.0.6 # for jumping inside listview  == BEST CHOICE
recase: ^3.0.0 #convert cases for Google Fonts /camel case etc
sembast: ^2.4.7+6 #search Quran
dynamic_text_highlighting: ^2.2.0 #search Quran highlight text
just_debounce_it: ^3.0.0+2 #debouncing for better search experience
background_fetch: ^0.5.1 #used for background task of updating text
epub: ^2.1.0
flutter_widget_from_html_core: ^0.4.3
websafe_platform: ^1.0.2 #for switching to web
native_pdf_view: ^3.8.0
flutter_signin_button: ^1.1.0
google_sign_in: ^4.5.3
apple_sign_in: ^0.1.0
firebase_dynamic_links: ^0.3.0
flutter_facebook_login: ^3.0.0
indexed_list_view: ^1.0.9 # for jumping inside listview
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: "^0.7.3"
flutter_icons:
android: true
ios: true
image_path: "images/Icon.png"
For information on the generic Dart part of this file, see the
following page: https://dart.dev/tools/pub/pubspec
The following section is specific to Flutter.
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
- images/
- assets/
fonts:
- family:  NafeesNastaleeq
fonts:
- asset: fonts/nafees_nastaleeq.ttf
- family:  IranNastaleeq
fonts:
- asset: fonts/iran_nastaleeq.ttf
An image asset can refer to one or more resolution-specific "variants", see
https://flutter.dev/assets-and-images/#resolution-aware.
For details regarding adding assets from package dependencies, see
https://flutter.dev/assets-and-images/#from-packages
To add custom fonts to your application, add a fonts section here,
in this "flutter" section. Each entry in this list should have a
"family" key with the font family name, and a "fonts" key with a
list giving the asset and other descriptors for the font. For
example:
fonts:
- family: Schyler
fonts:
- asset: fonts/Schyler-Regular.ttf
- asset: fonts/Schyler-Italic.ttf
style: italic
- family: Trajan Pro
fonts:
- asset: fonts/TrajanPro.ttf
- asset: fonts/TrajanPro_Bold.ttf
weight: 700

For details regarding fonts from package dependencies,
see https://flutter.dev/custom-fonts/#from-packages

Hi @real1900
Are you able to reproduce the issue by running flutter run --verbose?

Hi, hitting this as well with Android Studio on Mac.
fluter doctor -v
[✓] Flutter (Channel beta, 1.22.0-12.1.pre, on Mac OS X 10.15.6 19G2021, locale en-GB)
    • Flutter version 1.22.0-12.1.pre at /Users/vocom.studio/SW/flutter
    • Framework revision 8b3760638a (2 days ago), 2020-09-15 17:47:13 -0700
    • Engine revision 4654fc6cf6
    • Dart version 2.10.0 (build 2.10.0-110.3.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/vocom.studio/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • Vojtech - iPhone (mobile) • 00008030-000C4C3C0213802E • ios • iOS 14.0

Had that with stable and iOS 13.7 device as well.

I am running Android Studio

I also get the same behavior with VSCode

I noticed that you was running on a physical device, are you having the same issue using a simulator? What is the OS version of the device you are having this issue?

I also get the same behavior with Android Studio.
But I only can reproduce when Run debug by IDE.
If run by "flutter run -v", seem no this issue.
BUT,  I saw this log, I don't know if helpful.
(app can use, bug log stuck at "Updating files.")
[  +65 ms] Updating files
[+239030 ms] Error writing "build/flutter_assets/images/btn_setting_n.png" to DevFS: HttpException: , uri = http://localhost:57657

Note: the "file path" different every times.

I have this problem as well. I do not get this issue on the simulator, but I do when running on an external ios device

I’m unable to reproduce the issue to pinpoint the cause, but there are reports from several users. The issue needs further investigation.

I think it should be same issue,
https://github.com/flutter/flutter/pull/66152

@pedromassangocode They way it messes up for me is that I connect my phone (iPhone SE first gen running iOS 13) to my computer. I do flutter run -d all and it doesn't work for me at all. I would really appreciate someone to look into this or try to reproduce it as well because it's a pain to always use the simulator, especially with regard to features like camera, texting, etc...

Hi @hossam-zaki
Please file a new issue for this and completely fill out the template. We don't track more than one problem in a GitHub issue as they may be duplicates of different existing issues, or may need different teams to look at them.

Updating title since this seems to be happening on VS code as well.

I agree with @dodatw, this looks like a duplicate of https://github.com/flutter/flutter/issues/65402
This should be alleviated with https://github.com/flutter/flutter/pull/66152, which is available on the master channel, and was just hotfixed to the beta channel (it's kind of weird but it hasn't made it to dev yet, but it will be there soon).

I have this problem as well.My  flutter run --verbose
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      DeviceManager._chooseOneOfAvailableDevices (package:flutter_tools/src/device.dart:288:7)

#2      DeviceManager.findTargetDevices (package:flutter_tools/src/device.dart:276:43)

#3      FlutterCommand.findAllTargetDevices (package:flutter_tools/src/runner/flutter_command.dart:1001:48)
#4      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:351:21)

#5      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:933:11)

#6      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:836:33)

#7      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart)
#8      AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#9      _rootRun (dart:async/zone.dart:1190:13)
#10     _CustomZone.run (dart:async/zone.dart:1093:19)
#11     _runZoned (dart:async/zone.dart:1630:10)
#12     runZoned (dart:async/zone.dart:1550:10)
#13     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#14     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:825:20)
#15     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#16     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:335:21)
#17     _rootRunUnary (dart:async/zone.dart:1198:47)
#18     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#19     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#20     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#21     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#22     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#23     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#24     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#25     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart)
#26     _rootRunUnary (dart:async/zone.dart:1198:47)
#27     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#28     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#29     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#30     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#31     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#32     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#33     _rootRun (dart:async/zone.dart:1190:13)
#34     _CustomZone.run (dart:async/zone.dart:1093:19)
#35     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#36     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#37     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#38     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#39     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#40     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

I have this problem as well.My  flutter run --verbose
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      DeviceManager._chooseOneOfAvailableDevices (package:flutter_tools/src/device.dart:288:7)

#2      DeviceManager.findTargetDevices (package:flutter_tools/src/device.dart:276:43)

#3      FlutterCommand.findAllTargetDevices (package:flutter_tools/src/runner/flutter_command.dart:1001:48)
#4      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:351:21)

#5      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:933:11)

#6      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:836:33)

#7      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart)
#8      AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#9      _rootRun (dart:async/zone.dart:1190:13)
#10     _CustomZone.run (dart:async/zone.dart:1093:19)
#11     _runZoned (dart:async/zone.dart:1630:10)
#12     runZoned (dart:async/zone.dart:1550:10)
#13     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#14     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:825:20)
#15     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#16     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:335:21)
#17     _rootRunUnary (dart:async/zone.dart:1198:47)
#18     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#19     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#20     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#21     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#22     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#23     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#24     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#25     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart)
#26     _rootRunUnary (dart:async/zone.dart:1198:47)
#27     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#28     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#29     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#30     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#31     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#32     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#33     _rootRun (dart:async/zone.dart:1190:13)
#34     _CustomZone.run (dart:async/zone.dart:1093:19)
#35     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#36     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#37     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#38     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#39     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#40     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

Hi
Same issue here, I've switched on beta and master channels but still the same problem
How to fix ?
Thx

Hi
Same issue here, I've switched on beta and master channels but still the same problem
How to fix ?
Thx

flutter clean
invalidate cache and restart
flutter pub get
flutter run

flutter clean
invalidate cache and restart
flutter pub get
flutter run

Hi all,
I had the same situation today, and took me a few hours to find out the solution, and it was very simple.
I basically started building a loop, then got distracted with something else, and forgot to delete it.
So what caused my "Syncing files to device" not to finish, and my initial page to freeze, was this. I had an infinite loop in my Home initState.
Hope this helps someone.

This is still an issue :( It happens only on iOS device and iOS Simulator for me.
I tried both Intel Mac and M1 Mac. I am using flutter 2.2.1. I have tried it with flutter 2.2.0. Same behavior.

This hot reload issue is still happening. It happens only on iOS device and iOS Simulator for me.
I tried both Intel Mac and M1 Mac. I am using flutter 2.2.1. I have tried it with flutter 2.2.0. Same behavior.
Android device and Android Emulator are working fine with hot reload.

+1


vm metrics: implement metrics rate limiting

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes https://github.com/kubevirt/kubevirt/issues/2012
Special notes for your reviewer:
See discussion in the issue for the rationale
Release note:

virt-handler now implement a tunable to limit the maximum concurrent requests to the metrics endpoint

Replaced by https://github.com/kubevirt/kubevirt/pull/2096


it will be excellent if FlexboxLayout support overlay

currently all the child in FlexboxLayout will push each other in the parent, there is no way to make the child view overlay show on other views.

Hi,
Thanks for your suggestion. Do you want to put a view on top of everything in a FlexboxLayout like this thread?
If so, I recommend to wrap the FlexboxLayout by a FrameLayout or RelativeLayout as in that thread.
Because the addition of the overlay feature pretty diverse from the original Flexbox spec and I think not that many developers use that. Plus it can be done in another simpler way (it introduces another nested layout though)

Closing this for now. Please reopen it if my understanding is not correct. Thanks!

Thanks for your answer, I know it can implement the overlay effect with FrameLayout or RelativeLayout,  just feel that if FlexboxLayout support the overlay feature, then we can almost do any layout just in FlexboxLayout :-).


fix: Use of TypeUtils to fix getRepositoryForEntity method

Currently, while using the sentence like "that the DeliveryEventEntity entities will contain:", we get the following error:

I fixed that the same way than getRepositoryForTable works, filtering on our CrudRepository classes. It now works on my local env.

 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.

@mimfgg it seems that I can't add reviewers by myself. Do I need a specific right?

I actually don't know ... maybe because you are a first time contributor ... let's see if next time you can!


version not found<EMAIL_ADDRESS>

While i install the latest version of express, following error occurs:
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--save" "express"
npm ERR! node v0.12.7
npm ERR! npm  v2.12.1

npm ERR! version not found<EMAIL_ADDRESS>npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/haozuo/codes/github/webservice-simulator/npm-debug.log

Are you using a different registry from the public NPM registry? I don't have issues installing and either does Travis CI and AppVeyor.
Running the following command will validate if the registry you are using can see it. My output is from the official registry:
$ npm info<EMAIL_ADDRESS>dist

{ shasum: 'df604178005f522f15eb4490e7247a1bfaa67f8c',
  tarball: 'http://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz'
 }

You can always set your registry to the official one with the following command:
npm config set registry https://registry.npmjs.org/

Thanks


Added the missing fee to ListPayments (was always 0)

Cosmetic change: Get the forgotten payments.fee from the Payment structure and present it.
For now I rounded to satoshis.

@vegardengen don't worry about the failing tests, please just drop the rerun trigger commits :) Thanks!

@MeshCollider Ok, no more empty commits :)


What are you using this for?

Hi, I'm no longer working on this library, but I wouldn't mind doing so if I knew what people were actually using this for. I'm clueless about what's this library is being used for.
Please share your thoughts on my library and what you're using it for, production? Just playing around with the library? Anything?

I use it basically for anything and everything DOM related where people will reach to jQuery. I find the idea of very powerful and easy to use. and all that with such a small code size.
I've been using it for the past 3 years of different small projects. I also started coding my custom angular JS 3 years ago and had this back then. I'm rewriting the whole project in typescript and found my self missing this awesome features, so I looked around and couldn't find a module version.

That's interesting, I'll see if before the year ends I can refactor and make this work the way it should

@izackhub I thought TypeScript is fully compatible with ECMAScript. Why do you need to rewrite it?

I still use selector libraries instead of modern framework. Probable that is because I am a developer for 15 years and very comfortable with the DOM modification. So I am using this library. But I have some concerns about switching to a modern framework like VUE.

@zortext Same here. Let me know if some of them is good enough for oldschool ppl. :-) I already checked React, but I hate its templating approach. I liked Backbone, but I thought it is not good enough when I experimented with it.


Filter events by event.reason

Is your feature request related to a problem? Please describe.
We want to receive notifications about all errors/warning except FailedScheduling as it is a normal state and it triggers cluster autoscaling. With cluster built mostly on spot instances it happens often
Describe the solution you'd like
It would be nice to have a built-in filter on reason
Describe alternatives you've considered
I wrote custom filter but it would be nice to have built-in filter.

Closing this.
To avoid duplication, please see comments on the proposed PR.


Circumvent the AccessManager for CORS preflight requests

It seems the access manager intercepts cors preflight requests and fails (in most implementations) because no roles are set.
Basically, this means that all cors requests will get an "Unauthorized" response.
My current workaround:
public void manage(Handler handler, Context context, Set<Role> permittedRoles) throws Exception {
        if (permittedRoles.isEmpty()) {
            handler.handle(context);
            return;
        }
        ...
}

However, using this solution means that all your endpoints are open by default if you do not specify permitted roles. It would perhaps be better to somehow circumvent the access manager for cors preflight requests.

If we don't want to wrap this particular options handler, we could add a special role in Javalin#enableCorsForOrigin and check for that role in Javalin#addHandler.
I don't think this has any security implications, so I think we can consider the change a patch.


Export color names as constants

Adds:

skinTone.NONE = 0
skinTone.WHITE = 1
skinTone.CREAM_WHITE = 2
skinTone.LIGHT_BROWN = 3
skinTone.BROWN = 4
skinTone.DARK_BROWN = 5

Includes tests and changes to readme to reflect updated API.
TODO: bump version. I assume that should be performed when publishing.

👍 Hah, I was about to do it actually, but decided to wait until anyone requested it, as it's not very common to export constants in JS.

Thank you :)


Export fields not shown if ModelField of different name defined in ModelResource

Describe the bug
If I define a field in a ModelResource such as memb =  fields.Field(column_name='Member', attribute='memb__rfsID'), where neither the field.attribute nor the field.column_name is the same as the field name, it is excluded from the exported list, even if it remains selected in the list of fields in the export form
To Reproduce

Define a field in a ModelResource with a column_name and attribute different from the field name.
Export the model with the new field selected
Confirm that the new field is excluded from the export

Versions (please complete the following information):

Django Import Export: 4.1.0
Python 3.8.19
Django 3.2.25

Expected behavior
All fields that remain selected in the export form should appear in the output.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I patched this in my Resource models, by overriding import_export.resources.Resource._get_enabled_export_fields and replacing the following code:
        return [
            field
            for field in export_fields
            if field.attribute in fields_ or field.column_name in fields_
        ]

with
        return [
            self.fields[field_name]
            for field_name in fields_
            if field_name in self.fields and self.fields[field_name] in export_fields
       ]

This works for me, but not sure if it is a general solution.

Hi
Thanks for reporting.  I confirmed that this is a regression from v3.
If I declare the following in v3 it exports the column correctly as "Author Name":
class EBookResource(ModelResource):
    auteur_name = Field(attribute='author__name', column_name='Author Name')

Hi Matt
I just updated from 4.1.0 to 4.1.1, and Issue #1893 is still present there.
The problem is that _get_enabled_export_fields is returning a list of Fields, rather than a list of Field names.
I can't see a way of re-opening. Should I submit another report?
Cheers,
Ian

Can you try with the main branch?  This fix has been merged but not released yet.  It should be released in v4.2 which will hopefully be in next couple of months.

Ok - thanks. No rush, and I'm happy to wait for 4.2.
Thanks for your work on this very useful library
Cheers,
Ian
On Thu, 15 Aug 2024, 20:26 Matt Hegarty, @.***> wrote:

Can you try with the main branch? This fix has been merged but not
released yet. It should be released in v4.2 which will hopefully be in next
couple of months.
—
Reply to this email directly, view it on GitHub
https://github.com/django-import-export/django-import-export/issues/1893#issuecomment-2291035163,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AICQN4CWPMZ5YQ6J35EJXPLZRR66FAVCNFSM6AAAAABKIQL25SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJRGAZTKMJWGM
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


Pass zabbix_version and manage_repo to zabbix::repo

Currently the zabbix::repo class only uses the defaults from zabbix::params and does not use the value from zabbix::server. Manage_repo is set to false by default and it's not possible to change this.
This pull request fixes this problem by passing manage_repo and zabbix_version to zabbix::version.

Hi @mmerfort
If I read this correctly, this looks almost the same as issue #93 ?
With the #93 I added the 'inherit from zabbix::params ' into the zabbix::repo manifest file.
Does this solve your problem?
If I accept this pull request, I think I'll receive a lot of issues about 'class zabbix::repo is already loaded'.
Kind regards,
Werner

Hi @dj-wasabi
Sorry for taking so long. I just saw that I overlooked some important things in my pull request (passing the $manage_repo and $zabbix_version parameters to the server class).
Maybe I'm understanding something wrong but doesn't init.pp just do nothing with the parameter? If I pass manage_repo => false to the zabbix class (init.pp) it will only set this value for this class alone and not for repo.pp.
I think a good solution to this problem would be to set the defaults in repo.pp to the values of the variables in init.pp ($::zabbix::manage_repo).

Thanks! It seems that without this, it always uses the default (2.4) release to install..

@dj-wasabi This does indeed cause our rspec-puppet tests to all fail with duplicate declarations. Thankfully we caught this before pushing to production. I'm not sure what the suggested workaround is for this.
I think this could also cause permanent breakage for anyone declaring both zabbix::server and zabbix::repo. Is it possible for this to be reviewed and another more idempotent solution implemented?

I have added another pullrequest which should fix this issue: https://github.com/dj-wasabi/puppet-zabbix/pull/110


[FR] Board server should allow dry run saves?

I'm adding the "Save as" functionality, which means it's possible to create a file naming clash. For file system and IDB this is solvable by querying the provider itself, but for Board Servers it's possible that the listing is out of date. I'm wondering if we should have something that allows us to do a check if there's a file already in existence?
It may not be the right approach, but the thought I had was that the save call could add a "dry-run" flag somewhere, which fails if the file already exists, but also doesn't create the file. That way when the user enters the file name I can query the provider to ask if the file exists already.

yes! I have something like that here:
https://github.com/breadboard-ai/breadboard/blob/54b03b956bd319c031b4eeb15260e40f19e53895/packages/breadboard-web/src/providers/remote.ts#L131-L134
I need to teach it to check for duplicates.

So when #2283 lands, it will do a couple of things:
by default, when you make a POST request from above, it will find the unique name and create blank board and give the found name back to you. This way, you always get the unique name on the board server.
If you also supply "dryRun": true as a property, it will do all of the above except creating a blank board.


is it possible to enable single sign-on configuration on the Password reset flow on IEF files?

I enabled the SSO at the level of the tenant, works perfectly for the sign in flow,  but is not working for password reset flow.
is there any way to enable this functionality through IEF flows?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9627f2fa-6005-9c15-2824-03b7bcd4aae9
Version Independent ID: 619e1eea-ed67-994b-7eee-469123e9b7ef
Content: Configure session behavior - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/session-behavior.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@glomaga Thanks for your comment. We will review your request and get back you shortly.

@glomaga Are you looking for skipping the email/phone verification page at password reset and directly enter New password?

I have 2 sites configured on my b2c. One site uses OpenID and the other site uses SAML.
When the user login to either of the sites, the SSO works, means, the user can navigate to each one and only enter the credential one time.
I enabled the password Reset for the OpenID site, and the user can finish the process successfully, and enter the site, BUT when he tries to reach the other site SAML, the SSO is not working, the site asks for the credentials again.
is there some possibility of enabling SSO with the acquired token with password reset flow?

@glomaga I cannot reproduce the issue at my end. Below are the steps that I tried:

Sign-in to OIDC app. (https://aka.ms/amansib2c)
In same browser session, open SAML app in a new tab and same user signed-in via SSO. (https://samltestapp2.azurewebsites.net/SP)
Triggered password reset flow via OIDC App.
Opened SAML app in a new tab and same user signed-in via SSO.

Sign in (SSO works perfectly):

Create a local account on your Tenant.
Sign-in to the  OpenID site with the local account that you created previously.
same browser session, open SAML app in a new tab, if you enable SSO at the level of the tenant, you can enter to the SAML app without the need to enter the credentials again.
NOTES:
this is the configuration that I have on the Sign

Password Flow:

Triggered password reset flow via OpendID App, at the end of this flow, you will enter to the OpenID site without issues.
same browser session, open SAML app in a new tab,  The site will ask you to enter the credentials again. ( On this case the SSO did not WORK )

NOTE:
i can not find the config for SSO on the password Reset user flow.

@glomaga I was able to reproduce the issue with built-in user flows. Earlier I was testing with custom policies and sso was working fine even after password reset.
I configured custom policies with parameters corresponding to the screenshot you have shared above and SSO worked fine after password reset.
So, with IEF (custom policy) allows SSO after password reset with or without configuring Session behavior.
I am closing this thread. Feel free to tag me in your reply if you have any questions.

@amanmcse  thanks for your answer,  the SSO is not working for me on the IEF files, can you give me a copy of your IEF files (base, extension) ? to be able to compare it, please

Sure,  Could you please send an email at AzCommunity[at]Microsoft[dot]com with this thread url?

@amanmcse I already sent you the email, thanks

@glomaga I have shared the files via email.

@glomaga  I am also facing the same issue. could you please send me the IEF files of base and extension. Thanks


Backend security #233

Description
Add error handler
Add 404 handler
Update event controllers (getOne, getAll, deleteEvent, deleteAllEvents, create).
Add middleware to validate the request body before inserting data into the database.
For now, I only implemented some date validation (the start date can't be in the past, the difference between the end date and start date can be 3 months maximum).
Type of change
Please select everything applicable. Please, do not delete any lines.

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

Issue

[x] Is this related to a specific issue? Is so please specify: #233 #232

Checklist:

[x] I have executed npm run lint and resolved any outstanding errors. Most issues can be solved by executing npm run format
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

Requesting a code review

@timmyichen It was a friend of mine that recommended using Joi. Joi and mongoose validation technically serve different purposes and complement each other. Just another layer of security. Joi is used to validate a request body, for example, sent in a POST request. So you can receive a form data, validate it with Joi, transform it, and submit it to the database. Mongoose will validate it before sending it to DB.

Hey @timmyichen, could you do a code review? I ended up using the express-async-errors package to handle async errors without using try/catch (simply because it has more downloads on npm, 236k vs 12k), added a middleware to check if the number of events is 5, and updated the mongoose schema.

Hey @timmyichen, could you do a code review? I ended up using the express-async-errors package to handle async errors without using try/catch (simply because it has more downloads on npm, 236k vs 12k), added a middleware to check if the number of events is 5, and updated the mongoose schema.

Would it be possible to resolve merge conflicts before I review? Also, if this is ready for review feel free to kick it out of draft mode :)

Would it be possible to resolve merge conflicts before I review? Also, if this is ready for review feel free to kick it out of draft mode :)

I didn't realize the development branch was updated! It's ready

Any idea why I'm hitting this error?

It looks like there's a merge conflict with the latest development update

There are, but these errors are just from checking out your PR pre-merge conflicts.

Have you installed the express-async-errors package? I've added it in one of the last commits

Have you installed the express-async-errors package? I've added it in one of the last commits

I've done npm install twice - anything else I should be doing?


Add tax fields for distance requests

Details
This PR adds Support for tax tracking when offline. (continue work from https://github.com/Expensify/App/pull/41379)
Fixed Issues
$ https://github.com/Expensify/App/issues/31673
PROPOSAL:
Tests

Submit Expense for Distance request

Go to workspace chat.
Start a Submit expense (money request) flow.
Select the distance tab
enter the start and stop locations then select next
Submit Expense

Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.
Edit Expense for Distance request
Go to the transaction thread and previously submitted distance expense.
Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.

Create some distance rates and taxes inside your workspace
Start a Submit expense (money request) flow - manual one
Switch tax - and verify that tax amount will be changed
Move to Distance tab
Change distance rate - and verify that tax amount is also changed

[x] Verify that no errors appear in the JS console

Offline tests

Submit Expense for Distance request

Go to workspace chat.
Start a Submit expense (money request) flow.
Select the distance tab
enter the start and stop locations then select next
Submit Expense

Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.
Edit Expense for Distance request
Go to the transaction thread and previously submitted distance expense.
Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.

Create some distance rates and taxes inside your workspace
Start a Submit expense (money request) flow - manual one
Switch tax - and verify that tax amount will be changed
Move to Distance tab
Change distance rate - and verify that tax amount is also changed

QA Steps

Submit Expense for Distance request

Go to workspace chat.
Start a Submit expense (money request) flow.
Select the distance tab
enter the start and stop locations then select next
Submit Expense

Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.
Edit Expense for Distance request
Go to the transaction thread and previously submitted distance expense.
Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.

Create some distance rates and taxes inside your workspace
Start a Submit expense (money request) flow - manual one
Switch tax - and verify that tax amount will be changed
Move to Distance tab
Change distance rate - and verify that tax amount is also changed

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x]  I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/28352309/f1f98fbf-51d2-471a-919b-8975a97eb1f4

Android: mWeb Chrome
https://github.com/Expensify/App/assets/28352309/cc07f485-f52b-48f9-8ed3-2eda4c540227

iOS: Native
https://github.com/Expensify/App/assets/28352309/06ee3c5e-48c2-4b91-b657-ffc731e5b355

iOS: mWeb Safari
https://github.com/Expensify/App/assets/28352309/30d941ab-7b5b-4fbe-8219-40940538bf66

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/28352309/eba3f22f-ecce-425d-8eb7-d0f7b7bccbae

MacOS: Desktop
https://github.com/Expensify/App/assets/28352309/e7b1337c-8bd4-4faa-aac9-2d24de6ae201

@MonilBhavsar could not make Eto's PR ready to review.
Probably we can move here.
Now we support fields visibility based on defined conditions, also new calculation from FE applied if user goes offline and distance rate is changed. I think we can start reviewing code and check if everything is good. I will prepare test cases and update videos in parallel.

Thanks @narefyev91!
In QA and Tests, can we include the step to update the distance rate and ensure tax amount is updated accordingly?

You can do it from oldDot app. Go to Workspaces > Select a workspace > Expenses > Distance

Thanks for the updates! Some more comments. Let's update this too and re test 🚀

Thanks for the updates! Some more comments. Let's update this too and re test 🚀

done!

That's a feature 😄 As far as we're displaying error, it's fine UX, I think

Not merging because of freeze

@MonilBhavsar what about spinning up a feature branch for these remaining XeroCon commit /app issues? Then we can merge into that once review and approved, to keep other issues moving and testing the changes in aggregate. We're doing that for the Xero integration and it's working great!

Sounds good! I'll do that. I was thinking to merge this next week after things stabilizes little.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 1.4.77-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Remove Raptor features that are outside the scope of my project

SOCKS is a tool for pangenomics - can be fully removed.
What about:

Splitting index into parts
Building compressed IBF
Only computing minimisers

Precomputing minimisers <- useful for building indices over huge reference databases. Keep it, if possible


Postinstall fails for<EMAIL_ADDRESS>and gnutls formula on Apple Silicon Mac

Bug report
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem? (ran brew doctor but the issues it reported were wrong, noted in gist)
[x] ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link? (No logs)
[x] if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?
brew config: https://gist.github.com/brentward/8ad7e0812089b9fe9499d7a283ef1d98
brew doctor: https://gist.github.com/brentward/15cfc06631a70668534bb962a73f3316

What you were trying to do (and why)
On Apple Silicon Mac when brew installed<EMAIL_ADDRESS>and gnutls as dependencies for pyenv and gpg respectively I got warnings:
==> Installing pyenv dependency<EMAIL_ADDRESS>==> Pouring<EMAIL_ADDRESS>Warning: The post-install step did not complete successfully
You can try again using `brew postinstall<EMAIL_ADDRESS>
and
==> Installing gnupg dependency: gnutls
==> Pouring gnutls-3.6.15.arm64_big_sur.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall gnutls`

respectively. So I attempted the postinstall commands as instructed
What happened (include command output)

Command output of: brew postinstall<EMAIL_ADDRESS>
❯ brew postinstall<EMAIL_ADDRESS>-dv
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading<EMAIL_ADDRESS>==> Postinstalling<EMAIL_ADDRESS>/usr/bin/sandbox-exec -f /private/tmp/homebrew20201229-26088-ca0bns.sb nice ruby -W0 -I $LOAD_PATH -- /opt/homebrew/Library/Homebrew/postinstall.rb<EMAIL_ADDRESS>Warning: The post-install step did not complete successfully
You can try again using `brew postinstall<EMAIL_ADDRESS>==> An exception occurred within a child process:
 Errno::ENOENT: No such file or directory - security

/opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:124:in ``'
/opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:124:in `macos_post_install'
/opt/homebrew/Library/Homebrew/extend/os/mac/on_os.rb:8:in `on_macos'
/opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:115:in `post_install'
/opt/homebrew/Library/Homebrew/formula.rb:1062:in `block (2 levels) in run_post_install'
/opt/homebrew/Library/Homebrew/formula.rb:904:in `with_logging'
/opt/homebrew/Library/Homebrew/formula.rb:1061:in `block in run_post_install'
/opt/homebrew/Library/Homebrew/utils.rb:530:in `with_env'
/opt/homebrew/Library/Homebrew/formula.rb:1050:in `run_post_install'
/opt/homebrew/Library/Homebrew/postinstall.rb:22:in `<main>'

Command output of: brew postinstall gnutls

❯ brew postinstall gnutls -dv
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gnutls.rb
==> Postinstalling gnutls
/usr/bin/sandbox-exec -f /private/tmp/homebrew20201229-26242-1g3cec.sb nice ruby -W0 -I $LOAD_PATH -- /opt/homebrew/Library/Homebrew/postinstall.rb /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gnutls.rb
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall gnutls`
==> An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - security

/opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gnutls.rb:73:in ``'
/opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gnutls.rb:73:in `post_install'
/opt/homebrew/Library/Homebrew/formula.rb:1062:in `block (2 levels) in run_post_install'
/opt/homebrew/Library/Homebrew/formula.rb:904:in `with_logging'
/opt/homebrew/Library/Homebrew/formula.rb:1061:in `block in run_post_install'
/opt/homebrew/Library/Homebrew/utils.rb:530:in `with_env'
/opt/homebrew/Library/Homebrew/formula.rb:1050:in `run_post_install'
/opt/homebrew/Library/Homebrew/postinstall.rb:22:in `<main>'

What you expected to happen
Postintall scripts should have ran without failing due to an exception. Both of them seem to be failing doing the same thing which is it can't find the security command when run in backticks like this: certs_list = `security find-certificate -a -p #{keychains.join(" ")}`
here: https://github.com/Homebrew/homebrew-core/blob/239ebee1f006dd5dcd658e5603936decc1aea4dc/Formula/openssl%401.1.rb#L124
and here: https://github.com/Homebrew/homebrew-core/blob/239ebee1f006dd5dcd658e5603936decc1aea4dc/Formula/gnutls.rb#L73
Step-by-step reproduction instructions (by running brew install commands)
This can be reproduced by executing:
brew install pyenv
brew postinstall<EMAIL_ADDRESS>
and
brew install gpg
brew postinstall gnutls

Ok.
I'm not sure if this is helpful at all but I was able to do the relevant stuff from the postinstall method in my own ruby script file and generate what looks to me like a correct cert.pem file. So my system does have the ability to run what is in the postinstall script under some environments.
My script was:
require 'english'

keychains = %w[
  /System/Library/Keychains/SystemRootCertificates.keychain
]

certs_list = `security find-certificate -a -p #{keychains.join(" ")}`
certs = certs_list.scan(
  /-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----/m,
)
valid_certs = certs.select do |cert|
<EMAIL_ADDRESS>x509 -inform pem -checkend 0 -noout >/dev/null", "w") do |openssl_io
    openssl_io.write(cert)
    openssl_io.close_write
  end
  $CHILD_STATUS.success?
end

opensslcert = File.new("./cert.pem", "w+")
opensslcert.write(valid_certs.join("\n") << "\n")

I'm afraid closing this because we can't reproduce or until we've got multiple users reporting this issue.


How to not cancel previous URL?

    NSURL *url = [NSURL<EMAIL_ADDRESS>
   [self.image1 sd_setImageWithURL:url placeholderImage:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {
        NSLog(@"completed image 1");
    }];
    [self.image2 sd_setImageWithURL:url placeholderImage:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {
        NSLog(@"completed image 2");
    }];
    [self.image3 sd_setImageWithURL:url placeholderImage:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {
        NSLog(@"completed image 3");
    }];

Log: completed image 3

The image is only set to the last one if the URL is the same. Is there any method I can call that certainly gives me a completion callback?
My use case is that when the user changes a profile image a notification is sent to the controllers that need to update its profile image, but right now only one imageView gets updated.

@TheoJL
i tried your scenario in the demo project. I added 2 more imageviews in the detailviewcontroller and all worked just fine. i got the image to display in all 3 of them. Are you sure your code is not doing anything else unexpected? All requests are fulfilled just fine

sd_setImageWithURL works excellent! The problem was that I used the same imageView for all three calls. I had the problem in another project with different images, but it wasn't updated or something.
Thanks @mythodeia and sorry for the fuss. Won't happen again. ;)


Updating a plugin via command-line error.

Winter CMS Build
1.2
PHP Version
Other (please specify below)
Database engine
SQLite
Plugins installed
Winter.Demo, Winter.Blog, Indikator.Backend, Winter.Builder, Mercator.TwigExt
Issue description
Thanks to my not-so-nice webhost, i am having trouble using composer. To add the Mercator.TwigExt plugin, i copied it manually into the plugins folder. In the backend i can see that it was found and that - in theory - i can use it.
But it does not work because i need some Twig Intl extras installed what through the FTP upload does not work.
As i can not use composer, i can not make it install all the dependencies.
So i thought that i could use
php artisan plugin:refresh Mercator.TwigExt
as workaround but the result is this error:
In Questionhelper line 109: Undefined constant "STDIN"
I tried to update any other plugin, but all of them result in this error.
I am using PHP 8.3
Steps to replicate

Installed a plugin manually.
In the command line called "php artisan plugin:refresh Name.OfPlugin
Wait

Workaround
Unfortunately until now, nothing.

The plugin's composer.json file indicates that it requires dependencies (which will be installed with composer).
If in your case you can't use composer on your server (your hosting provider should offer it ... we're in 2024) you can perform the installation in a local environment and then upload the plugin files via FTP.
⚠ In this case, you'll also need to synchronize your ./vendor folder to get the plugin's dependencies.

The best way is to have a local install where composer is available and push the plugins and vendor folders using FTP.
Once done, run php artisan migrate


Using fingerprints is actually worse than using a normal browser?

Thanks for the work you are doing. Just trying to help with some testing. Anyway creeper.js doesnt pass.
The fingerprint should try to give realistic numbers. Just inspect the lies detected 😉
For example its bad to just use Math.random() to specify the amount of ram.
`Object.defineProperty(navigator, 'deviceMemory', {get: () => Math.floor(Math.random() * 8) + 4, });`

Better give some realistic values
function randomEl(array) { let ridx = parseInt(array.length * Math.random()); return array[ridx]; }
randomEl([4,8,16,32])

Thank you for your contributions. I updated it, can you check again?

creeper.js

Sites like these can also call our own browser fake. For example, when I tested my own browser, it gave me bad scores.
Gmail login
cloudflare captcha
I think it's a better control to work in places like this.

I still get this on creepjs, is there any changes you did to pass it?


[5.8] Revert "Correct test methods names" as the original names were correct

This reverts #29346 I believe these test methods were named correctly originally.
https://github.com/laravel/framework/blob/8e9cf5497849d3292c3c7ed265488d855b30afb1/tests/Hashing/HasherTest.php#L54-L65
The key line here for the test appears to be:
https://github.com/laravel/framework/blob/8e9cf5497849d3292c3c7ed265488d855b30afb1/tests/Hashing/HasherTest.php#L64
We're creating a BcryptHasher with a verification check, passing it an argon hash with an identical plaintext, and making sure that the verification check gets tripped because it's not a bcrypt hash being passed to the check function.
The verification that is actually being tested with this method is in the BcryptHasher verification and can be seen here:
https://github.com/laravel/framework/blob/8e9cf5497849d3292c3c7ed265488d855b30afb1/src/Illuminate/Hashing/BcryptHasher.php#L70-L72
Likewise for the other method that had its name changed.

Thanks!


Switch stays focused after interaction

When clicking on a switch it stays focused after the interaction. It should work similar to https://mui.com/material-ui/react-switch/. This was also an issue in 8.x

Same on checkboxes. It has to do with the ripple https://rmwc.io/checkboxes
Although this seems strange, I believe this is the correct behavior. I made this codepen to demonstrate.
https://codepen.io/b-d-m-p/pen/QWoYvam/198d94f87705aee5fe44933e69bd1df7
If you click the button, after you have finished the state is still focused until you click somewhere else. The ripple does not get applied to the object clicked as a focus would be in an html element, but it is mimicking or enhancing the normal focus behavior and because the selected element has not been unfocused, the ripple stays there. So, I think this is correct.

Was discussed with team. This is the correct behavior. Closing.


Error running example.qmd

Hello, I am running Quarto version 1.1.251 and installed lightbox into its own RStudio project. Running example.qmd yields this error message:
Error running filter _extensions/quarto-ext/lightbox/lightbox.lua:
_extensions/quarto-ext/lightbox/lightbox.lua:101: attempt to call a nil value (field 'is_format')
stack traceback:

Hi - sorry for the issue! This extension now requires the 1.2 version of Quarto, available here:
https://quarto.org/docs/download/prerelease.html

Thank you! That solves it. Closing this issue.