running on other platforms

hi, nice work!
I am wondering if this is possible to work on other platforms, such as ios and android?

should be possible, but video interpolation is really a battery killer on mobile

should be possible, but video interpolation is really a battery killer on mobile

great! could you provide some hints to adapt your ncnn-vulkan codes to run on ios or android?

great! could you provide some hints to adapt your ncnn-vulkan codes to run on ios or android?


[CSM] Collect and expose AUID

What does this PR do?

This PR exposes the login UID by introducing the auid field.
Motivation

This field can be used to better audit host based process activity.
Describe how to test/QA your changes

Functional tests were added to test this new feature.

/merge


Fix connection leak in client

The default http.Transport (filled with zero values) will enable keepalives, with no idle connection limit or timeout.  This means that you will get one connection per gatekeeper.Client that never shuts down.  I've used hashicorp's cleanhttp package to get a transport with sensible defaults, but it could be done manually.
This can be worked around by futzing with the client.HttpClient after-the-fact, but I think it's better to do the right things out of the box.

Is it worth just copying the code from cleanhttp into the client? For the client specifically I've tried to only use the stdlib, but that might not be a goal worth striving towards.

The other option is to copy http.DefaultTransport to your own before making changes to it.  The default there is a 90 second idle timeout, which is an improvement.  The upside is this won't break on go 1.6 like in your travis :-).  There's the possibility that the user has made some changes to it, though.
This fix will work on 1.7 and up (and the behavior regressed in that version) as it is currently, and the same would go if I duplicated what's in cleanhttp.  I'll make that change if the above doesn't appeal to you.

That would be great, and I can change golang version.


A new dataset and a recipe

Content
Add a new dataset derived from LibriSpeech ASR corpus http://www.openslr.org/12/
The recipe uses ConvTasNet with the MSS loss as a loss function

I made a mistake when I pushed my last changes. The PR is now really messy. I will close this one and open new one


How do you add a certificate to an app service?

Here is what we use in the azure cli.
upload
az webapp config ssl upload --certificate-file="$cert_path" --certificate-password=XXXXXXX --name=XXXXXXX --resource-group XXXXXXXX
bind
az webapp config ssl bind --certificate-thumbprint XXXXXXXX --name XXXXXXXX --resource-group XXXXXXXX --ssl-type "SNI"

The upstream Terraform provider does not yet support SSL certificates with App Service. The bug that tracks adding that support is here: https://github.com/terraform-providers/terraform-provider-azurerm/issues/1136
It looks like a fix for that issue is imminent, so I would expect support for SSL certs to be added soon. In the meantime, you could try implementing a dynamic provider to manage the certs for your app service.

(we will use the upstream issue to track adding this support)


wiki - markdown here cheatsheet

it will be usefull if you put also a block of html code in a block of code example under javascript and python code like...

	g00gle
	<a href="www.google.com

I don't understand how this is an issue.


Unlit mesh color is brighter than it should be

I'm trying to make a cube mesh the same color as a sprite in the scene, but the color of the Mesh3D is slightly brighter than the Sprite3D despite them being set to the same exact color.
Here's a simple reproduction case with a Mesh3D cube and Sprite3D square set to the same color of blue:

import { Application, Texture } from "pixi.js";
import { Mesh3D, Color, Sprite3D } from "pixi3d";

let app = new Application({
  backgroundColor: 0xffffff,
  resizeTo: window,
  antialias: true
});

document.body.appendChild(app.view);

let color = 0x33BBFF;

let sprite = app.stage.addChild(new Sprite3D(Texture.WHITE));
sprite.position.z = 4;
sprite.tint = color;

let mesh = app.stage.addChild(Mesh3D.createCube());
mesh.material.unlit = true;
mesh.material.baseColor = Color.fromHex(color);

let rotation = 0;
app.ticker.add(() => {
  mesh.rotationQuaternion.setEulerAngles(0, rotation++, 0);
});

Thanks, I'll take a look

Should be fixed in next release.

@lovelle-cardoso Let me know if this works as it should in version 2.3.0

@jnsmalm Hm I seem to get an error for any mesh that isn't a cube-geometry mesh (like sphere, circle, or cylinder).
Uncaught Error: shader and geometry incompatible, geometry missing the "a_Tangent" attribute
I think this is because sphere-geometry, cylinder-geometry, circle-geometry don't have a "tangents" property like cube-geometry does.

Do you do anything special then just rendering the meshes?

@jnsmalm I am running pixi7 so perhaps its a compatibility issue? The error is originating from @pixi/core 's GeometrySystem.checkCompatibility method.
Here's the full stack trace:
GeometrySystem.mjs?c253:88 Uncaught Error: shader and geometry incompatible, geometry missing the "a_Tangent" attribute
    at GeometrySystem.checkCompatibility (GeometrySystem.mjs?c253:88:1)
    at GeometrySystem.initGeometryVao (GeometrySystem.mjs?c253:111:1)
    at GeometrySystem.bind (GeometrySystem.mjs?c253:60:1)
    at StandardShader.render (pixi3d.js?3e52:4295:1)
    at StandardShader.render (pixi3d.js?3e52:4508:1)
    at StandardMaterial.render (pixi3d.js?3e52:4570:1)
    at StandardMaterial.render (pixi3d.js?3e52:5126:1)
    at MaterialRenderPass.render (pixi3d.js?3e52:6526:1)
    at StandardPipeline.flush (pixi3d.js?3e52:6971:1)
    at ObjectRendererSystem.render (ObjectRendererSystem.mjs?7d3e:40:1)
    at _Renderer.render (Renderer.mjs?5786:74:1)
    at Version700.render (pixi3d.js?3e52:60:1)
    at CompositeSprite.renderObject (pixi3d.js?3e52:7687:1)
    at CompositeSprite._tickerRender [as fn] (pixi3d.js?3e52:7665:1)
    at TickerListener.emit (TickerListener.mjs?ec71:19:1)
    at _Ticker.update (Ticker.mjs?e45e:144:1)
    at _tick (Ticker.mjs?e45e:22:1)
checkCompatibility @ GeometrySystem.mjs?c253:88
initGeometryVao @ GeometrySystem.mjs?c253:111
bind @ GeometrySystem.mjs?c253:60
render @ pixi3d.js?3e52:4295
render @ pixi3d.js?3e52:4508
render @ pixi3d.js?3e52:4570
render @ pixi3d.js?3e52:5126
render @ pixi3d.js?3e52:6526
flush @ pixi3d.js?3e52:6971
render @ ObjectRendererSystem.mjs?7d3e:40
render @ Renderer.mjs?5786:74
render @ pixi3d.js?3e52:60
renderObject @ pixi3d.js?3e52:7687
CompositeSprite._tickerRender @ pixi3d.js?3e52:7665
emit @ TickerListener.mjs?ec71:19
update @ Ticker.mjs?e45e:144
_tick @ Ticker.mjs?e45e:22
requestAnimationFrame (async)
_tick @ Ticker.mjs?e45e:24
requestAnimationFrame (async)
_tick @ Ticker.mjs?e45e:24
requestAnimationFrame (async)
_tick @ Ticker.mjs?e45e:24
requestAnimationFrame (async)
_tick @ Ticker.mjs?e45e:24
requestAnimationFrame (async)
_tick @ Ticker.mjs?e45e:24
requestAnimationFrame (async)
_tick @ Ticker.mjs?e45e:24
requestAnimationFrame (async)
_requestIfNeeded @ Ticker.mjs?e45e:33
start @ Ticker.mjs?e45e:104
_startIfPossible @ Ticker.mjs?e45e:46
_addListener @ Ticker.mjs?e45e:73
add @ Ticker.mjs?e45e:50
PickingInteraction @ pixi3d.js?3e52:7420
init @ PluginSystem.mjs?fd09:35
emit @ Runner.mjs?a8d9:14
run @ StartupSystem.mjs?cf29:9
_Renderer @ Renderer.mjs?5786:65
autoDetectRenderer @ autoDetectRenderer.mjs?5821:8
_Application @ Application.mjs?89af:10
Application @ Application.ts?15e4:42

I have tested it for all PixiJS versions from 5.3. Could you please provide some code which reproduces this error?

@jnsmalm I wasn't able to reproduce it after updating from pixi 7.1.0 to pixi 7.2.0. So I think you can close this!


Use terraform import to manage existing resources in terraform

Hi
I've spotted this:
https://github.com/rpothin/PowerPlatform-Governance-With-Terraform/blob/f27510e87219eb7a6986ba18fa44b4cd25079727/notebooks/convert-existing-dlp-policies-to-tfvars-files.dib#L9
Check out terraform import instead: https://developer.hashicorp.com/terraform/cli/import/usage
it is implemented on all resources but wasn't tested

Hi @mawasile,
I am happy to see you keep an eye on this repo.
My goal is to use the terraform import command in the next step of the process.
My idea is to try to simplify the on-boarding process of people with an existing footprint in Power Platform:

Synchronize existing DLP policies to a JSON file
Convert each existing DLP policy to a tfvars file with a predefined format - my approach is one tfvars / state file per DLP policy
Run terraform import for each DLP policy using a GitHub workflow with inputs
Switch to infrastructure as code to manage the DLP policies

But thank you very much for your feedback. I will let you know the results at the end of my tests.
Please, next time use the discussions to share feedbacks like this one. I will convert the discussion into an issue if it makes sense ☺
Have a great day.
Raphael


[FEATURE REQ] Add support for container Unique Key policies to azure-spring-data-cosmos

Is your feature request related to a problem? Please describe.
The @Container supports properties like TTL, autoCreation, partitionKeyPath, etc, but seems to be missing options to specify unique key constraints.
Describe the solution you'd like
Specifying unique key constraints is available in the underlying com.azure:azure-cosmos:4.6.0 dependency, via com.azure.cosmos.models.UniqueKeyPolicy . Ideally, the azure-spring-data-cosmos sdk exposes unique key constraint options.
Describe alternatives you've considered
A possible alternative could be to overwrite the repositoryFactoryBeanClass on @EnableCosmosRepositories, make a custom CosmosRepositoryFactory and a customised SimpleCosmosRepository, where the createContainer methods take unique key policies into account, but I'd prefer it coming out of the box.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ x] Description Added
[x ] Expected solution specified

@mbhaskar  - please follow up on this.

@filipmaelbrancke - this has been implemented and merged, will be released in a couple of weeks in our next release .


confusing explanation

Enabled in Program settings
Enabled in System settings
Behavior

Yes
No
As defined in Program settings

Yes
Yes
As defined in Program settings

No
Yes
As defined in System settings

No
Yes
Default as defined in Use default option

IMHO the last row should be No | No | Default as defined in Use default option

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

ID: d95a0fa6-453a-a8b5-f2a7-7024ea9778c5
Version Independent ID: 38afe7ff-42d5-5f4f-df64-c16633919733
Content: Customize exploit protection
Content Source: microsoft-365/security/defender-endpoint/customize-exploit-protection.md
Product: m365-security
Technology: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@rafalfitt-mptv Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/9384
Once the author approves, the changes will be live.
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @rafalfitt-mptv Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


export: Exporting a realm should set plan_type to Realm.SELF_HOSTED.

Exported realms should always have a plan_type of SELF_HOSTED, regardless of what their plan type is pre-export.
Edit: Now that I think about it for a few more seconds, our export process needs to run do_change_plan_type first, then export, and then run do_change_plan_type again to change it back to whatever it was before. Not sure the best strategy here; maybe a script that does
./manage.py deactivate_realm
./manage.py change plan type to SELF_HOSTED (to be written)
./manage.py export
./manage.py change plan type to LIMITED?

We don't want to change the plan type before exporting; that would cause all kinds of problems for a system being exported for backups.
There's a better solution: Just using the existing hook we have for setting plan_type on import to LIMITED if BILLING_ENABLED to have an else clause.  I made that change.


Change Servlet Spec from 3.0 to 3.1

Problem
Currently our web.xml defines our apps (core/engine) are written in the form of servlet spec 3.0.  We use Tomcat 8 in development and testing and recommend users to use it,  however according to the following information, tomcat 8 is for servlet spec 3.1.
http://tomcat.apache.org/whichversion.html
This may cause minor issues.
Solution
Change web.xml to use servlet spec 3.1.

This issue was moved to new repository
https://github.com/personium/personium-core/issues/5


Demo

Any issue opened, issue closed, or issue comment will trigger a CircleCI workflow.
Feel free to comment on this issue and see the resulting CircleCI workflow. Remember it will take a few seconds for the Action to run before the CircleCI workflow.

Comment to watch the workflow start on GitHub.

Comment to watch the workflow start on GitHub.

Hi

test

test

test


[CFM_178] Merge hotfix branch into dev

Looks great! Haven't tested locally yet.
But just had that one comment about adding our dev environment backend so we can test this out. But can also merge in and add that into a separate ticket.
We can theoretically test against prod db, just need to undo any changes we make to it


Improve Content-Security-Policy value

We implemented a default Content-Security-Policy value in #64 but it did added a lot for console errors in development.
It also prevented the demo homepage from loading the project logo from user-images.githubusercontent.com.
So now we implement some default directives for script and styles that are compatible with Phoenix development stuff and we replaced the logo image for a simple text logo.

🦀 Requesting reviewers for this pull request:

@gcauchon (contributor with 4 commits in the last 90 days and 19 commits overall)
@charlesdemers (expert reviewer for the elixir stack)

Closed in favor of #74


Is there a convenient way to return the raw bytes of decoding?

No because it doesn't really make sense. Any QR code's raw bytes are meant to be decoded to text and/or numbers in a specific way. The only thing you could realistically do with the raw bytes is decode it yourself, but I'm not sure why you would want to do that?

No because it doesn't really make sense. Any QR code's raw bytes are meant to be decoded to text and/or numbers in a specific way. The only thing you could realistically do with the raw bytes is decode it yourself, but I'm not sure why you would want to do that?

Thank you for your reply. I want a offline device to communicate through QR code. Sometimes, a message lenth is over the capability of QR codes, especially with long BigInt types unless BigInt  is converted to raw bytes. That's when I want to the raw bytes of the decoding result.


How to choose which model to use with model trained with customized dataset

When I start cutie using interactive GUI, by default it always use cutie-base-mega.pth in Cutie\weights. Even if I rename the model trained to this name, it will automatically download default cutie-base-mega.pth again. Should I change code somewhere or modify the pth file?

Hi, you can change the path to weights here: https://github.com/hkchengrex/Cutie/blob/2a85b3ebf29a98958b8ecf670997b05e0118ff8e/cutie/config/gui_config.yaml#L12

Cool! Thank you! Very helpful!


Add 'noLinebreaks' parameter for motion.getTextByMode

Currently I get the text with getTextByMode and then clearing the linenumbers with lineNumbeirngService.stripLinenumbers(...). This is not very efficient.
@CatoTH Do you may add this parameter?

@FinnStutzenstein Just to make sure: do you want the plain motion text, or the motion text with inserted line breaks (but without the numbers)?

I want plain text for csv and docx export, so without the <span ...linunumber stuff...></span>. I need the original text, the changed text and the agreed text (no diff view here), so I used getTextByMode.

Could you have a look if the parameter added in the PR is what you need?


API Connection Actively Refused

Get "https://api.seeip.org/jsonip": socks connect tcp <IP_ADDRESS>:9050->api.seeip.org:443: dial tcp <IP_ADDRESS>:9050: connectex: No connection could be made because the target machine actively refused it.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x48 pc=0xf622b9]

same here

Seems to be an issue with seeip.org and not the program itself.

panic: websocket.Dial wss://gql-realtime-2.reddit.com/query: dial tcp: lookup gql-realtime-2.reddit.com on 172: socks connect udp 127->172: network not implemented

Okay never mind it seems it's not an issue with seeip.org. I tried ipify.org and it doesn't work as well.

#30


[C++][Parquet] Provide defaut cache size values if CPU info probing is not available

Reporter: Marc Vertes / @mvertes
Assignee: Marc Vertes](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mvertes) / @mvertes
Note: This issue was originally created as PARQUET-862. Please see the migration documentation for further details.

Wes McKinney / @wesm:
Thank you for the contribution!

Wes McKinney / @wesm:
Issue resolved by pull request 234
https://github.com/apache/parquet-cpp/pull/234


scylla_install_image:add ssm-agent installation for arm

In https://github.com/scylladb/scylla-machine-image/pull/334/commits/434795fcd0522457d843dfb695f46493330486d0
snap installation was removed and we started to use ssm-agent deb package. Since we are building AMI based on ARM as well. we need to support both arches

Verified with: https://jenkins.scylladb.com/view/master/job/scylla-master/job/releng-testing/job/ami/1325/

Dropped from next due some syntax error in code. it was merged while verification still was in progress


Marker - onDragEnd unable to click outside map

Bug
I have create a map with drag-able markers, but when i try to drag a marker to a position, after successfully drag. I not able able to perform outside clicks until i don't move MapView a bit.
Environment info
React-Native - v60.5
React-Native-Maps - 0.25.0
React native info output:
System:
    OS: macOS 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
    Memory: 29.79 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.14.1 - /usr/local/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.11.2 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
    Android SDK:
      API Levels: 23, 25, 26, 27, 28
      Build Tools: 26.0.2, 27.0.3, 28.0.2, 28.0.3, 29.0.0
      System Images: android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-Q | Android TV Intel x86 Atom, android-Q | Intel x86 Atom, android-Q | Google APIs Intel x86 Atom, android-Q | Google APIs Intel x86 Atom_64, android-Q | Google Play Intel x86 Atom, android-Q | Google Play Intel x86 Atom_64
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
    Xcode: 10.3/10G8 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6
    react-native: 0.60.5 => 0.60.5
  npmGlobalPackages:
    react-native-cli: 2.0.1
    react-native-create-library: 3.1.2
    react-native-git-upgrade: 0.2.7
    react-native-swift-cli: 2.3.0

Library version: 0.25.0
Steps To Reproduce

Drag a marker to any specific location.
Try to click outside the map view. You will not be able to click outside the map until you don't move MapVIew a bit.
...

Describe what you expected to happen:

After onDragEnd outside should be able to perform.

Reproducible sample code
 import React from 'react';
import { TextInput, Text, ScrollView, Button } from 'react-native';
import MapView, { Marker, PROVIDER_GOOGLE } from 'react-native-maps';

class Location extends React.Component {
  mapRef = React.createRef();
  markerRef = React.createRef();

  constructor(props) {
    super(props);
    const initialRegion = {
      latitude: 30.7333,
      latitudeDelta: 0.05,
      longitude: 76.7794,
      longitudeDelta: 0.021,
    };

    this.state = {
      initialRegion,
      marker: {
        latitude: 30.7333,
        longitude: 76.7794,
      },
      region: initialRegion,
    };
  }

  onDragEnd=(e) => {
    this.setState({ marker: e.nativeEvent.coordinate });
  }

  render() {
    const {
      marker, initialRegion, region,
    } = this.state;

    return (
      <ScrollView>
        <TextInput />
        <Text>
          {'Long Press & Drag the pointer to select exact location'}
        </Text>
        <MapView
          ref={this.mapRef}
          provider={PROVIDER_GOOGLE}
          style={{ flex: 1 }}
          initialRegion={initialRegion}
          region={region}
        >
          <Marker.Animated
            draggable
            ref={this.markerRef}
            coordinate={marker}
            onDragEnd={this.onDragEnd}
          />
        </MapView>
        <Button
          block
          smallrounded
          onPress={() => this.onSubmit('Photo')}
        >
          <Text upperCase>NEXT</Text>
        </Button>
      </ScrollView>
    );
  }
}

export default Location;

@imbudhiraja Did you find any solution? I'm with the same problem here

Looks like i might have duplicated this too, but with further symptoms. #3078

As I needed it fast I finally "solved" it changing the implementation by this (that is better too)

@matiasgitl this does actually look like an enhancement for my use case too.. good find! 👍
Issue/issues remain open however ;)

Hi, anyone anything to suggest for this bug ?

Hi, I'm experiencing this bug, any suggestion to solve this?

+1

Almost 3 months have passed and still no solution to this bug? 😢

@verochan yes, no solution for moment Too bad

It's so terrible (:

help help to solve this  it‘s so terrible

Even me :( +1

+1

+1

@matiasgitl could you post another link to the "fix" you had for this? The link you provided is broken. Thanks!

+1

Any updates on this?

@gabrielbrickle Have a look at this issue: https://github.com/react-native-community/react-native-maps/issues/2780
Maybe this comment will help you as well.

Although not a good solution, a quick work-around is to re-render the map onDragEnd event. Here is what can be done.
{true === this.state.displayMapView &&
    <View style={{flex: 1}}>
        <MapView
            provider={PROVIDER_GOOGLE}
            style={{width: SCREEN_WIDTH, height: moderateScale(350)}}
            initialRegion={{
                latitude: this.state.latitude,
                longitude: this.state.longitude,
                latitudeDelta: 0.015,
                longitudeDelta: 0.0121
            }}
        >
            <MapView.Marker
                draggable
                coordinate={{latitude: this.state.latitude, longitude: this.state.longitude}}
                onDragEnd={(e) => {
                    const coords = e.nativeEvent.coordinate;
                    this.setState({
                        latitude: coords.latitude,
                        longitude: coords.longitude,
                        displayMapView: false
                    }, () => {
                        this.setState({
                            displayMapView: true
                        });
                    });
                }}
            />
        </MapView>
    </View>
}

On completing the onDragEnd event, it will retain the co-ordinates however it will refresh the map, I tried this and it works, I wish we have a solution soon on this.

Use this TouchableOpacity instead from react-native package
import { TouchableOpacity } from 'react-native-gesture-handler';
They work after map marker dragging.

Use this TouchableOpacity instead from react-native package
import { TouchableOpacity } from 'react-native-gesture-handler';
They work after map marker dragging.

@naaficodes Thank you!! This worked for me 🙏🙏🙏🙏

+1 still no solution.

Use this TouchableOpacity instead from react-native package
import { TouchableOpacity } from 'react-native-gesture-handler';
They work after map marker dragging.

I've been suffering this bug too on react-native-maps library, after reviewing almost a year later this issue and 3078, the quoted solution works on the project I'm working on 🎉  Just be careful with the styles applied to the affected buttons: On my case, the styles were broken and I had to create a View wrapper surrounding the TouchableOpacity components to manage properly opacity and some flex position properties.
Either way, I hope it gets fixed for the react-native TouchableOpacity component.

This seems to not be an issue when using Apple maps.


Gradle 7.1 second build only removes all files

Expected Behavior
Gradle should produce new class files to build/classes/java directory.
Current Behavior

gradle build creates .gradle and build directories;
I change output string in main class;
Second build only just removes previously compiled files.

Context

I created new Java project with Gradle in IntelliJ IDEA and it not works.
Same project can be successfully compiled on macOS.
Steps to Reproduce
https://github.com/DimaCrafter/clean-gradle-project
Your Environment

OS: Windows 10 Pro 21H1 19043.1081
Java 8: AdoptOpenJDK 1.8.0_292-b10
Gradle wrapper v7.1 (building with globally installed Gradle doesn't affect)

Unfortunately I'm unable to reproduce the issue. Could you please provide debug logs from the first and second compilations?
You can capture the logs with gradle build --debug > build.log where build.log is the name of the file to store the log at. The logs may contain sensitive information (though it should be limited to paths and network interfaces for the reproducer project) so you can email the logs to mlopatkin[at]gradle.com.

I checked the logs and found no sensitive information. I think I can publish logs for the community.

first-build.log
second-build.log

Thanks for the logs. The activity in the second log is suspicious:
compileJava is considered up-to-date:
2021-06-30T17:39:58.906+0400 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :compileJava UP-TO-DATE

but "stale outputs" are still cleaned up:
2021-06-30T17:39:58.908+0400 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Clean stale outputs' started

And output directories are deleted
2021-06-30T17:39:58.908+0400 [INFO] [org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter] Deleting stale output file: D:\Projects\Java\clean-gradle-project\build\generated\sources\headers\java\main
2021-06-30T17:39:58.908+0400 [DEBUG] [org.gradle.internal.file.impl.DefaultDeleter] Deleting D:\Projects\Java\clean-gradle-project\build\generated\sources\headers\java\main
2021-06-30T17:39:58.909+0400 [INFO] [org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter] Deleting stale output file: D:\Projects\Java\clean-gradle-project\build\tmp\compileJava\previous-compilation-data.bin
2021-06-30T17:39:58.909+0400 [DEBUG] [org.gradle.internal.file.impl.DefaultDeleter] Deleting D:\Projects\Java\clean-gradle-project\build\tmp\compileJava\previous-compilation-data.bin
2021-06-30T17:39:58.909+0400 [INFO] [org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter] Deleting stale output file: D:\Projects\Java\clean-gradle-project\build\generated\sources\annotationProcessor\java\main
2021-06-30T17:39:58.909+0400 [DEBUG] [org.gradle.internal.file.impl.DefaultDeleter] Deleting D:\Projects\Java\clean-gradle-project\build\generated\sources\annotationProcessor\java\main
2021-06-30T17:39:58.911+0400 [INFO] [org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter] Deleting stale output file: D:\Projects\Java\clean-gradle-project\build\classes\java\main
2021-06-30T17:39:58.911+0400 [DEBUG] [org.gradle.internal.file.impl.DefaultDeleter] Deleting D:\Projects\Java\clean-gradle-project\build\classes\java\main

The compilation doesn't happen afterwards:
2021-06-30T17:39:58.939+0400 [DEBUG] [org.gradle.internal.execution.steps.SkipUpToDateStep] Determining if task ':compileJava' is up-to-date
2021-06-30T17:39:58.940+0400 [INFO] [org.gradle.internal.execution.steps.SkipUpToDateStep] Skipping task ':compileJava' as it is up-to-date.

@gradle/execution could you please take a look at this?

@DimaCrafter Can you share what type of filesystem D: is?
Asking as we have reports of Gradle not working well on FAT.

My D: drive is exFAT formatted.

@DimaCrafter Can you try out if the build works if you disable file system watching? Aka if you run both builds with --no-watch-fs?

@wolfs Still same behaviour.

@DimaCrafter When you first ran the project, did it already contain a non-empty build directory? Can you try if you can reproduce the problem

on a clean checkout,
without file system watching (--no-watch-fs),
and a fresh daemon (run ./gradlew --stop before the first build)?

Please capture the debug logs for those runs as well.

Removed .gradle and build directories
gradlew --stop
gradlew --no-watch-fs build --debug > first-build.log
Checked build/classes/java, exists and contents are correct.
Changed output string in main class
gradlew --stop
gradlew --no-watch-fs build --debug > second-build.log
Now build/classes/java is empty

first-build.log
second-build.log

I was able to reproduce the problem. It seems like the stat from native platform does not work on exfat and always throws an exception - causing the stat to return missing file: https://github.com/gradle/gradle/blob/30cab53062b32ad61d48031c4faec6756bd115da/subprojects/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedFileMetadataAccessor.java#L39-L43
This is why we don't detect the outputs. In Gradle 6.5 we switched to using the native stat implementation for Windows, so the issue exists since then.

@DimaCrafter Can you try out if 7.2-20210719134544+0000 fixes your problems?

Now it creates a new class after second build, but all builds prints this error:
2021-07-19T21:31:44.159+0400 [ERROR] [org.gradle.internal.watch.registry.impl.DefaultFileWatcherRegistry] Error while receiving file changes
net.rubygrapefruit.platform.NativeException: Error received when handling events, error = 1: D:\Projects\Java\clean-gradle-project
        at net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$NativeFileWatcher.executeRunLoop0(Native Method)
        at net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$NativeFileWatcher.access$100(AbstractFileEventFunctions.java:157)
        at net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$NativeFileWatcher$1.run(AbstractFileEventFunctions.java:171)
2021-07-19T21:31:44.159+0400 [ERROR] [org.gradle.internal.watch.vfs.impl.WatchingVirtualFileSystem] Stopping file watching and invalidating VFS after an error happened

Full log of first build

If you run with --no-watch-fs everything works fine?

@DimaCrafter Can you try out the nightly 7.2-20210720234250+0000? This one now disables file system watching on FAT automatically, so you shouldn't have the above warning.

Same error with same log's contents, but works fine with --no-watch-fs.


Implement AsyncBufRead for Unblock<T: BufRead>

Not sure how hard that would be, but this would make things like std::io::stdin().read_line() possible

Hmm, but Stdin does not implement BufRead, does it?
So I suppose we need to wrap it in BufReader in one of the following two ways:

BufReader::new(Unblock::new(std::io::stdin())).read_line()
Unblock::new(BufReader::new(std::io::stdin())).read_line()

I ended up doing
    let mut input = blocking::unblock(|| {
        let mut input = String::new();
        std::io::stdin().read_line(&mut input).map(|_| input)
    })
    .await
    .unwrap();

this is fine enough, let's close this


Fix Create local variable code-action not working for action invocations

Purpose

Fix "Create local variable" code-action not working for action invocations

Fixes #21317
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #21448 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #21448   +/-   ##
=======================================
  Coverage   14.67%   14.67%
=======================================
  Files          51       51
  Lines        1404     1404
  Branches      215      215
=======================================
  Hits          206      206
  Misses       1182     1182
  Partials       16       16

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 bc5ec12...7708f98. Read the comment docs.


wfnews-1986

Somehow, we need to decrement the PROT_RA_SYSID by 1 in the AGOL caller 'where=PROT_RA_SYSID=${sysId}' to get the corresponding AreaRestriction's details. It could be that AGOL's database uses zero-based numbering to name their SYSID.

Closing as this should not be commited


perf: canonicalize less, canonicalize faster

Would this be acceptable? Cache the string op and define a tuple of known canonicals.

There's no way ops.py should have a list like that.


Add delay to stream

Hey,
lots of talk about minimising delay in the stream.
Can you ADD delay to a stream, e.g. a big buffer and make sure input was at least $time delayed?
Usage: Game-Streams often need delay to prevent cheating, and a delay on the streamcreator-machine could lead to lost video when the recorder crashes or the streaming-software is buggy.

The delay is done at the streamers level. That's how I handle it anyway. I have a dedicated streaming Nginx server in my LAN that I use but currently it only pushes the stream. So I handle the delay in OBS.

Yes, I currently handle the delay in OBS, also. But, as it sometimes crashes and often reconnects (with a lossy connection), the delayed content sometimes gets lost. This leads to a downtime of 2*delay, which I seek to avoid.
Is there a way to handle delay in nginx-rtmp? exec a sleep-file on reconnect/play, extra option, encoding with passthrough options and calling sleep from ffmpeg, something?

well sure, if you really need a delay at the nginx level and the current nginx and rtmp module doesn't provide that search around for a developer that would help to make this happen if you really want this to happen. this is an open source project, meaning anyone can help improve it. or use ffmpeg to transcode your videos before pushing them out which would clearly add that delay you're looking for just as a consequence of ffmpeg transcoding. (this is just my opinion)

I now did something similar, I used nginx-record to buffer the stream locally and exec_publish to start a python-script which publishes the file back to nginx again, after a certain delay.
Closed, with reference to https://github.com/sistason/rtmp_stream_delayer, where I uploaded my setup to delay a rtmp-stream a specified time.

This doesn't really answer whether or not you can add a buffer in nginx so that whomever is publishing the stream to the server, packets are not lost from the server to the viewer - which is the reason. I don't want a delay for any other reason than to buffer to make sure the viewer isn't dropping packets due to the nginx server - as I know the source is not dropping, but when you check it on another source, packets are obviously being lost from server to client. The best way to prevent this is some sort of connection buffering from server to client.


Expose library commands

Hello and thank you for this really cool library!
I've tried using this from my python code, but I realized that I needed to expose some of the internal commands.
I made a couple of changes, outlined below. If possible, I would also like to help expand this library so that it can cover other languages besides python.
outline of changes

create a Rust function code_complexity, that computes the complexity on a string of python code
expose this function at the level of the python library
This way, we can evaluate the complexity on any string of code:

complexity.main.code_complexity(my_snippet_of_code)

This is particularly useful in situations where we want to evaluate stand-alone snippets that might not be part of a file-system.

I thought the Rust function cognitive_complexity was also really useful as a library command, so I exposed it at the python level. Because of Rust's naming rules, it seems it wouldn't allow me to keep that name: it would clash with the module of the same name. So I renamed the function function_complexity file_complexity, which I thought would clarify how it differs from code_complexity. I don't have a strong opinion on the function-names: feel free to propose better ones.

Let me know what you think and if there's any edits you'd like me to make before merging, thanks again!
Related issue: #46

Hey @andrewdea, thank you for your contribution!
This is a use case I didn't consider, and I find it really useful, so I appreciate these changes.

Can you please create an issue to relate this PR? And a new issue to discuss the new languages to support them.

@rohaquinlop thanks a lot for the comments!
I will go through your suggested changes tomorrow. In the meantime I have created issues:

#45 for this PR
and #47 for supporting additional languages

@rohaquinlop applied the suggested changes, let me know if I'm missing anything 😃

The error at sdist pipeline is related to maturin-action #291, and it seems that can be solved using the ubuntu-22.04 image explicitly as mentioned in the issue
...
    runs-on: ubuntu-22.04
...

@andrewdea Can you please modify the CI.yml file and change this line?
  sdist:
    runs-on: ubuntu-22.04
    steps:
...

It seems that without that, the unit tests won't run 😢


Implement continuous integration using Travis & Codecov

Requires activating dr-leo/pandaSDMX on both sites; see https://travis-ci.org/khaeru/pandaSDMX and https://codecov.io/gh/khaeru/pandaSDMX/branch/ci for example outputs.

I've set up accounts on travis-ci and codecov. Please let me know if any
issues remain.
04.04.2017 um 22:27 schrieb Paul Natsuo Kishimoto:

Requires activating dr-leo/pandaSDMX on both sites; see
https://travis-ci.org/khaeru/pandaSDMX and
https://codecov.io/gh/khaeru/pandaSDMX/branch/ci for example outputs.

    You can view, comment on, or merge this pull request online at:

https://github.com/dr-leo/pandaSDMX/pull/50
    Commit Summary

basic Travis configuration

README: add Travis badge, format for pretty display on Github

.travis.yml: add codecov configuration

add .coveragerc

codecov: add coverage badge

travis: add additional Python versions

travis: drop Python 2.6

ci: set badges to dr-leo/master branch
File Changes

A .coveragerc
https://github.com/dr-leo/pandaSDMX/pull/50/files#diff-0 (3)

M .gitignore
https://github.com/dr-leo/pandaSDMX/pull/50/files#diff-1 (3)

A .travis.yml
https://github.com/dr-leo/pandaSDMX/pull/50/files#diff-2 (23)

M README.rst
https://github.com/dr-leo/pandaSDMX/pull/50/files#diff-3 (70)
Patch Links:

https://github.com/dr-leo/pandaSDMX/pull/50.patch

https://github.com/dr-leo/pandaSDMX/pull/50.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dr-leo/pandaSDMX/pull/50, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADA58n5sSf8AvuYgNtakJjhrZwFLBwRVks5rsqemgaJpZM4MzYjV.


[BUG]  Mobile Sidebar Scrolling Behavior Issue

Description
Expected Behavior:  When the sidebar is open in mobile view, I expect the main content behind the sidebar to remain fixed and not scroll.
Current Behavior:  However, when the sidebar is open, the hidden content behind it is still scrollable, which leads to an unexpected user experience.
Screenshots
No response
Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)

@Anmol-Baranwal

@Anmol-Baranwal

Thanks for the tag.
@DevarajuAlugolu
Yeah, I just checked it.
So, what will you do? Scroll only when sidebar is closed?

@Anmol-Baranwal
Yes.
I'm currently  working on implementing this solution.

@DevarajuAlugolu
Sure, go ahead.
I have assigned you the issue. Please proceed with it, and don't hesitate to tag me if you require any assistance.

@Anmol-Baranwal
Thank you for assigning the issue. I'm actively addressing the bug and will keep you updated on my progress.

Please has this issue been rectified and the issue closed?

Please has this issue been rectified and the issue closed?

The issue has not been rectified or closed; we are still in the process of working on it.

Please has this issue been rectified and the issue closed?

Do you want to work on open issues? I can refer you to that.

Please has this issue been rectified and the issue closed?

yep, this issue has been assigned, please check out the other opened issues :)


Add 1. Basic Usage

Overview

Add "1. Basic Usage"

Details

Reading and plotting 3D data using examples module and external files.  (10 min for talk, 10 min for exercise)
None

[ ] Add exercise

[ ] Add a section and exercise to show data visualization.

This is a draft, but I would be grateful for a review.

I am counting the number of words by following the script (ref: https://stackoverflow.com/questions/71194571/word-count-of-markdown-cells-in-jupyter-notebook).
import json

with open("1_basic_usage.ipynb") as json_file:
    data = json.load(json_file)

wordCount = 0
for each in data["cells"]:
    cellType = each["cell_type"]
    if cellType == "markdown":
        content = each["source"]
        for line in content:
            temp = [
                word for word in line.split() if "#" not in word
            ]  # we might need to filter for more markdown keywords here
            wordCount = wordCount + len(temp)

print(wordCount)

Now the number of words is 348. There are 1,500 words in a 10-minute speech.
. We can add more content.

I gathered the example *.ipynb files and run the following script.
import json

wordCount = 0
for file_name in [
    "1_basic_usage.ipynb",
    "create-geometric-objects.ipynb",
    "openfoam-example.ipynb",
    "osmnx-example.ipynb",
    "read-dolfin.ipynb",
    "read-file.ipynb",
    "read-image.ipynb",
    "reader.ipynb",
    "load-gltf.ipynb",
    "read-parallel.ipynb",
    "background_image.ipynb",
    "clear.ipynb",
    "cmap.ipynb",
    "edges.ipynb",
]:
    with open(file_name) as json_file:
        data = json.load(json_file)
    for each in data["cells"]:
        cellType = each["cell_type"]
        if cellType == "markdown":
            content = each["source"]
            for line in content:
                temp = [
                    word for word in line.split() if "#" not in word
                ]  # we might need to filter for more markdown keywords here
                wordCount = wordCount + len(temp)

print(wordCount)

Now it is 2180 words and it is enough as contents.

[ ] Add the title and the abstract of the section.


Create Component that Displays Information on a User’s Tech Stack

As a developer's companion, DeskBuddy aims to inform developers about their code activity, giving the necessary insights. A widget should be created that ensures users can:

view the programming language they spent the most time on in a week, ranking from the most used programming language to the least used programming language
get a fun fact about that particular language

Connection to API to get developers' details and activities keeps failing on get request.
Is pieces still up and running?


tuna worker is offline

run below command in manager,
tunasynctl workers -p 80
[
  {
    "id": "tunasync-worker",
    "url": "",
    "token": "",
    "last_online": "2020-09-01T02:52:27.740256625Z"
  }
]

But both worker and manager are running well.
Reproduction Steps

Error Log

Environment

CDK CLI Version:
Framework Version:
Node.js Version:
OS               :

Other

This is :bug: Bug Report

It seems that tunasync manager starts at 20-09-07 09:29:47, but worker starts at 20-09-07 09:26:29, so worker failed to register with the manager.

The status of jobs still can be synced with manager. The manager should
update the info of worker as well.
Chen<EMAIL_ADDRESS>于 2020年9月10日周四 下午7:45写道：

It seems that tunasync manager starts at 20-09-07 09:29:47, but worker
starts at 20-09-07 09:26:29, so worker failed to register with the manager.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tuna/opentuna/issues/93#issuecomment-690211394, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGN4J4QK54NO5ZNC5YXVWDSFC36BANCNFSM4REV5QGA
.

I will submit a pr to tuna/tunasync to fix this.

Closed as of #95


(<= 3.0.3) Click in HTML can't be stopped from being triggered in PIXI

See here:
http://jsfiddle.net/georgie/gnka1jne/

Click on the red rect, this will trigger an expected event 'html triggered'
But the yellow rect located in pixi triggers itself an event and there is no way to stop the event from outside of pixi.

Pixi registers an event listener on window at the capture phase, that's the earliest possible position where a mouse event can be listened to, isn't it ? So there can't be a solution in HTML to stop an event from being triggered in pixi ?
This might be the same?
https://github.com/GoodBoyDigital/pixi.js/issues/1725
Thanks!

Here are two other problems with interaction. This seems to be a mix of a regression with 3.0.3 (following @LuQano's description that it was working before) and a normal bug in V3.
Here is my second testcase:
http://jsfiddle.net/georgie/zqzbnmf4/
Two problems:

Clicking is not blocked, so that an underlying element gets triggered, even if an object on top already consumed the click. It's shouldn't be necessary to stop the propagation manually as this is a behaviour someone would expect I guess?
Click and drag on top of another target. You will trigger a mouseup on that target which wasn't under the mouse during initiation.

Reproducing:

Click on the rect in the middle (which is a small zone where both larger rects are overlapping) You get two outputs. One from each rectangle.
Click on the yellow rect, hold and go down to the blueish one. Release. You will get the message pixi 2 triggered. Which was dispatched from the blueish rect. This is not a correct mouseup behaviour.

Related:
https://github.com/GoodBoyDigital/pixi.js/issues/1765

+1

@GoodBoyDigital Can you comment on why capture phase is being used?

I'm not convinced this is a bug. The "new and improved" default behavior makes sense if you want to grab a stack of interactive elements and move them around together. To make my app work in the same manner as it did in v3.0.2, I simply added event.stopPropagation(); to the mousedown and touchstart event handlers. So, now the top object in the stack is the only one that handles the event. You can do that in your test case also.

Well, this blocking behavior is learned by most developers. Totally learned. At least by the pixi community, by all the people who are coming from AS3 and all the JS DOM guys. So why doing something differently? If you really want to drag a bunch of objects use a function to find those objects.
It's not reasonable to keep this behavior. I believe there are many good reasons why most environments are acting like this.

I agree with @georgiee.

Yeah HTML on top of the canvas should totally block interactions, the interaction manager should mimic the DOM internally wherever possible because it is what most people are familiar with.

Hey guys,
I've made a pull-request for this https://github.com/GoodBoyDigital/pixi.js/pull/1902
Live example with the patch: http://jsfiddle.net/endel/xnmy239h/1/

II'm looking to try and rewrite the Interaction Manager in the coming weeks. Stay tuned.

Just want to chime in and ask, if there are any plans on this thread?
For example, is there a chance that Interaction Manager can be configured to use capture or bubble phase, depending on application needs? I think it should solve the topic starter problem?
I'm handling touch event globally (on parent DIV level to detect touches anywhere on the screen), and was hoping I can do "stopPropagation" in PIXI canvas). However, as event capturing is hardcoded in PIXI, I have to make it in a bit more hacky way. :)

@englercj @GoodBoyDigital if there's no good reason to use capture phase, can we please switch to using bubble phase? I think we can all agree it's leading to confusing behavior. I'll gladly submit a PR

+1 on this, it's an issue for me

Hey guys, my jsfiddle had stopped working due to the pixi.js build I had linked. Now I'm using cdnjs for v3.0.7 - which was the version I was testing on that patch - http://jsfiddle.net/xnmy239h/2/

Yeah HTML on top of the canvas should totally block interactions

Does anyone have a not-too-hacky workaround for this? I have DOM elements overlapping the canvas, when the mouse is over the DOM elements, I want to prevent pixi from triggering mouseover on my interactive DisplayObjects.

I set CSS {pointer-events: none;} for the main area and {pointer-events: auto;} for the overlapping DOM elements.

Thanks, but this doesn't work for mouseover and mouseout because pixi uses a mousemove listener on window.document.

I'm having the same issue as danwad. I have a DOM overlay and Pixi display object which reacts to mouseover and mouseout because of a fore mentioned reasons. Any workarounds to prevent the "hover" events like this from happening? Clicks are already working fine.

This PR: https://github.com/pixijs/pixi.js/pull/2917 will solve this problem. Patch it into your own build of PIXI for now :)

Thanks! That did the trick for now :)

@englercj - I believe this can be closed after merging https://github.com/pixijs/pixi.js/pull/2996


SkRuntimeEffect.SetUniform passing incorrect values when there are different types

The problem can be easily simulated by trying to pass, for example, an array of integers in a uniform of type array of floats.
The issue was reported by @peardox in the "Passing wrong types as Uniforms" issue from the SkiaSimpleShaderViewer repository.

Fixed in our new release 3.4.1


Installed the Add on first by putting it in my www/ folder but now I switched and added the repository to the Supervisor. But now the old web page I visited before can no longer be reached. How can I open the page on my iPad again?

I tried doing this and it returns a 404 Not Found page, and I'm not sure why.


6.0.0 is impossible to install through pip and pypi

Description
6.0.0 release is impossible to install due to conflict of versions between hdl-registers (requires tsfpga >= 12.3.2) and the latest tsfpga (requires <6.0.0 of hdl-registers)
Expected behavior
hdl-registers is able to be installed via pip
How to reproduce?
pip install hfl-registers==6.0.0
Error should be similar to:
ERROR: Cannot install hdl-registers and hdl-registers==6.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested hdl-registers==6.0.0
    tsfpga 12.3.5 depends on hdl-registers<6.0.0 and >=5.1.0
    The user requested hdl-registers==6.0.0
    tsfpga 12.3.4 depends on hdl-registers<6.0.0 and >=5.1.0
    The user requested hdl-registers==6.0.0
    tsfpga 12.3.3 depends on hdl-registers<6.0.0 and >=5.1.0
    The user requested hdl-registers==6.0.0
    tsfpga 12.3.2 depends on hdl-registers<6.0.0 and >=5.1.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

Context
Please provide the following information:

Operating system: [Ubuntu 22.04]
Python version: [3.11.7]
hdl-registers origin:

[x] Released package.
[ ] Git repository.

hdl-registers version: [6.0.0]

Shit. Yeah that's my mistake. Should be fixed in 6.0.1 which is released now. I will add something in CI so that we can detect problems like this more early in the future.
Thanks for reporting!


1.1 preview

:white_check_mark: Build TheIdServer 1.0.3-ci1-0109 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/bbfc6e9fa2 by @aguacongas)


Document upgrade and downgrade processes

Hi.
After reading the documentation it is not clear for me, how upgrade and downgrade processes should be performed over the solution. Could you please describe somewhere in the documentation:

How to upgrade Weaviate to the newer version without downtime
How to downgrade Weaviate to the older version (hopefully with no downtime)
Maybe some compatibility policies and notes between versions

Thanks in advance!

Hi,
I am also interested in knowing the process for upgrade and rollback.
Thanks


Further consolidate testing interfaces.

This patch allows tests to be run both from the command line, as well as programmatically. The following three commands all have the same effect:

./runtests.py -l numba.cuda.tests.nocuda
python -m numba.testing -l numba.cuda.tests.nocuda
python -c "from numba import test; test('-l', 'numba.cuda.tests.nocuda')"

(Note I removed the now obsolete runtests.py files from the CUDA test suites. We should do the same to the hsa test suites once they are hooked up with the toplevel test suite.)

I guess we don't have a shortcut to run e.g. all CUDA tests anymore, right?
(since they are scattered in three different test suites AFAIR)

Use the 'numba.cuda.tests' argument, i.e. either ./runtests.py -l numba.cuda.tests or python -m numba.testing -l numba.cuda.tests to
only list all CUDA tests.

Ah, cool, I didn't think that would work.


tfgfggf

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Use ... like this
See error

Expected behavior
A clear and concise description of what you expected to happen.
Error
Paste the full error in here.
Additional context
Add any other context about the problem here.

dfdfddf

dfddfdfdf


JPEG encoder has issues with black/white alternating lines

Sending a test pattern into the HDMI2USB which is just alternatives white/black pixels you get lots of pixels which are black which shouldn't be. The pixels change every time - this is pretty visually distinctive when watching it in mplayer.
Taking a screenshot you get the following;

Closer zoomed in image;

Can you share your orignal pattern?

It's been generated by a hardware device but we don't see any of the artifacts on the monitor.
I'll try and replicate with a computer....

I've created a whole bunch of test patterns in the following repository -> https://github.com/timvideos/test-patterns
I then confirmed that when running the lines input through a software jpeg encoder (the one that is part of imagemagick), it doesn't produce the pixel artifacts (with q=50,q=75,q=85,q=100).

This seems to be an issue inside the encoder. It's probably:

input that is not handled correctly in some case.
backpressure from the output that is not propagated correctly.

We will need simulations to fix this. Another option can also be to create our encoder in Migen.

@enjoy-digital I'm pretty sure this is fixed now, right?

@mithro: yes it was fixed during the hackfest before LCA. That was not a problem in the encoder but in the module just before it.


HBASE-24181 Add region info when log meessages in HRegion.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 32s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 33s
the patch passed

+1 :green_heart:
compile
1m 15s
the patch passed

+1 :green_heart:
javac
1m 15s
the patch passed

+1 :green_heart:
shadedjars
6m 35s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 54s
hbase-server in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
209m 18s
hbase-server in the patch passed.

241m 32s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1506/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1506

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux b1d387f00c23 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 5f08311b23

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1506/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1506/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1506/1/testReport/

Max. process+thread count
2922 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1506/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@HorizonNet @Reidddddd  Thanks for the review.


Bundled hooks should support a scope

If you manipulated your result object so that the property you want to remove is not at the root level or inside result.data as an array then it won't be removed. This is the case with auth. We set the response to be:
{
  token: 'token',
  data: {
    email<EMAIL_ADDRESS>    password: 'password'
  }
}

The password won't be removed when using the current remove hook. Ideally, the response from auth should be:
{
  token: 'token',
  user: {
    email<EMAIL_ADDRESS>    password: 'password'
  }
}

but because we cannot scope the fields to be removed they still won't be using the remove hook. The same goes for the other hooks that manipulate data.

oops. Accidentally closed.

feathers-hooks-common no support this (and v1.6.0 of feathers-hooks which uses hooks-common as its bundled hooks).


[shortfin] Make error copyable.

Just eagerly serializes the exception. Trying to defer this makes the type non copyable and is a dubious optimization given that we never use this type for flow control.
Should fix MSVC warnings and ill-defined behavior there.

Thanks!


Wendy/eng 2355 hide the add array item button when array is set from an

Add Map/Array Item button only shows when the parent Map/Array is set to be edited manually
Dropdown menu on any parent prop which has children (maps, arrays, objects) that is set via a socket or attribute function
The dropdown menu currently only allows you to switch to manually editing that prop and its children, but will have the option to connect a socket or attribute function in the future
Props which have children and have a parent that is not set manually do not show this dropdown since their parent must be set to manual before they can be set to manual
Ability to view textbox and codeviewer prop data if the prop is not editable

bors merge


Rails 4 + Turbolinks + Destroyed fields + Error on create / update

With Rails 4 and Turbolinks, code is not reloaded / executed on resource creation fail as demonstrated in the documentation of Turbolinks :
Turbolinks will be enabled only if the server has rendered a GET request.

Some examples, given a standard RESTful resource:

    POST :create => resource successfully created => redirect to GET :show
        Turbolinks ENABLED
    POST :create => resource creation failed => render :new
        Turbolinks DISABLED

This means that since cocoon.js is not wrapped in a function running on page:load / document.ready, the code is not executed on creation/update fail and the following function [ $(".remove_fields.existing.destroyed").each (i, obj) ->] does not run, thus destroyed_fields are not hidden
Simple fix would be to wrap the vendor js provided with the Cocoon gem with in :
ready = ->
 ...( )....
$(document).ready(ready)
$(document).on('page:load', ready)

If you like simple solutions :sunglasses:
#258

I think #258 is better solution.

I disagree.

I don't think that $(document).on('page:load', ready) should be part of cocoon. It is useless without turbolinks.

The only part that should be in the page:load is the hiding of the removed fields. Listening to an event that is never triggered (without turbolinks) has near to no cost, afaik. Anyway: the js as it is now will not work correctly with this solution, so using jquery.turbolinks is not a solution.

Do you have any update with cocoon and turbolinks ?

@bricesanchez as I remember I made it work with jquery-turbolinks gem, without any addition JavaScript code

@itsNikolay Could you provide me an example ?
When i try to use it with turbolinks, link_to_add_association goes mad when i click on it and clone multiple times my content instead of just one time.
It works when i do an complete refresh of the page.
I'm on rails 4.2.0, it's an refinerycms app (3.0.0)

@bricesanchez sorry, I have been flooded with work so was not able to continue working on this.
The only case where this error has effect is on forms that are posted with deleted elements, and those are not hidden. So, imho, this is a bit of an edge case. The jquery.turbolinks as mentioned as mentioned above will not solve it, as it will attach the click-handler multiple times.
Simple work-around for now (if possible): disable turbolinks on that specific page by adding “data-no-turbolink” to the  tag.
I will try to update cocoon asap including this fix (e.g. somewhere around the weekend :pray: )

@nathanvda, according to jquery.turbolinks, we have to require turbolinks at the end of our application.js manifest, it fixed my problem.
//= require jquery
//= require jquery.turbolinks
//= require jquery_ujs
//
// ... your other scripts here ...
//
//= require turbolinks

Thanks for your reply and you're great job on this Gem! :smile:

I ran into similar problems here, although more complex before I need a server side validation to ensure the last instance of the nested model cannot be removed (validates at least 1 of them present)
I've solved it (seemingly) with the following:
#_form.html.erb
<%= javascript_tag "resetCocoonDestroyed();" if @my_model.errors.present? %>

#cocoon_form_reset.js
this.resetCocoonDestroyed = function() {
    return $('.remove_fields.existing.destroyed').each(function() {
      var el = $(this);
      el.removeClass('destroyed');
      return el.prev("input[type=hidden]").val("0");
    });
  };

This means any subsequent form submissions won't try to remove the element that I rejected.
This is working with Turbolinks3, and without jquery.turbolinks, and I didn't have to add data-no-turbolink anywhere on the form
@nathanvda How are you coming with your overall solution?

@nathanvda, not related to turbolinks, just basically cover destroyed fields hiding with document ready callback ^_^ #287

@Tensho , @nathanvda , @wyaeld  Guys, has sby already solved this issue properly? I'm pretty beginner at JS, so for me it's not that easy to figure this out on my own.

I fixed the edgecase, so cocoon is now completely turbolinks compliant and should now always work as expected.
Only for @wyaeld there will be some impact: you might have to re-show the hidden fields :frowning:

Ok thanks @nathanvda
I'll have a look next time I upgrade, that system using it doesn't get a lot of change, so should be fine.

Thanks @nathanvda! I will upgrade right away!

I still have this problem with Rails 5.1 and the last version of cocoon (1.2.11).
I'm not using turbolinks, but I get this same problem in the same situation, the code inside $(document).on("ready page:load turbolinks:load", function() { never gets executed after the view is rerendered (after a validation fails).

@brianfalah which jquery version are you using? The ready event is deprecated in newer versions, and is left there for compatibility reasons. Old turbolinks requires both page:load and ready, turbolinks 5 triggers turbolinks:load also on normal page ready.
Easy solutions (for now): use an older jquery version or use turbolinks.
There is an open PR #447 to fix this, I will try to get it merged.

Ok many thhanks @nathanvda. That is my problem, absolutely.
Please, if you can get it merged it would be great. Because I am having some other problems in my app with turbolinks.
Apart of that, it shouldn't be mandatory to have turbolinks installed.
Thanks, for your quick response


Use of license identifier in package.json metadata.

The package.json license field says SEE LICENSE IN LICENSE.txt. The use of this sentence usually indicates that there is not a standard SPDX identifier for the license text.
Instead, the value should be the SPDX value of MIT. The LICENSE.txt file is identical to oci's listing of the MIT license.

Hi 👋
Thanks for opening this issue.

Instead, the value should be the SPDX value of MIT. The LICENSE.txt file is identical to oci's listing of the MIT license.

We are using the MIT license, so I agree with this change. @bamurtaugh any thoughts on this?

Thanks for opening! This change sounds reasonable to me. Any other thoughts @Chuxel?


Use NRI to inject device to container

What would you like to be added:
Current device is scheduler pod to allocate，then write annotation；in device-plugin Allocate method Inject libvgpu.so, there are several problems with doing this:

every node have a node lock, so the concurrency of node allocation device is 1.
The current implementation method will cause confusion in pod resource allocation, and the set resources will be inconsistent with the actual ones.
requires frequent interaction with kube-apiserver

We can implement an NRI plugin in the device-plugin component and use NRI to inject devices, which can solve the three problems mentioned above.
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

The initial idea is that we can let users decide whether to use device-plugin or NRI to inject the device through a parameter.


Add docs workflow

The docs are now being generated successfully @QuintinWillison, but unfortunately the "upload to Amazon S3" step failed with:
Run aws s3 sync --acl public-read docs "s3://sdk.ably.com/builds/$GITHUB_REPOSITORY/$DEPLOYMENT_REMOTE_PATH"
fatal error: An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
Error: Process completed with exit code 1.

Also, why was -derivedDataPath passed to sourcekitten doc's xcode (--) argument, I removed it but it doesn’t seem to cause a problem, so I think it's fine to leave it.

Regarding the derived data path, it was something I added in https://github.com/ably/ably-asset-tracking-swift/pull/130/commits/fd89ab941739530e3f4b8a93cc5a979a28bd2643 to try and work out what was going. Therefore, I think you're right - it's not a problem to remove it. 😁


Update working, with some styling

@keybase/react-hackers this is a functional update component, no styling yet

:thumbsup:

@cjb @MarcoPolo this is updated to kinda match the designs (they're still evolving but its close)

@MarcoPolo bunch of updates for ya

@MarcoPolo the flow issue was just flow being crappy about understanding the null checks. i made individual vars for each step and null checks and now it passes. doing something like
      if (getState().config != null && getState().config.config != null && getState().config.config.version) ...

still complains...

@MarcoPolo @cjb rebased and squished. PTAL

:+1: :100: Looks Good!! Thanks for doing all the type work too!


Pressing enter in text editor is opening component browser

Discord username
No response
What type of issue is this?
Permanent – Ocurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
When I am trying to add a new line in Text editor (i.e. add a new line and an import) Component Browser is appearing after pressing enter
Expected behaviour
Just a new line
How we can reproduce it?
No response
Screenshots or screencasts
No response
Enso Version
2023.1.1-nightly.2023.2.9
Browser or standalone distribution
Standalone distribution
Browser Version or standalone distribution
standalone
Operating System
MacOS
Operating System Version
No response
Hardware you are using
No response

No longer an issue in GUI2.


[QUESTION]  Status Indicators check for auth.mysite.com instead of photo.mysite.com

Question
Status Indicators check for auth.mysite.com instead of photo.mysite.com becose of authelia
i understand that dashy need to render site for status , but uptimekuma somehow checks without it .....
is any way to check site like kuma make it ?
or some other steps needs to make ?
Category
Status Checking
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this question hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Yeah, this has been discussed here: https://github.com/Lissy93/dashy/issues/616
But long story short, Uptime Kuma does not have an API, so it wouldn't be possbile.
But you could just write your own status check endpoint, then point to it instead.


Script for merging javadoc into the dartdoc output

@abarth

Do you want to add a sanity check that, for example, the FlutterView class exists in the docs?

Added a check and fixed an analyzer warning


Add FindADiscord.com

Add findadiscord.com, list of discord servers & communities

Thanks for the PR, @angrymouse. Could you please link to a repo per contribution guides?

Looking closer at the submitted link, this doesn't seem to fit the criteria for addition to lists, per contributing guidelines:

The project should contain the list of resources in some form; i.e. if the resources are stored in some database and the project contains only a backend code, it won’t be accepted.

I didn't find any backing repository for this website so I will close this PR - but feel free to correct me.
However, your discord-listings repo would be a nice addition so feel free to open a PR for that. I have also added a few Discord-related lists to the repo, like awesome-discord, so consider submitting FindADiscord there.


cannot change dictionary name

Once the dictionary is created, you cannot change its name. The interface allows you to do it, and seems to save it too, however when you go back to the landing page, the old name is used again.

I am unable to reproduce this bug.
I am not sure if by dictionary name you mean its user-friend name or its URL. But I have just tried changing both (on a text dictionary I created) and it worked fine.
Is this happening only on one particular dictionary, perhaps? And if so, which one?

Strangely, I also cannot reproduce the problem. I was replacing an old dictionary, and added a "-old" ending to the previous version. However, when it didn't work, I simply deleted it (saving all the settings etc. first). So it seems the issue was limited to that dictionary.


There is no lsb_release in OSX.

Check if the lsb_release command exist before running it, as there is no such command on OSX.

Removed as duplicate


Add a ddc.vim source

I recently switched to using Shougo/ddc.vim for autocomplete given it's cutting-edge design and better integration with Copilot. It would be awesome if someone could try their hand at writing a source for it, I tried for a few hours but don't know Vimscript or Typescript well enough to effectively implement.
I shouldn't imagine it'd be too hard to adapt from the Deoplete source but I was having a hard time getting good return values from Omnisharp#actions#complete#Get and using Typescript's await/promise system. I can share my Frankenstein code if helpful (private repo so no one accidentally adds it to vim). Perhaps there is someone who is more familiar with the languages who can give it a go!

Hi @gabriel-gardner, yeah share your Frankenstein repo, I'll take a look. No promises though, I'm spending the extra time I find at the moment on the test runner (#789 )

Awesome, thanks @nickspoons! Here is the repo: gabriel-gardner/ddc-omnisharp-vim
Note that I don't have deoplete installed anymore so I had to delete the call to call deoplete#auto_complete() in omnisharp.vim.

So I managed to get it working! I'm still not sure if the way I'm calling Omnisharp#actions#complete#Get without passing in a callback could potentially slow things down based on your vimscript implementation. But it is called asynchronously from the typescript and it seems to be running smoothly for me.
Could be helpful if you gave it a look but it appears to be working fine so I will close this issue. Cheers!


Update binary provider and package version

This proposed change moves to Eclipse Adoptium (AdoptOpenJDK) as the binary provider for OpenJDK 11 to allow for continued minor version and patch updates since Oracle's public update period for OpenJDK 11 ended after March 2019 (6 months after the initial September 2018 release per Oracle's standard OpenJDK public updates period). See 'Java is Still Free', "Backing Adoptium (previously AdoptOpenJDK) is Alibaba, Amazon, Azul, Huawei, IBM, Microsoft, Pivotal, Red Hat, and many others." The chef/automate-openjdk package uses Adoptium's openjdk11 binary. See also for context, the Eclipse Adoptium Charter.
This change also updates the version from 11.0.2 to the latest available, 11.0.11+9.
Test notes
Built package locally against my own origin (nateoconnell).
$ hab studio enter
   hab-studio: Importing 'nateoconnell' secret origin key
» Importing origin key from standard input
★ Imported secret origin key nateoconnell-20210324191627
   hab-studio: Importing 'nateoconnell' public origin key
» Importing origin key from standard input
★ Imported public origin key nateoconnell-20210324191627
   hab-studio: Exported: HAB_AUTH_TOKEN=[redacted]
   hab-studio: Exported: HAB_LICENSE=accept-no-persist
   hab-studio: Exported: HAB_ORIGIN=nateoconnell
   hab-studio: Exported: HAB_BLDR_URL=https://bldr.habitat.sh
[...]

[1][default:/src:0]# build
   : Loading /src/plan.sh
   openjdk11: Plan loaded
   openjdk11: Validating plan metadata
   openjdk11: Using HAB_BIN=/hab/pkgs/core/hab/1.6.319/20210512011554/bin/hab for installs, signing, and hashing
   openjdk11: hab-plan-build setup
   openjdk11: Writing pre_build file
   openjdk11: Resolving build dependencies
[...]
   openjdk11: Source Path: /hab/cache/src/jdk-11.0.11+9
   openjdk11: Installed Path: /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414
   openjdk11: Artifact: /src/results/nateoconnell-openjdk11-11.0.11-20210628145414-x86_64-linux.hart
   openjdk11: Build Report: /src/results/last_build.env
   openjdk11: SHA256 Checksum: 556fb80cdd31eaa34c468b483aff266b8ceeeed15fc126883697140838932c47
   openjdk11: Blake2b Checksum: 99ab82b543a085465178492d35f9b157ad54e7818597b72588c3fc9ad32fb5be
   openjdk11:
   openjdk11: I love it when a plan.sh comes together.
   openjdk11:
   openjdk11: Build time: 2m38s

Installed the package in a chef/chefworkstation container.
$ docker run --rm -it -v $(pwd):/build -w /build -v ~/.hab/cache/keys:/hab/cache/keys -e HAB_ORIGIN=nateoconnell -e HAB_LICENSE=accept-no-persist -e CHEF_LICENSE=accept-no-persist chef/chefworkstation bash

root@7caaaf452a94:/build# source results/last_build.env
root@7caaaf452a94:/build# hab pkg install results/${pkg_artifact}
» Installing results/nateoconnell-openjdk11-11.0.11-20210628145414-x86_64-linux.hart
☛ Verifying nateoconnell/openjdk11/11.0.11/20210628145414
↓ Downloading core/alsa-lib/1.1.9/20200404040530 for x86_64-linux
    395.58 KB / 395.58 KB / [===================================================================================] 100.00 % 121.61 MB/s
☛ Verifying core/alsa-lib/1.1.9/20200404040530
[...]
★ Install of nateoconnell/openjdk11/11.0.11/20210628145414 complete with 27 new packages installed.

Verified that the inspec tests pass.
root@7caaaf452a94:/build# inspec exec .

Profile: Habitat Core Plan openjdk11 (openjdk11)
Version: 0.1.0
Target:  local://

  ✔  core-plans-openjdk11-exists: Ensure openjdk11 exists
     ✔  Command: `hab pkg path nateoconnell/openjdk11` exit_status is expected to eq 0
     ✔  Command: `hab pkg path nateoconnell/openjdk11` stdout is expected not to be empty
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jaotc is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jaotc is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jar is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jar is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jarsigner is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jarsigner is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/java is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/java is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javac is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javac is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javadoc is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javadoc is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javap is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javap is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jcmd is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jcmd is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jconsole is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jconsole is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdb is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdb is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdeprscan is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdeprscan is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdeps is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdeps is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jhsdb is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jhsdb is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jimage is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jimage is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jinfo is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jinfo is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jjs is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jjs is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jlink is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jlink is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jmap is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jmap is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jmod is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jmod is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jps is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jps is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jrunscript is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jrunscript is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jshell is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jshell is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstack is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstack is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstat is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstat is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstatd is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstatd is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/keytool is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/keytool is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/pack200 is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/pack200 is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmic is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmic is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmid is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmid is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmiregistry is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmiregistry is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/serialver is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/serialver is expected to be executable
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/unpack200 is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/unpack200 is expected to be executable
  ✔  core-plans-openjdk11-works: Ensure openjdk11 works as expected
     ✔  Command: `hab pkg path nateoconnell/openjdk11` exit_status is expected to eq 0
     ✔  Command: `hab pkg path nateoconnell/openjdk11` stdout is expected not to be empty
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jaotc  2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jaotc  2>&1 stdout is expected to match /usage:(\s+|.*)jaotc/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jar  2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jar  2>&1 stdout is expected to match /usage:(\s+|.*)jar/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jarsigner -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jarsigner -help 2>&1 stdout is expected to match /usage:(\s+|.*)jarsigner/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/java -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/java -help 2>&1 stdout is expected to match /usage:(\s+|.*)java/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javac -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javac -help 2>&1 stdout is expected to match /usage:(\s+|.*)javac/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javadoc -- 2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javadoc -- 2>&1 stdout is expected to match /usage:(\s+|.*)javadoc/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javap -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/javap -help 2>&1 stdout is expected to match /usage:(\s+|.*)javap/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jcmd -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jcmd -help 2>&1 stdout is expected to match /usage:(\s+|.*)jcmd/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdb -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdb -help 2>&1 stdout is expected to match /usage:(\s+|.*)jdb/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdeprscan -help 2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdeprscan -help 2>&1 stdout is expected to match /usage:(\s+|.*)jdeprscan/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdeps -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jdeps -help 2>&1 stdout is expected to match /usage:(\s+|.*)jdeps/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jhsdb --help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jhsdb --help 2>&1 stdout is expected to match /clhsdb\s+command line debugger/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jimage -help 2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jimage -help 2>&1 stdout is expected to match /usage:(\s+|.*)jimage/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jinfo  2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jinfo  2>&1 stdout is expected to match /jinfo <option> <pid>/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jjs -help 2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jjs -help 2>&1 stdout is expected to match /jjs \[<options>\] <files> \[-- <arguments>\]/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jlink -help 2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jlink -help 2>&1 stdout is expected to match /usage:(\s+|.*)jlink/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jmap -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jmap -help 2>&1 stdout is expected to match /usage:(\s+|.*)jmap/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jmod -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jmod -help 2>&1 stdout is expected to match /usage:(\s+|.*)jmod/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jps -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jps -help 2>&1 stdout is expected to match /usage:(\s+|.*)jps/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jrunscript -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jrunscript -help 2>&1 stdout is expected to match /usage:(\s+|.*)jrunscript/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jshell -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jshell -help 2>&1 stdout is expected to match /usage:(\s+|.*)jshell/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstack -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstack -help 2>&1 stdout is expected to match /usage:(\s+|.*)jstack/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstat -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstat -help 2>&1 stdout is expected to match /usage:(\s+|.*)jstat/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstatd -help 2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jstatd -help 2>&1 stdout is expected to match /usage:(\s+|.*)jstatd/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/keytool -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/keytool -help 2>&1 stdout is expected to match /Key and Certificate Management Tool/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/pack200 -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/pack200 -help 2>&1 stdout is expected to match /usage:(\s+|.*)pack200/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmic -help 2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmic -help 2>&1 stdout is expected to match /usage:(\s+|.*)rmic/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmid timeout 1 2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmid timeout 1 2>&1 stdout is expected to match /usage:(\s+|.*)rmid/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmiregistry timeout 1 2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/rmiregistry timeout 1 2>&1 stdout is expected to match /usage:(\s+|.*)rmiregistry/i
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/serialver  2>&1 exit_status is expected to cmp == /^[^0]{1}\d*$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/serialver  2>&1 stdout is expected to match /use: serialver \[-classpath classpath\]/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/unpack200 -help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/unpack200 -help 2>&1 stdout is expected to match /usage:(\s+|.*)unpack200/i

Profile Summary: 2 successful controls, 0 control failures, 0 controls skipped
Test Summary: 130 successful, 0 failures, 0 skipped

The AdoptOpenJDK package also provides a jfr binary. This, and some context from this PR, were added to the README. The inspec checks were updated to include the jfr binary and they were confirmed to pass in the same chef/chefworkstation container.
root@e9ebac7a464f:/build# inspec exec .

Profile: Habitat Core Plan openjdk11 (openjdk11)
Version: 0.2.0
Target:  local://

  ✔  core-plans-openjdk11-exists: Ensure openjdk11 exists
     [...]
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jfr is expected to exist
     ✔  File /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jfr is expected to be executable
     [...]
  ✔  core-plans-openjdk11-works: Ensure openjdk11 works as expected
     [...]
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jfr --help 2>&1 exit_status is expected to cmp == /^[0]$/
     ✔  Bash command /hab/pkgs/nateoconnell/openjdk11/11.0.11/20210628145414/bin/jfr --help 2>&1 stdout is expected to match /Tool for working with Flight Recorder files/
[...]
Profile Summary: 2 successful controls, 0 control failures, 0 controls skipped
Test Summary: 134 successful, 0 failures, 0 skipped

Apologies for missing some of the contributor guidelines here. Closing this PR. I would be happy to open a new one to reflect later upstream changes with the Eclipse Adoptium project if that would be helpful.


Commented Smart Rockets located in challenges

Documented the java script files of the smart rockets challenge

Okay thank you for the input I'll try fixing it up

I fixed this up and merged. Thanks, @puruj


Nested resource authorization fails with mongoid

I am using rails ~> 4.2.3, mongoid ~> 4.0.1 and cancancan ~> 1.12.0.
The following implementation fails and throws 403 status code.
load_and_authorize_resource :project
load_and_authorize_resource :task, through: :project_id, class: Project::Task

There a Project and it has many Task. I want to reach task record through project but I could not. Maybe I am wrong somewhere and I need some help.

What error do u get?

403


Volume Slider doesn't mute at 0%

The Issue
When the volume slider is set to its minimum value of 0%, music can still be heard faintly.
To Reproduce
Incredibly complicated steps to reproduce are:

Move your mouse cursor over the volume slider
[IMPORTANT!!] left click and HOLD the slider
While HOLDING the slider, drag it to the very left.
Release the left mouse button.
If these instructions are unclear and you end up somewhere unfamiliar, pray to your respective deity or god

Expected behavior
The expected behaviour of the volume slider at a value of zero is to mute whatever volume it is controlling.
Screenshots

Desktop:

OS: Windows 11
Version v1.2.1

The issue was solved. You can close this issue


HWP-262 Update Environment Variable

Description
This PR includes the following proposed change(s):
HWP-262
Requires
Add 'Requires Attention' label if appropriate.

[ ] Requires an update to the .env file
[ ] Requires adding a file listed in the .gitignore
[ ] Requires an opinion or answer to a question, see comments.
[x] Requires other attention, see below.

If there are any requirements for the developer to make after this PR is merged please list them here.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation
[ ] Version change

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
For pull requests that are not just a simple fix, please check that the branch works on your local machine.

[ ] Tested by Zach.
[ ] Tested by Brandon.
[ ] Tested by Brady.

Does the change impact or break the Docker build?

[ ] Yes
[x] No

If Yes: Has Docker been updated accordingly?

[ ] Yes
[x] No

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes
[ ] If attention is required by the developer such as updating the .env file, these requirements have been listed.

The way we have it in the code, REACT_APP_API_REF should be https://hwp-express-api-d63404-dev.apps.silver.devops.gov.bc.ca/ when right now it is hwp-express-api. I can actually go into developer tools in the browser and see env-config.js. Isn't this supposed to be set in openshift?

The way we have it in the code, REACT_APP_API_REF should be https://hwp-express-api-d63404-dev.apps.silver.devops.gov.bc.ca/ when right now it is hwp-express-api. I can actually go into developer tools in the browser and see env-config.js. Isn't this supposed to be set in openshift?

Here is what it shows in console now 'http://https//hwp-express-api-d63404-dev.apps.silver.devops.gov.bc.ca:/api/register'. It has 'http://' prefixed to the string where it shouldn't be. There is also a colon missing after 'https' and there is a colon that shouldn't be there right before '/api/register'.
Is this something that can be fixed in OpenShift or do you need us to make changes in the frontend code?