Extracted SPManagedMetaDataServiceApp contains incorrect Variables

Details of the scenario you try and problem that is occurring:
Extraction of Configuration from a SharePoint 2019 Preview Farm.
The Resulting Configuration contains the following Resource Configuration:
SPManagedMetaDataServiceApp ManagedMetadataService {
            DatabaseName                  = "SP19_SA_ManagedMetadataService";
            TermStoreAdministrators       = @();
            ApplicationPool               = "SharePoint Web Services Default";
            ProxyName                     = "Managed Metadata Service Proxy";
            PsDscRunAsCredential          = $CredsFarmAdmin;
            Name                          = "Managed Metadata Service";
            Ensure                        = "Present";
            ContentTypePushdownEnabled    = $;
            ContentTypeSyndicationEnabled = $;
            DatabaseServer                = $ConfigurationData.NonNodeData.DatabaseServer;
            Languages                     = @(1033);
            DefaultLanguage               = 1033;
            ContentTypeHubUrl             = "";
        }

The Problem is that for Properties ContentTypePushdownEnabled and ContentTypeSyndicationEnabled, no correct values are provided, only a $ sign.
The DSC configuration that is using the resource:
N/A
Version of the Operating System and PowerShell the DSC Target Node is running:
OSVersion: Windows Server 2016, 1607
PSVersion: 5.1.14393.2608
Version of the DSC module you're using:
<IP_ADDRESS>

@NikCharlebois I was not finally able to verify the issue.
When I ran the script again against the new ShrePoint 2019 farm I installed, it all worked as expected.
I cannot really explain why the issue arose firsthand as I am pretty sure I had a working Managed Metadata Proxy - but oh well, it was a SharePoint 2019 Preview Build and the issue is solved.
Thanks for your assistance!


Resolves TypeError when rendering class components Renderers and Filters

Summary
Given a class component as a Renderer or Filter, react-table throws an error TypeError: Cannot call a class as a function instead of rendering the component. This appears to be because the util is using isReactComponent to check whether an object is a component, which I believe was an implementation detail from the old React.createClass days and isn't defined in modern class components.
Issue
Renderers: ({ Cell: MyCell })
// functional component, works
const MyCell = props => props.value

// class component, throws
class MyCell extends React.Component {
  render() {
    return this.props.value
  }
}

Filters: ({ Filter: MyFilter })
// works
const MyFilter = ({ filter, onChange }) => (
  <input
    value={filter ? filter.value : ''}
    onChange={e => onChange(e.target.value)}
  />
)

// throws
class MyFilter extends React.Component {
  handleChange = e => {
    this.props.onChange(e.target.value)
  }

  render() {
    const {filter} = this.props
    return (
      <input
        value={filter ? filter.value : ''}
        onChange={this.handleChange}
      />
    )
  }
}

Resolution
It appears that the normalizeComponent checks for isReactComponent on the prototype, which is not a viable way to check if an object is a React Class Component. I removed the check because the JSX style can render either functional or class components.

@tannerlinsley Is there anything else I can add to this PR to help it get merged?


how to pass tf_vars in terraform.tfvars

In my terraform.tfvars for a RDS DB, I have
db_user = "xxxx"
db_password = "xxxx"

db_user and db_password are from module.
I want to use AWS SSM to get sensitive data so doing
# cat dev-db.sh
export TF_VAR_user=`aws ssm get-parameter --name "user" --with-decryption --query Parameter.Value --output text`
export TF_VAR_password=`aws ssm get-parameter --name "password" --with-decryption --query Parameter.Value --output text`

when I use db_user = ${var.user} it is failing with
[terragrunt] 2018/08/20 21:26:54 Invalid interpolation syntax. Expected syntax of the form '${function_name()}', but got '${var.user}, ${var.password}'
I saw your comment from another github issue that no variable interpolation is allowed in terraform.tfvars file. So how to pass the tf_var variables into my .tfvars file ? please point me if you have any work around.
Thanks

We use environment variables to set Terraform variable values that are considered secrets. For example, setting TF_VAR_db_password in your environment will do the trick.

Thanks @josh-padnick. That helped us. I am closing the ticket.


Missing Microsoft Kinect

Not sure if you want to give it multiple gravestones, as Kinect is one of those that Microsoft keeps killing and then brings back later:

2017: https://www.polygon.com/2017/10/25/16543192/kinect-discontinued-microsoft-announcement
2018: https://gamerant.com/why-microsoft-discontinue-kinect/
2023: https://techcrunch.com/2023/08/22/microsoft-cant-stop-discontinuing-kinect/

I missed this one initially bc I thought they still had it living as that Azure Dev Kit.  To the graveyard it goes! Until it comes back?


1.1.0 - Bug with view component model type checking for View

I have just updated my project from 1.0.0 to 1.1.0.
This seems to have broken one of my view components.
I am now seeing something that makes no sense...
Basically, it doesn't matter what type of model my VC passes to the View() an exception is always raised stating that the model is of a specific type, which is incompatible for the View.
Here you can see that my View component is passing a null IUser into the View() as the model. This results in the exception stating that the model item being passed into the view is of type MenuViewModel which is incompatible. No matter what I pass it, it always says its a MenuViewModel and that's not compatible.

What on earth is going on.
Here is the Razor View where the VC is being invoked in case it helps - the invocation itself works absolutely fine.

And here is the View for the VC as you can see the model type is IUser
@model Reach.GCv3.Business.Contracts.IUser

@if (Model != null && Model.IsImpersonated)
{

        Impersonating

}

A few special thing to note about this VC is that its invoked within another VC's view.
For example, the top level VC renders a menu, by looping through its model of menu items. If the item is also a VC, it invokes that VC.

                @foreach (var menuItem in Model.MenuItems)
                {
                    if (menuItem.IsViewComponent())
                    {

                         @await Component.InvokeAsync(menuItem.ViewComponentName, new { menuItem })

                    }
                    else
                    {

<a href="<EMAIL_ADDRESS>

                    }
                }

The other thing is that if I don't atttempt to pass a model to the View at all then it works:
public IViewComponentResult GetView(MenuItemViewModel menuItem)
        {
            try
            {
                 return View(); // this works
               //  return View(someModel as IUser); // this doesn't
            }
            catch (Exception e)
            {

                throw;
            }

        }
    }

Lastly at the point my VC is invoked - this looks a bit odd - I tried to dig around and this strikes me as suspicious: The ViewContext.ViewData has a Model matching the type reported in the exception:

Here is the full exception message:
The model item passed into the ViewDataDictionary is of type 'Gluon.Module.NavMenu.ViewModels.MenuViewModel', but this ViewDataDictionary instance requires a model item of type 'Reach.GCv3.Business.Contracts.IUser'.

Here is the stack trace:
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary.EnsureCompatible(Object value)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary..ctor(ViewDataDictionary source, Object model, Type declaredModelType)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary`1..ctor(ViewDataDictionary source)
   at Microsoft.AspNetCore.Mvc.ViewComponent.View[TModel](String viewName, TModel model)
   at Reach.GCv3.Mvc.Module.Authentication.ViewComponents.ImpersonationNavMenuItemViewCompoent.GetView(MenuItemViewModel menuItem) in D:\Repos\gc3-website\src\Reach.GCv3.Mvc.Module.Authentication\ViewComponents\ImpersonationNavMenuItemViewCompoent.cs:line 35

The difference between View() and View(someModel as IUser) is the first creates a ViewDataDictionary<object> while the second creates a ViewDataDictionary<IUser>. The first is able to hold any model from the outer context. The second also reuses the outer model when someModel is null or not an IUser but that dictionary blows up if the outer model is another type.

This sounds like the problem:

The second also reuses the outer model when someModel is null
This must be a breaking change, and also I fail to see how that makes sense to do that.. If I pass a null model to a View, I'd expect that model instance to make it to that View, not for MVC to go grab some irrelevant instance of a model that I am not passing...

@dougbu , @dazinator ,
Is what I said also in #5561. This new behavior is counter-intuitive, and definetively not useful, since it is very unlikely a developer re-use the Model of the View that calls the ViewComponent. A similar behavior violate ViewComponent encapsulation (as compared to the various JavaScript frameworks "components"). It is very likely each ViewModel uses its own specific Models.
Re-using the calling View ViewModel might be useful in partial views since they do not  have any model processing subpart, not for ViewComponents that have their controllers to process models.
As I predicted other people are falling in the same mistake. I repeat here my conclusion in the other thread:

Maybe, a better approach would be just passing Caller ModelState and ViewData.TemplateInfo.HtmlPrefix to the ViewComponent instead of passing the whole ViewDataDictionary. This is what is needed to make errors are dispatched properly within the ViewComponent View and to make input fields are named properly for the ModelBinder to match them. This data are handled automatically by the system so there is no reason to bother the developer by forcing him to set them manually, but model and ModelMetadata processing is just what the ViewComponent code is supposed to process, its focus. Data to be processed by developers code should be passed as arguments in the ViewComponent call without assuming the default behavior of using the caller View Model...Otherwise what is the reason for using a ViewComponent if one has no model processing? A partial view would be more appropriate

@ajaybhargavb I'm assigning this to you because it seems related to https://github.com/aspnet/Mvc/issues/5561.

https://github.com/aspnet/Mvc/issues/5561#issuecomment-276812012

Closing as this is a dup of #5561


Support for EIP-7045

Source:
https://eips.ethereum.org/EIPS/eip-7045
Description:
This function shoud be changed due to hardfork. Need to remove && att_inc_delay <= 32
Restriction: changed function should be called only after hardfork epoch (value depends on network)

Will be implemented here https://github.com/lidofinance/ethereum-validators-monitoring/pull/229


ENH build 9.3.0

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The home item is expected in the about section.
The license item is expected in the about section.
The summary item is expected in the about section.
The outputs section contained an unexpected subsection name. target is not a valid subsection name.
The outputs section contained an unexpected subsection name. target is not a valid subsection name.
The outputs section contained an unexpected subsection name. target is not a valid subsection name.
The outputs section contained an unexpected subsection name. target is not a valid subsection name.

@conda-forge-admin rerender

any ideas here @isuruf? It looks like the patches don't apply correctly for gcc 9.3.0.

OK @isuruf. It appears this works! I think we can ship 9.3.0 on all platforms too
I have submitted the patched patch here: https://github.com/conda-forge/crosstool-ng/pull/1
I guess we should merge that, rebuild crosstool-ng, and then remove the patched patch here and build again?

We might as well ship the compilers while we are here too maybe.

Can you send a PR to crosstool-ng-feedstock ?

Yup, will do!

done: https://github.com/conda-forge/crosstool-ng-feedstock/pull/14

This needs to be merged to a new branch upstream - getting these changes on the other 9 branch is huge pain due to conflicts.

The skips should already be in this pr. I'll bump the build number.

No, I mean, shall we remove the skips?

Ohhh. We can do that. I don't think builds will pick up the compilers due to the pinnings. I'm out and about now but I'll try later.

@conda-forge-admin rerender

I guess if we are building everything this PR can go into master.

@isuruf This one is ready to merge. IDK if we should push to master or maybe a new 9.x branch. Moving the global pins would be fine for everything except gfortran which needs a migration iiuic. So given that we might want to maintain the older versions for a while, a 9.x branch might be more sensible. What do you think?

@conda-forge-admin rerender

Two compiler builds at once is killing travis and drone. I am going to merge and then if they don't run, that's fine too. We only really need the libraries for 9.3 on x86_64. If we get the others, that's great, but NBD if not.


Modelfile invalid version

I've finetuned a llama2 model and applied this step here https://github.com/jmorganca/ollama/blob/main/docs/import.md#step-2-convert-and-quantize-to-a-bin-file-optional-for-pytorch-and-safetensors to generate de q4_0.bin file However my Modelfile that contains FROM ./q4_0.bin TEMPLATE "[INST] {{ .Prompt }} [/INST]" when I run  ollama create llama_ft -f Modelfile appear parsing modelfile looking for model ⠋ creating model layer  Error: invalid version

This is likely because the bin file is ggufv3 which is incompatible with ollama version v0.1.3 and earlier. Can you update ollama to the latest version and retry?

Thanks, it worked. Only installed it again curl https://ollama.ai/install.sh | sh


Spyder 5.3.1 hangs forever "connecting to kernel..." with jupyter_client 7.3.2  and 7.3.3

Issue Report Checklist

[x ] Searched the issues page for similar reports
[ x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x ] Tried basic troubleshooting (if a bug/error)

[x ] Restarted Spyder
[x ] Reset preferences with spyder --reset
[ x] Reinstalled the latest version of Anaconda
[x ] Tried the other applicable steps from the Troubleshooting Guide

[x ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
I installed spyder in a fresh ubuntu mate 22.04 install and the following problem arrises: When invoking "spyder &" in the console the following errors are shown
mariano@dplab1:~$ spyder &
[4] 26243
mariano@dplab1:~$ fromIccProfile: failed minimal tag size sanity
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an invalid version and will not be supported in a future release
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 0.1.43ubuntu1 is an invalid version and will not be supported in a future release
warnings.warn(
ERROR:tornado.general:Uncaught exception in ZMQStream callback
Traceback (most recent call last):
File "/home/mariano/.local/lib/python3.10/site-packages/zmq/eventloop/zmqstream.py", line 556, in _run_callback
callback(*args, **kwargs)
File "/home/mariano/.local/lib/python3.10/site-packages/jupyter_client/threaded.py", line 117, in _handle_recv
ident, smsg = self.session.feed_identities(msg_list)
File "/home/mariano/.local/lib/python3.10/site-packages/jupyter_client/session.py", line 968, in feed_identities
idx = msg_list.index(DELIM)
AttributeError: '_asyncio.Future' object has no attribute 'index'
ERROR:tornado.general:Uncaught exception in zmqstream callback
Traceback (most recent call last):
File "/home/mariano/.local/lib/python3.10/site-packages/zmq/eventloop/zmqstream.py", line 577, in _handle_events
self._handle_recv()
File "/home/mariano/.local/lib/python3.10/site-packages/zmq/eventloop/zmqstream.py", line 606, in _handle_recv
self._run_callback(callback, msg)
File "/home/mariano/.local/lib/python3.10/site-packages/zmq/eventloop/zmqstream.py", line 556, in _run_callback
callback(*args, **kwargs)
File "/home/mariano/.local/lib/python3.10/site-packages/jupyter_client/threaded.py", line 117, in _handle_recv
ident, smsg = self.session.feed_identities(msg_list)
File "/home/mariano/.local/lib/python3.10/site-packages/jupyter_client/session.py", line 968, in feed_identities
idx = msg_list.index(DELIM)
AttributeError: '_asyncio.Future' object has no attribute 'index'
ERROR:asyncio:Exception in callback BaseAsyncIOLoop._handle_events(115, 1)
handle: <Handle BaseAsyncIOLoop._handle_events(115, 1)>
[.... lot more errrors ...]
, but spyder starts (almost) correctly. The problem is that the ipython console hangs forever with the message "connecting to kernel...". I can restart the kernel and the following appear:
Python 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0]
Type "copyright", "credits" or "license" for more information.
IPython 7.34.0 -- An enhanced Interactive Python.
Restarting kernel...
but nothing else happen. Still hang there.
What steps reproduce the problem?

start spyder from console
thats all

What is the expected output? What do you see instead?
Start spyder normally and prompt in the console.
Paste Traceback/Error Below (if applicable)

Spyder Internal Console

This console is used to report application
internal errors and to inspect Spyder
internals with the following commands:
  spy.app, spy.window, dir(spy)

Please do not use it to run your code

>>> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an invalid version and will not be supported in a future release
  warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
  warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.1.43ubuntu1 is an invalid version and will not be supported in a future release
  warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an invalid version and will not be supported in a future release
  warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
  warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.1.43ubuntu1 is an invalid version and will not be supported in a future release
  warnings.warn(

Versions

Spyder version: 5.3.1 None
Python version: 3.10.4 64-bit
Qt version: 5.15.3
PyQt5 version: 5.15.6
Operating System: Linux 5.15.0-35-generic

Dependencies

# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  2.1.0 (OK)
cookiecutter >=1.6.0          :  2.1.1 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree >=3.0.2          :  3.1.0 (OK)
IPython >=7.31.1;<8.0.0       :  7.34.0 (OK)
jedi >=0.17.2;<0.19.0         :  0.18.1 (OK)
jellyfish >=0.7               :  0.9.0 (OK)
jsonschema >=3.2.0            :  4.6.0 (OK)
keyring >=17.0.0              :  23.5.0 (OK)
nbconvert >=4.0               :  6.5.0 (OK)
numpydoc >=0.6.0              :  1.3.1 (OK)
parso >=0.7.0;<0.9.0          :  0.8.3 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.9.0 (OK)
pygments >=2.0                :  2.12.0 (OK)
pylint >=2.5.0                :  2.14.0 (OK)
pyls_spyder >=0.4.0           :  0.4.0 (OK)
pylsp >=1.4.1;<1.5.0          :  1.4.1 (OK)
pylsp_black >=1.2.0           :  1.2.1 (OK)
qdarkstyle >=3.0.2;<3.1.0     :  3.0.3 (OK)
qstylizer >=0.1.10            :  0.2.1 (OK)
qtawesome >=1.0.2             :  1.1.1 (OK)
qtconsole >=5.3.0;<5.4.0      :  5.3.1 (OK)
qtpy >=2.1.0                  :  2.1.0 (OK)
rtree >=0.9.7                 :  1.0.0 (OK)
setuptools >=49.6.0           :  59.6.0 (OK)
sphinx >=0.6.6                :  5.0.1 (OK)
spyder_kernels >=2.3.1;<2.4.0 :  2.3.1 (OK)
textdistance >=4.2.0          :  4.2.2 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog >=0.10.3             :  2.1.8 (OK)
xdg >=0.26                    :  0.27 (OK)
zmq >=22.1.0                  :  23.1.0 (OK)

# Optional:
cython >=0.21                 :  None (NOK)
matplotlib >=3.0.0            :  None (NOK)
numpy >=1.7                   :  1.22.4 (OK)
pandas >=1.1.1                :  None (NOK)
scipy >=0.17.0                :  1.8.1 (OK)
sympy >=0.7.3                 :  1.10.1 (OK)

I have the same behaviour (both in venv and outsidfe of it) with same error mesages and behaviour. Can't fall back to Spyder 4 using apt since that version has issues with Python 3.10 (and the suggested workaround to that bug is to install Spyder 5...)
Getting hard to use Spyder on Ubuntu.

Hi @marianux and @jfprieur thank you for the feedback! Could you try to downgrade jupyter_client to 7.3.1 ? Seems like 7.3.2 was released a couple of hours ago and is causing this traceback. Let us know!

Thank you for the quick reply, downgrading to jupyter_client==7.3.1 did the trick!

Great! THanks both!

For completeness: I had the same issue with jupyter_client==7.3.3.
The error was caused introduced in this commit which pushed the pyzmq version: https://github.com/jupyter/jupyter_client/pull/791/commits/0057186519ed356b822b1b1a0052e4068fccff12
It changes the signature of _handle_recv which is apparently called by a callback from
def _handle_recv(self, future_msg: Awaitable) -> None:
to
def _handle_recv(self, msg_list: List[bytes]) -> None:

Hi @terrorfisch thank you for the info! Pinging @ccordoba12 just in case

Thanks for the tip @terrorfisch! I think we need to submit a pull request to jupyter_client to fix this.

Tried downgrading jupyter_client to 7.3.1 as suggested.  It worked.   Linux mint 20.3 Una, kernel 5.4.0-113-generic.

This error is fixed now in jupyter_client 7.3.4. It's already available in PyPI and it will be in Conda-forge in three or four hours.

Fix confirmed after (e.g.) mamba update --all (which updates jupyter_client 7.3.4). Thanks!

@sheldonrb, no, it's not the same problem (compare the errors posted at the beginning and yours). And I cannot reproduce it on Linux, sorry.

Should we close this one @ccordoba12 ?

@dalthviz, ok, let's close it.
@sheldonrb, I'm sorry but as I told you before yours is a different problem than the one reported here and we don't know why it happens.


Can I translate knex('acount').where('status', 'active')  into  SQL 'status = 1' ?

Thank you for your time.
In my project, I want to hide the plain meaningless number in SQL from higher layer module.
for example,  in my account table, status = 1 means that the account is active.
but I want to query it in the higher layer module, just use
knex('acount').where('status', 'active')

and it should translate to SQL
select * from acount where status = 1;

How can I do this?
Thank you very much again!

why don't you simply do this?
const active = 1
knex('acount').where('status', active)

There is no value/enum mapping hooks like that in knex. To be able to do that knex would require knowledge about your models or db schema. To get that feature you should use some ORM. There are 2 (as far as I know) reasonable choices for knex based ORMs, bookshelf and objection.js.

@elhigu you could add offshore with offshore-sql in your list


Cachefilesd: Figure out how cachefilesd configurations will be surfaced to the objects running in Kubernetes

Figure out how cachefilesd configurations will be surfaced to the objects (e.g., Pods, Deployments) running in Kubernetes

This is no longer possible with KVC

I tried to do a POC and was not able to get the cachefilesd installed and running in a container. This is because systemctl and systemd are not available within ubuntu/centos container images. This is by design. Docker should be running a process in the foreground in the container and it will be spawned as PID 1 within the container's pid namespace. Docker is designed for process isolation, not for OS virtualization, so there are no other OS processes and daemons running inside the container (like systemd, cron, syslog, etc), only the entrypoint or command that is run. If they included systemd commands, we would find a lot of things not working since the entrypoint replaces init. Systemd also makes use to cgroups which docker restricts inside of containers since the ability to change cgroups could allow a process to escape the container's isolation. Without systemd running as init inside the container, there's no daemon to process the start and stop commands.
And without systemd and systemctl commands in the container, it is not possible to have the cachefilesd installed in the container.


Register New User Account via CCM

As a non-authenticated user, I want to create a new account for the CCM website, so I can initiate, approve, or track a curriculum request through the CCM website.
This is a child issue of #8
[Story Points: 2]
[Priority: High]
[Risk: High]
Demo steps:
Given I’m a logged-out system user and I’m on the Sign-in page
I can click on the "Register New Account" button to reach the Registration page,
and when I fill in the "First Name", "Last Name", “Email”, “Password” fields, and I click the Create Account Button
Then a confirmation message is displayed, and the system signs me in

Video of task completion:
https://github.com/JamesPartsafas/ConcordiaCurriculumManager/assets/77465567/78099ec7-058e-445d-9987-a44f22057209


Dev

cabal entry for calculating statistical result from dictionaries
working bench
better efficiency for storing statistical results, using serialized results
better names for variables in WordTree

Added "Keyboard layout as file", closing #7


How do I launch a content search page on YouTube?

Tell me, do you know if it is possible to somehow launch a youtube channel search on TV? I have described in more detail here. Do not pay attention to the fact that there is a Home Assistant, I can deploy webOS on iobroker, because both platforms work for me

Sorry, I can't find any possibility by the WebOS API :(


Attestz-3

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

Pull Request Functional Test Report for #3601 / 770c1ae23e364a7bcfff7ec98da679fa10539a13
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

attestz-3: Validate post-install re-attestation

Cisco 8000E

attestz-3: Validate post-install re-attestation

Cisco XRd

attestz-3: Validate post-install re-attestation

Juniper ncPTX

attestz-3: Validate post-install re-attestation

Nokia SR Linux

attestz-3: Validate post-install re-attestation

Openconfig Lemming

attestz-3: Validate post-install re-attestation

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

attestz-3: Validate post-install re-attestation

Cisco 8808

attestz-3: Validate post-install re-attestation

Juniper PTX10008

attestz-3: Validate post-install re-attestation

Nokia 7250 IXR-10e

attestz-3: Validate post-install re-attestation

Help


PV Error

I've been trying to model a dwelling with PV and keep getting an error message.
Here is the code I've been using:
house = Dwelling(
    start_time=dt.datetime(2023, 1, 1, 0, 0),
    time_res=dt.timedelta(minutes=1),
    duration=dt.timedelta(days=365),
    hpxml_file =os.path.join(r'C:\Users\cstone\OneDrive - Advanced Energy\Desktop\Projects\Flexible_Demand\OCHRE\DR_Standards_Comparison_HP35_DR_PVBESS.xml'),
    schedule_input_file=os.path.join(r'C:\Users\cstone\OneDrive - Advanced Energy\Desktop\Projects\Flexible_Demand\OCHRE\schedule.csv'),
    weather_file=os.path.join(r'C:\Users\cstone\OneDrive - Advanced Energy\Desktop\Projects\Flexible_Demand\OCHRE\USA_NC_Raleigh-Durham.Intl.AP.723060_TMY3.epw'),
    verbosity=9,
    Equipment={
         'PV': {
             'capacity': 5,
             'tilt': 20,
             'azimuth': 180,
         },
    },
)

and here is the error I get:
2024-04-15 09:13:46.668712 - OCHRE at 2023-01-01 00:00:00: Initializing OCHRE (OCHRE v0.8.4)
WARNING: Skipping garage lighting, since no garage is modeled.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\cstone\AppData\Local\Programs\Python\Python311\Lib\site-packages\ochre\Dwelling.py", line 74, in __init__
    schedule, location = load_schedule(properties, weather_station=weather_station, **house_args)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\cstone\AppData\Local\Programs\Python\Python311\Lib\site-packages\ochre\utils\schedule.py", line 573, in load_schedule
    df_weather, location = import_weather(**house_args)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\cstone\AppData\Local\Programs\Python\Python311\Lib\site-packages\ochre\utils\schedule.py", line 308, in import_weather
    create_sam_weather_file(df_sam, location, **kwargs)
  File "C:\Users\cstone\AppData\Local\Programs\Python\Python311\Lib\site-packages\ochre\utils\schedule.py", line 126, in create_sam_weather_file
    sam_weather_file = default_sam_weather_file.format(kwargs['main_sim_name'])
                                                       ~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'main_sim_name'

How do I fix this error?

This is a known issue. It's been fixed in the dev branch. I'd recommend running with that branch. If you need to switch branches and already have ochre installed, I would run:
pip uninstall ochre-nrel
pip install git+https://github.com/NREL/OCHRE@dev

We'll have this fixed in the next release.

Fixed in v0.8.5


Wrap I18n.js on a module

I wrapped the whole I18n.js file on a javascript module based on Backbone and Underscore to be compatible with both the browser and CommonJS.
Also I expanded the shortcuts so that you could just do t('hello') instead of I18n.t('hello') and added a I18n.noConflict() method to remove them (or even the whole I18n object) if needed.

wow, :+1:!


"Incorrect Login Details Were Provided"

After correcting the config.json I still keep getting the "Incorrect Login Details Were Provided" error. Anyway to fix this?

@ajmeese7

Are you sure you have corrected the config.json? That is most likely the issue, you may need to double check commas or something


pr2_mechanism_msgs: 1.8.2-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository pr2_mechanism_msgs to 1.8.2-1:

upstream repository: https://github.com/PR2/pr2_mechanism_msgs.git
release repository: https://github.com/ros-gbp/pr2_mechanism_msgs-release.git
distro file: noetic/distribution.yaml
bloom version: 0.9.3
previous version for package: null

pr2_mechanism_msgs
* change maintainer to ROS orphaned package maintainer
* Contributors: Kei Okada

@k-okada Do you mind rebasing this one?  Thanks.

@clalancette fixed thanks.


Menage columns and rows

Today we can add rows, and insert content inside these rows. What if we could add columns ?

Hi @tiagofabre!
We've made a conscious decision not to support multiple column functionality in Sir Trevor JS. However, there is a fork that supports this functionality, please see: https://github.com/e1himself/sir-trevor-columns-block

Thank you @ilyaporopudas


Support Disk Hot Resize

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind enhancement

What happened:
block pvc support hot resize，but when kubevirt vm use block pvc, it donot support hot resize
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Could you please share which storage provisioner are you using?

CSI support hot resize，but block in vm didnot update. Need use virsh blockresize to notify.

/reopen
I use linstor-csi.
I resized pvc, the block device inside the pod updated normally to new size, but inside the vm it wasn't.
To update the vm I forced to run commands manually:
# virsh domblklist 1
 Target   Source
--------------------------------------------------------------------------------------------
 vda      /dev/boot
 vdb      /var/run/kubevirt-ephemeral-disks/cloud-init-data/default/frontend-0/noCloud.iso

# virsh blockresize 1 /dev/boot --size 21g
Block device '/dev/boot' is resized

the same with filesystem mode

To make hot resize working you just need to enable ExpandDisks feature gate.
/close


@vscode/l10n-dev export misses many strings in js-debug

Running npx @vscode/l10n-dev export --outDir ./test src in js-debug on the l10n branch, the tool only finds 70 of the 210 usages of l10n.t.
Some examples of missed usages, I don't see any particular pattern:
https://github.com/microsoft/vscode-js-debug/blob/c10e6f58749c23ca4be0531db606e7e046b61f5f/src/binder.ts#L110
            params.breakpoints?.map(() => ({
              id: ++lastBreakpointId,
              verified: false,
              message: l10n.t(`Unbound breakpoint`),
            })) ?? [],

https://github.com/microsoft/vscode-js-debug/blob/c10e6f58749c23ca4be0531db606e7e046b61f5f/src/vsDebugServer.ts#L63
    const rootSession = new VSDebugSession(
      'root',
      l10n.t('JavaScript debug adapter'),
      deferredConnection.promise,
      { type: DebugType.Chrome, name: 'root', request: 'launch' },
    );

https://github.com/microsoft/vscode-js-debug/blob/c10e6f58749c23ca4be0531db606e7e046b61f5f/src/adapter/customBreakpoints.ts#L119
    i('requestAnimationFrame', l10n.t('Request Animation Frame')),

The first one is apparently because tree-sitter treats template strings differently. They are template_string instead of string. 🙄
but the rest parse in the playground correctly so I wonder if there's something silently failing and causing it to stop

Resolved the other ones, but I'll keep this open for template string support 🙂


Custom formatter guide recommends use of an API marked as private

The custom formatter guide says to use BaseFormatter:

Creating a Custom Formatter
To implement a custom formatter, you need to subclass RuboCop::Formatter::BaseFormatter and override some methods, or implement all formatter API methods by duck typing.
Please see the documents below for more formatter API details.

RuboCop::Formatter::BaseFormatter
RuboCop::Cop::Offense
Parser::Source::Range

However, the class is listed as private API

Class: RuboCop::Formatter::BaseFormatter Private
Overview

Warning
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Abstract base class for formatter, implements all public API methods.

Expected behavior
Either the guide should recommend another approach, or the API documentation should not describe the formatter as private.
Actual behavior
The guide and API docs conflict.
Steps to reproduce the problem
Visit current (January 12 2023) versions of links above.
RuboCop version
Not really relevant, since it's docs. Current SHAs of master branches are:

rubocop/rubocop@c11a8b1421
rubocop/docs.rubocop.org@471f20505c

This is an erroneous @api private mark for RuboCop::Formatter introduced in #11294. So the guide is correct. I've fixed it by https://github.com/rubocop/rubocop/commit/b1fb518828854c5bbf4f0b3c6d0a0348ff518b7b.


could not deduce project root for golang.org/x/sys/unix: unable to deduce repository and source type for: "golang.org/x/sys/unix"

could not deduce project root for golang.org/x/sys/unix: unable to deduce repository and source type for: "golang.org/x/sys/unix"

Please re-file a proper bug report, including:

The command you ran when experiencing the error
Any other output that you saw alongside the error
The directory from which you ran the command
The output of go env

That said, being that your profile location says "Beijing," I'm pretty sure this is the GFW blocking HTTP metadata requests to golang.org to resolve the vanity URL. We may develop better workarounds as part of #286, but that's not going to be for a little while.

sm.DeduceProjectRoot: unable to deduce repository and source type for:

from beijing

This is very likely the great firewall denying access to golang.org. There's not a lot we can do at this stage, but I think you'd likely be able to solve the issue at least for yourself with a socks5 proxy; see e.g. discussion in Masterminds/glide#417.

@sdboyer sir, I've already used VPN, or is that the problem?.

@sdboyer @zjx20 tks  i use socks-cli solved the problem

set http_proxy=<IP_ADDRESS>:1080 set https_proxy=<IP_ADDRESS>:1080
Executing above code  before dep ensure -v works for me.


 I suggest you make a fork and then apply all the changes you want.
Groups or "Workspaces" are generated by the groups.py file. At the same time, this file retrieves the icons or the name of the groups from the icons.py file.

The only thing you must do is change the contents of the group_icons list inside the icons.py.
In your case, you would change this:
# You can define a letter and it's icon here
group_icons = ["B   ",
               "D  ",
               "T  ",
               "V  ",
               "M  ",
               "C  ",
               "E  ",
               "N  ",
               ]

to this:
# You can define a letter and its icon here
group_icons = ["1",
               "2",
               "3",
               "4",
               "5",
               # and so forth
               ]


Transitions Not Firing

Evan,
It seems like I'm running into an issue with a parent changing a property of a child component and it not firing off the transitions of any v-show / v-if's in that child component that lean on that property.
In the following example when you click on the TicketTemplate it will hide the ticket summary (red background) by changing the isActive property of that component and sets a timeout that changes the isActive property of the TicketExpanded component. This should fade the middle-content in (blue background) but it just pops in that first time. Subsequent edits to that element using devtools or codepen's editor will show the 5s transition.
I've done my best to try and recreate this with the following codepen: http://codepen.io/dolbex/pen/BKRzye
*Structure: *
Ticket

TicketSummary
TicketExpanded

As this is more like a question than a bug report, I'd suggest asking on the forum or Gitter. I'm sure the folks (me included) will be happy to help you there.


Add a maximum length for the password

Hi everyone,
We've got an email from a user complaining that he can't enter a 44-character password.
I don't know the exact length of the password field, but we should at least limit the number of characters.

⚠ Please don't change anything in the app yet.
No such behavior is reproducible.
I wonder if there is a custom ROM in the device.

No answer from the user.
Closing it


Fix functionalize-aot autograd test

@bdhirsh It looks like this stopped applying the detach. This might be from an upstream change but just wanted to make sure that this doesn't look like a bug

Oh yep I think this is fine - it's coming from this PR: https://github.com/pytorch/pytorch/pull/76057#discussion_r854234990


Can the Voting UI on Windows be made to expand when the window is maximized?

Hi,
Given that currently there are many polls to vote, I find it a little hard to browse the list due to the amount shown there. If I attempt to maximize the Voting UI, the window is maximized but the grid is not.
What I ask here is if it is possible that the grid be "docked" to the window so when we maximize or minimize the window, the grid also maximizes and minimizes according to the window size.
Thanks,
Moises

@skcin The Linux voting UI can be expanded, right?

yes, all dialogs are resizable.

Fixed by @skcin in the dev branch. Will be included for all platforms in the next version if testing works out.


Align SELECT...FROM...JOIN

Hey,
I think something is not rigth with the "Align SELECT ... FROM ... JOIN" rule. I was wondering why the Cleaner kept messing up the formatting in a SELECT.
I'm using version 1.16.2.

align AS always seems to be done, regardless of the checkbox

if I turn on the checkbox for the "Align ON", then it moves the ON behind the upper ON condition. If the checkbox is off, then it does what I would have expected if the checkbox was on

Maybe I just misinterpreted the options and everything is as it should be 😄
 SELECT *
      FROM test
           JOIN join_one ON test~aufnr = jo~aufnr
           JOIN join_two
		    			ON  test~aufnr = jt~aufnr
										AND test~werks = jt~werks
      INTO CORRESPONDING FIELDS OF TABLE @lt_table.

Here is my profile: profile.zip
Best regards,
Joachim

Hi Joachim,
thanks a lot for reporting this – ABAP cleaner didn't correctly determine the end of first the logical expressions here (ON …), which only happened if it was followed by JOIN (rather than INNER JOIN, LEFT|RIGHT OUTER JOIN, CROSS JOIN). This will be fixed with the next release, and with that, the options should work as expected.

Kind regards,
Jörg-Michael

Hi Joachim,
thanks again for reporting this issue – this should now be fixed with version 1.18.0, which was just released!
Kind regards,
Jörg-Michael


Correct version specifier for commonmarker in Gemfile

Fix the following error.
[!] There was an error parsing `Gemfile`: Illformed requirement ["=> 0.18.1"]. Bundler cannot continue.

 #  from /usr/src/redmine/plugins/redmine_common_mark/Gemfile:1
 #  -------------------------------------------
 >  gem "commonmarker", "=> 0.18.1"
 #  -------------------------------------------
. Bundler cannot continue.

Thanks!


须弥沙漠没脚印效果

须弥沙漠没有脚印效果
macOS：14.5 Sonoma
设备：MacbookPro 14英寸2023
CPU：Apple M2 Pro
内存：16G
须弥沙漠没有脚印效果

No footprints for everyone, its a known thing but no solution as of now.

Update related to this -
Dev Beta for Mac OS 15 Sequoia + Gptk 2.0 ( Game Porting Tool Kit)
Does happen to render Footsteps in sumeru desert by Combining Gptk 2.0 + Whisky.
This was Tested on M3 PRO Model only atm, Very early testing it can change in the future versions.


word-search: extract TestTestVersion function (#470)

I think also improve test consistency is going to cover a possible combination of up to 4 items. For some exercises it could just be changing Errorf to Fatalf, in others it could be adding in a previously missing testVersion const and a TestTestVersion function. Maybe improve test consistency is too general and it should just reference the specific change and the issue.

ping @tleen
This conversation may be of interest as you're working on this issue also.

Part of the thing of inconsistency is some exercises will require almost no change, others all the aspects of the test versioning would have to be updated. I can itemize all the changes in one commit with a long message, or I can do each change in separate commits. The latter seems like overkill though. I'm cool with whatever works best for the code history. I'll be tagging #470 in all of them since that is the anchor issue covering all the test versioning changes.

All the changes can be made in a single commit I think, with as specific a commit message as needed. Obviously if it's a single change the message can be more specific than if multiple changes are made, and I think a general 'improve test consistency` with an extended list in the rest of the commit message is also fine, as you say #470 will be referenced so when log appears more general there is a pointer to more detail.


mocap: 0.0.2-1 in 'iron/distribution.yaml' [bloom]

Increasing version of package(s) in repository mocap to 0.0.2-1:

upstream repository: https://github.com/MOCAP4ROS2-Project/mocap.git
release repository: https://github.com/MOCAP4ROS2-Project/mocap-release.git
distro file: iron/distribution.yaml
bloom version: 0.11.2
previous version for package: null

mocap_control
* Added node_options parameter to constructor with default value, to be used with mocap4ros2 vicon driver
* Initial commit
* Contributors: Francisco Martín Rico, MFernandezCarmona

mocap_control_msgs
* Initial commit
* Contributors: Francisco Martín Rico

mocap_marker_publisher
* Update to msgs changes
* Initial commit
* Contributors: Francisco Martín Rico

mocap_marker_viz
* Add launch rviz
* Multiple rigid bodies and launcher
* Adding rigid body and setting markers axis
* Fix header
* Initial commit
* Contributors: Francisco Martín Rico, Juancams, jmguerreroh

mocap_marker_viz_srvs
* Initial commit
* Contributors: Francisco Martín Rico

mocap_robot_gt
* Multiple rigid bodies and launcher
* Param to mocap frame
* Package for GT services
* Contributors: Francisco Martín Rico, jmguerreroh

mocap_robot_gt_msgs
* Package for GT services
* Contributors: Francisco Martín Rico

rqt_mocap_control
* Initial commit
* Contributors: Francisco Martín Rico, jmguerreroh

Closing for preparing a new PR with different package names


How can I set the Tokens to watch?

How can I set the Tokens or coins to watch for signals? i don't need all the coins as we have as default just some selected few.
Please advise.

BEC automatically chooses the coins for signals. The choosen coins are BTC and ETH, because they are the benchmark, and also those you have open positions.
For now, you are not able to add coins manually.
On Sunday, January 14th, 2024 at 8:08 AM, ulotoyebtaa @.***> wrote:

How can I set the Tokens or coins to watch for signals? i don't need all the coins as we have as default just some selected few.
Please advise.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


added code and font-awesome,semantic-ui,emailjs libraries for footer component

Team, just finished the footer component please review and merge. Thanks


Update UCX_jll to 1.9

x-ref: https://github.com/JuliaPackaging/Yggdrasil/pull/2459

fixed by #17


无法更新

版本:20240001
客户端:Windows 10
截图如下:

I am experiencing the same situation.
When using it on Linux Mint 21.3, it constantly gives the same error.
It works on Windows 11 without any errors.
open OCAT -> Upgrade OpenCore and Kext ->
Where I get the error:
"Check for Kexts updates"
"Get OpenCore"
"Get the latest version of OpenCore"
Therefore, it definitely cannot go above version 0.7.8.
Also, "Update Kexts" does not work.

I am experiencing the same situation.
When using it on Linux Mint 21.3, it constantly gives the same error.
It works on Windows 11 without any errors.

Please download the latest development release here, which adds access API via your own Github token to remove hourly access restrictions.

https://github.com/ic005k/OCAuxiliaryTools/actions

If you use Linux, please reduce OpenSSL version to 1.1.

版本:20240001
客户端:Windows 10

如果没有其它途径的话，可以试下镜像服务器看看，目前推荐：https://gh.llkk.cc/https://github.com/


context menus

at least for cut/copy/paste
"There also are no context menus. I can't right-click to copy or paste in the message box."

I was looking for a "Copy link location" today when I tried to right-click a link. Context menus would be cool.

https://www.sitepoint.com/building-custom-right-click-context-menu-javascript/

implemented!


Visible Months Var

Should allow for the visible months variable to be set.
This is nice for allowing mobile devices to only show one calendar and bigger devices the option of seeing more.

@jonotron Should be good to go now.


neovim 0.3.5 (currently 0.3.4 in scoop)

Hi,
Could you add neovim 0.3.5, please?
https://github.com/neovim/neovim/releases/tag/stable
Thx!

ScoopInstaller/Main#32, neovim/neovim#10011
Duplicate of lukesampson/scoop#3464

Should be closed now. https://github.com/neovim/neovim/issues/10011#issuecomment-495918446

Not yet.
see https://github.com/ScoopInstaller/Main/pull/32.
hash check failed.

Fixed with https://github.com/ScoopInstaller/Main/pull/88


Lilypad on PCSX2 won't allow different SDF DS3 controllers to be mapped to different PS2 pads/ports simultaneosly

On SDF mode for PCSX2, Lilypad (the controller plugin) won't allow one DS3 to be mapped to pad 1 port while mapping the other one to pad 2 port. The result of attempting to do so is Lilypad deleting pad 1 bindings when binding the same button to any input on pad 2, treating all DS3 controllers as single one and therefore only allowing all DS3 controllers to be mapped to a single PS2 controller.
The only way i have seen to be able to map DS3 controllers to Pad 1 and Pad 2 simultaneously is to enable the "multiple bindings" option, but that would only make any DS3 to control both pads at the same time ala hive mind, so it wouldn't be usable for 2-player games

Interesting, I'll test on my end too, haven't tried with more than one controller I must admit! #sadSoloGamer

I feel you hahahahahahah
don't really play with other people locally often either.

A reliable workaround is using SXS with the SCP Proxy DLL.

Does it support pressure sensitive buttons through the dll?

Yes and yes.

So if i'm getting this right, the scp proxy dll is the xinput dll included in DsHidMini, right? So the workaround is placing the dll in the pcsx2 folder and then setting the controller as SXS


Feature/reorganize screens

[x] organize screens and components to individual folders
[x] add css module loader
[x] add base styles from Tino's style guide
[ ] create app wrapper to have header, back & next buttons

Relies on #2


Format according to paths vs hosts

Feature request: Format output that allows recon on subdirectories/paths/routes.  If exported, it sorts by com --> com.host.www --> com.1.host.www/path vs www.host.com --> www.host.com/path1

Can you share some examples of the input you are giving to the tool? preferable a file you want me to test

@MajorD4m4ge You should be able to parse domains containing paths now and the domains should correctly organize via domains and subdomains, I'm working on a new feature to group and organize the related paths for each particular domain, that will be merged in the future.
Thanks for reporting this.


Traceback error on Arch Linux

Installed as per instructions, when I run PythonTurtle I get this:
Traceback (most recent call last):   File "/home/noah/.local/bin/PythonTurtle", line 8, in <module>     sys.exit(application.run())   File "/home/noah/.local/lib/python3.10/site-packages/pythonturtle/application.py", line 223, in run     ApplicationWindow(None, -1, pythonturtle.name, size=(600, 600))   File "/home/noah/.local/lib/python3.10/site-packages/pythonturtle/application.py", line 59, in __init__     shelltoprocess.Shell(self.bottom_sizer_panel,   File "/home/noah/.local/lib/python3.10/site-packages/pythonturtle/shelltoprocess/shell.py", line 41, in __init__     ForkedShell.__init__(self, parent, *args,   File "/home/noah/.local/lib/python3.10/site-packages/pythonturtle/shelltoprocess/forkedpyshell.py", line 318, in __init__     self.Bind(wx.EVT_MENU,   File "/usr/lib/python3.10/site-packages/wx/core.py", line 1406, in _EvtHandler_Bind     event.Bind(self, id, id2, handler)   File "/usr/lib/python3.10/site-packages/wx/core.py", line 1477, in Bind     target.Connect(id1, id2, et, function) TypeError: EvtHandler.Connect(): argument 1 has unexpected type 'WindowIDRef'
wxPython version is 4.0.7.post2, Python version 3.10.4
Any ideas?

Is it a version mismatch problem here?

Hmm, I see that the answer I sent by email was ignored by GitHub for some reason:
I don't know, sorry. It's possible it's because the wxPython version is too high, you could try using it in a virtualenv with an old version. This is a project from 2009 that isn't very maintained.

I don't know, sorry. It's possible it's because the wxPython version is too
high, you could try using it in a virtualenv with an old version. This is a
project from 2009 that isn't very maintained.
On Sat, May 14, 2022 at 3:53 AM Craig Skipsey @.***>
wrote:

Installed as per instructions, when I run PythonTurtle I get this:
Traceback (most recent call last): File
"/home/noah/.local/bin/PythonTurtle", line 8, in
sys.exit(application.run()) File
"/home/noah/.local/lib/python3.10/site-packages/pythonturtle/application.py",
line 223, in run ApplicationWindow(None, -1, pythonturtle.name,
size=(600, 600)) File
"/home/noah/.local/lib/python3.10/site-packages/pythonturtle/application.py",
line 59, in init shelltoprocess.Shell(self.bottom_sizer_panel, File
"/home/noah/.local/lib/python3.10/site-packages/pythonturtle/shelltoprocess/shell.py",
line 41, in init ForkedShell.init(self, parent, *args, File
"/home/noah/.local/lib/python3.10/site-packages/pythonturtle/shelltoprocess/forkedpyshell.py",
line 318, in init self.Bind(wx.EVT_MENU, File
"/usr/lib/python3.10/site-packages/wx/core.py", line 1406, in
_EvtHandler_Bind event.Bind(self, id, id2, handler) File
"/usr/lib/python3.10/site-packages/wx/core.py", line 1477, in Bind
target.Connect(id1, id2, et, function) TypeError: EvtHandler.Connect():
argument 1 has unexpected type 'WindowIDRef'
wxPython version is 4.0.7.post2
Any ideas?
—
Reply to this email directly, view it on GitHub
https://github.com/PythonTurtle/PythonTurtle/issues/161, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAN3SQ3Y6VRGQ437EHWV6TVJ32PTANCNFSM5V42QUYA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

According to our README the supported wxPython version is 4.0.1.
If you're willing to find out what changed in their API since that version we could add some conditional code the make it work for both that and your newer version of wxPython.
A pull request to fix the problem would be awesome!


phpci does not work after installation

When trying to install phpci according to https://github.com/Block8/PHPCI/wiki/Installing-PHPCI and calling the Application from my browser I am redirected from https://...../phpci to https://...../phpci/session/login
Also included the mod_rewrite lines within an .htaccess and put it into my apache configuration (+restart). Does not make any difference

I didnot get any solution for this by writting coding in htaccess, AllowOverwrite ALL, mod_rewrite enable but iam still having same issue how can I solve this. Please help me.

I didnot get any solution for this by writting coding in htaccess, AllowOverwrite ALL, mod_rewrite enable but iam still having same issue how can I solve this. Please help me.

@lakshmi28gsrl Please don't re-post the same comment in several places, it just makes it harder for us to help you.
Please can you provide the following information:

When you go to http://localhost/PHPCI/session/login - Where do you get redirected to?
What do you have in your .htaccess file?

Hi,
sorry for reposting.

Iam getting 404 error.
2.In htaccess I have

  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]

Try changing RewriteBase / to RewriteBase /PHPCI/
I'm not very good with Apache, so not sure whether that's the right bit to change... but PHPCI isn't in /, so it makes sense that you'd base rewrites off its actual location.

yes I tried it just like PHPCI is in my c:/xampp/htdocs/PHPCI
I tried with in all ways but iam unable to find solution

RewriteBase /PHPCI/
RewriteBase /xampp/htdocs/PHPCI/
RewriteBase /htdocs/PHPCI/
RewriteBase /PHPCI/public

and all other possiblities but iam getting same 404 page. Can you help me

Hi,
Iam getting an error screen when accessing http://localhost/phpci/session/login.I have installed PHPCI in windows. Please find the error screen. Can you please help me in solving these error where has I went wrong

Hi,
can any one help me regarding this.

I encountered this issue today. The quickest way to get it resolved was to run a2enmod rewrite, make sure I copied the .htaccess.dist to .htaccess in the public folder, and then run service apache2 restart. This will probably require making sure the Apache configuration isn't set to "AllowOverride None".

Hey all,
i have one small question for help. I try to install PHPCI on nginx on raspberry, but this is my first try using nginx and i am facing some issues. I install phpmyadmin and some other stuff with success and all worked as expected. But i have some difficulties configure phpci virtualhost. So i browse majority of forums where subject pf installing phpci is discussed, but for now without success.
So my problems are: on accessing page on xxx.xxx.xxx.xxx/phpci/public i have redirect loop to index.html also i get 500 error loading public link and app icon. I get by this issue if i set direct server_name to ip and not some name; but in this case i get controller not found error.
So i try some different virtual host configurations but with no success. So can please someone assist me with right configuration? (I also try smyphony's and @johnatannvmd - listed upper but still with no success). What am i missing? Which right's do i need to set to phpci folder?
Current i have this virtual host:
raspberry pi 2
root folder of project /usr/share/nginx/www/phpci
phpci permission and group root:root

upstream php {
        #server <IP_ADDRESS>:9000;
        server unix:/var/run/php5-fpm.sock; #for PHP-FPM running on UNIX socket
    }
server {
        listen 81;
        root /usr/share/nginx/www/phpci/public;
        server_name localhost;

location / {
        index index.php;
        try_files $uri @rewriteapp;
    }

    location @rewriteapp {
        rewrite ^(.*)$ /index.php/$1 last;
    }

    # pass the PHP scripts to FastCGI server from upstream phpfcgi
    location ~ ^/index\.php(/|$) {
        fastcgi_pass php;
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        include fastcgi_params;
        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param  HTTPS off;
    }
}

This configuration works on Debian Wheezy with nginx and php5-fpm, serving from /srv/phpci instead of /var/www/phpci, but that shouldn't matter.
server {
        root /srv/phpci/public;

        server_name localhost;

        location / {
                # try to serve file directly, fallback to index.php
                try_files $uri /index.php$is_args$args;
        }

        location ~ ^/index\.php(/|$) {
                fastcgi_pass unix:/var/run/php5-fpm.sock;
                fastcgi_split_path_info ^(.+\.php)(/.*)$;
                include fastcgi_params;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param HTTPS off;
                # Prevents URIs that include the front controller. This will 404: http://domain.tld/app.php/some-path
                # Remove the internal directive to allow URIs like this
                internal;
        }
}

Unlike @raistlin I had to use a slightly different setup in order to make it work, my vhost setup looks like that:
<VirtualHost *:80>
    ServerName  {mydomainhere}
    DocumentRoot    /var/www/html/phpci/public

    <Directory /var/www/html/>
            Options Indexes FollowSymlinks MultiViews
            RewriteEngine On
            AllowOverride All
            Order allow,deny
            Allow from All
              RewriteBase /
              RewriteCond %{REQUEST_FILENAME} !-f
              RewriteCond %{REQUEST_FILENAME} !-d
              RewriteRule ^(.*)$ /index.php/$1 [L]
    </Directory>
</VirtualHost>

This includes the .htaccess rules as well since despite of the override, they didn't work out. The directory defined is the root directory of phpci, otherwise it does require index.php in the URL regardless.

Simply renamed .htaccess.dist to .htaccess in the /public folder to fix this.

To those who still encounter weird redirection problems after making sure virtualhost, rewrite & htaccess have been configured correctly:
Be sure the phpci URL in PHPCI/config.yml has been set correctly. You set this URL during the ./console phpci:install step, but if it's not actually corresponding to the publicly accessible URL of your installation, it won't redirect properly.
In my case, I had https://domain.com/phpci in the config.yml, but had set my virtualhost documentroot to /var/www/phpci/public, causing the first request to index.php to be redirected to /phpci/session/login instead of /session/login.

Here's the httpd-vhosts.conf that worked for me:
<VirtualHost *:80>
 ServerAdmin<EMAIL_ADDRESS> DocumentRoot "/www/phpci/public"
 ServerName phpci.local
 ServerAlias *.phpci.local
 ErrorLog "/private/var/log/apache2/phpci.error_log"
 CustomLog "/private/var/log/apache2/phpci.access_log" common
<Directory "/www/phpci/public">
Options Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
AllowOverride All
Require all granted
Satisfy Any
</Directory>
</VirtualHost>

In hosts, remember to add
<IP_ADDRESS>       phpci.local

For those who don't want/ or can not set the virtual host, the .htaccess file should include
<IfModule mod_rewrite.c>   RewriteEngine On   RewriteBase /   RewriteCond %{REQUEST_FILENAME} !-f   RewriteCond %{REQUEST_FILENAME} !-d   RewriteRule . /somename/PHPCI/phpci/public/index.php [L] </IfModule>
so add the full path

The issue for me was using a symlink in the Apache vhost, it works now.


Environment Creation

Hi,
If i have to create an environment and then export the same to MuJoCo in XML format, what kind of CAD tool should I use to design the environment ?
-GR

Looks like you could try using SolidWorks, as described in this MuJoCo issue: https://github.com/google-deepmind/mujoco/issues/1352 .
Probably Blender could also be used to some extent, along with the dm_control Blender-to-MuJoCo exporter.

Thank you. Are there any tutorials for these or a write up to just understand how to design on Blender, then export it to MuJoCo and later do some simulation ?

I'm not aware of such tutorials except maybe this https://github.com/Balint-H/blender-mjcf. But I'm not sure if you actually need any of these CAD-like tools because you can just create scenes programmatically.


Imager crashes when using multi-spectral image cubes

Traceback (most recent call last):
  File "/home/christoph/development/SKA/karabo/test/test_source_detection.py", line 70, in test_create_detection_from_ms
    convolved, restored, residual = imager.imaging_rascil()
  File "/home/christoph/development/SKA/karabo/Imaging/imager.py", line 227, in imaging_rascil
    restored = image_gather_channels(restored)
  File "/home/christoph/anaconda3/envs/karabo_dev_env/lib/python3.9/site-packages/rascil/processing_components/image/gather_scatter.py", line 185, in image_gather_channels
    return xarray.concat(image_list, dim="frequency")
  File "/home/christoph/anaconda3/envs/karabo_dev_env/lib/python3.9/site-packages/xarray/core/concat.py", line 238, in concat
    return f(
  File "/home/christoph/anaconda3/envs/karabo_dev_env/lib/python3.9/site-packages/xarray/core/concat.py", line 517, in _dataset_concat
    combined = concat_vars(vars, dim, positions, combine_attrs=combine_attrs)
  File "/home/christoph/anaconda3/envs/karabo_dev_env/lib/python3.9/site-packages/xarray/core/variable.py", line 2999, in concat
    return Variable.concat(variables, dim, positions, shortcut, combine_attrs)
  File "/home/christoph/anaconda3/envs/karabo_dev_env/lib/python3.9/site-packages/xarray/core/variable.py", line 1902, in concat
    data = duck_array_ops.concatenate(arrays, axis=axis)
  File "/home/christoph/anaconda3/envs/karabo_dev_env/lib/python3.9/site-packages/xarray/core/duck_array_ops.py", line 286, in concatenate
    return _concatenate(as_shared_dtype(arrays), axis=axis)
  File "<__array_function__ internals>", line 180, in concatenate
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 66.5 GiB for an array with shape (16, 1, 23685, 23559) and data type float64

I believe this could be fixed by using code similar to the restore_cube function: https://ska-telescope.gitlab.io/external/rascil/_modules/rascil/processing_components/image/deconvolution.html#restore_cube.
The point is that we have to make sure that image_scatter_channels is called first.

For me the test fails at         simulation.run() in the function run_simulation with the following error:
Fatal Python error: Segmentation fault

Thread 0x00007ff79b7fe700 (most recent call first):
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 316 in wait
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 581 in wait
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 261 in _on_run
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 49 in run
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 980 in _bootstrap_inner
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 937 in _bootstrap

Thread 0x00007ff79bfff700 (most recent call first):
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 316 in wait
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 581 in wait
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 215 in _on_run
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 49 in run
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 980 in _bootstrap_inner
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 937 in _bootstrap

Thread 0x00007ff7a8d58700 (most recent call first):
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 312 in wait
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 581 in wait
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py", line 43 in _on_run
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 49 in run
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 980 in _bootstrap_inner
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 937 in _bootstrap

Thread 0x00007ff7a9599700 (most recent call first):
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 204 in _read_line
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 222 in _on_run
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 49 in run
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 980 in _bootstrap_inner
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 937 in _bootstrap

Thread 0x00007ff7a9d9a700 (most recent call first):
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 316 in wait
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/queue.py", line 180 in get
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 367 in _on_run
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py", line 49 in run
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 980 in _bootstrap_inner
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/threading.py", line 937 in _bootstrap

Current thread 0x00007ff7abbc8740 (most recent call first):
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/oskar/settings_tree.py", line 215 in to_telescope
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/oskar/interferometer.py", line 166 in check_init
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/oskar/interferometer.py", line 290 in run
  File "/home/kenfus/Karabo/Karabo-Pipeline/karabo/simulation/interferometer.py", line 121 in run_simulation
  File "/home/kenfus/Karabo/Karabo-Pipeline/karabo/test/test_source_detection.py", line 68 in test_create_detection_from_ms
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/unittest/case.py", line 592 in run
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/unittest/case.py", line 651 in __call__
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/unittest.py", line 327 in runtest
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/runner.py", line 166 in pytest_runtest_call
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/runner.py", line 259 in <lambda>
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/runner.py", line 338 in from_call
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/runner.py", line 258 in call_runtest_hook
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/runner.py", line 219 in call_and_report
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/runner.py", line 130 in runtestprotocol
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/main.py", line 347 in pytest_runtestloop
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/main.py", line 322 in _main
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/main.py", line 268 in wrap_session
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/config/__init__.py", line 164 in main
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/_pytest/config/__init__.py", line 187 in console_main
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/site-packages/pytest/__main__.py", line 5 in <module>
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124 in _run_code
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 238 in _run_module_as_main
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 317 in run_module
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430 in main
  File "/home/kenfus/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py", line 39 in <module>
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/runpy.py", line 87 in _run_code
  File "/home/kenfus/miniconda3/envs/karabo_dev_env/lib/python3.9/runpy.py", line 197 in _run_module_as_main

Update: Thanks to @rohitcbscient the test now works. However, I'm now also blocked by #146 with this

I fixed the segmentation error and now the test works for me without errors, so I guess we can close this? I also have only 16 GB of Ram on my machine.

Current dimension output of imaging_rascil:
      # Print shapes
      print("Convolved shape: ", convolved.get_dimensions_of_image())
      print("Restored shape: ", restored.get_dimensions_of_image())
      print("Residual shape: ", residual.get_dimensions_of_image())

Together with @rohitcbscient I did another test. The output of the following code:
        simulation = InterferometerSimulation(channel_bandwidth_hz=1e6,
                                            time_average_sec=1, noise_enable=False,
                                            noise_seed="time", noise_freq="Range", noise_rms="Range",
                                            noise_start_freq=1.e9,
                                            noise_inc_freq=1.e8,
                                            noise_number_freq=24,
                                            noise_rms_start=0,
                                            noise_rms_end=0)

        observation = Observation(
            100e6,
            phase_centre_ra_deg=phasecenter[0],
            phase_centre_dec_deg=phasecenter[1],
            number_of_time_steps=1,
            frequency_increment_hz=20e6,
            number_of_channels=4
        )

        visibility = simulation.run_simulation(telescope, sky, observation)
        visibility.write_to_file("./result/test_dec/poisson_vis.ms")

        imager = Imager(
            visibility,
            ingest_vis_nchan=4,
            ingest_chan_per_blockvis=1,
            ingest_average_blockvis=True,
            imaging_npixel=2048,
            imaging_cellsize=0.0003,
            imaging_weighting="natural",
            imaging_robustness=-0.5,
        )
        convolved, restored, residual = imager.imaging_rascil()

        print("Shape convolved:", convolved.get_dimensions_of_image())
        print("Shape restored:", restored.get_dimensions_of_image())
        print("Shape residual:", residual.get_dimensions_of_image())

is:
Shape convolved: [7419, 7213, 1, 4]
Shape restored: [7419, 7213, 1, 4]
Shape residual: [7419, 7213, 1, 4]

For me it seems correct and can then also closed (also, no memory problems, even with 16 channels).

I would've expected a shape of [2048, 2048, 1, 4] since you specify imaging_npixel=2048. Odd...?

    def test_create_detection_from_ms(self):
        phasecenter = np.array([225, -65])
        sky = SkyModel.get_random_poisson_disk_sky(
            phasecenter + np.array([-5, -5]),
            phasecenter + np.array([+5, +5]),
            100,
            200,
            0.4,
        )

        # sky = SkyModel.get_GLEAM_Sky()
        # sky.filter_by_flux(0.4, 1)
        sky.plot_sky(phasecenter)
        sky.explore_sky(phasecenter, xlim=(-10, 10), ylim=(-10, 10))

        telescope = Telescope.get_MEERKAT_Telescope()
        # telescope.centre_longitude = 3

        simulation = InterferometerSimulation(
            channel_bandwidth_hz=1e6,
            time_average_sec=1
            )

        observation = Observation(
            start_frequency_hz=100e6,
            phase_centre_ra_deg=phasecenter[0],
            phase_centre_dec_deg=phasecenter[1],
            number_of_time_steps=1,
            frequency_increment_hz=20e6,
            number_of_channels=3
        )

        visibility = simulation.run_simulation(telescope, sky, observation)
        visibility.write_to_file("./result/test_dec/poisson_vis.ms")

        imager = Imager(
            visibility,
            ingest_vis_nchan=3,
            ingest_chan_per_blockvis=1,
            ingest_average_blockvis=True,
            imaging_npixel=2048,
            imaging_cellsize=0.0003,
            imaging_weighting="natural",
            imaging_robustness=-0.5,
        )
        convolved, restored, residual = imager.imaging_rascil()

        # Print shapes
        print("Convolved shape: ", convolved.get_dimensions_of_image())
        print("Restored shape: ", restored.get_dimensions_of_image())
        print("Residual shape: ", residual.get_dimensions_of_image())

Convolved shape:  [5763, 5583, 1, 3]
Restored shape:  [5763, 5583, 1, 3]
Residual shape:  [5763, 5583, 1, 3]

Here another example. Also, no memory issues here. I guess xarray made an update.


Ignore next update

Each time there's a new version available for Atom, a popup shows when you start the editor and offers two options:

Cancel, closes the popup until you reopen the editor.
Go to the download page, starts a browser with the releases section of the github repository.

With this enhancement a third button would be shown for ignoring the update, meaning that if you reopen the editor the message for the update will not appear until there's a new update.
Simple and effective if you don't need to have the latest version with bug fixes that aren't targeted to your operative system or new features that you won't need.

Interesting idea although I think the devs at Atom would prefer people using the latest builds.

On linux it is upgraded with the repo. Personally I will find it annoying.

It could be useful if we discover a version unstable or unusable on the current OS so we downgrade to the previous. Then you could ignore the "bad" version and get the one following that. Unfortunately, I think this would require additional UI elements to allow the functionality as well as storing these prefs. Any possibility a package would be able to hook into the update process and block by version number? This of coarse would be available only on OS's that have auto updates enabled.

It could be useful if we discover a version unstable or unusable on the current OS

Stable releases should be exactly that - stable.
@manulaiko #7339 mentions how to disable automatic updates. With this, you can then install updates when and if you find necessary.


2 bugfixes

knit this markdown in the R container and got the following errors:
  Invalid attribute(s): entrezgene
Please use the function 'listAttributes' to get valid attribute names

Error in requireNamespace(parallel) : object 'parallel' not found

Please merge if you are OK with these changes!

looks good to me..


Unknown: Must use comma to separate addresses: Exchange Server (errflg=3)

Hi there,
First of all thanks for your job, nice plugin.
I got a notice thrown : Notice: Unknown: Must use comma to separate addresses: Exchange Server (errflg=3)
when I query messages from a folder  when I launch
 $messages = $folder->query()->since(DateFormatter::getDateLong($lastSync))->get();
Any ideas ?
Regards,

Hi there,
First of all thanks for your job, nice plugin.
I got a notice thrown : Notice: Unknown: Must use comma to separate addresses: Exchange Server (errflg=3) when I query messages from a folder when I launch
 $messages = $folder->query()->since(DateFormatter::getDateLong($lastSync))->get();
Any ideas ?
Regards,

I confirm I have the same issue in my own code


Fix reset password

The issue is that Reset Password was silently failing for users that don't exist or have not been activated since the migration. GraphQL was only checking for users with a matching verified email address, and the web app wasn't handling server errors correctly.
This change does several things:

Makes the Reset Password flow work for inactive users (as long as they already have a name). Once they've set their password, their email is automatically validated.
Makes the Reset Password flow send an email directing the user to the Create Account page if the email is not recognized
Adds error handling to the Reset Password dialog
Adds more tests & groups the existing tests by function (hide whitespace changes - most of the file's changes are just indentation)

Resolves #170

Test passed after rerunning


fix: fixed an issue where the 'full_name' in kcl.mod.lock changed when there was already a local dependency

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[x] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

3 of 13 (23.08%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.001%) to 41.946%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/package/modfile.go
0
10
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/package/modfile.go
1
37.53%

Totals

Change from base Build<PHONE_NUMBER>6:
0.001%

Covered Lines:
3453

Relevant Lines:
8232

💛  - Coveralls


DOMResult class conflict

javax.xml.transform.dom.DOMResult class appears to interfere with XML config file parsing.

Solr 4.x, 5.x
Java8

For now appears to be limited to use of xml-apis, xercesImpl, etc. -- mainly used in any XML, Jersey, Jackson or other libraries that require XML implementation.
The only guidance to offer is to first ensure that the minimal requirements as implied by Solr and other maven secondary dependencies are respected.  Overriding those versions may have unintended consequences.
In this case the solrconfig.xml was not parsable.  SolrCore does not provide a good error or exception here.


vscode-extensions.elixir-lsp.vscode-elixir-ls: 0.17.1 -> 0.17.5

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[ ] 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.

for anything elixir related, feel free to tag @NixOS/beam
Thank you for the contribution!


docs: update schema in the postgres example

Motivation
Update the schema in README.md for the replicate-hub-to-postgres example to align with the database.
Change Summary

Add the links schema added in #1022
Corrected some descriptions on other tables

Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] PR title adheres to the conventional commits standard
[ ] PR has a changeset
[ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[x] PR does not require changes to the protocol
[ ] All commits have been signed

Additional Context
none

PR-Codex overview
Detailed summary

Renamed the deleted_at column description from "When the cast was considered deleted by the hub" to "When the reaction was considered deleted by the hub"
Renamed the deleted_at column description from "When the cast was considered deleted by the hub" to "When the verification was considered deleted by the hub"
Renamed the deleted_at column description from "When the cast was considered deleted by the hub" to "When the signer was considered deleted by the hub"
Renamed the deleted_at column description from "When the cast was considered deleted by the hub" to "When the data was considered deleted by the hub"
Added a new table links with columns id, fid, target_fid, type, timestamp, created_at, updated_at, display_timestamp, and deleted_at

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@gskril these commits need to be signed (see the pr description for details)

Re-opened this as #1069 with signed commits.


docs: update documentation from 0.3.1 release

Description
Update documentation from 0.3.1 release
Motivation and Context
Adjusting the documentation to fit into the schema used in the rest of the project.
How Has This Been Tested?
Local pan.dev.
Screenshots (if appropriate)
Types of changes
Checklist

[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

:tada: This PR is included in version 0.3.3 :tada:
The release is available on PyPI and GitHub release

Posted by semantic-release bot


Magnific-Popup breaks all other js

Is there any reason why this plugin is making a conflict when I insert min.js file into my files? It breaks all other js on the page, when using CDN. i'm using it in in the wordpress theme so I'm inserting the script in the header after jQuery.

Please include an example of what exactly "break" means (error messages, etc.), and (if possible) how to reproduce the error(s).


Text boxes in configuration has problem of typing for left to right.

It seems that text boxes are of right to left

which field? I can not find the issue.

I think he's referring to the "Deployment Dir" field in the "Run/Debug configurations" dialog. Type in "abc" and you'll get "cba".

the java swing issue.


Coordinator can manage their transcribers using variety of displays

Coordinator can review/add/delete/disable their transcribers using variety of displays; lists by all/active/name/email address/userid. Dependent on #85.

Many of these features already brought over from FreeREG. @Vino-S can you list what remains?

The ones required are operational on test3

Pat to work with Geoff on recruiting / trainig coords for testing.


fix: extract an api struct to store error details

Fixes #61
@collinsmuriuki  pinging for a review on this PR.

Approved, still need to address comments raised by @itsyaasir

Fixed the review change request


API Architecture Concerns

While trying to automatically digest the api with ActiveRecord I ran into an issue with the number first hash keys. rails/activeresource#138
"Ports":{
  "4500/tcp":[
    {
      "HostIp":"<IP_ADDRESS>",
      "HostPort":"4500"
    }
  ]
}

It seems to me that ActiveRecord is/will not be the only thing thats going to have this issue. While this will not effect everything, I do think its of some importance to have an API layer that is easily digestible and programmatically object mappable.
Something kinda like this?
"Ports":{
  "tcp":[
    {
      "SourcePort":"4500",
      "HostIp":"<IP_ADDRESS>",
      "HostPort":"4500"
    }
  ]
}

closing as dup of https://github.com/docker/docker/issues/5893 and +1 we all would like a redesigned API


Fix nodejs14 cameras autoconfiguration new glfw

@manson
Andrew, does this break support for previous versions of Node.js in any way?

@manson
Andrew, does this break support for previous versions of Node.js in any way?

No. It was used NAN npm package (Native Abstractions for Node.js) that just expanded API for a specific node.js versions. So it works as for  8.17 as well as for 14.16 LTS nodejs versions. For 15.* not everywhere: for 15.0.0 it worked, but 15.12 - not. But this is not an LTS versions (there is no 15.* LTS) so is out of current scope. At least now (until LTS appeared)


Looping back to the start

My aim is, for when the form reaches the 'end' to have a 'would you like to start again' option. With 'no' it would essentially display a goodbye message but with 'yes' it would start from scratch (or a chosen point).
My code kinda does this but it makes the page refresh and chucks all the options into the address bar. I'd rather it just loop back within the same chat session so the user could potentially scroll up and see the previous text.
The overall project is a 'help-bot' style conversation where users select different options and it sends them down multiple path options (11). Everything else is mapped perfectly and works great, but it's just the looping I'm having trouble with.
Please see a portion of the code below (two of the 11 options and the attempt at a loop)
<form id="form" cf-form ...>
	<input id="helloagain" type="text" cf-questions="What category does your query come under?" cf-conditional-loopoptions="yes">
		<cf-robot-message cf-questions="Welcome to the Kent Union Advice service. This short conversation should hopefully point you in the right direction as to your next steps, whether that be you find the information you are looking for or if you to book an appointment to see us in person."></cf-robot-message>
			<select cf-questions="What category does your query come under?" name="introductionoptions">
				<option value="academic">Academic</option>
				<option value="careleavers">Care Leavers</option>
				<option value="consumer">Consumer</option>
				<option value="employment">Employment</option>
				<option value="eustudents">EU Students</option>
				<option value="finance">Finance</option>
				<option value="health">Health</option>
				<option value="housing">Housing</option>
				<option value="international">International and Visa</option>
				<option value="safety">Safety and Welfare</option>
				<option value="other">Other</option>
			</select>

			<cf-robot-message id="academicbranch" name="academicbranch" cf-questions="Academic query?" cf-conditional-introductionoptions="academic"></cf-robot-message>
			<select cf-questions="Okay, and a bit more specific if possible." cf-conditional-introductionoptions="academic" name="academicbranchoptions">
				<option value="appeals">Appeals</option>
				<option value="extenuatingcicumstances">Extenuating Cicumstances</option>
				<option value="learningresources">Learning Resources for International Students</option>
				<option value="plagarism">Plagarism and Academic Integrity</option>
				<option value="studyskills">Study Skills</option>
				<option value="universityregulations">University Regulations</option>
			</select>

			<cf-robot-message cf-questions="You clicked Appeals" cf-conditional-academicbranchoptions="appeals"></cf-robot-message>
			<cf-robot-message cf-questions="You clicked Extenuating Circumstances" cf-conditional-academicbranchoptions="extenuatingcicumstances"></cf-robot-message>
			<cf-robot-message cf-questions="You clicked Learning Resources for International Students" cf-conditional-academicbranchoptions-="learningresources"></cf-robot-message>
			<cf-robot-message cf-questions="You clicked Plagarism and Academic Integrity" cf-conditional-academicbranchoptions-="plagarism"></cf-robot-message>
			<cf-robot-message cf-questions="You clicked Study Skills" value="value" cf-conditional-academicbranchoptions-="studyskills"></cf-robot-message>
			<cf-robot-message cf-questions="You clicked University Regulations" value="value" cf-conditional-academicbranchoptions-="universityregulations"></cf-robot-message>

			<cf-robot-message id="careleaversbranch" name="careleaversbranch" cf-questions="Care Leavers query?" cf-conditional-introductionoptions="careleavers"></cf-robot-message>
			<select cf-questions="Okay, and a bit more specific if possible." cf-conditional-introductionoptions="careleavers" name="careleaversbranchoptions">
				<option value="careleaveroption1">Option1</option>
				<option value="careleaveroption2">Option2</option>
			</select>

			<cf-robot-message cf-questions="You clicked Option 1" cf-conditional-careleaversbranchoptions="careleaveroption1"></cf-robot-message>
			<cf-robot-message cf-questions="You clicked Option 2" cf-conditional-careleaversbranchoptions="careleaveroption2"></cf-robot-message>

			<cf-robot-message id="loop" name="loop" cf-questions="Would you like to read any more advice?"></cf-robot-message>
			<select cf-questions="Select:" name="loopoptions" >
				<option value="yes">Yes</option>
				<option value="no">No</option>
			</select>

			<input id="goodbye" type="text" cf-questions="Thank you for using Kent Union Advice Service" cf-conditional-loopoptions="no" />
		</form>

You could use the FlowStepManager to check the tag and response of the last question and then call something like  ConversationalForm.flowManager.showStep(0) to start at question 0 again.


FLUX support mentioned nowhere, why?

I have seen that people are using sd-dynamic-thresholding for making FLUX negative prompts possible. I also use it to make flux prompting more variable.
Why is the support of FLUX not mentioned in the description?

The readme & wiki were written when SD1 and SD2 were the only model archs, long before SDXL, SD3, or Flux.
It supports other models implicitly despite never being coded for them, and turns out to be particularly useful on Flux (albeit I personally wouldn't use it that way, just cause Flux will take twice as long to run with negative prompting and it's already annoyingly slow compared to other models).

Swap your CFG to exactly 1 and compare that to any other CFG - it'll be about double for non-1 CFG, because it literally runs the model twice to calculate the negative prompt and apply CFG, whereas at CFG=1 it only has to run the model once.

Ok, I see what you mean. I always thought that was related to the dyn-threshold node. But it isn't.
In fact I get the same result with cfg = 3 and dyn-threshold disabled. I thought Flux would ignore higher than 1 values anyway.
But that doesn't seem to be the case. It is the sampler probably
cfg = 3 : 9,1/it
cfg = 1 : 5/it
sd-dyn-threshold bypassed:
cfg = 3 : 8.3/it
cfg = 1 : 5/it

I have one last question: Using sd-dynamic-thresholding in Flux in conjunction with cfg, what can I expect to happen?
Aside from the negative prompt recognition, which effect can I expect  from a higher cfg value than 1 on the generated image and what effect could I expect from raising it to 3,4,5 and so forth? Is it better prompt following?


Remove pow2 VM operation &  the associated co-processor

This PR address 2nd part of #200.

Remove pow2 air constraint from bitwise_pow2 aux table.
Merge bitwise_pow2 aux table with bitwise. There's now only one stand alone bitwise co-processor.

@0xKanekiKen #281 has been merged.

Thanks, @grjte, for the initial review. I've acted on your suggestions. Given that #281 has been merged you can do a thorough review now.

Thanks @grjte for the review.

The bitwise_op_flag should now be removed from the AIR completely.
Apologies, I missed it in the last PR. I've removed this in the latest PR & updated the degree of the constraints of bitwise Aux table.

Thanks @grjte for the review. I've actioned on your suggestions.