Correct Types and nullable types

So far, dask-sql just used whatever type dask things is reasonable. That works in principle, because the type system of SQL and dask are pretty similar, but fails in some corner cases (e.g. integer division). This PR basically adds a "fix" function, to let every conversion plugin output a dask dataframe with the types, that SQL expects.
To prevent too much type conversion, it also adds a similarly measure for types: two types are similar, if they are from the same family (both int, float, string etc.). They are still similar even if their size is different (int32 = int64) and so far also if their nullability is different (int32 = Int32). The latter may change in the future.
As this also adds proper handling for nullable pandas types (Int32), I now use pd.NA where appropriate.

Codecov Report

Merging #49 into main will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #49   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           24        24
  Lines          813       876   +63
  Branches       109       121   +12
=========================================
+ Hits           813       876   +63

Impacted Files
Coverage Δ

dask_sql/physical/rel/logical/filter.py
100.00% <ø> (ø)

dask_sql/physical/rel/logical/sort.py
100.00% <ø> (ø)

dask_sql/mappings.py
100.00% <100.00%> (ø)

dask_sql/physical/rel/base.py
100.00% <100.00%> (ø)

dask_sql/physical/rel/logical/aggregate.py
100.00% <100.00%> (ø)

dask_sql/physical/rel/logical/join.py
100.00% <100.00%> (ø)

dask_sql/physical/rel/logical/project.py
100.00% <100.00%> (ø)

dask_sql/physical/rel/logical/table_scan.py
100.00% <100.00%> (ø)

dask_sql/physical/rel/logical/union.py
100.00% <100.00%> (ø)

dask_sql/physical/rel/logical/values.py
100.00% <100.00%> (ø)

... and 2 more

Continue to review full report at Codecov.

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


SQFormCheckboxGroup & SQFormRadioButtonGroup isFieldError not triggered

I noticed that when these fields are required the label and helper text aren't transitioning into an error state when they should be. It looks like if we just pass the handleBlur from useForm to the components it will fix the issue.
https://www.loom.com/share/b5e108ea9cb14f4cafa1911d55a36199

:tada: This issue has been resolved in version 4.3.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix overriding semantics messaging version in newer openjdk 8 versions

Applicable Issues
In later java 8 version class is loaded in reversed order and if external eiffel-semantic version jar files are provided then internal built-in eiffel-semantic version is used.
External eiffel-semantic version is configured with java flag:
java -Djava.ext.dirs=/path/to/eiffel-semantic-jar-files-dir/ -jar /path/to/generate-service-x.y.z.war
-Djava.ext.dirs is deprecated in Java 8 since many years ago and the -classpath should be used in newer Java versions, example:
java -classpath "/path/to/eiffel-semantic-protocol-jars/*:publish-service/target/publish-service-2.0.26.war" org.springframework.boot.loader.WarLaunch
Description of the Change
Change so external provided eiffel-semantic version is used if provided with "-Djava.ext.dirs".
Alternate Designs

Benefits

Possible Drawbacks

Sign-off

Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
Signed-off-by:

Same change is done in RemRem-Publish, please review my PR in RemRem-Publish as well:
https://github.com/eiffel-community/eiffel-remrem-publish/pull/252

Added documentation about how to run RemRem-Generate and how to override Eiffel-Protocol version.
Please check and review.
@RajuBeemreddy1 @z-sztrom
If docs are Ok, I will add same docs to the RemRem-Publish patch.


Feat: Restrict Event Booking to Verified Users

Describe the feature
Description: Currently, the event booking page allows all users to access the "Book Now" feature. To enhance security and improve the user experience, only logged-in or verified users should be able to book new events. Non-authenticated users should be redirected to the login page if they attempt to book an event.
Acceptance Criteria:
Users who are not logged in should not be able to access the event booking functionality.
If a non-logged-in user clicks "Book Now," they should be redirected to the login page with a message prompting them to log in.
Logged-in users who have verified their email (or passed other verification criteria) can book new events.
Backend should verify the user's authentication and verification status before processing the booking request.
Tasks:
Implement authentication check in the frontend to disable "Book Now" for non-authenticated users.
Add redirect to login page when a non-logged-in user tries to book an event.
Modify the backend API for booking events to validate that the user is authenticated and verified.
Test with different user scenarios (logged-in, logged-out, verified, unverified).
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I have starred the repository
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this issue

@samar12-rad assigned

hey @RamakrushnaBiswal can I work on this issue??

Sure @haseebzaki-07


Add ability to add or remove Participants from a Deal

This PRs modifies the has_many method to add new_{relation} and delete_{relation}
For example:
# Defining participants on a Deal class
has_many :participants

# it will generate
deal.new_participant(person_id: person.id)

# removing a participant
deal.delete_participant(participant)

But this will also generate the same methods for other has_many associations, like for Followers, but it's not useful for has_many :products for instance
If you guys prefer, I can just add these methods to handle participants as methods directly on the Deal resource
PS: I'll add specs after the first review of the PR

Hello Emilio,
Thanks for the contribution. QQ: Why isn't useful for products? I see the API doc includes endpoints for adding or deleting a product from a deal.

oh, you are right, I guess I was confusing the existing add_product method that receives a Product instance
Yes, it should work ok with products, in this case, deal will support add_product with Product resource instance and new_product with a regular hash with params

With your solution, I suggest naming the methods add_* instead of new_* deprecating the current add_product, and documenting the breaking change in the changelog.

Hey @j4rs , I've updated the PR with your suggestions. Let me know if you need me to make any other adjustment


how to solve the warning "WARNING batched routines are designed for small sizes. It might be better to use the    Native/Hybrid classical routines if you want good performance."

Have you solved the problem?

This warning is because we take inverse on a large matrix, it would not affect the final performance. If you want to get rid of this warning, maybe try some other operations of matrix inversion.


something wrong with my subgraph

Nov 16 04:02:48.760 WARN Unexpected RPC error, error: Rpc(Error { code: ServerError(-32000), message: "context deadline exceeded", data: None }), sgd: 4, subgraph_id: QmPrDbaDnCWtM3AqNCJjSp9ov8SzczcADRHwjMxQy8bQ95, component: BlockStream

hi - can you give some more detail on the setup in which you have encountered the error? (where is the subgraph deployed, the subgraph code, the versions of software you are using etc.). Closing for now, will re-open when more detail is provided. Thanks!


add section in README on VPC and transactions

Add section in deployment on deploying into a VPC, and how to use an API Gateway policy to lock down the transaction endpoints so they aren't public.

If you wanted to deploy stac-server in a way that ensures that certain endpoints are restricted access but others aren’t, you can deploy into a VPC and add conditions that allow only certain IP addresses to access certain endpoints. Once you deploy stac-server into a VPC, you can modify the Resource Policy of the API Gateway endpoint that gets deployed to restrict access to certain endpoints. Assume that the account into which stac-server is deployed is numbered 1234-5678-9123, the API ID is ab1c23def, and the region in which it is deployed is us-west-2. You might want to give the general public access to use any GET or POST endpoints with the API such as the "/search" endpoint, but lock down access to the transaction endpoints (see https://github.com/radiantearth/stac-api-spec/tree/master/ogcapi-features/extensions/transaction) to only allow certain IP addresses to access them. These IP addresses can be, for example: <IP_ADDRESS>, <IP_ADDRESS>, and <IP_ADDRESS>. In order to do this, you can impose a condition on the API Gateway that only allows API transactions such as adding, updating, and deleting STAC items from the whitelisted endpoints. For example, here is a Resource Policy containing two statements that allow this to happen:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": "*",
            "Action": "execute-api:Invoke",
            "Resource": [
                "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/POST/search",
                "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/POST/search/*",
                "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/GET/search/*",
                "arn:aws:execute-api:us-west-2:123456789123:ab1c23defi/v1/GET/*"
            ]
        },
        {
            "Effect": "Allow",
            "Principal": "*",
            "Action": "execute-api:Invoke",
            "Resource": [
                "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/POST/collections/*/items",
                "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/PUT/collections/*/items/*",
                "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/PATCH/collections/*/items/*",
                "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/DELETE/collections/*/items/*"
            ],
            "Condition": {
                "IpAddress": {
                    "aws:sourceIp": [
                        "<IP_ADDRESS>",
                        "<IP_ADDRESS>",
                        "<IP_ADDRESS>"
                    ]
                }
            }
        }
    ]
}

The first statement in the Resource Policy above grants access to STAC API endpoints for use in general operations like searching, and the second statement restricts access to the Transaction endpoints to a set of source IP addresses. The second statement can be written in another form, denying access to the Transaction endpoints for all addresses that don’t match a set of source IP addresses. This is shown below.
    {
        "Effect": "Deny",
        "Principal": "*",
        "Action": "execute-api:Invoke",
        "Resource": [
            "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/POST/collections/*/items",
            "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/PUT/collections/*/items/*",
            "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/PATCH/collections/*/items/*",
            "arn:aws:execute-api:us-west-2:123456789123:ab1c23def/v1/DELETE/collections/*/items/*"
        ],
        "Condition": {
            "NotIpAddress": {
                "aws:sourceIp": [
                    "<IP_ADDRESS>",
                    "<IP_ADDRESS>",
                    "<IP_ADDRESS>"
                ]
            }
        }
    }

@matthewhanson

Added section to README


[Reveal] Position is not vertical centered.

See it here http://foundation.zurb.com/sites/docs/reveal.html , the reveal modal is not vertically aligned in the center.
This should be in the middle of the page, as I have a fixed top menu, it overlaps it.
If I change
top = parseInt((outerHeight - height) / 4, 10);
to
 top = parseInt((outerHeight - height) / 2, 10); at https://github.com/zurb/foundation-sites/blob/develop/js/foundation.reveal.js#L117
it then comes in the middle.
I am using Chrome 48.0.2564.116 m on Windows 7.

The current behavior is deliberate (offset modal in the middle upper part of page) and matches Foundation 5 behavior.  You can explicitly set the vertical offset using a data-v-offset attribute.


Idea: Split Console into ReadConsole/WriteConsole/ErrorConsole?

Sometimes it'd be nice to have a Console that can only read or only write.

Yeah, that's what I had in mind :)


feat: add initial navbar and preliminary profile page

feat: add styling for initial navbar
feat: finalize preliminary profile page

Ignore some of the repetitive commits from the previous time I used this branch. I used Git a little sub-optimally, so they're included again in this PR. 😅


bug: First notification gets deleted because of setting badge to 0

Plugin version:
2.0.0
Platform(s):
iOS
Current behavior:
First notification gets deleted because restore() is setting badge to 0.
Expected behavior:
First notification behaves the same as second, third etc.
Steps to reproduce:
App supports notifications and badge.
No notifications for app are present.
App is closed.
Send notification to app.
The first notification will arrive on the device, and in a second it will disappear from lock screen.
Badge will be one.
If the app is open in the background it will work, also it works for the 2., 3., 4. etc. notification.
Related code:
To fix this, open Badge.swift and do something like that:
    @objc private func restore() {
        let count = get()
        if(count > 0){
          set(count: count, completion: {})
        }
    }

Other information:
What I think happens. If there is no notification, and the first one arrives the restore() is called, and get() delivers 0, the set(0) will delete all notifications for the app. Afterwards the set() is called which increases the badge to one.
For the second notification it works obviously because get() will return >0 which will not delete the notifications.

Thank you for your request!
Can you please give this dev build a try:
npm i<EMAIL_ADDRESS>

Thanks, this version works.


Merge stqc

Will run prettier and only then rebase this with master (since prettier used on 2fa branch)

Sure. I've merged the 2fa branch. Should be straightforward to rebase.


Add Celo assets

closes #172 #171 #170

@vmichalik It closed automatically the first issue but the others are still in state Open so they should be closed manually.


readme update

Description of Change

Checklist

[ ] Added description of change
[ ] Added file name matches File name guidelines
[ ] Added tests and example, test must pass
[ ] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[ ] Relevant documentation/comments is changed or added
[ ] PR title follows semantic commit guidelines
[ ] Search previous suggestions before making a new one, as yours may be a duplicate.
[ ] I acknowledge that all my contributions will be made under the project's license.

Notes:

I think the readme file is fine as-is. Thank you anyways. 🙂


Updated PowerShell code samples to new AzureAD module

Code samples are updated to use the new AzureAD v2.0 PowerShell module.
This resolves #16141.

@jeremytbrun : Thanks for your contribution! The author, @MicrosoftGuyJFlo, has been notified to review your proposed change.

Looks great! Thank you!

#sign-off


Req: Adding backend stuff?

Hi,
I have a request if you can add some Nodejs back-end stuff too like;

Authentication modules/solutions

ORMs

Frameworks & Libraries etc..

PS: Thank you for this repo man it has saved us tons of searches. 🍻

I think it's not 100% design related. as you will have to cover a handful of backend languages... (js, .net, ruby, PHP, Elixer, etc...)


[Translate ru] resources -> index

Check out a review request at GitLocalize

@agektmr I suggest we close this one without merging: this PR looks odd, as it doesn't contribute any new translations but removes spaces in the text, making it hardly legible. This might have been caused by some technical issue (wrapping) in the past.

Got it. Thanks.


ssl error when build local dcos universe

when we build local dcos universe with the web:
https://dcos.io/docs/1.8/administration/installing/deploying-a-local-dcos-universe/#default
run to the 4 step:
$ sudo make local-universe
error info:
`Stopping docker registry.
registry
Traceback (most recent call last):
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/http/client.py", line 1106, in request
self._send_request(method, url, body, headers)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/http/client.py", line 1151, in _send_request
self.endheaders(body)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/http/client.py", line 1102, in endheaders
self._send_output(message_body)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/http/client.py", line 1260, in connect
server_hostname=server_hostname)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/ssl.py", line 377, in wrap_socket
_context=self)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/ssl.py", line 752, in init
self.do_handshake()
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/ssl.py", line 988, in do_handshake
self._sslobj.do_handshake()
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/ssl.py", line 633, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/universe/docker/local-universe/../../scripts/local-universe.py", line 314, in
sys.exit(main())
File "/data/universe/docker/local-universe/../../scripts/local-universe.py", line 104, in main
args.selected)):
File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/_base.py", line 580, in map
yield future.result()
File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/_base.py", line 407, in result
return self.__get_result()
File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/_base.py", line 359, in __get_result
reraise(self._exception, self._traceback)
File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/_compat.py", line 111, in reraise
raise exc
File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/thread.py", line 61, in run
result = self.fn(_self.args, *_self.kwargs)
File "/data/universe/docker/local-universe/../../scripts/local-universe.py", line 87, in handle_package
add_http_resource(http_artifacts, url, archive_path)
File "/data/universe/docker/local-universe/../../scripts/local-universe.py", line 245, in add_http_resource
urllib.request.urlretrieve(url, str(archive_path))
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/urllib/request.py", line 188, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/urllib/request.py", line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/opt/mesosphere/packages/python--85de4172618f2a149f5e9b00223b50725249e98f/lib/python3.5/urllib/request.py", line 1256, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>`
I have google it, should change the open url code.
how to resolve it?
Thanks,

ok, I have fix the question .
patch the scripts/local-universe.py. disabled the ssl check:
`diff --git a/scripts/local-universe.py b/scripts/local-universe.py
index 4a5b636..dfddf57 100755
--- a/scripts/local-universe.py
+++ b/scripts/local-universe.py
@@ -16,6 +16,7 @@ import urllib.error
import urllib.parse
import urllib.request
import zipfile
+import requests
HTTP_ROOT = "http://master.mesos:8082/"
DOCKER_ROOT = "master.mesos:5000"
@@ -242,7 +243,10 @@ def add_http_resource(dir_path, url, base_path):
pathlib.Path(urllib.parse.urlparse(url).path).name)
print('Adding {} at {}.'.format(url, archive_path))
os.makedirs(str(archive_path.parent), exist_ok=True)

urllib.request.urlretrieve(url, str(archive_path))

with open(str(archive_path), 'wb') as f:

   resq = requests.get(url, verify=False)

   f.write(resq.content)

`
you could also find the source question:
http://stackoverflow.com/questions/33770129/how-do-i-disable-the-ssl-check-in-python-3-x

find add_http_resource() function.
def add_http_resource(dir_path, url, base_path):
       pass

fix the question


[BUG] Different services displayed depending if the project is running or stopped

Describe the bug
Doing ddev describe -j on a running project outputs the services (included by default or installed by the user), but when the project is not running ddev describe -j returns the services empty "services": {},"
What's a reliable way to get all the services even if the project is not running?
To Reproduce
Install a custom service, it will only be displayed in the sidebar when the project is running.
Expected behavior
It would be great to be able to display the installed services even if the project is not running, I do not need url's or ports (because it's not running), just the service name/short_name
Screenshots
When running

When stopped

System (please complete the following information):

OS: macOS Ventura
DDEV version: v1.22.1
Docker provider: Orbstack
VSCode version: v1.82.0
DDEV Manager version: 1.1.1

For things like PHP, Node, and databases, versions and types are usually stored in .ddev/config.yml
(Should the database be one level higher?)
You could also use (or compare) the output from .ddev/add-metadata/name/manifest.yaml with the ddev describe -j's services. This would only work with addons installed via ddev get, and not manually added files.

PHP, Node and db is returned correctly, it's just for services/addons installed with ddev get. I think I can use the manifest.yaml inside addon-metadata when the project is not running. Just one doubt.
Can I assume that the service short name is just the addon name without ddev-? for example:
This is the content of .ddev/addon-metadata/ddev-buggregator/manifest.yaml
name: ddev-buggregator
repository: iljapolanskis/ddev-buggregator
version: 1.0.0
install_date: "2023-09-10T14:50:15-06:00"
project_files:
    - docker-compose.buggregator.yaml
global_files: []
removal_actions: []

and this is the content of docker-compose.buggregator.yaml
#ddev-generated
# Buggregator Server
services:
  buggregator:
    container_name: ddev-${DDEV_SITENAME}-buggregator
    hostname: ${DDEV_SITENAME}-buggregator
    image: ghcr.io/buggregator/server:latest
    expose:
      - "8000"
      - "1025"
      - "9912"
      - "9913"
    environment:
      - VIRTUAL_HOST=$DDEV_HOSTNAME
      - HTTPS_EXPOSE=8000:8000,1025:1025,9912:9912,9913:9913
    labels:
      com.ddev.site-name: ${DDEV_SITENAME}
      com.ddev.approot: $DDEV_APPROOT
    volumes:
      - ".:/mnt/ddev_config"

There is no place where the add-on defines just buggregator. Doing ddev describe -j on a running project outputs this:

I'm currently using the shortname so I need to know if I can simply remove ddev- from the name defined in manifest.yaml so I get the same shortname that ddev returns when the project is running.

Not entirely sure, but the "name" you highlighted seems to be the name of the docker service container.
This is different from the addon name which is declared in the addons install.yaml, which is used to populate the .ddev/addon-metadata/[addon]/manifest.yaml. This is meant to be the "human-friendly" name.
Most of the time, they will be similar if not the same. But addons can declare multiple services (XHGUI has a xhgui and mongo service). DDEV itself uses db as a generic name for the 3 databases it currenty supports.
I think the "human-friendly" name is better; parse out the ddev if you want to keep things shorter.

Ohh, so even if I get the data from manifest.yaml it's still possible that I get a different output from ddev describe -j when the project is running.
Not sure if there's a point in getting the add-ons data from manifest.yaml, what I wanted to accomplish was that no matter if the project was running or not, the same services/add-ons were displayed in the sidebar for each project, but depending on the add-on ddev describe -j will return different "services":{... data and there's no way to get that if the project is not running (without the urls, ports, etc.).
If that's the case I'll just refresh the sidebar services when the project is started. The user will only be able to see the installed add-ons when the project is running but I think that for now it's better than nothing.

There isn't a way to get services (or anything else) when the project isn't running.  A rework of app.Describe might be worth it, but I don't think it could even work.

@rfay Understood. For now I think we can leave it like it is, once the user starts the project the rest of services will be displayed. It's definitely not ideal (I thought it was a bug), it will be confusing for the users at first but still the number of extension installs is low to even consider a rework.
I think we should keep this in mind in case we can think of a solution. The UI it's intended to display all the information related to a project without depending on if it's running or not. If at the end it's not possible maybe we can consider removing the services from the sidebar and move the db below server in the general information? I'll have to think about this.

Services aren't even necessarily add-ons...

Ok, I’ll think I’ll better just remove the services completely from the sidebar and move the db with the general information.
I’ll try to think a different way to show installed add-ons/services.


[10.x] Add an encoding check string utility and a validator that uses it

Laravel has an ascii validator that checks whether a value (string, or other type converted to string) is valid ASCII. However, there are no validators or support methods to check for any other character set (apart from some specific cases like alpha_num).
The mbstring extension provides the mb_check_encoding function that will check whether a string is valid in a given encoding. In the same approach to other methods in the Str support class, I have wrapped this function to work the same way as the isAscii method.
This method allows you to check whether a string is valid in a given encoding:
$isValid = Str::isEncoding("\xE9", 'ISO-8859-1'); //é in ISO-8859-1

The selected encoding is checked before use using the mb_list_encodings function; a non-existent encoding will result in a false return value. An empty string will always return true (same behaviour as the isAscii method).
I've added a validator that uses this new method as a validator using the encoding name, so you can define a validator rule like:
'foo' => 'encoding:UTF-8',

I wrote this because I needed to validate UTF-8 input where it was quite likely to receive text incorrectly encoded as ISO-8859-1 or Windows-1252.
A key limitation of this validator (it's an inherent limitation of 8-bit charsets and UTF-8), is that it can't detect when a UTF-8 string has been presented as ISO-8859-*. This is because all 8-bit values are valid in ISO-8859 charsets, and consequently all valid UTF-8 is also valid ISO-8859-*, but the reverse is not true. It's possible to partially detect this through heuristics, but that's beyond the scope of this utility.
TL;DR: This PR adds a Str::isEncoding method and an encoding validator that uses it, along with tests for both uses.

Feel free to write a custom validator for this. 👍


Generator Doesn't Generate Existing Entities

I run "yo jhipster-ionic" command and ionic app is created. But my entities which already locate in my existing jhipster project doesn't be generated. Also, when i try to run "yo jhipster-ionic:entity" command console says

Just found a `.yo-rc.json` in a parent directory.
Setting the project root at: /home/can

Found the .jhipster/Course.json configuration file, entity can be automatically generated!

The entity Course is being updated.

Error jhipster-ionic:entity Course

ERROR!
The entity configuration file could not be read!

I would recommend that you generate your application in a directory outside your JHipster project. For example:
- backend (JHipster project)
- ionicui (Ionic project)

Then, when you run yo jhipster-ionic:entity course, enter ../backend as the path to your JHipster project.
If that doesn't work, make sure you're using v3.0.2 of this module.

I just updated generator-jhipster-ionic.
My directories path:
home/can/mucs (my jhipster project)
home/can/mucsapp (generated ionic project.
So paths looks like fine but still i got this error after i run "yo jhipster-ionic:entity course"
Found the .jhipster/Course.json configuration file, entity can be automatically generated!

The entity course is being updated.

Error jhipster-ionic:entity course

ERROR!
The entity configuration file could not be read!

Can you run yo jhipster-ionic:entity course --debug and paste the stack trace here please.

Here is the result:

Found the .jhipster/Course.json configuration file, entity can be automatically generated!

The entity course is being updated.

DEBUG! Error:
TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.resolve (path.js:1167:7)
    at Store.get (/home/can/.config/yarn/global/node_modules/mem-fs/index.js:34:21)
    at EditionInterface.module.exports [as exists] (/usr/lib/node_modules/generator-jhipster-ionic/node_modules/mem-fs-editor/lib/actions/exists.js:4:25)
    at EditionInterface.module.exports [as readJSON] (/usr/lib/node_modules/generator-jhipster-ionic/node_modules/mem-fs-editor/lib/actions/read-json.js:4:12)
    at loadEntityJson (/usr/lib/node_modules/generator-jhipster-ionic/node_modules/generator-jhipster/generators/generator-base.js:1735:40)
    at setupconsts (/usr/lib/node_modules/generator-jhipster-ionic/generators/entity/index.js:192:26)
    at Object.<anonymous> (/usr/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/lib/index.js:399:25)
    at /usr/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/node_modules/run-async/index.js:25:25
    at /usr/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/node_modules/run-async/index.js:24:19
Error jhipster-ionic:entity course --debug

Error: ERROR!
The entity configuration file could not be read!

    at Environment.error (/home/can/.config/yarn/global/node_modules/yeoman-environment/lib/environment.js:157:40)
    at error (/usr/lib/node_modules/generator-jhipster-ionic/node_modules/generator-jhipster/generators/generator-base.js:1974:18)
    at loadEntityJson (/usr/lib/node_modules/generator-jhipster-ionic/node_modules/generator-jhipster/generators/generator-base.js:1738:18)
    at setupconsts (/usr/lib/node_modules/generator-jhipster-ionic/generators/entity/index.js:192:26)
    at Object.<anonymous> (/usr/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/lib/index.js:399:25)
    at /usr/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/node_modules/run-async/index.js:25:25
    at /usr/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/node_modules/run-async/index.js:24:19
    at self.env.runLoop.add.completed (/usr/lib/node_modules/generator-jhipster-ionic/node_modules/yeoman-generator/lib/index.js:400:11)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)

Can you include a screenshot to show what you're entering when prompted? Also, if you could include the output from yo jhipster:info in your JHipster project, that'd be great.

yo jhipster-ionic:entity course --debug

yo jhipster:info

yo jhipster-ionic:entity course --debug

yo jhipster:info

Can you try deleting the .yo-rc.json file from the parent directory? I believe that's causing this issue because you're not being prompted for the path to the JHipster project.

Now; my entities are generated.
I regenareted my all entitites. But i got some other errors now.
Here are the screenshoots:

It looks like you found a scenario in the entity generator that I didn't test yet. Maybe you're using a one-to-one relationship? Can you copy/paste the output from yo jhipster:info in your JHipster project so I can try to reproduce?
Unfortunately, I won't be able to look at this until I'm back from vacation (January 8).
If you'd like to try and fix it in the meantime, see our contributing guide.

I use one-to-one relationship between Student and User.
I have to present my project next week. Do you have any idea to quickfix?
Also i check your contributing guide.
Here are the yo jhipster:info results

I would suggest trying to fix it manually in the generated code. Try to figure out what the relationship should look like (by looking at the code in your JHipster/Angular project) and then replicate that code with Ionic. The component classes should look similar.

I try to fix it.
Also my jhipster project is Angular1.
Can it cause this error?

Angular 1 shouldn't cause any issues, but you won't be able to look at your project's code for a hint. This module (currently) uses Angular 5 for Ionic.

I see.
Lastly; here is my announcement-dialog.ts file. It couldn't see user entity.(line 42) I dont understand why. Any idea?

You Announcement object does not have a user property - that’s what it's saying.

On Dec 24, 2017, at 11:59 AM, Can Berk İzgi<EMAIL_ADDRESS>wrote:
I see.
Lastly; here is my announcement-dialog.ts file. It couldn't see user entity.(line 42) I dont understand why. Any idea?
https://user-images.githubusercontent.com/28841094/34328647-a8e6da28-e8f5-11e7-8049-f5eee60cd17d.png
https://user-images.githubusercontent.com/28841094/34328648-a90ccf08-e8f5-11e7-86f7-fffc7b75bd8a.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/oktadeveloper/generator-jhipster-ionic/issues/19#issuecomment-353798817, or mute the thread https://github.com/notifications/unsubscribe-auth/AABF5Pzjbitq_nHMVy62n4bVT_Xlf0PVks5tDp8BgaJpZM4RL-k7.

I has user property in jhipster.
If i add "public userId?: number," into announcement.model.ts as screenshoot; is it fixed?

Yes, try to reference announcement.userId instead of announcement.user in announcement-dialog.ts.

I am working on it. Thank you.
have a nice holiday

Encountered this issue while generating entity as below:
bikxs@igor:~/Project/project-skeleton/output/MFSReporting/frontend$` yo jhipster-ionic:entity Report

Just found a `.yo-rc.json` in a parent directory.
Setting the project root at: /home/bikxs/Projects/project-skeleton/output/MFSReporting

Found the .jhipster/Report.json configuration file, entity can be automatically generated!

The entity Report is being updated.

Error jhipster-ionic:entity Report

ERROR!
The entity configuration file could not be read!

Got around it by using below work around

rename the ".yi-rc.json" to ".yi-rc.json_old"
On second try yo asks location of jhipster app and continues to generate the entity successfully.

bikxs@igor:~/Projects/project-skeleton/output/MFSReporting/frontend$ yo jhipster-ionic:entity Report

The entity Report is being created.

? Do you want to generate this entity from an existing app? Yes
? Enter the path to your app's root directory: ../

Found the .jhipster/Report.json configuration file, entity can be automatically generated!

? Do you want to update the entity? This will replace the existing files for this entity, all your custom code will be overwritten Yes, re generate the entity
   create src/pages/entities/report/report.html
   create src/pages/entities/report/report.model.ts
   create src/pages/entities/report/report.module.ts
   create src/pages/entities/report/report.provider.ts
   create src/pages/entities/report/report.ts
   create src/pages/entities/report/report-detail.html
   create src/pages/entities/report/report-detail.module.ts
   create src/pages/entities/report/report-detail.ts
   create src/pages/entities/report/report-dialog.html
   create src/pages/entities/report/report-dialog.module.ts
   create src/pages/entities/report/report-dialog.ts
   create src/pages/entities/report/index.ts
 conflict src/pages/entities/entity.ts
? Overwrite src/pages/entities/entity.ts? overwrite this and all others
    force src/pages/entities/entity.ts
Entity generation completed. You may have to stop/start "ionic serve" to see your new entity.
bikxs@igor:~/Projects/project-skeleton/output/MFSReporting/frontend$

Closing this as it seems to be a configuration issue.


Update global vars

Noticed some of the vars were no longer working on my own project.
Took a look in ReClass and this is what I ended up with.
I believe it's mostly correct if not fully correct

thank you, tho the comment about the offsetof the variable is mismatch... ill fix it later

Yeah you are right, in my own project I kept those varaibles in it's own class like ReClass suggested, completely forgot to change the comments when putting the variables directly into globalvars in the pull request


[backport] Support CUDA 11.7

Backport of #6767 by @takagi

/test mini

Jenkins failure is unrelated.


Update start_azure.md to clarify that sometimes patience is a virtue

I was following these instructions and wasted some time reading docs on the Azure DSVM fastai extension when I didn't see the /fastai/ dir after initially connecting to JupyterHub.
Turns out all I had to do was wait a bit, since the extension installs asynchronously.

Good idea


Update link to guidelines in readme

Thanks for the approval.
Credit to Michael Maclean for spotting this broken link.


fix: speed up cairo-runner and cairo-tester in starklings

Fixes #25
The user will need to build the binaries before using starklings with cargo build --all.
We invoke directly the executables in starklings instead of using cargo, which speeds things up at least 10x.
Time spent: 1hr

will look into the CI problem later

Hi @msaug,
It's nice to have this to be able to run things faster, but we want to be able to run it with cargo run too to avoid having to build and going to a specific dir.
People shouldn't have to be well versed in terminal to use Starklings and instructions to get start should be minimal.

People shouldn't have to be well versed in terminal to use Starklings and instructions to start should be minimal.

While I agree about this, it takes up to 30 seconds to verify each exercise when invoking the runners with the cargo command because it verifies the version and state of all the dependencies on each start.
Imagine if you have done every exercise and are now working on structs, it means that you have to wait nearly 5 minutes for every exercise prior to structs to be verified which is frankly unusable
Perhaps we could use a Makefile to make it easier for the user?
The easiest solution would be to install everything with cargo install . to make the executables available from the terminal. The only problem with this approach is that the core library is not installed with that binaries and the program cannot run.
While I agree with your comment, something must be done to speed things up.

I see what you mean...
I think a nice way around that would be to perhaps make Exercise::run_cairo() use a rust function itself instead of running another command?
https://github.com/shramee/starklings-cairo1/blob/main/src/exercise.rs#L93
You can look at my old code at shramee/creative-cairo for reference if you like.

I agree with this as a temporary solution. When Cairo 1 is properly released we will get rid of cairo-runner and cairo-tester and run cairo-run and cairo-test from the Cairo binaries directly, but we have time for that :)

It is now BLAZINGLY FAST especially when running in release mode ;)

🥳 🚀


Make "identifier" of new-created dataset "editable"

User story
As a wis2box-webapp user, I want to edit the "identifier" when I create a new dataset, but still keep the "identifier" of existing dataset “not editable”.

Instead of making the id editable, let's fix this by generating a new unique ID when the new dataset is initiatlized using random character generation

Please see this link: https://github.com/wmo-im/wis2box-webapp/pull/77

Add "gray-out" function, please see this link for update: https://github.com/wmo-im/wis2box-webapp/pull/78


setup: update dependencies

Did not touch documentation dependencies on purpose.

coverage: 80.779%. remained the same when pulling 072fa966761f1bc467fa86d783ed5aed5c4b8e8b on chore-deps into a896119646f293b4ea58a8442636cf6fa4faf8d3 on master.


Fixing regex pattern to avoid removing comments from within valid JSON

See #62 for premise. This fixes the issue, and adds test-cases. The test cases duplicate the schema.org invalid files; I didn't want to edit them in place, as it would confuse their provenance.
I still wonder whether regex is the wrong way to fix prefixed/suffixed garbage, but a "correct" solution might be less efficient and harder to maintain. So perhaps it's best to shelve "correct" for now. :)

Thank you for fixing this :)

Thanks @cathalgarvey! The fix looks good to me.
As for a "proper" solution, the problem is that data inside these tags is not JSON, it looks more like JavaScript, so likely it should be parsed with a JavaScript parser like https://github.com/rspivak/slimit, not with a JSON parser.
But I recall these parsers are not always complete, and they can slow things down, so starting with just comment stripping using a regex sounds fine to me - unless there is a JS parser which is robust and fast enough.
There is an additional gotcha with a "proper" solution: HTML comments still have to be striped before passing to JS parser (see https://github.com/scrapy/parsel/issues/43).


feat: implement 0x01 - ADD opcode

fork: Frontier
group: Stop and Arithmetic Operations
Index 1 is top of the stack. See PUSH.
Stack input

a: first integer value to add.
b: second integer value to add.

Stack output

a + b: integer result of the addition modulo 2256.

Examples

*
Input
Output
*
*
Input
Output

1
10
20
*
1
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
0

2
10

*
2
1

Reproduce in playground.
Error cases
The state changes done by the current context are reverted in those cases:

Not enough values on the stack.

Did some work on this issue https://github.com/greged93/kakarot-ssj/commit/7c55d085a64a4499eb6c6b138542d6921e5cb3ea but getting some error:
Failed to specialize: `dup<kakarot::context::ExecutionContext>` error

Any help to debug would be appreciated.


Inconsistent Capitalization in Documentation

There are instances of inconsistent capitalization in the documentation, which can affect readability and clarity. Specifically:
"master" Branch: The term "master" in "master branch" is not consistently capitalized. It should either be consistently written as "Master" or, if applicable, updated to "Main" in line with newer branch naming conventions.
"Improving website": In the "Contributing" section, "Improving website" should be updated to "Improving the website" for consistency and improved readability.
Suggested Fixes:
Update "master branch" to "Master branch" (or "Main branch" if the repository has switched to the main branch convention).
Change "Improving website" to "Improving the website."
These changes will ensure that the documentation maintains a professional and consistent tone.

Resolved this issue under PR #304 .Please check.


The unit tests won't run in on my computer, so wasn't able to check for side effects that way
(closed former pull request, fixed SimpleNames of MethodDeclaration as well)

ChangeSet 9c469dc also solves Issue 286 (It was reproducable on master)


Correct function of ITER VS coils

Currently if you do dd, ini, act = FUSE.init(:ITER, init_from=:ods), the last two active coils are labeled as shaping coils, i.e., dd.pf_active.coil[end].function[1].index is 1. Those indices should be 2 instead for vertical force balance. This will prevent ActorEquilibrium from updating the current in those coils to make the shape.

@bclyons12 please try with the latest IMAS#master


PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/haisumusman/Library/Developer/Xcode/DerivedData/Runrun-fnanxulnnyxqikadufvirlgemomv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rncore.build/Script-46EB2E00038F00.sh (in target 'React-rncore' from project 'Pods')

Description
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/haisumusman/Library/Developer/Xcode/DerivedData/Runrun-fnanxulnnyxqikadufvirlgemomv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rncore.build/Script-46EB2E00038F00.sh (in target 'React-rncore' from project 'Pods')
Building workspace Runrun with scheme khyratna(Dev) and configuration Debug
(2 failures)
Steps to reproduce
npx react-native run-ios --scheme "khyratna(Dev)"
React Native Version
0.73.5
Affected Platforms
Runtime - iOS
Output of npx react-native info
System:
  OS: macOS 15.1.1
  CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Memory: 263.78 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.20.5
    path: ~/.nvm/versions/node/v18.20.5/bin/node
  Yarn:
    version: 1.22.18
    path: /usr/local/bin/yarn
  npm:
    version: 10.8.2
    path: ~/.nvm/versions/node/v18.20.5/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.0
      - iOS 18.0
      - macOS 15.0
      - tvOS 18.0
      - visionOS 2.0
      - watchOS 11.0
  Android SDK: Not Found
IDEs:
  Android Studio: 4.2 AI-202.76<IP_ADDRESS>86908
  Xcode:
    version: 16.0/16A242d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 16.0.2
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.5
    wanted: 0.73.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs
The following build commands failed:
	PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/haisumusman/Library/Developer/Xcode/DerivedData/Runrun-fnanxulnnyxqikadufvirlgemomv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rncore.build/Script-46EB2E00038F00.sh (in target 'React-rncore' from project 'Pods')
	Building workspace Runrun with scheme khyratna(Dev) and configuration Debug
(2 failures)

Reproducer
https://github.com/facebook/
Screenshots and Videos
No response

Hey @basim-usman, This version is not supported, please use the latest one.
I'm closing for now, if the issue still occurs add a reproducer and create a new issue.

Hey @basim-usman, This version is not supported, please use the latest one.
I'm closing for now, if the issue still occurs add a reproducer and create a new issue.

@migueldaipre
PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/haisumusman/Library/Developer/Xcode/DerivedData/Runrun-fnanxulnnyxqikadufvirlgemomv/Build/Intermediates.noindex/Runrun.build/Debug-iphonesimulator/khyratna.build/Script-8447E38926DF950500A23425.sh (in target 'khyratna' from project 'Runrun')
React Native 0.76.3
System:
OS: macOS 15.1.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 43.12 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.20.5
path: ~/.nvm/versions/node/v18.20.5/bin/node
Yarn:
version: 1.22.18
path: /usr/local/bin/yarn
npm:
version: 10.8.2
path: ~/.nvm/versions/node/v18.20.5/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:

DriverKit 24.1
iOS 18.1
macOS 15.1
tvOS 18.1
visionOS 2.1
watchOS 11.1
Android SDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>86908
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
version: 16.0.2
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.1.2
wanted: ^15.0.0
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.3
wanted: ^0.76.0
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true


Adding plumbing control panel

Added a control panel that can control all the toggleable valves in a plumbing engine.

Closes #117

This change is

Note for my changes:

I still left in a local array to track the states of the components, and I think it is needed because qml can only know about its state via this local array? (couldn't think of a better solution atm haha). I changed the implementation of the array a bit, so it communicates with plumbing engine better.
I don't know how to make the row of buttons scrollable .. at least not inside a column. If I only have the row, it is scrollable. But with the title, somehow it isn't. I have no idea how that works and I couldn't find anything useful online. So please help me with that
I couldn't get the overlapping of text to happen on my end, so it's kind of hard for me to fix it ... I added more spacing between the buttons but not sure if that fixes anything ..

This is what the scrollView looks like with the minimal window size:
https://user-images.githubusercontent.com/45859048/124051345-54032900-d9ea-11eb-9375-5cb77708d728.mov
Please let me know if there still are spacing/scrolling issues :)

Yep it works, and yes that is the intended behaviour. Thanks and I will merge it now. :)


Corrected missing end-tick to Creating VM

On line 282 of the markdown, the end tick was missing causing an error when running the script as is.

@TecVector : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Fixed typo in config UI

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Thanks for the fix. I had to merge the commit manually because your master branch is too old and the file has been renamed almost two years ago.


RSW: Consistent use of RSP and RSW acronyms in env vars

FYI, e.g. during license activation I see
chart v0.5-rc4
+ trap deactivate EXIT
+ RSP_LICENSE=
+ RSP_LICENSE_SERVER=$REDACTED
+ RSW_LICENSE_FILE_PATH=/etc/rstudio-server/license.lic

+ unset RSP_LICENSE
+ unset RSP_LICENSE_SERVER
+ unset RSW_LICENSE
+ unset RSW_LICENSE_SERVER

Thanks for the report! - we definitely may have missed something here. Trying to support backwards compatibility while moving from RSP to RSW all the things!


Initiative Rolls - option to 'lock' slot choices?

Could we have a toggle that disables wiping each person from their initiative slots with a new round?  Or alternately just remembers each slot choice from round to round unless it's manually removed?

Sorry, this isn't something I'm interested in setting up. If I were to do this, I would want to do it in a way that offers a better user experience than the current flow for clearing a claimed initiative slot - and in the end, I don't think it's worth that effort.


Bad fr name of Fancy Vivillon

On pokemon_form_names.csv#L2418 - "pokemon_name" column:
"Prismillion Fantaisie" when the Pokémon fr name is "Prismillon" without the last "i" :-)
Bye

Fixed, thanks.


Deleting a contact

In the ScienceMesh Contacts view, add a button to delete ("unfriend") a contact.
You can fake the controller method (just log "the user deleted contact 12" or something)


$map: EvaluateRuntimeException when a value of an element is null, rather than returning null

Could you please advise what is the rationale behind this, as we were hoping the behaviour could be modified so that simply returns null if the array is null, vs throwing an exception (as is the behaviour with the native jsonata playground implementation)

For clarity, the screenshot is referring to: https://github.com/IBM/JSONata4Java/blob/master/src/main/java/com/api/jsonata4java/expressions/functions/MapFunction.java#L112

Not sure if this was a carry over from earlier versions of jsonata or just a bug. I've removed the test and return null (** no match **) if the array is null. I've checked in the patch and it will become available in the next release. You can build using mvn clean install in the JSONata4Java project directory (where the pom.xml resides).
The line now reads:
			if (arrNode == null) {
				return null;
			}

Please close once you've verified the fix worked. Thank you.


Fixed #24914 -- Added authentication mixins for CBVs

[x] Integrate django-braces code
[x] Add tests
[x] Update / adjust docs
[x] Outline differences to django-braces
[x] Add migration guide for django-braces users

:+1:

Thanks, @kennethlove :) I just updated some docs.
I'd appreciate another round of review.

Thanks @kennethlove , updated with your comments. :smile:

Merged in e5cb4e14118f3a508e3bc00ee7cd50bb0f18a61d!


Prepare cli for multi-network

After a discussion with @Schwartz10 about the current setup, this PR is no longer required so closing it out.


RHBPMS-4707: Embedded Authoring perspective is broken when using parameter controlled URL

See https://issues.jboss.org/browse/RHBPMS-4707
This is the corollary of https://github.com/AppFormer/uberfire/pull/681 for master.
(cherry picked from commit ea4477afce4313294c1dc3c926322e4717f0c376) - RHBPMS-4706

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

@ederign Mind taking a look? (Next week sometime, when you're not busy)


Fix borrow-checker issues

resolve_documentation never used self, so I removed that, then I just cloned documentation. This may be inefficient, but should work for now.

Thanks!


Pair.ACCEPTS undocumented

There are several candidates (unsure of roast coverage) and they're currently undocumented.
Some parts of the docs refer to "/foo".IO ~~ :e & :f type of syntax as "file test operators" (will fix that part of docs as part of IO grant), however that syntax is much more general and is part of Pair.ACCEPTS implementation. For example 31337 ~~ :is-prime  works just as well.
See https://irclog.perlgeek.de/perl6/2017-03-05#i_14208291

Thanks. Fixed in https://github.com/perl6/doc/commit/0728c5515907479b44f064fca78adae8978e3ca9


What if object doesn't exist in some responses?

Hi! I have JSON with different responses - in some object exist, in other - no. Is it possible to resolve with EasyMapping? Thanks.
{
    ID = 46;
    acf =     (
    );

{
    ID = 178;
    acf =     {
        imageforcategory = "http://site.com/wp-content/uploads/2015/09/image.jpg";
    };

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<__NSCFBoolean 0x36c0f60> valueForUndefinedKey:]: this class is not key value coding-compliant for the key imageforcategory.'

It's safe to have a nil property on your object as long as the structure of JSON is the same. I believe that crash you are having is not because object is not there, but because mapping is not entirely correct, or JSON structure is different.

Thanks for quick reply!
is that not a problem for the library, that in one case returns an array with the object, and the other without? is it not a violation of the structure?

It depends on the mapping, however in most cases this is not a problem. Property will simply be nil.

Ok. Thanks I'll be looking this bug

I'll close issue for now, please reopen it, if there's some issue with library.

No, it seems EasyMapping cannot write an object that does not exist
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unacceptable type of value for attribute: property = "imageforcategory"; desired type = NSString; given type = __NSArrayI; value = (
).'
*** First throw call stack:
(
	0   CoreFoundation                      0x0345c746 __exceptionPreprocess + 182
	1   libobjc.A.dylib                     0x030e5a97 objc_exception_throw + 44
	2   CoreData                            0x006d9ffe _PFManagedObject_coerceValueForKeyWithDescription + 3454
	3   CoreData                            0x006ab8dd _sharedIMPL_setvfk_core + 205
	4   CoreData                            0x006d9226 -[NSManagedObject(_PFDynamicAccessorsAndPropertySupport) _setGenericValue:forKey:withIndex:flags:] + 54
	5   CoreData                            0x006c7e6c _PF_Handler_Public_SetProperty + 108
	6   CoreData                            0x006c7dd5 -[NSManagedObject setValue:forKey:] + 181
	7   Foundation                          0x00e8b016 -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 386
	8   AlmazInUa                           0x00212e3d +[EKPropertyHelper setValue:onObject:forKeyPath:] + 317
	9   AlmazInUa                           0x00212c4c +[EKPropertyHelper setProperty:onObject:fromRepresentation:inContext:respectPropertyType:] + 796
	10  AlmazInUa                           0x00207441 __75-[EKManagedObjectMapper fillObject:fromExternalRepresentation:withMapping:]_block_invoke + 289
	11  CoreFoundation                      0x0338b01a __65-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 106

From this call stack I would say that you have NSString property and you receive NSArray. And CoreData throws an exception about this.


Refactor Attribute.Make to work even if a driver has not been loaded

Today:
https://github.com/gui-cs/Terminal.Gui/blob/2e7c2c83775de2cf8153e07cc8050ba07cecdd07/Terminal.Gui/Core/ConsoleDriver.cs#L174-L185
This makes it awkward to have the configuration manager set things up.
I'd like to propose the following:

Modify Attribute such that a value of -1 for Attribute.Value means "Not initialized by driver"
Modify Attribute.Make to set Value to -1 if it is called with no driver
Modify ConsoleDriver.CreateColors which is called from ConsoleDriver.Init to go through Colors and if any Attribute.Value == -, call Make again.

The only question I have about this is the code in CursesDriver that sets the hasColors parameter to ConsoleDriver.CreateColors to true in some cases.
https://github.com/gui-cs/Terminal.Gui/blob/2e7c2c83775de2cf8153e07cc8050ba07cecdd07/Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs#L898-L932
@BDisp or @migueldeicaza : Do you know when/why it does this? Is it really still needed?

Yes, that function is needed to ncurses check if the current terminal can handle colors, see https://invisible-island.net/ncurses/man/curs_color.3x.html.
Besides that, the attribute value depend of the driver which can uses different values. Not sure, but I think the -1 is used for transparency. Application.Init() call the Driver.Init (TerminalResized) to ensure that all attributes are well initialized. I really don't understand why you want to call the Attribute.Make method without a driver.

Not sure, but I think the -1 is used for transparency. Application.Init() call the Driver.Init (TerminalResized) to ensure that all attributes are well initialized.

Good point. I'll expand Attribute to have a Initialized property instead.

really don't understand why you want to call the Attribute.Make method without a driver.

Because I need to have the configuration loaded before a driver is loaded (so the configuration can specify UseSystemConsole). I don't want to have to read/parse the config info multiple times.

Good point. I'll expand Attribute to have a Initialized property instead.

That is a better solution.

Because I need to have the configuration loaded before a driver is loaded (so the configuration can specify UseSystemConsole). I don't want to have to read/parse the config info multiple times.

Ah, that why I couldn't run NetDriver. I'm curious to see what is coming up :-)


Suggestion: Tab divider lines optional in file explorer

Are the tab diver lines in this screenshot necessary to understand the folder and file structure? I think, you can make them optional because with this theme adjustments, the transparent backgrounds of the folders contents are enough.

BTW: These thin vertical lines (from the sceenshot above) don't match exactly:

Do you want to disable these lines? You can. It is open folder area. Search for open folder area and select a transparent border color (totally transparent color - alpha channel).
Are you referring to these lines? or the indent guides of the folders?

Please check theme version 21.2.0. There is an option to hide indent guides (Indent Guides submenu).
If it is working ok, you can close this issue. Thanks

Tested on android, looks cleaner, as expected.
As always, thanks for your work!

Please update it to 21.2.1. I wrote Hide indent-guides with hifen (just a quick fix of the description). Thanks


Support oracle insert all/first statement

Fixes #3813.
OracleParser doesn't support INSERT ALL and INSERT FIRST syntax. Therefore In insert statement, it is necessary to support INSERT ALL and INSERT FIRST.
Changes proposed in this pull request:

Insert statement add INSERT ALL and INSERT FIRST syntax.

Pull Request Test Coverage Report for Build 1238

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.239%

Totals

Change from base Build 631:
0.0%

Covered Lines:
11278

Relevant Lines:
16773

💛  - Coveralls


Sorry, but I think I have found a very easy way to crack this!

How should I report this critical lack of function bug / issue.

Please email me at:
me (at) matc (dot) io

Ok, I will.
Paul Stross.     @.***
On Sun, 24 Dec 2023, 13:06 Mateo, @.***> wrote:

Please email me at:
me (at) matc (dot) io
—
Reply to this email directly, view it on GitHub
https://github.com/MatthewC/yourls-password-protection/issues/24#issuecomment-1868512960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCANRXHQIMLTWLB3G35X7B3YLASCJAVCNFSM6AAAAABBBNIXNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGUYTEOJWGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Photos footer has weird borders

elementary:

eXGTK:

Should be fixed. Please check it.

Fixed.


Overlay Vector Tile Base Map

Benefit
Overlay base map improvement by migrating to vector tile version.
Acceptance Criteria

[ ] Cartography updated
[ ] Vector tiles published

Notes
Work was done on an Overlay vector tile base map during the spring of 2023. Cartography and labels need some attention but the majority of the work has already been done.
Risks
No response
Issue Reference
refs #

Time was spent updating the city labels and Trax symbology.


List applying policies in KafkaChannel

Fixes #4038

Proposed Changes

🎁 List applying EventPolicies in KafkaChannel

Release Note

List applying EventPolicies in KafkaChannel

Docs

/cc @creydr

Wondering, why we don't see the GH action runs? :thinking:
/retest


Error - pip3 dysgu installation

Hi,
I am upgrading to the newest version of dysgu and I have the following error with pip3. I created a dedicated conda env especially for that.
Collecting dysgu
  Using cached dysgu-1.3.7-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (72.7 MB)
Collecting lightgbm
  Using cached lightgbm-3.3.2-py3-none-manylinux1_x86_64.whl (2.0 MB)
Requirement already satisfied: numpy>=1.16.5 in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from dysgu) (1.19.5)
Collecting networkx>=2.4
  Using cached networkx-2.7.1-py3-none-any.whl (2.0 MB)
Requirement already satisfied: pandas in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from dysgu) (1.3.3)
Requirement already satisfied: scipy in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from dysgu) (1.7.1)
Collecting click>=8.0
  Using cached click-8.0.4-py3-none-any.whl (97 kB)
Collecting scikit-learn>=0.22
  Using cached scikit_learn-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.4 MB)
Collecting edlib
  Using cached edlib-1.3.9-cp39-cp39-manylinux2010_x86_64.whl (327 kB)
Requirement already satisfied: pysam in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from dysgu) (0.17.0)
Collecting cython
  Using cached Cython-0.29.28-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.9 MB)
Collecting scikit-bio
  Using cached scikit-bio-0.5.6.tar.gz (8.4 MB)
  Preparing metadata (setup.py) ... done
Collecting sortedcontainers
  Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting joblib>=0.11
  Using cached joblib-1.1.0-py2.py3-none-any.whl (306 kB)
Collecting threadpoolctl>=2.0.0
  Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Requirement already satisfied: wheel in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from lightgbm->dysgu) (0.37.1)
Requirement already satisfied: python-dateutil>=2.7.3 in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from pandas->dysgu) (2.8.2)
Requirement already satisfied: pytz>=2017.3 in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from pandas->dysgu) (2021.1)
Collecting lockfile>=0.10.2
  Using cached lockfile-0.12.2-py2.py3-none-any.whl (13 kB)
Collecting CacheControl>=0.11.5
  Using cached CacheControl-0.12.10-py2.py3-none-any.whl (20 kB)
Collecting decorator>=3.4.2
  Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting IPython>=3.2.0
  Using cached ipython-8.1.1-py3-none-any.whl (750 kB)
Collecting matplotlib>=1.4.3
  Using cached matplotlib-3.5.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.2 MB)
Collecting natsort>=4.0.3
  Using cached natsort-8.1.0-py3-none-any.whl (37 kB)
Collecting hdmedians>=0.13
  Using cached hdmedians-0.14.2.tar.gz (7.6 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: requests in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from CacheControl>=0.11.5->scikit-bio->dysgu) (2.26.0)
Collecting msgpack>=0.5.2
  Using cached msgpack-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (322 kB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Using cached prompt_toolkit-3.0.28-py3-none-any.whl (380 kB)
Requirement already satisfied: setuptools>=18.5 in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from IPython>=3.2.0->scikit-bio->dysgu) (60.5.0)
Collecting matplotlib-inline
  Using cached matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
Collecting pexpect>4.3
  Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting stack-data
  Using cached stack_data-0.2.0-py3-none-any.whl (21 kB)
Collecting jedi>=0.16
  Using cached jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
Collecting traitlets>=5
  Using cached traitlets-5.1.1-py3-none-any.whl (102 kB)
Collecting backcall
  Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting pygments>=2.4.0
  Using cached Pygments-2.11.2-py3-none-any.whl (1.1 MB)
Collecting pickleshare
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.4.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
Collecting fonttools>=4.22.0
  Using cached fonttools-4.31.2-py3-none-any.whl (899 kB)
Collecting cycler>=0.10
  Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting pillow>=6.2.0
  Using cached Pillow-9.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
Collecting packaging>=20.0
  Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting pyparsing>=2.2.1
  Using cached pyparsing-3.0.7-py3-none-any.whl (98 kB)
Requirement already satisfied: six>=1.5 in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from python-dateutil>=2.7.3->pandas->dysgu) (1.15.0)
Collecting parso<0.9.0,>=0.8.0
  Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting ptyprocess>=0.5
  Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Requirement already satisfied: idna<4,>=2.5 in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from requests->CacheControl>=0.11.5->scikit-bio->dysgu) (3.2)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from requests->CacheControl>=0.11.5->scikit-bio->dysgu) (1.26.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from requests->CacheControl>=0.11.5->scikit-bio->dysgu) (2.0.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/kgagalova/.linuxbrew/lib/python3.9/site-packages (from requests->CacheControl>=0.11.5->scikit-bio->dysgu) (2021.5.30)
Collecting asttokens
  Using cached asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
Collecting executing
  Using cached executing-0.8.3-py2.py3-none-any.whl (16 kB)
Collecting pure-eval
  Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Building wheels for collected packages: scikit-bio, hdmedians
  Building wheel for scikit-bio (setup.py) ... error
ERROR: Command errored out with exit status 1:
   command<EMAIL_ADDRESS>-u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-22gwih1p/scikit-bio_fd5adfa3cbcc4059926676ebae73c81f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-22gwih1p/scikit-bio_fd5adfa3cbcc4059926676ebae73c81f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-c_4psgrc
       cwd: /tmp/pip-install-22gwih1p/scikit-bio_fd5adfa3cbcc4059926676ebae73c81f/
  Complete output (663 lines):
  running bdist_wheel
  running build
[....]
running build_ext
  creating build/temp.linux-x86_64-3.9
  creating build/temp.linux-x86_64-3.9/skbio
  creating build/temp.linux-x86_64-3.9/skbio/metadata
  gcc-5 -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC<EMAIL_ADDRESS><EMAIL_ADDRESS>-c skbio/metadata/_intersection.c -o build/temp.linux-x86_64-3.9/skbio/metadata/_intersection.o
  error: command 'gcc-5' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for scikit-bio
  Running setup.py clean for scikit-bio
  Building wheel for hdmedians (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command<EMAIL_ADDRESS><EMAIL_ADDRESS>build_wheel /tmp/tmpke8nnicz
       cwd: /tmp/pip-install-22gwih1p/hdmedians_34f0c0b3631144b6aeec2bd7484540bd
  Complete output (9 lines):
  running bdist_wheel
  running build
  running build_py
  running build_ext
  cythoning hdmedians/geomedian.pyx to hdmedians/geomedian.c
  /tmp/pip-build-env-b8fpnjvp/overlay/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-22gwih1p/hdmedians_34f0c0b3631144b6aeec2bd7484540bd/hdmedians/geomedian.pyx
    tree = Parsing.p_module(s, pxd, full_module_name)
  building 'hdmedians.geomedian' extension
  error: command 'gcc-5' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for hdmedians
Failed to build scikit-bio hdmedians
ERROR: Could not build wheels for hdmedians, which is required to install pyproject.toml-based projects

Looks like I have some issues installing gcc-5 on my system.
ERROR conda.core.link:_execute(699): An error occurred while installing package 'psi4::gcc-5-5.2.0-1'.
Rolling back transaction: done

LinkError: post-link script failed for package psi4::gcc-5-5.2.0-1
location of failed script: /home/kgagalova/miniconda3/envs/py3.7/bin/.gcc-5-post-link.sh
==> script messages <==
<None>
==> script output <==
stdout: Couldn't locate crtXXX.o in default library search paths. You may not have it  at all. It is usually packaged in libc6-dev/glibc-devel packages. We will try  to locate crtXXX.o with system installed gcc...
Installation failed: gcc is not able to compile a simple 'Hello, World' program.

stderr: ln: failed to create symbolic link '/home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/crt1.o': File exists
ln: failed to create symbolic link '/home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/crti.o': File exists
ln: failed to create symbolic link '/home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/11.2.0': File exists
ln: failed to create symbolic link '/home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/crtn.o': File exists
ln: failed to create symbolic link '/home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/11.2.0': File exists
/home/kgagalova/miniconda3/envs/py3.7/bin/.gcc-5-post-link.sh: line 98: /home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-conda-linux-gnu/11.2.0 /home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/specs: No such file or directory
sed: can't read /home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-conda-linux-gnu/11.2.0 /home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/specs: No such file or directory
sed: can't read /home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-conda-linux-gnu/11.2.0 /home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/specs: No such file or directory
sed: can't read /home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-conda-linux-gnu/11.2.0 /home/kgagalova/miniconda3/envs/py3.7/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/specs: No such file or directory
/home/kgagalova/miniconda3/envs/py3.7/gcc/libexec/gcc/x86_64-unknown-linux-gnu/5.2.0/cc1: error while loading shared libraries: libisl.so.10: cannot open shared object file: No such file or directory

return code: 1

()

Do you have any suggestion on how to install dysgu with pip3? Thank you in advance

Hi @KristinaGagalova,
As you say, it looks like the gcc-5 command is not working. Its possible your system has an older version of gcc that is functional, this may help https://askubuntu.com/questions/26498/how-to-choose-the-default-gcc-and-g-version
If you have docker installed that might also work.

Is there possible to provide an example of a Docker run? Thank you

Yes of course. There is an example shown on dockerhub page: https://hub.docker.com/repository/docker/kcleal/dysgu/
An example workflow using docker:
# Make an 'input_folder', put your bam file and reference genome inside:

.
├── input_folder
│    ├──sample.bam
│    ├── reference.fasta
│    └── reference.fasta.fai
└── ...

# Make an 'output_folder':

mkdir output_folder

# Set up docker:

docker pull kcleal/dysgu
docker run -it \
     --mount src="${PWD}"/input_folder,target=/input_folder,type=bind \
     --mount src="${PWD}"/output_folder,target=/output_folder,type=bind \
     kcleal/dysgu
cd input_folder

# Run dysgu:

dysgu run reference.fasta wd sample.bam > ../output_folder/sample.vcf

it worked fine, thank you.

Good to hear


[RFC] Improvements for internal Icon component

Background
Currently we have a simple icon component internally which we use in all our components. Usually those components accept an icon prop, which takes the icon name as a parameter.
Issues with the approach
This approach allows all our components to be able to use icons from the material design library, which mostly works. But when users need to use an icon (a different icon font, an image) which is not available in the material design library, they have to rewrite the component from scratch.
Proposal
The idea is to make the icon prop more versatile, right now it's a string
type IconSource =
  | string // it's a material design icon font name
  | ImageSource // it's a object similar to what's passed to Image, { uri ... }, require(...) etc.
  | React.Element<*>

The changes will need to be done in the  Icon component to allow these. The components using the Icon component will need 2 changes, update the type definition of icon prop to IconSource and update the prop name passed to Icon.
This will benefit all the components which support a icon prop and they'll be able to render any kind of icon, be it a material design icon, an image or a react element.
Thoughts? Any ideas for improvements to API?

Icon accepts icon right now? I thought right now it accepts only name ?

No, components which use Icon accept icon prop. ToolbarAction for example.

I see, well API will continue to accept string (material one) so I am totally ok with this proposal.

So basically, we should be able to call sth like below?
const withUri = {uri: 'https://facebook.github.io/react/img/logo_og.png'}
const required = require('./my-icon.png')
const Comp = <Image source={...} />
<Button icon={withUri} > withUri</Button>
<Button icon={required} > required</Button>
<Button icon={Comp} > Comp</Button>

Yes

Done.


Error invoking remote method 'desktop-backend': Error: "invalid daemon settings: "host":\n Invalid option"

File: engine/reference/commandline/dockerd.md
MacOS: 11.6
Docker Engine: v20.10.8

@finagin, thanks for sharing the issue. For support, please try the Docker forums or Slack.

https://forums.docker.com/
https://dockercommunity.slack.com/


Implement errorsAreFatal, onExit and onError parameters to the spawn functions

dart2js needs to implement the newly added optional parameters for the spawn functions which have been added as part of https://codereview.chromium.org/1240743003/.

The tests for this feature on dart2js (error_exit_at_spawn_test, error_at_spawn_test, exit_at_spawn_test) timeout on browsers. Skipping them for now (see https://codereview.chromium.org/1240243003).


Fix: #902 'Problem using SVG with LinearGradient when exporting to PNG' issue.

Reference Issue

Fixes #902
Ref. #224 and #314.
What does this implement/fix? Explain your changes.

Any other comments?

rounding error with float values.
The elements in this array are represented by float values between 0.0f and 1.0f

@mrbean-bremen may it is possible that this fix, "re enable" issue #224?
Because since 3.4.0 i got this exception, when i try to "export" some svg files as png.
With 3.3.0 it works the "export" works fine

@stubbfel
What SVG files do error occur with ?

@H1Gdev  like this
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Test_Gradient_Svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" width="105px" height="300px" viewBox="0 0 105 300" enable-background="new 0 0 105 300" xml:space="preserve">
<linearGradient id="Grad_1" gradientUnits="userSpaceOnUse" x1="-166.498" y1="-43.168" x2="121.502" y2="210.832">
	<stop  offset="0" style="stop-color:#F1F1F1"/>
	<stop  offset="1" style="stop-color:#3C3C3B"/>
</linearGradient>
<path id="Grad_2" fill="url(#Grad_1)" stroke="#858594" stroke-width="0.75" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d=""/>
</svg>

file: test_gradient.svg
note: this file was created only to demonstrate the issue

This is another cause.
I will consider how to fix it.


Add SqlCatalog _commit_table support

https://github.com/apache/iceberg-python/issues/262
This PR takes much code-spiration from @HonahX 's recent PR for a similar feature enhancement to the Glue Catalog.
The only difference here is that we use the metadata_location as the optimistic locking parameter to ensure that the version of the table we used to validate the requirements on is still the same when the SQL update is being made.
EDIT:
for methods that require rowcount on UPDATE and DELETE for optimistic locking, we now fallback to "SELECT ... FOR UPDATE" sqlalchemy expression with_for_update to acquire a row level lock if the sqlalchemy dialect does not support rowcount for UPDATE / DELETE
https://docs.sqlalchemy.org/en/14/core/internals.html - supports_sane_rowcount

Thanks @syun64 for working on this 👍


Debian looking to backport parser changes for CVE-2021-37714

Hello,
Thank you for your work on jsoup. However, since we have CVE-2021-37714 (which is fixed in the latest release), I'd like to backport the fixes to older releases (in Debian). To do that, I need to know the relevant commits that are sufficient to be backported for fixing the mentioned CVEs. On a quick look, it wasn't clear which ones are they, could you please point me to them? TIA! \o/

Hi,
Personally, I am quite wary of the idea of trying to backport these changes to the old version of jsoup that Debian publishes. There have been many changes to the parser and related classes since that release, and I don't know how cleanly the patches will apply, and whether that could then still be considered a 1.10.x version. It would be some hybrid fork between 1.10 and 1.14.2 and is in my view likely to behave differently (including creating different parse trees) than any published version of jsoup.
My strong recommendation is that users upgrade to 1.14.2, and get into a position to stay up to date with the current version.
Here are the details on the changes:
I believe that I included the "Fuzz" label on each issue, which links to the relevant commit:
Closed issues with Fuzz label: https://github.com/jhy/jsoup/issues?q=label%3Afuzz+is%3Aclosed
You would need to pick up at least the changes in the parser from 1.14.1 and 1.14.2. Given that Debian is running such an old fork of jsoup (1.10.2, from Jan 2017) there are probably other changes in the parser and related interacting classes that will be required.
Take a look at these files:
https://github.com/jhy/jsoup/blob/master/src/main/java/org/jsoup/parser/HtmlTreeBuilder.java
https://github.com/jhy/jsoup/blob/master/src/main/java/org/jsoup/parser/HtmlTreeBuilderState.java
History: https://github.com/jhy/jsoup/commits/master/src/main/java/org/jsoup/parser
Test history: https://github.com/jhy/jsoup/tree/master/src/test/java/org/jsoup/parser
Specific tests:
https://github.com/jhy/jsoup/blob/master/src/test/java/org/jsoup/integration/FuzzFixesTest.java
https://github.com/jhy/jsoup/blob/master/src/test/java/org/jsoup/integration/FuzzFixesIT.java
(Should be enough to identify that any infinite loops are detected that were fixed with the 1.14.2 release, but won't tell us if there are other instances in the Debian fork that were not identified - as these tests resources only include failures the fuzzer detected in the HEAD version it was running against. If you do create this fork I would suggest also setting up similar fuzzing infrastructure to build confidence)

Hello @jhy,
Thanks a bunch for your detailed reply! 🎉

Personally, I am quite wary of the idea of trying to backport these changes to the old version of jsoup that Debian publishes. There have been many changes to the parser and related classes since that release, and I don't know how cleanly the patches will apply, and whether that could then still be considered a 1.10.x version. It would be some hybrid fork between 1.10 and 1.14.2 and is in my view likely to behave differently (including creating different parse trees) than any published version of jsoup.

Aha, I see! (more below)

My strong recommendation is that users upgrade to 1.14.2, and get into a position to stay up to date with the current version.

We'll indeed move to 1.14.2 in the newer releases of Debian, however upgrading to the latest version in the older releases (buster, stretch, jessie) isn't really a viable option, I am afraid. :(

Here are the details on the changes:
I believe that I included the "Fuzz" label on each issue, which links to the relevant commit:
Closed issues with Fuzz label: https://github.com/jhy/jsoup/issues?q=label%3Afuzz+is%3Aclosed

Oh wow, that is an awful lot! Are these all, more or less, affiliated to CVE-2021-37714?

You would need to pick up at least the changes in the parser from 1.14.1 and 1.14.2. Given that Debian is running such an old fork of jsoup (1.10.2, from Jan 2017) there are probably other changes in the parser and related interacting classes that will be required.

Hah, I was also looking forward to backporting this to v1.8.1. But now as I see it, that's a bit too ambitious, I guess? Is it even possible to go back so far w/o causing regressions, et al?

Let me know if I can help detail out anything else!

Thank you so much! 🎉

Oh wow, that is an awful lot! Are these all, more or less, affiliated to CVE-2021-37714?

Yes.

Hah, I was also looking forward to backporting this to v1.8.1. But now as I see it, that's a bit too ambitious, I guess? Is it even possible to go back so far w/o causing regressions, et al?

The logical structure of the parser is pretty similar between 1.8 and 1.10. So I'm not sure how much of a bigger piece of work it would be. (The parser structure changed largely in 1.6.) The object layout of the nodes package changed in 1.12 which I expect you would need to accommodate.
While you're in there, maybe you could fix the build so that the test results are not just ignored?
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893212
https://salsa.debian.org/java-team/jsoup/-/blame/master/debian/maven.properties
Seeing that made me lose a lot of trust in Debian's QC practices.

(Closing, but please feel free to reopen if there's any more Qs or discussion points. Thanks!)


[Feature Request] postfix listen on IPv6 address

Is there any environment variable available to set postfix so that it listens on the container's IPv6 address as well as its IPv4 address?
I have tried LISTEN_IPV6, but, as per the readme, it only makes the web server listen on the IPv6 address, not postfix. And I couldn't find any other variable that seemed fit for this purpose.
If there isn't, could a variable be added for this purpose (or could LISTEN_IPV6 be repurposed), please?
Many thanks.

SUPER!!!
many thanks!


How To enable install of modules from drupal.org

Issue Type

Bug Report / Support Request
Documentation Report

Your Environment
Vagrant 1.8.7
vbox 5.1.10r112026
ansible <IP_ADDRESS>

Your OS
ubuntu 14.04.1, 64bit.
Full console output
Summary
My first time using drupal-vm; set it up without a problem and initializes fine, able to connect to my drupal instance (created on the fly by having 'build_composer_project' set to true).
After sshing into the vagrant instance: I run: composer require drupal/devel:1.x to install a module.
output https://gist.github.com/skorasaurus/c34b556c8bfd9e02c868a4beb50441a9
I'm a unclear why packages within composer aren't found by default when the default composer.json for a new project includes drupal.org
How does a user install additional modules in composer to the newly created drupal site?
I haven't modified config.yml at all; just getting my bearings wet, learning Drupal through drupal-vm.
(Sorry, I'm aware that this is a request for support, and after reading over the docs, I wasn't sure if there was any informal place - i.e. slack/IRC channel to ask them and couldn't find an answer after some search and trial and error).

No problem at all! This is a great place to ask away.
One quick note (don't have time for more right now)—you can add a module using all Drupal VM's defaults by adding the following to a config.yml file:
drupal_composer_dependencies:
  - "drupal/devel:1.x-dev"
  - "drupal/xhprof:1.x-dev"
  - "drupal/honeypot:^1.0"

drupal_enable_modules:
  - devel
  - xhprof
  - honeypot

The second command only takes effect on the first provisioning of the VM, when Drupal is initially installed.

Closing as I assume @geerlingguy explanation was sufficient. If you're having any further questions or issues, please open an issue.


Add "force_dnld" parameter and other improvements to download functions in base.py/associations.py

The dnld_ncbi_gene_file function in associations.py has a force_dnld parameter that forces the function download the NCBI Gene2GO file even if it's already there.
I think this should also be available in the download_go_basic_obo download function in base.py, for applications that want to maintain up-to-date data files at all times. And also all other download functions in the library.
Another thing that could be nice is a separate parameter for selecting a directory to download files to.
And of course, all of these parameters should also be available in the "getter" functions like get_godag and get_assoc_ncbi_taxids that both download and read the files.
By the way, why are Gene2GO and GAF download functions duplicated in both base.py and associations.py?

I attached the "help wanted" label to this code request. Melnorme1984's idea is a good one. I do not have time to make this change right now. If anyone is interested, your contributions will be much appreciated.


Add nominee: High Resolution Population Data for Humanitarian Operations

Automatic addition of a new nominee submitted through the online form available at https://digitalpublicgoods.net/submission

@lacabra would like to suggest to the project owners to consider using a more catchy project name that is more specific and less generic than the current one.

@lacabra would like to suggest to the project owners to consider using a more catchy project name that is more specific and less generic than the current one.

@nathanbaleeta: Yes, agreed on both counts, unless there is a good reason for this repo to live on a personal account, please check in with Dohyung

@nathanbaleeta: Yes, agreed on both counts, unless there is a good reason for this repo to live on a personal account, please check in with Dohyung

Digital solutions that are no longer active, or do not provide the required documentation needed for review, will be moved into the archive hence moving High Resolution Population Data for Humanitarian Operations to archives as per the archiving policy. Thanks.


Change default metric for gamma regression to deviance.

Cleanup the gamma implementation.
Use deviance instead since the objective is derived from deviance.

We can perhaps get a better initial estimation.


Support Hermes-2-Pro and auto mode

This model just got released today, it's miles ahead of any other open-source function calling models I've tried.

Woah need to try that one! Not my best time irl but i’ll find some time soon or late to try it out. Thanks for sharing


moved ja-che to Parietal-INRIA

This branch aims at rooting all the builds on Parietal-INRIA rather than ja-che for long terme support.

Closing at it is superseded by #3


Add UEFI iPXE Bootloaders

Add UEFI iPXE Bootloaders to build jobs and test out.

Closing this out, working on https://github.com/antonym/netboot.xyz/issues/154 instead.


Migrate from spectron to playwright

Doc: https://playwright.dev/docs/api/class-electron
Example test: https://github.com/cawa-93/vite-electron-builder/blob/7d2df55fd8a0b3a803963d62558f719c9034ba2a/tests/app.spec.js

Done.