python3Packages.zulip: 0.7.0 -> 0.7.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 109519 run on x86_64-linux 1

4 packages built:

python37Packages.zulip
python38Packages.zulip
python39Packages.zulip
zulip-term

Result of nixpkgs-review pr 109519 run on x86_64-linux 1

4 packages built:

python37Packages.zulip
python38Packages.zulip
python39Packages.zulip
zulip-term

Result of nixpkgs-review pr 109519 run on x86_64-linux 1

4 packages built:

python37Packages.zulip
python38Packages.zulip
python39Packages.zulip
zulip-term

Result of nixpkgs-review pr 109519 run on x86_64-linux 1

4 packages built:

python37Packages.zulip
python38Packages.zulip
python39Packages.zulip
zulip-term

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109519 run on x86_64-darwin 1

4 packages built:

python37Packages.zulip
python38Packages.zulip
python39Packages.zulip
zulip-term

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109519 run on x86_64-darwin 1

4 packages built:

python37Packages.zulip
python38Packages.zulip
python39Packages.zulip
zulip-term


Updated package information for Linux platform

Hi,
I updated/extended the package/forge information for Debian to provide more detailed shortcut information in application menu.
Also, various copyright years have been amended to include 2017.
And last, I added missing dependency.
Took the liberty to bump Ghost Desktop to version 1.3.1 with those changes... ;-)
I checked the issue tracker but didn't find entries related to those changes. If necessary to have an issue for each, let me know and I'll create them for reference.
Regards, JoKi

Thank you so much, much appreciated!

Thanks for accepting the PR!


Support vscode-notebook-cell

scheme vscode-notebook-cell is not supported.
Source: Save as Root in Remote - SSH (Extension)
Does this extension not support saving jupyter notebook? Any suggestions?

ok thanks


[Request] Now Reading Section

Hi, nice app so far!
I would have a request for a "now reading section" that shows books that are currently in progress so you can resume them easily from there.
Thanks!

Hi, I've been considering implementing this or at the very least a progress bar over the read book. I am having trouble with seeing how I could integrate it in the current design. I want to make this happen as its been something I also want but am struggling to see how I could add it with the current design

perhaps i could use a design similar to this app with a all books/bookshelf category, a collections category and a continue reading category.
Additionally, this could be a way to include the settings panel I've been working on for a bit?
Do you think that would be good?

Hi!
yes having some sort of a small menu at the bottom to navigate to the general bookshelf, collections, ongoing books and settings might be a good idea. More than 4 categories on the bottom is anyway too much but those should cover all the most important things anyway. If there will be more in the future some kind of setting might be good to allow users to customize the menu items on the bottom row.


Updates

Produced via:
./hack/update-deps.sh --upgrade
./hack/update-codegen.sh

/assign @slinkydeveloper @travis-minke-sap @pierDipi

@skonto I added your #97 to here
can you look as well ?

/retest

/lgtm


Add support for extension-less files on Mac

On the Mac, VS Code does not show up in the Open With menu for files without a file extension. You have to choose Other App and search for it. This makes it very cumbersome if you deal with a fair number of files that don't have a file extension. I figured out how to manually modify the Info.plist file to allow VS Code to show in the Open With menu on my machine, but it would be nice to have it be there automatically.
In the Info.plist file, I added the following code inside the CFBundleDocumentTypes array.
<dict>
    <key>CFBundleTypeRole</key>
    <string>Viewer</string>
    <key>LSItemContentTypes</key>
    <array>
        <string>public.data</string>
    </array>
</dict>

Would you care to submit a PR?

@joaomoreno not sure what you mean by PR. Sorry.


use KItem for MAP and SET keys

Do not review yet.

Merging with admin powers to break a dependency cycle.


Use busybox as the data container

Coverage decreased (-0.4%) to 20.035% when pulling 6a8975566a63955e22d59a2d07f7a549df84fbb7 on mikemix:master into 6884117a1909d537b532f24b939fff7b145eba54 on prooph:master.

@sandrokeil can you verify this?

There's no need to use large debian:jessie image. Busybox is tiny and will do the same thing.

Thank you for the PR, but I don't want to merge it. The official Docker PHP images uses debian:jessie as base image. If we change it to busybox, an additional download is required.

@mikemix This issue was replaced by #85


US pressure units is Hectopascals

Describe the bug
When setting up the units table for https://github.com/Pirate-Weather/pirateweather/issues/327 I noticed that in US units pressure is in Hectopascals when it should be using imperial units
Expected behavior
Pressure should be in US units (inches per mercury? or is it something else)
Actual behavior
Pressure is using Hectopascals
API Endpoint
Production
Location
Ottawa, Ontario
Other details
No response
Troubleshooting steps

[X] I have searched this repository and Home Assistant Repository to see if the issue has already been reported.
[X] I have read through the API documentation before opening this issue.
[X] I have not included my API key anywhere in my issue.
[X] I have written an informative title.

I was looking up imperial units and got confused by all the different ones available. Dark Sky used millibars for their pressure units so will update it to match.

I also noticed that the summary property has an entry in the Units table. It doesn't need one, because it's just a string such as Clear or Partly Cloudy.

The API currently hasn't integrated the textual summaries like Dark Sky did and once added it will display units in the summary like Dark Sky did based on your selected units.


Difference in rendering

First of all, thanks for this awesome package.
I was looking exactly for a way to replace snappy (and wkhtmltopdf) with something still supported.
So, I tried to remove snappy and install this library in a project of mine, and the migration was really smooth.
The problems raised when I tried to render a pdf: the page layout is quite different, with many wrong positions (I guess related to margins, but I'm not sure)
I understand this is not strictly related to this library, but rather to the differences between wkhtmltopdf and wasyprint, however I was wondering if someone experienced the same and could provide a way to ease the migration path. If so, it could be mentioned in the README. Otherwise, this could be mentioned in the list of differences.

Hi @garak,
Yes, the different engines can sometimes generate quite different outputs. There are some tips on this WeasyPrintBundle issue that show how to adapt your CSS to fix some rendering inconsistencies.
Some other indications can also be found on this other issue.
As you guessed, margins, paddings, and page size are often the main culprits behind these inconsistencies.
Feel free to open a PR to enhance the README!


Apriltag image

Please can you provide the png or pdf file of apriltag used in your example? That correspond to the tag size used in your extrinsic calibration code. Thank you

I am using tagStandard41h12, id=0, which is this one: Google Drive link. After you print the AprilTag, you can measure the tag length according to this guide and set it here: https://github.com/stytim/k4a-calibration/blob/master/src/camera_extrinsics.cpp#L137

Thank you for your quick reply! One more question, can we have multiple of those apriltag in the scene? I saw that you have it pasted all around the cube object in your snapshot result

The answer is yes. However, you need to calibrate the markers in the scene, meaning you need to know the transformation between each of the markers, so that the markers form into one big group. For the cube object in my snapshot, I know the length of my cube and I define the center of the cube as my marker coordinate system origin. You can refer to these commented lines for more info: https://github.com/stytim/k4a-calibration/blob/master/src/camera_extrinsics.cpp#L167

Thank you a lot


Minor code refactoring

Signed-off-by: Pravin Pushkar<EMAIL_ADDRESS>Description
Some code refactoring for image pull logic on dapr init
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: NA
related to #726
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@pravinpushkar Please add Unit test for the refactored function ...

@yaron2 Please review this PR ...

@pravinpushkar please make Dockerhub the default - this was discussed and agreed upon with @artursouza and @mukundansundar.

@yaron2 Please review ...


Status Command now returns proper exit code

Status command exit codes:
0: all migrations are up
1: at least one migration is down
2: at least one migration is missing
Fixes robmorgan/phinx#676

awesome, cheers @robmorgan . Note that I didn't update the README.md file, so the new feature is missing from the current version history

That's okay, I take care of that.
Cheers,
Rob
On Wed, Dec 2, 2015 at 10:17 AM, Daniel Gomes<EMAIL_ADDRESS>wrote:

awesome, cheers @robmorgan https://github.com/robmorgan . Note that I
didn't update the README.md file, so the new feature is missing from the
current version history
—
Reply to this email directly or view it on GitHub
https://github.com/robmorgan/phinx/pull/696#issuecomment-161231039.


clio should detect when it is amendment blocked

If an amendment is activated on the network from which clio is extracting data, but clio is not linked against a version of rippled that understands the amendment, clio will crash. we should detect this situation, and log an error continuously, instead of crashing.

This was fixed in #709 except for continuously reporting errors.


IIS Web Deploy: ability to skip website/app pool creation during deploy

Adds ability for person configuring the on-prem IIS Web Deploy task to NOT modify the target website/app pool if they are already in place or created during another step of the deploy process.

Hi @Preskton, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Going to make additional changes to how sites/apps are identified, as the current appcmd.exe method doesn't cover enough scenarios.


OOM: Query 9 of CH benchmark oom in v7.1.0-rc.0 with QPS drop 6.9%

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

Deploy a tidb cluster with 3 TiDB (16c,48G) + 3 TiKV (16c,48G) + 2 TiFlash (16c,80G)
Compare the performance of v6.5.2 and v7.1.0-rc with CH benchmark

2. What did you expect to see? (Required)
No performance regression and no OOM for all 22 queries.
3. What did you see instead (Required)
Q9 oom after 1 successful execution. And Comparing to v6.5.2, the QPS drops 6.9%.

[2023-04-21 21:57:39] execute run failed, err execute query q9 failed Error 1105: other error for mpp stream: From MPP<query:<query_ts:1682114235547655803, local_query_id:52, server_id:132771, start_ts:440956154146193841>,task_id:13>: Code: 0, e.displayText() = DB::Exception: Code: 0, e.displayText() = DB::TiFlashException: Memory limit (total) exceeded caused by 'out of memory quota for data computing' : would use 63.60 GiB for data computing (attempt to allocate chunk of 1163232 bytes), limit of memory for data computing: 63.60 GiB, e.what() = DB::TiFlashException, e.what() = DB::Exception,

4. What is your TiFlash version? (Required)
version 7.1.0-rc
commit 4ee141267ff83314ae85313860b1bd007c29b658

As discussed offline, the oom is expected because the default value of max_memory_usage_for_all_queries is changed.

Because CH benchmark uses non-clustered index for TPCC related tables, and https://github.com/pingcap/tidb/pull/42713 introduces extra keys to lock, thus the QPS dropped. It's by-design perf regression.


Add rsyslog_exporter to exporter list

Adding a link to rsyslog_exporter  to the third party exporters list.

Thanks, could you swap the two lines. We are sorting alphabetically, not by time of insertion.

@fabxc sure thing

:+1: Thanks!


Fixed img style definition

At the moment, imgStyle is defined as a style attribute within attrs field inside VueCropper render function which causes rendering img style as [object Object] as demonstrated in the picture:

This causes some unpredictable behaviour with the cropper.js lib. In my case, it caused the library to wrongly calculate the height of cropper-container div.
According to the Vue documentation, style as a top-level field can be defined as an object. However, if defined through attrs field, it should be a string instead. E.g.
attrs: {
  style: 'max-width: 100%'
}

This patch changes the above explained behaviour and defines style as a top-level field. It receives imgStyle prop if one is defined or defaults to { 'max-width': '100px' }. Example of the fixed behaviour can be seen in the picture below:

Looks fine to me, but you're assigning max-width: 100% only when user does not pass anything. But I want that styling available no matter what the user passes. Second commit is fine, I'll do some checking on the first one. Thanks for noticing this.


Postfix reject_sender_login_mismatch

Consider using reject_sender_login_mismatch in postfix to prevent users from sending emails from any address.

I’m happy to but it looks like there are some new configuration needed for current users: http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps, also I’m not sure how to configure this with LDAP.

I think no extra configuration is needed, but if you have a branch I can test it (i use a ldap setup).

Ok, I will create it this evening.


[Bug] Community Delta-V Maps don't work in current game

The maps need to be rebuilt.
It doesn't work from at least 1.8, maybe earlier

Not a NetKAN issue.

Oh, you want ksp_version_max to be set. Can do.


Add high-scores exercise

I think I accidentally pushed to main 🤦

With great power comes ... something or other.
I'm really, really glad the system prevents me doing things like this!

It's a first for me, and I hope it's the last!


Improve article 2206.07682

DG edit:
The document fails to convert (Fatal severity).

article needs latexml support for couriers.sty
also a possible robustness needed for tikz alignments, as indicated by the \tikz@align@temp errors.

Thank you for the report @Laughing-Boy , I have updated the description to match the problems reported in the conversion log.

After the latest ar5iv update this document now converts with most content preserved. We still need support for couriers.sty


Dropping then locking again prevents other futures from using Mutex

When a future drops then reacquires the lock to a Mutex, it can prevent other futures from accessing the Mutex even if they attempt to lock it before the first future's later attempts. In the code (Playground) below
use futures::join;
use futures::lock::Mutex;
use std::{sync::Arc, time::Duration};
// use tokio::sync::Mutex; // prints 0 then 42
use tokio::time;

#[tokio::main]
async fn main() {
    let state1 = Arc::new(Mutex::new(0));
    let state2 = state1.clone();

    join!(display(state1), change(state2));
    // join!(change(state2), display(state1)); // always prints 42
}

async fn display(state: Arc<Mutex<usize>>) {
    for _ in 0..3 {
        // Immediately awaits to lock after dropping from previous interation
        let state = state.lock().await;
        println!("State: {}", *state);

        // Other futures that attempt to acquire the lock will fail
        time::delay_for(Duration::from_secs(1)).await;

        // Lock dropped here
    }
}

async fn change(state: Arc<Mutex<usize>>) {
    *state.lock().await = 42;
}

The change future never gets to change the state because the display future still holds the lock while delaying. After display drops the lock at the end of the loop body, it again becomes the first future to lock the Mutex in the next iteration.
I think this behavior is confusing. Intuitively, since the long-running display future has repeatedly given up the lock, it is natural to assume that other futures get ample opportunities to use the Mutex. This is also what tokio::sync::Mutex does. But in this case, a long-running future checking the state of a Mutex like the display future here could accidentally block other futures that await the Mutex for their use.

This is somewhat similar to #1663, but in their case the future holding the lock does not repeatedly drop it.

This isn't purely about the Mutex. Your display task also acquires the lock again before the other task ever gets to run. If you want to give other tasks a chance to run you need to yield back to the executor.
A "fair" Mutex which keeps a queue of blocked tasks and doesn't let other tasks jump in would also solve the issue. But the futurers-rs version is deliberatily not designed that way. There however exist other async Mutex implementations in the ecosystem which are fair (e.g. the one in futures-intrusive).

I am genuinely surprised! A major benefit of Mutex is that users don't need to remember to release the lock. As the Rust Book put it:
"The MutexGard smart pointer ... releases the lock automatically ... As a result, we don’t risk forgetting to release the lock and blocking the mutex from being used by other threads because the lock release happens automatically."
But now the user needs to remember to yield back to the executor in order not to block other threads. I think this requirement is a little inconsistent in spirit with the general Rust concurrency story, and might be worth putting into documentation.
Thank you very much for your clarification! So no code change is needed here. I'll close the issue shortly. Just remember to yield back.


Update nf-wdm-kewaitforsingleobject.md

Similarly to KeWaitForMultipleObjects, the dispatcher object passed to KeWaitForSingleObject must be allocated in nonpaged system memory - see https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-kewaitformultipleobjects. This is because KeWaitForSingleObject raises IRQL to DISPATCH_LEVEL before locking the object, so if it is allocated in paged memory a pagefault will lead to System crash.

Thanks for the PR, Ivan!  The update should appear on the live site within ~30 minutes.

Thanks for the PR, Ivan! The update should appear on the live site within ~30 minutes.

Thanks a lot!!!


On OSX El Capitan only first page displays

Hi,
I'm new to splitshow and I just tried it on El Capitan.
It loads ok, then I select my file and chose the two screens and go fullscreen (would it be possible to implement working in windowed mode with the beamer screen updating its data ?).
The first page appears on the beamer and the notes on the fullscreen of the computer, all ok.
But then when I go to the next slide I only get blank pages.
If I resize the PC screen, it displays the notes, but the beamer screen is still blank.

Same problem for me, and it seems restricted to El Capitan : before upgrading, SplitShow worked fine on Yosemite.

Same issue over here. I can help with code but need some advice how to proceed with this particular error.

Thanks. I am still not sure why exactly it stopped working on El Capitan but it is something about using the same PDF page (i.e. the same object) for multiple displays.
I pushed a workaround and updated both releases:
For 10.10 an above: https://github.com/mpflanzer/splitshow/releases/tag/v0.9.5-alpha2
Below 10.10 (no storyboards): https://github.com/mpflanzer/splitshow/releases/tag/v0.9.6-alpha2
Please let me know if this solves the problem for you. I am currently working on a complete redesign to cover some of the other mentioned limitation. But it might take me some more time to finish it. At the moment I do not find much time.

Hello. The problem seems to be fixed with the new 0.9.5 or 0.9.6 alpha2 updates. I only notice an awkward "jump" of the screen when passing from one frame to another, as if the first frame was erased before loading of the following. So the presentation seems not as smooth as it was before.

I updated both release with a new patch. I have not seen the "jumping" in the first case either but it should be fixed now.
I only noticed that the pages seem to take a little while to load when they are viewed the first time (on each display). Then there are some "white flickering" when switching to the next slide. Once the slide has been view going back and forth again creates a smooth transition. I found no solution how to change this although the native Preview app does not seems to have this problem. I am also not sure if the same behaviour was noticeable prior El Capitan.
Please let me know if there are still some problems!

The "white flickering" and the little page loading delay at each display appeared since El Capitan, I remember that for sure. My first quick test showed problems with notes pages – if not every page has its corresponding notes page and slides are animated (<1-> etc.), then always the last animation step is not displayed anymore but already the next slide.

I try the last version of SplitShow with two long Beamer presentations. Apart from the white flickering at the first display of a new frame, I notice two things :

first, I need to specify in the Beamer TeX code \setbeameroption{show notes on second screen=right} in order to really obtain the main display on the additional screen rather than on my laptop screen. With "second screen=left", notes and main slide are inverted, although I correctly choose main and helper displays with SplitShow menus.
second, in both cases, SplitShow blocked during first try of the presentations (with spinning wheel running indefinitely). After force quitting and opening again SplitShow,  the presentation can be visualized till it end.

So it works, but it always need to be tested before the ''real'' presentation.
Regards,
Cyril

Le 7 déc. 2015 à 10:50, danielberlin<EMAIL_ADDRESS>a écrit :
The "white flickering" and the little page loading delay at each display appeared since El Capitan, I remember that for sure. My first quick test showed problems with notes pages – if not every page has its corresponding notes page and slides are animated (<1-> etc.), then always the last animation step is not displayed anymore but already the next slide.
—
Reply to this email directly or view it on GitHub https://github.com/mpflanzer/splitshow/issues/36#issuecomment-162466548.

Cyril LANGLOIS
<EMAIL_ADDRESS>Tél : 06 89 05 68 22
http://www.normalesup.org/~clanglois/Index.html
https://plus.google.com/photos/110867195811650034299/albums?banner=pwa&partnerid=pwrd1
§ ---------------------- §
"Les hommes ne souffrent que d'une seule maladie : l'ignorance. A ce mal, il n'y a qu'un seul remède: l'instruction. Mais il ne s'agit pas de prendre ce remède à doses homéopathiques. Il faut le prendre par seaux entiers, et par barriques de quarante seaux." Dmitri Pissariev

Hello,
One more problem running SplitShow on ElCapitan : if the screen saver starts during the presentation, SplitShow seems to freeze and must be quitted in order to come back to the finder.
Regards,
Cyril

Le 7 déc. 2015 à 11:14, Cyril Langlois<EMAIL_ADDRESS>a écrit :
I try the last version of SplitShow with two long Beamer presentations. Apart from the white flickering at the first display of a new frame, I notice two things :

first, I need to specify in the Beamer TeX code \setbeameroption{show notes on second screen=right} in order to really obtain the main display on the additional screen rather than on my laptop screen. With "second screen=left", notes and main slide are inverted, although I correctly choose main and helper displays with SplitShow menus.
second, in both cases, SplitShow blocked during first try of the presentations (with spinning wheel running indefinitely). After force quitting and opening again SplitShow,  the presentation can be visualized till it end.

So it works, but it always need to be tested before the ''real'' presentation.
Regards,
Cyril

Le 7 déc. 2015 à 10:50, danielberlin<EMAIL_ADDRESS><EMAIL_ADDRESS>a écrit :
The "white flickering" and the little page loading delay at each display appeared since El Capitan, I remember that for sure. My first quick test showed problems with notes pages – if not every page has its corresponding notes page and slides are animated (<1-> etc.), then always the last animation step is not displayed anymore but already the next slide.
—
Reply to this email directly or view it on GitHub https://github.com/mpflanzer/splitshow/issues/36#issuecomment-162466548.

Cyril LANGLOIS
<EMAIL_ADDRESS>Tél : 06 89 05 68 22
http://www.normalesup.org/~clanglois/Index.html
https://plus.google.com/photos/110867195811650034299/albums?banner=pwa&partnerid=pwrd1
§ ---------------------- §
"Les hommes ne souffrent que d'une seule maladie : l'ignorance. A ce mal, il n'y a qu'un seul remède: l'instruction. Mais il ne s'agit pas de prendre ce remède à doses homéopathiques. Il faut le prendre par seaux entiers, et par barriques de quarante seaux." Dmitri Pissariev

Ok pushed and uploaded a new release of SplitShow. It is a mayor redesign which solves most of the problems and makes the code nicer. ;)
I will close this issue as it should be solved. The "white flickering" is still there but I cannot find a solution. And as it only happens the first time each slide is loaded I think it is not an urgent issue.
Please open new issues for problems you encounter. Thanks!


[Feat] remove setting in pinpoint-php-aop

Feature

what's setting.ini  ?

like https://github.com/pinpoint-apm/pinpoint-c-agent/blob/dev/plugins/PHP/Framework/Yii2/setting.ini

too hard to use
resolve https://github.com/pinpoint-apm/pinpoint-c-agent/issues/542#issuecomment-1778718087

https://www.php.net/manual/en/book.opcache.php
Call opcache_reset when re-generatatio done, as previous  files already cached into opcache.

closed as done

setting.ini support by
https://github.com/pinpoint-apm/pinpoint-php-aop/blob/6c53ce920f778e380975d4d2d562c6d99a06840c/lib/Pinpoint/Plugins/Yii2PerRequestPlugins.php#L75-L84


refactoring into an actual unit test

For a unit test we should not load the spring application context in my opinion, so that every test can run in a few milliseconds.

I have implemented both examples :) thanks for the feedback!


NGINX to work on secure 443 port with Certbot

I think your project is great, the only drawback i can see is to use in a production environment is make use of certbot to obtain SSL certs
example like
https://www.digitalocean.com/community/tutorials/how-to-secure-a-containerized-node-js-application-with-nginx-let-s-encrypt-and-docker-compose
Just a thought
Ben

The simplest way is to use http server outside docker with reverse proxy and with SSL certs.


Derivatives of mass matrix times acceleration w.r.t. the configuration

Dear pinocchio developers,
first of all, thanks a lot for developing this library and providing it as open source to the robotics community. Both the performance and the ease of use are really impressive. For my application I need to compute the partial derivatives of M(q)*a with respect to the configuration q. I could not find an algorithm in pinocchio that directly computes this expression. One option would be to call the derivatives of RNEA two times, i.e. d M(q)*a / dq = d RNEA(q, v, a) / dq - d RNEA(q, v, 0) / dq.
However, I thought there might be a more efficient solution, e.g. using the analytical derivatives of CRBA. I already implemented a new version of CodeGenCRBA that computes the desired quantity using evalJacobian. It seems to be 10 to 20 percent faster than one call to CodeGenRNEADerivatives for a 7-dof KUKA arm. Maybe you could give me some hint on which is the preferred approach to compute d M(q)*a /  dq with pinocchio (in C++, not Python)?

Thanks for your comments and clear explanations.
One way to retrieve your quantity would be to:

set the gravity to zero to eliminate the gravity term in the Lagrangian dynamics (model.gravity.setZero())
set the joint velocity vector to zero
code generate the rnea derivatives by only extracting the dtau/dq quantity.

Normally, the code generation should drop out the unnecessary computations related to dtau/dv and dtau/da.
Your current computations are much higher because you are extracting more quantities than needed.
For some small mechanical systems, evalJacobian can be very fast. But for more complex robots like quadrupeds or humanoids, this is no more the case.

Dear Justin,
thanks for the fast reply. Less than 15 minutes after posting this question I realized I had a thinking error and computing the RNEA derivatives is exactly what I need for my application. Nonetheless, I like your solution with gravity zero, velocity zero and then performing code generation. From a user point of view, this is definitely simpler than modifying the code of computeRNEADerivatives by hand.
Concerning evalJacobian, my benchmark for the KUKA arm showed that CodeGenABADerivatives and CodeGenRNEADerivatives are both faster than calling evalJacobian for CodeGenABA and CodeGenRNEA, so the analytical derivatives are more performant than the automatic differentiation approach. However, CodeGenRNEA with evalJacobian was faster than computeRNEADerivatives without code generation. Therefore, if minimal computation times are required, using code generation seems to me to be the best approach.

Thanks for your nice user feedback.

However, CodeGenRNEA with evalJacobian was faster than computeRNEADerivatives without code generation.

Indeed, for small robots, this seems to be the case. I observed the same behaviour a while ago. Unfortunately, this does not scale for larger robots.
One fundamental aspect is that I've tried to best exploit vectorization inside computeRNEADerivatives, that code generation does not support yet.
Best,
Justin


[FEATURE] OpenInNewTab be populated in Get-PnPNavigationNode cmdlet

Is your feature request related to a problem? Please describe.
Recently in the nightly build, a feature was added that enabled users to create a navigation node with the open in new tab property. I think it should be incorporated in the navigation nodes properties when we request the node. So we can update it too for existing nodes. Presently, there is no "OpenInNewTab" or "OpenInNewWindow" property when we get the node using the Get-PnPNavigationNode cmdlet.
Describe the solution you'd like
The "OpenInNewTab" property should be returned when a navigation node is requested through get-PnPNavigationNode cmdlet.
Describe alternatives you've considered
Currently the property can only be applied to new nodes using Add-PnPNavigationNode cmdlet and using Sharepoint UI.
I tried digging in the source code of Add-PnPNavigationNode to see where it sets the property, but when I request the menustate using Invoke-PnpRestMethod, I do not get a list of nodes where to set the property.

@rafayahmed317 this seems to be a limitation of SharePoint CSOM, on which this cmdlet relies upon. The properties available for the NavigationNode class can be found via the link below:
NavigationNode members

I think you are right, but what this answer here is talking about?
https://sharepoint.stackexchange.com/a/90216
Did I understand something wrong?

@rafayahmed317 that question is referring to a different PowerShell library, specific to on-premises SharePoint.
At the moment, the NavigationNode class simply doesn't include this property. If you'd like a change to the SharePoint CSOM library, then you can suggest it on the Microsoft Feedback Portal. Once it's in the library, PnP.PowerShell can be updated to ensure it is using the latest version of CSOM that contains this additional property.

Sorry, I knew I was not understanding something, thank you for your response, so yeah, I will close this.


Add disclaimer on the openapi3 to typespec conversion

No changes needing a change description found.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/3769/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/3769/


dataset

HI，i am a master student from GuangDong University of technology， China. Our lab recently do a similar project about HAR， do you mind to share all your dataset ？I only found one IMU data file. If not, it
doesn't matter, feel free to learn from each other^ ^

Hi @iamecong Yes, I will be uploading the remaining part of this project soon, star the repository to get the updates. Feel free to use and report issues if you find any.

many thanks

And, what's the sampling rate of the imu dataset?Many thx.

It's 50 Hz. I have updated the code and dataset files, please have a look .!

many thanks


Automorphic number and Kaprekar number in C

Have you read the Contributing Guidelines on Pull Requests?
Yes.
Description
Added 2 programs on Automorphic number and Kaprekar number in C as assigned by @shraddhavp  for issue #1643
Checklist

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

Related Issues or Pull Requests
(Write your answer here.)

@Tausif121 kindly create a separate PR and also change the title as CPP as your code in CPP, not in C

@Tausif121 kindly create a separate PR and also change the title as CPP as your code in CPP, not in C

@yashaswibiyahut  Sorry for that mistake . Now i have added 2 programs in C instead of CPP , and i have made a separate PR #1658 . Please see if that's ok


Pop from empty context_switches when take outputs of one estimator.predict as inputs of another

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): y
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux  4.14.8-gentoo-r1
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.8.0
Python version: 3.5.5
Bazel version (if compiling from source): n
GCC/Compiler version (if compiling from source): n
CUDA/cuDNN version: 7.1.4
GPU model and memory:  GeForce GTX 1080 Ti / 11171MiB
Exact command to reproduce:

Describe the problem
Currently I am working on making predictions of two models (outputs of model1 as inputs of model2) with large amount of inputs. I tried to use tf.data.Dataset.from_generator, while it seems there are some problems about context stack.
Source code / logs
Here is my example
import tensorflow as tf

def model_fn(features, labels, mode):
    x = features["inputs"]
    W = tf.get_variable(
        name="weight",
        shape=[1],
        dtype=tf.float32,
        initializer=tf.initializers.constant(value=0.0),
        trainable=(mode == tf.estimator.ModeKeys.TRAIN),
    )
    b = tf.get_variable(
        name="bias",
        shape=[1],
        dtype=tf.float32,
        initializer=tf.initializers.constant(value=0.0),
        trainable=(mode == tf.estimator.ModeKeys.TRAIN),
    )
    hypothesis = W * x + b
    if mode == tf.estimator.ModeKeys.TRAIN:
        y = labels["labels"]
        cost = tf.square(hypothesis - y)
        optimizer = tf.train.GradientDescentOptimizer(learning_rate=0.01)
        train_op = optimizer.minimize(
            loss=cost, global_step=tf.train.get_global_step())
    else:
        train_op = None
        cost = None
    return tf.estimator.EstimatorSpec(
        mode=mode, predictions=hypothesis, loss=cost, train_op=train_op)

def get_input_fn(inputs, num_epochs=1):
    def gen():
        for item in inputs:
            if isinstance(item, tuple) or isinstance(item, list):
                yield item
            else:
                yield item, 0

    def input_fn():
        dataset = tf.data.Dataset.from_generator(
            gen, (tf.float32, tf.float32),
            (tf.TensorShape([]), tf.TensorShape([])))
        dataset = dataset.repeat(num_epochs)
        dataset = dataset.batch(1)
        iterator = dataset.make_one_shot_iterator()
        inputs, labels = iterator.get_next()
        return {"inputs": inputs}, {"labels": labels}

    return input_fn

model1 = tf.estimator.Estimator(model_fn=model_fn, model_dir="model1")
model2 = tf.estimator.Estimator(model_fn=model_fn, model_dir="model2")
# model1.train(input_fn=get_input_fn([(1, 1), (2, 2), (3, 3)], num_epochs=100))
# model2.train(input_fn=get_input_fn([(1, 2), (2, 4), (3, 6)], num_epochs=100))

# ok
for item in model1.predict(input_fn=get_input_fn([1, 2, 3, 4])):
    print(item)
# ok
for item in model2.predict(input_fn=get_input_fn([1, 2, 3, 4])):
    print(item)

model1_output = model1.predict(input_fn=get_input_fn([1, 2, 3, 4]))
model2_input_fn = get_input_fn(model1_output)
# IndexError: pop from empty list
# tensorflow/python/framework/ops.py", line 5267, in get_controller
#    context.context().context_switches.pop()
for item in model2.predict(model2_input_fn):
    print(item)

Error log
Traceback (most recent call last):

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 157, in __call__
    ret = func(*args)

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 382, in generator_py_func
    values = next(generator_state.get_iterator(iterator_id))

  File "test.py", line 36, in gen
    for item in inputs:

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/estimator/estimator.py", line 519, in predict
    for key, value in six.iteritems(preds_evaluated)

  File "/usr/lib64/python3.5/contextlib.py", line 66, in __exit__
    next(self.gen)

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/framework/ops.py", line 5267, in get_controller
    context.context().context_switches.pop()

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/eager/context.py", line 136, in pop
    self.stack.pop()

IndexError: pop from empty list

Traceback (most recent call last):
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/client/session.py", line 1322, in _do_call
    return fn(*args)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/client/session.py", line 1307, in _run_fn
    options, feed_dict, fetch_list, target_list, run_metadata)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/client/session.py", line 1409, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.UnknownError: IndexError: pop from empty list
Traceback (most recent call last):

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 157, in __call__
    ret = func(*args)

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 382, in generator_py_func
    values = next(generator_state.get_iterator(iterator_id))

  File "test.py", line 36, in gen
    for item in inputs:

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/estimator/estimator.py", line 519, in predict
    for key, value in six.iteritems(preds_evaluated)

  File "/usr/lib64/python3.5/contextlib.py", line 66, in __exit__
    next(self.gen)

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/framework/ops.py", line 5267, in get_controller
    context.context().context_switches.pop()

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/eager/context.py", line 136, in pop
    self.stack.pop()

IndexError: pop from empty list

         [[Node: PyFunc = PyFunc[Tin=[DT_INT64], Tout=[DT_FLOAT, DT_FLOAT], token="pyfunc_7"](arg0)]]
         [[Node: IteratorGetNext = IteratorGetNext[output_shapes=[[?], [?]], output_types=[DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](OneShotIterator)]]
         [[Node: IteratorGetNext/_19 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_6_IteratorGetNext", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "test.py", line 72, in <module>
    for item in model2.predict(model2_input_fn):
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/estimator/estimator.py", line 509, in predict
    preds_evaluated = mon_sess.run(predictions)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/training/monitored_session.py", line 567, in run
    run_metadata=run_metadata)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/training/monitored_session.py", line 1043, in run
    run_metadata=run_metadata)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/training/monitored_session.py", line 1134, in run
    raise six.reraise(*original_exc_info)
  File "/usr/lib64/python3.5/site-packages/six.py", line 693, in reraise
    raise value
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/training/monitored_session.py", line 1119, in run
    return self._sess.run(*args, **kwargs)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/training/monitored_session.py", line 1191, in run
    run_metadata=run_metadata)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/training/monitored_session.py", line 971, in run
    return self._sess.run(*args, **kwargs)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/client/session.py", line 900, in run
    run_metadata_ptr)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/client/session.py", line 1135, in _run
    feed_dict_tensor, options, run_metadata)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/client/session.py", line 1316, in _do_run
    run_metadata)
  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/client/session.py", line 1335, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnknownError: IndexError: pop from empty list
Traceback (most recent call last):

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 157, in __call__
    ret = func(*args)

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 382, in generator_py_func
    values = next(generator_state.get_iterator(iterator_id))

  File "test.py", line 36, in gen
    for item in inputs:

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/estimator/estimator.py", line 519, in predict
    for key, value in six.iteritems(preds_evaluated)

  File "/usr/lib64/python3.5/contextlib.py", line 66, in __exit__
    next(self.gen)

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/framework/ops.py", line 5267, in get_controller
    context.context().context_switches.pop()

  File "/home/miacro/.local/lib64/python3.5/site-packages/tensorflow/python/eager/context.py", line 136, in pop
    self.stack.pop()

IndexError: pop from empty list

         [[Node: PyFunc = PyFunc[Tin=[DT_INT64], Tout=[DT_FLOAT, DT_FLOAT], token="pyfunc_7"](arg0)]]
         [[Node: IteratorGetNext = IteratorGetNext[output_shapes=[[?], [?]], output_types=[DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](OneShotIterator)]]
         [[Node: IteratorGetNext/_19 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_6_IteratorGetNext", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]

@mrry, could you please take a look? (Are you the right person)?

Nagging Assignee @ispirmustafa: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @ispirmustafa: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @ispirmustafa: It has been 46 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @ispirmustafa: It has been 61 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Estimator.predict yields predictions under a graph context. The way with handle graph context in TF make yielding an issue. For example following code has same error.
I'll update the documentation of predict:
def f1():
  with tf.Graph().as_default():
    yield tf.no_op()

def f2():
  with tf.Graph().as_default():
    yield tf.no_op()

y1, y2 = f1(), f2()

next(y1)
next(y2)
next(y1)

Updated the documentation: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/estimator/estimator.py#L484

Hi, estimator.predict is to slow , i want to predict some text in my model for every 2 second.  estimator.predict() function allways load the model from latest checkpoint.  I want to load model only once in estimator.predict to get fast prediction.


Proposal to disable old weak ciphers in openssl unless using a legacy branch or builds

Proposal to disable old weak ciphers in openssl unless using a legacy branch or builds
RC4, DES 3DES, and CBC cipher suites are all known to have security issues. Why are they still being included in openssl and made available? Would it be possible to split openssl into a "next-gen" branch and also a "legacy" branch? This would help prevent TLS / website operators from using insecure defaults they didn't expect, or settings they just assumed were "secure by default". Eg, could the default be "openssl-ng" unless someone wanted to acquire "openssl-legacy" for backward compatibility reasons? We are discussing this at the h2o web server github. Team has suggested the changes be made in openssl instead of providing secure defaults at the h2o web server project level via a default enforcement or config.
https://github.com/h2o/h2o/pull/1334#issuecomment-309640309
Thoughts?

RC4 and DES are disabled by default. You need to use a compile time option to enable them. We still have some CBC suites enabled by default for compatibility reasons, but they're priority is the lowest.
This is what the default looks like in 1.1.0:
ECDHE-ECDSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AESGCM(256) Mac=AEAD
ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(256) Mac=AEAD
DHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=DH       Au=RSA  Enc=AESGCM(256) Mac=AEAD
ECDHE-ECDSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=CHACHA20/POLY1305(256) Mac=AEAD
ECDHE-RSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH     Au=RSA  Enc=CHACHA20/POLY1305(256) Mac=AEAD
DHE-RSA-CHACHA20-POLY1305 TLSv1.2 Kx=DH       Au=RSA  Enc=CHACHA20/POLY1305(256) Mac=AEAD
ECDHE-ECDSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AESGCM(128) Mac=AEAD
ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(128) Mac=AEAD
DHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=DH       Au=RSA  Enc=AESGCM(128) Mac=AEAD
ECDHE-ECDSA-AES256-SHA384 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AES(256)  Mac=SHA384
ECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AES(256)  Mac=SHA384
DHE-RSA-AES256-SHA256   TLSv1.2 Kx=DH       Au=RSA  Enc=AES(256)  Mac=SHA256
ECDHE-ECDSA-AES128-SHA256 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AES(128)  Mac=SHA256
ECDHE-RSA-AES128-SHA256 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA256
DHE-RSA-AES128-SHA256   TLSv1.2 Kx=DH       Au=RSA  Enc=AES(128)  Mac=SHA256
ECDHE-ECDSA-AES256-SHA  TLSv1 Kx=ECDH     Au=ECDSA Enc=AES(256)  Mac=SHA1
ECDHE-RSA-AES256-SHA    TLSv1 Kx=ECDH     Au=RSA  Enc=AES(256)  Mac=SHA1
DHE-RSA-AES256-SHA      SSLv3 Kx=DH       Au=RSA  Enc=AES(256)  Mac=SHA1
ECDHE-ECDSA-AES128-SHA  TLSv1 Kx=ECDH     Au=ECDSA Enc=AES(128)  Mac=SHA1
ECDHE-RSA-AES128-SHA    TLSv1 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
DHE-RSA-AES128-SHA      SSLv3 Kx=DH       Au=RSA  Enc=AES(128)  Mac=SHA1
AES256-GCM-SHA384       TLSv1.2 Kx=RSA      Au=RSA  Enc=AESGCM(256) Mac=AEAD
AES128-GCM-SHA256       TLSv1.2 Kx=RSA      Au=RSA  Enc=AESGCM(128) Mac=AEAD
AES256-SHA256           TLSv1.2 Kx=RSA      Au=RSA  Enc=AES(256)  Mac=SHA256
AES128-SHA256           TLSv1.2 Kx=RSA      Au=RSA  Enc=AES(128)  Mac=SHA256
AES256-SHA              SSLv3 Kx=RSA      Au=RSA  Enc=AES(256)  Mac=SHA1
AES128-SHA              SSLv3 Kx=RSA      Au=RSA  Enc=AES(128)  Mac=SHA1

Thanks. Any reason not to disable all the known weakened cipher suites including those with CBC by default? And why not enforce TLSv1.2 by default and leave off SSLv3 and TLSv1? It seems to me that only legacy clients require anything less than the following:
minimum-version: TLSv1.2
cipher-suite: ECDHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256;
cipher-preference: server
The above config supports all non-legacy clients in a robust manner with no CBC (known attacks) nor SHA-1 (broken in some scenarios). Anything not in that list above is technically an End-of-Life client, such as Windows Vista, IE8-10, OS X 10.10, Android 4.3, etc.

Please note that there is a very long tail of old software that do not support modern TLS versions or ciphers. If you disable all non-AEAD ciphers and older TLS versions you will not be able to talk to some other software anymore. So for compatibility reasons they are still enabled for now. Note that your browser also supports those ciphers. I'm sure that at some point we will disable them by default, and I hope to do that soon, but I think it's still to early to do so.
Please note that OpenSSL is used as both client and server, and those defaults apply to both of them.
If you want to restrict your server to only use TLS 1.2 or higher, I suggest you make it call SSL_CTX_set_min_proto_version() with TLS1_2_VERSION or if using 1.0.2 use SSL_CTX_set_options() wit SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1.


Better link to Maven in the badge

Thanks! But at least for me the link doesn't seem to point to the right place.
https://search.maven.org/search?q=g%3Aio.chrisdavenport+AND+a%3Ahttp4s-grpc-google-*
Maybe we should link to scaladex instead?
https://index.scala-lang.org/davenverse/googleapis-http4s

The point is to link to a list of available artifacts.
index.scala-lang.org/davenverse/googleapis-http4s doesn't point to any and so you don't know what is available in what version
But it's OK if you prefer the current link, I'm not insisting ;)

Hmm, I wonder if we are not seeing the same thing 😕
When I click on your link, I see this:

Meanwhile at Scaladex, I see this.

You have the new Maven UI, which sucks :(
The old one looks like this

Scaladex might not be bad... I don't know :)

So what do we do about this, @armanbilge ?

Can we find a URL that won't bitrot when Maven switches permanently to the new UI?

I updated the link, please have a look

That link works on my end, thank you so much!

Happy to help :bow:


Kubeflow v1.7 release tracker for Nutanix Kubernetes Engine(NKE)

With Kubeflow 1.7 release, the progress is tracked for the following features on Nutanix Karbon
Kubernetes version - 1.24, Kustomize version - 5.0.1

[x] multi-user deployment with profiles
[x] distributed training using Training operator(TFJob)
[x] Hyperparameter optimization using Katib
[x] Testing Inference using KServe
[x] Workflow creation using Pipelines
[x] e2e-mnist manifest testing

Need to test with Kustomise 5

Kubeflow manifests release 1.7.0-rc.2 is tested against Nutanix NKE 2.7.0 with Kubernetes 1.24


ModuleNotFoundError: No module named 'ct_utils'

Hello
I'm new to using Tensorflow and Python, and have possibly made a silly mistake, but I keep getting this error when I try and run the run_tf_detector.py script:
python CameraTraps/detection/run_tf_detector.py md_v4.1.0.pb --image_file IMG0027.JPG
Traceback (most recent call last):
File "CameraTraps/detection/run_tf_detector.py", line 54, in
from ct_utils import truncate_float
ModuleNotFoundError: No module named 'ct_utils'
Setup is:
Ubuntu 18.04
python --version
Python 3.6.8
echo $PYTHONPATH
~/ml/microsoft_mega/CameraTraps;~/ml/microsoft_mega/ai4eutils
which was created via
export PYTHONPATH="~/ml/microsoft_mega/CameraTraps;~/ml/microsoft_mega/ai4eutils"
so it is possible I've made a mistake here as the instructions are for Windows.
I'm not using Anaconda, but a Python virtual environment. Tensorflow and other pip libraries all installed without problems.
Many thanks, and apologies if I've overlooked something simple.
Roy

@rasanderson looks like you have an issue with your PYTHONPATH the semicolon should be a colon
~/ml/microsoft_mega/CameraTraps:~/ml/microsoft_mega/ai4eutils

Thank you very much @persts as that has solved the problem (silly error on my part). Initially it still didn't run (I'd stupidly installed Tensorflow 2.0 instead of 1.13.1) but after downgrading it ran. The script showed a number of messages along the lines of:
Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node Preprocessor/map/while/ResizeToRange/strided_slice_3. Error: Pack node (Preprocessor/map/while/ResizeToRange/stack_2) axis attribute is out of bounds: 0
Nevertheless, it successfully produced an output image, and correctly detected the animal in the camera trap imagery. Thanks again for your prompt answer and help.


Token management improvement

Fix: handle token provided in the header like 'Bearer $token'

PR meant to fix #136


Can't handle decimals with a zero

Try the following value on the demo: 10.05. It will return undefined.

ya thats because in the demo I set in the html for the first 2 inputs the following:
step="0.5"

you can change that to 0.01 for example and it will work.
for example the third input has smaller step and it works.
so its pure configuration based on your needs.

Ah ok you are right! Thanks for the clarification.


Fixed "stateful" instead of "stateless" in the Stateless Contract Ove…

Basically the title.

I also added a fix for the name of my application. I changed logo and name but somehow it got reverted to the previous infos.


[Task]: Fix Capacitor plugin Secure Access Filesystem

Task description
Exporting Recovery kit pdf is not working on Android, we need to fix that.
Requirements
TBD
Acceptance criteria
TBD
Creation checklist

[X] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

check this https://github.com/ionic-team/capacitor/pull/5498

On Pixel Android 12 there is a write error too.


extracting media links

We should provide a way to extract all media links from a tweet.
@jrmontag has the following code in the Analysis Tools package
def _get_img_url(self, tweet):
    media_url = None
    if 'twitter_entities' not in tweet or 'media' not in tweet['twitter_entities']:
        logging.info('no image found in tweet id={}'.format(tweet['id']))
        return media_url
    try:
        media_url = tweet['twitter_entities']['media'][0]['media_url']
    except KeyError:
        logging.info('Failed to extract image URL for tweet id={}'.format(tweet['id']))
    return media_url

Which could serve as a starting point for discussion around how to handle various related cases.

in progress!


#93 #113 #107(redo)

#93 - better named attributes table
#113 - add tags on saving map-selected features as favorite
#107 (redo) - clear selection not working when not run on UI thread

@pHill5136 - can you review when you get a chance - thanks


fix: autoscaler now requires 500MiB instead of 300MiB

Fixes: #88
Original issue: https://github.com/kubernetes/autoscaler/issues/4220

This is not tested yet.
I just open the PR first and test later.

I already tested and deployed.
with this change we need to taint some resources because the terraform claims "there are no changes on the infrastructure"
but after destroying the module and applying the new module... it works for me.
you can review if this change is ok or not.
thanks.

thank you!


"System.OutOfMemoryException" when installing on windows

latest atom setup on windows 7 enterprise sp1.

there's "System.OutOfMemoryException" exception in log from SquirrelTemp. But task manager shows over 3G memory available.

Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\x\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\x\AppData\Local\atom\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\x\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\x\AppData\Local\atom\app-1.0.0
IEnableLogger: Failed to install package to app dir: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.MemoryStream.ToArray()
   at NuGet.StreamExtensions.ToStreamFactory(Stream stream)
   at NuGet.ZipPackageFile..ctor(PackagePart part)
   at NuGet.ZipPackage.<GetFilesNoCache>b__12(PackagePart part)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at NuGet.ZipPackage.GetFilesNoCache()
   at NuGet.ZipPackage.GetFilesBase()
   at NuGet.LocalPackage.GetFiles()
   at NuGet.PackageExtensions.GetFiles(IPackage package, String directory)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()

there're files in "C:\Users\x\AppData\Local\atom\app-1.0.0".

atom.exe is executable here.

/cc @paulcbetts @kevinsawicki

I also have this problem with the Windows installer.  I'm running Windows 8.1.  I tried the installer using my local user as well as Administrator with no change.  The log messages appear to be the same.  I have 7Gb of free memory, around 50%, unused.
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\x\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\x\AppData\Local\atom\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\x\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\x\AppData\Local\atom\app-1.0.0
IEnableLogger: Failed to install package to app dir: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.MemoryStream.ToArray()
   at NuGet.StreamExtensions.ToStreamFactory(Stream stream)
   at NuGet.ZipPackageFile..ctor(PackagePart part)
   at NuGet.ZipPackage.<GetFilesNoCache>b__12(PackagePart part)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at NuGet.ZipPackage.GetFilesNoCache()
   at NuGet.ZipPackage.GetFilesBase()
   at NuGet.LocalPackage.GetFiles()
   at NuGet.PackageExtensions.GetFiles(IPackage package, String directory)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()

+1

Atom just upgraded the auto-update/installer library used on Windows.
Can people try again using Atom 1.0.4+ from https://atom.io and see if this is still happening on newer versions?

great! no issue with the new installer. starting atom with windows~
On Wed, Aug 5, 2015 at 7:18 AM, Kevin Sawicki<EMAIL_ADDRESS>wrote:

Atom just upgraded the auto-update/installer library used on Windows.
Can people try again using Atom 1.0.4+ from https://atom.io and see if
this is still happening on newer versions?
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/7440#issuecomment-127792704.

great! no issue with the new installer.

Great, closing this out for now, can reopen if this starts happening again.

This is permafixed in https://github.com/Squirrel/Squirrel.Windows/pull/403

I'm getting this now on Windows 10, with installer version 1.0.9 :(

@rossipedia Delete %LocalAppData%\atom and try again

I've done that several times, no success.


 See it in action here: https://www.linkedin.com/events/6746462348694958080/

Yes, it's not very good, is it, the original image probably has a bit too much detail really. :( The original is "only" 1128 pixels wide, so it's never going to be amazing. But they've also resized the image to 800x200 and converted it to JPEG, so I'm not too surprised it looks crummy:

The image is zoomed in/cropped when you resize the browser window...
I tried putting the text on a white background:

but I'm not seeing more pixels in these PNGs, and I don't think it's any better, even before it gets the "treatment"..
So I think this banner should be thrown away and replaced with something simpler and less croppable, although to be honest I'm not very good at that... :)

Yes, it's not very good, is it, the original image probably has a bit too much detail really. :( The original is "only" 1128 pixels wide, so it's never going to be amazing. But they've also resized the image to 800x200 and converted it to JPEG, so I'm not too surprised it looks crummy:

The image is zoomed in/cropped when you resize the browser window...
I tried putting the text on a white background:

but I'm not seeing more pixels in these PNGs, and I don't think it's any better, even before it gets the "treatment"..
So I think this banner should be thrown away and replaced with something simpler and less croppable, although to be honest I'm not very good at that... :)


Very difficult to investigate dependent licenses and package for distribution

Now gettext 3.3.8 is already released, so I am trying to gettext on Fedora from 3.3.7 to that version, however as now gettext 3.3.8 depends on red-datasets I am trying to package red-datasets on Fedora.
But red-datasets depends on external sources and when using red-datasets it tries to download them implicitly, so I have to

check what files red-datasets will download when trying
investigate all the licenses of those files
also package them in rpm archive - rpm -V can check if the installed files are not modified, and when rebuilding rpms we disable net access to guarantee reproducibilty,  so if red-datasets depends on external files we also package them with it.

Especially, the first two one (ie. checking the external files red-datasets depends on, and checking their licenses) are very difficult tasks for me for now.
Would you explicltly write some files explaining these items, and if possible, package the external files altogether with red-datasets gem?

Honestly saying, to determine plural forms on gettext 3.3.8, demanding the whole red-datasets gem seems too heavy dependency.

We set license metadata for each dataset if it's possible. e.g.: https://github.com/red-data-tools/red-datasets/blob/master/lib/datasets/wikipedia.rb#L36-L40
Does this help the packaging task?
But some datasets don't specify license metadata because the source dataset doesn't specify license information explicitly. e.g.:
https://github.com/red-data-tools/red-datasets/blob/master/lib/datasets/mnist.rb
http://yann.lecun.com/exdb/mnist/
(MNIST is widely used in machine learning community.)
We can't bundle all source datasets because some datasets aren't suitable for it. e.g.: https://github.com/red-data-tools/red-datasets/blob/master/lib/datasets/e-stat-japan.rb
BTW, how about marking red-datasets as an optional dependency in gettext? If red-datasets doesn't exists, gettext just doesn't guess plural forms.

BTW, how about marking red-datasets as an optional dependency in gettext? If red-datasets doesn't exists, gettext just doesn't guess plural forms. Then you don't need to package red-datasets.

If this is possible, it will meet my desire and meet requirement for packaging on Fedora.

OK. I'll do it.


False positive for W292

How to reproduce:
cargo run resources/test/fixtures/C402.py

Expected:
W292 is not reported. resources/test/fixtures/C402.py does end with a newline.
Actual:
resources/test/fixtures/C402.py:1:35: W292 No newline at end of file

Relevant lines:
https://github.com/charliermarsh/ruff/blob/d9edec0ac9dabdd960002e5cf6b090e106f3d4ce/src/check_lines.rs#L43
https://github.com/charliermarsh/ruff/blob/d9edec0ac9dabdd960002e5cf6b090e106f3d4ce/src/check_lines.rs#L119
https://doc.rust-lang.org/std/string/struct.String.html#method.lines states:

The final line ending is optional. A string that ends with a final line ending will return the same lines as an otherwise identical string without a final line ending.

Can we just check contents ends with \n?


Upscaling doesn't work.

What steps will reproduce the problem?
A general search like "idolmaster rating:s" with multiple sources like danbooru.donmai.us, gelbooru.com, konachan.com with Merge results unchecked.
In Options>Interface, Upscaling is at 180% and in Interface>Search Results, "Use a fixed-image-width layout" is checked.
I've tried a full uninstall, as well as deleting the C:/Users/Username/AppData/Local/Bionus/Grabber folder contents as well before reinstalling.
What is the expected behavior? What do you get instead?
The thumbnails are supposed to be resized bigger, but instead, the spaces between the thumbnails get bigger as if to make space for a bigger thumbnail, but the thumbnail sizes remain the same. Except for konachan.com, where they are somehow bigger but still seem to have an upper limit depending on higher Upscaling settings.
How often does this problem occur? On which sources?
I've only noticed it recently when I tried to change the Upscaling, and so far it always occurs when the Upscaling is on.
Sources I've used: gelbooru.com, danbooru.donmai.us, konachan.com
What version of the program are you using? On what operating system?
Grabber 5.5.2
OS: Windows 10 Home 64-bit
Please provide any additional information below
Screenshot: https://i.imgur.com/ZDqStks.jpg
(P.S. I changed the username for privacy reasons. Also, the wiki doesn't work?)

Can confirm the problem.
Downscaling to 50% works good, all thumbnails resizes.

But upscaling to 200% work bad, only items size in the grid becames bigger, but images do not upscales.
Obviously a bug.

Yes, I could also reproduce. I'll be fixed in 5.5.3.

Also, the wiki doesn't work?

Indeed, it seems to have been broken recently. I also pushed a fix.


modify command line options for fetchStatsFromGA script.

remove date validation to allow relative date pattern
add useContentGroup option instead of guessing from start/end dates

Coverage decreased (-0.2%) to 88.158% when pulling 0fbf65b5cb9f49dcc1b245b30cad2e5e63c3c110 on contentGroupFlag into 800758e959c96ff4b6ed624d419e66c84ad5789f on master.


EchoMC

General:

[x] The pull request title is descriptive. (ex. Added Lunar Network, not Updated metadata.json)
[x] The pull request does not contain any unrelated commits.  (ex. commits from previous pull requests)

Mapping Additions or Updates:

[x] Folder with appropriate name has been created / updated (must not include any non-alpha characters or whitespace).
[x] No changes were made to the file's formatting (4 spaces per tab).
[x] There are no syntax errors.
[x] There is no pre-existing mapping matching my id (check if there is an existing folder).
[x] My field values match your requirements.
You can view our patterns here: metadata.schema.json, or take a look below and complete the field checklist:

[x] id: a lowercase string, which should match the folder name (ex. myserver)
[x] name: a string (ex. MyServerPvP)
[x] description: hook between 16 and 80 characters (ex. Home of Competitive Minecraft PvP)
[x] addresses: an array with lowercase strings (ex. ["my.server", "your-server.com"])

You do not need to specify subdomains, Lunar Client services automatically detect them.

[x] primaryAddress: the primary address that people connect to with (please include the subdomain if required) (ex. mc.my.server)
[x] minecraftVersions: an array with Minecraft versions as strings (ex. ["1.18.*", "1.19.2"] - Must be versions or subversions supported by Lunar Client)
[x ] primaryMinecraftVersion: a Minecraft version as a string (ex. 1.19.2 - Must be a subversion supported by Lunar Client)
[x] primaryColor: a hexademical color code that primarily distinguishes the server (ex. #00FFFF)
[x] secondaryColor: a hexademical color code that accompanies the primaryColor of the server (ex. #FF0000)
[x] primaryRegion: the primary region where your server operates in (ex. NA)
[x] regions: a list of regions where you have servers located that service your players (ex. ["NA", "EU", "AS"])
[x] gameTypes: a list of games that describe the content on your server, must be a max of 3 listed (ez. ["PVP", "UHC", "HCF"])
[x] (optional) website: url of server website, must include URL schema (http:// or https://) (ex. https://www.your-server.com)
[x] (optional) store: url of server store, must include URL schema (http:// or https://) (ex. https://store.your-server.com)

Socials

[ ] (optional) twitter: username of twitter account without the @ (ex. MyServer)
[ ] (optional) discord: invite link to discord (ex. https://discord.com/invite/4ceEJuH)
[ ] (optional) youtube: slug or username of youtube channel (ex. MyServer)
[ ] (optional) instagram: username of instagram account (ex. MyServer)
[ ] (optional) twitch: username of twitch account (ex. MyServer)
[ ] (optional) telegram: slug of telegram group (ex. MyServer)
[ ] (optional) reddit: slug of subdreddit wtih 'r/' (ex. MyServer)
[ ] (optional) tiktok: username of tiktok account (ex. MyServer)
[ ] (optional) facebook: slug of facebook page (ex. MyServer)

Media:
Logo

[x] My logo is a png file.
[x] I have uploaded my logo to my server folder (ex. lunarnetwork) and named it logo.png.
[x] My logo has a transparent background and is square (1:1 aspect ratio).
[x] My logo is 512 pixels in width and height.
[x] My logo is my own property and complies with relevant copyright/privacy laws.

Background

[x] My background is a png file.
[x] I have uploaded my background to my server folder (ex. lunarnetwork) and named it background.png.
[x] My background has an aspect ratio of 16:9.
[x] My background is atleast 1920 pixels in width and 1080 pixels in height (can be bigger, but must remain the same aspect ratio).
[x] My background contains relevant content pertaining to the server, is my own property, and complies with relevant copyright/privacy laws.
[x] My background doesn't contain any markings, text, or logos (unless part of a build).

your background cant have your logo unless it's part of a build. Please review the README.MD

how i change it?

your background cant have your logo unless it's part of a build. Please review the README.MD

I changed


Remove loop merge

Pull request information

Status: Ready to merge
Kind of changes: Cleaning
Code affected: This affects the loop merge environment and scenario.
Related PR or issue: None

Description

General description

Removed loop merge environment.
Removed custom spacing from loop merge network. This method was using a parameter, cls, which acted as sort of a hack during the period when we were porting over Aimsun. Once multi-loop is modified as well, this parameter can be removed.
Removed obsolete tests.

Todos

[ ] make code PEP8 compliant
[ ] add documentation
[ ] write tests

Logs / Screenshots
None

Pull Request Test Coverage Report for Build 3421

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.01%) to 89.343%

Files with Coverage Reduction
New Missed Lines
%

flow/core/kernel/scenario/traci.py
2
91.02%

flow/core/rewards.py
2
87.1%

flow/core/kernel/vehicle/traci.py
2
87.7%

Totals

Change from base Build 3415:
0.01%

Covered Lines:
7847

Relevant Lines:
8783

💛  - Coveralls


Failed migrations

Conflict between migrations causing error on:
./mev exec alembic upgrade head

Output:
ERROR [alembic.util.messaging] Requested revision 52d75a7e0533 overlaps with other requested revisions b9fa1ecc9929

This should be fixed as of that PR yesterday - are you on latest?

Have you pulled the latest main?
I made some changes here

yep, up to date


Microsoft Edge (New) Version 78.0.274.0 (Official build) canary (64-bit) Won't Follow FancyZones

Environment
Windows build number: [run "ver" at a command prompt]
PowerToys version:
PowerToy module for which you are reporting the bug (if applicable):

Steps to reproduce
Microsoft Edge Version 78.0.274.0 (Official build) canary (64-bit)
Windows 10 Pro 1903 18980.1
Expected behavior
Shift-Drag window into Zone
Actual behavior
New Edge will not light up Zones. All other applications do.
Screenshots

@enricogior I am having the same issue with apps run over RDP, with this commit fix this as well or should i report a separate issue.

I have this issue with Google Chrome, but judging from the description of the linked commit it probably solves my issue. Hopefully the next release comes quickly.

Hi @bpmckim
please open a new issue, since it might be a different problem.
Thank you.

Hi @milochristiansen
the fix works for Chrome as well. Hopefully we will have a new release soon.

Afternoon,
Without rebuilding PowerToys, current version of New Edge (Version
78.0.276.0 (Official build) canary (64-bit)) working now!
Thanks,
Phil Mulkins
On Mon, Sep 16, 2019 at 6:53 AM Enrico Giordani<EMAIL_ADDRESS>wrote:

Hi @milochristiansen https://github.com/milochristiansen
the fix works for Chrome as well. Hopefully we will have a new release
soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/362?email_source=notifications&email_token=AAQ5PFJ24DSL5LKZPDKYXITQJ5QTXA5CNFSM4IWEXEHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6YYRKA#issuecomment-531728552,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ5PFIIO4FJHUWWZUVWBK3QJ5QTXANCNFSM4IWEXEHA
.

This doesn't work with MS Edge in Application Guard.
MS Edge version: 44.18362.10024.0
It also doesn't work in the new MS Edge (Dev)
MS Edge(dev) version: 79.0.309.5 (Official build) dev (64-bit)
PowerToys version: <IP_ADDRESS>

@jopose
as I mentioned in the other issue, let's track the Application Guard bug in its own issue.
This one can be closed now since it's fixed in v0.12.0.


Suppress output: Microsoft Edge WebDriver was started successfully

Hi,
Language: Groovy
EdgeWebDriver Version: 111.0.1661.43 x64 (not important)
Selenium :  4.8.1 (not important)
By Start Edge WebDriver (msedgedriver.exe) report following line in Windows Console ErrorStream.
Microsoft Edge WebDriver was started successfully.
Question: How i can suppress this output?
Bellow you kann see my my attempts but nothing is works.
Thanks a lot for your answers.
System.setProperty("webdriver.edge.driver", "msedgedriver.exe")
System.setProperty("webdriver.edge.silentOutput","true")
//System.setProperty("webdriver.edge.loglevel","off") //alternate to silentOutput=true
//System.setProperty("webdriver.edge.silentLogging", "true")
System.setProperty("webdriver.edge.verboseLogging", "false")
//System.setProperty("webdriver.edge.args","--disable-logging")

EdgeOptions options = new EdgeOptions()
//options.addArguments("--disable-logging")
//options.addArguments("--silent")
//options.addArguments("--verbose")
//options.addArguments("--log-level=3")
options.setExperimentalOption("excludeSwitches", ["enable-automation"])

driver= new EdgeDriver(options)
driver.get("https://google.com")
sleep(1000)
driver.quit()

Thank you for the feedback. This is not supported right now. As a workaround, you can try suppressing the output using a powershell or .bat script.

any update on this ?
The verbose output in the console is easy to kill after it started but it is distracting..

I trink this Message is OK for next time but not in ErrorStream.


ALVR not displaying to quest 2 Linux mint

Description
I had to reinstall alvr and now when my headset connects it goes black
General Troubleshooting
I see that this is a known problem with the newer Linux versions, But downgrading steam does nothing.
Environment
Linux mint 21.3
Linux kernel 6.5.0-35
Hardware
Ryzen 7 5800x
Nvidia 4060ti
545
disabled
Installation
6.8.1
ALVR Settings File:
2.4, 2.5,2.6
Install Type:

[ ] Portable (zip)

PRETTY_NAME="Linux Mint 21.3"

Same issue here including nightly, I even went through the hassle of installing pipe wire at one point to try getting audio working and it worked for a little bit but everything stopped working the instant I decided to try updating to the non-appimage version of alvr...

same here, i use alvr v20.6.1 appimage

I'm guessing this might be related to the SteamVR update, and it's recommended to follow #2115 to try and verify if it's available.

I got it to work, follow the guide zggzcyg linked and don’t forget to force compatibility after you use the guide, I forgot to which led me here.


Prevent setting the repeat time on times to zero

          I would prefer to make the issue impossible by types, as this means the check will happen several times. Someone doing lots of timers and calling `percent` on every frame may notice an impact... but we can revisit that then

Originally posted by @mockersf in https://github.com/bevyengine/bevy/pull/8467#pullrequestreview-1396941736

Should this be a compile time check or a runtime check? I think either way it should be possible to make a NonZeroDuration to hold this logic

Ideally compile time :)

Here are two possible ways of solving the problem. In my opinion the compile time check is way too hacky to merge, but I thought I would throw it out there in case anyone has a clever way to resolve my hack and make compile time checks actually work. However I think that the runtime check is a net improvement. It moves the problem to NonZeroDuration construction, but it ensures that we do not continually check for zero duration in tick() and percent

Its also probably worth discussing what the default Duration should be in NonZeroDuration

@alice-i-cecile  / @mockersf what are your thoughts on the runtime check PR?

Yeah, lemme do a review!


Ubuntu bash/zenity graphical script

In case anyone else finds it useful; i've created a bash script with Zenity frontend (also works from the command line) to select and extract files from the desktop and included a .deb file to install it for Ubuntu (possibly Debian as well). I created a project page at https://github.com/draekko/apktool4ubuntu to share it.

Thanks. Might have to add a wiki page for community contributions tools/scripts/helpers/etc

Sounds like a good idea :)


Fix external update issue & update to React 16

Update react to 16
Rrfactor refs

What the status of this PR? Is it still in progress? I can provide some help to make this PR merged.
NOTE: Changing ref from callback to ref-object is a breaking change.


Content save and continue

I've done some save and continue content, but I think it should really go under the header (Course choices review). Couldn't figure out how to do that. This could work for all the review sections I think.

Now we've merged #245, do we still need this?


Limiting number of actions in the domains

As pointed out in #51 domains can factorize their actions if there's too many of them per node.
Would you like to impose a limit on that, for example having at most 256 actions per node? The reason why this would practically useful is because pretty much all the algorithms work with some notion of saving a value per action.

I do not think preventing games to do that would be beneficial. However, if for some specific work or algorithm, we need to factorize the actions, then it's a good thing to make sure this can be done.
This could be done using an argument to the game, or maybe using a wrapper is there is a good way of doing it. Adding the functions long LegalActionsCount and LegalActionAt(long index) you suggested can also be doable.
If you have a specific need, and found a good way of implementing it for your research/experiments/work, feel free to share it and this can also be included in OpenSpiel.


Updated to the newest Laravel v5.7.8

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: DCzajkowski sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


HGAT

Description

Add a new model: HGAT
corresponding with two conv layer, HINConv and HGATConv
and a new method to convert the Heterogeneous graph dict to homogeneous graph matrix: heter_homo_mutual_convert

add HGAT model


Teracopy in Files UWP

It would be nice to have teracopy integrated into the app. Thanks.<!--
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:

If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here. Ex: What device type/UI layout and app version?

@AbdulRafay517 Thank you for opening this issue. We usually expect users to fill out the issue template when reporting a bug or submitting a feature request, please reopen this issue when you have filled out the issue template.

@AbdulRafay517 Thank you for opening this issue. We usually expect users to fill out the issue template when reporting a bug or submitting a feature request, please reopen this issue when you have filled out the issue template.


Compilation error when using yarn 3

Describe the bug
I am trying to use the latest stable version of yarn (3.2.1) with create-react-app to create the boilerplate code for a TypeScript React application, as shown in this SO answer. The generation went without errors, but a compilation error in the test file appears when attempting to run the app.
Using the old yarn (1.22.15) works without such issue, although package.json and everything under src/ are identical.
Did you try recovering your dependencies?

Tried to no avail. Yarn version is 3.2.1.
While unlikely relevant, yarn output some warning-like content.
PS C:\Users\jiahu02\hangman\hangman> yarn
➤ YN0000: ┌ Resolution step
➤ YN0002: │ eslint-config-react-app@npm:7.0.1 [d51fd] doesn't provide @babel/plugin-syntax-flow (pffa90), requested by eslint-plugin-flowtype
➤ YN0002: │ eslint-config-react-app@npm:7.0.1 [d51fd] doesn't provide @babel/plugin-transform-react-jsx (pce73b), requested by eslint-plugin-flowtype
➤ YN0002: │ hangman@workspace:. doesn't provide @testing-library/dom (p5ee20), requested by @testing-library/user-event
➤ YN0002: │ react-dev-utils@npm:12.0.1 doesn't provide typescript (p59348), requested by fork-ts-checker-webpack-plugin
➤ YN0002: │ react-dev-utils@npm:12.0.1 doesn't provide webpack (p1012e), requested by fork-ts-checker-webpack-plugin
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 0s 670ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 765ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0000: └ Completed in 0s 410ms
➤ YN0000: Done with warnings in 2s 511ms

Which terms did you search for in User Guide?

yarn 2 yarn 3 toBeInTheDocument
Environment

PS C:\Users\jiahu02\hangman\hangman> npx create-react-app --info

Environment Info:

  current version of create-react-app: 5.0.1
  running from C:\Users\jiahu02\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app

  System:
    OS: Windows 10 10.0.19042
    CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  Binaries:
    Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.2.1 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.5.5 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1266.0), Chromium (101.0.1210.47)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    react: Not Found
    react-dom: Not Found
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

Create a new app using the method here. Add --template typescript to the end of the actual create line.
yarn start in the newly create app directory

Expected behavior
There should be no errors, similar to running under yarn 1
PS C:\Users\jiahu02\old-hangman> yarn start
yarn run v1.22.15
$ react-scripts start
(node:8180) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:8180) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...
Compiled successfully!

You can now view old-hangman in the browser.

  Local:            http://localhost:3000
  On Your Network:  http://<IP_ADDRESS>:3000

Note that the development build is not optimized.
To create a production build, use yarn build.

webpack compiled successfully
Files successfully emitted, waiting for typecheck results...
Issues checking in progress...
No issues found.

Actual behavior

The error below appears both in the console and the webpage.
PS C:\Users\jiahu02\hangman\hangman> yarn start
(node:20128) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:20128) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...
Failed to compile.

Failed to load config "react-app" to extend from.
Referenced from: C:\Users\jiahu02\hangman\hangman\package.json
ERROR in Failed to load config "react-app" to extend from.
Referenced from: C:\Users\jiahu02\hangman\hangman\package.json

webpack compiled with 1 error
ERROR in src/App.test.tsx:8:23
TS2339: Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'.
     6 |   render(<App />);
     7 |   const linkElement = screen.getByText(/learn react/i);
  >  8 |   expect(linkElement).toBeInTheDocument();
       |                       ^^^^^^^^^^^^^^^^^
     9 | });
    10 |
Compiled successfully!

You can now view hangman in the browser.

  Local:            http://localhost:3000
  On Your Network:  http://<IP_ADDRESS>:3000

Note that the development build is not optimized.
To create a production build, use yarn build.

webpack compiled successfully
ERROR in src/App.test.tsx:8:23
TS2339: Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'.
     6 |   render(<App />);
     7 |   const linkElement = screen.getByText(/learn react/i);
  >  8 |   expect(linkElement).toBeInTheDocument();
       |                       ^^^^^^^^^^^^^^^^^
     9 | });
    10 |

Reproducible demo

archive.tar.gz
yarn then yarn start should be sufficient to demonstrate the issue.

Any update on this? I've run into this issue as well.

Hi! any updates?
I could "fix" it temporally adding this piece of code
"exclude": [
    "*/**/*.test.tsx"
  ]

to your tsconfig.json file.

Hi, having the same issue. I cannot use yarn create react-app name --template typescriptclear with latest yarn

I was able to solve this and keep my nodeLinker: pnp!
Context: I have a monorepo setup with Lerna Yarn 4 using TypeScript & Create React App.
I followed Yarn's TypeScript + PnP quick start recipe
# in my monorepo root...
yarn add --dev typescript
yarn dlx @yarnpkg/sdks vscode
yarn plugin import typescript

Then did some stuff from this SO post:
# in my app package root within the monorepo...
yarn add -D @testing-library/jest-dom

including adding this to my app's ts config compiler options:
"types": ["node", "jest", "@testing-library/jest-dom"]

which fixed almost everything.
To make the toBeInTheDocument error to finally resolve, I did a yarn remove @testing-library/jest-dom and a yarn add<EMAIL_ADDRESS>where ^5.16.4 was the version in my package.json I just removed. That remove and readd also added "@types/testing-library__jest-dom": "^5" to my devDependencies which I assume may have been the fix.

For anyone being bummed by this, i solved it using this:
1. remove yarn.lock

2. remove .pnp.cjs

3. remove .pnp.loader.mjs

4. add `.yarnrc.yml` file in root folder

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.2.1.cjs

run yarn install
should work now. When this issue is solved, simply remove the yarnrc.yml file

Yesss, Working now

For anyone being bummed by this, i solved it using this:

remove yarn.lock
remove .pnp.cjs
remove .pnp.loader.mjs
add .yarnrc.yml file in root folder

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.2.1.cjs

run yarn install
should work now. When this issue is solved, simply remove the yarnrc.yml file

Thank You So Much.


Bump to 0.6.6

List related issues here

@repi @Jake-Shadle hey guys, we would like to use your awesome tool and action, but the action version currently available under @0.3 is old (we miss some features). Might I ask you to create a @v4 tag, pretty, pretty pleeeease!

@Veetaha thanks, and yeah we have released this in a while, so probably should do that. May just do a v1 (tracked in #1)


Why use pio spi?

Just be curious about this. Because I remember it is normal SPI peripheral for wifi chip connection before.

https://github.com/overheat/embassy/blob/82d765689aa0f922d0b43e402eaa3d911b2d461d/cyw43-pio/src/lib.rs
I can only find some comments in the code. Is it related to overclock?

On the Pico W, the SPI pins are not hooked to the correct pins to use the RP2040's normal SPI peripheral. The Pico W PCB also uses resistors to multiples MOSI and MISO (and the cyw43's interrupt request) onto a single GPIO pin, so it's not even proper 4-wire SPI anymore.
This design allows the Pico W to have the same external GPIO layout as the original Pico, at the cost of needing to use the PIO as a custom SPI implementation.
That previous version might have been for a different PCB that hooked the cyw43 to the proper pins for SPI?

@overheat is this question answered sufficiently? if so, would you mind closing the issue?

sure.


WIP: OSSL_STORE for providers

This is a very early draft, just to show a line of thought to implement this.

@petrovr, I think you're interested.  It should start to answer questions you have asked recently.

Richard Levitte wrote:

@petrovr, I think you're interested.  It should start to answer questions you have asked recently.

Right now it look like separate functionality and at moment I cannot see
relation to key management.
Roumen

Right now it look like separate functionality and at moment I cannot see relation to key management.

It's for internal management of keys that are stored in the provider.  Without that, we would have to replicate its functionality in every public key operation type (such as keyexch) we create.
I could have placed the OSSL_STORE stuff in KEYMGMT, but since OSSL_STORE handles more than just keys, that doesn't seem appropriate.

What I just failed to say is that there's a need for something that manages the relationship between an EVP_PKEY and the key data that the provider modules hold.  That's what KEYMGMT does.

Well, I like that something moves about Providers / STORE / KEYMGMT.
To actively participate I still need time but I will follow this PR with interest.

I've done a bit of an update.  It's not at all ready yet to get out of WIP, but getting closer.
One thing I added today was the provider interface documentation, doc/man7/provider-store.pod.  I would very much appreciate if some would read it and comment on it, as I hope it will answer some questions that have been left unanswered.  @petrovr, that may interest you specifically, I do hope that with I've written makes better sense to you.

Hi @levitte ,
I did not have time to review in details proposed modification.
After quick review I wonder how to deal with specific key "handle" (a reference to external data that allows key to be identified).
How to store "handle" on EVP key?
Next I cannot see why is responsible for UI prompts? The external provider(device) may require password/pin to access data. It could be for whole "store" or for "certain" elements. Next pass may be requested on each key use (FIPS requirement).
I'm not familiar with provider API so may be above questions are not relevant.

Closing this in favour of #12512


Running MySQL server on DCOS

This has been transferred to Jira: https://dcosjira.atlassian.net/browse/DCOS-139


ts: Update commitment parameters

There's some old commitment parameters floating around, e.g., some uses of "recent". These should be changed to "processed", along with any other deprecated commitment names in the codebase.

☝ created a pr for it.

has been closed by #1128