Red border around MKButton on simple page

Scene:
import { MKButton, MKColor } from 'react-native-material-kit';
import React, { Component } from 'react';
import { View, Text, TouchableHighlight } from 'react-native';
import { Actions } from 'react-native-router-flux';

export default class Proto extends Component {
  static get defaultProps() {
    return {
      text: 'Click this.'
    };
  }

  render() {
    console.log(`rendering Proto page`);
    return (
      <View style={{ marginTop: 50 }}>

        <MKButton
          onPress={() => {
            Actions.Home();
          }}>
          <Text>
            {this.props.text}
          </Text>
        </MKButton>

      </View>
    );
  }
}

Console:
$ react-native unlink react-native-material-kit
Scanning 577 folders for symlinks in /Users/jcollum/projects/starsApp/node_modules (9ms)
rnpm-install info Unlinking react-native-material-kit android dependency
rnpm-install info Android module react-native-material-kit has been successfully unlinked
rnpm-install info Unlinking react-native-material-kit ios dependency
rnpm-install info iOS module react-native-material-kit has been successfully unlinked

$ npm uninstall react-native-material-kit
-<EMAIL_ADDRESS>node_modules/ramda
-<EMAIL_ADDRESS>node_modules/react-native-material-kit
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^0.14.0 || ^15.0.0 but none was installed.

$ npm install react-native-material-kit
<EMAIL_ADDRESS>/Users/jcollum/projects/starsApp
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>(git://github.com/CharlesMangwa/simple-markdown.git#33d963c760b8196bee01b1a5ba9974bc7f669af1)

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^0.14.0 || ^15.0.0 but none was installed.

$ react-native link react-native-material-kit
Scanning 577 folders for symlinks in /Users/jcollum/projects/starsApp/node_modules (5ms)
rnpm-install info Linking react-native-material-kit android dependency
rnpm-install info Android module react-native-material-kit has been successfully linked
rnpm-install info Linking react-native-material-kit ios dependency
rnpm-install info iOS module react-native-material-kit has been successfully linked

$ react-native --version
react-native-cli: 2.0.1
react-native: 0.43.2

$ node --version
v7.9.0

Result:

I did initially install this with yarn, could that be a problem?

Console errors:
Warning: Native component for "TickView" does not exist
Warning: Native component for "MKTouchable" does not exist

I assume the rn link command didn't work so I'm doing the linking manually. Couple issues:

I can't get XCode to add the .xcodeproj file:

Add node_modules/react-native-material-kit/iOS/RCTMaterialKit.xcodeproj to your xcode project, usually under the Libraries group

Xcode will not allow me to select RCTMaterialKit.xcodeproj. It's visible but gray/unavailable.

Can't add libRCTMaterialKit.a:

Add libRCTMaterialKit.a (from Products under RCTMaterialKit.xcodeproj) to build target's Linked Frameworks and Libraries list

I get an error, file not found, on this line:
#import <React/RCTViewManager.h>

I got the Xcodeproj added (you have to use Finder, lame!) and that fixed it.
I've seen a lot of issues in this project related the link command. Is that an issue that's out of your control? A bug in react-native? Worth mentioning in the readme?

Not only MKButton and ios. I have this in android with MKRadioButton.

I'd check out Nativebase instead.
On Wed, Jun 14, 2017, 1:40 PM Iyoss<EMAIL_ADDRESS>wrote:

Not only MKButton and ios. I have this in android with MKRadioButton.
[image: 2017-06-14 22 35 30]
https://user-images.githubusercontent.com/12548990/27153632-7ca9d6b2-5152-11e7-84c9-7cbb2dd816b7.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinthink/react-native-material-kit/issues/324#issuecomment-308551702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AArAAvn1RidaHfm_04-Y-l71kgmItKTmks5sEEVZgaJpZM4NHzmK
.

did you solve this issue?


core_mosquitto not resolved in MQTT broker_url

Which addon?
ICantBelieveItsNotValetudo (Home Assistant Supervisor Addon)
Describe the bug
MQTT address configures in mqtt://<user>:<password>@core_mosquitto form does not work as described in readme.
Exception:
Error: getaddrinfo ENOTFOUND core_mosquitto
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'core_mosquitto'
}

To Reproduce
Set mqtt.broker_url value in addon configuration to mqtt://<user>:<password>@core_mosquitto format.
Expected behavior
Resolve local MQTT broker without going via router thus creating unnecessary performance penalty.
System

Supervisor version: supervisor-2021.01.7
Host system version: Home Assistant OS 5.10

Have you replaced the <user> and <password> placeholder with your login credentials?
Unfortunately I couldn't reproduce your issue.

Have you replaced the <user> and <password> placeholder with your login credentials?
Unfortunately I couldn't reproduce your issue.

Yes, when I have configured:
mqtt:
...
  broker_url: 'mqtt://myuser:mypass@<IP_ADDRESS>:1883'

addon can successfully connect.
But after changing ip address and port to core_mosquitto and restarting addon it prints in log the exception from bug description.
Tried just now.
Maybe something messing up if Mosquito addon in config has 4 ports exposed instead of just explicitly specified 1883 in working ip:port seup?

Yes, when I have configured:
mqtt:
...
  broker_url: 'mqtt://myuser:mypass@<IP_ADDRESS>:1883'

addon can successfully connect.
But after changing ip address and port to core_mosquitto and restarting addon it prints in log the exception from bug description.
Tried just now.
Maybe something messing up if Mosquito addon in config has 4 ports exposed instead of just explicitly specified 1883 in working ip:port seup?

Is the issue still happening? I researched a little about it, and the error indicates a DNS problem. With the latest supervisor the internal address of the addon is shown in the ui.
Does it work with that hostname?

Great hint about addon internal address.
Despite I have not explicitly configured or changes any thing it appeared that in my case internal addess was core-mosquitto (note dash instead for underscore).
Addon connects to MQTT fine now with mqtt://<user>:<password>@core-mosquitto.

Uhh, I just noticed that the docs of the addon also states the underscore which should be a dash. 😅
I will change that asap.
Big thoughts and all goes down with a typo 🙈


How to disable log info when creating an index?

Even with print_progress=False
        index.createIndex(
            index_params={'M': 256, 'indexThreadQty': 12, 'efConstruction': 2048, 'post': 2},
            print_progress=False
        )

the createIndex is still printing this info:
[2022-09-13 11:47:46,087][nmslib][INFO] - M                   = 256                                                                                | 1/25 [00:00<00:12,  1.95it/s]
[2022-09-13 11:47:46,087][nmslib][INFO] - indexThreadQty      = 12
[2022-09-13 11:47:46,087][nmslib][INFO] - efConstruction      = 2048
[2022-09-13 11:47:46,087][nmslib][INFO] - maxM			          = 256
[2022-09-13 11:47:46,087][nmslib][INFO] - maxM0			          = 512
[2022-09-13 11:47:46,087][nmslib][INFO] - mult                = 0.180337
[2022-09-13 11:47:46,087][nmslib][INFO] - skip_optimized_index= 0
[2022-09-13 11:47:46,087][nmslib][INFO] - delaunay_type       = 2
[2022-09-13 11:47:46,087][nmslib][INFO] - Set HNSW query-time parameters:
[2022-09-13 11:47:46,087][nmslib][INFO] - ef(Search)         =20
[2022-09-13 11:47:46,087][nmslib][INFO] - algoType           =2
[2022-09-13 11:47:46,119][nmslib][INFO] -
The space is Euclidean

Hi, @celsofranssa please try the following:
https://nmslib.github.io/nmslib/logging.html


Data Ingestion Stage

[x] Update config.yaml
[x] research or analysis
[x]  Update the entity
[x] Update the configuration manager in src config.
[x]  Update the components
[x] Update the pipeline

Dry run was sucessful on stage 01


face development

abnormal face development (child of abnormal facial morphology MP:0003743 AND abnormal head development MP:0012176)
DEF: any anomaly in the process in which the anatomical structures of the face are generated and organized
SYN: abnormal facial development
SOURCE: GO:0060325

abnormal face development MP:0030313


Theme_changing_Calculator

Hello, I am Shreyash and creating this issue under :GSSOC: and :Level3:
Tech stack
-Html -CSS -JS
Expected behavior
A simple calculator with toggle switch to change into three different type of themes.
Screenshots (optional)

Try to implement features in already existing calculators


Release on conda-forge

Is your feature request related to a problem? Please describe.
I would like to create a feedstock so that PyNite can be included in the conda-forge repository. I have recently done this for forallpeople and, if you are interested, I can do it for PyNite also.
Describe the solution you'd like
conda-forge uses a repo called staged-recipes to add packages that are already published to PyPI to conda-forge. Anyone can submit a package (I found out that someone else had already submitted handcalcs!). The package author/maintainer just needs to add a comment on the pull request indicating that they consent. After the package is added, then updates are automatically pulled from PyPI whenever a new version is published.
The important part to know is that it does not create extra work! :)
Describe alternatives you've considered
N/A
Additional context
Publishing to conda-forge provides an option for the installation of PyNite where a user is unable to install from PyPI (due to company policies).

I like this idea, though I don't know how to implement it myself. You are welcome to do it.


Issue Invoking Knife SSH from Ruby script

Description
I am unable to invoke knife::ssh from a ruby script after specifying all the required config information.  Basically trying to location a directory on a large group of servers using ruby scripting instead of knife commands, and I upgraded chefDK to 3.1.0 from 2.(something) and now I am getting the following error:
#<Thread:0x0000000003cf14a0@/home/gmacgregor1/.chefdk/gem/ruby/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/session.rb:554 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
        4: from /home/gmacgregor1/.chefdk/gem/ruby/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/session.rb:555:in `block (2 levels) in realize_pending_connections!'
        3: from /home/gmacgregor1/.chefdk/gem/ruby/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/pending_connection.rb:60:in `replace_with'
        2: from /home/gmacgregor1/.chefdk/gem/ruby/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/pending_connection.rb:60:in `each'
        1: from /home/gmacgregor1/.chefdk/gem/ruby/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/pending_connection.rb:60:in `block in replace_with'
/home/gmacgregor1/.chefdk/gem/ruby/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/pending_connection.rb:29:in `replay_on': undefined method `open_channel' for nil:NilClass (NoMethodError)

ChefDK Version
Chef Development Kit Version: 3.1.0
chef-client version: 14.2.0
delivery version: master (6862f27aba89109a9630f0b6c6798efec56b4efe)
berks version: 7.0.4
kitchen version: 1.22.0
inspec version: 2.1.72
Platform Version
centos-release-7-5.1804.el7.centos.2.x86_64
Replication Case
I pass all the values in via a json config file, and parse them using OpenStruct.
def knife_ssh (env, concurrency, chef_path, identity_file, chef_api_key, chef_api_user, name_args, stage)
  ssh_user = 'root'
  config_file = File.join("#{chef_path}", 'knife', "#{env}", 'knife.rb')

  knife = Chef::Knife::Ssh.new
  knife.name_args = name_args

  knife.config[:ssh_user] = ssh_user
  knife.config[:concurrency] = concurrency
  knife.config[:config_file] = config_file
  knife.config[:ssh_identity_file] = identity_file
  knife.config[:client_key] = chef_api_key
  knife.config[:api_key] = chef_api_key
  knife.config[:api_client_user] = chef_api_user

  stdout = StringIO.new
  stderr = StringIO.new
  knife.ui = Chef::Knife::UI.new(stdout, stderr, STDIN, {})
  knife.configure_chef
  puts "Running Knife on #{env}! Please Wait...."
  knife.run
  Chef::Knife::Ssh.reset_config_loader!
end

Omitted some specific output, but I can include that if it is required.

Hmm, if its only a CLI tool, why does this exist https://www.rubydoc.info/github/opscode/chef/Chef/Knife/Ssh...
Also this was working in chefdk 2.(something) and worked very well, when I upgraded to the newer version I figured I wouldn't have much issues.
And I am not using net-ssh directly as I would like to use the knife search function to go through the list of nodes, instead of bashing-out.

That reference is merely an example of how knife ssh checks config values internally, nothing more. The fact that RubyDocs exists is a side effect of this being a gem, no implied contract or support.

same error on a fresh install of centos and chefdk
#<Thread:0x00007fd46c137cc8@/opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/session.rb:554 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
        4: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/session.rb:555:in `block (2 levels) in realize_pending_connections!'
        3: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/pending_connection.rb:60:in `replace_with'
        2: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/pending_connection.rb:60:in `each'
        1: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/pending_connection.rb:60:in `block in replace_with'
/opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/pending_connection.rb:29:in `replay_on': undefined method `open_channel' for nil:NilClass (NoMethodError)

I think i have a way around it, but this gem is in-fact used by Knife to do concurrent sessions.

@gmacgregor1 I encountered the same thing (or at least very very similar), not by rpm though, but via brew package in OSX.
I did a fresh gem install net-ssh-multi && chef gem install net-ssh-multi and added .chefdk/gem/ruby/2.5.0/bin to my PATH variable. Previously, my PATH only contained ruby 2.4.0. Perhaps it contained wrong version of net-ssh dependencies for chefdk? Maybe you can try your OS's equivalent of the above and get it working too. Cheers


[Storage] full url should be used in BatchRequest multi-part API

There's a customer reported issue for python where token credential would fail to work with batch request that doesn't have full url.
https://github.com/Azure/azure-sdk-for-python/issues/9534
I believe we have same issue as we only use the path and query
    this.body += [
      this.subRequestPrefix, // sub request constant prefix
      `${HeaderConstants.CONTENT_ID}: ${this.operationCount}`, // sub request's content ID
      "", // empty line after sub request's content ID
      `${request.method.toString()} ${getURLPathAndQuery(
        request.url
      )} ${HTTP_VERSION_1_1}${HTTP_LINE_ENDING}` // sub request start line with method
    ].join(HTTP_LINE_ENDING);

Are you suggesting use request.url directly instead of getURLPathAndQuery( request.url).
    this.body += [
      this.subRequestPrefix, // sub request constant prefix
      `${HeaderConstants.CONTENT_ID}: ${this.operationCount}`, // sub request's content ID
      "", // empty line after sub request's content ID
      `${request.method.toString()} ${ request.url} ${HTTP_VERSION_1_1}${HTTP_LINE_ENDING}` // sub request start line with method
    ].join(HTTP_LINE_ENDING);

Yes

Although we might not have a bug because we might not have the credential similar to what python has (beakTokenCredentialPolicy in the linked issue)

We do have the same issue. Reproduced in #12212
But I am not sure if using full url is the right fix.

We don't have the same issue. According to the REST API doc: https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch

The subrequest URL should only have the path of the URL (i.e without the host).
Each subrequest will be authorized and authorized separately with the provided information in the subrequest.

And we are correctly assembling the sub requests. For example, in this test case, https://github.com/Azure/azure-sdk-for-js/pull/12212/commits/4a80d44767319926963ebcae043bbbab9722bca0
--batch_e4a717e2-8ebf-43ea-a609-115d833ca9b9
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: 0

DELETE /container160429459257406184/blob0 HTTP/1.1
authorization: Bearer eyJ...

--batch_e4a717e2-8ebf-43ea-a609-115d833ca9b9
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: 1

DELETE /container160429459257406184/blob1 HTTP/1.1
authorization: Bearer eyJ...

--batch_e4a717e2-8ebf-43ea-a609-115d833ca9b9
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: 2

DELETE /container160429459257406184/%C3%A5%20%C3%A4%20%C3%B6 HTTP/1.1
authorization: Bearer eyJ...

--batch_e4a717e2-8ebf-43ea-a609-115d833ca9b9--


scheduler.variables and scheduler.pools accept dict

Signed-off-by: Mathieu Thoretton<EMAIL_ADDRESS>What does your PR do?
It allows scheduler.variables and scheduler.pools variables to accept dictionaries, along with strings.
I tried locally, it works and do not bring any breaking change or different behaviour.
This would be very handy in order to override or extend the variables in the context of multiple environements and instances.
Checklist

[x] Commits are signed
[x] Commits are squashed (if appropriate)
[x] Chart version bumped
[x] Chart documentation updated
[x] Passes linting

I'm sorry to do this, but I actually implemented something similar to this in 8.0.0 (PR coming for that soon).
It was easier than releasing multiple versions in quick succession (which is bad for users), and I did have to change it a bit.


BUG: SVG attributes linted incorrectly

React V17.0.2
eslint throwing Unknown property 'font-weight' found, use 'fontWeight' instead  react/no-unknown-property for valid properties on SVG elements. There's a whole trail of issues around this, including a fix that was reverted. See #718 for example.
This code is valid:
          <tspan font-weight="bold" ref={tooltipAllocation}>
            9.9%
          </tspan>

but incorrectly throws the above error.

You can see in this fiddle: https://jsfiddle.net/johyr6zw/ that react throws the same error, which means the lint error is correct.
In react, you can’t use “font-weight”, you must use fontWeight.


Update @appland/components

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

v0.52.0
GitHub release

Your semantic-release bot :package::rocket:


Issues regarding history_plugin and wallet_plugin

how to get transaction information via RPC call as the history_plugin is deprecated?
how to unlock wallet via RPC call as the wallet_plugin is also deprecated?
I am working in an application where i want rpc calls for both please give a detailed information.

you can use mongo db plugin.

Use keosd instead.

Is it safe to use rpc calls and communicate with keosd?

That’s the whole point of separating keosd

Ok that's great


Add font size utilities.

What does this PR do and why?
Utility classes are the wei. Why?

more performant than inline styles
more composable
less dev mental overhead
keeps the UI more consistent (limited choice of values for things)

Need more convincing? see https://johnpolacek.github.io/the-case-for-atomic-css/ and https://tailwindcss.com/docs/utility-first#maintainability-concerns
Anyways, this PR:

adds utility classes for font size. Classes stolen from https://tailwindcss.com/docs/font-size
replaces any small fontSize inline style (below 1rem) with either text-sm or text-xs

Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Closing for now


Using the same seed, the rendered IR is different

Hi, I have been trying to obtain RIR using Soundspace2.0. However, for the same seed (which leads to the same coordinates), the rendered IR is different for each run of the same script.
Using this script:
seed = 11
sim.pathfinder.seed(seed)
nav_point = sim.pathfinder.get_random_navigable_point()
if sim.pathfinder.is_navigable(nav_point):
audio_sensor.setAudioSourceTransform(nav_point + np.array([0.,1.66,0.]))
observations = sim.get_sensor_observations()
ir = np.array(sim.get_sensor_observations()["audio_sensor"])
print("Source name:", source_name, "World position:", coor)
rt60 = measure_rt60(ir, sampling_rate, decay_db=30, plot=True)
print(f'RT60 of the rendered IR for {source_name} is {rt60:.4f} seconds')

Hi @YYDreamzure yes, that is true. Our path-tracing algorithm is based on Monte-Carlo sampling and thus there is some stochasticity to improve the speed, which is only for the indirect sound. For the direct sound, there should be no stochasticity.

@ChanganVR Thank you so much for your reply! In this case, would the simulated IR be affected by agent initialisation? For example, if I rerun the AgentInitialisation function everytime I changed a sound source location, would it be the same as when I use a single agent initialisation and do not re-run the AgentInitialisation function when I changed the source location?
(All conditions set to False for Agent Initialisation)
Thanks a lot for your help!


Got Fixtures working for 0.3 and 0.4

Current coverage is 97.74%

Branch #12 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.
Review entire Coverage Diff as of f59dbc8

Powered by Codecov. Updated on successful CI builds.


merge master to r0.7

@guschmue Do we still plan to cherry-pick these changes to master? Or is CLA issue blocking you? Thanks

yes, getting to it in the afternoon. I could not figure the CLA issue yet (must be some wrong id in a commit).


ls snapshot shows all files recursively

Output of restic version
restic 0.16.2 compiled with go1.21.3 on linux/amd64
What backend/service did you use to store the repository?
ext4 filesystem
Problem description / Steps to reproduce
Listing the files in a snapshot shows all files recursively. The presence of the --recursive flag of ls hints, that this should only happen if configured (same behavior without the --path / argument).
restic ls <snapshot id> --path /

Expected behavior
The ls command for without --recursive should only list all files and directories within the given directory.

Actual behavior
The ls command lists all files recursively within a snapshot.

If restic ls <snapshot id> is called without a path, then it prints all files within a snapshot. To only list a specific folder, you have to specify a path, e.g. using restic ls <snapshot id> / (without --path ! that option is only relevant to filter snapshots).


Maintenance: Parallelize CDK Layer Stack synthesization

Summary
During the release process, we build the public Lambda Layers using a CDK stack.
Right now both X86_64 and ARM64 layers are inside the same CDK stack. This means we can't parallelize the synthesization of the layers, which is a very expensive process (currently, ARM64 layer takes 28 minutes to build, because of the ARM64 emulation via QEMU).
Why is this needed?
We could improve the release time by creating one CDK stack for each Lambda Layer architecture, and run them in parallel.
In the future, this will also make it easy to run the ARM64 Layer Stack on a dedicated ARM64 host.
Which area does this relate to?
Automation
Solution
No response
Acknowledgment

[X] This request meets Lambda Powertools Tenets
[ ] Should this be considered in other Lambda Powertools languages? i.e. Java, TypeScript

Hey @rubenfonseca I could take a stab at this. In broad strokes, can you tell me how you would approach this? Separating the ARM64 layer to a different stack?
Is there anything else needed in your opinion?

Closing this since it's fast enough now due to the use of custom workers.


Mute song when user click on sound icon

Mute song when user click on sound icons of volume control

DONE !

Mute music changes volume level
when user mute music and unmute then volume level is changing to default it's must remain same

Now it's perfect !😉


set ommsync=True

I tried to use the scripts and they didn't work until i set ommsync=True at the omm login. This is according to https://github.com/dect-e/python-mitel/blob/master/OMMClient/OMMClient.py , ln.112 ...119:

The normal OMPClient login is restricted
to all operations which can be performed using the OMP client application.
Using the OMM sync flag you will be able to perform further operations.
These operations are:
* Attach user profile to device (Login)
* Detach user profile from device (Logout)
* Write extended device information (read only in OMP)

Yes, that's true. No idea how they ever worked like this, maybe I committed an old/incomplete version…
Thanks for the fix!


service support not fully working

Hey guys,
I have a tomcat cookbook that uses the service resource to set the supports attribute but for some reason on the second run it is ignored.  Is there a bug in the service code?  Here is a link to the service: https://github.com/jperry/tomcat-all/blob/master/recipes/default.rb#L62-L66.  This is with chef 11.16.4 running with chef-solo.
Thanks,
Jay
           # In /tmp/kitchen/cookbooks/tomcat-all/recipes/default.rb

            63: service 'tomcat' do
            64:   action [:enable, :start]
            65:   supports :status => true, :restart => true, :stop => true, :status => false
            66: end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cookbooks/tomcat-all/recipes/default.rb:63:in `from_file'

           service("tomcat") do
             action [:enable, :start]
             supports {:status=>true}
             retries 0
             retry_delay 2

closing due to inactivity, also need the report against chef-12 now.

@jperry I'm going to close this issue, but if you have a stacktrace, OS details, or other information that we can use to troubleshoot, please re-open this.


Component: Sheet

Describe the bug
There is a problem with pasting data to sheetcolumn ( which are colType = dropdown ) from Excel . Let's say i have this dropdown values.

I can copy dropdown value and can paste from excel  to dropdown(sheetcolumn) as expected if i copy like

and when paste to excel like

It's okay so far. If I copy without entering dropdown itself like

It produces in Excel like

When I try to paste this last one(which is in excel) to dropdown(sheetcolumn) it doesn't set value. I mean I can't paste data to sheetcolumn which is dropdown. I can paste to normal input fields. But it doesn't work for dropdowns. What can I do for that ? Thank you
Reproducer
No response
Expected behavior
No response
PrimeFaces Extensions version
12.0.5
JSF implementation
None
JSF version
No response
Browser(s)
No response

Looks like a HandsonTable issue: https://forum.handsontable.com/t/copy-paste-on-cell-type-dropdown/6480
Since we are stuck on HandsonTable 6.2 as their last open source version I doubt this will ever get fixed.


Add support for Flutter 3

Current version generates warnings when getting compiled with Flutter 3.

Sometimes completely fails to build

same issue. like this
Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
../…/src/indicator.dart:89

'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../flutter/packages/flutter/lib/src/scheduler/binding.dart').
package:flutter/…/scheduler/binding.dart:1
SchedulerBinding.instance!.addPostFrameCallback((_) {

Hey Guys! I believe I can take a look at it today, but it shouldn't be too hard to update it.

@hmukwana @srcho can you please test it again after updating the lib to 2.0.0?

@douglasiacovelli I just tested it and it works well 2.0.0. Thank you.

Awesome! Thanks for the feedback ;)


Using mongoose-zod with superforms

I'm working with superforms and mongoose.  When I use the config in the readme I see the error: Error: Only Zod schema objects can be used with superValidate. Define the schema with z.object({ ... }) and optionally refine/superRefine/transform at the end.
Any idea on how to get these 2 to play nicely together?

Hey @soupman99 can I see your code?

@andreww2012 thanks for the reply!
Here's my file.  It's a little messy, but here's what I'm working with. I also included regular zod schema I got working with superforms (newContactSchema).
import {z} from 'zod';
import { fail } from "@sveltejs/kit"

import {superValidate, setError} from 'sveltekit-superforms/server'
/** @type {import('./$types').PageServerLoad} */
import {genTimestampsSchema, toMongooseSchema, mongooseZodCustomType} from 'mongoose-zod';

import * as M from 'mongoose'

//this is a schema I have working with superforms
const newContactSchema = z.object({
    firstName:z.string().min(5),
    lastName:z.string().min(4),
    email: z.string().email().min(4),
    company:z.string().optional(),
    // _id: z.string().optional()
})

//this is the schema I'm experiementing with
 const userZodSchema = z
  .object({
    // Sub schema
    info: z.object({
      // Define type options like this (NOT recommended - better to use `typeOptions` passed to `.mongoose()` - see FAQ)
      // [instead `.mongooseTypeOptions()`, you may use `addMongooseTypeOptions` if you opt out of extending zod prototype]
    //   nickname: z.string().min(1).mongooseTypeOptions({unique: true}),
      birthday: z.tuple([
        z.number().int().min(1900),
        z.number().int().min(1).max(12),
        z.number().int().min(1).max(31),
      ]),
      // Unlike mongoose, arrays won't have an empty array `[]` as a default value!
      friends: z.number().int().min(1).array().optional(),
      // Making the field optional
      status: z.enum(['😊', '😔', '🤔']).optional(),
      // Use this function to use special (Buffer, ObjectId, ...) and custom (Long, ...) types
      avatar: mongooseZodCustomType('Buffer'),
    }),
    // Default values set with zod's .default() are respected
    regDate: z.date().default(new Date()),
  })
  // Schema merging supported natively by zod. We make use of this feature
  // by providing a schema generator for creating type-safe timestamp fields
  .merge(genTimestampsSchema('crAt', 'upAt'))
  // Define schema options here:
  // [instead `.mongoose()`, you may use `toZodMongooseSchema` if you opt out of extending zod prototype]
  .mongoose({
    schemaOptions: {
      collection: 'users',

      // Full type safety in virtuals, as well as in statics, methods and query methods
      virtuals: {
        bday: {
          get() {
            const [y, m, d] = this.info.birthday;
            return new Date(y, m - 1, d);
          },
          set(d: Date) {
            this.info.birthday = [d.getFullYear(), d.getMonth() + 1, d.getDate()];
          },
        },
      },

    },

    // Ability to override type schema options
    typeOptions: {
      upAt: {
        index: false,
      },
    },
  });

//test out schema
const UserSchema = toMongooseSchema(userZodSchema, {});

const User = M.model('User', UserSchema);

const user = new User().toJSON();

//working superforms validation code
export async function load(event) {
    const form  = await superValidate(event, newContactSchema)
    return {
        form
    }

}

export const actions = {
    //working version of
	default: async (event) => {
		const form = await superValidate(event, newContactSchema)
		if (!form.valid) {
			return fail(400, {
				form
			})
		}else{
             return { form }
        }
	}
}

@soupman99 sorry, but from your example it's not clear what you are trying to do that produces that error. Are you trying to pass the result of toMongooseSchema call to superValidate? If so, then it won't work because toMongooseSchema returns a mongoose schema, but superValidate expects a zod schema.

I'm closing this since there are no issues with mongoose-zod here. You'll likely need to pass a schema to superforms before calling .mongoose() on it.


PlugInstall breaks if Vim started from Git-for-Windows (MSYS2)

PlugInstall failure when vim is started from MSYS2
x vim-ruby:
    /usr/bin/bash: line 0: cd: /d: No such file or directory
    PlugClean required.

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 10 2013 14:38:33)
MS-Windows 32-bit GUI version with OLE support
Compiled by mool@tororo
Big version with GUI.  Features included (+) or not (-):
+arabic             +ex_extra           +mouseshape         +syntax
+autocmd            +extra_search       +multi_byte_ime/dyn +tag_binary
+balloon_eval       +farsi              +multi_lang         +tag_old_static
+browse             +file_in_path       -mzscheme           -tag_any_white
++builtin_terms     +find_in_path       +netbeans_intg      +tcl/dyn
+byte_offset        +float              +ole                -tgetent
+cindent            +folding            +path_extra         -termresponse
+clientserver       -footer             +perl/dyn           +textobjects
+clipboard          +gettext/dyn        +persistent_undo    +title
+cmdline_compl      -hangul_input       -postscript         +toolbar
+cmdline_hist       +iconv/dyn          +printer            +user_commands
+cmdline_info       +insert_expand      -profile            +vertsplit
+comments           +jumplist           +python/dyn         +virtualedit
+conceal            +keymap             +python3/dyn        +visual
+cryptv             +langmap            +quickfix           +visualextra
+cscope             +libcall            +reltime            +viminfo
+cursorbind         +linebreak          +rightleft          +vreplace
+cursorshape        +lispindent         +ruby/dyn           +wildignore
+dialog_con_gui     +listcmds           +scrollbind         +wildmenu
+diff               +localmap           +signs              +windows
+digraphs           -lua                +smartindent        +writebackup
-dnd                +menu               -sniff              -xfontset
-ebcdic             +mksession          +startuptime        -xim
+emacs_tags         +modify_fname       +statusline         -xterm_save
+eval               +mouse              -sun_workshop       +xpm_w32
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
  system gvimrc file: "$VIM\gvimrc"
    user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
    system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   -DFEAT_CSCOPE
-DFEAT_NETBEANS_INTG   -DFEAT_XPM_W32   -DWINVER=0x0400 -D_WIN32_WINNT=0x0400
/Fo.\ObjGOLYHTRi386/ /Ox /GL -DNDEBUG  /Zl /MT -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME
-DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL
-DDYNAMIC_TCL_DLL=\"tcl85.dll\" -DDYNAMIC_TCL_VER=\"8.5\" -DFEAT_PYTHON -DDYNAMIC_PYTHON
-DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3
-DDYNAMIC_PYTHON3_DLL=\"python32.dll\" -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl51
4.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=19 -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby192.
dll\" -DFEAT_BIG /Fd.\ObjGOLYHTRi386/ /Zi
Linking: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib
shell32.lib gdi32.lib  comdlg32.lib ole32.lib uuid.lib /machine:i386 /nodefaultlib gdi32.lib version.lib   winspool.lib
comctl32.lib advapi32.lib shell32.lib  /machine:i386 /nodefaultlib libcmt.lib oleaut32.lib  user32.lib
/nodefaultlib:python27.lib /nodefaultlib:python32.lib   "E:\tcl\lib\tclstub85.lib" WSock32.lib
xpm\x86\lib\libXpm.lib /PDB:gvim.pdb -debug

Type:

[x] Bug
[ ] Enhancement
[ ] Feature Request
[ ] Question

OS:

[ ] All/Other
[ ] Linux
[ ] OS X
[x] Windows

Vim:

[x] Terminal Vim
[x] GVim
[ ] Neovim

We use cd /d on Windows since #155. Can you post the output of :echo &shell or your system? Maybe we can add /d only when it matches cmd.

I have a similar issue when running PlugInstall in vim.exe launched inside MSYSGIT (aka Windows GitBash).   The error is the same when gvim.exe is launched from MSYSGIT.
'C:\Program' is not recognized as an internal or external command,
'C:\Program' is not recognized as an internal or external command,
Error detected while processing function <SNR>9_install[1]..<SNR>9_update_impl[56]..<SNR>9_git_version_requirement[2]..<SNR>9_system:
line    4:
E484: Can't open file C:/Users/myuser/AppData/Local/Temp/VIo9CBB.tmp
Error detected while processing function <SNR>9_install[1]..<SNR>9_update_impl[56]..<SNR>9_git_version_requirement:
line    2:
E171: Missing :endif
Press ENTER or type command to continue

the output of my vim :echo &shell is C:\Program Files\Git\usr\bin\bash
vim and bash versions for reference.  This is Windows 10.
tmuka@WRKSTN-C168RD2:~]$ bash --version | head -n1
GNU bash, version 4.3.42(5)-release (x86_64-pc-msys)
[tmuka@WRKSTN-C168RD2:~]$ vim --version | head -n1
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 12 2016 18:17:48)

I suppose i need to figure out if i can change the shell path to not have spaces.

sorry, @go2null maybe I should have started a new issue for this.
Even if I add let &shell='/usr/bin/bash/' to .vimrc i still get a different error.
Error detected while processing function <SNR>9_install[1]..<SNR>9_update_impl[56]..<SNR>9_git_version_requirement[2]..<SNR>9_system:
line    4:
E484: Can't open file C:/Users/tmuka/AppData/Local/Temp/VIo8D10.tmp
Error detected while processing function <SNR>9_install[1]..<SNR>9_update_impl[56]..<SNR>9_git_version_requirement:
line    2:
E171: Missing :endif

It looks like a permissions problem with how it's trying to write the .tmp files.
I discovered i'm able to get it working by changing &shell in .vimrc to 'cmd.exe'.  I'm not sure how that effects other things i may try to do, but it makes PlugInstall work!
"let &shell='/usr/bin/bash'
let &shell='cmd.exe'

@tmuka Thanks, I'm not an expert on Windows environment. I wonder if it makes sense for vim-plug to automatically set &shell to cmd.exe. Hmm.

let &shell='/usr/bin/bash' won't work on Windows, right? Windows doesn't have a /usr/bin directory...
If you want to use bash as your shell, that's ok as long as bash is installed on your system. Just specify the path to bash.exe, but remember to escape spaces. See :h 'shell'.
If vim-plug relies on the shell, you might want to set it (just remember to restore it when vim-plug exits). You can probably get by with cmd.exe and /bin/sh (although I saw some calls to rm -rf in the code that might need to be converted to something cross-platform).

Yeah, i'm far from an expert on Windows environment myself.   When using the bash shell for windows, /usr/bin/bash IS the valid path to bash.exe.  I'll post back if i run into any problems after adding this in my .vimrc.
if has('win32') || has('win64')
        let &shell='cmd.exe'
endif

The same .vimrc still seems to work with vim-plug for Windows gvim, MSYSGIT BASH vim, and WSL (windows subsystem for linux running Ubuntu) vim.  And since i also have the MSYSGIT bash executable on my windows path, i believe calls to 'rm -rf' are valid everywhere in windows for me.  I'm not sure how to dynamically change the &shell in vim when vim-plug loads and exits.
[tmuka@WRKSTN-C168RD2:~/vimfiles]$ echo $SHELL
/usr/bin/bash
[tmuka@WRKSTN-C168RD2:~/vimfiles]$ which bash
/usr/bin/bash
[tmuka@WRKSTN-C168RD2:~/vimfiles]$ bash --version
GNU bash, version 4.3.42(5)-release (x86_64-pc-msys)
[tmuka@WRKSTN-C168RD2:~/vimfiles]$ start ver
Microsoft Windows [Version 10.0.14393]

Hopefully this helps somebody else stuck on windows!

Thanks so much for the workaround @tmuka! It worked, I have plugins!
This has been bothering me for weeks. Tonight I switched from Vundle.vim to vim-plug in an attempt to fix the problem.
I am running win10, Git Bash in Hyper term with config:
     shell: "C:\\Program\ Files\\Git\\git-cmd.exe",
    shellArgs: ['--no-cd','--command=usr/bin/bash.exe', '-l','-i'],

I experience this with vim.org binaries and nightly binaries
cc https://github.com/VundleVim/Vundle.vim/issues/779

Running the native Windows vim in msys or cygwin is not recommended so it's safe to default to cmd.exe for shell and setting all shell-related options to their default values when running shell commands for vim-plug.
set shell=cmd.exe noshellslash shellquote&vim shellxquote&vim

Vim and Neovim have different default values for those options so porting the Vim code from fzf could be necessary.


README should warn users about switching away from eu-west-1

If a developer tries to push a production release to a region that's not eu-west-1 (the default), the put will fail with a non-obvious error. However, it's not clear why until I spoke with Tim and he gave me a possible business reason.
I tried using another region in the first place because I was debugging another error and was checking up on s3 using us-east-1 during the whole process. I thought that switching to us-east-1 might fix my problem but it turned out to create another problem (with the same error message).

@Manifaust sounds reasonable. Could you elaborate on the failure message that you received? And it sounds like you had some other issue initially - what was that? How did you resolve it?
As well as updating the README, are there more specific error messages (or output in general) that you would have wanted to see in the concourse UI and/or the pivnet resource logs?
We will update the README as part of the auto-created tracker story for this issue, and if there are functional changes we could make, we'll create other stories for them too.
Thanks,
Rob

@robdimsdale I'm not 100% sure but I believe the error we received by switching away from eu-west-1 was:
logging to /tmp/pivnet-resource-out.log317182351
2016/03/23 22:18:27 Error running /opt/resource/s3-out: exit status 1

The other issue I had was that our AWS creds did not have ls permission. Tim helped us solve this. When a user's AWS creds does not have ls permission the pivnet-resource will also spit out the same error.
Ideally, it would be nice to see an error message that makes it clear there was a permission issue.

@Manifaust yes I agree a more clear error message would be desirable. When you received that error message, did you look in the logs for any more information? I assume that you can't reproduce this error as you've since fixed the infrastructure misconfiguration that was causing it?
Currently we shell out to the concourse s3 resource and add its output to our log file. Because this is a third-party dependency it is harder for us to modify the errors that it logs. We might actually already log more information; I've created the following story to see if we can improve the error messages returned to the concourse UI:

pivnet resource out should have better error messages when s3-out binary exits 1

I also updated the README to clearly highlight the consistency requirement in various source configuration. It's on the develop branch and will be promoted to the master branch with the next release.
Let me know if you think there is any other action you'd like to see us take, otherwise I'll close this issue.
Thanks,
Rob

@Manifaust - assuming you are satisfied. Going to close this. Please feel free to open again!


#105 Fix resize with n/s handles on locked aspect ratio

Fixes issue #105
Additional calculation of dimensions with locked aspect ratio starting from height change, not only width.

Oh that's quite interesting. I see the issue, I wonder if there isn't a more elegant way to do this.

@STRML I agree, updated the PR with a slight local code improvement.
I've tried to refactor as little as possible, although I believe the issue could be prevented with introduction of axis specific calculations (tracking which axis was dragged).

Thanks for the contribution.


Dataset conversion scripts

Hi @shirley-wu,
I hope you are doing well.
I am looking at the codebase to find the script that translates the table2text data into the text2table format (eg, rotowire). However, I did not manage to find it. Is it available somewhere?
Thank you very much in advance for your time!
Best,
Pietro

Hi, sorry that I do not fully understand your question. Do you mean the scripts to convert original table2text dataset into our released text2table data?

Hi @shirley-wu, thanks for your answer. Exactly!

Thanks for your reply! The scripts aren't available for now but I'll be happy to release them if you need. I'll need some time to clean up the scripts (I'll guess I can finish by 10/15). I'll update this issue again after it's finished.

Hi I just pushed the scripts to data_preprocessing

Hi @shirley-wu, thank you very much for acting so quickly on this! 🚀


Free Hand Cropping

Thanks for developing a useful library.
It would be really great if you add a new feature "free hand crop" where we can pick comers and adjust ratios.

sure @vedraj360 we will check feasibility and update it ASAP. Thanks for your feedback.

@ShwetaChauhan18  I have created a pull request with this above feature.

@vedraj360 : Thanks, we will review your PR.

@vedraj360 : Please update your PR

Done can you check PR now.

Have you checked?

@vedraj360 : Yes, our developer will check this then I will merge if all is OK

@ShwetaChauhan18 Great 👍

Hello! @vedraj360 , Thanks for showing your interest to make our library better. But we can not accept your PR as we are already using one third-party library in this project for crop feature, we can't add another third-party library now. If you can raise PR for the same feature without using any thrid party library, then we are glad to accept that. Thank you.

Worked on the issue and a new version will be released soon after some additional changes. As of now closing the issue. We will update you soon with the new version.

@vedraj360 New version has been released now. Checkout it:  https://github.com/SimformSolutionsPvtLtd/SSImagePicker/releases/tag/2.0


Does the CheXpert dataset include reports now?

Hi,
Thank you very much for releasing the source code of your work. I noticed that you use CheXpert for multimodal pre-training of your model. However, as far as I'm aware, the CheXpert dataset does not include the actual reports, only labels they extracted from the reports. I understand that people doing research on images + reports usually use datasets like MIMIC-CXR and Open-I. In fact, a fellow researcher downloaded the CheXpert dataset a couple of years ago and confirmed that it only came with labels and images, but no reports. However, I'm checking the website of the dataset right now (here: https://stanfordaimi.azurewebsites.net/datasets/8cbd9ed4-2eb9-4565-affc-111cf4f7ebe2) and just noticed that they have included new labels, i.e., cheXbert and visualCheXbert generated labels, and they have also increased the size of CheXpert-v1.0.zip to 471.12 GB (we have a copy downloaded a couple of years ago that weighs 439 GB).
Question: does that mean that the CheXpert dataset includes reports now? If so, that would be spectacular, because it would mean we could experiment with CheXpert + MIMIC-CXR instead of just using MIMIC-CXR alone (or CheXpert alone for that matter).
In fact, I'm curious: is there a particular reason why you didn't include MIMIC-CXR in your experiments (https://physionet.org/content/mimic-cxr/2.0.0/)?
Kind regards,
Pablo

I have same problem also. Can we get the "master_updated.csv" file now?


Romanian translation for giscus

Thanks @samarulmeu! The multi-language support feature isn't documented yet, but you should already be able to try this by adding data-lang="ro" to your <script> tag. I'm still working on adding the configuration step and updating the docs.
If there are updates to giscus that require new translations, I hope you don't mind if I ping you! :smile:

Thank you so much, @laymonage! And do please ping me. I really have faith in this project and really want to use it on my blogs.
As a side note, is there a way to export the comments or backup them?

@laymonage I will try it. I think that backup is very  important as, in the end, Discussions is owned by GitHub and accidents can happen (no access to the repository, suspended access, etc). Although I do not know if you can later import them in a new repository.

@samarulmeu yeah, I agree on that.
Importing is possible, with a few caveats because the imported discussions and comments will be made as new ones. Some caveats I can think of right now:

Timestamps on the comment itself will be replaced by the timestamp of your import.
The comment author would be replaced by your username or your bot's username. There's no way to create a new comment on behalf of the actual author unless they explicitly give you the permission.
Links to other discussions/issues/PRs within the same repository may be broken?

Original information for (1) and (2) can still be shown by including it in the comment body, e.g.

On Oct 17, 2021, @samarulmeu wrote:
Actual comment body here


remove css minification

To improve test times the minification step on the CSS can be removed. Really the tests should be using/importing pre-minified files. This will help ensure whatever CSS is published to npm or prod is the same CSS that the test is using.

Closing in favor of https://github.com/coryrylan/web-test-runner-performance/issues/2


End-to-end data encryption

What about the end-to-end data encryption when 2 non-matrix IM are talking together ?
Is it possible to have encryption at the bridge level ?
Or is it mandatory to use a separate tool ?

For instance, for the Slack bridge, only slack <-> bridge is encrypted. It’s possible to de-cypher room messages but each user should be using a tool like pantalaimon.
So E2EE doesn’t look possible with a bridge but it looks possible to use bridge to end encryption: https://docs.mau.fi/bridges/general/end-to-bridge-encryption.html Next step : how does it work? it really needs further investigation and POC to understand how the bridge can be able to translate encrypted room messages.
References

https://github.com/matrix-org/pantalaimon
https://matrix-org.github.io/matrix-appservice-bridge/3.1.0/classes/encryptedeventbroker.html
https://matrix-appservice-slack.readthedocs.io/en/stable/bridge-encryption/
https://techcrunch.com/2022/12/30/inside-matrix-the-protocol-that-might-finally-make-messaging-apps-interoperable/?guccounter=1
https://matrix.org/blog/2022/03/25/interoperability-without-sacrificing-privacy-matrix-and-the-dma/
https://www.cs.ru.nl/bachelors-theses/2020/Floris_Hendriks___4749294___Analysis_of_key_management_in_Matrix.pdf

About mautrix slack bridge it only allow does only from slack -> MX, but:

with bridge encryption enabled
create an encrypted room
invite slack bot
send the message !slack help
you receive the bot help message so we can assume the bridge is able to decrypt the help message

further investigation needed to see how it is done...

And some additional thoughts there : https://github.com/eimis-ans/eimis-synapse/issues/180#issuecomment-1778874116


Failure while creating a new cluster: Unable to read file /usr/share/selinux/packages/k3s.pp

When I try to set up a new cluster, I get the following error:
[...]
null_resource.agents["0-0-agent-large"] (remote-exec): [INFO]  systemd: Enabling k3s-agent unit
null_resource.agents["0-0-agent-large"] (remote-exec): Created symlink /etc/systemd/system/multi-user.target.wants/k3s-agent.service → /etc/systemd/system/k3s-agent.service.
null_resource.agents["0-0-agent-large"] (remote-exec): + /sbin/semodule -v -i /usr/share/selinux/packages/k3s.pp
null_resource.agents["0-0-agent-large"] (remote-exec): Attempting to install module '/usr/share/selinux/packages/k3s.pp':
null_resource.agents["0-0-agent-large"] (remote-exec): libsemanage.map_file: Unable to open /usr/share/selinux/packages/k3s.pp
null_resource.agents["0-0-agent-large"] (remote-exec):  (No such file or directory).
null_resource.agents["0-0-agent-large"] (remote-exec): libsemanage.semanage_direct_install_file: Unable to read file /usr/share/selinux/packages/k3s.pp
null_resource.agents["0-0-agent-large"] (remote-exec):  (No such file or directory).
null_resource.agents["0-0-agent-large"] (remote-exec): /sbin/semodule:  Failed on /usr/share/selinux/packages/k3s.pp!
╷
│ Error: remote-exec provisioner error
│
│   with null_resource.agents["0-0-agent-large"],
│   on agents.tf line 60, in resource "null_resource" "agents":
│   60:   provisioner "remote-exec" {
│
│ error executing "/tmp/terraform_1434418241.sh": Process exited with status 1
╵

The error seems to be related to this (agents.tf:60):
  # Install k3s agent
  provisioner "remote-exec" {
    inline = local.install_k3s_agent
  }

Which is strange, because, at the time this error is thrown, all control planes are already deployed which run something very similar:
  # Install k3s server
  provisioner "remote-exec" {
    inline = local.install_k3s_server
  }

The only difference I was able to find is that local.install_k3s_server has "server" at col. 255 while local.install_k3s_agent has "agent" there. I have no idea what the difference is, but for some reason this does not seem to work.
My terraform.tfvars is:
# [Some variables omitted for brevity]

control_plane_nodepools = [
  {
    name        = "control-plane-nbg1",
    server_type = "cpx11",
    location    = "nbg1",
    labels      = [],
    taints      = [],
    count       = 3
  },
]

agent_nodepools = [
  {
    name        = "agent-large",
    server_type = "cpx21",
    location    = "nbg1",
    labels      = [],
    taints      = [],
    count       = 2
  },
]

load_balancer_type     = "lb11"
load_balancer_location = "nbg1"

Hey @codemaster138 master, are you using the very last version? If not, please do!

Also, please make sure to run on a UNIX shell, i.e. either Linux, Mac, or WSL.

@mysticaltech I'm on macOS and my clone is up to date with master.

Please, use the module version and try again (just out of curiosity)!

Ok, will try to reproduce on my end ASAP.

@codemaster138 I just tried it, and others are successfully deploying every day!  It can not work.
Also, make sure to upgrade your version of Terraform to the latest and greatest!!

@mysticaltech Ok, thanks for your help. I re-created my hetzner cloud project, and this time it worked just fine. Not sure what was going on there.
Anyway, closing this now.

I ran into the issue again today with Kubernetes 1.24. It was working once yesterday but my 2 attempts today both failed.

Config
module "kube-hetzner" {
  providers = {
    hcloud = hcloud
  }
  hcloud_token = local.hcloud_token

  # commit 45c67d5 with patch for  #360
  source = "../../terraform-hcloud-kube-hetzner"

  # * Your ssh public key
  ssh_public_key = file("./ssh/id_ed25519.pub")
  # * Your private key must be "ssh_private_key = null" when you want to use ssh-agent for a Yubikey-like device authentification or an SSH key-pair with a passphrase.
  # For more details on SSH see https://github.com/kube-hetzner/kube-hetzner/blob/master/docs/ssh.md
  ssh_private_key = file("./ssh/id_ed25519")

  network_region = "eu-central" # change to `us-east` if location is ash

  control_plane_nodepools = [
    {
      name        = "control-plane-fsn1",
      server_type = "cpx11",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 1
    },
  ]

  agent_nodepools = [
    {
      name        = "agent-small",
      server_type = "cpx11",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 1
    },
  ]

  enable_nginx = true
  enable_traefik = false

  cluster_name = "mycluster"

  cni_plugin = "cilium"

  initial_k3s_channel = "v1.24".

  create_kubeconfig = false
}

provider "hcloud" {
  token = local.hcloud_token
}

terraform {
  required_version = ">= 1.2.0"
  required_providers {
    hcloud = {
      source  = "hetznercloud/hcloud"
      version = ">= 1.35.1"
    }
  }
}

output "kubeconfig" {
    value = module.kube-hetzner.kubeconfig_file
    sensitive = true
}

Logs
...["0-0-agent-small"] (remote-exec): + curl -sfL https://get.k3s.io
...["0-0-agent-small"] (remote-exec): + INSTALL_K3S_SKIP_START=true
...["0-0-agent-small"] (remote-exec): + INSTALL_K3S_SKIP_SELINUX_RPM=true
...["0-0-agent-small"] (remote-exec): + INSTALL_K3S_CHANNEL=v1.24
...["0-0-agent-small"] (remote-exec): + INSTALL_K3S_EXEC=agent
...["0-0-agent-small"] (remote-exec): + sh -
...["0-0-agent-small"] (remote-exec): [INFO]  Finding release for channel v1.24
...["0-0-agent-small"] (remote-exec): [INFO]  Using v1.24.7+k3s1 as release
...["0-0-agent-small"] (remote-exec): [INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.24.7+k3s1/sha256sum-amd64.txt
module.kube-hetzner.null_resource.kustomization: Still creating... [1m0s elapsed]
...["0-0-agent-small"] (remote-exec): [INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.24.7+k3s1/k3s
...["0-0-agent-small"] (remote-exec): [INFO]  Verifying binary download
...["0-0-agent-small"] (remote-exec): [INFO]  Installing k3s to /usr/local/bin/k3s
...["0-0-agent-small"] (remote-exec): [INFO]  Skipping installation of SELinux RPM
...["0-0-agent-small"] (remote-exec): [WARN]  Please reboot your machine to activate the changes and avoid data loss.
...["0-0-agent-small"] (remote-exec): [INFO]  Creating /usr/local/bin/kubectl symlink to k3s
...["0-0-agent-small"] (remote-exec): [INFO]  Creating /usr/local/bin/crictl symlink to k3s
...["0-0-agent-small"] (remote-exec): [INFO]  Creating /usr/local/bin/ctr symlink to k3s
...["0-0-agent-small"] (remote-exec): [INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
...["0-0-agent-small"] (remote-exec): [INFO]  Creating uninstall script /usr/local/bin/k3s-agent-uninstall.sh
...["0-0-agent-small"] (remote-exec): [INFO]  env: Creating environment file /etc/systemd/system/k3s-agent.service.env
...["0-0-agent-small"] (remote-exec): [INFO]  systemd: Creating service file /etc/systemd/system/k3s-agent.service
...["0-0-agent-small"] (remote-exec): [INFO]  systemd: Enabling k3s-agent unit
...["0-0-agent-small"] (remote-exec): Created symlink /etc/systemd/system/multi-user.target.wants/k3s-agent.service → /etc/systemd/system/k3s-agent.service.
module.kube-hetzner.null_resource.kustomization (remote-exec): deployment.apps/system-upgrade-controller condition met
module.kube-hetzner.null_resource.kustomization (remote-exec): + sleep 5
...["0-0-agent-small"] (remote-exec): + /sbin/semodule -v -i /usr/share/selinux/packages/k3s.pp
...["0-0-agent-small"] (remote-exec): Attempting to install module '/usr/share/selinux/packages/k3s.pp':
...["0-0-agent-small"] (remote-exec): libsemanage.map_compressed_file: Unable to open /usr/share/selinux/packages/k3s.pp
...["0-0-agent-small"] (remote-exec):  (No such file or directory).
...["0-0-agent-small"] (remote-exec): libsemanage.semanage_direct_install_file: Unable to read file /usr/share/selinux/packages/k3s.pp
...["0-0-agent-small"] (remote-exec):  (No such file or directory).
...["0-0-agent-small"] (remote-exec): /sbin/semodule:  Failed on /usr/share/selinux/packages/k3s.pp!

Correction. Yesterday I tried the k3s channel latest (which currently is v1.25.3+k3s1). It doesn't seem to work with v1.24 (which current is v1.24.7+k3s1). That one seems to reproducibly broken.

@fischerman Destroy and try again. It happens very rarely, that the node does not reboot after installing the k3s selinux package, if which case, just terraform destroy and try again, or ssh into the node and reboot it, and terraform apply again.

I will double-check on my end.

I have just tested it, and all works. Please follow the above; either reboot the node manually or just destroy (see readme) and apply again.
The source of this rare and random failure to reboot the node, we do not know yet.


ARROW-17108: [Python] Stop skipping dask tests on integration jobs

Some of the previously skipped tests for dask integration tests are already fixed and we don't require to skip them anymore.

@jorisvandenbossche what do you think about this?


problem with MegadetectorV6

Search before asking

[X] I have searched the Pytorch-Wildlife issues and found no similar bug report.

Bug
Hi, Thanks for the code and model weights.
I try to use MegadetectorV6 and I have a problem
LooseVersion = distutils.version.LooseVersion
AttributeError: module 'distutils' has no attribute 'version'
How can I fix it?
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?

[ ] Yes I'd like to help by submitting a PR!

Hello @Ladanovasv , thanks for reporting! This is something we have never seen before. Did you pip install . -e?

Hello @zhmiao, yes, I did

Hello @Ladanovasv, it might be caused my setuptool versions according to these issues: https://github.com/Lightning-AI/pytorch-lightning/issues/12324 and https://github.com/pytorch/pytorch/issues/69894 . Could you try pip install setuptools==59.5.0 and see if that works?

Hello @zhmiao It is fixed first problem, but I have a new problem.
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

Hello @zhmiao It is fixed first problem, but I have a new problem. RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

Hello @zhmiao It is fixed first problem, but I have a new problem. RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

This might be related to your cuda version. Do you know what cuda version are you using?

Hello @zhmiao, I am using cuda 12.3

Do you have problem importing pytorch independently? I did some search and it might be an issue related the compatibility of pytorch and cuda. Could you try a clean environment and only do pip install torch and see if you can import torch with no issue?


RNG-96: Fix parameter interpretation in the AhrensDieterMarsagliaTsangGammaSampler

AhrensDieterMarsagliaTsangGammaSampler.
This modifies the algorithm so that alpha is interpreted as a 'shape'
parameter and theta is a 'scale' parameter. This effectively reverses
the function of the parameters (alpha => theta and theta => alpha). The
algorithm parameter names match those defined on MathWorld and
Wikipedia. The sampler output matches the reference definition in the
tests when the same parameters for shape and scale are used.
alpha is a shape parameter and defines the shape of the distribution and the algorithm used.
theta is a scale parameter and just stretches the distribution.

Coverage remained the same at 98.487% when pulling ab60b3f7afa4158da637b27315222b327bc66824 on aherbert:fix-RNG-96 into 6b420fe431c9b9c799fb66f2e91ade8686df4024 on apache:master.


Send original nomad hcl jobs when creating or updating job (fixes #9)

[x] Migrated to use official github.com/hashicorp/nomad/api since openapi sdk is archived.
[x] Send the original hcl when registering the job. If you go to the ui and see the job definition you should see the original hcl file instead of json. Do note that metadata are not added in the hcl file. This now allows you to easily update the job hcl from the ui.
[x] update all go dependencies

closing in favor of #14


chore(deps): update dependency @types/node to v18.17.18

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

@types/node (source)
18.17.13 -> 18.17.18

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[x] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

resolved in #517


Teleport3D

An Area3D that when touched, transports the object or character to another position

Portal3D.txt
this is the code, it is functional, my english is not very good, but it is "documented" and i think i wrote it quite simple, setup:

add the script to proyect
use the property "Target" to teleport the "player", and, use "Player" to take objective.
that is all :D


Extend storage clients to handle Streams when used in node

Resolving #1690 in a manageable way requires that we divide the changes needed into separate independent PRs. First, the storage clients should be able to operate with streams in Node.
Goals to be resolved in this issue:

[x]  Extend the BlobClient to StreamBlobClient for supporting streams. This can be achieved relatively straight forward manner since streams are supported in node-fetch and superagent.

[x] Change StorageBackend and Clients with support for getStream and putStream. One question is should the existing getFile and putFile methods be updated or should we create separate methods to support streams?

[x] Update tests for StorageClients.

It would be better to simply update getFile and putFile to use streams. Otherwise, it will make it tempting to use the simpler method which uses buffers instead which will result in bugs like #1690 wherever it is used.

Also, it sounds like you are suggesting subclassing BlobClient, is that right? I suspect that it would be more appropriate to simply add methods like putFileStream and getFileStream to BlobClient. Admittedly, this discussion should happen in webgme-engine rather than here.

Also, it sounds like you are suggesting subclassing BlobClient, is that right? I suspect that it would be more appropriate to simply add methods like putFileStream and getFileStream to BlobClient. Admittedly, this discussion should happen in webgme-engine rather than here.

Yeah, this needs to happen in webgme-engine. However, we can extend it here and contribute the changes back to webgme-engine (https://github.com/deepforge-dev/deepforge/blob/6a1ddc92bda47fa20affab6cc79380636f252baf/src/common/StreamBlobClient.js#L41-L60).

It would be better to simply update getFile and putFile to use streams. Otherwise, it will make it tempting to use the simpler method which uses buffers instead which will result in bugs like #1690 wherever it is used.
The thought process was to make sure that existing usage of getFile and putFile works (in this PR) and change the use of getFile and putFile to getStream and putStream in the code base where streams can be used. However, I have no strong leaning towards changing getFile and putFile to support streams.

Doing it in two steps works. It's good to break these into smaller PRs when possible :)


Fix nine patch standout issue

Fix nine path major issue but there are still some issue in demo "Setting"

Coverage increased (+0.2%) to 15.138% when pulling 982caf6e8c5e4afa8bafe0d8eb3f757fdedd4cdb on htynkn:master into 45bee82af5b65983fb9e2e4958eee1a1d7b50787 on tianqiujie:master.


[YARN][Minor] Avoid hard code port number in YarnShuffleService test

Current port number is fixed as default (7337) in test, this will introduce port contention exception, better to change to a random number in unit test.
@squito , seems you're author of this unit test, mind taking a look at this fix? Thanks a lot.
[info] - executor state kept across NM restart *** FAILED *** (597 milliseconds)
[info]   org.apache.hadoop.service.ServiceStateException: java.net.BindException: Address already in use
[info]   at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:59)
[info]   at org.apache.hadoop.service.AbstractService.init(AbstractService.java:172)
[info]   at org.apache.spark.network.yarn.YarnShuffleServiceSuite$$anonfun$1.apply$mcV$sp(YarnShuffleServiceSuite.scala:72)
[info]   at org.apache.spark.network.yarn.YarnShuffleServiceSuite$$anonfun$1.apply(YarnShuffleServiceSuite.scala:70)
[info]   at org.apache.spark.network.yarn.YarnShuffleServiceSuite$$anonfun$1.apply(YarnShuffleServiceSuite.scala:70)
[info]   at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
[info]   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:20)
[info]   at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:166)
[info]   at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:42)
...

Merged build triggered.

Merged build started.

Test build #41741 has started for   PR 8502 at commit bcb93a8.

Test build #41741 has finished for   PR 8502 at commit bcb93a8.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class LogisticRegressionModel @Since("1.3.0") (
class SVMModel @Since("1.1.0") (
class GaussianMixtureModel @Since("1.3.0") (
class KMeansModel @Since("1.1.0") (@Since("1.0.0") val clusterCenters: Array[Vector])
class PowerIterationClusteringModel @Since("1.3.0") (
class StreamingKMeansModel @Since("1.2.0") (
class StreamingKMeans @Since("1.2.0") (
class BinaryClassificationMetrics @Since("1.3.0") (
class MulticlassMetrics @Since("1.1.0") (predictionAndLabels: RDD[(Double, Double)])
class MultilabelMetrics @Since("1.2.0") (predictionAndLabels: RDD[(Array[Double], Array[Double])])
class RegressionMetrics @Since("1.2.0") (
class ChiSqSelectorModel @Since("1.3.0") (
class ChiSqSelector @Since("1.3.0") (
class ElementwiseProduct @Since("1.4.0") (
class IDF @Since("1.2.0") (@Since("1.2.0") val minDocFreq: Int)
class Normalizer @Since("1.1.0") (p: Double) extends VectorTransformer
class PCA @Since("1.4.0") (@Since("1.4.0") val k: Int)
class StandardScaler @Since("1.1.0") (withMean: Boolean, withStd: Boolean) extends Logging
class StandardScalerModel @Since("1.3.0") (
class FPGrowthModel[Item: ClassTag] @Since("1.3.0") (
  class FreqItemset[Item] @Since("1.3.0") (
  class FreqSequence[Item] @Since("1.5.0") (
class PrefixSpanModel[Item] @Since("1.5.0") (
class DenseMatrix @Since("1.3.0") (
class SparseMatrix @Since("1.3.0") (
class DenseVector @Since("1.0.0") (
class SparseVector @Since("1.0.0") (
class BlockMatrix @Since("1.3.0") (
class CoordinateMatrix @Since("1.0.0") (
class IndexedRowMatrix @Since("1.0.0") (
class RowMatrix @Since("1.0.0") (
class PoissonGenerator @Since("1.1.0") (
class ExponentialGenerator @Since("1.3.0") (
class GammaGenerator @Since("1.3.0") (
class LogNormalGenerator @Since("1.3.0") (
case class Rating @Since("0.8.0") (
class MatrixFactorizationModel @Since("0.8.0") (
abstract class GeneralizedLinearModel @Since("1.0.0") (
class IsotonicRegressionModel @Since("1.3.0") (
case class LabeledPoint @Since("1.0.0") (
class LassoModel @Since("1.1.0") (
class LinearRegressionModel @Since("1.1.0") (
class RidgeRegressionModel @Since("1.1.0") (
class MultivariateGaussian @Since("1.3.0") (
case class BoostingStrategy @Since("1.4.0") (
class Strategy @Since("1.3.0") (
class DecisionTreeModel @Since("1.0.0") (
class Node @Since("1.2.0") (
class Predict @Since("1.2.0") (
class RandomForestModel @Since("1.2.0") (
class GradientBoostedTreesModel @Since("1.2.0") (
 public static class AppExecId
 public static class StoreVersion
abstract class SetOperation(left: LogicalPlan, right: LogicalPlan) extends BinaryNode
case class Union(left: LogicalPlan, right: LogicalPlan) extends SetOperation(left, right)
case class Intersect(left: LogicalPlan, right: LogicalPlan) extends SetOperation(left, right)
case class Except(left: LogicalPlan, right: LogicalPlan) extends SetOperation(left, right)

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41741/
Test FAILed.

thanks @jerryshao , good catch!  I suppose I never thought about it since the unit test doesn't actually use the server, but the service will start it in any case.
merging to master


Explicitly creating method to copy http headers to internal metadata

Description
Explicitly creating method to copy http headers to internal metadata
Issue reference
Closes #1730
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@youngbupark , I have exposed WithFastHttpHeaders with MetadataToInternalMetadata as common one. Let me know  your opinion , we can continue to have GrpcMetadataToInternalMetadata and  add "MetadataToInternalMetadata" logic for http headers directly in WithFastHttpHeaders method. Currently only caveat is that its checking for -bin headers which it is already doing though..

@youngbupark , I have exposed WithFastHttpHeaders with MetadataToInternalMetadata as common one. Let me know your opinion , we can continue to have GrpcMetadataToInternalMetadata and add "MetadataToInternalMetadata" logic for http headers directly in WithFastHttpHeaders method. Currently only caveat is that its checking for -bin headers which it is already doing though..

no objection :) we already discussed it.

@youngbupark , I have exposed WithFastHttpHeaders with MetadataToInternalMetadata as common one. Let me know your opinion , we can continue to have GrpcMetadataToInternalMetadata and add "MetadataToInternalMetadata" logic for http headers directly in WithFastHttpHeaders method. Currently only caveat is that its checking for -bin headers which it is already doing though..

@youngbupark , I have exposed WithFastHttpHeaders with MetadataToInternalMetadata as common one. Let me know your opinion , we can continue to have GrpcMetadataToInternalMetadata and add "MetadataToInternalMetadata" logic for http headers directly in WithFastHttpHeaders method. Currently only caveat is that its checking for -bin headers which it is already doing though..

no objection :) we already discussed it.

ok..I pushed though another commit..for completely separating out. I will revert that commit then..

/ok-to-test


makefile: ignore errors during clean

The file(s) being removed may not exist, but make shouldn't fail because of it:
    $ make clean
    rm ./firmware/*.uf2
    rm: cannot remove './firmware/*.uf2': No such file or directory
    make: *** [Makefile:10: clean] Error 1
    $ echo $?
    2

-f silences any output from rm even though the single dash tells make to ignore the failure, which just creates noise.

I suggest you remove - in -rm as you can get that effect by setting MAKEFLAGS=--silent in your environment, and seeing the output is the expected behavior.
Perfectly happy with the -f.
As we assume we are running in the top-level directory (which is reasonable) remove the ./ prefix.  If you want to be able to run make from any directory then here is how to find it TOP:=$(dir $(lastword $(MAKEFILE_LIST)))`.
Do we need the $(PWD) in the firmware rules?  If not remove those too.
Unrelated... does the .PHONY target with dependencies do anything with those dependencies?  If not I suggest we remove them.  podman build --tag zmk --file Dockerfile . on a cached setup takes ~1 second the 2nd time using cached values so I suggest we just eliminate the non-standard setup target and and just do the docker run in the firmware rules.  The big win was leaving the container around instead of rebuilding those each time, and standard Makefile.  What about adding a distclean target to remove the containers and images?  I will be adding a install target for my update script.

Just rename the pull request then.  We are talking about a few lines in the Makefile.  Or if you don't want to do it, say so, and I will submit a PR for it.

I'd definitely prefer the other changes being proposed to be in a separate PR

So let's get those changes in and I will file another PR when this gets merged.


Training instability?

Hi,
Thanks for the great work, @lucidrains!
I've been playing around with your Equiformer implementation as an encoder for a 3D graph. When looping over all my data samples, the encoding works fine, but as soon as I add weight updates with optimizer.step(), it only takes a couple batches until the encoder starts to produce NaN values for out.type0.
I've tried different optimizers, i.e., Adam and SGD, but the problem persists.
Do you have an idea where this instability might come from and what I could do?
Thank you,
Kevin

thanks Kevin!
how high is your learning rate? also, try adding gradient clipping, which is pretty standard for transformer training

@kdmayer also, just so you know, there is a new sota for this line of research https://github.com/lucidrains/gotennet-pytorch , without any tensor products and clebsh gordan

It looks like the observed training instability came from the way I defined my variational graph autoencoder architecture initially. After playing around a bit more, I am now able to train my baseline model :)
Will close the issue. Thanks for the pointer!

@kdmayer no problem, pay attention to gotennet
got a couple material science researchers already interested


Fix target/source keymapping

Previously, the index value referred to by a graphology graph edges list in the source and target values was being used to lookup nodes according to their position in the nodes array. This is incorrect.
This bugfix creates the key=>index mapping so that source and target refer to nodes by their key entry, not their list position.
This bugfix also moves the default index.js execution of @rapidsai/demo-api-server to port 3010, compatible with the sigma.js demo.
Finally this bugfix adds .setNullMask after the getJSONObject calls, as spurious entries in the nullmask are occurring there since the original merge https://github.com/rapidsai/node/pull/392

@thomcom not sure if it's because of this PR or the previous one, but I cannot run the demo locally:
Error: Cannot find module '../util/schema.js'
Require stack:
- /opt/rapids/node/modules/demo/api-server/routes/root.js

seems like ./util/schema.js is missing?

@thomcom not sure if it's because of this PR or the previous one, but I cannot run the demo locally:
Error: Cannot find module '../util/schema.js'
Require stack:
- /opt/rapids/node/modules/demo/api-server/routes/root.js

seems like ./util/schema.js is missing?

Oh yeah, that's extremely important, thanks for the catch.

Also @trxcllnt this makes me pretty stressed out because I see that we're not running any tests as part of CI/PR approval?


SSR for sync_html_tag_lang and sync_html_tag_dir

lang and dir attributes in <html> are missing in SSR.

But in SSR there is not a rendered tree to pick from it a <html> tag. Even web_sys can't be used. Do you have any suggestion about how could be implemented?

https://book.leptos.dev/metadata.html#body-and-html

pub fn App() -> impl IntoView {
    // ...

    #[component(transparent)]
    #[cfg(feature = "ssr")]
    fn SsrHtmlTag() -> impl IntoView {
        use leptos_fluent::expect_i18n;
        let ssr_lang = expect_i18n().language.get_untracked();
        view! {
            <Html
                lang=ssr_lang.id.to_string()
                dir=ssr_lang.dir.to_string()
            />
        }
    }
    #[component(transparent)]
    #[cfg(not(feature = "ssr"))]
    fn SsrHtmlTag() -> impl IntoView {}

    view! {
        <SsrHtmlTag/>
        // ...

Would you like to open a PR?

Yes, why not. I am just not sure how to incorporate this seamlessly. I guess we don't want people to have to insert <SsrHtmlTag/> manually.

Can you please check if #161 works for you?
use leptos_fluent::SsrHtmlTag;

Haha, I missed your PR and sent you my own. Very similar, so much so that I didn't have to modify my userland code to switch.
It works, but we need to respect sync_html_tag_lang and sync_html_tag_dir flags.

Btw,
        let effect_quote = quote! {
            ::leptos::create_effect(move |_| {
                use wasm_bindgen::JsCast;
                _ = ::leptos::document()
                    .document_element()
                    .unwrap()
                    .unchecked_into::<::leptos_fluent::web_sys::HtmlElement>()
                    .set_attribute(
                        "dir",
                        #get_language_quote.dir.as_str(),
                    );
            });
        };

can be replaced with <Html> with reactive properties.
That way you can do it in one fashion in both CSR and SSR.

Feel free to open a PR, not found a way to make it work.

Since v0.1.14 the component is not needed anymore and has been deprecated. Now sync_html_tag_lang and sync_html_tag_dir do all the work even on SSR.


Pictures not associated with street imaging and suggestion for new option

Hi,
can someone check "catalin_groza" account? It has a lot of pictures that are not street related.
Also, I think that it would be good if there is an option to mark pictures or sequences for deleting, and after that someone can review and delete those sequences.

Also accuount
byod-canada

sorry about that @smajser . that's all test data, we're having some problems with the delete system but as soon as that's fixed we'll do some long needed cleaning.

No problem, just checking.
One more question.
It looks to me that images that I capture are not divided into lanes.
Is there a need to capture street both ways or is just on enough?
G:  smajser1
S:  uros.racic
P:  +381 63 45-48-45
L:   https://www.linkedin.com/in/uros-racic-0a9555120/
T:   @racic_uros
------ Original Message ------
From: "Alex Ilisei"<EMAIL_ADDRESS>To: "openstreetcam/openstreetview.org"
<EMAIL_ADDRESS>Cc: "smajser"<EMAIL_ADDRESS>"Mention"
<EMAIL_ADDRESS>Sent: 9/6/2017 4:06:26 PM
Subject: Re: [openstreetcam/openstreetview.org] Pictures not associated
with street imaging and suggestion for new option (#139)

sorry about that @smajser https://github.com/smajser . that's all
test data, we're having some problems with the delete system but as
soon as that's fixed we'll do some long needed cleaning.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openstreetcam/openstreetview.org/issues/139#issuecomment-327494137,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdBcbLEruZw2rKgCcjC5ymxAOAKbxooTks5sfqbigaJpZM4PFeEY.

This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

We're not splitting the images between the two directions yet, that's true. It's on the roadmap, it will happen at some point.
But there's definitely a need to capture both ways for catching the traffic signs from both directions.
Thanks for doing such a great job in mapping Serbia to OSC. Most of our team is in Romania, by the way, we're practically neighbours 😉

¸Well, as good neighbors we should drink some beer an see how we can have this thing better.

Hello
can someone check "m m" account? 1400 km of pictures load until now, but no confirmation or money received....
thank you


sandbox issues to create test product

Noticed 2 issues:

The sandbox image upload doesn't render. Same image is used in prod in my account and works great.
url: https://sandbox.polar.sh/dashboard/print-shop-dev/storefront
Clicking on the sandbox product hits a 404

Thank you for reporting @artivilla 👍 There was a missing configuration on our sandbox S3 bucket that prevented images from being read. That's now solved!
Regarding the 404 on the product page, I see that your print-shop-dev organization has not enabled the storefront; meaning products are not accessible through Polar. You can enable it by going to Storefront and enable the toggle on the right:

oh interesting. feel like we should add some sort of messaging on the page to active the storefront. wasn't obvious.


Wrong status codes for pages that are not found (404)

Describe the bug
Wrong status codes are returned for pages that doesn't exist
To Reproduce
Steps to reproduce the behavior:

Open the network panel
Go to e.g. https://energyvision.app.radix.equinor.com/this_page_does_not_exist.html and  https://energyvision.app.radix.equinor.com/this_page_does_not_exist
Check the status codes

Expected behavior
404 status code in the Network tab when a page doesn't exist
Actual behavior
304 is returned for .html suffix and 200 without server side. Client side it shows the 404 page
Screenshots
If applicable, add screenshots to help explain your problem.

Correct behaviour from Next js homepage

Desktop (please complete the following information):

OSX/Chrome

By returning notFound this should now be fixed

I'm seeing a 404 in the network tab for https://energyvision.app.radix.equinor.com/this_page_does_not_exist
The .html version successfully redirects to the non-html version now so that is no longer a concern.


net: sockets: Fix logging message

A debug message told "Set EOF flag on pkt %p", but actually printed
net_context instead of net_pkt.
Signed-off-by: Paul Sokolovsky<EMAIL_ADDRESS>

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@63df409). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master   #13531   +/-   ##
=========================================
  Coverage          ?    52.5%
=========================================
  Files             ?      318
  Lines             ?    46527
  Branches          ?    10755
=========================================
  Hits              ?    24429
  Misses            ?    17199
  Partials          ?     4899

Impacted Files
Coverage Δ

subsys/net/lib/sockets/sockets.c
49.24% <0%> (ø)

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 63df409...60ea0d5. Read the comment docs.


Use string catalogues and fix non-localized strings

Use string catalogues and fix non-localized strings
:gear: Release Notes
Migrates to use of string catalogues for localization and fixes a string that is not being drawn from the localization files.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[X] I agree to follow the Code of Conduct and Contributing Guidelines.

@Supereg any idea why we are getting the discouraged_optional_collection error here? Those files were not touched and seemed to have passed before?

@Supereg any idea why we are getting the discouraged_optional_collection error here? Those files were not touched and seemed to have passed before?

Not sure why they pop up now. But feel free to add some //swiftlint:disable:this discouraged_optional_collection to the lines.

@Supereg any idea why we are getting the discouraged_optional_collection error here? Those files were not touched and seemed to have passed before?

Not sure why they pop up now. But feel free to add some //swiftlint:disable:this discouraged_optional_collection to the lines.

Thanks. I added this and then I got a line length - sometimes you just can't win!!

@Supereg any idea why we are getting the discouraged_optional_collection error here? Those files were not touched and seemed to have passed before?

Not sure why they pop up now. But feel free to add some //swiftlint:disable:this discouraged_optional_collection to the lines.

Thanks. I added this and then I got a line length - sometimes you just can't win!!

There is also a swiftlint:disable:previous ... which might be helpful here 😅

@Supereg any idea why we are getting the discouraged_optional_collection error here? Those files were not touched and seemed to have passed before?

Not sure why they pop up now. But feel free to add some //swiftlint:disable:this discouraged_optional_collection to the lines.

Thanks. I added this and then I got a line length - sometimes you just can't win!!

There is also a swiftlint:disable:previous ... which might be helpful here 😅

Fixed the SwiftLint error and got a REUSE error. Tonight is just not my night Andreas. 😅

@vishnuravi @Supereg Thank you for this fix!
Can we use this PR to directly resolve #22 which would have also been helpful to be done right in #32 to ensure that we don't run into the same issues again?
String catalogues should flag these issues and should automate these processes in the future 👍

Thank you @vishnuravi! Happy to get the PR merged once @Supereg is happy and his comments are resolved 🚀

@Supereg and I are having a side chat on Slack, we are not sure it is possible to designate strings like "Mock Simple AccountService" below as non-localized:
let configuration = AccountServiceConfiguration(name: "Mock Simple AccountService", supportedKeys: .arbitrary)

Any thoughts there?

@vishnuravi Following up on our discussion today: I addressed most of the issues with the localization files and only needed to translate a few very limited elements and added comments for the rest.
Looking forward to getting the PR finished and feel free to merge it once all the conversations are resolved 👍

fyi, I'm currently rebasing this PR and taking care of it getting it merged if that is alright for you @vishnuravi 👍

fyi, I'm currently rebasing this PR and taking care of it getting it merged if that is alright for you @vishnuravi 👍

That sounds great, thank you @Supereg!


How do I upload builds like I do in hockey app today?

How do I upload builds like I do in hockey app today? Today we have our own build machines, we build our builds, and upload them to hockey app, and then our testers download the builds from hockey app.  We have no interest in paying for cloud based building machines.  But where is there documentation on uploading builds we build on our own  build machine?

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

ID: bdc863ba-5295-2db8-b37f-584e662e725a
Version Independent ID: db2a1468-e4fa-6c55-985f-616de1e6484f
Content: App Center Pricing Information - Visual Studio App Center
Content Source: docs/general/pricing.md
Service: vs-appcenter
GitHub Login: @joemellin
Microsoft Alias: joemel

@apple-ihack-geek all of the documentation for App Center's distribution capabilities are in the Distribution section of the App Center docs. To upload your build, just use the instructions in the Release a Build doc.


feat(swsh): modify box logic for sword and shield

ミ(・・)ミ

don't make boxes exclusive to national dexes
use uniqBy to make unique map keys cause we were getting an error because there were some duplicate evolutions (e.g. for the hitmons, they all had a breed evo, and they were all dupes)
change the local endpoint to just be localhost cause its easier

issues:

hm im not entirely sure what you mean? it looks normal to me? can you send a ss?
updated!
updated!
updated!

questions:

it requires an api change, but i can change the ordering. that said, i felt like this ordering made a bit more sense since non-galarian forms are real differences in the pokemon, whereas gigantamaxes are still just normal pokemon with a special trait. so in the actual box in the game, they will look different. but that was just my thought process.
there is precedent for multi evolution methods that changed (e.g. leafeon and glaceon), but tbh, i see this as a stopgap. long term solution, especially if we plan on supporting the older gen's, is to do a similar thing like we did for boxes and affiliate an evolution with a specific game family. but i dont think that should block this launch tho. i've added it to the "after release" section of the epic issue
yaa i noticed that too. i dont think its a huge deal, but i would be okay with hardcoding it just for them. tho idk how we would structure it if we even wanted to do it "the right way"
answered in slack!

ignore the font size, i zoomed way out to show the issue, but basically it looks like the alolan forms keep getting put in their own boxes:

it's weird that you don't see it... o.o hmm.
as for mr.rime, i think the "right" way to do it is that you would know on the backend which evolutions branch from what, and you could insert like a fake blank "div" that takes up space based on some logic. maybe? for now i think i'll just add in a manual thing to push it down for just mr. rime haha. i can do that in my PR.
ok to everything else! 👍
PR looks good other than the box issue for LGPE, SM, and USUM regional dexes (for me)..

i figured it out. turns out i was running the wrong branch before lul. to fix it, i had to make an api change, but its been done and deployed, so it should be fixed now. i also found another bug with boxes as well, but i just merged the fix and will be deploying it shortly

lgtm!


Check repo contents

At some point during submission, we should use GitHub's API to query the contents of the repo and make sure that the requested assets are present (e.g. there is in fact a requirements.txt file if that was the option selected). We may be able to do this purely client-side within the web app.

It would be nice to discover the existence of these artifacts with a preference order. You can use the Contents API from GitHub to list any given path:
$ curl https://api.github.com/repos/rgbkrk/rachel/contents

The output is a JSON array (this one is trimmed down for show):
[
  {
    "name": "Analyzing Rachel the Robo Caller.ipynb",
    "path": "Analyzing Rachel the Robo Caller.ipynb",
    "sha": "fedab33c91c24b92a85c27ab2f4f27efc23d09ff",
    "size": 573024,
    "url": "https://api.github.com/repos/rgbkrk/rachel/contents/Analyzing%20Rachel%20the%20Robo%20Caller.ipynb?ref=master",
    "html_url": "https://github.com/rgbkrk/rachel/blob/master/Analyzing%20Rachel%20the%20Robo%20Caller.ipynb",
    "git_url": "https://api.github.com/repos/rgbkrk/rachel/git/blobs/fedab33c91c24b92a85c27ab2f4f27efc23d09ff",
    "download_url": "https://raw.githubusercontent.com/rgbkrk/rachel/master/Analyzing%20Rachel%20the%20Robo%20Caller.ipynb",
    "type": "file",
    "_links": {
      "self": "https://api.github.com/repos/rgbkrk/rachel/contents/Analyzing%20Rachel%20the%20Robo%20Caller.ipynb?ref=master",
      "git": "https://api.github.com/repos/rgbkrk/rachel/git/blobs/fedab33c91c24b92a85c27ab2f4f27efc23d09ff",
      "html": "https://github.com/rgbkrk/rachel/blob/master/Analyzing%20Rachel%20the%20Robo%20Caller.ipynb"
    }
  },
  {
    "name": "Dockerfile",
    "path": "Dockerfile",
    "sha": "943729af7defc8d57672b4b644ace6e431037102",
    "size": 110,
    "url": "https://api.github.com/repos/rgbkrk/rachel/contents/Dockerfile?ref=master",
    "html_url": "https://github.com/rgbkrk/rachel/blob/master/Dockerfile",
    "git_url": "https://api.github.com/repos/rgbkrk/rachel/git/blobs/943729af7defc8d57672b4b644ace6e431037102",
    "download_url": "https://raw.githubusercontent.com/rgbkrk/rachel/master/Dockerfile",
    "type": "file",
    "_links": {
      "self": "https://api.github.com/repos/rgbkrk/rachel/contents/Dockerfile?ref=master",
      "git": "https://api.github.com/repos/rgbkrk/rachel/git/blobs/943729af7defc8d57672b4b644ace6e431037102",
      "html": "https://github.com/rgbkrk/rachel/blob/master/Dockerfile"
    }
  },
  {
    "name": "requirements.txt",
    "path": "requirements.txt",
    "sha": "32a73da18672214771b783cc298468c3e7596470",
    "size": 167,
    "url": "https://api.github.com/repos/rgbkrk/rachel/contents/requirements.txt?ref=master",
    "html_url": "https://github.com/rgbkrk/rachel/blob/master/requirements.txt",
    "git_url": "https://api.github.com/repos/rgbkrk/rachel/git/blobs/32a73da18672214771b783cc298468c3e7596470",
    "download_url": "https://raw.githubusercontent.com/rgbkrk/rachel/master/requirements.txt",
    "type": "file",
    "_links": {
      "self": "https://api.github.com/repos/rgbkrk/rachel/contents/requirements.txt?ref=master",
      "git": "https://api.github.com/repos/rgbkrk/rachel/git/blobs/32a73da18672214771b783cc298468c3e7596470",
      "html": "https://github.com/rgbkrk/rachel/blob/master/requirements.txt"
    }
  }
]

Which of course you can glean out the top level files quickly:
$ curl -s https://api.github.com/repos/rgbkrk/rachel/contents | json -a "name"
.gitignore
Analyzing Rachel the Robo Caller.ipynb
Dockerfile
LICENSE
Modeling Rachel the Robo Caller.ipynb
README.md
requirements.txt

You will want to use an authenticated context server side for this so that GitHub doesn't rate limit you as early.


feat: plugins should be able to declare that they want sidecar to occupy the full screen

right now, a plugin can return an entity which will be rendered in the sidecar. but there is no way for it to specify that the sidecar should open full screen.

coming soon Presentation