[BC-Breaking] Default to native complex type when returning raw spect…

…rogram
As planed in https://github.com/pytorch/audio/issues/1337

This code changes the return type of spectrogram to be native complex dtype,
when (and only when) returning raw (complex-valued) spectrogram.
Change return_complex=False to return_complex=True in spectrogram ops.
return_complex is only effective when power is None. It is ignored for
cases where power is not None. Because the returned Tensor is power spectrogram,
which is real-valued Tensors.

maybe we should create a bc-breaking label for torchaudio? Worth preemptively adding a bc-breaking note that would go in the release notes.

return_complex is only effective when power is None. It is ignored for
cases where power is not None. Because the returned Tensor is power spectrogram,
which is real-valued Tensors.

should this go in the doc?

maybe we should create a bc-breaking label for torchaudio? Worth preemptively adding a bc-breaking note that would go in the release notes.

Yeah, we can do that. Currently we track it with [BC-Breaking] tag. We do have section about BC-breaking in release note. We correct them manually at release time.

return_complex is only effective when power is None. It is ignored for
cases where power is not None. Because the returned Tensor is power spectrogram,
which is real-valued Tensors.

should this go in docs as a note?

It kind of does, but let me update.
https://github.com/pytorch/audio/blob/f2a4aac0cc19ebfc296073bb309d4346b70862c9/torchaudio/functional/functional.py#L79


Bad request exception message format

Currently, the starter kit returns a bad request exception(400) message details in the following pattern.
"message": [
    "name must be a string",
    "name should not be empty",
    "email must be an email",
    "email should not be empty"
],

There is no specification of the field for which the error has occurred. Then how would the frontend know in which field the error message should be displayed? How about returning the error messages like this? Or any better format?
"message": {
    "name": [
        "name must be a string",
        "name should not be empty",
    ],
    "email": [
        "email must be an email",
        "email should not be empty",
    ]
}

This format is more generic imo
{
   "message":[
      {
         "key":"name",
         "error":[
            "name must be a string",
            "name should not be empty"
         ]
      },
      {
         "key":"email",
         "error":[
            "email must be an email",
            "email should not be empty"
         ]
      }
   ]
}


Fix sidebar color usage

Short description

Super tiny PR: I just noticed that we were using "absolute" color values for the sidebar-blue. Changed it the closes tailwind blue.
As a side note: Should we change the primary color to the same blue? I think this only affects some buttons, but I am starting to think that the yellow is a bit distracting (esp. in dark mode), and it could be one color less...
Proposed changes

Side effects

Resolved issues

Fixes: #

Agree, there's a little bit inconsistent with buttons, I think you can change if you want. I will just approve as the PR will not affect any functionality.

Alright, I'll open a separate PR.


Fixup/v0.1.0 4

During usage of this library in the SmartThings sonos edge driver, @dljsjr discovered a few fixes that were needed for the library to work properly for that use case. This PR is upstreaming those changes:

An api was needed for creating a WebSocket table from an already connected socket f693866ecd5449e6cd7c264b34c79f1c1ddc369f
A timeout was needed when sending the close frame to prevent blocking f693866ecd5449e6cd7c264b34c79f1c1ddc369f
Extra headers were not being sent during handshakes a26532d7c6f7358b58fd1b989642ce2e8d365928
Debug logging needed to be silenced.

Some guidance on getting this change deployed would be helpful. I assume I will need to add a new .rockspec file for the next version, but I am not sure what else should be done, and if it should be done in this PR or in a separate PR.


Added Bengali Language, Upgraded example project to AndroidX

Added the Bengali language in the locale
The example project used old android embedding, now it has been upgraded

Thank you so much for your contribution ☺


DeepPartialOrNullable type?

I was looking for a type like this but wasn't able to find it. Perhaps I missed it?
Anyway, it would turn all properties (nested deeply) to allow for null | undefined. I have need for a type like that in my project. Thanks!

does that work? :smiley:
type DeepPartialOrNullable<T> = DeepPartial<DeepNullable<T>>`

Thanks, easy and exactly what I needed! My first attempt using DeepPartial<T> | DeepNullable<T> failed spectacularly. :)

Just a little more follow up on this.
type DeepPartialOrNullable<T> = DeepPartial<DeepNullable<T>>

Did not work in my case, but:
type DeepPartialOrNullable<T> = DeepNullable<DeepPartial<T>>

did work. In the first case, this gives a compilation error:
export type DeepPartialOrNull<T> = DeepPartial<DeepNullable<T>>;

declare interface X {
    y: {[key:string] : Y}
}

declare interface Y {
    z: string;
}

const test : DeepPartialOrNull<X> = {
    y: {
        z: null
    }
}

error: error TS2322: Type '{ z: null; }' is not assignable to type '{ [x: string]: { z?: string | null | undefined; } | undefined; }'.   Property 'z' is incompatible with index signature.     Type 'null' is not assignable to type '{ z?: string | null | undefined; } | undefined'.
Switching it around it compiles fine. Don't ask me why.

Probably some implementation detail, let's ignore this unless it causes problems later.
Glad you've worked this out, I'll close the issue for now :)

Just as a side note: IMO using both null and undefined in your codebase is an antipattern. Pick one and stick to it (and probably it should be undefined).

Yes close for sure. The use case is using deepmerge`` (https://www.npmjs.com/package/deepmerge). To delete a key when merging, we need to set the key value to undefined. But since what we're merging comes from serialized JSON, and JSON values cannot be undefined-- but they can benull` -- we need the model to support both. thx


Make it possible for Datadog APM to ignore resources

Make it possible to configure resources that shall be ignored by Datadog APM. The Datadog agent configuration allows this but the Terraform module doesn't.

Perform testing in Winningtemp environment after TF modules has been upgraded to 2022.12.3


update hyrax-autopopulation to include commit that adds the doi of works that are not open access to rejected_doi_list when autopopulating works

Also contains code using RSolr.escape to escape special characters eg ( ) in doi before queryng against Solr to avoid Solr Bad Request error.

Message from @mankind regarding this PR:

The two main changes the PR added in Hyrax-Autopopulation and we want to pull into HykuAddons are:

It adds the doi of works that are not open access to the rejected_doi_list when auto-populating works. Before this PR  the only way to reject a doi is by checking the box in the UI and clicking the reject button which puts the doi of a work that is open access to the rejected doi and deletes that open access work. This PR puts the doi of non open access work to the reject list too behind the scene without admins doing anything.
We used the rejected_doi_list to avoid auto-populating works with that doi if another person adds them again or if the admin tries to re-scan orcid again which will pull in all doi's in the various works in that orcid id again.

The PR also contains code using RSolr.escape to escape special characters e.g. '( )',  in doi before querying against Solr to avoid Solr Bad Request error.


Hangs on 'hg' type repo.

To reproduce:
git clone https://github.com/DataDog/datadog-agent
cd datadog-agent
git checkout 155fddb3547919bd54530dfdb250e0cb2defae7d
dep2nix

It will hang on:
Found 124 projects to process.
* Processing: "bitbucket.org/ww/goautoneg"

I think it's invoking ssh in the background (using git?), although it's a hg repo.

@domenkozar we could create a fallback for a failed git clone where we just try hg.
@CrushedPixel do you want to implement that?

We shouldn't just use hg as a fallback - dep provides us with information about the VCS type of a dependency. I'll investigate.

Support for Mercurial repositories was added in 74cc4546fd0c09620089c5d474e73a85a852425a.
Note that you need to have mercurial and nix-prefetch-hg installed on your nixos machine!
If you don't have mercurial, the will just hang on the respective repository (this is an issue with godep which does not properly handle a missing hg command), and if you don't have  nix-prefetch-hg it won't be able to fetch the hash for the given dependency.
@qknight and I will soon force mercurial and nix-prefetch-hg as dependencies.
Please confirm if hg repositories now work for you and close the issue, if so :)

@CrushedPixel please check https://github.com/nixcloud/dep2nix/commit/2dfae9e448abb6412d4747bc3d1f884ccf27357c

Works with 383275fcb416e78669abab2b9ef2b1e158ba4e75.


github-desktop: 3.1.1 -> 3.2.1

Description of changes
Updated github-desktop to 3.2.1.
https://github.com/desktop/desktop/releases/tag/release-3.2.1
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Closes #225052


I can not use this files because DB in login is wrong

I try your repository and I can not login.... why??

on clicking the Login or Register links i am getting Not Found
The requested URL.../register was not found on this server.
please help

Hi,
Have you run Composer install and then composer update because it should
work the url. Let me know if you fix the issue.
Kind regards,
Egzon
On Sun, Aug 18, 2019 at 6:59 PM Dr. Juma Lungo<EMAIL_ADDRESS>wrote:

on clicking the Login or Register links i am getting Not Found
The requested URL.../register was not found on this server.
please help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EgHoxhaj/laravel-admin-dashboard/issues/2?email_source=notifications&email_token=AEUJ2KOCIOASJ6DWHBTU66TQFF5XRA5CNFSM4H476GHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RD6BY#issuecomment-522338055,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEUJ2KJHPS35R3WGSPC44G3QFF5XRANCNFSM4H476GHA
.

--
Sinqerisht,
Egzon Hoxhaj|Software Developer*|* Address: Rr. Ismail Dumoshi, Prishtinë,
Kosovë*|E-mail<EMAIL_ADDRESS>eg.hoxhaj|Tel:+383 45 611
873 <+377%2045%20611%20873>|* Tel: +383 49 611 131 <+386%2049%20611%20131>

I try your repository and I can not login.... why??

First you should register then you can login, show me your error code!

I have updated the readme.md file. Please check the updates. @humbertoplus @jlungo


No widget is active after creating dashboard using remoteCreate

Hi all,
I tried to create dashboard using remoteCreate. The post body is as following, I got successfully creation message returned. "Successfully created dashboard: id =5bf3d17836d1a00009eae345". But, in fact, no widget is active. Could you please help check why no widget display? Thanks a lot for your help.
Post body:
{
"staticCodeEntries":[
{
"description": "",
"options": {
"projectName": "testing",
"instanceUrl": "https://sonarServer"
},
"pushed": false,
"toolName":"Sonar"
}
],
"metaData": {
"applicationName": "Test",
"componentName": "test",
"owner": {
"authType": "STANDARD",
"username": "admin"
},
"template": "test",
"title": "Test6",
"type": "team"
}
}
Returned message:
"Successfully created dashboard: id =5bf3d17836d1a00009eae345"
The dashboard shows null widget:
No widget displays. And check the configuration of dashboard, all dashboard is checked.

Did you create a template called test?

Thanks a lot @Sbrenthughes. I will try and close this issue.


Rename C3W3_Assignment.ipynb to C3_W3_Assignment.ipynb

To fix the broken link in the C3 W3 ungraded assignment the file has to be renamed.
The link in the course points to https://github.com/https-deeplearning-ai/tensorflow-1-public/blob/master/C3/W3/assignment/C3_W3_Assignment.ipynb.

Hi @thatgeeman, in which item of the course does the link appear? That file cannot be renamed but I can fix the link.

Hi! Alright, the link appears in the "Open tool" button in the "Optional Assignment- Exploring overfitting in NLP" of Course 3 Week 3.

Oh I see. That item is deprecated and it should not appear on the most recent version of the course. You are probably enrolled in the old version.
If you would like to update to the new material, reset your deadlines. If you’re in the middle of a course, you will lose your notebook work when you reset your deadlines. Please save your work by downloading your existing notebooks before switching to the new version.
Don’t see the option to reset deadlines, or are getting this error message in the assignments: “Your assignment hasn’t been submitted.”
Please contact Coursera via the Learner Help Center and ask them to unenroll you, then immediately re-enroll you in the course.
Here are some template messages you can put in the Description of issue field in the Help Center form:
If you still see your old notebooks and the assignments show TF version 1.14:
Hi! A new version of Introduction to TensorFlow for AI, ML, and DL by DeepLearning.AI was recently launched, but it seems I am still actively subscribed to the old session. Please unenroll, then immediately re-enroll me to the latest version of the course so I can see the updated materials and continue my coursework. Thank you!
If you have TF version 2.7 in the assignments but cannot submit it:
Hi! A new version of Introduction to TensorFlow for AI, ML, and DL by DeepLearning.AI was recently launched, but I cannot submit my assignments. I get this error in Coursera Labs: “Your assignment hasn’t been submitted.” Please unenroll, then immediately re-enroll me to the latest version of the course so I can try again. This has worked for other learners in previous courses. Thank you!
Again, remember to download your assignment notebooks first if you’ve already done them. Switching sessions will give you a blank workspace, so you won’t be able to see your previous notebooks.

Hi @thatgeeman ! Just to add, the course was recently updated and you may want to switch to that version. We have now placed a note about it in the course and you can also see the announcement in Discourse. It contains the details about the refresh and how to switch sessions as Andres pointed above. Hope this helps and sorry for the confusion!

Thanks for your replies! Yup, I'll consider switching to the newer version :)


groups-migration: edge-parity groups migration.

Description
In the context of edge-parity implement the groups migration script.
FIXES: https://issues.redhat.com/browse/THEEDGE-3537
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I run make pre-commit to check fmt/vet/lint/test-no-fdo

/retest

/retest

/retest

@mergifyio /retest

/retest

/retest

Codecov Report
Attention: 27 lines in your changes are missing coverage. Please review.

Files
Coverage Δ

pkg/clients/inventorygroups/client.go
100.00% <100.00%> (ø)

cmd/migrategroups/migrategroups/migrategroups.go
82.46% <82.46%> (ø)

... and 1 file with indirect coverage changes
:loudspeaker: Thoughts on this report? Let us know!.

/retest


Update Pure to 2.0.0 and Engine to 3.0.0

Are you sure about all those new runtime dependencies? I would have thought most of those should be optional, and if desired should be brought in as additional dependencies where the libraries are used.


Allow custom classes to be attached to the sweetalert modal, title, and message.

This allows the caller to attach a custom, supplementary class to the .sweet-alert modal, the title h2 of the modal, and the message p. It also updates the addClass function to ignore any attempts to add falsy class names.

thanks!


ModuleNotFoundError: No module named 'jupyter_tabnine'

I tried to install jupyter tabnine extension like this:
pip3 install jupyter-tabnine
jupyter nbextension install

with the second command I have this error:
Installing /home/rouizi/.local/lib/python3.6/site-packages/jupyter_tabnine/static -> jupyter_tabnine
Traceback (most recent call last):
  File "/home/rouizi/.local/bin/jupyter-nbextension", line 11, in <module>
    sys.exit(main())
  File "/home/rouizi/.local/lib/python3.6/site-packages/jupyter_core/application.py", line 268, in
launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/home/rouizi/.local/lib/python3.6/site-packages/traitlets/config/application.py", line 664, in
launch_instance
    app.start()
  File "/home/rouizi/.local/lib/python3.6/site-packages/notebook/nbextensions.py", line 983, in start
    super(NBExtensionApp, self).start()
  File "/home/rouizi/.local/lib/python3.6/site-packages/jupyter_core/application.py", line 257, in start
    self.subapp.start()
  File "/home/rouizi/.local/lib/python3.6/site-packages/notebook/nbextensions.py", line 711, in start
    self.install_extensions()
  File "/home/rouizi/.local/lib/python3.6/site-packages/notebook/nbextensions.py", line 690, in
install_extensions
    **kwargs
  File "/home/rouizi/.local/lib/python3.6/site-packages/notebook/nbextensions.py", line 220, in
install_nbextension_python
    destination=dest, logger=logger
  File "/home/rouizi/.local/lib/python3.6/site-packages/notebook/nbextensions.py", line 121, in
install_nbextension
    ensure_dir_exists(nbext)
  File "/home/rouizi/.local/lib/python3.6/site-packages/jupyter_core/utils/__init__.py", line 13, in
ensure_dir_exists
    os.makedirs(path, mode=mode)
  File "/usr/lib/python3.6/os.py", line 210, in makedirs
    makedirs(head, mode, exist_ok)
  File "/usr/lib/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter'

So I tried with sudo:
sudo jupyter nbextension install --py jupyter_tabnine

Traceback (most recent call last):
  File "/snap/jupyter/6/bin/jupyter-nbextension", line 11, in <module>
    sys.exit(main())
  File "/snap/jupyter/6/lib/python3.7/site-packages/jupyter_core/application.py", line 266, in
launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/snap/jupyter/6/lib/python3.7/site-packages/traitlets/config/application.py", line 658, in
launch_instance
    app.start()
  File "/snap/jupyter/6/lib/python3.7/site-packages/notebook/nbextensions.py", line 988, in start
    super(NBExtensionApp, self).start()
  File "/snap/jupyter/6/lib/python3.7/site-packages/jupyter_core/application.py", line 255, in start
    self.subapp.start()
  File "/snap/jupyter/6/lib/python3.7/site-packages/notebook/nbextensions.py", line 716, in start
    self.install_extensions()
  File "/snap/jupyter/6/lib/python3.7/site-packages/notebook/nbextensions.py", line 695, in
install_extensions
    **kwargs
  File "/snap/jupyter/6/lib/python3.7/site-packages/notebook/nbextensions.py", line 211, in
install_nbextension_python
    m, nbexts = _get_nbextension_metadata(module)
  File "/snap/jupyter/6/lib/python3.7/site-packages/notebook/nbextensions.py", line 1122, in
_get_nbextension_metadata
    m = import_item(module)
  File "/snap/jupyter/6/lib/python3.7/site-packages/traitlets/utils/importstring.py", line 42, in
import_item
    return __import__(parts[0])
ModuleNotFoundError: No module named 'jupyter_tabnine'

How can I fix this ?

I am having the same issues too!

same, the instruction must be more clear, much trouble caused by it

Please try these commands, which will install jupyter-tabine under user dir.
pip3 install jupyter-tabnine --user
jupyter nbextension install --py jupyter_tabnine --user
jupyter nbextension enable --py jupyter_tabnine --user
jupyter serverextension enable --py jupyter_tabnine --user

same, the instruction must be more clear, much trouble caused by it

Thanks for your comment, I updated the README.md, the detail installation instruction may be misleading to some users.

I am still getting this error even with --user option.

Yeah, I have encountered the same issue now.


Pip install does not include templates folder

When pip installing, the avlos/templates folder is not included, so jinja2 PackageLoader throws an error:
  File "/home/user/.local/lib/python3.8/site-packages/avlos/generators/generator_c.py", line 5, in <module>
    env = Environment(loader=PackageLoader("avlos"), autoescape=select_autoescape())
  File "/home/user/.local/lib/python3.8/site-packages/jinja2/loaders.py", line 323, in __init__
    raise ValueError(
ValueError: The 'avlos' package was not installed in a way that PackageLoader understands.

an ls in the avlos package show templates to be missing
__init__.py	  channel.py  datatypes.py     generators    unit_field.py
__pycache__	  cli.py      definitions      mixins
bitmask_field.py  counter.py  deserializer.py  processor.py

Good catch! I've made some configuration changes in the latest commit, according to this well written answer: https://stackoverflow.com/a/63652255/2311023 . Testing with a local bdist install this seems to work. If you can confirm I'll publish a new version to pypi


Fix OutOfMemory semantics

Closed with: https://github.com/k-sareen/art/commit/ab7ba488b7b1bf54dc33ff3c38f2cad39f723736


How to compile my own code(includes Rehearse solver alike the example given) by g++

I successfully install the library using "make install" and also see the right output of "make test".
But now I want to include these solvers in my own code by using g++ to compile(instead of using makefile method), what should I do?
What I have tried : copy the "include" file in Rehearse to /usr/local/include and try to compile my code by g++, but it shows fatal error(CelModel.h not found).

So probably you would have to set the include paths of the compiler (-I flags) to find the header files where they are located.

Hi, solved this question? I have the same now.

I successfully install the library using "make install" and also see the right output of "make test".
But now I want to include these solvers in my own code by using g++ to compile(instead of using makefile method), what should I do?
What I have tried : copy the "include" file in Rehearse to /usr/local/include and try to compile my code by g++, but it shows fatal error(CelModel.h not found).

Hi, solved this question? I have the same now.


Auth issues

Bunch of related problems:

Every day (I quess every 24 hours) I am logged off the platform.
For example: I can log in at 10am, be online due to 18pm, and next day I'll be logged of at 10am.
May be a feature, not a bug - but better to reroll auth to avoid such problems.

Then I press log in button, do the auth (via github).
And I have other codewars tabs in browser.
If I refresh any (not authed, expired) -> I'll have all of them exprired.
Bugs not all the time, but very often.

If I was working on kata, I can be logged off after succesfull submit.
If I log in and then use browser back button (to kata solutions) -> I am logged off.

When I finally get to the kata solutions/my solution (after that auth mess)
I have 'There are no solutions yet for this kata' instead of my solution (which was submitted correctly)
But in my profile/completed_solutions everything is ok (and the honor comes with some dely)

Sometimes it just logs me off on code submit during daily session.
(Logged in at 11, logged off on code submit at 16 with successfull submit 5 minutes before)

No feedback yet?

@e-mihaylin possibly because these are all recorded issues and CW team as far I can tell has done nothing to fix it whatsoever (issue also opened by me a couple of months ago, still to be fixed)

@e-mihaylin possibly because these are all recorded issues and CW team as far I can tell has done nothing to fix it whatsoever (issue also opened by me a couple of months ago, still to be fixed)

@e-mihaylin possibly because these are all recorded issues and CW team as far I can tell has done nothing to fix it whatsoever (issue also opened by me a couple of months ago, still to be fixed)

Well, there's #1, so...

@Voileexperiments ... yeah, forgot that was still around.

@Voileexperiments ... yeah, forgot that was still around.

Moved the details to https://github.com/Codewars/codewars.com/issues/1
Close as duplicate then.


change image upload to only allow jpg, png, gif #1064

change to only allow jpg, png and gif as profile pictures, because otherwise if someone wants to upload webp for example an error occured (picture is uploaded but can not shown)

In the second commit I remove the centering in the faq text and make it left aligned.

I added a validation for no empty file upload, because this error happened so we should prevent this :)

Cool, thanks @sabrina-ulbrich! I only updated the info section below the picture and added .gif as possible format.


[data conversion] Convert symptoms and chronic_disease fields

This PR has a few commits, probably worth looking individually:

First one is just autopep8 with new line lengths
Second is separating input and output dataframes in preparation for adding the symptoms field, which has the same name in both input + output data sets -- it's also just cleaner and faster
Third is the new conversions

Example of a comma-separated chronicDisease field (with unrelated stuff omitted for brevity):
{
    ...
    "chronicDisease": {
      "provided": [
        "diabetes",
        "hypertension",
        "obesity"
      ]
    },
    "importedCase": {
      ...
      "chronic_disease": "diabetes, hypertension, obesity",
      ...
    }
  }

And one with colon-separated symptoms:
  {
    ...
    "symptoms": {
      "provided": [
        "fever",
        "cough",
        "shortness of breath"
      ]
    },
    "importedCase": {
      ...
      "symptoms": "fever:cough:shortness of breath",
      ...
    }
  }

 Ingest existing line-list data into MongoDB


Fix typo

Spotted this on the demo landing page: https://jinntec.github.io/Fore/doc/demos.html

@joewiz actually i meant the latin term but if you got that wrong i should probably change it ;)


bug(glitch): if you send a message while is fetching messages app will display a glitch

STR:

go to app
if the fetching messages is appearing, send a message
appears like this

https://github.com/Satellite-im/Uplink/assets/29093946/9a78cae1-6a04-454d-b6b8-e30088a1afcb
macOS, m1

if happens again will reopen


Exclusive fullscreen doesn't work well on Mac

On Mac, most apps and games prefer to use borderless windowed instead of exclusive fullscreen mode. That is because MacOS doesn't allow Cmd+Tabbing or other control when in an exclusive fullscreen mode.

Closed by #33


Add initial CoC/contributing/security docs infrastructure

This is mostly copy-paste and it intentionally skips polishing or debating on the standards. It is supposed to be a base that would be improved/reworded/refactored post-merge.
Preview: https://ansible-navigator--680.org.readthedocs.build/en/680/contributing/guidelines/

N.B. Brad and I are discussing the improvements offline and will compose a follow-up PR as soon as we have something to show.


perf(transform): use tera::Context::from_value instead of tera_context.insert with Value serialization.

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

v2.8.1
GitHub release

Your semantic-release bot :package::rocket:


Openai Gym Interface

Is there a Python wrapper / OpenAI gym interface that people can use with this simulator?

Currently, we don't have an interface to communicate with this project in Python. We have a version in C++ (https://github.com/VSS-SDK/VSS-Core) and a version in Rust (https://github.com/VSS-SDK/VSS-CoreRust).
The good news is that we have in our roadmap interest to build and maintain a VSS-CorePy :D, but the project has not started yet. I think that will be easy to build due the use of ZMQ + Protobuf. If you have hurry to use a Python interface you can use these protofiles (https://github.com/VSS-SDK/VSS-Core/tree/master/protos) and look at these communication interfaces (https://github.com/VSS-SDK/VSS-Core/tree/master/src/Communications) to start the development of the project. Obviously, we can help you with this project.

We created a wrapper in Python, you can see here: https://github.com/VSS-SDK/VSS-SamplePy. It uses this lib https://github.com/VSS-SDK/VSS-CorePy


Can I detect user select date not continue?

I want to force user to select continuous date. For example

In a image I start at 4 in a normal flow user should select 11 but if user select 18 I want to warn them and unselect, In the other case if user select 4 then 11 and 25 a system will detect and warn them and unselect because user have to select 18
any suggestion?
Thanks in advance.
Ps. I very love this lib easy to use and many option to use. Love this.

Ps. I very love this lib easy to use and many option to use. Love this.

Thanks, I'm always glad to see people enjoying this lib ;)
So there is a very nice option : dayclick. You give it a scope callback and can prevent selection to happen (it'll not select then unselect, it'll prevent selection to happen, so nothing will be triggered if you have some $watch or callbacks).
For example, in html
<multiple-date-picker day-click="checkSelection"></multiple-date-picker>

in your controller
$scope.checkSelection = function(event, date) {
    if(!canBeSelected(date)){
        event.preventDefault();
        alert('Sorry bro, you can\'t select this date');
    }
}

Does it answer your question ?

@mgohin This way is very simple. Thank you for your answer and I implemented it's work for me.
I will close this issues


chore(MWE-181): distributed packages to specific folder based on purpose

refactored folder structure

needs to go in before release branch can be created


Move APIs from the feature/modelReaderWriter branch into the ClientModel feature branch

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Core


Option hash - why its not listed?

Since old versions, there's a very useful option, called .hash (in actual version it is inside utils.generateFileHash).
It can be used to force your own hash, that can be the git version, the build timestamp, etc.
Why its not listed as option to cache bust task? Do you intend to remove it in next versions?

Hi @ricardohbin - not the first time I've been asked this recently.
My plans are to remove the ability to set your own hash as it's not inline with what this plugin should be doing. It's purpose is to generate a hash value based on the contents of the file. This means that when a user hits your website again, they aren't forced to download a new version of all the files, just the ones that contain changes.
What value does using a git version or build timestamp give? If it's for developers to see what version is currently in production, there's different ways of checking that.

Hi @hollandben , thanks for fast reply.
In some big projects, that have a lot of cache layers (like akamai + varnish + nginx microcache etc etc), it can be good to avoid inconsistencies in production. In some contexts, the fact of users re-download the same content isn't a real problem.
It could be useful too to manage the versions of your assets if you use package builds and want some some kind of control in storage buckets like S3/ceph etc.
Just some thoughts, but in some complex assets lifecycle (like that enormous CI pipelines etc etc) this feature can be very good.
In my case, it will :P

Even with multiple layers of caching, I don't see why you'd want to invalidate a cached item when it hasn't changed.
That being said, I will consider leaving that functionality in the plugin and document it with the above explanation - it should promote best practices but not restrict users.

I've left the hash option in the feature/v1.0.0-beta branch. I'll be link to some documentation specifying why, in most cases, it shouldn't be used though

@hollandben surely, I got your point of view, it can be hard to figure out why someone want to invalidate a cache that hasn't changed.
But the real problem is the sync between the templates/assets and storage. And cache buster is used to bypass the cache, getting a HIT. I already see situations that the original file didn't "ready" when the template with new hash HIT it, so the file cached in CDN was the old one, and not the new one (even with the new hash). And it's just a example, I already see some strange situations :package:


Poss. upload updates for config.json

Keeping track of a few nice things to have if a non-breaking update is possible for uploading and expanding config.json.

In featureData: [...] an 'area' key to csv column header reference.

Probably need to have an upload for phenotype map csv and col. ref.


[COOK-4674] - Verify and update password if user already exists

Can we merge this please?  I fully expect the create option to change the password if I have to update passwords.  I should be able to just update an attribute in the data bag and run the same recipe to cause the password to be updated.  I shouldn't have to make recipe changes just to update a password.
Thanks!

:+1:

Any updates on this?

At this time I'm going to close this issue out as we've deprecated this cookbook. The original intent was to abstract database implementation details away from the end user. In hindsight this was a mistake as it is difficult / impossible to make a generic interface for databases that works across all systems. Instead we plan to move the individual providers into their respective cookbooks (mysql, postgresql, sqlite, sql_server) where they can fully utilize the feature set of the underlying DB systems.


Revert "Merge pull request #26 from greeshma-raji/greeshma-raji-patch-2-1"

Reverts greeshma-raji/intro-html#27

Branch deleted


Update focus mode UI

Milestones:

[x] Add focus mode status bar item
[x] Handle updates to a file when focus mode is active

Overview
Status bar item
The crux of the PR is the addition of a vscode StatusBarItem which displays information about Flowistry and focus mode. The item displays a "loading" status while child processes are running (flowistry subcommands, rustup commands, etc) which indicates to the user that Flowistry is doing something. The item is also heavily used by focus mode to indicate the state of the mode and allow for easy toggling and error viewing.
One of my concerns about the PR is the status bar item's scope (defined globally in extension.ts). It needs to be globally scoped so it's accessible by exec_notify, the function responsible for spawning processes. It's not terrible as-is but I haven't come up with a solution that doesn't require drilling the item through every function call to ensure it's accessible by exec_notify as a parameter.
FocusMode class
This PR refactors the functions from focus.ts into a FocusMode class. The class still uses the initialize -> render flow, but adds a couple things:

keeps track of the status of focus mode (active, inactive, error, etc) which updates the status bar item color and icon
adds event callbacks for document edits and saves (and toggles rendering decorations accordingly)
exposes command functions (focus, mark) as methods

CallFlowistry error handling
The PR also adds two Error classes which implement a FlowistryError interface:

FlowistryBuildError: running a flowistry subcommand through exec_notify raises an error
FlowistryRuntimeError: the parsed output of the flowistry subcommand is an "Err" variant

Both classes implement a show method which displays the error in the same way as previously (notification or document popup). I guess both errors are technically at runtime so if you prefer different names that makes sense.
Demo
https://user-images.githubusercontent.com/40175891/153699266-9c957944-d96e-4f28-894c-6b979ca82636.mp4

All suggestions should now be addressed. I also made a few changes for clarity/cleanup:

Added private to all Focus methods that aren't used by class consumers to clean up API
Moved the onDidChangeTextEditorSelection callback to add_watchers to be more consistent with the other onDid[x] handlers
Removed the Focus.should_render method - rendering shouldn't be allowed with the loading status so we can just check that focus mode is active to decide whether or not to render

The PR also isn't 50% merge commits which is nice :)

Looks great! I might make a few small changes but I'll do that myself. Thanks for all the hard work :-)


Support model repositories on s3 or azure blob

The inference server currently supports model repository on GCS and local directory. Would be great if it could also support downloading from S3 or Azure BLOBs. Incidentally I couldnt find the GCS code anywhere? I only see an implementation of LocalFileSystem...

We have these in our backlog so I will mark this as an enhancement so others can comment.
Prior to release 19.07 the GCS code we used is from the TensorFlow source.
Starting with release 19.07 we will use a cmake build and in src/core/filesystem.cc you will see the GCS implementation. This work is going on right now on master so expect to see it merged soon.

We now have support for GCS. S3 support is currently in PR #533 .

S3 support will be in the 19.09 release. Azure support is not yet scheduled. Closing this since S3 is done and we are already tracking azure.


Issue 5922/inter service relation form label

Description
Adjusted the labels of the inter-service relation input field to display the attribute name. I added the service entity type in the placeholder, and made the placeholder plural in case it's a multi-select combobox.
closes #5922

Processing this pull request

Merged into branches master in 10a512f34083cfd4bdbea7102f7db97d5cd63f65


Make link to ownership in ABOUT.md

This looks good to me!  I just want to make @kytrinyx doesn't have anything else to add before merging.

Nope, this looks great. Thanks!


Create build infrastructure for preview bundle

@soninaren to add details

@soninaren just wanted to confirm before moving to 106 as you mentioned this work was done.
Should this be moved or closed as completed?

This is complete. Forgot to close the issue.


automation: drop el8 and ovirt-master

Signed-off-by: Asaf Rachmani<EMAIL_ADDRESS>

ci merge please


Associated GitHub Community ticket: https://github.community/t/abuse-detection-mechanism-prevent-running-test/134996
The customer has a step to execute the "lots0logs/gh-action-get-changed-files" action to list the changed files on a PR.
Recently, this action goes to failure with the following error (see here):

Error: HttpError: You have triggered an abuse detection mechanism. Please wait a few minutes before you try again.

Also see the issue ticket (lots0logs/gh-action-get-changed-files#14) I reported in the action repository.

Any updates. Till today, I still get this error blocking me from running tests in workflow config-ed.
https://github.com/kaisun2000/helix/runs/1196686202?check_suite_focus=true

@BrightRan, I don't think that it is correct place for this issue. We own only content of Hosted images in this repository and we are not familiar with rate limits.
@kaisun2000 , I believe it is an issue with third-party action that you use gh-action-get-changed-files. On the quick look, it does N requests to server on every push to your PR where N is number of commits in your PR: https://github.com/lots0logs/gh-action-get-changed-files/blob/002a3dec1083f13f4e1853c5c1dc26526ac185bc/index.js#L29.
It means that for https://github.com/kaisun2000/helix/pull/1, for every push, this action does 541 requests to server and I don't see any delays between them. I don't know the rate limits for GH system token but it looks like a huge number of requests

@maxim-lobanov. My pull request has 500 commits history. Let me try to "squash" them to see if that would help.

Closing the issue because it is not something that we own in this repository


Add support for Vietnamese with Telex typing mode

Is your feature request related to a problem? Please describe.
I'm very confused with the built-in Vietnamese layout. It modifies all the numbers keys into other characters which makes it hard to use
Describe the solution you'd like
There is a keyboard mode called Telex which is widely used to type Vietnamese, i hope there would be a kbd code to make this possible
Describe alternatives you've considered
I installed some softwares on the rdp server and change the kbd flag on connect but no luck
Additional context
no

@justapieop RDP needs to send scancodes to the server which are interpreted there with the normal windows keyboard layout (so whatever you install there will be used)
The local keyboard layout is required, as the scancode can only be guessed (you can´t get it easily from most input API)


MRG, ENH: make subplots_adjust work with {raw,epochs}.plot() and ica.plot_sources()

closes #6647

[x] raw
[x] epochs
[x] ICA

Here's an example of subplots_adjust working on a raw.plot() figure: https://14722-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/preprocessing/plot_15_handling_bad_channels.html#interpolation-in-mne-python

Any chance you can also implement a zen mode (i.e. get rid of the buttons and the timeline overview)?

Yes, but I'd like to do that in a separate PR.
On August 17, 2019 2:52:37 AM PDT, Clemens Brunner<EMAIL_ADDRESS>wrote:

Any chance you can also implement a zen mode (i.e. get rid of the
buttons and the timeline overview)?

CIs are happy except for Circle (complaining about dipy link, see #6671). Ready for review and merge. Someone with a hi-dpi screen (@larsoner?) should try generating and resizing the raw.plot() window to make sure everything looks normal.

@cbrnr also feel free to try. I'll give it a shot tomorrow

I tried raw.plot on my hidpi screen and it works perfectly! +1 for merge (maybe @larsoner can you test this for epochs and/or ICA?).

On my HiDPI macOS screen things do not look correct. The following code:
import mne
path = mne.datasets.sample.data_path()
raw = mne.io.read_raw_fif(path + '/MEG/sample/sample_audvis_raw.fif')
raw.plot()
events = mne.find_events(raw)
epochs = mne.Epochs(raw, events)
epochs.plot()

Shows this (just the raw plot here but epochs has the same spacing issues) on master, which has no overlap between elements (correct):

But on this PR it looks like:

I am not sure why I have these overlap problems but @cbrnr did not (unless you missed them?).

If you want to test on a non-HiDPI screen as long as you're on the Qt5Agg backend you can do (here on my Linux non-HiDPI machine):
QT_SCALE_FACTOR=2 python -ui ~/Desktop/plot.py

I get on master:

But on this PR:

thanks, I think I know what's wrong. Will fix today.
On August 19, 2019 7:47:48 AM PDT, Eric Larson<EMAIL_ADDRESS>wrote:

If you want to test on a non-HiDPI screen as long as you're on the
Qt5Agg backend you can do (here on my Linux non-HiDPI machine):
QT_SCALE_FACTOR=2 python -ui ~/Desktop/plot.py

I get on master:

But on this PR:

@larsoner @cbrnr  the changes just pushed work locally (show correct button alignment / no overlap) when testing with QT_SCALE_FACTOR=2 (or 3 or 4).  Please double-check, but assuming it's good (and the CIs are happy) this should be ready for merge.

Still looks OK on Circle...
https://14746-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/preprocessing/plot_15_handling_bad_channels.html#interpolation-in-mne-python

The gaps at the top and bottom seem incorrect. master:

This PR:

(and left and right actually, all off by what appears to be a factor of 2)

@larsoner I tested with the osx backend, which didn't have these issues. I can confirm the problems with the qt5 backend though. Even with the latest change, osx looks fine but qt5 has large borders on the top, left, and bottom just like in your screenshot.

Actually it appears on my Linux machine, too. Seems to be that the spacing at the edges is not fixed through window resizing. In other words, it should be some set number of pixels, but ends up being proportional to the window size. For example here is my window shrunk to be small:

Then once I make resize it to be large:

I see what @larsoner sees. I thought of a fix last night but didn't have time to implement it then. Will do today.
On August 20, 2019 6:18:31 AM PDT, Eric Larson<EMAIL_ADDRESS>wrote:

Actually it appears on my Linux machine, too. Seems to be that the
spacing at the edges is not fixed through window resizing. In other
words, it should be some set number of pixels, but ends up being
proportional to the window size. For example here is my window shrunk
to be small:

Then once I make resize it to be large:

OK, I think I've finally got it.
Fullscreen:

Halfscreen:

Quarterscreen:

Fullscreen hiDPI (simulated)

Halfscreen hiDPI (simulated)

Quarterscreen hiDPI (simulated)

Also, effects of subplots_adjust() are persistent, with two caveats:

if not using ipython / not in plt.ion() mode, fig.subplots_adjust() requires a fig.canvas.draw() or plt.draw() for its effects to be visible.  This is normal MPL behavior.

The persistent effects of subplots_adjust are dependent on the window size at the time --- if user sets top=0.9, and the figure size at the time is 10 inches high, then the top margin will persist as 1 inch through subsequent window resizes (i.e., it will not persist as 10% of figure height). I think in theory it would be possible to maintain user-modified margins as relative and user-untouched margins as a fixed number of inches/pixels, but it seems like more work than it's worth and YAGNI, since my use case is "change margins once so I can add titles to these figures in the docs".

Unfortunately now it doesn't work for me - but only if I'm on a scaled resolution and using the osx backend (qt5 works fine). After resizing the window (subplots_adjust works fine), the margins are wrong:
import mne
path = mne.datasets.sample.data_path()
raw = mne.io.read_raw_fif(path + '/MEG/sample/sample_audvis_raw.fif')
raw.plot()

Initially, this looks fine:

After manually resizing the window:

I also see this when running with MPLBACKEND=macosx. This is almost certainly a matplotlib bug in that backend (it tends to be buggy IIRC). That backend is also just about unusable for me it's so slow. I wonder if we should really support it.
@drammock is there something I could try adding as a resize event handler (for the macosx backend only) that might force it to update the params?

I'm really not sure what to do here. I can't tell from the screenshots whether resizing is not happening at all, or if it's happening but not to the correct degree.

Let's not drop osx support. This is still the default backend and I don't find it slower than qt5 (what's really slowing my Mac down to a point where it's almost unusable is scaled resolution aka HiDPI, but that's another story).

I have arranged access to a Mac for next week so I'll try to debug on Monday. I tried today on KC's Mac desktop but could not reproduce (his resolution may not be high enough? It is an "Apple Cinema display" 2560 x 1440)

The Qt5Agg backend is fine, did you do it with MPLBACKEND=MacOSX python -ui test.py or so?

I tested only with the default backed but had to run to a meeting before I could verify whether it was defaulting to qt or macosx. Will continue testing tomorrow.

@drammock you need to set a scaled resolution, it works with the native resolution. I'm not sure this works with 2560x1440, but try setting it to a scaled (lower) resolution. I have a 4K display and select the second resolution to the right in the Displays settings page.

I'm really struggling to reproduce this. Screenshot:

running in a plain python terminal instead of ipython, I am simply unable to resize the window so I can't actually test it (mouse cursor never turns to double-headed arrow, can drag titlebar to move the window but the titlebar never gets system focus --- note the grayed out close/minimize buttons even though the window is on top)

Running as a script I also get expected behavior:

Here are the test system details:
(mnedev) D-10-19-149-242:~ labshared$ python -c 'import mne; mne.sys_info()'
Platform:      Darwin-17.4.0-x86_64-i386-64bit
Python:        3.7.4 (default, Aug 13 2019, 15:17:50)  [Clang 4.0.1 (tags/RELEASE_401/final)]
Executable:    /Users/labshared/miniconda3/envs/mnedev/bin/python
CPU:           i386: 12 cores
Memory:        16.0 GB

mne:           0.19.dev0
numpy:         1.16.4 {blas=mkl_rt, lapack=mkl_rt}
scipy:         1.3.1
matplotlib:    3.1.0 {backend=MacOSX}

sklearn:       0.21.2
numba:         0.45.1
nibabel:       2.5.0
cupy:          Not found
pandas:        0.25.0
dipy:          1.0.0
mayavi:        4.7.1 {qt_api=pyqt5, PyQt5=5.9.2}
pyvista:       0.22.1
vtk:           8.1.2

Same results at 2048x1152 resolution:

...and at 1280x720:

for completeness here are the Qt5Agg screenshots on the same system. Default scaling:

With QT_SCALE_FACTOR=2:

I think your monitor might not be recognized as a retina/HiDPI screen because its native resolution is too low. To reproduce the problem, you need to have a screen that macOS recognized as retina/HiDPI capable. Here's what my display preferences window looks like - notice the five presets for different scaling factors:

I think this is only shown if the monitor is at least 4K, and these settings seem to influence how scaling is performed. In your case, I think macOS performs regular non-HiDPI scaling, and therefore you don't see the problem. I can simulate this even on my HiDPI screen by alt-clicking on the "Scaled" radio button and selecting a resolution that says "(low resolution)":

Now this is exactly the same 3360 x 1890 resolution I normally use, but in low resolution mode (aka non-HiDPI) I don't see the issue with overlapping elements either.

PS: What this means is that this issue occurs on MacBooks with retina displays (so basically all of them) with the default osx backend (so no external display required). This is even worse, because there is no way to select the native (full) resolution for internal displays (because for whatever reason, even the maximum resolution is a scaled one).

PPS: Here's the code snippet I used (copied from your screenshots):
import os
import matplotlib.pyplot as plt
import mne

plt.get_backend()
sample_data_folder = mne.datasets.sample.data_path()
sample_data_raw_file = os.path.join(sample_data_folder, 'MEG', 'sample',
                                    'sample_audvis_raw.fif')
raw = mne.io.read_raw_fif(sample_data_raw_file)
raw.crop(0, 60).load_data()
fig = raw.plot()  # works
fig.subplots_adjust(top=0.9)  # works
# now resize the window - destroys figure layout

Nice! I can confirm that this now works with all combinations of osx/qt5 backends and retina/non-retina resolutions for me.
If the LGTM warnings are fixed (by e.g. using tuples instead of lists), +1 for merge!

Lets merge then

Thanks @drammock!

BTW @drammock if you ever need to debug HiDPI on macOS on a non-HiDPI display, you can enable (usually ugly) HiDPI resolutions typically hidden from the user with something like:
$ sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true

It's also possible clicking the "scaled" button while holding Alt/Option might do it (or be necessary).
I did something like this a couple of years ago when I only had access to a non-HiDPI macOS display and it worked. So hopefully next time you won't need to borrow @ktavabi's machine but any macOS one (where the owner doesn't mind some option tweaking) should work :)


Http local ratelimiter support for silent drop

Title:  Http local rate limiter support for silent drop
Description:
There is a scenario in which a malicious client continues to bombard the server with requests despite receiving a 429 response. Is there a way to close the connection without returning the response? Temporarily blocking the bad IP may also be helpful in preventing the server from wasting resources.
[optional Relevant Links:]

Any extra documentation required to understand the issue.

Currently (AFIK) no, but it'd be a good feature IMO so I'd definitely be happy to review if you wanted to add this funtionality.  FWIW with the ability to drain connections now in streaminfo (thanks Dan!) you could do this with a filter today.
cc @yanavlasov @RyanTheOptimist

In terms of API, I think that there should be a threshold, which when exceeded should instruct rate limiter to start dropping sessions.
I can implement it.

@cpakulski is this still WIP? If this is up for contribution, I can give it a shot.
Also, please do confirm if anything has changed regarding the way forward:

In terms of API, I think that there should be a threshold, which when exceeded should instruct rate limiter to start dropping sessions.

Thanks!


Homepage Design Enhancement

Title and Issue number
Button Designing
Close #4567
Output
Before

After

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md

Hi @MohitGupta121
Kindly review this pull request.


Disable botplay fade

What is your question?
I need to disable the botplay fade effect but i dont know how. Any answer?

and im experienced in lua only a little

you could try
setProperty('botplayTxt.alpha', 1)
i think

to add to this, you gotta make sure in your script, you make it always update the alpha
function onUpdate(elapsed)
setProperty('botplayTxt.alpha', 1)
end

tried these both scripts, they dont give errors but doesnt work aswell

function onUpdate(elapsed)
setProperty('botplayTxt', 'alpha', 1)
end
this one gives me a null object crash

im on 0.6.3

0.6.3 is not supported anymore since December 2023


No config file is created with command

Hello, when I do this command
php artisan vendor:publish --provider="Sentry\SentryLaravel\SentryLaravelServiceProvider"

No config file is created and I get this message of publish complete. vendor:publish does not display anything related to sentry.
I'm using L56 and Sentry 1.8.3

Ah, the guide on the webpage says you should do this:
composer require "sentry/sentry"

but this ones says
composer require sentry/sentry-laravel

this one worked. So update your guide on the page?

Hey @joveice on which webpage are you seeing the guide?

https://sentry.io///getting-started/php-laravel/

Thanks! I am going to dig in why a little bit of the generic php guide is prepended to this, however the Laravel 5.x instructions are right below it with the correct composer commands.

A PR is submitted (getsentry/sentry-php#570) to fix this, will soon be resolved.


#7 - behat tests

I have written the first features:

CRUD for meetups
CRUD for organizations
CRUD for speakers
authentication
changing password
inviting users to admin panel

@Anna-Sokolowska, probably you need to update your codestyle. The best option would be probably to merge current master to your branch and then update all packages.

Will you add implementations for these tests?


Python 3 compatibility

It isn't

Need to pull over the portscan and pyserial module from https://github.com/whaleygeek/bitio and then this will be Python 3 compatible.

Wait for the bitio portscan module to be changed in bitio to change the name of the portscan.cache to that of the device name first, then that will also allow bitio and punchcard_reader to run concurrently in the same Python program.

Had a quick look at this. Remember that Python3 imports work differently. I did a quick test...
delete portscan.py
copy portscan folder and serial folder from bitio project into this folder
run it up with python3
  File "card2csv.py", line 17, in <module>
    import cardreader
  File "/Users/davidw/tmp/punchcard_reader/cardreader/__init__.py", line 5, in <module>
    from arduino import *
ModuleNotFoundError: No module named 'arduino'

I suspect this is because of the differences in how package imports work between Python2 and Python3, probably all the package based imports need re-coding as well, so this is not a quick fix, and needs to be done and tested properly.
cc @GemmaMayLatham

Gemma reported that this quick fix worked for her, must be a python version/platform thing I guess. Will have to do this properly later and re test it.


Bump inmanta-dev-dependencies[async,extension,pytest] from 2.74.0 to 2.75.0 (#425)

Pull request opened by the merge tool on behalf of #425

Merged in f1c55f8e27560e7d9b7f03c198b159159a94cbd4


cleanup fixes relating to udc

Problem
Address comments and loose ends relating to user directed commissioning feature

Fix assorted comments left on https://github.com/project-chip/connectedhomeip/pull/8034 post-merge
Fixes issued identified in https://github.com/project-chip/connectedhomeip/issues/8565

Change overview

code cleanup
free UDC objects in DeviceCommissioner upon shutdown

Testing

Tested UDC via tv-app and lighting-app linux/docker

This is still not adding any tests to actually test the UDC code. Basic things like whether it compiles at all, and if it does whether it works at all....

Added unit tests

@andy31415 @mspang @Damian-Nordic ?


Path generated wrong when using $scope.select

When selecting copying or moving destination, e.g. the selected destination is "/data/2016", in selector-controller.js
$scope.select = function(item) {
    $rootScope.selectedModalPath = item.model.fullPath().split('/');
    $scope.modal('selector', true);
};

the $rootScope.selectedModalPath is ["", "data", "2016"], then in apimiddleware.js
ApiMiddleware.prototype.getPath = function(arrayPath) {
    return '/' + arrayPath.join('/');
};

the path becomes "//data/2016", an extra "/" is added.

A quick fix would be  #217


occupied desktops are not detected by xworkspaces module.

Describe the issue
Expected behavior:
occupied desktops should be displayed using label-occupied configurations.
Actual behavior:
occupied desktops are displayed using label-empty configurations.
Was it working before?
I am a new polybar user, I don't know if it was working before.
To Reproduce
A minimal but complete config with which the problem occurs:
[bar/main]
foreground = #FFF
background = #000

modules-center = ewmh

[module/ewmh]
type = internal/xworkspaces

label-active = " #%name% "
label-occupied = " :%name% "
label-empty = " .%name% "
label-urgent = " !%name % "

Using herbstluftwm 0.8.3. My tags are named z, x, c, v, b, n, m.
Polybar Log
Post everything polybar outputs to the terminal when you run it and the issue occurs below
warn: No fonts specified, using fallback font "fixed"

Environment:

WM: harbstluftwm 0.8.3
Distro: Ubuntu
Output of polybar -vvv:

polybar 3.4.3

Features: +alsa +curl -i3 -mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/g++
Compiler flags:  -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker Flags:

Additional context
$ xprop -root _NET_DESKTOP_VIEWPORT
_NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0
$ xprop -root _NET_DESKTOP_NAMES
_NET_DESKTOP_NAMES(UTF8_STRING) = "z", "x", "c", "v", "b", "n", "m"
$ xprop - root _NET_CLIENT_LIST
_NET_CLIENT_LIST(WINDOW) = window id # 0x1000003, 0x4400002, 0x2c00002, 0x5600002, 0x6200002
$ xprop -id 0x1000003 _NET_WM_DESKTOP
_NET_WM_DESKTOP(CARDINAL) = 0
$ xprop -id 0x4400002 _NET_WM_DESKTOP
_NET_WM_DESKTOP(CARDINAL) = 1
$ herbstclient tag_status
	#z	:x	.c	.v	.b	.n	.m

As you can see from _NET_WM_DESKTOP 0 and 1 have clients. hc client understands that z is active and x is occupied.
polybar displays x as empty.
	#z	.x	.c	.v	.b	.n	.m

The bar updates when I change desktops, when I focus x it becomes active and z is incorrectly marked empty.

Occupied desktop support for the xworkspaces module is not released yet. It will come in version 3.5.0.


[webinterface] github button for projects

The Github button for projects has a link based on the field name of composer.json.
Because

it might be a git project, but not a composer one and
some people forget to set "name" properly

you might end up with the error
Undefined index: name ....webinterface\php\Helper\Projects.php on line 142.

[x] Its better to base this on the [remote "origin"] url = * value from .git/config.

git config --get remote.origin.url

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27085694-webinterface-github-button-for-projects?utm_campaign=plugin&utm_content=tracker%2F164029&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F164029&utm_medium=issues&utm_source=github).

Implemented.


dart2js: For-in statement does not enforce final

This is the dart2js specific issue for #30483, which has the details.

dart2js (via kernal) now reports an error (good), but as @lrhn mentions in https://github.com/dart-lang/sdk/issues/30483#issuecomment-399962441, it is misleading.
Nothing more for dart2js to do; kernel's message should be improved.


Feat(planner test): introduce SSB in our planner test

https://www.cs.umb.edu/~poneil/StarSchemaB.PDF

Why do we want to introduce SSB for planner test?


Allow API request using a generated long-life token/secret

I was wondering if it would be possible to generate special long-life tokens/secrets (deploy keys), which could be used from CI services to eg force update a service image after a successful build in the CI service.
Basically it should be possible to create deploy keys (tokens/secrets) along side users, which optionally could have some restrictions. Using this key it should then be possible to make normal HTTP requests to the API as if it came from the Portainer UI.

@danieljuhl I'm glad someone else already created such an issue.
Internally this might not be so hard. For application you would create a separate "application user" (regular user with some kind of flag that says it is an application user). That user could be deleted to revoke all keys for that application.
And since Portainer already uses JWT, you could just create a button that would generate a new key with the lifetime of a year (or some other lifetime, maybe a dropdown) for that application.
In my case I would just want to have an application-key with read-only permissions (on some containers, possibly using the team system). To display on a dashboard of sorts.
A good first step would be to enable the ability to specify the length of the token in the /api/auth endpoint. Or create a new endpoint that only works when the user is an admin, that excepts an (application) user as argument (and the desired lifetime of that token).

I think first we need to add expiration to the tokens

Hey guys, I'm in a need of a smililar, long lived token. Any change this could happen? Ideally, I'd need to cut down the length of the token to < 255 characters as well. I'm trying to integrate a docker container to become a switch in home assistant and the length of the token and its short life span make it hard as I can't dynamically submit the token in home assistant.

You can give it a try by using the image portainerci/portainer:develop.
Please let us know how that's working for you.
Note that this is a development build and should not be used in a production environment.

Example of how to use the Access Token
curl --request GET --insecure --write-out "%{http_code}" \
--url 'https://<IP_ADDRESS>:9443/api/stacks' \
--header 'x-api-key: ptr_mpEWQ0kZEfpwCIHA3rAp7KpexuFkA0DyilVEtyKGY+k='

Пример использования токена доступа
curl --request GET --insecure --write-out "%{http_code}" \
--url 'https://<IP_ADDRESS>:9443/api/stacks' \
--header 'x-api-key: ptr_mpEWQ0kZEfpwCIHA3rAp7KpexuFkA0DyilVEtyKGY+k='

Help me please.
I need to remotely (on the local network) restart the container. Not an IT specialist, I can not correctly make an API request.
I have an address: http://<IP_ADDRESS>:9009/
Got a key in the web interface: ptr_l9+juojEH1Fh9rHWxZoQPkLBSlQf93Ow8X6weB7HBhM=
From the console of a remote linux machine http://<IP_ADDRESS> trying to send a request
curl --request GET --insecure --write-out "%{http_code}" --url "http://<IP_ADDRESS>:9009/api/stacks" --header "x-api-key: ptr_l9+juojEH1Fh9rHWxZoQPkLBSlQf93Ow8X6weB7HBhM="
Answer "200"
Then I try to send a command:
curl --request GET --insecure --write-out "%{http_code}" --url "http://<IP_ADDRESS>:9009/api/endpoints/1/docker/containers/019486f9b6f41c73037c2df8979a315e37e89a043b915556b93ac4f8b80eb9d4/start" --header "x-api-key: ptr_l9+juojEH1Fh9rHWxZoQPkLBSlQf93Ow8X6weB7HBhM="
Answer:
{"message":"Unable to find an environment with the specified identifier inside the database","details":"Object not found inside the database"} 404
How should the request to start the container look like?

这是我的自动回复邮件。
This is an automatic reply of the email system.
您好，你的邮件我己收到，我会尽快处理，谢谢！I have received your E-mail, and I will reply as soon as possible. Thank you!


Log-transformation / Scaling

Alex,
Thanks for the video provided on moodle, I enjoyed following along! One quick question regarding the log transformation you performed: given that the data you transformed were in fact not normally distributed in the first place, what made you choose a log transformation over, let's say, using a min-max scaling or applying sklearn's StandardScaler? Was your decision in that regard simply based on the lambda value (@ c. 30m30s)? If yes, could you briefly elaborate on the underlying statistical process? Without putting further thought into the matter, I would have intuitively thought that it would make sense to use min-max to normalize the data and bring it to a range of {0;1} in order to avoid potentially implicitly overweighting features with greater absolute magnitude relative to others (e.g. sqft vs. years).
Might be on the wrong track here, happy to hear your opinion.
Cheers,
Timo
WHU BSc2020

I used the log transformation mainly to illustrate the point that transformations can be made in general. The min-max scaler could also make sense. However, then it may pay off to first exclude the outliers before transforming. At the end of the day, try to out several options and choose whatever turns out best in the cross-validation.


API improvement: Make an SdlError type that implements Error

This breaks pretty much every function, but has the upside of playing nicer with the rest of the ecosystem, allowing SDL errors to be used as cause for other error types.

Do you think this better belongs in this module or in sdl3-sys?


Fix Pick() returning the same value multiple times

Closes #62
The cause behind this seems to have been the use of Enumerable.Repeat in DefaultPicker, which called PickPrioritized once and repeated the result multiple times.
A few questions from me before I consider this completely ready for review:

Would it be worth testing Pick against other pickers; I believe if the bug was in DefaultPicker the issue may have been more widespread than #62 describes (but haven't tested yet).
Copy-pasting the ProbabilitiesMatter assertion is a bit clunky, maybe it would be better to pass in the dict of random data?

Hello,
Thank you for reporting the issue and also fixing it.
I can confirm that this is a bug and that the PR fixes it.
I have merged it and addressed your questions from above a few commits:

Would it be worth testing Pick against other pickers?

I have replaced the logic of ProbabilitiesMatter with calls to PickOneProbabilitiesMatter + PickNProbabilitiesMatter, see d9b3cedee636ea9ede81054024c2c65bc8c7cac8
So, all tests that tested whether probabilities matter, do that now via PickOne() and Pick(n).

Copy-pasting the ProbabilitiesMatter assertion is a bit clunky, maybe it would be better to pass in the dict of random data?

I outsourced a part of the method in d9b3cedee636ea9ede81054024c2c65bc8c7cac8


AlertRibbon: Role=alert not optional

An alert can have different types of roles, it can have role= alert/alertDialog/status, OR in some cases it is just a decorated paragraph
Todos:

Add prop for role
UX and dev guidelines on when to use what role
Examples of different content for different roles

Partially fixed in this commit


Usability suggestions - modification to date range selection.

Currently, when in "Range" mode, if a user has already selected two dates to create a range, and then proceeds to select another date the date range changes moving the closest endpoint of the range to the newly selected date. I don't know how others feel, but to me the way this operated was a bit unexpected and I found it a little frustrating to use.  I think a large part of the confusion may lie in the fact that it's not immediately obvious which endpoint is going to move if you select a date near the middle of an existing range. But even beyond that, something just felt off. I would like to propose a different way to handle date ranges.
Assuming we start with an empty calendar (in Range mode):

A user clicks a date that date is selected as the start-date of a range.

If a user then clicks the same date again, that date is selected as the end-date, thus the "range" is really just a single day.
If a user then clicks a date earlier than the start-date, that date becomes the new start-date of a range.
If a user then clicks a date after the start-date, that date becomes the end-date of a range.

If a user then clicks ANY date, the end-date is cleared and the clicked date becomes the new start-date.

The explained behavior above is utilized here:
http://www.daterangepicker.com/#ex1

By the way, I have seen calendars implemented somewhat similar to the existing calendar setup that is currently offered, but with a twist (two inputs) that I think works for their situations but not for this component (one input).
Airline websites often have two calendar inputs - one for departure date and one for returning. If one has a range already selected then may click on the 'departure' input and click on a new calendar date that will only move the departure date (unless they selected a date after the return date, in which case the return date is cleared), if they click on the 'returning' input and click on a new calendar date that will only move the returning date (unless they selected a date before the departure date, in which case the departure date is cleared).
Examples:
https://www.kayak.com/
https://www.orbitz.com/
http://www.delta.com/

Hello,
First of all, thank you for the constructive and substantial proposal.
Usable range selections on a single input are definitely challenging .
I do agree with most points.
There's a use case, however, for

user then clicks the same date again, that date is selected as the end-date, thus the "range" is really just a single day.

for datetime ranges, e.g. Oct 8 2PM - Oct 8 4PM

Thanks! The changes look great!
To be perfectly honest, I do not use the time component of the widget and had not thought about that use case. I'll definitely keep you posted if I have any ideas.

So, I have another suggestion for a change in behavior, and since this issue is still open I'll put it here.
Using v2.0.5. If you are in range mode and navigate to several months in the future (e.g. December 2016)  and select the start date of the range, the calendar then jumps back to the current month (e.g. October 2016). This was quite unexpected. I think after selecting the start date the month should not change.

Uh oh, It also looks like the UI for selecting ranges across months is not working as well either. The highlighted inRange dates are wrong.

Another issue:
Using v2.0.5. In range mode. Selecting a day in the current month, and then selecting one of the "greyed out" next-month dates on the same calendar page ends up selecting the wrong date range. I hope the way I described that makes sense, I can attempt to clarify if needed.
Also, I can create separate issues for each of these problems if you prefer. Just let me know.

Thank you for the feedback :+1:
Range mode has undertaken a rewrite from scratch.
Please let me know if I missed anything.

Sure thing.
A new bug:
Using the examples page. In range mode. Select a range in the next month (e.g. Nov 15 - Nov 17). Then select a greyed out date on the same calendar page (e.g. Dec 3). Notice that the month goes to the current month (October), very confusing. I would expect the calendar to either stay on the same page or MAYBE goto December since it was the month of the selected start date.
Another bug (CSS):
Using the examples page. In range mode. Select a range in the current month (e.g. Oct 16 - Oct 20). Then select a greyed out date on the same calendar page (e.g. Nov 4). Notice that the selected date does not have a blue circle when not bring hovered. The css style is being overriden by .flatpickr-day.nextMonthDay.

Another note, for use cases like airbnb where disabled dates can't intersect the selection, beyond custom catch code there is no means to prevent currently.

@chmln - I don't know if you have any plans to address @diit's issue, but it appears like my original issue and subsequent follow ups have been resolved. I suggest we close this issue - and if you believe it's valid, I would make a separate issue for @diit.
Thoughts?

Another note, for use cases like airbnb where disabled dates can't intersect the selection, beyond custom catch code there is no means to prevent currently.

Range mode already works with disabled dates, which can't intersect the selection.
If you still cant get it working please feel free to open a new issue.
Thank you
p.s. thanks for all your ideas @davidklebanoff

Hi,All
I am new to the gitHub ,while working with the Flatpickr I faced some Problem,
In pagination process when I just click on the other pages forward or backward the Date Will Vanished from the Flatpickr.
can you help me to holding the date in Flatpickr for the other pages.

Hi,All
I am new to the gitHub ,while working with the Flatpickr I faced some Problem,
In pagination process when I just click on the other pages forward or backward the Date Will Vanished from the Flatpickr.
can you help me to holding the date in Flatpickr for the other pages.

I'm facing with the same issue, did you find a solution?


chore: the io/ioutil package is deprecated from Go 1.16

@Mergifyio backport v1.4.x

@jenting Please help update the dependencies of the dependent components in the master branch. They should be longhorn-engine, longhorn-manager and instance manager.
cc @longhorn/dev-data-plane


add: ijayhub

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

closing due to inactivity


Enhance NU1604, give an example of specifying a lower bound

Fixes https://github.com/NuGet/docs.microsoft.com-nuget/issues/1745

Docs Build status updates of commit 1b3deb1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/errors-and-warnings/NU1604.md
:white_check_mark:Succeeded
View

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


ctx.query doesn't work in some cases with aot: true

What version of Elysia.JS is running?
1.0.22
What platform is your computer?
WSL Ubuntu
What steps can reproduce the bug?
import { Elysia, type Context } from 'elysia'

const checker = {
	check: async (ctx: Context, name: string, state?: string) => {
		return typeof state !== 'undefined'
	}
}

new Elysia()
	.derive((ctx) => {
		const { name } = ctx.params

		return {
			check: async () => {
				const { state } = ctx.query

				if (!(await checker.check(ctx, name, state ?? ctx.query.state))) {
					throw new Error('State mismatch')
				}
			}
		}
	})
	.get('/:name', async (ctx) => {
		await ctx.check()
		return 'yay'
	})
	.listen(8080)

Open http://localhost:8080/yay?state=123
What is the expected behavior?
Respond with yay (no error thrown)
What do you see instead?
{"name":"Error","message":"State mismatch"}

Additional information
AOT does not recognize:

const { state } = ctx.query
ctx.query.state
undefined ?? ctx.query.state
const { query: { state } } = ctx

only this seems to work:
const state = ctx.query.state

const { state } = ctx.query and const { query: { state } } = ctx used to work back in 1.0.3:

https://github.com/bogeychan/elysia-oauth2/blob/22e6c171eb5e80cc68c7ddfcb3811635c3d880ef/src/index.ts#L200
https://github.com/bogeychan/elysia-oauth2/blob/22e6c171eb5e80cc68c7ddfcb3811635c3d880ef/src/index.ts#L241

346134b published under 1.0.23, including test case. Let me know if it works on your end.

Works for me, thnx


Ignore deprecation warning for selector in BugsnagSink

In order to avoid causing deprecation warnings in projects that include
this library, this commit adds some compiler instructions to ignore the
deprecated selector used on NSURLConnection
(sendSynchronousRequest:returningResponse:error:).

This looks good, thanks @endoze. I'll add a new issue for removing these deprecations for users on newer/current platforms as well.


Create a more extensive about page

Alex can provide content if it's set up. We should discuss whether the pop-up is enough or whether that's just version info.

I do think the modal dialog is sufficient. If we want it to have more of a full-page feel, we can certainly make it wider (@jtomeck can advise us here).
In the meantime, @alexsb, please do provide the about content and we'll get it put in.


Bump express and connect-multiparty

These two dependencies were lagging behind the current published versions.
According to the express migration guide, it doesn't look like Hubot hits any of the pain points there. The tests are also passing.

Node 4 failure looks unrelated.

Had the chance to test this with a production Hubot; it's responding to GET requests just fine.

Chatted with @mistydemeo about this one. There are express changes, so we are figuring this is a minor version bump.
Other problem with releasing this is that 3.x is still marked as next (https://github.com/hubotio/hubot/issues/1406). I'm not sure where things were left off blocking it (https://github.com/hubotio/hubot/issues/1057), but I think it has been out this long that we should tag this release as latest and sort out the problems that happen.

There are express changes, so we are figuring this is a minor version bump.

👍 I'm figuring this should be 3.1.0 rather than 3.0.2.

Can confirm the Node 4 failure is occurring on master, and was not introduced in this branch: https://travis-ci.org/hubotio/hubot/builds/411422293


Input components

add input components
Text, email, url and so on
with label
without label

closing against this PR https://github.com/hidaytrahman/react-carbonui/pull/11


Delegate cmd-f to search component.

Fix #1180.
Right now we don't have a way to disable a keybinding and still populate key events in Monaco (a good feature request though I admit). So here I use the same way as Menu to trigger focus on Search Component.

I'm afraid it's not how it should work. We just need to unbind cmd+f for monaco.

I fixed it in master; closing this PR.


Remove query strings from assets

Hello, I'm getting this on pingdom tools:
Resources with a "?" in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources
because of this:
https://mysite.com/assets/css/myasset.css?v=12aae8e2c2
How can i solve this?
Technical details:

Ghost Version: 0.8
Node Version: 0.10.46
Server:  On Heroku Nginx.
Database: Postgres

@Xosmond those query strings are precisely so those files aren't cached. In the case that one of them changes, you would want those changes to be available to those viewing your blog.
Is it causing actual errors with pingdom or is it just outputting warnings?

Just warnings about them. But i want them to be cached because the site is finished, is there any way to do it?
i think the right way should be https://mysite.com/assets/css/myasset-v=12aae8e2c2.css

those query strings are precisely so those files aren't cached

Not quite, they are there so the files are cached but they have a unique identifier so that when the file contents change a new identifier can be produced as a cache-busting mechanism.

i think the right way should be https://mysite.com/assets/css/myasset-v12aae8e2c2.css

That's an alternative way, there is no "right" way 😉
@Xosmond The warnings are just that - warnings, indicators that you should look into something rather than something being wrong.
If you are running a caching server/service in front of your site then you can configure it to cache or not cache query-string URLs as you see fit, in general the majority of cache servers are set up to cache query-string URLs by default so you should be good. If you're not running a caching server in front of your site then you have nothing to worry about as it won't have any affect either way 😄
I'm going to close this issue as it's not a bug. If you need any further help setting up your server environment please head over to our slack channel where the community is at hand.


Add HistorySearchUp and HistorySearchDown actions

Add HistorySearchUp and HistorySearchDown actions which are similar to HistoryUp and HistoryDown but search for the prev/next history item whose beginning matches the currently entered text in the infobuffer (more precisely, the text before cursor).
Also fixed the following issue: if we scrolled to an older history item and then edit the infobuffer, this older item gets modified.
We should not edit old history entries. So in this case set HistoryNum to the last (newly added) item and modify the last item.

@zyedidia what do you think about this?
This is a pretty standard feature. I'm using this PR all the time (I have my Up and Down keys bound to HistorySearchUp and HistorySearchDown instead of the default HistoryUp and HistoryDown). It's very useful e.g. when I want to open some of the recently opened files, I type "open " and then search the history for commands starting with "open ".

@zyedidia ping.

Thanks for the ping, looks good.

@zyedidia Thanks for merging. I've realized you seem to be reviewing PRs for the next release, so would be great if you also had a chance to take a look at my other pending PRs: https://github.com/zyedidia/micro/pulls/dmaluka


Help to get migrations to run on Waterline standalone

Node version: (18.0.0)
DB adapter & version (sails-postgresql@4.0.0):

I kindly require assistance to get migrations to run on waterline standalone version 0.15.0
My config is as follows:
module.exports = {
	adapters: {
		pg: require('sails-postgresql'),
		mysql: require('sails-mysql'),
	},
	datastores: {
		default: {
			adapter: 'pg',
			host: 'localhost',
			port: 5432,
			user: 'rcp',
			password: 'rcp',
			database: 'db_service',
			isVersion12OrNewer: true,
		},
		mysql: {
			adapter: 'mysql',
			host: 'localhost',
			port: 3306,
			user: 'db',
			password: 'db',
			database: 'db_service',
		},
	},
};

My models:
module.exports = {
	identity: 'pet',
	datastore: 'default',
	primaryKey: 'id',
	migrate: 'alter',
	attributes: {
		id: {
			type: 'number',
			autoMigrations: { autoIncrement: true },
		},
		breed: { type: 'string' },
		type: { type: 'string' },
		name: { type: 'string' },

		// Add a reference to User
		owner: {
			model: 'user',
		},
	},
};

module.exports = {
	identity: 'user',
	datastore: 'default',
	primaryKey: 'id',
	migrate: 'alter',
	attributes: {
		id: {
			type: 'number',
			autoMigrations: { autoIncrement: true },
		},
		firstName: { type: 'string' },
		lastName: { type: 'string' },

		// Add a reference to Pets
		pets: {
			collection: 'pet',
			via: 'owner',
		},
	},
};

The bootstrap file:
const Waterline = require('waterline');
const config = require('./config');

const userModel = require('./models/user');
const petModel = require('./models/pet');

const userCollection = Waterline.Collection.extend(userModel);
const petCollection = Waterline.Collection.extend(petModel);

const waterline = new Waterline();

waterline.registerModel(userCollection);
waterline.registerModel(petCollection);

waterline.initialize(config, function (err, ontology) {
	if (err) {
		console.error(err.message);
		return;
	}

	// Tease out fully initialized models.
	let User = ontology.collections.user;
	let Pet = ontology.collections.pet;

	// Since we're using `await`, we'll scope our selves an async IIFE:
	(async () => {
		// First we create a user
		const user = await User.create({
			firstName: 'Neil',
			lastName: 'Armstrong',
		});

		// Then we create the pet
		const pet = await Pet.create({
			breed: 'beagle',
			type: 'dog',
			name: 'Astro',
			owner: user.id,
		});

		// Then we grab all users and their pets
		const users = await User.find().populate('pets');
		console.log(users);
	})()
		.then(() => {
			// All done.
		})
		.catch((err) => {
			console.error(err.message);
		}); //_∏_
});

My package.json:

{
	"name": "db-service",
	"version": "1.0.0",
	"main": "index.js",
	"license": "MIT",
	"scripts": {
		"dev": "nodemon index.js"
	},
	"dependencies": {
		"sails-mysql": "^2.0.0",
		"sails-postgresql": "^4.0.0",
		"waterline": "^0.15.0"
	},
	"devDependencies": {
		"nodemon": "^2.0.18"
	}
}

The issue I am facing is that when I run the bootstrap file, I get the error below:
Unexpected error from database adapter: relation "public.user" does not exist
Any assistance on this is highly appreciated.
Error Stack:
OperationalError [AdapterError]: Unexpected error from database adapter: relation "public.user" does not exist
    at callback (/Users/.../Downloads/musings/db-service/index.js:20:27)
    ... 20 lines matching cause stack trace ...
    at Connection.emit (node:events:539:35) {
  cause: Error [AdapterError]: Unexpected error from database adapter: relation "public.user" does not exist
      at callback (/Users/.../Downloads/musings/db-service/index.js:20:27)
      at /Users/.../Downloads/musings/db-service/node_modules/waterline/lib/waterline.js:731:14
      at /Users/.../Downloads/musings/db-service/node_modules/async/dist/async.js:952:25
      at iteratorCallback (/Users/.../Downloads/musings/db-service/node_modules/async/dist/async.js:997:17)
      at /Users/.../Downloads/musings/db-service/node_modules/async/dist/async.js:847:20
      at /Users/.../Downloads/musings/db-service/node_modules/waterline/lib/waterline/utils/system/validate-datastore-connectivity.js:42:14
      at /Users/.../Downloads/musings/db-service/node_modules/machine/lib/private/help-build-machine.js:954:24
      at handlerCbs.success (/Users/.../Downloads/musings/db-service/node_modules/machine/lib/private/help-build-machine.js:814:26)
      at Object.releaseConnection (/Users/.../Downloads/musings/db-service/node_modules/machinepack-postgresql/machines/release-connection.js:79:18)
      at wrapper (/Users/.../Downloads/musings/db-service/node_modules/@sailshq/lodash/lib/index.js:3282:19)
      at parley.retry (/Users/.../Downloads/musings/db-service/node_modules/machine/lib/private/help-build-machine.js:1076:19)
      at parley (/Users/.../Downloads/musings/db-service/node_modules/parley/lib/parley.js:140:5)
      at Object.runFn [as releaseConnection] (/Users/.../Downloads/musings/db-service/node_modules/machine/lib/private/help-build-machine.js:461:23)
      at /Users/.../Downloads/musings/db-service/node_modules/waterline/lib/waterline/utils/system/validate-datastore-connectivity.js:35:27
      at /Users/.../Downloads/musings/db-service/node_modules/machine/lib/private/help-build-machine.js:954:24
      at handlerCbs.success (/Users/.../Downloads/musings/db-service/node_modules/machine/lib/private/help-build-machine.js:814:26)
      at PendingItem.cb [as callback] (/Users/.../Downloads/musings/db-service/node_modules/machinepack-postgresql/machines/get-connection.js:87:20)
      at BoundPool._acquireClient (/Users/.../Downloads/musings/db-service/node_modules/pg-pool/index.js:298:21)
      at /Users/.../Downloads/musings/db-service/node_modules/pg-pool/index.js:270:21
      at Connection.<anonymous> (/Users/.../Downloads/musings/db-service/node_modules/pg/lib/client.js:253:7)
      at Object.onceWrapper (node:events:642:26)
      at Connection.emit (node:events:539:35) {
    adapterMethodName: 'create',
    modelIdentity: 'user',
    raw: error: relation "public.user" does not exist
        at Parser.parseErrorMessage (/Users/.../Downloads/musings/db-service/node_modules/pg-protocol/dist/parser.js:287:98)
        at Parser.handlePacket (/Users/.../Downloads/musings/db-service/node_modules/pg-protocol/dist/parser.js:126:29)
        at Parser.parse (/Users/.../Downloads/musings/db-service/node_modules/pg-protocol/dist/parser.js:39:38)
        at Socket.<anonymous> (/Users/.../Downloads/musings/db-service/node_modules/pg-protocol/dist/index.js:11:42)
        at Socket.emit (node:events:527:28)
        at addChunk (node:internal/streams/readable:324:12)
        at readableAddChunk (node:internal/streams/readable:297:9)
        at Readable.push (node:internal/streams/readable:234:10)
        at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
      length: 110,
      severity: 'ERROR',
      code: '42P01',
      detail: undefined,
      hint: undefined,
      position: '13',
      internalPosition: undefined,
      internalQuery: undefined,
      where: undefined,
      schema: undefined,
      table: undefined,
      column: undefined,
      dataType: undefined,
      constraint: undefined,
      file: 'parse_relation.c',
      line: '1363',
      routine: 'parserOpenTable'
    }
  },
  isOperational: true,
  adapterMethodName: 'create',
  modelIdentity: 'user',
  raw: error: relation "public.user" does not exist
      at Parser.parseErrorMessage (/Users/.../Downloads/musings/db-service/node_modules/pg-protocol/dist/parser.js:287:98)
      at Parser.handlePacket (/Users/.../Downloads/musings/db-service/node_modules/pg-protocol/dist/parser.js:126:29)
      at Parser.parse (/Users/.../Downloads/musings/db-service/node_modules/pg-protocol/dist/parser.js:39:38)
      at Socket.<anonymous> (/Users/.../Downloads/musings/db-service/node_modules/pg-protocol/dist/index.js:11:42)
      at Socket.emit (node:events:527:28)
      at addChunk (node:internal/streams/readable:324:12)
      at readableAddChunk (node:internal/streams/readable:297:9)
      at Readable.push (node:internal/streams/readable:234:10)
      at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
    length: 110,
    severity: 'ERROR',
    code: '42P01',
    detail: undefined,
    hint: undefined,
    position: '13',
    internalPosition: undefined,
    internalQuery: undefined,
    where: undefined,
    schema: undefined,
    table: undefined,
    column: undefined,
    dataType: undefined,
    constraint: undefined,
    file: 'parse_relation.c',
    line: '1363',
    routine: 'parserOpenTable'
  }
}

Gonna +1 this question cause I too am very confused. Although it's a very cool MVC framework, using the full Sails package is way overkill for what I need to do (no need for controllers, views, etc. Just in need a solid ORM, which it appears waterline is)
Everything seems fairly straightforward except: how do you sync db schema? Or run migrations/seeds when using the standalone waterline?
Sequelize, TypeORM, Prisma (the 3 I've messed around with) all seem to expose a CLI command or at least the ability to run migrations/sync schema programmatically, but those abilities seem very obfuscated within... sails? waterline? waterline-postgresql?
Not meaning to sound critical because I do appreciate the work the Sails team does very much, just kind of in a black hole of "what do I do now?" if I can't even get the db schema populated. Googling yields next to nil questions on the subject, and fewer answers. I'd even be happy to explore the idea of a PR that would add the needed functions/commands, but could use some help getting pointed in the direction of where all that magic happens now (the functionality clearly exists within Sails since it does what it should during sails lift, so it should be doable). I couldn't even begin to guess where Sails does all the schema generation and syncing now, if it's even in that package. Just feels like I'm trying to drive a car with no ignition at the moment.
Or... if I just suck at googling and this is something super obvious like await Waterline.syncSchema(), apologies for the question, just need to doc reference link.
Thanks kindly 😄

Hi @r2g & @ehainer,
Auto-migrations are not a part of Waterline, they are handled by sails-hook-orm.
When using standalone Waterline, you need to manage your schema yourself (with a tool like PgAdmin or Sequel Pro).


Fix compiling on io.js 1 & 2

This fixes a compilation error on io.js 1 and 2. V8 4.2.77 (io.js 2.5.0) still uses Parse(Local<String> json_string), and V8 4.4.63 (io.js 3.3.1) uses Parse(Isolate *isolate, Local<String> json_string)

Nice.  Thank you for this.  I think this might also resolve #670

I'll be happy to merge once the nit is resolved.

@bnoordhuis I actually only came across this when doing some test builds for a project. I did notice that the CI configs no longer test against io.js, but the README and several places in the code still reference these versions, and the fix seemed small enough that it wouldn’t be a huge hassle.


Power savings not working.

I installed default bazzite with KDE for Steam Deck.
I loved the power savings option on the Steam OS, just pressing the power button and continue to play whenever.
Furthermore, I was playing Baldurs Gate 3 pressed power button, screen goes blank and everything seems off. Trying to start again with pressing the power button did nothing.
Battery was full.
Next Morning tried power button again to see if it starts now, no luck so pressed power button again for more than 5 seconds and again nothing.
Hooked to power supply and saw the steam deck come back to life and the battery was empty completely drained.
I love the idea and the project, I do not know if I can help with development but right now I can help with testing stuff, finding problems and reporting them. I am a software developer from Germany had mostly C# experience but since last year shifted to JS and ts with web apps.

So i tried this again directly from game mode without being ingame, still same. Then tried this from desktop mode, again no change.
after pressing the power button(for it to come back) i hear the fan going very loud but nothing happens on screen, only way right now to get it back is a hard 5 sek. reset.
This would be a reason for me to go back to the original StemOS because this feature is amazing, being able to power save mode and after 15 mins going back directly to the game is awesome.

Can you record a video? I'm not able to reproduce this on any hardware.

https://youtu.be/7Kxrk9f6izI

i have more infos, it seems after going to power safe, then pressing power buttons, increasing or decreasing sound gives me a sound, so it seems like just the screen is blank, pressing it again, now i dont get sound feedback but the pads give this rumble feedback while going over them, pressing the power button further does not change anything anymore, the thumb pads just rumble. any other input does not give any feedback.

Sounds like it's simply not going to sleep, but I'm still unable to produce both of your issues even after a complete reinstall on real hardware. I'll keep digging.

sorry to hear that, i will try a fresh install tomorrow, i had set a user password in the anaconda installer and deactivated root.

As I know when you push the button key, it calls the script ~/.steam/root/ubuntu12_32/steam -ifrunning steam://shortpowerpress will show the steam animation logo first then go to suspend.target to suspend the machine.
sudo rpm -ql jupiter-hw-support-btrfs-0.0.git.786.e6e43b17-1.fc38.x86_64 | grep button
/usr/lib/hwsupport/power-button-handler.py
/usr/lib/udev/rules.d/99-power-button.rules

$ cat /usr/lib/hwsupport/power-button-handler.py

def longpress():
	os.system( "~/.steam/root/ubuntu12_32/steam -ifrunning steam://longpowerpress" )
	global longpresstimer
	longpresstimer = None

if powerbuttondev != None:
	for event in powerbuttondev.read_loop():
		if event.type == evdev.ecodes.EV_KEY and event.code == 116: # KEY_POWER
			if event.value == 1:
				longpresstimer = threading.Timer( 1.0, longpress )
				longpresstimer.start()
			elif event.value == 0:
				if longpresstimer != None:
					os.system( "~/.steam/root/ubuntu12_32/steam -ifrunning steam://shortpowerpress" )
					longpresstimer.cancel()
					longpresstimer = None

	powerbuttondev.close()
	exit()

print ( "power-button-handler.py: Can't find device for power button!" )

if the steamdeck suspend button doesn't work, I just guess whether there is some bios settings was changed causing this issue.
I recommend to flash the latest bios firmware manually first that could reset the default bios settings. Everything should be ok.
sudo /usr/share/jupiter_bios_updater/h2offt /usr/share/jupiter_bios/F7A0116_sign.fd -all -AC

If it still doesn't fix, suggest you use the sosreport command to collect your machine logs to investigate.
the logs will be create in /var/tmp/sosreport-*tar.xz folder.
sudo -i
sosreport

so where do i put the reports for investigation

so where do i put the reports for investigation, did a fresh install and reverted BIOS back to optimized Settings, but no change.

I think you may save it to person drive, like gdrive for sharing the logs for investigation.

Fixed in next release. Fsync kernel has a patch which should fix this.