Create ansible-create-configure-vmss.md

Create a new article to guide users how to use Ansible create and configure VMSS on Azure.

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/Microsoft/azure-docs/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Microsoft/azure-docs-pr/blob/master/articles/azure-portal-overview.md
We have closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions


Implement mutable variables in patterns

Eventually we will want to allow mutable variables inside patterns, for example:
struct Point {
    x: u64,
    y: u64
}

let p = Point {
    x: 42,
    y: 24
};

match p {
    Point { mut x, y: 5 } => {
        x = 100;
        x
    },
    Point { x, mut y } => { y },
}

I first looked at the example and thought "p will need to be declared as mut too" and then I started thinking about our lack of explicit references and tried recreating the above in Rust and it kinda fell apart.
In Rust it doesn't quite work but for Sway I guess it does.  Within the match arm we have x and y introduced similarly to as if they were let declarations (which is how we do it for if lets).  But to make them mutable and for them to actually be updating the p struct is something new and quite tricky IMO.  Just throwing my 2c in. 🙂


counterfactual analysis ANCOVA

Hi there,
I am quite new to all of this and I really liked the GeoLift example.
Would it also be possible to estimate the effect of the treatment (refurbishment) to the outcome of the other countries?
Is this possible and how can do that?
I was thinking maybe swap the variables but this wouldn't have learned the treatment.
Any help is welcome!
result = cp.pymc_experiments.SyntheticControl(
    df,
    treatment_time,
    formula="Croatia ~ 0 + Austria + Belgium + Bulgaria + Denmark + Cyprus + Czech_Republic",
    model=cp.pymc_models.WeightedSumFitter(
        sample_kwargs={"target_accept": 0.95, "random_seed": seed}
    ),
)

Hi @priamai. Thanks for the question. So I believe that a core part of synthetic control approach is that the treatment group is treated and the controls are entirely unaffected by the treatment.
I am not deep into geolift methods at this point, but I believe it is common to deal with multiple treated groups. In that case I believe the approach is to aggregate the treated groups into a new single aggregate treated column. In this case the untreated groups are still assumed to be unaffected by the treatment.
I'm not saying that it's impossible, but I believe vanilla synthetic control will not be able to achieve this.
So I'm going to close this issue. But if there's a published approach to do this, then feel free to open a new issue which gives all the details of the requested model and relevant papers or datasets (simulated or real).

Thanks for the suggestion, I will see what I can find!


Fix merge in web collector

Hi! Thanks for your work on prometheus_exporter :)
When upgrading prometheus_exporter, I noticed that status is no longer included in all requests, as per #216 . However, we would still like to include it in our custom labels, since we have some dashboards which use it.
When we tested including it ourselves, I got some errors from prometheus because there was an invalid metric. The metric had "status" twice. It seems that the issue is that the metric coming from the json serializer has status as a string, while the merge had a symbol.
This PR adds a test to check that the merge is correct and corrects the merge to use a string as well.

Oh ... nice catch. Thanks!


Disabling and enabling a camera with more than 1 post effects script causes FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

Example project: https://playcanvas.com/project/1000268/overview/post-processing-effects-crash
Press 1 to disable the camera entity and press again to enable the camera

Currently blocking a client

The workaround for this is to disable/enabling the post processing scripts before disabling/enabling the entity
        var enabled = !this.targetEntity.enabled;
        this.targetEntity.script['posteffect-bloom'].enabled = enabled;
        this.targetEntity.script['posteffect-brightnessContrast'].enabled = enabled;
        this.targetEntity.enabled = enabled;

Example: https://playcanvas.com/project/1003149/overview/post-processing-crash-patch


[consensus] Fix bug in the find_root invariant.

The recovery QC should be the highest QC by round, not the lowest. This fixes it.

@bors-libra r+

:pushpin: Commit 68272e1 has been approved by dmitri-perelman

:hourglass: Testing commit 68272e1bc0d8d1e35b2b3bc1f088b6c9f117d7f2 with merge fdfd9f2bc5f53528dd42cf59a4400eb9d40c78de...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: dmitri-perelman
Pushing fdfd9f2bc5f53528dd42cf59a4400eb9d40c78de to master...

close #1054


Fixes/issue 70

This fixes #70
Please check it out.
Thanks!

@mauro-oto Done updating this. Please review!

@mauro-oto To see the whole picture you'll need this too: https://github.com/ombulabs/ombulabs.com/pull/58

Looks good, thanks! :+1:


Add AdmissionCheckReconciler

What type of PR is this?
/kind feature

What this PR does / why we need it:
[controller/core] Add AdmissionCheckReconciler
Its main goal at this stage is to help managing the active status of the
cluster queues mast on the admission checks presence.
Which issue(s) this PR fixes:

Relate to #993
Special notes for your reviewer:
In draft pending #1045 merge.
Does this PR introduce a user-facing change?

Manage cluster queue active state based on admission checks life cycle.

/test all

@trasc IIUC, this controller wasn't needed in https://github.com/kubernetes-sigs/kueue/pull/1045#discussion_r1300547892.
Why do we need this controller?

Its main goal at this stage is to help managing the active status of the
cluster queues mast on the admission checks presence.

It was not included in 1045 to keep that simpler. We are using it to mage the active/inactive state of the cluster queue base in the existence of its configured checks.

Its main goal at this stage is to help managing the active status of the
cluster queues mast on the admission checks presence.

It was not included in 1045 to keep that simpler. We are using it to mage the active/inactive state of the cluster queue base in the existence of its configured checks.

I see.
/assign


Steam deck cannot connect to Bluetooth keyboard

Describe the bug
When I attempt to connect to my Logitech K380 (Bluetooth) keyboard the Bluetooth wizard takes a while and then says it failed.
What did you expect to happen?
I expected my keyboard to connect and work fine.
Output of rpm-ostree status
State: busy
Transaction: install -y -A ./teamviewer.x86_64.rpm
  Initiator: client(id:cli dbus:1.223 unit:run-r0ab376a329b2467d9e88a9f4fab17a35.scope uid:0)
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:3f5b838c5a96ab04972ced136c4c1602f5d68f58d900836d6ede4ad426ec8714
                  Version: 39.20240301.0 (2024-03-02T00:21:09Z)
          LayeredPackages: sunshine
            LocalPackages: nomachine-8.11.3-4.x86_64
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"'

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:3f5b838c5a96ab04972ced136c4c1602f5d68f58d900836d6ede4ad426ec8714
                  Version: 39.20240301.0 (2024-03-02T00:21:09Z)
          LayeredPackages: sunshine
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"'

Hardware
Jupiter (Steam deck LCD)
Extra information or context
My keyboard worked fine on SteamOS and on other devices. I have tried resetting the keyboard and pairing both through desktop and game mode, and through bluetoothctl

I have ended up switching back to SteamOS for the time being. If a solution can be figured out then i will easily go back to bazzite.

It's a bluez bug. You need to keep insisting on pairing until it will bind from bluetoothctl. See here.

It's a bluez bug that might be related to bluetooth kernel regression on the latest stable kernel. You need to keep insisting on pairing until it will bind from bluetoothctl. See here.

does it matter if i use the GUI to pair it or the command line?
Doing a quick read over makes it seem that even if i pair it, i may not get any key presses across. Lovely...

After an hour, finally it asked for the pin and it’s working!

Yep, same issue. Maybe try to pile on that issue and see if someone can help fix this.

Sure. Thanks for the help!


use of ng2-dynamic-forms in a generic manner?

Hi,
First of all thank you for this great module!
For a part of my application I need the possibility to build a form completely generically.
The client should get the form structure from a backend plugin, together with a JSON object for the initial values. The modified JSON object should be sent back to the backend plugin.
The mapping of the form values to the properties of the JSON object could be set up via the 'id' field. E.g. a JSON pointer could be used as 'id' field.
So far this should not be a problem, but in case of an array form, this is probably not going to be that simple.
However, at the moment, there is no way to create generic buttons, such as to delete a row from an array form. This generic buttons would have to trigger events in the context of the respective array form and the current row
Do you consider this use case as within the scope of this module?
At the moment I'm also wondering how the JSON import works with regard to the 'createGroup' function, or is this method obsolete if an 'originGroup' has been defined? Couldn't the 'originGroup' be defined in the first-place?
Regards
Guenter

Now I have finished the first version of my "GenericFormService" having the following functionality:
FindById (id: string, arrayIndex ?: number): DynamicFormControlModel | undefined
which traverses the full ControlModel-tree to find the corresponding DynamicFormControlModel even if it resides inside nested DynamicForm(Group|Array)Models
initFormContent(content: any, pointerPrefix?: string);
getFormContent(content: any, pointerPrefix?: string);
traverse the full ControlModel-tree and get/set the values from/to the JSON object,
by using a JSON pointer as 'id' field for all ValueControlModels. Inside an array form, the ValueControlModels must provide a JSON  pointer having a marker to be replaced by the array index
I see this functionality is really not generic enough to be part of this library.
Regarding the buttons I talked above: I am planing to provide a handful templates for array1...arrayN on the client side, which can be addressed by the backend by using the corresponding array form IDs...
So although this was all more difficult than I hoped, I should now have a more than viable solution in a very short time.
Many thanks, I am very happy to have found your module!
Guenter
The case can be closed, or perhaps serve as the basis for future extensions?

@gms1 Alright, thanks for your message!
This would habe been the response to your initial post:

If you did not already have a look at the chapter on JSON import/export in README.md, please do so.
The library offers you simple helper functions to export a form model to JSON and to import a form model from JSON via DynamicFormService.
You can find a sample implementation here.

Do you consider this use case as within the scope of this module?

Buttons for form array groups can be defined via custom templates as described in README.md.
In my opinion UI concerns and pure model information should not be mixed up in dynamic form model. This has been discussed here.

At the moment I'm also wondering how the JSON import works with regard to the 'createGroup' function, or is this method obsolete if an 'originGroup' has been defined? Couldn't the 'originGroup' be defined in the first-place?

First of all: JSON import works even when adding form arrays! But you're right, there's a bit of redundancy flaw here. The originGroup property is internally created in order to provide correct JSON export/import functionality. This is one of the last corners of the library where I'll

@gms1 If you're planning to develop some helpful extension for the library I'd be happy to discuss them here.

I will use this package very intensively in the next months and would be glad if I can contribute.
But this use-case, where the client is not supposed to know anything about the form other than the (JSON) form definition and an anonymous object whose content should be
filled and displayed in the form, is really very special.
My abuse of the 'id' field as a json-pointer is hackish but useful; introducing an additional json-pointer attribute would be redundant for this particular use-case and useless for all others.
If desired, and I have worked with this package for some time, I would like to prepare an example for this use-case, which could others help to get started
Guenter

@gms1 Great to hear! Alway interested in example using the library!

@gms1 Your implementation (plunkr sample) will really be helpful. I am on the verge of doing something like that too.


All youtube video error with "Could not find any embeddable media from this URL"

Firstly, thanks for the plugin which has been working great ... until recently. Coming back to a project I was working on I am unable to add any youtube files. Any variation of the link gives the error "Could not find any embeddable media from this URL". This includes trying to re-add videos I have previously added or any random test. Previously embedded video currently in my asset folders work fine. Adding new vimeo embeds also works, just no youtube. Updated to 0.3.4 to see if it helped, but did'nt. Is this a known issue?

Hi, any verification that this is an issue?

Hi, any verification that this is an issue effecting more than just me?

Sorry I missed this issue! That's a strange issue – seems like YouTube is not allowing requests from your server?
Since you're on 0.3.4, have a look at the log file under craft/storage/runtime/logs/embeddedassets.log. Can you tell me what messages you get when requesting a YouTube URL?

I looked for the logs but nothing was being generated. I uninstalled/deleted the plugin and reinstalled the latest version. It fixed whatever the issue was. Probably should have tried that first :) Thanks for the response.

Well then, that was unexpected haha. Can't say I have any idea on why a reinstall would have fixed this but I'm glad it's sorted 👍


getrandom_or_panic

Is this workable @swasilyev ?
You've again made something essential private in fflonk, so this no longer compiles.

Lgtm


⚠ Bofrost.lu has degraded performance

In 381aadf, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1509 ms

Resolved: Bofrost.lu performance has improved in 523ed84.


Feat: Probing with Queue

Monika Pull Request (PR)
What feature/issue does this PR add
This PR fixes #980
How did you implement / how did you fix it
Even though we did not use Bree or Piscina as it is too much effort to refactor, I tried to do a POC using https://www.npmjs.com/package/queue to queue the probing functions.
Supposedly there are 800 probes, when it is time to probe, it will be queued.
How to test
Run Monika with Symon Mode

Could you elaborate more on the differences before and after implementing the queue? I think you could achieve the same result by removing the setTimeout function.


Exception thrown when running on Windows 10 mobile device

An exception is thrown on launch when running on a Nokia Lumia. The exception message and stack trace are here: http://pastebin.com/RfV478Qi
I'm running Visual Studio 2015 Community RC (14.0.22823.1). Windows 10 Insider Preview Build 10130.
Screenshot:

Does anyone have any idea as to why this might happen?

There is currently a bug in the Windows 10 Emulator for CoreInput pointer events. The Visual Studio templates for Windows 10 DirectX/XAML projects also have this problem in the emulator. The code runs fine on a Windows 10 device. I will be pushing some changes in the next few days that work around this problem. For now just run the Windows Store App to test your game. Windows 10 for Phone still requires unreleased updates to Visual Studio 2015 to fully work properly.

Hi Dale,
Thanks for the information.
You mention the the code should run fine on a Windows 10 device. However, I
am receiving the runtime exceptions on a Windows 10 mobile device. Is this
expected?
I'd like to get this set up if I can. Is there anything that I can do to
help?
Rgds,
Aaron.
On Mon, Jun 22, 2015 at 2:53 PM, Dale Stammen<EMAIL_ADDRESS>wrote:

There is currently a bug in the Windows 10 Emulator for CoreInput pointer
events. The Visual Studio templates for Windows 10 DirectX/XAML projects
also have this problem in the emulator. The code runs fine on a Windows 10
device. I will be pushing some changes in the next few days that work
around this problem. For now just run the Windows Store App to test your
game. Windows 10 for Phone still requires unreleased updates to Visual
Studio 2015 to fully work properly.
—
Reply to this email directly or view it on GitHub
https://github.com/MSOpenTech/opencv/issues/55#issuecomment-114111442.


Java App contig names

The -add step does not work if the contig names include a "chr" prefix.  I suspect there is an expectation that the contig name is a 1-2 character string to support 1-22, X, Y.  This would require changes to the java app itself

@sfacista was this corrected in the current jar I can't remember


Is this compatible with Laravel 5.5?

I'd like to use this for a 5.5 project, but the latest update is from the 5.4 time period.  I don't believe there are any issues, but composer likes to complain.

https://github.com/Rhincodon/laravel-eloquent-spreadsheets/pull/15


Request is not logged to sentry using the default django middleware

It looks like there's code to automatically track requests and send them to sentry even when you don't pass extra={'request': request} to the logging call. However, it's not working for us because of the following:
The request gets set in local thread storage here, where self.thread is an instance of raven.contrib.django.middleware.SentryMiddleware, and then read here, where SentryLogMiddleware.thread is a property object, which is not what it was set on, and thus leads to request being None.
Doing some git blaming, I think this broke in https://github.com/getsentry/raven-python/commit/c3e504a0bf77deb9a79bd841e9cacc62c8127901, where SentryMiddleware.thread was changed from a thread-local class variable to a property
This is with raven-python 5.32.0

Not sure how we fucked this one up, but I'll dig into it as glancing over you're definitely right.

That was crazy fast! Thank you for the really quick fix!! :)


MAIN - Do not scroll overflow content

Currently:
When a table is long enough it will scroll on safari and some chrome versions.
Wanted:
This behaviour is inconsistent (even between the same versions of chrome) as such this PR makes no scrolling the sensible default.
Lets talk about this in person.

Messages

:book:
✅  Get a 🏆 for adding description on this PR. - Celebrate on every step!

:book:
✅ Get a 👍 for requesting reviewers. - Celebrating every win!

  Generated by :no_entry_sign: dangerJS against d8338aed2c61c030d81416ac1d7d47f7b2b79090


Update schema

Update compiled schema files given progress in source files

oh, my bad... this is just the build from existing source files. Looks good.


Fix permission issue

Currently the plugin bypasses the permission checks of the users-permissions plugin.
To reproduce the fix, disable a content type's permissions for the public role. It won't be available through Strapi's /api/:contentType route anymore. But you can still access it on the /api/slugify/slugs/:modelName/:slug route, which is a security issue.
To fix it, I added auth information when sanitizing the response. It's what we do on our content API.

Thank you very much for the PR, unfortunately when I test it I still run in to the following issues:

For any content type, if the permissions are unchecked I can still query the actual data.
For any content type, no matter if permissions are provided for the relation, it will not show.
For any content type that has a user relation it will not show no matter the permissions set.


Added code snippet for receiving an inbound call

I've taken the example from: https://github.com/Vonage/vonage-go-sdk/blob/master/docs/examples/voice.md#answer-a-call-or-return-an-ncco-response

Thanks @dragonmantank , I've made the changes as requested. Please let me know what you think.
Also @lornajane now you're back, to bring you in the loop. I'm working on a third Go XwithY tutorial so this is the code snippet for the inbound voice call with NCCO.


Fixed issue #47

Fixed LocalDateTime1.java file throwing an Exception occurring when default system locale is not set to ENGLISH

Related to Issue #47


Directional Light shadow map resolution is dependant on camera aspect ratio.

Changing aspect ratio, making screen very wide will reduce resolution of shadow map of a directional light. Seems like something to do with ortho camera frustum.

Seems expected? Wider your view angle -> larger the camera frustum -> larger the shadow frustum -> lower the resolution.

I can live with resolution change. It's the banding/artifacts that appear (shadow bias related) as the frustum size changes. Makes it really hard to tune shadows if the window size is variable.

Fixed in https://github.com/playcanvas/engine/pull/657


Fix path

This is fixed in the wrong place. /static/ is the correct public path name.

So do you need a fix in the right place? ;)

I fixed it. =)


Use byteorder crate to parse integers and floating point numbers

Is it worth adding a whole crate dependency to change 6 variable assignments?

Hi!
Thanks for the pull request, but I'm not sure either that it warrants importing byteorder. Could you at least provide a little context on why you would need it? A pull request without any comment is a bit raw.

I'd actually be interested in an assembly comparison of nom's and byteorder's method to convert ints :)


registry.brackets.io Error in changing the owner of the extension

When I tried to change the extension owner from the old account https://github.com/qw0101 to the new https://github.com/Taraflex then I specified the full url instead of the account name (https://github.com/Taraflex instead of just Taraflex - I'm an idiot).
As a result, the extension has moved to another account https://github.com/https (without any errors)
Now I can not update the extension to fix compatibility with brackets 1.11
Extension Repository https://github.com/Taraflex/Brackets-Color-Highlighter

@boopeshmahendran Could you have a look at this?

@Taraflex Brackets registry website uses github oauth, and since the ownership of the repository changed, you will not be able to update it anymore.
We could help you with removal of the extension and you could re-upload it from your account. Let us know.

@boopeshmahendran Thanks for the answer. If I upload a new extension with the same namespace qw0101.colorhighlighter, will I be able to update the already installed extensions?
It has 85000+ installations, I want to restore the extension work for old users.


Aysher

Summary
How was it tested?

@SherfeyInv can you add some context to this PR, please? what is the goal here?


DevTools error

I get this error when i add the devtools middleware, and call a store method for the first time. When i refresh the page, i dont get the error anymore.
And ofc, no error without the middleware.

Thx :) Love exome <3

Thanks!
Hmm, I can't seem to reproduce the issue. What build tool are you using?
Could you maybe share a reproducible codesandbox?

I just use webpack (v4). I'll try if i can reproduce. My app is medium sized, so there could be a combination of things in there :)

Made a quick test inside my own app first. It seems like a webpack thing to me:
Changed from
export const alertStore = new AlertStore()

...

alertStore().addAlert()

To
export const alertStore = new AlertStore()

export function getAlertStore(): AlertStore {
  return alertStore
}

...

getAlertStore().addAlert()

and it works. 🤷
So don't think anything wrong with exome :)


Correct English text from pg. 239 (103) to end

Get English TEI file here https://github.com/usaybia/usaybia-data/blob/English-corrections/data/texts/tei/IU-kopf-3.xml#L9943 (start at line 9943)
Open it in Oxygen
Correct transcription of English names according to EI3 guidelines https://referenceworks.brillonline.com/pages/help/transliteration-islam
Correct typos
Add page numbers according to Müller edition https://github.com/usaybia/usaybia-data/blob/master/data/texts/pdf/IU-mueller-1884-vol2b.pdf starting at page 239 (103 in PDF) using <pb ed="mueller-1884" n="2.[page number]">
You can download a transcription keyboard layout here: https://digitalorientalist.com/2014/04/10/the-digital-orientalists-keyboard-layouts-windows-and-mac/

@vanessa612 I have used find/replace to correct some common names. You should see these changes when you "pull" in Github Desktop.

Here's the transcribed Mueller text:
https://github.com/usaybia/usaybia-data/blob/master/data/texts/tei/IU-mueller-1884-vol2b-103-119_tei.xml
and
https://github.com/usaybia/usaybia-data/blob/master/data/texts/tei/IU-mueller-1884-vol2b-120-138_tei.xml


Add support for steelseries kinzu v3 device

Added support for the SteelSeries Kinzu V3

You also need to add the .device file in meson.build.


btn corners in btn-group not rounding

Using bootstrap with Ember.js and Handlebars.  Using ember views to create buttons in a group works fine, but using handlebars to conditionally place elements into the btn-group causes display issues with the button corners.  jsFiddle illustrates the issue:
http://jsfiddle.net/mTArD/
Seems like the root cause is that when using {{#if}} in handlebars, it sticks in a script tag which always seems to result in square edges on the button when it is the last item in the button group.

Thank you odigity for the solution, it works excellent!


Typescript doesn't realize record can return undefined

Hey there. Just ran into an issue where typescript didn't realize that a key can not exist in a record. It assumes no matter what key you use, it will return the defined type.
import { z } from "zod"

const testContract = z.record(z.string(), z.number())

type TestType = z.infer<typeof testContract>

const testObject: TestType = {
  hello: 1,
  world: 2,
}

// Typescript has no problem with this, but I'd expect it to
// complain about the potential for it to be undefined
const x: number = testObject["not in object"]

Is this expected behavior?

Yes, this is TypeScript's default behavior. If you want TypeScript to flag this potential issue, you can enable the noUncheckedIndexedAccess option in your tsconfig.json.

@sunnylost ah got it. Thanks.


generation folder is not in $MAGENTO_ROOT/var/ but $MAGENTO_ROOT/

In the installer we have find $MAGENTO_ROOT/var/generation -type d -exec chmod g+s {} \;
But the generation folder is in find $MAGENTO_ROOT/generation -type d -exec chmod g+s {} \;

actually its not even called generation but generated, or am i missing something?

This changed between Magento versions a while back. The installer is probably just written for the older version.


Added the event name to the CommentReportedEmailService and its template

For issue #349
JIRA JOINDIN-699

Can one of the admins verify this patch?

OK to test

ok to test


[SP Заяви] Not enough information about child is shown

Environment: macOS Big Sur 11.5.1; Chrome version 99.0.4844.51.
Reproducible: always.
Build found:
gcp-0.0.116
gcp-0.0.55
Preconditions
Follow link https://oos.dmytrominochkin.cloud/#/
Log in as SP Email<EMAIL_ADDRESS>Password: Qwerty1!
Steps to reproduce

Go to "Мої заяви" page by clicking in the top right corner drop-down list.
Hover cursor over child's name

Actual result
Information is different from the design.

Expected result
information fields should be the same as on the design.

User story and test case links
US https://github.com/ita-social-projects/OoS-Backend/issues/173
TC https://jira.softserve.academy/browse/OS-474
Labels to be added
"Bug", Priority ("pri: medium"), Severity ("severity: minor"), Type "Functional"

Fixed


i18n plugin issue

Hi, I'm using your plugin . It's awesome! But when I used i18n in my project, it got wrong. It can't run normal and console with TypeError. I don't know how to fix this problem. Can you help me?

Hi,
Please create a repository with a minimal reproduction showing the issue, and file an issue pointing to that repository.

Hi, very thanks for your reply.
My friend tell me this problem is because I used this plugin and vueI18n plugin to build in the same time. When I remove vueI18n plugin setiting in config file, It can be worked normal. So my problem is be fixed.


Incorrect Constant Values for Standard Device Request Codes

In consts.rs the codes for SetInterface and SynthFrame (should be SynchFrame) are incorrect.
They are currently 0x11 and 0x12 respectively, but should be decimal 11 and 12 (0x0B and 0x0C).
They are specified in Table 9-4 of the USB 2.0 specification.
https://www.usb.org/document-library/usb-20-specification (usb_20.pdf, page 251).
I would be happy to create a pull request, but it's such a small fix it would probably be quicker for someone else to just do it.
Thanks

I was referring to https://www.beyondlogic.org/usbnutshell/usb6.shtml#StandardDeviceRequests, so it seems that the website is wrong as well.

I have informed the author of usb in a nutshell!


[BUG] System.Reflection.TargetInvocationException on BitmapLoader.Current

Describe the bug
I am using akavache and LoadImageFromUrl(key,url,fetchalways,...) method. As I can see this calls the BitmapLoader.Current.Load() method this throws an exception. Possible the Reflection of the PlatformBitmapLoader fails when BitmapLoader.Current is called
Expected behavior
An image is loaded 😁
Environment(please complete the following information):

OS: Android (iOS is fine)
Akavache: 5.0.0 (can't use any other right now)
Splat: 3.0.0 (can't use any other right now)

Additional context
{
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.-- - > System.TypeInitializationException: The type initializer
    for 'Splat.PlatformBitmapLoader'
    threw an exception.-- - > System.InvalidOperationException: Sequence contains no matching element
    at System.Linq.Enumerable.First[TSource](System.Collections.Generic.IEnumerable `1[T] source, System.Func`
        2[T, TResult] predicate)[0x00011] in < ba85ba5122c3499483c4d8a7ac6f7e5a >: 0
    at Splat.PlatformBitmapLoader..cctor()[0x00026] in < b69f18e916c449f19b169602282b9d0f >: 0
        -- - End of inner exception stack trace-- -
        at(wrapper managed - to - native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod, object, object[], System.Exception & )
    at System.Reflection.MonoCMethod.InternalInvoke(System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions)[0x00005] in < 58604 b4522f748968296166e317b04b4 >: 0
        -- - End of inner exception stack trace-- -
        at System.Reflection.MonoCMethod.InternalInvoke(System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions)[0x0001a] in < 58604 b4522f748968296166e317b04b4 >: 0
    at System.RuntimeType.CreateInstanceMono(System.Boolean nonPublic, System.Boolean wrapExceptions)[0x000a8] in < 58604 b4522f748968296166e317b04b4 >: 0
    at System.RuntimeType.CreateInstanceSlow(System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark & stackMark)[0x00009] in < 58604 b4522f748968296166e317b04b4 >: 0
    at System.RuntimeType.CreateInstanceDefaultCtor(System.Boolean publicOnly, System.Booean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark & stackMark)[0x00027] in < 58604 b4522f748968296166e317b04b4 >: 0
    at System.Activator.CreateInstance(System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions)[0x0002c] in < 58604 b4522f748968296166e317b04b4 >: 0
    at System.Activator.CreateInstance(System.Type type, System.Boolean nonPublic)[0x00000] in < 58604 b4522f748968296166e317b04b4 >: 0
    at System.Activator.CreateInstance(System.Type type)[0x00000] in < 58604 b4522f748968296166e317b04b4 >: 0
    at Splat.AssemblyFinder.AttemptToLoadType[T](System.String fullTypeName)[0x000bb] in < b69f18e916c449f19b169602282b9d0f >: 0
    at Splat.BitmapLoader..cctor()[0x00000] in < b69f18e916c449f19b169602282b9d0f >: 0
}

{
    System.TypeInitializationException: The type initializer
    for 'Splat.PlatformBitmapLoader'
    threw an exception.-- - > System.InvalidOperationException: Sequence contains no matching element
    at System.Linq.Enumerable.First[TSource](System.Collections.Generic.IEnumerable `1[T] source, System.Func`
        2[T, TResult] predicate)[0x00011] in < ba85ba5122c3499483c4d8a7ac6f7e5a >: 0
    at Splat.PlatformBitmapLoader..cctor()[0x00026] in < b69f18e916c449f19b169602282b9d0f >: 0
        -- - End of inner exception stack trace-- -
        at(wrapper managed - to - native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod, object, object[], System.Exception & )
    at System.Reflection.MonoCMethod.InternalInvoke(System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions)[0x00005] in < 58604 b4522f748968296166e317b04b4 >: 0
}

{
    System.InvalidOperationException: Sequence contains no matching element
    at System.Linq.Enumerable.First[TSource](System.Collections.Generic.IEnumerable `1[T] source, System.Func`
        2[T, TResult] predicate)[0x00011] in < ba85ba5122c3499483c4d8a7ac6f7e5a >: 0
    at Splat.PlatformBitmapLoader..cctor()[0x00026] in < b69f18e916c449f19b169602282b9d0f >: 0
}

What version of Android are you using?

currently testing on android 7.0

Ah that's be likely why. Our minimum is Android 81

Devices with Android 9 and 8 are also not working

I'm talking about in your target framework not so much the devices.

Target is 8.1

I will have a look at it tomorrow my time for you. See what I can find.

We have similar crashes for users with on Android 8.0 devices according to Fabric...

After some debug, there is a weird thing happening:

.GetAssemblies() contains assembly with a name __callback_factory__, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null.
SelectMany(x => x.GetTypes() throws an excption for that assembly

Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Type '__callback_factory__class__' is not finished

potential fix in #337 but is there a better way than to skip all dynamic assemblies if they could have a genuine use case for generating drawable resources via reflection? (not sure they do, merely posing the question)
@IamTobi unfortunately this won't be an immediate help to you if you are blocked on akavache 5\splat 3.

Any idea oh how to use a local method for assembly loading?
Currently, the crash happening in a static constructor, so the path to Splat.BitmapLoader.Current = new MyAndroidBitmapLoader() can't be reached...
The NuGet package can't be removed, as there are a few other libraries that reference Splat.
So far the only workaround I see is to keep the original NuGet reference but replace the DLL reference in the project to the custom one (that built from the source code using fixed assembly loading).
Is there any better solution to try?

just to clarify - do you mean having a custom splat v3?
what's blocking you getting onto v7?
moving forward we can probably do something to allow service locator registration of platformbitmap loader
public static void InitializeSplat(this IMutableDependencyResolver resolver)

We have a bit outdated production that uses Splat 2.0.0, and development that the latest 7.2.1.
We can't easely update production to the newer version because of other libraries - to much hustle.
I've tried to follow the next approach:

Copy source code of PlatformBitmapLoader to the project from Splat 2.0.0 release
Modify static PlatformBitmapLoader() logic to fix an issue
On app setup replace plugin singleton with custom implementation Splat.BitmapLoader.Current = new MyAndroidBitmapLoader()

Usually that helps, but in the current case the problem happens before .Current setter invoked:
https://github.com/reactiveui/splat/blob/48fabe2087a21b11d9cdc1a19227888229239aa1/src/Splat/Bitmaps/BitmapLoader.cs#L18
Also, the latest Splat NuGet package still has the issue and we need the fix now.

Also, the latest Splat NuGet package still has the issue and we need the fix now.

I don't see you contributing to the project nor your employer? We don't commit to any sort of timeline since everyone here is basically volunteering their time. https://www.youtube.com/watch?v=Mm_RuObpeGo for some ideas why sometimes open source developers are jerks.
Essentially @dpvreony when his life permits will get that fix out there in the wild, and if we have per our open collective policy https://opencollective.com/reactiveui be happy to give your issue priority.
Thanks.

@glennawatson I'm sorry for being impolite. I didn't have attention to insult or force to fix an issue.
I just wanted to point out that I understand that the fix won't be available immediately, and we just looking for a local workaround while the new version is released.
Hoped to get your thoughts, if you see any better solution then described.

I will see how far away @dpvreony is coming from the fix. That is a fairly standard reply if people start requesting changes immediately and stuff. There is definitely a problem where sometimes clients of open source products tend to expect guaranteed support levels and stuff so no offense intended and none taken.

the challenge is splat v3 can't use an assembly rebind to v7.x because of the amount of breaking changes that have happened.
exceptions in static constructors basically mean the type is never available in the appdomain. the way the platformbitmap is set up makes it a bit difficult to retrospectively interact with. I touched on us changing the initialisation to allow injecting like you can do with the DI locator. but again that's future and won't solve your problem.
can you confirm you are using vs2017 or vs2019? other issues rearing their head recently are down to a change in vs2019 and xamarin. so if that's the case you could build with vs2017.
if you need a v2/v3 capable library you may to take a fork of v3 and copy the fix
https://github.com/mono/mono/blob/22887567e1663b101c37fa29ec1613175337f944/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs#L820 is where the issue is occuring. I need to build a unit test and run it on the android test runner. I removed part of a fix on checking the dynamic type yesterday as I thought the try \ catch should handle it, but having looked at mono i'm not convinced.

Was this fixed in v8 for you guys?

followed up the quick fix with unit tests in test runner. and flexibility in the splat init to allow the default bitmap loader to be changed


Unable to run tests within testcafe docker image - Unable to find modules

Are you requesting a feature or reporting a bug?
Reporting an issue with the testcafe docker image.
We are trying to run the tests through the docker image on Jenkins and are encountering an issue where it cannot find the NPM modules.
What is the current behavior?
Jenkins logs the error as:
ERROR Cannot prepare tests due to an error.

Error: Cannot find module 'dotenv'
    at Object.<anonymous> (/app/config.js:3:12)
    at Object.<anonymous> (/app/tests/web/auth/emailLoginTests.js:1:16)

How would you reproduce the current behavior (if this is a bug)?
Our Jenkins build does the following shell commands:

Uses Ansible vault to decrypt our secret file
copies the decrypted file into a .env file
docker pull testcafe/testcafe
docker run -v `pwd`:/app -i testcafe/testcafe chromium /app/tests/web/auth/emailLoginTests.js -e

Steps 1 to 3 are successful but step 4 isn't.
Provide the test code and the tested page URL (if applicable)
In our base directory we have a config.js file that is used to interact with our .env file, below is the relevant section.
Our package.json contains the donenv in our dependencies.
Test code:
const path = require('path');
const fs = require('fs');
const en = require('dotenv');

const _environment = 'staging';

en.load({
  path: path.resolve(__dirname, './.env')
});

Specify your

operating system: MacOS (High Sierra)
testcafe version: 0.20.2
node.js version: 8.11.1

Hi @dsayerjp, you should set  the NODE_PATH variable to /app/node_modules or to the directory where your Node.js modules are installed (in this case probably you will need to mount the directory as an additional volume):
docker run -v `pwd`:/app -e "NODE_PATH=/app/node_modules" -i testcafe/testcafe chromium /app/tests/web/auth/emailLoginTests.js -e

Hi @AndreyBelym, thanks for your response. I've managed to get this working.


fix: Update sourcehut API response to get properly formatted URLs

sorry I pushed previously w/o fmt


Feature/deseng692: Reverted to previous title logic for video widget

Issue #: https://citz-gdx.atlassian.net/browse/DESENG-692
Description of changes:

Removed unneeded columns from db (title from widget_video table and associated translation column)
Updated all other met_api and met_web logic to accomodate this
Title is now pulled from widget table, not widget_video table

User Guide update ticket (if applicable):
N/A

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

Project coverage is 75.11%. Comparing base (e594f0d) to head (12f4f29).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2595   +/-   ##
=======================================
  Coverage   75.10%   75.11%
=======================================
  Files         612      612
  Lines       22254    22244   -10
  Branches     1870     1868    -2
=======================================
- Hits        16714    16708    -6
+ Misses       5267     5263    -4
  Partials      273      273

Flag
Coverage Δ

metapi
87.13% <100.00%> (+<0.01%)
:arrow_up:

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

Files with missing lines
Coverage Δ

met-api/src/met_api/models/widget_translation.py
98.00% <ø> (-0.04%)
:arrow_down:

met-api/src/met_api/models/widget_video.py
100.00% <ø> (ø)

met-api/src/met_api/schemas/widget_translation.py
100.00% <ø> (ø)

met-api/src/met_api/schemas/widget_video.py
100.00% <100.00%> (ø)

...src/met_api/services/widget_translation_service.py
76.47% <ø> (+0.88%)
:arrow_up:

...t-api/src/met_api/services/widget_video_service.py
94.28% <ø> (-0.16%)
:arrow_down:

...s/engagement/form/EngagementWidgets/Video/Form.tsx
75.38% <ø> (+0.38%)
:arrow_up:

...agement/old-view/widgets/Video/VideoWidgetView.tsx
19.51% <ø> (+0.46%)
:arrow_up:

.../src/services/widgetService/VideoService/index.tsx
27.27% <ø> (ø)


[1.12.2] ERROR finding liquid_egg

Issue Description:
Found this error in my Minecraft logs (first four lines - included the following lines in case they were useful):
[18:34:32] [main/ERROR] [chickens]: Item could not be Found: chickens:liquid_egg
[18:34:32] [main/ERROR] [chickens]: Item could not be Found: chickens:liquid_egg
[18:34:32] [main/ERROR] [chickens]: Item could not be Found: chickens:liquid_egg:1
[18:34:32] [main/ERROR] [chickens]: Item could not be Found: chickens:liquid_egg:1
[18:34:32] [main/INFO] [chickens]: Enabled chickens: [WhiteChicken, BlueChicken, GunpowderChicken, WaterChicken, BlackChicken, IronChicken, BlazeChicken, LogChicken, EmeraldChicken, StringChicken, MagentaChicken, LimeChicken, pShardChicken, pCrystalChicken, SnowballChicken, YellowChicken, PurpleChicken, GreenChicken, QuartzChicken, SandChicken, SilverDyeChicken, soulSandChicken, LightBlueChicken, GlassChicken, DiamondChicken, obsidianChicken, GhastChicken, RedstoneChicken, FlintChicken, CyanChicken, RedChicken, EnderChicken, LeatherChicken, NetherwartChicken, PinkChicken, GlowstoneChicken, CoalChicken, LavaChicken, SmartChicken, OrangeChicken, ClayChicken, SlimeChicken, MagmaChicken, GrayChicken, BrownChicken, GoldChicken]
[18:34:32] [main/INFO] [chickens]: Disabled chickens: []
[18:34:32] [main/INFO] [chickens]: [NORMAL] biome type will spawn [WhiteChicken, LogChicken, SandChicken, FlintChicken] ({})
[18:34:32] [main/INFO] [chickens]: [SNOW] biome type will spawn [] ({})
[18:34:32] [main/INFO] [chickens]: [NONE] biome type will spawn [] ({})
[18:34:32] [main/INFO] [chickens]: [HELL] biome type will spawn [QuartzChicken, soulSandChicken] ({})

Steps to reproduce (important):

Start Minecraft.
Quit Minecraft without loading a savegame.
Look at logs.

What happens:
Got an ERROR :D
What you expected to happen:
Not get an ERROR! ;)

Affected Versions (Do not use "latest"):

Chickens: chickens-6.0.3
Minecraft: 1.12.2
Forge: forge1.12.2-<IP_ADDRESS>5

I get the same thing.


Function Arguments default to "number" type

test = function(a,b)
  return a.type + " " + b.type
end

When typed into console:
>> test()
"number number"
>> test(1)
"number number"
>> test(1,2)
"number number"
>> test('a')
"string number"

All variables default to 0, but variable.type==0 adds the ability to check if variables are unused or undeclared
I had hoped to use this to check for missing arguments, or write functions with 'optional' arguments (such as a function that can accept a 'Vector2' object or separate 'X,Y' arguments)

Yes this is something that should be fixed, currently an omitted argument translates to 0 with type "number", should be 0 with type 0 instead, as you say. I will be working on a fix.

On a related note, Number.parse() could have a similar behavior, such that you could test result.type == 0 in case the string couldn't be converted to a number.

Default argument values have been improved in the commit below (default argument is now only used when the arg was actually omitted in the function call ; previously was also activated when passing 0) ; also this commit introduced the arguments list which you can access in the function and use to check for omitted arguments.
Commit: https://github.com/pmgl/microstudio/commit/e0bbe4ed209482c215e7f74d35a461aea771889f
You may now write your test function like this:
test = function(a,b)
  return arguments[0].type + " " + arguments[1].type
end

Or another possibility to check for omitted arguments:
omitted = object end

test = function(a=omitted,b=omitted)
  if b == omitted then print("b was omitted") end
  if a == omitted then print("a was omitted") end
end

@pmgl, to be honest, the way I see it,... this all seems to me like just more laborious, error-prone and beginner-unfriendly ways of having a nil type in microscript after all...
From a user perspective, it would be much more comfortable to just be able to ask if a == nil or if not a, and having the details of that being handled by microscript under the hood, in whatever way it must.
I'm just saying.

Good point ; I am reopening the issue. I am not in favor of introducing a nil value, however I think the testing of the argument types should be made easier, as in if not a.type then print("no value was provided for a") end. That wasn't done because... it is a bit difficult with the current implementation of microScript ; but certainly not impossible.

Well,... what I was really trying to say is that I think you already have a nil value in microscript... except it's more complicated to work with than usual.
From my perspective, as a user, all those type 0 checks are no different from any regular nil checks. They serve exactly the same purpose. Except they require more typing and more brain effort. And more learning.
It really seems to me that you're trying to avoid having what you already have.
To be clear, I'm not saying you should replace all that with a nil value. I'm not suggesting features, I'm just letting out my thoughts.
But I am wondering if it wouldn't be possible to make all that work as if there was a nil value, where a user could just simply do ìf not a or if a == nil, and microscript, under the hood, would automatically check for the 0 type, and the user wouldn't have to care about those details.

By the way, I just noticed that arguments default to number type when they're not omitted but should still be taken as undefined or nil. An example is when an non-existent object field is passed to the function. E.g. this doesn't work (I was trying to do this to simplify a whole bunch of complex validity checks):
omitted = object end

init = function()

  settings = object end

  print(settings.foo.type == 0)   //-- 1

  settings.foo = get_field_or_default_val(settings.foo, 10)

end

get_field_or_default_val = function(arg=omitted, default_val)
  print(arguments[0].type == 0)  //-- false
  print(arg == omitted)          //-- false
  print(arg.type)                //-- number

  // if arg is nil, return the default value,
  // else validate arg and return it if valid
  // but... it's never, in some way, nil

  return default_val
end


Gradients rendeirng off on Os X 10.9.5 with Ati Radeon HD5750 1gb.

I'm curious if anyone else has the same problem, it is probably driver related but a nasty one nonetheless.
A while ago with the 1.0 stable release I was noticing a similar problem with the button controls, so it has been around for a long time it seems. Although certainly Os X/driver specific in my opinion. Here are some example screenshots of how this affects the light demo:

i think this is fixed


Cannot select empty-string array element or change it with replace/set.

Go to the REPL and enter
[""]

as JSON data and execute this query: /0.
Actual result: undefined.
Expected result: empty string.
Due to this issue it's impossible to change empty-string array element with replace or set.

Also an issue with object properties:
In REPL, enter:
{
  "title": ""
}

as JSON data, and execute the following query:
/title

Actual result: undefined
Expected result: ''


⚠ Bofrost.at has degraded performance

In 82a70b4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1432 ms

Resolved: Bofrost.at performance has improved in 27e7fa3 after 10 minutes.


odo polarion phase 1 onboarding

/kind feature
/area testing
Test metrics and test results analysis will be better defined in polarion. We can define any kind of matrix as per requirement in polarion. This will also help in creating release readiness doc in no time (I mean less time) as stated in #4649
Task to be completed:

[ ] Define frequency of test results to be published in Polarion
[ ]  Define test suite to be included in Polarion test results
[ ]  Develop scripts to create test cases in Polarion project
[ ]  Develop scripts to update test results in Polarion project

comment: https://github.com/openshift/odo/issues/4649#issuecomment-873854609

Scope of the issue:

[ ] Complete Polarian training module
[ ] Use pylero to interact with polarian
[ ] github integration with polarian
[ ] Automate importing test cases to polarian from github using python (This needs lots of research)
[ ] Follow up with other QE team who has some progress towards it

Collecting information from interop team and going through doc . I have scheduled a walkthrough with them to understand their approach clearly.

Other approach for importing test cases into polarian is using XUnit reports generated after every test run. Process follows polarion steps and get XUnit reports from odo periodic job to extract the data. Finally set up scenario.json for odo and run commands
polarion import-testcases <directory of xunit files> -r <req-name> --log-level "debug" --automation_script "https://github.com/red-hat-storage/ocs-ci"

It should import the test case by NAME to polarion.

Other approach for importing test cases into polarian is using XUnit reports generated after every test run. Process follows polarion steps and get XUnit reports from odo periodic job to extract the data.

We don't get reports generated in the artifacts if build fails. Looking into this case, will update my approach soon

Import test cases to polarion:

[ ] fork PIT-Tools to openshiftdo gitlab
[ ] Understand the entire code base and identify the basic minimal requirement for odo test cases
[ ] Modify and set the requirement. Code refactoring
[ ] Follow polarion doc to fetch the test cases successfully (test cases are fetch with name properties in XUnit report)

We need to figure out a way for https://github.com/openshift/odo/issues/4874#issuecomment-888146725

[ ]  Understand the entire code base and identify the basic minimal requirement for odo test cases

Is there no one can pair up and guide/explain to us what might be relevant for our use case? Imagine someone trying to make a change in a part of k8s. Should they have to understand the entire code of k8s?

[ ]  Modify and set the requirement. Code refactoring

What requirement? Refactor which code? The code that you are going to understand in the step above? Really?

Is there no one who can pair up and guide/explain to us what might be relevant for our use case? Imagine someone trying to make a change in a part of k8s. Should they have to understand the entire code of k8s?

I will try to get help from interop team on this because it belongs to them.

What requirement? Refactor which code? The code that you are going to understand in the step above? Really?

We need to remove everything which is not useful for us. Modifying some data as per the requirement. Before jumping into this I need to have a call with concerned team.

What about the scope mentioned in https://github.com/openshift/odo/issues/4874#issuecomment-876170008? I don't see an update to any of the items mentioned there.
What about https://github.com/openshift/odo/issues/4874#issuecomment-881477854? Did you have a call with the concerned team? What was the outcome? I don't see any update on this issue on GH.

What about the scope mentioned in #4874 (comment)? I don't see an update to any of the items mentioned there.

So the scope mentioned in comment needs regex to fetch each and individual test cases by name . This was the one approach. I tried looking for such regex but it seems very complex to fetch our scenarios with this approach that's why I looked around for alternative approach. However first fetching the scenarios with regex would be really best one, if someone can help me with those.

What about #4874 (comment)? Did you have a call with the concerned team? What was the outcome? I don't see any update on this issue on GH.

Subsequent comments are the outcome of that call.

So far I have tried multiple approaches(regex, XUnit) and now feeling kind of lost. Currently I am going through discussion around polarion in issue . As per the discussion we need to introduce test attributes [rfe_id: xxx, crit: (low/med/high), type: negative, vendor:cnv-qe.redhat.com] to import the same kind of test cases into polarion, also avoid duplicates. As our test cases also use nested When, I think we need to apply When Id as well. Before moving forward with the implementation I am going to have a call with CRW team to get some suggestion and ideas.

My observations so far:

It's really messy and complex to write regex to import test cases into polarion.
We can not use xUnit reports for polarion integration because for failed job it does not generate such report.

Proposal:

a POC with project tests where we add test attributes to simplify writing regex. For ex:

package project

import (
	"strings"

	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
	"github.com/openshift/odo/tests/helper"
	"github.com/tidwall/gjson"
)

var _ = Describe("[rfe_id:100][crit:medium][vendor:cnv-qe@redhat.com][level:component]odo project command tests", func() {
	var commonVar helper.CommonVar

	// This is run before every Spec (It)
	var _ = BeforeEach(func() {
		commonVar = helper.CommonBeforeEach()
	})

	// Clean up after the test
	// This is run after every Spec (It)
	var _ = AfterEach(func() {
		helper.CommonAfterEach(commonVar)
	})

	It("[test_id:1000]should display machine ouptut when getting help for odo project list", func() {
		output := helper.Cmd("odo", "project", "list", "--help").ShouldPass().Out()
		Expect(output).To(ContainSubstring("Specify output format, supported format: json"))
	})

	It("[test_id:1001]should be able to get project", func() {
		projectGetJSON := helper.Cmd("odo", "project", "get", "-o", "json").ShouldPass().Out()
		getOutputJSON, err := helper.Unindented(projectGetJSON)
		Expect(err).Should(BeNil())
		valuesJSON := gjson.GetMany(getOutputJSON, "kind", "status.active")
		expectedJSON := []string{"Project", "true"}
		Expect(helper.GjsonMatcher(valuesJSON, expectedJSON)).To(Equal(true))

	})

	It("[test_id:1002]should display the help of project command", func() {
		projectHelp := helper.Cmd("odo", "project", "-h").ShouldPass().Out()
		Expect(projectHelp).To(ContainSubstring("Perform project operations"))
	})

	It("[test_id:1003]should display only the project name when running command with -q flag", func() {
		projectName := helper.Cmd("odo", "project", "get", "-q").ShouldPass().Out()
		Expect(projectName).Should(Equal(commonVar.Project))
	})

	It("[test_id:1004]should list current empty project in json format", func() {
		projectListJSON := helper.Cmd("odo", "project", "list", "-o", "json").ShouldPass().Out()
		listOutputJSON, err := helper.Unindented(projectListJSON)
		Expect(err).Should(BeNil())
		partOfProjectListJSON, err := helper.Unindented(`{"kind":"Project","apiVersion":"odo.dev/v1alpha1","metadata":{"name":"` + commonVar.Project + `","namespace":"` + commonVar.Project + `","creationTimestamp":null},"spec":{},"status":{"active":true}}`)
		Expect(err).Should(BeNil())
		Expect(listOutputJSON).To(ContainSubstring(partOfProjectListJSON))
	})

	It("[test_id:1005]should list current empty project", func() {
		helper.WaitForCmdOut("odo", []string{"project", "list"}, 1, true, func(output string) bool {
			return strings.Contains(output, commonVar.Project)
		})
	})

	When("creating a new project", func() {
		var projectName string

		BeforeEach(func() {
			projectName = helper.RandString(6)
			helper.Cmd("odo", "project", "create", projectName).ShouldPass()
		})

		It("[test_id:1006]should delete a project with --wait", func() {
			output := helper.Cmd("odo", "project", "delete", projectName, "-f", "--wait").ShouldPass().Out()
			Expect(output).To(ContainSubstring("Waiting for project to be deleted"))
		})
	})

	When("creating a new project with -o json", func() {
		var projectName string

		BeforeEach(func() {
			projectName = helper.RandString(6)
			helper.Cmd("odo", "project", "create", projectName, "-o", "json").ShouldPass()
		})

		It("[test_id:1007]should delete project and show output in json format", func() {
			actual := helper.Cmd("odo", "project", "delete", projectName, "-o", "json").ShouldPass().Out()
			values := gjson.GetMany(actual, "kind", "message")
			expected := []string{"Project", "Deleted project :"}
			Expect(helper.GjsonMatcher(values, expected)).To(Equal(true))

		})
	})
})

Also we can think of adding a dummy test, just to check whether this approach works or not.

@kadel @dharmit Could you please share your inputs on this.

An option can be to setup the IBM Cloud Toolchains integration with JIRA and then setup Integration form JIRA to Polarion

An option can be to add the IBM Cloud Toolchain integration with JIRA and the use the JIRA - Polarion connector.
This will require:

[ ] Review JIRA - Polarion connector documentation
[ ] Request required Access and tokens
[ ] Review https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-jira
[ ] Do PoC using Polarion development or staging environment

I don't think that we are going to focus on this in newer future, especially considering almost 0 QE assigned to odo.
/close


Develop

Merging main with develop branch on task file.

merging of main with develop branch is completed.


Accelerate mh_sha1_murmur3 by crypto extension on aarch64

This patch use ARM crypto SHA1 extension to perform multi-hash
with interleaving murmur3
Change-Id: I088c6e60ac17d27606fe41f3022ed3ba492d868c
Signed-off-by: Daniel Hu<EMAIL_ADDRESS>

Looks OK.  I will schedule for integration.


About the supply of mm_projector.bin

Is it possible to provide the mm_projector.bin of [MobileVLM-3B], as I only found the bin file of 1.7B in your files

Do you get the mm_projector.bin? I do not find it


[1.x] Added windows environment to integration test workflow.

Description
Added windows environment to integration test workflow.
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

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

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

Codecov Report

Merging #412 (468710f) into 1.x (211aa7f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              1.x     #412   +/-   ##
=======================================
  Coverage   56.60%   56.60%
=======================================
  Files         196      196
  Lines        4759     4759
  Branches      650      650
=======================================
  Hits         2694     2694
  Misses       2063     2063
  Partials        2        2

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Scrolling on OS X 10.x stops scrolling inside scroll area when viewing next chunk

It appears that the scroll handoff between clusters inside a large list causes some problems with OS X smooth scrolling. See video: http://d.pr/v/1fQ67

Same happening for me too, tested on OSX Chrome.
I scrolled with touchpad to the bottom of the container quite fast; it's works if you scroll slower

Same here.

Thanks for the feedback. I'm working on it.
I believe this happens when new cluster inserts to DOM, so as temporary workaround you could increase rows_in_block. In demo page it's specified about 25 everywhere, so you could try to set it 100. In total your table would contain 400 DOM elements, which anyway is better than 10000.
You could change that option in playground http://nexts.github.io/Clusterize.js/#playground

Same happening when rows_in_block pushed to 100

Same thing here. Great demo, btw!

Yeah, depending on rows_in_block it will allow you to keep finger/wheel scrolling a bit more or less. I think the best fix for it (meaning not to have this bug even when doing a crazy-fast-as-flash scroll), is to use a library like iscroll or similar to overwrite the native scrolling.

I'm seeing the same on OSX with inertial scrolling of the trackpad.  However, using the scrollbar itself and dragging it up/down does not cause the problem - Even when dragging the scrollbar much faster than inertial scrolling of the trackpad.  I suppose this is due to mouse pointer being "anchored" to the scrollbar control by its "mouse button down" event.

I do experience the same thing. It's a lot less when you set the rows_in_block to 200 but then it's starting to lag...
The demo is awesome :)

This might be related to #11 on other devices.

I concur. While scrolling through lists, it jumps to the page scroll instead.

@mikelittman @klihelp @abacaj @mathieudutour @cameron @tomasdev @kpowick @skitiz
Hello guys, please check if last commit (v0.10.0) helps.
Solution is a little bit crazy but it works in Chrome, as for me.
I'm still experiencing this issue with Safari on Mac, because Safari doesn't apply style that added before scrolling. It apply style when scrolling completes. I've tried various tricks to force Safari to redraw/repaint style, but without luck. Need some time for investigation.
Btw, someone please check other browsers on Mac.

Working in chrome 45, firefox 37 and Safari 9

Latest Chrome on OS X 10.10.4 is much better, though using the scrollbar still results in a smoother experience than inertial scrolling of the trackpad.  Safari (8.0.7) still exhibits some "jerkiness" or temporary freezing of the scrolling list when using the trackpad.  Using the scrollbar is ok.

Yeah, in Safari scrolling locks up in Safari 9 for me too still. Has there been any progress on this or maybe a commit in a branch we can test?
Happens in the demos and in my own implementation I'm resizing other elements on the page based on the td widths whenever the clusters update and when it locks up it it makes the other elements to resize incorrectly by a lot.

There's also a strange issue about scrolling by dragging the scrollbar around in Safari 9.0.1: https://cloudup.com/cFkhiYqEuKT

@OscarGodson Unfortunately I have no my own Mac yet so I can not dive into it completely.
@as-com Could you please provide some simplified codepen/jsfiddle example?

@as-com, yep, just becase clusterize (scrollEv) needs to be added to "wheel" event (for scrollElement & document) and looks like it solves this issue.

@vamp I want keep scrolling native

Finally I got Mac with OS X v10.11.6
Can't reproduce this problem anymore. Works as expected in Chrome 55.0.2883.95, Safari 10.0.2, Firefox 50.1.0
Does someone still experience this problem?
If not I'll close this issue in one month.


Engineer

Very helpful , thanks !

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

ID: a8a0ac96-e410-b481-9fdb-90d827a98935
Version Independent ID: 6a133cdf-a66a-9807-d431-2e0ae43b253b
Content: Azure Functions Overview
Content Source: articles/azure-functions/functions-overview.md
Service: functions
GitHub Login: @mattchenderson
Microsoft Alias: glenga

@dotnetooo thanks for the feedback!
@mattchenderson great work on the doc!


Add hardware_divider to pico_divider dependencies

Fixes build when pico_stdlib isn't included in the target libraries:
pico-sdk/src/rp2_common/pico_divider/divider.S:8:10: fatal error: hardware/divider_helper.S: No such file or directory
Also fixes the same error in pico_double, though I'm not sure how/why:
pico-sdk/src/rp2_common/pico_double/double_aeabi.S:9:10: fatal error: hardware/divider_helper.S: No such file or directory

thanks


Create/Delete localstorage key on Firefox 17 doesn't generate an event

On Firefox 17, and possibly other browsers, a localstorage.setItem() immediately followed by a localStorage.removeItem()does not generate astorage` event on other contexts.  This breaks the communication between tabs for the IWC.  According to the Web Storage spec, the event should be sent, and Firefox 24 and later does seem to send this event.
Acceptance criteria:

Determine which browsers properly send the event.  For those browsers, use the current behavior.
For Firefox 17 and other browsers, do not immediately delete the key.  Call localStorage.removeItem() in the storage event handler.  This will minimize the time that the storage space is occupied and prevent the need to set a timer.

Removing a non-existent storage item should not throw an exception, but if it does it should be ignored.

PR #189 fixed keyword issues and added some better IE compatibility.
Further issues for IE see #188


feat(nuxt): reference spa loading template from base layer

🔗 Linked issue
#24275
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[X] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
An option to also extend spaLoadingTemplate from base layer.
📝 Checklist

[X] I have linked an issue or discussion.
[X] I have updated the documentation accordingly.

Possible problem here would be if users give any name other than base. I added as base because it is what is written on documentation.
Is it possible to extend multiple local layers? If not one possible solution would be looking local layer and extend spaLoadingTemplate from that.

Thank you!


Anaconda python path conflict

Problem description
When setting up a new gridlabd install on a Mac, while anaconda exists on the system the paths are confused and are not set correctly.
Steps to reproduce
Explain how to reproduce the behavior
Go through install process on a new clone of the repo
Expected behavior
No error while installing
System information

GridLAB-D version: develop branch from 12/6/19
Operating system: DARWIN

Supporting information
N/A
Attachments
N/A

Recommend always using gridlabd my-script.py instead of python3 my-script.py.


Issue #203 adding environment variable for pull request label

In order to provide an environment variable to get source organization and branch name I have exposed GitHubPullRequestCause.label in an environment variable named DOTCI_PULL_REQUEST_LABEL which uses similar naming to existing environment variables DOTCI_PULL_REQUEST_TARGET_BRANCH and DOTCI_PULL_REQUEST_SOURCE_BRANCH.

Thank you for the pr. Will have a release out this week.


Unable to update the API when documents are added.

Description:
There is an NPE when updating the API. There will not be an issue if we add 'File' type documentations only.
Steps to reproduce:

Create an API
Add different types of documentation.
Go to 'Design Configuration' and save API.
Check the backend.

Affected Product Version:
3.1.0
Environment details (with versions):

OS:
Client:
Env (Docker/K8s):

Optional Fields
Related Issues:

Suggested Labels:
3.1.0
Priority/High
Suggested Assignees:
Meruja

Duplicate https://github.com/wso2/product-apim/issues/7735


Wrong migration history order

Original issue https://github.com/yiisoft/yii2/issues/12980
Same problem appears for MongoDB migration command.
#######
console config:
'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
        'migrationNamespaces' => [
            'app\migrations',
            'app\modules\mymodule\migrations',
        ],
        'migrationPath' => null,
    ],
],

apply some migrations:
app\migrations\M140506102106One
app\migrations\M160909083544Two
app\migrations\M160930135248Three
app\modules\mymodule\migrations\M161018124749Four
app\modules\mymodule\migrations\M161025123028Five
app\migrations\M161110133341Six

run ./yii migrate/history
Showing the last 6 applied migrations:
    (2016-11-12 16:53:04) app\migrations\M161110133341Six
    (2016-11-12 16:53:04) app\modules\mymodule\migrations\M161025123028Five
    (2016-11-12 16:53:03) app\modules\mymodule\migrations\M161018124749Four
    (2016-11-12 16:52:20) app\migrations\M160930135248Three
    (2016-11-12 16:52:17) app\migrations\M160909083544Two
    (2016-11-12 16:52:16) app\migrations\M140506102106One

then run ./yii migrate/history 1
What is the expected result?
Showing the last 1 applied migration:
    (2016-11-12 16:53:04) app\migrations\M161110133341Six

What do you get instead?
Showing the last 1 applied migration:
    (2016-11-12 16:53:04) app\modules\mymodule\migrations\M161025123028Five

Additional info

Q
A

Yii version
2.0.11

Yii MongoDB version
2.1.2

MongoDB server version
3.0

PHP version
5.4

Operating system
CentOS

Resolved by commit 83bda50e87d30d2e44238571fd21b0d20afe7603


Proposed refactor SPIRVProducerPass

As a precursor to adding sub_groups instruction support I would like to refactor a bit of the SPIRVProducerPass as follows:

Create SPIRV Module Sections for SPIRVInstructions according to 2.4 of the spec.

This removes the need for looking up and inserting OpDecorates

Remove Constant collection and gather/insert on-the-fly
Add a Builder class to create and insert new SPIRVInstructions, the only place to ++nextID based on spv::HasResultAndType.
Create a placeholder for the DeferredInsts instead of capturing an insertion point
Collect a set of capabilities on-the-fly, and generate list after all instructions generated.

Does this plan sound acceptable?

BTW, it doesn't look like SPIRVProducerPass handles function declarations. Is there a reason? Seems like it may be needed for library support.

Still thinking about the proposal, answering the question:

BTW, it doesn't look like SPIRVProducerPass handles function declarations. Is there a reason?

SPIR-V requires that all function declarations be decorated with the Import Linkage Type. That, in turn, requires the Linkage capability, which Vulkan does not allow. Right now clspv isn't setup to do proper linking for libraries.

That's all for now. I will create a new issue for sub_group support


Fix help text

Hello,
For "remote set-url" and "remote add", there was an error with the second argument :  instead of .
I also remove some non-breaking spaces.
Thanks for this workshop!

Thank you!! :sparkles:


[TACHYON-1197] Enable findbugs for protected fields in final classes

https://tachyon.atlassian.net/browse/TACHYON-1197
Looks like we aren't violating this rule any longer.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/6856/
Test PASSed.

LGTM


6-hourly GDP adapter

This is a bit bigger refactor to reuse the common functions. Now only to_raggedarray, download, and a few constants are specific to gdp1h and gdp6h. The rest is in gdp.
Short test with all 3:
In [1]: from clouddrift.adapters import gdp1h, gdp6h

In [2]: ra_1h = gdp1h.to_raggedarray(n_random_id=100)
Downloading files: 100%|██████████████████████| 100/100 [00:11<00:00,  9.09it/s]
Retrieving the number of obs: 100%|█████████████| 98/98 [00:02<00:00, 44.88it/s]
/home/milan/Work/clouddrift/clouddrift/venv/lib/python3.9/site-packages/xarray/coding/variables.py:148: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
  condition |= data == fv
Filling the Ragged Array: 100%|█████████████████| 98/98 [00:09<00:00, 10.08it/s]

In [3]: ra_1h_exp = gdp1h.to_raggedarray(n_random_id=100, url=gdp1h.GDP_DATA_URL_EXPERIMENTAL)
Downloading files: 100%|██████████████████████| 100/100 [00:11<00:00,  8.74it/s]
Retrieving the number of obs: 100%|███████████| 100/100 [00:02<00:00, 43.48it/s]
...
Filling the Ragged Array: 100%|███████████████| 100/100 [00:08<00:00, 11.80it/s]

In [4]: ra_6h = gdp6h.to_raggedarray(n_random_id=100)
Downloading files: 100%|██████████████████████| 100/100 [00:07<00:00, 14.12it/s]
Retrieving the number of obs: 100%|███████████| 100/100 [00:01<00:00, 50.78it/s]
...
Filling the Ragged Array: 100%|███████████████| 100/100 [00:07<00:00, 12.85it/s]

Closes #104 #139

This also Closes #107.

PS: I'm trying to build the complete ragged arrays for 1-h and 6-h, and I'm getting a lot of URLError: <urlopen error [Errno 60] Operation timed out>. I guess this is not our fault, but maybe we could see with AOML if there is something they can do.

Thank you for the review!


v2: Add babel-eslint, rule changes, package updates

This release sets babel-eslint as the config parser, requires ESLint to be v4 or newer, and updates some packages.
Detailed changes below:

Add babel-eslint to project
Add parsing options that correspond to our React project setup
Add Webpack configuration info to README
Update peer dependency to ESLint v4
Disable eslint-plugin-react JSX indent rules

ESLint 4 now catches indent errors with JSX

Update eslint-config-videoamp to 4.1.0
Update eslint-plugin-react to 7.1.0

 ESLint separation (React, Node, Mocha)


Regarding the current drive cycle.

Discussed in https://github.com/pybamm-team/PyBaMM/discussions/2742

Originally posted by manjunathnilugal March  5, 2023
Hello everyone,
I am trying to run a current drive cycle, at some current values the voltage reaches maximum cut-off voltage 4.15 V. In that case I want to change the current value to "0 A" and maintain constant voltage until next discharge current value.
I am attaching the code which I am trying to execute.
import pybamm
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd

model = pybamm.lithium_ion.SPM()
V = model.variables["Terminal voltage [V]"]

dt = 3600
time = 0
end_time = 11*3600

geometry = model.default_geometry
param = pybamm.ParameterValues("Chen2020")
#model.events.append(pybamm.Event('V', V - 4.1))

Vmin = 2.5
Vmax = 4.15

param['Lower voltage cut-off [V]'] = Vmin
param['Upper voltage cut-off [V]'] = Vmax

param['Current function [A]'] = "[input]"

param.process_model(model)
param.process_geometry(geometry)

# set mesh
mesh = pybamm.Mesh(geometry, model.default_submesh_types, model.default_var_pts)

# discretise model
disc = pybamm.Discretisation(mesh, model.default_spatial_methods)
disc.process_model(model)

I = np.array([2, 1, -2, -1, -3, -1, -2, 3, 2, 5, 4])

step_solver = pybamm.CasadiSolver()
step_solution = None

for i,I in enumerate(I):
    Vt = np.array([0])

    if  Vt[-1] >= 4.2:
        inputs = {'Current function [A]': 0.001}
    else:
        inputs = {'Current function [A]': I}

    step_solution = step_solver.step(step_solution, model, dt=dt, inputs=inputs, npts=100)
    V = step_solution["Terminal voltage [V]"].entries
    Vt = np.concatenate((Vt,V))
    It = step_solution["Current [A]"].entries

step_solution.plot()

I am not able to iterate the current values in the step solution, the simulation exits after the cut-off voltage is reached. Is there any method to keep the track of the voltage variation in middle of simulation ?

Instead of creating a interpolant function for current, I want to pass current individually after checking the final voltage value after each iteration.
if final voltage value is >= 4.2V:
      Current is 0.001 A
else:
      Current is [i] A

Is it possible to do using pybamm.

I would suggest using experiments for that (see this example). Note, however, that you can't set both the current and voltage. That is, if you set the voltage to 4.15 V, the current will be whatever value that ensures that voltage.


arm-none-eabi-gcc -v failed

Hi, I'm trying trying to follow the SDK documentation to link the ARM build chain to vs code in windows. I've manually installed the different elements of the build chain and successfully built all the pico SDK examples using the VS developer command prompt. Unfortunately, I can't seem to get vs code to re-build the examples, and instead I receive the following error:
[proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug "-DCMAKE_C_COMPILER:FILEPATH=C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\bin\arm-none-eabi-gcc.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\bin\arm-none-eabi-g++.exe" -SC:/pico/pico-examples -Bc:/pico/pico-examples/build -G "NMake Makefiles" exited with code: 1
[proc] The command: arm-none-eabi-gcc -v failed with error: Error: spawn arm-none-eabi-gcc ENOENT
[proc] The command: arm-none-eabi-g++ -v failed with error: Error: spawn arm-none-eabi-g++ ENOENT

I opened vs code from the VS developer command prompt, installed cmake add-in, and updated the cmake: configure environment and cmake: generator  before loading in the pico-examples git directory... am i doing something daft?
Many thanks!

so more info from vs code:
CMake Error at CMakeLists.txt:8 (project):The CMAKE_CXX_COMPILER:

  C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/arm-none-eabi-g++.exe

is not a full path to an existing compiler tool.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line.  This environment is
unable to invoke the cl compiler.  To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

please ask help questions here
https://forums.raspberrypi.com/viewforum.php?f=143


⚠ Bofrost.lu has degraded performance

In 7a30b96, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1573 ms

Resolved: Bofrost.lu performance has improved in 054445d after 52 minutes.


Parallelize source file processing

When processing a directory, things can be parallelized:

Parsing individual files can be performed by a thread pool. Generating an AST and event stream for each file can be completely parallelized. The actual generation of lilypond code can be serialized using a critical section or some other lock.

This actually should be relatively simple:

Work#process_directory starts a worker thread pool and adds each encountered file to the worker queue.
Workers pull file names from the worker queue and process them using process_lydown_file.
Work#process_lydown_file uses a critical section or other lock to synchronize the last stage of processing, the actual translation to lilypond code is serialized.

Hmm, this seems to be a bit more complicated than I thought. An alternative approach:

Process directory and create a tree structure of movements and their files.
Put all files to process into array, use Parallel to read files and convert to stream.
Iterate over tree and call #process with corresponding streams, inside of #preserve_context calls.

OK, parsing in parallel shaves off a few seconds, but still work to do on translating to lilypond. For that to happen we will need to turn the translate function into a pure function that gives a bunch of lilypond streams as result, without affecting the work state. In general, #preserve_state is a bit hacky, if we need to use it each time we process a file.

For more performance improvements, see #43

Another possibility of parallelizing compilation is to take advantage of movement page breaks, which when rendered create separate \bookPart sections. Each section is rendered separately, then compiled separately. The result is then combined into a single PDF using pdftk.

Finally we don't use pdftk for PDF merging (another tool to install, ruby gem has dependencies the size of the Himalayas), but rather a pure ruby gem called combine_pdf.

Not so fast, Dark Helmet! Silly me, I forgot all about page numbers. When dividing into bookparts, each bookpart will start at page 1. So , for now we disable parallelized bookparts, until we find an acceptable solution.


Receiving Argument Error message when trying to run mix PLSM

I was attempting to use PLSM(master branch) this evening for a Elixir project I am working on.  I was trying to generate models from my PostgresDB but can't seem to get past this error message that PLSM is putting out.
I've attached the output of it below.
I added an       "  |> IO.inspect()" the line before the error so I could try and see what was failing. I've also added my config that I'm using.
using elixir 1.5.2
config
config :plsm,
module_name: "test",
destination: "outputpath",
server: "localhost",
port: "5432",
database_name: "friends",
username: "postgres",
password: nil,
type: :postgres
--execution
$ mix plsm
Compiling 1 file (.ex)
Using PostgreSQL...
["defmodule test.SchemaMigrations do\n  use Ecto.Schema\n\n@primary_key {:version, :integer, []}\n  schema "schema_migrations" do\n    field :version, :integer\n    field :inserted_at, Ecto.DateTime\n\n  end\n  def changeset(struct, params \\ %{}) do\n    struct\n    |> cast(params, :version, :inserted_at)\n  end\nend\n",
"defmodule test.Organizations do\n  use Ecto.Schema\n\n  schema "organizations" do\n    field :id, :integer\n    field: business_name, :text\n    field: address, :text\n    field :created_at, Ecto.DateTime\n    field :updated_at, Ecto.DateTime\n    field: thank_you_content, :text\n    field: business_name_slug, :text\n    field :monthly_organization_review_quota, :integer\n    field :locations_count, :integer\n    field :review_invitations_count, :integer\n    field :partner_id, :integer\n    field :location_limit, :integer\n    field: default_password, :text\n    field :client_success_id, :integer\n    field: logo, :text\n    field: first_day_of_week, :text\n    field :facebook_enabled_at, Ecto.DateTime\n    field :all_locations_mode_enabled_at, Ecto.DateTime\n    field :kafka_enabled_at, Ecto.DateTime\n    field :all_locations_view_enabled_at, Ecto.DateTime\n\n  end\n  def changeset(struct, params \\ %{}) do\n    struct\n    |> cast(params, :id, :business_name, :address, :active, :created_at, :updated_at, :thank_you_content, :business_name_slug, :send_welcome_email, :monthly_organization_review_quota, :archived, :direct_review, :test, :locations_count, :review_invitations_count, :partner_id, :use_org_name_in_cobra, :invitation_csv_report_enabled, :location_limit, :bulk_user_upload_enabled, :bulk_invite_upload_enabled, :default_password, :text_analytics_reporting_enabled, :client_success_id, :logo, :first_day_of_week, :facebook_enabled_at, :all_locations_mode_enabled_at, :kafka_enabled_at, :all_locations_view_enabled_at)\n  end\nend\n",
"defmodule test.Products do\n  use Ecto.Schema\n\n  schema "products" do\n    field :id, :integer\n    field: name, :text\n\n  end\n  def changeset(struct, params \\ %{}) do\n    struct\n    |> cast(params, :id, :name)\n  end\nend\n",
"defmodule test.People do\n  use Ecto.Schema\n\n  schema "people" do\n    field :id, :integer\n    field: first_name, :text\n    field: last_name, :text\n    field :age, :integer\n\n  end\n  def changeset(struct, params \\ %{}) do\n    struct\n    |> cast(params, :id, :first_name, :last_name, :age)\n  end\nend\n"]
** (ArgumentError) argument error
:erlang.apply("defmodule test.SchemaMigrations do\n  use Ecto.Schema\n\n@primary_key {:version, :integer, []}\n  schema \"schema_migrations\" do\n    field :version, :integer\n    field :inserted_at, Ecto.DateTime\n\n  end\n  def changeset(struct, params \\\\ %{}) do\n    struct\n    |> cast(params, :version, :inserted_at)\n  end\nend\n", :name, [])

lib/plsm.ex:19: anonymous fn/2 in Mix.Tasks.Plsm.run/1

(elixir) lib/enum.ex:1270: Enum."-map/2-lists^map/1-0-"/2

(mix) lib/mix/task.ex:301: Mix.Task.run_task/3

(mix) lib/mix/cli.ex:75: Mix.CLI.run_task/2

@sqlasylum What line did you put the IO.inspect and which file?

@jhartwell I am also seeing this error when running with Postgres:
mix plsm
Using PostgreSQL...
** (ArgumentError) argument error
    :erlang.apply("defmodule Database.ActiveAdminComments do\n  use Ecto.Schema\n\n  schema \"active_admin_comments\" do\n    field :id, :integer\n    field: namespace, :text\n    field: body, :text\n    field: resource_id, :text\n    field: resource_type, :text\n    field :author_id, :integer\n    field: author_type, :text\n    field :created_at, :naive_datetime\n    field :updated_at, :naive_datetime\n\n  end\n  def changeset(struct, params \\\\ %{}) do\n    struct\n    |> cast(params, :id, :namespace, :body, :resource_id, :resource_type, :author_id, :author_type, :created_at, :updated_at)\n  end\nend\n", :name, [])
    lib/plsm.ex:18: anonymous fn/2 in Mix.Tasks.Plsm.run/1
    (elixir) lib/enum.ex:1229: Enum."-map/2-lists^map/1-0-"/2
    (mix) lib/mix/task.ex:300: Mix.Task.run_task/3
    (mix) lib/mix/cli.ex:58: Mix.CLI.run_task/2

@kwokster10 I'm looking into this now and will provide an update when I have one.

@kwokster10  @sqlasylum , I have pushed a fix to develop and have tested it on Postgres. I am in the process of testing now for MySQL and then I will push this update to master and hex.

@sqlasylum @kwokster10  This has been fixed and is in hex. You can go ahead and pull down 2.2.1 from hex using {:plsm, "~> 2.2"} in your mix.exs deps function

@jhartwell Thank you for the quick turnaround. I will check it out now.

Thanks as well @jhartwell  I went another route but will pull down the fix and use this for a future project.


Buddybuild crash report on build #525

Buddybuild detected a crash from<EMAIL_ADDRESS>View Full Crash Details

Crash report from Unknown user


Button Text: Proceed to Send

Task Description
It might make sense to rename the Proceed button to Send(for Wallets), provided the flow basically ends on this screen and upon pressing the Proceed button the tx is going to be sent.

https://xd.adobe.com/view/489bcd8a-f669-4ecb-9d11-bd705d75a996-1dc8/screen/bada40c3-0f8e-438c-9f6c-0afc0210195d/

Verified this issue on keeper app v 1.1.9(288)


No model list for selecting the required model

No model list for selecting the required model

looking into it

cheers, fixed https://github.com/animalnots/BetterChatGPT-PLUS/releases/tag/v1.7.0


feat: Domain Change

Describe the feature you'd like to request
Migrate to main domain that was acquired
Describe the solution you'd like to see
We should no longer be using the default Vercel domain for app
Additional information
No response

Removed the restauwants-nextjs.vercel.app domain and registered the www.restauwants.com domain. Updated this GitHub repo's website link to point to the new domain.

Missing updates in the code for the new domain.


Deal with breadcrumbs

As Greg mentioned in #296, he hadn't liked the way breadcrumbs repeat current page title (or header) in their last element, for example: page "Event 2015-05-25-something" will have breadcrumbs "Amy / All events / Event 2015-05-25-something".
I took a look at other big websites and how they do breadcrumbs and @gvwilson was right. They don't repeat current site at the end of breadcrumbs.
This means we'd only have breadcrumbs at most 3 links long: Amy / All * / * [ / action ], for example:
Was:

Amy / All events / Event 2015-05-25-something / Edit

Will be:

Amy / All events / Event 2015-05-25-something

But this does not bug me. In case of All * pages, we can just as well drop breadcrumbs (because they'd look like "Amy / ").
So I don't really know what to do:

Display breadcrumbs on the same pages as now, but hide the last item.
Display breadcrumbs on the pages that would have more than 1 breadcrumbs.
Drop breadcrumbs completely.

On Mon, May 25, 2015 at 01:11:00AM -0700, Piotr Banaszkiewicz wrote:

Drop breadcrumbs completely.

I'm fine with this.  Between the nav bar and the back button I think
we cover everything we'd use the breadcrumbs for.


Kill all line break tags

<br /> should not be used for styling.
Usages can be seen here
#940 is related

I want to do it

@DEBSUBHRO Thanks for claiming it! I added the Hacktoberfest label. Please see https://lbry.com/news/hacktoberfest-2019 for more details.


Create a new section called: Objects and convert some utilities to objects

Some candidates:

Flex emded
Link complex
Link disguised
Overlay
Table
Drop down
List block
or this goes as logged here: #44?

@kllevin @AlecRaeside @stowball what do you guys think?

Great idea.
Flex-embed, Link complex and Drop down definitely make a lot of sense because you there are multiple elements that all depend on various classes. The others could definitely be contenders too, depending how their normal use-case is represented as markup.

Going to do this tomorrow it's looking, won't be backwards compatible change though.

I would convert list to a component. Would arrow just go? I can see it becoming part of other components? Not sure if we want to create components that rely on other components.

Would arrow just go?

I think Arrow is a utility the more I think about it as it's so low level and only needs to be work on 1 element.

Not sure if we want to create components that rely on other components.

I agree, feels weird as it goes against one of the main definitions of a component which is a discrete piece of UI that can stand-alone. Which is why I struggle with List inline as for sure that'll be needed in a lot of components hence why I'm thinking it's a layout module (minus some of it's modifiers, maybe?) as at it's core it is concerned with structural CSS like the Grid? It's the same as Drop down as it's used mostly as the start of a richer component so maybe it remains a low level utility?

@stowball @chriswrightdesign @kllevin I'm seriously thinking we need a new section in Scally called something like: Objects which houses utilities like List Inline, Drop Down, Flex Embed, etc. I've been looking at this: http://csswizardry.com/2015/03/more-transparent-ui-code-with-namespaces/ esp these sections:

http://csswizardry.com/2015/03/more-transparent-ui-code-with-namespaces/#utility-namespaces-u-
http://csswizardry.com/2015/03/more-transparent-ui-code-with-namespaces/#object-namespaces-o-

And can have clear rules on the use of a utility vs. object e.g.

Utilities are complete single responsibility rules which have a very specific and targeted task, They are to be used as a last resort when no other CSS hooks are available, or to tackle completely unique circumstances. Can only exist on 1 element.

Objects exist as non-cosmetic styles that handle the skeletal aspect of a lot of UI components, without ever actually looking like designed ‘things’ e.g. List Inline.

Decided! Gonna go with a new section: Objects and move applicable utils in there :+1:

Addressed in #74.


Permission Issue

Hi, thanks very much. I have the follow issue:
I built with:
sudo docker build -t kagglegym .
Then when I try:
sudo docker run -it -m=5G -v $(pwd):/wd kagglegym it works fine but in trying to launch a jupyter notebook I get the following error:
PermissionError: [Errno 13] Permission denied: '/home/kaggler/.jupyter'
With the following traceback:
/opt/conda/lib/python3.5/site-packages/IPython/paths.py:69: UserWarning: IPython parent '/home/kaggler' is not a writable location, using a temp directory.
" using a temp directory.".format(parent))
Traceback (most recent call last):
File "/opt/conda/bin/jupyter-notebook", line 6, in
sys.exit(notebook.notebookapp.main())
File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "", line 2, in initialize
File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1065, in initialize
super(NotebookApp, self).initialize(argv)
File "", line 2, in initialize
File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 243, in initialize
self.migrate_config()
File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 169, in migrate_config
migrate()
File "/opt/conda/lib/python3.5/site-packages/jupyter_core/migrate.py", line 240, in migrate
ensure_dir_exists(env['jupyter_config'])
File "/opt/conda/lib/python3.5/site-packages/ipython_genutils/path.py", line 167, in ensure_dir_exists
os.makedirs(path, mode=mode)
File "/opt/conda/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
This error persists with either trying to launch a notebook from the command line with the command suggested in the README and with the jupyter notebook command inside the container. It also persists whether or not I use sudo.
Thanks again.

Also I'd just like to add, this error was not occurring two days ago when I first built. I was encountering memory capping and trying to troubleshoot this so I was rebuilding and the error occurred. It must have something to do with a recent commit?

I'm not able to recreate this error - is your clone completely up to date? I was messing around with directories yesterday to fix an issue with joblib, perhaps you caught it in a broken state. If that's not the problem let me know what OS you're running etc and I'll try and help out.

Ok. so now I'm getting the same error as well. I tried building on my laptop(windows 10) and my server (centos 7). same thing. Any suggestions?

Which version of docker are you running?

1.12.5

found the solution. I commented out the "USER kaggler" line in docker file!

Got pretty same error on container start:
PermissionError: [Errno 13] Permission denied: '/opt/conda/lib/python3.5/site-packages/SimpleITK-0.10.0-py3.5.egg-info'
Resolved that by modifying Docker file by increasing permissions level for kaggler user

@stfods, can you pull-request the fix please?


fix: remove obsolete ci:install script

📣 For new features and bugfixes, please create an issue first
✔ Checklist
Please review our Contributor Docs for more details

[ ] Fixes #16
[ ] I have run npm version [patch, minor, major] (considering (semantic versioning)[https://semver.org/#summary)) for a new release if needed
[ ] If the package version changed, this PR's title is prefixed with release([VERSION]):
[ ] I have added typedoc-style comments to my changes to improve the developer experience

⏩ Next steps:

Please ensure that all the automated pipeline steps pass
Once your PR is opened, CODEOWNERS will be requested as reviewers. At least one review from a CODEOWNER is required to merge your PR
Once approved, a CODEOWNER will merge your changes and perform any other necessary release tasks

Closing this PR. Will re-open to ensure that the Mend check completes successfully.