Inderect rendering texture are shifted by 1 line.

renderTexture's top line have the data, which belongs to the bottom of the texture. It shows by a small white line at the top.

renderTexture = lovr.graphics.newTexture(512,512, {mipmaps=false, usage={"sample", "render"}})

local isRendered = false

function lovr.update()
if (not isRendered) then
    lovr.graphics.setBackgroundColor(0, 0, 0)
    local rPass = lovr.graphics.getPass('render', renderTexture)
        rPass:cube(mat4(vec3(0,-1,-2), vec3(0.5,0.5,0.5)))
    lovr.graphics.submit(rPass)
    lovr.graphics.setBackgroundColor(0, 0, 0)
    isRendered = true
end
end
function lovr.draw(pass)
    pass:setMaterial(renderTexture)
    pass:plane(mat4(vec3(0,1.5,-0.5), vec3(0.5,0.5,0)))

end

The texture coordinates are wrapping on the edge.  Creating a clamping sampler (lovr.graphics.newSampler({wrap = 'clamp'})) and adding pass:setSampler(sampler) fixes it.


ROS conflicts with npm on Ubuntu 18.04

Installing ROS packages from http://packages.ros.org/ros/ubuntu/ on Ubuntu 18.04 results in npm being uninstalled, and installing npm causes the ROS packages to be uninstalled. This appears to be repeat of the behavior reported here:
https://github.com/ros/rosdistro/issues/19845#issuecomment-455641293
I'm not positive, but I think this just started today which is suspiciously the same day that the ros packages were updated.

Unfortunately, I don't know if there is anything we can do here.  Fundamentally, libssl1.0-dev is incompatible with libssl-dev.  npm depends on the former, and all of the ROS packages depend on the latter.
In point of fact, this should have always failed on 18.04.  Did this used to work with the npm packages from 18.04?

Per my original message, I'm not sure if the issue is new. Is there an easy way I can install the ros packages from before today's release?

Is there an easy way I can install the ros packages from before today's release?

You can use the snapshot repositories:
http://snapshots.ros.org/melodic/2020-10-12/

Thanks! I can confirm that the problem is not new. I've changed the title to reflect of this issue to reflect that.
Sorry for the false alarm.

As mentioned in this comment https://github.com/ros/rosdistro/issues/19845#issuecomment-455737976 the nodejs version in bionic-security seems to link a different libssl version than the one in bionic-updates. Are you able to pin to that version of the nodejs package and keep everything installed?

Yes, I can confirm that doing:
apt-get install nodejs=8.10.0~dfsg-2ubuntu0.2 nodejs-dev=8.10.0~dfsg-2ubuntu0.2

prevents a subsequent install of ros from removing npm.

I think that there's not much else that we can do except tell people to install the version of nodejs from bionic-security. Hopefully this ticket will be enough documentation for that. I'm going to close this as there's nothing actionable that we should be tracking.


syntax highlighting in readme

An alternative code block syntax is used in order to enable python highlighting of the example. This improves the readability of the example.

Thanks!


change the 3 test private keys to be derived from the 3 test mnemonics

This allows the mnemonics to be pre-seeded with hash and to be used for command-line transactions for the same accoutns that we run test contracts under and what-not

Codecov Report

Merging #38 (9778766) into main (2e7718e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #38   +/-   ##
=========================================
  Coverage     76.44%   76.44%
+ Complexity      127      125    -2
=========================================
  Files            19       19
  Lines          1125     1125
  Branches        124      124
=========================================
  Hits            860      860
  Misses          191      191
  Partials         74       74

Continue to review full report at Codecov.

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


custom_certs are ingnored for ddev v1.22+

Is there an existing issue for this?

[X] I have searched the existing issues

Output of ddev debug test
Expand `ddev debug test` diagnostic information
Running bash [-c /tmp/test_ddev.sh]
======= Existing project config =========
These config files were loaded for project finnhaus2024: [/home/opusadmin/workspace/finnhaus2024/.ddev/config.yaml /home/opusadmin/workspace/finnhaus2024/.ddev/config.cron.yaml]
name: finnhaus2024
type: php
docroot: pimcore/public
php_version: 8.2
webserver_type: apache-fpm
webimage: ddev/ddev-webserver:20230803_php_serialize_precision
database: {mariadb 10.4}
hooks: map[post-start:[map[exec:printf "SHELL=/bin/bash\n*/5 * * * * /var/www/html/pimcore/bin/console pimcore:maintenance\n*/5 * * * * /var/www/html/pimcore/bin/console messenger:consume pimcore_core pimcore_maintenance pimcore_image_optimize pimcore_search_backend_message --time-limit=300\n" | crontab] map[exec:printf "SHELL=/bin/bash\n*/5 * * * * /var/www/html/pimcore/bin/console pimcore:maintenance\n*/5 * * * * /var/www/html/pimcore/bin/console messenger:consume pimcore_core pimcore_maintenance pimcore_image_optimize pimcore_search_backend_message --time-limit=300\n" | crontab]]]
mailhog_port: 8025
mailhog_https_port: 8026
project_tld: ddev.site
use_dns_when_possible: true
composer_version: 2
nodejs_version: 16
default_container_timeout: 120
======= Creating dummy project named  tryddevproject-29598 in ../tryddevproject-29598 =========
OS Information: Linux srv-dev-1 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
User information: uid=1000(opusadmin) gid=1000(opusadmin) groups=1000(opusadmin),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),116(lxd),117(docker)
DDEV version:  ITEM             VALUE
 DDEV version     v1.22.1
 architecture     amd64
 db               ddev/ddev-dbserver-mariadb-10.4:v1.22.0
 ddev-ssh-agent   ddev/ddev-ssh-agent:v1.22.0
 docker           20.10.25
 docker-compose   v2.20.0
 docker-platform  Ubuntu 22.04.3 LTS
 mutagen          0.17.2
 os               linux
 router           traefik:v2.10
 web              ddev/ddev-webserver:20230803_php_serialize_precision
PROXY settings: HTTP_PROXY='' HTTPS_PROXY='' http_proxy='' NO_PROXY=''
======= DDEV global info =========
Global configuration:
instrumentation-opt-in=true
omit-containers=[]
performance-mode=none
router-bind-all-interfaces=true
internet-detection-timeout-ms=3000
disable-http2=false
use-letsencrypt=false
letsencrypt-email=
table-style=default
simple-formatting=false
auto-restart-containers=false
use-hardened-images=false
fail-on-hook-fail=false
required-docker-compose-version=v2.20.0
use-docker-compose-from-path=false
project-tld=
xdebug-ide-location=
no-bind-mounts=false
router=traefik
wsl2-no-windows-hosts-mgt=false
router-http-port=80
router-https-port=443
traefik-monitor-port=10999

======= DOCKER info =========
docker location: -rwxr-xr-x 1 root root 50807496 Jun 29 23:21 /usr/bin/docker
docker version:
Client:
 Version:           20.10.25
 API version:       1.41
 Go version:        go1.18.1
 Git commit:        20.10.25-0ubuntu1~22.04.1
 Built:             Fri Jul 14 21:58:09 2023
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.25
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.1
  Git commit:       20.10.25-0ubuntu1~22.04.1
  Built:            Thu Jun 29 21:21:05 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.2
  GitCommit:
 runc:
  Version:          1.1.7-0ubuntu1~22.04.1
  GitCommit:
 docker-init:
  Version:          0.19.0
  GitCommit:
DOCKER_DEFAULT_PLATFORM=notset
======= Mutagen Info =========
======= Docker Info =========
Docker platform: Ubuntu 22.04.3 LTS
Using docker context: default (unix:///var/run/docker.sock)
docker-compose: v2.20.0
Using DOCKER_HOST=unix:///var/run/docker.sock
Docker version: 20.10.25
Able to run simple container that mounts a volume.
Able to use internet inside container.
Docker disk space:
Filesystem                Size      Used Available Use% Mounted on
overlay                 393.4G    339.3G     37.6G  90% /

Expected Behavior
Files copied to custom_certs folder are used for the specific host
Actual Behavior
Instead of the custom certificates the automatic certificates from mcert are used
Steps To Reproduce
create new ddev php project
add custom certificates to .ddev/custom_certs/
restart ddev project
there is no message that custom certs are copied
maybe related to new router
Anything else?
No response

Hi @opus-digital - Would you mind creating an experimental repository that demonstrates this?
Does it work if you use the traditional router? ddev config global --router=nginx-proxy && ddev restart ?
The automated tests seem to be working fine on all platforms. https://github.com/ddev/ddev/blob/5654135a486d99f835ac512f7cb3b13611c207b7/pkg/ddevapp/ddevapp_test.go#L4009

https://github.com/ddev/ddev/pull/5287

No, you can't use both routers at the same time,
But it does look like your strategy with providing both formats for the key/cert should be correct, https://ddev.readthedocs.io/en/latest/users/extend/custom-tls-certificates/
If I understand correctly though, the problem you're having now is completely different from the original problem, right? You're now saying it works fine, but ddev restart (or some unknown factor) causes the cert not to work any more.
I assume that ddev poweroff or ddev restart with just one project running both solve the problem?

After the next ddev restart or after a period of time (like 1 hour) instead of the custom cert the mcert is loaded again.

Is the next ddev restart on the same project, or another project?

Where did you end up with this? Did you figure out how to recreate it predictably? Can you create a simple repository with dummy keys (created by mkcert) that can demonstrate it?

Testing:
In project d10
ddev config global --router=traefik
mkdir .ddev/custom_certs
cd .ddev/custom_certs
mkcert --cert-file=d10.crt --key-file=d10.key d10.ddev.site a.junk.site b.junk.site <IP_ADDRESS> *.junk.local
ddev restart

View "alternate names" in browser:

ddev restart

Check alternative names. Still correct
ddev poweroff
ddev delete -Oy
ddev start
openssl s_client -connect d10.ddev.site:443 </dev/null 2>/dev/null | openssl x509 -noout -text | grep DNS:
                DNS:d10.ddev.site, DNS:a.junk.site, DNS:b.junk.site, DNS:*.junk.local, IP Address:<IP_ADDRESS>

Everything I've been able to think of to to says it's working. I'm happy to do a call with you to debug this, maybe you can figure out a way to recreate it? If you're working on it, please try to recreate in a simple environment, like just a quickstart for your favorite CMS (or even an empty project).
Closing for now, happy to continue the conversation here or elsewhere.


Alarm.com with Brinks now requiring 2 factor authentication.

I noticed the device showed "Needs Reconfiguration", when I do it askes for credentials and then a message pops up - Alarm.com requires 2 factor to be setup for this account.   When I test manually I noticed the first time I login in it forces me to do a 2 factor setup or skip, but the option to skip sets up a cookie so it's not for the entire account, just that browser.

Day 2 and problem may be solved.  I reset HA today, got the error and entered my MFA code from email.  Then rebooted my HA 3 times and it logged in without requiring the MFA as I did it once already.
But yesterday, everytime I rebooted or did a reset, it asked for it again.  Not sure if it was a problem with Brinks, Alarm.com or HA integrations.


Transition Animations

Hi, I don't get how to use TransitionAnimations , in the example bellow the gifs I change my VC class to UINavigationController but cant find the variable motionTransitionType (or something like that ) , and in the examples codes you just used default swift UIViewController and cant find such these methods or Variables to set to .zoom or what .. , can you explain how to use these animations ??

Have you had a chance to read through the documentation: https://www.gitbook.com/book/cosmicmind/motion/details ?

yea i did dor sure but your example project has conflicts with your short code in documentation , in your exanole project u just used simple default uiviewcontroller and calling some prepare methods that include a variable that isnt found , in the doc u used navigationcontroller as class i did so bit still cant find a variable motiontype .. there ? so how should i use this ? use it az custom class ? please explain better for me

How are you including Motion within your project?

using pods , its installed successfuly , and i have to mention that the variable isMotionEnabled is foud ( dont know it's yours or swift default)

In the sample I didn't import Motion because it is included in Material. You need to import Motion into your Swift files that use Motion's features. That should fix your issue :) if you need, please reopen or create a new issue.

`import UIKit
import Material
class ConfirmVC: UIViewController {
@IBOutlet weak var CheckLayout: FlatButton!
@IBOutlet weak var CodeTextField: CustomTextField!
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
    super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
    ConfirmVC.VC = self

}
required init?(coder aDecoder: NSCoder) {
    super.init(coder: aDecoder)

}
public static var VC:ConfirmVC?
override func viewDidLoad() {
    isMotionEnabled = true
     motionModalTransitionType = .autoReverse(presenting: .zoom)
    super.viewDidLoad()
}.....`

motionModalTransitionType  this is not found , with importing Material , Motion , or both

The first thing to notice is this is incorrect:
override func viewDidLoad() {
    isMotionEnabled = true
     motionModalTransitionType = .autoReverse(presenting: .zoom)
    super.viewDidLoad()
}

You should have it like this:
override func viewDidLoad() {
super.viewDidLoad()
    isMotionEnabled = true
     motionModalTransitionType = .autoReverse(presenting: .zoom)
}

The second thing is that I am going to ask that you send over a sample project, because you should be able to use the Motion features. Can you send me a sample project that reproduces the issue?

Test.zip
this is test project created , I've added pods and installed them , and there are 2 VCs one name "fristVC"
thats the one importing material and have the error

I tested your project and it looks like you are using Material 2.6.3. Make sure you clear your pod cache.

Let me know how it works out :)


Send info from client to server.

Hi there,
I want to ask if it is possible to set some internal attributes inside the client and send them to server without the use of ipso objects.
I have to send a string from the client to the server. This string is an oauth2 token which is then validated inside the server.
Thank in advanced.

I have solved the problem.

Hi Army96,
Can you please share, How you have solved the issue.
Thanks in advance.


[FLINK-36831][table] Introduce AppendOnlyFirstNFunction in Rank with Async State API

What is the purpose of the change
Introduce AppendOnlyFirstNFunction in Rank with Async State API.
Brief change log

Add AppendOnlyFirstNFunction and AppendOnlyFirstNHelper
Add AppendOnlyFirstNFunctionTest

Verifying this change
Existent tests and new added tests can verify this change.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Hi, I really hope to contribute to the Flink community. After learning your code, I submitted the PR for AppendOnlyFirstNFunction and sent you an email. Please approve and let me know if there are any areas where my code needs improvement.

In the future, I plan to continue trying to submit PRs for RetractableTopNFunction, UpdatableTopNFunction, and TemporalJoin. Does this conflict with your future plans? If so, please let me know. Thank you


Use correct string format IPv4 encoded as IPv6 for for AAAA records

In order to parse an IPv4 address encoded as IPv6, it needs to have the prefix of "::ffff:", i.e. ::ffff:<IP_ADDRESS>
This allows export of parsed IPv4 encoded IPv6 AAAA records to be scanned back to a valid AAAA record.
Without it the following code fails as the address is "plain" dotted IPv4-format:
rr, err := dns.NewRR(". 1 IN AAAA ::ffff:<IP_ADDRESS>")
if err != nil {
    log.Fatalf("parse failure: %w", err)
}

_, err = dns.NewRR(rr.String())
if err != nil {
    log.Fatalf("parse failure: %w", err)
}

This comes from the std libs net.IP String() function which outputs IPv4-in-IPV6 as standard dotted-IPv4. net/netip.Addr type, in contrast, differs here in that the String() func outputs it with the proper prefix "::ffff:" Ref: https://pkg.go.dev/net/netip#Addr.String
The other attempt to fix this https://github.com/miekg/dns/issues/1107 and the code in PR https://github.com/miekg/dns/pull/1108 has worse performance than this PR, due to the use of fmt.Sprintf() which is not needed

I'm sympathetic to merging this as anything we output should be parsed back in.
Can you add a (small) test for this as well?

Thanks and sorry for the late response. I've added a test with a few IPv6 addresses that should parse to a proper AAAA record, be able to export in presentation format and the result should be able to parsed again into a new AAAA record.
It may be worth noting that any viable net.IP address string is able to be used to parse into an AAAA record, including "::".

Hi @miekg, just wondering if you've had a chance to look at the updated version yet. We'd love to get this pulled in!


Feat/riemann exporter

First "version" of Riemann exporter.
The implementation was done as a proof of concept. So I tried to do it minimizing the modifications to the existing files.
This is inspired and not so far from the Prometheus one.
As a result it works fine, but there are a lot of duplications in the code currently.
Future improvements could be to:

Split the run method which is as long as hell.
Factorize code which is pretty similar in Prometheus and Riemann (mostly run method) in the Exporter trait and just change the way metrics are exposed or sent.

Sorry this PR is a bit large, but it mostly introduced new files, so it can probably be merged without being too worried about it.
Note, I have also fixed a couple of typos in Prometheus exporter.

This is awesome, thanks a lot !
I'll have a look in the next days.

This is awesome, thanks a lot !
I'll have a look in the next days.

I'm trying the PR and this is great so far ! Thanks !
What do you think about prefixing the services/metrics with scaph_ ?
If I query all the metrics at once it's pretty hard to differentiate the metrics from riemann-health and those from scaphandre, for example.
Don't worry about the conflicts, I fixed it locally. Feel free to push new commits if you want to change something and I'll manage the merge.

I'm trying the PR and this is great so far ! Thanks !
What do you think about prefixing the services/metrics with scaph_ ?
If I query all the metrics at once it's pretty hard to differentiate the metrics from riemann-health and those from scaphandre, for example.
Don't worry about the conflicts, I fixed it locally. Feel free to push new commits if you want to change something and I'll manage the merge.

Don't worry about the conflicts, I fixed it locally. Feel free to push new commits if you want to change something and I'll manage the merge.

@bpetit, if it is ok for you, as soon as this PR will be merged, I will open a new one to do the proposed changes to reduce duplication.
This may also simplify implementations of new exporters.
How do you want to proceed, would you like to discuss the idea upfront or would you like me to propose an example MR first.

Don't worry about the conflicts, I fixed it locally. Feel free to push new commits if you want to change something and I'll manage the merge.

@bpetit, if it is ok for you, as soon as this PR will be merged, I will open a new one to do the proposed changes to reduce duplication.
This may also simplify implementations of new exporters.
How do you want to proceed, would you like to discuss the idea upfront or would you like me to propose an example MR first.

I've added prefixes to the PR as I solved the docs conflicts. I'd like to know if you find it relevant or not before I push.
I know that having specific prefixes is a good practice for prometheus exporters. Is this the same for riemann clients ?

I've added prefixes to the PR as I solved the docs conflicts. I'd like to know if you find it relevant or not before I push.
I know that having specific prefixes is a good practice for prometheus exporters. Is this the same for riemann clients ?

I pushed as I preferred to integrate that PR before others. We can open another PR as you suggested to change some details if needed.

I pushed as I preferred to integrate that PR before others. We can open another PR as you suggested to change some details if needed.

I've added prefixes to the PR as I solved the docs conflicts. I'd like to know if you find it relevant or not before I push.
I know that having specific prefixes is a good practice for prometheus exporters. Is this the same for riemann clients ?
Can you give an exemple ? I'm not sure I catch it ?

I've added prefixes to the PR as I solved the docs conflicts. I'd like to know if you find it relevant or not before I push.
I know that having specific prefixes is a good practice for prometheus exporters. Is this the same for riemann clients ?
Can you give an exemple ? I'm not sure I catch it ?

I've added scaph_ prefix in the name of each metric:

What do you think ?

I've added scaph_ prefix in the name of each metric:

What do you think ?

I pushed as I preferred to integrate that PR before others. We can open another PR as you suggested to change some details if needed.

Yes of course. We have a base now and it's better to iterate and improve it.

What do you think ?

I got it now. Yes sounds good.
Fyi, I have also attached tags and attributes to the metrics as well. It can be seen clicking on a metric at the bottom of the screen.

I pushed as I preferred to integrate that PR before others. We can open another PR as you suggested to change some details if needed.

Yes of course. We have a base now and it's better to iterate and improve it.

What do you think ?

I got it now. Yes sounds good.
Fyi, I have also attached tags and attributes to the metrics as well. It can be seen clicking on a metric at the bottom of the screen.


command is named slightly differently on Windows

On Windows I need to pass in a different name for native-image:
C:\\Users\\IEUser\\Downloads\\graalvm\\graalvm-ce-19.0.0\\bin\\native-image.cmd

It would be more ergonomic if clj.native-image could automatically detect we're on Windows and derive the command name from the GRAALVM_HOME variable.
Detecting the OS name can be done as follows:
(System/getProperty "os.name") ;;=> "Windows 10"

This is fixed with https://github.com/taylorwood/clj.native-image/pull/9

Fixed in 546a77a4492be2f1d9b48e43cb48fb0ebfa39cc2.


Redirecting on IOS

Hi guys, i have issue with redirection after login on IOS. Tried different redirect URI's and nothing is happening. In logs on azure I can see that user is successfully log in, but after i click  Sign in button nothing is happening. Any idea how to solve redirection issue? Thank you

@snowybeast13 thanks for bringing this to our notice. I will have a look soon .

I also run into same issue, I tried few things and in my case it was not executing onPageFinished of WebViewController inside ADB2CEmbedWebView after successfully signin in. I found that onUrlChange of WebViewController captures url change, so this snippet allowed me to sign in on iOS:
onUrlChange: (change) { final Uri response = Uri.dataFromString(change.url!); onPageFinishedTasks(change.url!, response); }
I don't know whether its proper solution and will work in all cases.

The suggestion also worked for me.
I also then disabled the old "onPageFinished" - as to not get double events emitted on Android.


it might cause multithread problem i think..

I saw that className and methodName variates is static,
that means when using this class on multithread condition,
it will be incorrect if there is loging too much

Hi @SR1s
What's the difference between DebugLog and Log.java?
https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/util/Log.java

Ok, the major difference is that you add extra message like class name, function name and line number. It's a good feature for debug program. But the problem is that you store these extra message in the static variate, in multithread context, it will be change but other thread when it is loging one log but interrupt by the VM.
Let me show you a example.
I did a test, the code is below, using DebugLog to log the message.
public class App extends Application {

    private static Context sContext;

    @Override
    public void onCreate() {
        super.onCreate();

        Thread t1 = new LogOne();
        Thread t2 = new LogTwo();
        t1.start();
        t2.start();

    }

    public static Context getContext() {
        return sContext;
    }

    class LogOne extends Thread {

        @Override
        public void run() {
            super.run();
            int i = 10000;
            while (i-- > 0) {
            messageOne();
            }
        }

        private void messageOne() {
            DebugLog.i("log by LogOne");
        }
    }

    class LogTwo extends Thread {

        @Override
        public void run() {
            super.run();
            int i = 10000;
            while (i-- > 0) {
                messageTwo();
            }
        }

        private void messageTwo() {
            DebugLog.i("log by LogTwo");
        }
    }

}

It should always only log these two message:

[messageOne:41]log by LogOne
[messageTwo:57]log by LogTwo

However, in the logcat, I saw this:

This is what I mean the multithread problem.
My suggestion is using local variate instead of static variate to avoid these problem.

Another simpler suggestion is to create local variable or private function that returns the tag and the line number, also because every log line is different of the previous, let's say, at 99% of the times. So why keep them in a static variable if they are changed at every call?
I've created a new Log class based on the roboguice/util/Ln.java class and this one. This class resolves also the issue #10.


[WIP]: Implement keyboard shortcuts

Description
this PR adds support for more xcode-like keybindings and enabling them, and also tweaking a few to be more like xcode
Related Issues

closes #1097

Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] The issues this PR addresses are related to each other
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] My changes are all related to the related issue above
[x] I documented my code
[ ] Window closes if no tabs are open when pressing ⌘W
[ ] Close editor
[x] Close Workspace
[ ] Close Window
[ ] Navigate tab commands

Screenshots
coming soon

Thank you, @luah5 🙏🏻

Closing this with reason(s):

This is a hardcoded solution. To prevent refactoring this in the future there first has be a proper shortcut abstraction architecture in place. This hasn't been done yet


MBED-OS build test scripts

Add mbed-OS build test scripts to all.sh
Please enter the commit message for your changes. Lines starting

@andresag01 thanks for your comments.
I have modified according to your comments

@andresag01 Thanks for your review. I have modified according to your comments

@andresag01 Thank you for your comments. I have rebased, because of merge conflicts, and added the comment you remarked.

@sbutcher-arm I have rebased and addressed your comments

I don't think all.sh should do mbed builds. We currently have separate CI jobs for mbed targets, so this is not needed in the short term. In the medium term, we're moving away from all.sh to a new set of CI scripts.

@gilles-peskine-arm perhaps, you can see more in formation in IOTSSL-1010

@RonEld In 2016 it was the way to go, but now that ship has, if not sailed away, then at least cast off and raised its gangplank.


provide an option in parquet-pig to avoid reading footers in client side

Parquet Pig reads footer in client side, to calculate splits and retrieve schema etc.
In HCatalog environment, if there are large number of files generated by Hive, Parquet-Pig will spend significant chunk of time processing those footers in client side (before job is submitted to cluster).
Reporter: Tongjie Chen / @tongjiechen
Note: This issue was originally created as PARQUET-100. Please see the migration documentation for further details.

Tongjie Chen / @tongjiechen :
Hi @julienledem, we actually have turned that flag on in production,  it does reduce the memory footprint but still read footers before applying that split strategy.
This jira is to avoid reading footers completely.

Julien Le Dem / @julienledem:
There is one already:
set parquet.task.side.metadata=true

https://issues.apache.org/jira/browse/PARQUET-84
https://github.com/apache/incubator-parquet-mr/pull/45

Tongjie Chen / @tongjiechen :
In Hive, things are a bit more complicated.

Parquet hive's MapredParquetOutputFormat is using old mapred API (org.apache.hadoop.mapred); ParquetOutputCommitter is using new mapreduce API (org.apache.hadoop.mapreduce.lib.output). So some code duplicate is inevitable.

in Hive, for partitioned tables, generating _metadata file cannot be done in commitTask method since in dynamic partitioning, one partition's file could be generated by many tasks, and one task can write to many partitions.   If we do it in commitJob, that basically just move the slow part from read to write. (commitJob need to read all files and merge them, which could be very slow).

hive "insert into" statement would make existing _metadata stale unless regenerating it.

Tongjie Chen / @tongjiechen :
Hi @julienledem, in current TaskSideMetadataSplitStrategy implementation,  the only information it needs from footer is filePath, which can be obtained by listStatus. I think we can move the getFooter logic into ClientSideMetadataSplitStrategy.
Please let me know whether this approach works or not, I can work on a patch and submit a pull request.

Tongjie Chen / @tongjiechen :
This patch introduces a new split strategy "TaskSideFooterSamplingSplitStrategy" which only reads one footer per folder.  This class is a  subclass of TaskSideMetadataSplitStrategy. They are essentially the same split strategy in terms of how to calculate split.
For HCatalog use case,  the file schema and metadata should be the same across all file footers within each partition (folder), hence reading one per folder will be enough for this case. By default sampling strategy is turned off, hence it is backward compatible.
This speed up pig client processing quite a bit.
To use this new strategy:
set parquet.task.side.metadata true;
set parquet.task.side.metadata.samplefooters true;

Daniel Weeks / @danielcweeks:
PARQUET-139 fixed this.  Let's close this issue.

Tongjie Chen / @tongjiechen :
It actually also needs FileSchema and KeyValueMetadata from globalMetadata,  maybe introduce a new strategy that does not read Footer.

Tongjie Chen / @tongjiechen :
pull request:
https://github.com/apache/incubator-parquet-mr/pull/72

Julien Le Dem / @julienledem:
That's probably where we need to do something.
The committer code is here:
https://github.com/apache/incubator-parquet-mr/blob/master/parquet-hadoop/src/main/java/parquet/hadoop/ParquetOutputCommitter.java
possibly should be added there?
https://github.com/apache/incubator-parquet-mr/blob/master/parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/MapredParquetOutputFormat.java

Ryan Blue / @rdblue:
@danielcweeks or @tongjiechen , are you guys still interested in this fix, or is PARQUET-139 sufficient?

Julien Le Dem / @julienledem:
Thanks for the clarification.
Once updated the write path, there is a new file _common_metadata which is much smaller than _metadata for that purpose.
Let me know if that helps.

Tongjie Chen / @tongjiechen :
Hi Julien, the problem is that Parquet-Hive does not generate that _metadata file, although ParquetStorer (Pig)  does generate that _metadata.

Ryan Blue / @rdblue:
Thanks, Dan!

Daniel Weeks / @danielcweeks:
This is fixed assuming you provide a schema.


File-descriptor leaks

In production I'm hitting a few file-descriptor leaks. I'll investigate soonish.

By closing the connection in res.End(), there's no leak when the transfer is successful.
We should consider to move the call to res.End() in a defer, so the connection will always be closed, even in case of error. I didn't check if it's doable: maybe, in certain cases, we won't want to close the connection if an error occurs.

Yeah, I figured some of the recent changes would affect this.
We're hitting the leaks more often now with the older build we're running.
I'll do testing with a newer build and will send pull requests for any fixes needed.

Updating libgotftp with https://github.com/tftp-go-team/libgotftp/pull/6 should be enough :)
I'm on https://github.com/tftp-go-team/libgotftp/issues/7 now.

If there was an error (file not found, read or write error), res.End() wasn't called so the socket could not be free'd.
By merging https://github.com/tftp-go-team/libgotftp/issues/7 and this pull request, you will no longer have descriptor leaks.

Merged, I'll run tests next week.
Thanks!

wow, I don't know what was going on with me on Friday but I didn't created the pull request to fix the leak when a transfer fails. Instead, I pushed on the master branch of my fork.
Anyway, pull request done at https://github.com/tftp-go-team/hooktftp/pull/25


No exception fired on video data loading error

If video loaded from invalid url no exception is fired and MeeduPlayerController.dataStatus not changed to error.
How should I handle video loading errors?
Code sample:

await _meeduPlayerController.setDataSource(
        DataSource(
          type: DataSourceType.network,
          source: "https://some-invalid-url.com/video/123.mp4",
        ),
        autoplay: true,
        looping: false,
    );

On desktop?

Yes I am still trying to fix that since I couldn't get the error from media_kit

Related issue.
https://github.com/alexmercerind/media_kit/issues/218
If I got time I may open a pr on media_kit for a fix for that problem

fixed on 4.2.11-dev-3 please check and reopen it there is any other problem

@krida2000  due to problems with my fix, i made the code only log errors, when media_kit provides a better solution i will integrate it, sorry for that

should be fixed in this new release since media_kit added error stream


sitemap.xml does not include lang links and no country links

Describe the bug
other languages not included as link
lang codes with no country not included
testing  sitemap.xml https://technicalseo.com/tools/hreflang/
more info: https://developers.google.com/search/docs/advanced/crawling/localized-versions
To Reproduce
Steps to reproduce the behavior:

download repo(main commit: b9f2d31b7d7b7efc476793a684b17631575ed9ae)
unzip -> open folder
run command bundle install
run command bundle exec jekyll serve --watch --safe
open _site/assets/sitemap.xml
find and replace http://localhost:4000 with website url ex: https://www.example.com
open https://technicalseo.com/tools/hreflang/ upload sitemap.xml
check for results

Expected behavior

Screenshots
none
Desktop (please complete the following information):
all
Smartphone (please complete the following information):
all
Additional context
none

problem fixed in PR #21 and merged. I'm closing issue


Mock browser environment on build

TL;DR: Any code that requires a browser environment will break the render and it's not often clear where the breakage occurred. This is especially true for third-party modules. I propose we render all code within a mocked browser environment using JSDOM.
Primary concerns to address:

Third party libraries that depend on the browser environment
Opaque error propagation does not make it clear what package is breaking the render
Requiring the user to worry about whether they are rending in node or in the browser goes against the mission statement of this project

Full Description
This plugin currently requires you to think about your app as if it were being rendered on the server. Meaning you have to occasionally write code to check whether or not you are running code in a node process or in the browser. Example:
if (typeof document !== 'undefined') {
  ReactDOM.render(<App />, document.querySelector('#root'));
}

This has generally been fine, since it's not too cumbersome to write occasional checks like this. You can also put DOM interaction code within componentDidMount and it will run just fine since componentDidMount is not called during static rendering.
However, a more serious problem arrises when third party libraries depend on a browser environment. As an example, I recently added auth0-js to a static project to handle auth, but it does not support server side rendering at all so I had to wrap all of my use of the code in a custom mock to get it to render correctly.
So, I'm proposing rendering all webpacked code in a mocked browser environment using JSDOM to allow almost any code that works in a browser to render through this plugin. Of course actual DOM interaction should still be done once components are mounted.
Technically speaking this could be achieved by augmenting the node VM sandbox with JSDOM. Something along the lines of:
const document = require('jsdom').jsdom('<body></body>');

sandbox.document = document;
sandbox.window = document.defaultView;
sandbox.navigator = window.navigator;

@BerkeleyTrue what do you think? You have more experience rendering components within Node


[spi_host] default enable for sck and csb

While reviewing #8866 , i noticed that the spi host by default drives both its chip select and clock enables to 1.
can you confirm this behavior? I think we have seen issues in other systems at power-up where this becomes a problem.  If the spi lines are shared for example, we may come out of power on reset and immediately conflict with someone else, especially if these are dedicated pins.
Let me know what you think.

Pinging this thread again so that we can resolve this question in light of upcoming D2/D2S reviews.

Since the cost for adding a tri-state buffer on board vs setting a default register bit is a no brainer. I would say being a bit conservative here is probably the right thing. I understand it will be a very unique requirement but I think it is wise here and would aid in the bring up as well.
On the HYP board for example we would need two SPI interfaces. One that talks to OT (regular flow) and then bypass OT and flash the SPI directly for making sure things are working as intended. In HYP ideally we can hold the OT in reset while flashing the SPI flash, but in order to not have conflicts it is better to take care of it in defaults.

I see, thanks @toshaq.   I can try to put something together for a proposal.

@martin-lueker I don't think this needs to be anything complicated.
I think as long as we add a software bit, and the output of this software bit takes the place of where we hardwire OE to 1, that is more than enough.
We just want to give software the ability to decide "when" spi_host should have an impact on the outside world. We could do this via pinmux also, however since spi_host is a dedicated connection, its controls are directly taken.

@martin-lueker did you already make this change?
It really does not have to be complicated - we can just hook up the OE signals to a CSR as @tjaychen has suggested.

o not gating anything, just more for completion sake.

Apologies for the delay folks, but #9858 should do the trick here.


#Fix: Reformat the ucr sql linkage script to take the sql url as a parameter to the function

Currently gets set within the script - want the user to be able to specify where the SQL db is located, as it could be different for each person.

Done!

Reformatted the ucr sql linkage script to take the sql url as a parameter to the function.
Adjusted the parameters in the main() function to accommodate future API integrations or command-line usage.
Made some revisions for more generalization.
Revised the save function to support multiple linkages and enable iterative saving without overwriting previous data.
Pushed the db_linkage_ucr.py for review instead of pulling request.

@chengrong-us , please create the pull request. Thank you

Pull request completed.


[Docs] Add section about error handling

Right now it is not clear to users how to properly handle API errors like 422 or 400 with additional details (e.g. errors dictionary). There is an example of handling in #5, but it should be documented in a package's readme file.

Docs were added in a GitBook

Just in time, Thanks!


No working in IE/EDGE

Hi. The password backup does not work in ( IE/EDGE ) OS version 10.0.15063.1266 (Win10 RS2).
I get 3 identical accounts, Instead of three different.

KeePassBrowserImporter 1.0.5

I compiled your class (InternetExplorer.cs) separately into the application:
in: private IEnumerable ReadVaultPasswords()
for (var i = 0; i <vaultCount; ++ i)
"i" never happens more> 0

There was a second error because the propertyPtr was not set to IntPtr.Zero for the second item. If this parameter is not null, the VaultGetItem method fails.


[WIP] Update to the latest version of skia

Description of Change
Update to the latest (m80 at this time) version of skia.
This has been published that to the internal feed as 2.80.0-pr.986.37
Tasks

[X] Merge native skia
[X] Get native skia building

[X] Hacking out the problems so it compiles
[x] Fixing the problems properly
[x] Bind any new members that are essential

[x] Update the managed bindings

[x] Hacking out the problems so it compiles
[ ] Fixing/adding unit tests
[ ] Fixing the problems properly
[ ] Bind any new members that are essential

[x] Update all source libraries (this shouldn't be too much work as these APIs are the same)

[x] SkiaSharp.Views (there are a LOT of platforms)
[x] SkiaSharp.Views.Forms

[ ] Update all samples (there are even more samples)

[ ] Update basic samples
[ ] Update feature samples

Bugs Fixed

None.

API & Behavioral Changes
Changes so far (excluding the changes listed in https://github.com/mono/skia/pull/64):

New minimum versions

Android API 16 (Jelly Bean)
Ubuntu 16.04 with later Clang versions (only for the default builds, but you can always build some ancient Linux if you build your own Clang)
UWP 10.0.16299 (Fall Creators Update)

Using Docker images on CI to build Linux

You can still build on Linux without Docker (you just need to manually install the tools)

HarfBuzz updated to v2.6.2
Targeting the newer tools

mono 6.4.0
Xcode 11
.NET Core 3.0
VS 2019

TODO

Due to SKCanvas.DrawTextOnPath being dropped from the native code, it has to be added back. Thanks to @Ziriax, we have a good implementation in https://github.com/mono/SkiaSharp/pull/1198

Is it expected that I can't run the unit tests?
I get undeterministic crashes with the latest version #dbfa12b644099e78cc4e46e226daba332f204f01 in dev/update-skia branch.
Since the downloadable externals don't seem to be compatible, I compiled the native bits myself.
I'm on Windows 10 x64.
I use dotnet test to run the .NET Core unit tests.
Ater some random number of tests I get The active test run was aborted. Reason: Test host process crashed Test Run Aborted.. Sometimes I immediately get an access violation exception.
I'm running this on an AMD CPU with 16 cores / 32 hyperthreads, so maybe this triggers a race condition?
Or maybe I compiled the native bits incorrectly (although I didn't get any errors)

There is sometimes a concurrency issue. This is also in master - which is why there is no stable of 1.68.2 yet.
Is there a stack trace or anything to indicate which one?

There is sometimes a concurrency issue. This is also in master - which is why there is no stable of 1.68.2 yet.
Is there a stack trace or anything to indicate which one?

My specific problems were related to #1227
I provided a PR #1227  for this.
These were not multi-threaded related, except the WGL deadlock I always have on all my machines, but that might be an driver bug on Windows...

I gave this a try with current Avalonia master and it worked out well with software rendering. Only SKPaint.BreakText didn't work but that's not an issue. I had no luck with the GPU backend.

I gave this a try with current Avalonia master and it worked out well with software rendering.

AWESOME! Was this the preview NuGet or did you build your own?

Only SKPaint.BreakText didn't work but that's not an issue.

Yes, This and a few others members are no longer around. But this will be added back soon. Already have a PR for another missing member #1198

I had no luck with the GPU backend.

Crashes? Exceptions? No rendering?

My own build. I tried the m83 branch. That probably needs some updates to the enum mappings. I will try the older branch soon.

Had no issues building with Clang 10

@Gillibald  yeah, the m38 was just hacked together to test the SKPlatformEffect on the GPU. Very specific case. Seems we might be getting a nice fragment shader support in that one. Looks to be "working" so far, just needs a bit more love on the API. And then fix the enums since they changed things again there... But, it compiled without too much hassle.
And nice to see clang 10 is working.

In my opinion SKFont should only measure and break spans of glyphs. Supplying a string to these methods leads to errors. This only works for text that doesn't need extra shaping when you supply a string.

@Gillibald I agree.  I can just keep SKFont to be glyph-only...
Doesn't the MeasureText fall into the same category as GetGlyphWidths and CountGlyphs? They also take strings.
Finally, even though you and I know that we need to get glyphs, many people just want to use simple .NET strings as text...

Y all these methods should follow this logic. I consider SKFont a low level component. SKPaint can expose overloads that take a string. SKFont doesn't need that and should do better. Maybe we should document it somehow that this only works for basic scenarios and link to the SkShaper component.

@Gillibald

This also doesn't handle surrogate pairs

I think it does, which is quite nice: https://github.com/google/skia/blob/chrome/m80/src/utils/SkUTF.cpp#L70-L94
And I think I agree with that logic of keeping SKFont low-level and SKPaint as the "more general" usage.


Implement lazy loding when rendering background image

Image are loading slowly which impacting the user experience.
Implement lazy load functionalities for those background images.

I can add a spinner for when loading the images....

sure @kamiri-charles  go ahead


Added Exponent Search and updated README.md

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added Exponential Search in C++
Checklist

[# ] I've read the contribution guidelines.
[#] I've checked the issue list before deciding what to submit.
[# ] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#1826

@shraddhavp @dwoc Any updates

@shraddhavp @dwoc Any updates

@atarax665 Check now

@atarax665 Check now


Social Login Missing

Cant find option for social login with laravel/socialite package.

I will soon add this for now you can check the official docs


Strange Error

Hi @somi82,
Thank you for this amazing module.
I have updated it to the newest 3.1.0 version and now my project is show this error:
Could please help me?
[ERROR] :  TiExceptionHandler: (main) [465,34701] ----- Titanium Javascript Runtime Error -----
[ERROR] :  TiExceptionHandler: (main) [0,34701] - In ui/common/DetailWindow.js:1,69
[ERROR] :  TiExceptionHandler: (main) [0,34701] - Message: Uncaught Error: Class 'java.lang.String' does not implement interface 'java.util.Map' in call to 'int java.util.Map.size()' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)
[ERROR] :  TiExceptionHandler: (main) [0,34701] - Source: })}))}}),s.addEventListener("focus",function(){Titanium.App.tracker.trackScree
[ERROR] :  V8Exception: Exception occurred at ui/common/DetailWindow.js:1: Uncaught Error: Class 'java.lang.String' does not implement interface 'java.util.Map' in call to 'int java.util.Map.size()' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)

Nevermind! I just found the problem.
On the previous version I was using, the TrackScreen method received a String, and now it a {}.
My bad!

No worries. Glad you found the small change. Cheers!


Add Web Authentication API support

Remix Auth should have a way to support using the Web Authentication API somehow, or at an example or guide.

[ ] #44
[ ] #45
[ ] #47

I was looking to implement web authentication and found this package https://github.com/alexanderson1993/remix-auth-webauthn

I have decided this is out of the scope of Remix Auth


Java Phaser Bug

Hello,
I think there is a bug in the article https://www.baeldung.com/java-phaser
With the class
class LongRunningAction implements Runnable {
    private String threadName;
    private Phaser ph;

    LongRunningAction(String threadName, Phaser ph) {
        this.threadName = threadName;
        this.ph = ph;
        ph.register();
    }

    @Override
    public void run() {
        ph.arriveAndAwaitAdvance();
        try {
            Thread.sleep(20);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        ph.arriveAndDeregister();
    }
}

And then the subsequent code
executorService.submit(new LongRunningAction("thread-1", ph));
executorService.submit(new LongRunningAction("thread-2", ph));
executorService.submit(new LongRunningAction("thread-3", ph));

Doesn't this create a race condition between all of the LongRunningAction instances being instantiated (calling ph.register), and the Executor calling run, which calls ph.arriveAndAwaitAdvance(); ?
If one of the tasks calls ph.arriveAndAwaitAdvance() before all 3 instances are instantiated, won't it advance before it is supposed to?
Thanks

Hey, @austinarbor.
We'll look into this and update the article if necessary.
This issue will remain open until then.

This will not create a race condition and it will not advance when tasks are instantiated because we are instantiating the phaser object with 1, this means registered party is already equal to one before other tasks are instantiated.
ExecutorService executorService = Executors.newCachedThreadPool();
Phaser ph = new Phaser(1);
The number of registered party here is 1, now when task is being instantiated like:
executorService.submit(new LongRunningAction("thread-1", ph));
After this line, the registered party increases to 2, but threads waiting at the barrier is still 1 which is called from the run method of this thread.
Similarly, when all three threads are instantiated:
executorService.submit(new LongRunningAction("thread-1", ph));
executorService.submit(new LongRunningAction("thread-2", ph));
executorService.submit(new LongRunningAction("thread-3", ph));
Here the current state is, registered parties =4, arrived at barrier =3, therefore execution is not triggered.
It only gets triggered when ph.arriveAndAwaitAdvance(); at the next line.
Hope this helps.
Closing this issue.


Test GameCube + Swiss + FSP + Audio Streaming titles

https://www.gc-forever.com/wiki/index.php?title=Audio_Streaming
There are a few games on GameCube that do audio streaming.  These apparently have some level of compatibility with Swiss when loaded from SD cards, but I need to test them out with FSP over network for myself.
Creating this issue as a reminder.

Playing "Eternal Darkness: Sanity's Requiem" currently.  Game is reported to have audio streaming, and appears to work fine.  All music and sound effects in tact with Swiss v0.6r1362 (released 19 Aug 2022).


Improves Java REST tests: unique Strings, negative assertions

This PR introduces multiple changes:

each test case uses a unique title and body on the data it creates. This is necessary because this is a stateful tests and assertions were being mixed up
assertions are more strict. Previous implementation would treat the response as a plain String and assert that contained the body substring. This assertion is wrong since the Play failure page (an HTML indicating the requested URI is missing) can be converted to a String and it also contains the substring body.
Adds a test case to ensure GET /v1/posts/ works. Equivalent to #48 but for the java sample.

This PR is currently not passing all the tests (tested in 2.8.0-M3 and 2.7.3). The reason is a test expecting GET /v1/posts/ (the requests includes a trailing slash) fails.
This is related to https://github.com/playframework/playframework/issues/8850, #47 and #48

After discussing with @marcospereira, the behavior of Play is correct and the failing test here is wrong: the test expects GET /v1/posts/ to return a list of values but that's the wrong expectation.
Note that in play-scala-rest-example there's a similar test which does the exact same assertion and passes the test. The reason is that play-scala-rest-example  sneakily includes support for trailing slashes but that's not a vanilla Play feature.


Setup eslint for TypeScript and resolve all errors

You have to use @typescript-eslint and @typescript-eslint/parser plugins (which are NPM packages) to use TypeScript with eslint.
https://stackoverflow.com/questions/70083042/eslint-parsing-error-unexpected-token

@ everyone for vis. Build should be clean at this point.


Email verification is done

Issue Number
fixes #122

Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
I have used the SMTP module to send emails to users for verification, they can enter the code, and hence the email will be verified if the code entered is correct.
Describe if there is any unusual behavior of your code(Write NA if there isn't)
NA
Additional context (OPTIONAL)
Test plan (OPTIONAL)
A good test plan should give instructions that someone else can easily follow.
How someone can test your code?
just add your email and you will get a code, enter it correctly and you will be registered successfully.
Checklist

[ ] I have added my name in the contributors list at the end of README.md file.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.
[x] LGMSOC21

https://user-images.githubusercontent.com/74586135/121781281-a3abbd00-cbc1-11eb-94ee-041189f8ad52.mp4

@Aditi-Singh16 website has been updated a lot.
Update your repo and do the changes again.

@Aditi-Singh16 website has been updated a lot.
Update your repo and do the changes again.

Okay, I will do it.


Enable compaction daemon by default

This is the #1 potential user footgun we ship by default. Especially with _global_changes coming on the scene, this becomes quite the annoying issue. Pro-users can easily disable it, most users will want to have it enabled.

zOMG +1.

Heh, the tests might assume the feature to be off, I'll check in the morning :)
The feature works fine.

@janl +1, do it!


Integrating onboardOS into the moonstream system

Testing the initial integration of OnboardOS as the onboarding and signup flow for moonstream.

How to test these changes?
Can be access by running the front-end application and going to /register or clicking the signup button in the application
Related issues

@Radzell I could not pass trough sign up screen:

As you can see from screenshot posting user was success, however form did not proceed to next step


Machine Learning Resource added

{Machine Learning Resource by Coursera is added.}
{It will help the ones a brief intuition about Machine Leaning.}

By submitting this pull request I confirm I've read and complied with the below requirements.
Failure to properly do so will just result in the pull request being closed and everyone's time wasted.

[x] I have read the Contribution guidelines and made sure my pull request follows it, specifically the part about promotions and markdown format.
[x] Any resources I am adding in this PR have been used by me and I can personally vouch for their quality.
[x] This pull request has a descriptive title. For example, Add [Resource Name] or Add [Topic Name], not Added new entries or update.
[x] I have double checked that I have only updated the minimum files that are required by this PR.

Please review it

Yes,it is available throughout the year

@PragatiVerma18  Please review it as i have to make more PR's.

Looks good to me.


[Bug]: Error during deploy: "Error: ENOENT: no such file or directory, copyfile"

Summary
During a deploy we get the following error.
Error: ENOENT: no such file or directory, copyfile<EMAIL_ADDRESS>-> '.netlify/functions-internal/___netlify-handler/bridge.js'
Seems to happen since migrating from Next Plugin 4.2.1  to  4.7.x.
NextJS v12.1.6
Example log: https://app.netlify.com/sites/yoto-dev/deploys/629627f3652df20008810be2#L370
Related Support Ticket that lead to this: https://answers.netlify.com/t/nextjs-preview-mode-only-works-locally/60403
More info: We were advised to raise this Issue after a call with Chris Hannaby and Henry Yu. They very kindly sat through our deploy a few times and ruled out a few things.
Steps to reproduce
Re-trigger deploy of https://app.netlify.com/sites/yoto-dev/deploys/629627f3652df20008810be2#L370
A link to a reproduction repository
No response
Plugin version
4.7.0
More information about your build

[X] I am building using the CLI
[X] I am building using file-based configuration (netlify.toml)

What OS are you using?
Mac OS
Your netlify.toml file
# 🇬🇧 UK site config
#
# More info: https://docs.netlify.com/configure-builds/file-based-configuration/
#            https://docs.netlify.com/configure-builds/environment-variables/
#            https://www.netlify.com/blog/2020/04/27/ignore-unnecessary-builds-to-optimize-your-build-times/

# 💡 NODE_VERSION is in .nvmrc

[build]
  # These settings apply to all builds:
  # command = "npm run build"
  publish = ".next"
  REGION_CODE="DEV"

  # Shopify-Storefront-Access-Token for this region's store:
  STOREFRONT_DOMAIN="xxx"
  STOREFRONT_ACCESS_TOKEN="xxx"

# [[edge_functions]]
#   function = "geo-location"
#   path = "/yoto-player"

# [functions]
#   # Specify `esbuild` for functions bundling. https://esbuild.github.io/
#   node_bundler = "esbuild"

# [[plugins]]
#   package = "@netlify/plugin-nextjs"

# [context.production.environment]
#   NEXT_SERVERLESS = "true"
#   NODE_ENV = "production"

# --- SPLIT TEST REDIRECTS ---
# [[redirects]]
#   from = "/yoto-player"
#   to = "/yoto-player-B"
#   status = 200
#   conditions = {Cookie = ["split-test-B"]}
#   force = true

# [[redirects]]
#   from = "/yoto-mini"
#   to = "/yoto-mini-B"
#   status = 200
#   conditions = {Cookie = ["split-test-B"]}
#   force = true

# [[redirects]]
#   from = "/yoto-player"
#   to = "/yoto-player-C"
#   status = 200
#   conditions = {Cookie = ["split-test-C"]}
#   force = true

# [[redirects]]
#   from = "/yoto-mini"
#   to = "/yoto-mini-C"
#   status = 200
#   conditions = {Cookie = ["split-test-C"]}
#   force = true

# --- REDIRECTS ---
# These are all reverse-proxy rewrites to serve myshopify pages through netlify urls.
# See _redirects for 302 redirects that actually change in the browser address bar.

[[redirects]]
  from = "/cart/*"
  to = "https://yoto-player.myshopify.com/cart/:splat"
  status = 200

[[redirects]]
  from = "/pages/*"
  to = "https://yoto-player.myshopify.com/pages/:splat"
  status = 200

# Send visitors to NEW player page:
[[redirects]]
  from = "/pages/player"
  to = "/yoto-player"
  force = true

[[redirects]]
  from = "/collections/accessories/*"
  to = "https://yoto-player.myshopify.com/collections/accessories/:splat"
  status = 200

[[redirects]]
  from = "/cart.js*"
  to = "https://yoto-player.myshopify.com/cart.js:splat"
  status = 200

[[redirects]]
  from = "/products.json*"
  to = "https://yoto-player.myshopify.com/products.json:splat"
  status = 200

[[redirects]]
  from = "/account/*"
  to = "https://yoto-player.myshopify.com/account/:splat"
  status = 200

[[redirects]]
  from = "/checkout/*"
  to = "https://yoto-player.myshopify.com/checkout/:splat"
  status = 200

[[redirects]]
  from = "/blogs/*"
  to = "https://yoto-player.myshopify.com/blogs/:splat"
  status = 200

[[redirects]]
  from = "/tools/*"
  to = "https://yoto-player.myshopify.com/tools/:splat"
  status = 200

[[redirects]]
  from = "/products/*"
  to = "https://yoto-player.myshopify.com/products/:splat"
  status = 200

[[redirects]]
  from = "/gift_cards/*"
  to = "https://yoto-player.myshopify.com/gift_cards/:splat"
  status = 200

[[redirects]]
  from = "/tools/*"
  to = "https://yoto-player.myshopify.com/tools/:splat"
  status = 200

[[redirects]]
  from = "/discount/*"
  to = "https://yoto-player.myshopify.com/discount/:splat"
  status = 200

# Catch for loyalty lion referral link, which goes to homepage with a query param.
# the pop up will not display as LL not integrated on headless, so we send the
# user to the player page where LL is running
[[redirects]]
  from = "/"
  query= {ll_ref_id = ":ll_ref_id"}
  to = "/pages/tokens/?ll_ref_id=:ll_ref_id"
  force = true

############################

# Catch-all for any unknown path.
# It is not possible to redirect to the Shopify 404 here. Best we can do is host one explicitly in Next:
# [[redirects]]
#   status = 404
#   from = "/*"
#   to = "/404"

Your public/_redirects file
No response
Your next.config.js file
const nextSafe = require('next-safe');
const withPlugins = require('next-compose-plugins');
const withBundleAnalyzer = require('@next/bundle-analyzer')({
  enabled: process.env.ANALYZE === 'true',
});

const isDev = process.env.NODE_ENV !== 'production';

//https://content-security-policy.com/
const nextSafeSecurityHeaders = {
  isDev,
  contentTypeOptions: 'nosniff',
  contentSecurityPolicy: {
    'default-src': "'self'",
    'base-uri': "'none'",
    'child-src': "'none'",
    'connect-src': [
      "'self'",
      '*.lottiefiles.com',
      '*.myshopify.com',
      '*.onetrust.com',
      'graphql.datocms.com',
      'test.aws.fooropa.com',
      'bat.bing.com',
      '*.clarity.ms',
      'www.facebook.com',
      '*.doubleclick.net',
      'www.googletagmanager.com',
      'www.google-analytics.com',
      'analytics.tiktok.com',
      '*.yotoplay.com',
    ],
    'media-src': ["'self'", 'cdn.yoto.io', 'cdn.shopify.com'],
    'font-src': ["'self'", 'data:'],
    'form-action': "'self'",
    'Permissions-Policy': "'self'",
    'frame-ancestors': "'none'",
    'frame-src': 'player.vimeo.com',
    'img-src': [
      "'self'",
      'data:',
      "'unsafe-inline'",
      'www.datocms-assets.com',
      'cdn.shopify.com',
      '*.onetrust.com',
      '*.blob.core.windows.net',
      'ssl.gstatic.com',
      'bat.bing.com',
      '*.clarity.ms',
      'www.facebook.com',
      '*.doubleclick.net',
      'www.googletagmanager.com',
      'www.google-analytics.com',
      'www.google.com', // Pixel images called by https://www.google-analytics.com/analytics.js
      'www.google.co.uk', // Pixel images called by https://www.google-analytics.com/analytics.js
    ],
    'manifest-src': "'self'",
    'object-src': "'none'",
    'prefetch-src': [
      "'self'",
      '*.vimeo.com',
      '*.yotoplay.com',
      '*.vimeocdn.com',
      '*.myshopify.com',
      '*.datocms-assets.com',
    ],
    'script-src': [
      "'self'",
      "'unsafe-eval'",
      "'unsafe-inline'",
      'bat.bing.com',
      '*.onetrust.com',
      '*.clarity.ms',
      'www.facebook.com',
      'connect.facebook.net',
      'tagmanager.google.com',
      'www.googletagmanager.com',
      'www.google-analytics.com',
      'cdn.jsdelivr.net',
      'analytics.tiktok.com',
      'www.googleoptimize.com',
      '*.yotoplay.com',
      'www.dwin1.com', // AWIN script called by https://www.google-analytics.com/analytics.js
      'app.backinstock.org',

      // The following will remain blocked but they're not needed (according to our SEO chief Matt Ralph Savage)
      // s.pinimg.com - Pinterest
      // snap.licdn.com - LinkedIn
      // yoto.refersion.com - Refersion
    ],
    'style-src': [
      '*',
      "'self'",
      'data:',
      "'unsafe-inline'",
      'www.datocms-assets.com',
      'tagmanager.google.com',
      'fonts.googleapis.com',
    ],
    'worker-src': "'self'",
    reportOnly: false,
  },
  frameOptions: 'DENY',
  permissionsPolicy: {},
  permissionsPolicyDirectiveSupport: ['proposed', 'standard'],
  referrerPolicy: 'no-referrer',
  xssProtection: '1; mode=block',
};

const securityHeaders = nextSafe(nextSafeSecurityHeaders).concat({
  key: 'Strict-Transport-Security',
  value: 'max-age=63072000; includeSubDomains; preload',
});

const config = {
  cleanDistDir: false,
  target: 'server',
  future: {
    webpack5: true,
  },

  async redirects() {
    return [
      // Backup catch for loyalty lion referral link, which goes to homepage with a query param.
      // Eg: /?ll_ref_id=9o5EGd5sa must go to a "legacy" shopify page where the LoyaltyLion App will act on it.
      // In theory Netlify Redirects should do this but it's not reliable. This catches stragglers.
      // If the source path & query params are matched this redirect will be applied.
      {
        source: '/',
        has: [{ type: 'query', key: 'll_ref_id' }],
        permanent: false,
        destination: '/pages/tokens/?ll_ref_id=:ll_ref_id',
      },
    ];
  },
  async headers() {
    return [
      {
        source: '/:path*',
        headers: securityHeaders,
      },
    ];
  },
  async rewrites() {
    return [
      // {
      //   source: '/yoto-player',
      //   has: [
      //     {
      //       type: 'cookie',
      //       key: 'split-test-B',
      //     },
      //   ],
      //   destination: '/yoto-player-B',
      // },
      // {
      //   source: '/yoto-mini',
      //   has: [
      //     {
      //       type: 'cookie',
      //       key: 'split-test-B',
      //     },
      //   ],
      //   destination: '/yoto-mini-B',
      // },
      // {
      //   source: '/yoto-player',
      //   has: [
      //     {
      //       type: 'cookie',
      //       key: 'split-test-C',
      //     },
      //   ],
      //   destination: '/yoto-player-C',
      // },
      // {
      //   source: '/yoto-mini',
      //   has: [
      //     {
      //       type: 'cookie',
      //       key: 'split-test-C',
      //     },
      //   ],
      //   destination: '/yoto-mini-C',
      // },
      {
        source: '/404',
        destination: '/404-error',
      },
    ];
  },

  // webpack: (config, { isServer }) => {
  //   // Fix npm packages that depend on `fs` module
  //   // https://stackoverflow.com/questions/64361940/webpack-error-configuration-node-has-an-unknown-property-fs
  //   if (!isServer) {
  //     config.resolve.fallback.fs = false;
  //   }
  //   return config;
  // },

  // DISABLED this feature because it forces URLs to begin with /en-GB etc
  // https://nextjs.org/docs/advanced-features/i18n-routing#getting-started
  i18n:
    // Club site breaks if we use NextJS i18n locale routing:
    process.env.NEXT_PUBLIC_REGION_CODE === 'CLUB'
      ? undefined
      : {
          // List all locales we want to support:
          locales: process.env.LOCALES
            ? process.env.LOCALES.toLowerCase().split(',')
            : ['en'],

          // This is the default locale you want to be used when visiting
          // a non-locale prefixed path e.g. `/hello`
          defaultLocale: process.env.DEFAULT_LOCALE
            ? process.env.DEFAULT_LOCALE.toLowerCase()
            : 'en',

          // Disabled this because it kept detecting me as en-US:
          // https://nextjs.org/docs/advanced-features/i18n-routing#disabling-automatic-locale-detection
          localeDetection: false,

          // This is a list of locale domains and the default locale they
          // should handle (these are only required when setting up domain routing)
          // Note: subdomains must be included in the domain value to be matched e.g. "fr.example.com".
          // domains: [
          //   // LIVE domains:
          //   {
          //     domain: 'uk.yotoplay.com',
          //     defaultLocale: 'en-GB',
          //   },
          //   {
          //     domain: 'us.yotoplay.com',
          //     defaultLocale: 'en-US',
          //   },
          //   {
          //     domain: 'eu.yotoplay.com',
          //     defaultLocale: 'en-GB',
          //   },
          //   {
          //     domain: 'ca.yotoplay.com',
          //     defaultLocale: 'en-CA',
          //   },
          //   {
          //     domain: 'au.yotoplay.com',
          //     defaultLocale: 'en-AU',
          //   },
          //   // TEST domains:
          //   {
          //     domain: 'uk.yoto.at',
          //     defaultLocale: 'en-GB',
          //   },
          //   {
          //     domain: 'us.yoto.at',
          //     defaultLocale: 'en-US',
          //   },
          //   {
          //     domain: 'eu.yoto.at',
          //     defaultLocale: 'en-GB',
          //   },
          //   {
          //     domain: 'ca.yoto.at',
          //     defaultLocale: 'en-CA',
          //   },
          //   {
          //     domain: 'au.yoto.at',
          //     defaultLocale: 'en-AU',
          //   },
          //   // Example:
          //   // {
          //   //   domain: 'example.fr',
          //   //   defaultLocale: 'fr',
          //   //   // an optional http field can also be used to test
          //   //   // locale domains locally with http instead of https
          //   //   http: true,
          //   // },
          // ],
        },
};

const plugins = [withBundleAnalyzer];
module.exports = withPlugins(plugins, config);

Builds logs (or link to your logs)
https://app.netlify.com/sites/yoto-dev/deploys/629627f3652df20008810be2#L370
Function logs
No response
.next JSON files
No response

Hi @georgeadamson
Sorry for the delay in getting back to you. It looks like there's some kind of issue with installing the plugin dependencies. Could you try uninstalling the plugin from the UI, and instead installing it in your package.json and netlify.toml. See instructions here. Let me know if that helps.

Hiii, thank you for this suggestion.
We found...

Swapping to defining the plugin in package json did not make a difference.
Skipping the Function Cache Flag does get us past the build stage without an error, but the result is that NextJS Preview still does not work.
FWIW, we notice that _ipx returns 404. Dunno if that is relevant.

Many thanks,
George

Added to this we're being charged for extra usage of Netlify Functions yet unable to use them properly.

@Hrishikesh-K  is contacting the client to have them try the latest version of the plugin, 4.9.3.

Hiiii, there seems to be confusion here over more than one thread of comms. Please also see email thread with Hrishikesh Kokate. (We tried the plugin update but to no avail :(
Many thanks,
George

I'll close this one in favour of the private issue that's discussing this. @georgeadamson, feel free to continue the conversation in the helpdesk when you have an update to what we've shared.


Keyboard dismisses in landscape orientation on changing TextFields

There are already two issues related to this, but they were closed for some reason, even though the problem is still relevant
https://github.com/flutter/flutter/issues/152620
https://github.com/flutter/flutter/issues/148673
Steps to reproduce
Steps to reproduce
Use a phone/tablet in landscape orientation
Focus the first TextField
Go to the next TextField with keyboard or click on the next TextField.
Keyboard disappears, while in flutter 3.19.2 or before it worked fine.
The problem persists in flutter 3.24.1
Expected results
It is expected that the keyboard also stays visible if the focus goes to the next TextField when the phone is in in landscape orientation.
Actual results
In landscape orientation the keyboard disappears when the next TextField gets focus.
You need to click the TextField again to show the keyboard.

#152620
#148673

@iak-a-dev The fixes for above don't seem to be in 3.24 per release notes, so it may not be in stable yet.
Can you re-run your scenario in latest master to check if it persists on it or not ?

@darshankawar Yes, everything works as it should in the master channel. Is there any understanding of when these changes will be in the stable version ?
Because this is quite a noticeable problem for users, and using the master in production is a very risky practice due to its possible instability

Is there any information on when these changes will be available in the stable version?

You may read about rolling out fixes from master -> beta -> stable here : https://github.com/flutter/flutter/blob/master/docs/releases/Flutter-build-release-channels.md#flutters-channels
Also, /cc @bleroux for thoughts as he worked on fixing the listed issues.

@darshankawar @bleroux Thank you for clarifying the current status. Do I understand correctly that these changes are already in the beta channel (3.25.0-0.1.pre) ?

Yes, this fix is part of 3.25.0-0.1.pre.
(it was fixed by a flutter/engine PR which rolled into flutter/flutter in the following commit: https://github.com/flutter/flutter/commit/c03f9955fa34ed557635b65b5702b9cf891dfd51).

Closing as this works in beta and master.


2.16 only: backport the removal of mbedtls_test_unhexify

#3438 removes the remaining uses of mbedtls_test_unhexify on test case parameters where the test framework now allows using a data_t* parameter instead. This should be backported to 2.16 to keep the test code similar.
Not applicable to 2.7, where the test framework doesn't support data_t.

Note: the specific commit in #3438 that does this is https://github.com/ARMmbed/mbedtls/pull/3438/commits/b0e2f2224acf57c24c9ed044a702bf562c9ee969

Implemented by #3461 which is merged now thus closing.


Cannot connect after compile error

Issue Type: Bug

Connect to a node debug session using the following configuration:

"configurations": [
        {
          "type": "node",
          "request": "attach",
          "name": "Attach to Docker",
          "preLaunchTask": "tsc-watch",
          "port": 9229,
          "restart": true,
          "localRoot": "${workspaceFolder}",
          "remoteRoot": "/usr/src/app/",
          "outFiles": [
            "${workspaceFolder}/www/**/*.js"
          ]
        }
      ]

Change your code, inserting some compile error.
When the dialog asks if you want to "see errors or debug anyway", click "show erros".
Correct errors and click try to debug again. Nothing happens.

VS Code version: Code 1.27.1 (5944e81f3c46a3938a82c701f96d7a59b074cfdc, 2018-09-06T09:21:47.222Z)
OS version: Linux x64 4.4.0-134-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 2404)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
2, 1, 1

Memory (System)
15.57GB (1.22GB free)

Process Argv
/usr/share/code/code --unity-launch

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

swagger-viewer
Arj
2.0.2

vscode-node-readme
ben
3.0.2

vscode-markdownlint
Dav
0.20.0

FreeMarker
dco
0.0.9

tslint
eg2
1.0.38

prettier-vscode
esb
1.6.1

vsliveshare
ms-
0.3.623

vscode-docker
Pet
0.1.0

Thanks for trying it out, closing

This should be fixed in the latest insiders
@andr3medeiros can you please try reproducing this with the new insiders https://code.visualstudio.com/insiders/

It does not show the dialog anymore. Is this intentional?

@andr3medeiros no, the dialog should be show. Are there build errors? Do you see them in the problems panel or in the status bar?

@isidorn Yes, there were build errors, they are printed correctly in the console, and I could reconnect after correcting them.
But the dialog indeed is not showing.
Version: 1.28.0-insider
Commit: 83d5a29433d7f576b59db8019575a0c9dc78a967
Date: 2018-10-01T13:24:42.941Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

@andr3medeiros is it possible that you create a repository on github which shows this problem. So I can simply clone it and investigate more?


Positional encoding for time for temporal attention layers in SVD

Hi, do you use positional encoding for time for temporal attention layers in the SVD model?

None, but from the code, I think the such cues are fed to temporal blocks via frame index embedding.


build.rs does not support cross-compiling to different env

I've tried cross-compiling from Linux to x86_64-pc-windows-gnu and failed with poll.h: No such file or directory.
This is caused by environment confusion in the build script. The build script extensively uses #[cfg(...)] and cfg!(...) to determine the target environment and adjust the compilation process. However, in case of cross-compilation the build script cfg environment reflects the host system – the one the build script itself is compiled for – not the target system. For the target system one should use the environment variables.

As work around I suggest cross-compile native libusb. And use pkg-config as suggest in readme. It's must work for cross-compile for windows

I just saw this issue. I had the same problem. See this PR for a fix https://github.com/a1ien/libusb1-sys/pull/23


Player: See total amount of QR Codes scanned

As a player, I want to see the number of QR Codes I have scanned so that I can compare it with other players.
Under PlayerInfo activity

Landyn has completed this one


add support for HTTP_GET, SSL_GET and MISC_CHECK

This PR add support for HTTP_GET, SSL_GET and MISC_CHECK.
I've implemented SSL_GET as an option to the new $http_get option, to keep code duplication to a minimum.
This would fix the old #73, since the original reporter didn't provide a PR.

FYI: the change to the Gemfile is an attempt to fix the only failing job in this build. To be honest I'm not quite sure why it broke. Comparing the logs from a successful build from a few months back, it seems like travis-ci downgraded the ruby version from patchlevel 374 to 371, and a few other gems got updates since then, but I can't pinpoint the actual change that caused the issue.

I'm dropping this PR in favor of a refactoring of the way the $real_servers argument interacts with the exported @@keepalived::lvs::real_server resources. I'll post a new PR later today.


Override virtualgoroot (~/.virtualgo)?

We have a project that uses a variety of home-grown shell scripts to provide a similar experience to vg. I'd like to replace it with vg.
One nice feature of our project is that you can check it out anywhere and it will work immediately (as long as you run our shell wrapper, which works well with direnv).  We store the equivalent to the ~/.virtualgo/V directory inside a gitignored directory in the repo itself.  That way you can have multiple checkouts and they just work.
So to port to vg our scripts (we'd still have direnv scripts because we set up non-Go environments as well) would like to be able to just use a fixed environment name and a virtualgoroot that's not global, rather than a global virtualgoroot and a variable environment name.
It looks like we should be able to just define, say, $VIRTUALGOROOT, and use it instead of ~/.virtualgo in the shell scripts and utils.Virtualgoroot.  Is that a PR you'd take?

If you can create a PR I'll gladly merge it. Be sure that it still defaults to ~/.virtualgo though if not set.


Search for person/group in Check-In authoring modal

From tenfour-archive created by caharding: ushahidi/tenfour-archive#1484
Is your feature request related to a problem? Please describe.
When a user is adding people to a check-in, they want to be able to find a certain person quickly.
Describe the solution you'd like
On "add Check-In" modal give them a search bar that finds that person, they can select that person, and then go back to adding more people.

@caharding  Is this different from #1447 ?

Good catch, closing #1447 in favor of this one


keep the logs even when the user get deleted from users table

Thanks for great work.
Is there any way to keep the logs even after deletion of the user record from the users table?

The best way to accomplish that would be to soft-delete the user instead of purging them completely from the db. As without the user id/info, the login data would be pointless.
-TT


http://buoy.hopto.org

http://buoy.hopto.org/About/Sol.htm <700 bytes Thank you!

Website not reachable.

I closed the website a couple months ago as I repurposed the Raspberry Pi. I uploaded a copy of the page source: https://github.com/hatonthecat/hatonthecat.github.io/blob/main/bouyant.htm It was actually based on a hybrid of two other sites: https://github.com/hatonthecat/hatonthecat.github.io/blob/main/source.htm no need to reopen. Thanks for checking.


Field artillery symbol text amplifier rendering error

I noticed that the field artillery symbol is behaving strangely when adding text amplifiers:

In this case I've rendered the<PHONE_NUMBER>1303000000 symbol and set  uniqueDesignation=2.
Tested using https://spatialillusions.com/unitgenerator/

I have found where it happens and what is the cause of this bug. Now I just have to figure out how to solve it.
When I add the label overrides for symbols there is no check to make sure they only are applied to tactical graphics, so I need to add that in some way.

Might be in many places.... I realized that I don't make a check for the symbol set, so any code listed in https://github.com/spatialillusions/milsymbol/blob/e5770cc77dd5693e2ed4d487061c7c0504ac4fc9/src/numbersidc/labels/tactical-points.js that also is present in another symbol set will have the label overrides applied...

Quick and dirty fix would be to add a check for the symbol set here:
https://github.com/spatialillusions/milsymbol/blob/master/src/symbolfunctions/textfields.js#L229
Better solution would be to have the symbol set check when the overrides are added.

Think the solution was not so bad, so I did a version of the quick and dirty fix.

ps. The unit generator on spatialillusions.com is also updated. ds.

Just published RC4, so try get it again.


Use NXG/fuse controls for Measurement UIs

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
This PR uses NXG/fuse controls for all Measurement UIs. It modifies the 3 example UIs and the template Measurement UI. The following were done to the VIs:

The background color was changed to white.
All controls/indicators were changed to NXG controls.
The Editor Options were changed to NXG style controls.

This PR also re-saves the .sfp with the new controls (I'm not sure this is necessary. I also saved it in a pre-release version of InstrumentStudio, which may or may not be okay).
#211
Why should this Pull Request be merged?
The LabVIEW PO requested that we use these controls.
What testing has been done?
I ran all three examples and made sure the bindings still work. I also created a new measurement and verified that the template has the new controls/indicators.

This PR also re-saves the .sfp with the new controls (I'm not sure this is necessary. I also saved it in a pre-release version of InstrumentStudio, which may or may not be okay).

This should be harmless but unnecessary. There is no UI information about the service that currently gets persisted in the ScreenModel. Saving in an unreleased version or a newer version in general can be dicey since it might prevent the UI from being loadable in older versions of the application. In general, if none of the Version and OldestCompatibleVersion properties persisted in the elements of the SourceModelFeatureSet have changed, then no persistence versioning has changed and everything should have the same compatibility as before. All of the other properties are informational only and designed to help traceability when there are load failures. I'm not sure why the ClientId property changed unless you removed the measurement from the sfp and then added it back using the Edit Layout Dialog.

Were you going to update the template UI VI used by the generator as well? Or were you planning to do that in a separate PR?

Were you going to update the template UI VI used by the generator as well? Or were you planning to do that in a separate PR?

Yes, it is in this PR already. There is a screenshot of it in the PR description.

This PR also re-saves the .sfp with the new controls (I'm not sure this is necessary. I also saved it in a pre-release version of InstrumentStudio, which may or may not be okay).

This should be harmless but unnecessary. There is no UI information about the service that currently gets persisted in the ScreenModel. Saving in an unreleased version or a newer version in general can be dicey since it might prevent the UI from being loadable in older versions of the application. In general, if none of the Version and OldestCompatibleVersion properties persisted in the elements of the SourceModelFeatureSet have changed, then no persistence versioning has changed and everything should have the same compatibility as before. All of the other properties are informational only and designed to help traceability when there are load failures. I'm not sure why the ClientId property changed unless you removed the measurement from the sfp and then added it back using the Edit Layout Dialog.

If it's unnecessary then I'll revert it. For some reason I thought the UI was saved in the sfp. Maybe it is for Measurement UI Editor UIs?

If it's unnecessary then I'll revert it. For some reason I thought the UI was saved in the sfp. Maybe it is for Measurement UI Editor UIs?

Yes, for .measui UI, a copy of the contents are saved in the .sfp file. While a copy is maintained, resaving isn't strictly necessary because we always update the copy of the contents each time we initialize the measurement. This ensures the sfp always reflects the current contents of the .measui if the service was modified and redeployed after the sfp was saved. If the copy is out of date, there might be some UI glitch/flicker depending on how long the measurement takes to initialize. In essence, we'll display the last known contents for the UI until we can initialize and get the new contents for the UI. If we fail to initialize the measurement, then we'll always just display the last known contents of the UI with an error message saying we couldn't initialize the measurement. For a .vi UI, we just display a blank canvas until the measurement is initialized and we can run/render the VI. If the VI fails to load, then we display a pretty rough looking error text box.


StreamListener does not create binding's error channel

While discussing the error handling with the user (see https://github.com/spring-cloud/spring-cloud-stream/issues/1333#issuecomment-377875306) it was discovered that when application defines error handler using @StreamListener the actual error channel is not created.
Consider the following:
@StreamListener(Sink.INPUT)
public void handle(String value) {
	throw new RuntimeException("BOOM!");
}

@StreamListener("inOne.hello.errors")
public void error(Message<?> message) {
	System.out.println("Handling ERROR: " + message);
}

and properties
spring.cloud.stream.bindings.input.destination=inOne
spring.cloud.stream.bindings.input.group=hello

results in
***************************
APPLICATION FAILED TO START
***************************
Description:
A component required a bean named 'inOne.hello.errors' that could not be found.

I was able to reproduce it with current and 1.3 version of SCSt.
The issue was identified in StreamListenerAnnotationBeanPostProcessor.afterSingletonsInstantiated() where we presume the channel exists during applicationContext.getBean(mappedBindingEntry.getKey(), SubscribableChannel.class) call.
Interestingly enough it does work when such handler defined using one of the SI annotations (e.g., @ServiceActivator and where the following code exists and creates such channel
catch (DestinationResolutionException e) {
	if (e.getCause() instanceof NoSuchBeanDefinitionException) {
		inputChannel = new DirectChannel();
		this.beanFactory.registerSingleton(inputChannelName, inputChannel);
		inputChannel = (MessageChannel) this.beanFactory.initializeBean(inputChannel, inputChannelName);
	}
        . . .

@StreamListener("inOne.hello.errors")
public void error(Message<?> message) {
	System.out.println("Handling ERROR: " + message);
}

This is just wrong.
@StreamListener is intended to bind to a channel that is bound to an external destination.
That is not the case for the error channel, it is a local SI error channel so @ServiceActivator should be used to consume from it, not @StreamListener.

@garyrussell So, to sum things up; The @StreamListener annotation is intended specifically to define bindings that bridge to external destinations.
Given that destination specific error channel does not have an associated external destination, it is then a prerogative of Spring Integration (SI) and our reliance on it, the handler for such destination must be defined using one of the SI handler annotations (i.e., @ServiceActivator, @Transformer etc.).

Closing it as "won't fix" since it was determined this is not a bug and rather a documentation issue only

@olegz I'm truly amazed by your desire to help! Thank you!
One little note - I also must explicitly override the following artifact's version also: spring-cloud-stream-binder-rabbit-core because I guess that spring-cloud-build or spring-cloud-dependencies gave me that artifact in version RC3 :
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-stream-binder-rabbit</artifactId>
            <version>2.0.0.BUILD-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-stream-binder-rabbit-core</artifactId>
            <version>2.0.0.BUILD-SNAPSHOT</version>
        </dependency>


Textual context associated with painting annotations

This is a placeholder issue to support Delft's use cases. Currently their model requires label and summary on painting annotations. This model may change (https://github.com/digirati-co-uk/delft-static-site-generator/issues/142) but regardless of how it ends up we need to make sure that the ME has the UI to capture the data Delft needs.

On painting annotations there is a new "Descriptive" section collapsed if there are no values. If you open it up, you can add a Label and a Summary.


Add ability to specify tolerations for deployment

we  wish the deployment to run on certain  set of nodes always and other things not to run on them. It ll be helpful to allow for tolerations so we can set them along with node selectors to achieve this.
Would be happy to raise a PR for it the edits in Helm Chart, if allowed.

Sounds Great! I welcome PR for this

Please review this PR:
https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics/pull/52

Thanks, your change is live in the new 1.4.3


[AutoPR compute/resource-manager] Add an example json for using toBeDetached flag for data disks

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5936

Build output:

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/3038


Some sql functions not included

There are some functions from geomesa  that are not included in hiveles.
For example:  st-transform https://www.geomesa.org/documentation/stable/user/spark/sparksql_functions.html#st-transform

Hey @dersteppenwolf, could you help with making a complete list of missing functions?

Oh now I remember, so the following functions are not implemented:

ST_DistanceSpheroid
ST_LengthSpheroid
ST_Transform

These functions belong to the geomesa-spark-sql package which also depends on geotools (and geotools is not published to maven central).
To simplify user experience and ease of use as a package dependency (i.e. in DataBricks) I decided for now not to add them for now.

To simplify user experience and ease of use as a package dependency (i.e. in DataBricks) I decided not to add them for now. (could be a separate package)

It would be really  useful.
BTW, great work.  I've made some tests using "Databricks Runtime Version - 9.1 LTS Photon (includes Apache Spark 3.1.2, Scala 2.12)" and works really well.

@dersteppenwolf thanks for the feedback, I'm happy that it is useful for you!
Adding these functions is definitely in the scope (+ extra thanks for rising this issue).


How can I replace the "switch-repeat" accessory?

Hi there ...
i upateted my Homebridge / Node and NPM to the lastes Verseion ...
But now the Homebridge logfile shows that on start:
The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
I set my switches to repeat sending the HEX code 4 times, because some 433 mhz power plugs are far away and that was the easiest way to get them all workin ;)
What can i use instead? Or can I use the "switch-repeat" like it is?
Greetings Kai

I also noticed this message "switch-repeat" accessory is now deprecated and shall be removed in the future." a couple of month ago. But I hope the developer will keep it working, like it is.
I have some of switch-repeat and have not clue how to get them to work in a new way.
So fingers crossed we can use it ongoing with  switch-repeat.
For now, @NoTrace-Kai just ignore the message like I do since months. Everything is working fine.

If/when I remove it I'll be sure to add some migration docs.


Added Gemini, expanded prompt

https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=python

Summary by Sourcery
This pull request introduces support for Google's Gemini model in the AI API calls and enhances the prompt for generating podcast chapters by including additional information such as hosts, guests, and major topics or entities discussed.

New Features:

Added support for Google's Gemini model in the AI API calls.

Enhancements:

Expanded the prompt for generating podcast chapters to include lists of hosts, guests, and major topics or entities discussed.

@CodiumAI-Agent /review

PR Reviewer Guide 🔍

 ⏱ Estimated effort to review [1-5]
3

 🧪 Relevant tests
No

 🔒 Security concerns
No

 ⚡ Key issues to review

Possible Bug: The new _call_google function does not handle exceptions explicitly, which might lead to unhandled exceptions during runtime.

Performance Concern: The use of ThreadPoolExecutor in multi_call.py for making API calls concurrently should be carefully monitored for potential threading issues and performance bottlenecks, especially under high load.

Code Clarity: The variable renaming from request to result in _call_anthropic and _call_openai functions might not be necessary and could potentially confuse future maintainers about the purpose and functionality of the change.


TypeError: Dispatcher._rebuild() got an unexpected keyword argument 'impl_kind'

Hi,
I saved the model of umap using the following command:
import joblib
joblib.dump(umap, 'umap_model.sav')
Now I need to import the umap model in another python environment.
The following error occurred.
How to solve?
Traceback (most recent call last):
Cell In[7], line 1
m = joblib.load('umap_model.sav')
File G:\Software\Miniconda3\envs\test\Lib\site-packages\joblib\numpy_pickle.py:658 in load
obj = _unpickle(fobj, filename, mmap_mode)
File G:\Software\Miniconda3\envs\test\Lib\site-packages\joblib\numpy_pickle.py:577 in _unpickle
obj = unpickler.load()
File G:\Software\Miniconda3\envs\test\Lib\pickle.py:1213 in load
dispatchkey[0]
File G:\Software\Miniconda3\envs\test\Lib\pickle.py:1590 in load_reduce
stack[-1] = func(*args)
File G:\Software\Miniconda3\envs\test\Lib\site-packages\numba\core\serialize.py:152 in custom_rebuild
return cls._rebuild(**states)
TypeError: Dispatcher._rebuild() got an unexpected keyword argument 'impl_kind'

Or is there another way to save the umap model?
I need to introduce the previous umap model in a different python environment.
This model is then used to reduce the dimension of the new data


migrate to spring boot 2.3.4 and cloud too

cloud has same version:
its already SR8

migrate to java 15 too here #109


ShapeNet  Dataset connection lost

Very amazing job! but it seems that the ShapeNet link is broken. Currently, only the point cloud version is available for download. Could you please provide a Google Drive link for the Mesh version?

Hi, you can find the new link at https://kalo-ai.github.io/papers/shapepfcn/index.html.

thanks a lot @yhyang-myron


Bug fix: Sample rate in sox effects

Fixed a bug: Sample rate not being preserved when SoX effects were applied.
Before, this would happen:
# Assume new_sr is not 44100
>>> signal.resample(new_sr)
>>> new_signal = signal.pitch_shift(2).apply_effects()
>>> new_signal.sample_rate == new_sr
False

This is fixed in this pull request, and a new test case is added.
One of the issues from #175

This looks good to me, but there's 1) a conflict with master, and 2) the tests appear to have stalled out. Can you fix the conflict and commit an update? That should hopefully fix the tests too...

See #185.


Update ShovelUtils (importImage) to support SVG

It lets ShovelUtils import SVG files.
Originally (If you are gud ext dev you prolly know why it did not work with svgs at first).
It always set the dataFormat and type to a form of bitmap in this case it was PNG.
I updated it to change the dataFormat based on the file extension.

I will fix the eslint stuff

When this request gets merged, my costumes will work.
I need it sooner tho