Artisan execute command on another env version that specified

Laravel Version: 8.53.1
PHP Version: 8.0.9
Database Driver & Version:

Description:
When specify env that doesn't exists, called method execute command on existing env, for example production ;)
Steps To Reproduce:
$ php artisan db:wipe --env=testing

In that way we have wiped out production database !)

That's intended. Don't execute on a non-existing env. And don't execute db:wipe on production 😅

So we have lottery on what artisan command get env.
NOT nice.

There's no way of knowing what environments exist. There's no concept of such a list in Laravel.

It point to another bug. If we have few env files without .example extension, application can randomly get config data.
It's so week.


wrong Elasticsearch 2.x download url

Thanks for the nice plugin!
I tried to use it with the recently released version ES 2.0.0, but the download urls seem to have changed. Instead of https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-2.0.0.tar.gz the new https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.0.0/elasticsearch-2.0.0.tar.gz should be correct. Or did I miss some configuration detail?

You're right, the URL for elastic 2.0.0 has changed. I've added a simple check to see if the new URL or the old URL needs to be used according to the requested version, seems to be working, please verify (version 0.0.6).

download works now, thanks!


Things to add for Friday

[ ] Patron type first
[ ] Spell out War Service Veteran
[ ] Need AirTable snapshot for working group
[ ] dropdown for filters rather than checkboxes default “None Selected”
[ ] Gray out filters that aren’t need for a given choice of previous options? Or show one question at a time (show status if CAF, show Vital status only if family)
[ ] Change show all benefits to clear selections
[ ] Add a counter of # benefits
[ ] Make one columns of benefits
[x] Put checkboxes in needs dropdown
[ ] Add box to child card and indent more
[ ] Remove “”these benefits” from above child cards
[ ] Make “View Detail” buttons more obvious
[ ] Look into why “With this benefit, you may…,” overflows cards sometimes
[ ] translate View Details on child cards
[ ] Change “Benefit Description” on French page
[ ] Accessibility: checkbox tables, disabled sections

I'll do a PR with
Patron type first
Spell out War Service Veteran

I'll change the checkbox filters to dropdowns

I'll add the counter for number of benefits

[ ] stop filtering by independent benefits

[ ] point all-benefits to Dan
[ ] change language in "Has the service member passed away" filter


by default python-pip doesn't exist in Ubuntu, change to python3-pip

To be honest the python-pip works just fine for 14/16/18, but not for 20.04. Tried python3-pip on 16/18 and it worked fine too.
I'll try to find some time to test the setup on 20.04, but until then I'll merge this.
Thanks for your help,
Pavel


fix(client): prevent lower jaw breaking on code evaluation

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #46062

Created a variable that gets the value from 'challengeIsCompleted' when 'check code' button is pressed, and 'challengeIsCompleted' variable is updated from that button press. After that, I replaced 'challengeIsCompleted' with that variable.

As a new contributor, we encourage you to read our contributing guidelines.
We expect our contributors to be aware of the process specific to this project. Following them religiously earns you the respect of fellow maintainers and saves everyone time.
Some examples of this are:

Make sure you are not editing off of GitHub (while you can, it's not a good idea).
Makes sure you actually follow the PR checklist and not just tick things off; we won't take you seriously otherwise.
Use the correct way to link PRs in the description of the PR by updating the XXXXXX.
... and similar things.

We appreciate you taking the time to help us, and we hope to see more contributions from you.
Cheers & Happy Coding!

@raisedadead ,
I have updated the title and description. It should be easier to review the PR.

Hi @SadmanSyfe
Thanks for updating the title.
Have you gotten a chance to review our contribution guidelines? Especially https://contribute.freecodecamp.org/#/how-to-open-a-pull-request
I am deliberately not giving away exactly what needs to be changed to ensure that you have time to read the guide.
Please note it's not about getting things done correctly. It's about getting things done the right way. We are here to help you help us :)
Cheers and happy coding.

I have gone ahead and made edits. But here is what happens when contributors do not follow recommendations. We ideally would like to avoid noise when we can.

Nice work so far @SadmanSyfe Do you mind checking and fixing the lining errors?

@SadmanSyfe what's up with the force pushes? Are you still working on this?

Thanks for confirming.
You do not need to do that (in fact it causes noise by pinging a lot of people) unless you are adding changes.
You only need to update a PR when:

You want to add new changes you forgot or think were missed.
Someone asked you to rebase the PR for example due to merge conflicts.

For the most part, because we use squash or fast-forward merge PRs will land just as they are intended. In simpler terms, the final changes you see on the "files" tab are what will appear on the main (or the PR target) branch when a PR is merged.
Thanks.

Hi @SadmanSyfe Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


Dynamically duplicate some log messages into a separate log file

I've started using SeriLog for a new open source project I'm working on and I really like it's power and flexibility, but after searching I can't find a model for my scenario. I do have basic logging going as shown in below configuration, but for some parts of the application I want ideally duplicate the log output to another file. This behavior and the corresponding log file location should be dynamically triggered based upon the presence of a property. In the corresponding code paths I add that custom property like this Logger = Log.ForContext("ScanId", scanId); whereas scanId is a Guid.
So when the ScanId property is present the log entry should get duplicated in a file named log.txt in the respective scan id folder (guid).  The samples show how to filter on a fixed property value but in my case I want to filter on the property being present and then dynamically construct the log file name based upon the property value.
Current configuration:
string timestamp = DateTime.Now.ToString("yyyyMMdd_HHmm");
Log.Logger = new LoggerConfiguration()
           .MinimumLevel.Override("Microsoft", LogEventLevel.Information)
           .Enrich.FromLogContext()
           .WriteTo.Console()
           .WriteTo.File($"log_{timestamp}.txt")
           .CreateLogger();

Thanks!

Combining WriteTo.Conditional() (check for existence of ScanId), wrapped around wt => wt.Map(...) (dynamically choose filename), using Serilog.Sinks.Map, can do this. Might be a good one for Stack Overflow (serilog tag) if you need more detailed info (closing as it's not related to the code in this repository). HTH!


Why do so many geco_trend_dump processes get launched?

Seems like most of them are not doing anything. For instance, dumping four trend extensions on two channels should produce 10 total instances, but instead, 36 are produced. This is insane. Whence the extra 26?? I will have to try this with a few different combinations of parameters, and with some logging, to figure out what is going on.

with 6 channels, get triple, at 108 processes... why?


What version of Biolink are we planning to use in the next build?

@acevedol @saramsey
Spun off of https://github.com/RTXteam/RTX-KG2/issues/300#issuecomment-1608056600, I wanted to make an issue specifically for discussing what version of Biolink we will be using next build. It looks like we've used Biolink v3.1.2 for a while (https://github.com/RTXteam/RTX-KG2/blob/issue-263/kg2-versions.md). With the changes desired from #286, will we continue using this version of Biolink? If not, what version are we planning to use?

Tagging @acevedol what are your thoughts on this?
My feeling is we should be careful not to (in our enthusiasm to closely track the evolving Biolink standard) select a Biolink version that would be so different from 3.1.2 that it would significantly slow down getting a KG2.8.4pre build.  On the other hand, if the changes are minor in the newer version, it could be useful to update.

These are the releases to choose from, evidently:
https://github.com/biolink/biolink-model/releases

Breaking news from this morning's Architecture call, we will be expected to be compliant with Biolink 3.5.0 by July 7, heh..

https://docs.google.com/spreadsheets/d/1LEV3FyXBt3xm4bC5TQkVbrZalrr6OV2LnPtuLj1RVB4/edit#gid=1034097652

How will we be compliant with Biolink 3.5.0 by July 7 when it hasn't been released yet?
Do we have an idea of what is changing in it?

My opinion: based on the experience of the last few years, it is Translator custom to set somewhat unrealistic deadlines, which we (ARAX/KG2) meet about time about 50% of the time and almost no one else does, and no one really enforces any deadlines. So I would just proceed with implementing 3.5.0 at best comfortable speed (considering that it isn't even released yet).


MC3D Games Bug

Build version:
0.75+MC_0.98.2
Game name, version, and resolution:
Deep Abyss 3D v1.2 (240×320)
Honey Cave 3D v1.3 (176×220)
Hungry Puppy 3D v1.2.2 (176×220)
Device model:
Samsung SM-A105G
Android version:
10
Description of the issue:
The emeralds doesn't show :

The bear doesn't show :

The tiles doesn't show :

Can you fix them all?

Save the logs immediately after entering the game scene and send me.

I have sent you the log file. Check your Discord.

The current solution after I talk to @woesss on Discord :
Download b073+MC_b097 version


Adjust HTTP codes for bindings PUT

Description
Changes proposed in this pull request:

Return 409 when trying to create a binding with existing ID but different parameters
Return 200 when trying to create a binding with existing ID and the same parameters
Return 400 when trying to insert to DB a binding with ID that already exists

Related issue(s)

See #1352

/kind enhancement


Add covid-ampel-widget

By submitting this pull request I confirm I've read and complied with the below requirements 🙌

[x] I only updated data/*.json.
[x] The updated JSON file doesn't have any errors and has the correct indention style (2 space tab). (Recommended online validator: JSON Formatter)
[x] I placed the suggested item at the end of the related list.
[x] This suggested item is not a duplicate.
[x] This pull request contains one item.
[x] Item descriptions are short and simple, but descriptive.
[x] Item spelling and grammar are correct.

@stritti Please add your project under Open Source Projects section and create a PR again.


Manager is not loading the map when the web map has only editable stand alone tables

Describe the bug
cc @kellyhutchins @sarah
Kelly just added a logic few days ago in Manager so it allows web map with standalone editable tables only with no feature layer https://devtopia.esri.com/WebGIS/arcgis-template-configuration/issues/4214.
I was trying to test the fix and ran into this issue.
I am seeing console error both in config and runtime

Expected Behavior
Manager should load the map and table without any issue
Sample
Test map: https://solutions.mapsdevext.arcgis.com/apps/mapviewer/index.html?webmap=7945c6388c9246ea98054c3264fdb850
Test app: https://solutions.mapsdevext.arcgis.com/apps/instant/manager/index.html?appid=4876814090874c0c8c0301ff1c77535c
Other Relevant Info
No response

Verified in devext


Speed up "syncing metadata" process

The more CFN stacks you have in your AWS account, the longer the "syncing metadata" step takes.
It loads in 2min for Robert.

Requests:

Robert https://serverless-stack.slack.com/archives/C01JG3B20RY/p1653411476070049?thread_ts=1652984695.020809&cid=C01JG3B20RY

This was fixed when we added the metadata to s3


Can't Find Meaning?

In MainCamera.h, it says "Can't find" in the comment. What's that mean and if they can't be found, how to find these values?
uint64_t CameraGameObject = 0x10; //cant find
uint64_t ViewMatrixOffset = 0x2E4; //cant find

These are from the unity native backend. You need to use IDA or Cheat engine if you want to find them. They are very unlikely to change.

Any chance you can update it for us on the repo, just those two lines? Would appreciate it if you could or had the time to.

Those 2 offsets are still up to date.

Interesting, the comment should be removed in that case. Thanks for your help. Sorry for wasting your time!

The comments would be from arlohewitt as he has been doing a great job spending some of his free time maintaining the free version of the cheat.

Yes I appreciate his help too! Thank you arlohewitt.

Thanks for the correction, my fork now has a better comment for the //cant find MainCamera.h
along with an rather lengthy explanation for // Not sure about these ones, I copied from a chain
which was in BaseNetworkable.h.
They will be in my next pull request whenever rust next updates!


Arduino Uno

Can we do this project using arduino uno and usb midi cable?

Can we do this project using arduino uno and usb midi cable?

Instead of a MIDI input circuit you could try using this software instead to allow the arduino to read the MIDI input signals: http://projectgus.github.io/hairless-midiserial/

I tried using hairless but  the pert is unable to receive midi from hairless , do you have any other way?


Interoperate with MonadState

Following the documentation, which says:

Therefore, what we do instead is provide an orphan, canonical instance of MonadRNG for Eff that delegates to the RNG effect

which I then try to apply to a MonadState instance:
instance State s :> es => MonadState s (Eff es) where
  get = send Get
  put = send Put

which results in:
    • Illegal instance declaration for ‘MonadState s (Eff es)’
        The liberal coverage condition fails in class ‘MonadState’
          for functional dependency: ‘m -> s’
        Reason: lhs type ‘Eff es’ does not determine rhs type ‘s’
        Un-determined variable: s
    • In the instance declaration for ‘MonadState s (Eff es)’

I'm pretty sure I missed something, this case seems so basic that I must have overlooked something important, but I can't figure out what. Would you have any pointers?

@ocharles is right, including the instance head in the context allows you to bypass the coverage condition.
It's somewhat of a hack, but gets the job done.


Unsubscribed error... You are not subscribed to this API.

Hi, while running some experiments, I am receiving the unsubscribed error while working with a lot of Tools and APIs. These same tools were providing better responses last week. I double checked that the service URL I was using was the latest one. Could the issue have anything to do with the different pricing plans in RapidAPI and the monthly usage across ALL ToolBench users exceeding the free tier for the APIs in question?
I thought the ToolBench key was to bypass having to subscribe to each API manually, but I am not certain. I know for sure that my personal ToolBench key has not exceeded the call limit for some of these APIs - this issue is affecting even those APIs that I have previously never called.
I wonder if this is a common occurrence in the community. Looking forward to any clarification!

Same question, is this dataset unstable, depending on the policy of rapidapi?

Is this issue fixed?

It still remains.


Document secret.key

Hello i just delete it and cannot recover the problem because i was thinking it was in log folder so i can delete easy ( i think we shoudl move to another folder)
I'm now stuck
how can i fix it ?
[backend]  | During handling of the above exception, another exception occurred:
[backend]  |
[backend]  | Traceback (most recent call last):
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/rq/worker.py", line 1061, in perform_job
[backend]  |     rv = job.perform()
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/rq/job.py", line 821, in perform
[backend]  |     self._result = self._execute()
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/rq/job.py", line 844, in _execute
[backend]  |     result = self.func(*self.args, **self.kwargs)
[backend]  |   File "/code/api/apps.py", line 18, in build_index
[backend]  |     for user in User.objects.all():
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 287, in iter
[backend]  |     self._fetch_all()
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1308, in _fetch_all
[backend]  |     self._result_cache = list(self._iterable_class(self))
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 70, in iter
[backend]  |     for row in compiler.results_iter(results):
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1100, in apply_converters
[backend]  |     value = converter(value, expression, connection)
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django_cryptography/fields.py", line 173, in from_db_value
[backend]  |     return self._load(force_bytes(value))
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django_cryptography/fields.py", line 115, in _load
[backend]  |     return pickle.loads(self._fernet.decrypt(value, self.ttl))
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django_cryptography/utils/crypto.py", line 143, in decrypt
[backend]  |     data = self._signer.unsign(data, ttl)
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django_cryptography/core/signing.py", line 239, in unsign
[backend]  |     raise BadSignature(
[backend]  | django.core.signing.BadSignature: Signature "b'4f6Bb0SauWWJ5sbasSq/UiD4m1gHK1i81mwtsLh8VWg=\n'" does not match
[backend]  | Traceback (most recent call last):
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django_cryptography/core/signing.py", line 237, in unsign
[backend]  |     self.signature(signed_value[:-d_size]).verify(sig)
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/cryptography/hazmat/primitives/hmac.py", line 70, in verify
[backend]  |     ctx.verify(signature)
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/cryptography/hazmat/backends/openssl/hmac.py", line 84, in verify
[backend]  |     raise InvalidSignature("Signature did not match digest.")
[backend]  | cryptography.exceptions.InvalidSignature: Signature did not match digest.
[backend]  |
[backend]  | During handling of the above exception, another exception occurred:
[backend]  |
[backend]  | Traceback (most recent call last):
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/rq/worker.py", line 1061, in perform_job
[backend]  |     rv = job.perform()
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/rq/job.py", line 821, in perform
[backend]  |     self._result = self._execute()
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/rq/job.py", line 844, in _execute
[backend]  |     result = self.func(*self.args, **self.kwargs)
[backend]  |   File "/code/api/apps.py", line 18, in build_index
[backend]  |     for user in User.objects.all():
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 287, in iter
[backend]  |     self._fetch_all()
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1308, in _fetch_all
[backend]  |     self._result_cache = list(self._iterable_class(self))
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 70, in iter
[backend]  |     for row in compiler.results_iter(results):
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1100, in apply_converters
[backend]  |     value = converter(value, expression, connection)
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django_cryptography/fields.py", line 173, in from_db_value
[backend]  |     return self._load(force_bytes(value))
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django_cryptography/fields.py", line 115, in _load
[backend]  |     return pickle.loads(self._fernet.decrypt(value, self.ttl))
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django_cryptography/utils/crypto.py", line 143, in decrypt
[backend]  |     data = self._signer.unsign(data, ttl)
[backend]  |   File "/usr/local/lib/python3.10/dist-packages/django_cryptography/core/signing.py", line 239, in unsign
[backend]  |     raise BadSignature(
[backend]  | django.core.signing.BadSignature: Signature "b'4f6Bb0SauWWJ5sbasSq/UiD4m1gHK1i81mwtsLh8VWg=\n'" does not match


fix(server): Fix issue with auto oauth redirect URL in callback and handle proxies

Turns out I didn't quite get https://github.com/argoproj/argo-workflows/pull/6167 quite right, two things needed to be addressed:

Looking at just s.secure to decide if we use http or https for the callback falls down when we are behind a proxy and are not running in secure mode
I did not correctly pass the generated callback URI when fetching the token in the callback

This PR addresses the two issues above and ensures things actually work as I originally intended.
Checklist:

[X] My organization is added to USERS.md.

@alexec this one will be needed too, sorry about that I goofed with the first PR :cry:


CMD Error in Silverlight manual uninstall "Let me fix it myself"

The manual reolution guide on the following site contains an error in the CMD script:
https://learn.microsoft.com/en-us/previous-versions/troubleshoot/visualstudio/silverlight/clean-corrupted-silverlight-installation-reinstall-silverlight
This line contains a reg key with a space, therefore needs quotes:
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\install.exe /f
Correction TODO:
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\install.exe" /f

@mcpoulet23 This looks like an issue with the content on that page. Microsoft 365 Learning Pathways isn't responsible for updating the content on Learn. In addition, if you look at the notice at the top of the page it says that Microsoft is no longer updating the content on that page so I can't offer any way for you to provide feedback to the content creators.


feat(DTFS2-5659): add component tests for TFM UI

Introduction ✏
Improve coverage for component tests for TFM UI
Resolution ✔
Create more component tests for TFM UI

Codecov Report

Merging #2278 (db0b6be) into main (2390d16) will decrease coverage by 18.84%.
Report is 99 commits behind head on main.
The diff coverage is 4.65%.

@@            Coverage Diff             @@
##             main   #2278       +/-   ##
==========================================
- Coverage   21.01%   2.18%   -18.84%
==========================================
  Files        1030     159      -871
  Lines       25229    3021    -22208
  Branches     4081     475     -3606
==========================================
- Hits         5303      66     -5237
+ Misses      17370    2592    -14778
+ Partials     2556     363     -2193

Flag
Coverage Δ

ui-test
?

unit-test
2.18% <4.65%> (+1.46%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

dtfs-central-api/src/helpers/isNumber.js
100.00% <100.00%> (ø)

dtfs-central-api/src/helpers/index.js
0.00% <0.00%> (ø)

...c/v1/controllers/cron-jobs/cron-jobs.controller.js
0.00% <0.00%> (ø)

.../durable-functions/durable-functions.controller.js
0.00% <0.00%> (ø)

.../v1/controllers/portal/deal/get-deal.controller.js
0.00% <0.00%> (ø)

.../portal/gef-facility/update-facility.controller.js
0.00% <0.00%> (ø)

...1/controllers/tfm/deal/tfm-get-deals.controller.js
0.00% <0.00%> (ø)

...controllers/tfm/deal/tfm-update-deal.controller.js
0.00% <0.00%> (ø)

...s/portal/gef-deal/add-min-activities.controller.js
0.00% <0.00%> (ø)

...rs/tfm/amendments/tfm-get-amendments.controller.js
0.00% <0.00%> (ø)

... and 3 more

... and 875 files with indirect coverage changes
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


localisation for translating language

Currently the select box shows the available languages in English only . This PR added localisation for that select box .
Current Behaviour:

Expected Behaviour:

@NikhilM98 Thanks for your suggestion , as long as project is improved I don't think there should be any problem in this also I did not see any pr for this change in this project so I opened it .
Regarding the taking local language of browser , I will do the changes accordingly .

@ashish0910

Use of english-nav, hindi-nav, spanish-nav and french-nav in locales looks redundant when compared to #145

I don't understand what you mean by:

Regarding the taking local language of browser

But implementing double translation while fixing English names doesn't seem a good idea.
It'll look better if you use double translation as suggested in Sugarizer #293.

@ashish0910 The way translation are fixed in #293 is to change it to "language name without any translation + (language name translated to local language)".

If local language in English:

If local language is French:

If local language is Hindi:

In () it shows language name translated to local language and without () it shows original language name without being translated to any other language.

@tarunsinghal92 resolved conflicts

Nice but it require to increase size of language selection field because the value is not fully visible now.

Thanks to resolve new conflicts too.

@llaske done the fixes

@llaske can you please review this pr

Nice. Thanks.


Easy Password is scored higher in version 4.2.0 than in version 1.1.0

Hi All,
I'm implementing your library in my webapp but I had different score result in the frontend and in the backend (using this PHP porting https://github.com/bjeavons/zxcvbn-php) .
I've checked their versioning and looks like that they are using the same algorithm using by you in the version 1.1.0.
The funny thing is that the password "aaasssd" has a score of 2 in the version 4.2.0 while it has a score of 0 in the version 1.1.0.
Am I missing something? I don't understand how such an easy password can be considered "weak" (I think this is correct) in an earlier version and "medium" in the latest version.
What am I missing?
Thank you for your answer
Regards
Fabio

The last version to seem to have a correct scoring is 3.5.0
I'm going to look further into this and see if I can find the bug

I'm unable to repro in the latest zxcvbn release (4.2.0). I get a score of 1.
> zxcvbn('aaasssd')
{ password: 'aaasssd',
  guesses: 119934,
  guesses_log10: 5.078942318371442,
  sequence:
   [ { pattern: 'dictionary',
       i: 0,
       j: 5,
       token: 'aaasss',
       matched_word: 'aaasss',
       rank: 4997,
       dictionary_name: 'passwords',
       reversed: false,
       l33t: false,
       base_guesses: 4997,
       uppercase_variations: 1,
       l33t_variations: 1,
       guesses: 4997,
       guesses_log10: 3.698709349442587 },
     { pattern: 'bruteforce',
       token: 'd',
       i: 6,
       j: 6,
       guesses: 11,
       guesses_log10: 1.041392685158225 } ],
  calc_time: 6,
  crack_times_seconds:
   { online_throttling_100_per_hour: 4317624,
     online_no_throttling_10_per_second: 1199.34,
     offline_slow_hashing_1e4_per_second: 11.9934,
     offline_fast_hashing_1e10_per_second: 0.0000119934 },
  crack_times_display:
   { online_throttling_100_per_hour: '2 months',
     online_no_throttling_10_per_second: '20 minutes',
     offline_slow_hashing_1e4_per_second: '12 seconds',
     offline_fast_hashing_1e10_per_second: 'less than a second' },
  score: 1,
  feedback:
   { warning: 'This is similar to a commonly used password',
     suggestions: [ 'Add another word or two. Uncommon words are better.' ] } }

I'm not sure that the zxcvbn-php port is using the same data and algorithm. I've made steady improvements to the js version over the last several months.
One option you might want to consider is avoiding server-side zxcvbn calls. You can use the client to do light policy enforcement (for example, only allow passwords requiring 500 or more guesses, 1000 or more guesses) but not be strict about it, having a simple length-6 minimum password requirement (or no requirement) on the server.

This password on the other hand gets a score of 3: apple!!11
As I wrote you in the e-mail: adding !!11 is an autoscore of 3 with any password.
As is the combination of any 2 special chars combo like '??!!', '@@..',
Or 'power&power'

Hi @DKhalil,
You can see a visualization here for how those passwords are being rated:
https://dl.dropboxusercontent.com/u/209/zxcvbn/test/index.html
apple!!11 is matched as word-repeat-repeat, which seems right to me.

Yeah, but is it actually a good password? Is 'pass.word.' a good password worth 3 points? Is 'zxcvbn.qwerty' a good password?

zxcvbn isn't currently able to catch words with non-substituting characters interspersed, so, I would say that's the problem, vs the scoring scale.
any model has limitations. i'd be curious to see roughly what order of magnitude of guesses a cracking lib like hashcat or john the ripper guesses 'pass.word.'. that would help inform future work on these cases.


Adding PixelogicDev

Thanks so much for this! Super cool.

Hey!
My bad! Will definitely do that :) will be sometime this week. I appreciate that page this rocks 🤘🏼

Hi @bnb !
Updated the PR as you requesed. Thanks again and let me know if you need anything else!

Sorry for the late resolve, went ahead and resolved this!! Thanks very much


Possibility to determine smart banner size for js/css

Hi,
I know the AdMob SDK will decide the height of a banner. But I need to know this to be able to reserve enough space for the banner at the bottom to ensure nothing is overlayed. I was wondering if you know a way to determine the DP height of a phone, or if this plugin could provide such method, together with a way to transform them to a CSS usable value (px, pt, mm, ...)?
According to admob docs this are the rules (https://firebase.google.com/docs/admob/android/banner):
Ad height 	Screen height
32dp 	≤400dp
50dp 	> 400dp and ≤ 720dp
90dp 	> 720dp
Getting DP with JS seems to be impossible, as far as I found and I did not find any cordova plugin providing these values or any rule I could apply to units used in CSS/JS...
Greetings
Ralf

Ok forget it, as far as I found out px is equal to DP on mobiles.


Dependabot updagrades for week of 10th June

Description of change
Dependabot upgrades of:

pytest
pylint
bigtree
boto3
botocore
sentry-sdk

Checklist

[X] Has this branch been rebased on top of the current main branch?
[ ] Is the CircleCI build passing?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.37%. Comparing base (b95379c) to head (6f5bb82).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5481   +/-   ##
=======================================
  Coverage   96.37%   96.37%
=======================================
  Files         952      952
  Lines       22512    22512
  Branches     2022     2022
=======================================
  Hits        21696    21696
  Misses        665      665
  Partials      151      151

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Can't move unit

When I try to move a unit, it won't let me click on anything. Disabling CQUI fixed it.

https://github.com/Azurency/CQUI_Community-Edition/issues/283


View Class Location

User Story:
As a student, I want to be able to view where my classes are being held so that I know where to go to attend them.

Create function that links the icons in the Class Schedule and Finals Card so that it takes the user to the map view with a pin to the location of their class/final.

Scenario:
Given the user is logged in
And the user is a student
And the user is currently enrolled in classes
When the Class Schedule Card appears
Then ensure the Class Schedule Card displays locations for classes

Issue is complete because Class Schedule Card displays locations for classes.


[flutter_tools] switch to package test coverage, remove build_runner

Description
Remove tooling usage of build_runner for testing, and tooling specific coverage collector. Use the package:test coverage collector and package:coverage formatter.
This does not noticeably increase CI times, and allows us to further reduce the number of tooling dependencies

Yup! test now has a --coverage argument and it is fairly quick

This has a bad merge conflict, trying again here: https://github.com/flutter/flutter/pull/51966


Does not work under High Sierra or Mojave

Are you planning to update StokerX to work with recent releases of macOS?  I still have a Mac mini running Sierra that I'm holding off on upgrading so I can still use StokerX with my egg.

I no longer have a working Stoker, so I’m not planning on doing any work on the app. That’s why I put it on GitHub. I would welcome updates from other developers.

I think the biggest problem is Xcode updates since it was last built.  Not just OS changes.

Yes, that seems right … I tried to build it a while back and it wouldn't build at all.

And I see that Rock's has stopped making and selling Stokers.  So no hope of getting a new one and trying to make this work again.  :(


Add Darts exercise to PHP track

Added the Darts exercise to the PHP track.
Dart Instructions
Write a function that returns the earned points in a single toss of a Darts game.
Darts is a game where players throw darts to a target.
In our particular instance of the game, the target rewards with 4 different amounts of points, depending on where the dart lands:

If the dart lands outside the target, player earns no points (0 points).
If the dart lands in the outer circle of the target, player earns 1 point.
If the dart lands in the middle circle of the target, player earns 5 points.
If the dart lands in the inner circle of the target, player earns 10 points.

Write a function that given a point in the target (defined by its real cartesian coordinates x and y), returns the correct amount earned by a dart landing in that point.

The failures for linting don't seem to be coming from my changes.

Run composer lint:check
./vendor/bin/phpcs --standard=phpcs-php.xml ./exercises
file: D:\a\php\php\exercises\practice\hello-world.meta\example.php
file: D:\a\php\php\exercises\practice\hello-world\HelloWorld.php

Looks like the linting errors are coming from the changes made here https://github.com/exercism/php/pull/387

There are some linting errors involved due to the strict checking not being in the source file. Ideally I'd not have anything else in this file. Is there an easy way to skip the linting for this exercise (or at least the strict checking bit)?

#392 should fix the linting problem

Your additions look great, I'd like to merge #392 first, then if we can rebase on that to get the linting working for you to make sure that we aren't missing anything, that would be good.

Nice work. Merge plan: following #392's merge, rebase/merge main, then re-run CI

Rebase complete. Linter checks are passing.


[Sample] mb-message-producer sample fails :ballerina-0.970.0-beta1-SNAPSHOT

openjdk version "1.8.0_162"
ubuntu 16.04
mb-message-producer.bal
ballerina: main function not found in 'mb-message-producer.bal'
examples/mb-simple-topic-message-subscriber/mb-simple-topic-message-subscriber.bal
error: ballerina/jms/consumer.bal:31:5: this function must return a result
error: ballerina/mb/consumer.bal:34:5: this function must return a result
error: ballerina/mb/simple_queue_receiver.bal:89:5: this function must return a result
error: ballerina/mb/simple_durable_topic_subscriber.bal:88:5: this function must return a result
error: ballerina/mb/simple_topic_subscriber.bal:89:5: this function must return a result
compilation contains errors

This is fixed.

sample mb-message-producer seems to have been removed from the samples list


Add rangeHoverEffect parameter to sat-datepicker

This change is for those users who prefer to not have the mouseover effect when rangeMode is enabled.

This seems ok. I'll merge it at home this week. If I forget - ping me

@LeParadoxHD Please add an example to the examples, and I'll merge it

and to the readme

@SaturnTeam Added documentation on examples and readmes

@SaturnTeam When will 8.0.2 be available from the npm repository?

@LeParadoxHD  Sorry, I forgot to change version. Now it's ok


Use FLEx-defined word-forming characters to determine word boundaries for Searching

When searching by Whole word, word-forming characters as defined in the FLEx project should be used to determine word boundaries.
Search Results in Webonary: https://www.webonary.org/phuien?s=ba&search=Search&key=pug&pos=&semantic_domain=&search_options_set=1&match_whole_words=1&lang=en
The five entries marked with the red line do not match what was searched for as a whole word, since the hyphen is a word forming character, not punctuation.

In the FLEx project, the hyphen is clearly identified as a word-forming character:

@vernastutzman Currently FLex sends letter heads for each dictionary. Would that be a reliable way to determine word forming letters? Or do we need to ask FLex to send word forming letter list to the Webonary Cloud?

This is the alphabet from Webonary.
-,a,b,ɓ,c,ch,d,ɗ,e,ɛ,ɛ̃,f,g,gb,h,i,ĩ,ɩ,ɩ̃,j,k,kh,kp,l,m,n,ɲ,ŋ,ŋm,o,ɔ,ɔ̃,p,ph,r,s,t,th,u,ũ,ʋ,ʋ̃,v,w,,y,ƴ,z

The hyphen is clearly the first character. I'm not sure what the 4th character from the end is supposed to be. There isn't a font on my computer that has that code.
@hanatgit, does MongoDB support custom collations, or would this require creative regular expressions?

I tried searching the dictionary Verna linked to (but switching to .work) and searching for whole words doesn't produce any results. I tried baa and bana which have no accents. Searching for accented strings with "Match accents and tones" also produces no results when "match whole words" isn't checked e.g. bà.

It looks like it took care of the whole-word issue, but the initial attempt did not take into account diacritics


Please create a branch for Noetic version

Hi is fri is available for Noetic version if yes please update the branch here

hi, and sorry for the late response. I bevlieve the melodic branch runs for noetic, too


Enable ppc64le in echo-api

This PR enables ppc64le architecture in echo-api #211
Travis job is triggered for every PR submitted
Signed-off-by: Krishna Harsha Voora<EMAIL_ADDRESS>

Hi @unleashed - Request for your review ^^^

Looks good, I'll enable the Travis integration and check the test run.

This is the failed build log:
Bundle complete! 9 Gemfile dependencies, 19 gems now installed.

Use `bundle info [gemname]` to see where a bundled gem is installed.

10.04s$ .travis/build_${TRAVIS_CPU_ARCH}.sh

# Start Echo API

cd ..

bundle exec rackup --port 3000 --host <IP_ADDRESS> --env production &

# Sleep

sleep 10

configuration /home/travis/build/3scale/config.ru not found

# test Echo API

curl --fail http://<IP_ADDRESS>:3000/test

curl: (7) Failed to connect to <IP_ADDRESS> port 3000: Connection refused

The command ".travis/build_${TRAVIS_CPU_ARCH}.sh" exited with 7.

Done. Your build exited with 1.


Add lobbyHolder option to docker compose

Fairly self-explanatory, the option is in Configuration.js and config.example.json but not docker-compose.yml.
@Senither I think you know more about the bot that's used as the lobby holder so if you could update the readme with more info about it I think that would help avoid confusion :)

Thanks for the addition!
Regarding the lobby holder bot, it's not something that's actually managed or controlled by me in any way, Trouble Brewing at the time was approached by Lost in Space to use their lobby holder bot, all we needed to do was to add a command that would make it easy to actually join their lobbies, thus the lobby command was created, however, I'm not actually sure the command is even being used by the guild anymore, I'll ask them and if it is I'll add some additional information about the command, if they stopped using it I might as well remove the command entirely.


RFC: SSR tools

Hi guys!
I want to suggest a few additional methods for the Ractive's core which are very useful in SSR and isomorphic (universal) approach.
Wait:
/**
 * Add asynchronous value to waitings.
 *
 * @param {promise} value - Asynchronous value
 * @param {string} key - Optional key name in data object
 */
Ractive.prototype.wait = function(value, key) {};

Ready:
/**
 * This callback fired when all waitings resolved.
 * @callback readyCallback
 * @param {object} err
 * @param {object} data
 */

/**
 * Ready event fired when all waitings resolved.
 *
 * @param {readyCallback} callback - The callback that handles the event. (node style)
 * @returns {promise}
 */
Ractive.prototype.ready = function(callback) {};

How it works:
For example, we've multi-level components hierarchy and some of these components fetches data from the server (or make another async operations):
const User = Ractive.extend({
    data: () => ({
         user: null
    }),
    oninit: function() {
         fetch('/users/me').then(res => res.json()).then(user => this.set('user', user));
    }
});
const Products = Ractive.extend({
    data: () => ({
         products: []
    }),
    oninit: function() {
         fetch('/products').then(res => res.json()).then(products => this.set('products', products));
    }
});

const app = new Ractive({
     el: '#app',
     template: `<User /><Products />`,
     components: {
          User,
          Products
     }
});

On the client, we don't have any problems with this approach, because the client is fully asynchronous itself. Servers-side (nodejs) is also asynchronous, but to do SSR we need to make a decision when we need to halts and call toHTML() method.
if (NODE) {
     const html = app.toHTML();
     ....
}

In this example, if we call nodejs-specific code right after app creating we'll get empty html string because asynchronous operations most likely weren't executed yet. Also, we can't just use hacks like setTimeout() because it will only generate race conditions.
There are two competing solutions of this issue:
First, we can take out asynchronous operations from the components and make prefetch. Like we do it on PHP or other synchronous platforms. But to be isomorphic (universal) we also need to do this on client-side too. Which is not so good idea, I think, and also it's not the right JS-way.
The second way I suggest. A full code could look like:
const User = Ractive.extend({
    data: () => ({
         user: null
    }),
    oninit: function() {
         const user = fetch('/users/me').then(res => res.json()).then(user => this.set('user', user));

         // now we just say - wait for this operation, please.
         this.wait(user);
    }
});
const Products = Ractive.extend({
    data: () => ({
         products: []
    }),
    oninit: function() {
         const products = fetch('/products').then(res => res.json()).then(products => this.set('products', products));

          // if we doesn't need to wait some operation to do SSR - just don't add it to waitings.
          // this.wait(products);
    }
});

const app = new Ractive({
     el: '#app',
     template: `<User /><Products />`,
     components: {
          User,
          Products
     }
});

if (NODE) {
     // pass callback to handle when all waitings would be resolved and get html
     app.ready(function(err, data) {
            const html = this.toHTML();
            ....
     });
     // or use promise-style
     app.ready().then(...).catch(...);
}

This simple approach helps us to resolve not only this SSR issue, but it also resolves one more - double data fetching. When our js code init on the client it needs to decide whether there is a need to fetch data or data already was fetched on server-side. When our app asynchronous and has multi-level components hierarchy it's could be not so simple problem to solve. But we already solved this problem with these two methods, check it out:
// just pass the second parameter to wait() method to define the key name of this data
...
this.wait(user, 'user');
...
this.wait(products, 'products');
...
// after that, all these data will be available in structured look as the second parameter in the ready-callback:

app.ready(function(err, data) {
     console.log(data); // { User: { user: {} },  Products: { products: [] } }
     const html = this.toHTML();
     // somehow put this data to the result html, for example in window.__DATA__ object
});

It also awesome works with new {{#await /}} blocks, so full code could look like:
const User = Ractive.extend({
    template: `
         {{#await user}} Loading user...
         {{then data}} {{ data.username }}
         {{/await}}
    `,
    data: () => ({
         user: null
    }),
    oninit: function() {
         const user =<EMAIL_ADDRESS>||
                      fetch('/users/me').then(res => res.json());
         this.wait(user, 'user');
         this.set('user', user);
    }
});
const Products = Ractive.extend({
    template: `
         {{#await products}} Loading products...
         {{then data}}
                {{#each data}} {{ .title }} - {{ .price }} {{/each}}
         {{/await}}
    `,
    data: () => ({
         products: []
    }),
    oninit: function() {
         const products =<EMAIL_ADDRESS>||
                          fetch('/products').then(res => res.json());
         this.wait(products, 'products');
         this.set('products', products)
    }
});

const app = new Ractive({
     el: '#app',
     template: `<User /><Products />`,
     components: {
          User,
          Products
     }
});

if (NODE) {
     app.ready(function(err, data) {
            const html = this.toHTML();
            // somehow put this data to the result html, for example in window.__DATA__ object
            ....
     });
}

If these suggestions will be accepted, I can provide the pull request for these features. Actually, I already have that code as a separate module.
Expect your comments, thanks!

I also don't fully get this one. As far as SSR goes, I wonder why use a client lib for it instead of plain simple templating.
Besides of this, I think your examples introduce a lot of complexity because you fetch data within your components. IMHO that's the best way to make your components not reusable, to mix logic with templating and to make it harder to debug. Instead of this, it would be way easier to fetch data outside and render it once you got what you need, especially for SSR.
For client side rendering, just fetch it async and the content will be displayed when it's there, and you can display placeholders in the meantime using a dumb {{#if}}...{{else}}.

I also don't fully get this one. As far as SSR goes, I wonder why use a client lib for it instead of plain simple templating. But that's another topic.

This talk is not only about SSR itself, but more about an isomorphic approach which means using exactly the same code of the app on both sides - client and server. So, a key indicator of the good isomorphic app - quantity of the shared code between client and server sides. My current stable result is about 95% of the shared code. Other 5% includes server-side specific code (generally common for all my projects) and DOM related things. I believe it's an excellent result.

Besides of this, I think your examples introduce a lot of complexity because you fetch data within your components.

Hm, I'll try to explain. Basically, there're three types of the components:

Pure components  - simple components which depends only on input params (attributes/props/etc.) and contains only view level logic. That's what you talking about, but...
Autonomic components - complex components which implement some feature in "low coupling and single responsibility" way. Often, they also use pure components inside of themselves and contains specific top-level logic, fetches data, etc.
Wrapper components - not isolated components which are most often used to improve templates structure, passing params down through, etc.

Any type of components doesn't exclude others and all them should be applied in the right way and in place. A good example, I guess, is <Articles/> component which implements a list of the articles with filters, pagination, etc. and <Tags/> component which implements some list of the tags.
Key difference between them (1) complexity of components, (2) <Articles/> component has always the single data source (eg. api endpont /articles) which can be used with different params (eg. filters/page/etc.). There's no any sense to take out data-fetching outside of this component, it will only complicate interactions. A top-level component has to manage this component only using params (props/attributes). Not just to pass prepared data down.
Contrary to that, <Tags/>component able to has many data sources, eg. common tags-list or specific article tags, etc. So, we definitely need to take data-fetching out of him. Good that, tags basically are just an array of keywords and in most of the cases doesn't need to fetch them in a separate way. They can be a part of an article data or something.

IMHO that's the best way to make your components not reusable, to mix logic with templating and to make it harder to debug.

Why do you think so? Btw, it's even simpler, than reuse of pure components. Check this out:
// to simple reuse <articles/> I need just:
Ractive.components.articles = require('./components/article');

// and paste the html tag in my template in any place I need, that's it
<articles params="{{ params }}" />

// to reuse <tags/> I need to previously fetch the data in each place I use it:
Ractive.components.tags = require('./components/tags');

// first place
fetch('./tags').then(res => res.json()).then(tags => this.set({ tags }));

{{#if tags}}
<tags tags="{{ tags }}" />
{{/if}}

// second place
fetch('./article/1').then(res => res.json()).then(article => this.set({ article }));

{{#if article.tags}}
<tags tags="{{ article.tags }}" />
{{/if}}

I don't think that <Tags/> component easier to reuse than <Articles/> component in this case.

Instead of this, it would be way easier to fetch data outside and render it once you got what you need, especially for SSR.

Especially for SSR, your proposal the best way to make your code less isomorphic and the statement below only confirms it:

For client side rendering, just fetch it async and the content will be displayed when it's there, and you can display placeholders in the meantime using a dumb {{#if}}...{{else}}.

So, seems you suggest to prefetch the data for SSR and fetch data in an async-manner on the client? But for what purpose if it could be the same code? And why you think this approach would be way easier? Let's look, for example, you already have client-side async data fetching, alright?
// you're doing that somewhere you want

fetchArticles().then(articles => this.set({ articles }));
...
// other place
fetchTags().then(tags => this.set({ tags }));
...
// one more
fetchUser().then(user => this.set({ user }));

ok? So, to reuse this code on server-side in my approach you just need to update it like this:
// you're doing that somewhere you want

this.wait(fetchArticles().then(articles => this.set({ articles })));
...
// other place
this.wait(fetchTags().then(tags => this.set({ tags })));
...
// one more
this.wait(fetchUser().then(user => this.set({ user })));

It's not so complex aren't you? After that you'll be able to do SSR in ready() callback:

// somewhere in server-side specific code
...
r.ready(function(err, data) {
     const html = this.toHTML();
    const styles = this.toCSS();

      ....
      res.send();
});
...

You think it's more complex than write two separate data-fetching strategies, really? Sorry, but I don't think so.

I’ll publish SSR tools via Plugins soon.


autosave is messy, created new tab under content for all autosave versions

When bludit autosaves, it put it with the drafts and gets really messy and confusing. Sometimes don't know which version to use, and becomes a massive distraction in keeping things clean and clear.
Have a different tab with autosaves, as I only the auto-recover IF an issue occurs with the main save. It's just a backup for exceptional circumstances.
Create a separate tab for autosave, and provide a notification when autosave is the more recent version (or a comparison to show if the autosave is different to the main), so I can be sure which is the 'true' version I should go to.

Bludit Edition
Standard - Upgrade to Bludit PRO

Bludit Version
3.8.1

Bludit Codename
APA

Bludit Build Number
20190228

Hi,
I created a new type autosave and create a new tab Autosave which only appear if there are autosave pages.
Also I have in mind to remove automatically this autosave after 30 days, like expiration date.

Hi,
I close the issue, please take a look to the version 3.9 from Github with the new features, if you still have a problem feel free to open the issue.
Regards


[wallet-standard] Add deeplink feature

We want the ability to deeplink into different views in a wallet within dapps, and we think this is a generic enough use-case to warrant a new wallet standard feature. I don't have a solid idea quite yet about what the deeplinkable views are going to be, right now we just know staking is going to be one of them, but just putting this up to get early feedback.

I was wondering why promoting "deeplink" feature for now, cuz many wallets on Sui are chrome extensions rather than mobile apps, which deeplinking couldn't be used to.

Sorry I might not understand this at all, but could you walk me through a dapp / wallet flow with how deep-linking may work? Example:

User is on http://stake-now.com, and their chrome-wallet extension is connected
User clicks on 'stake with us' on stake-now
The user's wallet pops up, and goes into the deep-link route /stake/query?validator=stake%20now
The user is then looking at a screen that allows them to enter an amount of SUI, and push 'stake with stake-now.com'

Is this roughly the flow you were thinking of? Maybe I'm misunderstanding, but this assumes:

wallets have some internal page-routing system (a fair assumption)
all wallets use the same page-routing urls

maybe this is coupling the dapp and wallet's logic too closely? (In that the dapp needs to understand what views a wallet supports.) What problem are we trying to solve here?

@bruceeewong I imagine for chrome extensions this would be implemented similar to transaction signing, where the content script opens a popup. Although it's apparent to me that deeplink might be a confusing term here, maybe just sui:open or something like that. Open to suggestions!
@PaulFidika That's the basic flow, although those assumptions aren't quite right. The deeplink would probably look something more like this:
// Assuming we have a reference to some wallet adapter object:
wallet.deeplink({
  type: 'stake',
  args: {
    validator: '0xabc',
  }
});

This does make the assumption that wallets are able to route to specific pages after receiving this deeplink event. However, I think this is a pretty reasonable assumption, and does not depend on any single routing implementation.
For dapps, it doesn't tie that closely with wallets. We already have the mechanism to determine feature support, so the dapp would just need to see if the sui:deeplink feature exists (and disabling the button if it doesn't). The only thing that I'm iffy about is how to feature detect support for specific types of deeplinks (e.g. navigating to staking vs viewing an NFT). I think this could possible fallback to opening to the home page on the wallet, throwing an error, or maybe we could use feature versioning to express when new types are added (and use that to feature-detect if a specific page can be opened or not).
One alternative would be to separate out all of the possible deeplink locations into dedicated standard methods (e.g. sui:stake, sui:view). My main concern with that is it seems more annoying to implement new wallet standard features vs extending an existing one, and having a feature that mean "open the wallet to a specific page" seems generally useful.

Okay I see what you're saying. I like the general idea. I'd have to think about it some.
I think asking wallets to have to support a bunch of views might be a bit much. Building a staking-app into a wallet makes sense, but it might make more sense to simply allow wallets to open arbitrary url-dapps as an iframe. That way all the transaction-constructing-typescript code and UI is written by someone else, and can be re-used by any wallet as a url, rather than each wallet having to build their own stake-logic and stake-UI.
I guess this is kind of how the Solana Backpack wallet works?
I guess it also depends on what you consider to be in-scope for a Sui wallet. Wallets, at minimum, have to store private keys + simulate transactions + sign and submit transactions. Everything else (staking, NFT-display, coin-display) is an expansion of the wallet's scope.

Thanks for the feedback folks! We've decided to hold off on implementing something like this for now. If anyone is interested in pursuing a feature like this please feel free to open a PR or reach out!


Monaco won't populate script for existing tasks

Repro steps

Create a task
Edit the existing task

did you notice that it wasn't monaco?
FEATURE MATCHING


tcpdump package required for rpi version

hey there
back to your last comment in #39 "The users are not expected to install any missing packets;"
I removed tcpdump via apt-get purge and this message appears every second:
================================================================================
Time: 2020-01-02 20:10:06.080211
Function: <function sniff at 0x75910810> [] {'prn': <bound method PacketProcessor.process_packet of <packet_processor.PacketProcessor object at 0x759807f0>>, 'stop_filter': <function PacketCapture._capture_packets.<locals>.<lambda> at 0x73dea738>, 'filter': 'arp or (host not <IP_ADDRESS> and ether host b8:27:eb:4e:74:a1) or (port 67 or port 68)', 'timeout': 30}
Exception: tcpdump is not available. Cannot use filter !
Traceback (most recent call last):
  File "/root/princeton-iot-inspector/iot-inspector-client/v2-src/utils.py", line 246, in safe_run
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/scapy/sendrecv.py", line 972, in sniff
    sniffer._run(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/scapy/sendrecv.py", line 842, in _run
    *arg, **karg)] = iface
  File "/usr/local/lib/python3.7/dist-packages/scapy/arch/linux.py", line 475, in __init__
    attach_filter(self.ins, filter, iface)
  File "/usr/local/lib/python3.7/dist-packages/scapy/arch/linux.py", line 160, in attach_filter
    bp = compile_filter(bpf_filter, iface)
  File "/usr/local/lib/python3.7/dist-packages/scapy/arch/common.py", line 165, in compile_filter
    raise Scapy_Exception("tcpdump is not available. Cannot use filter !")
scapy.error.Scapy_Exception: tcpdump is not available. Cannot use filter !

It works with tcpdump installed, so it's not really a bug imho.

Thanks @ggmartins! Should be fixed. See commit.


getImageRatio in ls.parent-fit is broken as "RegExp.$1" is not working and is considered unofficial

First i want to say great work! this library is amasing.
I found out that the function in ls.parent-fit.js is using "RegExp.$1" and latest chrome that im using seams to dislike it, i found this regarding the unofficial thing https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/n
What i dide to fix this and get "getImageRatio" working was this:
var srcSetMatch = regDescriptors.exec(srcset)
if(!ratio && srcSetMatch){
    if(srcSetMatch[2] == 'w'){
        ratio = srcSetMatch[1] / srcSetMatch[3];
    } else {
        ratio = srcSetMatch[3] / srcSetMatch[1];
    }
}

@robgha01
Thx, I will change it.

I have fixed the code. But had no time to fully test it. Maybe you can also look into it.


HTTP headers are never sent with the HTTP Client API

When using the HTTP Client API from a JS plugin like this:
const task = {
  "userId":1,
  "id":2345,
  "title":"title",
  "completed":false
};
const request = {
  method: "POST",
  url: "https://jsonplaceholder.typicode.com/todos",
  headers: {
    "Accept": "application/json",
    "Content-Type": "application/json",
  },
};

const response = Http.request(
  request,
  JSON.stringify(task),
);

it appears that the headers were never sent, hence the target server not being able to parse the body correctly and creating an empty task.
This pull request fix this behavior

Thanks!


Guidance to youth that they're not at zero risk.

The youth have always fancied themselves immortal, and this is no exception. We need to better communicate the risks to them. There was an article about hospitalization rates being higher in young people and it had a simple graph, I think we should include it. But we need also to harness the power of story. Average young people who end up in ICU and worse.

Here's a 39YO infected with coronavirus giving her account from the ICU.

Here's another
A very simple age stratified mortality projection onto the age structure of Missouri highlights the fact that even though rates are much higher, younger person will contribute markedly to mortality. In addition relative to flu the risk ratio of death is probably 50 times in younger ages. Waiting for potential sources from Dr. Geng...
Someone should do some viz on this.

More support: https://www.bloomberg.com/news/articles/2020-03-19/coronavirus-in-young-people-is-it-dangerous-data-show-it-can-be

More around children: https://pediatrics.aappublications.org/content/pediatrics/early/2020/03/16/peds.2020-0702.full.pdf

One approach for addressing younger cohorts might be to concentrate of morbidities rather than mortality (which they, rightly, believe they are at low risk for). Any thoughts on that strategy?


Update Linea config

[x]  pausable contracts
[x] circuit not open source warning
[x] rpc

dw it’s on me


Add instrumentation handler to collector endpoints

Which problem is this PR solving?
Resolves #2264
Currently, we do not expose any HTTP metrics on any of the collector endpoints. This makes it harder to detect when the collector is having issues ingesting bad spans for example.
Short description of the changes
This change adds a metric that reports the duration of each request and adds HTTP status and path labels to it.
Those metrics do not include the collector's gRPC endpoints.

Should the codecov/patch check be passing? I can't see exactly the reason for it failing, but I'm guessing it's because of the code added in init functions, which aren't tested. Is this a problem?
Also, TestReload looks like a flaky one: for 274c17c it passed on my fork, but failed on this PR,

Looks nice. This doesn't (yet) add metrics to any existing endpoint, right?

It does - to collector's /api/v1/spans, /api/v2/spans and /api/traces endpoints


Arduino sensor traceback

Home Assistant release (hass --version):
0.15.0
Python release (python3 --version):
Python 3.4.2
Component/platform:
Arduino sensor
Description of problem:
I have installed an Arduino board with analog sensor and with the StandardFirmata software on a Raspberry Pi running the HA. The Arduino is tested and seems to work. When restarting Home-Assistant I get a traceback from “homeassistant/components/sensor/arduino.py" during the setup.
The sensor does not show up in HA “Current entities”.
Expected:
The Arduino sensor to be seen.
Problem-relevant configuration.yaml entries and steps to reproduce:
arduino:
  port: /dev/ttyACM0

sensor:
  - platform: yr
    monitored_conditions:
     - temperature
     - windSpeed
     - cloudiness

  - platform: time_date
    display_options:
      - 'date'
      - 'time'

  - platform: arduino
    pins:
    1:
      name: Remote
      type: analog

Check for port in Linux

pi@ha_server:~/.homeassistant $ ls /dev/ttyAC*
/dev/ttyACM0

Traceback (if applicable):
16-03-22 10:01:56 homeassistant.loader: Loaded sensor.arduino from homeassistant.components.sensor.arduino
16-03-22 10:01:56 homeassistant.components.sensor: Error while setting up platform arduino
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 95, in _setup_platform
    discovery_info)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/arduino.py", line 28, in setup_platform
    for pinnum, pin in pins.items():
AttributeError: 'NoneType' object has no attribute 'items'
16-03-22 10:01:56 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=sensor>

Additional info:

Format error in your configuration.yaml file. Should be
  - platform: arduino
    pins:
      1:
        name: Remote
        type: analog

as shown in the docs.


Visually represent winning team, & break team ties

Currently the only visual indicator of which team wins is the points total. Like with the Sole Survivor, I think the winning team should have some sort of indicator of winning. Also, ties are currently just ties, but the tiebreaker should be whoever has the highest-placing survivor on their team.

Done in https://github.com/mawilson/survivor_draft/pull/42


Document the trait extension behavior of Itertools a bit more clearly

Document the trait extension behavior of Itertools a bit more clearly.

Thanks!


Facebook Error

Hi!
I'm trying do implement the facebook Oauth but when I test it, I get a facebook error screen, like that:

I already tried logout of my device's facebook app and from mobile chrome and still get the same error.
Any idea what this error could be?

PS: The message says:
You still not entered. You're not connected to Facebook. Enter and try again.

Looks like you do not have your oauth_redirect url correctly configured in the Facebook dashboard or your app has not been set to public in the dashboard.

celomamp, você conseguiu resolver esse seu problema? estou com o mesmo. obrigado.


Add support for multiple mirror repositories

Merged manually and modified some behavior for more intuitive results.

Thanks for your contribution!


Update help message about --brokerType option

Proposed changes
This PR updates help message and documentation about --brokerType option.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[X] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update only documentation, not any source code.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[X] I have read the CONTRIBUTING doc
[ ] I have signed the CLA
[X] I have added tests that prove my fix is effective or that my feature works
[X] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
N/A

Coverage remained the same at 100.0% when pulling ae901c85ecd478849acd3537721fd7151840ada4 on fisuda:update/brokerType into 408bf9490ca0d83830a8231723347c66e7e56ee1 on lets-fiware:main.

@fgalan I updated help message and documentation about --brokerType option. Please give me your feedback.
$ ngsi broker add --help
NAME:
   ngsi broker add - add broker

USAGE:
   ngsi broker add [command options] [arguments...]

OPTIONS:
   --host value, -h value          host or alias
   --brokerHost value, -b value    specify context broker host
   --ngsiType value                specify NGSI type: v2 or ld
   --brokerType value              specify NGSI-LD broker type: orion-ld, scorpio or stellio
   --idmType value, -t value       specify token type
   --idmHost value, -m value       specify identity manager host
   --apiPath value, -a value       specify API path
   --username value, -U value      specify username
   --password value, -P value      specify password
   --clientId value, -I value      specify client id
   --clientSecret value, -S value  specify client secret
   --token value                   oauth token
   --service value, -s value       FIWARE Service
   --path value, -p value          FIWARE ServicePath
   --safeString value              use safe string (value: on/off)
   --help                          show help (default: false)

Thanks!

I think is a good improvement. Thanks!

Thank you for the feedback. Merged.


Not working on Raspberry Pi 3 Model B

I have followed all the instruction on https://github.com/Just-Some-Bots/MusicBot/wiki/Guide-for-Raspbian#1-dependencies, but it still doesn't work when I try to run on the last step.
I typed python3.5 run.py but its out put like this:
No module named 'aiohttp' Attempting to install dependencies...
It doesn't install the aiohttp stuff but it cancel its proccess. How to fix this

It might work if you try using sudo python3.5 run.py the first time you run it to install the dependancies.


Resnet Clarification

Hi,in the pytorch implementation of the resnet backbone i.e. pytorch\models\resnet_mtl.py , I noticed that the residual block as well as the resnet backbone is different from it's tensorflow counterpart. For example, the resnet block contains only 2 3x3 Conv filter. And The number of filters starts from 160, 320 and 640.  I'm sorry but can you please explain why is this different from its tensorflow version?
Thank you

Hi @JKDomoguen,
Thanks for your interest in our work.
The TensorFlow implementation is what we use for the experiments in the paper. The PyTorch implementation is based on FEAT. So we use the same network architecture (a 25-layer ResNet) as FEAT. If you hope to use the same network architecture (ResNet-12) as the main paper, we can change the network architecture following MetaOptNet.

Oh that explains it. Thank you very much for your time and really great work! Enjoyed reading both MTL and your recent NeuRIPS paper LST.


trigger() seems to have been deprecated - please document this and suggested replacement

When using trigger() in a logic app, run as consumption type, I get this error:
'The template language function 'triggers' is not supported by schema version '2016-06-01': the function is deprecated since version '2016-04-01-preview'. Please see https://aka.ms/logicexpressions for more details.'.
This seems to require some other function, but I can't even see that the trigger function has been deprecated, let alone the suggested replacement.

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

ID: 03aa9e88-7fa0-56ab-f794-58f0c37b6d7a
Version Independent ID: 25c5ef5c-6ba4-f5ff-f94b-8f2818ec2feb
Content: Reference guide for expression functions - Azure Logic Apps
Content Source: articles/logic-apps/workflow-definition-language-functions-reference.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

withdrawing - it looks like triggers() (plural) is what is deprecated.  Not mentioned on the page at all anymore.

@habeebtc
Thanks for your feedback! We will investigate and update as appropriate.

@habeebtc Thanks for the confirmation. Yes trigger() should be working as expected and in your case, you were using triggers() as per the error message that you have shared.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


ydb filer store

https://github.com/chrislusf/seaweedfs/issues/2942

@chrislusf  Checked filer starts here

@chrislusf  I'm done, all tests passed except https://github.com/chrislusf/seaweedfs/issues/3011

you may need to add one empty file to the ydb folder, to ensure compilation when "ydb" tag is not defined.

you may need to add one empty file to the ydb folder, to ensure compilation when "ydb" tag is not defined.

done

Thanks! Please add it to the wiki also. https://github.com/chrislusf/seaweedfs/wiki/Filer-Stores

add some tests

done https://github.com/chrislusf/seaweedfs/pull/3043


Bit:bot neopixel and bluetooth packages can't be installed

https://makecode.microbit.org wont allow all three packages to be installed.

They are not compatible due to timing issues. @jaustin Can you please elaborate?

Unfortunately the Bluetooth Radio needs very precise timing and so does the Neopixel library. In order to program the neopixels we have to do disable interrupts, which means that the bluetooth stack can't guarantee it will meet the timing requirements it has. If the bluetooth stack interrupts the neopixel code, that can also cause flickering.
One workaround is to use a version of the neopixel library that allows those interruptions, but doesn't guarantee there won't be glitches in either bluetooth performance, or neopixel driving - like this one here https://github.com/LaboratoryForPlayfulComputation/pxt-neopixel-bluetoothallowed
Because that's not guaranteed to work smoothly we don't support that kind of package, I'm afraid.


Update dependencies

This brings back improvements made in a client project.
From the changelog:
Added

Add option to allow/disallow site indexation
Add error handling in the apollo-client stack

Changed

Improve locale lazy loading
Improve Prettier, eslint and template-lint configurations
Update ember-cli-code-coverage to use the real repository instead of our fork
Improve code coverage check by replacing nyc with own script
Update typings for a few packages

Removed

Remove <link preload> since it didn’t play well with SRI

🦀 Requesting reviewers for this pull request:

@remi (contributor with 1 commits in the last 90 days and 64 commits overall)

I’ll merge even if the build doesn’t pass, the failing bit is code coverage for a file I’m going to remove in the next PR 😄


Support different log levels

Support different log levels. Make a debug level that is verbose (logs headers & params) and trim the info level a bit further (remove params).

https://github.com/bleacherreport/plug_logger_json/pull/7

Added in 0.3.0


Feature Request: Pinned message

Similar to other chat tools like Slack or Discord, it'd greatly improve workflow for a lot of teams to be able to pin messages within a topic or stream.

@kenokenobingo Our current priority in this space is to implement pinned topics (#19483). Would this address your use case? If not, could you say more about how you would use pinned messages?

@alya Thank you, this sounds great! A small idea: Maybe it'd be great to have another UI element to show the pinned elements, as it's done in Discord.

More discussion here: https://chat.zulip.org/#narrow/stream/101-design/topic/pinned.20message

See https://github.com/zulip/zulip/issues/19483#issuecomment-2254145547 for a related suggestion.


Missing j2 templates for "IsAnalytics-Publisher-wso2event-AuthenticationData.xml" and "IsAnalytics-Publisher-wso2event-SessionData.xml"

Purpose: Configure Event Publishers
So here it required, Configure the login analytics and session analytics using the following files.
Login analytics: <IS_HOME>/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-AuthenticationData.xml
Session analytics: <IS_HOME>/repository/deployment/server/eventpublishers/IsAnalytics-Publisher-wso2event-SessionData.xml
Those files don't have j2 templates.
Ref: https://is.docs.wso2.com/en/5.9.0/learn/prerequisites-to-publish-statistics/

Duplicate of https://github.com/wso2/product-is/issues/6443


Why does the caf profile inherit from Information Entity rather than Study Result?

The root class of this profile is called CohortAlleleFrequency, and looks to be a StudyResult. But it inherits from the core-im InformationEntity class, rather than the `StudyResult' class. Can we fix this?
If there are concerns about inheritance of some of the properties defined on StudyResult in the core IM (e.g. there are too many ones that are not applicable) we should consider solutions that are able to maintain the correct/intended hierarchy of classes (e.g. deriving a core-im slim part of the profiling process)
Also can we name the root class it accordingly, as CohortAlleleFrequencyStudyResult' - so we clearly indicate how it relates to / extends the Core IM. This IMO is an important principle to follow in standard` profiles, like this caf profile (but does not have to be followed in implementation profiles if you don’t want).

It should inherit from StudyResult. This is outstanding work that I need to do. I will use this ticket as my assignment to get this work completed.
I do not agree with making the class name longer by appending the name of the parent class to the end. We can discuss this again, but if we do this here then we should go throughout all of GKS products and do it everywhere which will create a considerable amount of work for what is very little value IMO.

Thanks for fixing the inheritance of the CAF class Larry. There are other alignment issues to address for the CAF profile, as documented in tickets field, and my comments in the file here. But we will get to these soon
As for the value added by using more informative names on specialized class and property names in profiles (e.g. Statement --> VariantPathogenicityStatement, not VariantPathogenicity) - you know that I have a different opinion here which I have detailed this previously and won't get into here.
I will however comment on the concern about the amount of work implementing this convention would require, by pointing out that IMO this would be applied only for a few classes/properties created through the VA profiling process.  Specifically,  Statement class or SPOQ property specializations created in a profile (or analogous properties if it is a StudyResult properties).
These naming conventions do not need to be followed for most non-SPOQ properties, or applied in other GKS specifications where profiling is not done. So there is really not much retroactive work to be done (by my count, we are just talking about adding an extra word to the names of one class name and four property names in the Var Path profile, and to one class name and three property names in the caf profile). It is more about setting this precedent going forward.

Thank you @mbrush. Your file and points above will all be included in the work I am doing to lift over CAF.

@mbrush please review the revised CohortAlleleFrequencyStudyResult standard profile.  I believe this should cover most if not everything from above. If there are any remaining issues, let's make a separate ticket and close this one as a reference.


Incorrect subarray corners for NIRISS SUBSTRIP256 and SUBSTRIP96 in SCI frame?

Hi, I am using pysiaf to predict the contamination of traces in slitless spectroscopy but the NIRISS SOSS subarray corners are much larger than the actual subarray sizes.
When I do:
import pysiaf
siaf = pysiaf.Siaf('NIRISS')
sub96 = siaf.apertures['NIS_SUBSTRIP96']
sub256 = siaf.apertures['NIS_SUBSTRIP256']
print(sub96.corners('sci'), sub256.corners('sci'))

I get ([0.5, 2098.5 2098.5, 0.5], [0.5, 0.5, 317.5, 317.5]) and  ([0.5, 2098.5, 2098.5, 0.5], [0.5, 0.5, 477.5, 477.5]). Shouldn't the dimensions be 2048 x 96 and 2048 x 256 or am I misunderstanding something about what this method is returning?
Here are two plots that show the correct size traces in their correct positions on top of the FULL (grey shaded region) and subarray (blue shaded region) boxes given by pysiaf. Note the FULL frame box is the size I would expect at 2048x2048.
Any clarification would be greatly appreciated. Thanks!

If you look here: https://github.com/spacetelescope/pysiaf/blob/master/pysiaf/source_data/NIRISS/niriss_siaf_aperture_definition.txt#L35 you'll see that the Ysize of those apertures is actually the one that pysiaf is showing.
I think these apertures might have a slightly different meaning than simply being the subarray footprint of the observations. Possibly they are APT/Aladdin visualization apertures, or are kept bigger for other reasons (e.g. the direct image falls within them? I am not a NIRISS expert). That does still make it possible for the underlying commanded subarray to be of 96/256 size. But I'd ask @goudfroo for definite words on this

The footprint of these two apertures in the SIAF indicates the part of the sky within which a (part of a) star's spectrum (with the GR700XD grism) will be projected onto the associated subarray. (The SIAF footprint of those apertures is larger in Science Y than the footprint of the associated subarray because of the order separation in Science Y.)

Awesome, thanks!


Navbar icon not working on mobile

Click the icon
Nothing happens

On desktop the icon redirects to landing page.

Fixed in #73


Fix for issue #89

Change required because of this update to the supervisor:
https://github.com/home-assistant/supervisor/pull/3695
Fixes:
https://github.com/thomasmauerer/hassio-addons/issues/89

Thanks. The new solution works for Supervisor < 2022.06 as well.
I'm struggling a bit with the new base images due to s6-overlay v3, but I will release an update soon.


Give Fields access to the Form and the Model

I will come up with better PR's soon, but I need a crashcourse for that first.
I have some extended form fields, where I want to do more with a Model then only write a value to the column. like setting other values based upon the submission, and this needs to be done before a value is set on a model.
There is a lot of flexiblilty if we could have access to the Form and Model in the Form Fields and can be done pretty easy to add this to the forms:

Make model public :

    /**
     * @return Model
     */
    public function model()
    {
        return $this->model;
    }

pass the Form object to the form fields :

    /**
     * @param Field $field
     *
     * @return $this
     */
    public function pushField(Field $field)
    {
        $field->setForm($this);

        $this->builder->fields()->push($field);

        return $this;
    }

and change the line in __call()
$this->builder->fields()->push($element);

to this :
$this->pushField($element);

@axyr It doesn't work...

@lyd600lty could be.. this suggestion is a year old...


[Toolkit bug]: Lights have very high default Intensity

Contact Details (Optional)
<EMAIL_ADDRESS>Describe the bug
In the RTX Remix Toolkit when creating new lights the default intesnsity is 30,000. This value appears to have come from USD composer and is not a suitable value in RTX Remix from my Exporience
How do you reproduce the bug?

Open a Project in the RTX Remix Toolkit
Add a stage light under a mesh

What is the expected behavior?
The light should have a intensity value around 100 which is a much more suitable value for remix
Version
2024.1.1

JIRA Ticket: REMIX-2722

Done. Please check the last version of the app.


enhancement of presence module

allow to update presence
add presenceStatus to state
add userStatus to state
add message to state

Coverage decreased (-0.2%) to 38.705% when pulling df8c3103bffa24b749054f572f028385f89597b4 on embbnux:feature-presence into 63f7579e56e87b8e7a0ec4f6ba1f2dcae9a022c4 on ringcentral:master.

Coverage decreased (-0.2%) to 38.72% when pulling f17f80c02479e74508b0ce0ffa9d49d94d6434df on embbnux:feature-presence into 63f7579e56e87b8e7a0ec4f6ba1f2dcae9a022c4 on ringcentral:master.

Coverage decreased (-0.2%) to 38.756% when pulling b3f01c73a097e388cbf0e3d7b822ca23f97afd52 on embbnux:feature-presence into 63f7579e56e87b8e7a0ec4f6ba1f2dcae9a022c4 on ringcentral:master.

Coverage decreased (-0.2%) to 38.741% when pulling 945cb3101e1618f668204d32f45ac6dcdcfaca51 on embbnux:feature-presence into 63f7579e56e87b8e7a0ec4f6ba1f2dcae9a022c4 on ringcentral:master.

Coverage decreased (-0.2%) to 38.756% when pulling a612c90797898bf3f031cd70e1a2935708dc98f4 on embbnux:feature-presence into 63f7579e56e87b8e7a0ec4f6ba1f2dcae9a022c4 on ringcentral:master.

Coverage decreased (-0.8%) to 38.101% when pulling 9dbc9bfe86d85cf68ee482f96897b38166ebddf2 on embbnux:feature-presence into 63f7579e56e87b8e7a0ec4f6ba1f2dcae9a022c4 on ringcentral:master.


Reaction is not showing up in group.

Describe the bug
Reaction is not showing up in group.
When I am leaving reaction in group chat, not all chat participants can see it. To be more specific, the person who left the comment and I reacted to that comment with Baileys, so that person will not see my reaction. Other participants will see that reaction. How to fix that?
To Reproduce
Steps to reproduce the behavior:

Created a new connection
Leave a reply with Baileys in group chat for message, left by any other chat participant.
Anyone in chat can see that reaction, except the message owner. The message owner will not see reaction

Expected behavior
Anyone in chat can see that reaction i left with Baileys.
Environment (please complete the following information):

Is this on a server?
local and server, both

What do your connectOptions look like?

        version: whatsappVersion,
        logger: logger,
        auth: {
            creds: state.creds,
            keys: makeCacheableSignalKeyStore(state.keys, logger),
        },
        mediaCache: new NodeCache({stdTTL: 3600, checkperiod: 120, useClones: false}),
        printQRInTerminal: false,
        browser: [wsPk, 'Chrome', '8.0.0'],  // use browser like user agent
        markOnlineOnConnect: false,
    })

Do you have multiple clients on the same IP?
yes

Are you using a proxy?
no

** Extra context **
This problem is related only for group chats. private, on-to-ones are not touched.

Can you put your code here


Use Umami on Google AMP pages

Hello,
Thank you for Umami.
I'm trying to make it work on Google AMP pages, using the POST API and the guide at https://amp.dev/documentation/components/amp-analytics/
Here is the code I'm using:
<amp-analytics id="umami">
    <script type="application/json">
        {
            "requests": {
                "event": "https://u.my-domain.com/api/collect"
            },
            "extraUrlParams": {
                "payload": {
                    "website": "43c3af03-b54a-4b60-87d4-c599289XXXX",
                    "url": "${sourceUrl}",
                    "referrer": "${documentReferrer}",
                    "hostname": "my-domain.com",
                    "language": "en-US",
                    "screen": "1920x1080"
                }
            },
            "triggers": {
                "trackPageview": {
                    "on": "visible",
                    "request": "event",
                    "extraUrlParams": {
                        "type": "pageview"
                    }
                }
            },
            "transport": {
                "beacon": true,
                "xhrpost": true,
                "image": false,
                "useBody": true
            }
        }
    </script>
</amp-analytics>

This code unfortunately triggers the following error in the browser "Failed to load resource: the server responded with a status of 500 ()". On the server, there is nothing logged in the error log, so I'm left wondering.
Would someone have any clue ?
Thanks

I have narrowed the issue down.
With Google AMP pages, when using the "amp-analytics" component, the request header Content-Type is set to text/plain. It's done on purpose as explained here: https://github.com/ampproject/amphtml/issues/22167
Umami returns a 500 error code when the request header Content-Type is not set to application/json.
Solution 1: I can write my own proxy to call the Umami API as intended.
Solution 2: An adjustment can be made in Umami, in order to support the use case of tracking AMP pages ?
Thanks !


On self-destruct, delete user's workflows and tools

#1697

Coverage increased (+0.1%) to 68.515% when pulling 2ad3b2e193c9814b3668f472f73ea49b6364e0f7 on feature/1697/selfdestructcleanup into 649cad4bfb11b7dadb2b954d712fb9b522c2eb69 on develop.


pivot table limited to 2 dimensions per axis

Hi,
Neat possibility with pivot table is mapping many dimensions.
It seems GW is now restricted to 2 dimensions per channel: this is reasonable for Vega charts, but the pivot table can be more flexible.
This used to be the case e.g. in my image in https://github.com/Kanaries/graphic-walker/issues/115 , where I have 3 dimensions mapped to Y axis. I can no longer reproduce this using https://graphic-walker.kanaries.net/
Perhaps the dimension limit should be conditional on chart type, and then this will work, or do you think the restriction was introduced for a different reason?
Related #329
Thanks!
Declan

Hi @declann , it indeed is a bug of graphic-walker, pivot-table should contains dimension limitation. The bug will be fixed this week in version 0.4.56

Thanks Elwynn!


Fix formatting issues in BBE

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #20971 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20971   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1398     1398
  Branches      214      214
=======================================
  Hits          204      204
  Misses       1178     1178
  Partials       16       16

Continue to review full report at Codecov.

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


Styling issue after adding the Autocomplete Input.

I have successfully implemented the Autocomplete input. But After adding the autocomplete text input, all other texts and buttons below the Autocomplete text input is moved to the end of the screen. When I tried by removing the Autocomplete Input from render, those texts and buttons are back to their normal position.
Any ideas will be really helpful for me to overcome this issue ?

Same issue here..did you find any solution?

@impradeepsaini Yes I have fixed it by adding a separate view for the autocomplete text input with styles as mentioned in the document android section. It was clearly mentioned in the document android section and I have missed to have a look at first. I have read it again and again then fixed it by adding a separate  view for the autocomplete text input.
FOR EXAMPLE:

Any Texts..

styles
autocompleteView: {
flex: 1,
left: 0,
position: 'absolute',
right: 0,
top: 20,
zIndex: 1
}
Hope it will fix it for you too...


[Bug]: Syntax tree visualizer crashes when declaring a RegExp

Description
$subject

Affected Version(s)
2201.4.0-SNAPSHOT - Master
Related area
-> Editor

This is fixed now.


CONTRIBUTING.md not updated according to location of static assets

Requirement - what kind of business use case are you trying to solve?

Installation steps of jaeger-ui, while running inside jaeger.
Problem - what in Jaeger blocks you from solving the requirement?

Command mentioned in CONTRIBUTING.md is not updated.

Proposal - what do you suggest to solve the problem or improve the existing situation?

In CONTRIBUTING.md, the command should be go run ./cmd/all-in-one/main.go --query.static-files jaeger-ui/packages/jaeger-ui/build

I do not believe it is necessary. make build-ui command packages UI assets into Go binary directly

Sorry, issue was in my go installation. I did not set the path for $GOPATH/bin. Also, this step is not mentioned in steps, should I add?

I have some changes for the above and opened a pull request for the corresponding issue

@meha725 I am not seeing a pull request, only some commits referencing the issue.
The step of adding $GOPATH/bin to PATH is part of standard Go toolchain installation. But I have no objections mentioning it in the instructions.
I am going to close this as it's mostly a duplicate of #1834. If you find omissions in the instructions, I recommend (a) making a note in a comment to #1834, and (b) opening a pull request to fix it.


Error on askpass.exe

I'm running Windows 10, PowerShell 5, and I get the following when I try to push to GitHub.
project branch $ git push
error: unable to read askpass response from 'C:\Users\username\appdata\local\scoop\apps\pshazz\0.2014.11.25\libexec\askpass.exe'

Let me know if there's anything else I can provide to help with troubleshooting.

askpass seems like it is in a broken state to me. Pshazz isn't loading ssh-agent at PS launch for me nor does ssh even try to use private key login it seems like ever since the last update I did a few weeks ago.

Got the same problem. Executing askpass.exe gives me also this:
Resize master = $ askpass

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at askpass.Program.Main(String[] args)

askpass.exe is only really expecting to be called by sshagent (by setting the $env:SSH_ASKPASS variable)—so it's expecting ssh_agent to call it with a first argument like "Enter passphrase for [username]". (source code for askpass.exe here)
So the IndexOutOfRangeException shouldn't really be a problem if ssh_agent is hooked up correctly, so maybe the problem is elsewhere.
Is ssh being loaded by your theme?

Hey, I get the same error message - these programs are installed in powershell (with scoop)
7zip (15.14)
concfg (0.2016.01.25)
coreutils (5.97.3)
curl (7.46.0)
go (1.6)
grep (2.5.4)
less (394)
nodejs (5.6.0)
openssh (5.4p1-1)
pshazz (0.2015.11.13)
sed (4.2.1)
sudo (0.2014.07.18)
vim (7.4)
Is there any conflicts that i should be aware of?

Same problem as @philschonholzer. To exclude conflicts from @ionTea, I only have concfg installed.
Installed apps:
  concfg 0.2018.5.27

scoop install pshazz

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at askpass.Program.Main(String[] args)

uninstall optional feature OpennSSH client helps solve issue -> powershell start to use ssh installed with scoop

@smeijer I'm having the same issue, check this: https://github.com/lukesampson/scoop/issues/2268#issuecomment-416078162

is there a fix for this ?

If anyone want to avoid the problem temporarily, you could remove askpass.exe from ssh.ps1 plugin but keep other functionality, like ssh.ps1. Then put it into %USERPROFILE%\pshazz\plugins.

Having the same problem with askpass.exe, I decided to use this SSH config as a work around:
CLI: StrictHostKeyChecking=accept-new
Config: StrictHostKeyChecking accept-new
I don't want to disable host key checking, and this is a bit of a compromise. It'll cause ssh accept new keys automatically but won't accept a host key that has changed.

@jwhipp where do you put those configuration options?

@superdump
Here's how to use it:
On the command line:
ssh -o StrictHostKeyChecking=accept-new user@host
In the config ~.ssh\config:
Host *
    StrictHostKeyChecking accept-new

I just tossed it in the ~.ssh\config.


python3 infer-seg.py --engine yolov8n-seg.engine --imgs data, without any objects

1> Jetson AGX Orin / trt <IP_ADDRESS>
2> python3 build.py --weights weights/yolov8n-seg.onnx --device cuda:0 --seg, error log:
[08/31/2023-09:27:20] [TRT] [W] If this is not the desired behavior, please modify the weights or retrain with regularization to reduce the magnitude of the weights.
[08/31/2023-09:27:20] [TRT] [W] Weights [name=Conv_277.weight] had the following issues when converted to FP16:
[08/31/2023-09:27:20] [TRT] [W]  - Subnormal FP16 values detected.
[08/31/2023-09:27:20] [TRT] [W] If this is not the desired behavior, please modify the weights or retrain with regularization to reduce the magnitude of the weights.
[08/31/2023-09:27:20] [TRT] [W] Weights [name=Conv_284.weight] had the following issues when converted to FP16:
[08/31/2023-09:27:20] [TRT] [W]  - Subnormal FP16 values detected.
[08/31/2023-09:27:20] [TRT] [W] If this is not the desired behavior, please modify the weights or retrain with regularization to reduce the magnitude of the weights.
[08/31/2023-09:27:20] [TRT] [W] The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
[08/31/2023-09:27:20] [TRT] [W] The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
[08/31/2023-09:27:20] [TRT] [W] Build tensorrt engine finish.
3>  python3 infer-seg.py --engine yolov8n-seg.engine --imgs data, without any objects, log:
/home/nvidia/YOLOv8-TensorRT/data/bus.jpg: no object!

Maybe you can export onnx in your pc first, and copy it to jetson then convert it to engine.


Update TaskGroup iterator semantics to match proposal

This modifies TaskGroup.Iterator so that it doesn't continue returning elements after throwing, as pitched as a change to the AsyncSequence proposal. This is a more restricted behavior than TaskGroup.next(), which keeps returning elements or throwing errors until all tasks have been consumed.

Excellent, looks good to me 👍

This is a more restricted behavior than TaskGroup.next(), which keeps returning elements or throwing errors until all tasks have been consumed.

Perfect, this is the right tradeoff between the iterator and group.next 👍

I was reworking how groups are implemented based on SE feedback and included your change: https://github.com/apple/swift/pull/36602 (since it'll conflict terribly otherwise).

Thanks, @ktoso!