Can not install Nix

Issue description
Last login: Thu Nov  1 18:13:28 on ttys016
[Oh My Zsh] Would you like to update? [Y/n]: 	curl https://nixos.org/releases/nix/nix-2.0/install | shY
nvm is not compatible with the npm config "prefix" option: currently set to "/usr/local/Cellar/nvm/0.33.11/versions/node/v6.11.1"
Run npm config delete prefix or nvm use --delete-prefix v6.11.1 --silent to unset it.
➜  ~    curl https://nixos.org/releases/nix/nix-2.0/install | sh
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  2455  100  2455    0     0   1450      0  0:00:01  0:00:01 --:--:--  1450
downloading Nix 2.0 binary tarball for x86_64-darwin from 'https://nixos.org/releases/nix/nix-2.0/nix-2.0-x86_64-darwin.tar.bz2' to '/var/folders/hq/xc823d1x0y157v7k_swfl7wc0000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.jNfpUE5I'...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 25.0M  100 25.0M    0     0  1502k      0  0:00:17  0:00:17 --:--:-- 1775k
Switching to the Multi-User Darwin Installer
Welcome to the Multi-User Nix Installation
This installation tool will set up your computer with the Nix package
manager. This will happen in a few stages:

Make sure your computer doesn't already have Nix. If it does, I
will show you instructions on how to clean up your old one.

Show you what we are going to install and where. Then we will ask
if you are ready to continue.

Create the system users and groups that the Nix daemon uses to run
builds.

Perform the basic installation of the Nix files daemon.

Configure your shell to import special Nix Profile files, so you
can use Nix.

Start the Nix daemon.

Would you like to see a more detailed list of what we will do?
No TTY, assuming you would say yes :)
We will:

make sure your computer doesn't already have Nix files
(if it does, I  will tell you how to clean them up.)
create local users (see the list above for the users we'll make)
create a local group (nixbld)
install Nix in to /nix
create a configuration file in /etc/nix
set up the "default profile" by creating some Nix-related files in
/var/root
back up /etc/bashrc to /etc/bashrc.backup-before-nix
update /etc/bashrc to include some Nix configuration
back up /etc/zshrc to /etc/zshrc.backup-before-nix
update /etc/zshrc to include some Nix configuration
load and start a LaunchDaemon (at /Library/LaunchDaemons/org.nixos.nix-daemon.plist) for nix-daemon

Ready to continue?
No TTY, assuming you would say yes :)
---- let's talk about sudo -----------------------------------------------------
This script is going to call sudo a lot. Normally, it would show you
exactly what commands it is running and why. However, the script is
run in a headless fashion, like this:
$ curl https://nixos.org/nix/install | sh
or maybe in a CI pipeline. Because of that, we're going to skip the
verbose output in the interest of brevity.
If you would like to
see the output, try like this:
$ curl -o install-nix https://nixos.org/nix/install
$ sh ./install-nix
Password:
---- hardware report -----------------------------------------------------------
Cores:	12
---- Nix config report ---------------------------------------------------------
Temp Dir:	/var/folders/hq/xc823d1x0y157v7k_swfl7wc0000gn/T/tmp.XXXXXXXXXX.f29Khka6
Nix Root:	/nix
Build Users:	32
Build Group ID:	30000
Build Group Name:	nixbld
build users:
Username:	UID
nixbld1:	30001
nixbld2:	30002
nixbld3:	30003
nixbld4:	30004
nixbld5:	30005
nixbld6:	30006
nixbld7:	30007
nixbld8:	30008
nixbld9:	30009
nixbld10:	30010
nixbld11:	30011
nixbld12:	30012
nixbld13:	30013
nixbld14:	30014
nixbld15:	30015
nixbld16:	30016
nixbld17:	30017
nixbld18:	30018
nixbld19:	30019
nixbld20:	30020
nixbld21:	30021
nixbld22:	30022
nixbld23:	30023
nixbld24:	30024
nixbld25:	30025
nixbld26:	30026
nixbld27:	30027
nixbld28:	30028
nixbld29:	30029
nixbld30:	30030
nixbld31:	30031
nixbld32:	30032
Ready to continue?
No TTY, assuming you would say yes :)
~~> Setting up the build group nixbld
Exists:	Yes
~~> Setting up the build user nixbld1
Exists:	Yes
IsHidden:	Yes
 attribute status: eDSPermissionError
 DS Error: -14120 (eDSPermissionError)
---- oh no! --------------------------------------------------------------------
Jeeze, something went wrong. If you can take all the output and open
an issue, we'd love to fix the problem so nobody else has this issue.
:(
We'd love to help if you need it.
If you can, open an issue at https://github.com/nixos/nix/issues
Or feel free to contact the team,

on IRC #nixos on irc.freenode.net
on twitter @nixos_org
➜  ~

Steps to reproduce
curl https://nixos.org/releases/nix/nix-2.0/install | sh
Technical details
➜  ~ nix-shell -p nix-info --run "nix-info -m"
zsh: command not found: nix-shell
XD
I'm on macOS Mojave 10.14

Yep, this is the wrong repo.


New Look for jMAVSim

This brings the jMAVSim upgrade from https://github.com/PX4/jMAVSim/pull/62 with better textures and improved rendering settings:

@hamishwillee fyi

Thanks @bkueng - looks cool. I'll update images in https://github.com/PX4/Devguide/issues/330

@bkueng @dagar CI mission tests are failing.

Jenkins test this please.

Jenkins is using gazebo, right? It has been flaky for me several times lately.

@bkueng Just ran make posix jmavsim off master. As you can see the sky texture is not displaying. Worse, when you fly up this makes the compass invisible, as it is white.

It worked for me on Mac OS.

@hamishwillee the texture could be too large to fit into video memory. We can fallback to the other in that case. Do you see an error message, like Error, could not load texture on the console?

Hi @bkueng,
This is on a ubuntu VM running in windows ... so it is possible. I didn't get that error, but I did get some libEGL warnings ...
BUILD SUCCESSFUL
Total time: 0 seconds
Options parsed, starting Sim.
Starting GUI...
3D [dev] 1.6.0-pre12-daily-experimental daily

libEGL warning: bad surface attribute 0x3080
libEGL warning: bad surface attribute 0x3080
libEGL warning: bad surface attribute 0x3080
libEGL warning: bad surface attribute 0x3080
Init MAVLink
INFO  [simulator] Got initial simulation data, running sim..
INFO  [pwm_out_sim] MODE_8PWM
INFO  [tone_alarm] startup
INFO  [mavlink] mode: Normal, data rate: 4000000 B/s on udp port 14556 remote port 14550
INFO  [mavlink] mode: Onboard, data rate: 4000000 B/s on udp port 14557 remote port 14540
INFO  [mavlink] MAVLink only on localhost (set param MAV_BROADCAST = 1 to enable network)
INFO  [logger] logger started (mode=all)
INFO  [logger] log root dir created: rootfs/fs/microsd/log
pxh> INFO  [logger] Start file log
INFO  [logger] Opened log file: rootfs/fs/microsd/log/2017-10-31/22_41_20.ulg
INFO  [lib__ecl] EKF aligned, (pressure height, IMU buf: 15, OBS buf: 14)
WARN  [lib__ecl] EKF stopping navigation

sky texture is not displaying
Sorry to say: I have the exact same problem in my VMWare Ubuntu 16.04 setup.

I use a VMWare graphics library workaround: export SVGA_VGPU10=0 because otherwise gazebo doesn't start. I just tried to set the flag to 1 but this makes everything worse: I get error messages on simulator start, almost the entire picture is white and java even crashes shortly after without any user input.

Time for a proper issue. Created above as #8229


Automatic cancelling the take profit position

Whenever there a position got filled, there is a limit order placed to take profits, but the problem is whenever the market moves, the market moves very quickly and the limit order places gets cancelled in few seconds and gets recreated at the same position, but when the price comes on that take profit level "for a nano second" the limit order gets cancelled before so it couldn't able to fill that position.
I just want the client to not cancel the take profit position.
here's the screenshot please take a look

Latest version 1.7

Apparently im new to this software. I had it figured that it was supposed to be like that and there's one already one option to adjust the time. This is amazing software. Thank you for all your efforts.


Update background image and adjust styling

Title: Update background image and adjust styling
Description:
This PR addresses issue #61, where the existing background image was blurry. Additionally, adjustments to the styling were required to ensure that the new image fits well within the layout.
Changes Made:

Updated the background image with a higher-resolution image.
Modified CSS styles to accommodate the new image dimensions.

Screenshot:

Hii @unm07 try to make this bg image look good on mobile view also. Means responsiveness.

@unm07 ?

I apologize for the delay in addressing the issue. I'm working on it and will provide an update soon.


feat: allow passing in user-defined context to Argo client

Checklist:

[x] My organization is added to USERS.md.

Hello, this PR adds a Context field to the Argo Client opts so a user-defined context can be used in place of context.Background(). Basically go programs using the API Client might want the argo client to respect ex. context cancellation on a parent context.
I tested by running make cli and editing the CLI to use a custom context.
With thanks to the reviewers :)

@karenin-overseas are you planning to address the review comment and get ready for review?

@karenin-overseas are you planning to address the review comment and get ready for review?

Hi @sarabala1979 yes! I'll comment when it's ready for review.

Defunct: #6667


Add operator mappings

Makes sense to provide these, thanks :+1:

Makes sense to provide these, thanks :+1:


Cannot delete tags because of existing posts

Describe the bug
This may be more of a design decision than a bug, but it seems like the questions/answer is being soft-deleted, which means that you cannot delete the tags if they where ever used on a question/answer. If this is correct, then I think it must be a mistake, that softdelete have not been implemented for the tags aswell.
In general i think it should be possible for an administrator to delete / modify tags created by the community. I suggest to be able to delete a tag, even if it is used on an active post.
To Reproduce
Steps to reproduce the behavior:

Create a question with a new tag that havent been used before
Delete the question
Delete the new tag

Expected behavior
The tag should show as being used on 0 questions and you would be able to delete the tag
Actual behavior
The tag is shown as being used on 1 questions, and you cannot delete the tag.
Platform (please complete the following information):

Device: [e.g. Desktop, Mobile]
OS: [e.g. macOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

This could be done as a part of a greater enhancement of the tags functionality, where it was made possible for an administrator to manage community created tags better. I think deleting, merging tags, creating synonyms and editing tags is highly relevant in order to moderate the tags created by various different users.

@LinkinStars I can't reproduce, did you fixed in v1.2.0 already?

@fenbox @LinkinStars I am using the Helm Chart. Current version is 1.0.7
Anything preventing this from being upgraded to 1.2.0?

Forget that. I just checked, and the actual version is 1.2.0
It was just the chartVersion that wasnt updated. Also I think it is a mistake to set the images.tag to latest. Shouldn't that be the same version as the chart AppVersion?

Spend some more time looking into it, and I couldnt figure out how to reproduce it. I had 2 tags that was shown as being related to question that didnt existsed anymore.
I ended up just clearing them from the DB.


Issue in creating recursive struct type

import ballerina.lang.system;

function main (string[] args) {
    Node root = {value:1};
    Node child = {value:2, parent:root};
    root.child = child;
    system:println(root);
}

struct Node {
    int value;
    Node child;
    Node parent;
}

If we run the above code, it will result in the following error.
error: ballerina.lang.errors:Error
	at println(<native>:0)
	at main(main.bal:7)

Checked how the GO Language handle this situation using the sample program below.
package main

import (
	"fmt"
)

func main() {
	root := Node{value: 1}
	child := Node{value: 2, parent: root}
	root.child = child
	fmt.Println(root)
}

type Node struct {
	value  int
	parent Node
	child  Node
}

It will give the following error at the compile time.
main.go:19: invalid recursive type Node

Still we have issues in defining recursive structure. It goes in an infinite loop

This is fixed now.
A test case can be found at: https://github.com/ballerina-platform/ballerina-lang/blob/v0.970.0-beta12/tests/ballerina-test/src/test/java/org/ballerinalang/test/object/ObjectTest.java#L456
Hence closing the issue.


Transformer request to Predictor should be Non Blocking

/kind feature
Describe the solution you'd like
Current requests from the Transformer to the Predictor are blocking: https://github.com/kubeflow/kfserving/blob/49eae18d669222cc6f923f7185c8000c17464f4c/python/kfserving/kfserving/kfmodel.py#L47 This will block the executing Tornado process, leading to a max concurrency through a transformer of the number of Tornado processes, which in the transformer is automatically the number of CPUs in the system. These threads are mostly idle, and blocked, wasting resources. By using an async HTTP call each transformer instance could handle a lot more simultaneous requests:
https://www.tornadoweb.org/en/stable/guide/async.html

@salanki Thanks for creating the issue! I actually started to experiment async a while ago but did not get time to make it further(https://github.com/kubeflow/kfserving/compare/master...yuzisun:async?expand=1).
Tornado workers are multiprocessing and each worker is single threaded, in theory async handler helps when each worker is blocked on IO to predictor and can switch to do other CPU task like preprocessing. Would you be interested in benchmarking this and make the contributions?

/good-first-issue

Unless the transfomers are incredibly resource heavy, threads will spent most of their time blocked waiting for IO in the current implementation, so it will definitely have a big impact.

I have this implemented now. Will PR in the morning.


Sanity Studio Crashes When Inputting Text in Link Field Before Selecting Link

Intermittent Studio Crash When Editing Link Field with enableText Option
Hello,
I've encountered an issue with the sanity-plugin-link-field in my Sanity Studio, which causes the studio to crash when I try to interact with a link field configured with enableText: true.
Steps to Reproduce:

Add a link field to the schema with the following configuration:

defineField({
     name: 'link',
     title: 'Link',
     type: 'link',
     options: {
       enableText: true,
       textLabel: 'Link Text',
     }
   })

Open the document in Sanity Studio.
Attempt to write in the text field for the link before setting a URL or internal reference.

Expected Behavior:
The text input should be usable without the studio crashing, regardless of whether a URL or internal reference has been set.
Actual Behavior:
The studio crashes with the following error:
Error: Cannot read properties of undefined (reading 'options')
at CustomLinkInput (webpack-internal:///(app-pages-browser)/./node_modules/sanity-plugin-link-field/dist/index.mjs:1184:22)

Workaround:
Temporarily removing enableText and then re-adding it seems to reinitialize the component state and prevents the crash when reattempting the above steps.
Environment:

Sanity Studio version: 3.31.0
sanity-plugin-link-field version: 1.1.1
Browser: [Chrome/124.0.6367.91]
OS: [Windows/11]

Has anyone else experienced similar issues or does anyone have insights on why this might be happening? Any help or guidance would be greatly appreciated!
Thank you!

Hey @mariusfredriks1, thanks for opening this and sorry for the hassle. Version v1.1.2 should fix this!


HTTP3 demo config has errors

description
the http3 demo configuration has a configuration error here:
https://github.com/envoyproxy/envoy/blob/72bf41fb0ecc039f196be02f534bfc2c9c69f348/configs/envoyproxy_io_proxy_http3_downstream.yaml#L16-L28
trying to load this throws the following error:
ERROR (validation failed): configs/envoyproxy_io_proxy_http3_downstream.yaml
Failed to parse static_resources field: Failed to parse listeners field: Failed to parse filter_chains field: Failed to parse transport_socket field: Message type "envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext" has no field named "downstream_tls_context".
 Available Fields(except extensions): ['commonTlsContext', 'requireClientCertificate', 'requireSni', 'sessionTicketKeys', 'sessionTicketKeysSdsSecretConfig', 'disableStatelessSessionResumption', 'sessionTimeout', 'ocspStaplePolicy']....

currently this problem is hidden from CI as the listeners field is repeated and this entire block is ignored (i found this linting the yaml)

cc @alyssawilk

Hi @phlax, I think the config should be like below
           name: envoy.transport_sockets.quic
           typed_config:
             "@type": type.googleapis.com/envoy.extensions.transport_sockets.quic.v3.QuicDownstreamTransport

@mk46, do you want to PR a fix ?
if you do - dont forget to remove the additional listeners
@alyssawilk can you confirm that this was the intended config ?

See my change https://github.com/mk46/envoy/commit/a58423f11fa424dd9811dd579441741c4ecfb529. I have tested with and without a UDP listener.

seems right to me - ill assign this ticket to you

Hey @adisuissa it seems pretty broken that Envoy would ignore half the config due to what's basically a yaml error, without warnings of any kind.  @phlax is working on linting our example configs but I'm wondering if we could do better in-Envoy to detect and reject configs like this.  WDYT?


Add ReactiveUserControl for XAML platforms.

This PR adds a ReactiveUserControl<TViewModel> for XAML platforms. It is the simplest possible thing that works and is intended to supersede #349 in the absence of a reason for the complexity of that solution.

I gave a reason for the complexity of my solution. It has to do with isolating the DataContext from inside the usercontrol from the datacontext outside the usercontrol.

I get the isolation thing. What I don't get is why you're overriding the UC's DataContext from the outside. If you don't do that, there's no need for the added complexity.

It's the other way round. If you set data context from the inside then when
you try to apply bindings from the outside your data context is the one
from the inside instead of the lexical xaml scope you would expect.
On Thu, 24 Sep 2015 09:18 Kent Boogaart<EMAIL_ADDRESS>wrote:

I get the isolation thing. What I don't get is why you're overriding the
UC's DataContext from the outside. If you don't do that, there's no need
for the added complexity.
—
Reply to this email directly or view it on GitHub
https://github.com/reactiveui/ReactiveUI/pull/943#issuecomment-142837077
.

Maybe I'm being thick, but I'm not getting it. Why would you set the DC twice, whether it be from the inside or the outside? Can you give me a concrete example of where this would be necessary?
The fact is, I'm successfully using my solution in a non-trivial app and I've not run into any need for this.

If you set the DataContext on a user control from inside it is exactly the
same as if you set the DataContext from outside. If you do that then
bindings don't work as the user might expect.
However this is only important if you would like to use DataContext inside
your user control. I suspect that you just use the ViewModel property.
Hard to write example at the moment as I'm on my mobile sorry.
On Thu, 24 Sep 2015 11:58 Kent Boogaart<EMAIL_ADDRESS>wrote:

Maybe I'm being thick, but I'm not getting it. Why would you set the DC
twice, whether it be from the inside or the outside? Can you give me a
concrete example of where this would be necessary?
The fact is, I'm successfully using my solution in a non-trivial app and
I've not run into any need for this.
—
Reply to this email directly or view it on GitHub
https://github.com/reactiveui/ReactiveUI/pull/943#issuecomment-142878378
.

I think I get what you're saying, but this counts as a big reason not to include such an implementation in RxUI because it is non-idiomatic. Using RxUI bindings has a lot of advantages over WPF bindings.
That said, I see no reason why you couldn't extend the ReactiveUserControl<T> provided by RxUI and have it bind the ViewModel to your DataContext.

I don't use RXUI bindings. With Resharper it does static analysis on the XAML and allows me to do rename refactor through XAML to view model. In this case RXUI binding have no advantages.

Your solution is only useful if used with R#? Sounds like you're making my argument for me :)
But seriously, there's more advantages to RxUI bindings, including:

they're all in one place! And this is consistent across all your views. No more digging through reams of XAML to tweak bindings
simple and more powerful conversion of data than using value converters. Just provide a Func<TOld, TNew> and you can do conversions inline. If you need more power, you can write an IBindingTypeConverter and either manually pass it in, or register it so it is used automatically for relevant bindings
memory management. It's super easy to drop all your bindings when your views are deactivated
full control over signalling when the view property has changed, and thus that the VM property should be updated. No more picking between the update source triggers that WPF decides are appropriate - now you have full control

Anyway, if you're happy with what you're doing then by all means don't let me try and talk you out of it. I guess the point is that we should be pushing RxUI consumers along the idiomatic, pit of success, path.

Rx binding don't work with data templates. So that makes them pretty much
useless.
On Fri, 25 Sep 2015 08:00 Kent Boogaart<EMAIL_ADDRESS>wrote:

Your solution is only useful if used with R#? Sounds like you're making my
argument for me :)
But seriously, there's more advantages to RxUI bindings, including:

they're all in one place! And this is consistent across all your
views. No more digging through reams of XAML to tweak bindings
simple and more powerful conversion of data than using value
converters. Just provide a Func and you can do conversions inline. If you
need more power, you can write an IBindingTypeConverter and either
manually pass it in, or register it so it is used automatically for
relevant bindings
memory management. It's super easy to drop all your bindings when
your views are deactivated
full control over signalling when the view property has changed, and
thus that the VM property should be updated. No more picking between the
update source triggers that WPF decides are appropriate - now you have full
control

Anyway, if you're happy with what you're doing then by all means don't let
me try and talk you out of it. I guess the point is that we should be
pushing RxUI consumers along the idiomatic, pit of success, path.
—
Reply to this email directly or view it on GitHub
https://github.com/reactiveui/ReactiveUI/pull/943#issuecomment-143137073
.

From the man himself.
http://stackoverflow.com/questions/25466260/bind-data-inside-listbox-using-code-behind-in-reactiveui
I asked this question years ago. I was impressed with the ability to do
type safe data bindings but without the ability to do data templates you
end up with a mix of type safe and un typesafe bindings. There is no
idomatic RXUI way to do bindings if you can't be consistent. The only way
to get it to work is to push all datatemplates into user-controls which is
generally not too practical.
On Fri, Sep 25, 2015 at 8:49 AM, Brad Phelan<EMAIL_ADDRESS>wrote:

Rx binding don't work with data templates. So that makes them pretty much
useless.
On Fri, 25 Sep 2015 08:00 Kent Boogaart<EMAIL_ADDRESS>wrote:

Your solution is only useful if used with R#? Sounds like you're making
my argument for me :)
But seriously, there's more advantages to RxUI bindings, including:

they're all in one place! And this is consistent across all your
views. No more digging through reams of XAML to tweak bindings
simple and more powerful conversion of data than using value
converters. Just provide a Func and you can do conversions inline. If you
need more power, you can write an IBindingTypeConverter and either
manually pass it in, or register it so it is used automatically for
relevant bindings
memory management. It's super easy to drop all your bindings when
your views are deactivated
full control over signalling when the view property has changed,
and thus that the VM property should be updated. No more picking between
the update source triggers that WPF decides are appropriate - now you have
full control

Anyway, if you're happy with what you're doing then by all means don't
let me try and talk you out of it. I guess the point is that we should be
pushing RxUI consumers along the idiomatic, pit of success, path.
—
Reply to this email directly or view it on GitHub
https://github.com/reactiveui/ReactiveUI/pull/943#issuecomment-143137073
.

Moving the XAML from inline into UserControls is exactly what I do and don't find it impractical. In fact, I find it results in better-factored, easier to understand XAML. The only downside is needing to explicitly bind the VM:
<DataTemplate>
    <views:SomeView ViewModel="{Binding}"/>
</DataTemplate>

A little sacrifice for a lot of gain.


IP lookups on lists of subnets

@mccanne and I were recently discussing the use of ZNG maps to hold threat intel data. When looking some of the Emerging Threats data, I noticed how some is single-IP-based and some is subnet-based. Therefore if you had a single IP (typical if considering a single flow) and wanted to check if it was a match against any of the subnet entries, you'd need to do the CIDR lookup.
@mccanne said he had an idea to prototype this. His wording at the time:

You really want to create an instance of a function that's kind of a closure of the subnets.

A community user recently had an inquiry this would have helped with on a public Slack thread:

how do I filter our private address space in Brim?

Just to refresh on where things stand currently (Zed commit 793260a), we've got the literals to create things like sets of IPs and sets of nets, then the in operator to test like-for-like membership, e.g.:
$ cat private_addrs.zed
const private = |[<IP_ADDRESS>, <IP_ADDRESS>]|;

$ cat private_cidrs.zed
const private = |[<IP_ADDRESS>/8, <IP_ADDRESS>/12, <IP_ADDRESS>/16]|;

$ cat input.zson
{myaddr:<IP_ADDRESS>, mynet:<IP_ADDRESS>/8}
{myaddr:<IP_ADDRESS>, mynet:<IP_ADDRESS>/16}

$ zq -z -I private_addrs.zed 'myaddr in private' input.zson
{myaddr:<IP_ADDRESS>,mynet:<IP_ADDRESS>/8}

$ zq -z -I private_cidrs.zed 'mynet in private' input.zson
{myaddr:<IP_ADDRESS>,mynet:<IP_ADDRESS>/16}

However, what's still missing is something like that in operator, but to check if an address is within one of the many subnets in the set. @mccanne and were discussing it today and he acknowledged it should not be too difficult given all the other progress that's been made with the language, so I'm marking this as an item to consider after we get this next GA release wrapped.

With the building blocks that are available in Zed since this issue was last revisited, it's now possible to piece together this logic. Here's a working example using current Zed at commit 26783dc.
$ zq -version
Version: v1.7.0-18-g26783dcd

$ cat addrs.zson
{myaddr:<IP_ADDRESS>}
{myaddr:<IP_ADDRESS>}
{myaddr:<IP_ADDRESS>}

$ cat addrs-in-subnets.zed
const private = |[<IP_ADDRESS>/8, <IP_ADDRESS>/12, <IP_ADDRESS>/16, <IP_ADDRESS>/24]|

over private with myaddr => (
 matches := union(cidr_match(this, myaddr) ? this : null)
 | over matches => (
   str_matches:=collect(string(this))
   | yield {str_matches}
 )
 | yield {myaddr,str_matches}
)
| yield str_matches==null ?
    "The address ${myaddr} is not in any private subnets" :
    "The address ${myaddr} is in private subnets: ${join(str_matches, ',')}"

$ zq -z -I addrs-in-subnets.zed addrs.zson
"The address <IP_ADDRESS> is not in any private subnets"
"The address <IP_ADDRESS> is in private subnets: <IP_ADDRESS>/16,<IP_ADDRESS>/24"
"The address <IP_ADDRESS> is in private subnets: <IP_ADDRESS>/8"

Some additional thoughts:

The inner logic to create str_matches would have been unnecessary if I'd been able to output matches directly via string interpolation, so I've opened #4493 to see if we can address that in the future.
User Ops (#4152) would make all of this easier to define & re-use.
After writing this up, I realized that if the user was content with just a boolean true/false output (instead of the list of matching subnets the script above generates) that might be possible by enhancing the existing cidr_match() function. I've opened #4494 to propose this.

Given that there's at least a way to accomplish it, though, I'm going to close this issue.


Can you help me to host this emoji button 100% locally!!

I have tried like 5h now.Can't figure out how to host locally .It shows different errors every time.

What do you mean by "host locally"?
What environment? Using npm/a bundler?
Need more details.

Also some example error messages might help.

Also see:
https://github.com/selfteaching/How-To-Ask-Questions-The-Smart-Way


Middleware Documentation is out of date.

Version
v2.2.0
Reproduction link
https://nuxtjs.org/guide/routing#middleware
Steps to reproduce
Follow the example as posted in the documentation. i.e. the middleware one.
What is expected ?
For it to work
What is actually happening?
there is no such thing as context.isServer or context.isClient in 2.2 the documentation should state process.client, process.server instead.
Additional comments?
Documentation as a wiki would be better imho :)

This bug report is available on Nuxt community (#c8027)

@opgbaudouin Nvm, addressed it in https://github.com/nuxt/docs/pull/888 ☺


Add ResNet implementation with pre-trained weights

Issue #11
This PR adds a Burn implementation for the ResNet family of computer vision models. Implementation and weights are based on torchvision.
TO-DO

[x] ResNet implementation for resnet-{18, 34, 50, 101, 152}
[x] Inference example
[x] Use PyTorchFileRecorder to import weights
[ ] Switch to next Burn release version

The Cargo.toml file currently points to a local workspace copy of Burn since parsing the resnet weights with_key_remap requires a fix that came in after the 0.12.1 release and a fix on Candle's side to handle module parameters with pickle

Addressed the changes for the current version.
Would be great to have a version that includes the fixes but that also depends on Candle releasing a new version with the module parameters fix for pickle.


Bennett Bot reports that "op_deploy failed"

A Slack notification reported:

Command op_deploy failed (find logs in /tmp/ebmbot/op_deploy/20230904-152225). Calling tech-support.

The corresponding stderr contains this:
Fatal error: No changes to pull from origin!

Aborting.

Likely a blip.


[QUESTION] Is it possible to provide multiple templates

is it possible to provide multiple templates?
I want to translate the blog into another language, but there's no way to customize it, I'm looking for a way to customize all the templates

Yes. You can use different categories for different languages using different templates. It is documented here.
For example:
plugins:
  - blogging:
      dirs:
        - blogs_english
      template: path/to/template/for/english

      categories:
        - name: chinese
          dirs:
            - blogs_chinese
          template: path/to/template/for/chinese

Thanks, I didn't understand the application of this categories


Add filters to course page for admins.

Do all work for this task in a branch called issue-55

Copy the filters for users for admin pages.


"use <script> inside tag" rule

Summary
Proposed changes:

always use <script> inside tag.

Checklist

[X] The changes only affect or contain one style guide rule or section.
[X] The changes are in style guide format.
[X] The new style guide section has an entry in the Table of Contents (only if changes introduce new section).
[X] The changes can be merged into the target branch without conflicts.

the examples (recommended / avoid sections) are markup, not javascript. So the comments should be converted to <!-- and --> as well.
/nitpick mode off
Good section, ready when up to me

you're totally right! fixed.

closed by 8050cff

closed by 8050cff


Cascade events when they start at the same time

Currently, two events that start at the same time will overlap in the drawing. This pull requests fixes that by changing the cascading condition to include cascading when events start at the same time.

Hi @gisellemnr , thanks for the fix.
I am fixing another issue you created yesterday. There will be a new release soon with 2 of them soon.

Great! Thank you.
It is a great library, precisely what I needed 🙂


ERROR: Running the get-hooks hook (sdk_config_load_error)

I received the following error when running the slack run command using the bolt-js-starter-template -b future
Slack Version: Using slack v2.9.1
slack run
Check {REDACTED} for full error logs

🚫 There was an error while reading the Slack Configuration file (`slack.json`) or running the `get-hooks` hook (sdk_config_load_error)

Error Details:

1: There was an error while reading the Slack Configuration file (`slack.json`) or running the `get-hooks` hook (sdk_config_load_error)
Suggestion: Run `slack doctor` to check that your system dependencies are up-to-date.

Suggestion:

Run `slack doctor` to check that your system dependencies are up-to-date.

I then tried running the slack doctor
slack doctor
Check {REDACTED} for full error logs

🚫 There was an error while reading the Slack Configuration file (`slack.json`) or running the `get-hooks` hook (sdk_config_load_error)

Error Details:

1: There was an error while reading the Slack Configuration file (`slack.json`) or running the `get-hooks` hook (sdk_config_load_error)
Suggestion: Run `slack doctor` to check that your system dependencies are up-to-date.

Suggestion:

Run `slack doctor` to check that your system dependencies are up-to-date.

This is the content of the slack.json file
{
  "hooks": {
    "get-hooks": "npx -q --no-install -p @slack/bolt slack-cli-get-hooks"
  }
}

I am also unable to run slack version or any slack CLI command inside the same directory as they all fail with the same error. Running slack doctor outside of the directory works without any issues and I proceed as normal.

:wave: We've determined this was caused by extra debugging information being output by the hooks command, causing this error between the hook and CLI.
Going to close this issue now, but for future reference and readers this can be debugged by running the following command from your project directory in the terminal:
$ npx -q --no-install -p @slack/bolt slack-cli-get-hooks

With an ideal output looking something like...
{"hooks":{"get-manifest":"npx -q --no-install -p @slack/bolt slack-cli-get-manifest","check-update":"npx -q --no-install -p @slack/bolt slack-cli-check-update","start":"npx -q --no-install -p @slack/bolt slack-cli-start"},"config":{"watch":{"filter-regex":"^manifest\\.(ts|js|json)$","paths":["."]},"sdk-managed-connection-enabled":true}}


feat: add support for alias, label, and unknown issuer names

Summary of Changes
Add support for connection alias, connection label, and a fallback to Unknown for issuer names (so we don't end up using their connectionId so often)
What it looked like before:

What it looks like now:

Related Issues
#660
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Good changes--would it make sense to make the default 'Contact' or 'Unknown Contact'? Rather than having an empty space where a contact name should be? 🤔

Good changes--would it make sense to make the default 'Contact' or 'Unknown Contact'? Rather than having an empty space where a contact name should be? 🤔

Yes, let's go with 'Unknown Contact'. Will update


inflight and glob deprecations

Hi bud,
Got a couple of deprecations, not sure where they are from. I can jump in and issue a PR if you're fine with it.
npm warn
<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported

Repro
Run:
npm ci

Hey, thanks for reporting!
This shouldn't affect anyone using this package, as it is probably related to some devDependency and the package itself has no dependencies. But it should and will be addressed.
PRs are always welcome if you have the time!

Hi keipers, thanks for keeping this alive - sorry for the late response.
Uh, okay what I'd do first and foremost is move the tests to native test runner and ditch any dependencies. I can push a small prototype with some parts migrated to it to a PR so you can decide if it makes sense.
up to you


Register all the conversation

Hey, there's any maner to register all the conversation with the chatbot? Like, I talk to him for a while and when the conversation is over they create a JSON file with all the conversation.

All conversations are store database.db please look it for your workspace

Really? I didn't find any file like this. The only db files I opened were on hexadecimal.

Open with sqlite db browser, google it


Call to undefined function sqlsrv_connect()

Hi,
This looks exactly what I need and have spent days looking for! Alas, I was greeted with;
Fatal error: Call to undefined function sqlsrv_connect() in /home/....../api.php on line 300
I followed the setup instructions and poked around. Not sure if I'm doing something wrong?
MySQL on Apache (Cpanel), InnoDB. I see that the sqlsrv_connect is a php parameter - perhaps not available in my build?
Please advise.
:)

Hi! Tell me a little more on what you did and try to achieve? Do you want to connect to MsSQL or to MySQL?

Hi,
MySQL on a Linux system. That php function is for Microsoft SQL. Do you
support MySQL on Linux? How do I configure it?
On Thu, Jun 18, 2015, 4:32 PM Maurits van der Schee <
<EMAIL_ADDRESS>wrote:

Hi! Tell me a little more on what you did and try to achieve? Do you want
to connect to MsSQL or to MySQL?
—
Reply to this email directly or view it on GitHub
https://github.com/mevdschee/mysql-crud-api/issues/1#issuecomment-113266924
.

I do, please check my last commit

Awesome, thank you! Works perfectly. Howerver, how do I do one of the two?

Perform List + Transform + Filter?
Or, permanently activate transform to objects so the output can be
the proper format?

Thanks!
On Thu, Jun 18, 2015 at 6:01 PM, Maurits van der Schee <
<EMAIL_ADDRESS>wrote:

I do, please check my last commit
—
Reply to this email directly or view it on GitHub
https://github.com/mevdschee/mysql-crud-api/issues/1#issuecomment-113288927
.

OK good that you figured it out. Good luck with it!

Working awesome, you saved the day!!! :)
On Sun, Jun 21, 2015, 11:20 AM Maurits van der Schee <
<EMAIL_ADDRESS>wrote:

OK good that you figured it out. Good luck with it!
—
Reply to this email directly or view it on GitHub
https://github.com/mevdschee/mysql-crud-api/issues/1#issuecomment-113907614
.


Pass GPG Directory as Parameter to templates

Resolves https://github.com/Azure/azure-sdk-for-java/issues/10196
Depends on:

https://dev.azure.com/azure-sdk/internal/_git/azure-sdk-build-tools/pullrequest/200
Run of https://dev.azure.com/azure-sdk/internal/_build?definitionId=1698
Release of azure-sdk-template

Do we do anything else with $GPGToolDirectory other than set $GPGExecutablePath = $GPGToolDirectory\gpg.exe?  Or, should we just replace BuildToolsPath with its implicit GpgExecutablePath with an explicit GPGExecutablePath instead of replacing one implicit path with another?
Is it possible that someone won't have gpg.exe in $GPGToolDirectory and would prefer to use `$GPGExecutablePath = 'some/path/to/gpg-1.2.3.beta.exe'

Do we do anything else with $GPGToolDirectory other than set $GPGExecutablePath = $GPGToolDirectory\gpg.exe? Or, should we just replace $BuildToolsPath and its implicit $GPGExecutablePath with an explicit $GPGExecutablePath instead of replacing one implicit path with another?
Is it possible that someone won't have gpg.exe in $GPGToolDirectory and would prefer to use $GPGExecutablePath = 'some/path/to/gpg-1.2.3.beta.exe'?

I have updated that. Please also take a look at https://dev.azure.com/azure-sdk/internal/_git/azure-sdk-build-tools/pullrequest/200

/azp run java - core - ci

/check-enforcer override

Tested with this build https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1081774&view=results


Quantifying Tenure Risk Webpage on Land Portal

One question still though.. Do you have any idea why the link for the featured item (the green, transparent box) leads to a 404 error? I think it's because it links to the node with the "partners/qtr/" in the path, but that is not the correct link for this piece of content. It seems that this link is created automatically, all I did was select a related piece of content.
Would you know how to fix that by any chance?
Lisette Mey

fixed

I just wanted to follow up on the functionality of the promoted box. In each case it seems to take you to a version of the target page, but not the target page itself – do you know why this is? For example, with this QTR page the hyperlinked promoted box takes you here, https://landportal.org/partners/quantifying-tenure-risk/content/74267 and the original post is here https://landportal.org/news/2018/06/introducing-quantifying-tenure-risk-initiative-assessing-tenure-risk-and-providing . I just wanted to raise this as the first version of the page if much harder to read because of the placement of the image.

This is a comment made by our partner at the ODI. Can you please check?

hi @realneilsorensen
several questions:

Is this page still in use?
If yes, we need to decide if:
a) modify the link to load the original post (ie: https://landportal.org/news/2018/06/introducing-quantifying-tenure-risk-initiative-assessing-tenure-risk-and-providing) or
b) modify the style so the post looks OK also inside the partners interface.
let's discuss the options in the next meeting.


Bug: apiTagsTemplate dependency [extractor]

Report
In the master template it should be the apiTemplate depending on the apiTagsTemplate rather than opposite.
I got an error complaining that the tag doesn't exist. I then manually created the api tag in APIM and the deployment succeeded. I think the apiTagstemplate should run first before running apiTemplate
Expected Behavior
Deployment succeeds
Actual Behavior
Deployment errors out with the error "Tag doesn't exist"
Steps to Reproduce the Problem

Create an API in one APIM instance, make sure it has api tag which doesn't exist in another APIM instance
Extract ARM templates
Run the templates in PowerShell in another APIM instance
...

Component
Extractor
DevOps Resource Kit Version
0.7
.NET Version
6.0
OS
Windows
Configuration
Configuration:
version: 0.0.1
apimServiceName: example-apim-name

API Management Configuration
No response
Logs
example

Anything else?
No response
Contact Details
No response

Can you check to see if this is a problem with the latest 1.0.0 beta?  The 0.7 release is about to be replaced by the 1.0.0 release, and I suspect we have fixed this already.

Sorry I was wrong about the version. I am using the latest 1.0.0 beta.
On Mon, 15 Aug 2022 at 16:18, Adrian Hall @.***> wrote:

Can you check to see if this is a problem with the latest 1.0.0 beta? The
0.7 release is about to be replaced by the 1.0.0 release, and I suspect we
have fixed this already.
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-api-management-devops-resource-kit/issues/790#issuecomment-1215973573,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2EJVVPN3QV3DOQCQ4HBMO3VZLF5ZANCNFSM56TWEADA
.
You are receiving this because you authored the thread.Message ID:
<Azure/azure-api-management-devops-resource-kit/issues/790/1215973573@
github.com>

Got it - thanks for the report.  Can you please cut-and-paste the relevant pieces from the apiTemplate.json and apiTagsTemplate.json (just in case engineer needs it).

It's about the master template. Inside the master template, resource
apiTemplate should depend on resource apiTagsTemplate. But it is not now.
Enclosed is the master template. You can see resource apiTemplate which is
in the middle of the JSON file doesn't have a dependency on resource
apiTagsTemplate.
On Tue, 16 Aug 2022 at 09:37, Adrian Hall @.***> wrote:

Got it - thanks for the report. Can you please cut-and-paste the relevant
pieces from the apiTemplate.json and apiTagsTemplate.json (just in case
engineer needs it).
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-api-management-devops-resource-kit/issues/790#issuecomment-1216881635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2EJVVI6U4PHYJQDJA4DFQTVZO7VBANCNFSM56TWEADA
.
You are receiving this because you authored the thread.Message ID:
<Azure/azure-api-management-devops-resource-kit/issues/790/1216881635@
github.com>

Hello @davidliuhca.
Thank you for raising the issue.
the apiTags template is generated to attach tags to the api, hence both api and tags should be already existing that is why apiTags template depends on apiTemplate and tagsTemplate.
I was not able to reproduce the issue extracting whole Api Management instance.
Could you please clarify if there was any other configuration settings for extraction apart from apimServiceName?
Best regards

Hi,
apiTagsTemplate is for API level tags, and tagTemplate is for operation
level tags. Both should be deployed before deploying apiTemplate.
I guess the reason you couldn't reproduce it is the API level tags were
already created in another environment before you deploy the templates.
We have hundreds of APIs so I always extract templates for only one API.
Below is an example of my extraction configuration.
{
"sourceApimName": "aa-bb-zzzz-apim",
"destinationApimName": "cc-dd-zzzz-apim",
"resourceGroup": "aa-bb-yyyy-RG",
"fileFolder": "C:/APIM/APIM Extractor/ClaimOnlineWorkerProfile",
"linkedTemplatesBaseUrl": "PlaceHolder",
"policyXMLBaseUrl": "PlaceHolder",
"linkedTemplatesSasToken": "PlaceHolder",
"policyXMLSasToken": "PlaceHolder",
"apiName": "claims-online-worker-profile"
}
On Wed, 17 Aug 2022 at 06:06, f-alizada @.***> wrote:

Hello @davidliuhca https://github.com/davidliuhca.
Thank you for raising the issue.
the apiTags template is generated to attach tags to the api, hence both
api and tags should be already existing that is why apiTags template
depends on apiTemplate and tagsTemplate.
I was not able to reproduce the issue extracting whole Api Management
instance.
Could you please clarify if there was any other configuration settings for
extraction apart from apimServiceName?
Best regards
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-api-management-devops-resource-kit/issues/790#issuecomment-1217986531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2EJVVP26WPSY3VBKTUJJK3VZTPW7ANCNFSM56TWEADA
.
You are receiving this because you were mentioned.Message ID:
<Azure/azure-api-management-devops-resource-kit/issues/790/1217986531@
github.com>

Hello @davidliuhca. Thank you for clarifications.
I was able to reproduce the issue by extracting only one Api.
The problem was not with dependencies, but in generated templates: tags template didn't contain Api level tags while extracting the single Api.
PR with the fix is created: #795

Hello @davidliuhca.
The issue was closed since the related PR #795 was merged into the main branch and was included in the release.
Please feel free to reopen the issue or create new one if the fix didn't solve the problem using main branch or released version, and you are experiencing the same behaviour.
Best regards


Reverse chronological order for my fiddles

Starting to save bunch of fiddles and finding it hard to see my latest saved fiddle, I hope this help.
Better solution would be to allow the fiddle table to be sorted with different sort on headers but I have no clue how.

Makes sense, thanks!


Service URLs with parameters truncaed in the casConfirmView

When we use the warning and confirmation before accessing a service, and when the service URL contains parameters with &, the link is badly transformed and truncated.
ex :
http://service.com/?p1=xxx&p2=yyy
we get "<a href="http://service.com/?p1=xxx&amp">"
JSP used to generate the view casConfirmView.jsp
The escapeXml function used to sanitize service URL may be deleted to get an expected behaviour but security risk could now append.
Environment: Tomcat 7, JVM 1.7
Reported by: vincent Hurtevent, id<EMAIL_ADDRESS>Created: Tue, 4 Feb 2014 03:35:43 -0700
Updated: Tue, 4 Feb 2014 03:35:43 -0700
JIRA: https://issues.jasig.org/browse/CAS-1423

Service urls are expected to be encoded properly when passed to CAS. When/If encoded, the rendering will include all parameters correctly.


configurer: add support for token auth

Currently, it is not possible to configure roles for token-based authentication, this PR fixes that. One of the possible use cases is to configure a narrow role for scraping Prometheus metrics.

just fixed this :)


nprofile encode length should be larger than 1000

we're gonna need a bigger length, for some reason odell's nprofile data including relay list is 1030 in length and that crashes nostr.directory.
need to increase this
https://github.com/nbd-wtf/nostr-tools/blob/master/nip19.ts#L99

If all this needs is the limit increased I can submit a PR.
Perhaps we'd need to do the same for encodeBytes and neventEncode?
afaik increasing the limit simply increases the Bech32 String length. Maybe an increase to 1100? Unless there's a better way to solve this/prevent the length from ever being an issue.

Increase it to 1500 while you're at it, but @pseudozach you can perhaps just use the first 2 or 3 relays to make the string not be so large. Your choice.

Please increase it to 1500 while you're at it, @Bayernatoor, but @pseudozach you can perhaps just use the first 2 or 3 relays to make the string not be so large. Your choice.

I want to make it realistic because if not people will complain that I'm not showing all their relays or I deleted their relays etc.
There should be no harm in setting this value to 1500, right?

I think there is no harm unless you want to make a QR code.

if I try to use npm i nbd-wtf/nostr-tools
I get below errors.  Not sure if these were introduced recently or but I didn't have these on v1.1.0.

error - ./node_modules/nostr-tools/event.ts
Module parse failed: Unexpected token (7:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| /* eslint-disable no-unused-vars */
export enum Kind {
|   Metadata = 0,
|   Text = 1,
(node:61945) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API
(Use node --trace-deprecation ... to show where the warning was created)

This is because the latest versions are written in Typescript and you're trying to import Typescript as JS and your Webpack doesn't like that. There are pre-transpiled versions in ESM and CJS published too, your code should be picking those. How does it look like?

sorry about that irrelevant comment. once npm version is bumped to v1.1.1 issue is resolved. Thanks!

just reporting that indeed this issue came back for values > 1500. So I'll be doing some limiting on my side instead of continuing to increase this hardcoded value indefinitely.
Although is it better to make this an input parameter? @fiatjaf

I've increased it to 5000.


Added the ocdev project get command

Added the project get command https://github.com/redhat-developer/ocdev/issues/96

@TomasTomecek I am working on the ocdev project <project_name> command currently. I found out that if the user does oc project <project_name> with the current project_name, the command returns
Already on project "<project_name>" on server "https://<IP_ADDRESS>:8443"
Should I replicate this on the ocdev tool too?

I am working on the ocdev project <project_name>command currently.

@mik-dass to switch in between project the command should be ocdev project set

I found out that if the user does oc project <project_name> with the current project_name, the command returns
Already on project "<project_name>" on server "https://<IP_ADDRESS>:8443"

Yes, it should show display message like this indicating that you are already using that project.

@kadel I have added all the commands and I think it's ready for review. Not sure about the codecov thing though. Should I add tests for it?

If you can figure out how to add unit tests to this it would be great. But it is not necessary.
Currently, we don't have a easy way to mock oc calls :-(  So adding unit tests might be tricky :-(

@kadel Ok I will look into it :)

Sorry about that @mik-dass , but after #245 was merged you code needs small refactor :-(
I'll merge it as soon as it is done, so you don't end up in the same situation with another PR.

@kadel Done


USA Now

URL to APK: https://www.apkmirror.com/apk/nbcuniversal-media-llc/usa-now/usa-now-2-6-39-2491-release/usa-now-2-6-39-2491-android-apk-download/download/
Banner(If Submitted): https://lh3.googleusercontent.com/a_nr2F8C6iqTamYIKUyctdOixcHGco6fIlavgGXZ_wM3MUwbSjR2--rpiHXsghQA7q4=w300-rw

Here's the logo and zip with the SVG just incase, @Fleker You can add this to the database when you get the chance.
USANOW.zip


[WIP] Caching cargo

Working on caching cargo home to var/cache/rust
Basics

[ ] I added a line to /doc/CHANGELOG.md
[ ] The PR is rebased with current master.
[ ] Details of what you changed are in commit messages.
[ ] References to issues, e.g. close #X, are in the commit messages.
[ ] The buildserver is happy.

Checklist

[ ] I have installed and I am using pre-commit hooks
[ ] I fully described what my PR does in the documentation
(not in the PR description)
[ ] I fixed all affected documentation
[ ] I fixed all affected decisions
[ ] I added unit tests for my code
[ ] I added code comments, logging, and assertions as appropriate
[ ] I translated all strings visible to the user
[ ] I mentioned every code or binary not directly written or done by me in reuse syntax
[ ] I created left-over issues for things that are still to be done
[ ] Code is conforming to our Architecture
[ ] Code is conforming to our Guidelines
(exceptions are documented)
[ ] Code is consistent to our Design Decisions

Review

[ ] I've tested the code
[ ] I've read through the whole code
[ ] Examples are well chosen and understandable

I think I dont have the permission to cache inside /var/cache/rust
I put the following volumes
-v /var/cache/rust/registry:/usr/local/cargo/registry \
-v /var/cache/rust/git:/usr/local/cargo/git \

Or is that an issue on my side? @lukashartl

CI obviously shouldn't have such permissions. Let us discuss this today in the meeting. There are still a few formalities to get you onboarded. But here is not the right place to discuss this :wink:

I think I dont have the permission to cache inside /var/cache/rust I put the following volumes
-v /var/cache/rust/registry:/usr/local/cargo/registry \
-v /var/cache/rust/git:/usr/local/cargo/git \

Or is that an issue on my side? @lukashartl

Why exactly do you want to use /var/cache/rust? You could just use a named/unnamed docker volume instead of a bind mount 😄

I want to cache between all jobs, outside of the job directory. Markus suggested /var/cache/rust. Good idea, can try named volumes, but not sure if I can create one.


Quality of video over webRTC with SRS compared to OvenMediaEngine (GPU enabled)

Hi,
I tested the same stream sent to a rtmp server using ffmpeg.
And played it with SRS vs OvenMediaEngine (using GPU Harwdware Acceleration).
Depenging on the video (codec) I can notice some obvious difference regarding the quality of the stream once read in a Web Player (webRtc).
SRS:

OvenMediaEngine

Could you confirm me that is due to enable GPU acceleration ?
If not what is the root cause please, and can we expect this to be fixed in the future?
Thks

Could you gives the video source to test? and the steps to reproduce this issue?

Well thks for the clarification.
That was not really intensive on a RTX Titan GPU though.
I will go back to SRS if I see that OvenMediaEngine is consuming too much resources (not the case right now 😉)


Changes feed to use the count prop of the object returned by aggregate()

Fixes  https://github.com/howtographql/howtographql/issues/869
The type definition shows that this method returns an AggregateLink,
which has a single prop count. Change uses that property rather than
trying to call the method count() on the returned object.
export interface AggregateLink {
  count: Int;
}

Here's the callstack for the error I was seeing prior to the change.
Error: Field 'count' of type 'Int' must not have a sub selection. (line 4, column 7):
      count {
      ^
    at BatchedGraphQLClient.<anonymous> (/Users/marc/Code/marcdel/hackernews-react-apollo/server/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:77:35)
    at step (/Users/marc/Code/marcdel/hackernews-react-apollo/server/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:40:23)
    at Object.next (/Users/marc/Code/marcdel/hackernews-react-apollo/server/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:21:53)
    at fulfilled (/Users/marc/Code/marcdel/hackernews-react-apollo/server/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:12:58)
    at process.internalTickCallback (internal/process/next_tick.js:77:7)

Thanks @marcdel for opening this issue 😄. It should be working now. Closing this, please, feel free to re-open this issue if you cannot make it work!


backend/tidb: add rebase auto id for tidb backend

What problem does this PR solve?
Currently, tidb may not rebase auto id properly when use insert rows with auto id column manually. So we do rebase auto id in tidb backend to work around this issue.
Also fix the issue that tidb backend need to communicate to pd-server
What is changed and how it works?

Fetch table auto id info by show table next_row_id in tidb backend FetchRemoteTableModels
Also rebase auto id for tidb backend

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects
Related changes

Currently, tidb may not rebase auto id properly when use insert rows with auto id column manually.

is there a TiDB issue?

Currently, tidb may not rebase auto id properly when use insert rows with auto id column manually.

is there a TiDB issue?

See Issue. Since there is no easy way to fix this issue easily in tidb side,  we rebase  auto id for tidb backend in lightning side as a workaround.

(the TiDB issue is pingcap/tidb#2285.)

alter_random test failed.
[2020-10-26T13:07:33.079Z] column perms: [0], auto inc idx: -1, auto rand idx: 0

[2020-10-26T13:07:33.335Z] Error: restore table `alter_random`.`t` failed: ALTER TABLE `alter_random`.`t` AUTO_RANDOM_BASE=8646911284551352323: alter table auto_random_base failed: Error 8216: Invalid auto random: alter auto_random_base to<PHONE_NUMBER>551352323 overflows the incremental bits, max allowed base is<PHONE_NUMBER>51711743

(please run a test on the release-3.0 cluster before merging.)

/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 importer=release-3.0

/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 importer=release-3.0

/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 importer=release-3.0

/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 importer=release-3.0

/run-all-tests
(3.0 passed in https://internal.pingcap.net/idc-jenkins/job/lightning_ghpr_test/2363/display/redirect)

/merge


feat: Validation mechanism to limit "free traffic" on the network

This tracks the work to define and implement a relay validator that allows nodes to limit the amount of bandwidth they're willing to allocate for routing "free traffic". In this case, "free traffic" would be Waku messages with no RLN proofs.
specification: @vpavlin
Priority: Critical for launch

https://github.com/waku-org/research/issues/3
@danisharora099 @weboko
Per the research issue, can y'all verify if this is required for JSWaku and assign ownership as necessary. Thank you!

This has been descoped from gen 0 and should not be priority


LMentry Scenario

About LMentry
LMentry is a suite of elementary tasks used for evaluating LM's basic language abilities.
Paper: https://arxiv.org/pdf/2211.02069.pdf
Code: https://github.com/aviaefrat/lmentry
Adaptation to HELM
Three characteristics of LMentry make it very hard for us to completely replicate it within the HELM framework:

They use many non-trivial regex operations to evaluate the model output. I find it not completely realistic and unideal to embed its scoring functions into HELM's metrics system. For subscenarios that heavily rely on those scoring functions, we have to exclude them.
They have their own definition of robustness, which is quite different from that of HELM.
Some of their metrics involve multiple scenarios, which HELM does not support yet.

As a result, I only take their data and use the HELM framework for adaptation and evaluation..
Adaptation Methods
Many tasks (11/17) can be adapted to both generation or multiple choice problems. The rest 6/17 can only be generation problems. Therefore, I set ADAPT_GENERATION as the default method as it is more general, but the user can also specify ADAPT_MULTIPLE_CHOICE_JOINT for certain tasks.
Results

In the paper (text-davinci-002)
Ours (text-davinci-002)
Ours (text-davinci-002)

Adaptation
/
ADAPT_GENERATION
ADAPT_MULTIPLE_CHOICE_JOINT

#Instances
All (3,000~12,000)
50
50

Metric
Accuracy (regex match)
Accuracy (quasi_exact_match)
Accuracy (exact_match)

all_words_from_category
69.1
76.0
86.0

any_words_from_category
58.2
50.0
40.0

bigger_number
97.6
100.0
100.0

first_alphabetically
73.1
74.0
54.0

homophones
72.2
46.0
92.0

least_associated_word
97.8
100.0
100.0

less_letters
68.6
72.0
90.0

more_letters
69.2
70.0
82.0

most_associated_word
97.5
96.0
98.0

rhyming_word
66.7
42.0
48.0

smaller_number
98.7
98.0
98.0

first_letter
99.9
100.0
/

first_word
98.5
98.0
/

last_letter
98.5
88.0
/

last_word
93.8
98.0
/

word_after
90.6
84.0
/

word_before
48.8
34.0
/

Finally, the original LMentry repo
 does not have a license. Can we just add it to HELM? Do we have the authors' consent? @percyliang

Could you open an issue on the parent repo to ask if they can license this under an open source license?

I just read the code. We are only downloading the data, not redistributing their code in our repository, therefore no licensing is needed.

I just read the code. We are only downloading the data, not redistributing their code in our repository, therefore no licensing is needed.

Discussed with @yifanmai offline. We believed it would be nice if we could notify them about this and get their consent. I remember @percyliang reached out to them earlier. What's their attitude on us implementing it (I know they didn't want to open a PR themselves)?


Rename core elements

[x] Rename steamship.app.request.Request -> steamship.app.invocable_request.InvocableRequest.
[x] Rename steamship.app.response.Response -> steamship.app.invocable_response.InvocableResponse.
[x] Rename steamship.app.app.App -> steamship.app.invocable.Invocable
[x] Try out model-based exclusion of client ⚠ Call for feedback
[x] Moved CamelModel to steamship.base.base to avoid circular dependency with steamship.base.configuration

🚨 I added comments to highlight important changes. Most files are touched only because of renaming an object.

All these comments are really helpful in reading teh PR -- thank you!!!


Add autobuild for testing

Autobuild & testing is available with GitHub Actions now (see: https://github.com/mediagis/nominatim-docker/actions)


All CombinedInterpolatorExtrapolator instances are considered equal!

CombinedInterpolatorExtrapolator does not override hashCode or equals so inherits the basic implementation from Interpolator1D which just compares classes.
CombinedInterpolatorExtrapolator is typically used to combine extrapolation and interpolation functionality for old platform interpolators. It therefore renders any of the equals/hashcode implementations for the other interpolators useless.
There are roughly 21 subclasses of Interpolator2D, so it would be worth checking that none of these also have this bug as long as they are in use in Strata.

This class no longer exists.


Remove AppCenter dependencies from the project (right-click the dependency > Remove dependency).

Can you be more specific on what dependencies and from where to remove them? xCode is a huge maze that can be tricky sometimes

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

ID: 0f1b3f6c-3754-3c3f-1f63-1af79ad651a2
Version Independent ID: 7fdc3cf5-f1fc-6fca-e9b6-ca1f287e1785
Content: React Native SDK Troubleshooting - Visual Studio App Center
Content Source: docs/sdk/troubleshooting/react-native.md
Service: vs-appcenter
GitHub Login: @elamalani
Microsoft Alias: elamalani

@vforvasile I'll ask the team to take a look at your question.

Hi, @vforvasile! Thank you for your comment. We will fix it.

The detailed steps for it have been added to the docs.

may i know where is the docs?

Hi, @hkar19 ! You can find it here.


how to print thai language?

Hi,
Have you tried this: https://github.com/andrey-ushakov/esc_pos_utils#using-code-tables ?

I've tried and I've got the wrong output as below. It's about a problem of tone marks float in Thai language. I'm not sure it's because of my device or not. Please advice.

I would suggest you print the self-test ticket and check the code page id your printer uses for Thai. It could be 70, 96, 255 or another value depending on your printer (look for 'thai' or 'cp874' code pages).
After that, use this value like this:
ticket.textEncoded(encThai, styles: PosStyles(codeTable: PosCodeTable(<CODE_PAGE>)));
I hope this helps!

I've tried but It's still not work. Here is my code:
Uint8List encThai =
    await CharsetConverter.encode("cp874", "Thai: ใบเสร็จ-ใบรับผ้า");
ticket.textEncoded(encThai,
    styles: PosStyles(codeTable: PosCodeTable.thai_1));
ticket.feed(1);
ticket.cut();
final PosPrintResult res = await printerManager.printTicket(ticket);
print(res.msg);

And I tried to print all available charsets by using CharsetConverter.availableCharsets() but I've not found 'thai' or 'cp874' charset.

I am having the same problem with Japanese characters.
Please share if you have found any solution.

@hirunsr
Did you find any solution?
I am having the same problem with Japanese characters.
Please share if you have found any solution.

Sorry for late reply,
I'm still having a problem but I fixed it by capturing the screen to an image and printing it instead.

I have the same questions.

@hirunsr
Did you find any solution?
I am having the same problem with Japanese characters.
Please share if you have found any solution.

Sorry for late reply,
I'm still having a problem but I fixed it by capturing the screen to an image and printing it instead.

Hi
How to capturing the screen? I tried but failed.

Declare global key class variable

Add RepaintBoundary in body

In _printTicket function, create RenderRepaintBoundary object and send it to _createTicket function

In _createTicket function, use function boundary.toImage() to convert screen to image

Declare global key class variable

Add RepaintBoundary in body

In _printTicket function, create RenderRepaintBoundary object and send it to _createTicket function

In _createTicket function, use function boundary.toImage() to convert screen to image

thanks for your code，But my printer is too slow to print image.

try this
 Uint8List encThai = await CharsetConverter.encode(
    'TIS-620', 'Thai: แกงจืดเต้าหู้หมูสับ แกงป่า');

ticket.textEncoded(encThai);

i hope can help you.

try this
 Uint8List encThai = await CharsetConverter.encode(
    'TIS-620', 'Thai: แกงจืดเต้าหู้หมูสับ แกงป่า');

ticket.textEncoded(encThai);

i hope can help you.

Which brand Printer you use?

any update ?

try this
 Uint8List encThai = await CharsetConverter.encode(
    'TIS-620', 'Thai: แกงจืดเต้าหู้หมูสับ แกงป่า');

ticket.textEncoded(encThai);

i hope can help you.

it still prints weird for me

hirunsr

@hirunsr
I tried with a hello world text, it prints very pixelated-like with space in between. Were you able to get a decent looking receipt with this method?


table region count is wrong in TiCDC scheduler

What did you do?
Table region count is wrong in TiCDC scheduler.
What did you expect to see?
Table region count should be correct.
What did you see instead?
Table region count is wrong in TiCDC scheduler.
Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):
(paste TiKV version here)

TiCDC version (execute cdc version):
(paste TiCDC version here)

It has already been ported into release-7.1 in #9082


Generics for adapter list

The ViewHolder can only hold a drawable and string (which makes sense), but the adapter list should allow for more variables in case they are needed when an item is clicked.

For example, if I have a list of Person objects, I can display their name in the search results, but require their age & id when a person is selected.
This can be done now by saving a list externally and referencing it with indices, but should be doable with generics.
I will be working on this when I have time.

I've tried this a while back and it didn't work too well. It's too much work trying to create parcelables for generic items.

Doesn't Android Studio auto-create parcelable objects though?

There are annotations that do, but apart from that, I can no longer integrate it with the database since it is set to only save a key and a value. If all that because customizable we're essentially rewriting those components ourselves. I'm still thinking of other ways to go about that since the data can usually be retrieved by a single key, be it an id or a url for the item.


Create emitter-framework/java component to handle TypeSpec Model

In emitter-framework/java there should be a component along the lines of ModelDeclaration.
This should take a TypeSpec Model type from the TypeSpec compiler, and generate a Java class based on this model. The Model should have everything you need such as the name, fields, types etc. The output should be a java model class with a constructor for each field, that can then be instantiated inside our route controllers.

I will mark this as done. There are still improvements to be made but we should have enough here to produce a class from a tsp model.


Bump orange base image to 21.04

Fixes #1057
Signed-off-by: Itxaka<EMAIL_ADDRESS>

maybe we can also add apt-get update on the base image, so we don't get caught by 404s, wdyt?

maybe we can also add apt-get update on the base image, so we don't get caught by 404s, wdyt?

There is already that in place on the base image just before installing the packages :D

maybe we can also add apt-get update on the base image, so we don't get caught by 404s, wdyt?

There is already that in place on the base image just before installing the packages :D

argh, so blind I am. Obviously we cache all, so apt-get update should go in the single packages, but well.. in theory we should be able to merge the bump PR, but fails for #1056 :roll_eyes:
Anyway, the build looks going https://github.com/rancher-sandbox/cOS-toolkit/runs/4804747402?check_suite_focus=true , so LGTM


gRPC example in the quick start guide is yields an error

While running through the quick start guide, I get an error when trying to run the gRPC example under the "perform an inference test" section.
Running the command as written in the guide gives an error:
MODEL_NAME=example-mnist-predictor
grpcurl \
  -plaintext \
  -proto fvt/proto/kfs_inference_v2.proto \
  -d '{ "model_name": "'"${MODEL_NAME}"'", "inputs": [{ "name": "predict", "shape": [1, 64], "datatype": "FP32", "contents": { "fp32_contents": [0.0, 0.0, 1.0, 11.0, 14.0, 15.0, 3.0, 0.0, 0.0, 1.0, 13.0, 16.0, 12.0, 16.0, 8.0, 0.0, 0.0, 8.0, 16.0, 4.0, 6.0, 16.0, 5.0, 0.0, 0.0, 5.0, 15.0, 11.0, 13.0, 14.0, 0.0, 0.0, 0.0, 0.0, 2.0, 12.0, 16.0, 13.0, 0.0, 0.0, 0.0, 0.0, 0.0, 13.0, 16.0, 16.0, 6.0, 0.0, 0.0, 0.0, 0.0, 16.0, 16.0, 16.0, 7.0, 0.0, 0.0, 0.0, 0.0, 11.0, 13.0, 12.0, 1.0, 0.0] }}]}' \
  localhost:8033 \
  inference.GRPCInferenceService.ModelInfer

To Reproduce
Steps to reproduce the behavior:

Install via the quick start guide instructions
Try to do an inference with the sample given for gRPC
See the following error

Failed to process proto source files.: could not parse given files: open fvt/proto/kfs_inference_v2.proto: no such file or directory

Expected behavior
I expect the inference to be returned as documented.
Client Version: 4.5.0-202005291417-9933eb9
Server Version: 4.9.0-rc.5
Kubernetes Version: v1.22.0-rc.0+8719299
When I run the REST example, I do get the expected results for the inference.

@crobby 's solution worked for me, too - thanks!


Add projects API ordering

Add an ordering filter for the ProjectViewSet that allows ordering by :

owner's username
name
created_at

SeeQF-4681

Task linked: QF-4681 Add abilty to sort projects by owner, name or created_at ASC/DESC in the API

Great!
As discussed, can we make the ordering:

case insensitive
instead of using owner__username parameter value, find a way to pass only owner and still order by username?


Test of uniformity of BN_rand_range output.

Rework the test so that it fails far less often.
A number of independent tests are executed and 5% are expected to fail.
The number of such failures follows a binomial distribution which permits
a statistical test a 0.01% expected failure rate.
An alternative fix to #8826

[x] tests are added or updated

Thoughts @kroeckx ?

I think such tests might can useful, but since they can fail when ran enough time, and it will be ran enough times, we should not run them by default.

Okay, a command line option to the test program to turn them on seems prudent.

The bntest program now takes the argument -stochastic which enabled the extra testing.
It is disabled by default.

Review @openssl/committers ?

Could someone please review this?  Thanks.

AppVeyor failure isn't relevant.

Ping @mattcaswell

Ping @openssl/committers

Still waiting review/confirmation.

Merged, thanks.


Make repository pip installable

This adds init.py in all subdirectories to make them shipable through PyPI

This potentially solves #48


Updated to include May changes and align with blog

#sign-off

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/service-whats-new.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@NikhilGaekwad-MSFT : Thanks for your contribution! The author, @mihart, has been notified to review your proposed change.


GAF/GPAD example model 5745387b00001770

GAF model 5745387b00001770
MGI MGI:3588192 Zcchc16 Mmus        GO:0042415  PMID: 26402067  IMP MGI:MGI:5789261 P           gene    taxon:10090 20160822    GO_Noctua
MGI MGI:3588192 Zcchc16 Mmus        GO:0050890  PMID: 26402067  IMP MGI:MGI:5789261 P           gene    taxon:10090 20160822    GO_Noctua
GPAD model 5745387b00001770
MGI MGI:3588192 involved_in GO:0042415  PMID: 26402067  ECO:0000315 MGI:MGI:5789261     20160822    GO_Noctua       contributor=GOC:hjd
MGI MGI:3588192 involved_in GO:0050890  PMID: 26402067  ECO:0000315 MGI:MGI:5789261     20160822    GO_Noctua       contributor=GOC:hjd

This is an example of a simple causal chain.

I would disagree with the 'involved in' call here. Currently in RO we have 'involved in' being inferred if there is a chain of G enables <anon MF> part-of P.
we do have an RO relation 'acts upstream of' (http://purl.obolibrary.org/obo/RO_0002263 - in next RO release), which has the chain enables o 'causally upstream of', this is what would be inferred. E.g.
MGI:3588192 acts_upstream_of GO:0042415
MGI:3588192 acts_upstream_of GO:0050890

Involved in is the current relation used for all process annotations. I disagree too, but there is misalignment with the GPAD specs and what I think we would like to see. If we can expand the GPAD qualifiers to really reflect the relationship between the annotated object and the term, that would make me happy.
From:::http://wiki.geneontology.org/index.php/Final_GPAD_and_GPI_file_format

The explicit relations will be:

'part_of' for Cellular Component
'involved_in' for Biological Process
'enables' for Molecular Function

Involved in is the current relation used for all process annotations

it's the default relation, but not the only relation.
the docs on the main website have never been satisfactory. The original markdown/html is primary: http://www.geneontology.org/specifications/gpad/gpad-1.html (should really move this to github)
Anyway, my preference would be to define involved-in narrowly, and to use a more specific relation in this case. But if we want to broaden the definition of involved in, we need to add the property chains to RO

Moved GPAD/GPI 1.2 docs here: https://github.com/geneontology/go-annotation/blob/master/specs/gpad-gpi-1_2.md

I agree that the definition of involved in should remain narrow. Using the larger set of relations gives us a huge step towards the expanded qualifiers that Kimberly and I would like to see. That works well for the new Noctua models. What about the legacy annotations for those of us who are submitting GPAD to the GOC? Should involved in really be the default?

I am getting 3 annotations via RDFox property reasoning:
 "pr_type" , "rel_label" , "target_type" , "target_type_label" , "extensions" , "evidence_type" , "with" , "contributor" , "date" , "source" ,
 "http://www.informatics.jax.org/accession/MGI:MGI:3588192" , "enables" , "http://purl.obolibrary.org/obo/GO_0003674" , "molecular_function" , "causally upstream of or within(norepinephrine metabolic process),causally upstream of or within(cognition)" , "http://purl.obolibrary.org/obo/ECO_0000315" , "MGI:MGI:5789261" , "GOC:hjd" , "2016-08-22" , "PMID:26402067" ,
 "http://www.informatics.jax.org/accession/MGI:MGI:3588192" , "acts upstream of or within" , "http://purl.obolibrary.org/obo/GO_0042415" , "norepinephrine metabolic process" , "causally downstream of or within(molecular_function),causally upstream of or within(cognition)" , "http://purl.obolibrary.org/obo/ECO_0000315" , "MGI:MGI:5789261" , "GOC:hjd" , "2016-08-22" , "PMID:26402067" ,
 "http://www.informatics.jax.org/accession/MGI:MGI:3588192" , "acts upstream of or within" , "http://purl.obolibrary.org/obo/GO_0050890" , "cognition" , "causally downstream of or within(molecular_function),causally downstream of or within(norepinephrine metabolic process)" , "http://purl.obolibrary.org/obo/ECO_0000315" , "MGI:MGI:5789261" , "GOC:hjd" , "2016-08-22" , "PMID:26402067" ,

I am finding that these queries generate more annotation extensions than you may be looking for. But perhaps that's inevitable translating back from LEGO.

The primary annotations look good, yay! You are correct in that there are more annotation extensions than we would normally make, but that might not be a bad thing. Let's look at more examples. The extensions all look ok, so maybe they are just more complete than the ones a curator would have made making single annotations. The 'molecular fnction' one isn't particularly informative. This might just be a natural fallout of the LEGO mindset.

Output from test job: https://build.berkeleybop.org/job/export-lego-to-gpad-sparql/lastSuccessfulBuild/artifact/legacy/gpad/5745387b00001770.gpad/view/
Missing annotations are probably result of not including full RO. Will see about fixing that.

@ukemi I think we can close this ticket, if you review the current output at the link in the previous comment. Annotation extensions are no longer being output for this one due to more restrictive conditions we've implemented ('causally upstream of or within' could be added to the extensions whitelist).

@balhoff  This is a simple model, but this is what we would want from it. The only very minor issue is whether we want to create annotations to the root node, in this case GO:0003674. In the past those were reserved for special cases to keep track of when we had looked for information about a gene product exhaustively but couldn't find any. We could exclude them at the GPAD/GAF-generation step, filter them out at a post-production step by the GOC, or have consumers filter them out as they see fit. Heiko argued that if they have contextual information, they are useful. I tend to agree with him, but it is another viewpoint shift. I am closing this for now since everything about the annotations from this model is essentially correct.


Strict projection for dates timestamps

Implementing strict projection for Dates and Timestamps https://github.com/apache/incubator-iceberg/issues/35
Handling only the boundaries instead of https://github.com/apache/incubator-iceberg/pull/283

Expected behaviour: ts > 2019-07-07T23:59:59.9999 can be projected strict using ts_day >= 2019-07-08
But for ts > 2019-07-07T15:46:37.89789,  ts_day >= 2019-07-08 will only return a subset of the records (not returning records between 15th hour and last hour of 2019-07-07), so it cannot be a strict projection based on https://github.com/apache/incubator-iceberg/blob/master/api/src/main/java/org/apache/iceberg/expressions/ResidualEvaluator.java#L203

@rdblue Does this look sane?

After discussing offline, this behaviour is not accurate. Closing.


Update action.yml

Fixes typo that causes the error condition to always evaluate to true

Thank you for this @asklar ! I've published a new version 1.2.0 that contains the fix.


pr: some tests are racy

This probably only happens on slower CI machines, here's an example for that: https://github.com/uutils/coreutils/pull/2328/checks?check_run_id=2720656712#step:8:1659.
The problem is that the test checks for the current time to show up in the output, with the precision of a minute. This check is executed after the program ran, and the program might have used an earlier time.

Yeah, I thought that might be an issue. I will try to fix them tomorrow.

Well, still not quite right: https://github.com/uutils/coreutils/runs/2741384091 reopening :)

Well, still not quite right: https://github.com/uutils/coreutils/runs/2741384091 reopening :)

There seems to be a similar problem in the tests for pinky: https://github.com/uutils/coreutils/pull/2338/checks?check_run_id=2739362262.
Should I open a separate issue?


Struggling to use findstr on "registerDevice", "pkcs5padding", "gdata.youtube.com".

I am a complete noob on this findstr thing and I want to try to find out.

looks like you've missed this part of apk_setup:

and add a [space] * to the end of each command.
so your command should look like this:

findstr -s -i "registerDevice" *

notice the  * at the end.

looks like you've missed this part of apk_setup:

and add a [space] * to the end of each command.

so your command should look like this:
findstr -s -i "registerDevice" *

notice the  * at the end.

Oh, thanks! I forgot lol. Now, how do I edit the .smali files? Can't I just use notepad?


Medical module: respawn & bleeding out bug

Apparently there are bugs with this module and respawn.

Needs testing and detailed description of the bug!


App with more 2 or more threads with Tesseract will deadlock on Linux (but not on OSX).

Environment

Tesseract Version: 4.0.0 (built from source)
Commit Number: GitHub tag 4.0.0
Platform: Ubuntu 18.04, AWS EC2 c5.xlarge / c5.2xlarge / c5.4xlarge

Current Behavior:
We have a golang app that runs multiple threads to analyze video frames and as part of that we do some OCR using https://github.com/otiai10/gosseract.
If we run this code in a Docker container locally on a MacBook Pro or ECS or a VM in EC2 with 16 cores the application will deadlock with the tesseract code enabled.
NOTE: What is interesting is that running the same code straight up on a MacBook Pro does not deadlock the code.
Expected Behavior:
Multi-threaded application can work.
Suggested Fix:
I built tesseract with ./configure --disable-openmp but I am not sure if that actually affects the way the libraries are built or just the stand alone app and also tried the OMP_THREAD_LIMIT=1 env variable neither option seems to do much good.

https://github.com/tesseract-ocr/tesseract/wiki/FAQ#can-i-increase-speed-of-ocr

https://github.com/tesseract-ocr/tesseract/wiki/FAQ#can-i-increase-speed-of-ocr

Thanks for the RTFM answer, very helpful.
In this case it's not about increasing the speed of OCR as such, I've got way more going on when I am analyzing the video frame and I was hoping I could have each frame analyzed in its own thread such that the process would be self contained and I could scale this up if I need to analyze more frames per second.
Furthermore allowing Tesseract to run in each thread would also prevent me from having to build a solution that will consolidate the data for each frame from multiple sources.

same for me using libtesseract from pyocr. Any solution?

solution is to turn off openmp support, that is causing this.

thanks,  OMP_THREAD_LIMIT=1 works for me.

I am afraid that there is a potential misunderstanding.
The tesseract executable can use multithreading to speed up the OCR processing of a single page. The gain is not really large, it costs excessive CPU overhead, and so the suggested solution is to disable that, either at compile time (--disable-openmp) or at run time (OMP_THREAD_LIMIT=1).
Applications which use the Tesseract library can do the same, but in addition they can use more than one thread to process several pages in parallel. @Sauraus, I have understood that you tried to do this and got a deadlock. Am I right? Then this is a bug which should be fixed. It would help to use a Tesseract library with debug information, attach a debugger to the locked process and get stack traces for all threads to see where they are hanging.

@stweil you are correct in your description of the behaviour observed when using Tesseract as a lib.
However the problem also appears to have resolved itself as we are no longer seeing deadlocks, however I cannot say with certainty what go dependency did the trick.


Added the basic CSS. Looks good!

I did some of the CSS. It looks nice.

Thanks! After I merge I'm going to make a few changes to make it work with the tournament page.

Oh, and by the way. I didn't edit the "layout" page yet. It looks awesome, but if I edit the layout page with all the ids and wrapper divs and stuff, it will look good. I could give u a screenshot of the css working with my edits.

Oh, I see the website. You've done some edits yourself.

Nice server list and reservation system! Must have taken a LOT of work!

Thanks man.  It wasn't too bad.  I had it a while ago but didn't have a chance to put it up.  Thanks for the CSS!

BTW, you've added EXACTLY 1337 LINES OF CODE, the last time i checked.


Create stale bot using Github Actions

Background
To manage our backlog we need to figure out what issues are stale and what we still want to work on.
Learn more about Github actions for stale  https://github.com/actions/stale
Solution
Use a Github action using the stale action to alert maintainers to issues and PRs that have been sitting idle for a while. The staleness is reset if somebody comments on the issue. This forces the team to address outstanding issues and PRs.
Default configuration:

Add a label "Stale" on issues and pull requests after 60 days of inactivity

Close the stale issues (labeled 'stale') and pull requests after 7 days of inactivity

If an update/comment occur on stale issues or pull requests, the stale label will be removed and the timer will restart

Tasks

Use this stalebot bot an example
Read about Github Actions
Create Github Action, title the yml filegreetings.yml
Test Github Action

Acceptance criteria

Github action is present in ./github/workflows folder in Truth-Loop repo.
file is named stale.yml
the bot message is contains that it is stale and mentions how long til the issues/PR is closed as in the example here.

I'll like to work on this @demilolu to close off my ''bot-work" for the week🙂

Hey @demilolu mind checking my PR so that this can maybe be closed?


bug fix 3063

Fontisto icons has been linked.

import { Icon } from 'native-base'
<Icon type="Fontisto" name="aws" />

@hanykumar and @sankhadeeproy007  this commit breaks NativeBase for many people


[HUDI-3772] Fixing auto adjustment of lock configs for deltastreamer

What is the purpose of the pull request

Added a new config named AutoAdjustLockConfigs in HoodieWriteConfig which will be enabled only for deltastreamer and streaming sink flow. We enable InProcessLockProvider automatically if user has not configured one on certain conditions.

Brief change log

Introduced a new config to guard auto adjust lock configs. Explicitly enabled for deltastreamer and streaming sink flow.
Fixed DeltaStreamer to explicitly set table type in writeConfig.

Verify this pull request
This change added tests and can be verified as follows:

Added tests to TestHoodieWriteConfig.
Tested Deltastreamer locally for MOR w/ async compaction and ensured auto adjustment kicks in.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

CI passed https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=7754&view=results


Update BCArtifact version. New value: https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/24.2.19158.0/base

This PR contains the following changes:

Update BCArtifact version. New value: https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/24.2.19158.0/base

Fixes AB#420000.

@mazhelez @aholstrup1 Just a thought, in the script to create these, maybe put the branch in the front and cut the New value: part to just show the version? For the title.


Failed to load sampled bitmap

I'm getting some reports of user's that are unable to set a photo, and have this log message:
Fatal Exception: java.lang.RuntimeException: Failed to load sampled bitmap        at com.theartofdev.edmodo.cropper.BitmapUtils.decodeSampledBitmapRegion(BitmapUtils.java:178)        at com.theartofdev.edmodo.cropper.BitmapUtils.cropBitmap(BitmapUtils.java:191)        at com.theartofdev.edmodo.cropper.CropImageView.getCroppedImage(CropImageView.java:456)        at com.rogertalk.roger.ui.screens.ImageCropActivity.cropImagePressed(ImageCropActivity.kt:99)        at com.rogertalk.roger.ui.screens.ImageCropActivity.access$cropImagePressed(ImageCropActivity.kt:28)        at com.rogertalk.roger.ui.screens.ImageCropActivity$setupUI$1.onClick(ImageCropActivity.kt:74)        at android.view.View.performClick(View.java:4856)        at android.view.View$PerformClick.run(View.java:19956)        at android.os.Handler.handleCallback(Handler.java:739)        at android.os.Handler.dispatchMessage(Handler.java:95)        at android.os.Looper.loop(Looper.java:211)        at android.app.ActivityThread.main(ActivityThread.java:5373)        at java.lang.reflect.Method.invoke(Method.java)        at java.lang.reflect.Method.invoke(Method.java:372)        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815) Caused by java.io.IOException: Image failed to decode using JPEG decoder        at android.graphics.BitmapRegionDecoder.nativeNewInstance(BitmapRegionDecoder.java)        at android.graphics.BitmapRegionDecoder.newInstance(BitmapRegionDecoder.java:124)        at com.theartofdev.edmodo.cropper.BitmapUtils.decodeSampledBitmapRegion(BitmapUtils.java:172)        at com.theartofdev.edmodo.cropper.BitmapUtils.cropBitmap(BitmapUtils.java:191)        at com.theartofdev.edmodo.cropper.CropImageView.getCroppedImage(CropImageView.java:456)        at com.rogertalk.roger.ui.screens.ImageCropActivity.cropImagePressed(ImageCropActivity.kt:99)        at com.rogertalk.roger.ui.screens.ImageCropActivity.access$cropImagePressed(ImageCropActivity.kt:28)        at com.rogertalk.roger.ui.screens.ImageCropActivity$setupUI$1.onClick(ImageCropActivity.kt:74)        at android.view.View.performClick(View.java:4856)        at android.view.View$PerformClick.run(View.java:19956)        at android.os.Handler.handleCallback(Handler.java:739)        at android.os.Handler.dispatchMessage(Handler.java:95)        at android.os.Looper.loop(Looper.java:211)        at android.app.ActivityThread.main(ActivityThread.java:5373)        at java.lang.reflect.Method.invoke(Method.java)        at java.lang.reflect.Method.invoke(Method.java:372)        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
It is happening on Android 5.0 and 5.1.1 so far. I myself cannot reproduce it, but know that this is making the app crash for those specific users. Any idea on what might be wrong?

wow, looks like it's a bug in Android library :rage:
Apparently Android bitmap decoding code is based on Skia library that has known bugs, mostly in BitmapRegionDecoder for specific features and formats.
I will a fallback to BitmapFactory full image decoding and then crop the required region in case BitmapRegionDecoder has failed.
Thank you for reporting this.
p.s. you should always catch exceptions to prevent app crash, show some error message, it is proffered user experience.

added fallback to v1.2.4, let me know if there is still issue

Thank you for the quick update :+1: and the awesome work on this library ;)

I have the issue be like this: java.lang.RuntimeException: Failed to load sampled bitmap: file:///storage/emulated/0/MyDir/img_1463316925324.jpg

The issue still exists with v2.2.2 when passing URI - http:///images/imagePath.jpeg

External URI's (http) are not supported, only URI's to internal Android sources.

is this solved? im having the same issue using latest build

Hello @ArthurHub ! I also am this issue even when I am using an internal URI.

I am still facing same issue in V 2.7.0.

Same here, i am having this issue when trying to set the same Uri twice, when choosing image with Google Photos or in emulator with Files

what is the solution for this issue, I'm still facing this issue.

I found that adding
requestLegacyExternalStorage="true"
to the manifest fixes the issue.

The issue is coming back again in Android 11 (SDK 30) and seems to affect mostly Samsung phones and Google pixel 3. Non of the above solutions worked! any tips? I am trying to solve for a week now but nothing so far.

The issue is coming back again in Android 11 (SDK 30) and seems to affect mostly Samsung phones and Google pixel 3. Non of the above solutions worked! any tips? I am trying to solve for a week now but nothing so far.

Facing this again in Android 11(SDK 30), similar to reported in https://github.com/ArthurHub/Android-Image-Cropper/issues/47#issuecomment-880879472

I am also facing android 11, 12(sdk 30, 31,32) when image is captured by camera then crop option not coming throw-out exception.


d3.scaleSequentialQuantile doesn't clamp

Instead it returns -1/(n-1) for values inferior to the min, and 1 for values superior to the max (because it uses bisect = bisectLeft).
In my understanding it would make no sense to have clamp(false), so maybe it's not worth exposing a clamp method, but returning -1/(n-1) instead of 0 seems like a (small) bug, and seems inconsistent with d3.scaleQuantile.
https://github.com/d3/d3-scale/blob/master/src/sequentialQuantile.js#L10
add Math.max(0,…) ?

Or bisect(domain, x, 1)?


AttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'SplitResult'

The above error is what you get when doing 'import pyrax'. This is because setup.py incorrectly says that pyrax needs 'six' version 1.5.2, when in fact it needs a newer version than that. I think it might need 1.6. 1.8 definitely works.
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyrax
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/pyrax/__init__.py", line 59, in <module>
    from novaclient.shell import OpenStackComputeShell as _cs_shell
  File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 47, in <module>
    from novaclient import client
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 34, in <module>
    from oslo.utils import netutils
  File "/usr/local/lib/python2.7/dist-packages/oslo/utils/netutils.py", line 78, in <module>
    class _ModifiedSplitResult(parse.SplitResult):
AttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'SplitResult'

I have the same problem with duplicity on ubuntu 14.04.
What I've done to make it work :

I dealt with the same issue as @nikosnikos . Install the novaclient via system packages resolved the problem.

The same problem happens at the Juno version.
Fix it in the same way as @nikosnikos.

For me I had to install both novaclient and glanceclient
$ sudo apt-get install python-novaclient
$ sudo apt-get install python-glanceclient

This can help someone else. To correct the problem I had to remove all the packages installed with pip and reinstall all the packages using the package manager.
Test the module by importing in the python shell.