I want to use Firebase FCM instead of APNS,

I want to use Firebase FCM instead of APNS, but in console i dont have any option to see or customize the FCM payload such. as adding new key params. Im not talking about data notification

Provide us customization to FCM payload so we can configure the field ourself. Rightnow, in my app, I can get all notification (not from your SDK), except notification generating from your sdk.
Acutally FIrebase onMessageListen its not catching it, not even in terminated state. Its just catching when app is open but in background thats it.
Do you guys have any idea? Im using FCM (gcm) channel for iOS

could you please specify what data you required in the FCM push notification for iOS?

have you tried to enable the "Notifications" push type for FCM in the Connectycube admin panel?

Im actually not getting fcm msgs from onListen method in flutter
On Mon, Jun 5, 2023 at 1:10 PM TatankaConCube @.***>
wrote:

have you tried to enable the "Notifications" push type for FCM in the
Connectycube admin panel?
[image: Screenshot 2023-06-05 at 11 08 32]
https://user-images.githubusercontent.com/48598737/243291667-e58c87a6-fb07-4f23-9203-f7e84082647d.png
—
Reply to this email directly, view it on GitHub
https://github.com/ConnectyCube/connectycube-flutter-samples/issues/262#issuecomment-1576304996,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5C5RMIBC5T54JQ6QSML35LXJWH7HANCNFSM6AAAAAAYZJ5B34
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

I modified our Chat sample a little bit. And it can receive FCM push notifications in the same way as Android. The callbacks  onMessageOpenedApp and onBackgroundMessage  work well on the iOS side. I suppose other callbacks should work on iOS in the same way as Android.
A few notes:

you should create the subscription on iOS in the same way as Android;
the iOS system returns the dev token even if you build a release build, except if you build an archive to TestFlight, in this case, the system returns the production token, which means you should add both *.p12 certificates to the firebase developer console;

Youre right, im using fcm in ios (gcm) that means not depending upon on
apns.
Im generating notifications from postman, im able to receive but not
getting from cc server (just onMessage.listen) rest of listeners are
working fin.
On Mon, Jun 5, 2023 at 8:00 PM TatankaConCube @.***>
wrote:

I modified our Chat sample a little bit. And it can receive FCM push
notifications in the same way as Android. The callbacks onMessageOpenedApp
and onBackgroundMessage work well on the iOS side. I suppose other
callbacks should work on iOS in the same way as Android.
A few notes:

you should create the subscription on iOS in the same way as Android;
the iOS system returns the dev token even if you build a release
build, except if you build an archive to TestFlight, in this case, the
system returns the production token, which means you should add both *.p12
certificates to the firebase developer console;

—
Reply to this email directly, view it on GitHub
https://github.com/ConnectyCube/connectycube-flutter-samples/issues/262#issuecomment-1576965464,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5C5RMKGJSVHH3MHB7JHS6LXJXYAZANCNFSM6AAAAAAYZJ5B34
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

what does that mean? "marked the chat connection inactive for receiving Chat push notification"

FirebaseMessaging.onMessage.listen((message) async {
        debugPrint('onMessage: $message');  //<=== Not even this is printing, but when I send a notification from postman, its getting called but not from ConnectyCube server FCM
});

you will receive push notifications about the chat messages only in case when you are don't connected to the chat. for it you can logout from chat using CubeChatConnection.instance.logout() or you can mark the chat connection inactive using CubeChatConnection.instance.markInactive()

If app is in background, terminated state, i am able to catch it, but when app is open I am not able able to recieve notification which should be listen by below code.

it is expected behavior because in our sample we mark the chat connection as inactive when moving to the background, the callback onMessage works in case when the app is in foreground state

Oh still its not working for me tho?

If app is in background, terminated state, i am able to catch it, but when app is open I am not able able to recieve notification which should be listen by below code.

it is expected behavior because in our sample we mark the chat connection as inactive when moving to the background, the callback onMessage works in case when the app is in foreground state

Perfect, this was the case. Thanks

Sorry, its not working :(

What exactly doesn't work?

Not getting the notification even tho I marked '''CubeChatConnection.instance.markInactive()'''

It doesn't make sense. When you have an active chat connection you will receive messages through it. When you are disconnected you will receive the push notification.

It doesn't make sense. When you have an active chat connection you will receive messages through it. When you are disconnected you will receive the push notification.
In my scenario, i had to show notification. Anyhow Im marking this as done, as I was doing a mistake in putting inside a screen I have just completely disabled it and it got working! 😄 🚀

It doesn't make sense. When you have an active chat connection you will receive messages through it. When you are disconnected you will receive the push notification.

In my scenario I had to, Anyhow marking as closed as I have completely disabled this markInactive/active from main.dart and it got working 😄.


Vagrant up hang after postresql installation

Hi,
vagrant up starts the vm properly, but the process seems to hang forever after install aws-cli and postgresql, and before oracle-java (maybe it's waiting for an input?). Gist here:
https://gist.github.com/eprochasson/786afe1da3ef41f11bdd
Notice how I Ctrl+C at some point, which seems to (successfully) trigger the rest of the process.
Note: gist with vagrant 1.6.x, same result with vagrant version 1.7.4 (latest I could find).

Thanks for raising! That's odd, it looks like the Ansible bootstrapping happened twice.


docs: updated around other plugin types

Hey, I just made a Pull Request!
Couple of updates based on feedback from this Discord thread: https://discord.com/channels/687207715902193673/1151875992235823145

It was noted it wasn't clear how to create other plugins types
Also, there is now a way to create an isomorphic common plugin

These have both been addressed in this PR
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Cool if I merge? @Rugvip @tudi2d

Thanks @Rugvip @tudi2d 🚀


Does this work with websocket?

Cant seem to get it working with advanced combat tracker .

nevermind i got it working by redirecting withing the index.html


Add http client cmdx helper

@Benehiko PTAL https://github.com/ory/x/commit/e294636fb31bbe24969ffc42b5e17c3807b52783
We should use this CORS handler for backoffice, kratos and remove the CORS handling from the bo proxy so that oryapis.com can also have CORS

Will take a look :)


feat: add Celestia chain

And also update Arabica and Mocha config.

Linking this comment @JeremyParish69 - would you advise providing both svg and png? if so, how should i provide both in the config?

Linking this comment @JeremyParish69 - would you advise providing both svg and png? if so, how should i provide both in the config?

If the image files have the exact same appearance, you can specify both a png and an svg formats under a single image object. e.g., https://github.com/cosmos/chain-registry/blob/ba3c760baf9f089d4a38bf422f2e4f1e06821e3e/osmosis/assetlist.json#L30-L35

I can add that utia is the staking token?

yes!


info message from gateway

i have here a information that my gateway has a esp
dont know why...

https://github.com/DrozmotiX/ioBroker.esphome/blob/385216342a0b81b702149e633d26399ac88e5966/main.js#L538

Seems like we have a bug in autodiscovery used by the module, I will temporary disable it for now until the bug is solved
https://github.com/twocolors/esphome-native-api/issues/23

solved in latest git version (0.5.0-beta.10) will be part of 0.5.x release


Fix bug where branch name includes a space after midnight.

In the AM hours, the 24-hour clock provided by %k in the date command
includes a space. This will use a random number instead.
Also, since more than just latestdeps can use the clone-and-checkout.sh
script, renames the branch to something more generic.

@waprin Please take a look. This should fix the Jenkins failures on the *-updatedeps repos that I'm encountering.


Add missing word

Dear @oliver-dvorski,
Thank you for these improvements. While I agree to merge all of them, I'd rather have one PR with these separate changes as separate commits rather than their own branch.
Would you be so kind to create a new PR of a branch containing these three changes as separate commits?
For example by cherry-picking the commits on one of the branches or a new branch.
Let me know if you'd need some assistance.

https://github.com/Jhnbrn90/LaravelPackage.com/pull/138


Discuss Ambassador Program

Please share any additional details on this topic
We've had the Ambassador program for a year, and it would be good for the TAC to review this and determine the plan for 2022
Detail what actions or feedback you would like from the TAC
Plan for 2022 Ambassador Program

Application list at https://github.com/openmainframeproject/tac/issues?q=is%3Aissue+is%3Aopen+label%3Aambassador-application

Ambassadors have been selected...
https://github.com/openmainframeproject/tac/issues?q=+is%3Aissue+label%3Aambassador-application-approved-2022+
TAC members to follow up individually with those not selected.
Kickoff meeting 3/1


Added support for logging integration via ZConfig:

See: http://zconfig.readthedocs.io/en/latest/using-logging.html
Note that the Zope integration also uses ZConfig, but adds lots of Zope-specific machinery that won't work elsewhere.  This integration cribbed from the Zope integration. :)

I've cleaned up the implementation a little and added tests.

OK. language changed.

thanks!


Chore: Update DG

Section 7 to be completed
Section 4.2 to be completed

Codecov Report

Merging #183 (92e5420) into master (484033e) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##             master     #183   +/-   ##
=========================================
  Coverage     59.29%   59.29%
  Complexity      616      616
=========================================
  Files           112      112
  Lines          2393     2393
  Branches        276      276
=========================================
  Hits           1419     1419
  Misses          902      902
  Partials         72       72

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


interpolation.zoom incorrect output for certain cases

I found the behaviour of zoom to be incorrect when working with 3D arrays for nearest neighbour interpolation.
for example, try the following:
x = numpy.zeros(32, 32, 11)
x[12, 16, 8] = 1
y = interpolation.zoom(x, 4, order=0)

and when I check to see at y[12*4, 16*4, 8*4] I find its 0, not 1.
on closer analysis, if I do numpy.where(y==1) I find:
(array([48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 49,
       49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 50, 50,
       50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 51, 51,
       51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51]),
 array([64, 64, 64, 64, 65, 65, 65, 65, 66, 66, 66, 66, 67, 67, 67, 67, 64,
       64, 64, 64, 65, 65, 65, 65, 66, 66, 66, 66, 67, 67, 67, 67, 64, 64,
       64, 64, 65, 65, 65, 65, 66, 66, 66, 66, 67, 67, 67, 67, 64, 64, 64,
       64, 65, 65, 65, 65, 66, 66, 66, 66, 67, 67, 67, 67]),
 array([33, 34, 35, 36, 33, 34, 35, 36, 33, 34, 35, 36, 33, 34, 35, 36, 33,
       34, 35, 36, 33, 34, 35, 36, 33, 34, 35, 36, 33, 34, 35, 36, 33, 34,
       35, 36, 33, 34, 35, 36, 33, 34, 35, 36, 33, 34, 35, 36, 33, 34, 35,
       36, 33, 34, 35, 36, 33, 34, 35, 36, 33, 34, 35, 36]))

it looks like the last dimension is off by 1.
in contrast, if I perform the same test with skimage.transform.resize
y2 = transform.resize(x, numpy.asarray(x.shape)*4, order=0)

it provides me with the right output for numpy.where(y2==1):

(array([48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 49,
       49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 50, 50,
       50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 51, 51,
       51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51]),
 array([64, 64, 64, 64, 65, 65, 65, 65, 66, 66, 66, 66, 67, 67, 67, 67, 64,
       64, 64, 64, 65, 65, 65, 65, 66, 66, 66, 66, 67, 67, 67, 67, 64, 64,
       64, 64, 65, 65, 65, 65, 66, 66, 66, 66, 67, 67, 67, 67, 64, 64, 64,
       64, 65, 65, 65, 65, 66, 66, 66, 66, 67, 67, 67, 67]),
 array([32, 33, 34, 35, 32, 33, 34, 35, 32, 33, 34, 35, 32, 33, 34, 35, 32,
       33, 34, 35, 32, 33, 34, 35, 32, 33, 34, 35, 32, 33, 34, 35, 32, 33,
       34, 35, 32, 33, 34, 35, 32, 33, 34, 35, 32, 33, 34, 35, 32, 33, 34,
       35, 32, 33, 34, 35, 32, 33, 34, 35, 32, 33, 34, 35]))

I encountered a similar problem.  Both of the following calls gave odd results. (Two pieces of top part of image were 'folded' onto bottom part of image)
scipy.ndimage.interpolation.zoom( img, 1.0, order=1 )
scipy.ndimage.zoom( img, 1.0, order=1 )
But the following worked just fine:
scipy.misc.resize( img, 1.0, interp='bilinear' )
BTW, I started off with a scale factor other than 1, I tried a degenerate case just to see if it would work.
Also, my arrays are huge:  double precision 19370 by 19370

I wish to retract my comment above.  My problem with "zoom" seems unrelated to this.  I opened a separate bug report (#4638).

Also, last lines / columns of zoomed images seem to have unexpected zero values in some cases.
After running
import numpy as np
from scipy.ndimage import zoom
a = zoom(np.ones((110, 72), numpy.float32), (51. / 110, 40. / 72))

all(a[-1] == 0) yields True


chore(main): release 1.270.2

When this PR is merged, a new tagged release will be created with the notes below.
1.270.2 (2024-10-28)
Bug Fixes

Correct naming for logging pageUrl attribute (#1225) (95f5a77)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/newrelic/newrelic-browser-agent/releases/tag/v1.270.2 :sunflower:


[Suggestion] MonikAI Check if the file is Audio or Video format

So that Monika can react accordingly. :)

That's a nice idea. MonikAI would need to be able to parse the process' command line.
Using VLC as an example, when you double-click an audio file in Explorer, VLC is launched using the following command line:
<path to vlc.exe> --started-from-file "<file path>"


Update Tornado to version 5.1.0

There is a DDOS security vulnerability in tornado version 5.0.2.

Upgrading to 5.1.0 should mitigate this issue.

@jonhilgart22 Thank you for letting me know.


fix:optimization of QA splitting

What type of PR is this?
What this PR does / why we need it
fix: optimization of QA splitting
fix: No such file or directory: 'config.yml'
Which issue(s) this PR fixes
Fixes #365
Special notes for your reviewer

@wangxinbiao Since your marked that this pr can fix #365 , please make sure you have tested this locally

Please follow this latest dataprocessign configuration to update your code
#399

@wangxinbiao Since your marked that this pr can fix #365 , please make sure you have tested this locally

tested

Please follow this latest dataprocessign configuration to update your code
#399

@bjwswang ok


[VS Code Stable Web 1.46.0] Live Share Web hangs on sign in

VSCode Version: 1.46.0 (in browser only)
OS Version: Windows_NT x64 10.0.18363

Steps to Reproduce:

Start a Live Share session on VS Code (desktop)

Paste the join url into browser

Cancel out of the join in desktop pop-up

Select join from browser

Attempt to sign in with Microsoft or Github credentials

Additional info:

this started occurring when Live Share Web upgraded VS Code Stable to 1.46.0
It doesn't repro on VS Code Insiders (1.47.0)
It hangs on the attempt to open the external login-in uri
The same hang can be repro'ed by adding the following to extension activate()
(only in browser - not desktop on 1.46.0)
const uri = vscode.Uri.parse('https://microsoft.com');
await vscode.env.openExternal(uri);

@jramsay anything in devtools?

The problem is the trusted link service blocks resolving links on it being able to open .git/config, however if the filesystem blocks until an auth link is resolved we are in a deadlock. @eamodio had already fixed this in Insiders by timing-out the filesystem call, I put up a candidate PR which applies that patch to Stable.

Verification steps:

set up a serverless remote-web instance (https://github.com/microsoft/vscode-internalbacklog/wiki/VSCode-Web#running-serverless), but modify the in-memory-fs-provider to never resolve stat calls:

	stat(uri: vscode.Uri): vscode.FileStat {
		return new Promise(() => {})
	}

ensure opening links still works.


PATH not set correctly

Locally, when running docker run -it, the PATH env var is set correctly. But I also tried to use this image on Circle CI, and emscripten binaries are not in the PATH there. Where is the PATH set?

Hi, PATH is set by /entrypoint what sources emsd_set_env.sh

It might happen that you use an image before "massive fixing" can you please tell me what tag do you use, so that I can recompile/check it.

I guess Circle CI is overwriting the entrypoint...

Hi I can reproduce it: https://circleci.com/gh/asRIA/emscripten-circle-ci/1 I'll work on it to make it done.

So, I've found so far what it will work if you'll source the /entrypoint manually on the beginning of run command, like:
version: 2
jobs:
  build:
    docker:
      - image: trzeci/emscripten:sdk-tag-1.37.18-64bit
    working_directory: ~/repo
    steps:
      - run:
          name: run tests
          command: |
            . /entrypoint
            emcc --version

Hopefully this will unlock you. In meantime I'll play with configuration to make it work better.
Cheers,

Yes, make sense.
In general, I think you should not depend on docker's entrypoint, because it should be changeable by users.

Thx, I'll continue to work on removing entrypoint with #11.


Please fork https://github.com/icarito/image-builder-rpi.git

I've begun work on this, and have an image building process based on https://blog.hypriot.com/.
The contents of this repository have been put into a subdirectory of https://github.com/icarito/image-builder-rpi - please make me repo owner so I can place the jenkins hook. It'd be good if we could fork from the original? Not sure it can be done without loosing existing notes saved as issues in this repository.
Jenkins is building it btw :-)

Hi, @icarito would you prefer we rename this repository image-builder-rpi and then you can merge in your work? That's probably the easiest way to preserve the issue history.
Making you repo admin!

Thanks! Build process is setup now https://jenkins.laboratoriopublico.org/job/Raspberry Kit Image/

What is the way to link this repo with it's true parent fork at https://github.com/hypriot/image-builder-rpi ? Does it still involve email to github support? That would be ideal.

I don't think we can at this point, since it wasn't originally forked from
there. But we can link back prominently!
On Sat, Jun 2, 2018, 2:15 AM Sebastian Silva<EMAIL_ADDRESS>wrote:

What is the way to link this repo with it's true parent fork at
https://github.com/hypriot/image-builder-rpi ? Does it still involve
email to github support? That would be ideal.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/image-builder-rpi/issues/4#issuecomment-394068922,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ7f8PDCRgCoKzv5vYj2gtu-Uqgb5ks5t4klpgaJpZM4UJyY3
.


Installation Fails on Apple M1 machine

Description
Installing the plugin with pip fails on my Apple M1 machine
Error message
 ERROR: Failed building wheel for numpy
      Failed to build numpy
      ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects

The full error can be read here.
Expected Behavior
The plugin to install.
Reproduction
Please list the exact steps we can take to reproduce this bug.

Create a clean conda virtual environment
Install napari version 0.4.16 with conda-forge
Attempt to pip install the plugin

Environment

Operating system (ex. MacOS Big Sur):
Python version (ex. 3.8): 3.9
napari version (ex. 0.4.1): 0.4.16
How did you install the napari viewer (as a bundled app or through command line with pip)?: conda-forge

This is quite odd- but I will investigate further. I am on a m1 macbook as well and creating a fresh environment running python 3.9, followed by a conda-forge installation of napari and a pip installation of napari-allencell-segmenter does not generate any bugs for me.

What version of napari installed? I installed 0.4.16 in another fresh environment and encountered the same error. Here are all the commands I ran:
conda create -y -n napari-env -c conda-forge python=3.9
conda activate napari-env
conda install -c conda-forge napari=0.4.16
pip install napari-allencell-segmenter

Could you try installing napari-allencell-segmenter after installing numpy like this? This should install numpy without any errors for a M1 macbook.
conda update napari
pip3 install Cython
pip3 install --no-binary :all: --no-use-pep517 numpy
pip3 install pandas
pip3 install ib_insync

Let me know if that works.

@dgmccart  this is now resolved


UNIX "touch" command is recognized as an unlisted binary

The touch command from UNIX/Linux is being recognized as an unlisted binary, probably because Knip can't be sure if it's an OS command or the npm package "touch".
However, since the npm package hasn't been updated in over 7 years, I'd like to suggest to add the "touch" command to the list of ignoredBinaries permanently, what do you think @webpro ?

:rocket: This issue has been resolved in v5.1.2. See Release 5.1.2 for release notes.

Agreed!


Messages: Body shows ""

Description of bug
When composing a message to another user, either by clicking on "Send message" from the user's profile/Activity Feed or from the Member Directory module, the message text body is filled with "
</fieldset>".
Steps to reproduce
List the precise steps to reproduce the bug:

Go to another user's Activity Feed
Click on 'Send message'
See the text body

Expected behavior
An empty text box
Screenshots

Additional context
After some investigation, I found that the form is generated by a JavaScript (\Resources\Shared\components\ComposeMessage\ComposeMessage.js).
Changing the line (line number 18) that generates the textbox from
html += "[...]<textarea rows='2' cols='20' id='bodytext' name='bodytext'/>
";

to
html += "[...]<textarea rows='2' cols='20' id='bodytext' name='bodytext'></textarea>
";

solves the problem.
But this works only when "Enable Composite Files" (Settings >> Servers >> Server Settings >> Performance) is off. Switching it back to "on" again brings back the mess.
Affected version

[ ] 10.00.00 alpha build (in development)
[X] 09.06.01 latest supported release
[X] 09.06.00

Affected browser

[X] Chrome
[X] Firefox
[?] Safari
[X] Internet Explorer 11
[?] Microsoft Edge (Classic)
[X] Microsoft Edge Chromium

This looks like an issue coming from the jQuery 3.5 upgrade (in DNN 9.6.x).  I think your fix is correct.  I would guess the issue with composite files is related to caching (it didn't pick up your change), rather than the fix being incorrect or incomplete.  Would you be willing to submit a PR with that change?

Brian,
I tried to restart the app pool, but that did not help (with the composite files), and of course the browser cache as well. So I don't know if it has something to do with caching...
Sure, I'll try to make a pull request...

I sometimes have to update the Client Dependency Version, and then Clear Cache (and maybe Ctrl+F5 after that)


Add a --force option

Sometimes it's okay that a corresponding secrets files doesn't exist.  just move on.
Add this feature

live on master


io.go: added Seek() to implement io.ReadSeeker

I thought about adding the whole ReadSeeker class but didn't want to simply copy-paste code so I made this. Needed this for http.ServeContent

The fact that this method returns an error makes me think we should not add it, let me explain.
It's not uncommon for functions to check if a io.Reader implements another interface which provides more functionality, so the function can make use of that functionality. So I don't think it's far fetched if a function would check if a reader implements io.ReadSeeker like this:
func Foo(r io.Reader) error {
	rs, ok := r.(io.ReadSeeker)
	if ok {
		// this is an io.ReadSeeker, do something differently
		i, err := rs.Seek(offset, whence)
		if err != nil {
			return err // whoops, failed to seek
		}
		...
	} else {
		// normal reader, general case
		...
	}
}

Notice that once we drop into the first branch of the if statement the code is convinced it has a valid io.ReadSeeker and an error returned from Seek would indicate that the seek failed. The same code would work if the reader wouldn't implement io.ReadSeeker, as it would drop into the second branch. So given that we can't be sure that the underlying reader actually implements io.ReadSeeker, I don't think we should add the method and advertise the reader as an io.ReadSeeker.
A workaround for this would be for you to implement your own type and make sure you construct it only if you know the underlying reader is a io.ReadSeeker:
type LimitedReadSeeker struct {
	bwlimit.Reader
}

func (r *LimitedReadSeeker) Seek(offset int64, whence int) (int64, error) {
	seekR, ok := r.Reader.(io.ReadSeeker)
	if !ok {
		return 0, errors.New("reader must be seeker")
	}
	return seekR.Seek(offset, whence)
}


Replacing \r\n line endings with \r line endings

Summary of the Pull Request

References
#1091
#1094
#2390
#3314

PR Checklist

[x] Closes #1091
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments
Combination of the PRs #1094, #2390, and #3314, especially as discussed in #3314.
In short, this changes line endings from Windows-space \r\n to the more universal \r.

Validation Steps Performed
Copied and pasted text into the terminal without the patch, line endings were doubled.
With the patch, line endings weren't doubled.

Does the std::erase solution not do it? Hmm

Does the std::erase solution not do it? Hmm

It solves the problem if we're not concerned about stripping all \n characters; the solution here only changes \r\n pairs.

ah, interesting. I wonder how common a degenerate clipboard is that contains \r\n and \n simultaneously, and how we should treat that. I also now wonder if all \n should become \r and all \r\r should become \r...

ah, interesting. I wonder how common a degenerate clipboard is that contains \r\n and \n simultaneously, and how we should treat that. I also now wonder if all \n should become \r and all \r\r should become \r...

I tend to think it's warranted to err on the side of conservative character-stripping here.  \r\r, for example, is probably legitimate -- for example, the sequence Line 1\r\rLine 2 is double-spaced text in Unix-land, and I'm not sure there's any other reasonable interpretation of the sequence or reason to convert it to anything else.
An argument could be made to convert \n to \r universally (after the \r\n to \r conversion, of course, to not just double up line-endings...), but I'm not sure it actually matters.

Oops, misread the comment a bit.  Anyway:
\n -> \r, then \r\r -> \r doesn't work because of the possibility of getting valid Unix-land data.
\r\n ->\r, then \n -> \r probably works? But if we're seeing a lone \n, we're not looking at standard Windows-land text, and it's not clear to me what assumptions can be made about it.

Sounds good to me. Thanks for digging in. :smile:

@d-bingham @DHowett-MSFT  When the string is long and multiple lines, can the following scheme reduce the memory copy?
std::wstring ReplaceNewline(std::wstring_view str) {
  std::wstring s;
  s.reserve(str.size());
  while (!str.empty()) {
    auto pos = str.find(L"\r\n");
    if (pos == std::wstring::npos) {
      s.append(str);
      break;
    }
    s.append(str.substr(0, pos)).append(L"\n");
    str.remove_prefix(pos + 2);
  }
  return s;
}

Err... apologies if I'm missing something, but:

In short, this changes line endings from Windows-space \r\n to the more universal \r.

for example, the sequence Line 1\r\rLine 2 is double-spaced text in Unix-land

Unix-land (and pretty much everything non-Windows -- "more universal"?), uses \n line endings.  '\r' was only used as a line ending on MacOS 9 and earlier, and a few other much older places.
Shouldn't this patch/feature be changing \r\n to \n?

@vvuk you’re correct for textual data serialized to disk, but it appears (based on a couple popular terminal emulators available today) that the universal encoding used by terminal emulators for a newline is U+000D CARRIAGE RETURN, \r.
Windows Terminal’s backing pseudoterminal infrastructure transforms an incoming carriage return (and an incoming line feed, which incidentally is the cause of the problem this PR fixed) into a key event encoding Enter.
That is handled on the other end in an application-specific manner.

I guess, in short, the Windows PTY always acts in icrnl mode. Judging by the behavior in putty and xterm, it makes the same assumption for data that transits the clipboard.

Ahh, got it. I was indeed missing something. Thanks for the explanation :)

It is well more interesting to replace \r\n by \n. Indeed, thanks to this change we can paste several line in the terminal without executing them.
For example, I use Sagemath, and I always have to paste a whole python function but I can't because lines end with \r\n and the terminal execute thes lines after \r.


IAsyncAction fails to pull in dependencies

Another dependency tracker issue is with dependencies that are injected. This is rather brittle. BSTR does the right thing but IAsyncAction (and friends) fails to bring in AsyncStatus. This would be solved with including interface methods as part of #592.

Repro:
fn main() {
    windows::build!(
        Windows::Foundation::IAsyncAction
    );
}

#896 also fixed this.


Export an output variable with the full k0sctl.yml file content

To be able to play with k0sctl outside of this provider control (e.g. to troubleshoot), it would be useful to have a property to get the full k0sctl configuration.
Maybe, call it, k0sctlconfig (akin to kubeconfig).
I think it should be the yaml serialized version of the getK0sctlConfig function return value.

We could put the new variable k0sctlconfig  in the outputs, what do you think?

Sounds good!


Warning  instantiate environment through gymnasium

After fixing the post_process_embeddings.csv issue, script ran but got a warning that I want to try and handle about trying to instantiate the environment with gymnasium.  I'm going to look into it some more.

Simply suppressed warnings


Fixes MorphToSelect afterStateUpdated, reactive and lazy.

Adds support for lazy and reactive dynamic implementations

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Thanks


Problem using Quest 2 with SteamVR via virtual desktop

Hi,
I'm having an issue getting the Full Scene working with my setup where the hands are tracking and I can see finger movements when pressing buttons but there is no teleporting. I'm using the Quest 2 with SteamVR wirelessly via virtual desktop.

Hello @yusufalibrahim1994
Which version of UltimateXR are you using? On 0.9.6 we added support for SteamVR using Oculus devices so you might want to try that one. What I believe is activating in your case is the meta hand tracking. But the controllers in your case should be handled using SteamVR.


v3.0.0 package fails to start with error about NODE_MODULE_VERSION

Version
Build/Run method

[ ] Docker
[x] PKG
[ ] Manually built (git clone - npm install - npm run build )

Zwave2Mqtt version: 3.0.0
Openzwave Version: 1.6
Node version installed is v12.16.1
This is probably on me, or I am missing something. Things worked on v2.1.0. Also, Zwave2MQTT is fantastic, I have been running it for a few months now and it has been dead reliable.
I have tried this a few different ways, but the below is a clean unzip into a new folder. I have already upgraded to OpenZwave 1.6 and it seems to work by itself.
root@zwave:/home/zwave/zwave2mqtt-test# MinOZW -v Starting MinOZW with OpenZWave Version 1.6-1045-g8ca59b1d 2020-03-03 17:13:58.266 Error, Cannot find a path to the configuration files at ../../../config/, Using /usr/local/etc/openzwave/ instead... 2020-03-03 17:13:58.267 Info, Reading /usr/local/etc/openzwave/options.xml for Options 2020-03-03 17:13:58.267 Warning, Failed to Parse options.xml: Failed to open file
However the pkg install fails to run. I had NodeJS v10 installed previously, saw these errors and thought I had to upgrade to v12.16.1 but that didnt work either. So I assume I am missing something. I couldnt find any issues with similar errors though.
root@zwave:/home/zwave/zwave2mqtt-test# ./zwave2mqtt    z2m:Store settings.json not found +0ms   z2m:Store scenes.json not found +2ms   z2m:Store nodes.json not found +0ms Error: The module '/home/zwave/zwave2mqtt-test/bindings.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 72. This version of Node.js requires NODE_MODULE_VERSION 57. Please try re-compiling or re-installing the module (for instance, using npm rebuildornpm install).     at Object.Module._extensions..node (module.js:680:18)     at Module.load (module.js:564:32)     at tryModuleLoad (module.js:504:12)     at Function.Module._load (module.js:496:3)     at Module.require (module.js:595:17)     at Module.require (pkg/prelude/bootstrap.js:1166:31)     at require (internal/module.js:11:18)     at bindings (/snapshot/Zwave2Mqtt/node_modules/bindings/bindings.js:112:48)     at Object.<anonymous> (/snapshot/Zwave2Mqtt/node_modules/@serialport/bindings/lib/linux.js:2:36)     at Module._compile (pkg/prelude/bootstrap.js:1261:22)     at Object.Module._extensions..js (module.js:662:10)     at Module.load (module.js:564:32)     at tryModuleLoad (module.js:504:12)     at Function.Module._load (module.js:496:3)     at Module.require (module.js:595:17)     at Module.require (pkg/prelude/bootstrap.js:1166:31)
Thank you!

@seizedengine Try to use Node v12.14.1

Seems that after upgrading to nodejs 12 some deps were not rebuilded (strange). Will fix this in next release 3.0.1

@seizedengine Check https://github.com/OpenZWave/Zwave2Mqtt/releases/tag/v3.0.1

@seizedengine Sorry, the pkg script had a typo, fixed now :) retry to download the pkg zip

@seizedengine Sorry, the pkg script had a typo, fixed now :) retry to download the pkg zip

That worked, thank you! I was just coming to report that removing node seemed to fix it too for some reason, but my testing with that would have been with your newest release download so that can be ignored. Thank you for all the fixes!


scripts/ci/qemu-run.sh: change release link to 'latest'

@wiktormowinski why this has been closed?

it was a mistake i wanted to close other branch


Windows support

Windows CI is sorely needed.
whatthepatch/apply.py creates files named /tmp/wtp-* and uses the patch binary.
The former is not portable to Windows, and the patch binary on Windows can come from a variety of sources with quite different logic inside wrt line endings, etc, so unless there is Windows CI ensuring compatibility with various Windows patch provides it is fair to assume it isnt supported.
https://www.google.com/search?q=gnu+patch+MS+windows first result is http://gnuwin32.sourceforge.net/packages/patch.htm , which is probably not going to work.  I remember getting quilt to work with it was painful.  https://chocolatey.org/packages/patch says it is also the gnuwin32 patch.exe.  It may have improved since then, but I wouldnt expect it works out of the box.
Searching for "patch.exe" leads me to https://www.file.net/process/patch.exe.html as result 1 and https://www.processlibrary.com/en/directory/files/patch/29693/ for result 3 .. , wow.
It might be worth trying to levarage one of the supported VCS to help find/invoke the correct patch.  It would be reasonable to require that Windows install "Git BASH" from https://gitforwindows.org/ .  tortoisemerge, tortoisesvn and tortoisegit also include a patch.exe iirc.
Unless there is a high priority on fixing Windows support, a note in the README indicating Windows isnt supported would be a good idea for the interim so users of the library know which parts are Unix-only, which can also led to people helping with the effort to fix the problems.

Indeed, Windows support is shoddy.
However, instead of trying to crossport patch, whatthepatch does do some rudimentary patch application itself (1:1 applications without any fuzzy matching on the hunks).  While the /tmp stuff is a boneheaded move and can change, it's only needed in order to support the patch implementation.  It seems that mutmut would also benefit from disabling the use of patch all together, which is the default:  def apply_diff(diff, text, reverse=False, use_patch=False):.  It's not ideal (we could be checking for patch and automatically attempting ourselves), but this is one potential workaround.

Oh, cool, Travis CI now has Windows.  Will be adding that as part of any fixes.   Thanks


create namespace packages

in https://github.com/developmentseed/public-datasets/commit/473ac91a9d6afc3b01389b1acf8a6f0956d0b0a8 I've tried to split the code into subpacakges, this is still WIP but here is what I think we should have:

public_datasets.api: arturo-stac-apiAPI
public_datasets.feeder: function and script to create the STAC items for the datasets
public_datasets.stack: cdk code to deploy the stack

Is this fixed by #5? or keeping it open for visibility

I think we can close, I'll open other about publishing/testing and lint


Add badge to profile if user follows you

Fixes #1427

marked as WIP because I would like some suggestions on the way the API call should be handled. I added the if check in api.js for status 204 because the JSON parsing throws an error on that response from the endpoint, since there's no body. also if a user doesn't follow you, it returns 404, which displays an error in the console.

let me know if you would like any changes @sindresorhus @bfred-it but otherwise I believe this is finished.

for the readme

Apologies for letting this languish. One other issue I noticed, if a user's name is long enough, it causes the badge to wrap underneath. This causes the bio to shift down, and the badge doesn't look good squished in between the handle and bio on its own line anyways, so I need to move it somewhere else. My current ideas are either an icon in the bottom right corner of the avatar with the 'Follows you' as hovertext, or to the right of the 'block and report' link. Any thoughts?
I'm also still unsure about what to do about the console errors on non-follower profiles.

@sindresorhus suggested: "Better to add a generic option of some kind to the fetch method."
as opposed to suppressing them in api.js, but I'm not sure what this would look like tbh.

Ok, hopefully this is close! However for some reason, it doesn't seem to work on FF now.

It looks like the API request doesn't get made?

There needs to be more space below the "Follows you" badge. It's too close to the bio now.

I think logError is too generic; this is more about expecting a 404 as a "no" answer. Plus since response.ok is skipped, the "no" response isn't cached like it should.
Maybe it should be accept404: true and
- 	if (response.ok) {
+ 	if (response.ok || (options.accept404 && response.status === 404)) {

👍 Ok

new for the readme:

Oh I guess the FF error is because it doesn't have the extra output Chrome does?

It's not working on profiles without a bio: https://github.com/kevva
content.js:1219 TypeError: Cannot read property 'before' of null
    at check_if_follower (content.js:3501)
enableFeature @ content.js:1219

Sloppy. 😅
Thanks for y'all's patience.

@Phrynobatrachus Can you rebase from master? I think the change introduced in https://github.com/sindresorhus/refined-github/commit/48d58d731e371462c053256a38abd9cf08681420#diff-4287e7771801452fad64b1bd9103fbf5, should fix it for you.

I tried last night and it does fix it, but I think I messed up the commit log too. I'll push later once I figure out how to rebase properly.

Build is fine locally and was good in Travis before I squashed everything, hung a couple times on npm install right now though.

Build is fine locally and was good in Travis before I squashed everything, hung a couple times on npm install right now though.

Don't worry, Travis just misbehaves sometimes

Looking good. Thank you, @Phrynobatrachus :)

good learning experience, thanks!

Sorry for all the notes 😁

@Phrynobatrachus Im getting an error now
content.js:1968 GET https://api.github.com/users/bfred-it/following/yakov116 404 (Not Found)
(anonymous) @ content.js:1968
async function (async)
(anonymous) @ content.js:1967
(anonymous) @ content.js:1306
(anonymous) @ content.js:681
user_profile_follower_badge_init @ content.js:5164
features_run @ content.js:1886
(anonymous) @ content.js:1939
(anonymous) @ content.js:1843
onAjaxedPagesRaw @ content.js:1838
async function (async)
onAjaxedPagesRaw @ content.js:1836
onAjaxedPages @ content.js:1841
add @ content.js:1939
async function (async)
add @ content.js:1904
(anonymous) @ content.js:5173
__webpack_require__ @ content.js:12
(anonymous) @ content.js:64
(anonymous) @ content.js:65
content.js:1890

❌ show-followers-you-know
content.js:1891 TypeError: Failed to execute 'text' on 'Response': body stream is locked
    at fetchDom (content.js:3390)
    at async fetchStargazers (content.js:5085)
    at async show_followers_you_know_init (content.js:5106)
    at async features_run (content.js:1886)

Go to any user the you dont follow


Update Iterators and Generators.md

The current version is accurate 👍🏻
https://www.typescriptlang.org/play?#code/DYUwLgBMCWDOkF4IG0AsAaCBWTA2AugNwBQxAZgPYBOEAFKJNBNAHZRxgCUEA3sRBADGFFrAqgAdMAoBzWtExgAngAcQFMs06EIAel0QARAAZDmQwEYzRgExniAX1KUa9cMwgb28bnwHDRcRApWXlFVXVNaG09AwxsPEcgA

May you check it again? The comment in current version is // "4", "5", "6", not the correct one // 4, 5, 6


operator federatorai-certified-rhmp (4.7.2-1)

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

Re-create PR later.


Installation instructions for OSX don't include build_test_data.py

The installation instructions for OSX don't include the build_test_data.py step, so the tests fail when run.  This can be remedied in one of two ways:

Edit the installation instructions to include this step
Modify run_tests.py such that it checks for a repo.db before a test run, creating it if it does not exist

I prefer 2.

The short the instructions, the better.
Danny Colligan<EMAIL_ADDRESS>writes:

The installation instructions for OSX don't include the build_test_data.py
step, so the tests fail when run. This can be remedied in one of two ways:

Edit the installation instructions to include this step
Modify run_tests.py such that it checks for a repo.db before a test run,
creating it if it does not exist

I prefer 2.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.*

Fixed in #1296


Add default in JSON Schema when const=True

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
python -c "import pydantic.utils; print(pydantic.utils.version_info())"
             pydantic version: 1.9.0
            pydantic compiled: True
                 install path: ...
               python version: 3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]
                     platform: Windows-10-10.0.22000-SP0
     optional deps. installed: ['typing-extensions']

When running this snippet of code:
from pydantic import BaseModel, Field

class MyModel(BaseModel):
    x: int = Field(default=0, const=True)

print(MyModel.schema_json(indent=2))

this is the result:
{
  "title": "MyModel",
  "type": "object",
  "properties": {
    "x": {
      "title": "X",
      "const": 0,
      "type": "integer"
    }
  }
}

I am having issues with some JSON Schema validator because of what I think is a subtle difference here - yes, we're setting x to be const=0, but we're not saying that the default is also zero, which leaves the field as not filled if one creates a default object. I don't think this is correct behaviour. I suggest deleting https://github.com/samuelcolvin/pydantic/blob/8997cc5961139dd2695761a33c06a66adbf1430a/pydantic/schema.py#L215 , which should fix the problem.

PR welcome, but you'll need to see if it breaks other tests and go back to where we originally added that line and see if there's a reason we did it that way.


Conditionally parsing patterns based on the output of a parser (question)

So I'm using chumsky to write a parser for an "everything is an expression"-style language. For example:
enum Stmt {
     ExprStmt(Expr),
     // ...
}

enum Expr { /* binary, unary, if, else... */ }

fn stmt() -> impl Parser<Token, Stmt, Error = Simple<Token>> { /* ... */ }
fn expr() -> impl Parser<Token, Expr, Error = Simple<Token>> { /* ... */ }

After parsing an expression, I may want to consume a semicolon, depending on what the expression was. Rust does this:
let x: bool;

x = true;
if x {
    println!("x was true");
}

The semicolon is mandatory after the assignment expression, but optional after the if expression. So expr() needs to know what it just parsed, and conditionally .then_ignore(';') if that kind of expression wasn't a control expression.
In a normal parser which keeps its own state, I would just have matched on the output of expr(), then called consume(';') if needed. However, you can't really directly manipulate the parser state here.
How can I implement this with chumsky? Do I need to use custom() somehow?

You can actually solve this by splitting the parser into 'block-like' expressions and 'inline' expressions, and then requiring a semicolon after the latter but not after the former to make a statement. If you take a look at the nano_rust example, you'll see this approach in action.

Or if you want to make your head spin you can look at the unofficial specification of Rust, which follows the answer recommended by zesterer (:
https://doc.rust-lang.org/reference/statements.html#expression-statements

Thanks for the suggestions! I'll try it out.


Ability to set Proxy setting in the base client

Customers have complained for a long time about inability to be able to set proxy on the client.
For context:

https://github.com/Azure/azure-sdk-for-node/issues/1622

We've also been asked by Portal to prioritize this.

Axios just released a beta that should enable the realistic ARM scenarios (proxy via http, connect to ARM over https). Let's try and get to this one soon.

I work on Azure extensions for VS Code and we would also like proxy support in the node sdk. Several customers have asked for this - here are a few examples:

https://github.com/Microsoft/vscode-azurefunctions/issues/493
https://github.com/Microsoft/vscode-azureappservice/issues/602
https://github.com/Microsoft/vscode-azurestorage/issues/30

Hi Eric!
I believe the nodejs SDK can support proxies by passing an https.Agent to requestOptions.agent.
See the property on serviceClient: https://github.com/Azure/azure-sdk-for-node/blob/master/runtime/ms-rest/lib/serviceClient.js#L131
This issue is about supporting proxies in the new isomorphic JS SDKs, which we might choose to do by allowing the user to set an https.Agent in the ServiceClientOptions. We might also add support for grabbing proxy info via the standard env vars.
Let us know if there's anything else you need.

The issue referenced above in the node sdk is still open: https://github.com/Azure/azure-sdk-for-node/issues/1622 That led me to believe proxy support wasn't working and relied on this?

I think that issue was specific to Service Bus over HTTP. Please give the requestOptions a try and let us know if it works.
From the request library doc:

proxy - an HTTP proxy to be used. Supports proxy Auth with Basic Auth, identical to support for the url parameter (by embedding the auth info in the uri)

@amarzavery may wish to follow up with more context.

This will add an optional property so we don't consider it blocking for 1.0. This would be a very very good thing to get added though!

Does this need re-opening with the move to node-fetch? It's not respecting my env HTTP_PROXY settings...


Support for new arguments in createMergeRequest method

The createMergeRequest method could now support following arguments: target_project_id, labels, milestone_id, remove_source_branch. See the API description.
If you want then I can prepare a PR.
Btw. thanks for this great library!

@augi
That would be great if you could submit a PR.  I do have one request, could you create this as a new method?  I try to avoid breaking anyone's existing code.


Changing copyright year in footer examples from 2011 to 2012

Simple text changes to the three example footers in the /examples folder

thanks!


widnows-terminal: Fix the installer script

What type of Apps related PR is this? (check all applicable)

[ ] ✨ Add Manifest
[ ] ♻ Refactor
[x] 🐛 Bug Fix
[ ] 👷 Optimization
[ ] 🚩 Other

Description
The installer script encodes the .reg files as unicode. It was encoded in utf8 and some systems got issue because of that.
Related Tickets & Documents
None
[optional] What gif/emoji best describes this PR or how it makes you feel?
:see_no_evil: :adhesive_bandage:
Did you verify the followings
Add/Modify a description in the manifest?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Check URLs?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Update to the latest version?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Update Hashes?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Format the json manifest?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Did you identify extra steps
Notes in the manifest?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Dependencies?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Suggestions?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Pre-installation steps to perform?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Post-installation steps to perform?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

File persistence to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

All changes look good.
Wait for review from human collaborators.
windows-terminal

[x] Description
[x] License
[x] Hashes
[x] Checkver
[x] Autoupdate


Poor userspace isolation: CPU cache

Not only does Silvos not well-isolate userspace processes from each other, it also does not well-isolate kernel space from userspace.
In particular, with Silvos it is possible for user space programs to gain vital information about other processes and even the kernel itself through cache side channel attacks.
Some possible approaches to solutions include:

Let applications request that when they are unscheduled the cache is forcefully flushed.
Let applications request periods of schedule in which they cannot be pre-empted.
Let applications request specific pages that should never be put into cache (e.g. are uncachable in the page table and their page table entries are uncachable) for sensitive operations. We reference the Intel 64 Software Developer's Manual Volume 3A - Section 11.12 Page Attribute Table: http://www.intel.com/Assets/en_US/PDF/manual/253668.pdf
Let applications request specific pages that are always cached. We reference the literature for a pre-existing approach: https://taesoo.gtisc.gatech.edu/pubs/2012/kim:stealthmem.pdf

Because none of these are available I do not feel comfortable doing my RSA computations inside a silvos userland.

Here is a good new paper on this which suggests it is impossible: https://arxiv.org/abs/1612.04474


Add audio modding article

Hi! I finally decided to port my audio modding guide over to this wiki! It extensively explains how someone can create an audio replacement mod using CustomSounds from the beginning to the end.
Please let me know if I should change anything -- I'm always open to suggestions :)

We'll probably want to set up a custom category for mod-specific guides (= guides using other mods or APIs to implement something, rather than being completely standalone). We will merge this once we have that set up.
Matter of keeping the playing field fair for all APIs.

Yeah, I totally agree with you there. It would make navigation for users easier as well since it's not immediately obvious that my guide uses CustomSounds -- that's why I wrote a note at the beginning in the first place.

Appreciate the PR a ton, should make helping people make audio mods much easier
Once #29 is merged in I'll look into setting up a mod-specific section so we can work on getting this in

Alright, I've adapted the guide to the new layout and added the changes you've requested, so everything should work fine now. I've tested it locally by running "npm run dev" and it looks fine, but it seems that the workflow is failing to configure the github pages. Specifically, I get the error "Create pages site failed". Any ideas as to why?

Alright, I've adapted the guide to the new layout and added the changes you've requested, so everything should work fine now. I've tested it locally by running "npm run dev" and it looks fine, but it seems that the workflow is failing to configure the github pages. Specifically, I get the error "Create pages site failed". Any ideas as to why? Additionally, the guide should be probably referenced directly in the API overview page and given a gold star.

I haven't messed with how the github pages build works on forks, it's probably just not set up properly by default. I doubt it'll be an issue


bug when launching template-gui through Windows remote desktop

When template-gui is launched through Windows remote desktop, there appears many error messages in command line, and traces do not appear in any of the views. This does not happen when template-gui is launched locally and then accessed through remote desktop.

I think this is related: https://www.opengl.org/discussion_boards/showthread.php/198132-OpenGL-and-Microsoft-Remote-Desktop

I looked more into this and it seems that a workaround is to start the opengl program before the remote session. I had Phy already running and remote-ing allowed the graphics session to continue fine. I then tried connecting with teamviewer again and this time Phy started with full graphics capabilities.
So my workaround is to start Phy from teamviewer, and then switch to remote desktop. Or just use teamviewer.


Set-AzureADMSConditionalAccessPolicy - Sudden error: "Use the Canary endpoint to create or update this policy."

Using this for a staged rollout of MFA.
Each morning a scheduled task runs and updates a CA policy by removing a particular mail-enabled security group from the $Policy.Conditions.Users.ExcludeGroups
This last worked properly on July 16, 2021 but it may or may not have worked up until today (July 20, 2021).
I have done the usual troubleshooting (updated the AzureAD module, tried on another machine, etc.) but no joy.
$policy = Get-AzureADMSConditionalAccessPolicy -PolicyId $policyID
$group = Get-DistributionGroup -Identity $rec.Identity

$policy.Conditions.Users.ExcludeGroups.Remove($group.ExternalDirectoryObjectId)

try{
    Set-AzureADMSConditionalAccessPolicy -PolicyId $policy.ID -Conditions $policy.Conditions
    }
catch{
    $_
    }

Error message:
Set-AzureADMSConditionalAccessPolicy : Error occurred while executing SetAzureADMSConditionalAccessPolicy
Code: BadRequest
Message: 1038: The policy you are trying to create or update contains preview features. Use the Canary endpoint to create or update this policy.
InnerError:
  RequestId: c73d7b6b-ce47-4865-87ff-28c4f54c3eb0
  DateTimeStamp: Tue, 20 Jul 2021 14:10:57 GMT
HttpStatusCode: BadRequest
HttpStatusDescription: Bad Request
HttpResponseStatus: Completed

Any insight on the matter would be appreciated.

HI DFryatt, Is this still an issue for you?  If so, would you mind sharing the policy that you are running the set against.  Preview features are only available on the Beta endpoint.  The error here is suggesting the Canary needs to be used hence i am curious what conditions in the policy are configured?

Hi @DFryatt , I have not been reproduce the above error.  If this is still an issue for you, please provide additional details. I will temporarily archive this request, but please feel free to contact me and we can reopen if it is still an issue. Thanks


DocumentReference.content definition

IHE MHD 4.0.2
37. DocumentReference.content
The following definition "There may be multiple content element repetitions, each with a different format." does not agree with Control	1..1

the definition comes from FHIR core, MHD is adding the constraint to 1..1.
We could overwrite the definition, and likely would be helpful to add comment that where transforms are needed to use the MHD defined transform method.

The base FHIR definition does not apply after the Control 1..1 is introduced by MHD profile, I think the MHD definition should be fixed.

I do not understand. Please be specific

are you referring to the fact that the MustSupport flag is set in the Minimal Metadata, and when Comprehensive Metadata is derived off of that and increases the cardinality to 1..1; that the MustSupport is still set? And this seems to be indicating a conflict as the element is both marked mandatory and also MustSupport?

such as the .type element in Comprehensive?

Hi John,
No, this issue has nothing to do with MustSupport.
Let me explain, the FHIR DocumentReference resource Content element's definition matches it cardinality of 1..*, i.e.: There may be MULTIPLE content element repetitions, each with a different format. (Emphasis added.)
FHIR Reference: https://hl7.org/fhir/documentreference-definitions.html#DocumentReference.content
Now, in the MHD DocumentReference, the Content element cardinality was restricted to ONE element of content (or 1..1) but the Content element description was not updated, it still says "multiple element repetitions," which is not correct.
MHD Reference: https://profiles.ihe.net/ITI/MHD/StructureDefinition-IHE.MHD.Minimal.DocumentReference-definitions.html#DocumentReference.content
Sunil

so the issue is about the description saying multiple, while we have constrained it to ONE.


Adding CockroachDB to your PATH

The current instructions for installing from binary ask users to put cockroach into their PATH. We should simplify things and add that to the tar step.
@benesch, @dt, please let me know the commands to use when you get a chance.
FYI @dianasaur323, @kuanluo, since I think this was a slight hurdle during one of your user interviews.

@jseldess @dianasaur323
Awesome! Also related and minor: the Mac/Homebrew install link needs scrolling, and someone we interviewed suggested it'd be better if it's shortened. Is that possible?

@kuanluo #1177
Still working on getting you the commands, @jseldess!

Always one step ahead, @benesch! Thank you.

@benesch, any updates on how to run tar and set the path as one command?

Yup, sorry for the delay. Thought we might be rejiggering the way the Cockroach command is packaged in the tarball. Looks like that's an issue for another day. Here's commands for the current packaging.

Download Cockroach:

$ curl -O https://binaries.cockroachdb.com/cockroach-latest.darwin-10.9-amd64.tgz

Untar Cockroach:

$ tar xfz cockroach-latest.darwin-10.9-amd64.tgz

(Same as before.)

Install the cockroach binary into your PATH:

$ sudo mv cockroach-latest.darwin-10.9-amd64/cockroach /usr/local/bin

I'd probably advocate for combining steps one and two (note the missing -O):
$ curl https://binaries.cockroachdb.com/cockroach-latest.darwin-10.9-amd64.tgz | tar x
$ sudo mv cockroach-latest.darwin-10.9-amd64/cockroach /usr/local/bin

But you can certainly combine them all:
$ curl https://binaries.cockroachdb.com/cockroach-latest.darwin-10.9-amd64.tgz |
    sudo tar x -C /usr/local/bin --strip-components 1

Also, the above instructions will blindly overwrite whatever lives at /usr/local/bin/cockroach. Probably that's just an older version of Cockroach, but you never know. You can replace mv with mv -i to have the user prompted if they're about to overwrite something.

Arriving here from https://github.com/cockroachdb/cockroach/issues/14232 - can we avoid directing users to sudo? Seems like a bad idea, generally.

To be clear, are you advocating for something like

Install the binary onto your path:
cp -i bin/cockroach /usr/local/bin

Please note this may require root, in which case you should prefix the command with sudo.

or do you want to go back to what we had previously? We landed here because user research showed that most users got hung up on having to modify their path manually.

The former.

Sorry for the hassle @jseldess. Would you mind terribly to remove the sudo from the command and replace it with a note beneath that directs them to prepend sudo if they encounter permissions errors?

Np, @benesch. Just opened a PR for your review.


use test as sync function

Hi @chill117 ,
I try using this library for check some proxies but after some check it's return Maximum number of open connections reached. message.
How we can use test function as sync function.
Can you help me?

I'm sorry it's about https://github.com/chill117/proxy-verifier repo. 😞

moved: https://github.com/chill117/proxy-verifier/issues/18


Keep minimal number of os-level deps for server quickstart

Only libffi-dev and libssl-dev are enough for the bdb server
quickstart installation and they pull any dependant packages
recursively via apt.

You can fix the Travis fails by rebasing against master. Krish fixed the problem in PR #1684 (now merged).

Codecov Report

Merging #1682 into master will decrease coverage by 5.41%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1682      +/-   ##
==========================================
- Coverage   98.46%   93.04%   -5.42%
==========================================
  Files          59       59
  Lines        2862     2862
==========================================
- Hits         2818     2663     -155
- Misses         44      199     +155

@Csterkuroi ubuntu 14.04 need g++ python3-dev


dynamic scheduling

I would like to manage scheduling dynamically, so that new resources and tasks appear/disappear on the fly.
something like:
var scheduler = schedule.create(initial_tasks, initial_resources, null, start);
setInterval( function() {
     //add one more task every 1 second
    scheduler.add_task(..)
}, 1000);
setInterval( function() {
     //add one more resource every 5 second
     scheduler.add_resource()
     //remove one resource from resources pool
     scheduler.remove_resource(<id>)
}, 5000);

for(var task in scheduler.get_next_scheduled_task()) {
    ...
}

Is this already possible, and if not, how much it needs effort to implement this kind of feature ?

Every time you call schedule.create(tasks, resources); it creates a schedule based on what is currently specified.  Every time you add a resource or task, you should just reschedule everything.  If you are looking for the next schedule task, you would just pick the task with the earliest start date.
If you knew more about the tasks and resources, you could just reschedule the tasks that were affected by the change that was made, but unless you are dealing with thousands of tasks, rescheduling everything every second shouldn't be a problem.


Housing for the radio

not really an issue but maybe some are interested in my current development of the 3D printed housing.
https://www.thingiverse.com/thing:3290093
My 2 year old daughter uses it daily. The PLA housing even resisted some bad drops!

That does look nice. Can you add a real life photo with mounted equipment?

Hi @d7071
Me, too: I would like to see it in real life. Looks neat!

link is broken :(

Seems to be this one.... https://www.thingiverse.com/thing:3290093
If the link doesn't work search for the ID on thingiverse...


cilium-ds.yaml: Added healthchecks for cilium pods.

10 seconds, which I just bumped to 15 to match consul threshold.

10 seconds, which I just bumped to 15 to match consul threshold.

Is the initial delay maybe too short? We only start exposing the API which cilium status uses after being able to reach the key value store and k8s API server. We may not have enough time to come up.


proposal: embed "noCopy" for bytes.Buffer and strings.Builder

Some new gophers may make mistakes by copying bytes.Buffer and strings.Builder values.
Embed a noCopy will let vet find such mistakes.

Unfortunately, that will give the bytes.Buffer and strings.Builder types a Lock method. I think we need a cleaner way to tell the vet something is not copy-able.

Note that strings.Builder already has a dynamic no-copy check.

@dsnet sorry, my mistake, the noCopy should be non-anonymous so that its methods will not be exported. Just like what sync.WaitGroup does.
@ianlancetaylor I didn't notice that strings.Builder has a dynamic no-copy check. But it looks the dynamic check doesn't work for some situations, and it increases the run-time burden.

But it looks the dynamic check doesn't work for some situations, and it increases the run-time burden.

In what cases does it not work? Even if we add noCopy to strings.Builder, we would still want the dynamic check since vet is not run as part of the normal build process. Otherwise strings.Builder would provide too easy a way to accidentally (or even deliberately) step outside Go type safety.

If a Builder is copied before it writes anything, then the dynamic check doesn't work.
On the other hand, I don't understand what safety the dynamic check guarantees. I can't imagine any type unsafety caused by copying a Builder. It looks there are only some unexpected results from the String method calls.

It's OK to copy a strings.Builder before writing anything, in the sense that both copies will work correctly.
The dynamic check is there to ensure that the String method returns a value that can not be modified by calls to the Write method in a copy of the Builder.  In general lots of code assumes that Go strings can not be modified.

Actually adding a Lock method does not sound like a good idea, as @dsnet mentioned above.
As described in cmd/vet/README, vet checks should be for problems that are correctness errors, frequent, and where the vet check can be precise.  I guess that a small bytes.Buffer could have a correctness issue, in that there could be unanticipated aliasing of the small buffer.  And a proper check could be precise.  But I'm not sure this is a frequent problem.

OK, get it.
How about change the type of the Builder.buf field to *[]byte? So that we the dynamic check is not needed any more.

Using a pointer instead of a slice would normally require an additional allocation, which would be unfortunate.

Yes, changing the field to a pointer also hurts performance.
Thanks for the discussion.
Looks this issue is not very valuable, so I will close it.


Only use sched_getcpu on linux machines

This Fixes #2862

Some Appveyor thingy seems to have failed. Do I merge anyway?


Deployed helm chart to kubernetes. Api pod fails to start. No error message to work with:(

@brandoncollins7 we need more information here please. Can you let us know which versions of the helm chart and flagsmith images you're using? If you can also provide as much of your values.yaml file as you're happy to share that would be very helpful as well. Thanks!


update inheritance from Entity to SensorEntity

Starting in HA 2022.4.0b0 I started receiving the following log entry: "Temperature sensor sensor.disk_wd_xxx_temperature (<class 'custom_components.truenas.sensor.DiskTemperatureSensor'>) does not inherit SensorEntity, this will be unsupported in Home Assistant Core 2022.7.Please report it to the custom component author.
The issue is that the Entity base class was being used vice the SensorEntity base class.

When black gets updated the Lint check will pass.. Not sure what's changed with translations causing hassfest to fail.

I've got black updated.  Looking into the hassfest failures, but that one is going to be more difficult, I fear.

I think hassfest is failing because TrueNAS got added to the brands repo: https://github.com/home-assistant/brands/pull/3119

That was it, it looks like :D


Cannot parse YAML file

I'm trying to run the CLI version of Gifcurry and keep running into the following error: [WARNING] Could not parse the /PATH/TO/text-overlays.yaml YAML file!
Here is the file in question:
- text: This is a test.
      fontFamily:   Sans
      fontStyle:    30
      fontStretch:  Normal
      fontWeight:   Normal
      fontSize:     800
      origin:       NorthWest
      xTranslation: 0.0
      yTranslation: 0.0
      rotation:     0
      startTime:    1.000
      durationTime: 8.000
      outlineSize:  10
      outlineColor: rgb(1,100,10)
      fillColor:    rgb(255,255,0)

Are there any obvious errors that jump out at you?
(FWIW, I think that including an example YAML file in the docs would be really helpful.)
Thanks for a cool package!

Hello @grantmcdermott ,
I apologize for the lack of examples.  I'll add some and update the help output for the upcoming release.
Here is the corrected version.
- text: This is a test.
  fontFamily:   Sans
  fontStyle:    Normal
  fontStretch:  Normal
  fontWeight:   30
  fontSize:     800
  origin:       NorthWest
  xTranslation: 0.0
  yTranslation: 0.0
  rotation:     0
  startTime:    1.000
  durationTime: 8.000
  outlineSize:  10
  outlineColor: rgb(1,100,10)
  fillColor:    rgb(255,255,0)

Here is the difference ({-removed-} and {+added+}).

Only one indent under - text: This is a test..
fontStyle must be a string such as Normal, Bold, or Oblique.
fontWeight must be an integer.

:+1:

Super. Thanks again!
PS - The GUI hasn't been working for me, but I suspect that has to do with the latest Arch/Gnome upgrade. I'll try again in a few days and file a separate issue if the problem persists.


Is the autoUpdater functional?

Hello,
I am wondering if Electron's autoUpdater would work once this app is built. I believe that it necessitates a .nupkg file, however once built the app only generates an .exe installer.
I have seen that is it mentionned in this issue. Does that mean that at the moment it isn't available?
Thank you.

It does not work out of the box yet. This is planned for an upcoming release

Is this still in the works?

No. I closed this because its already in https://github.com/chentsulin/electron-react-boilerplate/issues/504


Current dynamic date,time & weather

The portal lacks something which is very common,date and time. Even adding weather makes it more appealing. The position for it is below the sidebar. Add weather for Kolkata at present

I would like to contribute to this issue.

Assigned @nguptaa


Pick locale based on users browser automatically rather than fetching the locale definitions

At the moment, d3 doesn't support to pick the locale based on user's browser. It will be great if we can support this feature by default rather picking U.S English as the default locale.

I strongly recommend against this — since it would mean that a chart written in English and displayed within an English-language page would appear (on my browser) with French numbers.
This would:

be confusing and inconsistent (why translate only the number format?)
create unpredictable side effects (potentially breaking the chart altogether if the developer does something more than just displaying anything the format returns, and hasn't tested that in all the world's languages)
lead to errors in reading data values: "1,111" in an English chart means one thousand one hundred eleven, and in a French chart means one point one hundred eleven.

Of course some tools can be fully localized. But in that case, I think the right approach is to use the browser locale to set the default language of the application (by selecting the closest language to the browser locale that the application supports), and then to allow the user to select another language if they want.

Agreed with @Fil. Also, JavaScript’s built-in localization has dramatically improved since d3-format was created, so in the long run I think most if not all people should switch to that.
https://observablehq.com/@mbostock/number-formatting


Want method to determine publish date offline

Problem
The tar files created by cargo package (and in extension cargo publish) have bogus file times, usually somewhere around the years 1970-1973.
Steps

cargo init
cargo package
tar fvzl target/package/foo.crate

-rw-r--r-- 0/0             554 1973-11-29 23:33 foo-0.1.0/.gitignore
-rw-r--r-- 0/0             148 1970-01-01 02:00 foo-0.1.0/Cargo.lock
-rw-r--r-- 0/0             557 1970-01-01 02:00 foo-0.1.0/Cargo.toml
-rw-r--r-- 0/0             173 1973-11-29 23:33 foo-0.1.0/Cargo.toml.orig
-rw-r--r-- 0/0              45 1973-11-29 23:33 foo-0.1.0/src/main.rs

Possible Solution(s)
No response
Notes
No response
Version
This was a problem in earlier versions too

cargo 1.58.0 (7f08ace4f 2021-11-24)
release: 1.58.0
commit-hash: 7f08ace4f1305de7f3b1b0e2f765911957226bd4
commit-date: 2021-11-24
host: x86_64-unknown-linux-gnu
libgit2: 1.3.0 (sys:0.13.23 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:OpenSSL/1.1.1l)
os: Debian unstable (sid) [64-bit]

What problem is this causing?

Or said differently, is there any good reason for not writing valid dates?

This is intentional at the request to make the tarballs more deterministic. Currently the best way to figure out the publish/release date would be to query the crates.io API.

That doesn't allow offline builds though

You can look at the commit that added the version to the index https://github.com/rust-lang/crates.io-index

That also requires getting that information over the network. Ideally I'd have some information inside the crate that allows to infer that.

@sdroege why is an accurate release date important for GST plugins?    Should the burden for that be shifted to the plugins themselves?   That can be handled as part of the release process (e.g. cargo-release can handle inserting a date).  I'm also assuming from this, that these plugins are then being published to crates.io and that version is then being distributed through another means.  Could the repos be used instead, taking with it the git information?
For me, with the problems laid out, the alternatives available, and the size of the problem, I'm not seeing that this is something we should change.  As such, I'm proposing to the cargo team that we close this.  Others might not agree or there could be more information that makes us change our mind.  Even if we close this, it can always be re-visited in the future when more information becomes available.

why is an accurate release date important for GST plugins

It's not required, but it's metadata that is stored together with a release.

It would be possible to do this as part of the release process, however that requires people to do additional steps apart from cargo publish that could be easily forgotten, i.e. external tools or manual steps are needed. That's the approach I'm planning to implement though if I ever got time for it.
I'm still don't understand why it's so hard and undesirable to store the files as is inside the tarball but instead go out of your way to set all the file's metadata to a timestamp of 0. The argument of "more deterministic tarballs" seems misguided because if the file's mtime changes you probably also want a different tarball? Something has changed after all.
Anyway, let's close this. I don't have the energy to argue about this and it's also not the most important thing missing from cargo either.


Recording on the Jetson Nano

Hi,
I'm trying to record a SVO file on the Jetson Nano but it crashes (both the ZED explorer and the code example).  I'm getting the following error :
[NvV4l2Elements] failed to open
Error in VIDIOC_REQBUFS at output planeError in VIDIOC_REQBUFS at output plane[ZED][Encoding] Critical Error : No Video Enc
Segmentation fault

I'm using the following release of Jetpack and the latest ZED SDK
# R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t210ref, EABI: aarch64,
This error has been previously reported but still no solution. Any advise?
Thanks
Yuval

It seems that you have installed Jetpack4.6. Note that the ZED SDK is not yet compatible with it.
I suggest you flash the JP4.5.1 instead.
Make sure that the tegra multimedia API is selected during flash because it's the one that install the needed components to access HW video encoder ( [ZED][Encoding] Critical Error : No Video Enc means that no video encoder has been found)

Thanks for the quick reply! How can I check that the Multimedia API is properly installed? I can already see that Gstremer is properly installed (I assumed that it includes the Multimedia API).
I haven't used Jetpack for the flash, just downloaded the updated image for the Nvidia site. It will be strange if they haven't included it in their default image.
it seems that this issue has been around for some time now https://github.com/stereolabs/zed-python-api/issues/107

Ok I verified that the Multimedia API is properly installed using the following command:
sudo apt list | grep nvidia.*multimedia*
I assume that the only way to check that it is properly configured is to run a gstreamer app that uses the encoders./decoders by Nvidia

I've tested the the Nvidia decoder using the following gst coomand and it works, I still want to test some encoding functions
 gst-launch-1.0 filesrc location=vid_example.mp4 ! qtdemux ! queue ! h264parse ! nvv4l2decoder ! nv3dsink -e
Any ideas what more should I test?

Ok, found a solution. The issue is caused by the installation of libv4l, following the instruction in here
solved it.

@yuvalg1987 thank you for your sharing , this solved my problem.


Configure Firebase Datastore Access on iOS App

This enhancement should link a database to the inkly app:

Add a firebase database
Be able to post the prompt responses to the database
Update streaks and numOfEntries according to dates and total submissions

Handled with #10


Crashlytics reports are not shown on the dashboard after uploading successfully by the SDK

[REQUIRED] Step 1: Describe your environment

Xcode version: 13.4.1
Firebase SDK version: 8.14.0
Installation method: CocoaPods
Firebase Component: Firebase/Crashlytics
Target platform(s):  iOS

[REQUIRED] Step 2: Describe the problem
We have firebase SDK integrated in our project from long time. We are facing an issue of not seeing crash report on Crashlytics dashboard. I checked in the debug logs and it shows "Packaged report with id" and "Submitting report async" but reports are not visible on dashboard after waiting for more than 48 hours. (the hours mentioned here is for manually created crash)
Steps to reproduce:
I tried to crash manually with following code after seeing that there were no crash reports generated for my project from last 60 days.
let a = [0]
let _ = a[1]

I can see this logs in the debug logs:
8.14.0 - [Firebase/Crashlytics][I-CLS000000] [Firebase/Crashlytics] Packaged report with id 'a8c3f684376545c5b9a1ced7bcf3bf83' for submission

8.14.0 - [Firebase/Crashlytics][I-CLS000000] Submitting report async

Hi @HimaParmar, it seems like your crashes are uploading successfully based on your debug logs, but not showing in the console. With this, please file a ticket via our support channel so the team can investigate your project. I'll now be closing this issue.


Prepare landing for public

[ ] Proofread the text
[ ] Add SEO headers

Check if it possible to do task https://github.com/translate-tools/linguist/issues/479 in scope of current issue


Remove version: Amazon.Games version 3.0.9207.1

Vanity Installer (Hash Mismatch) / Part of #165260
Microsoft Reviewers: Open in CodeFlow

/azp run

URL: https://download.amazongames.com/AmazonGamesSetup.exe
OK
(Automated message - build 912)

Hi @damn-good-b0t,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 887.)


default pace configuration to current (or last selected) pace

as a user, i'd like to make easy adjustments to the currently configured pace.
behavior:

in pace configuration screen
default value is always the previously configured pace

default value should always be previously configured pace when restarting the app?

yes. it's more likely that number is correct or close, than an arbitrary number.
On Sat, Apr 6, 2024, at 04:03, Best Performer wrote:

default value should always be previously configured pace when restarting the app?
—
Reply to this email directly, view it on GitHub https://github.com/neverstopstudio/targetpace/issues/3#issuecomment-2040862346, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMHNYF4LBUKWY4F3ZTC5DY35JXTAVCNFSM6AAAAABFYXZCZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBQHA3DEMZUGY.
You are receiving this because you authored the thread.Message ID: @.***>


Fixing the bug #40: Not possible change defaultAttributes

Fix to bug #40 reported by me.

Released in version 2.0.2


chore: release 1.2.198

:robot: I have created a release *beep* *boop*
1.2.198 (2023-01-20)
Bug Fixes

staged-dockerfile: correction for ENV and ARG instructions handling (7a17fc7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.198 :sunflower:


Add smart banner to promote android app

See more details below
http://www.adianteapps.com/blog/article/smart-app-banners-promote-your-app-in-web
Our android app package name is il.co.anyway.app

Hey,
So I started working on it, and I have a quick question: why is .navbar-fixed-top positioned fixed? besides living up to it's name?;)
Would it be a problem having it positioned absolute?
I'm asking because obviously it causes problems when we want to have another element above it(i.e. the banner)
And it's not the first time it gave me problems.

@OmerSchechter is this done? Where do I see the smart banner?

browse to http://anyway-unstable.herokuapp.com/ from your android device.

Nice!


Implement changing the lifetime stage of projects

Related to #45

Do you mean review_status or lifetime_stage? If the former, doesn't issue #54 cover it?

The lifetime stage. Buttons like finalize, accept during review and so on

Shouldn't this be done through PATCH /project/{project_id}, which is already there?

Nah, that endpoint has a different purpose. Mixing it all together would be a disaster

Well, PATCH /project/{project_id} is about editing the attributes of the project. The lifetime stage is one such attribute.

True, but this attribute is to be handled and validated very differently from the others. One must make sure that the transition from state to state is valid, that the conditions are met, and so on so forth, it is not just a matter of writing down the changes. In this sense PATCH project means edit project, and if we look at the frontend perspective, editing a project doesn't involve changing state. It is a different action, which is why it deserves a separate endpoint

in that case, you have to make sure that PATCH /project does not include any of those "special" attributes

Precisely
https://github.com/illright/innopoints-backend/blob/master/innopoints/views/project.py#L204

Then only one endpoint is left:

[ ] Finalize the project


Bot should not thrown exception for un-owned atom events

When running multiple bots on a system, matcher callback events may be sent to multiple bots, which causes IllegalStateExceptions to be thrown. This should not happen as this occurence is not an illegal state for the bot to be in.
Possible solutions:

only send events concerning bot-owned atoms to each bot via the matcher callback interface
handle events concerning atoms owned by other users appropriately inside the bot

fixed


Error while downloading Google Satellite imagery of large area (around 5km by 5km)

MemoryError                               Traceback (most recent call last)
File ~\miniconda3\envs\gee\lib\site-packages\samgeo\common.py:523, in tms_to_geotiff(output, bbox, zoom, resolution, source, to_cog, return_image, overwrite, quiet, **kwargs)
522 try:
--> 523     image = draw_tile(
524         source, south, west, north, east, zoom, output, quiet, **kwargs
525     )
526     if return_image:
File ~\miniconda3\envs\gee\lib\site-packages\samgeo\common.py:512, in tms_to_geotiff..draw_tile(source, lat0, lon0, lat1, lon1, zoom, filename, quiet, **kwargs)
511 for band in range(imgbands):
--> 512     array = numpy.array(img.getdata(band), dtype="u8")
513     array = array.reshape((img.size[1], img.size[0]))
MemoryError: Unable to allocate 6.89 GiB for an array with shape (924972736,) and data type uint64
During handling of the above exception, another exception occurred:
Exception                                 Traceback (most recent call last)
Cell In[7], line 2
1 # Download image as GeoTiff
----> 2 tms_to_geotiff(output=output_image, bbox=bbox, resolution=spatial_resolution, source=data_source,quiet=False)
File ~\miniconda3\envs\gee\lib\site-packages\samgeo\common.py:531, in tms_to_geotiff(output, bbox, zoom, resolution, source, to_cog, return_image, overwrite, quiet, **kwargs)
529         image_to_cog(output, output)
530 except Exception as e:
--> 531     raise Exception(e)
Exception: Unable to allocate 6.89 GiB for an array with shape (924972736,) and data type uint64

The error message is very clear. You need a computer with more memory or you need to try a smaller area

Laptop has 16GB RAM and 42GB free C: hard disk space. I am confused if more space is required.

There are intermediate steps that sometimes requires memory several times of the file size. You are welcome to inspect the source code and submit a pull request to improve it.


Exposing tracking counters for wear analysis and other performance analysis (erase, write, and read block counters)

Reviewing lfs.h and the port for esp32 I'm using here I don't see any tracking counters exposed from littlefs.
It would be helpful for embedded use to be able to retrieve counters of page writes and page erases from littlefs to aid in the analysis of product lifespan.
The simple analysis is to look at the datarate from the application into littlefs, however this excludes overhead and other internal management of the filesystem that may add overhead. Having run-time counters (stored in ram, not persisted to the filesystem), for erases, block writes, and block reads, a block read count could let you examine if your application's workload was somehow causing more reads than anticipated, would provide the information necessary for an analysis.
Thoughts?

Hi @cmorganBE, thanks for creating an issue.
This is an interesting idea. One could imagine an optional define that makes these counters available through lfs_fs_stat.
Though I wonder if inside the filesystem is the best place for these. You could also add the counters to the block device itself, and query the block device outside the filesystem. That way you could also measure any overhead introduced by other block device layers (FTL, ECC, etc).
This is what we do in emubd for running local (no-hardware) benchmarks:
https://github.com/littlefs-project/littlefs/blob/f53a0cc961a8acac85f868b431d2f3e58e447ba3/bd/lfs_emubd.h#L199-L206


add DAMASK (https://damas-multiphysics.org)

disclaimer: I'm one of the DAMASK authors.

DAMASK is already listed. I added the paper you cited.


Incorrect URL for POST

It appears that the https://te.cpim.windows.net/<yourtenant.onmicrosoft.com>/<B2C_1A_ROPC_Auth>/oauth2/v2.0/token is not correct.  Hostname te.cpim.windows.net is not valid.
Maybe the correct value is the token_endpoint from the ./well-known/open-idconfiguration?p=B2C_1_ROPC_Auth

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

ID: c54680bb-ff67-a9e2-4272-1710fe6eb863
Version Independent ID: 6d15d340-f556-6bb0-8b4c-f4535537189b
Content: Configure the resource owner password credentials flow in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/configure-ropc.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@7100SW Thanks for your feedback! We will investigate and update as appropriate.

Hi, I managed to get the example working and returning the token. I am wanting to use this with xamarin forms. I can see that the token expires in "expires_in":"3600". You will have to pardon my lack of knowledge but I am only new to Xamarin and was wondering how or what I should use to store the token to allow access to the App.
Should I be using the Microsoft.Identity.Client nuget package in some way?
Should I check the token validity

@nialmcshane Please refer to below links for creating and integrating the application to Azure using Xamarin

Azure AD Xamarin getting started
Authenticate Xamarin Mobile Apps Using Azure Active Directory
Integrate Azure AD B2C into a Xamarin forms app using MSAL
Authenticating Users with Azure Active Directory B2C

@7100SW We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

I just double checked, really simple example, and the POST URL is actually incorrect....I needs to be this format below for it to work....what's in the example doc doesn't work!
Please update to:
https://login.microsoftonline.com//oauth2/v2.0/token?p=b2c_1_ropc_auth

I just double checked, really simple example, and the POST URL is actually incorrect....I needs to be this format below for it to work....what's in the example doc doesn't work!
Please update to:
https://login.microsoftonline.com/irel8.onmicrosoft.com/oauth2/v2.0/token?p=b2c_1_ropc_auth

POST URL is incorrect in the docs. I just retried with a very simple example and it fails with the URL that the document posted. It needs to be updated to include the below URL:
https://login.microsoftonline.com//oauth2/v2.0/token?p=b2c_1_ropc_auth

        HttpClient client = new HttpClient();
        client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/x-www-form-urlencoded"));

        Dictionary<string, string> dic = new Dictionary<string, string>();
        dic.Add("username", "<email>");
        dic.Add("password", "<password>");
        dic.Add("grant_type", "password");
        dic.Add("scope", $"openid {CLIENT_ID} offline_access");
        dic.Add("client_id", CLIENT_ID);
        dic.Add("response_type", "token id_token");

        var url = $"https://login.microsoftonline.com/{TENANT}/oauth2/v2.0/token?p={AUTH}";
        var response = await client.PostAsync(new Uri(url), new FormUrlEncodedContent(dic));

        return await response.Content.ReadAsStringAsync();


Ensure that projects using the SDK can set breakpoints within it

Describe the bug
I'm debugging some issue and would like to be able to set breakpoints within the source code of the SDK. But Android Studio cannot do that without the sources, which aren't available for download where it's looking for them.
SDK Version

Client: Kotlin
Version: Android Core v1.3.0

To Reproduce
Steps to reproduce the behavior:

In Android Studio, go into a class/method, say CoreClient.initialize.
Click "Download sources"
Observe the fetch fail.

"Raw" view of the method:
    public final fun initialize(metaData: com.walletconnect.android.Core.Model.AppMetaData, relayServerUrl: kotlin.String, connectionType: com.walletconnect.android.relay.ConnectionType, application: android.app.Application, relay: com.walletconnect.android.relay.RelayConnectionInterface? /* = compiled code */): kotlin.Unit { /* compiled code */ }

Fetch error:
14.54.47: Executing ':app:DownloadSources'...

> Task :app:DownloadSources FAILED
1 actionable task: 1 executed

FAILURE: Build failed with an exception.

* Where:
Initialization script '/tmp/ijmiscinit1.gradle' line: 25

* What went wrong:
Execution failed for task ':app:DownloadSources'.
> Could not resolve all files for configuration ':app:downloadSources_a9641496-0481-4ca5-ab64-31d1463403e5'.
   > Could not resolve com.walletconnect:android-core:1.3.0@aar.
     Required by:
         project :app
      > Could not resolve com.walletconnect:android-core:1.3.0@aar.
         > Could not get resource 'https://jitpack.io/com/walletconnect/android-core/1.3.0<EMAIL_ADDRESS>            > Could not GET 'https://jitpack.io/com/walletconnect/android-core/1.3.0<EMAIL_ADDRESS>Received status code 400 from server: Bad Request

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 652ms
14.54.48: Execution finished ':app:DownloadSources'.

Expected behavior
The editor would download the sources and present the ability to set a breakpoint like in (most?) other libraries.
I can decompile the class to Java, but I still cannot set breakpoints within it.
Additional context
I went looking for the source jar in the maven repositories and found https://repo1.maven.org/maven2/com/walletconnect/android-core/1.3.0/. But the full contents of android-core-1.3.0-sources.jar is /META-INF/MANIFEST.MF; there are no source files.

@bisgardo, thank you for your bug report.
We're working on a solution.

Hey, the fix for this will be available within the next release.

@jakubuid I tried to debug issue having with your SDK. But sources are not found, like in this issue.
Can you check this issue?


'Rename' & 'Delete' & 'Undelete' & 'Break Lease' dialogs are not localized

Storage Explorer Version: 1.10.1
Build: 20190926.4
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 18.04/macOS High Sierra
Architecture: ia32/x64
Language: Chinese (zh-TW) / Chinese (zh-CN)
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer using the command 'StorageExplorer.exe --lang=zh-CN'.
Expand storage account -> Blob Containers.
Create a new blob container -> Upload one blob.
Check the 'Rename' & 'Delete' & 'Undelete' & 'Break Lease' dialogs.

Expect Experience:
'Rename' & 'Delete' & 'Undelete' & 'Break Lease' dialogs are localized.
Actual Experience:
'Rename' & 'Delete' & 'Undelete' & 'Break Lease' dialogs are not localized.
More Info:

This issue also reproduces on 'Set Container Public Access Level' dialog for one blob container.
This issue also reproduces on 'Copy Conflict' & 'File Changes Detected' dialog for blobs/files.

The prompt dialog is not localized when creating a new file share with an invalid name.
This issue also reproduces for one blob container/file share/table/queue.
This issue also reproduces when using an invalid name to rename one file share/blob container/ table.
This issue also reproduces when no permission to operate one attached items.

Are these strings exposed to localization ?
https://devdiv.visualstudio.com/DevDiv/_git/StorageExplorer?path=%2Fsrc%2FStandalone%2Fapp%2Frenderer%2FJobHandlers%2FBlob%2FGroupCopy%2FState%2FBlobGroupCopyContext.ts&version=GBmaster

@lukaschal, we plan to deprecate this copy/paste conflict resolution dialog as we migrate to use AzCopy as our default blob transfer method. There will be a new localized conflict resolution dialog for that part.


M06, Unit 7, Task 3 - nic issue

Module: 06
Lab/Demo: 07
Task: 03
Step: 02 + 03
Description of issue
Step 2 is mentioning F: drive instead of linking GitHub
Step 3 gives an error about the nic not being found
New-AzResourceGroupDeployment: - The deployment 'firewall' failed with error(s). Showing 1 out of 1 error(s).
Status Message: Resource /subscriptions/xxxxxxxxxxxx/resourceGroups/Test-FW-RG/providers/Microsoft.Network/virtualNetworks/Test-FW-VN/subnets/Workload-SN referenced by resource /subscriptions/xxxxxxxxxxxx/resourceGroups/Test-FW-RG/providers/Microsoft.Network/networkInterfaces/Srv-Work-nic was not found. Please make sure that the referenced resource exists, and that both resources are in the same region. (Code: InvalidResourceReference)
Repro steps:

Create Resource Group
Create vnet + 2 subnets
Upload the 2 firewall json files
Run below

$RGName = "Test-FW-RG"
New-AzResourceGroupDeployment -ResourceGroupName $RGName -TemplateFile firewall.json -TemplateParameterFile firewall.parameters.json
Also tried:
New-AzResourceGroupDeployment -ResourceGroupName "Test-FW-RG" -TemplateFile firewall.json -TemplateParameterFile firewall.parameters.json
Confirmed Resource Group name matches

Nevermind, it's Azure being it's usual self and not working properly.
When creating a new VM using the portal it doesn't see the vnet, even though it's clearly there.
Ticket can be closed