Release a proxy module of ThreadJob that points to Microsoft.PowerShell.ThreadJob

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest version
[X] Search the existing issues.

Steps to reproduce
Given that the Microsoft.PowerShell.ThreadJob is going to replace the ThreadJob going forward, a proxy module of ThreadJob should be released to PowerShell Gallery to point to Microsoft.PowerShell.ThreadJob and to warn about deprecation of ThreadJob.
Here is the decision from PowerShell Committe:

https://github.com/PowerShell/PowerShell/pull/19744#issuecomment-1612133227
https://github.com/PowerShell/PowerShell/pull/19744#issuecomment-1629737949

Create a new version of the ThreadJob module which proxies to the new Microsoft.PowerShell.ThreadJob module

the proxy should include a warning message that the ThreadJob module will be deprecated and removed in PS 7.6

I agree it would make sense to have the ThreadJob module on PSGallery also indicate being deprecated and using Microsoft.PowerShell.ThreadJob instead. In that case, I would also agree that proxy module would be done outside of this PR and repo since it's published to PSGallery. It would make sense to have that proxy developed in https://github.com/powershell/threadjob

Expected behavior
A proxy module of ThreadJob to be published to PowerShell Gallery, to call out it's being deprecated.

Actual behavior
N/A

Error details
No response
Environment data
N/A

Version
N/A
Visuals
No response

This is perhaps more work than I would expect is needed as a module author to do when renaming a module.
Personally my plan for this would have been

release a v2.0.4 of the ThreadJob module, which is functionally just v2.0.3

Amending the psm1 to include a verbose message on import giving a simple deprecation notice of Warning - This module has been renamed to Microsoft.PowerShell.ThreadJob and future enhancements will come under that new module. Please update accordingly as this module will not be available as part of PowerShell 7.6 onwards
I'd also follow this suggestion for helping future discoverability of Module Name Changes and add new tags to the PSD1 for the v2.0.4 release
As there isn't currently a way already to auto redirect users either on the PowerShell Gallery or as part of PowerShellGet / PSResourceGet, discuss about hiding ThreadJob Module on the Gallery (would still allow it to be returned from PowerShellGet`PSResourceGetas this would then show theMicrosoft.PowerShell.ThreadJobmodule more prominantly. Also discuss can that module be prioritised in search results forThreadJob` which I don't think it can be right now.

I'd then release Microsoft.PowerShell.ThreadJob v2.1.1 with a minor amendment to the tags of the psd1 & release notes as per the above comment
Then I'd look at amending the PR in https://github.com/PowerShell/PowerShell/pull/19744 to the v.2.0.4 version of ThreadJob as well as adding the v.2.1.1 of Microsoft.PowerShell.ThreadJob

ProxyModules are great but I personally think use of one in this instance is perhaps more work than needed, though as shown above there is also need for additional work in the gallery and other tooling too (which I'll raise about now)

I went ahead and created the proxy module. It has a required dependency on Microsoft.PowerShell.ThreadJob and includes two aliases to forward calls to the new module. A warning is included if the old module is imported.
@daxian-dbw how would you like the code to be merged in order to publish the updated module with the proxy/alias?
ThreadJob.psd1
@{
RootModule = 'ThreadJob.psm1'
ModuleVersion = '3.0.0'
GUID = '0e7b895d-2fec-43f7-8cae-11e8d16f6e40'
Author = 'Microsoft Corporation'
CompanyName = 'Microsoft Corporation'
Copyright = '(c) Microsoft Corporation. All rights reserved.'
Description = 'ThreadJob module has been renamed to Microsoft.PowerShell.ThreadJob.'
PowerShellVersion = '5.1'
RequiredModules = @('Microsoft.PowerShell.ThreadJob')
FunctionsToExport = @()
CmdletsToExport = @()
AliasesToExport = @('Start-ThreadJob', 'ThreadJob\Start-ThreadJob')
PrivateData = @{
    PSData = @{
      LicenseUri = 'https://github.com/PowerShell/ThreadJob/blob/master/LICENSE'
      ProjectUri = 'https://github.com/PowerShell/ThreadJob'
    }
  }
}

ThreadJob.psm1
Write-Warning -Message "The ThreadJob has been renamed to Microsoft.PowerShell.ThreadJob. ThreadJob module will no longer be included with PowerShell as of 7.x"

Set-Alias -Name Start-ThreadJob -Value Microsoft.PowerShell.ThreadJob\Start-ThreadJob
Set-Alias -Name ThreadJob\Start-ThreadJob -Value Microsoft.PowerShell.ThreadJob\Start-ThreadJob

Export-ModuleMember -Alias Start-ThreadJob, ThreadJob\Start-ThreadJob

@ThomasNieto Thanks for this! I will incorporate this and publish it using Microsoft's new guidelines.


NDRS-1225: Remove systemd notify support

Removes the now unused (superseded by casper-node-launcher) systemd notification support from all configurations and the functionality from the networking component.
This does result in a change in configuration files.

bors r+


Support for Direct Data Download in rx.download

Issue Description:
In the context of data science applications, it's essential to provide users with the ability to download data for further analysis and reporting. As we evaluate transitioning internal tools from Streamlit to Reflex, we've found that the rx.download function currently only supports downloading files through a URL. This is a limitation for use-cases where data is generated on-the-fly, like creating a .csv, .html or .pdf file for the user to download locally.
Current Behavior:
rx.button("Download", on_click=rx.download(url="path/to/file"))

Desired Behavior:
It would be invaluable if rx.download could also support a data parameter to enable the direct download of dynamically generated content.
my_csv = df.to_csv().encode('utf-8')
rx.button("Download", on_click=rx.download(data=my_csv, filename="output.csv"))

Workaround:
The current workaround is to save the generated file to a cloud bucket and then use rx.download to fetch and deliver it to the user. This process introduces unnecessary complexity, particularly around authentication.

I have found a workaround with call_script but it somehow freezes all the other elements (e.g. select / dropdown menu) and triggers.
In this example you should create a subfolder named data under assets folder. But you can rearrange the function in any way that you like. For the JS code see here.
class XState(rx.State):
    selected: str = "the_file_name"

    async def download_data(self):
        ## Save dataframe to a temporary xlsx file and return the path to the file
        filename = self.selected.split(" ")[0].lower()
        url = f"/data/{filename}.xlsx"
        self.df.to_excel("assets/" + url, index=False)
        yield rx.call_script(f"window.location.assign('{url}')")

Btw, it is really a must. If you can quickly come up with something like Streamlit's download button it will be appreciated.

Thanks for raising this - we will prioritize this ticket in the upcoming releases.


Installation on Debian Jessie fails

Attempting to deploy a cluster on Debian Jessie fails, and with my limited experience with Ansible it appears to be due to the syntax being out of date.
TASK [ceph.ceph-common : install dependencies] *********************************
failed: [<IP_ADDRESS>] (item=[u'debian_package_dependencies']) => {"failed": true, "item": ["debian_package_dependencies"], "msg": "No package matching 'debian_package_dependencies' is available"}
failed: [<IP_ADDRESS>] (item=[u'debian_package_dependencies']) => {"failed": true, "item": ["debian_package_dependencies"], "msg": "No package matching 'debian_package_dependencies' is available"}
failed: [<IP_ADDRESS>] (item=[u'debian_package_dependencies']) => {"failed": true, "item": ["debian_package_dependencies"], "msg": "No package matching 'debian_package_dependencies' is available"}

I then changed roles/ceph.ceph-common/tasks/installs/install_on_debian.yml from:
- name: install dependencies
  apt:
    pkg: "{{ item }}"
    state: present
    update_cache: yes
    cache_valid_time: 3600
  with_items: debian_package_dependencies

to:
- name: install dependencies
  apt:
    name: "{{ item }}"
    state: present
    update_cache: yes
    cache_valid_time: 3600
  with_items: "{{debian_package_dependencies}}"

This change was sufficient to get past the package installation tasks (obviously the same needed to be applied to the install ceph task in the same file). I then hit the following:
TASK [ceph.ceph-common : generate ceph configuration file] *********************
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "module (config_template) is missing interpreter line"}
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "module (config_template) is missing interpreter line"}
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "module (config_template) is missing interpreter line"}

At this point I'm not sure where to go to resolve this - trying to pick my way through everything is a bit optimistic given that I've hardly used Ansible ;)
I'm building a cluster with Terraform on Openstack for testing purposes so it's easy enough to kill everything off and start again to test changes if you need me to.

Thanks for reporting the issue, your fix is valid for Ansible v2.
For the configuration file generation, did you follow https://github.com/ceph/ceph-ansible/tree/master/roles/ceph-common#requirements ?

Ah no, somehow I missed that entirely - I'll do that and report back.
I fixed the issues I've found so far in my own fork (one related to the Ansible install script too) - I can create a pull request if you'd like? https://github.com/ceph/ceph-ansible/compare/master...analbeard:master

Yes please create a PR :)

So the next issue I appear to hit seems to be related to deprecated Ansible functions when generating ceph.conf.
TASK [ceph.ceph-common : generate ceph configuration file] *********************
task path: /tmp/ansible/roles/ceph.ceph-common/tasks/main.yml:230
<<IP_ADDRESS>> ESTABLISH SSH CONNECTION FOR USER: None
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r <IP_ADDRESS> '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1476038874.22-80337242418091 `" && echo ansible-tmp-1476038874.22-80337242418091="` echo $HOME/.ansible/tmp/ansible-tmp-1476038874.22-80337242418091 `" ) && sleep 0'"'"''
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ansible-2.3.0-py2.7.egg/ansible/executor/task_executor.py", line 122, in run
    res = self._execute()
  File "/usr/local/lib/python2.7/dist-packages/ansible-2.3.0-py2.7.egg/ansible/executor/task_executor.py", line 488, in _execute
    result = self._handler.run(task_vars=variables)
  File "/tmp/ansible/plugins/actions/_v2_config_template.py", line 481, in run
    _status, _vars = self._load_options_and_status(task_vars=task_vars)
  File "/tmp/ansible/plugins/actions/_v2_config_template.py", line 419, in _load_options_and_status
    faf = self._task.first_available_file
AttributeError: 'Task' object has no attribute 'first_available_file'

fatal: [<IP_ADDRESS>]: FAILED! => {
    "failed": true,
    "msg": "Unexpected failure during module execution.",
    "stdout": ""
}

As you can see, my Ansible working dir is /tmp/ansible, I've copied config_template.py to /tmp/ansible and my ansible.cfg is the default:
[defaults]
ansible_managed = Please do not change this file directly since it is managed by Ansible and will be overwritten
action_plugins = plugins/actions

As far as I can tell I haven't missed anything, but please do correct me if I'm wrong!

@cloudnull hum any idea?
It works for me on v2 without any issue...

Just in case it helps, my ansible info:
root@tf-ceph-adm-1:/tmp/ansible# ansible --version
ansible 2.3.0
  config file = /tmp/ansible/ansible.cfg
  configured module search path = Default w/o overrides

And I'm running as the user 'ceph' which I create when I provision the cluster.

I'll have to look into the module for support with ansible 2.3 (currently unreleased); I've not taken a look at it quite yet. For the time being I'd recommend sticking with 2.{1,2} as devel is likely to be full of pain other unexpected pain.

@cloudnull thanks for that - I didn't realise that the install-ansible.sh automatically build the devel branch (head points to devel so it's the standard behaviour). I've amended my install script to use stable-2.2 for the moment, and I'm still seeing the issue as described above.

Sadly I'm still no further along with this, I've tried to take a look at the config template but to be perfectly honest I'm not entirely sure how that particular file functions so I can't even begin to modify it.

No activity. Closing this, feel free to re-open.


Issue: Subscription Page Layout Problem

Hello Mentor,
On the subscription page of the Foodies Ordering website, there is a layout issue where the text for the regular membership is not confined within its designated box. Instead, the text overflows and overlaps with other elements on the page, causing readability and usability problems.

@Amulya-Codes make them responsive.


Ionic Package not working

What version of the CLI are you using? Output of ionic --version
3.0.0-beta.4
Short description of the problem:
C:\Users\Sandro\CloudStation\Development_PROJEKTE\unihockey.club.app\unihockeyclub>ionic package build ios --profile prod --release
[ERROR] Unknown plugin: @ionic/cli-plugin-.
What behavior are you expecting?
Uploading the app to the cloud and package them
Steps to reproduce:

install latest cli (beta3)
run command :
ionic package build ios --profile prod --release

insert any relevant code between the above and below backticks

Post the output of ionic info below please
Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 3.0.0-beta.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.1
Xcode version: Not installed
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Package is currently not available in v3.  This is a current gap that we will be fixing in the coming weeks.

@sansan88 Please try 3.0.0-rc.2 with package support added back in.
Thank you!


Timezone offsets cause a 'VS402625: Date must be increasing with each revision' error

Describe the problem
I am current doing large scale migrated from an on premise Jira instance to Azure DevOps Services and have encountered a problem when saving some WI revisions. I see the error VS402625: Date must be increasing with each revision.
Due to security restrictions, I cannot provide actual client logs, but have been able to reproduce the problem on a test instance (see details in repo section for how I did this)

[I][10:48:53] Building area cache...
[I][10:48:53] Building execution plan...
[I][10:48:53] Import started. Importing 1 items with 4 revisions.
[I][10:48:53] Processing 1/4 - wi '706', jira 'TEAM-1, rev 2'.
[I][10:48:53] Processing 2/4 - wi '706', jira 'TEAM-1, rev 3'.
[E][10:48:54] VS402625: Dates must be increasing with each revision.
[E][10:48:54] Work Item 706 failed to save.
[I][10:48:54] Processing 3/4 - wi '706', jira 'TEAM-1, rev 0'.
[I][10:48:54] Processing 4/4 - wi '706', jira 'TEAM-1, rev 1'.
[I][10:48:54] Adding single attachment
[I][10:48:54] ID: 4cb08299-f1e0-425d-980b-5d1826545f78
[I][10:48:54] URL: 'https://dev.azure.com/richardfennell/_apis/wit/attachments/4cb08299-f1e0-425d-980b-5d1826545f78?fileName=red.jpg'
[I][10:48:54]
[I][10:48:55] Updated Existing Work Item: '706'. Had 1 attachments, now has 1
[I][10:48:55]
[I][10:48:55] Import complete. Imported 1 items, 4 revisions (2 errors, 1 warnings) in 00:00:03.

To Reproduce
After some investigation of the exported Jira issue JSON files I have found the problem. It is down to the Time format on the revisions.
For the problem to occurs two conditions should be met

The time has a time zone offset
The previous revision is within the time period such that applying the offset to the current revision will mean it occurs before the previous one - hence the error

By editing the exported JSON file I can get the following results

Current Revision Time
Previous Revision Time
Result

2014-03-31T08:06:22
2014-03-31T08:04:00
Saves

2014-03-31T08:06:22+01:00
2014-03-31T08:04:00
Error

2014-03-31T08:06:22+01:00
2014-03-31T07:04:00
Saves

Workaround
Given at the offset does not appear to be required (in my data in the UK) my workaround is to edit all the exported .JSON files and remove the time zone blocks i.e. remove the `+01:00' text in all revision time entries.
Once this was done my import worked without error
Analysis
The strange thing with this issue is that there appears to be no pattern as to whether there is a timezone +01:00 block on any given Jira issue revision time. Whether they are present varies even within a single exported Jira issue.
Also, worth noting, that in my client's exported JSON files that I have manually checked, where an offset is present, the revision time is correct before the application of the offset.  So I am not sure why the offset is present.
Looking that the Jira export XML for an issue I can see that all the all the times have offsets, but whether they appear in the JSON depend on the user who did the revision. i.e. for my example

User
Jira XML
Exported JSON

User A
Mon, 31 Mar 2014 09:45:01 +0100
2014-03-31Tt09:46:15+01:00

User B
Mon, 31 Mar 2014 09:54:20 +0100
2014-03-31Tt09:54:20

As the XML looks consistent,  I suspect the problem lies in FixRevisionDatein the exporter. Unfortunately I cannot run a  debug environment on my clients site  at present.
I will try to build a test harness to explore this with 'faked up XML', but I thought it worth raising the issue to see if anyone had any thoughts as to the root cause.
Tool version

Version of the jira-azuredevops-migrator tool

Found on  3.0.288
Replicated on 3.0.340

Attachments
I cannot provide any actual sample files from my actual client migration, but have been able to replicate the issue using manual edited .JSON file

Manually Edited .JSON file to show the issue
Import log

Is there a solution for this?
I'm also experiencing this 😥

Removing the "+hours" fixed the issue.
Is there any fix in the exporter?

For me it solved the issue only for very specific cases, but most of them still are failing.

@Alexander-Hjelm Do you have an idea for the area that's causing this issue? Will be happy to contribute and help solve the issue.
In addition, do you recon why this suddenly started happening? It just started appearing very recently.

@YoavLax @haim-saadia @bm-fez
No update on why timezone offset causes the speicifed issue.
I can maybe mention that I have sometimes received the same error message in either of the following scenarios:

When migrating Epic links/Parent links where one of the Jira issues was created via the linking dialogue and not via the standard way of creating issues.
When changing the parent/epic of an issue from one parent to another.

Sometimes these events could cause the events to be logged by Jira in the wrong order. Even if you inspect the issue History tab in Jira, you will see either of the following behaviors

a link was created before one of the incoming/outgoing issues
a link was added on an issue before the old link was deleted
a link was deleted on an issue when there was no link present

We have solved many of these cases with the FixRevisionDates() method, but it could be that there are still cases that need patching.
Any more information that could be relevant for troubleshooting is much appreciated!

I hit the same issue. Removed the timestamp with a small script but still have trouble that some  revisions seems to have a timestamp that ist Not expected.
Also i think, there ist a problem from the timestamp format. IT differs a little bit and months / days are Sometime missinterpreted.

I have a sample that might be of help to create tests for this issue:
[{
    "Time": "2021-02-05T17:00:04.783+01:00",
    "Index": 95,
    //...
},
{
    "Time": "2021-02-12T16:44:01.673+01:00",
    "Index": 96,
    //...
},
{
    "Time": "2022-10-01T08:45:04.767+02:00",
    "Index": 97,
    //...
},
{
      "Time": "2022-10-01T08:47:53.21+02:00",
      "Index": 98,
      //...
}]

[I][14:16:30] Processing 2877/32070 - wi '26305', jira 'W-137, rev 96'.
[E][14:16:30] VS402625: Dates must be increasing with each revision.
[E][14:16:30] Work Item 26305 failed to save.

The dates are strictly increasing, so it looks like the issue is when we get a mix?

Seems that there is an answer ...
https://github.com/nkdAgility/azure-devops-migration-tools/discussions/2216#discussioncomment-10159452

I had some luck removing the milliseconds from the Timestrings.

We have done the following as a post processing steps of the exported "WiItem":
        for (var revision in item.Revisions)
        {
            revision.Time = revision.Time.ToUniversalTime();
        }

in order to avoid this issue.


speechrecognition errro

This is my code please help me.
import speech_recognition as sr
import pyaudio
r = sr.Recognizer()
with sr.Microphone() as source:
print("Speak")
audio = r.listen(source)
try:
text = r.recognize_google(audio)
print(format(text))
except:
    print("sorry")

please solve folloving error
/usr/bin/python3.5 /home/ganesh/pycharm/PycharmProjects/SpeechRecognization.py
Traceback (most recent call last):
File "/home/ganesh/pycharm/PycharmProjects/SpeechRecognization.py", line 5, in
with sr.Microphone() as source:
File "/usr/local/lib/python3.5/dist-packages/speech_recognition/init.py", line 79, in init
self.pyaudio_module = self.get_pyaudio()
File "/usr/local/lib/python3.5/dist-packages/speech_recognition/init.py", line 113, in get_pyaudio
raise AttributeError("PyAudio 0.2.11 or later is required (found version {})".format(pyaudio.version))
AttributeError: PyAudio 0.2.11 or later is required (found version 0.2.8)
Process finished with exit code 1

hey, It seems that PyAudio package is missing. Install it first then re-run the code.
try this pip install PyAudio-0.2.11-cp37-cp37m-win_amd64.whl  if you have python 3 and 64-bit system.

py -m pip install pyaudio  worked for me


Update EFI 01-25-2018 to 04-13-2018

Trackpad kexts not changed since they are not stable right now. Other things I believe we have tested and they are stable.

+* 4-13-2018
+

更新AppleALC v1.2.7

更新SSDT-IMEI.aml, SSDT-PTSWAK.aml, SSDT-SATA.aml, SSDT-XOSI.aml

修改SSDT-LPC.aml已加载原生电源驱动AppleLPC

更新Clover r4438


Support convert Should -HaveCount to v6 syntax

There will be a parameter Count for Should-BeCollection. But it while it being developed ww can use .Count instead and use Should-Be.
https://github.com/pester/Pester/issues/2534#issuecomment-2225591600
The Pester 5 syntax:
$collection | Should -HaveCount 3
# or
$collection | Get-Something | Should -HaveCount 3

Would be converted to:
($collection).Count | Should-Be 3
# or
($collection | Get-Something).Count | Should-Be 3

When Count is introduced to Should-BeCollection then the above Pester 5 syntax should be converted to:
$collection | Should-BeCollection -Count 3
# or
$collection | Get-Something | Should-BeCollection -Count 3

It might be worth waiting for Count to be introduced to Should-BeCollection because it would be a pain to convert it back if it has first been converted to .Count.


Fix type annotations for earlier Python versions

Hey @fhamborg ,
Some code from my previous PR contains modern typing, such as the | character which denotes a specific type OR another, introduced in Python 3.10.
I adapted the code to use a more portable solution.
Sorry about this, it may affect people running news-please with Python versions earlier than 3.10

Cool thanks!

Cool! thank you


Sequelize ORM

Curious, have you taken a look at https://github.com/balderdashy/waterline instead?
It is used by sails.js.

@abacaj I have never head about it before but it looks great!
Thanks to your information you solved my problem of creating Factory for MongoDB and Sequalize

Nice man, good to know it helped out haha.


TTN V3 Payload formatter fails when setting in TTN due to length > 40960

When trying to use the Uplink Decoder, TTN gives the error message:

Formatter code must have less than 40960 characters

For the file Synetica enLink ttn_V3 Uplink Decoder.js
It looks like there are 41,428 characters. Sadly removing the header only gets it down to 41,296
Found on The Things Stack Cloud Standard V3.29.1

Hi Steve! Thanks for finding this issue. I shall shrink the code size. I can't believe how it's grown over the years.
Thanks again!
David @ Synetica.

Removed the comments, and excess fluff. File size reduced to 36.5k


Feature request: Go to method declaration

Hi everyone,
Thanks for the work on this editor and its open nature, it's a really good move from Microsoft, and a promising one.
The only 2 things missing from my point of view are:

a proper settings panel, I understand that it is not trivial, but it's something I guess people could get used to not have, so it's not what this issue is about.
a go-to-function shortcut, I find the ability to jump to a function by pressing Ctrl + R invaluable, and it's supported by Atom too, so it shouldn't be too much of a hassle to find the right package in the atom repo and port some of the code, I think a lot of people will find it useful too.

So it would be great to get it implemented!
Thank you in advance,
Alvin

Thanks for your kind words.

a proper settings panel,
This is a feature request we already have, thanks.

a go-to-function shortcut
did you try ctrl-shift-0? You can rebind this key to if desired.

so it shouldn't be too much of a hassle to find the right package
Not sure I understand, there is no common code between Atom and VS Code except the underlying Electron framework.

Hi,
Thanks for the quick reply, I just tried Ctrl + shift + o which doesn't work properly for me, using the same JS file I can only go to the constructor in Visual Studio, whereas Atom and Sublime allow me to go to the declaration of each method/ function in this file.
I was taking about Atom in case it would be useful for you to have a look at how they parse the file to extract the statements.
Thanks,
Alvin

Is there any update on supporting this functionality similar to Atom in vscode?

"goto definition" is the command to go to the definition of the word under the cursor. You can map that to a key command.
shift-command-O (on mac) is to quickly search and go to a definition on the current page.

@alvinsight ctrl+shift+o will work similar to ctrl+r in sublime if you install language support. for me it start working after installing php language extension.


Add: Power of Two

Codecov Report

Merging #389 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #389   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files         139    140    +1
  Lines        1416   1418    +2
=====================================
+ Hits         1416   1418    +2

Impacted Files
Coverage Δ

problems/power-of-two/power_of_two.go
100% <100%> (ø)

Continue to review full report at Codecov.

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


💥 [DevOps] Dont run services as root (staging)

💥 DevOps ticket

All services on the staging server run as root. This is very dangerous! Run as a different user without privileges
This issue might be obsolete if we decide to change deployment completely

fixed


Updating Mac instructions to install docker 1.9.1 locally

This is for it to be consistent with docker-machine's setup.

I had problems with docker 1.9.1
I think we should use latest GA version of docker on native mac 1.11.2
When I switched to 1.11.2 I had better luck stopping and cleaning kafka container.

It looks like it was a kafka problem and not docker, we will stick with 1.9.1 to have a good devops story, sicne 1.9.1 its what we use to deploy.

rebase and merged a0b4c1dc112ffcad8a9bb33601de7d19d164fcff


publish value to specific key name

The IPFS command line utility provides a way to publish an IPFS path for a particular IPNS key by using its name, e.g. ipfs name publish --key=mykey ...; ipfsapi doesn't seem to have a way to do this, however.

Thanks for your feedback! We are indeed a bit behind in terms of tracking all the recent API additions atm…
As a temporary workaround you can use the opts parameter (for an example see here); it would be awesome however if you could prepare a tiny commit (see 7c16cc6917080fb631f7e329fca17b16980a5d5e for an example) that adds the parameter in proper. :slightly_smiling_face:
Let me know if there are any problems!

So.. I fixed this, but then wondered if maybe the entire idea of trying to keep up with the go api individual args is wrong.  Why not just do something like:
opts = { k.subst('_','-'): kwargs[k] for k in kwargs }

to make ipfs.name_publish(path, key="mykey") work as expected?  It's basically taking the opts workaround and using it as the main way to handle args.   It does mean that the documentation becomes mostly a pointer to the ipfs-go-api docs, but that might be okay?

I guess technically you're right, but I dislike the idea to be honest: The API isn't that volatile anymore and it's kinda nice to have those parameters represented natively in Python – for one it gives us positional parameters that would break for everybody using them atm. Also opts isn't the only "magic parameter" currently supported and we'd basically lock ourselves out of adding more if follow your proposal.
TL;DR: You may be right, but I hope that we can manage with adding the parameters as we go without doing something as drastic. :slightly_smiling_face:


images with non-ascii names don't appear in dev mode

Can you reproduce the problem with latest npm?
Yes.
Description
In dev mode, images in src which are imported and have non-ascii characters in their names are not loaded. The problem does not appear in production builds
Expected behavior
Tell us what you think should happen.
Actual behavior
Tell us what actually happens.
Environment
Run these commands in the project folder and fill in their results:

npm ls react-scripts (if you haven’t ejected):
<EMAIL_ADDRESS>

node -v:
v7.1.0

npm -v:
4.0.2

Then, specify:

Operating system: Windows 10
Browser and version: Edge, Firefox, Chrome

Reproducible Demo
https://github.com/vgrigoriu/diacriticsInFilenames/
Just yarn start to see the issue. There are two identical images, one named Petiole.jpg (which works just fine) and one named Pétiole.jpg which doesn't load. I noticed that this doesn't happen for smaller images, which are converted to data urls.

Thanks for reporting. Likely a bug in Webpack.
In the meantime please use ASCII for filenames when possible.

Tagging as 0.9.1—not because we'll fix it, but because we should at least report it upstream to the project causing it, whether Webpack or something else. Once we report it I'm happy to untag it.

We'll have to test if webpack 2 fixes this.

@vgrigoriu can you test if master fixes this?

Can you point me at instructions on how to use master?

You can clone the project, run npm install and npm start. This will run the development server with the default template. You can then edit it in packages/react-scripts/template.

Thanks, I'll give it a try and let you know.

It seems to have exactly the same behavior as before. The img with diacritics generates a url like http://localhost:3000/static/media/Pétiole.f885429e.jpg, but the development server returns the home page for it.

Would you like to help us by filing a bug in Webpack?

We can ping @bebraw if he's not too busy and ask if he has a suggestion or reason for this. Thanks in advance!

Hi,
I forwarded this to @SpaceK33z as he knows more about WDS. It might be something there.

Should I still open the bug in Webpack?

Maybe better wait for @SpaceK33z to comment, but do as you want. 👍

Just a note that I haven't forgotten this, it's on my list to research soon. It's probably a bug in webpack-dev-middleware.

Okay, found the issue in webpack-dev-middleware and released a new version. Thanks @vgrigoriu for providing a repository, that really helps with narrowing down the issue quickly (I wish everyone would do that 😄 ).

Since this is a transitive dependency, I’m guessing we can close this. New installs shouldn’t have this problem.

@vgrigoriu Thanks for reporting.
@SpaceK33z Thanks for fixing.

I confirmed that it is indeed fixed with webpack-dev-middleware 1.10.1. Thanks everyone for your help.


Third-party payment providers integration

What is the motivation for adding / enhancing this feature?
Currently VS retrieves the list of all available methods and displays them on checkout Payment step.
When the customer chooses some payment method and completes the checkout, VS creates the order in Magento. But in my case to complete the order, the customer needs to be redirected to the providers payment webiste (Magento 2 payment module logic), enter card data, pay and depending on the result - be redirected back to the VueStorefront (Thank you or Failure page).
What are the acceptance criteria
The customer can purchase the order with full payment process integration (similar to Magento logic).
Can you complete this feature request by yourself?
yes, but probably need some support

Please take a look at:
https://github.com/DivanteLtd/vue-storefront/issues/2008
and: https://github.com/develodesign/vsf-payment-paypal

@pkarw thanks, i think we can close the ticket now


OpenSearch sink coordination

Problem
Currently, two opensearch sinks which write to the same OpenSearch cluster have no coordination between them. If one of the sinks is experiencing increased error rates, there is no way to notify the other sinks to attempt to backoff as well.
Additionally, other pipeline components which use OpenSearch do not coordinate among themselves or with other OpenSearch components. This includes otel_trace_group and the OpenSearch source proposed in #1985.
Proposal
Provide a Data Prepper extension for OpenSearch clusters to use for coordinating requests. This can add backoffs at the cluster-level and not just at the sink level.
Plugin support
This proposal is to use the plugin extensions proposed in #2588 to provide a common set of code for coordinating.

@dlvenable Would this also impact the case where there are two opensearch sinks which write to different clusters?
I was doing some testing with two different clusters and one cluster hit a write block. After that the other cluster stopped receiving data even though it was in a healthy state.
It seems like in that case Data Prepper should be able to continue writing to the healthy sink and events that are sent to the unhealthy sink should be dropped or written to the DLQ, depending on the configuration


Ensure users can be created without conflicts

When creating a new user we must ensure their username is unique (already done) but also that we can create a namespace with the same name. If not then we should block user creation.

Fixed


Add missing serum functions to dex.rs

Adds three missing functions for the permissioned serum market program.
Ready for review

It's only failing a single test, for swap because the serum swap code must be running an older version of serum

@armaniferrante This PR still fails for dumb reasons but works for me locally, so I would vote that it get accepted anyway. The only thing it might break is for people using older versions of serum that don't have a crank_authority

Hmmm, not sure how to fix these failing tests tbh. But at least the functions are here for anyone who's looking for them. 🤷

Again, seems like a dead PR.


Add pager to prometheus alertmanager receivers

Need code for pager access.  Add to alertmanager notifications

Tested page.py which works as expected.
Need to add a webhook to alertmanager to call page.py
Need to review alerts and organized them as needed.

Alertmanager expects a webhook.  This is a standard solution and was installed on Debian from apt.  It's a small http server installed in systemd.
https://github.com/adnanh/webhook
This /etc/webhook.conf works after setting up adsb_actions in ~webhook user.
Webhook.conf configures hooks

id: brc-pager-webhook
execute-command: "/usr/bin/python3"
command-working-directory: "/home/webhook/adsb_actions/src/adsb_actions"
pass-arguments-to-command:

source: string
name: "page.py"
source: string
name: "deputy"
source: string
name: 'harper webhook test 5'

Next, figuring out how to pass arguments to the webhook

Working from here.  Need to move config to production servers.


Add sector to FacilityIndex

Overview
Adds support for storing all Facility sectors on FacilityIndex as part of index_facilities
Connects #1831
Notes
This was fairly annoying to resolve, and I'm not very happy about where I ended up.
This is the query that gets data for FacilityIndex right now:
SELECT          "api_facility"."name"            AS "name",
                "api_facility"."country_code"    AS "country_code",
                "api_facility"."location"::bytea AS "location",
                Array_agg("api_contributor"."contrib_type" ) filter (WHERE (
                                "api_facilitymatch"."is_active" = TRUE
                AND             "api_facilitymatch"."status" IN ('AUTOMATIC',
                                                                 'CONFIRMED',
                                                                 'MERGED')
                AND             "api_source"."is_active" = TRUE
                AND             "api_source"."is_public" = TRUE)) AS "contrib_types",
                array_agg("api_source"."contributor_id" ) filter (WHERE (
                                "api_facilitymatch"."is_active" = TRUE
                AND             "api_facilitymatch"."status" IN ('AUTOMATIC',
                                                                 'CONFIRMED',
                                                                 'MERGED')
                AND             "api_source"."is_active" = TRUE
                AND             "api_source"."is_public" = TRUE)) AS "contributors",
                array_agg("api_source"."facility_list_id" ) filter (WHERE (
                                "api_facilitymatch"."is_active" = TRUE
                AND             "api_facilitymatch"."status" IN ('AUTOMATIC',
                                                                 'CONFIRMED',
                                                                 'MERGED')
                AND             "api_source"."is_active" = TRUE
                AND             "api_source"."is_public" = TRUE))                                                                                AS "lists",
                "api_facilitymatch"."facility_id"                                                                                AS "id",
                                concat("api_facility"."ppe_product_types", concat("api_facility"."ppe_contact_phone", concat("api_facility"."ppe_contact_email", "api_facility"."ppe_website"))) AS "ppe"
FROM            "api_facilitymatch"
inner join      "api_facility"
ON              (
                                "api_facilitymatch"."facility_id" = "api_facility"."id")
inner join      "api_facilitylistitem"
ON              (
                                "api_facilitymatch"."facility_list_item_id" = "api_facilitylistitem"."id")
inner join      "api_source"
ON              (
                                "api_facilitylistitem"."source_id" = "api_source"."id")
left outer join "api_contributor"
ON              (
                                "api_source"."contributor_id" = "api_contributor"."id")
GROUP BY        "api_facility"."name",
                "api_facility"."country_code",
                "api_facility"."location",
                "api_facilitymatch"."facility_id",
                                concat("api_facility"."ppe_product_types", concat("api_facility"."ppe_contact_phone", concat("api_facility"."ppe_contact_email", "api_facility"."ppe_website")))

We can't simply follow the same pattern as the scalar fields by using ArrayAgg as it would simply give us an array-of-arrays, but we also can't directly use unnest inside ArrayAgg either - this is apparently not allowed by Postgres. What Postgres wants us to do instead is the following:
@@ -22,6 +22,13 @@ SELECT          "api_facility"."name"            AS "name",
                                                                  'MERGED')
                 AND             "api_source"."is_active" = TRUE
                 AND             "api_source"."is_public" = TRUE))                                                                                AS "lists",
+                array_agg(DISTINCT sectors) filter (WHERE (
+                                "api_facilitymatch"."is_active" = TRUE
+                AND             "api_facilitymatch"."status" IN ('AUTOMATIC',
+                                                                 'CONFIRMED',
+                                                                 'MERGED')
+                AND             "api_source"."is_active" = TRUE
+                AND             "api_source"."is_public" = TRUE))                                                                                AS "sector",
                 "api_facilitymatch"."facility_id"                                                                                AS "id",
                                 concat("api_facility"."ppe_product_types", concat("api_facility"."ppe_contact_phone", concat("api_facility"."ppe_contact_email", "api_facility"."ppe_website"))) AS "ppe"
 FROM            "api_facilitymatch"
@@ -36,7 +43,8 @@ ON              (
                                 "api_facilitylistitem"."source_id" = "api_source"."id")
 left outer join "api_contributor"
 ON              (
-                                "api_source"."contributor_id" = "api_contributor"."id")
+                                "api_source"."contributor_id" = "api_contributor"."id")
+CROSS JOIN unnest("api_facilitylistitem"."sector") sectors
 GROUP BY        "api_facility"."name",
                 "api_facility"."country_code",
                 "api_facility"."location",

Unfortunately, this is not possible with the Django ORM - there is no built-in way to add an expression or subquery to the FROM-clause of the query.
I tried several different ways to rewrite the query as a subquery to work around that, but I couldn't come up with a good solution via that route either.
I considered making just the sector portion it's own raw query, but given the complexity of the query that felt like potentially more of a maintenance burden than the solution I ended up with, even if it is a bit hacky.

I also fixed the makecsvs and makefixtures command to support sector,  in order to follow the instructions in https://github.com/open-apparel-registry/open-apparel-registry/pull/1214 on how to create large amounts of test data
Testing Instructions

scripts/server
Add a CSV or post to the facility-list ViewSet. It should correctly update the FacilityIndex in your database

Checklist

[x] fixup! commits have been squashed
[x] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines
[x] This PR is targeted at the correct branch (develop vs. ogr/develop)
~[ ] If this PR applies to both OAR and OGR a companion PR has been created~

On our staging database the migration took ~6 minutes and pushed the CPU up to 50%. Since we won't be running this migration while the app is in production this should be ok (when we transition to OSH we will migrate a production snapshot, but it won't be "live" until after the migration is run.)


Explain difference

Can you please explain what difference between these builds?

See the variant suffix at the end.
The ones with vulkan support vulkan, the ones with lgpl are lgpl, the gpl ones gpl, and the 4.3 ones are from the 4.3 release branch.

I understand that each build comes with a different license, and I assume each release therefore contains different content such as codecs? It would be nice to know how each build differ in content. After reading this it is still not clear to me which one I should use.  So they are not part of the LGPL builds.
That's pretty much the only notable difference between the two from a pure user perspective.
See the GPL-Library-List in ffmpegs configure script for a detailed list of what's GPL-only.

Some encoders, most notably x264 and x265, are GPL-Only. So they are not part of the LGPL builds.
That's pretty much the only notable difference between the two from a pure user perspective.
See the GPL-Library-List in ffmpegs configure script for a detailed list of what's GPL-only.

This infomation is essential and should be pointed out in the release info. I got Unknown encoder 'libx264' error if downloaded the non-GPL version.

Some encoders, most notably x264 and x265, are GPL-Only. So they are not part of the LGPL builds.
That's pretty much the only notable difference between the two from a pure user perspective.
See the GPL-Library-List in ffmpegs configure script for a detailed list of what's GPL-only.

thanks.
I received an error yesterday Unknown encoder ‘libx265’.
now I understand.


Broken: steam-deb

Package name
steam-deb
Version
<IP_ADDRESS>
Pacstall version
4.7.2
Commented issue :
The function prepare is not executed.
So steam:i386 cannot be installed
This issue is only for Debian because i386 is activated by default on Ubuntu
  sudo dpkg --add-architecture i386
  sudo apt-get update
}

it depends on steam-launcher-deb
pacdeps=("steam-launcher-deb")
and it points to i386 binary
url="https://repo.${gives}powered.com/${gives}/archive/stable/${gives}_${pkgver}_i386.deb"
arch is set as amd64 but it is i386 package.
arch=('amd64')
the URL is the same to steam-launcher-deb but for i386 and not for amd64
I don't know how to fix but this package seems to be useless...
and steam-launcher-deb is, in reality the real steam.deb

done: https://github.com/pacstall/pacstall-programs/pull/5922


Don't need .git folder for server anymore

It's always bothered me that the server needed its own .git folder in order to operate. That's only because we're trying to get the commit ID of the server for (I think?) image caching reasons. But that shouldn't be needed in prod environments.
Details:

Set VIVARIA_VERSION in the built image, and set to empty in development
Look for the version in env config and fall back to git

Testing:
I tested locally using both prod and dev setups:

VIVARIA_VERSION=$(git rev-parse HEAD) docker compose -f docker-compose.yml up --build to launch while ignoring any local compose overrides
Once that image is built and verified that it's working, use the compose dev override to reset VIVARIA_VERSION and it still works, reading from git

Can see that it's working with docker run --rm -it --entrypoint= ghcr.io/metr/vivaria-server:tmp-hotfix-public-images-git-config env | grep VIVARIA_VERSION


[example bottom navigation multiple beamers] Unable to switch tabs after beamBack is used

Describe the bug
In the example, the back button can be pressed to go to the previous page. It is also convenient that when all the pages are popped, it will go to the previous tab the user was on (beamBack()). However, after beamBack() is used to go from the Articles tab back to the Books tab, the user is unable to change tabs,
Beamer version: Prelease v1.0.0-pre.5.0 Turns out its latest Beamer on Github, which isn't published
To Reproduce
Steps to reproduce the behavior:

Go to 'Books' page
Click on 'Articles' tab
Press android back button
Can't go back to 'Articles' tab

Expected behavior
Two options
Option 1: Back button should not go to another tab
A temporary fix would be to disable beamBack fallback in the back button dispatcher. This is not ideal, as using beamBack() to go to another navigation bar tab is a legitimate use case.
backButtonDispatcher:` BeamerBackButtonDispatcher(
        fallbackToBeamBack: false,
        delegate: routerDelegate,
      ),

Option 2: beamBack() should work to go between bottom navigation tabs and allow the user to switch tabs afterward.
Screenshots

Smartphone (please complete the following information):

Device: Android
OS: API 30

Additional context
I know that this is a prerelease so bugs are expected. This version has already fixed a lot of the issues i was having on 0.14.1, I really appreciate the time you put into this package.

Actually turns out I'm using the latest version of Beamer on Github (since its in the example directory), which isn't published yet.
I think it would help with a lot of confusion if you worked on the next version release on a separate branch instead of master (or have a branch for each release for the sake of archiving/ease of access)

Hi @getBoolean
Thanks for creating this issue.
I've just got back into beamer after a short break and am currently looking at the exact problem you're describing. I'm trying to generally improve and simplify the parent-child relationship between Beamers and this ought to solve all kind of problems that people have with nested Beamers.

or have a branch for each release for the sake of archiving/ease of access

I will do this. Thanks for the suggestion.

Hey @getBoolean
I figured that the BeamerDelegate for articles will pick up the route from parent BeamerDelegate that gets updated when tabs switch, i.e. entire AppScreen above them rebuilds. That route would then be /books and articles delegate doesn't know what to do with it.
Solution 1
Set updateFromParent: false on BeamerDelegate for articles.
Solution 2
Add a BeamGuard  on  BeamerDelegate for articles
guards: [
  BeamGuard(
    pathPatterns: ['/books'],
    check: (_, __) => false,
    beamToNamed: (_, __) => '/articles',
  ),
],


Fix the massive pods download by using Analytic's from a tag

Thus: using shallow clones in CP. This it's safe to assume anything we wanted in 3.0.3 is in 3.0.7

Aye :+1:


how to use it ?

please explain how can i use it ?
steps?

Sorry for the delayed response - in order to use the module, you should clone / copy it to your Pineapple device, either in the /pineapple/modules or /sd/pineapple/modules directory, depending on whether you want to store it on your device or SD card. You should then be able to access it via the Modules page on the web UI.


Use simhash to detect blockpages

Mentioned by @darkk in https://github.com/TheTorProject/ooni-pipeline/pull/62

In https://github.com/ooni/probe/issues/1727 I run some experiments using TrendMicro's tlsh to measure pages equality. I see an hash such as tlsh useful to state whether the page returned by the control is the same as the page observed by the probe. On the contrary, simhash is useful to measure the distance but it's still unclear to me exactly how we can reduce that into the space of equality.


Setting to toggle full screen

Having a transparent window start fullscreen is pretty scary if you don't expect it. The program should start windowed with a border to alleviate confusion and have a setting in the settings menu to toggle fullscreen.

Fixed with #31

thanks for unwinding my messy PR
Should I reintegrate my fullscreen toggle the same way I had it in the PR or do you have any feedback?

@spaghetticodefactory I think the only feedback we had was not to change the signals. They should be connected in the editor.
I’m not sure if I accidentally closed your PR or not. Sorry if I did


Allow specification of font

Greetings!
This changeset allows for font selection.  It doesn't introduce any sort of fine-grained data type which deals with font-style, font-variant, etc directly -- instead, we opted for a simple string.  Given that the HTML canvas font property uses a simple string, we hope that this is an adequate approach.
You can see this in action in our humble pong clone, at least for the time being.  We used small-caps 10px Courier New to change the font.
Example of the Font API call

Please let us know if you'd like any changes.  Thank you! 🙇

https://github.com/not-fl3/good-web-game/commit/9b15ecba78bf239558091dc8def029fe8215451f Made Font copyable with thread local fonts storage.
Font::from_html_font("small-caps 10px Courier New") should works now, so its both ggez-compatible and allow to make canvas-specific fonts. Looks good to me :)

Thanks very much! I'll update my game to use the new version!  🦀🦸♀


Incorrect conversion to metric

Using the 'convert = TRUE' option with import_data( ), some of the metric values in the resulting data frame are incorrect. This appears to be the case for the columns tmax_cy_c, tmax_wy_c, tmin_cy_c, and tmin_cy_c. The precip columns (prcp_cy_mm and prcp_wy_mm) are correct.

Resolved. Parentheses were added to the internal equation used to calculate C from F. Testing indicates that the problem is resolved. Please let me know if you find this error is still occurring.


fix: allow compute timeouts to be configured

The flag max-timeout has been renamed to max-job-execution-timeout to be more specific to its purpose. (docs change here: https://github.com/bacalhau-project/docs.bacalhau.org/pull/283)
closes #2870

You will need to inform the LabDAO users that you have changed the name of the flag – please make a note to do this when you make the release.


fix: run each table iterator in separate goroutine for parallel processing

Description
Run each table iterator in a separate goroutine for parallel processing.
Fixes https://github.com/conduitio-labs/conduit-connector-redshift/issues/101.
Quick checks:

[x] There is no other pull request for the same update/change.
[x] I have written unit tests.
[x] I have made sure that the PR is of reasonable size and can be easily reviewed.

@grvsahil looks like this is approved anything blocking merge?

@grvsahil looks like this is approved anything blocking merge?

nothing, merging it now.


feat(metrics): hold strong reference to probes results in micrometer gauge

Issue
https://github.com/gravitee-io/issues/issues/10070
Description
probes results in NaN for prometheus micrometer. It's because we are not holding a strong reference to the state object
doc
Additional context

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 6.0.8-APIM-7113-prometheus-metrics-6-0-x-SNAPSHOT
download it from Artifactory here

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

6.0.8
GitHub release

Your semantic-release bot :package::rocket:


#4786: Add upsample_nearest2d functional stable diffusion

PR for upsample_nearest2d implementation in function_stable_diffusion model

CI tests are passing link


Stryker hanging on the very last test

Hello,
I'm, currently facing an annoying issue:
During my tests execution my very last test doesn't end. So stryker hangs at 100% and i never gets the report.
I've tested a few combinations to figure this out, but the best so far i only discovered that this happens when i have approximately 400 mutators running. At the moment, the folder which i'm targeting generates 1366 mutators. But i have plans to run in more folders of my project.
Here are my dependencies:
"stryker": "0.21.1",
    "stryker-api": "0.15.0",
    "stryker-html-reporter": "0.14.2",
    "stryker-javascript-mutator": "0.5.0",
    "stryker-jest-runner": "0.5.1"

Here is my conf:
module.exports = function(config) {
  config.set({
    mutate: [
      "src/components/**/*.js",
      "!src/components/**/*.spec.js",
      "!src/components/**/*.stories.js",
      "!src/components/**/styles.js",
      "!src/components/**/*.snap.js"
    ],
    testRunner: 'jest',
    reporter: ['clear-text', 'progress', 'html'],
    coverageAnalysis: 'off',
    mutator: 'javascript',
    logLevel: 'debug',
    timeoutMs: 300000
  })

};

@andrepm06 thanks for reporting this issue.
How long did you wait for Stryker to hang at 100%? I Stryker might be waiting on one or more mutants that are still being tested. You specify a timeoutMs of 300000 (5 minutes).
Could you try without the timeoutMs option (the default value should be fine).
More background info:
Stryker can mutate your code in such a way that it creates an infinite loop. For example:
let i = 0;
while(i < 10){
   i++;
}

Stryker might mutate this to:
let i = 0;
while(i < 10){
   i--;
}

This would be an infinite loop. Stryker will wait a calculated amount of time before killing off this test runner and reporting the mutant as Timeout.
For more info on timeouts, please see https://github.com/stryker-mutator/stryker/tree/master/packages/stryker#global-timeout-in-milliseconds

How long did you wait for Stryker to hang at 100%?

More than 5 minutes for sure.
Also, removing timeoutMs i have 721 tests being running in 20 minutes, but all of them timed out.

What OS are you running? If you're running on linux of mac: I might know what the cause is.
For the timeout issue: this should actually be fixed. I've implemented a fix here: https://github.com/stryker-mutator/stryker/commit/ad06c115cac064a02dc90f7a446966c2cc2219b7#diff-d43e1982197040e98ca0edb58dc5ddaa however, it seems that it didn't end up in the changelog for some reason.
@simondel any idea what went wrong there?
@andrepm06 upgrading to these versions will fix that issue, but still leave you with the issue of Stryker not closing I'm afraid.
 -<EMAIL_ADDRESS> -<EMAIL_ADDRESS> -<EMAIL_ADDRESS>

I'm running in MacOS 10.13.3.
I've upgraded the dependencies as you suggested, but timeouts are still there.

Sorry, forgot the dependency update for stryker itself :(. Could you try it<EMAIL_ADDRESS>(just did a new release with a fix that might you ==> 0.24.2).
If that doensn't work I need some more information. Could you attach a screenshot of the console output and a screenshot of your processes?

@nicojs I think i cannot share my running processes, but I've attached the npm processes running. What do you need?

@nicojs Not worked =(

I don't know if this is helpful, but I had the same issue. It went away after I used explicit whitelists and used no blacklist for the mutate field. I'm using this in node, and my suspicion is that some weird framework file or dependency gets mutated and that causes the hang. I don't know what the root cause is.

@jeffreyscholz You mean, expliciting the files which i want to mutate?

@andrepm06 no, folder level. For example, in my node project I did [middleware/**/*.js, routes/**/*.js, ...]. I suggest only allowing a small subset into the mutation then slowly expanding it until you see the error pop up again. I realize this is not a real fix, but this is what I ended up doing.

@andrepm06 could you try this again after upgrading to 0.26.1? We changed the core of how we spawn and handle test runners in child processes.
In addition, could you try to use wtfnode to run Stryker? For example: wtfnode node_modules/.bin/stryker run. When Stryker hangs again, it will output the reason to the screen after interrupting the application (CTRL+C). Worked like a charm for me when I was debugging reasons for hanging applications earlier this week.

It worked!
"stryker": "0.26.1",    "stryker-api": "0.18.0",    "stryker-html-reporter": "0.14.2",    "stryker-javascript-mutator": "0.7.2",    "stryker-jest-runner": "0.5.1",

Awesome! nice to hear that it has been fixed. I'll close this issue for now. If the issue comes back, please let it know!


Link to known issue with angular schematics

The readme states:

Note: There is currently an issue with Schematics use of require.resolve() however there is a known workaround:

Can we please get a link to the issue for tracking in this project?

See:

https://robferguson.org/blog/2017/12/31/the-future-of-the-ionic-cli/
https://stackoverflow.com/questions/46429693/angular-cli-custom-schematics-collection

Thank you


Restore uncaught error handling.

Essentially a rebase/fast-forward of #2595.
Ensures that openfl-enable-handle-error can be used, regardless if a build is debug or release.

vouch for this one, we've been using this internally on FNF and it has worked as expected and very nicely as a fix to handle uncaught errors!


Attach different lifetimes to the tile block struct and its data.

So the tile block reference doesn't need to live as long as the data it "holds".

Coverage remained the same at 70.922% when pulling a597367d6a713ddee0dfdcbe46c1684845636d83 on legionella-rs:blk-ctx-lifetimes into dc34123f5316c66547d3cfbfb86855991db1a1ec on xiph:master.

In theory, it releases some unnecessary constraints. In practice, the lifetime parameters are exposed to the type, so every usage of the type needs to pass all of them (at least as '_).
So in the general case, instead of:
struct MyView<'a> {
    pub w: &'a W,
    pub x: &'a X,
    pub y: &'a Y,
    pub z: &'a Z,
}

You would get:
struct MyView<'a, 'b, 'c, 'd> {
    pub w: &'a W,
    pub x: &'b X,
    pub y: &'c Y,
    pub z: &'d Z,
}

And passing that type to a function:
fn f(v: &MyView<'_, '_, '_, '_>) { … }

Just for information, I initially implemented it with 2 lifetimes (with less constraints though) in tiling.78 (70bd1e5571a5069a7bba827a7530fcc73b216f53). I decided not to, because I considered it was not worth it, and change it in tiling.79 (2883c68120f27e810f66a367335fae556bf87c7b).
But of course, if there is a benefit, we could change it.


Removed too many warnings

Removed too many warnings

Also, can you update the CHANGELOG alongside these changes?


ECS builds do not seem to update the HTML report

ECS builds do not seem to update the HTML report
ECS builds do not seem to update the branch status badge

Closing as it's not related to this repo – that's an issue for lambci/ecs


[YQ-1997] Support for ReplaceIfExists flag in SchemeShard for External Data Source and External Table

Changelog entry
...
Changelog category

New feature

Additional information
...

LGTM, but you need approve from scheme shard expert


Import bubblebabble.c from MRI and run this in Natalie

Current state: it has been converted to use the Natalie API. We should add wrapper functions to emulate the MRI API.

So, this is like 80% of the lines converted and only 20% of the actual work done.
The main issue I'm encountering is the need to pass the env argument everywhere. There is no equivalent state object in MRI (mruby does have one, but since the C modules are not compatible that's not a solution for us)
I've started to use some macros instead of functions, but this feels very brittle and I feel like I'm reaching the ceiling for that.
So, the best structure I could come up with is this:
namespace {
  // Global variables, not thread safe, so every caller has to use the mutext
  Env *env;
  std::recursive_mutex mutex;

  // Translation functions, e.g.
  void rb_raise(VALUE klass, VALUE message) {
    env->raise(klass, message);
  }

  #include "original file from ruby.c"
  rb_define_method(rb_mDigest_Instance, "bubblebabble", rb_digest_instance_bubblebabble, 0); // Example line from the original file, which results in this code:
  auto bubblebabble_lambda = [](Env *env_arg, Value self, Args args, Block *block) -> Value {
    // Only one caller changing *env at a time
    std::lock_guard<std::recursive_mutex> lock(mutex);

    // Set current env
    env = env_arg;

    // Call the original method, which now has an env variable accessible.
    return rb_digest_instance_bubblebabble();
  };
  rb_mDigest->define_method(env, "bubblebabble"_s, bubblebabble_lambda, 0);
}

What a neat idea for getting the env to be available where we need it! If this works for this library, that could be not-bad.
Another idea I had was to see if we could write a little tool (e.g. bin/translate_mri_c_to_natalie_c.rb or some such) that adds the env to every call site of a MRI-type function. But that would result in a lot more altered code than your idea, so maybe what you have proposed is better.

I am closing the Pull Request. It served its purpose as a proof of concept, but I'm going to start with a new attempt using a C extension with a few less dependencies (in other words: just write a very basic one from scratch).
I will be developing at the branch https://github.com/herwinw/natalie/tree/run_ruby_c_ext in case anybody want to follow it, but it will be very infrequently.


WIP: update kind to 0.20.0

@dejanzele pointed out some issues with the setup and I can replicate it on latest version of kind.
Want to test it out in CI to verify my hypothesis.

/test pull-jobset-test-e2e-main-1-29

/test pull-jobset-test-e2e-main-1-29
/test pull-jobset-test-e2e-main-1-28

I don't know can amd64 or arm64 build of kind impact this somehow. I have issues in kind v0.20.0 go1.20.5 darwin/arm64 for sure. I'll try to validate on a linux amd64 machine.

/test pull-jobset-test-e2e-main-1-29
/test pull-jobset-test-e2e-main-1-28

I don't know can amd64 or arm64 build of kind impact this somehow. I have issues in kind v0.20.0 go1.20.5 darwin/arm64 for sure. I'll try to validate on a linux amd64 machine.

So the e2e tests sometimes see this error and the deployment doesn’t come up. I will see about installing it on a real kube cluster.
I don’t know why the e2e tests sometimes work and sometimes fail horribly…

/test pull-jobset-test-e2e-main-1-29
/test pull-jobset-test-e2e-main-1-28

@dejanzele pointed out some issues with the setup and I can replicate it on latest version of kind.
Want to test it out in CI to verify my hypothesis.

@kannon92 is this PR for testing purposes only? If so, let's mark it with a hold label.

/lgtm
/approve

/hold cancel
I put a hold on this because I wanted to see if this would cause more flakes or not. Didn't see that.

/hold cancel

/cancel hold


Added null checks - fixes an issue where source may not contain values

Quick fix related to #116 - null checks needed, transformation failed for me at this point

Thanks @pkbullock . This indeed makes sense to support the scenario where the source html field was not having a value


[BSI][20201223] Best-Practice Violation: Prevent SQL Injections

Rating: Informational
Description:
The application contains multiple string concatenations for SQL queries.
None of the strings are controlled by the user or the server. However, if that changes (e.g. if the retention policy becomes a server-controlled value) it instantly implies an SQL injection.
SQL injection vulnerabilities arise when user-controllable data is incorporated into database SQL queries in an unsafe manner (e.g. string concatenation). An attacker can supply crafted input to break out of the data context in which their input appears and interfere with the structure of the surrounding query.
Various attacks can be delivered via SQL injection, including reading or modifying critical application data, interfering with application logic, escalating privileges within the database and executing operating system commands.
Most of the other queries are parameterized, the same should be applied to the following occurrences found in
https://github.com/corona-warn-app/cwa-app-ios/blob/4e3f737af869e0786e202358da39a3755184b552/src/xcode/ENA/ENA/Source/Scenes/ContactDiary/Store/ContactDiaryStoreV1.swift#L86
https://github.com/corona-warn-app/cwa-app-ios/blob/4e3f737af869e0786e202358da39a3755184b552/src/xcode/ENA/ENA/Source/Scenes/ContactDiary/Store/ContactDiaryStoreV1.swift#L92
https://github.com/corona-warn-app/cwa-app-ios/blob/4e3f737af869e0786e202358da39a3755184b552/src/xcode/ENA/ENA/Source/Scenes/ContactDiary/Store/ContactDiaryStoreV1.swift#L145
https://github.com/corona-warn-app/cwa-app-ios/blob/4e3f737af869e0786e202358da39a3755184b552/src/xcode/ENA/ENA/Source/Scenes/ContactDiary/Store/ContactDiaryStoreV1.swift#L150
https://github.com/corona-warn-app/cwa-app-ios/blob/4e3f737af869e0786e202358da39a3755184b552/src/xcode/ENA/ENA/Source/Scenes/ContactDiary/Store/ContactDiaryStoreV1.swift#L825
Recommended Controls:
All user-supplied data must be checked and validated, so that no SQL code is included into database commands. Proper input validation via Regular Expressions can help to mitigate this attack vector. Therefore, a list of allowed characters should be defined. This list should not include any characters that are handled in a special way by the database.
Additionally, prepared statements can be used to create SQL queries that are not vulnerable to SQL Injection. Any kind of string concatenation must be avoided, instead parameterized queries must be constructed.

Thanks for pointing that out, we'll keep an eye on it.
As you already mentioned, the SQL statements that you referenced do not process user-supplied, server-supplied, or any other external data, so there is no attach surface for SQL injections in the 1.10 release.
The queries that do process user-supplied data are properly protected against SQL injections, e.g.:
https://github.com/corona-warn-app/cwa-app-ios/blob/4e3f737af869e0786e202358da39a3755184b552/src/xcode/ENA/ENA/Source/Scenes/ContactDiary/Store/ContactDiaryStoreV1.swift#L207-L222
or
https://github.com/corona-warn-app/cwa-app-ios/blob/4e3f737af869e0786e202358da39a3755184b552/src/xcode/ENA/ENA/Source/Scenes/ContactDiary/Store/ContactDiaryStoreV1.swift#L288-L307
I'll close the issue then.


Right side width

The right side (content not left menu) doesn't have a responsive width. Below 1400px or so, the content goes out of the right side of the browser. It should respond to window size.

This was intentional as the PropTypes do not fit on a table that small.  I'm open to better suggestions than limiting width though.  One thing might be using a <Table /> for the props and allowing it to be responsive.

That sounds fine. The main issue I'm seeing is for the UI elements I'm adding they extend awkwardly off the side. (see screenshot) A width would at least allow them to wrap. We could also add a width limit for just the ui examples I would think.

This has been addressed by removing flex. It will be in my feature/button-examples PR


Allow for assigning reviewers (individuals and teams)

Per discussion in #23 and #19 we would want to add integration with this API endpoint https://developer.github.com/v3/pulls/review_requests/ to either assign an individual or team as reviewer. @satishjuvo88 if I can make some time to implement this, would you again be able to test?

All set, please test / review https://github.com/vsoch/pull-request-action/pull/26.

@vsoch i'll do it now thanks

It doesnt work for me, not sure if im doing something wrong.

PULL_REQUEST_REVIEWERS: 'akaroth'
PULL_REQUEST_TEAM_REVIEWERS: 'juvoinc/webteam'

Can you share the print output in your action?

  "href": "https://api.github.com/repos/***inc/***-admin-panels/statuses/9aa41cc528ce13eb4c920b1a17d079471b67cb5b"
}

},
"author_association": "NONE",
"merged": false,
"mergeable": null,
"rebaseable": null,
"mergeable_state": "unknown",
"merged_by": null,
"comments": 0,
"review_comments": 0,
"maintainer_can_modify": false,
"commits": 5,
"additions": 4,
"deletions": 2,
"changed_files": 1
}
Number opened for PR is 122
Found reviewers: "akaroth" and team reviewers: "***inc/webteam"
{"reviewers":["akaroth"], "team_reviewers":["inc"/,"webteam"]}
Enter host password for user 'satish88':
{
"message": "Problems parsing JSON",
"documentation_url": "https://developer.github.com/v3/pulls/review_requests/#create-a-review-request"
}
0
END: Finished

The names of the team I don’t think should have a slash. Why did you include the slash? Can you show me a link to the team?

hey @satishjuvo88 just to follow up - you don't need to specify the organization (I noticed that it's an org here https://github.com/juvoinc/) with the team, it's implied that the team being assigned to the PR needs to be in the same organization as the repository. I've tested this locally so I'm going to merge and then release, and please re-open an issue if you still have an issue after removing the team name and / from the action workflow. Thanks!


Automatically upload to crates.io with gh actions

I was about to ask what is the process to push to crates.io LOL.

We need to register the token into secrets value in gh actions.

I'd be happy with that, which token do you want to use? From a robot account?
@utam0k I made you repo admin, you can add the token if you want to.


"Scroll labels" doesn't work

"Scroll labels" doesn't work. I have it enabled in settings. But the title in the taskbar doesn't scroll no matter what I do.  I have it with Fedora Gnome 45 and 46 and in Ubuntu Gnome 46.
There are numerous error messages in journald log. Errors say "st_widget_get_theme_node called on the widget" "which is not in the stage". With each song there are errors:
17.06.2024 14:25<EMAIL_ADDRESS>st_widget_get_theme_node called on the widget [0x56cbd4c87c60 StBoxLayout:insensitive ("⚫ One Love — Electric Universe / One Love (Vinyl)")] which is not in the stage.
17.06.2024 14:25<EMAIL_ADDRESS>st_widget_get_theme_node called on the widget [0x56cbcf737870 StLabel:insensitive ("⚫ One Love — Electric Universe / One Love (Vinyl)")] which is not in the stage.
17.06.2024 14:25<EMAIL_ADDRESS>st_widget_get_theme_node called on the widget [0x56cbcee0e760 StBoxLayout:insensitive ("One Love")] which is not in the stage.
17.06.2024 14:25<EMAIL_ADDRESS>st_widget_get_theme_node called on the widget [0x56cbcb8aa590 StLabel:insensitive ("One Love")] which is not in the stage.
17.06.2024 14:25<EMAIL_ADDRESS>st_widget_get_theme_node called on the widget [0x56cbd0841930 StBoxLayout:insensitive ("Electric Universe / One Love (Vinyl)")] which is not in the stage.
17.06.2024 14:25<EMAIL_ADDRESS>st_widget_get_theme_node called on the widget [0x56cbc8041ee0 StLabel:insensitive ("Electric Universe / One Love (Vinyl)")] which is not in the stage.

Why was our template not used to report the bug and the questions answered ?
The messages in log are WARNINGS not ERRORS.
I just tested it on debian testing and it works as expected btw


<IP_ADDRESS>

https://ci.appveyor.com/project/jpboyce/cb-cis-windows-2016#L1521

Resolved by 9cc4dbe


Updated MicroPython Pico Display documentation

I've expanded the MicroPython Pico Display documentation to cover all functions, trying to keep in the style of what was currently there.
I've also included the clips diagram from my documentation repo: @Gadgetoid I know you said you wanted to incorporate some sort of image but I wasn't sure exactly what you had in mind, so I've put that in as a placeholder until something better can be put together.
Happy to change it as required.

This is already so far beyond what I'd ever expect from a PR that I'm happy to merge away and fix stuff ad-hoc. But some observations:

We should probably observe PEP8 codestyle for better or worse (I might not have!), in particular function arguments should be function(x, y, z) rather than function(x,y,z).... pedantry ahoy!

Where something like character is documented, a quick inline example of getting an individual char code might be handy. IE: char_a = ord('a')

For graphics I was hoping to shore up the Pico Graphics library just enough to make it output images so we could do really accurate "in-engine" demos of every drawing operation (pixel doubled if necessary). If this sounds like an over-ambitious bout of pure madness that we almost certainly don't have time for... that's probably because it is. This does mean that code usage example and actual output can sit side-by-side though.

This is already so far beyond what I'd ever expect from a PR that I'm happy to merge away and fix stuff ad-hoc. But some observations:

We should probably observe PEP8 codestyle for better or worse (I might not have!), in particular function arguments should be function(x, y, z) rather than function(x,y,z).... pedantry ahoy!

Where something like character is documented, a quick inline example of getting an individual char code might be handy. IE: char_a = ord('a')

For graphics I was hoping to shore up the Pico Graphics library just enough to make it output images so we could do really accurate "in-engine" demos of every drawing operation (pixel doubled if necessary). If this sounds like an over-ambitious bout of pure madness that we almost certainly don't have time for... that's probably because it is. This does mean that code usage example and actual output can sit side-by-side though.

Okay re graphics demos I had an idea and apparently 99% of the work is already done for me so I only had to glue Pico Graphics into 32blit and come up with...

Okay re graphics demos I had an idea and apparently 99% of the work is already done for me so I only had to glue Pico Graphics into 32blit and come up with...

And with not too much more tinkering, here's what I was going for:

And with not too much more tinkering, here's what I was going for:

Who knows how useful this is though:

Who knows how useful this is though:

OK, I've taken a read through of PEP8 and I think I've caught everything?  And I've doc'd the char_a example, I'd entirely forgotten that ord() was a thing.
I've also nuked my clip diagram to make space for your much prettier diagrams.  I love the style, my only comment would be that they'll be quite a chunky interruption to the text.  I think this is probably necessary for the clip function.  I tinkered with the below for rectangle, but the origin pixel gets a bit lost.  What do you think?

OK, I've taken a read through of PEP8 and I think I've caught everything?  And I've doc'd the char_a example, I'd entirely forgotten that ord() was a thing.
I've also nuked my clip diagram to make space for your much prettier diagrams.  I love the style, my only comment would be that they'll be quite a chunky interruption to the text.  I think this is probably necessary for the clip function.  I tinkered with the below for rectangle, but the origin pixel gets a bit lost.  What do you think?

Maybe I'm just getting old, but I like chunky interruptions to text. Text feels a little overwhelming sometimes, specially when it's as information dense and mentally heavy as this. Then again I... don't really read documentation! The huge images (ignoring them being the uh... resolution that 32blit happens to output and I was being lazy) feel like a rest stop for the brain.
You're wholly right about the "origin" pixel getting a little lost, and an "x/y" annotation is a lot clearer. Can we meet in the middle? :laughing:

Maybe I'm just getting old, but I like chunky interruptions to text. Text feels a little overwhelming sometimes, specially when it's as information dense and mentally heavy as this. Then again I... don't really read documentation! The huge images (ignoring them being the uh... resolution that 32blit happens to output and I was being lazy) feel like a rest stop for the brain.
You're wholly right about the "origin" pixel getting a little lost, and an "x/y" annotation is a lot clearer. Can we meet in the middle? :laughing:

Oh absolutely, the size thing was just a suggestion.  I wasn't sure of the best way to store the images without cluttering the directory, so I create an images folder in the Pico Display documentation directory, uploaded them there, and inserted the images in-line with the text.
What do you think?  Would you prefer the images in the same directory as the readme?

Oh absolutely, the size thing was just a suggestion.  I wasn't sure of the best way to store the images without cluttering the directory, so I create an images folder in the Pico Display documentation directory, uploaded them there, and inserted the images in-line with the text.
What do you think?  Would you prefer the images in the same directory as the readme?

Sorry been tackling household stuff for the last week or so! I've merged this because it's fantastic and the more viability it gets the better. Thank you!


caching results

ldapjs can cache results from AD - does this module offer any caching ability?

Was wondering the same thing...


Students list

As an admin I want to be able to login into an admin panel where I can see list of registered students

Done ✅


Updated documentation - added IoT Demo section.

@PiotrKarczmarz you'll need to rebase onto develop and deal w/ any conflicts.
The latest changes from MS were all in AppSettings.cs.


XplatGenerateReleaseNotes V3 selects wrong previous build

Describe the bug
When running the XplatGenerateReleaseNotes V3 task it selects wrong previous builds for comparison.
Running in Azure DevOps (Service) multi-stage YAML pipelines, I tried to use the task to generate release notes by looking for previous builds that successfully deployed to a specific stage.
However it finds very old pipeline runs that happen to match the stage requirement.
Initial debbuging shows that buildApi.getBuilds(..) in getLastSuccessfulBuildByStage (ReleaseNotesFunctions.ts) returns the builds in an arbitrary order. The second entry is a build from July 2020 (so nearly half a year ago) that happens to match the requirement.
Experementing with the query order parameter of getBuilds() - e.g. passing BuildQueryOrder.QueueTimeDescending - seem to be futile as well - the returned order changes but is still mixed (part lexically on the build number (which we override from within the build to a SemVer2 version) and part ordered by time).
The most successful approach I ended up finding was to do a client side sort:
--- a/Extensions/XplatGenerateReleaseNotes/V3/ReleaseNotesFunctions.ts
+++ b/Extensions/XplatGenerateReleaseNotes/V3/ReleaseNotesFunctions.ts
@@ -797,12 +797,19 @@ export async function getLastSuccessfulBuildByStage(
             }
         }

+        builds.sort((a, b) => <any>b.queueTime - <any>a.queueTime);
+
+        let foundSelf = false;
+
         for (let buildIndex = 0; buildIndex < builds.length; buildIndex++) {
             const build = builds[buildIndex];
             agentApi.logInfo (`Comparing ${build.id} against ${buildId}`);
             // force the cast to string as was getting a type mimatch
             if (build.id.toString() === buildId.toString()) {
                 agentApi.logInfo("Ignore compare against self");
+                foundSelf = true;
+            } else if (!foundSelf) {
+                agentApi.logInfo("Ignore compare since not yet passed the current build");
             } else {
                 if (tags.length === 0 ||
                     (tags.length > 0 && build.tags.sort().join(",") === tags.sort().join(","))) {

Seems a reasonable approach to guarantee the order. I will have a that the PR my test harness
That said the build.id should be a unique incrementing int, it s not the build.buildnumber which is the one you can overload wit SEMVER or whatever you use
Thanks for debugging this

Seems a reasonable approach to guarantee the order. I will have a that the PR my test harness
That said the build.id should be a unique incrementing int, it s not the build.buildnumber which is the one you can overload wit SEMVER or whatever you use
Thanks for debugging this


How do I get Photo file name?

Hi, how do I obtain the file name of a photo object uploaded to the telegram server?
Thanks.
-g

Filenames aren't preserved for Photos.


[SPARK-17790][SPARKR] Support for parallelizing R data.frame larger than 2GB

What changes were proposed in this pull request?
If the R data structure that is being parallelized is larger than INT_MAX we use files to transfer data to JVM. The serialization protocol mimics Python pickling. This allows us to simply call PythonRDD.readRDDFromFile to create the RDD.
I tested this on my MacBook. Following code works with this patch:
intMax <- .Machine$integer.max
largeVec <- 1:intMax
rdd <- SparkR:::parallelize(sc, largeVec, 2)

How was this patch tested?

[x] Unit tests

Test build #66434 has started for PR 15375 at commit f4b1638.

Test build #66434 has finished for PR 15375 at commit f4b1638.

This patch fails R style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

I think we need to delete the temp file?

@felixcheung added clean up for the temp file and unit test. PTAL.

Test build #66464 has started for PR 15375 at commit 8691569.

Test build #66464 has finished for PR 15375 at commit 8691569.

This patch fails R style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #66467 has started for PR 15375 at commit 8e065c1.

Test build #66472 has started for PR 15375 at commit 4aab6cf.

Test build #66467 has finished for PR 15375 at commit 8e065c1.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #66472 has finished for PR 15375 at commit 4aab6cf.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Odd, this is the error from appveyor:
ontext: Fail to set Spark caller context
java.lang.ClassNotFoundException: org.apache.hadoop.ipc.CallerContext
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.apache.spark.util.CallerContext.setCurrentContext(Utils.scala:2485)
	at org.apache.spark.scheduler.Task.run(Task.scala:96)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:282)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
16/10/07 03:45:58 INFO Executor: Finished task 1.

Test build #66517 has started for PR 15375 at commit 6ea7fb3.

Test build #66517 has finished for PR 15375 at commit 6ea7fb3.

This patch fails R style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class InterfaceStability
 sealed trait ConsumerStrategy
  case class SubscribeStrategy(topics: Seq[String], kafkaParams: ju.Map[String, Object])
  case class SubscribePatternStrategy(
case class KafkaSourceOffset(partitionToOffsets: Map[TopicPartition, Long]) extends Offset
abstract class StreamExecutionThread(name: String) extends UninterruptibleThread(name)

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

Merged build finished. Test FAILed.

Test build #66527 has started for PR 15375 at commit ef989c1.

Test build #66528 has started for PR 15375 at commit 9df49ea.

Test build #66527 has finished for PR 15375 at commit ef989c1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #66528 has finished for PR 15375 at commit 9df49ea.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #66565 has started for PR 15375 at commit 766d903.

Test build #66565 has finished for PR 15375 at commit 766d903.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #66699 has started for PR 15375 at commit 62ab47b.

Test build #66699 has finished for PR 15375 at commit 62ab47b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #3324 has started for PR 15375 at commit 62ab47b.

Test build #66750 has started for PR 15375 at commit 836e874.

Test build #3324 has finished for PR 15375 at commit 62ab47b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #66750 has finished for PR 15375 at commit 836e874.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

@felixcheung does it look OK now?

This LGTM. Spark unit tests are failing?

It's interesting AppVeyor is not running for this PR even though there are R changes.

Seems like a flaky test in DirectKafkaStreamSuite:
DirectKafkaStreamSuite:
- pattern based subscription *** FAILED *** (1 minute, 41 seconds)

If jenkins listens to your commands, maybe we can have it retest this?

Jenkins, retest this please

Test build #66792 has started for PR 15375 at commit 836e874.

@falaki @felixcheung  The DirectKafkaStreamSuite is a known flaky test. Nothing in this patch should affect Kafka.

Test build #66792 has finished for PR 15375 at commit 836e874.

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

Merged build finished. Test PASSed.

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

everything passed, I'm merging to this master and branch-2.0


Add libccd

libccd is library for a collision detection between two convex shapes. libccd implements variation on Gilbert–Johnson–Keerthi algorithm plus Expand Polytope Algorithm (EPA) and also implements algorithm Minkowski Portal Refinement (MPR, a.k.a. XenoCollide) as described in Game Programming Gems 7. libccd is currently part of ODE, FCL, and Bullet3.
This PR closes #92.

Hi @jslee02, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@jslee02, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Thanks for the PR!
I made a few changes:

Remove only debug\include\ and debug\share\ instead of the entire debug\ dir. Otherwise, there was no debug build for libccd
There were two copies of copyright with different name. Fixed.
use vcpkg_copy_pdbs() to copy pdbs next to the corresponding dlls.
Remove some miscellaneous files in lib\ccd\ and lib\pkgconfig\

Regarding 4: These files look unneeded to me, but if they are needed please let me know.

The changes look good to me! One concern is that lib\pkgconfig\ccd.pc might be necessary if someone wants to find libccd using pkgconfig.


Namespace name generated from one level up

"This extension traverses up the folder tree to find the project.json or *.csproj and uses that as the parent folder to determine namespaces."
Seems it doesn't work anymore.

It does for me:

Could you provide some context:

The version of the extension
The folder structure from the csproj to the created file
The csproj TargetFramework & optional RootNamespace
Your OS (Mac / Windows / Linux)

Having same issue

The version of the extension => 1.6.2
The folder structure from the csproj to the created file => image above
The csproj TargetFramework & optional RootNamespace => I dont know if the images show what you want here
Your OS (Mac / Windows / Linux) => Windows

The issue can be replicated by having this same structure. I'll try to find out why.

Fixed and released with 1.6.3


docs: fix namespace rules in x/blob/README.md

Closes https://github.com/celestiaorg/celestia-app/issues/2350

Codecov Report

Merging #2368 (b35cc1c) into main (c90e61d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2368   +/-   ##
=======================================
  Coverage   20.65%   20.65%
=======================================
  Files         131      131
  Lines       15241    15241
=======================================
  Hits         3148     3148
  Misses      11791    11791
  Partials      302      302


Create example of using Table with remote data

Show how the data can be fetched in chunks as the use scroll down the page and how to show basic loading states in the rows while the data loads.

You can see an example in my boilerplate repo: https://github.com/ofersadgat/fixed-data-table-simple


Split job work for JobArchiver

fixes #6449
As reported by Brian here
https://cms-logbook.cern.ch/elog/Workflow+processing/22541
we can split the job state change in JobArchiver, especially for cases where a super big workflow is aborted and the component has to go through lots of jobs.
@ticoann please review, still needs to be tested in testbed.

test this please

I missed a logging for each slice... otherwise we have no idea how this processing is evolving :( Will update this patch later on.

test this please

Ok, failing only at unstable tests. The testParentProcessing fails to find data location (lack of mock).
@ticoann feel free to cherry pick this PR for  the wmagent branch.
As we discussed, I still want to get rid of the sendAlerts that are no longer used, as we discussed. Wait for my green light to merge this one into master please.

@ticoann please merge #6459 .
Then I need to update this patch.

I didn't delete the one from Lexicon for exactly this reason. If you switch, go ahead and clean up Lexicon too.

I will merge this first,  and I will clean up the Lexicon and change other place together.

I wanted to get rid of the sendAlerts stuff :(

Sorry, Alan, I thought you are making separate patch for that.


add R-square prop to Scatter plot

While making a R-square table for Scatter plot with the plot options of Best fit with raw (#694 at web-eda), it was necessary to add a prop to have R-square value.

Thank you for your quick review as usual 👍 I think it is not harmful to merge this as the new prop is optional so I will merge this and add new version at the corresponding web-eda PR. By doing this, it will be much easier to test the web-eda PR without replying on yarn link


Remix v2

Update to work with remix v.2

@edgesoft Have you tested this locally and everything works fine?
Also, please don't do the version bump here. I will be doing it separately.

@pbteja1998 I have tested it in my application and getting mail and can both login and logout.

Thank you @edgesoft.
Released in v2.1.0.
If possible, can you please install the latest version and let me know if everything looks good on your end?

Thank you @edgesoft.
Released in v2.1.0.
If possible, can you please install the latest version and let me know if everything looks good on your end?

@pbteja1998 Everything works great! Thanks! Running on 2.1.0 now.

@pbteja1998 this PR made yarn a dependency of this library, which I'm guessing was not intended.

@ericallam Thanks. Removed it as a dependency.


Global header: avatar button must have discernable text

Bug at this link: http://design-system-react-components.herokuapp.com/?selectedKind=SLDSGlobalHeader&selectedStory=Search %2B Navigation&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel
Reproduce error: tab to avatar button and detect button label with VoiceOver
Success criteria: appropriate text (example: user profile information) inside button must be read by screen reader

Hi @interactivellama
I've looked into this a little and all the other stories except With custom <Avatar /> (which has the avatar props passed in) faces this issue.
They all use this component to render the avatar button (the button is wrapped by an underlying Popover component):
					<GlobalHeaderProfile
						popover={
							<Popover
								body={<HeaderProfileCustomContent />}
								id="header-profile-popover-id"
							/>
						}
						userName="Art Vandelay"
					/>

The differing logic is shown below. If there is Avatar component passed in, it is rendered in a way that the screen reader is able to detect the user name and read it inside the button.
					{typeof avatar === 'string' ? (

					) : (
						avatar || null
					)}

This is my initial analysis for this issue.


Implement .size method and groupby.size

These exist in Pandas and should be relatively straightforward

Fixed by #1649. Closing.