rdwap.ini for 10.0.19041.1202

Need rdwrap.ini file for 10.0.19041.1202
tanks

termsrv--2021-09-02a--10.0.19041.1202.dll.zip

thank you, but will it be possible to send me the rdwrap.ini file first?

thank you, but will it be possible to send me the rdwrap.ini file first?

Once the dll is used to create the INI section, by someone -- @sebaxherhtc can do this with his auto-generation, the the INI files will be updated, including mine here
Usually each new dll will have new values and playing around with guesses is a bad way to go.

termsrv--2021-09-02a--10.0.19041.1202.dll.zip
64 bit version
@sebaxakerhtc
NB: the "zip" file was created as ".7z" and renamed so it could be attached here, let me know if there is any problem extracting it.

Values added. There is no difference with 1904x.1200

thank you, work !!!

Excuse me, how can I use rdwap.ini file?

Excuse me, how can I use rdwap.ini file?

Do the normal install, if you haven't done that already.
Copy in the new INI, replacing the one in "C:\Program Files\RDP Wrapper"
Restart RDPWrap with RDPWInst.exe -r as an admin user.

Thank you very much!
---Original---
From: @.>
Date: Fri, Sep 3, 2021 20:57 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [stascorp/rdpwrap] rdwap.ini for 10.0.19041.1202 (#1508)
Excuse me, how can I use rdwap.ini file?
Do the normal install, if you haven't done that already.
Copy in the new INI, replacing the one in "C:\Program Files\RDP Wrapper"
Restart RDPWrap with RDPWInst.exe -r as an admin user.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Thank you very much.


Add SQL Developer

SQL Developer is a proprietary software by Oracle. There's a download link here, but it requires a log-in and to accept a license. I'm not sure if it's possible to do that with Scoop.
It would be possible to change the download URL to bypass the log-in by re-hosting it on IPFS, but it seems like it's not in Scoop's scope to do that.
I hope you're able to find a way to add it to Scoop!

Accepting license is possible with cookies.oraclelicense = 'accept-sqldev-cookie', but downloading, which need login is not possible.

Oh, it's good. I've seen it was the same thing for https://github.com/Homebrew/homebrew-cask/issues/16454. Thanks for trying!


Trivia And Definition And Synonyms

I will look for some more.

I have updated this code to fix the issues.

@bsoyka Is there anything missing or incorrect here? Or are you just holding off on merging? :)

@bsoyka If there is I am happy to fix them.

This is an example of how it would work

I have just fixed some bugs with the code

@DarianAmin Wouldn't you just be able to put any of the answers and it would be considered correct?

Yes you would. I think I have found a possible solution to it though 🤔


Support non-standard ImageMarkerArray message

The rendering code at https://github.com/cruise-automation/webviz/blob/master/packages/webviz-core/src/panels/ImageView/renderImage.js#L174-L177 already supports this message.

Summary
Explicitly support a message named webviz_msgs/ImageMarkerArray that is already implicitly supported by the marker painting code.
Test plan
Untested
Versioning impact
This would be a minor version bump under semver.

@jhurliman we are having some CI issues which we'll be fixing soon. At the same time, I've incorporated your changes here and it has been merged to master.

@jhurliman we are having some CI issues which we'll be fixing soon. At the same time, I've incorporated your changes here and it has been merged to master.

We're working on getting visualization_msgs/ImageMarkerArray accepted into the official ROS common_msgs package (see https://github.com/ros/common_msgs/pull/172). Until then, we've published foxglove_msgs/ImageMarkerArray to the ROS ecosystem and it will hopefully be available with the next ROS Noetic update (see https://github.com/ros/rosdistro/pull/29682). Foxglove Studio will recognize foxglove_msgs/ImageMarkerArray, webviz_msgs/ImageMarkerArray, or visualization_msgs/ImageMarkerArray if it's accepted.


freezing of model fails if eager mode is disabled

In the training script, you seem to be disabling eager mode: tf.compat.v1.disable_eager_execution()
If you disable eager mode, the line below fails.
frozen_model = convert_variables_to_constants_v2(concrete_function)
The error you get is numpy() is only available when eager execution is enabled.
Running on  4th Gen Xeon CPU
My package version:
pandas==1.4.1
scikit-learn==1.0.1
tensorflow==2.10.0

Hello.
We made some updates to the repo. Check if the problem was solved with the new updates.

Issue will be closed due to inactivity.


Create Upgrading Guide.md

Touched up some language.

It still said 1.0...we're in 1.4 and some people might not upgrade for many, many versions. 😛


Miscellaneous improvements

My editor was complaining about the include cycle between view.h and feedlistformaction.h (not new, it was doing that for some time already).
The include guards look okay and the compiler does not complain, so I guess it's just an over-active analyzer.
Regardless, the FeedListFormAction class was forward declared already, so I removed the superfluous include.
Afterwards, I thought it would be fun trying to minimize view.h's includes.
Not sure if it's all that useful, but was a fun little exercise.

Coverage increased (+0.003%) to 59.3% when pulling 2df4409a3c47ebe9acd690fe549da482e4b88318 on dennisschagt:misc-improvements into fa5ddc4e8814467517cb7d26844d8435bcb293f8 on newsboat:master.


TextField does not seem to be working inside of a dialog?

I'm not the greatest JS developer but I'm starting work on a React/Redux UI for a Python project I maintain, so please pardon my ignorance if this isn't a problem w/ your code!
I'm trying to get this working using the following dependencies:
  "dependencies": {
    "immutable": "^3.8.1",
    "isomorphic-fetch": "^2.2.1",
    "material-ui": "^0.15.0",
    "react": "^15.1.0",
    "react-dom": "^15.1.0",
    "react-notification": "^5.0.4",
    "react-redux": "^4.4.5",
    "react-router": "^2.4.1",
    "react-router-redux": "^4.0.4",
    "react-tap-event-plugin": "^1.0.0",
    "redux": "^3.5.2",
    "redux-api-middleware": "^1.0.2",
    "redux-form": "^5.2.5",
    "redux-form-material-ui": "^2.0.0",
    "redux-rest-resource": "^0.4.1",
    "redux-thunk": "^2.1.0"
  }

I've got a DeviceForm component that has a FlatButton with text "Create Device" that when clicked opens a  Dialog with a form inside. The idea is, you click the button, fill out the form, and then the modal closes.
So, it works fine without the TextField. When I try to add a Field with the component TextField to the form like in your example code, it never renders and I get this in the console.log:
Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `DeviceForm`.

Here's the entire component called DeviceForm:
import React from 'react';
import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton';
import { Field, reduxForm } from 'redux-form';
import {TextField} from 'redux-form-material-ui';
// import TextField from 'material-ui/TextField';

class DeviceForm extends React.Component {
  constructor(props) {
    super(props);

    // Initial state
    this.state = {
      open: false,
    }

    // Bind methods
    this.handleOpen = this.handleOpen.bind(this);
    this.handleClose = this.handleClose.bind(this);
  }

  handleOpen() {
    console.log('DeviceForm.handleOpen()');
    this.setState({open: true});
  }

  handleClose() {
    console.log('DeviceForm.handleClose()');
    this.setState({open: false});
  }

  render() {
    const {
      fields: {hostname},
      handleSubmit,
      pristine,
      resetForm,
      submitting
    } = this.props;

    return (
      <div>
        <RaisedButton label="Create Device" onTouchTap={this.handleOpen} />
        <Dialog
          title="Create Device"
          modal={false}
          open={this.state.open}
          onRequestClose={this.handleClose}
        >
          I am a a dialog.
          <form onSubmit={handleSubmit}>
            <Field
              name="hostname"
              component={TextField}
              hintText="Hostname"
              floatingLabelText="Hostname"
              required
              defaultValue={hostname.value}
            />
            <FlatButton
              label="Close"
              primary={true}
              onTouchTap={this.handleClose}
            />
            <FlatButton
              label="Create"
              type="submit"
              primary={true}
              keyboardFocused={true}
              disabled={pristine || submitting}
              onTouchTap={this.handleClose}
            />
          </form>

        </Dialog>
      </div>
    );
  }
}
DeviceForm = reduxForm({
  form: 'deviceForm',
  fields: ['hostname']
})(DeviceForm)

export default DeviceForm;

If I remove the Field from the form, the modal pops when I click the "Create Device" button. Any ideas? Is this a bug? Thanks in advance!
Cheers!

Ok so I determined that this syntax I'm trying to use is for redux-form 6.x (alpha), so I've made some progress. I installed v6.0.0-alpha.13 from npm but TextField still doesn't seem to be working!

You seem to be mixing redux-form v5 and v6 syntax. There is no fields array or this.props.fields in v6.

I think we can disregard this. I realized now having just upgraded to match the example code installing v6.0.0-alpha.14 from GitHub my stuff is working.
Thanks for the quick response and I look forward to making magic. :)


kcp over udp2raw does not work well

mode=client
kcp=regular4
inbound_bandwidth=500M
outbound_bandwidth=50M
#kcptube should listen on 51820, so the wireguard client can connect to this port.
listen_port=51820
#this is the port of server side's kcptube
destination_port=5900
destination_address=<IP_ADDRESS>
encryption_password=qwerty1234
encryption_algorithm=AES-GCM
mode=server
kcp=regular4
inbound_bandwidth=1G
outbound_bandwidth=1G
#Listening on 59000
listen_port=5900
#The port number of server side's wireguard
destination_port=51820
#if wireguard and kcptube are running on the same server, use localhost, or <IP_ADDRESS>, or ::1
destination_address=localhost
encryption_password=qwerty1234
encryption_algorithm=AES-GCM
./udp2raw_amd64 -c -l<IP_ADDRESS>:5900 -ripvps:443 -k "passwd" --raw-mode easy-faketcp --seq-mode 0 --cipher-mode none
./udp2raw -s -l<IP_ADDRESS>:443 -r <IP_ADDRESS>:5900 -a -k passwd --raw-mode faketcp --seq-mode 0 --cipher-mode none

the command does not want to run.

Setting destination_address to <IP_ADDRESS> will prevent connections from working. While <IP_ADDRESS> is a valid address for listening, indicating that any address can connect to it, it cannot be used as a destination address for outbound connections.
https://superuser.com/questions/949428/whats-the-difference-between-127-0-0-1-and-0-0-0-0
https://en.wikipedia.org/wiki/<IP_ADDRESS>

Setting destination_address to <IP_ADDRESS> will prevent connections from working. While <IP_ADDRESS> is a valid address for listening, indicating that any address can connect to it, it cannot be used as a destination address for outbound connections.
https://superuser.com/questions/949428/whats-the-difference-between-127-0-0-1-and-0-0-0-0 https://en.wikipedia.org/wiki/<IP_ADDRESS>

I set up and made the route like this: wgclient > kcptube > udp2raw > ethernet > vps > udp2raw > kcptube > wgserver.

I know what you're trying to do, but I was telling you that for the scenario of this usage, DO NOT set destination_address=<IP_ADDRESS>, the correct setting is destination_address=<IP_ADDRESS>.
Those two links have already mentioned the background of <IP_ADDRESS>

With this configuration, your WireGuard connection's IP address is <IP_ADDRESS>, and your VPS's IP address is <IP_ADDRESS>. In this case, once the WireGuard connection is established, it won't automatically add an entry to the routing table to configure <IP_ADDRESS> as a direct route. Therefore, you need to manually add a direct route for your VPS IP in the WireGuard configuration file.
Honestly, before delving into network tools, learning fundamental networking basic knowledage is necessary. Otherwise, you'll struggle to formulate proper questions when seeking assistance, and it will be difficult for others to accurately diagnose the root cause of any issues you encounter.

With this configuration, your WireGuard connection's IP address is <IP_ADDRESS>, and your VPS's IP address is <IP_ADDRESS>. In this case, once the WireGuard connection is established, it won't automatically add an entry to the routing table to configure <IP_ADDRESS> as a direct route. Therefore, you need to manually add a direct route for your VPS IP in the WireGuard configuration file.
Honestly, before delving into network tools, learning fundamental networking basic knowledage is necessary. Otherwise, you'll struggle to formulate proper questions when seeking assistance, and it will be difficult for others to accurately diagnose the root cause of any issues you encounter.

Udp2raw client connects to udp2raw server, kcptube client connects to kcptube server through udp2raw tunnel.

You don't need to repeat what you want to do over and over again. What you need to do now is:

Check the routing table to see if there is a route entry to your VPS IP.

If there is no corresponding route entry, please add it in the wireguard configuration file.

After wireguard is running, use the ping command to test whether the connection is successful. Ping from the server to the client, and from the client to the server. When using ping, make sure to ping the internal IP of the wireguard VPN.
If ping is successful, check the MTU value of wireguard and adjust it to a suitable MTU size.

When using ping command, you can force the size of the packets to be sent and also force them not to be fragmented, so gradually adjusting the packet size can determine the minimum value of the MTU.

If the ping is not successful, or if you do not understand the above steps, then you can use kcptube to directly connect the two endpoints again, and adjust the bandwidth values in the configuration file to the effective value measured by iperf.
If the speed is still only 11Mbps, consider using the fec option of kcptube.
A better choice is to use udphop and enable the fec option. Remember to adjust the MTU value of wireguard.
If you don't understand and/or can't do the steps from 4 to 6, then I can't help you either.

The steps from 1 to 4 are very basic operations. In particular, ping and iperf are very basic testing tools. If you want to troubleshoot the problem, please learn how to use basic tools and basic network knowledge first.
I cannot teach you basic knowledge again and again in issue comments, nor help you come up with detailed troubleshooting steps again and again, especially those that are not related to my tool. Those basic troubleshooting steps should have been completed by you on your own, and the results should have been reported at the beginning. It has been almost a week now, and you have not done those basic tests. Don't just rely on using speedtest for troubleshooting, it can't identify which node in the middle link is causing the problem.
In addition, it is not recommended to wrap a tcp raw tunnel around kcptube, because kcptube will change its sending port periodically. If the tcp raw tunnel simulates a three-way handshake, wrapping a tcp raw tunnel may cause the latency unstable when the port number changes.
Once again, I emphasize the importance of learning basic networking knowledge and how to use basic tools. Otherwise, you won't understand what others are saying, and communication will be impossible.
Open-source software authors are not your free customer service representatives. Avoid treating them as such when seeking assistance. Also, take a moment to read about The Art of Asking Great Questions.

According to your iperf test result (which you deleted) on #23, UDP is not limited by the VPS provider.
According to the disscussion on v2ex website, Chinese users confirmed Russian VPS did not limit the speed of UDP.
https://www.v2ex.com/t/1034681

I've mentioned early on that KCPtube wasn't specifically designed for high-traffic scenario; it's intended to reduce latency.
It has already been mentioned in the documentation: https://github.com/cnbatch/kcptube/blob/main/README_EN.md

the main goal of KCP Tube is to reduce latency, rather than focusing on transmitting large amounts of data

Yet, you insist on using KCPTube for transmitting high-traffic of data.
I've also mentioned that using UDPHop and enabling the FEC option would be more suitable. I'm also doing this myself: the WireGuard tunnel passes through a UDPHop channel for transmission.
Fool? Just see what you wrote in the configuration file at the begining of this issue:
destination_address=<IP_ADDRESS>
After explanation at my first reply in this issue, you still didn't understand.
Anyone with basic network knowledge, upon seeing the reminder, will recognize the mistake and adjust the configuration accordingly, rather than simply repeating ‘what I want to do’.
Open source software authors are not obligated to provide long-term free basic knowledge tutorials, nor are they obligated to accept abuse.
Due to your comments violating the GitHub Community Guidelines, this issue has been locked.

Try https://github.com/lanthora/candy and https://github.com/lanthora/cake
If you insist that your VPS provider has UDP limitation.


first implementation of the serialization

This is the first implementation of the serialization based on boost.
It involves to switch from intrusive to shared pointers as default smart pointer. The background is that shared pointers are directly supported by boost serialization. And as far as I know it would also be more compatible to mars right?
There are two new macros which allows the BaseItem to be automatically serialized. Those are currently part of the existing macros, which might force the user to implement a serialize method for the data type that is used in the Item. We could also make this optional.
The existing macros to define a new envire Item where extended by a data type parameter.
I'll extend the implementation by documentation and more unit tests in the next days.
Also the automatic lookup of the plugin in case it was not loaded yet is missing.

Are we moving to shared pointers for Items?

Boost serialization directly supports shared pointers. We could write a support for intrusive pointers, but since we currently don't have the requirement for them, we could also switch to shared pointers.

Alright! I fine with it.


move alonzo spec out of draft

This PR:

moves the Alonzo spec out of draft and into public
fixes IOHKCoverPage.sty
adds a makefile for the Alonzo spec

resolves #2958

Just curious, who or what will run the Makefile?

Just curious, who or what will run the Makefile?

good question. by the looks of it, I might be the only person who enjoys using them :laughing:

Wondering what's happening with the link in Readme? Will it be automatically updated to point to the version that is not a draft?

yep, that link always points to the latest CI build of master (draft or not).


[release-2.17.0][BEAM-8858] sdks/java/extensions/sql to declare used-but-undeclared dependencies

R: @Ardagan
CC: @suztomo @kennknowles

Note: We should ignore the "Run SQL PreCommit" error. that CI task was not part of 2.17.0

Run SQL PostCommit

Run SQL PreCommit

@Ardagan iemejia commented expected SQL PreCommit failures. https://github.com/apache/beam/pull/10351#issuecomment-564573190

Run SQL Postcommit

The SQL precommit did not "fail". It just does not exist on the branch. On this branch, it is part of the Java precommit. But since Jenkins configs come from master, not the branch, the exclusion is still in place so the Java precommit doesn't run.

run java precommit


Option to not reload app while relaunching from launcher

Is your feature request related to a problem? Please describe.
The recent changes done on how Aves completely restarts everytime while relaunching app from launcher is affecting the productivity and kind of makes high RAM space in modern phones less meaningful. Even before this change unlike all other gallery apps, Aves take quite bit time for album cataloguing and slow animations to complete loading albums on every launch. Aves is simply perfect except the way it often feels the app doesn't stick to RAM. Especially while working on multimedia editing, i tend to have Aves in home screen and often open Aves for reference and stuff.
Describe the solution you'd like
A switch to turn off the recent app relaunching mechanism or revert the change if possible.
(Additional humble suggestion - See if you can speed up the animation speed of Album cataloguing. There is a significant seconds the app shows white boxes before the album page gets loaded. But other gallery apps load albums faster and sticks to memory for long time  - Tested devices: Pixel 7, OnePlus 7T )
Describe alternatives you've considered
NA
Additional context
This is just a request and even without it Aves would be the top gallery app out here. And the new app icon is beautiful too, thanks.

Related:

#953
#970

#953 was a reasonable request, and the change allows now to either 1) come back to the app as it was by switching back to it via the most recent apps, or 2) showing the app at the user home page when launched from the launcher. That was implemented in v1.10.8.
However there was a bug (#970) that made it always reinitializes the DB when accessed from the launcher. That was fixed in v1.10.9 so now it would show the home but not reload everything (if the app wasn't killed by the system in the meantime).
Which version do you use?

And the new app icon is beautiful too, thanks.

Thanks! Glad you like it.

Related:

Leaving and reopening the app brings you to previously state/navigated place instead of configured home #953
Collection reinitializes when app reopens from launcher #970

#953 was a reasonable request, and the change allows now to either 1) come back to the app as it was by switching back to it via the most recent apps, or 2) showing the app at the user home page when launched from the launcher. That was implemented in v1.10.8.
However there was a bug (#970) that made it always reinitializes the DB when accessed from the launcher. That was fixed in v1.10.9 so now it would show the home but not reload everything (if the app wasn't killed by the system in the meantime).
Which version do you use?

And the new app icon is beautiful too, thanks.

Thanks! Glad you like it.

a) Starting with the second part of your reply - I am using v1.11.1 now, but i was facing the bug #970 since i started using Aves almost a year back. I was facing the issue even while raising #805 request 6 months back. But i was reluctant to raise the issue as I didn't want to cry about a free app so much and apart from this Aves is far better than other galleries. Even with the latest version the issue is kind of there but also increasingly visible because the app reopen from Home page every time its opened from Homescreen/Launcher.

I am assuming the issue is mixed result of #970 issue, slow animations in album page, the bright boxes behind albums. (and additionally #953 implementation made it more visible)
b) Yes, i read through #953 again, it's a reasonable one but i feel its more of a different request/issue -
What the 953 requester asks - When app is specifically closed by pressing back button twice, when reopening the app it should open from the home of the app.
What the current implementation is - When the app is minimized by pressing home button, while reopening the app through homescreen it reopens the app from scratch.
Expected behavior as seen in all apps including Google apps, games - When the app is opened from launcher after minimizing it would resume from where we left.

Regarding b) i think you're right. I should change the current behavior, as it's not obvious and some users even think it's a bug.


UWP app + Surface Go Camera Not Working

Hi,
I am having some trouble with the ZXing barcode scanner on Surface Go.
I have created a Xamarin Forms app for iOS/UWP to scan barcodes.
On Surface Pro, app asks user for camera permission and opens camera and scans a barcode through camera.
On Surface Go, app does not even asks for user permission.
On Surface Go, I have even enabled camera for my app through Settings -> Privacy -> Camera -> Apps. Still no joy.
Camera is Intel(R) AVStream Camera 2500. This is the same camera in Surface Pro also. Driver driver details are also same.
ZXing barcode camera is not working in Surface Go.
Any help is highly appreciated.
Thanks.

Update:
I had to untick/disable 'Compile with .NET Native tool chain' to make to work in RELEASE mode on Surface GO.
But looks like that is not allowed by the App Store.

Sounds like something is getting linked out.  You might want to refer to this doc: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/windows/installation/#target-invocation-exception-when-using-compile-with-net-native-tool-chain


Interop: Compiler and C++ Bridging header disagree on ABI of Optional<CxxValueType>

Description
When writing a swift function that returns a small optional C++ value type, the swift compiler seems to generates code to

assume that the calling scope's return slot has space for the type + a bool (?)
construct the C++ type by calling its constructor
return the Optional<CxxValueType> in a register.

On the other hand, the generated bridging header from -emit-clang-header-path seems to think the type will be returned as a heap allocated allocated objective-c type (?) with a type metadata and everything that goes along with that.
Reproduction
The reproduction for this requires a few files:

a C++ type
a swift function to return CxxType? from that function
a C++ function that calls the swift function

I've created a project here that can reproduce the issue https://github.com/ADKaster/swift-shlib-cxx-exe with
cmake -B build -GNinja && cmake --build build

The most important files are below:
Color.h
#pragma once

#include <stdint.h>

class Color
{
public:
    Color() = default;
    explicit Color(uint32_t rep) : m_rep(rep) { }

    static bool fromString(Color&, char const*);

private:
    uint32_t m_rep { 0 };
};

Color.cpp
#include "Color.h"

#include <swift/bridging>
#include <shlib-Swift.h>

bool Color::fromString(Color& color, char const* str)
{
    if (auto c = SwiftShlib::colorFromString(str)) {
        color = c.get();
        return true;
    }
    return false;
}

Color.swift
import shlib

public func colorFromString(_ str: String) -> shlib.Color?
{
    if (str == "red") {
        return Color(1234)
    }
    return nil
}

Building with -DCMAKE_BUILD_TYPE=Debug, this produces the following linker error:
[1/2] Linking Swift shared library shlib/libshlib.so
FAILED: shlib/libshlib.so
: && /home/andrew/swift/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/bin/swiftc -j 32 -num-threads 32 -emit-library -Onone -g  -Xlinker --no-allow-shlib-undefined -Xlinker --no-undefined /home/andrew/swift/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/lib/swift/linux/x86_64/swiftrt.o -use-ld=lld  -Xlinker -soname -Xlinker libshlib.so -o shlib/libshlib.so shlib/CMakeFiles/shlib.dir/Color.cpp.o shlib/CMakeFiles/shlib.dir/Color.swift.o -L /home/andrew/swift/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/lib/swift/linux   -L /home/andrew/swift/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/lib/swift/linux/x86_64   -L /usr/lib/gcc/x86_64-linux-gnu/12 -lstdc++  -lm  -lgcc_s  -lgcc  -lc  -lgcc_s  -lgcc && :
error: link command failed with exit code 1 (use -v to see invocation)
ld.lld: error: undefined symbol: $sSo5ColorVMa
>>> referenced by shlib-Swift.h:5765 (shlib/include/shlib-Swift.h:5765)
>>>               /home/andrew/ladybird-org/testing/swift-tests/swift-shlib-cxx-exe/build/shlib/CMakeFiles/shlib.dir/Color.cpp.o:(swift::TypeMetadataTrait<Color>::getTypeMetadata())
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

with -DCMAKE_BUILD_TYPE=Release, the error is a bit different and less helpful:
error: link command failed with exit code 1 (use -v to see invocation)
ld.lld: error: undefined symbol: $sSo5ColorVMa
>>> referenced by Color.cpp
>>>               /home/andrew/ladybird-org/testing/swift-tests/swift-shlib-cxx-exe/build/shlib/CMakeFiles/shlib.dir/Color.cpp.o:(Color::fromString(Color&, char const*))
>>> referenced by Color.cpp
>>>               /home/andrew/ladybird-org/testing/swift-tests/swift-shlib-cxx-exe/build/shlib/CMakeFiles/shlib.dir/Color.cpp.o:(Color::fromString(Color&, char const*))
>>> referenced by Color.cpp
>>>               /home/andrew/ladybird-org/testing/swift-tests/swift-shlib-cxx-exe/build/shlib/CMakeFiles/shlib.dir/Color.cpp.o:(Color::fromString(Color&, char const*))
>>> referenced 1 more times

Expected behavior
The program should link successfully. getTypeMetadata should not be called when the swift compiler does not actually emit type metadata.
Environment
$ /home/andrew/swift/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/bin/swiftc  -version
Swift version 6.0-dev (LLVM 3427f33b53c666b, Swift 225809e3f8e9c7b)
Target: x86_64-unknown-linux-gnu
Also tested with:
$ swiftc -version
swift-driver version: 1.111.2 Apple Swift version 6.0 (swiftlang-<IP_ADDRESS>.15 clang-16<IP_ADDRESS>)
Target: arm64-apple-macosx14.0
Additional information
https://forums.swift.org/t/cxxinterop-swift-function-returning-optional-c-type-in-shlib-doesnt-generate-metadata/73423

Ugh, this is unfortunate. In the meantime, I believe you might be able to work the link error around by forcing the Swift compiler to emit metadata for the type in question by adding a function like this:
func forceMetadata() {
    let _ : Any = shlib.Color()
}

The link error goes away if I add a stub function to force swift to emit the metadata, that's true. However, in my real codebase, this caused an ASAN issue on both macOS and Linux when running through the tests. At some point one part of the code thinks an allocation should be 5 bytes (bool + u32) whereas another thinks it's supposed to be 8 bytes (presumably a heap pointer). I couldn't get it to reproduce with the example repo though, sadly

Unfortunately, I also cannot reproduce this layout issue. Could you try to create a minimal reproducer for that one (and open a new GitHub issue with that)?

The references to type metadata here do not mean that Swift is treating this as a heap object.  Swift's type metadata system covers all types.  Type metadata objects and accessor functions are emitted lazily for imported types, which is the first problem you're having here.  Of course, the C++ bindings shouldn't really need type metadata just to destroy C++ types.
The layout/ABI issue may be trickier, and we'll have to look into it.


Fix - Added content description to calendar toolbar

Fix #227 and #228
Review: @Jogan @ekchang @chahinem

We should add API to allow users to set their own custom content description for other languages.

@ekchang done

👍  LGTM


evaluate having a default binary codec

The json codec has several drawbacks, some can be addressed (e.g. not using numbers, but more stable IDs for each entity), but in the end there are many benefits for having a binary format.
@LorenVS added a proto codec in #35, but we need to evaluate the impact it has on the dart2js initial snapshot size and load time. At this time we are very frugal about adding code dependencies to dart2js, so I worry about using proto by default.
I do want us to consider supporting a binary codec by default, but at the same time be flexible when integrating dump-info data with other build systems. So, one direction I can see us taking is to create a slim binary format that we can encode and decode very efficiently (possibly similar in nature to how kernel dill files are serialized today), and use that by default. Separately we would change dart2js so that it is easier to replace the default codec, possibly by overriding the entrypoint of dart2js only (a form of static dependency-injection). Doing so will allow us to customize the format based on the build system where it is used. Possibly proto might be the default codec in bazel, but our binary format could be the default codec externally. Alternatively, dart2js could always default to the internal binary codec, and a tool (like info_binary_to_proto) can be provided to convert to any other supported codec.

A binary format and tools to convert to and from that format were added in the 0.6.0 release


etc/hosts working but not for faceCRook.com???

Hello,
Safari and Firefox does not block it facebook.com, www.facebook.com etc etc even if they are in the 'hosts' file?!
In Chrome, it's blocked/allowed 'on the fly', un/comment the lines, it respects the hosts file.
Any other site/domain is blocked or allowed but not FaceCRook...
No matter what you do, clean dns, cache, reboot, no extension, no antivirus, whatever.
FB is disabled in Sys Pref - Extensions.
Do you have the same?
How to figure out what's going on?
It was working before but is it macOS High Sierra 10.13.2 (17C88)
Thanks a lot!

After dozen of tests, I have figure out why Safari was not respecting the Hosts file.
IP6 in Syst Prefs.
Disable IP6 (in fact, local only) and it respects the Hosts file!!!
Probably the few other sites I have tested were not available on IP6.
That problem though does not exist with Chrome!!!

Do you disable IPv6?
If so, I guess FB is not blocked because Safari connects to it via its IPv6 address, while hosts file is not correctly configured for IPv6 ???

Please refer to this article, whose author had exact the same issue you had
https://coderwall.com/p/be52-a/ipv6-in-etc-hosts.
Also, it would be good to address the IPv6 configuration in the Host file section.

Thanks @lebensterben. Yes that's the same problem.
Though I don't use <IP_ADDRESS> but 0 (not even <IP_ADDRESS>).
A single zero on macos is working perfectly, it's not the case on all OS.
It's also greatly reduce the file size.
I have red that using <IP_ADDRESS> needs 2 'redirections/connections' that <IP_ADDRESS> is better.
That means that 0 is not 0 for IP6 ¯_(ツ)_/¯
In Google Chrome it's blocked, which is more logical, 0=0
I will try with <IP_ADDRESS> or ::0 perhaps it will work for IP6.
Anyway Hosts is so limited, must specify all subdomains... better use a firewall, dnsmasq, macOS-Fortress,... I have 'star-ed' several in my github profile.

If someone is interested, messenger, instagram, whatsapp and other FaceCRook sites needs to added. The top of the section Complex CDN is the beginning of a study of their format, give up as explain before, hosts is too limited.
0 facebook.com
0 www.facebook.com

0 a.ns.facebook.com
0 apps.facebook.com
0 apps.beta.facebook.com
0 b.ns.facebook.com
0 canvas.facebook.com
0 developers.facebook.com
0 error.facebook.com
0 inspired.facebook.com
0 l.facebook.com		# youtube
0 m.facebook.com		# mobile
0 pixel.facebook.com
0 research.facebook.com
0 stories.facebook.com

0 ar-ar.facebook.com
0 bg-bg.facebook.com
0 bs-ba.facebook.com
0 ca-es.facebook.com
0 cs-cz.facebook.com
0 da-dk.facebook.com
0 de-de.facebook.com
0 el-gr.facebook.com
0 en-gb.facebook.com
0 eo-eo.facebook.com
0 es-es.facebook.com
0 es-la.facebook.com
0 fa-ir.facebook.com
0 fi-fi.facebook.com
0 fo-fo.facebook.com
0 fr-ca.facebook.com
0 fr-fr.facebook.com
0 he-il.facebook.com
0 hi-in.facebook.com
0 hr-hr.facebook.com
0 hu-hu.facebook.com
0 id-id.facebook.com
0 it-it.facebook.com
0 ja-jp.facebook.com
0 ko-kr.facebook.com
0 mk-mk.facebook.com
0 nl-be.facebook.com
0 ms-my.facebook.com
0 nl-nl.facebook.com
0 pa-in.facebook.com
0 pl-pl.facebook.com
0 pt-br.facebook.com
0 pt-pt.facebook.com
0 ro-ro.facebook.com
0 ru-ru.facebook.com
0 sl-si.facebook.com
0 sr-rs.facebook.com
0 th-th.facebook.com
0 tr-tr.facebook.com
0 vi-vn.facebook.com
0 zh-cn.facebook.com
0 zh-tw.facebook.com

# Special
0 momentsapp.com
0 mapfeedback.here.com
0 www.openstreetmap.org

0 nb-no.id.prod.facebook.com

# To Do
0 instagram.com
0 messenger.com
0 fr-fr.messenger.com

# CDN
0 fbcdn.net
0 www.fbcdn.net
0 api.fbcdn.net
0 static.xx.fbcdn.net	#yes xx

0 external.xx.fbcdn.net
0 external.fbru3-1.fna.fbcdn.net

0 scontent.xx.fbcdn.net
0 scontent.fbru3-1.fna.fbcdn.net
# 0 scontent-ams.xx.fbcdn.net
# 0 scontent-ßßß.xx.fbcdn.net
# 0 scontent-ßßß#-#.xx.fbcdn.net
# 0 scontent.fgru3-2.fna.fbcdn.net

0 origincache-prn.fbcdn.net

0 video.xx.fbcdn.net

# not all .tld belongs to FB
0 fb.com
0 www.fb.com

# TLD
0 facebook.at
0 facebook.be
0 facebook.bg
0 facebook.bi
0 facebook.biz
0 facebook.bom
0 facebook.cl
0 facebook.cm
0 facebook.cn
0 facebook.co
0 facebook.co.in
0 facebook.co.nz
0 facebook.co.uk
0 facebook.com.ar
0 facebook.com.au
0 facebook.com.bd
0 facebook.com.bo
0 facebook.com.br
0 facebook.com.co
0 facebook.com.tr
0 facebook.com.tw
0 facebook.com.ua
0 facebook.com.ve
0 facebook.com.vn
0 facebook.cz
0 facebook.de
0 facebook.design
0 facebook.dk
0 facebook.es
0 facebook.etc.br
0 facebook.fr
0 facebook.hu
0 facebook.idv.tw
0 facebook.in
0 facebook.in.th
0 facebook.info
0 facebook.ir
0 facebook.it
0 facebook.jobs
0 facebook.jp
0 facebook.lv
0 facebook.ma
0 facebook.me
0 facebook.name
0 facebook.ne.jp
0 facebook.net
0 facebook.net.cm
0 facebook.net.co
0 facebook.net.pl
0 facebook.nl
0 facebook.no
0 facebook.nom.co
0 facebook.om
0 facebook.org
0 facebook.org.au
0 facebook.pl
0 facebook.ro
0 facebook.ru
0 facebook.se
0 facebook.sk
0 facebook.tk
0 facebook.us
0 facebook.vn
0 connect.facebook.at
0 connect.facebook.be
0 connect.facebook.biz
0 connect.facebook.bg
0 connect.facebook.bi
0 connect.facebook.bom
0 connect.facebook.co.uk
0 connect.facebook.co
0 connect.facebook.co.in
0 connect.facebook.cn
0 connect.facebook.cm
0 connect.facebook.com.ar
0 connect.facebook.co.nz
0 connect.facebook.cl
0 connect.facebook.com.co
0 connect.facebook.de
0 connect.facebook.com.bd
0 connect.facebook.com.br
0 connect.facebook.com.ua
0 connect.facebook.com.bo
0 connect.facebook.etc.br
0 connect.facebook.com.tr
0 connect.facebook.com.vn
0 connect.facebook.com.tw
0 connect.facebook.es
0 connect.facebook.design
0 connect.facebook.dk
0 connect.facebook.com.au
0 connect.facebook.cz
0 connect.facebook.com.ve
0 connect.facebook.net
0 connect.facebook.om
0 connect.facebook.ru
0 connect.facebook.name
0 connect.facebook.org
0 connect.facebook.us
0 connect.facebook.net.co
0 connect.facebook.fr
0 connect.facebook.it
0 connect.facebook.nom.co
0 connect.facebook.info
0 connect.facebook.ne.jp
0 connect.facebook.in.th
0 connect.facebook.org.au
0 connect.facebook.net.pl
0 connect.facebook.tk
0 connect.facebook.ma
0 connect.facebook.idv.tw
0 connect.facebook.net.cm
0 connect.facebook.pl
0 connect.facebook.sk
0 connect.facebook.nl
0 connect.facebook.jp
0 connect.facebook.hu
0 connect.facebook.ir
0 connect.facebook.lv
0 connect.facebook.se
0 connect.facebook.jobs
0 connect.facebook.no
0 connect.facebook.me
0 connect.facebook.ro
0 connect.facebook.in
0 connect.facebook.vn
0 www.facebook.at
0 www.facebook.be
0 www.facebook.biz
0 www.facebook.bg
0 www.facebook.bi
0 www.facebook.bom
0 www.facebook.co.uk
0 www.facebook.co
0 www.facebook.co.in
0 www.facebook.cn
0 www.facebook.cm
0 www.facebook.com.ar
0 www.facebook.co.nz
0 www.facebook.cl
0 www.facebook.com.co
0 www.facebook.de
0 www.facebook.com.bd
0 www.facebook.com.br
0 www.facebook.com.ua
0 www.facebook.com.bo
0 www.facebook.etc.br
0 www.facebook.com.tr
0 www.facebook.com.vn
0 www.facebook.com.tw
0 www.facebook.es
0 www.facebook.design
0 www.facebook.dk
0 www.facebook.com.au
0 www.facebook.cz
0 www.facebook.com.ve
0 www.facebook.net
0 www.facebook.om
0 www.facebook.ru
0 www.facebook.name
0 www.facebook.org
0 www.facebook.us
0 www.facebook.net.co
0 www.facebook.fr
0 www.facebook.it
0 www.facebook.nom.co
0 www.facebook.info
0 www.facebook.ne.jp
0 www.facebook.in.th
0 www.facebook.org.au
0 www.facebook.net.pl
0 www.facebook.tk
0 www.facebook.ma
0 www.facebook.idv.tw
0 www.facebook.net.cm
0 www.facebook.pl
0 www.facebook.sk
0 www.facebook.nl
0 www.facebook.jp
0 www.facebook.hu
0 www.facebook.ir
0 www.facebook.lv
0 www.facebook.se
0 www.facebook.jobs
0 www.facebook.no
0 www.facebook.me
0 www.facebook.ro
0 www.facebook.in
0 www.facebook.vn

Not complete at all...
# 0 linkedin.com
# 0 www.linkedin.com
# 0 wildcard.licdn.com.edgekey.net
# 0 static.licdn.com
# 0 media.licdn.com

# 0 www.pinterest.com
# 0 post.pinterest.com

# 0 twitter
# 0 www.twitter.com
# 0 p.twitter.com
0 ads-twitter.com
0 analytics.twitter.com

The dnsmasq section of the guide shows an example of how to block entire domains, including sub-domains, like address=/.facebook.com/<IP_ADDRESS> - which would apply to both IPv4 and IPv6 connections. Then you would not need to enumerate all (and probably not all) sub-domains in your hosts file.
You could also use DNS Zone Transfer (AXRF), which I believe supports wildcards, though it is more complicated to configure.
Something else one can do is block traffic to an organization by using pf, also in the guide. You can fetch the lists of network allocation to Facebook by getting their autonomous system number(s), like AS32934 and querying Merit RADb: whois -h whois.radb.net '!gAS32934'. This would be more effective than simply failing to resolve their associated domain names.
That being said, it is worth pointing out in the hosts section of the guide that IPv6 addresses are different, and must use ::1 notation, like http://someonewhocares.org/hosts/ipv6/ shows.
Also, <IP_ADDRESS> (localhost) does not require "2 connections", and is functionally equivalent to <IP_ADDRESS> (null route) on macOS, I have found, unless one is running a local Web server, though I still doubt that would make a noticeable difference.


Release

Coverage remained the same at 91.174% when pulling 10841a38b2346857b4414a406082163c0da7bd8c on release into d00341249e6252b956803afebfa733c779d99048 on preprod.


BUG: test in crowsetta/tests/test_data.py failed

Before submitting a bug, please make sure the issue hasn't been already addressed by searching through the past issues
Describe the bug
While running tests with Pytest I found that 1 of the tests in crowsetta/tests/test_data.py failed on my colab session.
It looks like the problem comes from : fixture 'tmp_path' not found
To Reproduce
I cloned the repo on my colab session and run the test with the following command pytest crowsetta/tests/test_data.py
Screenshots
Errors are reproduced in text below
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-3.6.4, py-1.11.0, pluggy-0.7.1
rootdir: /content, inifile:
plugins: typeguard-2.7.1
collected 43 items

crowsetta/tests/test_data.py .E......................................... [100%]

==================================== ERRORS ====================================
___________ ERROR at setup of test_extract_data_files_user_specified ___________
file /content/crowsetta/tests/test_data.py, line 51
  def test_extract_data_files_user_specified(tmp_path):
E       fixture 'tmp_path' not found
>       available fixtures: a_bboxes_list, a_das_csv_path, a_kaggle_phn_path, a_kaggle_wrd_path, a_nist_phn_path, a_nist_wrd_path, a_notmat_path, a_phn_path, a_raven_txt_file, a_seq, a_simple_csv_path, a_textgrid_path, a_transcript_path, a_wrd_path, add_crowsetta, an_audtxt_path, audtxt_paths, birdsong_rec_root, birdsong_rec_wav_path, birdsong_rec_xml_file, birdsongrec_as_generic_seq_csv, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, csv_missing_fields_in_header, csv_root, csv_with_invalid_fields_in_header, csv_with_no_onset_or_offset_column, csv_with_onset_s_but_no_offset_s, csv_with_onset_sample_but_no_offset_sample, das_csv_paths, default_user_data_dir, different_list_of_segments, different_seq, doctest_namespace, example_user_format_annotation_file, example_user_format_as_generic_seq_csv, example_user_format_root, example_user_format_script, kaggle_phn_paths, list_of_segments, monkeypatch, notmat_as_generic_seq_csv, notmat_paths, notmats_root, pytestconfig, raven_dataset_annot_col, raven_root, raven_txt_file_with_no_rows, raven_txt_files, record_property, record_xml_attribute, record_xml_property, recwarn, same_seq, simple_csv_paths, test_data_root, textgrid_paths, timit_kaggle_root, timit_nist_root, timit_phn_as_generic_seq_csv, tmpdir, tmpdir_factory, yarden_annot_mat
>       use 'pytest --fixtures [testpath]' for help on them.

/content/crowsetta/tests/test_data.py:51
====================== 42 passed, 1 error in 1.14 seconds ======================
Desktop (please complete the following information):

Operating System: Linux
Version : 4.0.0.post2

Additional context
I created this issue while performing the https://github.com/pyOpenSci/software-submission/issues/68.

Hi @NickleDave .
So I tried to figure out how to install brew, pipx and nox on my Ubuntu machine.
Everything worked well following all the provided instructions.
Finally, after cloning crowsetta, I tried to run the command : nox -s dev
But I got the following error for numba:
Collecting numba>=0.51.0
  Using cached numba-0.56.4.tar.gz (2.4 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-j6nwlu35/numba_19281ba753714f67950a0aed649beb71/setup.py", line 51, in <module>
          _guard_py_ver()
        File "/tmp/pip-install-j6nwlu35/numba_19281ba753714f67950a0aed649beb71/setup.py", line 48, in _guard_py_ver
          raise RuntimeError(msg.format(cur_py, min_py, max_py))
      RuntimeError: Cannot install on Python version 3.11.2; only versions >=3.7,<3.11 are supported.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip is available: 23.0 -> 23.0.1
[notice] To update, run: python -m pip install --upgrade pip
nox > Command /home/haupert/Downloads/crowsetta/.venv/bin/python -m pip install -e '.[dev,test,doc]' failed with exit code 1
nox > Session dev failed.

After downgrading my version of Python to 3.9.16, I still have the same error and could no go further as I don't know how to use nox.
You have to know that I'm using conda and I created a virtual environment dedicated to crowsetta and lauching the different tools from this virtual env.
I also tried again to run the test directly on a colab session after cloning crowsetta (!git clone https://github.com/vocalpy/crowsetta.git) and install crowsetta from the clone (!pip install /content/crowsetta) and still have the same issue as before with tmp_path not found.
I'm afraid, I can not help you more on that issue. I did my best. I don't think the problem is big, I'm sure you will be able to fix it.
Sylvain

Thank you @shaupert for taking the time to test this.
I think what's going on with nox -s dev is that by default nox uses whichever version of Python that pipx installs it with.
Then nox tries to install numba in a way that won't work on your machine.
It's a bit confusing but under the hood nox uses virtualenv to run different versions of Python; it's not related to your system version. (I had to figure this out from GitHub issues, it's not well documented.)
I did just push a commit that tells nox to use Python 3.10 instead for the dev session--it should work now, I think. You're on Mac? I was able to set up on a Mac yesterday.
I don't think the tests will ever work for a package installed off of an index, since the distribution package doesn't include (1) pytest as a dependency or (2) the test data, which would make the size of the distribution much bigger.
The error you're getting is because pytest can't find one of its own built in fixtures! I guess you might fix that if you update the pytest version but you'd still need the test data.
Like you said, it's not the end of the world if you can't run the tests for the review. They're running on CI and passing so we know they must be working somewhere :slightly_smiling_face: Just telling you since I thought you might be interested in what's going on here, or at least what I think is going on :exploding_head:
We did have some discussion for the PyOS packaging guide about whether people should include tests. Since PyPI serves as a kind of "source" for other package managers (e.g. Debian) then it can be good if packages include tests. But IIUC we would really run up the PyPI bills if we uploaded a ton of giant packages, not to mention increasing our carbon footprint. Anyway, not relevant for the review here. I'll go ahead and close this.

Just to let you know that I'm on Ubuntu 22.04.02.
Thanks for your answer :)

Just to let you know that I'm on Ubuntu 22.04.02.

Thanks! No offense meant by suggesting you're a Mac user :smirk_cat:
Looks like numba for Python 3.11 on any platform is still a WIP although they are getting close: https://github.com/numba/numba/issues/8304#issuecomment-1437292634


Add GPS start command to all eagle configs

Add GPS start command to 200qx and 210c configurations for Snapdragon

I'm using a GPS pixhawk mini with external compass which use the HMC5883 chip, I don't know if the driver for HMC5883 will work and if I should add this line:
https://github.com/PX4/Firmware/blob/master/posix-configs/eagle/flight/px4.config#L8

I meant HMC5983

@r0gelion You can certainly try - if it comes up then its a good idea.


Error with url with user:password@

its possible to show image that their url has user:password@
I have this error: java.io.FileNotFoundException

Any solutions??
Thanks


Update configuration.md for giscus template

Mentioned where to get the template file for Giscus setup.

Thanks :)


Use security ID for VP and NVP

@binhn this has no description - is it still valid? If so, a bit of an explanation is necessary


add accessor dash to regex

Lmk your thoughts!
The problem is if a key has a dash key-other, we can't call create on the object.

@snewcomer hi!
That's actually invalid notation, as far as I know. You would have to use the form ['key-other']. Does that work for you?

@snewcomer yeah, that's totally valid but this is aimed as being primarily JS compatible, which does not allow for - in keys without the syntax above.
In your case, you should use foo['bar-baz'] to create that key - it'll parse out to [ 'foo', 'bar-baz' ].

👍 I get it now.  I had assumed that if a user had wanted a dash in a key, they would have to have it in quotes anyways before they expanded the data structure. (specifically the create case).
I'll close for now!


change title on README

I have implemented the color change to make the tetris game easier as well bring out great user experience

new changes to the repo


Kernel, Stride combos that work

does it matter with target size?

[ ] add to readme
[ ] come up with solution (script?).. this is a fn of upsampling2d

what i know....
kernel > 1
target size must be even, therefore upsampling has to be 2x2 (see original paper), but this makes some kernel/strides combos impossible

I also think there may be fewer options when using deconvolution for upsampling


npx sandbox should install node_modules

we do this for deploy; no reason we can't do this whenever the sandbox starts. means nobody has to run npx hydrate before starting a freshly checked out project (they will still need to run npm i however)

Remembering to run npx hydrate is definitely a sticking point, so that would be great – but at what penalty to sandbox start time though? Right now you can kick up a 50+ route app in a couple seconds, whereas hydrate will pin your CPU for 45-60+ seconds on that recursive npm ci...

I do love the idea of dealing with this automatically for folks! You’ve def identified something that keeps biting people.
Two states that cause problems: no modules, and changed modules.
Firing hydrate on a route with node modules is def a big improvement.
For changes modules, I wonder if we could deal with that by (ohhhhhh boy) creating a hidden manifest (.arc-packages?) that caches each route’s package.json to compare on startup. If a route’s package.json has changed, rehydrate it, and update the manifest.
Idk, spitballing! But maybe easier than a registry cache...
On Mon, Aug 13, 2018 at 10:23 PM Brian LeRoux < Brian LeRoux ( Brian LeRoux<EMAIL_ADDRESS>) > wrote:

good point, we could run it only when node_modules doesn't exist; and/or
try qdd instead. at some point I suspect we tackle regisry caching. 😭
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (
https://github.com/arc-repos/arc-workflows/issues/129#issuecomment-412757982
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/AAMRBLAEu88c3v6Ho1l5acYJg4bkOVGoks5uQl7AgaJpZM4V5ZOE
).

yeaaah looked into this a bit more and closing for now; it can't really be done quick as you pointed out and creating a registry a bit of work I'd rather defer to a future person who is hopefully not me ;)

Hmm, don't tempt me!


Task/kiota core migration

Overview
Streamlines features with kiota http, only adding the necessary modules.

just to be clear, this would supersede #141?  why aren't we adding to the existing PR instead to keep the conversations?


DevBox no longer seems to include NSO

I've been working on the CICD lab at https://github.com/juliogomez/netdevops and I've found that the current version of the DevBox no longer appears to have Network Services Orchestrator installed, so the pipeline tasks aren't completing.
Is there an easy way to install NSO in a way that will allow me to complete this lab?

same problem here

same problem here


How to configure analyser/tokeniser to search for terms with space?

How to configure analyser/tokeniser to search for terms with space?
For example, a filter search like ("b b"):
{"query":{"filtered":{"query":{"match_all":{}},"filter":{"and":[{"term":{"external_shipping_status":"b b"}}]}}}}
Above search could not find the document because the string has a space in it.
Any advice on how to set the right analyser would be helpful. Thanks in advance.

It seems one way is to not analyze it
settings index: { number_of_shards: 1 } do
mappings dynamic: 'false' do
indexes :external_shipping_status, index: :not_analyzed
end
end

I can confirm that

With filter, no analysis will be performed. So either use a query, or set the field to not analyzed eg. with analyzer: "keyword". The examples in this repository give plenty of concrete cases for this.

Thanks Karmi.

The examples in this repository give plenty of concrete cases for this.
Can you please paste the links related to this area? Thanks.


Add ModelOverlay isGroupCulled test

Now that We have a clenaer api for autotester.js can you update your test with it,
thanks

combined into https://github.com/highfidelity/hifi_tests/pull/125


Port test from Go lang - goroutines

Porting the goroutines test from the Go lang repository.
Part of https://github.com/crossbeam-rs/crossbeam/issues/201
Any help would be appreciated.

Fixing the test failure.

Thank you!!
bors r+

CI complains about:
test channel_tests::stress_recv_timeout_shared ... error: process didn't exit successfully: `/home/travis/build/crossbeam-rs/crossbeam/target/debug/deps/mpsc-861f81d284a630b3 --test-threads=1` (signal: 11, SIGSEGV: invalid memory reference)

Not sure if related. Shall I rebase with latest master? Or other advice?

Oh wow that seems like an unrelated bug! Fortunately, I think I know where the problem is and have submitted a fix: https://github.com/crossbeam-rs/crossbeam/pull/382
Let's try merging this PR again:
bors r+


How to serialize a floating point number

I see there is no supported 'f32' or 'f64' types. I am new to typescript so maybe I'm missing something here, but is there a work-around to serialize a number type that has a floating point value? Maybe send as a byte array of u8 that reflects IEEE standard?
e.g. 0.0001

For anyone reading, my workaround:
// Converts number into a 64-bit binary using its IEEE764 Representation, little endian
function convertNumberToBinary(num: number): Uint8Array {
  let str = "";
  const c = new Uint8Array(new Float64Array([num]).buffer, 0, 8);
  return c;
}

class MySerializedClass {
  my_field = Uint8Array.from([0,0,0,0,0,0,0,0]);
  constructor(fields: { my_field: number } | undefined = undefined) {
    if (fields) {
      this.my_field = convertNumberToBinary(fields.my_field);
    }
  }
}

const MySerializedClassSchema = new Map([
  [MySerializedClass, {kind: 'struct', fields: [['my_field', [8]]]}],
]);

let requestBody = borsh.serialize(
  MySerializedClassSchema,
  new MySerializedClass(
    { my_field: 0.0000001 }
  )
)

Can this be generalised if i have an array of f64's in a program data account and i want to deserialise them?

You can use @protobufjs/float package to get reader and writer methods that allows you to modify the buffer in the correct way. Remember that NaN should not be serialized or deserialzed with the Borsh spec but to throw error.
import { readFloatLE, writeFloatLE, readDoubleLE, writeDoubleLE } from '@protobufjs/float'

or use @dao-xyz/borsh  where you can do this
class MyStruct
{
    @field({type: 'f32'})
    f32: number

     @field({type: 'f64'})
     f64: number
}

It's now supported in 1.0: https://github.com/near/borsh-js/blob/93a633dfa76d8577b3cb6f5c1a906dfa3b9b63a2/borsh-ts/test/(de)serialize.test.js#L49


Add support for CP/M 8" floppy (1.2 Mb)

We have some 8" floppy made from digital research CP/M on a Eco 1 computer
We used fluxengine to extract data from several floppies, and I think will be nice if this format will be add to fluxengine
Description of the format:
77 track
d=0:s=0:t=0
26 sectors, 128 bytes per sector (3296 bytes)
d=0:s=1:t=0
26 sectors, 256 bytes per sector (6656 bytes)
all others:
16 sectors, 512 bytes per sector (8192 bytes)
here an example of what we had:
Fluxengine log
dona01-07.zip
flux file output
dona01-07.flux.zip
file img outpput
dona01-07.zip
How the file img should be:
dona01-07.fixed.zip
Thanks :)

Gosh, three different format zones? That's unusually exciting. It looks like it read fine, with no bad sectors, so this should be a matter of reading and writing the appropriate output image. There's no generic way to handle these non-uniform formats yet; it'd be nice if there was something...

the "correct" image i get reading each single track manually and after I remove the padding from each image and cat it together:
i=0
while [ $i -le 76 ]
do
./fluxengine  read ibm --hd  -s ${file}:d=0:s=0:t=${i} -o ${i}-0.img > /dev/null
./fluxengine  read ibm --hd  -s ${file}:d=0:s=1:t=${i} -o ${i}-1.img > /dev/null
((i++))
done

i found some wired (for me) padding that happens... maybe is correct but look wired to me:
d=0:s=0:t=0
0-0.img data start from: 0x00000000
d=0:s=1:t=0
0-1.img data start from:  00001A00
d=0:s=0:t=1
1-0.img: data start from: 0x00002000
d=0:s=1:t=1
1-1.img data start from: 0x00006000 (i was expecting 0x00004000 )
d=0:s=0:t=2
2-0.img: data start from: 0x00004000 (i was expecting 0x00006000 )
d=0:s=1:t=2
2-1.img: data start from: 0x0000A000 (i was expecting 0x00008000 )

Yes, the padding is there because FluxEngine doesn't know how big the tracks are supposed to be, and so it takes the maximum seen sector, side, track etc as the size.

yes i read about that in documentation.
I don't understand how this padding is calculated... i mean why i for  d=0:s=1:t=1 the data start from  0x00006000
instead of 0x00004000
before s=1:t=1 we have only 3 track  so i was expecting a padding of  24576 * 3 that is... o wait is correct  24576
So the problem is the d=0:s=0:t=2 we have 4 track before and should be 8192 * 4 = 32768, so 0x00008000
So reading  d=0:s=0:t=2 fluxengine read only sector 0 and think is only 1 sector and "calculate"  8192 * 2... that make sense now :+1:

The new version, which I'm working on in the protobuf branch if you want to look, now supports these mixed-mode disks properly; there's a eco1 profile which when I read the flux file you gave me, produces an identical image to your dona01-07.fixed.zip image. Thanks very much for including these --- it's exactly what I need!
Can you point me at any more information on the Eco1 which I can include in the documentation? All I can really find is that it's Italian, runs CP/M, and is extremely brown.

This change has now been merged into the master branch.

Unfortunately i don't have documentation about that computer, we get only floppy to read.
But from internet i can see:
Technical data: Z80A, 64KB RAM, up to 8 KB EPROM, 1 or 2 RS232 serial lines, 1 parallel output for printer, 12 "high resolution 24x80 video, separate keyboard, 2 floppy disks (2.4 MB) or hard disk up to 10MB + 1.2MB floppy.
,the ECO1 systems adopt as basic software the most classic of standards: operating system CP/M 2.2 original from DIGITAL RESEARCH, integrated by all languages and compilers available from MICROSOFT
If i will found more data i will write it


Added Codewars problems and change in Readme

3 codewars problems added along with Some geeksforgeeks problems.

There are 6 conflicts in README. It's same as of the latest merge.. Do have a look!

You may have forgotten to do, git pull before making those changes.
Follow this
Instead of pushing via master branch directly, can you make a branch from master and then push this?
After creating a branch, checkout to that branch and do git fetch upstream & git pull upstream master.
Make the changes to the files, and then do git commit and git push.

Yes why not!
It was my bad I forgot to pull. Will make a dev branch and will push to that .
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Afroz<EMAIL_ADDRESS>Sent: Tuesday, November 17, 2020 12:02 PM
To<EMAIL_ADDRESS>Cc: Soham<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [afrozchakure/Competitive-Programming-Solutions] Added Codewars problems and change in Readme (#28)
You may have forgotten to do, git pull before making those changes.
Follow this
Instead of pushing via master branch directly, can you make a branch from master and then push this?
After creating a branch, checkout to that branch and do git fetch upstream & git pull upstream master.
Make the changes to the files, and then do git commit and git push.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/afrozchakure/Competitive-Programming-Solutions/pull/28#issuecomment-728718452, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APGA7PYTTREPD6JNM4E3CULSQIKJRANCNFSM4TYDYOCA.

I am withdrawing  this pull request will make it all okay and issue another!


[Bug] Order models fail on case sensitive Snowflake warehouses

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
If you are running this package on a Snowflake warehouse with case sensitivity, you will most likely see the model fail on dbt run. This is due to order being a reserved word and Snowflake thinks you are trying to attempt an order operation instead of selecting from the order source table.
This can be avoided by adding the following to your dbt_project.yml:
vars:
  salesforce_order_identifier: '"ORDER"'

Obviously this is not ideal for all Snowflake users to have to input when running this package. It would be better if within the src_salesforce.yml file we had a conditional that set this properly when running on Snowflake warehouses.
Relevant error log or model output
19:48:40  Completed with 1 error and 0 warnings:
19:48:40
19:48:40  Database Error in model stg_salesforce__order_tmp (models/tmp/stg_salesforce__order_tmp.sql)
19:48:40    001003 (42000): SQL compilation error:
19:48:40    syntax error line 8 at position 43 unexpected 'ORDER'.
19:48:40    syntax error line 10 at position 2 unexpected ')'.
19:48:40    compiled SQL at target/run/salesforce_source/models/tmp/stg_salesforce__order_tmp.sql

Expected behavior
The package runs successfully without manipulation on Snowflake.
dbt Project configurations
N/A
Package versions
v0.5.0
What database are you using dbt with?
snowflake
dbt Version
dbt v1.2.0
Additional Context
It will be important to call out that I would want to check that if Snowflake does not have case sensitivity on, will this type of error still occur?
Are you willing to open a PR to help address this issue?

[X] Yes.
[ ] Yes, but I will need assistance and will schedule time during our office hours for guidance
[ ] No.

Closing this issue as PR #33 address the bug.


[SPARK-4176] [SQL] [MINOR] Should use unscaled Long to write decimals for precision <= 18 rather than 8

This PR fixes a minor bug introduced in #7455: when writing decimals, we should use the unscaled Long for better performance when the precision <= 18 rather than 8 (should be a typo). This bug doesn't affect correctness, but hurts Parquet decimal writing performance.
This PR also replaced similar magic numbers with newly defined constants.

Merged build triggered.

Merged build started.

Test build #40169 has started for   PR 8031 at commit 10d4ea3.

Test build #40169 has finished for   PR 8031 at commit 10d4ea3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merging to master and branch-1.5.


Added missing protocol to font googleapis

Tiny change: added 'http' protocol to font GoogleAPIs

This isn't an error, it's a shorthand that uses HTTP or HTTPS depending on whatever the page is loaded over.

Actually, protocol relative URLs are becoming an anti-pattern. h5bp recently dropped them. If HTTPS is available (it is for googleapis), you should now link to that. See the update at the top of this old Paul Irish post for the rationale: http://www.paulirish.com/2010/the-protocol-relative-url/


Lights breaking when the camera is too close or too far away

Looks like I still have a couple bugs to iron out in my implementation of clustered-forward after #4.
The system appears to work correctly, unless the camera is moved very close to the light, or far away from it.
https://github.com/user-attachments/assets/a17bd6b9-6559-4215-9347-29daeb813759
This is what the computed cluster coordinates look like when I move the camera around:
https://github.com/user-attachments/assets/a60ded34-a292-4c07-bccb-8dac3c34458a
In the close-up case, it appears to have calculated the distance to the closest point in the cluster as around 14, which seems wrong considering that tile should be right next to the center of the light.

It's a similar story for the far away case -- I chose a pixel right next to the center of the light and it computed a distance of around 14.

Do you have any thoughts about what could be causing this?

It's hard to say what could be the problem. I have not seen this before so it may just be an implementation bug.
Although it's interesting,
your close-up case shows a close light tested against far away AABB
your far case is a far light against a close AABB

In the grid building shader, I flipped Znear and Zfar, and that seems to have fixed the errors when the camera is very close to the light (the issue where the lights disappear as the camera moves far away still occurs)

Does this make sense as a fix for that issue? Or am I gaslighting myself

Changing the zNear at the beginning of both statements appears to have fixed the issue with lights at a distance:

Ah my bad, I may have been wrong from before. Since you're using reverse Z, the near plane is probably 1 in ndc space.
So revert the changes to tileNear and tileFar
The screenToView function in the cluster building shader should be
vec3 screenToView(vec2 screenCoord)
{
    // normalize screenCoord to [-1, 1]
    // z = 1.0 (near plane in reverse z)
    // w = 1.0
    vec4 ndc = vec4(screenCoord / screenDimensions * 2.0 - 1.0, 1.0, 1.0);

    vec4 viewCoord = inverseProjection * ndc;
    viewCoord /= viewCoord.w;
    return viewCoord.xyz;
}

Unfortunately reverting the changes to tileNear and tileFar and using this updated screenToView function brings back both the near and far cluster bugs.

Are you sure your Uniform Buffer Object is layed out correctly? This from your cluster_build_grid.csh
layout(push_constant, scalar) uniform UniformBufferObject{
    mat4 inverseProjection;
    uvec3 gridSize;
    float zNear;
    uvec2 screenDimensions;
    float zFar;
} ubo;

Storing a vec3 won't work as expected in UBOs
See


METRON-2089: [UI] Adding loading state to Alerts details view

Contributor Comments
Adding a loading state to Alerts UI solves the following issues:
#1
When

clicking on a relatively large meta alert
Expected
to show details on the opening pane (or a loading state)
Actual
user sees a different guid while loading
then when data arrives screen switching to the details of the actual meta alert

#2 State retention problem
When

click on an item
close the Pane
click on another item
Expected
to see details of the item clicked second
Actual
user sees the details of the previous alert till the details of the item arrive
(in case of meta alerts, this means seconds)

As part of this changeset, I aligned the alert details pane's css to the changes in the very similar table config pane. This alignment is just a small but necessary part of the fix.
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

Temporarily closing to restart Travis build.

I tested both issues mentioned in the contributor comments on full dev. This improvement is great, and is especially noticeable if you throttle the network in dev tools. +1.


GitHub action that triggers build when merging to content repo

https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow


Define GLSL variables

Is your feature request related to a problem? Please describe.
I used the WebGL terrain shading from this example but on some older devices (Samsung Note 3) the shader compilation reported Too many vertex shader constants error during compilation. I ended with custom GLSL operators defined into Operators object from ol/style/expressions but my solution is bulky and messy, it combines custom GLSL function defined on context and generating code with expressionToGlsl() function. The whole thing would be easier if it was possible to define a variable which can be reused in shader.
The main problem is, that generated GLSL expression is 3x the same formula with a lot of constants due to this expression color: ['color', scaled, scaled, scaled] in the layer style definition, when I changed it to color: ['color', scaled, 0, 0] it worked on that old Samsung, but the shading was only in red color.
Anyway calculating the same thing three times is not very efficient.
Describe the solution you'd like
I propose the ability to define and use float variable and reuse it in shaders, e.g.:
//code from terrain shading example

const cosIncidence = [
  '+',
  ['*', ['sin', sunEl], ['cos', slope]],
  ['*', ['*', ['cos', sunEl], ['sin', slope]], ['cos', ['-', sunAz, aspect]]],
];

const shadedRelief = new TileLayer({
  opacity: 0.3,
  source: new XYZ({
    url: 'https://{a-d}.tiles.mapbox.com/v3/aj.sf-dem/{z}/{x}/{y}.png',
  }),
  style: {
    //variables from outside (uniforms)
    variables: variables,
    //variables with intermediate calculations inside shader
    floats: {
      scaled: ['*', 255, cosIncidence]
    },
    //use the same float value
    color: ['color', ['varFloat', 'scaled'], ['varFloat', 'scaled'], ['varFloat', 'scaled']],
  },
});

It should be easy to generate few lines for the shader code in the WebGLTile.js file inside the parseStyle() function to define float prefix_varName = ${expressionToGlsl(...)}; just before ${pipeline.join('\n')} in the fragment shader and the operator ['varFloat', 'name'] would just output the prefix_varName to where it was used.

This is definitely a shortcoming of the GLSL shader generator. I feel we could also address this more widely by looking for identical parts in the expression tree, and factorizing them in the GLSL code. Then you could just do:
const cosIncidence = [
  '+',
  ['*', ['sin', sunEl], ['cos', slope]],
  ['*', ['*', ['cos', sunEl], ['sin', slope]], ['cos', ['-', sunAz, aspect]]],
];

const scaledIncidence =  ['*', 255, cosIncidence];

const shadedRelief = new TileLayer({
  opacity: 0.3,
  source: new XYZ({
    url: 'https://{a-d}.tiles.mapbox.com/v3/aj.sf-dem/{z}/{x}/{y}.png',
  }),
  style: {
    variables: variables,
    color: ['color', scaledIncidence, scaledIncidence, scaledIncidence],
  },
});

Without worrying about implementation details (such as intermediary variables). This would also have an effect on all existing code.
Would that work for you?

Given the placeholder operator would have to be created anyway, it would be nice to let others to also define their own variables as I proposed.
I think that first step is to let users optimize the expression by themselves and second step can be to automate it somehow.

Hmm, I'm still not sure an "intermediary variable" operator would make sense here. Expressions are supposed to be declarative and not contain any programming-like considerations, but intermediary variables really are just that, they do not produce anything meaningful in the final result and are just an indication on how to get there more efficiently.
I will pick up work on webgl renderer very soon so this could be an interesting performance improvement to tackle as part of it. Thanks for bringing this topic up!

Thanks for your feedback. Would an expression like this work for you?
['*',
  ['color', cosIncidence, cosIncidence, cosIncidence, 1],
  ['color', interpolatedR, interpolatedG, interpolatedB, 1]
]

(note the final 1 is optional, as it is the default alpha value)
As for what  you proposed:

identifying identical subtrees is still something I'd like to do at some point, as that could make resulting shaders much simpler
defining custom GLSL operators doesn't sound like the way to got for me; instead I would rather open up usage of the ShaderBuilder class (even though it might not be part of the official API) to give people more control over the final shaders
adding a mulcolor operator seems like not a great response to the problem; instead being able to create a color with just one scalar might be more handy? e.g. like ['color', cosIncidence]; then the regular * operator would do the job
same for the alpha operator; it sounds like we could achieve everything we want with just the color and * operators

The problem with ['color', cosIncidence, cosIncidence, cosIncidence, 1] is that it generates three times the same code and it fails on legacy devices with Too many vertex shader constants error message.
The possibility to supply just one argument to color operator seems OK if that means the subtree is evaluated only once. There should also be the options to specify alpha:

['color', shade]
['color', shade, alpha]
['color', r, g, b]
['color', r, g, b, alpha]

This could result in following style which I expect to work for me:
['*',
  ['color', cosIncidence, 1],
  ['color', interpolatedR, interpolatedG, interpolatedB, 1]
]

Yes exactly, when providing only one scalar to color the value would only be evaluated once and then used for all color channels. Would you be ready to try your hand at a PR doing that?

OK, I will look at the code tomorrow and try to extend the color operator. It seems like a small change.

Closed by #15359

I will just drop my shading with heatmap style for WebGL tile-layer as an example for others, this is optimized to generate short fragment shader code and runs even on legacy device with poor WebGL specs:
const variables = {
    vert: 5,
    sunEl: Math.PI / 4,
    sunAz: -Math.PI / 2
};

//elevation data is encoded in 2 band array as unsigned integer and increased by 10000 meters to be > 0
function elevation(xOffset = 0, yOffset = 0) {
    const a = ['band', 1, xOffset, yOffset];
    const b = ['band', 2, xOffset, yOffset];
    return ['+', ['*', 65536, a], ['*', 256, b]];
}

//palette for altitudes from 0 to 3600 meters
const interpolateRGB = [
    'interpolate',
    ['linear'],
    elevation(),
    10000, ["color",0,0,255],    //0 meters above sea level
    10600, ["color",0,255,255],
    11200, ["color",0,255,0],
    11800, ["color",255,255,0],
    12400, ["color",255,0,0],
    13000, ["color",255,255,255],
    13600, ["color",255,0,255]  //3600 meters above sea level
];

//for shading, the 10000 meters offset is irrelevant, it requires only the difference
const dzdx = ['/', ['*', ['var', 'vert'], ['-', elevation(1, 0), elevation(-1, 0)], 0.5], ['resolution']];
const dzdy = ['/', ['*', ['var', 'vert'], ['-', elevation(0, 1), elevation(0, -1)], 0.5], ['resolution']];
const slope = ['atan', ['sqrt', ['+', ['^', dzdx, 2], ['^', dzdy, 2]]]];
const aspect = ['clamp', ['atan', ['-', 0, dzdx], dzdy], -Math.PI, Math.PI];
const cosIncidence = [
    '+',
    ['*', 255, ['sin', ['var', 'sunEl']], ['cos', slope]],
    ['*', 255, ['cos', ['var', 'sunEl']], ['sin', slope], ['cos', ['-', ['var', 'sunAz'], aspect]]]
];

const styleShade = ['color', cosIncidence];
const styleHeatmap = interpolateRGB;
const styleCombined = ['*', interpolateRGB, ['color', cosIncidence]];

@jahow I still see that there is a space to improve the expression parser; for example the expression styleCombined generates following code - watch for the calls of getBandValue function and the repetetive decoding of altitude:
vec4 color = texture2D(u_tileTextures[0],  v_textureCoord);
color = (mix(mix(mix(mix(mix(mix(vec4(0.0 / 255.0, 0.0 / 255.0, 255.0 / 255.0, 1.0), vec4(0.0 / 255.0, 255.0 / 255.0, 255.0 / 255.0, 1.0), clamp((((65536.0 * getBandValue(1.0, 0.0, 0.0)) + (256.0 * getBandValue(2.0, 0.0, 0.0))) - 10000.0) / (10600.0 - 10000.0), 0.0, 1.0)), vec4(0.0 / 255.0, 255.0 / 255.0, 0.0 / 255.0, 1.0), clamp((((65536.0 * getBandValue(1.0, 0.0, 0.0)) + (256.0 * getBandValue(2.0, 0.0, 0.0))) - 10600.0) / (11200.0 - 10600.0), 0.0, 1.0)), vec4(255.0 / 255.0, 255.0 / 255.0, 0.0 / 255.0, 1.0), clamp((((65536.0 * getBandValue(1.0, 0.0, 0.0)) + (256.0 * getBandValue(2.0, 0.0, 0.0))) - 11200.0) / (11800.0 - 11200.0), 0.0, 1.0)), vec4(255.0 / 255.0, 0.0 / 255.0, 0.0 / 255.0, 1.0), clamp((((65536.0 * getBandValue(1.0, 0.0, 0.0)) + (256.0 * getBandValue(2.0, 0.0, 0.0))) - 11800.0) / (12400.0 - 11800.0), 0.0, 1.0)), vec4(255.0 / 255.0, 255.0 / 255.0, 255.0 / 255.0, 1.0), clamp((((65536.0 * getBandValue(1.0, 0.0, 0.0)) + (256.0 * getBandValue(2.0, 0.0, 0.0))) - 12400.0) / (13000.0 - 12400.0), 0.0, 1.0)), vec4(255.0 / 255.0, 0.0 / 255.0, 255.0 / 255.0, 1.0), clamp((((65536.0 * getBandValue(1.0, 0.0, 0.0)) + (256.0 * getBandValue(2.0, 0.0, 0.0))) - 13000.0) / (13600.0 - 13000.0), 0.0, 1.0)) * vec4(vec3(((255.0 * sin(u_var_sunEl) * cos(atan(sqrt((pow(((u_var_vert * (((65536.0 * getBandValue(1.0, 1.0, 0.0)) + (256.0 * getBandValue(2.0, 1.0, 0.0))) - ((65536.0 * getBandValue(1.0, -1.0, 0.0)) + (256.0 * getBandValue(2.0, -1.0, 0.0)))) * 0.5) / u_resolution), 2.0) + pow(((u_var_vert * (((65536.0 * getBandValue(1.0, 0.0, 1.0)) + (256.0 * getBandValue(2.0, 0.0, 1.0))) - ((65536.0 * getBandValue(1.0, 0.0, -1.0)) + (256.0 * getBandValue(2.0, 0.0, -1.0)))) * 0.5) / u_resolution), 2.0)))))) + (255.0 * cos(u_var_sunEl) * sin(atan(sqrt((pow(((u_var_vert * (((65536.0 * getBandValue(1.0, 1.0, 0.0)) + (256.0 * getBandValue(2.0, 1.0, 0.0))) - ((65536.0 * getBandValue(1.0, -1.0, 0.0)) + (256.0 * getBandValue(2.0, -1.0, 0.0)))) * 0.5) / u_resolution), 2.0) + pow(((u_var_vert * (((65536.0 * getBandValue(1.0, 0.0, 1.0)) + (256.0 * getBandValue(2.0, 0.0, 1.0))) - ((65536.0 * getBandValue(1.0, 0.0, -1.0)) + (256.0 * getBandValue(2.0, 0.0, -1.0)))) * 0.5) / u_resolution), 2.0))))) * cos((u_var_sunAz - clamp(atan((0.0 - ((u_var_vert * (((65536.0 * getBandValue(1.0, 1.0, 0.0)) + (256.0 * getBandValue(2.0, 1.0, 0.0))) - ((65536.0 * getBandValue(1.0, -1.0, 0.0)) + (256.0 * getBandValue(2.0, -1.0, 0.0)))) * 0.5) / u_resolution)), ((u_var_vert * (((65536.0 * getBandValue(1.0, 0.0, 1.0)) + (256.0 * getBandValue(2.0, 0.0, 1.0))) - ((65536.0 * getBandValue(1.0, 0.0, -1.0)) + (256.0 * getBandValue(2.0, 0.0, -1.0)))) * 0.5) / u_resolution)), -3.141592653589793, 3.141592653589793))))) / 255.0), 1.0));

Thank you.


Change LayerNorm to allow weights or biases

Addresses https://github.com/patrick-kidger/equinox/issues/310. I handled the deprecation of elementwise_affine in as similar a manner as I could to dropout which also has a deprecated argument.

Thanks for the fix! This looks good to me.
The test failure looks like a flake, I'll fix that separately.


Hide timed events that already passed

Hello, I'd like a feature that would hide events whose time has already passed. Say, I don't need to see a morning event later that day. Thanks!

should be added in v3.98.0 via hidePastEvents option

That setting doesn't do anything on my setup though.

You want to see the? Set to false

Sorry man. I meant when it's set to hidePastEvents: false, I still don't see them.

In Developer Tools Logs, I see some GET requests, which have some filters like
&maxResults=20&singleEvents=true&timeMin=2020-03-07T00%3A00%3A00%2B00%3A00&timeMax=2020-06-15T00%3A00%3A00%2B00%3A00&alt=json.
Do you think it has to do with timeMin?


Add a function that checks if all the existing files are listed in the DB

@jcohenadad @fperdigon what I'm planning is to render an HTML report that will contain the information about the issues that tool found, separated into warning (small issues like empty demographics, etc), errors (file doesn't exist, etc), for every item in the database. I'll also do that in a way that it will be easier to add more checks in the future so we can keep improving checks as needed according to new necessities.
In summary, the tool will connect into the web management system, get the JSON, run all checks and generate a html report.
Does that sound ok ?

@perone that sounds fantastic! where do you think we should put those scripts? under utility/? or create a new scripts/ folder?
@fperdigon where did you put your API scripts?
thanks!

I'll do a python installable package, that can be installed with pip install -e ., so it's easy for installing dependencies, reuse and importing. I can put it inside a directory in this repository or create another repository.

maybe the same repo? there is already 50+ repos under neuropoly org, i have hard time remembering what this is all about ;-)

I think it's better also, I'll use this same repo so we'll have everything integrated.

@perone  Great idea! HTML report sounds great.
@jcohenadad the  API Python client is here
I also agree in use this same repo

@jcohenadad the path in duke for the database files is [duke]/sct_testing/large, correct ? Just to confirm.


Make GuestDevice taggable

This PR adds the ability to tag a GuestDevice. The primary goal is to set a purpose for the network interfaces, in order to use the correct IP address to connect to the managed object. As described in https://github.com/ManageIQ/manageiq/issues/19548, it will be used for Ansible inventory and connection to ESXi hosts in the context of Migration.
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1749313

@miq-bot add-label enhancement, transformation, ivanchuk/yes
@miq-bot add-reviewer @agrare

Ivanchuk backport details:
$ git log -1
commit 6e4014851827253f7eae92a857b604d4c34c1933
Author: Adam Grare<EMAIL_ADDRESS>Date:   Fri Nov 22 12:22:26 2019 -0500

    Merge pull request #19549 from fdupont-redhat/make_guest_device_taggable

    Make GuestDevice taggable

    (cherry picked from commit 24a4de29cb9d25e2f75d99adf40787eeec80059e)

    https://bugzilla.redhat.com/show_bug.cgi?id=1749313


Could you please provide voc_panoptic_train_aug?

Hi Junsong,
Could you please provide voc_panoptic_train_aug for me? I have tried the download link you put in README but no 'voc_panoptic_train_aug' is provided. Thanks for your great work again!

Sorry for opening a new issue since I can't contact you through the email. It looks like that your email has been deleted from the email system.

Hi, thank you for the question. 'voc_panoptic_train_aug' contains simply the fully-supervised GT labels (of the colormap format). For weakly supervised learning, 'voc_panoptic_train_aug_xpnt_uniform.tar.gz' should be used. I have updated the link folder to also include these full GT labels. Good luck!

Thank you for your sharing! I will close this issue.
Best regards.


Kotlin support

I'm finding that while I can create tables, I'm unable to retrieve any data If I try to build my models with Kotlin.
As google officially supports it, Kotlin support would be appreciated.

For those in the same situation, I did find a way to make it work:
class Action : SugarRecord
{

    var name: String = ""
    var time: String = ""

    constructor()
    {
    }

    constructor(name: String, time: String)
    {

        this.name = name
        this.time = time
    }
}


Drag and Drop API events are not triggered on iPhone

Despite Drag'n'Drop API is "supported" on iOS Safari events are not triggered on iPhones. Apple seems to do it on purpose: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW19
(see drag =>  Generated = No)
So iOS may "have support" for drag'n'drop API, yet it is not functional thus the current support status is quite misleading...

Nice catch, thanks for adding some documentation!
This issue is resolved with #5320 as multiple sources were not able to use Drag & Drop in IOS Safari at all, and we decided to mark it Unsupported.


CUT method support

Does the project support CUT method? Is there any plan support?  THX

@mengjingyouling  Hi, this method is now not in our plan. We will appreciate it a lot if you'd like to make a PR to support it.


Support reacting to existing messages

Description
I would like to utilize the reactions.add method to react to a message
Feature request
Potential usage example
- name: React to an existing Slack message
  id: slack
  uses<EMAIL_ADDRESS>  with:
    channel-id: 'CHANNEL_ID'
    ts: ${{ steps.slack.outputs.ts }}
    name: 'thumbsup'
  env:
    SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

Api call that would result in
webResponse = await web.reactions.add({ ts, channel: channelId.trim(), name: emojiName});

What type of issue is this? (place an x in one of the [ ])

[ ] bug
[x] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Seems like a reasonable feature request! We will be revisiting this project in the new calendar post holiday break, so will consider this request at that time.

Thanks for the quick response, though I do hope to build a github workflow that reacts to slack messages sooner than next calendar year. Does slack provide (or is slack aware of) another github action that supports all interactions with the slack api? I would be okay with something with a worse interface than this if it works.

Thanks for the quick response @filmaj , though I do hope to build a github workflow that reacts to slack messages sooner than next calendar year. Does slack provide (or is slack aware of) another github action that supports all interactions with the slack api? I would be okay with something with a worse interface than this if it works.

@mjperrone as a workaround you can use a curl request and the reactions.add method to react to a posted message with something like this:
name: Post Slack message

on:
  push:
    branches: [ main ]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:

    - name: Send message into channel
      id: slack
      uses<EMAIL_ADDRESS>      with:
          channel-id: 'C0123456789'
          slack-message: "hello <!channel>"
      env:
          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

    - name: Respond with affection
      run: |
        curl -X POST -H "Authorization: Bearer ${{ secrets.SLACK_BOT_TOKEN }}" \
          -H "Content-type: application/json" \
          --data '{"channel":"C0123456789","timestamp":"${{ steps.slack.outputs.ts }}","name":"heart"}' \
          https://slack.com/api/reactions.add

@mjperrone as a workaround you can use a curl request and the reactions.add method

Well that certainly makes me feel pretty silly for reaching for a purpose made github action for what I'm trying to do! cURLing the API directly turns out to be more concise and more flexible than using this action... 😅
In case anyone is interested, here is what I ended up with:
name: PR-Opened
run-name: PR Slack Message Notification
on:
  pull_request:
    types:
      - opened
      - ready_for_review
      - closed
  pull_request_review:
    types:
      - submitted
jobs:
  slack-notification:
    runs-on: ubuntu-latest
    name: Sends a message to Slack when a PR is opened
    if: (github.event.action == 'opened' && github.event.pull_request.draft == false) || github.event.action == 'ready_for_review'
    steps:
      - name: Post PR summary message to slack
        run: |
          curl -X POST -H "Authorization: Bearer ${{ secrets.SLACK_BOT_TOKEN }}" \
          -H "Content-type: application/json; charset=utf-8" \
          --data '{"channel":"CHANNEL","text":"${{env.SLACK_MESSAGE}}"}' \
          https://slack.com/api/chat.postMessage > output.json
          cat output.json
          cat output.json | jq -r '.ts' > slack-message-timestamp.txt
        env:
          SLACK_MESSAGE: "${{ github.event.pull_request.user.login }}: ${{ github.event.pull_request.html_url }} `${{ github.event.pull_request.title }}` (+${{ github.event.pull_request.additions }}, -${{ github.event.pull_request.deletions }})"
      - name: Cache slack message timestamp
        uses: actions/cache/save@v3
        with:
          path: slack-message-timestamp.txt
          key: ${{ github.event.pull_request.html_url }}
  slack-emoji-react:
    runs-on: ubuntu-latest
    name: Adds emoji reaction to slack message when a PR is closed or reviewed
    if: (github.event.action == 'closed' && github.event.pull_request.merged == false) || github.event.action == 'submitted'
    steps:
      - name: Decide which emoji to add
        run: |
          if [[ "${{ github.event.action }}" == "closed" ]]; then
            if [[ "${{ github.event.pull_request.merged }}" == "false" ]]; then
              echo "EMOJI=pr-closed" >> $GITHUB_ENV
            fi
          elif [[ "${{ github.event.action }}" == "submitted" ]]; then
            if [[ "${{ github.event.review.state }}" == "approved" ]]; then
              echo "EMOJI=white_check_mark" >> $GITHUB_ENV
            elif [[ "${{ github.event.review.state }}" == "changes_requested" ]]; then
              echo "EMOJI=x" >> $GITHUB_ENV
            elif [[ "${{ github.event.review.state }}" == "commented" ]]; then
              echo "EMOJI=speech_balloon" >> $GITHUB_ENV
            fi
          fi
      - name: Read slack message timestamp from cache
        uses: actions/cache/restore@v3
        with:
          path: slack-message-timestamp.txt
          key: ${{ github.event.pull_request.html_url }}
      - name: React to PR summary message in slack with emoji
        run: |
          SLACK_TIMESTAMP=$(cat slack-message-timestamp.txt)
          echo "${{env.EMOJI}} -> $SLACK_TIMESTAMP"
          curl -X POST -H "Authorization: Bearer ${{ secrets.SLACK_BOT_TOKEN }}" \
          -H "Content-type: application/json; charset=utf-8" \
          --data '{"channel":"CHANNEL","timestamp":"'$SLACK_TIMESTAMP'","name":"${{env.EMOJI}}"}' \
          https://slack.com/api/reactions.add

@filmaj feel free to close this since I got what I wanted. I'm not closing it in case you still think it's a worthwhile feature to consider.

Thanks @zimeg for the great suggestion and thank you @mjperrone for sharing your solution!
I will keep this issue open as it's worthwhile to study when we revisit this project. Perhaps your solution above could be generalized for use with any Slack HTTP API that someone would want to easily integrate into GitHub Actions? 🤔

@mjperrone @filmaj And thank y'all both a ton for sharing these brainstorms! We've just released support for calling one of the Slack API methods as part of @v2.0.0 🚀
Now, posting and reacting to a message might resemble this:
- name: Send a message to channel
  id: message
  uses<EMAIL_ADDRESS>  with:
    method: chat.postMessage
    token: ${{ secrets.SLACK_BOT_TOKEN }}
    payload: |
      channel: ${{ secrets.SLACK_CHANNEL_ID }}
      text: "chore(<!channel>): merge w the latest changes on main"
- name: Respond with affection
  uses<EMAIL_ADDRESS>  if: ${{ steps.message.outputs.ok }}
  with:
    method: reactions.add
    token: ${{ secrets.SLACK_BOT_TOKEN }}
    payload: |
      channel: ${{ secrets.SLACK_CHANNEL_ID }}
      timestamp: "${{ steps.message.outputs.ts }}"
      name: heart

More details on updating to the latest version are outlined in the release notes and README, so for now I'll go ahead and close this issue 🙏 ✨


⚠ ku-s has degraded performance

In aefa7cb, ku-s ($KU_API_STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 14199 ms

Resolved: ku-s performance has improved in f34ad57.


[e2e]: nodejs release main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7676777642
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.release.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.release.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Sat Jan 27 06:02:07 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7683812136
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.release.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.release.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Sun Jan 28 06:02:02 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v40.0.182
Run: https://github.com/slsa-framework/example-package/actions/runs/7691837017
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.release.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.release.main.default.slsa3.yml
Trigger: release
Branch: v40.0.182
Date: Mon Jan 29 06:06:57 UTC 2024
Tests are passing now. Closing this issue.


Fix SVG import Y-axis and arc degrees.

I believe this fixes issue #300 as noted there with SVG imports being "flipped" and having arcs that are incorrect. I had similar issues with trying to import an SVG exported from KiCad, where using current version results in:

And with these fixes:

I'm happy to contribute a test for this, but the SVG import tests don't offer much in terms of the direction you'd want to go with such a test. I'm open to ideas.
Thanks!

Thanks for looking into this. There are two separate issues here - the inversion of the arcs and the flipping of the y axis.

I've looked into the arc problem and it appears that the problem is that the start and end angles are reversed.  Commit 97a4b66671529301c4c64cb6ade65969793d5791  attempts to fix this by sorting these values which does resolve the problem with the svg file referenced in the issue 300.  Please try your import again to see if this was the same issue you were seeing.
Flipping the y-axis (svg files have an inverted y-axis) should be an optional parameter.  This will match the new svg importing that is coming which is much more capable.

The svg import functionality has been replaced with this commit: dd4f923f6cd62d25c45dc4188bf223778047e619. This change should both fix the arcs and provides a flip_y option to correct for svg's different orientation.  These changes make this PR invalid (as the core code isn't in the build123d repo anymore) so this PR is being closed.

@gumyr Thanks! I'll give the updated version a try when I have a few minutes.