Test helper `login_user' not found in spec (sorcery 0.8.6/rspec_rails 3.0.1)

Hello,
I recently upgraded to sorcery 0.8.6 and rspec_rails 3.0.1
I am now getting "undefined local variable or method `login_user'" errors when running tests.
I added the rails test helpers in spec_helpers.rb as described in the readme:
RSpec.configure do |config|
  config.include Sorcery::TestHelpers::Rails::Controller, type: [:controller]
  config.include Sorcery::TestHelpers::Rails::Integration, type: [:feature]
end

My controller spec looks like:
require 'spec_helper'

describe OrdersController, :type => :controller do

  let(:valid_session) { {"warden.user.user.key" => session["warden.user.user.key"]} }

  before(:each) do
    @user = create(:user)
    login_user
  end

  describe "GET show" do
  end

end

This is the error I'm getting:
28) OrdersController GET show assigns the requested order as @order
    Failure/Error: login_user
    NameError:
    undefined local variable or method `login_user' for #<RSpec::ExampleGroups::OrdersController::GETShow:0x000000070d9a38>
    # ./spec/controllers/orders_controller_spec.rb:12:in `block (2 levels) in <top (required)>'

Am I missing something?
Thank you for looking into this!

@arnvald I have the same problem as @tquackenbush.
I will add here my details so i won't open a new issue.
My spec_helper.rb
require 'factory_girl'

require_relative '../spec/factories/blog.rb'
require_relative '../spec/factories/user.rb'
require_relative '../spec/factories/category.rb'

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods
  config.include Sorcery::TestHelpers::Rails::Controller, type: :controller
  config.include Sorcery::TestHelpers::Rails::Integration, type: :feature
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

end

my rails_helper.rb
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)

abort("The Rails environment is running in production mode!") if Rails.env.production?
require 'spec_helper'
require 'rspec/rails'

RSpec.configure do |config|
  config.infer_spec_type_from_file_location!

  config.fixture_path = "#{::Rails.root}/spec/fixtures"
  config.use_transactional_fixtures = true
end

the error i get
Running: spec
/home/user/work/project_name/spec/spec_helper.rb:9:in `block in <top (required)>': uninitialized constant Sorcery::TestHelpers::Rails::Controller (NameError)

My work environment:
Rails 3.2, Ruby 1.9.3, rspec - rails 3.3, sorcery 0.8.2

@mugur-chirica your version of Sorcery is old. Integration test helpers were introduced in 0.8.5, before there were only controller test helpers, and you could include them like this: include ::Sorcery::TestHelpers::Rails

Even after adding config.include Sorcery::TestHelpers::Rails , i still get the undefined method `auto_login' error.
This is the version for our site, and i can't update it for now.
Is it difficult to update from 0.8.2  to 0.9?

Of course in depends on how you use Sorcery, but it should be fairly easy. Please check Changelog file and upgrading section in readme. It might be that you'll have to change only one line in config (user.username_attribute_name to user.username_attribute_names), but it might be a bit more to change as well.


Dockerfile assumes an already built application exists locally.

The Dockerfile seems to assume that the API has been built locally before the docker image can be created. This not how it is designed to work. Ideally, there should be a NuGet.config file that is copied into the Dockerfile and a multi-stage Dockerfile to build and package the project in a runnable layer.

This is a great example of how to do it correctly. https://github.com/dotnet/dotnet-docker/blob/master/documentation/scenarios/nuget-credentials.md


Don`t work with @pytest_asyncio.fixture

If i use any other name instead @pytest.fixture, extension will not work.
Fix it, please. <3
Maybe, make sense to add list with available names in setting.json. Because we have some extension like lazy_fixture etc.

That makes sense, I added an extra setting for additional decorators in 0.2.7


⚠ CodePush has degraded performance

In 9d3d441, CodePush (https://codepush.appcenter.ms/v0.1/public/codepush/update_check?deployment_key=Fzqu71x4FXhOaKcAiwpqXkFQddjgYl2dIUW2K&app_version=4.4.1) experienced degraded performance:

HTTP code: 200
Response time: 18338 ms

Resolved: CodePush performance has improved in 7cdaffa.


Camera transforms through bevy_egui reverted when PanOrbitCamera regains control

I am attempting to use a bevy_egui window to explicitly set my camera position.  The camera positions update with changes made within the bevy_egui window, but once the PanOrbitCamera makes a change, the camera transform reverts back to the position and rotation it had when bevy_egui got focus.
https://github.com/user-attachments/assets/839480be-ac7b-40d8-8809-0a561cca2362

Hi there. This is expected behaviour. bevy_panorbit_camera has its own state that describes the camera transform (radius, yaw, and pitch). If you change the camera transform directly, then those changes will be overridden the next time bevy_panorbit_camera updates it.
In other words, this plugin 'takes over' the camera transform. If you want to programmatically alter it, you have to modify the plugin state, rather than the transform itself.
That said, there might be a solution. If you set PanOrbitCamera.initialized to false whenever you update the transform directly, then the plugin should recalculate its state based on the new transform. Give that a try and let me know if it works.

@Plonq I tried setting PanOrbitCamera.initialized = false directly before and/or directly after changing the camera transform, but this resulted in my bevy_egui interface being unresponsive.  After some trial and error, it seems like I may have to apply the translation deltas to PanOrbitCamera::target_focus.

Hmm, PanOrbitCamera probably interferes with the egui stuff on initialisation.
Another idea is to modify focus, radius, yaw, and pitch directly, but calculate them based on a transform. For example, this function calculates radius, yaw, and pitch based on a given translation and focus. It's not public but you could copy paste it.

Hmm, PanOrbitCamera probably interferes with the egui stuff on initialisation.
Another idea is to modify focus, radius, yaw, and pitch directly, but calculate them based on a transform. For example, this function calculates radius, yaw, and pitch based on a given translation and focus. It's not public but you could copy paste it.

This is fantastic.  I was just headed down that road, so thank you for saving me the effort!  I'll report back after I integrate this and do some testing.

@Plonq modifying the focus, radius, yaw and pitch directly worked well with the aid of the linked function.  Thank you for your help!

Glad you found a solution


Perl scripts aren't included in pip-installed packages

It appears that nebmake.pl and trans.pl are not appearing in the correct place, so that when the package is installed using pip, the existing automator code fails because it cannot find the particular files to add to the tarball.

Modified setuptools accordingly; now seems to be working.


Closes #28 | Add SEA Wiki loader

Closes #28
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py.
[] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

Another test-cases that went successful of load_dataset method with various config names. This py script is placed at base dir of this repo
import json
from itertools import product

import datasets
from datasets import load_dataset

def unit_tests_seawiki_load_dset(dset: datasets.Dataset | datasets.DatasetDict):
  if isinstance(dset, datasets.DatasetDict):
    if len(dset.keys()) != 1:
      raise AssertionError("Unexpected #keys!")
    if list(dset.keys()) != ["train"]:
      raise AssertionError("Unexpected keys name!")

    dset = dset["train"]

  if dset.num_rows <= 0:
    raise AssertionError("The number of datasets isn't expected!")

if __name__ == "__main__":
  default_config_templates = ["sea_wiki_source", "sea_wiki_seacrowd", "sea_wiki_source_ssp", "sea_wiki_source_t2t", "sea_wiki_seacrowd_ssp", "sea_wiki_seacrowd_t2t"]
  for default_config in default_config_templates:
    print(f"Running `load_dataset` for default config {default_config}")
    dset = load_dataset(
      "/Users/salsabil.akbar/Documents/seacrowd-datahub-sabil-clone/seacrowd/sea_datasets/sea_wiki/sea_wiki.py",
      default_config
    )
    unit_tests_seawiki_load_dset(dset)

  with open("seacrowd/sea_datasets/sea_wiki/lang_config.json", "r") as f:
    langs = list(json.load(f).keys())

  config_templates = ["sea_wiki_source_{lang}_ssp", "sea_wiki_source_{lang}_t2t", "sea_wiki_seacrowd_{lang}_ssp", "sea_wiki_seacrowd_{lang}_t2t"]

  for _config, lang in product(config_templates, langs):
    config = _config.format(lang=lang)
    print(f"Running `load_dataset` for config {config} and lang {lang}")
    load_dataset(
      "/Users/salsabil.akbar/Documents/seacrowd-datahub-sabil-clone/seacrowd/sea_datasets/sea_wiki/sea_wiki.py",
      config
    )
    unit_tests_seawiki_load_dset(dset)

Thanks for the review, @holylovenia. Made the changes based on ur suggestion

Hi @sabilmakbar, thanks for the PR. I've ran the unittests and the dataloader. The implementations work as intended.
I have a couple questions/comments:

Is there a documentation of what the config names are for this PR? For instance, what does "sea_wiki_seacrowd" refer to? Is it expected that it has fewer data instances than "sea_wiki_seacrowd_sun_t2t" (what does the sun_t2t refer to?) How is sea_wiki_source_* different from sea_wiki_seacrowd?
I also notice that the current dataloader is used differently than https://huggingface.co/datasets/sabilmakbar/sea_wiki (where the latter supports passing in the keyword argument lang). Since the dataloader development for this project doesn't require the support for keyword argument, @holylovenia I suppose this is expected right? I'm asking because I am thinking how users from HF can immediately use our dataloaders without much changes, unless I've missed certain decisions on how to enable HF users to get on board with our dataloaders here.

Thanks for the thoughtful review, @yongzx!
Maybe I'll answer all of your inquiries in one go, not for each inquiry, as I find those are quite inter-lapped (please bear with me for a while :D)
This SEACrowd dataloader intends to centralize and index the datasets across SEA NLP datasets, and because it can have various tasks covered and even different datasets with the same task can have different schema, SEACrowd allows the dataloader implementation to have 2 different config types, namely source and seacrowd. The source type allows the intended user of SEACrowd Dataloader to load the data as its original schema, whereas the seacrowd schema has to follow the unified schema for each task that this dataset intends for.
Specifically, for this task, since the submission for this Dataloader hints that this dataset can be used for 2 different tasks (Semi-Supervised Pretrained and Summarization/Abstraction, you may find the if-else cases in different methods throughout this dataloader (_info(), _generate_examples(), and _split_generators()
Related to the flag of ssp and t2t refers to, you may check seacrowd/utils/constants.py folder and digest its config to understand it wholly. But the short explanation is, that ssp and t2t refer to the config names suffixes that should be implemented (bcs it's being tested in test-suites after this dataloader script has been written). It refers to SEACrowd config suffixes for Self-Supervised Pretraining Task (SSP Schema) and for Summarization Task (T2T Schema), respectively.
Related to your 2nd qns about passing additional kwargs, you're right. Since this uses SEACrowdConfig from seacrowd/utils/configs.py, it doesn't support any additional kwargs (yet), since it might add some complexity to it. Hence the loader implementation is a bit different from what you see in the HF Source Repo.
For the last one, since this dataset is quite massive in size if it's being loaded for all available languages, my intention or design for the default schema of sea_wiki_seacrowd_t2t is to get the samples and a glimpse of how the data looks like, hence just choosing one local language rather than a national lang or all languages loaded (in SEA, most of the folks doesn't have excellent computing powers, both in Memory and Storage). Fortunately, the first arg in lang_config.json is a local lang of ace (Acehnese), hence implicitly, running the config of sea_wiki_seacrowd_ace_t2t will yield the same result to sea_wiki_ace_seacrowd_t2t. Also, if no specific task is being provided in its config name (like running sea_wiki_source), it will choose Summarization as the default task (L91) of the code.
Hope it answers all of your questions, and I'll be more than happy to discuss further!

@sabilmakbar Thanks for the explanations and it helps immensely. I've changed the review status to approved.

Appreciate it, @yongzx!
btw, @holylovenia or @yongzx , if you're going to merge this, would that be okay to choose squash and merge to the master branch instead of create a merge commit to keep the history on master branch rather clean?
also, for this PR it shd be you two that do the merge action rather than me bcs both of you are the reviewers 😄

btw do you think we shd add the more detailed comments on several parts of the dataloader that you mentioned to give more clarity, @yongzx ?
Since Holy didn't asked for this due to her familiarity of the core codebase 😆 and I think having you as the reviewer gives a better perspective regarding the clarity on this dataloader script

one more, do you think we shd add the more detailed comments on several parts of the dataloader that you mentioned to give more clarity, @yongzx ?
Since Holy didn't asked for this due to her familiarity of the core codebase 😆 and I think having you as the reviewer gives a better perspective regarding the clarity on this dataloader script

In my experience, users wouldn't check the dataloader unless the documentation on the intended/unintended behaviors is unclear. So originally how I tested this (and I assume new users as well) was to run the dataset loader script without any config, and see what config this dataset loader support, and whether I can understand what the config refers to. What I did was to refer to the task_schemas.md to understand the abbreviations. I could find t2t there but not ssp. We probably need an update there. source vs seacrowd distinction was something I've picked up on after checking your code and also the design of the custom schema for a question I had before: why text_1 text_2 instead of document title?
All in all, I think the current dataloader script is good; hence ignore my comments about ssp and t2t as well as source/seacrowd. We perhaps need a succinct centralized one-stop documentation to point users to docs that easily allows user to make sense of the data. E.g., going to seacrowd/utils/constants.py is less user-friendly than having them on task_schemas.md. E.g., FAQ to answer the difference between source and seacrowd.
However, this isn't the most urgent matter – it's something we need to keep in mind later on the user-centric design of our repo. What do you think @sabilmakbar @holylovenia ?

In my experience, users wouldn't check the dataloader unless the documentation on the intended/unintended behaviors is unclear. So originally how I tested this (and I assume new users as well) was to run the dataset loader script without any config, and see what config this dataset loader support, and whether I can understand what the config refers to. What I did was to refer to the task_schemas.md to understand the abbreviations. I could find t2t there but not ssp. We probably need an update there. source vs seacrowd distinction was something I've picked up on after checking your code and also the design of the custom schema for a question I had before: why text_1 text_2 instead of document title?
All in all, I think the current dataloader script is good; hence ignore my comments about ssp and t2t as well as source/seacrowd. We perhaps need a succinct centralized one-stop documentation to point users to docs that easily allows user to make sense of the data. E.g., going to seacrowd/utils/constants.py is less user-friendly than having them on task_schemas.md. E.g., FAQ to answer the difference between source and seacrowd.
However, this isn't the most urgent matter – it's something we need to keep in mind later on the user-centric design of our repo. What do you think @sabilmakbar @holylovenia ?

I think that's perfectly articulated regarding the ideal user-centric repo, except for the last point regarding the urgency on this. With a lot of submissions coming up (and prob a lot of dataloader implementations), I think this should be the main focus of the maintainers (us), on giving a clear & concise guideline regarding task definitions, allowed/compulsory configs, review checklists, and similar nitty-gritty kinds of stuff that enable us to raise the standards of code and its understanding across the users (not just Dataloader contributors, but also end-users who want to simply load the data from this data catalog).

@yongzx @sabilmakbar Yes, it's definitely our intention to make the documentation as clear, up-to-date, and user-centric as possible. I think we'll need to clean up (especially the older documentations) and sort out the examples & definitions, the sooner the better. That being said, all available hands are being put on the datasheet & dataloader reviewing for now. Let's put your suggestions on the backlog so we can come back to it and work on it once we can.


SHA3_squeeze causes segmentation fault on some platforms

While trying to add support for variable output lengths for shake128 and shake256 to Node.js, I noticed a number of segmentation faults on some of our CI platforms such as s390x. We are using OpenSSL 1.1.c.
One test case calls EVP_DigestFinalXOF with a requested output size of zero bytes. I expected OpenSSL not to write to the supplied buffer in this case, and that is true on some platforms. On other platforms such as s390x, SHA3_squeeze accesses the buffer, causing a segmentation fault since the buffer is NULL.
It is possible that other inputs are affected as well, even though I was not able to produce any segmentation faults for inputs other than 0.
Arguably, calling EVP_DigestFinalXOF with an output size of 0 bytes makes little sense, but it still should not cause a segmentation fault in my opinion. The C implementation of SHA3_squeeze seems to handle this case nicely.

Ping @p-steuer.
Is it only s390x, or are there are platforms impacted?

The following platforms appear to be impacted:

s390x
Raspberry Pi 2, Raspberry Pi 3
ppc64
armv7
ppcle

There might be other affected platforms that we are not testing against.

Im working on a fix (that is, match sha3_squeeze asm implementations to the reference implementation), but may need help to verify the fix for architectures i have no access.

should be firxed by a890ef8 (master) resp. 6087d4a (1.1.1).
please verify.

I can confirm that this fixes the problem for output lengths of zero bytes, I have never been able to produce segfaults using other sizes.


GDPR consent string into AMP RTC vendor callouts

We've been working with Mountain View on some changes to amp-consent to allow us to check/store/pass consent status and consent string into RTC callouts all at runtime.
Please see this ticket for reference of the Google work:
https://github.com/ampproject/amphtml/issues/22197
From how I understand it the vendor configuration is controlled by the vendors themselves, thus some work is needed to be able to include this information where possible in vendors prebidAppnexus and prebidRubicon?
Please note that the ETA of these macros for PROD is ~late May.
Happy to facilitate a meeting/call with Google AMP team if necessary.

@dbemiller @hhhjort
Previously worked with you guys on Prebid server in AMP so thought you may be the best people to make aware of this.
Cheers

Thanks for the heads up.

Morning @hhhjort,
The Google components are now merged into the master AMP theme:
https://github.com/ampproject/amphtml/pull/22299
We've got the updated amp-consent component on a test server now and planning to move out of experiment mode with Google by 06/04/19.
Do you have any updates on the ETA for the Prebid vendors or have any questions on the work required?
Cheers,
Adam

Hello,
We're now successfully passing the consent_string to Prebid server via a custom_URL integration using the web documentation to pass the fields as we think they're expected by Prebid server, however our discussions with our exchanges shows these fields are not making it into the bid requests.
We are assuming that some work is needed to fix this.
Sample page: https://www.google.com/amp/s/metro.co.uk/2019/06/27/love-islands-lucie-donlan-doubles-tommy-fury-friendship-islanders-call-behaviour-10080741/amp/
Sample RTC callout:
https://prebid.adnxs.com/pbs/v1/openrtb2/amp?tag_id=11160550&w=320&h=50&ow=&oh=&ms=&slot=%2F5765%2FMetro%2FMetro.co.uk%2Fprod%2Fentertainment%2Famp-ad-sticky&targeting={"article"%3A10080741%2C"rtc"%3A1}&curl=https%3A%2F%2Fmetro.co.uk%2F2019%2F06%2F27%2Flove-islands-lucie-donlan-doubles-tommy-fury-friendship-islanders-call-behaviour-10080741%2F&timeout=1000&adcid=ODpsb7RRq9rWvYtxaz9oZcxTXvrwRHwdYP-h1468WlZRvzw6KOXxJRhQR7R-CCQ3&purl=https%3A%2F%2Fmetro-co-uk.cdn.ampproject.org%2Fv%2Fs%2Fmetro.co.uk%2F2019%2F06%2F27%2Flove-islands-lucie-donlan-doubles-tommy-fury-friendship-islanders-call-behaviour-10080741%2Famp%2F%3Famp_js_v%3D0.1%26usqp%3Dmq331AQFKAGgAQo%253D%23origin%3Dhttps%253A%252F%252Fwww.google.com%26prerenderSize%3D1%26visibilityState%3Dvisible%26paddingTop%3D32%26p2r%3D0%26horizontalScrolling%3D0%26csi%3D1%26aoh%3D15616543144718%26viewerUrl%3Dhttps%253A%252F%252Fwww.google.com%252Famp%252Fs%252Fmetro.co.uk%252F2019%252F06%252F27%252Flove-islands-lucie-donlan-doubles-tommy-fury-friendship-islanders-call-behaviour-10080741%252Famp%252F%26history%3D1%26storage%3D1%26cid%3D1%26cap%3DnavigateTo%252Ccid%252CfullReplaceHistory%252Cfragment%252CreplaceUrl&gdpr_consent=BOa71ZYOa71ZYAbABBENA8-AAAAbN7_______9______9uz_Gv_r_f__33e8_39v_h_7_-___m_-3zV4-_lvR11yPA1OrfIrwFhiAw&__amp_source_origin=https%3A%2F%2Fmetro.co.uk

Sorry, the consent string support for the AMP endpoint hasn't been implemented in go Prebid Sever yet. It is at the top of the list for our team so hopefully we can get it in soon.


load and parse 3dtiles error

I have printed some logs in TilesetJsonLoader.cpp/parseExternalTilesetInWorkerThread method, and I found some strange things, codes like below:
const auto& tileUrl = pCompletedRequest->url(); std::cout << "tileUrl = " << tileUrl << std::endl;
the print message is below:
[2024-01-07 14:02:59.372] [error] [TilesetJsonLoader.cpp:698] Error when parsing tileset JSON, error code 1 at byte offset 0
tileUrl = xxxxx/Tile_+010_+011_L18_000.b3dm:0
In my opinion, there shouldn't be b3dm files here, they should all be JSON files. So i am confusing about that, but i do not know what's the problem??
by the way, my 3dtiles file is local.

That does seem odd, but it depends on your tileset. cesium-native doesn't identify a b3dm by file extension, it identifies it by content. So if the b3dm is corrupt (or compressed, perhaps?) and doesn't have the expected four identifying bytes at the start (b3dm), then it won't be identified as a b3dm. External tileset is kind of the fallback when the file doesn't appear to be anything else.

@arvrschool are you still experiencing trouble with this issue? If not, or if this thread doesn't get an update, we'll close it.

Nope. But I will check the data refer to CesiumforUnity3d.


[DDW-1022] Use rc version of ledgerjs

This PR introduces the new version of @cardano-foundation/ledgerjs-hw-app-cardano installed from file
Todos

[ ] TODO

Screenshots

Testing Checklist

Slack QA thread
[ ] Test

Review Checklist
Basics

[ ] PR assigned to the PR author(s)
[ ] input-output-hk/daedalus-dev and input-output-hk/daedalus-qa assigned as PR reviewers
[ ] If there are UI changes, Alexander Rukin assigned as an additional reviewer
[ ] All visual regression testing has been reviewed (assign run Chromatic label to PR to trigger the run)
[ ] PR has appropriate labels (release-vNext, feature/bug/chore, WIP)
[ ] PR link is added to a Jira ticket, ticket moved to In Review
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes
[ ] PR contains screenshots (in case of UI changes)
[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with typescript types
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Update Slack QA thread by marking it with a green checkmark

Hi @szymonmaslowski. Here are 2 scenarios that are broken for both Ledger S and X. If the user initiates any transaction with the device physically disconnected and then connects the device when Daedalus asks to is resulting in "Transaction Confirmation failed error". See Screenshot. That same console error message also pops up during succesfull transactions so im not sure how useful it ill be for debugging
Scenario 2. Plugin Ledger Device.Unlock it(But don't enter cardano app).Open Daedalus. Attempt to make a transaction. Device gets left stuck at message Connect the "Ledger Nano S device" and enter your pin to unlock it message. See Screenshot


I encountered some errors despite following your documentation, such as these errors.

When adding true to AclManager, this issue disappears, but I can't utilize any of the library's features, as shown in the following image.

Hi @MrAhmedElkady
Seems that you forget to use await

const user  = await User.first()

let me know  if it fixes the issue

Yes, it is now working, but another error appears as shown in the picture... What is the reason for that?

@MrAhmedElkady can you copy past the code here?
middleware handle method, routing line and the controller method

As you can see, I was trying to create a sample code to test if the library works and if it meets the requirements.
user model:
`import { DateTime } from 'luxon'
import hash from '@adonisjs/core/services/hash'
import { compose } from '@adonisjs/core/helpers'
import { BaseModel, column } from '@adonisjs/lucid/orm'
import { withAuthFinder } from '@adonisjs/auth/mixins/lucid'
import { AclModelInterface } from '@holoyan/adonisjs-permissions/types'
import { hasPermissions } from '@holoyan/adonisjs-permissions'
import { MorphMap } from '@holoyan/adonisjs-permissions'
const AuthFinder = withAuthFinder(() => hash.use('scrypt'), {
uids: ['email'],
passwordColumnName: 'password',
})
@MorphMap('users')
export default class User extends compose(BaseModel, hasPermissions(), AuthFinder) implements AclModelInterface {
getModelId(): number {
return this.id
}
@column({ isPrimary: true })
declare id: number
@column()
declare fullName: string | null
@column()
declare email: string
@column({ serializeAs: null })
declare password: string
@column.dateTime({ autoCreate: true })
declare createdAt: DateTime
@column.dateTime({ autoCreate: true, autoUpdate: true })
declare updatedAt: DateTime | null
}middleware:import type { HttpContext } from '@adonisjs/core/http'
import type { NextFn } from '@adonisjs/core/types/http'
import { AclManager, Scope } from '@holoyan/adonisjs-permissions'
declare module '@adonisjs/core/http' {
export interface HttpContext {
acl: AclManager
}
}
export default class UserScopeMiddleware {
//@ts-ignore
async handle(ctx: HttpContext, next: NextFn) {
const scope = new Scope()
ctx.acl = new AclManager(true).scope(scope)
/**
* Call next method in the pipeline and return its output
*/
const output = await next()
return output
}
}`
route:
router.group(() => {     router.get('AddRole', [UsersController, 'create']).as("testRole") })
controlller:
`  async create({ acl }: HttpContext) {
const user = await User.first()
if (user) {
  // acl from the {acl}: HttpContext
  await acl.model(user).assignRole('admin')
}
return user

}`

Hi @MrAhmedElkady ,
thanks you for youe support, just pushed new verions https://github.com/holoyan/adonisjs-permissions/pull/13 , please update to version v0.8.18 and try again. Let me know if it works for you


Use 3DSSD without images

Hello, i have a set of pointclouds and labels, but i don't have any images related to these pointcloud.
Is there a way to ignore calibration or is it required for this algorithm?

I'm in the same situation, and more in general I'd like to understand if there is any way to train 3DSSD with custom data without making substantial modifications to the code.


openstack-ardana-gerrit: custom Gerrit integration testing

Adds the ability to run custom integration testing on
Gerrit changes, in addition to or replacing the default
official Gerrit integration jobs used by the Ardana CI.
The following parameters have been added to the
openstack-ardana-gerrit-cloud[8|9] jobs to support
this:

GERRIT_CHANGE_NUMBER (replaces gerrit_change_ids).
When manually triggered, this parameter must be set
to a valid Gerrit change number value. This parameter
has the advantage that it's also set by Gerrit automatically
when the job is triggered by the Gerrit trigger plugin
(hence the uppercase name).

gerrit_context - a string value that differentiates
between several Gerrit jobs running on the same Gerrit
change. When set, it is included both in the Gerrit build
status reports and the Jenkins build description.

voting - controls whether the Gerrit job posts Verify
label values on the Gerrit change. Non-voting jobs will still
post messages, but will not affect the Verify label value.

integration_test_job - the name of the Ardana job that
will be called to run integration tests on the target Gerrit
change. By making this configurable, the user may now override
the default cloud-ardana[8|9]-job-std-min-gerrit-x86_64 job
previously used by the Ardana CI to test all Gerrit changes.
If left empty, no integration tests will be run.

extra_repos - just like the openstack-ardana parameter,
this one enables the user to use custom zypper repositories
in addition to those implied by the target cloud source.

The other parameters were removed because they are already
encoded into the downstream integration_test_job Ardana Jenkins
jobs.
A number of openstack-ardana variant Jenkins jobs are created,
to be used as integration_test_job alternatives.
This pull request also adds better support for cancelling redundant
Gerrit jobs running against the same Gerrit change (fixes SCRD-5847).

Tested the following use-cases with the openstack-ardana-gerrit-cloud9-snica/ job:

custom voting Gerrit CI job with different integration job
custom, non-voting Gerrit CI job
custom, voting Gerrit CI job with no integration job
recheck triggered job cancels the job previously triggered by Gerrit (SCRD-5847)
recheck triggered job cancels the previous job also triggered by recheck (SCRD-5847)
voting, manually triggered job cancels the previous voting job
manually triggered job, with custom context doesn't cancel the default voting job
manually triggered job, with custom context cancels the previously running job with the same context value
Gerrit triggered job for new patchset aborts all previous jobs running for the same change

@rtamalin I removed the "skip integration testing" use-case completely from the feature, as it didn't really have any practical use that we can't already cover via other means, such as force-merging Gerrit changes or adding Verify+2 labels manually.


When updating the primaryKey, if the previous primaryKey value has already been used for a document, the API returns an index_primary_key_already_exists error -> ASYNC

Not sure we actually want to « fix » this.
It would stop us from autobatching every time there is a pk change :thinking:

I'm not sure to get the relation with auto-batching

Maybe you need to inform @gmourier about this because I'm pretty sure that returning a index_primary_key_already_exists when the pk already exist is an expectation from the specifications.

Yeah, I already told him about it, but he doesn't have the time rn; I guess we'll see next week what we want to do with it.
I don't think it'll be hard to implement whichever solution we choose so it should be ok to do it next week

We can wait for next week, no problem

It has been decided to merge it because, most of the time it shouldn't be an issue

Closed by #3412


Expose return_message in Faraday env

Answering #524: Include the return_message in the Faraday environment when the parallel manager is in active.

This is awesome. Thank you ❤


New members

Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you added your SVG to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~30 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

please do not merge yet

@taylorwaggoner good to go but still waiting on the final approval?

@caniszczyk yes, we're adjusting the logo size for Boeing and then will get their final approval. Moving Coinbase to https://github.com/cncf/landscape/pull/2597

@caniszczyk this is approved by Boeing, please go ahead and merge. thanks!


[Feature] Enable Swift (with SCA) exercises for Jenkins

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I followed the coding and design guidelines.
[x] Server: I added multiple integration tests (Spring) related to the features (with a high test coverage)
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.

Motivation and Context

Until now, creating Swift programming exercises was only possible in a Bamboo/Bitbucket environment. This enables the creation also on Jenkins/Gitlab environments.
Description

A new Jenkins pipeline for Swift was created, which executes the Swift build and test command and for SCA exercises the swiftlint command.
For a local setup of Jenkins/GitLab, a new Dockerfile was created which extends the existing one by installing dependencies for Swift and SwiftLint (SCA).
The existing Dockerfile had a wrong indentation. This is fixed in this PR.
Steps for Testing

NOTE: This PR needs to be tested on the testserver2. As it is a feature for the Jenkins/GitLab environment.

Log in to Artemis
Navigate to Course Administration
Create a Swift programming exercise (With and without SCA enabled)
Verify that the solution repo has a score of 100% (and 0 issues for SCA)
Verify that the template repo has a score of 0% (and issues regarding the TODOS: for SCA)
Verify that submitting is working as expected and SCA exercises are getting SCA feedbacks

Test Coverage

JenkinsBuildPlanCreator.java: 95%
JenkinsProgrammingLanguageFeatureService.java: 100%
JenkinsService.java: 46%

When I test this I'm not able to view the template or solution result of the exercise. It just shows no graded result, even after building.

example exercise: https://artemistest2.ase.in.tum.de/course-management/1439/programming-exercises/2547

When I test this I'm not able to view the template or solution result of the exercise. It just shows no graded result, even after building.

example exercise: https://artemistest2.ase.in.tum.de/course-management/1439/programming-exercises/2547

When I test this I'm not able to view the template or solution result of the exercise. It just shows no graded result, even after building.

example exercise: https://artemistest2.ase.in.tum.de/course-management/1439/programming-exercises/2547

this is strange, because I used this view a lot.
This is what I saw, upon opening your link:

When I test this I'm not able to view the template or solution result of the exercise. It just shows no graded result, even after building.

example exercise: https://artemistest2.ase.in.tum.de/course-management/1439/programming-exercises/2547

this is strange, because I used this view a lot.
This is what I saw, upon opening your link:

Could not test on ts2, because we couldn't update the repositories.

do you have any network or console outputs? This could help me in identifying the problems.

Could not test on ts2, because we couldn't update the repositories.

do you have any network or console outputs? This could help me in identifying the problems.

Could not test on ts2, because we couldn't update the repositories.

do you have any network or console outputs? This could help me in identifying the problems.

Unfortunately, I cannot find anything in the console or network output (no errors), but You can take a look at Valeryia's Course, Exercies MitSCASwift and SwiftNoSCA. You can observe the error right away and if you try to refresh the repositories, after that you will get the same error again.

Could not test on ts2, because we couldn't update the repositories.

do you have any network or console outputs? This could help me in identifying the problems.

Unfortunately, I cannot find anything in the console or network output (no errors), but You can take a look at Valeryia's Course, Exercies MitSCASwift and SwiftNoSCA. You can observe the error right away and if you try to refresh the repositories, after that you will get the same error again.

@derLalla what is the status here? Could you find out why there are so many issues on TS2? Are those resolved now?

@derLalla what is the status here? Could you find out why there are so many issues on TS2? Are those resolved now?

Did not receive a result for my submission. Need to verify this again later.

damn, i forgot to remove a redundant escape character.. I did it only locally though..

Did not receive a result for my submission. Need to verify this again later.

damn, i forgot to remove a redundant escape character.. I did it only locally though..

Could not test on ts2, because we couldn't update the repositories.

do you have any network or console outputs? This could help me in identifying the problems.

Unfortunately, I cannot find anything in the console or network output (no errors), but You can take a look at Valeryia's Course, Exercies MitSCASwift and SwiftNoSCA. You can observe the error right away and if you try to refresh the repositories, after that you will get the same error again.

it seems that your Course has some issues. I tried to create a new programming exercise, but it failed with an ISE.
I had some issues as well, accessing my build plan and respository, but after creating a new course, and adding my account to the student/tutor/instructor group it worked again.

Could not test on ts2, because we couldn't update the repositories.

do you have any network or console outputs? This could help me in identifying the problems.

Unfortunately, I cannot find anything in the console or network output (no errors), but You can take a look at Valeryia's Course, Exercies MitSCASwift and SwiftNoSCA. You can observe the error right away and if you try to refresh the repositories, after that you will get the same error again.

it seems that your Course has some issues. I tried to create a new programming exercise, but it failed with an ISE.
I had some issues as well, accessing my build plan and respository, but after creating a new course, and adding my account to the student/tutor/instructor group it worked again.

@derLalla what is the status here? Could you find out why there are so many issues on TS2? Are those resolved now?

I have resolved the causing issue and have notified the testers to re-evaluate.

@derLalla what is the status here? Could you find out why there are so many issues on TS2? Are those resolved now?

I have resolved the causing issue and have notified the testers to re-evaluate.

Did not receive a result for my submission. Need to verify this again later.

I've forgot to change the buildplan and forgot to remove the redundant escape character... it is now working :)

Did not receive a result for my submission. Need to verify this again later.

I've forgot to change the buildplan and forgot to remove the redundant escape character... it is now working :)


feat(player): add audio channels settings

As the title suggests, this PR adds a setting that allows users to change what audio channels the player should use.
currently there are only for options: Auto, Mono, Stereo and Reverse Stereo.
can be changed through Settings -> Player -> Audio channels
like so

In the settings
in the player settings sheet

this really is the feature i couldn't live without, i was only using my Nintendo® Wii™ to watch anime until now, txh abdallah


CLI commands for AZ SQL server IPv6 firewall rule

Related command

Description
Add Azure CLI cmdlets for IPv6 Firewall Rules
Testing Guide
az sql server ipv6-firewall-rule create -n firewallrulename -g mygroup -s myserver --start-ipv6-address startip --end-ipv6-address endip

 az sql server ipv6-firewall-rule show -n firewallrulename -g mygroup -s myserver

 az sql server ipv6-firewall-rule show --id resourceid

 az sql server ipv6-firewall-rule list -g mygroup -s myserver

az sql server ipv6-firewall-rule update -n firewallrulename -g mygroup -s myserver --start-ipv6-address startip --end-ipv6-address endip

 az sql server ipv6-firewall-rule update --id resourceid

 az sql server ipv6-firewall-rule delete -n firewallrulename -g mygroup -s myserver

History Notes
[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[✓] The PR title and description has followed the guideline in Submitting Pull Requests.

[✓] I adhere to the Command Guidelines.

[✓] I adhere to the Error Handling Guidelines.

SQL


How can I make it work on Ionic / IOS?

Hello,
I'm using Ionic for an IOS app.
I installed the plugin, I can rotate my app but I would like to lock the rotation on certain views (like the Login view).
The following code gives me the error "undefined is not a function"
myApp.controller('LoginCtrl', function($scope) {
screen.lockOrientation('portrait');
});
I tried to place the code inside
icMobileApp.run(function($ionicPlatform, $window, $rootScope) {
$ionicPlatform.ready(function() {
screen.lockOrientation('portrait');
});
});
but it isn't working.
Please help.
Thank you!

Have you tried inside deviceready?

Yes, this is what I was explaining with
icMobileApp.run(function($ionicPlatform, $window, $rootScope) {
$ionicPlatform.ready(function() {
screen.lockOrientation('portrait');
});
});

I was able to make it work with
window.screen.lockOrientation('portrait');
thanks for the plugin!


How to update the config of an existing Scrubbable()?

Hi, how to update an existing Scrubbable dynamically? without adding new listeners to the same input element? for example, width = 28 by default, but I want the width to be "full" when the "alt(⌥)" modifier key is pressed; step = 1 by default, but step = 8 when the  "shift⇧" modifier key is pressed
Or is there a way to simply reset or delete an existing Scrubbable so I can replace it with a new one with different config?

Thank you for opening an issue. Glad someone uses my code :D
You can change any value by using the object returned by Scrubbable function. Here's an example
// use the returned object to change any value
const input_scrub = Scrubbable(input);

function onKey(e) {
    const isKeyDown = e.type == "keydown";

    input_scrub.width = e.altKey && isKeyDown ? input.offsetWidth : 8;

    input_scrub.step = e.shiftKey && isKeyDown ? 8 : 1;
}

window.addEventListener("keydown", onKey);
window.addEventListener("keyup", onKey);

If you want to delete an existing Scrubbable you could use .destroy method
There's no currently way to add custom logic before scrubbing(e.g. enable scrubbing only on shiftKey) but we may add that as onBeforeScrub hook function in the feature! Feel free to open PR to implement this

Wow! Thank you sooo much for the detailed reply good sir, Scrubbable library has been my go-to npm lib for any numeric input fields, I can't express enough of my gratitude ❤ Great work!


Improve the build system

This makes a few notable improvements to the build system:

If the blst submodule has been updated, it will re-build & copy files.
Do not build object files individually. The build prints won't show now.

I kind of liked this though, because it ensured imports were correct.

Add prints for each rule, so the developer knows what's going on.
Also, fix build for profiler (it was using too much stack).
Also, build blst in the Java bindings. If the library didn't exist, it would error.

Should be non-controversial. George said it worked for him last week. Going to merge.


Change command manifest names

In order to reduce ambiguity, we should rename the command dependency declarations.
We agreed that we would use command.json for the commands' manifests.

All done, ported everything on eeb937e97944c076468975b19d8c1d908a8dcda3


sdk support alienswap orderkind

Since https://github.com/reservoirprotocol/indexer/pull/4094 was merged, we have a new alienswap orderKind now, it's good to also update the sdk to support it.
I changed listToken, placeBid, acceptOffer

Hi, we regenerated the types recently so they'll be available in the next released version. Thanks!


Update repo URI

@ianalderman -- Thanks; just switched to public. Please let me know if you see any issues.


how to pass my form name to formValueSelector when use form props to pass name for form component

items.map((data)=>{
  return(
<CreateYourOwnPackageProductItemForm form={`CreateYourOwnPackageProductItemForm${data.uid}`}
                                               onSubmit={this.onSubmit}
                                               initialValues={data}
                                               test={this.test}
          />
);
})

im use Multirecord Form version 6,im want connect to values in my form component,according to documents we should pass the name to formValueSelector function...
 formValueSelector('*****FORM NAME****')
and i dont know my forms names...how to handle this?

export default reduxForm({
  form: 'YOUR_FORM_NAME_HERE',
  validate
})(CreateYourOwnPackageProductItemForm)

@kinyat :|

something like
const formName = `MyForm${data.uid}`
<YourForm form={formName} formName={formName} />

would give you formName in your form component.
you could also wrap that functionality in your classes' export:
const Form = reduxForm({...})(CreateYourOwnPackageProductItemForm)
export default props => <Form {...props} formName={props.form}>{props.children}</Form>

(in the realm of quick workarounds that might help you...)
I think parts of that information might also be on the _reduxForm in context

oh actually - lol -- I forgot it just passes along that prop as form anyway, so you can use that

@alirezavalizade to be fair, formValueSelector is just another thunk, meaning it will return a function, thus you can do something like this:
const mapStateToProps = (state, initialProps) => {
  return {
    myField: (formValueSelector(initialProps.form))(state, 'myField'),
  };
};

Where initialProps.form is the name of your form.
Might have come a little late to the party but I think others might find this useful. @gustavohenke I think this is ready to be closed.

Thanks for the heads up, @rizedr.


Training time

Hi,
Thanks for the great work! I wonder, may I know the training time (and the corresponding GPU resources used for the training -numbers and series-)?
Best,
Ardian

Hi, thanks for your interest! We used around 32-64 V100GPUs for the whole experiments and ablation studies in this paper.


Script disconnected unexpectedly

Hi Tim,
I'm trying to create a 11.6.0 box with Packer 1.1.1 and Virtualbox 5.0 on Ubuntu 16.04, but a get a "Script disconnected unexpectedly" error.
$ packer version
Packer v1.1.1

$ vboxmanage --version
5.0.40_Ubuntur115130

The problem occurs while running the "vagrant.sh" script:
...
2017/10/20 08:43:36 ui: ==> BIGIP-<IP_ADDRESS>.0.401: Provisioning with shell script: scripts/vagrant.sh
==> BIGIP-<IP_ADDRESS>.0.401: Provisioning with shell script: scripts/vagrant.sh
2017/10/20 08:43:36 packer: 2017/10/20 08:43:36 Opening scripts/vagrant.sh for reading
2017/10/20 08:43:36 packer: 2017/10/20 08:43:36 opening new ssh session
2017/10/20 08:43:36 [INFO] 1310 bytes written for 'uploadData'
2017/10/20 08:43:36 packer: 2017/10/20 08:43:36 [INFO] 1310 bytes written for 'uploadData'
2017/10/20 08:43:36 packer: 2017/10/20 08:43:36 Starting remote scp process:  scp -vt /tmp
2017/10/20 08:43:36 packer: 2017/10/20 08:43:36 Started SCP session, beginning transfers...
2017/10/20 08:43:36 packer: 2017/10/20 08:43:36 Copying input data into temporary file so we can read the length
2017/10/20 08:43:36 packer: 2017/10/20 08:43:36 [DEBUG] scp: Uploading script_2296.sh: perms=C0644 size=1310
2017/10/20 08:43:41 packer: 2017/10/20 08:43:41 SCP session complete, closing stdin pipe.
2017/10/20 08:43:41 packer: 2017/10/20 08:43:41 Waiting for SSH session to complete.
2017/10/20 08:43:41 packer: 2017/10/20 08:43:41 scp stderr (length 86): error: mcpd never came up... using /config/BigDB.dat.
2017/10/20 08:43:41 packer: Sink: C0644 1310 script_2296.sh
2017/10/20 08:43:41 packer: 2017/10/20 08:43:41 opening new ssh session
2017/10/20 08:43:41 packer: 2017/10/20 08:43:41 starting remote command: chmod 0755 /tmp/script_2296.sh
2017/10/20 08:43:41 packer: 2017/10/20 08:43:41 [INFO] RPC endpoint: Communicator ended with: 0
2017/10/20 08:43:41 [INFO] RPC client: Communicator ended with: 0
2017/10/20 08:43:41 [INFO] RPC endpoint: Communicator ended with: 0
2017/10/20 08:43:41 packer: 2017/10/20 08:43:41 [INFO] RPC client: Communicator ended with: 0
2017/10/20 08:43:41 packer: 2017/10/20 08:43:41 opening new ssh session
2017/10/20 08:43:41 packer: 2017/10/20 08:43:41 starting remote command: chmod +x /tmp/script_2296.sh; PACKER_BUILDER_TYPE='virtualbox-iso' PACKER_BUILD_NAME='BIGIP-<IP_ADDRESS>.0.401'  /tmp/script_2296.sh
    BIGIP-<IP_ADDRESS>.0.401: Saving running configuration...
2017/10/20 08:43:43 ui:     BIGIP-<IP_ADDRESS>.0.401: Saving running configuration...
2017/10/20 08:43:43 ui:     BIGIP-<IP_ADDRESS>.0.401:   /config/bigip.conf
    BIGIP-<IP_ADDRESS>.0.401:   /config/bigip.conf
2017/10/20 08:43:43 ui:     BIGIP-<IP_ADDRESS>.0.401:   /config/bigip_base.conf
    BIGIP-<IP_ADDRESS>.0.401:   /config/bigip_base.conf
2017/10/20 08:43:43 ui:     BIGIP-<IP_ADDRESS>.0.401:   /config/bigip_user.conf
    BIGIP-<IP_ADDRESS>.0.401:   /config/bigip_user.conf
2017/10/20 08:43:43 ui:     BIGIP-<IP_ADDRESS>.0.401: Saving Ethernet mapping...done
    BIGIP-<IP_ADDRESS>.0.401: Saving Ethernet mapping...done
2017/10/20 08:43:45 ui:     BIGIP-<IP_ADDRESS>.0.401: Saving running configuration...
    BIGIP-<IP_ADDRESS>.0.401: Saving running configuration...
2017/10/20 08:43:45 ui:     BIGIP-<IP_ADDRESS>.0.401:   /config/bigip.conf
    BIGIP-<IP_ADDRESS>.0.401:   /config/bigip.conf
2017/10/20 08:43:45 ui:     BIGIP-<IP_ADDRESS>.0.401:   /config/bigip_base.conf
    BIGIP-<IP_ADDRESS>.0.401:   /config/bigip_base.conf
2017/10/20 08:43:45 ui:     BIGIP-<IP_ADDRESS>.0.401:   /config/bigip_user.conf
    BIGIP-<IP_ADDRESS>.0.401:   /config/bigip_user.conf
2017/10/20 08:43:46 ui:     BIGIP-<IP_ADDRESS>.0.401: Saving Ethernet mapping...done
    BIGIP-<IP_ADDRESS>.0.401: Saving Ethernet mapping...done
2017/10/20 08:44:18 packer: 2017/10/20 08:44:18 Remote command exited without exit status or exit signal.
2017/10/20 08:44:18 packer: 2017/10/20 08:44:18 [INFO] RPC endpoint: Communicator ended with: 2300218
2017/10/20 08:44:18 [INFO] 272 bytes written for 'stdout'
2017/10/20 08:44:18 [INFO] 0 bytes written for 'stderr'
2017/10/20 08:44:18 [INFO] RPC client: Communicator ended with: 2300218
2017/10/20 08:44:18 [INFO] RPC endpoint: Communicator ended with: 2300218
2017/10/20 08:44:18 packer: 2017/10/20 08:44:18 [INFO] 272 bytes written for 'stdout'
2017/10/20 08:44:18 packer: 2017/10/20 08:44:18 [INFO] 0 bytes written for 'stderr'
2017/10/20 08:44:18 packer: 2017/10/20 08:44:18 [INFO] RPC client: Communicator ended with: 2300218
2017/10/20 08:44:18 [INFO] (telemetry) ending shell
2017/10/20 08:44:18 [INFO] (telemetry) found error: Script disconnected unexpectedly.
2017/10/20 08:44:18 packer: 2017/10/20 08:44:18 Executing VBoxManage: []string{"controlvm", "BIGIP-<IP_ADDRESS>.0.401", "poweroff"}
2017/10/20 08:44:19 packer: 2017/10/20 08:44:19 stdout:
2017/10/20 08:44:19 packer: 2017/10/20 08:44:19 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2017/10/20 08:44:19 packer: 2017/10/20 08:44:19 Executing VBoxManage: []string{"storageattach", "BIGIP-<IP_ADDRESS>.0.401", "--storagectl", "IDE Controller", "--port", "0", "--device", "1", "--medium", "none"}
2017/10/20 08:44:19 packer: 2017/10/20 08:44:19 stdout:
2017/10/20 08:44:19 packer: 2017/10/20 08:44:19 stderr:
2017/10/20 08:44:19 ui: ==> BIGIP-<IP_ADDRESS>.0.401: Unregistering and deleting virtual machine...
==> BIGIP-<IP_ADDRESS>.0.401: Unregistering and deleting virtual machine...
2017/10/20 08:44:19 packer: 2017/10/20 08:44:19 Executing VBoxManage: []string{"unregistervm", "BIGIP-<IP_ADDRESS>.0.401", "--delete"}
2017/10/20 08:44:20 packer: 2017/10/20 08:44:20 stdout:
2017/10/20 08:44:20 packer: 2017/10/20 08:44:20 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2017/10/20 08:44:20 ui: ==> BIGIP-<IP_ADDRESS>.0.401: Deleting output directory...
==> BIGIP-<IP_ADDRESS>.0.401: Deleting output directory...
2017/10/20 08:44:20 [INFO] (telemetry) ending virtualbox-iso
2017/10/20 08:44:20 [INFO] (telemetry) found error: Script disconnected unexpectedly.
2017/10/20 08:44:20 ui error: Build 'BIGIP-<IP_ADDRESS>.0.401' errored: Script disconnected unexpectedly.
2017/10/20 08:44:20 Builds completed. Waiting on interrupt barrier...
2017/10/20 08:44:20 machine readable: error-count []string{"1"}
2017/10/20 08:44:20 ui error:
==> Some builds didn't complete successfully and had errors:
2017/10/20 08:44:20 machine readable: BIGIP-<IP_ADDRESS>.0.401,error []string{"Script disconnected unexpectedly."}
2017/10/20 08:44:20 ui error: --> BIGIP-<IP_ADDRESS>.0.401: Script disconnected unexpectedly.
2017/10/20 08:44:20 ui:
==> Builds finished but no artifacts were created.
2017/10/20 08:44:20 [INFO] (telemetry) Finalizing.
Build 'BIGIP-<IP_ADDRESS>.0.401' errored: Script disconnected unexpectedly.

==> Some builds didn't complete successfully and had errors:
--> BIGIP-<IP_ADDRESS>.0.401: Script disconnected unexpectedly.

==> Builds finished but no artifacts were created.
2017/10/20 08:44:21 waiting for all plugin processes to complete...
2017/10/20 08:44:21 /usr/local/packer/packer: plugin process exited
2017/10/20 08:44:21 /usr/local/packer/packer: plugin process exited
2017/10/20 08:44:21 /usr/local/packer/packer: plugin process exited
2017/10/20 08:44:21 /usr/local/packer/packer: plugin process exited
2017/10/20 08:44:21 /usr/local/packer/packer: plugin process exited
Makefile:20: recipe for target 'all' failed
make: *** [all] Error 1

It is related to a backwards incompatible change in Packer regarding scripts causing the ssh session to be disconnected. See this thread:
https://github.com/hashicorp/packer/issues/4684
provisioner/shell: Set default for ExpectDisconnect to false. If your script causes the connection to be reset, you should set this to true to prevent errors. [GH-5283]
Setting ExpectDisconnect to true fix the issue. However, I get an other error when saving the config. I'll open a separate bug report.
Thank you.

Just to let you know that I did not have this issue with the 12.1.2 template.

@erjac77 I think this is because tmsh commands are not returning codes correctly. We encountered this same thing at some point in the 12.x branch and needed to switch to individual script commands.
Does adding this line to the scripts/save-bigip-conf.sh file also make the error go away?
exit 0

@caphrim007 The error message is slightly different.
==> Builds finished but no artifacts were created.
2017/11/09 11:36:59 [INFO] (telemetry) Finalizing.
Build 'BIGIP-<IP_ADDRESS>.0.401' errored: Retryable error: Error uploading script: wait: remote command exited without exit status or exit signal

==> Some builds didn't complete successfully and had errors:
--> BIGIP-<IP_ADDRESS>.0.401: Retryable error: Error uploading script: wait: remote command exited without exit status or exit signal

@erjac77 well, i guess I'll have to return to have a look at it. was busy with packerfiles for v14 today

@erjac77 I had the same issue. The problem is that vagrant.sh reboots the system and the next scripts starts while the system is being rebooted. So we need to make few adjustments, see below:
Change the provisioners section of template.json from:
  "provisioners": [
    {
      "type": "shell",
      "inline": [
        "mkdir /shared/vagrant"
      ]
    },
    {
      "type": "file",
      "source": "files",
      "destination": "/shared/vagrant"
    },
    {
      "type": "shell",
      "scripts": [
        "scripts/filesystem-rw.sh",
        "scripts/sudo.sh",
        "scripts/vagrant.sh",
        "scripts/save-bigip-conf.sh",
        "scripts/cleanup.sh"
      ],
      "start_retry_timeout": "30m"
    }
  ]

to
"provisioners": [
    {
      "type": "shell",
      "inline": [
        "mkdir /shared/vagrant"
      ]
    },
    {
      "type": "file",
      "source": "files",
      "destination": "/shared/vagrant"
    },
    {
      "type": "shell",
      "scripts": [
        "scripts/filesystem-rw.sh",
        "scripts/sudo.sh",
        "scripts/vagrant.sh"
      ],
      "expect_disconnect": true,
      "start_retry_timeout": "30m"
    },
    {
      "type": "shell",
      "pause_before": "35s",
      "scripts": [
        "scripts/save-bigip-conf.sh",
        "scripts/cleanup.sh"
      ],
      "start_retry_timeout": "30m"
    }
  ]

Also you will need to make another change to scripts/vagrant.sh:
Change the sleep time from 120 to 100

Repository Archived


Plugs-in the LongGauge into the registry

Codecov Report

Merging #1498 into master will decrease coverage by 0.02%.
The diff coverage is 88.88%.

@@             Coverage Diff              @@
##             master    #1498      +/-   ##
============================================
- Coverage      82.4%   82.38%   -0.03%
+ Complexity     1609     1608       -1
============================================
  Files           246      246
  Lines          7566     7551      -15
  Branches        713      715       +2
============================================
- Hits           6235     6221      -14
+ Misses         1113     1110       -3
- Partials        218      220       +2

Impacted Files
Coverage Δ
Complexity Δ

...src/main/java/io/opencensus/metrics/LongGauge.java
72.22% <ø> (-6.04%)
2 <0> (ø)

...ain/java/io/opencensus/metrics/MetricRegistry.java
100% <100%> (+28.57%)
2 <0> (ø)
:arrow_down:

...pencensus/implcore/metrics/MetricRegistryImpl.java
92.1% <85.71%> (-7.9%)
3 <1> (-1)

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 418e675...48a362a. Read the comment docs.

Also please fix the build.


As a user, I can view a summary of my income for the month based on completed lessons, so I can track my earnings.

We will not be implementing this


Fail to fetch gnu-getopt

[x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[x] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Linuxbrew/homebrew-core: https://github.com/Linuxbrew/homebrew-core/issues/new. If it's a brew cask problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

I am trying to install gnu-getopt, and fetching from the server fails
$ brew install asciidoc
==> Installing dependencies for asciidoc: gnu-getopt, libxslt, xmlto
==> Installing asciidoc dependency: gnu-getopt
==> Downloading http://frodo.looijaard.name/system/files/software/getopt/getopt-

curl: (7) Failed to connect to frodo.looijaard.name port 80: Connection refused
Error: Failed to download resource "gnu-getopt"
Download failed: http://frodo.looijaard.name/system/files/software/getopt/getopt-1.1.6.tar.gz

The server seems down https://downforeveryoneorjustme.com/frodo.looijaard.name
brew doctor output
$ brew doctor
Your system is ready to brew.

The bottles are fine, but the url for source tarball is not working. Adding fossies.org as mirror at https://github.com/Homebrew/homebrew-core/pull/28069


Add a few more type-checker crasher addressed by the "occurs" check.

For rdar://problem/19343997, rdar://problem/19924870, and rdar://problem/20771765.

@swift-ci please smoke test and merge


Import/Direct Query page is not shown for Dataverse as source

This page doesn't seem to be valid on the Desktop Version: 2.102.845.0 64-bit (February 2022).
I am not getting an option to choose between the Import/Direct Query for Power BI with Dataverse as Source.
It is directly taking me to sign-in page without showing the page to select Import/Direct Query.

Could you please clarify if this is option was available and has been removed? or if it is expected in the newer versions?
[Enter feedback here]
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1e182c32-ef1e-2092-9e8f-0643f991c17a
Version Independent ID: 11d6812e-4d94-9024-72ad-a8ae7aa429a6
Content: Power Query Dataverse connector - Power Query
Content Source: powerquery-docs/Connectors/Dataverse.md
Service: powerquery
GitHub Login: @DougKlopfenstein
Microsoft Alias: bezhan

Hi @AnushaAnanthRao
Thanks for the feedback. The Dataverse article has been updated.


Please add support to delete multiple overlays

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Forgive me for being a bit obsessive, I always like to write it down, I currently delete it with a loop, thanks, man

If you use map.getOverlays() to get all overlays that are currently on the map, you get an ol/Collection. To remove all features from that collection, simply call
map.getOverlays().clear();

If you use map.getOverlays() to get all overlays that are currently on the map, you get an ol/Collection. To remove all features from that collection, simply call
map.getOverlays().clear();

Thanks, you let me know more about openopenlayer again  😊


Improvement in typescript and web3

I propose changes to generated code:

export default instead of plain export in generated classes
replace web3.eth.contract(contractAbi).at(address) with new web3.eth.Contract(contractAbi, address) in generated classes
-> support for web3 1.x
create new exposed function abi2wrapper(abi: Object, options: Object): string that convert single ABI to TS wrapper class and will contain most of processFile()'s source code (calling generateSource)

Hey!
Sorry to keep you waiting, I somehow missed this issue.
I think all of these problems will be solved when typechain starts to support user-provided templates but here's my reasoning:

https://blog.neufund.org/why-we-have-banned-default-exports-and-you-should-do-the-same-d51fdc2cf2ad
Support for 1.x is discussed in: https://github.com/krzkaczor/TypeChain/issues/25
The problem here is how to link generated files with the runtime. I think runtime path has to be part of options object here.

3 is covered by https://github.com/krzkaczor/TypeChain/pull/72 Thanks! Others are already discussed so I am gonna close this for now.


Fix goerr113 errors

What can be improved
goerr113 has been temporarily disabled with changes brought by #476. Enable it and fix errors.
Why
Starting from Go 1.13 the standard error type behaviour was changed: one error could be derived from another with fmt.Errorf() method using %w format specifier.
So the errors hierarchy could be built for flexible and responsible errors processing.
And to make this possible at least two simple rules should be followed:

error values should not be compared directly but with errors.Is() method.
error should not be created dynamically from scratch but by the wrapping the static (package-level) error.

This linter is checking the code for these 2 rules compliance.
err113 reports every == and != comparison for exact error type variables except comparison to nil and io.EOF.
Also, any call of errors.New() and fmt.Errorf() methods are reported except the calls used to initialise package-level variables and the fmt.Errorf() calls wrapping the other errors.

Related somehow to #634


read_nonblock with exception: false also return :wait_writable

and vice-versa.
See https://github.com/ruby/ruby/blob/trunk/lib/net/protocol.rb#L162-L163 and the link in the comments. This is a case for every SSLSocket. I don't know how much implications this might have had in real world usage, but I'd still guard against it.

This should be handled correctly here:
https://github.com/httprb/http/blob/master/lib/http/timeout/global.rb#L51
and here:
https://github.com/httprb/http/blob/master/lib/http/timeout/global.rb#L87
The handling of the response values is generic, regardless of what operation is performed. They can also raise even if exception: false is passed (as at least earlier versions of JRuby did with SSL sockets)
Is there somewhere else you think this is actually being mishandled?

Ups, forgot to link: https://github.com/httprb/http/blob/master/lib/http/timeout/per_operation.rb#L61-L84
I think the only time this might happen is during the ssl session establishment, therefore here, although I could be wrong and that's a general case for all _nonblock routines. In this particular case however, it's not using the exception: false option, but it could.


Fixed 'TypeError: expectedType.toLowerCase is not a function' error

Bug description:
If accidentally using a schema where one of the properties has a type which is not a string, validator throws TypeError: expectedType.toLowerCase is not a function error.
Example of such schema:
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID"
    },
    "testObject": {
      // type should be a string, not an object
      "type": {
        "type": "object"
      },
      "properties": {
        "testObjectProperty": {
          "type": "string",
          "description": "testObjectProperty Description"
        }
      },
      "description": "Testing Example"
    }
  }
}

This PR fixes such an error by providing specific error message for this type of situation

@brodyd please take a look at this PR as you have time. Thanks in advance!

@Emulebest Thanks for your support and your PR.  I've just released the new package for you.  v3.0.20


Implementing an Ersatz of ClusterManager to fix jobqueue issues linked to upstream deploy.Cluster limitations

So we have a target: https://github.com/dask/distributed/issues/2235.
We have some issues related to it:

https://github.com/dask/distributed/issues/2257 and https://github.com/dask/dask-jobqueue/issues/112, #97: multiple scale calls problem
#130: number of cores parameter to scale
#152: grouped worker and scale_down

and perhaps less related: #103
I propose as discussed in some of the issues or PR mentioned above to try to fix those issues directly in dask-jobqueue. This will involve duplicating some of the logic of distributed.deploy.Cluster object here, but also give some interesting insights of how to refactor things for https://github.com/dask/distributed/issues/2235.
I propose to do this gradually, and to slowly provides some PR that will fix issues one by one, and also analyse and underline some existing code pieces from the current deploy.Cluster mechanism that should be modified for https://github.com/dask/distributed/issues/2235.

I think that having dask-jobqueue break entirely from the classes in dask-distributed would be an interesting approach.  Of the three projects (jobqueue, kubernetes, yarn) jobqueue seems to be the fastest moving right now.  Rather than constrain your development by the slowness of the group, it might be useful to see what you come up with and how you restructure things.

@mrocklin I'm currently working on the ClusterManager implementation here. I'm wondering if this wouldn't be cleaner if I just removed dependency on distributed.deploy from dask-jobqueue, and duplicate the needed part here. Currently I'm somewhere in between...

But this is probably what you had in mind...

I see no problem with breaking from the distributed.deploy code and starting fresh.

Closing this as SpecCluster implementation #306 is covering it.


Remove fonts from bootstrap

They are provided by CDN anyway.

Good idea, thanks.

PR added

Resolved with commit https://github.com/DirectoryLister/DirectoryLister/commit/4c12729375be7767e0540660f5b9ca776f2d3f20


[Bug] on API doesn't work on line type graph when symbol: 'none'

Version
5.4.3
Link to Minimal Reproduction
https://codepen.io/yogat3ch/pen/NWJXVwy?editors=1111
Steps to Reproduce
The Codepen in it's current state will not log any events to the console. Change the symbol argument from none to pin or any of the options besides none and the mouseover events will start being logged.
Current Behavior
When symbol: 'none' all the events don't work.
Expected Behavior
Events work regardless of symbol type.
Environment
- OS: Mac OS X Sonoma 14.2.1 (23C71)
- Browser: Chrome - Version 120.0.6099.234 (Official Build) (arm64)
- Framework: R Shiny, but the example is pulled from an echarts demo

Any additional comments?
No response

Do you want to listen to the line or the invisible symbols? If it's the line, you will need to enable the triggerLineEvent option, if it's the symbol, you can set the itemStyle.opacity as 0 rather than set the symbol as none as ECharts will skip to render these elements and cause the event not responding.

Do you want to listen to the line or the invisible symbols? If it's the line, you will need to enable the triggerLineEvent option, if it's the symbol, you can set the itemStyle.opacity as 0 rather than set the symbol as none as ECharts will skip to render these elements and cause the event not responding.

Ahhh! triggerLineEvent is the ticket! Thanks @plainheart for the help!


CSS bundle either in JS format or CSS format depending on build.

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 8

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
@angular/cli: 1.0.0-beta.32.3 [1.0.0-beta.22-1]
node: 6.9.4
os: win32 x64
@angular/common: 2.3.1
@angular/compiler: 2.3.1
@angular/core: 2.3.1
@angular/forms: 2.3.1
@angular/http: 2.3.1
@angular/platform-browser: 2.3.1
@angular/platform-browser-dynamic: 2.3.1
@angular/router: 3.3.1
@angular/cli: 1.0.0-beta.32.3
@angular/compiler-cli: 2.3.1

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

Not sure if this is intended, but running ng build outputs a style.bundle.js file, while ng build --prod produces a style.bundle.css file. This is not an issue when serving up the default index.html file that is generated. But in my case, i'm serving up a server rendered start page, and are adding script/css references using a gulp workflow. I have modified this gulp build process to account for the css file when using the --prod switch. I'm just wondering if this is a bug or intended.
The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

@mikelunn this is intended. During dev it is a js file which helps to sleep up rebuild and output to its proper css format for final builds

Hey, this is intended but configurable. The --extract-css output defaults to true on prod and false on dev.
It's actually kinda slow to output the CSS proper so we leave it off for rebuild speed.

@deebloo @filipesilva Thanks!


Modal picker doesn't display properly on iPhone X

When you tap in the search bar it bumps the search field off the screen.

This issue was fixed in the last release(2.1.1)
Are you on this version?

I was using the latest from Cocoapods as of this morning. Thanks for fixing.

Hey 👋 first of all thank you for this library! I'm using the latest version on iOS 12.1 and the problem still occurs. Can you fix it? :)


Support for Callbacks and Webhooks as defined in OpenAPI v3.1

Hello guys,
are there any plans to implement support for Callbacks and Webhooks?

Open API 3.1 support in general is in timeline at least in parts of what is currently implemented from OpenAPI 3.0. What comes to anything else there hasn't been any plans but despite that they are not excluded and could be implemented if there is need for them. Yet I am not able to provide any timeline when I'd be able to take the initiative of adding the support for them.
Nonetheless PR:s are welcome, but before this the general 3.1 support should be added.

Thanks for quick response, when the support for v3.1 is expected?

@davidlahuta The OpenAPI 3.1 support is coming in utoipa 5.0.0 version later on and is implemented here: #981 However this does not yet include the webhooks and callbacks but those are planned be within the final 5.0.0 release.


Issue with imports in same directory

I have a issue with imports of node-sass.
According to the error message, it cannot seem to find the scss import in the same directory structure.
Example, I have two files in my *X:\random\path*

foo.scss
_foobar.my.import.file.scss

And I @import "foobar.my.import.file" inside my foo.scss and try to compile foo.scss, the task fails and returns with cannot find file foobar.my.import.file inside X:\random\path
I have tried debugging the code with node-inspector too.
I have tracked down the error to bindings.renderFile function inside the index.js file.
I can't seem to proceed further because it is a bindings.node file and I don't know how to handle it.

I am unable to reproduce this issue.
// index.scss
@import "foobar.my.import.file"

// _foobar.my.import.file.scss
a { b: c }

$ ./node_modules/.bin/node-sass index.scss
a {
  b: c; }

I tried compiling https://github.com/oracle/oraclejet.
Specifically /master/dist/scss/alta/oj-alta.scss
My sass-compile file is
var sass = require('node-sass');
var fs = require('fs');
sass.render({
    file: 'oj-alta.scss',
    outputStyle: 'compressed'
}, function(error, result) {
	console.log('callback');
    if (error) {
        console.log('status:', error.status);
        console.log('column:', error.column);
        console.log('message:', error.message);
        console.log('line:', error.line);
    } else {
        fs.writeFileSync('./main.css', result.css);
        console.log('done css');
    }
});

It doesn't even print callback
The oj-alta.scss file is this
@import "oj.alta.variables";
@import "../3rdparty/normalize/normalize";
@import "oj.alta.widgets";

Can you try adding includePaths: [__dirname] to the render config object?

I tried the same to no difference.
Although, I tried compiling font-awesome and it worked without even specifying the importer function and includePath.
I wonder what is different in this case.

Can't reproduce either

Download oraclejet
cd into downloaded directory
npm i node-sass
copy script from above
edit script to adjust file path to 'dist/scss//alta/oj-alta.scss'
run script

callback
done css

menu.css created in the root with compressed output.

@nschonni  I tried your solution and it worked like a charm. Thanks for your input.
However, I do have one question. I was trying to do the same inside the dist/scss/alta/ folder and I had done npm install node-sass inside that folder and my script was inside that folder too with scss file's path as 'oj-alta.scss'. It was replicating the situation I mentioned earlier. So, is it somehow possible that node-sass might need a better importer function in the case when some of the imports are a level up from the directory in which the node script is running? Or is it something else?

@nschonni @saper @xzyfer Can you please confirm the same working for Oracle JET 2.0.1
instead of Oracle JET 2.0.2 (Pre-release) version? I was trying the same on Oracle JET 2.0.1 and by the time of posting your comment, Oracle came out with their pre-release which seems to compile fine with node-sass.
This begets the question whether the library had buggy code or not.
To test that, I used compass (ruby) , and it compiled without any issue.
Any nudge in the right direction is highly appreciated. Thanks a lot.

@tHBp may I ask which node version are you running? Is it on Windows? If running Windows, is x: a real drive? Or a subst, networked or anything special?

@saper Thanks for reverting so quickly.
I'm on Windows 7 - x64.
The X: drive is an example. It is a normal D: drive. No networking, nothing special, normal HDD just.
I tried the solution @nschonni suggested and it worked perfectly for Oracle JET 2.0.2 (Pre-release) version.
It required me to be outside the scss directory whilst running my node script.
I was trying the same with Oracle JET 2.0.1 and was unable to compile the scss.
I then tried Ruby Compass on JET 2.0.1 and it worked perfectly well.
My node script is mentioned in the thread above.
My question is, do I always have to be outside all sass directories which a code might import for node-sass to work? I'm asking because I can seem to compile font-awesome without any includePath paradigm and without any importer function and regardless of where I am executing my script.
Secondly, regarding the versions 2.0.1 and 2.0.2, I have tried debugging the code to find what might be cause for not rendering the css, but as I'm new to binding C++ libs with Node, I'm struggling to debug beyond the bindings.node file. So far the node-sass code is passing my parameters well to the render function of bindings.node, can it be a issue with Libsass?

Any sort of help would really be appreciated.
Thanks.

regarding the versions 2.0.1 and 2.0.2

Is this referring to your node-sass version? If so please update to a newer version. We no longer support node-sass < 3.8.0 because of the many changes in LibSass.

@xzyfer It refers to the versions of the library in question (Oracle JET) and not the node-sass version.
node-sass version I'm using is 3.8.0 only

@tHBp the JET library is large (and fixed in their master), if you want us to troubleshoot something we need Short, Self Contained, Correct (Compilable), Example as explained in the CONTRIBUTING.md

@nschonni Okay sure, will keep that in mind for future reports. Thanks a bunch.


[Color Picker] Show colors around pixel

Show pixels around the hovered pixel it would make it easier to selected colors from smaller things like text
Image showing what is requested

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Use your scroll wheel to zoom in

Ah, didn't know that thank you, sir.
Wish it followed the cursor though, but I guess it's good enough

Wished it followed the cursor though

That would defeat the purpose of zooming in, not?

What if I have a hard time finding the color in the area where I zoomed in? That means I have to zoom out then in again rather than just having the zoom follow the cursor. I would find it more useful if it followed the cursor when trying the select the color from a small element like text

But if the point/pixel move exactly as the mouse cursor does, then the zoom is functionally not helpful for the actual picking of any specific pixel.


Does omni support native segwit address?

Bitcoin has been updated to 0.18.0, Then can I receive USDT using a native segwit address with prefix bc1?

Not yet, but it's planned for the next release.

Could you please kindly tell me the ETA?

Now?

Now?

Looks like it isn't. I just upgraded our Omni Core node to v0.9.0, and when I specify "bc1" address with the omni_createrawtx_reference command the resulting transaction still has referenceaddress the same as the sendingaddress.

Looks like it isn't. I just upgraded our Omni Core node to v0.9.0, and when I specify "bc1" address with the omni_createrawtx_reference command the resulting transaction still has referenceaddress the same as the sendingaddress.

Now?

any news on omni support for bc1 adresses??


add pegasus support

Pegasus has the same parameter groups in Bart so the splitter works for both.
When Pegasus decodes it leaves these <n> symbols in, so I added a line the take them out.

See https://github.com/ohmeow/blurr/issues/10

Thanks @HenryDashwood.  Going to work thru this after the fastcore PR.  Was going to start looking at Pegasus support this weekend after adding in tests for the question answering bits but I'm glad to see you beat me to it :)

Hey @HenryDashwood ... how are you testing this with Pegasus?  That model is a beast!  Training on colab right now but can only get away with a batch size = 2 and a max_length=256 (for the text to summarize).

Yeah it’s a bit of a nightmare to work with. My advice, if you haven’t already seen it and need more memory, is https://datacrunch.io/products/
I’ve moved all the GPU work I do in and outside of work over to there since it’s shockingly cheap compared to Amazon who we were using before https://aws.amazon.com/sagemaker/pricing/
Obviously not free though. Let me know if you have any  tests you would like run and I’ll see what I can do!

Ah, never heard of it ... pricing looks nice.
You guys just using it for training I assume?  Are you just running everything on the instance itself or are you training through something like Docker?  Back in the old days I remember it being easiest just spinning up an EC2 instance, running a bash script that did all my installs, and training directly on it ... anyways, curious to know how you all are using it.  Thanks for the info.

Will do!
Re DataCrunch. Yeah we only use it for training. All our models still get served on cpus.
They actually offer a one click to start up Jupyter notebook image with things like Fastai preinstalled. That's how I came across them. However I prefer to spin up a plain Ubuntu image, ssh in, and then do all my work through the terminal and VSCode. VSCode's notebook and ssh support is amazing now and DataCrunch is what finally gave me a reason to mould my workflow around it. I'm thinking of writing a blog or making a video about it because it's so much better than anything I've seen anywhere else.

Yah go for it with the blog post/video.
I've been switching between using VSCode myself and pure Jupyter.  I'm a
.NET and Rails developer by trade, and even though I work on a Mac, I'm
able to use VSCode for just about everything outside of managing/working
with our SQL Servers (haven't found anything better that SQL Server Mgmt.
Studio on windows for that).
Anyways, thanks for the reply.  Always interested to see how folks are
training these models which are getting bigger and bigger it seems.
-wg
On Wed, Sep 9, 2020 at 11:09 AM Henry Dashwood<EMAIL_ADDRESS>wrote:

Will do!
Re DataCrunch. Yeah we only use it for training. All our models still get
served on cpus.
They actually offer a one click to start up Jupyter notebook image with
things like Fastai preinstalled. That's how I came across them. However I
prefer to spin up a plain Ubuntu image, ssh in, and then do all my work
through the terminal and VSCode. VSCode's notebook and ssh support is
amazing now and DataCrunch is what finally gave me a reason to mould my
workflow around it. I'm thinking of writing a blog or making a video about
it because it's so much better than anything I've seen anywhere else.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ohmeow/blurr/pull/11#issuecomment-689728923, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADNMB42GBVLTPQQ72OAMLSE7AELANCNFSM4QZAW5BQ
.


[BUG]: BAD CONTRAST TEXT COLOR FOR INPUT FIELDS ON LOGIN PAGE 🙅🏻❌

Describe the bug

The bug is about the bad contrast color used for Input fields text.
This will severly affects accessibility, We need to provide solid color background for every input field because the Login Page's gradient background is constantly changing.
By applying a background for every input field with good contrast will greatly resolve this problem.

To Reproduce

Go to 'Login page of Imagine AI'
See the Input fields with Bad contrast text colors

Expected behavior

The input fields must wants to have a solid background to be stable against the constantly changing gradient background.

Screenshots

Desktop (please complete the following information):

OS: ArchCraft
Browse: Firefox
Version: 114.54

Hey there @SurajPratap10 👋🏻
Please make sure to assign this issue to me to make the work done, Thank You!


Specify sphinx and remove code causing warnings

[X] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
In this blog post ReadTheDocs announced that they were no longer installing an old, consistent version of sphinx, and they would now be using the latest as the default, so we need to explicitly define a version of sphinx.
Why should this Pull Request be merged?
ReadTheDocs is currently not building the documentation from this repo.
What testing has been done?
Built locally with tox -e docs -r and browsed the documentation that was output locally:

So how do we run a test build on readthedocs with this branch to see if it fixes our issue there? (And to check that we aren't introducing new issues like broken links, broken page layout, etc)

So how do we run a test build on readthedocs with this branch to see if it fixes our issue there? (And to check that we aren't introducing new issues like broken links, broken page layout, etc)

I generated a page on readthedocs based on this branch instead of master for verification

@papowerNI

I generated a page on readthedocs based on this branch instead of master for verification

Looking at the docs, the copyright on the bottom reads 2018:

© Copyright 2018, National Instruments Revision 775df4c7.
This is true both in the main branch as well as your branch - can we fix that too while we're updating docs?

@papowerNI

I generated a page on readthedocs based on this branch instead of master for verification

Looking at the docs, the copyright on the bottom reads 2018:

© Copyright 2018, National Instruments Revision 775df4c.

This is true both in the main branch as well as your branch - can we fix that too while we're updating docs?

updated to use the current year


Travis isn't running

Seems like builds are completely absent... any idea why?

Tweeted them with no response. I'll fire off an email.

Odd. Everything seems to work again now though.
Thanks for reporting the issue, @mc10

@jbnicolai It's not fixed yet :(

https://github.com/travis-ci/travis-ci/issues/3996 seems relevant

@danielstjules you're absolutely right. I was still receiving e-mails from failed/succesful builds, causing me to believe it was still working.

when I click on our "unknown build status" icon I end up at my fork.

over on the left, I choose mochajs/mocha and I see the build status.  cc @BanzaiMan

All fixed :)


Update scala to 2.12.12

Codecov Report

Merging #845 into develop will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #845      +/-   ##
===========================================
- Coverage    89.36%   89.35%   -0.02%
===========================================
  Files          117      117
  Lines         9326     9326
  Branches       365      365
===========================================
- Hits          8334     8333       -1
- Misses         992      993       +1

Impacted Files
Coverage Δ

.../main/scala/com/twitter/algebird/Successible.scala
87.50% <0.00%> (-4.17%)
:arrow_down:

...src/main/scala/com/twitter/algebird/Interval.scala
83.47% <0.00%> (-1.74%)
:arrow_down:

.../main/scala/com/twitter/algebird/Approximate.scala
88.70% <0.00%> (-1.62%)
:arrow_down:

.../main/scala/com/twitter/algebird/DecayingCMS.scala
84.23% <0.00%> (+0.41%)
:arrow_up:

.../main/scala/com/twitter/algebird/BloomFilter.scala
94.69% <0.00%> (+0.44%)
:arrow_up:

...main/scala/com/twitter/algebird/monad/Reader.scala
58.82% <0.00%> (+5.88%)
:arrow_up:

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 d9688ac...1a521b4. Read the comment docs.


ItemList: VSeparation does not apply on top of first item

Godot 2.0.3
Item Index = 0 - no indentation top:

Thanks for including images, it's helpful. It would be nice to include them by dragging and dropping instead of just putting a link though, as then they are hosted on GitHub and directly visible (if savepic.ru removes your images after a while, those issues would become quite hard to read).

It would be nice to include them by dragging and dropping instead
As simple as that. I didn't know about this feature.

Can I here ask. I assumed that "HSeparation" works similarly to "VSeparation" left and right. But I don't see any effect. (the indent in the beginning of the line that you see in the screenshot is the transparent icon). Why the need for "HSeparation"? And how to indent the beginning of a line?

@DimitriyPS HSeparation is for grid-mode item lists. :smile:
Also, is this behaviour consistent with BoxContainers?

ItemList
This is all the available information. Not much.

for grid-mode item lists

Can you be more specific?

Also, is this behaviour consistent with BoxContainers?

Sorry, I don't understand the question.

there's not suposed to be separaton at the top and bottom, seperation does just that: distance beatwhen two items. Instead of that use the top margin and bottom margin

Instead of that use the top margin and bottom margin
Where are these options?

PS: Information explain the purpose of these fields is not, therefore, rely more on the experimental method.

@DimitriyPS:

Can you be more specific?

Well, I don't remember how was it possible to use ItemList as a grid, but I'm positive that the Tilemap editor and FileSystem dock both do this.

Where are these options?

He is talking about the margin properties inherited by the Control class. You would have to set the anchors accordingly for this to work though (a MarginContainer might also help :smile: )

Also, is this behaviour consistent with BoxContainers?

Sorry, I don't understand the question.

Well, I'm asking if using VBoxContainer instead of ItemList does the same or not.

From what was said, I understand that VSeparation works correctly (without errors).
You gave me advice, but unfortunately I do not understand what to do (the language barrier). Perhaps this bug report is erroneous. Perhaps the problem has a solution. I prepared a demo for another bugreport (attached below), It has ItemList. If it is not difficult, please, using the demo show how to solve this problem with the indent of the first paragraph.
demo.zip

Image Link broken? Says "Non-Image content-type returned".

In fact, in subsequent versions this has been fixed. I thought that appeal was closed.


Cancel other jobs if one fails during CI

While reviewing https://github.com/Seneca-CDOT/starchart/pull/64, I notice that the Blue Stack CI is adding logic to cancel parallel jobs if one of the jobs fails.  This is nice so you don't burn through build minutes if you know the whole thing is going to fail.
I looked at how they do it using https://github.com/styfle/cancel-workflow-action, and it recommends to use the built in logic in GitHub Actions, see:
https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
cc @SerpentBytes, @shawnyu5.

If we move starchart into a separate repo, we will still get billed for action minutes? (I dont know how gh org billing works, and the docs are kinda confusing).
Let me look into this, I wonder if there are side effects of canceling a job mid-way through. ie in the middle of installing dependencies, and how caching will handle this.


Is their any Graphical User Interface thus I can manage this mail server

Hello, i am new using this server. Is their any Graphical User Interface thus I can manage this mail server??

Use only terminal!

Using an GUI won't let you understand how a mail server works.

Hello, without GUI how any new person can use this mail server. After all we are not familiar with terminal! where is the details things to do after setup this docker-mail server? (waiting). My friend has setup & Docker is running with mail server with roundcube. But how i iwll use this to send email & otherss managements?

Being not familiar with a terminal and using docker sounds strange, no?
What do you want to do exactly?

What do you want to do exactly?

Hey getting this up. I'm also interested in a GUI, not for the administration but more for the resller:

managing accounts
manage a simple account: autoresponder ...

@tomav Pls take a look into your "other" Folder in Facebook :)

Agree with @psi-4ward


Change on card location depending on width

Summary of the pull request
Adding the big card raised the problem on what to do regarding responsiveness. If the actual width of the application is too small, the text would get out of space available in the card.
To address that, when the width is too low, we will change the big cards to go into the normal cards collection, and then it will stay with the same responsiveness as before on small screens, respecting the priority level relative to the cards.

References and relevant issues
Detailed description of the pull request / Additional comments
Validation steps performed
PR checklist

[ ] Closes #xxx
[ ] Tests added/passed
[ ] Documentation updated

Here are a few things we should fix:
When I shrink the window size, there should never be a size in which I can't read the button:

When we drop to 2 cards based on window size, we should have ample space in between the description and the button. We also need to be able to read the content in the button. Maybe let's change the text if need be:

When there is only one card, we also need ample space between the text description and the button. We should also be able to read the entire button text.