Linking (redirect) to update profile and forgot password not working

There should according to docs only be one instance of the UserAgentApplication which is created with one authority (policy file, e.g combined sign-in/sign-up). But there seems to be no way to change authority (policy file) for e.g user profile update or to forgot password. The userAgentApp.config.auth.authority can be accessed/set but the loginRedirect is not affected by this. Seems to be a fix for this https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/915 but when will it be released? Also, the docs should mention the far from obvious way of handling password reset...
Sample impl excerpt (not working, both loginRedirects resolves to window.location):
const msalConfig = {
    auth: {
        clientId: "<client id>",
        authority: "https://<hostname>/B2C_1_SignInSignUp",
        validateAuthority: false
    },
    cache: {
        cacheLocation: "localStorage",
        storeAuthStateInCookie: true
    }
};

function redirectCallback(error, loginResponse) {
    if (!error) {
        console.log(loginResponse);
    } else {
        // bugs in msal?
        //https://github.com/Azure-Samples/active-directory-b2c-javascript-msal-singlepageapp/issues/9#issuecomment-504340505
        //https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/440
        if (error.errorMessage.indexOf("AADB2C90118") >= 0) {
            console.log("password reset");
            myMSALObj.config.auth.authority = "https://<hostname>/B2C_1_PasswordReset";
            myMSALObj.loginRedirect();
        } else if (error.errorMessage.indexOf("AADB2C90091" >= 0)) {
            console.log("password reset cancelled");
        } else {
            console.log(error);
        }
    }
}

function editProfile() {
    myMSALObj.config.auth.authority = "https://<hostname>/B2C_1_ProfileEdit";
    myMSALObj.loginRedirect(loginRequest);
 }

const myMSALObj = new Msal.UserAgentApplication(msalConfig);
myMSALObj.handleRedirectCallback(redirectCallback);

Tested with msal.js versions 1.1.2, 1.1.3 and <IP_ADDRESS> (preview) with same behavior.

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

ID: 5b24fece-c54c-519a-7d3a-13db520d776e
Version Independent ID: 34749db8-8bda-c17d-c16e-17271223ddc1
Content: Learn how applications can interoperate with Azure AD B2C by using Microsoft Authentication Library
Content Source: articles/active-directory/develop/msal-b2c-overview.md
Service: active-directory
Sub-service: develop
GitHub Login: @negoe
Microsoft Alias: negoe

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

hey @ErikAndreas if you're interested in updates in regards to when a feature is released, please post it against the github issues and they'll reach out accordingly. Updates for the MSAL library are not released on a recurring scheduled basis.
For info regarding when these libraries will be released, please see the wiki : https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki#Releases
I apologize for the inconvenience, this will be released soon and the docs will be updated accordingly.
@ErikAndreas Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day tomorrow.
Please file a new git issue with a reference to this one if you have anymore concerns. Thanks

Hi @FrankHu-MSFT - thanks for your reply. If possible, I'd like a clarification on if my, and others, investigation in update profile and forgot password in fact is not currently working with msal.js?
Also, if possible, how can I find out in which release this will be fixed? The wiki link seems outdated with regards to dates?
We're in a customer facing implementation project using msal.js (SPA) and would really like to know when we could expect a fix of our issue and if our investigations are correct; msal.js does not support more than one authority for loginRedirect? I really think the docs should state the latter (we've spent quite a lot of time on this and stating it not working could save others some time).

hello @erikandreas that link is up to date, and is the most up to date resource for all MSAL JS items.
Per the github issue/pull request you had mentioned, https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/784
There is currently a known issue in the MSAL JS library. This is being fixed and you can pull the dev branch if you're interested in utilizing this feature.
Once this is merged into the official release you will be able to find it on the #releases section for the MSAL .JS wiki.
The reason it is not there is because the fix has not been released yet.
Please see the release wiki page accordingly.
In this b2c doc there doesn't seem to be anywhere that says to utilize multiple authorities. If you're further interested in the details regarding the pull request please submit an issue against the MSAL.JS github repo here : https://github.com/AzureAD/microsoft-authentication-library-for-js/issues
Issues against the azure docs repo should be issues ONLY for the azure docs, not the libraries. There is currently an issue with the library, but this does not reflect the docs accuracy on this page.
That being said, I will be closing this github issue by end of day today. If you have an update from the MSAL.JS repo that says accordingly that this is not supported we can update accordingly, however we work with the backend teams in regards to these docs and this doc is currently up to date,


Refactoring of OuroborosApplication

Instead of using ConnectionId addr -> OuorborosApplication ... it redefines the OuroborosApplication:
newtype OuroborosApplication (appType :: AppType) addr bytes m a b =
      OuroborosApplication (ConnectionId addr -> [MiniProtocol appType bytes m a b])

At a later stage we will hide one more argument inside OuroborosApplicatoin
newtype wrapper:  the signal STM transaction to gracefully terminate client
protocols.
This PR requires #2090 to be merged first (it targets #2090 branch at the moment, just to show adequate diff).

Updated ouroboros-consensus
Updated demo-chain-sync
Updated ouroboros-network (lib & tests)
Updated demo-ping-pong
OuroborosApplicaiton
Put ConnectionId in its own module.

bors merge


Target conditionals for native numerical types

If there is a native equivlant to a number type it should replace go2hx's version.

The haxe.Int32 implementation provides an excellent example of how a generic implementation of Go's types might be done, especially with respect to the clamp() function and high-bit extension, plus other adjustments, where required by different implementations.
What will require some work, is working-out how to use implementation-specific types in an abstraction like this.

Updated a prototype gist for the Go uint8 abstraction to use C "unsigned char" when the hl target is used (generates correct looking C code).
abstract
#if (hl)
GoUInt8(hl.UI8) from hl.UI8
#else
GoUInt8(UInt) from UInt
#end
{
// abstract body
}

This is currently done, it does need to be tested more, however that can come in the future when the test suite is passing completly or near complete on one target.


Access Controls:  Require MFA for Administrators severity

the control severity is only medium - as this policy protects Global Administrators and other privileged accounts, I have a hard time with this not being a high severity.
check guid is: fe1bd15d-d2f0-4d5e-972d-41e3611cc57b

Hey @brsteph could the ALZ team look into this? Thx!

Hey @erjosito,
The GUID: fe1bd15d-d2f0-4d5e-972d-41e3611cc57b is not longer present, the recommendation for enforcing multi-factor has been updated to GUID: 1049d403-a923-4c34-94d0-0018ac6a9e01, with a text of "Enforce multi-factor authentication for any user with rights to the Azure environments" and a severity of "High."  This is showing up both in the code block for the recommendation and in the ALZ macrofree spreadsheet.
Moving forward with new checklists, this should be in line with @spaelling ask.  I believe we can close this.


API Reference may be vague or unclear.[BUG]

There are same API call example with two different API at lepton.ai,i am confused,may be It's not a bug!

at this page :https://www.lepton.ai/references/image_processing#artistic-text-generation

QR Code and artistic text API and so on....they are same

This API url:https://aiqr.lepton.run/generate,i think it is used to generate artistic text,i can't get any satisfied qrcode with this url.

Thanks for noticing this - cc'ing @bobmayuze to take a look :)

Thanks for pointing it out, and they are the same code because the way to generate artistic QR codes or artistic texts is to provide a control image to start with. And a control images need to be passed in as base64 format.

Yep same generation logic, just need to passing in different control images for different scenarios (art text vs. qrcode).


Fails in strict mode

If I run node in strict mode, this package throws an error:
// testleven.js
const leven = require("damerau-levenshtein");
console.log(leven("app", "apple"));

$ node --use_strict testleven.js

ReferenceError: j is not defined
    at module.exports (./node_modules/damerau-levenshtein/index.js:38:12)
    at repl:1:1
    at sigintHandlersWrap (vm.js:22:35)
    at sigintHandlersWrap (vm.js:96:12)
    at ContextifyScript.Script.runInThisContext (vm.js:21:12)
    at REPLServer.defaultEval (repl.js:313:29)
    at bound (domain.js:280:14)
    at REPLServer.runBound [as eval] (domain.js:293:12)
    at REPLServer.<anonymous> (repl.js:513:10)
    at emitOne (events.js:101:20)

You are right. Thank you. The release is on the way (I just need to update the test command and the change log).


fix(es/react): error report of react pragma

Description:

BREAKING CHANGE:

Related issue (if exists):

fix #5099

Is there a use case for omitting a value? Maybe missing values should be reported as an error? Wouldn't cause any issues with existing codebases as current behaviour is to panic.

We are following Babel's behaviour.
swc refuse to compile if it reported as an error. I don't think this is a fatal error.
swc currently cannot output warning-level reports, which is something that can be improved in the future.


afreecatv unable to download

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.09.01 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
hongkong
Provide a description that is worded well enough to be understood
all videos‘re playable, but failed to download. error message: unable to extract station
[afreecatv] 76883700: Downloading webpage
ERROR: [afreecatv] 76883700: Unable to extract station; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

D:\eee>yt-dlp -U
Latest version: 2022.09.01, Current version: 2022.09.01
yt-dlp is up to date (2022.09.01)

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
D:\eee>yt-dlp -vU https://vod.afreecatv.com/player/76883700
[debug] Command-line config: ['-vU', 'https://vod.afreecatv.com/player/76883700']
[debug] Encodings: locale cp936, fs utf-8, pref cp936, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.09.01 [5d7c7d6] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg N-93022-g260f1960e7, ffprobe N-93022-g260f1960e7
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1670 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.09.01, Current version: 2022.09.01
yt-dlp is up to date (2022.09.01)
[debug] [afreecatv] Extracting URL: https://vod.afreecatv.com/player/76883700
[afreecatv] 76883700: Downloading webpage
ERROR: [afreecatv] 76883700: Unable to extract station; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 670, in extract
  File "yt_dlp\extractor\afreecatv.py", line 232, in _real_extract
  File "yt_dlp\extractor\common.py", line 1222, in _search_regex

Duplicate of https://github.com/yt-dlp/yt-dlp/issues/4514


Improve validate in new framework

Currently in new framework, results are validated by comparing two framework: numpy and numba or numba-dpex. It is better to make sure only results or output from tests are compared.

For now, deep copy is added to dpbench/benchmarks/knn/knn_numba_npr.py and dpbench/benchmarks/knn/knn_numpy.py to avoid updating vote_to_classes array. The reason is that we are validating framework(both input and output). To be consistent with dpex offload results, we have to use deep copy to keep input constant on CPU runs.
Once correct validation method is implemented, the deep copy can be removed.


Unable to install some dependencies

Hi!
When I tried using the command 'conda env create --file=environment.yml', it threw me the following error:
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:

pcre==8.44=he6710b0_0
pixman==0.40.0=h7b6447c_0
tornado==6.1=py37h27cfd23_0
libopencv==3.4.2=hb342d67_1
ld_impl_linux-64==2.33.1=h53a641e_7
qt==5.9.7=h5867ecd_1
libgfortran-ng==7.3.0=hdf63c60_0
freetype==2.10.4=h5ab3b9f_0
pandas==1.2.2=py37ha9443f7_0
sip==4.19.8=py37hf484d3e_0
libopus==1.3.1=h7b6447c_0
numpy-base==1.19.2=py37hfa32c7d_0
cffi==1.14.5=py37h261ae71_0
libxcb==1.14=h7b6447c_0
zstd==1.4.5=h9ceee32_0
readline==8.1=h27cfd23_0
libuv==1.40.0=h7b6447c_0
pyqt==5.9.2=py37h05f1152_2
harfbuzz==1.8.8=hffaf4a1_0
libuuid==1.0.3=h1bed415_2
gstreamer==1.14.0=h28cd5cc_2
torchvision==0.4.0=py37_cu100
libffi==3.3=he6710b0_2
ca-certificates==2021.1.19=h06a4308_0
lz4-c==1.9.3=h2531618_0
mkl_fft==1.3.0=py37h54f3939_0
expat==2.2.10=he6710b0_2
libtiff==4.1.0=h2733197_1
libgcc-ng==9.1.0=hdf63c60_0
libstdcxx-ng==9.1.0=hdf63c60_0
xz==5.2.5=h7b6447c_0
icu==58.2=he6710b0_3
glib==2.67.4=h36276a3_1
setuptools==52.0.0=py37h06a4308_0
pillow==8.1.0=py37he98fc37_0
termcolor==1.1.0=py37h06a4308_1
zlib==1.2.11=h7b6447c_3
libpng==1.6.37=hbc83047_0
python==3.7.10=hdb3f193_0
mkl==2020.2=256
scipy==1.6.1=py37h91f5cce_0
kiwisolver==1.3.1=py37h2531618_0
jasper==2.0.14=h07fcdf6_1
ncurses==6.2=he6710b0_1
mkl-service==2.3.0=py37he8ac12f_0
numpy==1.19.2=py37h54aff64_0
libxml2==2.9.10=hb55368b_3
pytorch==1.2.0=py3.7_cuda10.0.130_cudnn7.6.2_0
hdf5==1.10.2=hba1933b_1
py-opencv==3.4.2=py37hb342d67_1
ffmpeg==4.0=hcdf2ecd_0
pip==21.0.1=py37h06a4308_0
lcms2==2.11=h396b838_0
intel-openmp==2020.2=254
libvpx==1.7.0=h439df22_0
libglu==9.0.0=hf484d3e_1
matplotlib-base==3.3.4=py37h62a2d02_0
bzip2==1.0.8=h7b6447c_0
dbus==1.13.18=hb2f20db_0
mkl_random==1.1.1=py37h0573a6f_0
openssl==1.1.1j=h27cfd23_0
certifi==2020.12.5=py37h06a4308_0
fontconfig==2.13.1=h6c09931_0
graphite2==1.3.14=h23475e2_0
cudatoolkit==10.0.130=0
ninja==1.10.2=py37hff7bd54_0
tk==8.6.10=hbc83047_0
matplotlib==3.3.4=py37h06a4308_0
libedit==3.1.20191231=h14c3975_1
cairo==1.14.12=h8948797_3
freeglut==3.0.0=hf484d3e_5
sqlite==3.33.0=h62c20be_0
gst-plugins-base==1.14.0=h8213a91_2
jpeg==9b=h024ee3a_2

Do I need to install all these dependencies individually or should the above command have worked as it is?
Please help me out as installing them individually is also not working with pip. Further, let me know if I need to use some package manager other than pip for individual installation.
Thanks in advance!

Sorry, I didn't met such problem before and am busy with another project now. You may ask the guy with
similar issues see here.
Anyway , u might install these independices yourself by seeing which packages are missing when u run the code.

@MengHao666 Thank you so much for the prompt reply!
I'll check it out with the other guy. Thanks again.

@sidoodler I got the same issue and wonder how did you fix it?

@zhaoliyue actually I couldn't fix it. When I checked with the other guy, he told me that I needed to install all the dependencies manually via pip or conda. As it was a lot of work, I gave it up and looked for alternative repos.

@zhaoliyue @sidoodler It should not be a problem as many pepole have tried it. I am so sorry I am busy with another project. I will check it once I have time.

u may refer to  here


EP 12 Broke seams between lower LOD Chunks

After fixing the seams in episode 12, lowering the LOD causes large height gaps between chunks.
I believe this is an issue with the mapgenerator as it appears as if the chunks are not lining up properly.
Looking in Sebastian's videos, it appears he had this issue as well, he just may not have noticed it because he was looking more closely at LOD 0 chunks. These broken seams are fairly jarring though and I'm hoping someone has a solution.
I understand this repository is 3 years old but any kind of response here would be greatly appreciated.

Yes, in the last episode 21, he addresses the solution.
I was puzzled by this as well, but it is actually working as he designed it so far.


REST API for updating Block Condition Status

Description:

Need to write an API to update the status of block conditions.

Need to add Condition Status property to GET and POST APIs of block condition APIs as well.

Related : https://github.com/wso2/product-apim/issues/7954

Need more detailed error descriptions as well.
Jaggery API gives the following error:

REST API gives only the following error:

@tgtshanika @Meruja  I did not see a PUT API to update the condition status of the blacklist policy?

@tgtshanika @Meruja I did not see a PUT API to update the condition status of the blacklist policy?

Done with this PR
[Admin REST API] - API to update block condition status #8549


Adds additional spelling options for YEARS header

Pull request
Hi openscm people. We at PIK are considering using some of the stable openscm tools in our workflows. For that, it would be super useful if pymagicc could just use our current MAGICC scenario files.
The only thing stopping that from happening is a line in read_data_block that calls _read_data_header_line enforcing that the header for the Years variable is spelled in uppercase:
variables = self._read_data_header_line(self._stream, ["YEARS", "YEAR"])
This PR currently simply adds a mixed-case "Years" entry to that list, since that's how our models write scenario files write that header:
variables = self._read_data_header_line(self._stream, ["Years","YEARS", "YEAR"])
We could change this in our models, but this would be great for backwards compatibility and MAGICC (at least our binary) doesn't seem to care either way. Would you mind merging this? Also, If you'd prefer a more general way to do this, I'd be happy to implement it.
Thanks,
Gabriel

Hi @gabriel-abrahao, thanks for the PR. The changes look fine. Could you please add a test and a CHANGELOG entry?

Thanks! I added a test REMIND scenario file and a test_load_remind_scen to read it and assert some values. It's passing on my side. Also added an entry to the changelog under master, not sure if that's where it should go.

released in v2.1.1 https://pypi.org/project/pymagicc/2.1.1/


Fix bad initials / avatars in convlist and convadd

This is mostly an implementation update.
user's avatars were being generated in 3 different methods, this unifies it by using drawAvatar from util.coffee

conflicts!

fixed!

no :P

it was a bad idea to correct indentation and break some code in multiple lines -_-
should be ok


Update proxying-api-requests-in-development.md

We should always pass path parameter to app.use and context parameter to proxy, which are almost always the same, except cases mentioned in third Note.
app.use mounts the specified middleware function at the specified path: the middleware function is executed when the base of the requested path matches path.
proxy first parameter specify context (part of url) which then will be checked whether request url has it or not. This is not necessarily with http requests, but will break WebpackDevServer sockjs-node HMR functionality when we try to proxy some of our own websocket requests. Default context is '/' and because all urls has '/', /sockjs-node from WDS also will be proxied, but it shouldn't. http requests work without specifying context because no one else sends http requests.
Related to this comment.

Updated http-proxy-middleware imports as of v1.0.0

@iansu @amyrlam @mindhaq please consider to merge. Similar PR #8515 was merged, while this one was earlier and fix some issues. Thank you!


Timezone is not used to show the correct information.

Description
When a show has a new chapter in the future (for example, at 22pm EST time) but that is the past in the present (for example GMT time), the system Jellyseerr shows that the show has aired, but not real, thinking that it was on the same day for the wrong timezone.
For example, last chapter of next show is aired on 12th of March US time (future), but in Europe it shows that it has done 22 hours ago (past):

Checking the sonarr information it has done the change of the timezone (the show will aired in some hours, on 13th march at 1am :

The time of when the chapter will be aired should match with the information of sonarr/radarr but at the same time it should match the information of the timezone to adjust the timezone correctly.
Version
1.4.1
Steps to Reproduce
Any series with aired on US time and living in Europe.
Platform
desktop
Device
Any
Operating System
Any
Browser
Any
Additional Context
I used last version, and I added the TZ to the container:

Code of Conduct

[x] I agree to follow Overseerr's Code of Conduct

The time is taken from tmdb. Sonarr uses tvd. Jellyseerr just takes the data from tmdb

You are right, in the tmdb shows 12th March. Maybe could be a possibility/alternative to get the data from the Sonarr api? It seems very more accurate than tvd.
Thanks in advance.

I'm not sure if they even offers the time through sonarr api (might be mistaken never checked) 🤔
It would be great if sonarr exposes that information in the API.

But that would also break anyone who uses jellyseerr for the sole purpose of just using it with radarr or so
The ideal would be that shows be checked on sonarr and films on radarr, right?

The ideal would be that shows be checked on sonarr and films on radarr, right?

What I meant was what if someone runs jellyseer but doesn't use sonarr and only radarr. If they were to accidentally open a series, wouldn't the time be booked. A fallback to tmdb could be used yeah but you get my point 🤔


updated readme with install instructions

Updated installation instructions.   This includes the instructions for how to use cookie cutter to createa . package.
This branch is a fork of the astropy package template with updates to enable STScI package requirements and branding.

Oh, I didn't know we switched to cookiecutter here. In that case, we should also make that the default branch, not master. I don't have write access here, so you'll have to wait for @sosey to review.

Trying out the astropy package template and cookiecutter was one of the outcomes of the discussion: that we had in https://innerspace.stsci.edu/pages/viewpage.action?pageId=118788324
I'm okay with this not being merged into master while we try it out, and see what things might need to be added/replaced, or change.  But I did want something in place for a comparison and to start testing and using it.

I think it will be pretty confusing to users, who will arguably be mostly non-fulltime software devs to have one repository, with two different branches representing fairly different package templates and dependencies.
If this has been chosen as the best way to present the templates, then the readme should include information for the user on which one they should choose, and why; And this information should be propagated to the master branch's readme as well. There will probably be many internal users who wont be using astropy in their code, saddling their package with all the dependencies that come with  the astropy template might not be their best path. If we do this, lets change the name of the master branch to something more instructive.
That said, the readme should be fixed to change cookiecutter to stsci-cookiecutter to match the branch name
cookiecutter https://github.com/spacetelescope/stsci-package-template --checkout cookiecutter
should be
cookiecutter https://github.com/spacetelescope/stsci-package-template --checkout stsci-cookiecutter
Also, the license section is confusing, I don't know of an Aura license, just an Aura Copyright, I think that option should be removed, "other" should also be reconsidered if we're required to have a specific non-viral license. I think the AURA Copyright should probably be included in every repository, in addition to the license that is chosen. the Copyright guards intellectual property, the license informs use. They are included in one file in the master repo, but perhaps they should be separated. Maybe @arfon has suggestions?
The link text for This template's Github code repository should be changed to The Astropy Template Github code repository for clarity, or link it to this stsci one
The questions presented by the cookiecutter wont make immediate sense to new and possibly intermediate users, the readme should either point to documentation that explains each of the questions and what they mean, or include descriptions of them in the readme itself. The users should see them before running cookiecutter so they understand. Minimally include a link to the QUESTIONS.rst that has some descriptions.
I'm referring to the questions asked during setup:
Select license:
1 - Aura
2 - BSD 3-Clause
3 - GNU GPL v3+
4 - Apache Software Licence 2.0
5 - BSD 2-Clause
6 - Other
project_url [http://stsci.edu]:
project_version [0.0.dev]:
include_example_code [y]:
include_example_cython_code [n]:
include_cextern_folder [n]:
edit_on_github_extension [False]:
github_project [spacetelescope/stsci-package-template]:
use_travis_ci [y]:
use_appveyor_ci [n]:
use_read_the_docs [y]:
sphinx_theme [stsci_rtd_theme]:
initialize_git_repo [y]:
Select minimum_python_version:
1 - 3.7
2 - 3.6
3 - 3.5
Choose from 1, 2, 3 [1]:
astropy_helpers_version [v3.0.2]:

Thanks for the great comments @sosey and definitely the catch on the wrong command!
If you'd prefer me to update both README's with information point back to each other, then I'll go ahead with it.    I didn't want to make this the main one prior to some people having tried it out and given feedback, but if you think it would reduce confusing then we could always switch it back if this doesn't work out.
I think it is safe to assume that the majority of our python packages developed at the institute for functional work that will be on github will have astropy as a dependency.   I realize that it is a little more overhead, but I think a number of packages being created by INS currently are using the template package.  Nonetheless, I fully support  providing people the option and then they can choose according to what they need or would prefer with the appropriate information to choose between the two.    As yo mention above this just needs clear instructions.
Following python and Tom R. , I'd suggest 'legacy' for the other branch.
I could just update all the licenses to have the Aura copyright.   That would probably be easiest and reduce the confusion.   Though, I 'd agree if the copyright and the license should be separate is a good question for @arfon.
The questions won't be fixed in this pull request, but I'll open a second issue so that it is tracked.

My experience working with people at the institute makes me prefer the original template, without the astropy-helpers dependency. That's the biggest issue for me. Most everyone will already have astropy in their environment as it's in both our dev and astroconda environments, so making it a dependency by default is reasonable, but the helpers package becoming a dependency adds other issues.

Can we discuss this? From talking with folks here it's clear this is a contentious issue. I've spoken to multiple people both at STScI and externally who either believe 1) astropy-helpers is ✨ or 2) astropy-helpers is 😡.
With no personal experience of using this library I'm not qualified to pass judgement but I suspect we should have a broader discussion in DATB/SCSB/DMD about whether we think our colleagues at STScI by default should be using this package.

Thoughts:

A package that (a) imports astropy and (b) uses it for something more than pytest and (c) requires astropy template specific features: applies the astropy-helpers template.

A package that does not (a) import astropy or (b) imports astropy for pytest facilities and (c) does not require astropy template specific features: applies stsci-package-template.

The developer agrees to incorporate any mandatory files from stsci-package-template without using the template directly. Everything regarding project structure and/or the build system (make, cmake, scons, etc) implementation falls to the developer. (Applicable to Dockerfile, Shell script libraries, C, C++, Fortran, D, Go, and even Python))

i.e.
Astropy's package template should be avoided if a project does not use astropy and has nothing to do with Astronomy. If that's the case and you still don't know how to structure your software, then use stsci-package-template. Finally, if you already know how to do all of these things, you can do whatever you like as long you include the AURA BSD-3clause license (because your software is not really yours, sorry to say), CoC and Contributing Guide.

For discussion about astropy helpers, I've opened up an issue here:
https://github.com/spacetelescope/style-guides/issues/37

Good timing: I was just about to post in spacetelescope/stsci-package-template#16 ... so see there for the context of this message (cc @sosey @arfon)
An important bit of context regarding the helpers: part of the motivation was to lower the mental burden on scientists who aren't going to take the time to become deep experts in packaging. i.e., they can learn how to write docstrings that get rendered in sphinx without knowing much about sphinx, or unit tests using remote data without really understanding pytest or the details of the remote-data plugin. By creating shared infrastructure for that  it's easier for the community to share support for such things, so people who are experts in the shared infrastructure can support a larger group of the community.
But all that goes out the window if the audience are all people who already experts in such things.  In my experience that's the crowd that is more likely to be 😡 - if they already know how to do this stuff so they see the helpers as getting in the way.  So that leads to the second motivation of the helpers: to provide shared infrastructure for these things so that at least we share the maintenance burden instead of everyone rolling their own.  I would argue that this is still a worthwhile goal, but if it really is too much of a burden that's an argument to simplify the helpers machinery, but not to throw it away completely in favor of something else.
So I guess I don't agree with the last part @jhunkeler says:  we can't say "use a different template if it's not astro-related" - it's all astro-related because we are producing software for the astronomy community, and we end up paying for it in the end anyway if we can't lower the maintainence burden on the folks who are 😡 about the template.

Just gonna merge this and follow up separately.


Regenerate with latest gir, rename ApplicationExt to GtkApplicationEx…

…t and ignore clippy warnings in generated code

There are lots of clippy warnings in the manual code, but I don't have time to go through these now

I'll write a patch for them in gir I think. Is it ok for you @EPashkin?

I'll write a patch for them in gir I think.

@sdroege You planning update gir to fix clippy warnings in manual code?

Sorry, I misread sender, question meant for @GuillaumeGomez

Aren't the clippy warnings for the generated code?

The ones for the generated code are all gone after you merged this PR. Only the ones in the manual code are left afterwards.

Ah I see. Well, I'll fix them this evening then. Thanks!


Build needs to be fixed

Now that this is working the build needs to be fixed.
data/testing  - vision_mysql::server::root_password: icinga2
Needs to be changed to vision_icinga namespace, otherwise the tests will fail
Also some issues with lint and beaker.

Fixed: https://github.com/vision-it/vision-icinga2/commit/5c8e5a2b97f3bf6e5e905a680f03ceeaab34d1b5
But there are some issues:
      # TODO: Client Certificate needs to be configured for testing
      apply_manifest(pp, :catch_failures => false)
      apply_manifest(pp, :catch_changes => false)

The Puppet Run has some errors because of the certificates not being where they should be.


Rob: Watch s2analytics.com

Rob requests the watch of the watch_keyword s2analytics\.com. See the Metasmoke search here and the Stack Exchange search here.

s2analytics\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

https://stackoverflow.com/questions/49934442/what-is-technical-analysis

!!/approve
And thanks for including a link again! (-:

Coverage remained the same at 65.091% when pulling 0551a7470ad759dfda0e672a87f572be837540f5 on auto-blacklist-1524201921.3095956 into 53b8f85a1d63cea418d061e32c4d403a275d0ace on master.


[PP-1589] Always block expired cards for Sirsidynix Horizon regardles…

…s of ignore blocks flag
Description
This update ensures that when the sirsidynix api indicates a patron is expired, the user will be blocked from performing checkout operations even if patron blocks are ignored for the sirsi auth provider.
Motivation and Context
https://ebce-lyrasis.atlassian.net/browse/PP-1589

How Has This Been Tested?
New unit tests created.

Checklist

[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

@jonathangreen : I see what I did re sirsi: I was looking at the wrong endpoint.  What threw me off is that both api_read_patron_data and api_patron_status_info  return the privilegeExpiresDate field.   I'm now ignoring that field and going off of the "expired" field alone.
However since we get privilegeExpiresDate in the "read patron  I could use that for determining expiration status and if blocks are not enforced we could avoid making the api_patron_status_info call and perhaps making the interaction faster.   But then there is the issue of the time zone.   What do you think should I go off of the privilegeExpiresDate in the api_read_patron_data and avoid the call to api_patron_status_info  when blocks are not enforced or go off of "expired" flag which will require a call to api_patron_status_info regardless of the block status?

@dbernstein i think it makes sense to just go off the expired flag, even though it takes an extra request.

@jonathangreen :  are we good to go then?


AttributeError: 'NoneType' object has no attribute 'image_data_format'

I have a problem this any models in keras.applications
/home/ds/anaconda3/envs/placer/bin/python /home/ds/projects/placer/tests.py
Using TensorFlow backend.
Traceback (most recent call last):
  File "/home/ds/projects/placer/tests.py", line 12, in <module>
    validation_test()
  File "/home/ds/projects/placer/tests.py", line 5, in validation_test
    my_flat_placer = Placer('places/1')
  File "/home/ds/projects/placer/core/Placer.py", line 9, in __init__
    self.place_model = PlaceModel(self)
  File "/home/ds/projects/placer/core/PlaceModel.py", line 10, in __init__
    self.resnet_model = mobilenet_v2.MobileNetV2(include_top=False, weights='imagenet', input_shape=(224, 224, 3))
  File "/home/ds/anaconda3/envs/placer/lib/python3.6/site-packages/keras_applications/mobilenet_v2.py", line 260, in MobileNetV2
    if backend.image_data_format() == 'channels_first':
AttributeError: 'NoneType' object has no attribute 'image_data_format'``

In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

Please try this. It works very well:
change keras_applications to keras.applications
if you are using ResNET:
from keras.applications.resnet50 import ResNet50
Please check this link
https://github.com/keras-team/keras-applications/issues/54

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

I have the latest Keras version (2.2.4) and when I do
from keras.applications.resnet import ResNet152
I am getting error:
ImportError: No module named resnet
Am I missing something?

There is something wrong with the two approaches:
keras.applications.resnet gives the error ImportError: No module named resnet with all resnet versions except resnet 50.
whereas it imports well with keras_applications.resnet import ResNet101  but, throws the following attribute error

~\Anaconda3\envs\Suvidha\lib\site-packages\keras_applications\resnet_common.py in ResNet(stack_fn, preact, use_bias, model_name, include_top, weights, input_tensor, input_shape, pooling, classes, **kwargs)
    346                                       default_size=224,
    347                                       min_size=32,
--> 348                                       data_format=backend.image_data_format(),
    349                                       require_flatten=include_top,
    350                                       weights=weights)

AttributeError: 'NoneType' object has no attribute 'image_data_format'

There is something wrong with the two approaches:
keras.applications.resnet gives the error ImportError: No module named resnet with all resnet versions except resnet 50.
whereas it imports well with keras_applications.resnet import ResNet101 but, throws the following attribute error

~\Anaconda3\envs\Suvidha\lib\site-packages\keras_applications\resnet_common.py in ResNet(stack_fn, preact, use_bias, model_name, include_top, weights, input_tensor, input_shape, pooling, classes, **kwargs)
    346                                       default_size=224,
    347                                       min_size=32,
--> 348                                       data_format=backend.image_data_format(),
    349                                       require_flatten=include_top,
    350                                       weights=weights)

AttributeError: 'NoneType' object has no attribute 'image_data_format'

Having the same problem ...any solution yet

you can simply refer:
http://donghao.org/2019/02/22/using-resnext-in-keras-2-2-4/
or
https://github.com/keras-team/keras-applications/issues/54
Very easily you will be able to solve your problem

I had the very same problem. Fixed it by using:
from keras_applications.imagenet_utils import _obtain_input_shape
from keras.applications.inception_v3 import preprocess_input
from keras_applications.imagenet_utils import decode_predictions

Note the . in the second line. Apparently, Keras doesn't mind the "deprecated" (v.2.2.2) syntax here, whereas for _obtain_input_shape and probably decode_predictions too (not tested), you need the underscore syntax: keras_applications. Tested w/ Tensorflow 1.12, Cudatoolkit 10.0 and Keras 2.2.4.

I face haved the same problem:
AttributeError: 'NoneType' object has no attribute 'image_data_format'
when trying to use the preprocess_input from Resnext50 on Keras 2.2.5. I have fixed as:
import keras
from keras_applications.resnext import preprocess_input as resnext50_preprocess_input

Then use the preprocess_input function as:
resnext50_preprocess_input(
                image,
                backend=keras.backend,
                layers=keras.layers,
                models=keras.models,
                utils=keras.utils
)

I'm building a model from pre-trained model as the following:

import keras
from keras_applications.resnext import preprocess_input as resnext50_preprocess_input

Then use the preprocess_input function as:
resnext50_preprocess_input(
                image,
                backend=keras.backend,
                layers=keras.layers,
                models=keras.models,
                utils=keras.utils
)

How do you ( @edumucelli ) apply the hyperparameters of resnext50_preprocess_input(...) in ImageDataGenerator?


Subcomp program implicits do not appear in fst file

On the steel branch, consider the following fsti and fst files:
module Debug

open Steel.Memory
open Steel.Effect

val noop (#[@@ framing_implicit] p:slprop) (u:unit) : SteelT unit p (fun _ -> p)

val f (_:unit) : SteelT unit emp (fun _ -> emp)

module Debug

let noop = noop

// works
let f (_:unit) : SteelT unit emp (fun _ -> emp)
  = noop ()

// works
// let f () = noop #emp ()

// fails
// let f (_:unit) = noop ()

The Steel effect combinators have several program implicits that are annotated with the framing_implicit attribute.
These implicits add constraints on the separation logic pre- and postconditions of Steel functions.
In this example, the last, failing definition of f fails because there seems to be two different contexts for delegating implicit resolution to tactics. It seems that F* tries to infer a computation type for the body of f without having access to the constraints generated by subcomp using the signature in the fsti.
The second example succeeds because the body of the function does not have any implicits annotated with framing_implicit to solve.
The first example succeeds because the subcomp program implicits with the framing_implicit annotation are solved at the same time as the implicit of noop, hence there are constraints about the noop implicit.

This has been fixed by commit 77aa0e4. Thanks Aseem!


[QUESTION]emojis scrapted in tweets can be displayed successfully in the terminal, but not in the csv file. What should I do?

Issue Template
Please use this template!
Initial Check

If the issue is a request please specify that it is a request in the title (Example: [REQUEST] more features). If this is a question regarding 'twint' please specify that it's a question in the title (Example: [QUESTION] What is x?). Please only submit issues related to 'twint'. Thanks.

Make sure you've checked the following:

[1] Python version is 3.7;
[2] Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
[3] I have searched the issues and there are no duplicates of this issue/question/request.

Command Ran
import twint
c = twint.Config()
c.Username = "Airbnb"
c.Custom["tweet"]=["tweet"]
c.Output="Airbnb.csv"
c.Store_csv=True
twint.run.Search(c)
Description of Issue
emojis scrapted in tweets can be displayed successfully in the terminal, and they are as nomal as the user's tweet in twitter account.But they are displayed as messy code in the csv file. What should I do?
Environment Details
Using Windows, Running this in Anaconda--Jupyter Notebook

I'm able to see the emojis (I use gedit) so I guess it depends by the software that you use to read the CSV file

I'm able to see the emojis (I use gedit) so I guess it depends by the software that you use to read the CSV file

Thanks a lot. Can you copy your code?

There's no code, I just opened the CSV file with Gedit

Can you tell me that which version of Gedit you use? and the emojies are not successfully displayed the CSV file opened with the Gedit.

Can you tell me that which version of Gedit you use? and the emojies are not successfully displayed the CSV file opened with the Gedit.

Hmm, maybe you are missing the right font since the system can't recognize them? Here is a font that quite complete https://github.com/ryanoasis/nerd-fonts

Hmm, maybe you are missing the right font since the system can't recognize them? Here is a font that quite complete https://github.com/ryanoasis/nerd-fonts

Thank you very much. I scan the link, but I don't understand. Can you tell me what I should do next?

@xiaowei-xw I'm sorry but here we discuss only about Twint related issues
I suggest you to check their instructions and, if needed, contact them

You have just to clone the repo, install the font(s) that you want to use, and then change the settings to let your system use the new font


add dialog tutorial

To provide an example how the various primitives are used in orchestration, a tutorial showing the mechanics of the <dialog> element should be added to the docs: keyboard-accessible-dialog.md

https://github.com/medialize/ally.js/blob/master/docs/tutorials/accessible-dialog.md


Expose some methods

Expose some fields and methods as API to allow JST to apply the ATs to the source.

After some discussion in discord, I've messed around with the new non-antlr parser in #6 to expose (I believe) all the relevant stuff as a separate at-parser artifact, de-coupling the structures AT files are read into from the logic for applying their transformations.


Generated TypeDoc

Describe the problem
It's hard to keep the docs in sync with the types and our current method of displaying them isn't always the most readable
Describe the proposed solution
I took a stab at playing around with this. There are two approaches I tried:

~~https://github.com/sveltejs/kit/tree/typedoc-markdown~~
https://github.com/sveltejs/kit/tree/typedoc-json

At first I tried having it spit out .md files. That was a bit tricky because they don't quite match the format expected with what we've hand-written. E.g. it includes # and ## whereas our parser expects headings to start only at ###
Rich suggested a better approach might be to generate JSON instead and work from that. That turned out to be the more fruitful and customizable approach I think

Alternatives considered
Copy .d.ts files into docs still
Importance
nice to have
Additional Information
No response

Closing in favor of https://github.com/sveltejs/kit/issues/4002


My first Hacktoberfest PR

It was my first attempt and it was very helpful.

Thanks @shreykpatnaik, for your contributions :)


[ESXi] terraform init cant find nor install the esxi custom provider

Operating System Version: Kali 2020.3
Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): ESXi
Vagrant Version (if applicable): NA

Description of the issue:
Sorry to bother you, I'm pretty sure that this is not a bug and it is just only me being silly, but I cant manage to issue the terraform init command and I have no one else to ask for help.
I've installed and copied the provider in every related path that I could find but terraform always tries to download the custom provider from hashicorp and ignores the locally available binary:
root@pentest:/opt/DetectionLab/ESXi# which terraform-provider-esxi
/root/go/bin/terraform-provider-esxi
root@pentest:/opt/DetectionLab/ESXi# tree ~/.terraform.d/
/root/.terraform.d/
├── checkpoint_cache
├── checkpoint_signature
├── plugin-cache
│   └── terraform-provider-esxi
└── plugins
    ├── terraform-provider-esxi
    └── terraform-provider-esxi_v1.7.0

2 directories, 5 files
root@pentest:/opt/DetectionLab/ESXi# terraform init

Initializing the backend...

Initializing provider plugins...
- Finding latest version of hashicorp/esxi...

Error: Failed to install provider

Error while installing hashicorp/esxi: provider registry registry.terraform.io
does not have a provider named registry.terraform.io/hashicorp/esxi

Sorry to bother you

Absolutely no bother :)
It's really odd that it's looking for hashicorp's esxi plugin (which doesn't exist) as opposed to josenk's plugin. Can you run terraform providers from the ESXi directory and see what comes up? Mine shows:
$ terraform providers
.
└── provider.esxi

This issue seems to have some related content to this error: https://github.com/hashicorp/terraform/issues/25485
Which version of Terraform are you running?

Thanks for you quick reply!
Now I see the problem, but I'm unfamiliar on how to fix it;
root@pentest:/opt/DetectionLab/ESXi# terraform providers

Providers required by configuration:
.
└── provider[registry.terraform.io/hashicorp/esxi]

root@pentest:/opt/DetectionLab/ESXi# terraform -v
Terraform v0.13.0-dev
root@pentest:/opt/DetectionLab/ESXi#

From that issue I posted, it looks like Terraform 13 might actually be the problem here. Would you be willing to try downgrading to the latest build of TF12 (0.12.29) and give that a shot?

Sure, now this error shows up:
root@pentest:~# terraform -v
Terraform v0.12.29
root@pentest:~# cd /opt/DetectionLab/ESXi/
root@pentest:/opt/DetectionLab/ESXi# terraform init

Error: Unsupported Terraform Core version

This configuration does not support Terraform version 0.12.29. To proceed,
either choose another supported Terraform version or update the root module's
version constraint. Version constraints are normally set for good reason, so
updating the constraint may lead to other errors or unexpected behavior.

root@pentest:/opt/DetectionLab/ESXi#

Manually changing the required version seems to require a bit more of changes:

root@pentest:/opt/DetectionLab/ESXi# terraform init

Initializing the backend...

Initializing provider plugins...

The following providers do not have any version constraints in configuration,
so the latest version was installed.

To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

* provider.esxi: version = "~> 1.7"

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
root@pentest:/opt/DetectionLab/ESXi# terraform apply
var.esxi_password
  Enter a value: *************

Error: Could not satisfy plugin requirements

Plugin reinitialization required. Please run "terraform init".

Plugins are external binaries that Terraform uses to access and manipulate
resources. The configuration provided requires plugins which can't be located,
don't satisfy the version constraints, or are otherwise incompatible.

Terraform automatically discovers provider requirements from your
configuration, including providers used in child modules. To see the
requirements and constraints from each module, run "terraform providers".

Error: provider.esxi: no suitable version installed
  version requirements: "(any version)"
  versions installed: none

root@pentest:/opt/DetectionLab/ESXi# terraform-provider-esxi
This binary is a plugin. These are not meant to be executed directly.
Please execute the program that consumes these plugins, which will
load any plugins automatically
root@pentest:/opt/DetectionLab/ESXi#

I wonder if we'll have to re-build the plugin now that terraform has been updated :(
I just updated to v0.12.29 and now it only runs from my desktop and not /usr/local/bin :-/
/usr/local/bin/terraform version
Killed: 9

~/Desktop/terraform version
Terraform v0.12.29

Same exact file:
$ md5 /usr/local/bin/terraform ~/Desktop/terraform
MD5 (/usr/local/bin/terraform) = bde9f823693b0673790aa3bda6bcb884
MD5 (/Users/clong/Desktop/terraform) = bde9f823693b0673790aa3bda6bcb884

What a headache 😩

Okay, got TF working (switched to using Brew for installs) and didn't need to do anything. Maybe try nuking the ESXi/.terraform folder in there and retry terraform init? It might not like the v13 stuff that's in there.

YES!!! removing the ESXI/.terraform folder got it working on terraform 0.12.29
Thank you a lot for your help and your work in this proyect, it is really an amazing piece of art.

Glad to hear it worked, and thank you :)
Ok to close this issue out? Also feel free to open additional issues if you run into problems along the way. The ESXi provisioning is by far the most difficult to test and I want to make it as robust as possible by helping people work through any issues they encounter.

Yes, issue closed! The instructions for installing are really helpful, even tough is hard, it quite well explained :) Thank you again.


Link user on event details to view user profile via side panel

 Link user on event details to view user profile via side panel

PR #141 added some of this, Aaron is working on edit profile functionality

 User pages


[RETARGET] Remove Out variable in Response struct and embed http.ResponseWriter

This changes the Response struct to embed the http.ResponseWriter. This causes a name conflict with ResponseWriter.WriterHeader and the following error:
*Response does not implement http.ResponseWriter (wrong type for WriteHeader method)
        have WriteHeader(int, string)
        want WriteHeader(int)

I've renamed the WriteHeader to WriteStatusHeader to avoid the conflict. The other changes are to replace the Response.Out code.

Closing this request as server engine will obsolete it


How can we get chunk blob, is there any props around this ?

I want to get blob in a chunk, I have checked existing props I just found previewStream to get the current stream but I need a blob so that I can send it to server and store in real-time.
ondataavailable  method is available to get blob in a chunk, So can you please add chunk blob props support as well.
mediaRecorder.ondataavailable = function (e: any) {
console.log("blob =  ", e.data)
});

Duplicate of #8

@raj-reactgeeks landed in v1.2.1


pcapgo should perform bounds checking on packet sizes

Dear gopacket developers,
While reviewing gopacket source code for #167 I noticed that pcapgo has essentially the same problem here:
https://github.com/google/gopacket/blob/master/pcapgo/read.go#L104
ci.CaptureLength is not guaranteed to be smaller than the buffer length therefore a pcap file containing a CaptureLength longer than the snaplen can cause this code the panic. Correct?
I have not bothered to fix this yet. Shall I submit a pull request?

Hi,
Yes you are right on this. We should add a check while reading headers and/or packetdata.

here's my first attempt at fixing this:
https://github.com/google/gopacket/pull/177


Exporting libsqlite3_sys::error::ErrorCode

I'm trying to do some error handling, but I found that SqliteFailure returns an Error of tipe libsqlite3_sys::error::ErrorCode and I can't compare the error code returned by it, I could use the extended_code that it returns, but I think it would be better comparing to the exact error code, and not a number.

Thanks, this is in master as of #222 and will be in the next release.

This fix is unusable:
{{{
40 |         rusqlite::ErrorCode::DatabaseBusy, _
|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct libsqlite3_sys::error::Error, found enum storage::rusqlite::ErrorCode
|
= note: expected type libsqlite3_sys::error::Error
found type storage::rusqlite::ErrorCode
}}}
While ffi::ErrorCode is exported, the API doesn't use that type.


Hide specific configuration parameters from logging and return

Since the new foundational enhancements with an admin API and logging, we now need think about hiding configuration parameters in JSON conversion and logging.
Considering the default behavior is to expose TCP admin session, a simple call like http://ip:7979/r/module/instances is going to expose too much information.  I would assume that returning this kind of information upon instantiation may be appropriate, but that returning it after that point should not be possible.
[
  {
    "id": 1,
    "typeId": 1,
    "name": "AdminModule",
    "config": {
      "address": "tcp://:7979"
    },
    "description": "The REX-Ray admin module",
    "started": true
  },
  {
    "id": 2,
    "typeId": 2,
    "name": "DockerRemoteVolumeDriverModule",
    "config": {
      "address": "unix:///run/docker/plugins/rexray-remote.sock",
      "config": {
        "LogLevel": "info",
        "StorageDrivers": [
          "ec2"
        ],
        "VolumeDrivers": [
          "docker"
        ],
        "OsDrivers": [
          "linux"
        ],
        "MinVolSize": 0,
        "RemoteManagement": false,
        "DockerVolumeType": "",
        "DockerIops": 0,
        "DockerSize": 0,
        "DockerAvailabilityZone": "",
        "AwsAccessKey": "A",
        "AwsSecretKey": "jSv",

Hi @clintonskitson,
Do you have the link you sent me a few weeks back on Slack about HTTP over the UNIX socket implementation?

David does a good job of receiving the tcp/unix sockets here.
https://github.com/calavera/dkvolume/blob/master/api.go
And this is the Docker client making the calls to that API.
https://github.com/docker/docker/blob/master/pkg/plugins/client.go

If you're thinking that a fix is to leverage the unix socket and file permissions then I would agree with the approach.  Realistically those creds are stored in files and in the environment, so I don't see any extra security problems if the TCP isn't being exposed.

Hi @clintonskitson,
I'm thinking the fix is both approaches. That's in part why I invented Golf. Also, so I could say I created Golf :)

Next think you're gonna make the Internet =)


New label: SelfControl (selfcontrol)

New label for SelfControl app https://selfcontrolapp.com

Thank you!


Repeat update for Simplified Filament Sensor

Every time I bring up octoprint on webpage, it tells me that the simplified filament sensor update is available, even though it is already installed.

https://github.com/LuckyX182/Filament_sensor_simplified/pull/57

Update to 0.3.3 and it should be fixed.


Use a UUID for packet tracking

Replace the random 8 byte tracker with a 16 byte UUID.

Implement as a slice so that it can be extended later.
Deprecate the exported Pinger.Tracker value.
Wrap sequence numbers into new UUID packet tracking.

Fixes: https://github.com/go-ping/ping/issues/142
Signed-off-by: Ben Kochie<EMAIL_ADDRESS>

It looks like the code will silently ignore Pinger.Size smaller than the minimum.

CC @mem, what do you think of this?

@CHTJonas Fixed up.

Closed by #177 in<PHONE_NUMBER>7148eb7c963dc57dc62456b12aa0ae.


Special-case APNS bad token responses

I'm not sure if this technique is overly fragile.
I added this after spending some time trying to debug fatal errors which ultimately came down to using the wrong token encoder.

@hce: Hello?

Hi @jessekempf  I'm sorry I didn't see the earlier message. I'll look at your pull request right away.

Thank you very much for the pull request!
I think a small improvement would be to properly json decode the error message before handling it, what do you think?

@hce: No worries. And yes, that was a fairly ad-hoc approach on my part. Right now I've got two new changes I need to make to this library, than after that I can come back and do JSON decoding. My project is likely to need to be able to distinguish more kinds of 400 error than just the current two.

Great! Any changes you make that are of general use, you're very welcome to create more pull requests! :-)


Problems with -3 option

Given a large project. I cannot reproduce with surrogate set, so check the https://github.com/symfony/symfony-standard
do
cd symfony-standard
find -type f -name *.php > files.txt
php path-to-phan/phan -3 vendor -f files.txt -o phan.txt

In my case
C:\Work\Projects\symfony-standard>php C:\Work\Tools\phan\phan -3 vendor/ -f files.txt -o phan.txt

Output consist only of vendor analysis
files.txt
phan.txt

I've updated to latest master
The phan.txt file became 20 times smaller, but still a lot of vendors present
phan.txt

Oh, you pushed another commit. re-checking

I just get this now:
./var/SymfonyRequirements.php:391 TypeError arg#1(fulfilled) is int|null but \requirementcollection::addrequirement() takes bool defined at ./var/SymfonyRequirements.php:201
./var/SymfonyRequirements.php:400 TypeError arg#1(fulfilled) is int|null but \requirementcollection::addrequirement() takes bool defined at ./var/SymfonyRequirements.php:201
./var/SymfonyRequirements.php:488 TypeError arg#1(fulfilled) is int|null but \requirementcollection::addrequirement() takes bool defined at ./var/SymfonyRequirements.php:201
./var/SymfonyRequirements.php:494 TypeError arg#1(fulfilled) is int|null but \requirementcollection::addrequirement() takes bool defined at ./var/SymfonyRequirements.php:201
./var/SymfonyRequirements.php:569 TypeError arg#1(fulfilled) is int|null but \requirementcollection::addrecommendation() takes bool defined at ./var/SymfonyRequirements.php:214
./var/SymfonyRequirements.php:575 TypeError arg#1(fulfilled) is int|null but \requirementcollection::addrecommendation() takes bool defined at ./var/SymfonyRequirements.php:214
./var/SymfonyRequirements.php:581 TypeError arg#1(fulfilled) is int|null but \requirementcollection::addrecommendation() takes bool defined at ./var/SymfonyRequirements.php:214
./var/SymfonyRequirements.php:587 TypeError arg#1(fulfilled) is int|null but \requirementcollection::addrecommendation() takes bool defined at ./var/SymfonyRequirements.php:214
./var/SymfonyRequirements.php:675 TypeError arg#1(fulfilled) is int|null but \requirementcollection::addrecommendation() takes bool defined at ./var/SymfonyRequirements.php:214
./var/cache/dev/appDevDebugProjectContainer.php:467 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addListenerService()
./var/cache/dev/appDevDebugProjectContainer.php:468 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:469 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:470 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:471 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:472 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:473 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:474 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:475 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:476 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:477 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:478 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:479 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:480 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:481 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:482 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:483 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:484 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:485 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:486 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:487 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:488 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:489 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:490 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:491 UndefError call to undeclared method \Symfony\Component\HttpKernel\Debug\traceableeventdispatcher->addSubscriberService()
./var/cache/dev/appDevDebugProjectContainer.php:1403 ParamError call with 4 arg(s) to \Symfony\Component\HttpKernel\httpkernel::__construct() which only takes 3 arg(s) defined at ./vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:47
./var/cache/dev/appDevDebugProjectContainer.php:1790 ParamError call with 5 arg(s) to \Symfony\Bundle\FrameworkBundle\Routing\router::__construct() which only takes 4 arg(s) defined at ./vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Routing/Router.php:39
./var/cache/dev/appDevDebugProjectContainer.php:2822 ParamError call with 5 arg(s) to \Symfony\Bundle\FrameworkBundle\Translation\translator::__construct() which only takes 4 arg(s) defined at ./vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php:56
./var/cache/dev/appDevDebugProjectContainer.php:3298 TypeError arg#2(updateThreshold) is string but \Symfony\Component\HttpFoundation\Session\Storage\metadatabag::__construct() takes int defined at ./vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:62
./app/AppKernel.php:11 UndefError reference to undeclared class \symfony\bundle\frameworkbundle\frameworkbundle
./app/AppKernel.php:12 UndefError reference to undeclared class \symfony\bundle\securitybundle\securitybundle
./app/AppKernel.php:13 UndefError reference to undeclared class \symfony\bundle\twigbundle\twigbundle
./app/AppKernel.php:14 UndefError reference to undeclared class \symfony\bundle\monologbundle\monologbundle
./app/AppKernel.php:15 UndefError reference to undeclared class \symfony\bundle\swiftmailerbundle\swiftmailerbundle
./app/AppKernel.php:16 UndefError reference to undeclared class \doctrine\bundle\doctrinebundle\doctrinebundle
./app/AppKernel.php:17 UndefError reference to undeclared class \sensio\bundle\frameworkextrabundle\sensioframeworkextrabundle
./app/AppKernel.php:18 UndefError reference to undeclared class \appbundle\appbundle
./app/AppKernel.php:22 UndefError reference to undeclared class \symfony\bundle\debugbundle\debugbundle
./app/AppKernel.php:23 UndefError reference to undeclared class \symfony\bundle\webprofilerbundle\webprofilerbundle
./app/AppKernel.php:24 UndefError reference to undeclared class \sensio\bundle\distributionbundle\sensiodistributionbundle
./app/AppKernel.php:25 UndefError reference to undeclared class \sensio\bundle\generatorbundle\sensiogeneratorbundle
./tests/AppBundle/Controller/DefaultControllerTest.php:15 UndefError call to undeclared method \Tests\AppBundle\Controller\defaultcontrollertest->assertEquals()
./tests/AppBundle/Controller/DefaultControllerTest.php:16 UndefError call to undeclared method \Tests\AppBundle\Controller\defaultcontrollertest->assertContains()

Yeah, looks OK now

@rlerdorf how should I deal the file order problem? Do you have any recipe?


No Such APP Found

I keep getting this message whenever I try to Download..
"No Such APP Found"
Any suggestions?

Which app, specifically? Is it on the Play store?
For Google Play, this might happen when said app is not available in your region - hoping to find some time to fix that soon (#122)

It's for everything Aptoide blacmart fdroid you name it,and none will download, Google play just downloads and Downloads I get error (error code: 495)

If it’s for downloads of all sorts and Google Play downloads start but return an error, it is most likely an issue on your end and not the app’s.
Could you provide a few screenshots of this happening?


Add Partner detail page

fixes: https://github.com/ansible/galaxy-dev/issues/25
fixes: https://github.com/ansible/galaxy-dev/issues/17

By going to page 2 and then changing the items per page I can cause the pagination to be on a page that doesn't exist listing item ranges that don't exist.

By going to page 2 and then changing the items per page I can cause the pagination to be on a page that doesn't exist listing item ranges that don't exist.

https://github.com/patternfly/patternfly-react/issues/2629


babel settings

I can see that there's a .babelrc file, however, why setting it to false in config files?
  const babelLoaderOptions = {
  babelrc: false,
  presets: [
    [
      'es2015',
      { modules: false },
    ],
    'react',
  ],

Should I just delete the .babelrc file? Thanks.

It's true that .babelrc file doesn't used for bundling process right now. I tried to store all settings in one place, but .babelrc is still needed for running tests. Removing this file will eliminate the possibility to use npm run test and npm run coverage commands.
I know that it's a bit redundant to keep almost a same settings in two different files. Right now I have two options to solve this problem: use mocha-webpack or just simply move babel settings from webpack config to .babelrc file.

Thanks, I opted to use .babelrc instead.


Fix #94 - Improve Improve contributor/owner detection

While not scaling for in the long term, it should take a long time until the Phobos organization has 100 members (currently 32 public members).

This starts to get annoying for me (only @yebblies and I are on page 2 and thus affected).
I removed the potentially controversial change from as ctRegex -> regex as another PR with .array is in, s.t. this PR only changes the API URL, which is a trivial change.

wilzbach merged commit b1fafde into dlang-bots:master

Of course, I've been busy lately otherwise I would have merged this PR.


show-whitespace shows too many placeholders on Firefox with Minimum font size

The grey-colored placeholders are inserted at a rate of about 120% compared to what the real amount of whitespace is.

Firefox 82.0.2 running on Arch Linux, KDE Plasma
My zoom level and my DPI settings (GDK_DPI_SCALE=1.1) are non-default but changing those has no effect on the problem.
I have reduced the problem by creating a new profile (firefox -P) and only changing the setting "Minimum font size" from None to 15. It still reproduces then.

Unfortunately this is a Firefox bug.
We use the ch character to define how wide the "tab" image should be. Firefox does not adjust the size of the ch unit to match the actual character size.
Here's a barebones example: https://codepen.io/fregante/pen/rNLEqPr

ciao

html {
  font-family: monospace;
}
div {
  width: 4ch;
  height: 4ch;
  background: red
}

Regular on the left; minimum size 20 on the right

You can see that the word size increased, but the 4ch*4ch square doesn't follow it.


Allow array of regex, or multiple buckets with the same name but different regex

Thank you SO much for writing this plugin. I was baffled when I discovered the common chunks plugin didn't allow for functionality like this. But this plugin works beautifully, even in conjunction with common chunks.
A feature request though, allow users to pass an array of regexes, not just a regex, aka:
    regex: [/jquery/, /backbone/]

Or alternately, you could just allow several buckets to have the same name but different regexes, aka:
    buckets: [{
        name: 'vendor',
         regex: /backbone/
    },
    {
         name: 'vendor',
         regex: /jquery/
    }]

Hope this makes sense as to why it would be useful.

+1

Does /jquery|backbone/ not work?


Introduce some optional chaining in the src/core/xfa/ folder

After PR #12563 we're now free to use optional chaining in the worker-thread as well.

/botio xfatest

Looks good!


Missing frame id and stamp in msgs

The latest changes introduced a minor error. When using non-hashed octree the map msg is missing header information.
The code here  should be
      if (convert::mapToRosMsg(*occupancy_map_, config_.world_frame,
                              ros::Time::now(), map_msg)) {

Hi Alexander,
Thanks for spotting this! The suggested fix looks good. Shall I open a PR for it, or would you like to do it?

Opened a pr: https://github.com/ethz-asl/wavemap/pull/27

Thanks!


create a task that can clear out all storage providers

as mentioned in #151

@erinspace should we consider this closed?

Yep!


[SPARK-33784][SQL] Rename dataSourceRewriteRules batch

What changes were proposed in this pull request?

This PR tries to rename dataSourceRewriteRules into something more generic.
Why are the changes needed?

These changes are needed to address the post-review discussion here.
Does this PR introduce any user-facing change?

Yes but the changes haven't been released yet.
How was this patch tested?

Existing tests.

@cloud-fan @dongjoon-hyun here is the backport of PR #30808.

Test build #133353 has started for PR 30917 at commit fcf283a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37944/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37944/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37944/

Test build #133353 has finished for PR 30917 at commit fcf283a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133353/

Thanks @HyukjinKwon @dongjoon-hyun! I wasn't sure what is the normal procedure for such cherry-picks in Spark so thanks for adapting the PR description, @dongjoon-hyun !
Happy holidays!


Send permit expiration email only for fixed-period permits

Description
At the moment permit expiration emails do not take permit contract-type into account.
Send permit expiration email only for fixed-period permits.
Context
PV-809
How Has This Been Tested?
Through updated unit tests.

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

Project coverage is 85.98%. Comparing base (49f2190) to head (667c2d6).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #498   +/-   ##
========================================
  Coverage    85.97%   85.98%
========================================
  Files          170      170
  Lines        10805    10807    +2
========================================
+ Hits          9290     9292    +2
  Misses        1515     1515

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


Full command line for parameters vs. config file.

** What are you trying to accomplish? **
I have been able to successfully deploy sql scripts using schema change when taking advantage of the configuration file and executing the cli via subprocess.run
subprocess.run(["schemachange deploy --config-folder {}".format(CONFIG_FOLDER)],shell=True)
However, when running the script with explicitly listing each of the args:
   subprocess.run(["schemachange deploy -f {} -a {} -u {} -r {} -w {} -d {} -s {} -c {}".format(
      ROOT_FOLDER,dictSecrets['SFACCOUNT'],dictSecrets['SFSVCUSER'],
      dictSecrets['SFROLE'],dictSecrets["SFWH"],os.environ["DATABASE"],
      os.environ["SCHEMA"],os.environ["CHANGE_HISTORY"])],shell=True)

I run into the following error:

Traceback (most recent call last):
  File "/usr/local/bin/schemachange", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/schemachange/cli.py", line 911, in main
    deploy_command(config)
  File "/usr/local/lib/python3.9/site-packages/schemachange/cli.py", line 517, in deploy_command
    change_history_metadata = session.fetch_change_history_metadata(change_history_table)
  File "/usr/local/lib/python3.9/site-packages/schemachange/cli.py", line 379, in fetch_change_history_metadata
    results = self.execute_snowflake_query(query)
  File "/usr/local/lib/python3.9/site-packages/schemachange/cli.py", line 373, in execute_snowflake_query
    raise e
  File "/usr/local/lib/python3.9/site-packages/schemachange/cli.py", line 366, in execute_snowflake_query
    res = self.con.execute_string(query)
  File "/usr/local/lib/python3.9/site-packages/snowflake/connector/connection.py", line 817, in execute_string
    ret = list(stream_generator)
  File "/usr/local/lib/python3.9/site-packages/snowflake/connector/connection.py", line 835, in execute_stream
    cur.execute(sql, _is_put_get=is_put_or_get, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/snowflake/connector/cursor.py", line 1132, in execute
    Error.errorhandler_wrapper(self.connection, self, error_class, errvalue)
  File "/usr/local/lib/python3.9/site-packages/snowflake/connector/errors.py", line 290, in errorhandler_wrapper
    handed_over = Error.hand_to_other_handler(
  File "/usr/local/lib/python3.9/site-packages/snowflake/connector/errors.py", line 345, in hand_to_other_handler
    cursor.errorhandler(connection, cursor, error_class, error_value)
  File "/usr/local/lib/python3.9/site-packages/snowflake/connector/errors.py", line 221, in default_errorhandler
    raise error_class(
snowflake.connector.errors.ProgrammingError: 000606 (57P03): No active warehouse selected in the current session.  Select an active warehouse with the 'use warehouse' command.

I have confirmed that the warehouse is indeed specified and a part of the snowflake connection.
** What options have you tried so far ? **
I have just gone into the cli.py to trace and see that all the args I added to the command line are available to the cli. For instance:
print(self.con.warehouse) shows the expected warehouse. And I have tested the query with the same role and warehouse in snowflake and received the expected results:
SELECT CREATED, LAST_ALTERED FROM DEV.INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = REPLACE('PIPELINE','"','') AND TABLE_NAME = replace('CHANGE_HISTORY','"','')
Any suggestions welcome :-)
Thanks!

Having the same problem for the last couple of days

+1 Having the same issue on version 3.4.2, so we have not even updated to latest. Is there a workaround in place?

Whelp, my shame knows no bounds. I had transposed Snowflake Access and Functional Role names when calling the schema change CLI.
For instance:
SF Warehouse            : PIPELINE_WH
SF Database               : DEV
SF User                       : PIPELINE_DEV_USER
SF ROLE, Functional   : PIPELINE_DEV
SF ROLE, Access         : PIPELINE_DEV_ACCESS

Only the functional role PIPELINE_DEV had access to warehouse PIPELINE_WH. In the command line I provided the access role PIPELINE_DEV_ACCESS. It doesn't have access to the warehouse so I ran into the failure. I was able to test this and see the error by using a snowflake work sheet.

When choosing the role PIPELINE_DEV I have the option to select warehouse PIPELINE_WH
When choosing the role PIPELINE_DEV_ACCESS I do not have the option to select warehouse PIPELINE_WH

Hope this helps others. Check your snowflake roles.


How to read hidden area of USB?

Hi,
I use libaums to access private partition in usb mass storage.  Then I want to access hidden partition in usb mass storage. I have the vendor specific opcode to read and write hidden entry. Firstly, how to read the capacity of hidden area and the block size, also last block address? Is there something to do with private static final int FLAG_HIDDEN = 0x02; and
boolean isHidden() { 		return isFlagSet(FLAG_HIDDEN); 	}  ? Or do I need to create new class like ScsiReadHidden like ScsiRead10 class?

Hey @norani,
can you maybe give some more information about hidden partitions? Are you referring to the secured FAT16 partition (116)?
Is a hidden partition a usual FAT32 partition? Or somehow encrypted?

I'm sorry, actually hidden is not a partition. I read hidden area of USB by hard code below
` read hidden
ByteBuffer cbwBuffer = ByteBuffer.allocate(31); // send ReadHidden command
byte[] cswBuffer= new byte[512];// for Read data IN
Arrays.fill(cswBuffer, (char) 0);// put ALL 0 first
			cbwBuffer.put(0,(byte)0x55);
			cbwBuffer.put(1,(byte)0x53);
			cbwBuffer.put(2,(byte)0x42);
			cbwBuffer.put(3,(byte)0x43);

			cbwBuffer.put(4,(byte)0x0);
			cbwBuffer.put(5,(byte)0x0);
			cbwBuffer.put(6,(byte)0x0);
			cbwBuffer.put(7,(byte)0x0);

			cbwBuffer.put(8,(byte)0x0);
			cbwBuffer.put(9,(byte)0x02);
			cbwBuffer.put(10,(byte)0x0);
			cbwBuffer.put(11,(byte)0x0);

			cbwBuffer.put(12,(byte)0x80);
			cbwBuffer.put(13,(byte)0x0);
			cbwBuffer.put(14,(byte)0x10);

			cbwBuffer.put(15,(byte)XXXX); //vendor specific opcode to read hidden

			cbwBuffer.put(16,(byte)0x0);

			cbwBuffer.put(17,(byte)0x0);
			cbwBuffer.put(18,(byte)0x0);
			cbwBuffer.put(19,(byte)0x0);
			cbwBuffer.put(20,(byte)0x1); //request 1 sector

			cbwBuffer.put(21,(byte)0x0);

			cbwBuffer.put(22,(byte)0x0);
			cbwBuffer.put(23,(byte)0x1); //start sector number to be read

			int iRes = conn.bulkTransfer(epOUT, cbwBuffer.array() , 31, 2000);
			iRes = conn.bulkTransfer(epIN, cswBuffer, 512, 2000); //receive hidden area` Instead using this hard code, can I just change/modified certain code from libaums ?

I would suggest to subclass CommandBlockWrapperlike the ScsiInquiry command does.

I am closing this now, if you need further assistance, please reopen.


Problem opening project

Hello - this looks amazing, but when I try to open the project in Unity 2017.2.0f3 I get lots of errors and warnings

It wont even render in the scene view.

Most of that isn't too much of an issue. A lot of deprecated warnings in the recommended settings which need to be cleaned up.  I did accidently put a test scene file in the build settings which wasn't uploaded to git. To fix that, go to your build settings and clear it out. I'll remove it in the next release.
Let me know if you have more issues after clearing out the build settings.


Only had two spaces which is invalid

Not fully sure how this is even working in the webring hallway, but it technically shouldn't. I noticed because I finally looked into why your feed wasn't getting displayed properly in the cli.

Oh thanks : >


Cannot apply along with org.gradle.java-gradle-plugin

Gradle version
6.1.1
Describe the bug
If you apply both this plugin and org.gradle.java-gradle-plugin, the following error occurs if you run gradle:
An exception occurred applying plugin request [id: 'org.gradle.java-gradle-plugin']
> Failed to apply plugin [class 'org.gradle.api.plugins.JavaLibraryPlugin']
   > Cannot add a configuration with name 'dependencyReport' as a configuration with that name already exists.

I don't have this issue but I do remember now that pure kotlin modules (without Android dependency) didn't get any report in the build folder

Is that different from the id("java-gradle-plugin") plugin? This very project uses it. I just tried applying v0.18.0 of this dependency analysis plugin, and there were no issues. How are you applying your plugins? I have this:
plugins {
    id("java-gradle-plugin")
    id("com.gradle.plugin-publish") version "0.10.1"
    id("org.jetbrains.kotlin.jvm") version "1.3.61"
    `kotlin-dsl`
    id("com.autonomousapps.dependency-analysis") version "0.18.0"
}

@emartynov please file an issue and I'll take a look.

Closing due to lack of activity. Please re-open if you have more information, especially a reproducer.


Add issue templates and contributing guide

Fixes #25

:rocket: PR was released in v1.3.0 :rocket:


release on google play

Is your feature request related to a problem? Please describe.

please release new stable version of kiwi on google play or Github, the Github release is auto build from chromium and have some bugs that cannot be repaired in time.
Describe the solution you'd like

release new stable version of kiwi on google play or Github
Describe alternatives you've considered

Additional context

There is a bug where the bookmark button and browser download button still do not work in the latest Google Play kiwi browser version, 116.0.5845.21. This only occurs in tablet mode. It does not happen in mobile mode. And the bookmark button is transparent, so it doesn't look like it.


Use correct libraries when compiling statically

I compile drogon as a dependency of my program using cmake ExternalProject_Add command.
When compiling drogon statically with postgres support, I found that it uses libpq.so instead of libpq.a and the program failed to link as a whole.
My initial thought was that this was the problem, so I added this option USE_STATIC_LIBS_ONLY which, when set, sets CMAKE_FIND_LIBRARY_SUFFIXES to use only static libraries as it doesn't seem to be set from the command line.
This didn't work directly, I needed to link against other postgres libraries and edit the make file of libpq, but I think this flag is useful and important in this case.
Also, the editor formatted the file automatically, so I added the configuration file. If this is undesirable, I could revert the formatting.

@omarmohamedkh Thank you for your patch. Could you please remove the format changes first, so that I can clearly see the actual modifications?

@an-tao Just those 5 lines


Add a README.md to Source/sdk so that it shows up in npm

Summary
Adds a README to the published packages root so that it shows up in npm for @dolittle/sdk

I've superseded this now with (a little more complicated setup) that will come with #88. So I will close this down now - thanks for the pointer to how it works :)


NotImplementedError: The model type esm is not yet supported to be used with BetterTransformer.

Feature request
I want to use flash attention to accelerate esm2's model, but it's not supported, and I'd like to implore the techies to adapt it, thanks!
Motivation
I've been using esm2 model for training recently, but the training is very slow and I want to use flash attention to speed it up.
Your contribution
I'm sorry I didn't.

I see esm is a public archive now. I this still a pressing issue for you or has the window of interest passed?

I see esm is a public archive now. I this still a pressing issue for you or has the window of interest passed?

Hello, thank you for replying to me. I am still using this model ESM and hope it can be better integrated.


Fix message in cp command

Proposed changes
This PR fixes message in cp command.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

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

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

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

Further comments
N/A

Coverage remained the same at 100.0% when pulling 5e4c88cae759d44ce8accfdcc87f6f8f818c667a on fisuda:fix/typo_in_cp_command into a64bc2f88bc5b86be1a768e1ba10d50b006044ef on lets-fiware:main.


Update API 9

Thank you for taking the time to update the api.
Is this ready to merge from your side, then I would merge it.

You can merge, it's also already live in the offical repo.


Ogre no absolute

For #20469

@strega-nil-ms  Could you please take a look again? Thank you!

LGTM, thanks!


Fix possible memory leak in JsonJacksonCodec during warmup

During warmup we call ByteBuf.release after decoding the value, however, the decoding action can fail which will lead to a memory leak so we move the ByteBuf release method to a finally block.

Thanks for the contribution!


Can't open the web config page

Double click win_config.bat,Why can't open the web config page in my browser.

Windows 1-Click Installer  http://<IP_ADDRESS>:8080/

If the installation is successful, the browser page will open automatically. If it does not open, you can visit the default address http://<IP_ADDRESS>:7860/

If the installation is successful, the browser page will open automatically. If it does not open, you can visit the default address http://<IP_ADDRESS>:7860/

Double click win_config.bat,automatically closed after filling out the information

I can't open this address either http://<IP_ADDRESS>:7860/

You are using an old version of installer, new version: https://lama-cleaner-docs.vercel.app/install/windows_1click_installer

You are using an old version of installer, new version: https://lama-cleaner-docs.vercel.app/install/windows_1click_installer

Ok,Thank you.


Compilation fails due to suspicious modulus value

package Test is

     type A is mod 32;

end Test;

rflx-test.ads:7:18: warning: 2 ** 32 may have been intended here [-gnatw.m]

   compilation of rflx-test.ads failed

  7    type A is mod 32;

-gnatw.m
Activate warnings on suspicious modulus values.
This switch activates warnings for modulus values that seem suspicious. The cases caught are where the size is the same as the modulus (e.g. a modulus of 7 with a size of 7 bits), and modulus values of 32 or 64 with no size clause. The guess in both cases is that 2**x was intended rather than x. In addition expressions of the form 2*x for small x generate a warning (the almost certainly accurate guess being that 2**x was intended). The default is that these warnings are given.

I would suggest to disable that switch. @senier @jklmnn What is your opinion?

I would suggest to disable that switch. @senier @jklmnn What is your opinion?

If I interpret the help message correctly, we could also consider to always add a size clause to modular types. OTOH, this heuristics does not seem to be too helpful. I have no strong opinion.

We already had this case once in regular code where we decided to use 2 ** 5 instead.

we could also consider to always add a size clause to modular types

Let's try that. This has the advantage that the user does not get this warning for generated code (-gnatw.m is activated by default).


Feed.segments fails, "Index(...) must be called with a collection of some kind, 'cut_flag' was passed"

I'm attempting to create a frequency map for Pittsburgh Regional Transit (see GTFS feed here: https://www.rideprt.org/business-center/developer-resources/developer-license-agreement/). I am following this tutorial.
I am using Python 3 in JupyterLab via an Anaconda Notebook. Here is my code:
from gtfs_functions import Feed
from gtfs_functions import Feed
feed = Feed("PRT.zip", time_windows=[0, 6, 9, 15, 19, 22, 24], busiest_date = False)
segments_gdf = feed.segments
The last line is where the error appears. After running for a few seconds, the following box appears:
INFO:root:Reading "stop_times.txt".
INFO:root:get trips in stop_times
INFO:root:accessing trips
INFO:root:Reading "routes.txt".
INFO:root:Reading "trips.txt".
INFO:numexpr.utils:NumExpr defaulting to 8 threads.
INFO:root:Reading "stop_times.txt".
INFO:root:_trips is defined in stop_times
INFO:root:Reading "stops.txt".
INFO:root:computing patterns
INFO:root:Reading "shapes.txt".
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-7-319c94383414> in <module>
----> 1 segments_gdf = feed.segments

~/opt/anaconda3/lib/python3.8/site-packages/gtfs_functions/gtfs_functions.py in segments(self)
    208     def segments(self):
    209         if self._segments is None:
--> 210             self._segments = self.get_segments()
    211
    212         return self._segments

~/opt/anaconda3/lib/python3.8/site-packages/gtfs_functions/gtfs_functions.py in get_segments(self)
    794
    795         # drop all non stops (had to combine first fto get their gdf index)
--> 796         cuts = gdf.where(gdf.cut_flag).dropna(subset="cut_flag")
    797         cuts = cuts.astype({"shape_id": str, "stop_sequence": int, "direction_id": int})
    798         cuts[["end_stop_id", "end_stop_name"]] = cuts.groupby("shape_id")[['stop_id', "stop_name"]].shift(-1)

~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/frame.py in dropna(self, axis, how, thresh, subset, inplace)
   5157         if subset is not None:
   5158             ax = self._get_axis(agg_axis)
-> 5159             indices = ax.get_indexer_for(subset)
   5160             check = indices == -1
   5161             if check.any():

~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py in get_indexer_for(self, target, **kwargs)
   4958         """
   4959         if self._index_as_unique:
-> 4960             return self.get_indexer(target, **kwargs)
   4961         indexer, _ = self.get_indexer_non_unique(target)
   4962         return indexer

~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py in get_indexer(self, target, method, limit, tolerance)
   3145     ) -> np.ndarray:
   3146         method = missing.clean_reindex_fill_method(method)
-> 3147         target = ensure_index(target)
   3148         if tolerance is not None:
   3149             tolerance = self._convert_tolerance(tolerance, target)

~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py in ensure_index(index_like, copy)
   5915             index_like = copy_func(index_like)
   5916
-> 5917     return Index(index_like)
   5918
   5919

~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py in __new__(cls, data, dtype, copy, name, tupleize_cols, **kwargs)
    370
    371         elif data is None or is_scalar(data):
--> 372             raise cls._scalar_data_error(data)
    373         elif hasattr(data, "__array__"):
    374             return Index(np.asarray(data), dtype=dtype, copy=copy, name=name, **kwargs)

TypeError: Index(...) must be called with a collection of some kind, 'cut_flag' was passed

What is the source of this error? How can I get around it?

hi @vejendla can you give it another try with the newest version of the package? This should be fixed


KeyError: 'model.0.weight'

I downloaded a few models to test it out, and whenever I select a model and then click on Refresh Preview, it gives me this error

I actually think I figured it out. I was testing video models on images. Can someone confirm if this could be the cause?

Yes, Cupscale only supports ESRGAN models.


Locale doesn't change "ok" and "cancel" labels

Changing the localization doesn't change the dialog actions buttons labels, is it ok?

Yes, localization takes care only about dates. You must provide your custom components for labels