Add support for env params for configuration

add support for env params

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @vothanhkiet, @zhaoli703098596, @enes9103, @phenixcoder, @sajuuk31, @Ctulu82, @sburgpit

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @kaanyurukcu, @jedsada-gh, @dcdebug, @Sitebase, @Toxirbek9222, @daviddwlee84, @upa8


batch ingest of JP2 files

NOTE: This is more of less a placeholder ticket, will add more detail once we are closer to starting work in this

Descriptive Summary
An important use case is allowing users to upload page-level JP2 files in a batch process.
Unresolved questions:

How will descriptive metadata be associated with JP2 files?
How should JP2 files be structured on source disk?

assume all files in a directory are from same issue?
assume filename order matches page order?

How will relationship to parent NewspaperTitle be created?
How much of this functionality does Hyrax currently support out of the box?

Rationale
Page-level JP2 files are a somewhat common digitization format. Admins need a way to efficiently add large numbers of NewspaperIssue and NewspaperPage objects without having to upload one set of files at a time.
Expected behavior
As an admin user
I should be able to run a rake task on the command line of my repo app
And I should be able to specify the AdminSet to ingest content into
And I should be able to specify the NewspaperTitle parent object
And I should be able to specify the location of the batch of JP2 files on a file system
And when I execute the rake task
The application should perform the batch ingest
And it should create NewspaperIssue objects for each set of JP2 file in the batch
And it should create NewspaperPage objects for each JP2 file
And it should create the appropriate derivatives for each
And I should be able to view the created objects in the front end UI.
Additional info
TK
This ticket will be complete when:
User story above is functional. Ingested objects should:

have all derivatives
belong to the specified AdminSet
have the correct NewspaperTitle parent object.

Fixed via #186.


selectonfocus initial selection bug

Closes https://github.com/adobe/react-spectrum/issues/1905
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Would be nice to have a better PR title and maybe a description for this so I don't need to go to the original bug to find out what this is. 😉


[POC-PR] Add mechanism to disable any or all plugins

Relate: #186

Coverage increased (+0.2%) to 71.354% when pulling 56daa9ac1d4039af6f30393e5214da5386de482c on ascrutae:zhangxin/feature/186 into ecf7a2bf2a5c589525105b7727c0ef630e784978 on wu-sheng:master.

Coverage increased (+0.07%) to 71.265% when pulling 56daa9ac1d4039af6f30393e5214da5386de482c on ascrutae:zhangxin/feature/186 into ecf7a2bf2a5c589525105b7727c0ef630e784978 on wu-sheng:master.

Coverage increased (+0.008%) to 71.2% when pulling fa39a4c475c80645a871989140243ad46a46dfa6 on ascrutae:zhangxin/feature/186 into ecf7a2bf2a5c589525105b7727c0ef630e784978 on wu-sheng:master.

Coverage increased (+0.1%) to 71.289% when pulling fa39a4c475c80645a871989140243ad46a46dfa6 on ascrutae:zhangxin/feature/186 into ecf7a2bf2a5c589525105b7727c0ef630e784978 on wu-sheng:master.

Coverage decreased (-0.1%) to 71.068% when pulling 9c7053b91f38ce0619b97f3780c9e18ad23844c0 on ascrutae:zhangxin/feature/186 into e3a42f7ceae98b1951ad78592c76a3de62423f22 on wu-sheng:master.

@wu-sheng  yeah. I think so, I will test it.

Coverage decreased (-0.1%) to 71.093% when pulling 152715a7ae008b0bb680b3af5df46734d8b6cf97 on ascrutae:zhangxin/feature/186 into e3a42f7ceae98b1951ad78592c76a3de62423f22 on wu-sheng:master.

Coverage decreased (-0.01%) to 71.182% when pulling 152715a7ae008b0bb680b3af5df46734d8b6cf97 on ascrutae:zhangxin/feature/186 into e3a42f7ceae98b1951ad78592c76a3de62423f22 on wu-sheng:master.

Both of test applications were disabled jdbc plugin
Here is the topological graph

Here is the trace segment graph

Coverage decreased (-0.01%) to 71.182% when pulling f5565569c148d0a4d609f6158512128d5115e77f on ascrutae:zhangxin/feature/186 into e3a42f7ceae98b1951ad78592c76a3de62423f22 on wu-sheng:master.

Coverage decreased (-0.1%) to 71.072% when pulling b04888ce9965c14f8302e286b91826fd33d06e44 on ascrutae:zhangxin/feature/186 into e3a42f7ceae98b1951ad78592c76a3de62423f22 on wu-sheng:master.

Coverage decreased (-0.1%) to 71.072% when pulling b04888ce9965c14f8302e286b91826fd33d06e44 on ascrutae:zhangxin/feature/186 into e3a42f7ceae98b1951ad78592c76a3de62423f22 on wu-sheng:master.

Coverage decreased (-0.1%) to 71.072% when pulling 3f902ca5c4e85ce7bcc25752722ea9a00755ec09 on ascrutae:zhangxin/feature/186 into e3a42f7ceae98b1951ad78592c76a3de62423f22 on wu-sheng:master.


hide everything except default icon on boot

no issue, just a suggestion:
I added this to my plist, to hide everything except the default boot icon (for the others, just press space to unhide):
Misc > Security > ScanPolicy = 17760515: Hide EFI from OC boot menu (this is the OC default and had previously been set to 0 which shows all).
took this from this page, there's an other option there, but as I was just sawing the efi icon, that line solved my issue

Okay, so I may have just found a way to hide the EFI boot entry (using .contentVisibility). I can't test this right now but I will try to test it soon. Thanks for reporting this, becauseI was researching this a while ago but ended up not finding an answer, but hopefully, this way will work.

I have just committed the files, so I will try them once I get home.

but this just hides the entries, if you press space they're still all there, isn't this enough?
btw, i manually did this many times, but yesterday i just binned old efi folder and replaced with your latest one (after changing the serial and usual stuff), and i had the efi icon back... i didn't remember how i removed those, i had to compare the 2 xml files again, then i remembered that other thread i use on my other hackintosh... thanks for your work!

oh, right, and in that same page talks about contentVisibility, right :)

I already have "HideAuxiliary" enabled in the configuration, but that seems to keep the "EFI" partition listed in the bootloader. I do think that the contentVisibility should be able to hide it.
I know that the EFI partition used to be hidden in OpenCore by default, but when the version with .contentVisibility was released, I saw the files inside of the OpenCorePkg download, but I never ended up adding them because I didn't know what they were for. Well, it seems like in that release, they made it so that you have to have contentVisibility in the EFI partition to hide the entry, which is why the EFI partition now shows. Again, hopefully, the latest commit should fix this but I will double-check once I get home. If it's fixed, I'll close this issue.
Thanks for reporting and thanks for appreciating my work! I hope it has and will continue to work well for you.


Incorrect title on Badge Detail page

The title of the badge_detail page for the badge maintainer is Airport Maintainer, i.e. Airport is appended to the title of each badge.
Is this the expected functionality?

Nope, that's a bug.


Phx 2039 refactor tool run

Notes:
This list was generated by doing:
find . -name '*.pt' -exec ruby ./tools/bin/convert_table {} \;

This is a do-not-merge, just putting this up to make sure we're not missing anything from the data table. I'd advise re-running the tool on a more small scale as needed to get started when the time is right for it. Will note issues in comments.

Danger has errored
[!] Invalid Dangerfile file: cost/aws/burstable_instance_cloudwatch_credit_utilization/aws_burstable_instance_cloudwatch_credit_utilization.pt:596: syntax error, unexpected tINTEGER, expecting )
_cpu_credit_balance_min "10000"")
^
cost/aws/burstable_instance_cloudwatch_credit_utilization/aws_burstable_instance_cloudwatch_credit_utilization.pt:601: syntax error, unexpected tINTEGER, expecting )
plus_credit_balance_min "10000"")
^
cost/aws/burstable_instance_cloudwatch_credit_utilization/aws_burstable_instance_cloudwatch_credit_utilization.pt:603: syntax error, unexpected keyword_end, expecting end-of-input
end
^. Updating the Danger gem might fix the issue. Your Danger version: 6.0.9, latest Danger version: 6.3.1
 #  from Dangerfile:97
 #  -------------------------------------------
 #  has_app_changes.each do |file|
 >    pp.parse(file)
 #    category = pp.parsed_category
 #  -------------------------------------------

  Generated by :no_entry_sign: Danger


Build failed with 4.20

Howdy,
I got following errors when build with 4.20 release version:
Error	C3861	'PyUnicode_AsUTF8': identifier not found	evalUE420
\Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\Wrappers\UEPyFARFilter.cpp	336
Error	C2228	left of '.Get' must have class/struct/union	evalUE420
\Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\Wrappers\UEPyFARFilter.cpp	336

Hi, re-pull the code it has been fixed some minute ago.
Note: 4.20 still has almost broken sequencer api. Should be fixed soon


Imported COA type Equity it's changed to type Asset in list page and show type is blank when click to account code

reopen if it still not working


New version: Microsoft.EdgeDriver version 126.0.2592.87

Created by 🥟 Dumplings in workflow run #6311.

Log
Updated: 126.0.2592.81 → 126.0.2592.87
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

/azp run

@stephengillie

#142854


Create deep-source.yml

:white_check_mark: Build PIX-BACEN-SDK-dotnet 1.1.83 completed (commit https://github.com/guibranco/PIX-BACEN-SDK-dotnet/commit/776d1b2c60 by @guibranco)


{Graph} Finalize the version with Microsoft Graph support to 2.37.0

Correspond to in-tool warning change in https://github.com/Azure/azure-cli/pull/21732.

Docs Build status updates of commit 5a24c66:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/microsoft-graph-migration.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 7c42d66:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/microsoft-graph-migration.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit cd63a66:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/microsoft-graph-migration.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Use Git LFS or similar for embeddings

With the embeddings recently added to the repo, it's now a 619.84 MB download to clone, the vast majority of which are embeddings. I use Umi-AI for the (fantastic) wildcard system. The embeddings are not something that I (and presumably a fair amount of other users) am that interested in using, but they are slowing down my automated builds and bloating my Docker images pretty significantly.
Is it possible to use Git LFS to store them, or perhaps move them to a separate repository?

Embeddings themselves aren't even big. The entire Embeddings folder is, at most, like 10 MBs. It's the preview images that gobble up space.
But the fancy new browser inside Auto's Repo pulls directly from the folder. Unless that changes, we don't have a way to make the previews linkable properly...
I am planning to host offsite previews at full quality, but it will be an extra click for most people, and not nearly as navigable as I'd like. Frankly, there's no easy solution for this problem.

I will likely be removing all the preview images in the Umi 2.0 update. That will take a while, but not TOO long. Less than a month from now I bet.
It should also fix all the existing issues Umi AI has.


Add a semantic for Windows Registry Keys

Current implementation will fail in the stix validator.

I think the cause of this failure is the same as https://github.com/oasis-open/cti-stix-validator/issues/185 in the stix validator.  That should be fixed by the schema fix at https://github.com/oasis-open/cti-stix2-json-schemas/pull/144 .  So we decided it's a validator issue, not a generator issue.  (Which in turn boiled down to a JSON Schema issue.)  I'll add a "fixes" clause to cause this issue to close when that PR is merged.


v2ray.com go get insecure redirect

unrecognized import path "v2ray.com/core/transport/internet/udp": fetching v2ray.com/core: Get "http://www.v2ray.com/core/?go-get=1": redirected from secure URL https://v2ray.com/core?go-get=1 to insecure URL http://www.v2ray.com/core/?go-get=1

Who control this domain  v2ray.com
please do not redirect https to http.

ref https://github.com/v2ray/v2ray-core/issues/1983


bring setStatus to the public api list

Feature request
Uploader type: traditional
Feature request details
I would like to have the setStatus method in the public api.
I want to handle the file delete process without doing an ajax call.
This works well using the onSubmitDelete event, and calling remove() on the dom node, but without changing the status of the file, it keeps it on the queue as valid, and the itemLimit property is broken because of that.

I want to handle the file delete process without doing an ajax call.

How would you do this, exactly?

Hi,
I'm using the below code to do some vuejs integration work (among other things, let me know if you want the full js code for the section.
onSubmitDelete(id) {
    swal({
        title: 'Are you sure?',
        text: "Remember to save your changes!",
        type: 'warning',
        showCancelButton: true,
        confirmButtonColor: '#3085d6',
        cancelButtonColor: '#d33',
        confirmButtonText: 'Yes, delete it!'
    }).then(() => {
        vm.$store.dispatch(
            `addons/deleteFile`,
            { filename: this.getName(id), uploadRef: vm.uploadRef }
        ).then(() => {
            $(this.getItemByFileId(id)).remove();
        });
    });

    return false;
},

So you are using an ajax request to delete a file, but you want to do this outside of Fine Uploader.

I'm actually not even doing an ajax request on delete, i'm updating the list of available items in vue, and on the page's update method i'm saving it to persistance with the updated object containing the various aspects of the product (text, description, current image list and a flag that says it should trigger a delete process).
The point that you bring up is valid however, it's a way of controlling the delete process by itself outside of fineUploader, and the closest and fastest thing i could think of is allowing control of the various states of the files by hand.

Interesting. On a related note have you see the (in progress) Vue Fine Uploader project?
I can see the need for this, but there is a bit of a problem: simply changing the status of a file is often not sufficient. There is other internal logic that leads up to a status change. You can see an example in the internal _onDeleteComplete method, where a number of internal state items are updated before the file is marked as deleted.
I think it makes sense to expose setStatus, but I don't anticipate allowing any status to be set initially. Perhaps support for all status items could be phased in over time. Initially, qq.status.DELETED and qq.status.DELETE_FAILED would be the only status items supported, and this would require some internal refactoring to tie the logic in _onDeleteComplete to a requested state change of qq.status.DELETED or qq.status.DELETE_FAILED.

@rnicholus didn't see that yet, thank you for the heads up.
My vue integration is way more crude, and it's based around the default fineUploader templates and methods, without a major sort of rewrite (hooking into events and api's)
The alternative for setStatus, would be a way of changing the status from within onSubmitDelete event, or allow it to 'pass' without doing any type of ajax request.

I think your suggestion may be easiest, but it sounds like a hack to me, and there may be real benefit in exposing, or at least starting to expose setStatus. The path forward for a library of this size is to make integration as easy as possible, and that means Fine Uploader's API needs to be flexible.

@rnicholus that's true ;) I agree for a better long term solution that would help maintainability .
Would you want me to do an initial rough pull request with:

setStatus with DELETE and DELETE_FAILED
extract onDeleteComplete if/else into _handleDeleteSuccess / _handleDeleteFailed ?
update the docs with the info ?

That sounds good. I'm not sure exactly what the code will look like yet, but it should be easily extensible to support more status updates later. Also, for the delete case, we'll need new unit tests to cover this new feature. There are existing tests to cover the current behavior in the delete-file.js test file. Perhaps new tests to cover setStatus with the two deleted status values could exist in there. Or maybe it is more appropriate to create a new setStatus test file.

@rnicholus I've written an initial pull requests so we can discuss the changes. https://github.com/FineUploader/fine-uploader/pull/1739


Real and imaginary part for analysis

Hi Xiangyu,
I wanted to enquire about the real and imaginary values which we get after FFT.
After performing FFT on the raw data we get a complex number comprising of real and imaginary part. It is technically a frequency domain. Going through different reading materials it is mentioned that we can derive the amplitude and phase from the complex number which can be further used for the analysis.
My question is can we use the raw real and imaginary values which is obtained after FFT for any analysis such as clustering, classification etc.

Of course, you can use the real and image values for doing some analysis such as classification. In our paper "RAMP-CNN: A Novel Neural Network for Enhanced Automotive Radar Object Recognition", we use the real/imag values of range-angle images for object recognition using Deep learning networks. The DL networks can figure out inherently what formates the real/imag values can be converted to for recognition, not limited to the amplitude/phase.


Integration with /usr/share/sword

Hi,
Great app.
Could you just integrate it with the database Xiphos/Sword from crosswire build for system-wide on installing them, e.g., on GNU/Debian with:
sudo apt install xiphos diatheke
Then, if you install modules system-wide they will go to "/usr/share/sword"
Inside that you get "mods.d and modules" directories. So that, it is not necessary to download everything again in "$HOME/.sword".
Could you make a feature to integrate "/usr/share/sword" to use with your appl?
And also to ask where to install the new downloaded modules as Xiphos does? Per user or system-wide.
Thx a lot

Thanks. This is definitely doable, but would require sudo/root permissions to write to that directory. Currently the application doesn't require any special permissions since it uses the home folder.
I may do the "ask" thing you mentioned and then prompt the user to run it as root to install, but generally running any downloader with sudo isn't recommended for security reasons.

Thx for considering the request. But, my point is just to avoid
reinstallation of modules already installed in /usr/share/sword.
You, yourself can reproduce what I am thinking: just install Xiphos with
apt, if you use debian or other debian-like distro or whatever package
manager you have.
apt install xiphos
Then, open xiphos with sudo privileges
sudo xiphos
access xiphos preferences, reload the repositories, choose /usr/share/sword
(system-wide) installation
and add some Bibles, commentaries, lexicons to it.
Then you will see /usr/share/sword populated with two main folders -->
modules and mods.d
I mean to use these folders and their contents in your app.
You can also access the Freenode server through a client - I use hexchat -
and access the #sword and #xiphos channels to get more technical advices on
implementing this feature.
Peace out
Em qui, 27 de set de 2018 às 22:50, g4jc<EMAIL_ADDRESS>escreveu:

Thanks. This is definitely doable, but would require sudo/root permissions
to write to that directory. Currently the application doesn't require any
special permissions since it uses the home folder.
I may do the "ask" thing you mentioned and then prompt the user to run it
as root to install, but generally running any downloader with sudo isn't
recommended for security reasons.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/g4jc/diatheke-tui/issues/1#issuecomment-425294942,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Apb4qVFG1EDMNTcxzdaRbW-3C5XAGzHyks5ufYBPgaJpZM4WyfuK
.


Render error in 2013/09/calculating-greatest-common-divisor

See:

I rebuilt with the latest and checked the local render and verified it is mysteriously broken.

Also found another:

Resolved in a hacky way by scripts/modify_mangled_html.py. I'll probably circle back and make a Markdown extension instead of using Jinja2 templates.


null/undefined should be treated as false nodes

a node that is null or undefined should generate a comment node just like false.
a node that is 0 should generate a string node with 0 as innerText
return null / undefined should skip rendering just like return false

Implemented in https://github.com/nullstack/nullstack/pull/69


Test-Proxy should fail to start if a path starting with /mnt/c is detected

To account for the common case of folks running tests in WSL against an assets repo originally stored from windows.

@JimSuplizio @weshaggard any idea why msftbot assigned this?

@benbp I get assigned to issues that use the 'Test-Proxy' label to keep track of questions that come in from the developer community.

Closing. We no longer support docker.


Do not include polyfill

Including the ResizeObserver polyfill makes this module unnecessarily heavy. Apps should be lazy-loading polyfills, so that they don't ship unnecessary code to modern browsers.
Would you consider shipping this module (or a version of this module) without the polyfill?

Sorry for the late reply, sounds like a good idea. I will find some time for this maybe this weekend. Also PR is welcome.

@d6u we can create a PR, with a bit of guidance... How would you go about it? Would you remove the dependency on resize-observer-lite completely?

react-container-query uses resize-observer-lite to listen to change events to re-render the react component tree:
https://github.com/d6u/react-container-query/blob/master/src/ContainerQueryCore.ts#L11
resize-observer-lite prefers to use the browser's window.ResizeObserver directly, but if not present will use element-resize-detector's custom API to listen to resize changes:
https://github.com/d6u/resize-observer-lite/blob/master/src/index.ts#L11
unfortunately element-resize-detector is not a polyfill we could conditionally load, it's a custom API.
i believe element-resize-detector is already polluting the global namespace by creating window. elementResizeDetectorMaker. resize-observer-lite's main file could remove its dependency on element-resize-detector and fall back to window. elementResizeDetectorMaker (maybe also wrapped in a conditional to prevent errors if not included). then to prevent breaking current consumers, react-observer-lite could import element-resize-detector in a separate file which gets imported in the build step, but adds another build step which generates an alternate dist without importing element-resize-detector. react-container-query would also need to provide a second dist without the element-resize-detector dependency


Add a general purpose RateLimitMiddleware

What is the problem this feature would solve?
Adding a port of e.g. https://www.npmjs.com/package/express-rate-limit which could take advantage of the different persistence backends would be a very nice addition to the collection of middleware available in @effect/platform

We'll tackle persistent rate limiters and circuit breakers in 4.0

Gotcha. Thanks @mikearnaldi. :)


Make RobotFramework AIO Verify keyword support matchtry

The verify keyword currently supports to wait a response received, but it only has 1 time try.
If could, we would have a function that the step is available to have the option to try for some more times.
e.g
when this pattern does not match within matchtrytimeout seconds, then it sends again the trigger
command and tries to receive a message which matches to the pattern.
If the matchtry times no matching message was received, then the verifystep should end as failed.

Hi Cuong,
pleas look into this. This applies for all qconnect* functionalities.
Thank you,
Thomas

Hello Thomas,
I have implemented it by adding a parameter for the 'verify' keyword, which is fairly simple. However, I am thinking whether it is really necessary because Robotframework already supports a mechanism to do this, as shown in the example below.
`
*** Keywords ***
Veryfy with match try
[Arguments]    ${conn_name}     ${search_pattern}   ${send_cmd}     ${timeout}=0  ${fetch_block}=False  ${eob_pattern}='.'  ${filter_pattern}='.'   ${matchtry}=1
FOR     ${i}    IN RANGE    ${matchtry}
    ${passed}  ${value}    Run keyword And Ignore Error     verify      conn_name=${CONNECTION_NAME}
    ...                     search_pattern=${search_pattern}
    ...                     send_cmd=${send_cmd}
    ...                     timeout= ${timeout}
    ...                     fetch_block= ${fetch_block}
    ...                     eob_pattern= ${eob_pattern}
    ...                     filter_pattern= ${eob_pattern}

    Run Keyword If	${passed}   return from keyword  ${value}
END
fail

`
Let me know your idea.
Thank you,
Cuong

Hi Cuong,
as discussed today this solution is for all interfaces other than TTFis and DLT O.K., but for TTFIS and DLT the matchtry should happen verify internally by default 5 times, with a possibility to overwrite the default value, similar we do in TML.
This was a stabilization measure for the TTFIS connection which helped to avoid sporadically appearing errors..
Thank you,
Thomas


Add tests for the new homepage

Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

do we have an associated PR for these changes?

do we have an associated PR for these changes?

https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5613


create a REST proxy to the users openshift (online?) cluster so we can start to use Build/Run/Pipelines UI components

a pre-requisite of using the fabric8 Run / Build tabs is gonna be access to the OpenShift Online cluster (rather than the SaaS back end).
So it'd be nice once the user has logged into the console to also sign into the users OpenShift Online account and expose the REST API for OpenShift Online.
I guess one day we may support multiple clusters (free tier, paid tier, on premise cluster maybe?) so we may wanna leave an extra path in the REST URLs for a cluster name which we could default to just being 'online' for now?
So a REST call in the console would be something along these lines:
/k8s/
  /online/
    /api/v1/namespaces/cheese/pods

to access the pods in the cheese namespace in the online (i.e. OpenShift Online) cluster.
Environments are then relative to a cluster name; so we could support then using mixed environments; e.g. OSO, OSD, OSCP clusters in the same pipelines etc.
The REST Proxy is pretty easy really; the hard bit is the SSO ;)
For now we could hard code all users as having a single cluster called 'online' which points to OSO (or maybe a preview cluster until its live). Then over time we could support users being able to register their own clusters too (OSD etc) - though there's even more complexity in the SSO side there too but ultimately we should be able to get that to work if the right OAuth is setup in OSO / OSCP clusters

gonna close this as we can talk direct these days


Valid model.pt for ckpt_path -- Is it a open-source model

System Info
I am trying to run this:  bash decode_wavlm_large_linear_vicuna_7b.sh
But, not sure, what has to be given for ckpt_path, currently I do not have model.pt? Where do I get this? Is it some open-source model available in hugging face etc.? Please let me know. Currently, it is failing with this error. Thanks @byrTony-Frankzyq
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/efs/manju/if/repos/prompt/slam/output/vicuna-7b-v1.5-librispeech-linear-steplrwarmupkeep1e-4-wavlm-large-20240426/asr_epoch_1_step_1000/model.pt'
Thanks
Information

[X] The official example scripts
[ ] My own modified scripts

🐛 Describe the bug
bash decode_wavlm_large_linear_vicuna_7b.sh
Error logs
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/efs/manju/if/repos/prompt/slam/output/vicuna-7b-v1.5-librispeech-linear-steplrwarmupkeep1e-4-wavlm-large-20240426/asr_epoch_1_step_1000/model.pt'
Expected behavior
It is expected to produce output

But, not sure, what has to be given for ckpt_path, currently I do not have model.pt? Where do I get this? Is it some open-source model available in hugging face etc.? Please let me know. Currently, it is failing with this error. Thanks

You can find the projector(model.pt) ckpt in the README page.

Thanks @ddlBoJack .. Will try that

Thanks @ddlBoJack ..  This is solved. But, I am facing another issue. I am running this in a 4 GPU machine. I got cuda OOM, when using only single GPU (through CUDA_VISIBLE_DEVICES="0" ). After this, I tried using all 4 GPU's by setting CUDA_VISIBLE_DEVICES="0,1,2,3", but I still get same cuda OOM.
I parallelly monitored nvidia-smi output, and found that the script is using only GPU even after setting CUDA_VISIBLE_DEVICES="0,1,2,3". Am, I missing anything here. Please suggest. Thanks
Stack trace:
[2024-06-06 06:57:42][slam_model_asr.py][INFO] - loading other parts from: /mnt/efs/manju/if/repos/prompt/slam/output/vicuna-7b-v1.5-librispeech-linear-steplrwarmupkeep1e-4-wavlm-large-20240426/asr_epoch_1_step_1000/model.pt
[2024-06-06 06:57:42][slam_llm.utils.train_utils][INFO] - --> Model asr
[2024-06-06 06:57:42][slam_llm.utils.train_utils][INFO] - --> asr has 18.880512 Million params
Error executing job with overrides: ['++model_config.llm_name=vicuna-7b-v1.5', '++model_config.llm_path=lmsys/vicuna-7b-v1.5', '++model_config.llm_dim=4096', '++model_config.encoder_name=wavlm', '++model_config.normalize=true', '++dataset_config.normalize=true', '++model_config.encoder_projector_ds_rate=5', '++model_config.encoder_path=/mnt/efs/manju/if/repos/prompt/slam/models/WavLM-Large.pt', '++model_config.encoder_dim=1024', '++model_config.encoder_projector=linear', '++dataset_config.dataset=speech_dataset', '++dataset_config.val_data_path=/mnt/efs/manju/if/repos/prompt/slam/data/librispeech_slam_test-clean_bidisha.jsonl', '++dataset_config.input_type=raw', '++dataset_config.inference_mode=true', '++train_config.model_name=asr', '++train_config.freeze_encoder=true', '++train_config.freeze_llm=true', '++train_config.batching_strategy=custom', '++train_config.num_epochs=1', '++train_config.val_batch_size=1', '++train_config.num_workers_dataloader=2', '++train_config.output_dir=/mnt/efs/manju/if/repos/prompt/slam/output/vicuna-7b-v1.5-librispeech-linear-steplrwarmupkeep1e-4-wavlm-large-20240426', '++decode_log=/mnt/efs/manju/if/repos/prompt/slam/output/vicuna-7b-v1.5-librispeech-linear-steplrwarmupkeep1e-4-wavlm-large-20240426/asr_epoch_1_step_1000/decode_librispeech_test_clean_beam4', '++ckpt_path=/mnt/efs/manju/if/repos/prompt/slam/output/vicuna-7b-v1.5-librispeech-linear-steplrwarmupkeep1e-4-wavlm-large-20240426/asr_epoch_1_step_1000/model.pt']
Traceback (most recent call last):
File "/mnt/efs/manju/if/repos/prompt/slam/SLAM-LLM/examples/asr_librispeech/inference_asr_batch.py", line 53, in
main_hydra()
File "/opt/conda/lib/python3.10/site-packages/hydra/main.py", line 94, in decorated_main
_run_hydra(
File "/opt/conda/lib/python3.10/site-packages/hydra/_internal/utils.py", line 394, in _run_hydra
_run_app(
File "/opt/conda/lib/python3.10/site-packages/hydra/_internal/utils.py", line 457, in _run_app
run_and_report(
File "/opt/conda/lib/python3.10/site-packages/hydra/_internal/utils.py", line 223, in run_and_report
raise ex
File "/opt/conda/lib/python3.10/site-packages/hydra/_internal/utils.py", line 220, in run_and_report
return func()
File "/opt/conda/lib/python3.10/site-packages/hydra/_internal/utils.py", line 458, in
lambda: hydra.run(
File "/opt/conda/lib/python3.10/site-packages/hydra/_internal/hydra.py", line 132, in run
_ = ret.return_value
File "/opt/conda/lib/python3.10/site-packages/hydra/core/utils.py", line 260, in return_value
raise self._return_value
File "/opt/conda/lib/python3.10/site-packages/hydra/core/utils.py", line 186, in run_job
ret.return_value = task_function(task_cfg)
File "/mnt/efs/manju/if/repos/prompt/slam/SLAM-LLM/examples/asr_librispeech/inference_asr_batch.py", line 49, in main_hydra
inference(cfg)
File "/workspace/SLAM-LLM/src/slam_llm/pipeline/inference_batch.py", line 102, in main
model.to(device)
File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1160, in to
return self._apply(convert)
File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 810, in _apply
module._apply(fn)
File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 810, in _apply
module._apply(fn)
File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 810, in _apply
module._apply(fn)
[Previous line repeated 3 more times]
File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 833, in _apply
param_applied = fn(param)
File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1158, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 172.00 MiB. GPU 0 has a total capacty of 21.99 GiB of which 172.62 MiB is free. Process 37130 has 518.00 MiB memory in use. Process 64064 has 21.29 GiB memory in use. Of the allocated memory 21.03 GiB is allocated by PyTorch, and 19.83 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Does this support multi-GPU? If not how can I resolve this issue. Thanks @ddlBoJack @LauraGPT @chenxie95

Currently we use a single GPU for decoding. We have the plan to support Multi-GPU decoding and the script is on the way.

Ok Thanks.. Does this mean, I should increase the GPU memory and run there? Thanks

What GPU do you use? You can set batch size to 1, and use half-precision to run the inference, if the GPU memory is limited.

We use nvidia a10g GPU with 24 GB GPU memory.. Please guide me on how to set these..
Currently, for batch size is set as " ++train_config.val_batch_size=1 "
Thanks

And, also please let me know, if there is any better way to make this work on GPU with 24 gb memory. Thanks

Hi @ddlBoJack @byrTony-Frankzyq
Could you please suggest on this? Any recommendation on preferred GPU to be used ? Thanks

The minimum GPU we have used is A40 with 48GB memory.

Would be great if this is documented as either general requirement,
or for each model combinations on minimum requirement (or experiments conducted on)
will be a great easy start! 🙂

Ok thank you @ddlBoJack .  When can we expect multi gpu scripts availability? Any tentative ETA?
Because, we have difficulty in accessing suggested high end GPU's .. so, we would want to try out in multi GPU environment.. thanks

Any update on this? @ddlBoJack @byrTony-Frankzyq Thanks

Hi, we can hardly provide an ETA, since all our contributors are part-time on the project. However, we will try our best to fix the existing bugs and claimed features by users.

Hi @ddlBoJack
I am able to run successfully ./decode_wavlmr_large_linear_vicuna_7b.sh.
But, when I try running ./decode_whisper_large_linear_vicuna_7b.sh, I am getting below Error. Please suggest. Thanks
++decode_log=/prompt/slam/output/vicuna-7b-v1.5-librispeech-linear-steplrwarmupkeep1e-4-whisper/whisper_asr_epoch_1_step_1000/decode_librispeech_test_clean_beam4', '++ckpt_path=/prompt/slam/output/vicuna-7b-v1.5-librispeech-linear-steplrwarmupkeep1e-4-whisper/whisper_asr_epoch_1_step_1000/model.pt', '++train_config.use_fp16=true', '++train_config.use_peft=true', '++train_config.one_gpu=true', '++train_config.batch_size_training=1']
Traceback (most recent call last):
File "/prompt/slam/SLAM-LLM/examples/asr_librispeech/inference_asr_batch.py", line 49, in main_hydra
inference(cfg)
File "/workspace/SLAM-LLM/src/slam_llm/pipeline/inference_batch.py", line 100, in main
model, tokenizer = model_factory(train_config, model_config, **kwargs)
File "examples/asr_librispeech/model/slam_model_asr.py", line 19, in model_factory
encoder = setup_encoder(train_config, model_config, **kwargs)
File "/workspace/SLAM-LLM/src/slam_llm/models/slam_model.py", line 76, in setup_encoder
encoder = WhisperWrappedEncoder.load(model_config)
File "/workspace/SLAM-LLM/src/slam_llm/models/encoder.py", line 32, in load
encoder = whisper.load_model(name=model_config.encoder_path, device='cpu').encoder
File "/opt/conda/lib/python3.10/site-packages/whisper/init.py", line 149, in load_model
dims = ModelDimensions(**checkpoint["dims"])
KeyError: 'dims'
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

@uni-manjunath-ke I am using the same spec of gpu. Could you let me know how did you run ./decode_wavlm_large_linear_vicuna_7b.sh successfully?

@uni-manjunath-ke thank you for the reply! How did you do differently when you got OOM? When you didn't use docker, did you get OOM? I encountered OOM issue even with 'train config.use fp16=true'.

I used 40 GB single GPU with docker. With this, I dint get OOM

I used 4 46 GB GPUs. I still get an OOM error all the time, how should I fix this?


Embed Tweets for all TipBot commands

Update this article to include embedded tweets for all commands. The embedded tweets should not replace the commands, both should be shown.

@ykris45 good one for you?

@kauffj i will do it . stay awake for this night sir

@kauffj im done my boss

@kauffj or @tzarebczan close close close...

Thanks again Chris, sent you a tip on Discord.


Execute async function in TestCafe .js config

What is your Scenario?
I need to make an API call to fetch environment information and then filter out tests based on that response
What are you suggesting?
Make it possible to execute asynchronous API calls within the .testcaferc.js file
What alternatives have you considered?
Utilizing global before hooks in order to fetch information to dynamically skip tests, but this would result in an API request per test/fixture.  Would like to just query the environment and pass that to the filter portion of the config file
Additional context
No response

Hi @Despair-Bear,
You can execute API calls in a filter function in the .testcaferc.js file and filter your tests based on the response. For example:
//.testcaferc.js
module.exports = {
    filter: async (testName) => {
        const apiResponse = await callAPI();

        //...
    }
};

So this should work in theory, however is it possible to import async api calls from existing modules in the project?  When I attempt to import functions Testcafe seems to throw an error when reading .testcaferc.js

Yes, it is possible. You need to import it with the require syntax.

Yes, it is possible. You need to import it with the require syntax.

Is there an example of this somewhere?  No matter where I attempt to import with the require syntax I am still getting the same generic An error has occurred while reading the {file name} configuration file

Okay so likely the final question, when I'm attempting to execute an API call within the async filter declaration, I am receiving the following error:
ClientFunction cannot implicitly resolve the test run in context of which it should be executed. If you need to call ClientFunction from the Node.js API callback, pass the test controller manually via ClientFunction's `.with({ boundTestRun: t })` method first. Note that you cannot execute ClientFunction outside the test code.
Is there any way to use a previously declared ClientFunction within the configuration files filter?

You can use ClientFunction only inside the test code. Test filters run outside the test code. To call API requests in test filters, you need to use third-party libraries.


Password / Credential vault

Description
At the moment we can only store the ssh public key in our profile. I would like to extend this and have something like a general vault similar to the "Azure key vault". This way we could inject more than just public keys into VMs.
Use case
As an example we could inject SSL certificates as well.
Interface Changes
At the moment we already have under "Storage > Files" some contextualization files. I could imagine that we can upload the ssh keys and SSL certificates there as files. Or it could be a form where we copy / paste the content in. both fine for me.
And of course the API is then needed as well for the cases where the VM itself has to download the files with a script.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Hi @modir
Very interesting, indeed.  OpenNebula can encrypt attributes, we are currently using this as a "vault" for drivers (e.g. passwords to access a service is encrypted there). Only users that can show (in onevm show sense) can access the secret.
I think this can fit your case, with some extensions. For example:
ONE_VAULT = [
    SSL_CERTIFICATE = "....",
    DB_PASSWORD = "....",
    GH_TOKEN = "..."
]

This ONE_VAULT is an special attribute that it is encrypted and only shown in plain text through onevm show operation if user has access and request it unencrypted. The vault will be added in plain to the context VM so you can use it from inside the VM.
Another alternative (maybe complementary) is to add support to encrypted files to the File datastore, Those files will be encrypted with OPenNebula key and then added unencrypted to context device.
What do you think?

Hi @rsmontero
Interesting indeed. The first point is roughly what I was thinking about. Ideally though with a nice GUI and in some way more "global". This is now bound to a VM or templates. If I understood it correctly.

Aha, ok, we can put it as part of the user template and inject that into the context. Like SSH keys. It probably makes more sense....


make do_io() public to allow customized I/O operations

I'm trying to use WSARecvMsg() on mio::net::UDPSocket. And I find that I should call WSARecvMsg() in do_io() like UDPSocket#recv(). But I cannot do because do_io() is not public.
So, I think that do_io() should be callable by the user of mio::net::UDPSocket.
Is this ok?
Currently, I'm working in https://github.com/masa-koz/mio/blob/6dd2162e526cc74bdca183b7c1ec46565aecad83/src/net/udp.rs#L329

I'm trying to use WSARecvMsg to retrieve some ancillary datas such as pkt_info. So I would like to use recvmsg itself like https://docs.rs/nix/0.23.1/nix/sys/socket/fn.recvmsg.html

On Unix you could just use the call since do_io doesn't do anything, see https://github.com/tokio-rs/mio/blob/e8aed7baea88e844a7402a29ec8675ddc341edd9/src/sys/unix/mod.rs#L46-L54. However on Windows our internals don't allow for that I'm afraid, see https://github.com/tokio-rs/mio/blob/e8aed7baea88e844a7402a29ec8675ddc341edd9/src/sys/windows/mod.rs#L77-L92.

Can you add do_rawio (or do_rawapi) which calls do_io internally? do_io is still private, so you can change the detail without breaking api.
If this is also unacceptable, I will rewrite my code using miow.

@masa-koz we've agreed that this addition would be acceptable.
It should be added to the following types:

net::TcpStream
net::UnixStream
net::UdpSocket
net::UnixDatagram
unix::pipe::Sender
unix::pipe::Receiver

I think the something like the following should work.
impl TcpStream {
    /// Execute an I/O operation ensuring that the socket receives more events
    /// if it hits a [`WouldBlock`] error.
    ///
    /// # Notes
    ///
    /// This method is required to be called for **all** I/O operations to
    /// ensure the user will receive events once the socket is ready again after
    /// returning a [`WouldBlock`] error.
    ///
    /// [`WouldBlock`]: io::ErrorKind::WouldBlock
    ///
    /// # Examples
    ///
    /// ```
    /// # use std::error::Error;
    /// #
    /// # fn main() -> Result<(), Box<dyn Error>> {
    /// use std::io;
    /// use std::os::unix::io::AsRawFd;
    /// use mio::net::TcpStream;
    ///
    /// let address = "<IP_ADDRESS>:8080".parse().unwrap();
    /// let stream = TcpStream::connect(address)?;
    ///
    /// // Wait until the steram is readable...
    ///
    /// // Read from the stream using a direct libc call, of course the
    /// // `io::Read` implementation would be easier to use.
    /// let mut buf = [0; 512];
    /// let n = stream.try_io(|| {
    ///     let buf_ptr = &mut buf as *mut _ as *mut _;
    ///     let res = unsafe { libc::recv(stream.as_raw_fd(), buf_ptr, buf.len(), 0) };
    ///     if res != -1 {
    ///         Ok(res as usize)
    ///     } else {
    ///         Err(io::Error::last_os_error())
    ///     }
    /// })?;
    /// eprintln!("read {} bytes", n);
    /// # Ok(())
    /// }
    /// ```
    pub fn try_io<F, T>(&self, f: F) -> io::Result<T>
    where
        F: FnOnce() -> io::Result<T>,
    {
        self.inner.do_io(|_| f())
    }
}

It sounds great. Can I create a PR?

It sounds great. Can I create a PR?

@masa-koz yes


feat: add LICENSE

What type of PR is this?

[ ] bug
[x] feature
[ ] enhancement

What problem(s) does this PR solve?
Issue(s) number:
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:

https://github.com/vesoft-inc/nebula-br/issues/65


No existing route to remove a playlist image to go back to a Gannon SVG

This is interesting.... I've been thinking we need to support drag and drop images as originally designed in figma, I will look into that. I guess we need some sort of X for the image.


build: Update Vulkan-Headers and VUL to 1.4.304

CI Vulkan-ExtensionLayer build queued with queue ID 331063.

CI Vulkan-ExtensionLayer build # 1021 running.

CI Vulkan-ExtensionLayer build # 1021 passed.


ci: update testing with torch~=2.3

What does this PR do?
update testing matrix after PT 2.3 release

Before submitting

[x] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?
Make sure you had fun coding 🙃

📚 Documentation preview 📚: https://torchmetrics--2526.org.readthedocs.build/en/2526/

Seems like there is no reasonable package for the latest macOS
https://download.pytorch.org/whl/cpu/torch_stable.html


Support for Preact templates?

TSDX is a great tool for building packages and I look forward into continuing developing packages using it. However, given that TSDX supports a React template with or without Storybook, are there any plans on adding template for Preact projects?

Please don't remove the issue template, it is there for a reason.
The react-with-storybook template is entirely community contributed, with each version even having a separate author.
I'd welcome a contribution for Preact use as well.
There will likely be some complexity to it since TSDX was designed with React in mind, so things like TS pragmas, Babel plugins, ESLint plugins, etc have React nuances to them.


Prevent memory leak on MacOS

When testing an OpenGL view on my system, the many NSEvents and NSDates fired on each puglUpdate call kept being allocated new memory, making the RAM usage increase over time.
Wrapping puglUpdate in an @autoreleasepool fixed it for me.
Also – absolutely love the library. Exactly what I was looking for. 😄

Ah, yeah.  Still a bit of a mystery to me how that stuff works, to be honest.  I imagine there's other places where it's a bit leaky...
Anyway, this seems reasonable.  Merged as e67425c7f32d4ea25dfb92e44a9331914ae3d47e, thanks.


feat(next-urql): send App props for pre-pass

Resolves #2573
Summary
Using the next-urql library with withUrqlClient is used with ssr: true, all the Next App tree is re-rendered. When we use withUrqlClient in the App everything works fine. But when we use withUrqlClient in pages and have React Context providers in _app that receive props from App.getInitialProps. In the pre-pass step, this values (it only fetches the Page.getInitialProps) and no App props from App.getInitialProps. This can be an issue if, for example, we use a Feature Flag React context, the behavior in the pre-pass step will be different.
Set of changes
Added a new option in WithUrqlClientOptions, getAppProps where you can send the props for the App. This way the App is rendered in prepass with the same context as without it.

I believe we're running into a similar issue when trying to use withUrqlClient on _app.js alongside appWithTranslations from https://github.com/i18next/next-i18next


Re-add support for Sprockets 4

@jejacks0n Sorry about the previous attempt modeset/teaspoon#473. I was quiet for a while but I have it all working now. The appraisal tests are all good and I have also tested this out in a Rails 4.2.5/Sprockets 4 project. This however depends on rails/sprockets#341 so we should wait on that before merging. After we merge I can work on some changes to the README including the version of sprockets-rails needed (version 3 plus that patch).

A few more important points:

In Sprockets 4 a debug asset (an asset run through the debug pipeline) concatenates all the included assets as declared by Sprockets directives and adds a sourcemap link at the bottom while a self asset (an asset run thought the self pipeline) includes just the source content without the included assets. Therefore we use self assets when running coverage tests and debug assets otherwise. This is a bit confusing since in Sprockets 2 & 3 a debug asset is what would be self asset in Sprockets 4.

In reworking the assets precompile list you will notice that I no longer add teaspoon/*.js assets. This is because we never actually loaded any. All the JavaScript assets in the Teaspoon's engines assets folder are required by the test library gems.

I find this new behavior of Sprockets to be confusing, but I'm willing to roll with this and see.

At some point when sprockets changes slow back down, I'd like to lock it to a minimum version and remove the hacks we have in place for various versions.

Sounds good. Dropping support for Sprockets 2 will give room for cleaning up.

Thanks @liseki. Sounds like this should wait until sprockets is ready? If so, do you want me to wait until you check back in?

@jejacks0n yes please. I'll wait for the sprockets-rails patch to go through and then I'll rebase and squash these commits and give you the heads up.

I appreciate all your work on this. 👍

OK @jejacks0n, let's see if we can close this today!
As I was developing this patch I was also testing it out on this setup:
rails 4.2.5
sprockets 3.6.0
sprockets-rails 3.0.4

I kept thinking I was breaking Teaspoon in this setup when config.expand_assets = false  but as it turns out Teaspoon is broken. I suspect this has not been a problem because config.expand_assets = true is the default and there is not much reason for users changing this. The problem with this setup is that ActionView::Helpers::AssetTagHelper#path_to_javascript is always passed the option debug = true from [Teaspoon] (https://github.com/modeset/teaspoon/blob/d9de20295dd1e9839ebeca00cc7605f8c76a0799/lib/teaspoon/engine.rb#L110). This causes sprockets-rails to append the body query param which makes Sprockets serve a 'self' asset when we actually want the debug (bundled) one. Again part of the confusion here is the difference in meaning of a 'debug' asset between Sprockets 2 and 4 (with Sprockets 3 being somewhere in between). I am providing the explanation just for posterity because I decided to leave this as is; as long no one is having a problem with it then it isn't a problem :)
Having that out of the way, I simplified by using the allow_non_precomiled option which allows us the luxury of dropping the manifest file and the sprockets-rails patch. As with the previous attempt, we load "debug" assets by default and "self" assets when running coverage tests. All the appraisal tests are happy and I have tested this with both config.expand_assets = true and config.expand_assets = false  in the following setups:
Setup 1:
rails 3.2.22
sprockets 2.2.3

Setup 2:
rails 4.2.5
sprockets 3.6.0
sprockets-rails 3.0.4

Setup 3:
rails 4.2.5
sprockets 4.0.0.beta2
sprockets-rails 3.0.4

As mentioned above, Setup 2 still fails when config.expand_assets = false. Switching to rails 4.2.3 in Setup 2 still fails when config.expand_assets = false since we loose our debug/allow_non_precompiled option and now need to make sure all our assets are declared in precompile list.
Let me know if you are happy with this and I'll squash for committing. Sorry that you'll end up with two consecutive git history entries on Sprockets 4 but I think now we can finally settle it.

No worries, go ahead and squash.  There's always been a bit of an issue with the expand_assets configuration, but I couldn't get both scenarios working well initially, and haven't had the opportunity to go back and see if there's a better option.. Generally speaking any failed test/stack traces are much more useful when you DO expand assets, but for performance reasons some people want to avoid expanding their assets. My point being that it will probably need additional attention at some point.

Since I have most of this fresh in my mind I'll take a look at getting that setup to work towards the end of the week. I think part of the issue is the conflation of the asset helper options "debug" and "allow_non_precompiled" within ActionView.
As far as Sprocket 4 is concerned, this is a go. Thank you for this awesome tool!

Sorry, that conflation happens within sprockets-rails not ActionView.

I was super confused by the hack for allow_non_precompiled and how that makes it through the chain (or didn't as far as I could tell).. e.g. the debug option does several different things, and isn't consistent.

Status check @liseki.. Feel free to disregard if nothing has changed.

This is good to go! :)

@jejacks0n I think this is safe to merge unless you have some other thoughts. Since the rails 4 + sprocket 3 issue precedes this change then we need not wait on fixing it. As far as Sprockets 4 goes, there is nothing else to add here.

Thanks for your efforts here. Much appreciated.

It's a pleasure to help on this awesome tool!


kpy.plot_cpdb

IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and i arrays are valid indices
when use the function kpy.plot_cpdb, what does it means?

Hi, i need the full error trace to understand what went wrong with your use case.


Add ec2 gotcha - undocumented limit of zero for new accounts

Document an undocumented restriction applicable to very new accounts, such as might be used in instruction.
A teacher attempting to have students use their own brand new accounts to each launch one g2 instance reported that the student launches failed because of an undocumented soft limit of zero. This may be associated with AWS trying to mitigate the use of GPU instances for Bitcoin mining, though that's speculation.

LGTM, thanks @rjhintz! Moving over to @max-zanko for topic review.

@rjhintz This is all set, thanks again. Once you resolve the conflicts, I will merge it.

@ThanosBaskous This should be ok.

👍 Thanks @rjhintz!


free-courses-en.md

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Not a duplicate
[ ] Included author(s) if appropriate
[ ] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

Hey, thanks for fixing that from before! :+1:
Sorry to be a pest, but just a few comments/questions on this now.

The file should be separated with hyphens (-) not with spaces.
Is ds a valid language code? I can't find it on Wikipedia at least.
Based on the videos, these look like English learning material, perhaps they belong in free-courses-en.md instead?
Can you please use titles from the source rather than duplicating it? ie "Cloud Computing and Development"
The links used for the table of contents doesn't match the headings, for the example Cloud Development is anchored by #cloud-development, and Understanding Data Structures is anchored by #understanding-data-structures.
Sections should be titled with a topic, not the name of a resource, for example Data Structures, or not Understanding Data Structures, what about when another `Data Structures" resource gets added?

Please read CONTRIBUTING.md guidelines!


[feature request] tabs as workspaces

In standard (neo)vim, tabs act as workspaces and buffers work within splits. Since with Oni 2 tabs act more similarly to buffers in standard (neo)vim, an analogue to vim "tabs" that act as workspaces would be appreciated.
Use case description: I open a single instance of a documentation buffer that I want to have be distraction free. I want to edit code, but don't want to have to keep creating and destroying a split to edit possibly related code. I open a new workspace that I can use to see multiple points in that source code file, or even multiple source files, but want to maintain that original distraction free documentation workspace. Ideally this is all in the same session, so ctrl-p and rg update properly and I don't have to worry if I open the same file in multiple workspaces, as it should be the same buffer every time.

Yes, I've been thinking about this too! We're missing the 'tab' equivalent in 'vim'/'neovim' - the ability to store / persist a set of windows splits and cycle between them.
This is something I'd consider tackling for the next milestone (the VSCode-integration one) - I was considering adding the following:

New ex cmds - wsnew, ws drop, ws split wsfirst, wslast, wsnext, wsprev - to handle creating, deleting, and navigating between workspaces. (wsdrop` would go to the workspace containing a buffer
Commands surfaced in the <Control+Shift+P> command palette
Showing the list of workspaces in the file explorer pane (as a separate tree)
Persistence in splits - saving the set of splits per-workspace, and loading them on open.
Each workspace could optionally be associated with a directory (:cd would change the active directory for the workspace, and be persisted)

@bryphe so happy to hear you are thinking about solutions in this space!!!
I would like to reference the issue that I made in the oni 1 repo about this same topic, I think there was some good discussion there.
https://github.com/onivim/oni/issues/1582

Hey @nwaywood good to see you here! Thanks for linking the issue - my comment was really inspired by the discussion in that thread #1582. Sorry I didn't properly attribute!
It's something that's been on my mind that we weren't able to get to in v1... I hope we can do it right in v2!

I miss the 'splits-in-tabs' from vim in the pre-alpha. This workspaces idea should then be "the best of both worlds" as @nwaywood said, I like it!

It'd be nice to have a config option to have tabs/splits behave as they do in Vim. Coming from Vim and the Oni V1, I find it painful to not be able to navigate tabs like I'm used to, and it is one of the biggest reasons I didn't switch to using VSCode with the vim plugin.

Not having vim tabs would be a deal breaker to most people coming from vim in my opinion. We could have a kind of session auto-save/load instead of introducing that workspace concept.

Interstingly intellij has a tab less way of working, with quick switching between files in the split which is more like working with vim.  This is even their recommended way of working -
https://youtu.be/o-T40MRwzdA?t=556

FYI - this set of PRs #2013 #2030 #2032 added tabs - using these configuration settings:
  "oni.layout.layoutTabPosition": "top",
  "workbench.editor.showTabs": false

mimics the Vim UI (no 'window tabs', and the 'vim tabs' on top) - and you can use the following tab commands:

tabnew, tabedit, gT, gt, tabp, tabn, etc

So I believe this is addressed now with that work - but please feel free to log issues for missing scenarios or bugs 👍
A few follow-up issues: #2233 #2232 #2230  #2251


Fix path type

File type is never reached in original code, I believe it's a typo.

Doesn't really make a difference whether it's if or elif here since the body of the initial if does not affect the conditions of the second if, so the behavior is identical for if and elif

else overwrites first if.
Fast test:
    import click

    @click.command()
    @click.option('-o', type=click.Path(dir_okay=False))
    def test(mypath):
        """Path test"""
        click.echo(mypath)

    test()

Original behaviour:
Options:
  -o PATH

Fixed behaviour:
Options:
  -o FILE

true, makes sense. didn't look at the else for some reason


Xcode 9 can't do xcodebuild -showBuildSettings

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Xcode 9, fastlane 2.55. Two appid with two different identifiers. One shared scheme.
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Captured Output
Command Used: beta
Output/Log

Successfully loaded Appfile at path '/Users/superandrew/Documents/xcode/nowr-ios/fastlane/Appfile'
- app_identifier: 'cc.officina.nowr'
- apple_id<EMAIL_ADDRESS>- team_id: 'KNZW2F3F6V'
-------

+------+---------------------+-------------+
|             fastlane summary             |
+------+---------------------+-------------+
| Step | Action              | Time (in s) |
+------+---------------------+-------------+
| 1    | Verifying required  | 0           |
|      | fastlane version    |             |
| 2    | default_platform    | 0           |
| 3    | prompt              | 0           |
| 4    | prompt              | 0           |
| 5    | prompt              | 0           |
| 💥   | gym                 | 82          |
+------+---------------------+-------------+

🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.6

Ruby
2.4.1

Bundler?
false

Git
git version 2.13.2

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.1_1/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-beta.app/Contents/Developer/

Xcode Version
9.0

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.17.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    cocoapods

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym(scheme: "nowr-ios") # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "nowr-ios") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

#
  # Learn more here: https://github.com/fastlane/setups/blob/master/samples-ios/distribute-beta-build.md 🚀
  #
  lane :beta do |values|
    # Fabric generated this lane for deployment to Crashlytics Beta
    # set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
    whatsnew = prompt(
	text: "Whats' new",
	multi_line_end_keyword: "END"
   )

    focusarea = prompt(
        text: "Focus Area",
	multi_line_end_keyword: "END"
    )
    notes =  prompt(
      text: "notes: ",
      multi_line_end_keyword: "END"
    )

    gym(scheme: 'NOWR dev', export_method: 'enterprise')

    emails = [REDACTED]

    crashlytics(api_token: '[REDACTED]',
             build_secret: '[REDACTED]',
                   emails: emails,
                   groups: groups,
                    notes: whatsnew, # Check out the changelog_from_git_commits action
            notifications: true) # Should this distribution notify your testers via email?

    # for all available options run `fastlane action crashlytics`

    # You can notify your team in chat that a beta build has been uploaded
    slack(
      slack_url: "[REDACTED]",
      channel: "nowr",
      payload: {            # optional, lets you specify any number of your own Slack attachments
      'What\'s new' => whatsnew,
      'Focus Area' => focusarea,
      'Note' => notes
      },
      default_payloads: [],
      message: "Nuova versione disponibile per il test"
    )
  end

`./fastlane/Appfile`
app_identifier "cc.officina.nowr" # The bundle identifier of your app
apple_id "[REDACTERD]" # Your Apple email address

team_id "REDACTED"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.55.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.58.0

faraday
0.13.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
2.0.2

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.3

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

google-api-client
0.13.5

io-console
0.4.6

openssl
2.0.3

generated on: 2017-09-09

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.6

Ruby
2.4.1

Bundler?
false

Git
git version 2.13.2

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.1_1/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-beta.app/Contents/Developer/

Xcode Version
9.0

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.17.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    cocoapods

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym(scheme: "nowr-ios") # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "nowr-ios") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

#
  # Learn more here: https://github.com/fastlane/setups/blob/master/samples-ios/distribute-beta-build.md 🚀
  #
  lane :beta do |values|
    # Fabric generated this lane for deployment to Crashlytics Beta
    # set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
    whatsnew = prompt(
	text: "Whats' new",
	multi_line_end_keyword: "END"
   )

    focusarea = prompt(
        text: "Focus Area",
	multi_line_end_keyword: "END"
    )
    notes =  prompt(
      text: "notes: ",
      multi_line_end_keyword: "END"
    )

    gym(scheme: 'NOWR dev', export_method: 'enterprise')

    emails = values[:test_email] ? values[:test_email] : ['silvia.galessi<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS># You can list more emails here
    groups = values[:test_email] ? nil : ['officina-nowr'] # You can define groups on the web and reference them here

    crashlytics(api_token: 'df188970e96548a1ba7c2635f8c6a1ec02b0dd62',
             build_secret: '0fa6eb11a3f3bc9bcf354dd86a4c6e008280191faf01a45cc1b20ac55c634dc1',
                   emails: emails,
                   groups: groups,
                    notes: whatsnew, # Check out the changelog_from_git_commits action
            notifications: true) # Should this distribution notify your testers via email?

    # for all available options run `fastlane action crashlytics`

    # You can notify your team in chat that a beta build has been uploaded
    slack(
      slack_url: "https://hooks.slack.com/services/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",
      channel: "nowr",
      payload: {            # optional, lets you specify any number of your own Slack attachments
      'What\'s new' => whatsnew,
      'Focus Area' => focusarea,
      'Note' => notes
      },
      default_payloads: [],
      message: "Nuova versione disponibile per il test"
    )
  end

`./fastlane/Appfile`
app_identifier "cc.officina.nowr" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "KNZW2F3F6V"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.55.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.58.0

faraday
0.13.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
2.0.2

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.3

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

google-api-client
0.13.5

io-console
0.4.6

openssl
2.0.3

generated on: 2017-09-09

Problem solved with update to last Xcode 9 beta 6. and it wasn’t related to code sign in anyway, it popped out when I updated fast lane on an existing project

This was a bug in an earlier beta version of Xcode 9 but we thought it was resolved 😱 . @superandrew could you tell us which version of Xcode beta you are using? 🐙

I was using beta 5. Now I am on beta 6.

Are you still seeing the issue in 6 @superandrew ?

No, everything seems fine.

👍  🎉  Thanks everyone for chiming in! Going to close this now but let us know if it is still an issue for anyone! 🚀

I noticed this happening again in Xcode 9 GM. Anyone else?

Hey @Ruenzuo, I am not able to reproduce this issue with any of my projects, is it possible that xcode-select is still pointed at a beta version? Could you share the output from running xcode-select -p? Thanks!

We are experiencing this issue at the moment.
In our setup we have multiple Xcode versions on each agent.
But this particular issue happens after I bumped fastlane from 2.12.0 to 2.54.3.
Even on the build agents that don't have Xcode 9 GM yet...

OK, so for us it was a matter of increasing FASTLANE_XCODEBUILD_SETTINGS_TIMEOUTto a greater value.
Our project has a lot of targets and uses xcconfig files a lot.
So with newer versions of fastlane somehow it needed more time to read build settings.
That's why we had no issues with our other projects, which is smaller and has simpler build settings.


Mistune 2.0 upgrading guide?

Congratulations on your release!
Any advice for updating to Mistune 2.0 from 0.8.x?

AttributeError: module 'mistune' has no attribute 'Renderer'

I get the same error, but about BockGrammar.

Render I think is replaced with HTMLRenderer. Also I found escape_link is also missing.
I am more worried about how to disable the include directive. I am processing user supplied
text.
For the time being I am keeping Roundup pinned to 0.8.4 version of mistune.

Render I think is replaced with HTMLRenderer. Also I found escape_link is also missing.

Instead of directly instantiating and using HTMLRenderer, you should instead use mistune.create_markdown.
escape_link functionality is now implemented directly by the html renderer: https://github.com/lepture/mistune/blob/v2.0.2/mistune/renderers.py#L116
If you were just using escape_link to filter urls by scheme, you can do this with python's built-in urllib.
from urllib.parse import urlparse
# python 2: from urlparse import urlparse

SAFE_SCHEMES = ['http', 'https', 'ftp']

def is_safe_url(url):
    scheme = urlparse(url)[0]
    return scheme in SAFE_SCHEMES

I am more worried about how to disable the include directive. I am processing user supplied text.

The include directive is only enabled if you explicitly enable it. You can check what plugins are enabled by default by reading the definition of html in __init__.py: https://github.com/lepture/mistune/blob/v2.0.2/mistune/init.py#L44
Or, you can just call create_markdown which won't add any plugins other than what you specify.

Render I think is replaced with HTMLRenderer. Also I found escape_link is also missing.

Instead of directly instantiating and using HTMLRenderer, you should instead use mistune.create_markdown.

I generate my own renderer (see below), I assume my renderer class gets instantiated and passed in
as mistune.create_markdown(...,renderer=LinkRendererWithRel(...),)?

escape_link functionality is now implemented directly by the html renderer: https://github.com/lepture/mistune/blob/v2.0.2/mistune/renderers.py#L116
If you were just using escape_link to filter urls by scheme, you can do this with python's built-in urllib.
from urllib.parse import urlparse
# python 2: from urlparse import urlparse

SAFE_SCHEMES = ['http', 'https', 'ftp']

def is_safe_url(url):
    scheme = urlparse(url)[0]
    return scheme in SAFE_SCHEMES

Under 0.8.4 I was setting:
  mistune._scheme_blacklist = [ s + ':' for s in _disable_url_schemes ]

A safe scheme filter is safer though.
Note that I add the rel="nofollow noreferer" attribute to rendered links. So I have my own
renderer class:
  class LinkRendererWithRel(Renderer):

My class overrides autolink and link methods. The class is passed to markdown as:
  markdown = lambda s, c: mistune.markdown(s, {'renderer': LinkRendererWithRel(escape = True)})

I am more worried about how to disable the include directive. I am processing user supplied text.

The include directive is only enabled if you explicitly enable it. You can check what plugins are enabled by default by reading the definition of html in init.py: https://github.com/lepture/mistune/blob/v2.0.2/mistune/init.py#L44
Or, you can just call create_markdown which won't add any plugins other than what you specify.

Ok. I'll try to work with it sometime this week.
Thanks.

Here is how @fmigneault  upgraded to Mistune 2.0 https://github.com/common-workflow-language/schema_salad/commit/47332275ae04540a4b71ccfa0ff160edbef01496#diff-73bac5f09290fd54add4e5397028f1f1d02a787c8f445a92cb578ead12582953


User Management | Fuel Supplier drop down menu extends down the screen when IDIR user creating new FS user from Admin section |0|

https://trello.com/c/7doWkeNE/1293-user-management-fuel-supplier-drop-down-menu-extends-down-the-screen-when-idir-user-creating-new-fs-user-from-admin-section-0
Scenario:

Who: IDIR user, Admin role
Where: Administration tab, Users sub-tab, click on New User drop down and select Add Fuel Supplier User

Issue:
When the IDIR user clicks on the drop-down menu for selecting the user's organization, the drop-down menu extends all the way down the screen (see attached screenshot).
Solution:

Have the drop-down menu stay within the screen and allow the user to scroll through the list of companies within the fixed drop-down menu.
Since we have a big list of suppliers to choose from, consider having the drop-down menu extend above the input field to use a larger portion of the screen (while still staying within the page). Doing this will show more options and require less scrolling for the user when selecting an organization.

Note: this issue is unique to creating a FS user from the Admin section. This issue does not occur if the user where to go to the Fuel Suppliers page, select the relevant organization, and then click on the New User. This is because this pathway automatically selects the organization for the user.

 User Management | Fuel Supplier drop down menu extends down the screen when IDIR user creating new FS user from Admin section |0|


Message finalzier support

Finalizer is fired on success and final retry
New interfaces:
IFinalizeMessages
IMessageFinalizerProvider

Can you explain the use case? We can talk offline this week and I'll update the PR with relevant info.

The nsqjs library has a DISCARD handler, maybe we could do something like this.
The IMessageAuditor handles these cases but:

The naming doesn't make it obvious.
You need to bring your own plumbing if you want to do custom success/final failure handling based on topic.

I kind of get the final failure handling, but what's the use case for success? Is it to support sagas?


rspec fail if CUPRITE_DEBUG is on

Platform: Mac
Ruby 2.5.0
Chrome
bundle exec rspec spec/unit/

Failures:

  1) Capybara::Cuprite::Browser logs requests and responses
     Failure/Error: expect(logger.string).to include("")
       expected "" to include ""
     # ./spec/unit/browser_spec.rb:15:in `block (2 levels) in <module:Cuprite>'

Finished in 2.7 seconds (files took 0.79745 seconds to load)
6 examples, 1 failure

Failed examples:

rspec ./spec/unit/browser_spec.rb:8 # Capybara::Cuprite::Browser logs requests and responses

I've never seen it failing on any platform, are you on mac or windows?

I think the issue is that the logger is redirected when CUPRITE_DEBUG is on and the test is unable to read from the logger anymore.

I think if someone set logger we should prioritize it as they expect output to be there. They expect debug info to be in that IO so that CUPRITE_DEBUG is redundant as it eventually is the same but right on STDOUT

Fixed in https://github.com/machinio/cuprite/commit/e8156509d36e45851e7ba500c801ebdcbabd7825


Era/SoD Paladin - Blessing of Light Miscalculated

Hi,
Using Blessing of Light throws off the calculation Holy Light spells. Here is what I've tried so far to figure out what's really happening.
Test Results
Here are my results for doing 10 casts per rank. I then compared these results to what is estimated by using power-as-spell-power (proposed) and power-as-flat-addition (currently used in the source code).

HL_Rank
BoL_Rank
Measured
*P(sp)
P(flat)

1
0
173-182
173-183
173-183

2
0
308-315
300-317
300-317

3
0
532-555
529-561
529-561

4
0
801-850
801-853
801-853

6
0
1253-1324
1243-1336
1243-1336

8
0
1872-2023
1865-2025
1865-2025

1
1
216-225
217-227
383-393

2
1
384-397
371-388
510-527

3
1
683-707
645-677
739-771

4
1
1012-1061
951-1003
1011-1063

6
1
1455-1541
1393-1486
1453-1546

1
2
234-243
235-245
473-483

2
2
420-432
402-419
600-617

3
2
740-769
695-727
829-861

4
2
1102-1144
1015-1068
1101-1153

6
2
1544-1635
1458-1550
1543-1636

1
3
253-263
256-266
573-583

2
3
461-475
436-453
700-717

3
3
809-837
750-782
929-961

4
3
1202-1240
1087-1139
1201-1253

6
3
1663-1735
1529-1622
1643-1736

8
3
2319-2395
2151-2311
2265-2425

For context, I have 617 healing power from gear.
Analysis
The divergence is most dramatically seen in Holy Light(Rank 1) with Blessing of Light(Rank 3)(bolded). If the current calculations were correct I'd be healing close to 600 per normal cast, and this would be the most mana-efficient heal for Paladins in the game. Unfortunately it's not nearly that powerful: My normal casts are around 260. This is in line with what would be expected from calculating Blessing of Light's effect based on spell power alone.
On the other hand, using spell power does not completely solve the problem. For HL2 and HL3, the results are somewhere in the middle of sp and flat_add ; for HL4-HL8, it's clear that the flat_add is quite accurate while sp is not.
Lower Rank Holy Light Scaling
So, Rank 2 and Rank 3 are still unsolved. I found the range of the original unbuffed spells, and then started casting until I had achieved the same range with a Blessing of Light. I then took the buffed lower upper bounds and subtracted them from their respective unbuffed bound to compute the diff column. Here are my results from this (T = tooltip info):
Holy Light(Rank 2)

HL_Rank
BoL_Rank
Measured
Range
Diff
Coeff

2
T
91-107
15
-
-

2
0
300-315
15
-
-

2
1
384-399
15
84/84
84/210 =0.4

2
2
420-435
15
120/120
120/300=0.4

2
3
460-475
15
160/160
160/400=0.4

Holy Light(Rank 3)

HL_Rank
BoL_Rank
Measured
Range
Diff
Coeff

2
T
187-219
31
-
-

3
0
529-560
31
-
-

3
1
676-707
31
147/147
147/210=0.7

3
2
739-770
31
210/210
210/300=0.7

3
3
809-840
31
280/280
280/400=0.7

This shows that Blessing of Light applies different heal power coefficients based on the rank of the spell. Rank 2 is modified by a 0.4 coefficient, and Rank 3 is modified by a 0.7 coefficient. Presumably, higher-ranked spells all use a 1.0 coefficient.
Lastly, I decided to revisit rank 1 with the same methodology:
Holy Light(Rank 1)

HL_Rank
BoL_Rank
Measured
Range
Diff
Coeff

1
T
47-57
9
-
-

1
0
173-182
9
-
-

1
1
216-225
9
43/43
43/210=0.205

1
2
234-243
9
61/61
61/300=0.203

1
3
253-263
10
80/81
80/400=0.2, 81/400=0.2025

So, it seems Holy Light(Rank 1) might have a coefficient of 0.2, and this just happens to be very close to its normal spell power coefficient of 0.205, but if that were the case it seems 210*.2, for instance, would equal 42, not 43, and 300*.2 would equal 60, not 61. It seems it would be slightly more accurate to scale it based on spell power.
Implementation
I was hoping this would be pretty straightforward to implement, but it doesn't seem that easy. The calculator is not really built to apply a buff differently to different ranks of the same spell. I did come up with a way to do it, which I'll try to get around to sharing tomorrow.
 While looking into this I noticed Holy Light's effect range changes as you level, but not necessarily in a linear way. For example, here is what the tooltip says for Holy Light(Rank 1) based on several of my characters:

lvl1: 39 to 47
lvl5: 42 to 51
lvl21: 42 to 51
lvl50: 47 to 57
lvl60: 47 to 57

The addon currently assumes a base of 39-47, growing by 0.8 from levels 1-5. This accounts for the scaling at lvl5. However, there is evidently a period of no change for this effect range between at least level 5 and 21, then somewhere between levels 21 and 50 some additional effect range changes. I can say, at least, that this is not affected by gear or buffs as the range persists after removing all gear, and I've cross-checked this behavior with Classic Era (non-SoD) servers.
Given that in my implementation the spell effect ranges are very close but only slightly off in inconsistent ways, it seems like the calculator is taking most of this into account already somehow, either intentionally or accidentally.
Greater Blessing of Light
Currently, Greater Blessing of Light (spid:25890) is not recognized as a Blessing of Light, but should carry the same effects as Blessing of Light(Rank 3).
Additional Spell Notes
Holy Light
Note: my testing indicates that the spell range is lowerbound <= x < upperbound. For example, HL3 indicates the spell may land for anywhere in the range of 91-107, but I was only able to achieve 91-106 after spamming it for quite a while.

Rank
Tooltip
Coeff

1
47-57
0.205

2
91-107
0.339

3
187-219
0.554

4
360-413
0.714

6
803-895
0.714

8
1424-1584
0.714

Blessing of Light

Rank
FoL_P
HL_P

1
60
210

2
85
300

3
115
400

Hey, nice findings.

Since the Blessing of Light effect appears to depend on Holy Light rank it would be easiest to account for in calc.lua instead of buffs.lua. The codebase may be messy so if you don't find a quick way to do it, don't worry about it and I can work it in next when I can get to it.
I suspect you have taken Healing Light talent for higher level characters. The addon currently assumes it is applied to the base of the spell and not spell power. If the in-game blizzard tooltip is showing 42-51 rank 1 Holy Light with the talent at higher levels then the addon is wrong and the talent % healing should applied to both base and sp (but not visible from blizz tooltip).
I wouldn't worry too much about +/- 1 errors for integers in tooltips as they are just rounded for readability. The calculation is done in floating point numbers. A better test is probably seeing if the healing expectation number matches but this requires many samples :)

I believe the issues with Blessing of Light are fixed now in the new update but I don't have a way to verify it.

Cool, thanks! I'll check it out sometime this week.


Add ability to style Modal

🚀 Feature Proposal
The Modal component needs to be able to be styled using className and style.

Just took a look at Bootstraps docs and the Modal code -- fairly certain I could handle this!

@kevinhaube Yes, thank you!

I'll take a shot at this!


kw24d remove nanostack-event-loop size def

@artokin
Didn't work with 2kb, now back to default 6kb.

Should we change the documentation?-> "nanostack-hal.event_loop_thread_stack_size": 2048

07:11:50 [UBLOX_EVK_ODIN_W2 IAR ATMEL 6lp] [ERROR] Error[Ms003]: could not open file "out/UBLOX_EVK_ODIN_W2_IAR_ATMEL_6lp/mbed-os\features\FEATURE_LWIP\lwip-interface\lwip-eth\arch\TARGET_STM\TARGET_STM32F4\TARGET_UBLOX_EVK_ODIN_W2\stm32f4_eth_conf.s.txt" for writing

How can this be relevant? Or is this just some Windows thing?

Outdated.. closing.


Added the ability to load config from the user's home directory

This changes the way that config loading works, so that in addition to
checking in the current directory for a config file, scss-lint will also
check in the user's home directory, and load .scss-lint.yml from there
instead if it exists.
This changes the precedence of config loading to:

Command line argument
.scss-lint.yml in current directory
.scss-lint.yml in home directory
Config file packaged in the gem

In all cases only the config file loaded is used - config from multiple
files is not merged together.
Fixes #436

Thanks for the pull request, @iainbeeston!
Merged in 006a272.


Feature Request: EGDS support

Title: EGDS support
Description:
The current method of updating endpoints in a cluster through EDS is fine when the cluster size is relatively small, but when the cluster size is huge, suppose we have a 10000+ endpoints, and even a small amount of endpoints get changed it causes a full EDS push. Eventually this leads to a performance issue on Envoy and Pilot.
To fix this issue, Pilot (#19287) and the Envoy (#8400) community have initiated discussions and proposed to introduced into EGDS (Endpoint Group Discovery Service) protocol.
We are very happy to participate in the development of EGDS, a draft design document is available at below link. https://docs.google.com/document/d/1FFcK4eCndr0w2zt-5FLYd8hvVRL99zwJO13it6ng3lk/edit?usp=sharing
Thanks for your review and comments.
[optional Relevant Links:]
The design file for EGDS in Pilot is here.

Per discussion closing in favor of https://github.com/envoyproxy/envoy/issues/10373


Unable to run the EventHubs Kafka sample

Expected Behavior
EventHub Kafka sample works when run after following instructions in README
Current Behavior
Compilation issues seen when running mvn clean package
Possible Solution
Adding correct dependencies in pom.xml file
Steps to Reproduce (for bugs)

Follow README.md instructions

Branch

master

Your Environment

Version used: Apache Maven 3.6.1 Java version 11
Operating System and version (desktop or mobile): "windows 10", version: "10.0", arch: "amd64"

Thanks for reaching out. Could you please offer more details, such as which version your project is targeted on, the compilation error?

@saragluna - Sorry I did not keep a track of the compilation error as I worked towards fixing it and have submitted a PR #604
The project was targeted to use Apache Maven 3.6.1 Java version 11

I closed the PR because it tries to specify a fixed version, however, we keep upgrading the version whenever we make a release. I think we could try run mvn clean package from https://github.com/microsoft/spring-cloud-azure/tree/master/spring-cloud-azure-samples this folder to see whether it could solve the compilation issue.

Closing this issue.


Betflip as gamble option

[ ] Create command and add to gamble group
[ ] Randomize head and genrate embed
[ ] Perform checks and edit value in database

Preview of embed:

Preview of the final feature:


bump deps, move from ts to js

Codecov Report

Merging #134 (fbe84bf) into main (a06827d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #134   +/-   ##
=======================================
  Coverage   69.76%   69.76%
=======================================
  Files           6        6
  Lines          86       86
  Branches       12       12
=======================================
  Hits           60       60
  Misses         23       23
  Partials        3        3

Continue to review full report at Codecov.

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