Remove extra install of automake and pkg-config

automake and pkg-config is already installed

LGTM! CI is still green after removal! Thank you!


Index is larger than image set?

I'm trying to index 120,000 images (around 50GB) from a spinning HDD onto a 128GB SSD using SCALABLE_COLOR for testing purposes. To my surprise after just 20,000 images, the index has swelled to 60GB, making the index likely to be ten times the size of my source images by the time it finishes.
Is this expected behaviour? Am I accidentally storing the entire image in Elasticsearch?
For the record, my mapping is curl -XPUT 'localhost:9201/images/art/_mapping' -d '{     "my_image_item": {         "properties": {             "img": {                 "type": "image",                 "feature": {                     "SCALABLE_COLOR": {                         "hash": ["LSH"]                     }                 }             }         }     } }'

I think the problem here is Elastic is writing my data out to disk before indexing it, and it is filling up as my application is writing images more quickly than elastic can handle them. Upon stopping my application from filling in more data, Elastic search takes a few minutes, then the index shrinks to <200MB.
Do you know how I can force Elastic to perform the indexing using an API call and therefore make my application wait for it to complete?

I guess my issue is mainly, how do I perform the initial indexing of a large image set?

The way i doing index basically is using bulk api, which sending maybe around 10 images per time, so it will at least stable when doing indexes.
some how I not index large image set yet, so not sure what will be happen.


use original logo

Very blurry for me

Maybe it should be a little larger? It is hard on the eyes.

Closing without merge - looks kinda weird


support webhook authentication

Fixes:
https://bugs.launchpad.net/charm-kubernetes-master/+bug/1878455
https://bugs.launchpad.net/charm-kubernetes-worker/+bug/1887810
We need to remove --basic and --token auth from the k8s apiserver in order to pass the CIS K8s benchmark.  This PR gets us there by:

creating a webhook auth service that can authenticate against k8s secrets
converting known_tokens to k8s secrets
adjusting the k8s-master charm to use the new webhook

/hold
The auth-webhook kubeconfig isn't right.  /me needs to see where in the 42 forced pushes the right way got clobbered.

/unhold
Between moving service account actions out (#108) and fixing master merge conflicts, I lost changes to the auth-webhook and k8s-master handlers that made fresh deployments possible. These have now been committed, so we're g2g again.

ugh, my legacy will forever have objuscate in my commit history.


Script to get Geo location and other Info from an IP address

Aim

Python Script to get Geo Location and other information just by feeding an IP address.
Since Geo Location would be in Longitude and Latitude. Find the Nearest Area and Giv the name of the Location

Sir can I work on this?

Sir can I work on this?

Sure @Amit366 Goahead

Sure @Amit366 Goahead

@avinashkranjan should I make the readme file too?

@avinashkranjan should I make the readme file too?

Yes @Amit366

Yes @Amit366

@avinashkranjan I have sent the PR. Please check it.

@avinashkranjan I have sent the PR. Please check it.


gore failed on MacOS 10.15.6 with go 1.15.7

~  > go version
go version go1.15.7 darwin/amd64
~  > gore
gore: could not load 'fmt' package: err: exit status 1: stderr: build flag -mod=mod only valid when using modules

I cannot reproduce. I double checked by reinstalling and it works fine.
❯ go version
go version go1.15.7 darwin/amd64

❯ sw_vers -productVersion
11.1

❯ go clean -modcache

❯ go get github.com/motemen/gore/cmd/gore

❯ gore
gore version 0.5.2  :help for help
gore> 42
42
gore>

Running go clean -modcache command solved the problem for me.

Thanks for the reply but  'go clean -modcache' didn't work for me.

sw_vers -productVersion
10.15.6
go clean -modcache
go get github.com/motemen/gore/cmd/gore
gore
gore: could not load 'fmt' package: err: exit status 1: stderr: build flag -mod=mod only valid when using modules

Try export GO111MODULE=on.

sadly, setting GO111MODULE=on didn't work. gave same error

How about go get -u github.com/motemen/gore/cmd/gore?

Did you go get github.com/motemen/gore/cmd/gore after export GO111MODULE=on?

yes. I uninstalled  gore with
go clean -i github.com/motemen/gore/cmd/gore I then set export GO111MODULE=on` and  then re-installed gore.
That worked.


Request to add terms to study design

Hi,
I was wondering if you could add "metabolite profiling design assay" and "Lipid profiling design" as child to the "study design".

The centre of OBI is its assays. We have 'metabolite profiling assay' (OBI:0000366) but no 'lipid profiling' assays. Do you need a 'lipid profiling assay' term?
We don't have a child of 'study design' for every assay -- that would result in a huge number of study designs. If the assay term is sufficient, then I would focus on that. If you really need a study design term, please give us more information on your use case. Is there an existing OBI study design term that's close (or analogous) to what you need?

Hello, we (myself and @nsuvarnaiari) were seeking a lipid profiling term in OBI and came across this issue.
We would like to formally request the term:  'lipid profiling assay'
Parent: 'metabolite profiling assay' OBI:0000366
Definition:  "A metabolite profiling assay that detects and identifies lipids resulting from biochemical and cellular metabolism."
This definition was modeled after the definition for 'metabolite profiling assay' which has source "OBI"
Alternative term: 'lipidomic assay'
Also, on a related note, we'd like to request the addition of an alternative term for 'metabolite profiling assay' OBI:0000366 to be 'metabolomic assay'
Thanks,
Michelle and Suvvi

Consensus is to make lipid profiling a child of analyte assay.
Consider having a parent profiling assay class.

'lipid profiling assay' http://purl.obolibrary.org/obo/OBI_0002761


include signalr runtime must be installed

What is the goal of this pull request?
To update the docs to inform users they need to install the signalr extension.
What does this pull request change?
the signalr example readme.
What work remains to be done?
N/A
Do you consider it adequately tested?
YES
Related Issues
Notes

@cla-bot check

Hmm, the extension should automatically be installed when running an application that makes use of SignalR bindings.
Did you run into problems running the application?

@cla-bot check

Did you run into problems running the application?

Yes.  I had to install them by hand, which lead me to making the PR

Weird, I wonder if it's because 1.1.0 is out.  I don't believe I ever explicitly installed the extension while developing the SignalR bindings.
Without the extension installed and after running cargo func run -s /tmp/foo, does /tmp/foo contain **/*SignalR*.dll?


Redux save issue

redux can not save the state when refresh the page

Using the redux persist to store it in local storage


java.lang.UnsatisfiedLinkError: no mpc4j-native-tool in java.library.path

咨询下，mpc4j-native-tool在centos7.6环境编译生成的cmake-build-release文件夹可以在Windows上IntelliJ IDEA进行使用么？参考了https://github.com/alibaba-edu/mpc4j说明中Demonstration部分的第8点进行配置，即在VM进行配置-Djava.library.path=我放路径，结果会报错，如图：

编译后路径如图：

在IntelliJ IDEA上如何才能运行mpc4j-native-tool与mpc4j-native-fhe编译后cmake-build-release

As far as I know, you cannot directly use the library compiled by a Linux-like system on Windows. This is the reason why we try to provide pure-Java implementation for other schemes or protocols. However, currently we cannot provide puer-Java alternative for FHE-based solution since there is no pure-Java version for SEAL. We have a plan to do that but it will take time.
A plausible solution would be to use a cross-compile tool (See https://www.tutorialspoint.com/cross-compile-static-library-from-linux-for-windows for more details) but we haven't tried yet.

好的，谢谢老师，我在linux上开发试试


water-tower-11

@valleyofdawn
Thanks for your submission!

I'm wondering if using cross-braces in the water-tower structure and pitched roof would be more indicative of water-towers: something similar to this:


Default MP should be policy (not first in alphabetical order)

Done in https://github.com/acturtle/cashflower/commit/66eef6bb2e03523cc037fec1bae1c8ab5c585b61


operator federatorai-certified-rhmp (5.1.0-1)

Signed-off-by: CheeSiong.Lee<EMAIL_ADDRESS>

Encounter error because this PR is created by user without Red Hat CI permission.
Will recreate later by another GitHub user.


How to send an event from main to renderer.

I am trying to do something similar to this http://www.matthiassommer.it/programming/frontend/two-ways-to-react-on-the-electron-close-event/, where I send an event to my app when electron is closing. Seems like it used to be possible with IPC messages but trying to use any electron packages in my app causes r.existsSync is not a function error
from line 8   if (fs.existsSync(pathFile)) in capacitor-electron://-/static/node_modules/electron/index.js
and line 9 const { ipcRenderer } = require("electron");
in<EMAIL_ADDRESS>To reproduce just npm install electron and import { ipcRenderer } from 'electron';
Using windows 10 and create-react-app.

What version of the platform are you using?

"^3.0.2"

I created one https://github.com/laclance/electron-ipc-test

Merge the PR I have submitted to your demo repo or clone my Fork of your repo and run:

yarn
yarn run build && npx cap copy @capacitor-community/electron && npx cap open @capacitor-community/electron

To see the demo working, and then you can look around the code to see what I did :+1:
This is much easier than typing a long message in comments :smile:

Thank you so much, I was not able to get the sample app running but used the code to get my main app working.
electron\src\index.ts
    this.MainWindow.on('close', e => {
      if (this.MainWindow) {
        e.preventDefault();
        this.MainWindow.webContents.send('app-close');
      }
    });

src\App.tsx
    if (Capacitor.getPlatform() === 'electron') {
      const { ipcRenderer } = window.require('electron');
      try {
        ipcRenderer.on('app-close', () => window.alert('closing'));
      } catch (e) {
        window.alert(e.message);
      }
    }

You'll need to use the contextBridge in the preload file to expose single events using ipc. See the following docs:
https://www.electronjs.org/docs/latest/api/context-bridge


Fix language problem with forcing en

I had a problem that posts was scraped only in first page (no scroll iteration).
It is caused by a language setting on environment, because DOM elements are queried with matching text.
For example
page.find('a', :text => "Load more", exact: true).click

In japanese environment, not "Load more" but "さらに表示".
This PR fix it with forcing language to "en".

This is great @maruware, will be merging soon.


TestNetCustomPtp fails

First, my laptop has the IP <IP_ADDRESS> in my LAN. It conflicts with the IP range in tests/rkt_net_test.go and it makes the test TestNetCustomPtp fail.
When the conflict is resolved (s/10.1/10.254 in tests/rkt_net_test.go as suggested by @steveeJ), it still does not work:
=== RUN TestNetCustomPtp
Writing ptp0 to /tmp/localdir-434938580/net.d/ptp0.conf
2015/10/21 13:46:49 rainbow: serving on <IP_ADDRESS>:49152
2015/10/21 13:46:54 rainbow: Serve got a connection from <IP_ADDRESS>:46383
2015/10/21 13:46:54 rainbow: Serve got a connection from <IP_ADDRESS>:46383
Writing ptp0 to /tmp/localdir-253044301/net.d/ptp0.conf
--- FAIL: TestNetCustomPtp (40.26s)
	rkt_net_test.go:475: Telling the child to connect via http://<IP_ADDRESS>:49152
	goroutineassistant.go:76: Command: /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.9.0+git/bin/rkt --dir=/tmp/datadir-171980041 --local-config=/tmp/localdir-434938580 --system-config=/tmp/systemdir-084964899 --debug --insecure-skip-verify run --net=ptp0 --mds-register=false /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.9.0+git/tmp/functional/test-tmp/rkt-inspect-networking.aci
	goroutineassistant.go:76: Command: /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.9.0+git/bin/rkt --dir=/tmp/datadir-529289510 --local-config=/tmp/localdir-253044301 --system-config=/tmp/systemdir-100276040 --debug --insecure-skip-verify run --net=ptp0 --mds-register=false /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.9.0+git/tmp/functional/test-tmp/rkt-inspect-networking1.aci
	goroutineassistant.go:76: Command: /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.9.0+git/bin/rkt --dir=/tmp/datadir-529289510 --local-config=/tmp/localdir-253044301 --system-config=/tmp/systemdir-100276040 --debug --insecure-skip-verify run --net=ptp0 --mds-register=false /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.9.0+git/tmp/functional/test-tmp/rkt-inspect-networking2.aci
	goroutineassistant.go:64: Error encountered - shutting down
	goroutineassistant.go:65: Error: ExpectRegex timed out after 30s finding '(rkt-.*): serving on'.
		Output:
panic: Failed to remove temporary data directory "/tmp/datadir-529289510": remove /tmp/datadir-529289510/pods/run/2ff0fe18-e2cb-4c47-94ae-62bab5885003/netns: device or resource busy [recovered]
	panic: Failed to remove temporary data directory "/tmp/datadir-529289510": remove /tmp/datadir-529289510/pods/run/2ff0fe18-e2cb-4c47-94ae-62bab5885003/netns: device or resource busy

The connections arrive but the expectRegex times out anyway and shows the zero-output from the rkt call. Is the rkt command still running after the test failed?

@steveeJ rkt is not running after the test failed.
I got another error in the network tests:
=== RUN TestNetDefaultRestrictedConnectivity
--- FAIL: TestNetDefaultRestrictedConnectivity (4.30s)
	rkt_tests.go:292: Running command: /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.9.0+git/bin/rkt --dir=/tmp/datadir-005362017 --local-config=/tmp/localdir-031277900 --system-config=/tmp/systemdir-266839611 --debug --insecure-skip-verify run --net=default-restricted --mds-register=false /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.9.0+git/tmp/functional/test-tmp/rkt-inspect-networking.aci
	goroutineassistant.go:64: Error encountered - shutting down
	goroutineassistant.go:65: Get http://<IP_ADDRESS>:49153: dial tcp <IP_ADDRESS>:49153: connection refused

I changed the ip range to a different one (see #1662) and this still fail for me:
inspect[4]: 2015/11/09 13:41:03 Connecting to http://<IP_ADDRESS>:49152
inspect[4]: Get http://<IP_ADDRESS>:49152: dial tcp <IP_ADDRESS>:49152: connection refused

I added a --exec=/inspect --get-http=%v --sleep=30 in order to have time to debug, and the network namespace seems to be correctly configured:
$ sudo nsenter -t `pidof inspect` -n nc <IP_ADDRESS> 49152
GET / HTTP/1.1

HTTP/1.1 200 OK
Date: Mon, 09 Nov 2015 13:44:21 GMT
Content-Length: 7
Content-Type: text/plain; charset=utf-8

rainbow

And I also get this error:
	goroutineassistant.go:64: Error encountered - shutting down
	goroutineassistant.go:65: Error31: ExpectRegex timed out after 30s finding '(rkt-.*): serving on'.
		Output:

which is in testNetCustomDual:
		cmd := fmt.Sprintf("%s --debug --insecure-skip-verify run --net=%v --mds-register=false %s", ctx.Cmd(), nt.Name, testImage)
		child := ga.SpawnOrFail(cmd)
		defer ga.WaitOrFail(child)

		expectedRegex := `IPv4: (\d+\.\d+\.\d+\.\d+)`
		result, out, err := expectRegexTimeoutWithOutput(child, expectedRegex, 30*time.Second)
		if err != nil {
			ga.Fatalf("Error: %v\nOutput: %v", err, out)
		}
		container1IPv4 <- result[1]
		expectedRegex = `(rkt-.*): serving on`
		result, out, err = expectRegexTimeoutWithOutput(child, expectedRegex, 30*time.Second)
		if err != nil {
			ga.Fatalf("Error: %v\nOutput: %v", err, out)
		}
		container1Hostname <- result[1]

After debugging, I see that the first expectRegexTimeoutWithOutput works fine, but the second expectRegexTimeoutWithOutput fails. I suspect that the gexpect library does not work as we want when we call the regexp several times on the same process.

The issue was because of the firewall installed on Fedora. After removing the firewall as follows, the test pass:
# iptables -F
# iptables -F -t nat

@alban Thanks, we're tracking the firewall discussion in a separate issue #1734. It has been outstanding for a while but I think we need to tackle it.


coding conventions: suggest a hierarchical order for the argument set

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

You say by the ofborg CI?

yes, that kind of tool could be invoked by ofborg, or GitHub Actions

But there is another coding convention being enforced already by the document - namely, "lib first; order of appearance otherwise".
Therefore, any external tool like nixpkgs-hammering is bound to this convention.
So, this paragraph should be removed, I believe.

Then the paragraph should be removed by the same reason. I will update this.


Slight improvements to 2D diffusion

I've made some changes to the 2D diffusion kernels and tutorials:

Kh_zonal and Kh_meridional are now assumed to be constants when using the DiffusionUniformKh kernel. Having them as a field is computationally wasteful, since these uniform fields are interpolated at each timestep. Having these values as constants also lowers the chance that users mistakenly use this kernel with varying diffusivity fields, in which M1 or EM should always be used.
Removed the combined RK4-EM/RK4-M1 kernels. Their limited use-case (using RK4 since diffusivities can be zero in certain regions) does not justify including them. Including them may cause users to think that those kernels somehow have smaller errors, while the error is dominated by the diffusive step.
Use normally distributed random Wiener increments. The previous argument for using a uniform distribution (with the correct first and second moment) was that particle increments remain bounded. However, a normal distribution should be used for the convergence of individual particle paths (strong convergence). Note that M1 and EM have the same order of weak convergence (convergence of statistics), but that M1 is of strong convergence of order 1, while EM is of order 0.5. Thus it makes no sense to use M1 while not using normally distributed Wiener increments.
The tutorials are rewritten so that the use case and connection to Eulerian advection-diffusion is (hopefully) more clear. They now also allude to ongoing developments in 3D advection-diffusion kernels and a new way of computing gradients so that users do not have to worry about dres anymore in the future. dres is also more clearly defined, while it is also stressed more that its 'correct' value is uncertain. The section with DiffusionUniformKh has been removed, since this kernel does not support the varying diffusivity fields that make up the test case anymore.

Left to do:

[x]  Unit conversion of Kh_zonal and Kh_meridional when those are constants (currently makes the tests fail)

Instead of having Kh_zonal and Kh_meridional as constants, @erikvansebille implemented a new FieldSet.add_constant_field() method, so these 'constants' play nice with the unit converters.


Two dependency bumps

Bump tokio to 1.25.1. Running cargo audit reveals a denied vulnerability. I completely forgot to copy the rustsec link for this one.
Bump env_logger to 1.10.0. Running cargo audit reveals a warned against vulnerability. See https://rustsec.org/advisories/RUSTSEC-2021-0145

Apologies for the unverified commit. I'm having issues with VSCode. :sweat:

Not sure how much this matters, since nothing stops users from updating the version of tokio on their own (simple cargo update will update transitive dependencies too) and env_logger is only used in examples anyways. But I suppose it can't hurt either (except for if someone requires an old version of tokio for some reason...? Which poise would refuse to support with this PR, even though it theoretically could)


[WFLY-14307] Warning if wrong annotation is added to a Servlet

Thanks for submitting your Pull Request!
Please delete this text, and add a link to the Jira issue solved by this PR.
If this PR is not for the 'main' branch you must add a link to the equivalent change in 'main'.
Remember to use the Jira issue ID in the PR title and any commits.
Issue: https://issues.redhat.com/browse/WFLY-14307

@fl4via would you please review? thanks

@bstansberry Updated with the suggestion :)

@bstansberry  @fl4via Is this good to merge ?  I'd like to have an approval so I can merge the downstream one.

@bstansberry @fl4via Is this good to merge ? I'd like to have an approval so I can merge the downstream one.

@soul2zimate yes, it is good to go! We probably need to retrigger the cancelled CI though to make sure it passes.

retest this please

It seems I only triggered jobs configured in TeamCity, but I am not able to rerun that Github actionWildFly Build / WildFly Build (windows-latest) (pull_request)

Thanks @gaol, @fl4via and @soul2zimate


internel error when query in url

meteor-files @1.8.0

Whenever there is query in file url, there will be a internel server error
Here I take the Demo url for example, https://files.veliov.com/cdn/storage/uploadedFiles/q8h8KfLqWnJMMBry6/original/q8h8KfLqWnJMMBry6.gif?imageView&utm_source=hackernews
This will cause this(in my development)
SyntaxError: Unexpected token ,
   at Object.parse (native)
   at Object.handle (packages/ostrio_files/files-server.coffee:828:60)
   at next (/Users/jojoma/.meteor/packages/webapp/.<IP_ADDRESS>ockc9++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:174:15)
   at Object.handle (packages/ostrio:cookies/cookies.js:430:17)
   at next (/Users/jojoma/.meteor/packages/webapp/.<IP_ADDRESS>ockc9++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:174:15)
   at Object.handle (packages/cfs_http-methods.js:444:12)
   at next (/Users/jojoma/.meteor/packages/webapp/.<IP_ADDRESS>ockc9++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:174:15)
   at Object.handle (packages/meteorhacks_inject-initial.js:242:3)
   at next (/Users/jojoma/.meteor/packages/webapp/.<IP_ADDRESS>ockc9++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:174:15)
   at Function.app.handle (/Users/jojoma/.meteor/packages/webapp/.<IP_ADDRESS>ockc9++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:182:3)

While
https://files.veliov.com/cdn/storage/uploadedFiles/q8h8KfLqWnJMMBry6/original/q8h8KfLqWnJMMBry6.gif?imageView=1&utm_source=hackernews
with params and no query, all is fine.
However, see meteor http call, both query and params should be valid

The query option replaces the query string of url. Parameters specified in params that are put in the URL are appended to any query string. For example, with a url of '/path?query' and params of { foo: 'bar' }, the final URL will be '/path?query&foo=bar'.

And I found this in the package, which may caused the problem
query: if request._parsedUrl.query then JSON.parse('{"' + decodeURI(request._parsedUrl.query).replace(/"/g, '\\"').replace(/&/g, '","').replace(/=/g,'":"') + '"}') else {}

Hello @daorren ,
This is definitely a bug. Interesting what it starts in webapp package. Where webapp package has an outdated dependency on<EMAIL_ADDRESS>package.
This is not actually that matter.
We just confirmed this is a bug on our end. Should be fixed soon.
Thank you for reporting this critical bug!

@dr-dimitru you're welcome! Hope it get fixed soon


UT for gen  -c, --certs TEXT

Is your feature request related to a problem? Please describe.
Write UT -
Generate certs for azure IoTHub. TEXT shall be the device id.
Describe the solution you'd like
UT
Additional context
There should be verified if three certs are generated
def generate_certs():

Basics tests implemented.


Help menu

Describe the bug
Role management commands are not showing up in the [p]help menu of redbot.
Is there a way to get around this issue or is it possible to get a list of commands for it.
Debug info
https://i.imgur.com/19mtMr4.png

Cancel this, it started working.


Aufgabe3 niki solution

It's not quite ready ret, but it's almost finished. Still waiting for a response of Mr.Zirpins, but 99% should work as described in the excercise description.

Please update JSON through npm. Take a look at README for the steps involved. Then upload ASAP.

What do you mean with update JSON? Do you mean the node.js and node express setup? I guess you can't update json because it's a file/data format.... It's all done and runs without any problems (tested on 3 different PCs). Are you sure you started the server with 'npm start' in the right folder from the node.js command prompt? I uploaded a new version with all tasks done and created a new pull request. Should work without any problems.


Handle whitespace in paths for the retire task

When the path of the parent folder contains a whitespace (e.g. the project that uses UrbanJS lives in the "C:\My Projects" folder), the retire task fails with the following error:
[05:39:56] 'retire' errored after 95 ms
[05:39:56] Error: Command `C:\My Projects\MyApp\node_modules\urbanjs-tools\node_modules\.bin\retire -n` failed with exit code 1
    at ChildProcess.exithandler (child_process.js:213:12)
    at emitTwo (events.js:100:13)
    at ChildProcess.emit (events.js:185:7)
    at maybeClose (internal/child_process.js:821:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:90:13)
    at Socket.emit (events.js:182:7)
    at Pipe._onclose (net.js:469:12)

I guess the path must be enclosed with quotes when running the retire process.
Thank you for fixing this.

Thanks, nice catch! Fixed in this commit: https://github.com/urbanjs/tools/commit/be91fb5d95be3e1b541053fcdf66a1a117ce66cd

Thank you. Eagerly waiting for the next release :)


Add Django information to docs

Add information from https://github.com/will-in-wi/letsencrypt-webfaction/issues/7 to documentation.

I've done so.


adapt json schema for batch results

Purpose

change the schema for the batch transcription json results to reflect the fact that display forms can contain \n sequences when newlines are dictated.

Pull Request Type
What kind of change does this Pull Request introduce?
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes

Thanks!


Reading a closure variable that has a generic type parameter results in a runtime error

I'm not sure if this is a bug or a known caveat of generic types, but I've noticed the following on Dart 2.17.5:
void main() {
  final TestClass<Object> testInstance = TestClass<double>(
    value: 123.45,
    closureA: () => 123.45,
    closureB: (double arg) {},
  );

  print(testInstance.value); // 123.45
  print(testInstance.method); // Closure: (Object?) => void from Function 'method':.
  print(testInstance.closureA); // Closure: () => double
  print(testInstance.closureB); // Throws "type '(double) => void' is not a subtype of type '(dynamic) => void'"
}

class TestClass<T> {
  TestClass({required this.value, required this.closureA, required this.closureB});

  final T value;
  final T Function() closureA;
  final void Function(T arg) closureB;

  void method(T arg) {}
}

Given the results of the other print calls, I would expect print(testInstance.closureB) to print either:

Closure: (double) => void
Or Closure: (Object?) => void

Due to this issue, code like the following won't work:
void main() {
  final TestClass<Object> testInstance = TestClass<double>((double? arg) {});
  if (testInstance.callback == null) { // Throws exception
    // ...
  }
}

class TestClass<T> {
  TestClass(this.callback);

  final void Function(T arg)? callback;
}

Ah that makes sense.
It would be useful if it matched the behaviour of methods, with the runtime check at the time the method is called, allowing for cases like this:
if (someClass.callback == null) // No need to type check the parameter types here as it's not called
  // ...

But this does feel like a pretty rare case, and as a workaround bool get hasCallback => callback != null on the class does the job.

A while back, I created a proposal about the static type of "instance members whose type is contravariant". Such members are getters or instance variables whose type contains a type variable of the class in a non-covariant position, or methods including operators whose return type have that property.
The idea is that the static type is approximated soundly (from above). Some expressions will then have a more general type, and we may need to perform a downcast before we can use them. However, just throwing when the member is evaluated is is quite inconvenient to handle (basically, we'd need to try receiver.method(...) and if it throws we can do (receiver as dynamic).method(...)), so I think the more general (but sound) static type is preferable. For example:
class A<X> {
  void Function(X) m() => (x) {};
}

void main() {
  A<Object> a = A<int>();

  // Current behavior.
  a.m(); // Throws. Could use try/catch, but what would we do in `catch`?
  (a as dynamic).m(); // This doesn't throw, but it introduces dynamic types.

  // With the proposal where members like `m` get a sound, but more general type.
  var g = a.m(); // Succeeds, `g` has type `var Function(Never)`.
  g(1); // Compile-time error, `int` is not assignable to `Never`.
  if (g is void Function(int)) g(1); // OK
}

That proposal could be used to eliminate the rather aggressive behavior where it throws just because I'm accessing that member. However, we could just emulate that proposal manually by rewriting the program:
class C<X> {
  // The return type is now sound: a supertype of the returned object's type for any `X`.
  void Function(Never) get f => (X x) {};
}

My recommendation at this point would be to avoid having instance members with a contravariant type. This can be done by replacing the contravariant occurrences of class type variables by Never (in the example: we replace X by Never, because a parameter type is a contravariant position), and changing function types to Function if a class type variable occurs in a type variable bound of the contravariant type (so void Function<Y extends X>(X) would become Function).


The comment button doesn't get enabled when used from toolbar

Since GitHub comment button gets enabled when there is content in the textarea input block. But if the only thing in the input is an emoji inserted using the toolbar, Then, the comment block doesn't get enabled.

Steps to reproduce:
Step 1:

Step 2:

Ideally, the comment button should be enabled by now. I have tested this in a sandboxed environment as well, but images were taken before that.

Hi @chandr3sh!
Thanks for reporting this issue! I'll look into it when I get some time.


all-in-one installation of harvester

Description:
permit to allow all-in-one installation in harvester installation includes RKE, longhorn storage/NFS, and multus network.
It can be done either via providing a bash script or cli tools

close as this will be achieved using the Harvester ISO image https://github.com/rancher/harvester/issues/202


Border appears above/below underline

If you set a top or bottom border to a bar, and then under/overlines for modules, the under/oveline appears above or below the border line, whereas I would like it to appear overlapping the border line. Is this a thing that I cannot see, or is it not possible? Or is it possible to have a module that fills the remaining space and applies a line there to avoid using border?

That's not possible. The border is separate from the under/overline.
Vertically polybar's box model looks like this:
+---------
  border
+---------
 overline
+---------

 content

+---------
 underline
+---------
  border
+---------


RTSP Output as a Pipeline Node

Start with the why:
In some cases it may be desirable to feed RTSP (Real Time Streaming Protocol, i.e. IP Camera) output to have compatibility with existing software stacks/etc. over Ethernet.  To provide instant integration sort of compatibility, particularly if working with closed-source tools (or hard to modify tools) which already work with RTSP-compatible inputs.
This becomes increasingly powerful when the RTSP Output is a node in the pipeline.  As instead of the whole video feed being output as a RTSP video stream, any video stream in the pipeline can be output.  Take for using an object detector to guide digital PTZ (https://github.com/luxonis/depthai/issues/135), and then outputting this pan/tilt/zoomed stream directly out RTSP.
This way, the RTSP output would appear to a computer, smart phone, YouTube, etc. as if someone is actually just moving a camera around.
Move to the how:
Leverage live555 and the Gen2 Pipeline Builder (#136) to implement an RTSP output node over Ethernet to work with POE-capable DepthAI devices like the BW2098POE and other future DepthAI hardware designs (such as OAK-1-POE and OAK-D-POE) based on the Ethernet-capable BW2099 module.
Move to the what:
Implement a RTSP output node in the Gen2 Pipeline Builder (https://github.com/luxonis/depthai/issues/136).  This will allow any node which produces video to be output over Ethernet.

The zed rtsp examples might be worth reviewing, even though they will work in fundamentally different ways.  They setup a meta channel for sending tracking information along with other annotations (like human pose, etc).  having this in a node with configurable pass-through for other stuff happening on the module will be excellent.
https://github.com/stereolabs/zed-gstreamer

Thanks for the heads up!

I like the idea. Before this is ready, can you give some help about how to feed VideoEncoder result into rtsp stream?
I tried to do it with gstreamer pipeline

appsrc name=source is-live=true block=true format=GST_FORMAT_TIME emit-signals=false caps=video/x-h264,format=I420,width=3840,height=2160,framerate=30/1 ! rtph264pay config-interval=1 name=pay0 pt=96

and feed data like

pkt = queue.get()
seq = pkt.getSequenceNum()
seconds = pkt.getTimestamp().total_seconds()
data = pkt.getData()
print(f'Sending packet {seq} {len(data)}@{seconds}')
buf = Gst.Buffer.new_allocate(None, len(data), None)
buf.fill(0, data)
buf.duration = self._duration
buf.pts = buf.dts = int(seconds * 1000000)
if self._pts < 0:
            self._pts = buf.pts
buf.offset = buf.pts - self._pts
self._appsrc.emit('push-buffer', buf)

It doesn't work. Always saying

basesrc gstbasesrc.c:3072:gst_base_src_loop: error: Internal data stream error.
0:00:07.970945498   851 0x7f390400e1e0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4)

Looking.  I think we have an example (https://github.com/luxonis/depthai-experiments/tree/master/rtsp-streaming) but I don't think it's been updated to work with POE yet.  So I'm giving it a shot first and will update if it can work with POE.

I confirmed that that is Gen1, so would need to be updated.  Looking at WebRTC example (https://github.com/luxonis/depthai-experiments/tree/master/gen2-webrtc-streaming) now.

Works on USB:

Modifying requirements.txt now to see if it will work on POE.

Yes, works over POE.  This is from my OG/Black OAK-D-POE prototype (black is bad for direct sunlight, so we changed it to Silver for production).

(Note that streaming disparity there seems broken.)

@Luxonis-Brandon Thanks for the quick actions! I looket at https://github.com/luxonis/depthai-experiments/tree/master/rtsp-streaming before posting here. IIUC, that example get frames from depthai and use x264 to encode the video.
I am trying to see whether there is a way to use depthai.VideoEncoder's result, streaming it to RTSP directly to avoid encoding the frames using CPU?

Thanks.  Yes I think we should be able to provide an example.  Will sync with @VanDavv on Monday.

That's a great idea @YijinLiu, thanks! I'll migrate RSTP streaming to Gen2 and see if I can also use VideoEncoder as you suggested

if I want to just display on the screen, what could be the output sink ?


MODULES-9120 - update metadata to support concat version 6.0.0

Could this see a new release on the forge, pretty please? :pray:

@mmoll postgresql v6.1.0 has now been released on the Forge.


no kind "ActiveMQArtemis" is registered for version "broker.amq.io/v2alpha5" in scheme "k8s.io/kubectl/pkg/scheme/scheme.go:28""

according to https://artemiscloud.io/blog/using_operator/ Step 3 - Deploying ActiveMQ Artemis Broker in the cloud
after creating activemq-artemis-operator when i want to create deploy/examples/artemis-basic-deployment.yaml i face this error :
no kind "ActiveMQArtemis" is registered for version "broker.amq.io/v2alpha5" in scheme "k8s.io/kubectl/pkg/scheme/scheme.go:28"
how can i resolve that ?
OS: centos7

Hi, it looks like the CRD was not installed, make sure you successfully installed it. e.g.
$ kubectl create -f deploy/crds/broker_activemqartemis_crd.yaml

thanks for responding mr @gaohoward i delete my broker_activemqartemis_crd.yaml and create it again , and even delete whole namespace and relaunch it but i still get same error
the output is : activemqartemis.broker.amq.io/ex-aao created
but there is no pod when i run : kubectl get pod -n myproject
and the the error in the title of this issue is result of : kubectl logs activemqartemis.broker.amq.io/ex-aao -n myproject

Hi @hafezieh
I believe the blog is outdated. Try using the latest tag
https://github.com/artemiscloud/activemq-artemis-operator/tree/v0.20.1
When you deploy CRDs make sure there are now 4 CRDs that needs to be deployed. i.e.
kubectl create -f deploy/crds/broker_activemqartemis_crd.yaml
kubectl create -f deploy/crds/broker_activemqartemisaddress_crd.yaml
kubectl create -f deploy/crds/broker_activemqartemisscaledown_crd.yaml
kubectl create -f deploy/crds/broker_activemqartemissecurity_crd.yaml
kubectl create -f deploy/operator.yaml

sorry for bothering again , this is the whole things that i've done :
the only other thing that i can mention is , my server does not have any direct access to internet and i pulled docker imgs from my artifactory (i was carefull about versions ). does this CRDs fetch any other things from internet ?
[root@ activemq-artemis-operator-0.20.1]# kubectl create namespace myproject
namespace/myproject created
[root@ activemq-artemis-operator-0.20.1]# kubectl create -f deploy/service_account.yaml --namespace myproject
serviceaccount/activemq-artemis-operator created
[root@ activemq-artemis-operator-0.20.1]# kubectl create -f deploy/role.yaml --namespace myproject
role.rbac.authorization.k8s.io/activemq-artemis-operator created
[root@ activemq-artemis-operator-0.20.1]# kubectl create -f deploy/role_binding.yaml --namespace myproject
rolebinding.rbac.authorization.k8s.io/activemq-artemis-operator created
[root@ activemq-artemis-operator-0.20.1]# kubectl create -f deploy/crds/broker_activemqartemis_crd.yaml
customresourcedefinition.apiextensions.k8s.io/activemqartemises.broker.amq.io created
[root@ activemq-artemis-operator-0.20.1]# kubectl create -f deploy/crds/broker_activemqartemisaddress_crd.yaml
customresourcedefinition.apiextensions.k8s.io/activemqartemisaddresses.broker.amq.io created
[root@ activemq-artemis-operator-0.20.1]# kubectl create -f deploy/crds/broker_activemqartemisscaledown_crd.yaml
customresourcedefinition.apiextensions.k8s.io/activemqartemisscaledowns.broker.amq.io created
[root@ activemq-artemis-operator-0.20.1]# kubectl create -f deploy/crds/broker_activemqartemissecurity_crd.yaml
customresourcedefinition.apiextensions.k8s.io/activemqartemissecurities.broker.amq.io created
[root@ activemq-artemis-operator-0.20.1]# kubectl create -f deploy/operator.yaml --namespace myproject
deployment.apps/activemq-artemis-operator created
[root@ activemq-artemis-operator-0.20.1]# kubectl get pod -n myproject
NAME                                         READY   STATUS    RESTARTS   AGE
activemq-artemis-operator-59b45f7c6f-x8nc5   1/1     Running   0          28s
[root@ activemq-artemis-operator-0.20.1]# cd deploy/examples/
[root@ examples]# kubectl create -f artemis-basic-deployment.yaml -n myproject
activemqartemis.broker.amq.io/ex-aao created
[root@ examples]# kubectl get pod -n myproject
NAME                                         READY   STATUS    RESTARTS   AGE
activemq-artemis-operator-59b45f7c6f-x8nc5   1/1     Running   0          2m31s

[root@ examples]# kubectl logs activemqartemis.broker.amq.io/ex-aao -n myproject
error: no kind "ActiveMQArtemis" is registered for version "broker.amq.io/v2alpha5" in scheme "k8s.io/kubectl/pkg/scheme/scheme.go:28"

hi @hafezieh
I have same as your issues. Was it fixed at your side?

hi @gaohoward,
The readme file you mentioned is targeted for "operator" installation right? How to install ActiveMQ Artemis Broker?
I followed the official guideline here but seem it is out update https://artemiscloud.io/docs/tutorials/using_operator/ as the folder named " example" is not available in the "deploy" folder
Thanks you,

@lmnetsoft Hi the doc is a bit out of date. Once you get the operator up and running you can try to deploy a broker using one of the examples here: https://github.com/artemiscloud/activemq-artemis-operator/tree/main/examples


How to use the mdns module?

I can't get the mdns module to work with the documentation or the stuff I found in some other issues. As in I can't import EspMdns and use it. I'm guessing that I have to enable it as an "remote-component" or "extra-component" but I found no list for which components are which or an explanation on how to enable them. I would be grateful if someone could kindly clear it up for me and others facing the same questions. Thanks in advance

Since esp-idf version 5 espressif started to move things that were previously directly available into there separate components registry. So in your case you are seeing that the mdns module in our code is behind the following feature gate if you look here .  If you see such a feature gate where you see *comp_espressif__ with a double underscore ( __ ) in between you can use the esp-idf-sys component feature to add it as a remote component. This will automatically make it available.
For more information how you can use this esp-idf-sys feature you can have a look here
To make it short you can add it via your Cargo.toml by adding
[[package.metadata.esp-idf-sys.extra_components]]
remote_component = { name = "espressif/mdns", version = "1.2" }

Thank you, that did the trick.


The error can also be found when the database is offline.


chore(cleanup): Delete all dead code

The type of this PR is: Chore
Description
Following work that @gkartalis did over here in Eigen, this cleans up all the dead code in Force via ts-prune
Command run:
npx ts-prune --project tsconfig.json | grep -v '(used in module)' | grep -v '__generated__'

Will add a command to package.json with some common exclude patterns that I noticed along the way so we can run this more regularly.
Thanks for the amazing lib find @gkartalis, this work felt very good to do.

Did the absolute path conversion have to happen for this to work? I'm assuming that's the cause of the spec failures?

Yeah, see subscription.unsubscribe() in the docs. All it takes is to use the recommended form; the toPromise variant can't be cancelled.


add collection landscape of the heart

close pr. reason: /landscape-of-the-heart existing, contributed by @tpseto , this pr outdated


⚠ Minecraft has degraded performance

In 25e7f8b, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1123 ms

Resolved: Minecraft performance has improved in f52eb12.


death.attack.no_water_for_gills

Basically, my friend died on a server I made for her, and this is what it said in console:
[20:18:12] [Server thread/INFO]: death.attack.no_water_for_gills
[20:18:24] [Server thread/INFO]:  fucccck
I don't know how she died, but I'm sure you can figure it out.

death.attack.no_water_for_gills is the translation key for the death message when a player that has the Merling origin dies if they haven't been in water for too long. It translates to "<username> didn't manage to keep wet"

death.attack.no_water_for_gills is the translation key for the death message for when a player that has the Merling origin dies if they haven't been in water for too long. It translates to "<username> didn't manage to keep wet"

Yup, although it doesn't say the translated bit in chat, it said exactly what it said in console.


DOCS: Remove examples and functional specs, first batch

LiveURL: https://orbit-components-docs-delete-examples.surge.sh

Closing, we will select different approach for examples of Orbit components.


PP-7422: Add a function to call to connector to check Worldpay 3DS Flex credentials

This change

adds a new function postCheckWorldpay3dsFlexCredentials which makes a call to a connector application to check Worldpay 3DS Flex credentials.
adds a PACT test to test the function to ensure that it can handle happy and unhappy scenarios correctly.
fixes authenticate PACT tests failures.

I have replaced the following fields in a payload used to sent to Connector application.

correlationId replaced with correlation_id.
gatewayAccountId replaced with gateway_account_id.

I am sticking with correlationId and gatewayAccountId. They are not used in a payload.


Type inference breaking with generic typed throws

Description
In a generic function that takes a typed-throwing function and an error of the same type as parameters, type inference is failing when trying to call the function and pass in an instance of the error. But the fully-qualified type compiles.
Reproduction
Put the following in a main.swift and try to run it with swift main.swift. Observe a compile error on the last line of code.
// Simplified version of an XCTest utility I'm trying to write.
func assertThrowsGeneric<Failure: Error & Equatable>(
  _ expression: @autoclosure () throws(Failure) -> some Any,
  _ expectedError: @autoclosure () -> Failure
) {
  do {
    _ = try expression()
  } catch {
    assert(error == expectedError())
  }
}

enum AuthError: Error, Equatable {
  case noAccount(email: String)
}

func myLoginFunction(
  email: String
) throws(AuthError) {
  guard email ==<EMAIL_ADDRESS>else {
    throw .noAccount(email: email)
  }

  // If we made it here, we're logged in!
}

do {
  try myLoginFunction(email: "foo")
} catch {
  switch error {
    // ✅ Type inference is working here!
  case .noAccount(email: let email):
    print("no account \(email)")
  }
}

// ✅ Fully qualified type: compiles!
assertThrowsGeneric(try myLoginFunction(email: "nope"), AuthError.noAccount(email: "nope"))

// ❌ Trying to use type inference: fails!
assertThrowsGeneric(try myLoginFunction(email: "nope"), .noAccount(email: "nope"))
//                                                       ^ 🛑 Type 'Equatable' has no member 'noAccount'

Expected behavior
Code compiles.
Environment
swift-driver version: 1.112.3 Apple Swift version 6.0 (swiftlang-<IP_ADDRESS>.8 clang-16<IP_ADDRESS>)
Target: arm64-apple-macosx14.0
Also tried on Swift 6.0 Development Snapshot 2024-07-21 (a) and Swift Development Snapshot 2024-07-22 (a) with the same result.
Additional information
No response

It looks like the issue might be that the throw type isn't making it out of the closure.
With:
This builds:

The way that I read this: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0413-typed-throws.md#closure-thrown-type-inference, the current behavior is correct in Swift 5 because "throw statements within the closure body are treated as having the type any Error in Swift 5".
However, I currently see the same diagnoses and failures when specifying -swift-version 6 to the compiler, which is a bug, I think.

I duplicated this as #75674. And I submitted it after having read this, and tried some of it! 😣 So this issue should be simplified to demonstrate the problem, or closed.
@gregomni Your reduction is useful. But this following statement is not true; you just need to use the currently-necessary explicit syntax to see it.

This does not (explicit closure -- autoclosure also fails):

The syntax to make your code compile is:
assertThrowsGeneric({ () throws(AuthError) in try myLoginFunction() }, .noAccount)

Fixing that is important, but a different issue. The relevant problem is only about autoclosures.

I added autoclosure to the title of this one. I leave it up to the powers that be to decide which one to close.


slick.css.map file is missing from CDN

https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.3.15/slick.css.map returns a 404.

We don't manage cdn versions of slick-carousel


Fabric server updates on new installer rather than new loader

When using the TYPE=FABRIC server, the deploy script for Fabric uses the installer as the version identifier for Fabric updates.
As the installer only changes the method by which we install fabric-loader, with Fabric changes being included in the loader itself, we should use the loader version number to signify current Fabric version.

Ok, I see what you mean. I'll get this adjusted.

@itzg I've raised PR #1351 which not only fixes this but uses the new launcher jar method which leads to cleaner version management similar to Paper or other servers.
If you're interested in the alternative that still uses the installer:
https://github.com/itzg/docker-minecraft-server/compare/master...Stealthii:feature/fabric-update

Awesome! I'll review that later today.


Android | WebViewWidget flickers when loading and resizing another Web View

Steps to reproduce
Given the sample code and running on Android phones/emulators, click the Reload button to Reload the second WebViewWidget.
Expected results
Second Web View disappears and reappears when it finished loading.
Actual results
For a brief time, the contents on the second WebView appears on the first WebView. Depending on the dimensions, they could look a little smeared.
Code sample
Code sample
class WebViewWithWebView extends StatefulWidget {
  @override
  _WebViewWithWebViewState createState() => _WebViewWithWebViewState();
}

class _WebViewWithWebViewState extends State<WebViewWithWebView> {
  bool _isWebReady = false;
  final WebViewController _controllerWeb1 = WebViewController();
  final WebViewController _controllerWeb2 = WebViewController();

  @override
  void initState() {
    super.initState();
    _controllerWeb1.loadRequest(Uri(host: 'google.com', scheme: 'https'));
    _controllerWeb2.setNavigationDelegate(NavigationDelegate(
      onPageFinished: (String url) {
        setState(() {
          _isWebReady = true;
        });
      }
    ));
    _controllerWeb2.loadRequest(Uri(host: 'dart.dev', scheme: 'https'));
    // _reload();
  }

  void _reload() {
    setState(() {
      _controllerWeb2.loadRequest(Uri(host: 'dart.dev', scheme: 'https'));
      _isWebReady = false;
    });
  }

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Scaffold(
        appBar: AppBar(
          title: Text('WebViews'),
        ),
        body: Column(
          children: <Widget>[
            Expanded(
              child: WebViewWidget(
                controller: _controllerWeb1,
              ),
            ),
            if (_isWebReady)
              Container(
                height: AdSize.mediumRectangle.height.toDouble(),
                width: AdSize.mediumRectangle.width.toDouble(),
                child: WebViewWidget(
                  controller: _controllerWeb2,
                ),
              )
            else
              SizedBox.shrink(),
            ElevatedButton(
              onPressed: _reload,
              child: Text('Reload'),
            ),
          ],
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/1921175/c5880e87-9156-4f90-ace9-30f08e863c7c

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.19.6, on macOS 14.5 23F79 darwin-arm64, locale en)
    • Flutter version 3.19.6 on channel stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (5 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update
      checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Platform android-34, build-tools 33.0.2
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version unknown)
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.17-11446219)

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio with Blaze.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 13 (API 33) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 125.0.6422.76

[✓] Network resources
    • All expected network resources are available.

@johnmccutchan Do you expect that the behavior seen here is a generic platform view problem as opposed to one with the webview implementation on android?

I suspect this is a generic platform view problem. We probably have a frame where the size of the platform view is wrong leading to the fullscreen flicker.

Hello, any update on this issue?
Thanks in advance


upgrade docs build system

this repo uses the old Crate docs build system. we should update it to use the new build system (https://github.com/crate/docs)
for instructions, see here: https://github.com/crate/crate-howtos/issues/163

I am interested in this

@infoverload go for it. however, this work is currently blocked on https://github.com/crate/tech-writing-domain/issues/97 -- happy to work on that with you though and figure out a solution

Hi there,
I've identified those tasks:

[ ] Don't use buildout, just use a Makefile
[ ] Bump dependency versions of Sphinx, etc.
[ ] Add documentation build to CI

With kind regards,
Andreas.

@amotl did you check out https://github.com/crate/crate-howtos/issues/163?

Thanks @mechanomi. I just added the docs-ng build system on behalf of #109.


Update travis run to 10.3 and Xcode 8.3 and fix compatibility for FTRVisibilityTestViewController.xib

…

Branch has conflicts.


README.md: update versions

Thanks, sorry for a delay.  The readme has been updated in a different pr.


[Stats] Mangle a little more information into the file & timer names.

This helps disambiguate files that might otherwise be hard to sort through
if multiple runs output stats together in a single directory. The names
don't have to be perfect, just contain sufficient hints (and be parseable)
to differentiate module, arch, opt and output-type variation in jobs.

@swift-ci please smoke test

@eeckstein Going to merge this given the test passing and default-off-ness. Let me know if you want to see followup changes.

Thanks!


Force deabstraction of functions that take or return Tensors if referred in code.

This is a somewhat hacky patch to deal with SR-8589 related to the Jupyter tutoral. In the REPL mode (both in the in-build swift and lldb -r), the SIL module for a REPL expr is thrown away after lowering to LLVM IR. Consequently, when processing subsequent lines, TFDeabstraction does not see the body of some functions being invoked, which causes some functions not to be partitioned.
This PR performs a second round of deabstraction (and subsequent partitioning) of functions taking and returning TensorValues if they are still referred in the code after the first round.
BTW, this is not only relevant to Jupyter tutorial. We will encounter this if we allow linking to other swift-tensorflow binaries. We will need to think about how to deal with such cases in general.
@mhong, when I simply removed the condition that checks if a function operates on tensors, some tests started failing as attributes were no longer const-evaluable. That is why I am sending this instead of what we discussed.

@rxwei To help me understand this larger problem, can you provide a concrete example?
(It might be useful to create a bug to track that.)

A common, concrete example is to try to use expectEqual() two Tensors. expectEqual is opaque across module, i.e. non-inlinable.
This is not a small bug, but a large hole in the architecture in that there's no way to even reject it from the compiler. These issues are not important in the initial GPE because the library ecosystem using Tensors and generics are not there yet.
I'll definitely file a bug soon. I was also planning to write a detailed document describing the issue, but it's not the best time until we hit the tutorial goal.

@lattner , this PR already implements it in two passes as you outlined. Did I misunderstand your comment?

Agreed that this is not optimal, but I think it should work in the near term. Please file a bug to track improving this. A sketch:
Make our existing pass over functions, deabstracting as we go.
Do a second pass where we deabstract all functions, regardless of whether they have tensor args or results. Many would be dead, but the indirectly used ones would now work.

@bgogul, I believe the difference is: If we change the example from
main() {
  foo() { $0 -= 0.1 * $1 }
}

to
main() {
  foo() { #tfop("SomeOp", ...) }
}

This patch probably won't work. That is, if the private closure does not take or return tensors.
Another issue to take care (both in Chris' sketch and this PR) is that if the private closure takes a string/int/float param to be used in a tfop attr, as in:
main() {
  foo() { (s: String, i: Int) -> () in #tfop("SomeOp", intAttr: i, sttrAttr: s) }
}

The private closure cannot be partitioned due to const tfop attr requirement (as you observed). In that case it'd be useful to issue a good diagnostic message, asking user to convert the closure to a function, so that it can be annotated with something like "inline always", and as such compiler won't partition it.

Added unit tests and addressed comments. PTAL.


git: Don't swallow all push output

In certain situations "git push" will need to auth interactively. However
we don't show the user any output from git push because of github's automatic
"create a pr test" that is generally not what we want since revup handles pr
creation. This does make these auth situations confusing though.
Instead of hiding all output, default to showing output except for lines prefixed
with "remote:" which will get hidden.
Topic: outpush3
Closes: #33

Reviews in this chain:
└https://github.com/Skydio/revup/pull/204 git: Don't swallow all push output

#
head
base
diff
date
summary

0
7c4cf4bd
c7b92e83
diff
Dec 28 16:24 PM
2 files changed, 20 insertions(+), 6 deletions(-)


Rename config folder to docker to match conventions

builds upon: #36

kind of unrelated: i think we should change the repository description to match the readme as it is displayed in the google search results


Async Scoreboard Creation Error

Running Jobs 4.16.3 on Paper 1.16.4 and receiving this error in the logs:
[09:27:38] [Craft Scheduler Thread - 6224/WARN]: [Jobs] Plugin Jobs v4.16.3 generated an exception while executing task 1877583
java.lang.IllegalStateException: Asynchronous scoreboard creation!
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.16.4.jar:git-Paper-386]
at org.bukkit.craftbukkit.v1_16_R3.scoreboard.CraftScoreboardManager.getNewScoreboard(CraftScoreboardManager.java:45) ~[patched_1.16.4.jar:git-Paper-386]
at org.bukkit.craftbukkit.v1_16_R3.scoreboard.CraftScoreboardManager.getNewScoreboard(CraftScoreboardManager.java:25) ~[patched_1.16.4.jar:git-Paper-386]
at com.ue.common.utils.ServerProvider.createScoreBoard(ServerProvider.java:128) ~[?:?]
at com.ue.economyplayer.logic.impl.EconomyPlayerImpl.setScoreboard(EconomyPlayerImpl.java:302) ~[?:?]
at com.ue.economyplayer.logic.impl.EconomyPlayerImpl.updateScoreBoard(EconomyPlayerImpl.java:316) ~[?:?]
at com.ue.economyplayer.logic.impl.EconomyPlayerImpl.increasePlayerAmount(EconomyPlayerImpl.java:241) ~[?:?]
at com.ue.vault.impl.UltimateEconomyVaultImpl.depositPlayer(UltimateEconomyVaultImpl.java:69) ~[?:?]
at com.ue.vault.impl.UltimateEconomyVaultImpl.depositPlayer(UltimateEconomyVaultImpl.java:58) ~[?:?]
at com.gamingmesh.jobs.economy.VaultEconomy.depositPlayer(VaultEconomy.java:33) ~[?:?]
at com.gamingmesh.jobs.tasks.BufferedPaymentTask.run(BufferedPaymentTask.java:41) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Paper-386]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.4.jar:git-Paper-386]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.4.jar:git-Paper-386]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_121]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
4.16.0 and 4.16.1 both crash on startup on 1.16.4/5 so I can't roll back to them. 4.16.2 and 4.16.3 both show the same error.
I'm not really sure what impact this is having. Jobs are apparently working as they should, but this is a lot of spam in the logs. Would appreciate some feedback. Thanks.

Jobs 4.16.3 - old version
at com.ue.common.utils.ServerProvider.createScoreBoard(ServerProvider.java:128) ~[?:?]
at com.ue.economyplayer.logic.impl.EconomyPlayerImpl.setScoreboard(EconomyPlayerImpl.java:302) ~[?:?]
at com.ue.economyplayer.logic.impl.EconomyPlayerImpl.updateScoreBoard(EconomyPlayerImpl.java:316) ~[?:?]
at com.ue.economyplayer.logic.impl.EconomyPlayerImpl.increasePlayerAmount(EconomyPlayerImpl.java:241) ~[?:?]
at com.ue.vault.impl.UltimateEconomyVaultImpl.depositPlayer(UltimateEconomyVaultImpl.java:69) ~[?:?]
at com.ue.vault.impl.UltimateEconomyVaultImpl.depositPlayer(UltimateEconomyVaultImpl.java:58) ~[?:?]

^ and this not our issue. It is your EconomyPlayer/UltimateEconomy ask the author of that resource.


allow parent/child transaction ids

A transaction id allows us to trace the lifetime of a request handler through out the system. Some requests - sequence activation - have longer lifetimes and generate internal requests which inherit the same id. It is helpful if we however record sub requests with new transaction ids.

FWIW: OpenTracing seems to have this notion by default, maybe it's viable to fuse our transaction tracing with something more broad in the same manner?

FYI, I've done that for you in this PR that you rejected probably because of other incompatible PR with Zipkin-specific tracing

@jiri-kremser Could we seperate the two if it makes sense to do that?

@rabbah you mean break the PR 2413 into two pieces? (One adding open-tracing for simple actions and the second one for the compound actions)

@Jiri-Kremser i had a chance to review #2413 again. Indeed the invoke next action in a sequence generates a new span. I think this is close but also wondering if 1. can we bury the span inside a transaction id, and 2. we use somehow ties the start/end markers in so we don't have two mechanism doing the same thing.
It may be best to separate 1 & 2 in terms of the doing the work on the implementation but it makes sense to me to think about both in terms of the design.


Improve documentation for sign criteria

A common sign criterion in a cross-section assumes the z-axis is downward, as is the case with some commercial software.
By default, the calculate_bending_strength method from the GenericSectionCalculator class returns a negative value for theta=0, corresponding with My_min, and a positive value for theta=π/2, corresponding to My_max.
Improved documentation would clarify this behavior. See Point 5 in this file developed by @MestreCarlos  for further explanation.

Thanks! you are right, For sure the documentation must be clear on these assumptions.
Here we used a CRS that is X outwards the screen, Y to the right and Z upwards.
The signs returned are coherent with this CRS.

Issues related to theory reference in docs are collected in #185.


Can't upload data

I cannot upload data for two days when tapping the upload icon"Sending changes" appears for a moment, then the upload icon is still yellow and no data is uploaded. No POIs, no buildings data, no notes.
My wild guess is that I have been using Every Door and JOSM at the same time and it is possible that there was an object version conflict.
Force stopping and restarting Every Door does not help.
Haven't tried cleaning app memory, because I don't want to loose the data I want to upload.
Version 0.9.0 from Google Play.

First, wait for the 1.0 version: it's reviewing right now, and it has some fixes regarding uploading.
Also open the changes list in Settings, and check the errors.

I can only see the list of 31 changes waiting for upload and when I tap any of them, the change data opens. Can't see any error report.

In case nothing helps (but do wait for 1.0, it might), you have an option of downloading your changes in an osmChange format, to upload using JOSM, for example. After that you can clear the changes list in the editor.

I've already exported the file, but I'll wait for 1.0 just for sake of experiment :)

Just to let you know, the upgrade did not help

In the changes list, there is a "Pending" subtitle for every change not uploaded. For those that were, and failed, there will be an error message. Do check for these please.
Also open the system log (in the "about every door" item on the settings pane) and check for errors there.

I'm not sure where I should see these errors. I have this list of pending uploads:

and wherever I tap on it, I get the change info like this:

I can't see any error messages.
System log seems to be empty, but I tried sending it anyway.

The system log is cleared when the app is restarted, so it makes sense to check it only after you've tried uploading the data.

Rrrright, so the system log directly after trying to send the changes said I'm not logged in. The app was saying that I am logged in and logging off and on again helped.
So the issue comes down to app showing that I am logged in, while I was not.

@rmikke Perhaps it is possible you logged in at some time, and then later revoked EveryDoor access at https://www.openstreetmap.org/oauth2/authorized_applications ? (just a wild guess)

Thanks Ryszard, this replicates the same issue found by another user. I'll implement login checking in the next version, so such kind of error does not occur.

@mnalis I'm sure that was not the case. Authorization may expire. I'm not even sure OSM's OAuth allows permanent authorization.

Done in 2.0.


Add address space with peering script does not work

[Enter feedback here]

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

ID: 636aa53e-3ca0-7a30-fe16-7219f3e8d1a9
Version Independent ID: c503b39a-cd8a-669a-0882-27d8c13d3570
Content: Add IP address spaces to peered virtual networks - Azure Architecture Center
Content Source: docs/networking/prefixes/add-ip-space-peered-vnet.md
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @randycampbell
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 516589

We tried this since it was impossible still to add an address space to a peered Vnet...I'm guessing that the resync in the portal is yet to come 100%...
We also have more than one peering, whick is considered in the 'reestablish' section in the script, but not in the 'remove' step.
We have all vNets in different subscriptions...so this also fails.
And, adding back the peering is not possible if a resync has not been done on the remote peering.
I have tried to make it work better here:
Please reuse if you want to:
$IPAddressRange = "<IP_ADDRESS>/16"
$HubVNetSubscriptionName = "Folitest"
$HubVNetRGName = "rg-folitest-infra"
$HubVNetName = "vn-folitest"
Connect-AzAccount
#Set context to Hub VNet Subscription
Get-AzSubscription -SubscriptionName $HubVNetSubscriptionName | Set-AzContext
#end
#Get All Hub VNet Peerings and Hub VNet Object
$hubPeerings = Get-AzVirtualNetworkPeering -ResourceGroupName $HubVNetRGName -VirtualNetworkName $HubVNetName
$hubVNet = Get-AzVirtualNetwork -Name $HubVNetName -ResourceGroupName $HubVNetRGName
#end
#Remove All Hub VNet Peerings
foreach ($vNetPeeringOld in $hubPeerings){
Remove-AzVirtualNetworkPeering -VirtualNetworkName $HubVNetName -ResourceGroupName $HubVNetRGName -name $vNetPeeringOld.Name -Force
Write-Host $vNetPeeringOld.Name
}
#end
#Add IP address range to the hub vnet
$hubVNet.AddressSpace.AddressPrefixes.Add($IPAddressRange)
#Apply configuration stored in $hubVnet
Set-AzVirtualNetwork -VirtualNetwork $hubVNet
#end
foreach ($vNetPeeringNew in $hubPeerings)
{
# Get remote vnet name
$RemotevNetFullId = $vNetPeeringNew.RemoteVirtualNetwork.Id
Write-Host $RemotevNetFullId
$RemotevNetName = $RemotevNetFullId.Substring($RemotevNetFullId.LastIndexOf('/') + 1)
Write-Host $RemotevNetName
$vNetSubscriptionId = ($RemotevNetFullId).Split("/")[2]
Write-Host $vNetSubscriptionId
# Pull remote vNet object
Get-AzSubscription  -SubscriptionId $vNetSubscriptionId  | Set-AzContext
$vNetObj = Get-AzVirtualNetwork -Name $RemotevNetName
Write-Host $vNetObj.Name

# Get the peering from the remote vnet object
$peeringName = $vNetObj.VirtualNetworkPeerings.Where({$_.RemoteVirtualNetwork.Id -like "*$($hubVNet.Name)"}).Name
$peering = Get-AzVirtualNetworkPeering -ResourceGroupName $vNetObj.ResourceGroupName -VirtualNetworkName $RemotevNetName -Name $peeringName
Write-Host $peeringName
Write-Host $peering.Id

#Sync the remote peering with the new addressspace before reconnecting
Sync-AzVirtualNetworkPeering $peering

# Reset to initiated state
Set-AzVirtualNetworkPeering -VirtualNetworkPeering $peering

# Re-create peering on hub
Add-AzVirtualNetworkPeering -Name $vNetPeeringNew.Name -VirtualNetwork $HubVNet -RemoteVirtualNetworkId $RemotevNetFullId -AllowGatewayTransit

}

@Candelit Thanks for your question. We are checking on this and will respond to you soon.

We have this captured as an article to improve. Thank you for your feedback!

It appears this issue has been resolved.  If you are still experiencing issues, please re-open with additional information.


Updated external-snapshotter to 6.0.1 for 1.20 - 1.23

Issue #, if available:
Closes #995
Part of #986 releases
Description of changes:

Updated external-snapshotter to v6.0.1 for 1.20 - 1.23
Got rid of unneeded patch for some versions
Updated Golang versions because it looks like they did -- https://github.com/kubernetes-csi/external-snapshotter/blob/v6.0.1/release-tools/prow.sh#L89

/hold because idk what to do with dependencies and need Jackson's help

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/unhold


problem grid

Hi, I have problem with this
please help

as I remove this cascade of blocks
thanks

To clarify for future readers: This is a bug whereby if you have several events, when they wrap into a new row the vertical positioning will be incorrect.
I fixed it with the slightly hacky script below. It's triggered after the calendar events are loaded and  iterates on the events doing the following:

Checks if the event is further left on the page than the previous event (indicating it's been wrapped onto a new row)
Calculates the amount of top margin that must be removed to take this wrapping into account (and the wrapping of previous rows too)
Removes the excess top margin on all elements of that row

        onAfterViewLoad: function(view) {
            // if day view, fix calendar width bug
            if(view == "day"){
                var $previousEvent = null;
                var offsetToRemove = 0;
                $.each($('.day-event'), function(index, $event){
                    $event = $($event);
                    if($previousEvent == null){
                        $previousEvent = $event;
                        return;
                    }

                    // check if $event is further left than $previousEvent
                    // if it is, set offsetToRemove to the amount of top margin
                    // to remove for each following event
                    if( $event.offset().left < $previousEvent.offset().left ){
                        offsetToRemove = parseInt($previousEvent.css('margin-top')) + offsetToRemove;
                    }

                    // remove offsetToRemove form the top margin of this event
                    if(offsetToRemove != null && offsetToRemove > 0){
                        var currentMargin = parseInt($event.css('margin-top'));
                        var correctedMargin = (currentMargin - offsetToRemove) + "px";
                        $event.css('margin-top', correctedMargin);
                    }

                    $previousEvent = $event;
                });
            }
        },


Keyboard mode issue

Using keyboard mode, it will always input twice quickly when I press any of the buttons. That's can only happen in keyboard mode. And I'm sure there is no problem with my bottons.

This should be resolved on the upcoming release, we had an issue with debouncing that will be fixed on 0.7.8.

Closing accordingly, please reopen if you continue to have this problem on 0.7.8 (and potentially after tweaking your debounce delay).


Add "restart" button

Much like the plasma bot, provide a simple restart button for users to begin the workflow again, rather than requiring a typed command

This is handled via the bot context in other bots. I don't think this needs to be in the primary bot flow


Add Glyph Launcher

@Zoullx I'm really hesitant to add another launcher right now to be honest. I wanted to get all the bugs from the other parts of the code first... but if you can assure this works and not only that.. have you checked to see if you can run this in quiet mode or passive? I use a long command during the runtime to check this first. For example. Run glyph.exe  /q  or if it's an msi file then it's whole different structure you have to check for.

I've created chocolatey packages for all of these launchers and, unfortunately, there's no easy passive flag that can be passed to the launcher. However, I have checked to see if the install works on my own Steam Deck before creating the PR, but again, you have to progress through the installer manually. I am currently working on figuring out if there's some extra effort that can be put in to silently install the Glyph Launcher with the chocolatey package, but so far, I've only figured out how to uninstall silently. In terms of other issues with the script, I have fixes for an issue with not being able to move Rockstar to the SD card and I'm currently looking into how to fix the Humble Bundle login issue by looking at how it's done with Lutris and I just pushed a fix for the recreation of shortcuts in Steam.

@Zoullx wow you're amazing bro.. seriously these are all fixes that I've been thinking about but didn't know how to tackle yet, you're a blessing. Thank you. Yeah I merged your commit for the SD card, I couldn't believe I forgot to add that check haha and thank you for this shortcut fix as well. I didn't know capitalizing that was important for duplicates.

Hey, I installed all of these launchers manually on my Steam Deck originally, so it's really nice to have a script that does it all automatically, so thank you for making the script in the first place. As for the shortcuts, if Steam saves the shortcuts, it makes the appname and exe properties lowercase. Then when the script would try and check the AppName and Exe properties they would be blank because casing for stuff like that is important in Python. As for the Humble login issue, I'm close, I'm only missing the url being passed to the script, so then it doesn't get sent to the exe, but as soon as I figure that out I should have the PR good to go for that.

@Zoullx today I learned! Haha heck yeah as soon you got it let me know and I add it in! Honestly python is kind of annoying but I'm getting used to it. This is going to sound bad but forgive my spaghetti code I know it's a mess. Once things are stable I'll work on optimizing, going from bash and mixing in python is kind of hard but I'm getting used to it LOL

One of the next PRs that I'd like to put together is refactoring out a lot of the duplicated code into generic functions and then just call them passing in the relevant parameters.

@Zoullx looking forward to it brother! That would be tight! It would definitely help get rid of redundancies for sure. I'm going to go ahead and push this to main! Thank you again. 😊

@Zoullx I know this pull request was closed but bro! I hope you have been well! I just stumbled upon your chocolatey for Rockstar Games Launcher haha was wondering what were your thoughts in installing that silently? I also just realized you have other silent launchers as well and I wanted to pick your brain on silently installing things. If you have a discord, hit me up it's @moraroy


Cannot connect to managed DigitalOcean database

Describe the bug
I'm unable to connect to a managed DigitalOcean database. Localhost connections work fine.
To Reproduce
I've installed the client from the .deb file on the releases section. I'm then trying to connect to a DigitalOcean managed database. The host name is in the format of db-myclustername-do-user-1234567-0.b.db.ondigitalocean.com, the port is normally 25060.
When I hit "Test connection", I get confirmation the connection has been successfully made. When I "Connect", I receive 2 errors:
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"%vers%"' at line 1

and
TypeError: Cannot read properties of undefined (reading 'includes') at Store.connectWorkspace (file:///opt/Antares/resources/app.asar/dist/renderer.js:2:218222)

Application (please complete the following information):

KDE Neon 5.24 (Ubuntu 20.04)
Client 0.5.2, installed from the .deb file on the GitHub releases page

Hi @captainmackerel,
can you sent me the output of folloqing query?
SHOW GLOBAL VARIABLES LIKE '%sql_mode%'

Sure, collected via DBeaver, the output is:
REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION

DigitalOcean allows some of these settings to be changed via their admin, but not all.

Thank you, almost certainly the problem is ANSI_QUOTES.
Antares should support this mode, i will investigate to find why it doesn't work in your case.

Thanks, let me know if I can provide any more debug information or testing.
Nice work on the project - it's great to have a lightweight, functional Linux client.

I'm happy to see you appreciate this project 😄.
As i suspected the problem was ANSI_QUOTES support not properly working.
You will find the fix in upcoming release.


QueryRewrite: correctly handle weak/owned entities

Currently weak entities are not handled properly - we lose type entity type information when we generate entity queryable for the expanded entity. In the old pipeline we keep track of them using dictionary. ~We can do similar thing in the new pipeline or embed the entity type information directly into expression tree~

Note: Be sure to re-enable test disabled for #16360


[OpenAI] Update Samples + READMEs + CHANGELOG

Adding more samples, update README and CHANGELOG

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-openai


Devops/fairspc 23 deployment

Two jobs (workflows) added:

To package and push Helm Chart to repository (in GitHub). Triggered manually and by push to dev/release
To deploy Helm Chart of either input version or latest snapshot. Triggered manually only

Since the helm version is being updated here and also there is a new place where the helm charts are stored, could you update our documentation?
https://github.com/thehyve/fairspace/blob/dev/README.adoc#kubernetes-and-helm


Make 0 transparent in icons

As B is already WHITE, 0 should be transparent to help icons adjust to the Cesium background theme

I don't even understand what you are saying.

Right now, in :DCS icons, the following colors are true:
0=WHITE
1=BLUE
2=RED
3=BLACK
4=MAGENTA
5=GREEN
6=ORANGE
7=BROWN
8=NAVY
9=LTBLUE
A=YELLOW
B=WHITE
C=LTGRAY
D=MEDGRAY
E=GRAY
F=DARKGRAY

It would be better if 0=Transparent instead of 0=WHITE

I disagree. If someone wanted portions of their icon to be white; now if you change the background color it will no longer be white.

Is this issue worth reopening? Because you closing it makes me unable to reopen it.

added with 1331784


major refactoring of code generator package

The patches contained in this pull request are all stand-alone (they
may be applied individually without breaking the codebase) however
they are all small steps in a larger refactoring effort to clean up and
clarify the code generating functionality in ACK.
The pkg/model package is now exclusively used for structs that
describe the API objects and resources that are inferred from the
source API model files (in github.com/aws/aws-sdk-go/models/apis/).
All functionality that was outputting Go code that set SDK Input shapes
or CustomResource Spec and Status fields has been moved to a new
pkg/generate/code package and the previous methods like
pkg/model:CRD.GoCodeSetInput() have been renamed and simplified
into package-level functions to make their purpose more clear. For
example, CRD.GoCodeSetInput() is now pkg/generate/code.SetSDK().
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@A-Hilaly @mhausenblas @vijtrip2 @kumargauravsharma @nmvk @RedbackThomson the only effective way to review this pull request is going to be to go commit-by-commit, I'm afraid. I've tried to include descriptive commit messages for each individual commit to make the reviewing easier, but I recognize there are a lot of aggregate changes introduced here and apologize in advance for the lengthy code review.


Singularity install (non-nixOS) fails to run example container

Describe the bug
I successfully installed singularity on a non-nixOS linux system, then I went to try a demonstration container, a small alpine linux container
https://cloud.sylabs.io/library/_container/5baba5e594feb900016ea41c
I tried to open the container with
singularity run alpine-container bash

but failed to run the container, citing conflicting glibc versions
singularity run alpine-container bash
INFO:    Converting SIF file to temporary sandbox...
FATAL:   while extracting alpine-container: root filesystem extraction failed: extract command failed: /nix/store/10lpzbif47sl14z6cjr5mn7vq1w5c9p4-singularity-3.8.5/bin/singularity: /lib/x86_64
-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/10lpzbif47sl14z6cjr5mn7vq1w5c9p4-singularity-3.8.5/bin/singularity)
/nix/store/10lpzbif47sl14z6cjr5mn7vq1w5c9p4-singularity-3.8.5/bin/singularity: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /nix/store/10lpzbif47sl14z6cjr5mn7vq1
w5c9p4-singularity-3.8.5/bin/singularity)
: exit status 1

I tried to fix with LD_PRELOAD, but that can only fix one of the two versions, for some reason it appears to require both GLIBC_2.33 and 2.32.
Steps To Reproduce

Be on a non-nixOS system
Download the container from sylabs cloud (I did manually for some networking reasons)
https://cloud.sylabs.io/library/_container/5baba5e594feb900016ea41c and named it alpine-container
nix-shell -p singularity
singularity run alpine-container bash

Expected behavior
Should start a shell inside the container
Additional context
Add any other context about the problem here.
Notify maintainers
@jbedo (hi!)
Metadata
nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.15.0-117-generic, Ubuntu, 18.04.5 LTS (Bionic Beaver)`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.5.1`
 - channels(chris): `"nixpkgs-22.05pre340162.0c408a087b4"`
 - nixpkgs: `/home/chris/.nix-defexpr/channels/nixpkgs`

Hi @cfhammill! I think this is because it's using unsquashfs from the system not nixpkgs, would you be able to test my branch?
https://github.com/jbedo/nixpkgs/tree/singularity

Sure thing. I'm testing on a different computer using a linux vm, without switching to your branch I'm now getting
singularity exec alpine.sif bash
ERROR  : No setuid installation found, for unprivileged installation use: ./mconfig --without-suid

this is more along the lines of what I was expecting when I tried on the other machine - possibly a different issue. With sudo, and creating the directory /var/singularity/mnt/session I was able to get a shell inside the container.
A possibly important detail, on the system above nix was installed using nix-user-chroot, could this be related?
I will try your branch on the other machine likely early next week

The suid error is expected as it's not possible to have suid binaries in the nix store. We patch around this in the NixOS singularity module using some wrappers, on other systems there's not much we can do. singularity-tools does work on other systems (without root) as it uses a VM to build the image.
I don't think the nix-user-chroot will change anything.


Adding custom multiplier and injected through config

Fixes #
Description
Added code to allow a custom multiplier onto ondemand and spot pricing. This allows you to add a multiplier to prices that will be taken into consideration on which instance to use. This take's the same approach as autospotting (https://github.com/LeanerCloud/AutoSpotting/blob/master/START.md#configuration-of-autospotting). Prices can come from the Prayer account of enterprise customers this leads to a problem as we cannot get the price data.
How was this change tested?

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

Release Note

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hey @rwilliams-r7, thanks for taking the time to make cut this PR. When considering new feature requests, we usually request that contributors create a design doc to validate why this change is needed, and what are the considerations you've taken to design the feature. This is especially needed when making any API changes, which looks like this PR has.
If you've discussed this with a Karpenter maintainer, can you tag them in this as well? Otherwise, feel free to message us in the kubernetes/karpenter-dev channel.
If you're up for designing, please check out some guidelines we have on the website: https://karpenter.sh/v0.27.3/contributing/design-guide/

Prayer account

did you mean “Payer account”?

@rwilliams-r7 Marking this as stale until this is updated or a design doc is added. We'll close this in a few weeks if there's no objection or progress here.

@jonathan-innis @ellistarn I work with @rwilliams-r7 am I ok to create a design document for this?
Do I need to create a new PR since this is closed?

@snorlaX-sleeps Yes! Feel free to create a design doc with the proposal and use-cases. It's probably preferable at this point to open a new PR with the design doc when you have it.


Dynamic Labels Registration

Critical Changes
Changes

Adding fields to Summit Event object to configure labels in Registration Page
Changing SummitEventsRegister

Issues Closed
#204

@JohnnyMac99 fields and layout are on this branch already if you need them


Look into using AFEB globally

Especially how we would handle the config.json file in a global installation.
Now the user has to choose his install path, so opening config.json is no problem.
In a global install, we can't ask the user to go look for \AppData\Roaming\npm\node_modules (Windows example). Maybe if we have a shell command that opens the config file, example: afeb config

Idea: have a user friendly express form that handles the config.json file. afeb config could boot up that express server, where the user would simply fill out the form.

fixed in v2.2.0


Possible Linux/ macOS port?

I have some analysis scripts for pcap (should also work on pcapng) files but they are tested only on Linux. Would it be feasible to port etl2pcapng to be able to run on Linux (and maybe macOS) as well?
There seems to be some Windows dependencies in the source code. I am not sure how hard it would be to abstract those away.

@KaliszAd , unfortunately the ETL format is proprietary AFAIK and therefore the only way to parse an ETL file is with the ETW APIs (OpenTrace, etc) which are only available on Windows, and I think it's unlikely they will be made crossplat any time soon.
So you'll have to run etl2pcapng on a Windows system, then you can analyze the pcapng file in *nix.

There is a better solution to this problem. https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/converting-etl-files-to-pcap-files/ba-p/1133297

@KaliszAd , unfortunately the ETL format is proprietary AFAIK and therefore the only way to parse an ETL file is with the ETW APIs (OpenTrace, etc) which are only available on Windows, and I think it's unlikely they will be made crossplat any time soon.
So you'll have to run etl2pcapng on a Windows system, then you can analyze the pcapng file in *nix.

Thank you for your effort. I of course already convert ETL-Files on Windows to pcapng...
I am also aware of other options.
Probably the best would be just to open up the ETL spec and let the community do its thing without tedious reverse engineering efforts.