cert-manager: Upgrade to v0.3.0

cert-manager v0.3.0 (https://github.com/jetstack/cert-manager/releases/tag/v0.3.0)

Also reference https://github.com/jetstack/cert-manager/tree/v0.3.0/contrib/manifests/cert-manager for required changes for deployment, e.g. remove the legacy ingress-shim (https://cert-manager.readthedocs.io/en/release-0.3/admin/upgrading/upgrading-0.2-0.3.html#removing-ingress-shim-and-compiling-it-into-cert-manager-itself)

@hswong3i    rebase code.

@riverzhang rebased ;-)

ci check this

@riverzhang pending for ci-authoried: https://gitlab.com/kargo-ci/kubernetes-incubator__kubespray/-/jobs/74620446

Oops thanks @Atoms, repoen could trigger CI ;-)
@riverzhang CI passed


Add bears.json file

PS: the build is passing in https://github.com/fermadeiral/repairnator/pull/6

I'm waiting the build on my fork.

The build is passing in https://github.com/fermadeiral/repairnator/pull/6

This PR is ready.


这个项目不更新维护了么？

Found an issue or bug with electron-vue? Tell me all about it!
Questions regarding how to use electron or vue are likely to be closed as they are not direct issues with this boilerplate. Please seek solutions from official documentation or their respective communities.
Describe the issue / bug.
#
How can I reproduce this problem?
#
If visual, provide a screenshot.
#
Tell me about your development environment.

Node version:
NPM version:
vue-cli version: (if necessary)
Operating System:

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.

这个repo就是一个模板项目，脚手架

同问，感觉好久没更新了。


ruby: bump version

dropping support for ruby < 3.0.0
ruby version 2.7.8 is EOL: https://www.ruby-lang.org/en/downloads/
v3.1.4 is the latest stable version that will work with netflify
ci: added v3.0.2 as this is a common ruby version (e.g installed by default on my ubuntu distro)

Debian 12 is using 3.1, so ubuntu LTS 24.04 likely will be too

changes:

netflify previews will mirror the ruby version on the getmonero server 3.0.2
3.1.0 (default in debian 12 bookworm now used in gh workflows

3.0 was EOL'd 2 months ago https://endoflife.date/ruby
3.1's support ends in 8 months

Since Ruby 2.1, a new major version of Ruby has been released every year on December 25th, and EOLed 3 years, 3 months later.

moving jekyll-multiple-languages plugin (v1.8.0) to local so we can modify it
fix the small issues causing errors on ruby versions >3.2.0
we should update getmonero to the latest stable 3.3.4 (2~ years of support)

the 1st commit adding the local plugin should have the same sha256 as what exist on master
we can kick the can a little further down the road now and remain on jekyll.


uncaught exception: buildPeerConnection failed, call not completed

I am getting the following error when connecting two people on different network.

uncaught exception: buildPeerConnection failed, call not completed

here is my config
option.appIceServers = [                                    // Array of STUN and TURN servers. By default there is only publicly available STUN servers.
    {urls: "stun:stun.l.google.com:19302"},
    {urls: "turn:****211:3478",username: '***',password: '***'
];
}

Can you help me to resolve the issue?

use "credential" instead of credential. that will fix issue

Thanks @AliBahramiEhsan for answering @hassaan-dev
Here is the syntax:
option.appIceServers = [
	{
	    urls: "turn:example.com:5349",
	    username: "clientID",
	    credential: "clientSecret"
	}
];

I have installed coturn and when I access http://serverip:3478 I get response
"TURN Server
use https connection for the admin session"
and when I access https://serverip:5349 I get response
"TURN Server
https admin connection
To use the HTTPS admin connection, you have to set the database table admin_user with the admin user accounts."
Is that ok ?
Also tell me what to put for realm="" and server-name="" if I have only IP of server. Can I keep IP for both variables ?
Following is my turnserver.conf

you can listen ports 3478 and 5349 instead of 80/443
listening-port=3478
tls-listening-port=5349
listening-ip=165.227..
relay-ip=165.227..
user=admin:admin101
#proc-user=turnserver
#proc-group=turnserver
lt-cred-mech
total-quota=100
stale-nonce
#no-stun
userdb=/usr/local/var/db/turndb
use real-valid certificate/privatekey files
cert=/usr/local/etc/turn_server_cert.pem
pkey=/usr/local/etc/turn_server_pkey.pem
#no-stdout-log
Now when I run command sudo turnserver ( on ubuntu 16 box) I get following console messages
0: log file opened: /var/log/turn_5897_2018-06-06.log
0:
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
Version Coturn-<IP_ADDRESS> 'dan Eider'
0:
Max number of open files/sockets allowed for this process: 1048576
0:
Due to the open files/sockets limitation,
max supported number of TURN Sessions possible is: 524000 (approximately)
0:
==== Show him the instruments, Practical Frost: ====
0: TLS supported
0: DTLS supported
0: DTLS 1.2 supported
0: TURN/STUN ALPN supported
0: Third-party authorization (oAuth) supported
0: GCM (AEAD) supported
0: OpenSSL compile-time version: OpenSSL 1.0.2g  1 Mar 2016 (0x1000207f)
0:
0: SQLite supported, default database location is /usr/local/var/db/turndb
0: Redis supported
0: PostgreSQL supported
0: MySQL supported
0: MongoDB is not supported
0:
0: Default Net Engine version: 3 (UDP thread per CPU core)
=====================================================
0: Config file found: /root/../etc/turnserver.conf
0: Listener address to use: 165.227..
0: Relay address to use: 165.227..
0: Config file found: /root/../etc/turnserver.conf
0: Domain name:
0: Default realm: happi.online
0: SSL23: Certificate file found: /usr/local/etc/turn_server_cert.pem
0: SSL23: Private key file found: /usr/local/etc/turn_server_pkey.pem
0: TLS1.0: Certificate file found: /usr/local/etc/turn_server_cert.pem
0: TLS1.0: Private key file found: /usr/local/etc/turn_server_pkey.pem
0: TLS1.1: Certificate file found: /usr/local/etc/turn_server_cert.pem
0: TLS1.1: Private key file found: /usr/local/etc/turn_server_pkey.pem
0: TLS1.2: Certificate file found: /usr/local/etc/turn_server_cert.pem
0: TLS1.2: Private key file found: /usr/local/etc/turn_server_pkey.pem
0: TLS cipher suite: DEFAULT
0: DTLS1.2: Certificate file found: /usr/local/etc/turn_server_cert.pem
0: DTLS1.2: Private key file found: /usr/local/etc/turn_server_pkey.pem
0: DTLS: Certificate file found: /usr/local/etc/turn_server_cert.pem
0: DTLS: Private key file found: /usr/local/etc/turn_server_pkey.pem
0: DTLS cipher suite: DEFAULT
0: pid file created: /var/run/turnserver.pid
0: IO method (main listener thread): epoll (with changelist)
0: WARNING: I cannot support STUN CHANGE_REQUEST functionality because only one IP address is provided
0: Wait for relay ports initialization...
0:   relay 165.227.. initialization...
0:   relay 165.227.. initialization done
0: Relay ports initialization done
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=0 created
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=1 created
0: Total General servers: 2
0: IO method (admin thread): epoll (with changelist)
0: IO method (auth thread): epoll (with changelist)
0: IO method (auth thread): epoll (with changelist)
0: SQLite DB connection success: /usr/local/var/db/turndb

I have following in my server.js ( easyRTC)
var myIceServers = [
{
url:"turn:165.227..:3478",
username:"admin",
credential:"admin101"
},
{
url:"turn:165.227..:3478?transport=tcp",
username:"admin",
credential:"admin101"
},
{"url":"turn:stun.antisip.com:3478"}
];
easyrtc.setOption("appIceServers", myIceServers);
easyrtc.on("getIceConfig", function(connectionObj, callback){
callback(null, myIceServers);
});
I am running https://165.227..:8443/demos/demo_ice_filter.html in Firefox and in Chrome but when I try to connect for video call I am always getting error
uncaught exception: buildPeerConnection failed, call not completed
What wrong I am doing ? please tell me if I need to set database for turnserver or need to change variables ?


Set output buffer size in the constructor

As shown here: https://github.com/TooTallNate/vercel-deno/issues/3#issuecomment-651524501

@Nexxkinn I must still be doing something wrong because now it outputs even less bytes 🤔 See: https://vercel-deno-g25anwbxb.vercel.app/api/dump

https://github.com/TooTallNate/vercel-deno/blob/9dde0143cf37d060f4f742e9e379bcca03003051/src/runtime.ts#L83
I think you should define the size parameter, since the constructor will instead reset the buffer to the default size ( DEFAULT_BUF_SIZE = 4096 ).
Take a look at their implementation on https://deno.land/std/io/bufio.ts

That fixed it. Thanks a lot for the help @Nexxkinn!


Documentation

Is there some kind of documentation for JDA listing all the commands and what they do (such as https://discord.js.org/#/ but for this)
Sorry if this shouldn't be posted here, or there is documentation in an obvious spot. I looked around and I couldn't find anything so I didn't really know what else to do besides this.

You can find the javadocs for the latest build in http://home.dv8tion.net:8080/job/JDA/javadoc/

Thank you, that is perfect!

How about looking at the github wiki :eyes:
Also the github issue tracker is reserved for feature requests and bug reports. Your issue is neither and should be sorted out inside of our discord server. Go to discord.gg/0hMr4ce0tIl3SLv5 to receive further help.


Support for test status on neoterm

Display test status (rspec & minitest) using neoterm.
There are three states of test:

Success: 💚
Running: 🏃
Failed: 💔

Using neoterm, rspec/minitest can be performed asynchronously and the
result will be displayed on airline(section_x)
The result will look like gif below

Thanks looks interesting. We would need documentation (please include,
which configuration variables can be set) and it looks like one test
fails. Also what is the point of using g: scoped variables please? Can
they be set by the user or are those variables from the neoterm plugin?
That would need documentation as well. Thanks.

@chrisbra Thanks for the comment.
The g: scoped variables are from the neoterm plugin.
let g:neoterm_run_tests_bg=1  to run test in the background.
let g:neoterm_raise_when_tests_fail=1 to show neoterm when test failed to show errors.
let g:neoterm_test_status = {'running': '🏃','success': '💚','failed': '💔'} to set symbol for test states
let g:neoterm_test_status_format = '%s' to format output
The symbol will appear automatically when call these function that provided by neoterm
:call neoterm#test#run('all')
:call neoterm#test#run('file')
:call neoterm#test#run('current')
the travis test failed because it expects filetype on section_x , which the section I put this neoterm plugin.
not ok 4 - init sections section x should be filetype
Expected g:airline_section_x == '%{airline#util#wrap(airline#parts#filetype(),0)}'
Actual value: " < %{airline#util#wrap(airline#parts#filetype(),0)}"
Expected value: "%{airline#util#wrap(airline#parts#filetype(),0)}"

Am 2016-12-15 09:01, schrieb Kris:

@chrisbra [1] Thanks for the comment.
The g: scoped variables are from the neoterm plugin.
let g:neoterm_run_tests_bg=1 to run test in the background.
let g:neoterm_raise_when_tests_fail=1 to show neoterm when test failed
to show errors.
let g:neoterm_test_status = {'running': '🏃','success':
'💚','failed': '💔'} to set symbol for test states
let g:neoterm_test_status_format = '%s' to format output
The symbol will appear automatically when call these function that
provided by neoterm
:call neoterm#test#run('all')
:call neoterm#test#run('file')
:call neoterm#test#run('current')

Great, that should be put into the documentation.

the travis test failed because it expects filetype on section_x ,
which the section I put this neoterm plugin.
not ok 4 - init sections section x should be filetype
EXPECTED G:AIRLINE_SECTION_X ==
'%{AIRLINE#UTIL#WRAP(AIRLINE#PARTS#FILETYPE(),0)}'
ACTUAL VALUE: " < %{AIRLINE#UTIL#WRAP(AIRLINE#PARTS#FILETYPE(),0)}"
EXPECTED VALUE: "%{AIRLINE#UTIL#WRAP(AIRLINE#PARTS#FILETYPE(),0)}"

So the test should be changed as well. Hm, I wonder why it fails, since
the
test runs without the neoterm plugin...

so would you mind making those changes?

@chrisbra sure, but litle bit busy recently ... maybe after new year

Sure, no rush here from my side

I changed the position of neoterm test status to section_y and add few explanation on docs/airline.txt
changing the position from section_x to section_y make all test passed.
Expect g:airline_section_x == '%{airline#util#wrap(airline#parts#filetype(),0)}'
is there any particular reason to keep test line above?

I changed the position of neoterm test status to section_y and add few explanation on docs/airline.txt
changing the position from section_x to section_y make all test passed.
Expect g:airline_section_x == '%{airline#util#wrap(airline#parts#filetype(),0)}'
is there any particular reason to keep test line above?

looks like neoterm will remove the test ability and move it to vim-test plugin instead (https://github.com/kassio/neoterm/issues?q=is%3Aissue+is%3Aclosed) , so I'll change the code to adapt that migration

okay, just tell me, when you are ready to have it merged. Thanks

Is this ready to included now?

Unfortunately, the feature has been removed by the author of neoterm but
it planned to get implemented on vim-test later.
(https://github.com/kassio/neoterm/issues/123)
Should I close this pull request?
On 02/24 09:33:36 AM, Christian Brabandt wrote:

Is this ready to included now?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/vim-airline/vim-airline/pull/1355#issuecomment-282352843

okay I close it. Feel free to recreate if vim-test supports it.


Check input files exist

I got stung referring to read files that weren't accessible (in a container, in a directory that wasn't mapped properly). It took some time before I actually got an error, and it wasn't immediately obvious that the inputs were missing, so an initial validation of inputs would be handy.

Now checks if read files exist and are readable by the effective uid first thing.


compile.sh fails silently on Cygwin

(tl;dr see the bulleted list at the bottom)
I just tried to see if I could get Bazel working in Cygwin, which isn't mentioned positively or negatively in the FAQ, and compile.sh appears to fail silently.
$ echo $JAVA_HOME
/cygdrive/c/Program Files/Java/jdk1.8.0_45

$ javac -version
javac 1.8.0_45

$ apt-cyg install libarchive-devel pkg-config zip gcc-g++ zlib-devel
Package libarchive-devel is already installed, skipping
Package pkg-config is already installed, skipping
Package zip is already installed, skipping
Package gcc-g++ is already installed, skipping
Package zlib-devel is already installed, skipping

$ ./compile.sh

$ echo $?
127

Tweaking compile.sh to be verbose reveals that the failure is on this line:
JAVAC_VERSION=$($JAVAC -version 2>&1)

Because $JAVAC is not quoted and $JAVA_HOME contains a space.  Escaping the space (i.e. JAVA_HOME=".../Program\ Files/...") causes compile.sh to report that "JAVA_HOME (/cygdrive/c/Program\ Files/Java/jdk1.8.0_45) is not a path to a working JDK."
Working around this by creating a symlink without a space, the script gets a little further:
$ ./compile.sh
Compiling Java stubs for protocol buffers...
./compile.sh: line 362: : command not found

This is line 362; at least this time the error is helpful, but it seems like there's a missing -x $PROTOC earlier in the script.
Sadly setting $PROTOC gets us to a real sticking point:
$ ./compile.sh
Compiling Java stubs for protocol buffers...
Compiling Bazel Java code...
javac: file not found: \tmp\bazel.236AM5Pv\param (The system cannot find the path specified)

This error is coming from javac, since it doesn't know how to handle Cygwin paths.  Addressing that is probably more invasive, but the earlier issues seem straightforward enough to address, namely:

Failures in $(...) subshells can cause the script to fail silently.
Calls to $JAVAC (and presumably other commands) need to be quoted to handle paths with spaces.
$PROTOC is not checked for existence before being used.

We're happy to accept a patch. :-)

I have submitted a commit for the JAVAC issue. I will work on the two others right now.
As Ulf said, if you have patch for cygwin, we would more than happy to integrate them.

For the failures in $(...) I don't have a good solution that doesn't requires over-engineering what should stay a bootstrap script. I will add the check for the protobuf compiler though.

Awesome, thanks Damien!  I was starting on a patch when I saw your comments, and found a reasonably painless solution to the $(...) failures.  According to this question subshells actually don't cause exits generally (which might actually be a problem elsewhere); they only fail in assignments i.e. abc=$(...).  You can either use abc=$(...) || true to let the command always pass, or abc=$(...) || fail ... to fail verbosely.
That said, you may not need this workaround if you've fixed the quoting issue, it only cropped up because [[ -x $JAVAC ]] implicitly quotes the argument (apparently).
Since you're already on top of these specific problems, I don't have any patches to share presently, but I'll be sure to do so when I can.

thanks for report. Keep the patches/bugreports coming!  I believe Bazel has supported cygwin in a distant past, so if your entire toolchain is on Cygwin, you could probably make this work.


Legend font doesn't work?

I've tried many different fonts for the legend, but they all seem to default to Helvetica Neue.
Is there a list of compatible fonts? I even tried Comic Sans MS, luckily that didn't work either :-)
Tried so far:
Verdana
Arial
Times New Roman
Roboto
Comic Sans MS
None of these seem to change the font in the legend.

I will check this later this week. Seemed to work for me.

Let me know if you need any more information!

The same I asked in #57, do you still have this problem when you install v3.1.1?

I'll just close this issue.... ;)

Haha, no problem ;-)


Document query propagation control (citus_tools)

Opening a PR for discussion on the progress so far. Do we want to add these functions to the UDF reference section as well?
Fixes #287

This shouldn't belong in the SQL section. The commands could be used for SQL, but primarily are used for other utility activities (creating functions on workers, changing config settings etc). It's also used for some DDL like create index.
We had also discussed whether we want to make these functions public, or just create an unlinked page which can be used/sent at the discretion of Sales Engineering. @samay-sharma What are your thoughts here.
I think keeping them out of the UDF configuration section is also OK for now.

I moved this content to a /extra/query_propagation.html section that is not listed in the table of contents. Thus we can share the link with people but nobody will stumble on the section while browsing, nor will google know to index it.

[from our Slack conversation] this section should have a section about gotchas. I'll pull it back to the "please revise" column.

Also, over the last week, I've received the question of being able to propagate worker commands at least 2-3 times. @begriffs @samay-sharma What do you think of also adding run_command_on_workers to our public docs?

I'm fine with documenting any of these functions publicly since we provide a warning about their hazards. But I'll defer to @samay-sharma's judgement.


Remove volumeName from disks

What this PR does / why we need it:
Disks and Volumes now need to have matching names, similar to Interfaces
and Networks. This makes the API more consistent.
Before:
    spec:
      domain:
        devices:
          disks:
          - disk:
              bus: virtio
            name: registrydisk
            volumeName: registryvolume
      volumes:
      - name: registryvolume
        registryDisk:
          image: registry:5000/kubevirt/cirros-registry-disk-demo:devel

After:
    spec:
      domain:
        devices:
          disks:
          - disk:
              bus: virtio
            name: registrydisk
      volumes:
      - name: registrydisk
        registryDisk:
          image: registry:5000/kubevirt/cirros-registry-disk-demo:devel

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1024
Special notes for your reviewer:
See also the mailing list discussion: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/kubevirt-dev/17EW5fKst4M/oD9EId1bBQAJ.
Release note:
API incompatible change: "volumeName" got removed. The name of a disk and the name of a volume must match. API version is bumped to `v1alpha3`.

This is the last incompatible API change which I know of. We should probably come up with a roadmap on when we plan to move our API to v1beta1, which means that we expect no incompatible API changes anymore until we reach v1.

I think we will need to update docs as well.

This should be considered for merging after the next release.
/hold

Yes, and it looks like there are additional API changes which we want to do, putting them into one release will probably be helpful to users.
@rmohr we could also look at the feature in CRDs which allows to migrate from one scheme to anohter to ease user updates.

xref #1576

I'm in favor of this change
The functional tests are complaining about some validation webhook issues. Looks like it could be related to this.

test

travis failure :(

Some of them seem to be related. Probably new changes from rebasing:
Summarizing 4 Failures:

[Fail] Storage Starting a VirtualMachineInstance With ephemeral alpine PVC [It] should not persist data
/root/go/src/kubevirt.io/kubevirt/tests/utils.go:1381

[Fail] Config With a ConfigMap defined With a single volume [It] Should be the fs layout the same for a pod and vmi
/root/go/src/kubevirt.io/kubevirt/tests/config_test.go:90

[Fail] Config With a Secret defined With a single volume [It] Should be the fs layout the same for a pod and vmi
/root/go/src/kubevirt.io/kubevirt/tests/config_test.go:185

[Fail] VirtualMachineInstanceReplicaSet [It] should reject POST if validation webhoook deems the spec is invalid
/root/go/src/kubevirt.io/kubevirt/tests/replicaset_test.go:154

Ran 171 of 201 Specs in 4680.941 seconds

Ping?


Update doc for the computer_metrics argument of SFTTrainer

The compute_metrics argument defaults to None in the SFTTrainer class, but the docstring was inaccurate. This PR updates the descriptions of the argument to match the definition in the constructor.

@lvwerra @younesbelkada does this apply to the DPOTrainer documentation too? Let me clarify: shall the documentation of the compute_metrics parameter of the DPOTrainer say something like

If not specified, only the XXX will be computed during evaluation.

?

@younesbelkada I just want to first dig a bit more into the code base to really understand what it should be expected 🙏🏻


SparseMatrix/TableDocument should have consistent method names

We are inconsistent with our names of methods. For example, we user "annotate" instead of "set" in some cases, but the corresponding getter uses "properties". I.e.
annotateRows / getRowProperties, annotateCols / getColProperties
We should be consistent and use either "properties" or "annotations" consistently.
More context here: https://github.com/microsoft/FluidFramework/pull/1441#pullrequestreview-370060768

I'd want to punt this given that we are not investing into matrix 1.0 (which is deprecated).
@anthony-murphy - if we are planning to make changes here, can you please put a bit better description such that it can truly be called "good first issue" that I'm about to mark it?


Add NoUselessContinueCountFixer.

Expected
    <?php
        while(true) {
            break  ;
        }
        while(true) {
            continue ;
        }

Input
    <?php
        while(true) {
            break  1;
        }
        while(true) {
            continue 0;
        }

Is this something you've seen in real code bases?

yes, however, may it to rare after all


[RFC] [4.0] Behaviour of nested variables

There is no way to write a dollar sign without phpdotenv trying to evaluate it as a variable. This is fine, so long as you don't actually have a variable of that name, but will cause problems otherwise. Should we:

Move evaluation of nested variables to the parser, or at least have some more intelligent way of the parser to produce output so that its clear what variables are fair game for replacement.
Only allow variable evaluation within double quoted strings?
Add a way to prevent variable evaluation with an escape sequence?

Both 2 and 3 depend on 1.

Should we aim for closer feature parity with bash?


Raw data requests for medias

Hi,
I think it could be useful to some functions in order to replicate the api calls made by the app to retrieve the actual raw data (img or video) of some medias.
This could help bot creators to fully simulate the calls flow made by the real application and avoid to be detected as bot.
Use case:
after retrieving media from the timeline feed we should be able to send a request to retrieve profile pics, photos and videos.
Of course in the real application lots of information would be cached but this logic should be implemented by the dev using this library and not the library itself.

There's nothing fancy going on.
You can set the user-agent to the one provided by ig.state.appUserAgent and the headers X-FB-HTTP-Engine: Liger and Estimated-Size-Bytes: {estimatedBytes} but that's it.

after retrieving media from the timeline feed we should be able to send a request to retrieve profile pics, photos and videos.

That's already supported.
import * as requestPromise from 'request-promise';
const download = (url) => requestPromise.get({
      url,
      encoding: null,
      // not needed even without these it works
      headers: {
            'Accept-Encoding': 'gzip',
            'Connection': 'close',
            'X-FB-HTTP-Engine': 'Liger',
            'User-Agent': ig.state.appUserAgent,
      },
});


Disable click in map view

We want to disable clicking in the map view. We are using the view as a background for something and don't want the click even to do anything. On Xamarin Forms setting the IsEnabled flag to false works on iOS but not on droid.
VERSIONS

Xamarin.Forms.GoogleMaps - 1.7.1
Xamarin.Forms - 2.3.4192-pre2

PLATFORMS

[x] Android
[ ] iOS
[ ] UWP

HOW TO REPRODUCE

Create a map view with a pin
Set IsEnabled to false
Try clicking on pin

Ahh, this is Google Maps API's design.
I think view.setEnable is independent with maps any gesture and pin clicking.
You can disable Pin clicking below code.
map.PinClicked += (sender, e) =>
{
    e.Handled = !map.IsEnabled;
};

That work as expected, thanks!


Refactor read info classes using a super class

Closes #172
Closes #150
Implement a super class, ReadTransportInfo, for ReadSSHInfo, ReadWinrmInfo and ReadRdpInfo.

Changes Unknown when pulling 8343f0280fdf00d3e2e889296abae0fbe961d034 on refactor_read_info into ** on master**.

Running RSpec tests in folder : vmlifecycle
Using Vagrant file            : Vagrantfile.advanced_networking

VM Life Cycle
  starts Linux and Windows VM
  destroys Linux and Windows VM

Finished in 2 minutes 48.2 seconds (files took 0.13955 seconds to load)
2 examples, 0 failures

Running RSpec tests in folder : networking
Using Vagrant file            : Vagrantfile.advanced_networking

Networking features
  creates firewall and portwarding rules for both Virtual Router and VPC

Finished in 2 minutes 48.7 seconds (files took 0.09559 seconds to load)
1 example, 0 failures

Running RSpec tests in folder : rsync
Using Vagrant file            : Vagrantfile.advanced_networking

VM RSync
  does rsync to the VM

Finished in 49.84 seconds (files took 0.09467 seconds to load)
1 example, 0 failures

Nice work @bheuvel you cleaned this #SpringCleaning issue. When this PR is accepted, please send your postal address to<EMAIL_ADDRESS>if you like to receive your book. Best Regards Michiel

@bheuvel the book is on its way. Thanks for joining this years OpenSourceSpringCleaning.


[BUG] on Starter example

<Easy to fix.  On https://dask-sql.readthedocs.io/en/latest/ in the Example code the last line is
# ...or use it for another computation
result.sum.mean().compute()

this throws an error because 'sum' was accidentally left in.
the code should be:
# ...or use it for another computation
result.mean().compute()

Thanks for raising @tiraldj, it looks like the sql query creates a column called sum but it cannot be accessed via result.sum since that's a reserved for the function sum.
Like you mentioned result.mean().compute() or result["sum"].mean().compute() probably accomplish what the example is going for.
@tiraldj is this something you would be comfortable in submitting a PR for? It's okay if you can't as well 😄 .


Feature request: Per-keystroke audio cue for multiple cursors

I suggest/request the ability to turn on a per-keystroke audio cue when typing/deleting with multiple cursors active.
I see value both as an accessibility feature and as a bonus for people like me who occasionally lose track of the fact that multiple cursors are active--especially when all but one are off-screen.
I imagine it such that that only actual edits would generate the per-keystroke audio cue, and not cursor movement.

@isidorn FYI

Not a bad idea. Let's keep this in the back of our heads and if more users request it we might reopen it. Though I do agree nothing for now and closing is fine. Thanks for the ping.


x/mobile/exp/audio compilation issue on Mac

I tried to compile the audio example from my mac to build an apk and getting a compilation error due to openAL headers not being available.
# golang.org/x/mobile/exp/audio/al
../../exp/audio/al/al_android.go:13:19: fatal error: AL/al.h: No such file or directory
 #include <AL/al.h>

Go version (1.6 beta):
go version devel +8db371b Thu Dec 17 22:45:50 2015 +0000 darwin/amd64
OS X: 10.10.5 (14F1021)
Xcode:
xcodebuild -version
Xcode 6.3.2
Build version 6D2105

For the record, I tried to edit a couple files to include OpenAL/al.h and alc.h but that created other issues:
#ifdef GOOS_darwin
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#endif

#ifdef GOOS_linux
#include <AL/al.h>
#include <AL/alc.h>
#endif

/Users/mattetti/Code/golang/pkg/gomobile/android-ndk-r10d/arm/bin/arm-linux-androideabi-gcc errors for preamble: ../../exp/audio/al/al_android.go:39:20: error: unknown type name 'LPALENABLE'  void call_alEnable(LPALENABLE fn, ALenum capability) {                     ^ ../../exp/audio/al/al_android.go:39:35: error: unknown type name 'ALenum'  void call_alEnable(LPALENABLE fn, ALenum capability) {
etc... you get the point.

/cc @rakyll since I mentioned this issue to you on twitter and I'm almost sure your email inbox is almost empty :p :japanese_goblin:

How do you build the package, could you send me the commands you run with -x flag? And which env variables are set? Are you targeting darwin or Android?

I'm building the example using the information from main.go:
$ gomobile build golang.org/x/mobile/example/audio
Gomobile doesn't seem to accept shared build flags as the documentation seems to indicate. I can't figure out what version of gomobile I have installed, but I noticed something else odd:
$ gomobile build -target=android golang.org/x/mobile/example/basic
usage: gomobile [package]

Build compiles and encodes the app named by the import path.

The named package must define a main function.

If an AndroidManifest.xml is defined in the package directory, it is
added to the APK file. Otherwise, a default manifest is generated.

If the package directory contains an assets subdirectory, its contents
are copied into the APK file.

These build flags are shared by the build, install, and test commands.
For documentation, see 'go help build':
TODO:
	-a
	-tags 'tag list'

I've removed the gomobile binary (I couldn't even get a version using the version flag) and reinstalled gomobile which solved the problem. I'm really sorry, it looks like I had an old version installed, maybe in gobin.


Search dropdown half occluded on small display

I can pick this up. I'll work on it tomorrow.

@rawleyfowler I was just about to ask you. Nice work on tablemanager. I added your name to the plugin authors.
This one will be more difficult to find. It will be in the ogdenwebb plugin. The SCSS is scattered around several files.

This can be closed.


Migrate pallet-scheduler to pallet attribute macro

Part of #7882.
Converts the Scheduler pallet to the new pallet attribute macro introduced in #6877.
Following the upgrade guidelines here: https://crates.parity.io/frame_support/attr.pallet.html#upgrade-guidelines.
⚠ Breaking Change ⚠

From https://crates.parity.io/frame_support/attr.pallet.html#checking-upgrade-guidelines
storages now use PalletInfo for module_prefix instead of the one given to decl_storage: Thus any use of this pallet in construct_runtime! should be careful to update name in order not to break storage or to upgrade storage (moreover for instantiable pallet). If pallet is published, make sure to warn about this breaking change.

Sorry about the unwanted formatting, I ran cargo fmt and didn't notice the unrelated changes. Reverted most of it

bot merge


Fix text selection while new lines are being printed when history buffer is full

Summary of the Pull Request
When our text buffer is full, newlines cause the buffer to scroll underneath the viewport (rather than the viewport moving down). This was causing selections made during text output to scroll down. To solve this, when we increment the circular buffer, we decrement the y-coordinates of the current selections by 1. We also invalidate the previous selection rects.
PR Checklist

[x] Closes #10319
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
[ ] Schema updated.
[x] I work here

Validation Steps Performed
Cannot repro the issue

Any chance this also fixes #7524?

Any chance this also fixes #7524?

I'm leaning towards no because this fix only touches what happens when we IncrementCircularBuffer and #7524 doesn't mention anything about the buffer needing to be full (tho it doesn't mention any other repro steps either so idk maybe?)


anchor-reference-server: update rates model of the callback API to match the latest version

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[x] This PR adds tests for the most critical parts of the new functionality or fixes.

What
Update rates model of the callback API to match the latest version.
Also, implement method to get rate by ID in the reference server.
Why
Close #181

Reference Server Preview is available here:https://anchor-ref-pr198.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr198.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr198.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr198.previews.kube001.services.stellar-ops.com/


XGBoost onnx backend inference not working with a single example

Here is the code to reproduce:
import numpy
from xgboost.sklearn import XGBClassifier
from hummingbird.ml import convert

x, y = numpy.random.randn(1000, 10), numpy.random.randint(0, 2, 1000)
clf = XGBClassifier(n_estimators=20)
clf.fit(x, y)
extra_config = {
    "tree_implementation": "gemm",
    "onnx_target_opset": 14,
}
extra_config["n_features"] = x.shape[1]
onnx_model = convert(
    clf,
    backend="onnx",
    test_input=x[:10],
    extra_config=extra_config,
)
onnx_model.predict(x[:2])  # Works as expected
onnx_model.predict(x[:1])  # Does not work

And here is the error thrown by onnxruntime.
InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Non-zero status code returned while running Transpose node. Name:'/_operators.0/Transpose' Status Message: perm: [ 1 0 ] does not align with rank of input data: 1

Looking at the onnx graph, it seems that there is a squeeze operation with axis=None. With a single example, the input data shape would be (n_trees, 1, n_examples). Without the axis being specified, for a single example, the last 2 dimensions are removed which then doesn't match the transpose operation.

I can reproduce this bug and am running into it myself as well. I ran the following code (just changing the input array to onnx_model from 10 to 20 for clarity, so it's not the same as the length of the input array).
import numpy
from xgboost.sklearn import XGBClassifier
from hummingbird.ml import convert

x, y = numpy.random.randn(1000, 10), numpy.random.randint(0, 2, 1000)
clf = XGBClassifier(n_estimators=20)
clf.fit(x, y)
extra_config = {
    "tree_implementation": "gemm",
    "onnx_target_opset": 14,
}
extra_config["n_features"] = x.shape[1]
onnx_model = convert(
    clf,
    backend="onnx",
    test_input=x[:20],
    extra_config=extra_config,
)

Notably, looking at this onnx_model.graph.output we see that while the first output variable (the labels) correctly has a symbolic dimension, the second output variable (predictions) does not have a symbolic dimension.
[name: "variable"
type {
  tensor_type {
    elem_type: 7
    shape {
      dim {
        dim_param: "sym"
      }
    }
  }
}
, name: "onnx::ArgMax_31"
type {
  tensor_type {
    elem_type: 1
    shape {
      dim {
        dim_value: 20
      }
      dim {
        dim_value: 2
      }
    }
  }
}
]

When running predict, you should also see a warning:
2023-01-17 15:17:37.789612378 [W:onnxruntime:, execution_frame.cc:828 VerifyOutputSizes] Expected shape from model of {20} does not match actual shape of {2} for output variable

I believe that this issue is related to https://github.com/microsoft/hummingbird/issues/656 -- the output of the model is assumed to be a single output, instead of labels and predictions. Adding some debug logic around https://github.com/microsoft/hummingbird/blob/36ebab4d1aca9b913b3a34973928a12fdf49bfd9/hummingbird/ml/_topology.py#L260, to print the input and output names yields:
input: ['input_0']
output: ['variable']

So we see that variable - the only output - gets correctly modified to have the symbolic dimension but the second doesn't. It's probably possible for end users to fix this in post (manually editing outputted ONNX graph) but I think it's worth fixing in the core library.

hm, hacking a fix into the outputs setup, such that
onnx_model.model.graph.output
Out[10]:
[name: "labels"
type {
  tensor_type {
    elem_type: 7
    shape {
      dim {
        dim_param: "sym"
      }
    }
  }
}
, name: "predictions"
type {
  tensor_type {
    elem_type: 1
    shape {
      dim {
        dim_param: "sym"
      }
      dim {
        dim_value: 2
      }
    }
  }
}
]

still yields the same error as in OP. This error also presents in v0.4.6 of Hummingbird, so it's before the change to dynamic_axes when converting.
For reference, the mentioned bad Transpose node in the graph
node {
  input: "/_operators.0/Squeeze_output_0"
  output: "/_operators.0/Transpose_output_0"
  name: "/_operators.0/Transpose"
  op_type: "Transpose"
  attribute {
    name: "perm"
    ints: 1
    ints: 0
    type: INTS
  }
}

backend torch works correctly
torch_model = convert(
    clf,
    backend="torch",
    test_input=x[:20],
    extra_config=extra_config,
)
torch_model.predict_proba(x[:2])
torch_model.predict_proba(x[:1])

so my sense is that this is a bug in the torch -> onnx export path, since torch is the intermediate representation for the ONNX conversion anyways

It is not the first time we are having troubles with GEMM and ONNX. @jfrery can you please change the tree implementation from gemm to tree_trav or perf_tree_trav . You can pass extra_config={"tree_implementation": "tree_trav"} at conversion time to switch to tree_trav, for example. Closing this.

Actually we need the Gemm implementation. Maybe we can reopen and we will try to fix this?

It looks that this is more a problem with the onnx converter since the torch converter works. Can you open an issue with them showing that torch work, while onnx export fails? We can then use this issue to track the downstream one.


[EKS]: Multi-region approach

Implement multi-region approach as explained here: https://shanidgafur.github.io/blog/terraform-workspaces-for-multi-region-deployment

Multiregion implemented in v2.0.0


[Feature Request] Allow custom blocks to be placed by a builder in non-void quarry mode

So, just noticed you can only replace dirt with cobble in the builder's config. Would it be possible to change it so, when that option is enabled, you can set which block is placed? Default being, of course, cobblestone, so current functionality remains the same.

Implemented in 5.90


 Interpret the pods like define interprets the definitions

Er. Done?


⚠ Bofrost.lu has degraded performance

In eb48707, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1604 ms

Resolved: Bofrost.lu performance has improved in af97855.


Share the environment that worked.

I have been successfully run. Environment follows:
cuda 11.8
python 3.10.13
pytorch 2.1.1
causal_conv1d 1.1.1
mamba-ssm 1.2.0.post1
pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118
pip install causal_conv1d==1.1.1
pip install mamba-ssm==1.2.0.post1
# copy mamba-ssm dir in vim to conda env site-package dir
cp -rf mamba-1p1p1/mamba_ssm /opt/miniconda3/envs/mamba/lib/python3.10/site-packages

Hello, my environment is the same as yours, but I still report an error: Mamba.init() got an unexpected keyword argument 'bimamba'. Do you know how to solve it?

Hello, my environment is the same as yours, but I still report an error: Mamba.init() got an unexpected keyword argument 'bimamba'. Do you know how to solve it?

This issue may be you didn't copy the mamba-ssm dir of vim to the envs sitepage dir. Because Vim's author modified the mamba-ssm in their code. The mamba-ssm package that installed via pip is official package. So, you must copy  mamba-ssm dir of Vim to virtual environment after pip install mamba-ssm.
cp -rf mamba-1p1p1/mamba_ssm /opt/miniconda3/envs/**mamba**/lib/python3.10/site-packages

Hello, my environment is the same as yours, but I still report an error: Mamba.init() got an unexpected keyword argument 'bimamba'. Do you know how to solve it?

This issue may be you didn't copy the mamba-ssm dir of Vim to the envs site-packages dir. Because Vim's author modified the mamba-ssm in their code. The mamba-ssm package that installed via pip is official package. So, you must copy mamba-ssm dir of Vim to virtual environment after pip install mamba-ssm.
cp -rf mamba-1p1p1/mamba_ssm /opt/miniconda3/envs/**mamba**/lib/python3.10/site-packages

Thanks a lot. I know what the problem is

This also worked for me, thank you!

Hello, in my environment  “causal_conv1d_cuda“  can't be imported  ,do you encount the same problem?

Hello, in my environment “causal_conv1d_cuda“ can't be imported ,do you encount the same problem?您好，在我的环境中“causal_conv1d_cuda”无法导入，您遇到同样的问题吗？

This problem might caused by the wrong version of causal_conv1d  mamba-ssm. Follow this issue, import exact version of the packages as causal_conv1d==1.1.1 and mamba-ssm==1.2.0.post1!

I think the cuda version is important to keep 11.8.

Thank you for your sharing, but you did not find that this environment is only for vim model, and it is completely unavailable for another seg model, and the author did not upload complete code, may I ask if you have successfully reproduced the seg model?

Thank you for your sharing, but you did not find that this environment is only for vim model, and it is completely unavailable for another seg model, and the author did not upload complete code, may I ask if you have successfully reproduced the seg model?

I also want to ask.

I have been successfully run. Environment follows: cuda 11.8 python 3.10.13 pytorch 2.1.1 causal_conv1d 1.1.1 mamba-ssm 1.2.0.post1
pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118
pip install causal_conv1d==1.1.1
pip install mamba-ssm==1.2.0.post1
# copy mamba-ssm dir in vim to conda env site-package dir
cp -rf mamba-1p1p1/mamba_ssm /opt/miniconda3/envs/mamba/lib/python3.10/site-packages

Hello, I have encountered the same problem - TypeError: Mamba.init() got an unexpected keyword argument 'bimamba_type'.
and I have also copied the mamba-ssm dir of Vim to the envs site-packages dir.
It is useful and I solved this problem.
But when I run the code, it brings a new problem and it looks like the same problem-Mamba.init() got an unexpected keyword argument 'if_devide_out'. How can I solve it?


SuperH: some reference issues with mov Rn, @(R0, Rm) and mov R0, @(#imm8, gbr)

Describe the bug
There are two symptoms, probably very related, for certain occurences of these two opcodes:
mov Rn, @(R0, Rm)

mov R0, @(#imm8, gbr)

To Reproduce
Steps to reproduce the behavior:

Load the attached dump with mostly default options. Language is SuperH SH-2A
analyze
go to address 45ec2 or 12b04

Screenshots
First, at 45ec2 : r2 = 0x040C, but that's just used as an offset, not a full address to a function that happens to exist at 040C :
00045ebe 02 dd           mov.w      @(r0,r13),r2=>DAT_ffff2cb2                       = ??
00045ec0 90 4a           mov.w      @(DAT_00045f58,pc),r0                            = 040Ch
00045ec2 0d 25           mov.w      r2,@(r0=>FUN_0000040c,r13=>DAT_ffff2cc4)         = ??

The compiler shows a much saner line :
DAT_ffff2cc4 = DAT_ffff2cb2;
Next, at 12b04 : the disasm shows the correct ref to DAT_ffff821c, since gbr was set to ffff8000 just earlier.
00012b04 c2 87           mov.l      r0,@(0x21c,gbr=>DAT_ffff821c)                      = ??
But in the decompiler hasn't deduced DAT_ffff821c as the destination :
iVar2 = -0x8000;   // duh, that's ffff8000
...
...
*(undefined4 *)(iVar2 + 0x21c) = 0x3;

Expected behavior
Probably something like
00045ec2 0d 25           mov.w      r2,@(r0,r13=>DAT_ffff2cc4)
and
DAT_ffff821c = 0x3;
Attachments
6Z68A.zip
Environment (please complete the following information):

OS: linux
Java Version: 18.0.1
Ghidra Version: 10.1.4
Ghidra Origin:  archlinux build

This has been mostly fixed in 10.3.
Make sure you make a function at the beginning of the this particular routine.
I believe the multiple value references occurred because there wasn't a function defined for that code when constant evaluation occurred.
There is also a bug that if you clear a section of code that is not in a function and you re-disassemble it, the references are computed starting at the cleared code, which can result in some bad references in some cases.  If code is cleared that isn't in a function, the analysis should find the start of the function and compute constants from there. There wasn't enough time to fix this in 10.3.
Also the decompiler will not trust the values coming out of memory if it is writable.  If all of you code section is read-only, you can remove the writable flag in the memory map.  Otherwise you can create data at key locations and set the constant flag on the data type.  This will get the references you expect in the code browser.
Be careful setting memory as read-only, if it really isn't.  Initialized values like 0xDEADBEEF can show up in memory and the decompiler and analysis will use them as constants.

I regret to report that 10.3 still behaves the same in both cases.


Refs #6451 Added XML config option for avoid_builtin_multicast flag. [6452]

This PR allows the user to disable the new flag to avoid choose multicast locators from the list received from remote participants.

Updated fastRTPS_profiles.xsd reference file.
Added parser logic for the new flag.
Added the option and checks in XMLParserTests.

Build status:

Linux
Mac
Windows

Merging this as the valgrind errors come from a different PR and will be fixed separately.


Content-addressed bitcode and object files

This is still WIP; it probably needs more work + cleanup to bring it to parity with the current behavior.
See #58.

OK let me know when it's ready. We should make sure the (right version of the) linux kernel still builds.

Leaving some notes to myself:

This approach needs to be a little more thoughtful. It currently it blindly creates a list of ($hash.bc, $hash.o) pairs that never get merged back in, since the ultimate executable is linked against foo.o instead of its $hash.o dual.
There are probably still some sources of unsoundness left, although they're maybe no more unsound than the misbehaving build system that would trigger them. In particular, a build system that recompiles foo.c concurrently might clobber the content-addressed paths, but such a build would already be at risk of writing clobbered object files.


create delete manage routes command

it would be nice to have the ability to use
cf map-route
 cf unmap-route
this is necessary for blue-green deployments

This has been implemented in v2.5.0/latest!


[go_router] Should GoRouter.of(context) rebuild the widget when GoRouter notifies its listeners?

Steps to Reproduce
Using GoRouter.of(context) doesn't make the widget rebuild if the GoRouter notifies its listener. This forces me to wrap my widget with an AnimatedBuilder(animation: GoRouter.of(context)).
Shouldn't GoRouter.of(context) imply a rebuild of the widget when GoRouter notifies its listener? If not, I'm curious to know why it wouldn't be an expected behavior

Execute flutter test on the code sample (see "Code sample" section below) (or you can check out https://github.com/ValentinVignal/flutter_app_stable/tree/go-router/of-context)
Notice the logs (see section below), here is a high level translation

The widget builds with /a, and it cannot pop since there is only 1 page in the history.
The animated builder builds with /a, and it cannot pop since there is only 1 page in the history.
/b is being pushed.
The widget builds with /b, and it can pop since there are 2 pages in the history.
The animated builder builds with /b, and it can pop since there are 2 pages in the history.
The animated builder already built from the first page /a rebuilds because GoRouter notifies its listeners; and it can pop since there are 2 pages in the history. Notice that the widget itself doesn't rebuild, only the animated builder.
/b is being popped. We go back to /a.
An animated builder rebuilds because GoRouter notifies its listeners; and it cannot pop since there is only 1 page in the history. Notice that the widget itself doesn't rebuild, only the animated builder.
The other animated builder rebuilds because GoRouter notifies its listeners; and it cannot pop since there is only 1 page in the history. Notice that the widget itself doesn't rebuild, only the animated builder.

Some context:
When doing some UI logic with GoRouter.of(context), I need my widgets to rebuild when the router state changes.
An example is this GoRouterBackButton that displays a BackButton when there is a page to pop.
This is useful when the page stack contains transparent/non-opaque pages (they look like a drawer/dialog/bottom sheet) that don't block the interactions with pages behind.
Expected results:
I was expecting the widgets to rebuild when the router state changes.
Actual results:
The widgets don't rebuild when the router state changes.

Code sample
Or you can check out https://github.com/ValentinVignal/flutter_app_stable/tree/go-router/of-context
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router/go_router.dart';

class GoRouterBackButton extends StatelessWidget {
  const GoRouterBackButton({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    final router = GoRouter.of(context);
    print(
      'GoRouterBackButton.build - canPop ${router.canPop()}',
    );
    return AnimatedBuilder(
      // This forces the widget to rebuild when a page is pushed/popped. This is
      // useful when the page pushed is transparent.
      animation: router,
      builder: (context, child) {
        print(
          'GoRouterBackButton.build.AnimatedBuilder.builder - canPop ${router.canPop()}',
        );
        return Visibility(
          visible: router.canPop(),
          child: child!,
        );
      },
      child: BackButton(
        onPressed: router.pop,
      ),
    );
  }
}

void main() {
  testWidgets(
      'It should display a back button when there is a page to pop and pop it when pressed',
      (tester) async {
    final router = GoRouter(
      initialLocation: '/a',
      routes: [
        GoRoute(
          path: '/a',
          builder: (_, __) => const Material(child: GoRouterBackButton()),
        ),
        GoRoute(
          path: '/b',
          builder: (_, __) => const Material(child: GoRouterBackButton()),
        ),
      ],
    );
    final widget = MaterialApp.router(
      routerConfig: router,
    );
    await tester.pumpWidget(widget);

    expect(
      find.byType(BackButton),
      findsNothing,
      reason: 'When there is nothing to pop, it should not display anything',
    );

    print('Before push');
    router.push('/b');
    await tester.pumpAndSettle(); // Navigate between the pages.
    expect(router.canPop(), true);

    expect(
      find.byType(BackButton),
      findsOneWidget,
      reason: 'It should display a back button when there is a page to pop',
    );

    print('Before pop');
    await tester.tap(find.byType(BackButton));
    await tester.pumpAndSettle(); // Navigate between the pages.

    expect(
      find.byType(BackButton),
      findsNothing,
      reason: 'When there is nothing to pop, it should not display anything',
    );
  });
}

Logs
00:02 +0: It should display a back button when there is a page to pop and pop it when pressed
GoRouterBackButton.build - canPop false
GoRouterBackButton.build.AnimatedBuilder.builder - canPop false
Before push
GoRouterBackButton.build - canPop true
GoRouterBackButton.build.AnimatedBuilder.builder - canPop true
GoRouterBackButton.build.AnimatedBuilder.builder - canPop true
Before pop
GoRouterBackButton.build.AnimatedBuilder.builder - canPop false
GoRouterBackButton.build.AnimatedBuilder.builder - canPop false
00:02 +1: All tests passed!

Analyzing flutter_app_stable...

   info • Avoid `print` calls in production code • test/widget_test.dart:18:5 • avoid_print
   info • Avoid `print` calls in production code • test/widget_test.dart:26:9 • avoid_print
   info • Avoid `print` calls in production code • test/widget_test.dart:69:5 • avoid_print
   info • Avoid `print` calls in production code • test/widget_test.dart:80:5 • avoid_print

4 issues found. (ran in 2.6s)

[✓] Flutter (Channel stable, 3.3.2, on macOS 11.6.8 20G730 darwin-x64, locale en-GB)
    • Flutter version 3.3.2 on channel stable at /Users/valentin/flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e3c29ec00c (9 days ago), 2022-09-14 08:46:55 -0500
    • Engine revision a4ff2c53d8
    • Dart version 2.18.1
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /usr/local/Caskroom/android-sdk/4333796
    • Platform android-33, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.71.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.48.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.6.8 20G730 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hello @ValentinVignal. Thank you for filing this issue. I am unsure if this is expected or not. Labelling for insights from the team.

I think we should remove all state lookup from GoRouter and expose GoRouterState from context. It is weird to have state lookup from different places. I will repurpose this issue to expose GoRouterState

So @chunhtai , to summarise. Instead of GoRouter.of,  we should use GoRouterState.of and this should rebuild the widgets when the state changes?


Process Explorer: Process Properties->Performance tab performance issue

When you're opening Process Properties dialog (Performance tab) for a process that has a big working set (5-10 GB) it appears with a delay (a few seconds) and increases CPU usage by ~20-25%.
This is the test program that shows the root cause of the issue: https://gist.github.com/AndreyBazhan/1b984fac80e79bb17c03d4a8fc981384
To reproduce the issue, run Testlimit64.exe -d 1000 -c 10 before running the test program.

Thanks for reporting this, we will take a look.

Have added to the backlog so closing here


LandsatTrends download facility for Native Sentinel2 Tiles

Problem
current TCVIS download only working for smaller areas
Solution

pre download TCVIS to auxiliary data

speeds up general processing

need more file handling

use other implementation, e.g geemap :smile:


[Feature]: Authentication using Auth0

Summary
Auth0 offer us a service that facilities the Authorization and Authentication of the apps. We are going to implement Auth0 to the app.
Acceptance Criteria

[x] Create the credentials in Auth0.
[x] Programming the Universal login of Auth0
[ ] Implement social media login to the project.
[ ] Develop the multi factor authentication.

Those are our apps in Auth0.

We have universal login on a mock page with Next.js


Support clicking on barplots to show details

Analogously to how collapsed clades can be clicked on to show the clade's root node. Doing something similar here -- where clicked-on bars pop open a menu for their corresponding tip node -- would be really useful, esp. for datasets like the moving pictures tree where there are a few silly long branches that push out the barplots away from the rest of the tree.
Probably less important than #299, but would still be nice.

may be good to defer this until #318 is addressed, since there will likely be similar performance problems with this for large trees that'd benefit from some fancy math.

This came up at this morning's meeting as another way (along with #366) to make barplots easier to explore.
It may be possible to make this somewhat faster than the "compute distance to all nodes" solution used for determining which node a user selected; since rectangular layout barplots are all at the same x-axis position (for a given layer anyway), and since circular layout barplots for a given layer are all at the same radius, we can just look at the y-coordinate (rect) or angle (circular: we can determine this for an arbitrary clicked position by computing arccos(x / radius)) and use that to figure out which tip to select.
I guess we can (when a click event happens) look at the position and check that it's past the first barplot layer? i.e. past the leftmost barplot layer's leftmost x-coordinate in the rect layout, or past the innermost barplot layer's innermost radius in the circular layout -- and use that to determine whether to pick the closest node or the closest barplot layer.
...hopefully shouldn't be too bad :)


Firefox log spam: Could not establish connection. Receiving end does not exist.

Description
Extension constantly writes errors to DevTools log.
Steps to Reproduce

Install latest Firefox Nightly.
Install DuckDuckGo extension.
Open any website.

Expected behavior:
No error messages in DevTools.
Actual behavior:
DevTools is flooded by many copies of this error message:
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist.
Error messages always mention file "background.js", but line number is different for each message.
Versions

Extension: 2018.6.28
Browser: Firefox Nightly
OS: Linux

Unchecked lastError value: Error: Could not establish connection. Receiving end does not `exist.``

These issues have since been resolved, they still re-occur from time to time but our migration to the Mozilla shim auto catches these lastError messages and will handle this better.
Thanks for reporting!


The aggregate is not getting designated as local tier.

Need to do something like this:
PATCH /api/svm/svms/ce8c8190-deda-11ed-a76f-005056b09977 { "aggregates": [ { "name": "Cluster2_01_FC_1", "uuid": "beabf943-d690-4fc7-81c5-5f83ca6aa7ef" } ] }(0.055s)

Fixed


Build mimic scripts

PostgreSQL build/load scripts.

Hi,
The ED tables are not publicly available but please is it possible to include them in the build MIMIC scripts?
https://mimic-iv.mit.edu/docs/datasets/ed/
Thanks


The table "desktop_document2" is too large. Are there any safe methods to clean it up?

Description
The "desktop_document2" table has become excessively large and is associated with numerous foreign keys. I need to find a safe and appropriate way to clean up this table.

I saw this at about page. It seems the following command will solve your problem.
hue desktop_document_cleanup --cm-managed
version is 4.11.0.
not verified. so please backup your database before you try it.


[BUG] HA 2023.10.x : hide_dialog_media_actions hide the on/off switch toggle and light slider

Describe the bug
A clear and concise description of what the bug is.

After updating to HA 2023.10.x (.3 in my case), the setting hide_dialog_media_actions hide the switch on/off toggle and the light slider

hide_dialog_media_actions: false

hide_dialog_media_actions: true

To Reproduce
Steps to reproduce the behavior:

use hide_dialog_media_actions: false
Click on a switch to open more_info
See expected behavior.
Change to hide_dialog_media_actions: true
Click on a switch to open more_info
See unexpected behavior.

Versions:

Home Assistant: [e.g. 2023.10.3]
Kiosk-Mode [e.g. v4.1.0]

Hi @BoneheadFraggle,
I‘ll take a look at it, most probably it was introduced with this change.
Regards

Hi @BoneheadFraggle,
Let me know if this version solves the issue.
Regards

Hi @BoneheadFraggle, Let me know if this version solves the issue. Regards

@elchininet
Yep! Everything I have been able to test works great again. with that version.
Great work. Thanks!

Perfect @BoneheadFraggle,
When this pull request gets merged and a new version is released, you can install the plugin through HACS again.
Regards


Execute fn parameter expects a resolved function

I was struggling with the execute function over here: https://github.com/knor-el-snor/tree-house/blob/master/src/lib/base/BaseController.js#L18. This expects a Promise instead of an executable function. Is this by design?

Nevermind, just passing an array, string or object is also fine...

My mistake, async/await confused me... The execute function expects a Promise instance, is this correct?

Mayor version release fixes this issue 🤓


What about other meta tags

Can we add other tags like keywords..author etc?

Yes I agree with @bdairy . Please @vinaygopinath what about that?

When I built this, it was for the purpose of using the basic meta tags listed in ogp.me, but adding support for other tags is straightforward and I'm open to that. Which tags would you like to see included?
If anyone wants to take a dig at it and send me a PR, that'd be cool too.

How about og:url?

Or a construct where you could set arbitrary meta tags. So, if you add the following to a route:
meta: {
  myCustomTagName1: 'myTagValue1',
  myCustomTagName2: 'myTagValue2'
}

You would then be able to do the following:
<meta property="myCustomTagName1" content="{{ngMeta.myCustomTagName1}}">
<meta property="myCustomTagName2" content="{{ngMeta.myCustomTagName2}}">

Replace myCustomTagName1 with og:url for example.
Thoughts?

agree with @apitts  that would be great

Thanks @apitts. That's a great suggestion.
I've started working on this feature. I'll release a new version by the end of this week.

@vinaygopinath I've added support for keywords and url.. I can send it to you personally to evaluate it and give me your feedback.. so maybe you can added to the repo.. but if yow implemented that enhancement you wont need to specify tags any more.

@bdairy Thanks for adding "keywords" and "url", but I think I'll make it more generic to support arbitrary tags without having to handle each of them separately.

Hey guys, sorry for the delay.
I've just updated ngMeta to 0.3.0 with support for arbitrary tags. This release has breaking changes!
In the app.js run block, please call the init function
angular.module('YourApp', ['ngRoute', 'ngMeta'])
.config(function($routeProvider, ngMetaProvider) {
  ....
})
.run(function(ngMeta) {
  ngMeta.init();
});

In the config phase, you can set defaults for arbitrary tags. You can continue to use ngMetaProvider.useTitleSuffix(bool), ngMetaProvider.setDefaultTitle(string) and ngMetaProvider.setDefaultTitleSuffix(string)
ngMetaProvider.setDefaultTag('ogDescription', 'Placeholder description');
ngMetaProvider.setDefaultTag('og:sitename', 'Placeholder sitename');

In your routes/states, you can define any meta tag
meta: {
  'ogDescription': 'Description of the page',
  'og:image': 'http://example.com/b.png'
}

In your controllers, you can now use
ngMeta.setTag('og:image', 'http://example.com/a.png');

In your HTML, make sure you refer to tags with special characters in a JS-safe way
<meta property="og:image" content="{{ngMeta['og:image']}}" />
<meta property="og:description" content="{{ngMeta.ogDescription}}" />

Please confirm that this release works and I'll close this issue
Thanks for the input, everyone!


[BrokenLinksH2] Fixed the link path

Fixed the link path

Global effort to fix broken links
@michael-hawker
The Content & Learning team is fixing broken links on docs.microsoft.com for the rest of H2. This effort will eliminate potential accessibility, security, and usability issues. This PR includes only link fixes and does not change other content. Please review within five business days and merge, or comment in the PR with any changes you'd like to see. Thanks!

Global effort to fix broken links
@michael-hawker
The Content & Learning team is fixing broken links on docs.microsoft.com for the rest of H2. This effort will eliminate potential accessibility, security, and usability issues. This PR includes only link fixes and does not change other content. Please review within five business days and merge, or comment in the PR with any changes you'd like to see. Thanks!

@v-sidlama this is a valid anchor tag for this page and not a broken link. Please check your infrastructure that is detecting this.
See page section it's linking to here: https://docs.microsoft.com/en-us/windows/apps/design/input/mouse-interactions#cursors

@v-sidlama this is a valid anchor tag for this page and not a broken link. Please check your infrastructure that is detecting this.
See page section it's linking to here: https://docs.microsoft.com/en-us/windows/apps/design/input/mouse-interactions#cursors

Indeed. It seems the previous update has not merged yet. Hence, the live one is still broken. Source page and the actual broken link - UWP Design guidelines

Ah, yes this was fixed in #605/#608, we just haven't merged the change to live yet. We've been pretty focused on redoing all our infrastructure for building our project the last 6 months... part of our plan is to automate pushing to our new repository (https://github.com/MicrosoftDocs/CommunityToolkit), but we're a few months away from having any of that ready since we're just completing our initial infrastructure setup in the near future. As part of that we're going to revamp all our docs, we may just archive everything here and redirect once we setup the new documentation in its new home.

Ah, yes this was fixed in #605/#608, we just haven't merged the change to live yet. We've been pretty focused on redoing all our infrastructure for building our project the last 6 months... part of our plan is to automate pushing to our new repository (https://github.com/MicrosoftDocs/CommunityToolkit), but we're a few months away from having any of that ready since we're just completing our initial infrastructure setup in the near future. As part of that we're going to revamp all our docs, we may just archive everything here and redirect once we setup the new documentation in its new home.

In this case, I will close my PR. Thank you for confirming.


make -j fails

make -j fails with the following error, but make -j1 succeeds.
g++  -c -std=c++14 -O3 -march=native -pthread  -c -o cpp/count.o cpp/count.cc
…
g++ -c -MMD -MP -I. -g -O3 -DGITVER=\"0.6.0\" count.cc -o count.o
In file included from /usr/include/c++/5/unordered_map:35:0,
                 from count.cc:3:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

For the complete build log, see https://circleci.com/gh/brewsci/homebrew-bio/1998

This should work with the test branch. We'll merge it soon and update the release.

Thanks for the quick response!


SSH Howto

Took me some time to fix my ssh setup so that DEBUG=* github-current-user could run through successfully. I followed the github article to succeed. I think it's very helpful for people who run into problems, because the current website doesn't tell how to fix that.

Hm, but still, before i start the chat, i have to re-run eval eval "$(ssh-agent -s)" and ssh-add ~/.ssh/id_rsa. Is there a best practice how to deal with that? Or do you guys always re-run it?

@serapath what os?  Linux?  The common practice is to have a passworded ssh key that lives in your ~/.ssh folder and use ssh-agent to decrypt it when its used.  Most OSs that I've used will integrate with the system keychain in some way.  That way, once you're logged in on your local system, your SSH key is ready to go without additional passwords and the whole experience is decently seamless.  Windows has a form of ssh-agent I believe, and pageant and alternative systems are fairly common.
Post a little more details about your system and hopefully we can get you some more specific advice.

Or do you guys always re-run it?

no

ssh -T<EMAIL_ADDRESS>
This is the magic. Few times I forgot to run it. And of course check the contents of your local public key and that that you set in github.

What does ssh -t<EMAIL_ADDRESS>do?
My system is Linux Mint 17 and I use bash and xfce desktop.
Whenever I start npm start in the checked out friends chat repo, it opens and tells me i'm not authed.
So I have to close the chat and run eval "$(ssh-agent -s)" and then ssh-add ~/.ssh/id_rsa after which npm start will open the chat and it just works :-)

it do the auth, you can see in the article u give. so then there's no need to run eval "$(ssh-agent -s)" every time.

I tried ssh -T<EMAIL_ADDRESS>
Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.

So i did it, but i still get:
We couldn't automatically authenticate you with GitHub credentials!

Other authentication methods will be available but right now GitHub is your only option for signed messages and verifying your username.

Here's what we were able to figure out about who you are:

Username: unknown
Valid SSH key:
We also saw this error:

Error: Encrypted keys not supported. Setup an SSH agent or decrypt it first

Reasons this process can fail:

No user.username or user.email specified in ~/.gitconfig
You only have user.email in ~/.gitconfig and your email address is set to private on GitHub
You don't have any public keys linked to your GitHub account
You don't have a private key for the public keys linked to your GitHub account
Your private key is encrypted but you're not running ssh-agent or your key hasn't been added to the running ssh-agent (try ssh-agent add)
Your private key is a DSA key. Please convert to an RSA key and try again.
You found a new bug!

So now i added something to something permanently, but it did not solve the problem.

Something about your ssh config is broked :(

No user.username or user.email specified in ~/.gitconfig

setup your config, delete existing key, delete it from github and repeat the steps again.

OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to github.com [<IP_ADDRESS>] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/serapath/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/serapath/.ssh/id_rsa type 1
debug1: identity file /home/serapath/.ssh/id_rsa-cert type -1
debug1: identity file /home/serapath/.ssh/id_dsa type -1
debug1: identity file /home/serapath/.ssh/id_dsa-cert type -1
debug1: identity file /home/serapath/.ssh/id_ecdsa type -1
debug1: identity file /home/serapath/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/serapath/.ssh/id_ed25519 type -1
debug1: identity file /home/serapath/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: Remote protocol version 2.0, remote software version libssh-0.6.0
debug1: no match: libssh-0.6.0
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "github.com" from file "/home/serapath/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /home/serapath/.ssh/known_hosts:3
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305<EMAIL_ADDRESS>debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305<EMAIL_ADDRESS>debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: ecdh-sha2-nistp256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-dss,ssh-rsa
debug2: kex_parse_kexinit: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,des-cbc-ssh1
debug2: kex_parse_kexinit: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,des-cbc-ssh1
debug2: kex_parse_kexinit: hmac-sha1,hmac-sha2-256,hmac-sha2-512
debug2: kex_parse_kexinit: hmac-sha1,hmac-sha2-256,hmac-sha2-512
debug2: kex_parse_kexinit<EMAIL_ADDRESS>debug2: kex_parse_kexinit<EMAIL_ADDRESS>debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: setup hmac-sha1
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug2: mac_setup: setup hmac-sha1
debug1: kex: client->server aes128-ctr hmac-sha1 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
debug3: load_hostkeys: loading entries for host "github.com" from file "/home/serapath/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /home/serapath/.ssh/known_hosts:3
debug3: load_hostkeys: loaded 1 keys
debug3: load_hostkeys: loading entries for host "<IP_ADDRESS>" from file "/home/serapath/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /home/serapath/.ssh/known_hosts:4
debug3: load_hostkeys: loaded 1 keys
debug1: Host 'github.com' is known and matches the RSA host key.
debug1: Found key in /home/serapath/.ssh/known_hosts:3
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/serapath/.ssh/id_rsa (0x7f6382197b10),
debug2: key: /home/serapath/.ssh/id_dsa ((nil)),
debug2: key: /home/serapath/.ssh/id_ecdsa ((nil)),
debug2: key: /home/serapath/.ssh/id_ed25519 ((nil)),
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/serapath/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug2: input_userauth_pk_ok: fp e4:81:29:7a:d3:ed:56:12:11:c5:cf:bd:05:f5:2b:16
debug3: sign_and_send_pubkey: RSA e4:81:29:7a:d3:ed:56:12:11:c5:cf:bd:05:f5:2b:16
debug1: key_parse_private2: missing begin marker
debug1: key_parse_private_pem: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/serapath/.ssh/id_rsa':
debug1: key_parse_private2: missing begin marker
debug1: key_parse_private_pem: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
debug2: bad passphrase given, try again...
Enter passphrase for key '/home/serapath/.ssh/id_rsa':
debug1: key_parse_private2: missing begin marker
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
Authenticated to github.com ([<IP_ADDRESS>]:22).
debug2: fd 5 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: packet_set_tos: set IP_TOS 0x10
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug3: Ignored env NVM_RC_VERSION
debug1: Sending env LC_PAPER = de_DE.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env XDG_VTNR
debug3: Ignored env MANPATH
debug3: Ignored env NVM_IOJS_ORG_VERSION_LISTING
debug1: Sending env LC_ADDRESS = de_DE.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env SSH_AGENT_PID
debug3: Ignored env XDG_SESSION_ID
debug1: Sending env LC_MONETARY = de_DE.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env COMP_WORDBREAKS
debug3: Ignored env TERM
debug3: Ignored env SHELL
debug3: Ignored env XDG_SESSION_COOKIE
debug3: Ignored env NVM_PATH
debug1: Sending env LC_NUMERIC = de_DE.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env WINDOWID
debug3: Ignored env OLDPWD
debug3: Ignored env GNOME_KEYRING_CONTROL
debug3: Ignored env NVM_DIR
debug3: Ignored env USER
debug3: Ignored env LS_COLORS
debug1: Sending env LC_TELEPHONE = de_DE.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env SESSION_MANAGER
debug3: Ignored env USERNAME
debug3: Ignored env DEFAULTS_PATH
debug3: Ignored env XDG_CONFIG_DIRS
debug3: Ignored env PATH
debug3: Ignored env DESKTOP_SESSION
debug3: Ignored env NVM_NODEJS_ORG_MIRROR
debug1: Sending env LC_IDENTIFICATION = de_DE.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env GDM_XSERVER_LOCATION
debug3: Ignored env PWD
debug3: Ignored env EDITOR
debug3: Ignored env GNOME_KEYRING_PID
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env MANDATORY_PATH
debug1: Sending env LC_MEASUREMENT = de_DE.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env MDM_XSERVER_LOCATION
debug3: Ignored env GDMSESSION
debug3: Ignored env SHLVL
debug3: Ignored env XDG_SEAT
debug3: Ignored env HOME
debug3: Ignored env XDG_SESSION_DESKTOP
debug3: Ignored env LOGNAME
debug3: Ignored env XDG_DATA_DIRS
debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
debug3: Ignored env NVM_BIN
debug3: Ignored env NVM_IOJS_ORG_MIRROR
debug3: Ignored env MDMSESSION
debug3: Ignored env TEXTDOMAIN
debug3: Ignored env WINDOWPATH
debug3: Ignored env XDG_RUNTIME_DIR
debug3: Ignored env DISPLAY
debug3: Ignored env MDM_LANG
debug1: Sending env LC_TIME = de_DE.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env TEXTDOMAINDIR
debug3: Ignored env COLORTERM
debug3: Ignored env XAUTHORITY
debug1: Sending env LC_NAME = de_DE.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env _
debug2: channel 0: request shell confirm 1
debug2: callback done
debug2: channel 0: open confirm rwindow 32000 rmax 35000
debug2: channel_input_status_confirm: type 100 id 0
PTY allocation request failed on channel 0
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
debug2: channel 0: rcvd ext data 90
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: rcvd close
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
debug3: channel 0: will not send data after close
debug2: channel 0: obuf_empty delayed efd 6/(90)
Hi serapath! You've successfully authenticated, but GitHub does not provide shell access.
debug2: channel 0: written 90 to efd 6
debug3: channel 0: will not send data after close
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r43 i3/0 o3/0 fd -1/-1 cc -1)

debug1: fd 1 clearing O_NONBLOCK
Connection to github.com closed.
Transferred: sent 4176, received 1784 bytes, in 0.3 seconds
Bytes per second: sent 14341.3, received 6126.6
debug1: Exit status 1

Hi serapath! You've successfully authenticated, but GitHub does not provide shell access.
Sounds like its working!

Sounds like its working!

:+1: yea
Strange is this debug log, huh.

I did run the command again - same output regarding that log i posted above.
Then i started the friends chat again successfully and got the message:
We couldn't automatically authenticate you with GitHub credentials!

Other authentication methods will be available but right now GitHub is your only option for signed messages and verifying your username.

Here's what we were able to figure out about who you are:

Username: loading...
Valid SSH key: loading...
Reasons this process can fail:

No user.username or user.email specified in ~/.gitconfig
You only have user.email in ~/.gitconfig and your email address is set to private on GitHub
You don't have any public keys linked to your GitHub account
You don't have a private key for the public keys linked to your GitHub account
Your private key is encrypted but you're not running ssh-agent or your key hasn't been added to the running ssh-agent (try ssh-agent add)
Your private key is a DSA key. Please convert to an RSA key and try again.
You found a new bug!

Then i executed again the commands:
eval "$(ssh-agent -s)" and then ssh-add ~/.ssh/id_rsa and then npm start and the friends chat starts without that message.

The quickest work around would be to set that command to run when you start a session in your .bashrc file or something, but it sounds like your agent is configured in a  funny way.  I'm not familiar enough with Linux Mint 17 to really understand the root cause of this

I actually have a lot of stuff already in that file :-)
Is there maybe a cli tool on npm with which i can manage my .bashrc file and "add" or "remove" stuff from it? Because I imagine, given the right npm modules, i can reproduce my environment and installed tools and command line aliases and configurations and i dont know what accross different computers running on different distros.
I know about .dotfiles, but I wonder (because i quite often run into little issues that i then solve somehow with google search and hacking around), that it would be great to get a more reproducable approach that would be really lightweight :-)


Where can I find inceptionv4_model for inceptionv4 example?

I have found inception-v4.caffemodel on other websites, but the extracted files are not comparable to the files in the examples. I hope I can get a model for use. Thank you

Hello @chunyen627,
The model we use is from here

I got the .ckpt file but still can't find the .meta file

You don't get a meta file.
You need the pb and the ckpt file. You should load the pb and push the ckpt inside the pb.
You will get a pb file with everything inside.
More info here


JS Managed Indirect calls

Based on a somewhat similar approach by the Emscriptem developers, this would basically be an import that does something like the following:
function call_indirect(idx: number, args: any[]) {
    // check new.target, this arg, rest params, etc.
    return funcs[idx](...args)
}

Then, WASM would pack it's imports into an array and call the import.
This also would likely make #95 much easier.
The major caveat here, however, is that all WASM functions would have to be exported

Happy with new indirect system which isn't this but kind of related, can reopen if not later


Unable to provide sunbet_ids

As described in NOTES section :
One of subnet_id or subnet_ids is required. If both are provided, the value of subnet_id is prepended to the value of subnet_ids.
I try to use subnet_ids without subnet_id and  get the following error.
Error: module "ec2_cluster": "subnet_ids" is not a valid argument
Error: module "ec2_cluster": missing required argument "subnet_id"
Also I am not able to find any variables called subnet_ids.

Hello,
You need to specify the version when calling the module:
  source                 = "terraform-aws-modules/ec2-instance/aws"
  version                = "1.15.0"

Please refer https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/pull/67
This option is enabled in v1.15.0 (https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/releases/v1.15.0)


Migrated all Sources and Tests to Swift 4 with minimal changes.

.travis.yml needs to be updated. I didn't see it in my filesystem, that's why I forgot to update it


vkCreateRenderPass SIGSEGV

Any time I call vkCreateRenderPass I get a seg fault and I'm not entirely sure why. It only happens if I have the validation layer enabled. Disabling it seems to fix my issue but that's not ideal.  As far as I can tell my code is fine. The seg fault happens here:
[libVkLayer_core_validation.so+0x184475] core_validation::CreateRenderPass(VkDevice_T*, VkRenderPassCreateInfo const*, VkAllocationCallbacks const*, VkRenderPass_T**)+0x115
This is the source code: link
This is an API Dump: link

@Scoopta, were there no validation warnings or errors before the crash -- I didn't see any in the api dump...

Your createRenderPass function never initializes createInfo.attachmentCount, createInfo.subpassCount, or createInfo.dependencyCount .

@mark-lunarg no it didn't. If I take off the createInfo.pDependencies(null)  the validation layer blows up with messages so it's working. Also @stroyan I can't and am not supposed to. LWJGL does a lot of the count stuff for you by looking at the amount you actually gave it. There is no way for me to set those and LWJGL should do it. If you print out createInfo.attachmentCount() it should be correct even though it was never set.

@Scoopta Is there any chance that you can run the demo program that is provided with the lwjgl package with layers enabled?  It would be interesting to see if a crash occurs with that program.

@karl-lunarg I just tried ClearScreenDemo and it doesn't happen. I checked their code against mine and added this to mine:
subpass.pResolveAttachments(null); subpass.pDepthStencilAttachment(null); subpass.pPreserveAttachments(null); subpass.pInputAttachments(null);
That fixed the issue. I'm surprised the validation layer didn't say anything about that. I've been following the tutorial on vulkan-tutorial.com but it seems like there are a lot of things that you don't need to take into account when using vulkan natively. Either that or if nothing else the tutorial doesn't where as I've run into issues with it. I know with LWJGL if you don't explicitly set flags(0) the validation layer will tell you about it. Maybe it does that with C/C++ but if it does the tutorial doesn't mention it or do it. I guess the lesson is read all the members of each struct and if the tutorial ignores them or lists them as optional just explicitly define it.

A common pattern in C/C++ Vulkan applications is to allocate a *CreateInfo structure, fill it with zeros, and then fill in the parts that need to be different.
The validation layers do some parameter checking inside of these *CreateInfo structures, but generally cannot distinguish between uninitialized non-zero pointers/counts and properly initialized pointers/counts.  So if a bad pointer and a bad count are passed in, the layers may dereference the bad pointer and/or use an invalid count to walk the array pointed to by the pointer and then crash.  This wouldn't happen if the pointer and count are zero or are set to valid values.
I haven't completely studied all that java code, but the behavior observed here suggests that the RenderPass CreateInfo struct isn't getting cleared out by this java framework, which allows members that are not explicitly specified to remain at random values when the call is made.  I don't know if this is by design in this framework, or is simply an oversight or bug.

I notice that some examples like
https://github.com/LWJGL/lwjgl3-demos/blob/master/src/org/lwjgl/demo/vulkan/TriangleDemo.java
are using calloc like "VkSubpassDescription.calloc(1)" instead of "VkSubpassDescription.malloc(1)".
That may cover up issues with members that are not explicitly initialized.
Actual explicit initialization does look like the best way to go.


[Improvement] In Distribution.java correct equals method

What would you like to be improved?
The Object class contains an equals method, a method called equals should in general override Object.equals(Object).
How should we improve?
A method called equals should override Object.equals(Object) or that is not its intent it should be renamed.

Hello @justinmclean, can you please more details about this issue?

Sure, while the code works, it could be improved by implementing equals correctly. See, for example, https://devapo.io/blog/technology/java-hashcode-and-equals-contract on how to do this. Having some unit tests would be a good idea also.

@justinmclean  i have fixed the issue , now Distribution.java overrides equals method from Object and i see that its impl has correct equals . I hope this is what we want? and i do see test for TestDistributionDTO

This equal method is specifically designed to compare different instances that implement Distribution interface, so I don't think the changes in https://github.com/datastrato/gravitino/pull/2295 satisfy our needs.
@diqiu50 , please also take a look.

@yuqi1129 even equals was default method in an interface , so not sure what is the reason to have as default method ! best way is to just have equals implementation in classes that implements Distribution interface.

Classes with implementations always win over default methods, so having a default hashCode or equals can never be invoked and therefore is forbidden

Perhaps equals is not the best name for this method, even though it does something similar to the standard equals method?

Perhaps equals is not the best name for this method, even though it does something similar to the standard equals method?

Yes, we can change the name to something else.

@justinmclean indeed , so as it was default can you look at the PR as it does not make sense to have  method in interface which does same as equals or rename it diff and have thier own impl do the equals override !

This equals method is  primarily used to solve compare different instances of DistributionDTO and DistributionImpl.  The equals are the best name. If everyone feels that this name is ambiguous, we can also change it.

Given equals has a special meaning in Java I would suggest renaming it something like "sameAs" or "equivalent"

Kindly review my PR for this issue and let me know if any changes are needed!! @justinmclean

There's a compilation issue that needs to be fixed.

@justinmclean I have closed the previous pull request because of some build error
and raised another pull request.
Hope this solves the issue.


[formrecognizer] Enable skipped tests and samples

Enable skipped DMAC copy model tests once service issues have been resolved.

Enable skipped copy samples as well.


Prettify code.

Category

[ x ] Content fix
[ ] New article

What's in this Pull Request?
The code output was not indented and was hard to read. I used Visual Studio to make it readable.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/general-development/managed-navigation-in-sharepoint.md
:white_check_mark:Succeeded
View

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.

thx Charles, appreciated.


Function of getting the absolute size (or shape) in work-items

Do we have equivalent for numba.cuda.gridsize(ndim)?

The feature is now present in kernel_api. NdItem.get_global_range(dimension) https://intelpython.github.io/numba-dpex/latest/autoapi/numba_dpex/kernel_api/index.html#numba_dpex.kernel_api.NdItem.get_global_range


.env not created in installation process.

In the installation instructions there is an entry that you need to modify the .env file with the database info and account info.
However this file does not exist after cloning the git repo and running composer install.
Currently you need to manually copy the .env.example file to .env and edit the details.

You're right. I'll update the instruction as such.

You could also add a composer script to copy the example to .env automatically.

That's true, and as a matter of fact Laravel has it as a post-root-package-install script. I'd like to make it obvious here though.

But given it a second thought, it sounds like a better idea to make it a script... I'll add it in a next commit :+1: