Error in installing mob_suite-3.0.0 (either by conda or pip3) - pandas EmptyDataError issue

Dear developers,
Thank you for developing mob-suite and making it pubic.
I'm eager to utilize it.
However, I'm facing the following errors in in installing
mob_suite-3.0.0 (either by conda or pip3).
Could you give me an advise how to fix it?
Thank you very much in advance.
#######################################################################
Error by conda
resulting in "ImportError: cannot import name 'EmptyDataError' from 'pandas.io.common'
although manual execution of "from pandas.io.common import EmptyDataError"
in the python 3 console doesn't cause any error.
#######################################################################
$ which conda
~/miniconda3/bin/conda
$ python --version
Python 3.7.3
$ conda create -c bioconda -n mob_suite mob_suite
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(700): An error occurred while installing package 'bioconda::mob_suite-3.0.0-py_1'.
Rolling back transaction: done
LinkError: post-link script failed for package bioconda::mob_suite-3.0.0-py_1
location of failed script: /home/k-yahara/miniconda3/envs/mob_suite/bin/.mob_suite-post-link.sh
==> script messages <==
<None>
==> script output <==
stdout:
stderr: Traceback (most recent call last):
  File "/home/k-yahara/miniconda3/envs/mob_suite/bin/mob_init", line 7, in <module>
    from mob_suite.mob_init import main
  File "/home/k-yahara/miniconda3/envs/mob_suite/lib/python3.8/site-packages/mob_suite/mob_init.py", line 8, in <module>
    from mob_suite.blast import BlastRunner
  File "/home/k-yahara/miniconda3/envs/mob_suite/lib/python3.8/site-packages/mob_suite/blast/__init__.py", line 9, in <module>
    from pandas.io.common import EmptyDataError
ImportError: cannot import name 'EmptyDataError' from 'pandas.io.common' (/home/k-yahara/miniconda3/envs/mob_suite/lib/python3.8/site-packages/pandas/io/common.py)

return code: 1

#######################################################################
Error by pip
#######################################################################
$ which pip
~/miniconda3/bin/pip
$  pip install --user mob_suite
g++ -c -pipe -O2 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DPy_LIMITED_API=0x03040000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/home/k-yahara/miniconda3/include/python3.7m -I/home/k-yahara/miniconda2/include/qt -I/home/k-yahara/miniconda2/include/qt/QtMultimedia -I/home/k-yahara/miniconda2/include/qt/QtGui -I/home/k-yahara/miniconda2/include/qt/QtNetwork -I/home/k-yahara/miniconda2/include/qt/QtCore -I. -I/home/k-yahara/miniconda2/mkspecs/linux-g++ -o sipQtMultimediaQCustomAudioRoleControl.o sipQtMultimediaQCustomAudioRoleControl.cpp
/tmp/pip-install-1px41fwf/pyqt5/sip/QtMultimedia/qcustomaudiorolecontrol.sip:26:10: fatal error: qcustomaudiorolecontrol.h: No such file or directory
 #include <qcustomaudiorolecontrol.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:9092: sipQtMultimediaQCustomAudioRoleControl.o] Error 1
make[1]: Leaving directory '/tmp/tmpo14sga4w/QtMultimedia'
make: *** [Makefile:504: sub-QtMultimedia-make_first-ordered] Error 2
----------------------------------------

ERROR: Command "/home/k-yahara/miniconda3/bin/python /home/k-yahara/miniconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp5gks5ebc" failed with error code 1 in /tmp/pip-install-1px41fwf/pyqt5
#####################################
Koji Yahara
Group Leader
Antimicrobial Resistance Research Center
National Institute of Infectious Diseases
Aoba-cho 4-2-1, Higashimurayama-shi, Tokyo
189-0002 Japan

Dear Koji Yahara,
Thank you for reporting this issue. I was able to reproduce your error and have a solution ready.
Conda install error MOB-Suite v3.0.0
Issue: Upon conda install the following import statement fails from pandas.io.common import EmptyDataError to run
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 7, in <module>
    from mob_suite.mob_typer import main
  File<EMAIL_ADDRESS>line 7, in <module>
    import mob_suite.mob_init
  File<EMAIL_ADDRESS>line 8, in <module>
    from mob_suite.blast import BlastRunner
  File<EMAIL_ADDRESS>line 9, in <module>
    from pandas.io.common import EmptyDataError
ImportError: cannot import name 'EmptyDataError' from 'pandas.io.common'<EMAIL_ADDRESS>
Reason: pandas>=1.1.0 code update
Solution: Recently published pandas version 1.1.0 does not haveEmptyDataErrordefinition in  pandas/io/common.py. The exceptions are located as before in pandas.errors.EmptyDataError.
As a temporary solution please install pandas version that is not equal or higher that 1.1.0.
After conda fresh environment creation please run
conda install pandas==1.0.5 -y
conda install mob_suite==3.0.0 -y

Meanwhile will update conda package explicitly restricting higher pandas versions and subsequently update code in mob_suite/blast/__init__.py to from pandas.error import EmptyDataError
Pip installation error MOB-Suite v3.0.0
I got the same pandas related error via pip install and the remediation is again pip install pandas==1.0.5. I was not able to reproduce the qcustomaudiorolecontrol.h gcc error, but what I've found is that newest PyQt version >=5.14 has some issues so try to downgrade to version 5.11 (pip install  pyqt5==5.11.3)
Successfully installed PyQt5-sip-4.19.19 pyqt5-5.11.3

Thank you very much!
The temporary solution enabled me to install it using conda
in an environment.
Another environment caused the "Found conflicts!" error
when I tried "conda install pandas==1.0.5 -y".
I will try the permanent solution in the environment when it is released.
Thank you very much again.

In a couple of days a new conda build 2 for MOB-Suite version 3.0.0 build 2 will be released with the pandas version restricted range up to 1.0.5. The code fix making it compatible with any future pandas version will be released in future version 3.0.1 in several of weeks. The Found conflicts environment resolution error might be due to a shared common pandas dependency by several tools in that environment that request incompatible version ranges. We recommend to have a separate conda environment for each tool.

Thank you very much.  I'm looking forward to the release of version 3.0.1.
In a computing cluster system, in order to "have a separate conda environment for each tool",
I executed
$ conda create -c anaconda -n pandas pandas==1.0.5
$ conda activate pandas
$ (pandas) conda create -n mob_suite mob_suite==3.0.0
but it still caused the same error.  So I will try the version 3.0.1 for this environment.
Many thanks again.

Hello, yesterday a new mob_suite conda recipe was released fixing the pandas library issue. To install it simply run again conda install -c bioconda mob_suite and version 3.0.0 build 2 should be installed.
With respect to separate environments I meant that it is better to have separate environment for each tool like mob-suite, spades assembler, etc. (not for pandas library).
The release of version 3.0.1 will be not immediate so I advise to use current updated conda environment. Install via pip still needs pip install pandas==1.0.5 step before mob_suite install. This will be fixed in the 3.0.1 releasae

Will mob_suite ever support pands>=1.1 ?

@tseemann starting version 3.0.1 pandas version 1.1 and above is compatible as we moved EmptyDataFrame exception import from pandas.errors module (and we expect all future versions will work too).  We just restricted the version to 1.0.5 in case pandas developers will modify something else in their code breaking the tool as we saw happening in version 1.1. Is there any particular interest in making pandas version range be broader?

Hi, I installed the software using pip but it gave me the EmptyDataError when running the program. Pandas version was 2.1.0. any solution?

Yes, we do not support pandas 2.0 and above. Downgrade to version 1.5.3 inclusive or lower and all issues should disappear. This pandas version range is also in conda recipe.
To support pandas 3.0 (that would be released soon), 2.0 and 1.0 we would require serious code overhaul as pandas library changes quite a lot between releases.


Add command to clear "Problems" pane

Brief Issue Summary
After a failed build, the "Problems" pane correctly shows the errors.
However, after I fix them, they don't disappear unless I do a rebuild.
It's common to rely on the code model extension (clangd, ms-vscode.cpptools, etc) to see the warnings as you type without needing a rebuild, which can be slow.
Please add a command that clears the "Problems Pane"
There's also a popular issue https://github.com/microsoft/vscode/issues/66982 , but vscode devs say that it should be done by extensions instead.
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

@iamsergio Thanks for this request. We will add it to our backlog of enhancement requests and assess it at our soonest bandwidth.

I have a c++ project with 4 tasks.  One for build, one for rebuild, one for run all google tests, and one for run the google test for the current class file.  The problems panel is a big mess as it does not clear out the old problems properly.  My work flow alternates between using these 4 tasks and the problem panel is often left cluttered up with old problems which were already resolved.  When I run a new task I need a way to have it clear out all of the old problems in the problems panel.  When I need the panel to be cleared as part of my work flow has nothing to do with any extension owner which some people have repeatedly referred to in comments about this problem.
For the google test tasks which I wrote I added my own problemMatcher which is a simple regexp pattern.  This problem matcher puts new problems into the problem panel, when I fix the code and run a new build I need the old test task problems to disappear since they are not relevant anymore after a new build.  There is no "owner" of the test task problem matcher, since I wrote the regexp pattern for that task myself.  I want to have each of  the 4 tasks that I use clear the old problems from the problem panel when I run them?  Test problems are directly tied to new builds and all 4 of my tasks are interrelated.  People keep commenting like there is no relationship between different tasks, but these 4 tasks are directly related.  When I have fixed a bug found by google test and done a build I want a clean problem list.  The old stale problems that stay around in the list are a huge time waster as they interfere with getting to the next issue or clearly seeing that there are no problems with the latest build.

An additional issue related to the problems I described is that if I use the keyboard shortcut that is bound to "Go to Next Problem in Files (Error, Warning, Info)" it will jump me to the location of a problem, such as a google test failure line.  It puts a pink bar across the screen next to the line with the problem showing a message about the problem.  After I fix the issue, and run the build task, and run the test task, and both the build and test are successful, that pink line is still left showing in my editor.  In this case my problems panel is now empty, but the pink line for the old fixed problem is still showing in the editor.  When I run one of my tasks I want it to also clear out all pink lines in the editors.  Those lines are no longer relevant and for some reason these stale pink lines do not go away after running a new build or running a new test.  There should be a way for a task being executed to clear out all the old problems from the problems panel AND to clear out all the old pink problem lines that are being displayed in an editor window.


Improved README.md

remove redundant bullet points in both Setup and Running
reorder points 1 and 2 of the Setup to make it more intuitive
add link to zip file

thanks!


Make a logo, possibly using QuantumToolbox.jl

Make a logo for the package, possibly using the QuantumToolbox.jl package.
What I have in mind is for example creating the Wigner function a triangular cat state
$$
\ket{\psi} = \ket{\alpha} + \ket{i \frac{2}{3} \pi \alpha} + \ket{i \frac{4}{3} \pi \alpha}
$$
and possibly mapping the colors following the Julia logo.
Then, we can add a documentation page demonstrating how this logo was made, showing step by step the code.

Good idea !

@albertomercurio
I suggest the background color of the logo to be transparent.
Then, we can prepare two different logo (for light- and dark-theme website), and put it in the folder docs/src/assets/.
The file name must be:

logo.png: logo for light-theme website, maybe with the black color characters (QuantumToolbox) in the logo
logo-dark.png: logo for dark-theme website, maybe with the white color characters (QuantumToolbox) in the logo: QuantumToolbox)

In this case, the Documenter.jl will automatically detect the logo files if it is located in docs/src/assets/.
Also, we can insert the logo to README.md by adding the following lines in the beginning:
![Fancy logo](./docs/src/assets/logo-dark.png#gh-dark-mode-only)
![Fancy logo](./docs/src/assets/logo.png#gh-light-mode-only)


$http.notify shortcut method

Hi,
I wonder if it is possible to add a shorthand method notify to the $http service to trigger notify callbacks? It would be better than doing:
var interval = $interval(myFunction, 10000);

// Before
interval.then(null, null, (data) => console.log(data););

// After
interval.notify(data => console.log(data););

I don't get it tbh. What exactly do you want to do? I don't see any $http in your example, I only see $interval.

Sorry, my bad. I meant something like .catch in thenables, but only for the sake of the notify operation.
Examples:
$http.notify(function onNotify () { ... }) // instead of $http.then(onSuccess, onFailure, onNotify)

This could possibly be very confusing, as notify might be misunderstood as the xhr progress event.

Nope, sorry, it won't happen. Progress notifications as part of promises turned out to be a bad idea. On top of this it seems like the convenience methods (success / error) are often confused with promises (ex.: #10508) so we don't want to go down this path.
Thnx for the suggestion @mallowigi but we will pass on this one...


No Documentation on Json/Ajax response/Request format

The ajax example is the Rotten Tomatoes one that formats the results with functions.  But there is no documentation that I can see on what the default json format should be.  I would guess it would include some metadata like page number, that would be needed for virtual scrolling/paging.  What does the request look like that it generates?  I see parameters listed for when you use a function and format the request yourself, but if I don't provide a query function, what is the structure the default ajax request?  I think a simple ajax example that doesn't use functions would be nice, so one can see what the default json response format should be, and what the default request looks like.
{
count: 10
pageNumber:
rows : [{id:... value:},{id:..., value:sdfsdf
}
or just an array?
[{id:... value:},{id:..., value:sdfsdf

Please add some info regarding expected server response format.

Reopening this for tracking the 4.x branch, this was never really done for the 3.x branch.

Honestly that was severe effort for me aswell, cost like 2 hours to solve:
that link http://stackoverflow.com/q/16598549/359284
and this code
{ results: [choice1, choice2, ...], more: true/false }

with this example
{ results: [ {id:'CA', text:'California'}, {id:'CO', text: 'Colarado' ]  , more: false }

is all that was needed.
I copy it here to save somebody else time for searching. And it's not in the docs at the moment, did I see that correctly? (I hope, maybe just didn't find)

There's a section in the docs for it, it just isn't written yet.
https://select2.github.io/options.html#what-should-the-results-returned-to-select2-look-like
Note that the more key has been moved under pagination in 4.0.0.

It saved me time. Thank You all for the comments! select2 is awesome!

It's working great but how can I create groups ?
I tried :
{
    "results": {
        "text": "Property Reference",
        "children": [
            {
                "id": "1",
                "text": "5742"
            },
            {
                "id": "2",
                "text": "5788"
            },
            {
                "id": "3",
                "text": "5762"
            },
            {
                "id": "4",
                "text": "5711"
            }
        ]
    }
}

As seen here in hope to get this :
<optgroup label="Property Reference">
     <option value="1">5742</option>
     <option value="2">5788</option>
     <option value="3">5762</option>
     <option value="4">5711</option>
</optgroup>

But it is not working. Anyone know the correct format then ?

Oh my bad, I forgot []... Correct format is :
 {
    "results": [
        {
            "text": "Mountain Time Zone",
            "children": [
                {
                    "id": "CA",
                    "text": "California"
                },
                {
                    "id": "CO",
                    "text": "Colarado"
                }
            ]
        }
    ]
}


Dynamic provisioning

/feature
Is your feature request related to a problem? Please describe.
For each PersistentVolumeClaim that I want backed by S3, I need to provision a PersistentVolume with a prefix.
Describe the solution you'd like in detail
I can create a PersistentVolumeClaim with a s3-mountpoint (?) storageClassName. Because of this, a PersistentVolume is created with the prefix MountOption.
Describe alternatives you've considered
For each helm chart we deploy with a PVC, we can include a PV as well. But this is not a clean solution, because as a service, I don't want to worry about the technology backing my storage. I just want to create a PVC and get it over with.
Additional context
We have a cluster with multiple tenants. Each tenant has a set of services that use PVCs. Deploying and maintaining a PV for all volumes is a lot overhead and dynamic provisioning would make my setup cleaner and my life easier.

Thank you for the feature request. We're tracking a similar feature here so we'll close this and track dynamic provisioning in the posted issue. Feel free to comment on that issue, +1 it, or open a new issue if it does not cover the use case mentioned here.


[Mem Modeling] Todos to get memory modeling automatic generation

Things needed for memory modeling automatic generation of tests
branch name: tiling_loop_generation
file name: scripts/test_generating_code.py
TODO: @Ritvik1sharma needs to split this into test_generating_code_mem.py and test_generating_code_ideal.py. Also test_generating_code_mem.py should call test_generating_code_ideal.py to generate the inner-most loop.
Needed from pre-tiling scripts

Generate format arrays (seg/crd for sparse, dim for dense) for EACH level of the memory hierarchy. Must follow the same naming convention as @Ritvik1sharma's convention
Change naming convention nested file structure for pre-tiled tiles. I.e. i00_k00_i0_k0 --> i00_k00/i0_k0
Make sure to give crd array for tile file names that goes from ref --> crd tuple

Compiler

Name of expressions/test
Input tensor list and result tensor at the top of the SAM graph (where formats are given). I.e. in_tensors="B(i,k),C(k,j)" and out_tensors="X(i,j)"

For next steps/future work with different tiling index reorderings:
Either need 1) a database of all "input iteration" permutations for orders 1, 2, 3, ...
or 2) Need the compiler to generate the "input iteration" graph for each level that's a different index ordering

Naming convention is Memory level 2: "00", Memory level 1: "0", Memory level 0: ""


ghost requesting unsafe http url via ajax causing the browser to block request

Issue Summary
I have setup a ghost blog for my company. I have hosted the ghost application in an Amazon EC2 instance(infact 2 instances in 2 regions) and attached it with a ELB load balancer of classic type for load balancing requirements. Both http and https requests to the domain is being forwarded as a http request to the EC2 instance along with X-Forwarded Headers which is being consumed by nginx and being forwarded properly to the ghost application.  They are for nginx caching of pages and auto-redirect from http to https.
Now the problem that is coming is that ghost is trying to call a http api in browser and browser is throwing an error(Mixed Content).
Question :- How to tell ghost via headers to make all api calls and other asset calls via https.
Technical details:

Ghost Version: latest
Node Version: 8.11.1
Browser/OS: chrome/safari/etc which blocks mixed content
Database: MySQL

Hey @tamodocsapp 👋

I have hosted the ghost application in an Amazon EC2 instance(infact 2 instances in 2 regions) and attached it with a ELB load balancer of classic type for load balancing requirements

First, this won't work, please see the warning about docker/node and other clustering setups here https://docs.ghost.org/docs/install
Second, if you want Ghost to use https urls then you need to configure a https URL via the config.
Closing this issue because it's for installation support and we do not offer any form of help/support on Github, we use Github solely for bug tracking and on-going feature work. If you need further help please swing by our forum where you can get community support.


feature: Improve Design of Settings Screen

Also fixes a crash which occurs when an invalid IP address is provided (e.g. 10.0.23 instead of <IP_ADDRESS>)

move Composables to separate files with Preview
use a DialogView when changing values of EditableTextSettings
extract common variables for common attributes like textSize
or paddings
make the whole SettingElement clickable
improve FileSelectorSetting
-- add an "upload" image to the end
-- don't show "Select Certificate" when TLS is disabled
-- output the filename of the selected file instead of the cryptic
uri path or an empty text when no certificate has been selected
before

close: #56

Can we configure the port input keyboard as a number keyboard?

Design looks good to me :) Good job

Can we configure the port input keyboard as a number keyboard?

Good Idea! Done

LGTM


Format numbers, currency, date and time interval

I18n is not just about translation. It's also about formatting the stuff the way the specific culture would. French use 1 000,95 while the US use 1,000.95. This is just a simple example from many many other possibilities.
Luckily for us, their is already a library that take cares of all this: FormatJS. It is made by Yahoo (and based on Intl already in the browser) and as far as I know, Meteor and tap-i18n would benefit a great deal from it.
Intl is based on international standards widely used. If the goal of tap-i18n is truly standardizing i18n, we should build on top of what already exist.

ECMAScript Internationalization API
Unicode CLDR
ICU Message syntax (this one we don't have to use it if we want to stay with the current formatting syntax. However, it is widely known by translators. It would certainly fulfill your goal to support variable names within your messages for v1.5.)

I made a package (benoitt:intl) just to test how FormatJS would react with Blaze and Meteor and it turns out it is working outstandingly well.
I think it should be part of tap:i18n because it is a basic feature every Websites that want translation also needs. Can you recall a project that you needed translation without having to write a number, a currency a date or a time interval (1 day ago, 5 hours ago, ...)?
Oh and it supports over 200 cultures with the data all coming from standards.
If you used ReactJS lately, you know react-intl is awesome and it is coming from FormatJS. :)
I would be glad to create a pull request to help but first I think a discussion about it is necessary. What do you guys think about it?

:+1:


Can't Enable/Disable Sendfile

There is an issue with Sendfile and Virtualbox (https://www.virtualbox.org/ticket/9069). When using this cookbook with Vagrant and Virtualbox as the provider this bug is encountered. I want to be able to toggle EnableSendfile On or EnableSendfile Off within apache2.conf.erb using something like @params. I have given it a try on my end but it seems that @params is not accessible from withing apache2.conf.erb. This is a pretty major blocker for us, we are having to manually change the apache2.conf file after vagrant up.

You can write arbitrary config snippets by using the apache_conf definition.
For example: write a template in templates/default/ of your wrapper coobkook such as my_apache2/templates/default/sendfile.conf.erb containing EnableSendfile Off and reference it in your wrapper cookbook as follows:
include_recipe "apache2"

apache_conf "sendfile" do
  source "sendfile.conf.erb"
  cookbook "my_apache2"
  enable true
end

This will add it to your config file via the conf-enabled directory.

@svanzoest and then would my sendfile.conf.erb just be EnableSendFile Off?

Yes. You can set as many directives that way as you want with as many
templates as you want.
On Jun 9, 2015 3:24 PM, "Heath Naylor"<EMAIL_ADDRESS>wrote:

@svanzoest https://github.com/svanzoest and then would my
sendfile.conf.erb just be EnableSendFile Off?
—
Reply to this email directly or view it on GitHub
https://github.com/svanzoest-cookbooks/apache2/issues/359#issuecomment-110522048
.

This fixed my issue, thank you.


 After merging this PR,
pytorch will be able to pull in latest MIOpen and be able to work with MLIR solvers.
CC: @jithunnair-amd Would you mind to use the branch and verify that the issue is gone after this bump?

@jerryyin

On the other hand, you just reminded me that MIOpen end Jenkins will not rebuild dependency until it is merged

It should rebuild in the branch. Please check Jenkins logs.

@atamazov Wired, I actually cannot find any sign of docker rebuild from the jenkins log. It always pull from this same image of rocm/miopen:ci which seems to be already built. So that means the passing record here didn't try to use the latest dependency change in this PR.

@atamazov Wired, I actually ...

 😄

...cannot find any sign of docker rebuild from the jenkins log. It always pull from this same image of rocm/miopen:ci which seems to be already built. So that means the passing record here didn't try to use the latest dependency change in this PR.

Yep, this "trivial" change seems arrived from #1591 and #1696 (obviously none descriptions). I think that @JehandadKhan and possible @junliume know how to test PR that updates deps.

@junliume Are we going to update rocm/miopen:ci image soon?


Fritz!Dect 200 doesnt work

Im using the latest hassio image (resinos-hassio-1.3-raspberrypi3.img) on my raspberry Pi 3.
I have created a new user on my Fritz!Box 7490 with a password (no emailadress)
I used the HASS Configurator and inserted this to the configuration.yaml:
switch:
  - platform: fritzdect
    host: x.x.x.x
    username: "userName"
    password: "userPassword"

(note that I put both in Quotes)
After saving and clicking "Restart HASS", none of my 3 Fritz!DECT 200 shows up.
I have only 3 devices and all are inserted and reachable.
(so I read the hint at https://www.home-assistant.io/components/switch.fritzdect/)
At the developer log I can see this:
Login to Fritz!Box failed
14:32 components/switch/fritzdect.py (ERROR)

I hope you can help me to get this working...
If you need more info just tell me how I can get it and I will serve it ^^

You should probably use the newer "Fritzbox" component:
https://www.home-assistant.io/components/fritzbox/
It supports switch and climate componentns

Thanks @CM000n.
I already tried this component - also with no quotes.
The error I got (and still get after trying) is:
Setup of config is taking over 10 seconds.
11:04 bootstrap.py (WARNING)
Setup failed for fritzbox: Component failed to initialize.
11:03 setup.py (ERROR)
Login to Fritz!Box <IP_ADDRESS> as myFritzboxUsername failed
11:03 components/fritzbox.py (WARNING)
login failed<PHONE_NUMBER>000000
11:03 components/fritzbox.py (WARNING)

Dont know if you correctly add a new user .. but take a look at: https://github.com/hthiery/python-fritzhome to check if you added the user like that.

Thank you @hthiery for trying to help.
I did it like in the link you posted before, but it didnt work :(

Hey,
thank you for reply, but this did not work either.
Cheers,
Manuel
Am Mo., 24. Dez. 2018 um 23:21 Uhr schrieb qwexx<EMAIL_ADDRESS>
Hi, try to set Username into Quotes
switch dect200_1:

platform: fritzdect
username: "qwexx"
password: secret
host: <IP_ADDRESS>

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/15418#issuecomment-449774774,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC5XuELO5BPJRrhYPMdUoUEQo7EcTUrIks5u8VN7gaJpZM4VLFDK
.

I think this isssue can be closed because it is not a problem of the component but rather of the configuration of the router.


wip adding a new backend

wip: adding a new backend

closing - landing in https://github.com/devoncarew/wasmd/pull/50


Azure.Core: Preserve extracted ContentStream when response is disposed

Unblock generator work to generate protocol methods for streaming APIs where message.BufferResponse is set to false (address problem described by @AlexanderSher in https://gist.github.com/AlexanderSher/df22ed21acaa938a4371c188f0699b11).
The problem is that today we always dispose the response stream in subtypes of Response if they are not buffered.  We provide HttpMessage.ExtractResponseContent, but that relies on the idea that someone has a convenience-method return type containing the stream, so it doesn't work if we want to set response.ContentStream back to the extracted stream prior to calling Dispose on the response -- since response.ContentStream no longer holds the no-op stream set by ExtractResponseContent, the stream we want to return still gets disposed.
This PR adds an internal property to Response to indicate that ExtractResponseContent has been called, and then if it has, it will not dispose the ContentStream.  This does not change the behavior from explicitly calling dispose on the no-op stream, since that does nothing anyway.

API change check
API changes are not detected in this pull request.

This doesn't work because then the end-user can't dispose the ContentStream by disposing the Response.


Windows and Linux at the same time

When using Windows 11 and Docker Desktop, there is a restrictions that you cannot run both Linux and Windows based containers at the same time.  Does this restriction also exist on Windows Server 20xx?
It would be helpful to have all this information in the documentation, including how containers on Windows 11 differ from containers on Windows Server.
Thanks.

As an FYI, RKM will run Linux and Windows containers on the same Windows 11 machine when Windows is the Kubernetes master, by leveraging WSL for the Linux kubelet. So it's definitely possible to do what you want, it's likely that it's just a configuration that Docker Desktop doesn't support.

You can manually install docker on both WSL and Windows and use them simultaneously: https://lippertmarkus.com/2021/09/04/containers-without-docker-desktop/

I should note that since writing my original comment about RKM, there are a few issues outstanding that prevent it from truly working across Windows+WSL:

https://github.com/microsoft/WSL/issues/9732
https://src.redpoint.games/redpointgames/rkm/-/issues/9
https://src.redpoint.games/redpointgames/rkm/-/issues/3
https://src.redpoint.games/redpointgames/rkm/-/merge_requests/3

Plus you can hit a blue screen if you unblock WSL from the VXLAN-configured Hyper-V switch and a Windows container then terminates. I can usually hit that about 50% of the time, but I haven't spent further time investigating it since the other WSL issues get in the way at the moment.

My original ask has not been answered.  I want to understand if containers on Windows Server 2019/2022 have the same restriction as stated in the documentation.
Can I run windows based and linux based containers on Windows Server?

WSL is also available on Windows Server so everything described above works there as well.

@mhsimkin You can, in theory, run Windows containers and Linux container side by side on Windows Server. A few things to note:

Windows containers would be installed normally, while Linux containers would have to run on WSL 2.
WSL 2 runs on a utility VM, so technically, they are not really side by side.
WSL 2 is supported for development and testing purposes, not production.

I have blogged about this here: https://techcommunity.microsoft.com/t5/itops-talk-blog/using-wsl-2-on-windows-server-2022-to-run-linux-containers/ba-p/3624745

@vrapolinario Thank you. I will have to read your blog and try it.


⚠ GitLab Server has degraded performance

In 1f8e6b4, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6212 ms

Resolved: GitLab Server performance has improved in c9ce342.


Vim's job_start() in MacVim stops listening to messages on channel after first message

Steps to reproduce:

given the file demo.vim

function! s:callbackWithArguments(channel, msg)
    echo a:msg
endfunction

function! JOB_START_1()
    call ch_logfile('channel-1.log', 'w')

    let command = "ping google.com"

    call job_start(command, {"callback": function('s:callbackWithArguments')})

endfunction

Execute in mvim: mvim -u NONE -U NONE -N -S demo.vim

Inspect the channel log with cat channel-1.log (in the shell).
Expected:
==== start log session ====
  0.000045 : Starting job: ping  google.com
  0.000096 on 0: Created channel
  0.002064 : looking for messages on channels
  0.021145 RECV on 0: 'PING google.com (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=56 time=15.222 ms
'
  0.022323 on 0: Invoking channel callback <SNR>109_callbackWithArguments
  0.022454 on 0: Invoking channel callback <SNR>109_callbackWithArguments
  1.024770 RECV on 0: '64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=56 time=14.990 ms
'
  1.024790 : looking for messages on channels
  1.024819 on 0: Invoking channel callback <SNR>109_callbackWithArguments
  2.029703 RECV on 0: '64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=56 time=17.375 ms
'
  2.029714 : looking for messages on channels
  2.029738 on 0: Invoking channel callback <SNR>109_callbackWithArguments
  3.030963 RECV on 0: '64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=56 time=18.371 ms
'
  3.030985 : looking for messages on channels
  3.031010 on 0: Invoking channel callback <SNR>109_callbackWithArguments
  4.033689 RECV on 0: '64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=56 time=17.573 ms
'
  4.033701 : looking for messages on channels
  4.033739 on 0: Invoking channel callback <SNR>109_callbackWithArguments
  5.035973 RECV on 0: '64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=56 time=14.737 ms
'
... and so on until you quit vim ...

Actual:
==== start log session ====
  0.000037 : Starting job: ping  google.com
  0.000091 on 0: Created channel
  0.005557 : looking for messages on channels
  0.020418 RECV on 0: 'PING google.com (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=56 time=14.785 ms
'
  0.020917 on 0: Invoking channel callback <SNR>111_callbackWithArguments
  0.021132 on 0: Invoking channel callback <SNR>111_callbackWithArguments
  4.025299 : looking for messages on channels

no further messages in the log, log stops here

Compare this to mvim -v where everything works as expected.
MacVim 7.4.1831 from Homebrew, installed as per instructions here: https://github.com/macvim-dev/homebrew-macvim

This looks like potentially the same underlying problem as #272, which was addressed here.

I confirm - this fix solves the problem for me. Thank you @splhack !


Add untrust handler in sidecar

Context

We would like doctor to test TrustDialog for new key
To do that, we need to untrust the key first
Then click/run on the key again
The TrustDialog should open

Related PRs

Add untrust method to pear-ipc: https://github.com/holepunchto/pear-ipc/pull/16
Add untrust method to pear sidecar: https://github.com/holepunchto/pear/pull/356
Add test section to pear-doctor: TODO

awesome, can you add a test for this? You can follow the smoke test with the next additional steps:

Untrust the key after staging
Run the app and verify that the app is untrusted
Trust the app
Run the app and verify that is trusted

closed due to the fix from @rafapaezbas
https://github.com/holepunchto/pear/pull/373#pullrequestreview-2372481180


Introduce the notion of "runs" in the file output folder structure

The symptom is a warning that multiple files with the same name path are present in the output zip bundle.
The underlying problem is that we have no explicit notion of "multiple runs", which results in the reuse/rewrite of the same output folder when reusing the same model, like for instance here:
https://github.com/CSHS-CWRA/RavenPy/blob/9354e1b22799873e25a246d8cdd3a2db1cb3254d/ravenpy/utilities/forecasting.py#L175-L182
So the solution will be to add a notion of "run number" the the output folder structure, along with a counter which will need to be incremented every time Raven.__call__ is called.

@huard I think this is solved. Confirm?

The new config solves this.


Move getConfiguration() in gui.py and cli.py to Tape class

The exact same function is now replicated in both cli.py and gui.py:
https://github.com/KBNLresearch/tapeimgr/blob/49ed2b3bc23b7d782a14adc091bfdbc1676947a0/tapeimgr/cli.py#L113
https://github.com/KBNLresearch/tapeimgr/blob/49ed2b3bc23b7d782a14adc091bfdbc1676947a0/tapeimgr/gui.py#L65
It would be better to move it to the Tape class. This would require some changes to the Tape class and how it is called by gui.py and cli.py. In particular:

Define default values for all Tape class arguments
Create a Tape class instance before Submit function is called
Then use additional function calls to update the Tape instance variables.

Done.


Dispose of listeners in quickPickPin and usages

Fixes https://github.com/microsoft/vscode/issues/225381

Ill wait for both of you to approve before merging 👍


dbca not found error in Oracle 12c ee

Hi, I am trying to create a docker for Oracle DB 12c ee on my ubuntu 14.
Docker version is 1.13
I can see the build was successful, i do not see any error in the build log but when i try the first run i get an error as shown below.
I am also attaching the build log and oracle install log
My run command:
docker run  \

-p 1521:1521 -p 5500:5500
-e ORACLE_SID=orcl
-e ORACLE_PDB=orclpdb
-v /home/vagrant/ora_db:/opt/oracle/oradata
oracle/database:<IP_ADDRESS>-ee

Log:
/opt/oracle/createDB.sh: line 55: /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/dbca: No such file or directory
cat: /opt/oracle/cfgtoollogs/dbca/orcl/orcl.log: No such file or directory
cat: /opt/oracle/cfgtoollogs/dbca/orcl.log: No such file or directory
sqlplus: error while loading shared libraries: /opt/oracle/product/<IP_ADDRESS>/dbhome_1/lib/libclntsh.so.12.1: file too short
mkdir: cannot create directory '/opt/oracle/oradata/dbconfig': Permission denied
mv: cannot stat '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/dbs/spfileorcl.ora': No such file or directory
mv: cannot stat '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/dbs/orapworcl': No such file or directory
mv: cannot move '/opt/orac
le/product/<IP_ADDRESS>/dbhome_1/network/admin/tnsnames.ora' to '/opt/oracle/oradata/dbconfig/orcl/': No such file or directory
cp: cannot create regular file '/opt/oracle/oradata/dbconfig/orcl/': No such file or directory
ln: failed to create symbolic link '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/tnsnames.ora': File exists
cp: cannot stat '/opt/oracle/oradata/dbconfig/orcl/oratab': No such file or directory
#########################
DATABASE IS READY TO USE!
#########################
tail: cannot open '/opt/oracle/diag/rdbms///trace/alert*.log' for reading: No such file or directory
tail: no files remaining
Any pointer would be helpful. Thanks
ora install.txt
build.txt

Something went wrong during the installation of the binaries. You should see following output:
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-02-06_07-43-05PM. Please wait ...[WARNING] [INS-32055] The Central Inventory is located in the Oracle base.
   ACTION: Oracle recommends placing this Central Inventory in a location outside the Oracle base directory.
You can find the log of this install session at:
 /opt/oracle/oraInventory/logs/installActions2017-02-06_07-43-05PM.log
The installation of Oracle Database 12c was successful.
Please check '/opt/oracle/oraInventory/logs/silentInstall2017-02-06_07-43-05PM.log' for more details.

As a root user, execute the following script(s):
    1. /opt/oracle/oraInventory/orainstRoot.sh
    2. /opt/oracle/product/<IP_ADDRESS>/dbhome_1/root.sh

In your build log however there is no message that the binaries were setup successfully:
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-02-02_03-21-15PM. Please wait ...[WARNING] [INS-32055] The Central Inventory is located in the Oracle base.
   ACTION: Oracle recommends placing this Central Inventory in a location outside the Oracle base directory.
You can find the log of this install session at:
 /opt/oracle/oraInventory/logs/installActions2017-02-02_03-21-15PM.log

This is perl 5, version 14, subversion 1 (v5.14.1) built for x86_64-linux-thread-multi

Can you please go ahead and check the install log file within the container?

Closing the issue due to lack of response. Please reopen if this issue remains.

I am facing the same issue as described above. Please help


Enable multiple actions in the case list

Add the ability have more than one action to a case list. Needed for having a 'case migration' action along with other actions like 'register patient'
cross-requested with https://github.com/dimagi/commcare/pull/248
contains commits from https://github.com/dimagi/commcare-odk/pull/1024

@phillipm Suggested a comment, good to merge after.


Duplicate update of freshclam definitions

The clamav::run_freshclam class may not be necessary on Ubuntu 12.04, so long as we have our ordering correct. The package install appears to update the definitions itself - resulting in both running parallel.
/cc @rjw1 @alext

This module is no longer in use so we're going to close the existing issues and archive the repository. Thank you for your interest in this module. (And writing most of our puppet code base)


"pio run" failed

pio run produces the following error(s).
output.txt
Can you give me a hint to solve the problem?

Do You have git installed?
Seems Your issue is similar to that one, which is discussed here.

I used the CAN library from sandeepmistry.
But there were some issues depending on the revision of Your ESP32. The best is, if You modify the ESP32SJA1000.cpp:
<...
modifyRegister(REG_BTR1, 0x80, 0x80); // SAM = 1
// modified !!!!!!!
//writeRegister(REG_IER, 0xff); // enable all interrupts
//enable all interrupts (BUT NOT BIT 4 which has turned into a baud rate scalar!)
writeRegister(REG_IER, 0xEF);
...

see above

Can You give some details?

Strange. I downloaded from github my repo as zip, unzipped.
Than I renamed the secrets_dummy.h to secrets.h and copied the updated CAN library to .\lib\CAN.
In vscode I use the platformio plugin. So I did not downloaded the library by hand, platformio did that for me.
I attach the log. Can You compare with Yours?
BTW: If You want a faster compilation, You can set to compile either the BSC or the esp32dev variant.
log.txt

Pls. try to compile just the bsc variant or replace in the platformio.ini on line 57:
platform = https://github.com/tasmota/platform-espressif32/releases/download/2022.12.0/platform-espressif32.zip
Is there any difference?

Can not be reproduced.


Fix encoding problem for ResponseWrapper

Using response encoding here is not reliable approach to get document encoding. Requests library only consider HTTP headers when attempting to work out text encodings and if Content-Type header is text/xml and it doesn't contain charset parameter then Request returns ISO-8859-1 encoding:
>>> from owslib.wms import WebMapService
>>> service = WebMapService('http://maps.kosmosnimki.ru/TileService.ashx/apikeyU96GP973UH', version='1.1.1')
>>> print service['7B3470B2C40E4B71B9AF9D1AFE17FA51'].abstract
ÐÑÑÐ¼ÑÐº
>>>
>>> import requests
>>> req = requests.get('http://maps.kosmosnimki.ru/TileService.ashx/apikeyU96GP973UH?SERVICE=WMS&Request=GetCapabilities&VERSION=1.1.1')
>>> req.encoding
'ISO-8859-1
>>> print req.content[:40]
<?xml version="1.0" encoding="utf-8"?>

@tomkralidis please review this PR.

@drnextgis this caused a number of test failures, if you can review the failures and send some additional fixes I will review.  Thanks!

@kwilcox I've fixed broken test. It seems that another test failures not caused by my PR.

@QuLogic Any comments on this?  I don't use py3 and not sure of repercussions.

If I understood the lxml FAQ correctly, you definitely don't want to pass it Unicode, but bytestrings. So this change appears to make sense.

Hi again, can you please review and merge if there no problems with it? Sorry to insist, but our system depends on OWSLib and we'd like to use upstream and not keep forks.

I've squashed commits into one and made PR rebase. Is it any chance this PR will be merged? It looks like Travis CI is happy.

I'll take a look first thing tomorrow!
On Thu, Apr 7, 2016 at 12:06 AM Denis Rykov<EMAIL_ADDRESS>wrote:

I've squashed commits into one and made PR rebase. Is it any chance this
PR will be merged? It looks like Travis CI is happy.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/geopython/OWSLib/pull/260#issuecomment-206688813

Awaiting your feedback. Thanks!

@kwilcox I have updtaed test as suggested by @QuLogic. Travis CI is green.


updated MetaMask security email

@dguido @foodaka @CrisBRM
please take a look, thanks :fox_face: :v:


Handling time series data for technologies

In most capacity expansion models, data for investment decisions for a specific technology is usually different per zone and per period.
In PSY, each component always have assigned a specific bus (and hence zone), while we are expecting that a Technology is available at all zones (or buses). What is a good approach for storing information, e.g. capital costs, per period/zone?

If there is two-axis data, I'm guessing we can live with Matrices of data, but I'm concerned on how we scale the data. Not sure if we want to live with 3D matrices


S3 buckets created with versioning

Describe the Bug
It's related to aws_s3_bucket resource bug or feature: https://github.com/hashicorp/terraform-provider-aws/issues/4494
In short setting versioning to false, actually creates versioned bucket with suspended versioning:
resource "aws_s3_bucket" "default" {
  versioning {
    enabled = false
  }
 ...
}

Expected Behavior
Bucket with versioning actually disabled
Steps to Reproduce
Try to create unversioned bucket

Correct me if i'm wrong, but it gets worse with disabled lifecycle rules, as now we get an ever growing bucket, as delete object request actually do not delete objects for buckets with suspended versioning.  That makes me wander if this module is actually used by anyone?!

This is a pretty nasty bug, any chance of getting a fix anytime soon?

I did some testing and it seems that this isn't related the module, but it's related terraform and what versioning attribute means into that module.
Apparently, versioning is a setting on its own, regardless of its value (which is what we can set with a var), just mention it, it will turn on versioning, leaving it in suspended mode, it's equivalent to setting enabled = false.
  versioning {}

This will turn it on and enable:
  versioning {
    enabled = true
  }

I really don't know how this can be sorted out, if just by mentioning an attribute will enable it (suspended), the only thing to do would be  to remove it entirely based on a variable, but I'm not aware that's possible in terraform

dynamic "versioning" {
    for_each = var. versioning_enabled ? [true] : []
    content {
      enabled = true
    }
  }

https://www.terraform.io/docs/language/expressions/dynamic-blocks.html
@nnsense  ^

Hey, that worked! Why you didn't add it into the module? If you don't have time I can create a PR :)

...there's already a PR.. OK, I'll wait :D

@nnsense  the PR is very old and convoluted.
Please open a new PR with just this feature

I'm doing just that :) Question: there's a comment:
#bridgecrew:skip=BC_AWS_S3_16:Skipping `Ensure S3 bucket versioning is enabled` because dynamic blocks are not supported by checkov

But now I see that some basic handling for dynamic blocks has been added in checkov
https://github.com/bridgecrewio/checkov/pull/836
So if you're using checkov it would be interesting to remove the comment and see if it works now

Closing this because #118 is merged


ESP32 gets a screenshot of the phone

我找到非常有趣的项目

https://homemadegarbage.com/makerfabs05

I want to get a screenshot of my phone, what should flutter do?

@modi12jin Well, I think you need to make an app that is working in the background. Try to ask the author.


Log file retrieval with c8y_log_plugin fails to work after some time

Describe the bug
Retrieving logs from the device via the c8y_log_plugin fails after some time.
If the device connects to the Cumulocity IoT cloud log retrieval works as expected. After some time the log retrieval does not work anymore. For us we recognized the error after 21h the next day but on a test device this also happened after about 1:15h.
In the cloud Dashboard the error reason is stated with:
Handling of operation failed with HTTP status client error (401 Unauthorized) for url (https://certification-phoenixcontact.eu-latest.cumulocity.com/event/events/)

Output of the c8y_log_plugin.log file:
2023-01-19T13:36:19.62695126Z  INFO c8y_log_plugin: Log request received: 522,LaborDevice2152,mosquitto,2023-01-18T12:36:00+0100,2023-01-19T12:36:00+0100,,1000
2023-01-19T13:36:19.81214498Z ERROR c8y_log_plugin: Handling of operation: '522,LaborDevice2152,mosquitto,2023-01-18T12:36:00+0100,2023-01-19T12:36:00+0100,,1000' failed with HTTP status client error (401 Unauthorized) for url (https://certification-phoenixcontact.eu-latest.cumulocity.com/event/events/)

To Reproduce
Connect the device to the cloud wait some time and try to retrieve a log from the device.
Expected behavior
Log file retrieval should work also if the device is connected for longer time in idle mode.
Environment (please complete the following information):

Custom build yocto image

Phoenix Contact AXC F 2152 PLC

System-Architecture: Linux axcf2152 5.4.47-rt28-pxc SMP PREEMPT_RT Wed Dec 15 20:26:30 UTC 2021 armv7l armv7l armv7l GNU/Linux

thin-edge.io version 0.8.1

Thanks @bjoernsauer for the info. This ticket is actually a duplicate of the same 401 problem that affects the configuration plugin (as the both use the same crate).
The bug fix has already been merged into main and will be part of the 0.9.0 release which we are hoping to deliver next week. You can click on the link to checkout the progress of the 0.9.0 release.

thin-edge.io 0.9.0 has been released which includes the bug fix for this ticket 🍾


[google] fix list of standard VM image projects

This adds the missing standard GCE VM OS image projects, as listed on
https://cloud.google.com/compute/docs/operating-systems/
and available via gcloud compute images list.
/cc: @erjohnso, @temikus

Found in housekeeping pass and cloud provisioner is deprecated.


[BUG] Publishing an API with revision

Release version
v5.0.1
Describe the bug
Cannot deploy an API (having revision) silently without any impact
Expected behavior
Deploy an API (having revision) entirely and keeping the actual current revision unchanged
Actual behavior
The current revision of the target is replaced by the current revision of the source
Reproduction Steps
On the source environment, set the last revision as the current revision :

On the target environment, don't set the last revision as the current revision :

After the deployment, the current revision of the target is replaced by the current revision selected on the source environment (the description of the ID n°1 has been updated) :

The expected behavior is to have the current description unchanged :

I know we are doing some work against the revision sets. Did you take a look at some of the open issues that may Be discussing the same issue you're bringing up here?
@guythetechie any thoughts?

I had take a look on the open issues. It seems that none of them are related to the revision sets. It is possible that I miss one issue.

Please check both the open as well as the closed ones. If you still don't find a resolution for your issue, let me know and I will check with the developer.

Thank you, I had checked and I don't see this same issue. Can you check with the developer ?

Closing in favor of #184.

Thank you for this feedback.
Do you have an ETA for the major update? Is it possible to try it with a preview version ?

@simonTTIS - very rough guess would be about a month for the next update. Preview not available, unfortunately - it's a big rewrite, and some core functionality is still missing.

No worries. A month as delay is more than OK :)
I will wait, thank you again


PlaceholderImage doesn't work with animated Gifs.

When loading a remote image with sd_setImage, the placeholder image doesn't work with animated gifs.  It won't accept FLAnimatedImage (since FLAnimatedImage is not a UIImage subclass) and won't animate a UIImage that is an animated GIF.

You can pass a UIAnimatedImage created by -[UIImage animatedImageWithImages:duration:]. Which can be shown correctlly.
However, since FLAnimatedImage is not a UIImage subclass, you can not pass one to do placeholder. This will be fixed into 5.x because we drop out that FLAnimatedImage subspec and introduce own SDAnimatedImage, which is a UIImage subclass.
For now, just use some other way like that UIAnimatedImage or set the placeholder yourself before calling sd_setImageWithURL: with SDWebImageDelayPlaceholder 😅

UIImage.sd_animatedGIF(with: animatedPlaceholderData)
This works.  Thank you for the reply.

@rpstro02 Maybe a better way. We can expose the associate object in FLAnimatedImage+WebCache. Then you can create a new FLAnimatedImage, bind this to your UIImage placeholder and call the sd_setImageWithURL:.
In 4.3.0 we introduce this to fix some issue and "store" the FLAnimatedImage into memory cache. But it's read-only because at that time I think it's should be a advacend feature and user should avoid touching this. Now I think it's time to open the ability to set that property.


Add support for the CUE language

This PR adds support for the CUE language.
Description

Checklist:

[x] I am adding a new language.

[x] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3Acue+package+NOT+nothack

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

https://github.com/cuelang/cue/blob/447606047bdd32f79029a4be5424af3a09ea15f2/doc/tutorial/kubernetes/quick/services/kube.cue

Sample license(s): Apache-2.0 License

[x] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/?utf8=✓&scope=from-url&grammar_format=auto&grammar_url=https%3A%2F%2Fgithub.com%2Fcue-sh%2Fvscode-cue%2Fblob%2F7bd21882dc0e5299271597f18f2740394714cfea%2Fsyntaxes%2Fcue.tmLanguage.json&grammar_text=&code_source=from-url&code_url=https%3A%2F%2Fgithub.com%2Fcuelang%2Fcue%2Fblob%2F447606047bdd32f79029a4be5424af3a09ea15f2%2Fdoc%2Ftutorial%2Fkubernetes%2Fquick%2Fservices%2Fkube.cue&code=
[x] I have updated the heuristics to distinguish my language from others using the same extension.

/cc @mpvl @myitcv

@zchee wonderful!
Cross referencing https://github.com/github/linguist/issues/5013
@lildude any pointers/additional things we should consider as part of this PR?

@lildude any pointers/additional things we should consider as part of this PR?

Yes... https://github.com/github/linguist/issues/5013#issuecomment-804263183

@lildude ah, What should I do? edit https://github.com/github/linguist/blob/master/lib/linguist/heuristics.yml ...?

What we will need is for cue sheet to be added as part of this PR too so this PR will then implement the two most prominent languages that currently use the .cue extension on GitHub.
I don't think a heuristic will be needed as the two languages are quite distinct so the classifier should be able to differentiate between the two. Adding two good samples of each would certainly help.
So to put it into points of things to do in this PR:

Add support for "Cue Sheet" as a new data language
Add two cue sheet samples
Add another CUE sample

@lildude thanks for very details reply.
And I understand all, will do and mention to you after done.

@lildude added Cue Sheet language support. PTAL.

@lildude sorry, fixed CI error. PTAL again.

@lildude thanks, will fix

@lildude PTAL.

@lildude Thanks a lot!


Issue 43 Room and Issue 44 Machete

Items: Machete and Water of Youth
These Items can be found and unlocked in the room by interacting with the environment..
Special sections are unlocked if a certain item is carried in the player inventory.
Items are:
self.machete = Item("machete", "a very sharp but used machete", movable=True)
self.water_of_youth = Item("Water of Youth", "Water from the foutain of youth from the jungle greenhouse.", movable=True)
Room: Jungle greenhouse
Added a jungle greenhouse class to the ZDD adventure game
Room Description
This room prompts the user with 5 riddles, that are triggered by a specific room inspeciton choice.
Each riddle is saved as an item in a dictionary, where the key is the choice input by the user.
The text prompts before and after the riddles are also saved like this and are triggered by the same key.
This design choice enables future riddle expansion, and can be used to implement rooms with a large choice pool
Testing observations
During testing I realized the leaving procedure was not elegant, as leaving the run_story() would trigger the leave room loop in the enter_room() function in the parent class. This could be solved with a bool return.

The use of a dictionary for storing riddles and related prompts is a great choice. It makes the room easily expandable with more riddles in the future. The idea of triggering riddles based on a specific room inspection choice creates a more dynamic interaction for the user. This design improves the experience of exploring the room and solving challenges.

@Jonah-gr ready to merge :)


User Story 10.1 Issue 3 : Default description in Voluneer Position textbox is incorrect.

Tested in Desktop and mobile (chrome, safari).
When the 'allow volunteers to join your organization' toggle is on and we tap on the Volunteer Position textbox, the default text is incorrect.

in desktop (chrome)

in mobile (firefox)

@sarmahmili Fix the bug

Tested in base branch and fix confirmed.
in mobile (firefox)

in desktop (chrome)


Allow use of display names with SwiftMailer

The syntax to allow display names with SwiftMailer is as follow:
<EMAIL_ADDRESS>=> 'John Doe'])
Just like you set the Email.admin_email, you can set the default sender display name through the Email.admin_email_displayname configuration setting.
Refs:

https://swiftmailer.symfony.com/docs/introduction.html#basic-usage
https://docs.silverstripe.org/en/4/developer_guides/email/#administrator-emails

Thanks for contributing, you're awesome! :star:
Please describe expected and observed behaviour, and what you're fixing.
For visual fixes, please include tested browsers and screenshots.
Search for related existing issues and link to them if possible.
Please read https://docs.silverstripe.org/en/contributing/code/

Couldn't one just set the Email.admin_email option to be an associative array? Perhaps a docs update would be more appropriate?
eg:
Email:
  admin_email:
<EMAIL_ADDRESS>SilverStripe Admin

there are also linting issues in this PR, please see the travis failure

Hi Daniel,
Definitely, whatever makes the more sense to the SS core team. I will go ahead and make that change.

Less code to maintain is best IMO and if we can achieve it like this, that'd be great.
Can you update the docblock for the config option to say it can be an array and also update the email docs if there's somewhere appropriate to add this?

Thanks for the feedback. I've made the changes

Hi @maxime-rainville Feel free to squash-and-merge. Thanks!


Error initializing the archive for in-memory use

I can't find ZZMutableArchive in the current code. I tried initializing a ZZArchive instead in Swift based on sample code suggested in here, as follows:
let zipArchive = try ZZArchive.init(data: NSMutableData())
This code throws this error:
fatal error: 'try!' expression unexpectedly raised an error: Error Domain=com.pixelglow.ZipZap Code=0 "(null)" UserInfo={NSUnderlyingError=0x1546b0aa0 {Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist."}}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-7<IP_ADDRESS>/src/swift/stdlib/public/core/ErrorType.swift, line 54

You'll need to pass in the ZZOpenOptionsCreateIfMissingKey to enable writing
let zipArchive = try ZZArchive.init(data: NSMutableData(), options:[ZZOpenOptionsCreateIfMissingKey: true])

The API here is somewhat confusing, at some stage I'll go over it with a fine tooth comb and make it more usable.

Great, this works! Thank you!


Order form - move vendor field to selector view.

I think this field is more purview of Admin/Content Services. Selectors can include preferred vendor information in the other note field. Classics requested access to the vendor code field as they are accustomed to selecting the vendor directly in Sierra.

That was my first thought, too.


Added a new blog to open-source

Issue number - #1332
Added a new blog to the LinkHub
Category - Open-source

@CBID2 @rupali-codes @k-deepak04

check now

Thank you, for the addition. BTW it's not a blog.


Return entity slug with confirmation endpoint

This would allow frontends to redirect the user to their profile after logging in

After some feedback from<EMAIL_ADDRESS>we're now N=3. I'll work on this next week if I have time to do so :)

Wonderful validation! Thank you so much @sofiaritz and<EMAIL_ADDRESS>:)


Just modified tree's model to showcase icons and test pull requests/merging

@boltex Imo, this is a great use of a PR. There is no way I would have understood (or noticed), the change without a very short diff 👍


Cast environment variables to integers

Description
Cast environment variables to integers in example code.
Motivation and context
Ran into the undefined operator error in Communicator where it checks the following with ranks_per_partition as a string.
if self.cpp_mpi_conf.getNRanksGlobal() % ranks_per_partition:

How has this been tested?
I changed the code I copied which fixed the problem. I didn't test the change for getting ACTION_THREADS_PER_PROCESS
Checklist:

[x] I have reviewed the Contributor Guidelines.
[x] I agree with the terms of the Row Contributor Agreement.
[x] My name is on the list of contributors (doc/src/contributors.md) in the pull request source branch.
[x] I have added a change log entry to doc/src/release-notes.md.

Yet another example showing that duck typing is an epic failure. I would also welcome a fix to HOOMD-blue that casts the RHS of that operator to int. Isaac found a similar case where hoomd.variant.box.InverseVolumeRamp should cast parameters before initializing the C++ struct.


onDidOpenNotebookDocument fires notebook has no cells

the GH issues notebooks has this https://github.com/microsoft/vscode-github-issue-notebooks/blob/de9a43406d854c87e0b150b5b58e276f7d2a9bd2/src/notebookProvider.ts#L49
:bug: when the event fires notebooks have no cells ([]) which means the project isn't setup correctly

The real world impact be seen like this

have a cell that defines a variable
have a cell that uses the variable
collapse the former
reload -> compile errors...
expand -> all good

Good catch, it was broken after introducing the backup. Will add tests once we have smoke test infra there.


Function with same name and arguments defined twice

Issue description
Because of the way in which contract method invocation works in Ethereum, return types are not considered part of method signatures in Solidity. Put simply, at EVM-level, signatures are just the hash of the serialization of the method name plus the arguments.
The Oracle interface currently found in this repository is thus impossible to satisfy as all of its four methods have the same signature, ABI-wise:
interface Oracle {
  function resultFor(bytes32 id) external view returns (uint timestamp, int outcome, int status);
  function resultFor(bytes32 id) external view returns (uint timestamp, uint outcome, uint status);
  function resultFor(bytes32 id) external view returns (uint timestamp, uint[] memory outcome, uint[] memory status);
  function resultFor(bytes32 id) external view returns (uint timestamp, bytes32 outcome, uint status);
}

If you try to write a contract that inherits from the interface, solc will immediately complain about two different issues:

DeclarationError: Function with same name and arguments defined twice
TypeError: Overriding function return types differ

Solutions assessment
The two most common — if not the only — ways to allow those four methods to exist at once are:

Call them differently, in the likes of intResultFor, uintResultFor, uintArrayResultFor and bytesResultFor.
Make the types of their arguments different.

Approach (2) is not suitable in this case because it makes no sense to use any redundant additional parameters just for the sake of pivoting over multiple namesake methods.
Note however that giving a descriptive name to each of the methods may have an unwanted collateral effect, as contracts implementing the interface will be bound to implement every each of the methods defined therein.
Recommendation
My recommendation for allowing inheriting contracts to optionally implement one or many of the methods is to split the interface into many, and allow them choose which ones to inherit from:
interface IntOracle {
  function intResultFor(bytes32 id) external view returns (uint timestamp, int outcome, int status);
}

interface UintOracle {
  function uintResultFor(bytes32 id) external view returns (uint timestamp, uint outcome, uint status);
}

interface UintArrayOracle {
  function uintArrayResultFor(bytes32 id) external view returns (uint timestamp, uint[] memory outcome, uint[] memory status);
}

interface BytesOracle {
  function bytesResultFor(bytes32 id) external view returns (uint timestamp, bytes32 outcome, uint status);
}

It is worth noting that, with all likelihood, most inheriting contracts will only support one of the interfaces, as the type of the published data point should always be known upfront and there is little advantage to delivering such information using multiple data types.
Under that scenario, an inheriting contract that may choose to support only int would look like this:
contract PriceFeed is IntOracle {

  constructor () public { }

  function intResultFor(bytes32 id) external view returns (uint timestamp, int outcome, int status) {
    /** **/
  }
}

Shall some specific use case require support for additional data types, adding those would be trivial:
contract PriceFeed is IntOracle, UintOracle {

  constructor () public { }

  function intResultFor(bytes32 id) external view returns (uint timestamp, int outcome, int status) {
    /** **/
  }

  function uintResultFor(bytes32 id) external view returns (uint timestamp, uint outcome, uint status) {
    /** **/
  }
}

Reading from the PriceFeed contract would in turn look like this for any third-party developer:
address theAddressOfThePriceFeed = 0x00;
IntOracle priceFeed = IntOracle(theAddressOfThePriceFeed);
int result = priceFeed.intResultFor(id);

Please note that in this example, the contract could be instantiated using the original ABI instead of IntOracle, thus giving access to all methods in the price feed and not only the one inherited from IntOracle. However, the whole point for standard interfaces like the one put forth in this EIP is to allow developers to access oracle functionality without being tied to the particularities (and the ABI) of a specific data provider.

I'll close this as it no longer applies to the latest proposal.


Lock device with proximity sensor in voice call

How do we lock the device like whatsapp during voice call in flutter?
During a voice call, the screen stays on and while the device is on the ear, taps and opens other applications.

It's a business logic of the application, and I'm sorry that I'm not a user of whatsapp, I think you asking this question in StackOverflow may be more helpful.


Automated cherry pick of #8977: fix(monitor): modify monitor serviceType in StartService()

Cherry pick of #8977 on release/3.6.
#8977: fix(monitor): modify monitor serviceType in StartService()

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.6@ec803b3). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/3.6    #8983   +/-   ##
==============================================
  Coverage               ?   17.82%
==============================================
  Files                  ?       88
  Lines                  ?     8858
  Branches               ?        0
==============================================
  Hits                   ?     1579
  Misses                 ?     7106
  Partials               ?      173

Flag
Coverage Δ

aFlag
17.82% <0.00%> (?)

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

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 ec803b3...db565fe. Read the comment docs.


Inform the user which plugins are being loaded during startup

@airballking, is this what you wanted? ;)

@fairlight1337 Yes, this is a useful new feature, and works like I expected it. Thanks for adding it!


Make some more plot changes

[x] Relative weight, make sure all categories show up even with no data
[ ] Change CPUE legend to match length frequency
[x] Relative weight remove 50 lineand make 100 line darker
[ ] Relative weight set y-axis range to 50 and 150 (make sure values within range)
[ ] Change all plot colors to black and white (make points bigger)
[ ] Between space between legend labels for length frequency (if possible)
[ ] Caption improvements: change capitalizing to normal, remove "graph", change rel weight caption to match x-axis and change x-axis to match length frequency's
[ ] Move rel weight legend to right hand side
[ ] Remove rel weight N values

Relative weight range is 50.4 to 159.6

Most relative weight values in standardized dataset are less than 110

Closed by #39


save user function output to the host output bytes. Does not use…

…DataView's, because I assume that wasm platforms will be little endian by default.

This fixed an issue I had with schema-defined functions that return f32. Got me past the error, but I am actually not using this exported function directly, so I haven't tested it very closely. It seems to not throw any different errors when the bindgen tests are run and I am passing data around in a similar way in other places in my application, so this should be fine. Just thought I'd share this for the time being since I encountered it.

I guess this is complicated by the fact that "number" can represent many different numerical data types in javascript


publish to mqtt

Hello,
is it also possible to publish the sensor data to mqtt?
i would like to use the dashboard from the panasonic heisamon
not al the functions should work but a lot of them we can also control and read with the midea modbus connection
to get an idee what topics are used for the panasonic you can take a look at
https://github.com/Egyras/HeishaMon/blob/master/MQTT-Topics.md
the dashboard/control of it is available at
https://github.com/edterbak/NodeRed_Heishamon_control

It is possible to publish states to MQTT, see https://esphome.io/components/mqtt.html#mqtt-publish-json-action
But be aware that this will result in extra load, especially if you are going to publish a lot of states. If I understand the question correctly, you would like to have that dashboard, in that case it is much easier to create that (almost the same) dashboard in Home Assistant.
Having a nice dashboard is still on my wishlist, so if you create something nice, I would love to adopt it in this project.


Popup handling in Synthetic

Hi @vigneshshanmugam I want to handle Popup if any comes in any of the steps.
I am not sure when the popup will come in my recorded scripts.
Suppose I have 5 steps, in any of the steps popup may come or may not. If popup triggers any of the fix steps then it is easy for me to handle.
I want something like
If (popup)
then handle
else
complete my steps
If I am using page.waitForEvent("popup") suppose popup come then its working fine otherwise its simply waiting for event and timeout.
Regards,
Shahid

Have  you tried with explicitly with timing down the popup event as you are unsure when they will be opened in new window. You can do waitForEvent("popup") with a timeout.
await page.click("button")
await page.waitForEvent("popup", {timeout: 1000});
// waits for 1000 seconds
// or combine them in single await
const [popup] = await Promise.all([
  page.waitForEvent('popup', { timeout: 1000})),
  page.click("button");
]);

In this Application 6-10 steps we need to scripts but I am not sure when pop up will come. Pop up may come any of the steps or may not be also.

Do you have an example script that you can share, Would like to play around and provide an answer.

Hi @vigneshshanmugam I have shared a sample script via email to you.

Closing this as we have have agreed to a solution offline.


DELETE Query String Handling

Hey TJ,
Just started writing a Couch client on top of super agent (SuperComfy) and I started seeing problems when writing my DELETE tests for Couch documents.  I'm not 100% sure, but it seems that a DELETE request should support query string parameters in much the same way as a GET request.
I've done a bit of reading on the topic (http://stackoverflow.com/questions/5905916/payloads-of-http-request-methods and http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-14#page-20), and while nothing is hard and fast it does seem like that is the general case.  It certainly is the case with Couch as primarily the way to remove a document is by using the DELETE method and pass a revision through a querystring parameter.
Anyway, I've made some minor tweaks to the code and updates to the querystring node tests to check things operate in the way they should.  Additionally, I've mirrored the updates to the superagent client side files (whole reason for writing SuperComfy is to get a client that works client side as well as in node).  I haven't written any tests here though - once I've got a better understanding of the client side tests I'll try to do that as well.
If you need me to make any tweaks, or if having a DELETE method support query string parameters is something you'd rather leave out of SuperAgent, please let me know.
Cheers,
Damon.

DELETE can have a body as well, maybe what we should do is have an explicit .query() method, and for GET .send() can use .query() but others can use it so you can still say POST json but also use the querystring

https://github.com/visionmedia/superagent/issues/59

Figured that might be the case... Good call on the query method, might have a look at doing something with that now.

57531c3

Awesome, that saved me some time :)


Fix ems_common#show.

Purpose or Intent
Fix ems_common#show.
Broken by https://github.com/ManageIQ/manageiq/pull/10255
2 lines accidently not deleted.

ping @mzazrivec


Height of plain  doesn't match height of other temporal s in Chrome

As a side-effect of https://github.com/twbs/bootstrap/blob/6ba595f3fffee275922c377a7cc1bc46fc5e58c1/less/forms.less#L179 , the height of a plain <input type="week"> without any Bootstrap classes doesn't match the height of other plain temporal <input>s.
Tested on OS X Chrome using http://jsfiddle.net/5Lh045wd/1/

I'm thinking we should add .form-control to these selectors?
We never make plain temporal <input>s be display: block in the first place.

Or instead of using '''display: block' ''

Instead of using 'display: block' maybe you could just adjust the padding with 'padding: #px'.

CC: @mdo

Sounds fine by me.

In fact I've got that temporal stuff commented out in v4 so far. Haven't tested it much yet though, but I wasn't sure if we needed it if we're going class-only for more of our styles.

We do need it in v4 still I think.


Automated cherry pick of #4656: fix: 避免拥有带宽包的腾讯云创建机器失败

Cherry pick of #4656 on release/2.12.
#4656: fix: 避免拥有带宽包的腾讯云创建机器失败

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@91af65c). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.12   #4670   +/-   ##
==============================================
  Coverage                ?   6.87%
==============================================
  Files                   ?     502
  Lines                   ?   85552
  Branches                ?       0
==============================================
  Hits                    ?    5879
  Misses                  ?   79180
  Partials                ?     493

Flag
Coverage Δ

#aFlag
6.87% <ø> (?)

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 91af65c...4f5f4a6. Read the comment docs.

/lgtm

/approve


Add "return" in the generated docstring

Currently the docstring generated for functions is of this format:
    """ Description
    :type a:
    :param a:

    :type b:
    :param b:

    :raises:

    :rtype:
    """

Add return to the generated docstring as it gives the user the option to explain what the function is expected to return. Please make sure the return is added to only docstrings generated for functions and not classes.

I can take this on. Can I be assigned?

Hello @neckenth! Thanks a lot for showing interest in contributing to this repository. But, @ThiagoDella has already created a PR that would close this issue.


Extend the meta-language to support keyword arguments

Allows keyword arguments in class constructors and factory functions (when the factory function is called to set the value of a newly initialised variable).
The update in meta-language allows translation of statements like these (meta-language):
Kernel k = kernel_machine("SomeKernel", some_parameter=2)

Kernel k2(parameter=500)

A) To something like this (python)
k = kernel_machine("SomeKernel")
k.put("some_parameter", 2)

k2 = Kernel()
k2.put("parameter", 500)

B) Or something like this (python):
k = kernel_machine("SomeKernel", some_parameter=2)

k2 = Kernel(parameter=500)

Changing from translation type A) to B)
To get A), the targets/python.json file should contain:
{
    ...
    "Init": {
        "Construct": "$name = $typeName($arguments)\n$kwargs",
        "Copy": "$name = $expr\n$kwargs",
        "KeywordArguments": {
            "List": "$elements",
            "Element": "$name.put(\"$keyword\",$expr)",
            "Separator": "\n",
            "InitialSeperatorWhenArgs>0": false
        },
        ...
    },
    ...
    "Expr": {
        ...
        "GlobalCall": "$method($arguments)",
        ...
    },
    ...
}

And to get B), the targets/python.json should contain:
{
    ...
    "Init": {
        "Construct": "$name = $typeName($arguments$kwargs)",
        "Copy": "$name = $expr",
        "KeywordArguments": {
            "List": "$elements",
            "Element": "$keyword=$expr",
            "Separator": ", ",
            "InitialSeperatorWhenArgs>0": true
        },
        ...
    },
    ...
    "Expr": {
        ...
        "GlobalCall": "$method($arguments$kwargs)",
        ...
    },
    ...
}

Where do keyword arguments not work?
Keywords arguments cannot be used anywhere else than in class constructors to initiliase variables and global functions to initialise variables. See the following examples:
# Keyword arguments are supported when constructing objects

# Either when using factory functions:
Kernel k = kernel_machine(a=2)
Kernel k2 = kernel_machine("GaussianKernel", c=1.0)

# Or when constructing objects from class constructors
GaussianKernel k3(1, a=2, b=3)

# This fails (keyword arguments appear before normal arguments)
#Kernel k4(asd=123,"SomeParam",kw=val)

# This fails (keywords not allowed outside initialisations of variables. This is a re-assignment of a previously initialised variable)
#k4 = kernel_machine("GaussianKernel", b=2)

# This fails (keywords not allowed outside initialisation of variables. This is a nested kwarg, but it doesn't appear in the call that initialises `k6` directlry)
#Kernel k6 = kernel_machine("GaussianKernel", a=glob_fun(kw=123))

# This is fine:
Kernel k6 = kernel_machine("GaussianKernel", a=glob_fun(ordinary_argument))

# This also fails (both kwargs appear outside of variable initialisation)
#kernel_machine("GaussianKernel", a=glob_fun(kw=123))

All green except for Octave (see error description above) which seems to be a bug with the octave interface and float types. I'm not currently able to install octave on my macine to figure out what the issue is. Is there a server somewhere where I can test all the interfaces?
It looks like there are issues with basic types in several of the interface languages. Would be good to write a thorough test case once this PR is merged.

OK, included last review changes. This is ready to be merged

Excellent, thanks!


quotes: add option to ignore string literals

Clear and concise description of the problem
I use Prettier for formatting. Prettier enforces a consistent quote style. However, Prettier does not enforce using string literals over template strings. To enforce this, I’m using the @stylistic/quotes rule. The downside is that:

The configuration of @stylistic/quotes needs to match the Prettier configuration.
Incorrectly quoted strings are reported by both @stylistic/quotes and eslint-plugin-prettier.

Suggested solution
Add an option ignoreStringLiterals. When this is used, only template literals are checked.
Alternative
Don’t do anything :shrug:
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Contributes

[X] If this feature request is accepted, I am willing to submit a PR to fix this issue

So you want ESLint to enforce the use of literal quotes whenever possible for template strings, but don't care about which quotes to use, right?
If it's a few lines of code I don't mind to have them - PR welcome :)_

Exactly!
PR submitted :)


Make the docs.stake.tax repository public

Since docs.stake.tax is generated via GitBook, it can be synced with a GitHub repository. I suggest that the repo is made public to let the developers and users improve it.

Looked into it a bit.  Just wasn't knowledgable enough and seemed time consuming in that sense.
Closing older issue due to inaction.


Create Github BDD related intial Steps(features folder)

As a  Developer
I need to add the initial BDD steps under the features/folder
So that behave command is successfully executed.
Details and Assumptions

Create a "features" folder containing "environment.py" and "inventory.feature" files.
Inside the "features" folder, create two sub-folders:
a) "inventory_steps.py" - Contains the implementation of the BDD test steps related to the inventory service.
b) "web_steps.py" - Contains the implementation of BDD test steps related to web interactions.
In "web_steps.py", implement the following BDD test steps:
a)When I visit the "home page," then I should see "inventory service" in the title.
b)Then I should not see "404 NOT FOUND" on the page.
In "inventory_steps.py," define a context table that will be used to establish the initial state for the BDD tests.

Acceptance Criteria
Given the honcho start command is executed
When the behave command is run
Then the BDD base steps will run and should pass

This is no longer needed, I have done this already in my PR


⚠ Minecraft has degraded performance

In f62944e, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1355 ms

Resolved: Minecraft performance has improved in 5e9629f.


Solution 11

Purpose

Solution 11 - Identity federation between service providers and identity providers with incompatible identity federation protocols

Approach
In the provided solution script, following value set and happy/unhappy paths are included.
#Service Provider 1(SAML2) - Travelocity
#Fedarated Authenticators - Facebook, Twitter
#Service Provider 2(WS-Federation - Passive) - STS web app
#Fedarated Authenticators - Twitter
#Negative Scenario - Login to Travelocity with Facebook credentials when the client ID is incorrect.
User stories
Problem:
The business users need to login into a SAML service provider with an assertion coming from an OpenID Connect identity provider.
In other words, the user is authenticated against an identity provider, which only supports OpenID Connect, but the user needs to login into a service provider, which only supports SAML 2.0.
Solution:
Represent all the service providers in the WSO2 Identity Server and configure the corresponding inbound authenticators (SAML, OpenID, OIDC, WS-Federation).
Represent all the identity providers in the WSO2 Identity Server and configure corresponding federated authenticators (SAML, OpenID, OIDC, WS-Federation).
Associate identity providers with service providers, under the Service Provider configuration, under the Local and Outbound Authentication configuration, irrespective of the protocols they support.
Products: WSO2 Identity Server 5.0.0+
Documentation

N/A

Training

N/A

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

https://medium.facilelogin.com/thirty-solution-patterns-with-the-wso2-identity-server-16f9fd0c0389

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Test environment

java version "1.8.0_144"

Closing since this is address by a different PR


Fix issue for PXE no free memory

https://hwjiraprd01.corp.emc.com/browse/ODR-817
Workaround for 'Intel Boot Agent' PXE boot issue that   no free memory when PXE boot ROM donwload files for severail times. In some physical machine that use Intel Boot Agent PXE boot,
when the boot sequence is:
NIC1 PXE boot
-> NIC1 donwload iPXE bootfile, and chainload to iPXE boot for NIC1
-> Noting for NIC1 iPXE boot, continue to NIC2 PXE boot
-> Noting for NIC2 PXE boot, continue to NIC1 PXE boot
-> NIC1 donwload iPXE bootfile, and chainload to iPXE boot for NIC1
-> .....(loop as above)
NIC ROM firmware will download iPXE bootfile in multiple times, but memory is not freed. So after several times, no free memory left. Console will show NBP is too big to fit in free base memory, which will lead to physical machine cannot auto-boot in next time.
Workaround this issue by a pre-check. If it's not neccesary, don't need to send iPXE bootfile name to let node download bootfile.
The pre-check could be configured so that when this issue doesn't exist for some vendor's physical machines, it could be disabled, and also keep the ability of separate DHCP, so by default, on-dhcp-proxy still has the same behavior as before PR https://github.com/RackHD/on-dhcp-proxy/pull/50, but on-dhcp-proxy still keep the ability for DHCP separation.
@RackHD/corecommitters @pengz1

Build finished.

Build finished.

:+1:

+1


[libwebsockets] Update dependency

Describe the pull request

What does your PR fix?
Fixes #17202

pthreads is also required on Windows platform, so remove the platform conditions for pthreads in dependency lists.
Note: No feature needs to test.

Hi
This is a very annoying issue because all packages that depend on libwebsockets have their build failing.
When do you plan to merge the fix for this issue?

Thanks @NancyLi1013 :)

Thanks!


#78: Move ErrorMessage type from spark data standardization into spar…

…k commons

Created ErrorMessage class based on standardization library one
Created unit test for ErrorMessage class

Closes #78

LGTM (just read the code). Not entirely sure about formatting of the case class params (I would put the first field on the line with the case class name, but I can see that this formatting is used elsewhere in the project, so let's keep it as-is for now).
@TebaleloS, maybe, when/if you also get to implement this change from the standardization perspective, please link this issue/PR for reference.


Added configuration for wait timeout of VerPatch.exe

Sometimes 1 second  is not enough to VerPatch.exe to complete on our project, that causes build to fail. Added configuration for wait timeout of VerPatch.exe.

note: this option has been removed in version 1.3 (https://github.com/304NotModified/Fody.Stamp/pull/19 )


Fix leftover operation files in CC tests

Original discussion
We suspect that some build operation tracing system properties were set in test A but not cleaned up properly, resulting in test B generating leftover trace files. This PR captures all system properties before the invocation, and restore them after.

Thanks @wolfs
@bot-gradle test and merge

OK, I've already triggered a build for you.


Searching for a file suddenly works quite different

Description
When searching for a file in a large folder tree, previously I could type a few chars of a directory to filter on that dir. Then I continued typing a few chars to select the subdir I was looking for. And then I continued with a few chars to select to the file I wanted.
While I was doing this, the (selected) folders would stay visible in the path which made this a very intuitive way to visually search and select the file I needed.
Now after updating this morning this doesn't work anymore. reverting back to this commit fixes the issue: 8839e3f8070dfafa5b0c0e4652700298e7b872c4
Neovim version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1710088188

Operating system and version
macOS 14.3.1
Steps to reproduce
Use the minimal config and type a few chars...
Expected behavior
I typed nv to select the nvim dir, followed by lu to select the lua dir and then se to select the settings file:

Actual behavior
I types the same chars in the same project, but now I get nothing:

Minimal config
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  {
    "nvim-telescope/telescope-file-browser.nvim",
    dependencies = {
      "nvim-telescope/telescope.nvim",
      "nvim-lua/plenary.nvim",
    },
    config = function()
      require("telescope").setup({
        extensions = {
          file_browser = {
            auto_depth = true,
            display_stat = false,
            grouped = true,
            hide_parent_dir = true,
            select_buffer = true,
          },
      })
      require("telescope").load_extension("file_browser")
    end,
  },
}

require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

Thanks, I think I've fixed. Let me know if that's not the case.

Thanks @jamestrew, works as expected again 👍🏻


delve: 1.21.0 -> 1.21.1

Signed-off-by: Muhammad Falak R Wani<EMAIL_ADDRESS>Description of changes
Diff: https://github.com/go-delve/delve/compare/v1.21.0...v1.21.1
Changelog: https://github.com/go-delve/delve/releases/tag/v1.21.1

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

closed in favor of:

https://github.com/NixOS/nixpkgs/pull/277658


v2.2.1 release

Planning a release soon (v2.2.1) that will include:

Upgraded mapnik-pool that avoids a rare hang I encountered when writing more unit tests for https://github.com/mapbox/tilelive-bridge/pull/69
Improved map pooling - using non-pooled readonly map where appropriate. https://github.com/mapbox/tilelive-bridge/pull/68
Starts pooling images to reduce allocation overhead n- https://github.com/mapbox/tilelive-bridge/pull/69
Will default to strictlysimple polygons: https://github.com/mapbox/tilelive-bridge/pull/63 Already landed in v2.2.0
Will use >= node-mapnik 3.4.9 or https://github.com/mapnik/node-mapnik/milestones/v3.4.10 Already landed in v2.2.0

/cc @rclark @yhahn @GretaCB @flippmoke

All the work for this release is now done. Planning to tag v2.2.1 tomorrow. /cc @yhahn @rclark

v2.2.1 is now tagged and published.


WIP: Migration to add missing indexes.

TODO: We need to review if we need these indexes or not.
TODO: We need to add the :name for any indexes that are too long, see #1170
Replaces #1170
I ran the following code in rails console after migrating to get a list of bigint *_id columns without indexes:
tables = ActiveRecord::Base.connection.tables
indexes = {}
tables.each do |t|
  ActiveRecord::Base.connection.columns(t).each do |c|
    next if c.sql_type != "bigint" || !c.name.ends_with?("_id")
    index_found = ActiveRecord::Base.connection.indexes(t).any? do |i|
      i.columns.include?(c.name)
    end

    unless index_found
      indexes[t] ||= []
      indexes[t] << c.name
    end
  end
end

indexes.keys.sort.each do |key|
  columns = indexes[key]
  puts [key.to_sym, columns.collect(&:to_sym)].inspect
end

I'll have to review these one-by-one.  For example, I think all of the metrics and metrics_rollups ones should be removed.  The reason is that we will pay a penalty to keep those 5 extra indexes up to date for each insert into the table, but I don't think they are used in reverse (i.e. query all metrics where a particular host is the parent).

@jrafanie Travis is failing on this PR

Closing for now.  We can't mass add missing indexes, they should be done on an individual basis.


image pull with credentials

When using this image pull API to pull an image from the registry, the
X-Registry-Auth header can be used to include a base64-encoded AuthConfig object.

@carmark  What is AuthConfig?
Please provide a sample usage of image pulling with credentials.

It works.

LGTM


chore(release): v0.9.0 🎉

:robot: I have created a release beep boop
0.9.0 (2024-07-28)
Features

refs: expose a findByRef dao method (3c41f53)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/sql-dao-generator/releases/tag/v0.9.0 :sunflower:


[Confidential Ledger] Fix the test pipeline failure

Description
This PR fixes the failing test pipeline for the Azure Confidential Ledger service.

API change check
API changes are not detected in this pull request.


Language folder should be created while generating language files

I'm trying to generate language files for fa_IR which as you know there is not a conf/locale/fa_IR created by default.
So I switched to edxapp, ran the following command from the installation directory of my xblock : i18n_tool generate --strict and then received this exception:

Exception: I18N: Cannot generate because file not found: /home/username/edx-sga/conf/locale/fa_IR/LC_MESSAGES/djangojs-partial.po
Complete returned message

I think it would be more usable if the command create the appropriate folders automatically instead of ignoring those languages or raising error messagess.
Note: As I'm trying to use i18n_tools to translate an xblock I can't fetch files from transifex.

Have you seen this wiki page? It might help:
https://github.com/edx/edx-platform/wiki/Internationalization-and-localization

Yes I do,
But it's useless if you don't want to download language files from transifex or as my case you can not do because they are not there.

Hi @andy-armstrong , I have an idea,
is this possible to manually clone en/ and rename it to the new language for example fa_IR and start to translate strings? Most of our users don't make any changes in the source code of the xblock so they can easily do this to use it in their own language and get happy. Do you agree?


[WIP] Remove dynamic array bag storage

Fixes #12

On hold because implementation breaks immutability.

Superseded by #16


View zone appearing outside of editor

Lately I am seeing the "Find References" view zone showing outside of the editor to the top:

I am seeing that too but I didn't change anything... @alexandrudima ?