Build error

hello,
I build the project ,  use "catkin_make -j1", but got:
-- +++ processing catkin package: 'uwb_calibration'
-- ==> add_subdirectory(uwb_calibration)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Found Boost: /usr/include (found version "1.65.1") found components: system thread iostreams chrono date_time atomic regex
-- Found required Ceres dependency: Eigen version 3.3.4 in /usr/include/eigen3
-- Found required Ceres dependency: glog
-- Found required Ceres dependency: gflags
-- Found Ceres version: 2.0.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SchurSpecializations]
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Reflexxes_LIBRARIES
linked by target "slam_pp_node" in directory /home/bran/catkin_uwb_imu/src/slam_pp
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Makefile:2103: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
Then in the slam_pp/CMakeLists.txt,  I found:
find_library(Reflexxes_LIBRARIES flexxes ${PROJECT_SOURCE_DIR}/exLib/Reflexxes)
set(Relfexxes_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/exLib/Reflexxes/Reflexxes)
But not the folder
What can I do ? Thanks a lot.

Hey there, you should install Reflexxes library first, and the lib could be downloaded from this site http://www.reflexxes.ws/

Hey there, you should install Reflexxes library first, and the lib could be downloaded from this site http://www.reflexxes.ws/

hello,
I build the project , use "catkin_make -j1", but got:
-- +++ processing catkin package: 'uwb_calibration' -- ==> add_subdirectory(uwb_calibration) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Found Boost: /usr/include (found version "1.65.1") found components: system thread iostreams chrono date_time atomic regex -- Found required Ceres dependency: Eigen version 3.3.4 in /usr/include/eigen3 -- Found required Ceres dependency: glog -- Found required Ceres dependency: gflags -- Found Ceres version: 2.0.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SchurSpecializations] -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Reflexxes_LIBRARIES linked by target "slam_pp_node" in directory /home/bran/catkin_uwb_imu/src/slam_pp
-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. Makefile:2103: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
Then in the slam_pp/CMakeLists.txt, I found: find_library(Reflexxes_LIBRARIES flexxes ${PROJECT_SOURCE_DIR}/exLib/Reflexxes) set(Relfexxes_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/exLib/Reflexxes/Reflexxes) But not the folder
What can I do ? Thanks a lot.

hello,
I build the project , use "catkin_make -j1", but got:
-- +++ processing catkin package: 'uwb_calibration' -- ==> add_subdirectory(uwb_calibration) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Found Boost: /usr/include (found version "1.65.1") found components: system thread iostreams chrono date_time atomic regex -- Found required Ceres dependency: Eigen version 3.3.4 in /usr/include/eigen3 -- Found required Ceres dependency: glog -- Found required Ceres dependency: gflags -- Found Ceres version: 2.0.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SchurSpecializations] -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Reflexxes_LIBRARIES linked by target "slam_pp_node" in directory /home/bran/catkin_uwb_imu/src/slam_pp
-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. Makefile:2103: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
Then in the slam_pp/CMakeLists.txt, I found: find_library(Reflexxes_LIBRARIES flexxes ${PROJECT_SOURCE_DIR}/exLib/Reflexxes) set(Relfexxes_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/exLib/Reflexxes/Reflexxes) But not the folder
What can I do ? Thanks a lot.

Hello, I have the same problem as you, how did you solve this problem?

You can remove Reflexxes_LIBRARIES in CMakeLists.txt. There are no files using it.


SelectField can't open.

Problem description
I can't open the SelectField,that is it is not useful to click SelectField.But My code is just referred to  http://www.material-ui.com/#/components/select-field
Could you give me some suggestions?
Steps to reproduce
1.I write a div that contains a SelectField
<div>
         <SelectField
                            floatingLabelText="sex"
                            value={this.props.pageData.newUser == undefined?"1":this.props.pageData.newUser.sex}
                            onChange={(event, index, value) => {
                                let tempPageData = this.props.pageData;
                                tempPageData.newUser.sex = value;
                                this.props.changePageData(tempPageData);
                            }}
                        >
                            <MenuItem value="1" primaryText="man"/>
                            <MenuItem value="2" primaryText="woman"/>
                        </SelectField>
 </div>

The default value of SelectField is "1"
2.The Page shows as follows:

Versions

Material-UI: ^0.15.0
React: ^15.0.1
Browser: google cherome

The console shows no error.

http://localhost:3000/#/get-started/installation ?

@mbrookes I use npm install material-ui to install material-ui.I have already use TextField And Manu,so it seems that I have already install material-ui correctly

how did you solve this issue? I have having the same problem

Same here

Had the same problem, resolved it by installing react-tap-event-plugin

it doesn't work for me. i tried everything.. on setting showImmediately = {true} it menu shows but on click on any option it doesn't work. and without showImmediately, on clicking the select field, nothing works..

import injectTapEventPlugin from "react-tap-event-plugin";
injectTapEventPlugin();

try it @subhamagr @jackmoore

import React, { Component } from 'react';
import { MenuItem , SelectField } from 'material-ui'
import injectTapEventPlugin from "react-tap-event-plugin";

injectTapEventPlugin();

class MySelectField extends Component {
    constructor (props) {
        super(props);
        this._handleChange = this._handleChange.bind(this);
        this.state = {
            value: 1
        }
    }

    _handleChange (event, target, value) {
        console.log(event, target, value);
        this.setState({ value })
    }

    render () {
       return (
           <SelectField value={this.state.value} onChange={this._handleChange}>
                    <MenuItem value={1} primaryText="Never" />
                    <MenuItem value={2} primaryText="Every Night" />
                    <MenuItem value={3} primaryText="Weeknights" />
                    <MenuItem value={4} primaryText="Weekends" />
                    <MenuItem value={5} primaryText="Weekly" />
          </SelectField>
       )

Nothing works at all.

Sorry, I don't know.I solved it by this this way.@mbrookes But I know your misery because I have spent a lot of time on it.

yes i am stuck on it since 2 days! the click event doesn't fire at all. I don't know what to do. Not only this, the DropDown, PopOver and all nothing works!

Closing as this is not a Material-UI issue.
@subhamagr Please use gitter / SO if you're still having problems after installing react-tap-event-plugin and adding it to your top level module.

The solution for me was to upgrade React. I upgraded to 15.1.0 but I suspect ^15.0.0 will do the trick.

@subhamagr did u fix it ?

@safouman yes, I solved it buy upgrading react version to 15.1.0. If that doesn't work out for you, check the dependencies of material-ui and upgrade/install accordingly.

I have select fields that work most of the time. But very intermittently; when a user clicks the select field opens up. Then closes immediately.  Feels like an MUI bug.
"react": "^16.8.4"
"@material-ui/core": "^4.8.0",
"@material-ui/styles": "^4.7.1"


Change the thread context classloader

From<EMAIL_ADDRESS>on July 16, 2009 08:25:02
Change the thread context classloader to the PowerMock CL in each test
method to avoid reflection instantiation problems.
Original issue: http://code.google.com/p/powermock/issues/detail?id=131

From<EMAIL_ADDRESS>on July 16, 2009 06:30:22
Status: Fixed


Component - Modal

Design url: https://www.figma.com/file/eOUqz887O5EKZwIJhJQ13U/SubWallet-UI-Base?node-id=512%3A7736&t=xUY5tMM8fAwlcAyP-0
Test url: https://ui-preview.subwallet.app/?path=/story/modal-swmodal--primary

Design review: 5.6-Modal
Please check:

[ ] SelectModal: Add the hover properties when hover an item on list

[ ] SwModal -Default > footerElement = 0: Incorrect buttonColor

[ ] Responsive with other device

[ ] Update color


Bump Abacus

Coverage increased (+0.3%) to 89.717% when pulling 04aa33d05bf619ff098e0b8ac3141a364290f6d0 on SAP:fix-cfpush into 983671abb8d97df7b03ac2b21b6daa0ec4168ab0 on cloudfoundry-incubator:master.


Sourcemap support?

Does stylus support sourcemaps at all? Does that even make sense here?

@vladikoff What happened here? Stylus now supports sourcemaps so I am wondering if that functionality can be implemented in Grunt?


AndroidRunTimeException SettingsModule

Getting:

Fatal Exception: android.util.AndroidRuntimeException
Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?

on SettingsModule#onClick:125.
I'm using version 0.7.0. Also this is not reproduceable on every device. Happens on some Samsung and Sony devices. In any case the library should not crash.

This issue should've been fixed by this.

Thanks then I'll close this and wait for the next release.


Enhance Test Coverage for @yamada-ui/cli

package: @yamada-ui/cli
Description
@yamada-ui/cli has a test coverage of less than 80%. We will enhance it to above 80%.
Target files

packages/cli/src/index.ts
packages/cli/src/command/colors/index.ts
packages/cli/src/command/tokens/config.ts
packages/cli/src/command/tokens/create-theme-typings.ts
packages/cli/src/command/tokens/index.ts
packages/cli/src/command/tokens/resolve-output-path.ts
packages/cli/src/utils/assertion.ts
packages/cli/src/utils/cli.ts
packages/cli/src/utils/index.ts
packages/cli/src/utils/object.ts
packages/cli/src/utils/prettier.ts

Problem Statement/Justification
Testing is essential to ensure quality when operating a package.
Additional Information
While it's ideal to cover all tests, if there are too many lines to work on, please create a PR within your capacity.
Any deficiencies not covered by the PR will be automatically created as issues.

This test will not be performed as it cannot coexist with others.


Update/Optimize Queries for MapView and VibeEvents

User Requirement: N/A
Description:
See issue #124. Includes optimizing queries
Story Points: 2
Related Issues: #124

Work for this issue was done under #126 and will be closed by it once completed


fix(curriculum): check for correct method in test

I don't know how the code runs from here, but I'm assuming it should be the correct method now
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #42212

Hi @Halu89. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


Rune balances for spent outputs

I noticed that /output/<txid>:<vout> doesn't show the Rune balances for spent outputs. It also shows those outputs as indexed: false.
I'm working on a service that accepts Rune deposits from users (and will eventually spend the outputs associated with the users' deposits). The way I'm have currently implemented this is using the listsinceblock Bitcoin RPC api to list the all received transactions, and then for each txid/vout pair I query /output/<txid>:<vout> from the ord api to see the Rune amounts transferred as a part of that transaction. However, this doesn't work for outputs that have been spent before scanning the received transactions.
It would be very helpful to have access to the historical rune amounts transferred as a part of some output.
Maybe we could have a flag like --index-spent-runes, in congruence with --index-spent-sats?

Spending the outputs before knowing their runic contents will spend their runic contents willy nilly. Wouldn't you want to know their contents before spending them?

Spending the outputs before knowing their runic contents will spend their runic contents willy nilly. Wouldn't you want to know their contents before spending them?

In my use case, the UTXOs are held in an n-of-m P2WSH wallet that's being scanned by multiple backend instances. It's possible that one instance is down and the other instances agree to spend the outputs. After that, it's not possible for the other instance to scan them properly.
Even if we ignore my use case, it would be a useful feature to be able to construct the Rune transaction history of a wallet. I don't think it's currently possible, at least easily.

I think this is a pretty common thing to need. Just saw this tweet today which mentions the same thing.

We could revive our transaction index and adapt it to also store runic information. It's more overhead to index and store but exchanges and @koirikivi probably wouldn't mind the extra overhead.

It probably makes sense to have an option to index spent runic outputs without that also indexing every spent output.


Facing issue while importing JS file in Angular 1.x version with typescript support

Hi Team,
Our requirement is to build angular 1.x with typescript support with bundle all files into one using webpack. And we are facing issues while importing the javascript files in TS file, but it is working when we use CDN files. Please find the sample below.
Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/button_sample-1693428658
Could you please check the above sample and do the needful.
Regards,
Sangeetha M

This sounds like a general support question. Please, use one of the appropriate support channels for these types of questions.
GitHub issues are reserved for bug reports and feature requests.
Thx!


AWS version

A lot of people prefer that over Google Cloud, so how about adding support for that as well?

Unenigx


Improve typing syntax and type NamedTuples

This PR changes type hints to use the PEP 526 typing syntax and replaces untyped collections.namedtuples with typing.NamedTuples.

Thanks!


Missing error checks

It's possible the cmd.Start can return an error (missing binary, missing file permissions). This error should probably be returned to the caller and not ignored. If it's intentional that it's ignored it should look like:
_ = cmd.Start()

This stops linters from complaining about it.
https://github.com/cloudfoundry/mariadb_ctrl/blob/eb8cc58ba0312a489280cf88923aa50af7b29b41/os_helper/os_helper.go#L78
https://github.com/cloudfoundry/mariadb_ctrl/blob/eb8cc58ba0312a489280cf88923aa50af7b29b41/os_helper/os_helper.go#L54

@aarondl thanks for this. If this is causing you an issue, please feel free to submit a PR. Otherwise we will fix this when we next spend time in this codebase.

Closing this issue as there's been no response in a week. Please feel free to reopen or submit a PR.

I hadn't responded since it sounded like filing the issue had the desired effect; you said you'd fix it when you next spent time in the codebase. That was good enough for me :)


Handle render before load in frameback frame

Frame may already be fully rendered during _handleFrameLoad.

👍

👍

Thanks!


More expressive strategies

Currently, the "native" way for expressing strategies are to put them in a tuple/list. However this is not very good as the user will need to list out every function used if he/she wants to add one more step in the middle. A better solution is needed. Perhaps using two objects, Decl and Impl we can write a "framework" or syntactic sugar for writing strategies. To implement them:
impl = Impl.from_functions(ARTICLE_NODE)

@impl.replaces('get_etree')
def get_etree(doc):
    return something

And then to combine them:
pipe = Decl.from_functions(ARTICLE_NODE)\
           .after('get_etree', do='preprocess')\
           .after('histogram', do='store_data')\
           .plug(impl)
node = pipeline(fileobj, pipe)

Although I have yet to find an aesthetically pleasing method. The proposed one seems a bit ugly to me.
cc @rodricios

You're sort of putting into words what I had in mind with the decorators suggestion I made in #1.
Instead of decorator imp.replaces(..):
@impl.replaces('get_etree')
def get_etree(doc):
    return something

It'd be cool if the user can simply define get_tree; then a preprocessor, instigated by libextract.extract(..) or some global monitor scans and accesses the default get_tree and swaps it from it's original place in the _BASE strategy. I don't know if/don't think that's possible to do from within the decorated function...


Access Storage Account via service endpoint

I am not sure that one of the features advertised here actually works. I am referring to "Retrieve content for container instances from a service endpoint in the virtual network". I have deployed an ACI to a subnet following this tutorial and I have not been able to access a storage account with a vnet firewall rule for another subnet in the same vnet. Moreover I cannot deploy the ACI in the same subnet as the one in the storage account firewall because I get the following error:
az container create -g myrg \
                    --name cmdazcli \
                    --image microsoft/azure-cli \
                    --vnet-name myvnet \
                    --subnet aci-subnet

I get the error:
"Can not use subnet with existing service links other than 'Microsoft.ContainerInstance'."
Would it be possible to extend this documentation or create another one that covers specifically "Retrieve content for container instances from a service endpoint in the virtual network" ? Ideally a service endpoint for a storage account or a postgres database.
Thanks.

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

ID: 81e00caf-dd95-441b-d2d5-0b3c979cb11b
Version Independent ID: 83ed8e59-7ae8-332e-9ce0-7d80e8a973f8
Content: Deploy container instances into an Azure virtual network
Content Source: articles/container-instances/container-instances-vnet.md
Service: container-instances
GitHub Login: @dlepow
Microsoft Alias: danlep

Thanks for the feedback! We are currently investigating and will update you shortly.

@msalvadores I am creating a similar setup and trying to reproduce the issue. Once I have good information, I will share.

Thanks @jakaruna-MSFT

Thanks @tilnl I will look at it and will let you know.

@jakaruna-MSFT @tilnl within the same settings as the template provided by @tilnl I have tried to deployed a container in the same aci-vnet that accesses the same storage account aciteststorage and I am trying to mount a volume in the container with origin in share file in aciteststorage.

Deployment failed. Correlation ID: e1cc46ec-4b3c-435c-93a5-904715e18e29. Operation failed with status: 200. Details: Resource state Failed

On the other hand I can start an ACI without volumes ...
az container create \
    -g rg-aci-vnet-test \
    --name azcli-wo-volume \
    --image microsoft/azure-cli \
    --vnet aci-vnet \
    --subnet aci-subnet \
    --command-line "sleep 5000" \
    --restart-policy Never

and use az storage utilities to check connectivity between the ACI and the storage account.
I am sure my storage account settings for the ACI volume are correct because if I leave the storage account open for all networks then the ACI with volume deploys correctly.
The question at hand @tilnl is whether you could expand your template to demonstrate how to mount the file share in the ACI. Thanks again.

Share files in an ACI deployed in VNET with storage account firewalled to that VNET works ... I used the template provided by @tilnl  and test it with ...
az container create \
    -g rg-testvnet \
    --name azcli-with-volume \
    --image microsoft/azure-cli \
    --vnet aci-vnet \
    --subnet aci-subnet \
    --command-line "sleep 5000" \
    --restart-policy Never \
    --network-profile aci-networkProfile \
    --azure-file-volume-account-name aciteststorage \
    --azure-file-volume-account-key $STORAGE_KEY \
    --azure-file-volume-share-name acishare \
    --azure-file-volume-mount-path /aci/share

NOTICE: It is very important to use the network profile setup in the template otherwise it will create a new one with a default name that does not work. That sent me down a rabbit whole but finally realized about the error.

@msalvadores Great to know it works. We will update the related documentation to clarify it too.

Connectivity to secured postgres Azure service with vnet firewall rule to the same vnet/subnet as the one with ACIs worked. I used the template provided and modified the subnet to allow Microsoft.Sql service endpoint. I run psql within an ACI terminal from the portal to test connectivity.

@tilnl @jakaruna-MSFT with these final tests I can move on with our deployments. I will leave this issue open and feel free to close it when the docs are fixed. Thanks for your help on this.

I will close this out for now. If you need additional help please let me know and we can reopen and continue.


HHH-13728 JPQL for Enum with converter

Added new test which shows that JPQL with enum with custom converter fails to build correct query.

https://hibernate.atlassian.net/browse/HHH-13728

This test actually passes in H7.


[Apple Mail]...not pulling all  the inboxes in multiple accounts in mail app

Extension
https://raycast.com/yug2005/mail
Raycast Version
1.81.2
macOS Version
No response
Description
Error:
Error: Command timed out after undefined milliseconds: osascript
Timed out
    at Timeout._onTimeout (/Users/jarvis/.config/raycast/extensions/9abdb4fc-f5ee-4ee8-ade4-2296de586cef/see-recent-mail.js:8:322615)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)

Steps To Reproduce

Current Behaviour
got 4 accounts in my mail app of MacBook. I see it pulling some other folder such as "draft" "important". however when I do recent mails command it times out.
Expected Behaviour
either pull the mails or give a recommendations how to fix that.

@passwordless-OTP We made a few changes in # that can cause this:

Earlier any errors from osascript were being swallowed and now they are exposed. But if the commands were working for you earlier then I don't suspect this is an issue as you wouldn't have seen any messages in "Recent Mail" command (w/o any error)
The "Message Limit" preference was not being applied to "Recent Mail" command. Earlier the osascript was only retrieving first 10 messages per account and then slicing the first 5 of those 10 to render the List. Now, osascript will retrieve messages based on the "Message Limit" preference and if it is large (and your message sizes are also large), I suspect that can cause a timeout. Can you try setting the "Message Limit" preference to 10?

ive set Message limit to 10 and 5 also but still keep getting the osascript error

ive set Message limit to 10 and 5 also but still keep getting the osascript error

Hmm I am not sure why it is saying undefined timeout, when the default value is 10 sec. Anyways, I am trying to increase the timeout to 30 sec to see if that helps.

@raycastbot assign me


Solution to the challenge added

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and reopened this PR to attempt to resolve "test existed without ending" Travis build error.

Hi,
As there has been no response from your end for a while, I am closing this PR.
Feel free to create a new PR if you still wish to make the changes you originally added in this PR.  Also, remember to re-sync your fork, so you have the latest version of master in case it has changed significantly.
Happy Coding!


Supporting webSockets with Hawk

Curious to find out if the webSockets protocol is able to be used, when using this handler?
Upon my first trials with it, it seems to be trying to create a longPolling client, which is less than ideal.
Thanks.

Hello, I'll investigate this in the next weeks. Thanks for the question


Copy ARM firmware files to boot partition

Fixes #391
Signed-off-by: Klaus Kämpf<EMAIL_ADDRESS>

Rebased and refactored to make use of new CopyDirectory utility method.

I believe the logic to add this firmware files in EFI partitions should somehow be part of https://build.opensuse.org/package/view_file/isv:Rancher:Elemental:Dev/elemental-post-build-generate-rpi-image/generate-rpi-image.sh?expand=1

I believe the logic to add this firmware files in EFI partitions should somehow be part of https://build.opensuse.org/package/view_file/isv:Rancher:Elemental:Dev/elemental-post-build-generate-rpi-image/generate-rpi-image.sh?expand=1

It's already there (otherwise the .raw image wouldn't even boot 😉 ) - for the ~installation~seed image.
This PR, however, is for the elemental install part.

For now I'd vote to manage this in an after-install hook. I created an elemental-cli PR to execute after-install hooks earlier, just right after after-install-chroot, this way both are applied in the same step with the only difference of being in a chroot or not, which is also what the name suggests. This allows to run after-install hooks while the OS image being deployed is loop mounted and all the relevant partitions are also mounted, all in rw mode.
https://github.com/rancher/elemental-cli/pull/399
With this change we can easily consider adding a simpler after-install hook to do the job within the installation media, see https://build.opensuse.org/package/show/home:dcassany:Elemental:Dev/elemental-post-build-generate-rpi-image
With this two changes set for registering a RPi it would be needed to reference the additional hook by adding a config-urls flag in registration yaml:
    elemental:
      ...
      install:
        ...
        config-urls:
        - "/run/initramfs/live/01_rpi-install-hook.yaml"

Need validate this approach, but, for now, I think this should be the way to go and move use case specific logic to hooks.

@kkaempf I am building a RPi image in https://build.opensuse.org/project/show/home:dcassany:Elemental:Dev:Teal53 that should be ready to be used. Do you think you can get it a trial? I'd be more in favor of using the hooks approach rather than coding it into the elemental-cli grub install.
Just need to make sure to include the config-dir within the registration yaml:
...
install:
  config-dir: "/run/initramfs/live/elemental"
  ...

I wonder if it makes sense having this config dir as a default, so we can simply provide a custom config.yaml for elemental-cli by dropping it in /elemental on the ISO filesystem.

Closing as this has been fixed by adding an after-install hook in installation media.


[Help Wanted]: Disable TAB for accept suggestions

Before Reporting

[X] I have checked FAQ, and there is no solution to my issue
[X] I have searched the existing issues, and there is no existing issue for my issue

Describe your issue
Hi dear devs
Please could anyone help me to disable Accept Suggestions  on Tab but leave on ⌥} or any binding I configure.
The problem is I want to use Xcode IDE to Code Completion default, but instead copilot gives me a big part of code that I do not need with errors.
For example I miss clicked with name of class I want to use and on previous version (or without copilot) I use tab to correct my syntax, but now copilot give me a code that is incorrect(because there no UIImageiew), please tell how to disable Tab but have an option to use Accept Suggestions  on ⌥} , I really could find anything info that helped me.

The toggle is in the suggestion settings.


I am have a Little of trouble

Challenge Checkpoint: Word Blanks has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
    var result = "";
    // Your code below this line

    // Your code above this line
  return result;
}

// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");

Does not describe a problem. Please check out the gitter chat if you need help and file a bug that follows this guide if they confirm your issue is a site bug.
Thanks and happy coding!


can vlcmanager read vlm.conf?

Is the vlcmanager here is the same with vlm? can it execute vlm.conf? Thanks!

No.


Feature Suggestion: Leave find command in box after execution

Leave the command in the search box in case of typo

Moved to future implementation in developer's guide


Options Use Case - High Contrast UI Toggle

Implemented Options Use Case - High Contrast UI. Bug fixes.

Hi Justin,
I've reviewed your recent pull request regarding implementing the High Contrast UI use case and the bug fixes between SignupView and LoginView. Here's my feedback structured around our key review criteria:

Coding Style:

UI Modifications: The changes to implement the High Contrast UI are consistent with our UI design principles. Modifying the ScrollBar and ChannelsListC... (assuming ChannelsListComponent) aligns well with the intended high-contrast theme.
Consistency: Ensure that any UI changes follow a consistent style guide across the application. This includes font sizes, button styles, and color schemes.

Correctness:

Functionality: The implementation of the High Contrast UI should be tested across different screens and resolutions to ensure it maintains usability and aesthetics.
Bug Fix: The fix for transitioning from SignupView to LoginView should be validated to ensure it doesn't introduce new issues or affect other components.

Testing and Test Coverage:

UI Testing: Automated UI tests (if applicable) should be updated or added to cover the new High Contrast mode, ensuring its functionality across various use cases.
Bug Fix Validation: Include tests that specifically target the bug fix, ensuring that the issue is resolved and doesn't recur.

Documentation:

Code Comments: Ensure that significant changes, especially in the UI components, are well-documented in the code to assist future maintenance.
PR Description: The pull request description is succinct but could benefit from a more detailed explanation of the changes made, particularly regarding how the High Contrast UI was implemented and the specific bug that was fixed.
Great job and thank you for your work!
Best,
Hannah


enable diagnostics and extensions in vmss profile

Implements part of #555 and follows the same pattern as vm extensions

    resource_group = 'yugangw9'

Same comment. Rename to something general and turn into a RG test.

Refers to: src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_commands.py:982 in 05ae71e. [](commit_id = 05ae71edbb5dec79801c2a8c005742cbcf15d974, deletion_comment = False)

:clock1:


Update dependencies for newer versions of code.

usb v1.1.2 works on Raspberry Pi 2 Model B running Node v4.2.3 on Raspbian Jessie
There is nothing wrong with the blinkstick library, only that it depends on versin of usb which does not support nodejs v4+.

poke

bump. Just lost an hour working out the libusb/node4 issue

Thank you for merging, however, this has not made it's way into npm yet.
A version bump per semver rules should be performed.


Rename instrumentation deb/rpm package

Need to build/release a new package that includes the changes from the zero-config-dev branch to prevent breaking our installers, which are currently only designed to install/configure the existing splunk-otel-auto-instrumentation package.
Installation of this new package, splunk-otel-auto-instrumentation-ng, will automatically replace the old package.
Any ideas for the new package name are welcome. Once we settle on the new name, I'll update the docs accordingly.

Closing for now since this may not be needed (the breaking changes are minimal since it'd be just a new config file).


Handles TASK_STATUS with missing data field

There are some scenarios where TASK_STATUS can be sent without the data field set. This PR handles those scenarios.
If not handled, than it can lead to failure at runtime, causing a failure to record TASK_STATUS, leaving the state-machine in an incorrect state, and hence prevent scheduler from taking remedial actions.

Please retest this

retest this please

LGTM


Fixed the lock ordering between EDP and PDP

Fixed a deadlock problem when removing writer proxies / reader proxies releasing the PDP mutex pior to going down proxies.
Also, converted some pointers to smart pointers to avoid memory leakage.
Issue: #190

This PR resolves the deadlocking described in https://github.com/eProsima/Fast-RTPS/issues/200

Could you let us know if this is likely to be reviewed in the next week, please? (We understand that your team is busy, we just need to do something about the ROS 2 tests that are failing from https://github.com/eProsima/Fast-RTPS/issues/200, and an ETA on this PR will help us decide if we should pin fastrtps or just wait). Thanks!

Hi dhood,
yes, we will review this PR next week.

@guillaumeautran Last week a fellow worker tells me he detected a segmentation fault using your PR. I've checked it right now and get it too.
1: [ RUN      ] BlackBox_PreallocMem.EndpointRediscovery
1: Writer is waiting discovery...
1: Writer discovery finished...
1: Reader is waiting discovery...
1: Reader discovery finished...
1: Writer is waiting removal...
1: Writer removal finished...
1: Writer is waiting discovery...
1/1 Test #1: BlackboxTests_PreallocMem ........***Exception: SegFault 28.27 sec

It's good your intention of use shared_ptr, but I believe it has repercutions  knowing how that part is designed.
Anyway you can run our tests using ctest. Previously our CMakelists.txt has to have detected googletest libraries.


Datepicker doesn't hide when clicking "Done" in iOS keyboard

The datepicker shows when focusing the input element and the iOS keyboard shows at the same time. Clicking "Done" in this doesn't hide it. Any fix/workaround for this?

As of v1.1.2 - I've added a listener for the enter key - which should resolve this.
Can you please confirm?

Closing due to inactivity


Feature request: add shortcut keys and functions to delete from cursor to end of line, and from cursor to beginning of line

Description of the problem or steps to reproduce
Sublime Text has these shortcut keys and I'd like to use them in micro too.

To delete from the cursor position to the end of the line: Ctrl + K K (hold Ctrl and press K two times). I use this one a lot.

Current work-around in micro: Shift + Alt + RightArrow, then Backspace.

To delete from the cursor position to the beginning of the line: Ctrl + Shift + Backspace.

Current work-around in micro: Shift + Alt + LeftArrow, then Backspace.

Specifications

Commit hash: 225927b
OS: Linux Ubuntu 22.04
Terminal: terminator 2.1.1

It is already possible:
bind <Ctrl-k><k> SelectToEndOfLine,Delete
bind Shift-Ctrl-Backspace SelectToStartOfText,Delete

But please note (as often, terminal limitations are a PITA):

If you want to press K two times while still holding Ctrl (not release Ctrl before after the first K press), you may need to specify <Ctrl-k><Ctrl-k> instead of <Ctrl-k><k>, depending on the terminal.

Shift-Ctrl-Backspace may not work (again, depending on the terminal) so you may need to use some other keys.


Newbie guide somewhat lacking

I'd like to propose a rework of the documentation for this wonderful package.
There is a really short "Newbie guide" section, and after that, there seems to only be the technical documentation that lists individual functions etc.
The Newbie guide says this:
Let’s define some verbs then! To define default bindings for your verbs you’ll need to edit the INPUT_DEFAULT_PROFILES macro found in __input_config_profiles_and_default_bindings().
Unfortunately, it doesn't instruct the "Newbie" that __input_config_profiles_and_default_bindings() is a script file hidden inside "Input" --> "Configuration - Please edit these scripts!".
The next bit is also quite head-scratching:

When you import Input it’ll come with some default controls already set up. To explain this clearer, let’s delete everything that’s already in INPUT_DEFAULT_PROFILES and start fresh. You may also need to delete the contents of INPUT_VERB_GROUPS too.

This "Let's delete stuff and rewrite it" approach is weird.
I don't want to quote the entire page here, but sentences like:

Here’s a Step event for you to put in a character object or whatever!
Now, run the game and look at your hard work! Dang, aren’t those inputs tasty? Ooh, looky here, buttons!
or
Oh you sweet summer child, did you think we were done?

do create some weird impressions (such as "Will some touch buttons appear on the screen? Or what buttons are they talking about here?")
And that's basically it!
In a "Newbie tutorial", I would expect - and that's what I'm proposing - a TUTORIAL approach:

Tell them what you're about to teach them.
Then tell them what to do.
Then let them see what it DOES.
Then explain WHY it DOES it: how does each thing they did connect with what it does.
Then build on top of that with the next step.

At the very least, the Newbie section should feature:

binding several different inputs to the same verb ("shoot").
Checking for the input and shooting.
checking for a DOUBLE CLICK/DOUBLE TAP to achieve a different action using the SAME input (Something like "Double Tapping the shoot input will instead lob a grenade").
Resolving the issue that when you double tap, it first shoots and THEN lobs a grenade -- how do I prevent the single shot when double tapping?

Please author a PR with your recommendations.


ASGI HTTP protocol 2.4: send() may raise OSError

In the ASGI HTTP & WebSocket protocol version 2.4, calling send() on a closed connection should raise an OSError.
...but I haven't really been able to reproduce this in real servers (Uvicorn, Hypercorn).
Also, considering how the flow usually looks like, this is more important for WebSockets, which will be addressed separately in #2292.

This gets probably even less urgent now that It Uvicorn has backpedaled on this change, and reverted back to the 2.3 version of the spec: https://github.com/encode/uvicorn/issues/2271.


add draft speaker list

What happened
Add speakers page including non-keynote speakers. Add information provided by speakers once provided via the form. Change twitter link to allow one twitter or mastodon social_url plus a website
Insight
Describe in details how to test the changes; referenced documentation is welcome as well.
Proof Of Work
Show us the implementation: screenshots, gif, etc.

@citizen428 With Matt away, can you check the content for the speakers? Is it now complete so that it can be published?

@olivierobert Sorry, I was/am busy and didn't see your message until now. I'll let you know by tomorrow the latest, but I think there might still be speakers missing.

There are some outstanding will paste the link on slack

i think this can be merged now, we can add Steven Baker when we get the info and Lachlan when confirmed.


Conflict while using this plugin with google analytics plugin

Hi,
I've been trying to use this plugin however, my app doesn't build for android.
This is the stacktrace:
:buildMetadata
Exception in thread "main" java.lang.IllegalArgumentException: Class com.google.android.gms.internal.zzk$zza conflict: /Users/path/to/platforms/android/build/intermediates/exploded-aar/com.google.android.gms/play-services-basement/9.0.2/jars/classes.jar and /Users/path/to/platforms/android/build/intermediates/exploded-aar/com.google.android.gms/play-services-ads/7.5.0/jars/classes.jar
at com.telerik.metadata.ClassRepo.cacheJarFile(ClassRepo.java:21)
at com.telerik.metadata.Builder.build(Builder.java:39)
at com.telerik.metadata.Generator.main(Generator.java:44)
:buildMetadata FAILED
FAILURE: Build failed with an exception.
This is the other plugin: https://www.npmjs.com/package/nativescript-google-analytics
Any idea is welcome! Thanks.

as a side note, i guess it's not related to analytics plugin.
I removed analytics plugin but it still throws the same error during the building.

I just changed the gradle include - can you remove the plugin and android platform, and re-add them? Please check that this change is part of your build.

Thanks for the fast reply Eddy!
I removed the plugin, added again, deleted node_modules and platform/android folders and rebuilt it but still have the same problem :/
I don't have include.gradle btw under my platforms.


Fails to compile on SPARC due to missing CHAR_CORENAME

After fixing #1442, compiling on SPARC still fails:
openblas_get_config.c:58:3: error: expected ',' or ';' before 'CHAR_CORENAME'
   CHAR_CORENAME
   ^
openblas_get_config.c: In function 'openblas_get_corename':
openblas_get_config.c:81:10: error: 'CHAR_CORENAME' undeclared (first use in this function)
   return CHAR_CORENAME;
          ^
openblas_get_config.c:81:10: note: each undeclared identifier is reported only once for each function it appears in
openblas_get_config.c:85:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[3]: *** [Makefile:113: openblas_get_config.o] Error 1

The problem is that the autogenerated config.h does not define CHAR_CORENAME:
#define OS_SUNOS        1
#define ARCH_SPARC      1
#define C_GCC   1
#define __64BIT__       1
#define PTHREAD_CREATE_FUNC     pthread_create
#define BUNDERSCORE     _
#define NEEDBUNDERSCORE 1
#define SPARC
#define V9
#define DTB_DEFAULT_ENTRIES 32
#define GEMM_MULTITHREAD_THRESHOLD      4

When passing TARGET=SPARC, everything works because a line #define CHAR_CORENAME "sparc" is added.
This should be easy to fix analogous to #1443 but I don't know what the right fix is. Should CHAR_CORENAME be defined or not?

Please take some inspiration from here, namely add variables until it compiles:
https://github.com/xianyi/OpenBLAS/pull/1443/files
It is not very productive asking one line a time

I suspect the cpuid_sparc.c should grow a get_corename() function that returns "sparc", and getarch.c needs a corresponding expansion of the "if defined..." that invokes it.
But I have to agree that it is not easy to see how (if) this was originally intended to work. :-(
The chance of breaking something seems minimal however, and the relevant files seem to have a history of "improved sparc detection" fixes

Maybe SPARC64? Old is sort of forgotten. Also I read in other places that Oracle dropped Sun Performance Library, LAPACK in other words from developer studio with solaris 11


Update autorest version to prerelease 3.0.0-alpha.20240521.7

Triggered from pull request: https://github.com/Azure/autorest.csharp/pull/4707

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


Can pinocchio parse xacro files directly

Can pinocchio parse xacro files directly

Hello @JiangShangJiu,
No, pinocchio can parse URDF, but it can't parse xacro macro language.

You can translate xacro into URDF easily: https://docs.unity3d.com/Simulation/manual/author/create-a-vehicle-model/convert-a-xacro-file.html


BAEL-20874 move spring boot libraries

[retest this please]
Note: this comment is for the Jenkins CI. No action required from author.


Possibly rename rep_periods_mapping

What and Why
Since we have timeframe now, does it make sense to change the name?
Possible Drawbacks
No response
Related Issues
No response

@datejada Thoughts?

@abelsiqueira, regarding the workflow between TulipaClustering and TulipaEnergyModel, I agree that we can have a better name to make it easy to follow. Would you happen to have any particular suggestions for the new name?

At some point, I was thinking of TimeframePeriod, although by the end of this week, I might have a different opinion.

Oh yeah, it is singular because of the table name refactoring that I'm working on (also affected by what happens this week) and that is being tracked in #415, the DBML.

Also see comments on discussion #688


Discussion: Investigate on IO

NFS vs SSD storage vs Inmemory
Correct way to benchmark ?

! ls is slow on jupyter notebook
Found a relevant discussion here:
https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c02753024
cc: @yuvipanda @costrouc

I noticed this too. But I was confused since import is; is.listdir() is instantaneous. Thank you for looking into this.


Font for suggestions is serif

Testing #223130
I tried enabling this feature on windows, and saw that the suggestions were not in a vscode font:

/duplicate https://github.com/microsoft/vscode/issues/210597


Why do we have npm, bower and grunt in the very same application?

http://stackoverflow.com/questions/21198977/difference-between-grunt-npm-and-bower-package-json-vs-bower-json
Looks like it gets a little bit outdated right now. Probably we should consider reducing the number of tools needed.

I've researched a little bit here. AFAIK inside Yandex.Toloka we have an iframe, so, theoretically, everything could be inserted there, even things such as React + ES6.
Moreover, tools that got an attention recently and could be considered are yarn and webpack. Probably we could check them out after tests would be written.

@nmingazov, we actually use ES6 as a code standard and, at least for now, it works fine within iframe inside Yandex.Toloka. However it is worth noting that we use a small number of ES6 features and some could actually lead to some bugs, since browser support for ES6 is still incomplete (see the Kangax compatibility table).
As for React, theoretically, yes, it may work. But operability of any JS library should be checked in Yandex.Toloka before usage, since projects with some libraries (e.g. Snap.svg) may work fine on the server, but crash with many bugs inside Yandex.Toloka.
@aykbadalyan will publish results of his research on the tools soon.

Ok, seems fine. Honestly, didn't check for ES6 as is.
I will wait for the research results and then, most probably, will switch this task to the delighters.

Bower - Package Manager
This tool is being used in order to add all the necessary dependencies to the project.
Usage of NPM was considered by me to be a worse approach for the particular case of our project, since in Toloka-based version we are not responsible for the back-end and in stand-alone version, if any, we are going to use Python on the back-end. In contradiction, NPM is being mostly used for a case when both back and front end(s) is written in JS.
The explanation for this is in fact that NPM installs the dependencies directly in the “system” (in some folder, for connecting to which we have a special path at the OS level). And bower installs the required dependencies into the application, which is more rational in our case.

Grunt - Build Automatization
This tool cannot be replaced by any one out of the two other tools. Grunt is considered to be an automatization tool with the help of which developers are able to write tasks such as testing, concatenation and/or minification of files. Throughout usage of this tool all the required tasks are being gone through each time there is a need and thereby the process removes any mistakes developers could do in case of working manually / doing mechanical job.
This tool cannot, for instance, install jQuery library in an adequate way - it may be possible, but is not considered to be a right approach and needs some additional time, which is most probably not going to bring equal value.

NPM - Package Manager
NPM is used for installation of the bower tool.

Webpack - Module Bundler
Webpack is able to stand instead of Grunt and has a restriction of Ecma-6 to be used.
In order for the modern browsers to correctly work with JS6, Babel should be installed.
Even in case if we decide to switch to Webpack, we will have to install NPM so that we can install the Babel and Webpack modules.

All the above mentioned information considers that in case if we want to switch the tools in an appropriate manner, pretty much work should be done (so that everything is implemented, tested and works properly).

I don’t find any sense in all this transformations because the true result we may reach is to use Webpack instead of Grunt, and due to the mentioned reasons both NPM and Bower should remain.
@nmingazov , overall, I assume that the integrated tools do and will do the whole job we need not worse than any available alternatives.

Ok, looks fine to me now. I will check this once again after we implement tests.

when I installed bower to run this project, it reported to me following warning:
npm WARN deprecated<EMAIL_ADDRESS>..psst! While Bower is maintained, we recommend Yarn and Webpack for *new* front-end projects! Yarn's advantage is security and reliability, and Webpack's is support for both CommonJS and AMD projects. Currently there's no migration path but we hope you'll help us figure out one.
/usr/bin/bower -> /usr/lib/node_modules/bower/bin/bower
/usr/lib
└──<EMAIL_ADDRESS>
so, it is better to replace this library.


Feature/lb node exporter

PR for #408 issue.
This PR adds:

installation of node-exporters with Ansibler on the Loadbalancers nodes
generating prometheus scrape-config and saving it as a secret in monitoring namespace (secret with scrape-config needs to be in the same namespace as prometheus)

Thank for the review @MiroslavRepka :) I will work on your suggestions

This PR is on hold until #606 will be fixed

As it turned out, the issue was in the scrape config template, which has been resolved in my latest commit. The CI verified the issue has been resolved, so we can merge this PR.


Add htk25 to Contributors list

Testing first pull request!

Hi  @htk25, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Thanks for this demo/guide. It's very clear, concise, and helpful for newbie.

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


ImportError: cannot import name 'initializations'

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[ ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

I have the same issue. My environment: tensorflow==1.1.0; Keras==2.0.3; Python 2.7.12; Ubuntu 16.04 LTS x64.
Running from keras import initializations  in the python interpreter triggers the issue:
>>> from keras import initializations
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name initializations

In Keras 2.0, initializations was renamed as initializers. You should therefore instead write
from keras import initializers
At 2017-04-23 11:40:24, "Franck Dernoncourt"<EMAIL_ADDRESS>wrote:
I have the same issue. My environment: tensorflow==1.1.0; Keras==2.0.3; Python 2.7.12; Ubuntu 16.04 LTS x64.
Running from keras import initializations in the python interpreter triggers the issue:

from keras import initializations
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name initializations

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

In Keras 2.0, initializations was renamed as initializers. You should therefore instead write
from keras import initializers

It worked for me !

In Keras 2.0, initializations was renamed as initializers. You should therefore instead write
from keras import initializers

It worked for me !

It works for me, too!


vopr: sometimes crash replicas permanently

Before, any replica would eventually restart with some probability,
which might mask some a liveness failure.
Now we allow the replica to crash permanently.

This is parametrized by a conditional probability of death upon crash
We make sure that there's at least a quorum of alive (but maybe
crashed) replicas
We exclude dead replicas from health checks in fn done()

Pre-merge checklist

[X] I am very sure this PR could not affect performance.

Closing in favor of https://github.com/tigerbeetledb/tigerbeetle/pull/880, as that's more general (allows nasty things like permanent assymetric partitions. )


iTunes not showing information or art on v1.2.0

Description
No long displays song information or album art for iTunes, Controls still work.
How To Reproduce

Open iTunes
Play song
Controls work but no song info
Downgrading back to 1.1.4 resolves issue

Version

Windows version Version 10.0.19044 Build 19044
iTunes version Version <IP_ADDRESS>
AudioBand Version 1.2.0

Thank you for your report, I already fixed this issue a couple days ago but didn't release anything yet.
If you'd like this is a working build with this fix (made this for someone who reported it in our Discord).
I will also try to get some more bugs done and release a new version on github in a few days with this bug fix in it.

Thanks, I checked for other issues but not the commit history. Works great!

Cheers!


Liquid output token as HTML tag name

Description
This issue or defect should not really be categorized as such but for the sake brevity I will label it accordingly. Liquid conditional tags or output token use as HTML (markup) tag names will fail and throw a parse error. Developers should avoid doing this in any sense because it's a horrible practice and despite Shopify engineers doing this in Dawn, you shouldn't blindly follow their lead.
Take the following
<{{ some.tag }}>
  Hello World
</{{ some.tag }}>

<!-- OR -->
<{% if x %}{{ some.tag }}{% else %}div{% endif %}>
 Hello World
</{% if x %}{{ some.tag }}{% else %}div{% endif %}>

Notice in the above code sample how HTML tag names are being defined using Liquid tokens. This is going to cause Prettify to fail, so don't do this for now and if you are leveraging Prettify on Dawn, simply remove the tags that apply such logic.
Context
In order to bring support for this in Prettify, I will need to augment the lexing algorithm. Some thought will be required here as developers may structure this expression in a chaotic manner. It's important that JSX logic is not affected by this logic as embedded type expressions can sometimes use such a structure.

Working towards this logic still. Likely something to happen in the first major.

Supported in v0.6.1.beta-1


Allow GREL to uniquely hash non-string types including arrays.

Closes #2037.  See the ticket for details.

Many thanks for looking into that! Sorry for the Travis issues, we need to fix our build.
I think hashing arrays is a perfectly valid motivation. Here are a few questions:

would it not be preferable to make sure that 5 and "5" are hashed to the same thing as it was the case before? Some of our users might potentially rely on this behaviour, so I would consider this as a breaking change.
concerning testing, would it not be preferable to assert equality (or difference) of hashes from two objects, rather than writing down the hash value in the tests? Your issue explains the motivation very well in terms of hashes of objects being equal or different, so I think the same sort of assertions should be used for the tests. Users probably do not care about specific hash values but rather about the collisions / non collisions.

Hey Antonin,
Thanks for your quick response.  Those are both great questions that I have spent some time thinking about.
First, concerning the tests, I think it is a great idea to add the assert equality (or difference) of hashes from two objects. I will add these tests once we resolve how types should be handled.  I think it is a good idea to keep the string equality tests in order to make sure sha1 and md5 are working as expected however.  For example, in a situation where md5 always returns null, the following test would pass although it does not really check that the md5 is created as expected:
Assert.assertEquals(new MD5().call(bindings, new Object[] { "5" }), new MD5().call(bindings, new Object[] { "5" }));
Does this make sense?
Second, the question of whether or not hashing should consider type or not is a good questions.  There are pros and cons on both sides of the argument.  Here are some arguments:
We should try to equate different datatypes during hashing:

Some users might rely on the hash of a string and non-string equating.
This change might be considered a breaking change.  md5(5.0) == md5('5.0') will now result in false.

We should consider different datatypes and different data during hashing:

The documentation never described sha1 or md5 as being able to take non-string arguments.  You could argue that because of this, the behavior was not well defined and should not be relied upon.

A user savy enough to use md5 or sha1 almost certainly has some understanding of datatypes, and should be able to address the cases that hash non-string values using GREL functions like toString and toNumber.

In GREL, if md5(5) == md5('5'), should that imply that 5 == '5'?  Because 5 != '5' in GREL, then shouldn't md5(5) != md5('5')?

If we were to let md5(5) == md5('5') what should the following return:
md5(5.0) == md5('5')
md5(5.) == md5('5.')
md5(5.) == md5('5')
md5(5.0) == md5('5.0')
md5(5.00) == md5('5.00')
md5(5.000000) == md5('5.000000')
md5(005.0000001000) == md5('005.0000001000')
It should not be expected that users know that java toString of 5.000000 gives "5.0".  I argue that md5(5.00) == md5(5.000) because 5.00 == 5.000; and md5("5.00") != md5("5.000") because "5.00" != "5.000".  So why should md5(5.00) == md5("5.0"), but not md5(5.00) == md5("5.00")?

Type is important in GREL, and it should be considered.  toString can fundamentally change the data representation.  For example, what is the output of toString(toNumber("4e3"))?  "4e3"? "4.0e3"? "4000"? "4000.0"? "4000.0000"? "0004000"?  Hashing should not misrepresent your data.

What are your thoughts on all of this Antonin?
Thanks for your input!

Thanks for the reply! My personal preference would be to only change the serialization of arrays, so that the behaviour of hashing on other datatypes is preserved - that would avoid the breaking change. This is because OpenRefine already conflates objects with different datatypes but identical string representation in other places (such as the list facet), although this is something we are trying to fix too (but in a non-breaking way).
If you have a use case in mind where it is important that values with different datatypes are not hashed to the same thing, we could add a parameter to opt-in to this behaviour, or introduce new functions.
I know this might sound a bit over-cautious, but we have had issues in the past with seemingly innocuous breaking changes which ended up being severely damaging, so I prefer to err on the side of caution.

Just catching up on this issue and read it through.
I agree with @wetneb where we want to be cautious on breaking changes. (changing behavior of previous OpenRefine functions and making them incompatible)  But certainly introducing NEW functions or hashing methods is safe and as @wetneb says, we just need the use case.
Historically, OpenRefine (as a powertool where we let the user decide often) we left it to the user to determine if they wanted to Type their data or not.  Some folks are fine with just Strings.
If this use case is to provide MORE functions that let a user decide how to hash, then +1.
If this use case is to provide LESS functions and begin to control how to hash or assume many things for the user, then -1.

Thanks for the feedback @wetneb and @thadguidry.
The use case is to provide MORE functionality, and let the user decide how to hash.  This change allows users to choose how they manipulate their data:
md5(value)
md5(toNumber(value))
md5(toString(value))
As the hash functions are currently, refine makes the assumption that your values should be converted to strings.  It controls how data is hashed in a non-intuitive manner.  There is less functionality.
If you consider these changes as 'breaking', is it possible to include them in a next major release?

If type is to not be considered in the hash of a value, but arrays are handled in a more practical way, then a user could effectively capture the type of a value in a hash using a transformation of the type:
md5([value, type(value)])
I don't like it, but it does the job.  😃

What's the status of this? It's been inactive for a year. It looks like @wetneb gave a thumbs up to the last proposal, but that might not have triggered a notification.
Another approach to this would be to make sure that toString() returns reasonable values for arrays so that the existing practice of coercing to string would work more reasonably. That would be most in line with current OpenRefine practices (which aren't necessarily the best, but are established).

Let us close this since we have identified other ways to fix the issue. Thank you @lemmingapex for your contribution!


refmt shows incorrect version

No matter what version of reason-cli you're on refmt --version stuck on Reason 3.0.0 @ bee43b0. Tested on 3.0.5 and 3.1.0.

This should be fixed in the next release. See https://github.com/facebook/reason/pull/1849. Thanks for reporting.

Good, I think we can close this one then


Add aggregate param to tree_diff

Description
Aggregate will aggregate all the changes in tree_diff, only applies to move/shift and not new/removed changes
Testing

Additional notes

Checklist
I have read through the contributing guidelines and ensured that

[x] I have added a descriptive title for this pull request.
[x] I have followed the convention and standards, and my code is checked for style and correctness.
[x] I have added test cases, and unit tests pass with 100% code coverage.
[x] I have updated the documentation and code docstrings.

Checklist (for reviewer)

[x] I have added label (breaking / enhancement / bug / documentation) to this pull request, if applicable.
[x] I will ensure this change is captured in the CHANGELOG.md file.

https://github.com/kayjan/bigtree/issues/309


Update NOD.py

Add FlexContainer to allowed child resources

Signed-off-by: Bob Flynn<EMAIL_ADDRESS>

Signed-off-by: Bob Flynn<EMAIL_ADDRESS>


Integration Test - Release - 2019/10/31 22:58:22

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

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

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


Updated to use pug v2

This pull request updates pugify to use pug v2 for compilation and source map generation. At time of writing, the latest version of pug is 2.0.0-beta6 and all official website references to jade are now renamed as pug.
I have also updated the source map support so that any pug file includes are also added to the source maps and referenced correctly.
.jade and .pug template file extensions are both supported.
.pug() is the new transform options method, but .jade() is retained for backwards compatibility.
The transform now uses the name "pugify" rather than "browserify-jade" when looking in package.json for config options. For this breaking change I have renumbered as 2.0.0.
README has also been updated to reflect these changes.

thanks @deedw ! could you rebase on top of current master?

OK - this should now merge without conflicts

Any progress on this @sidorares? I don't want to have to publish a fork :sob:.

sorry @forivall @deedw forgot about this. Will publish in 3-4 hours when I'm back to home computer


Feature/student can now register for a new course

Checklist

[x] I run yarn run webpack:build:main: the project builds without errors.
[x] I run yarn lint: there project builds without code style warnings.
[x] I removed unnecessary whitespace changes in all related files.
[x] I updated the documentation and models.
[x] I tested the changes and all related features on the test server https://artemistest.ase.in.tum.de.
[x] I added (end-to-end) test cases for the new functionality.

Motivation and Context
A student should be able to register for a course. this decreases the maintenance of a course.
Description
added a button to register for a new course from the student dashboard.
Steps for Testing

Log in to ArTEMiS
Navigate to Course Administration
Make sure that a course exsists which has a start date before today and an end date after today
Login as a student
go to the student dashboard and click the register for course button in the top right corner
select course
check if the process was done sucessfully

Screenshots

Looks good to me! Please resolve the merge conflicts!

@krusche all done and merged


Add -json option

Prints newline-delimited JSON output to STDOUT
Resolves #205
Description
Adds the -json option and makes it mutually exclusive with -v. Operates similarly to -v in that it changes the behavior of the stdout outputter, causing result lines to be stringified json.Marshal(result) output.
By simply changing stdout to be JSON-formatted, new use cases include:

Piping JSON stdout into another tool, or into an analysis pipeline, without needing to go via the filesystem
Sending the JSON stdout to a file on disk, allowing machine-readable results to be produced incrementally (mitigates the need for #205)

Optional use of tee to do this while monitoring results via the terminal

Aside from making -json be mutually exclusive with -v, no other thought was given to compatibility with other features.
 SNIP ...]

% cat output.json
{"input":{"FUZZ1":"d3d3LmhhY2tlcm9uZS5jb20=","FUZZ2":"cm9ib3RzLnR4dA=="},"position":6,"status":200,"length":1586,"words":129,"lines":62,"content-type":"text/plain","redirectlocation":"","url":"https://www.hackerone.com/robots.txt","duration":45728708,"resultfile":"","host":"www.hackerone.com"}
{"input":{"FUZZ1":"YnVnY3Jvd2QuY29t","FUZZ2":"cm9ib3RzLnR4dA=="},"position":5,"status":200,"length":53,"words":4,"lines":5,"content-type":"text/plain; charset=UTF-8","redirectlocation":"","url":"https://bugcrowd.com/robots.txt","duration":52167547,"resultfile":"","host":"bugcrowd.com"}
{"input":{"FUZZ1":"d3d3LmhhY2tlcm9uZS5jb20=","FUZZ2":"aW5kZXgucGhw"},"position":4,"status":301,"length":31324,"words":562,"lines":12,"content-type":"text/html; charset=UTF-8","redirectlocation":"https://www.hackerone.com/","url":"https://www.hackerone.com/index.php","duration":140936220,"resultfile":"","host":"www.hackerone.com"}

Additonally

[x] If this is the first time you are contributing to ffuf, add your name to CONTRIBUTORS.md.
The file should be alphabetically ordered.
[x] Add a short description of the fix to CHANGELOG.md

Hi @justinsteven  , are you interested in making the last very small change? I can also do this for you if you wish though. (also there seems to be a merge conflict caused by other PR's getting merged while this has been open)

Yes, sorry, I've been tied up and I missed that you'd said that abstracting the TERMINAL_CLEAR_LINE can be left until down the track.
I'm happy to change -json to -jsonlines. But could I persuade you in saying -json is easier to type and remember, and would also match the syntax of httpx and nuclei? Their help says:
OUTPUT:
   [... SNIP ...]
   -json                             store output in JSONL(ines) format

I could clarify via the help that -json is in fact JSON Lines format.
If you think it's clearer and easier for users if it's -jsonlines I'll get that done :)


Improvement testing

I made some small improvements in the testing.
The tests run on all PHP versions from PHP 5.4  to PHP 7.4.

Thanks for the PR, it's a great idea to run tests on all PHP versions.
However it seems it's not enough to set the PHP_VERSION env variable to set the php version, please see this test run:
https://github.com/pzs/nav-online-invoice/runs/1181557089?check_suite_focus=true (I replaced the phpunit with php -v)
Under PHP 5.4 section:
Run php -v
PHP 7.4.10 (cli) (built: Sep  9 2020 06:36:14) ( NTS )

Probably action like https://github.com/marketplace/actions/setup-php-action has to be used to set the php version.


fix: fixing openapi

@carlosthe19916 I have the same issue with the command cargo run --bin trustd.
What I do is:
podman-compose -f etc/deploy/compose/compose.yaml up
env DB_USER=postgres DB_PASSWORD=eggs RUST_LOG=debug cargo run -p trustify-trustd -- api --devmode --auth-disabled


modifying kerberos oauth2 grant flow

Purpose

Modifying the kerberos oauth2 grant flow with token generation process

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

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

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

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

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wso2 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@Shehanir , is your PR only related to APIM 3.1.0 or is it applicable to 3.0.0 as well?