Support OS language switch

Currently when I try to switch language and input some russian text I get something different.
And then If I switch back to english it continues "weirdness":

Probably related to https://github.com/Kethku/neovide/issues/125

I would love some advice for how best to solve this. I'm incredibly frustrated with my options at the moment.
The full backstory is long and tired, but the basic gist is that sdl2 (the cross platform windowing library I am using) has two modes for getting keyboard inputs:
Keydown/KeyUp which gets non keyboard mapped keycodes. This event lets allows me to tell which key is pressed and which modifiers are held down, but does not transform the key to the correct keyboard layout mapped value. As an example: ctrl-shift-6 on a qwerty keyboard would be reported as ctrl-shift-6 using this method instead of ctrl-^.
TextInput which transforms the key properly, but does not allow for modifiers that don't produce a unique value. As an example: shift-6 on qwerty would properly produce ^, but ctrl-shift-6 would produce no TextInput event.
Given these two primitives, today neovide does the following here https://github.com/Kethku/neovide/blob/master/src/bridge/layouts/mod.rs#L102
If TextInput produced a text value, then shift is ignored (it is assumed that the textinput used it up), and modifiers are applied.
If not, we look up the keyboard layout configured by the neovide_keyboard_layout global variable (currently there is one qwerty option, but as demand requires more will be added) and we manually modify the keyboard character to produce the correct value. This may consume shift, ctrl, and or alt modifiers in the process.
This strategy is very unfortunate because it requires the user to set the correct keyboard layout in a global variable and it requires us to list every possible key combination in a giant file for every supported layout which is decidedly not crossplatform or layout compatible.  If a user has a novel layout, they have to contribute it to the repo or they are out of luck.
Unfortunately I don't currently see a way out of this. I would LOVE any hint or advice for how to fix this. At this point I'm out of ideas.

As for the exact issue here, the D- means that the windows key is held down. I believe this is fixed in the current master, but not the released version of the app. Please build from source

Looks like you use kind of "scan codes" instead of characters and I am not sure if there is a simple/easy way to get real chars out of scan codes.
So I can see the following routes:

do nothing (then users with non-latin layouts wouldn't use neovide that much)
implement neovide specific keyboard layout manager and database of layouts -- I am not sure about efforts, but looks like huge.
refactor keyboard input routines to use chars instead of scancodes (I believe (g)vim and neovim(-qt) use characters) -- the efforts..., well :)

Not sure if SDL has char input you can use: https://forums.libsdl.org/viewtopic.php?p=51153

The character input is handled by the TextInput events I described. These can't be used for everything because they are not raised if modifiers outside of those necessary for producing the initial character are held down. So shift-6 produces ^ but ctrl-shift-6 does not.

Sorry not an expert :(, and don't know rust
But if I press C-S-6 shouldn't it go here:
https://github.com/Kethku/neovide/blob/e9808f185ff103e7e3dc2361bc5238541ccbc3e7/src/bridge/layouts/mod.rs#L103
Like, ^ was generated by S-6 and then you apply CTRL modifier?

It doesn't. No textinput event is raised because of a limitation in sdl2. I brought up the issue with the sdl2 team and they ignored my concerns even with repeated attempts to describe the problem. So at this point I'm out of luck

For background this is the conversation I had: https://bugzilla.libsdl.org/show_bug.cgi?id=5029

This issue also breaks using C-^ to switch to the "alternate" file, something I use a lot.

closing in favor of https://github.com/Kethku/neovide/issues/445

closing in favor of https://github.com/Kethku/neovide/issues/445


Looser fitment onto spindle, Warning/disclaimer of liability in README

This should hopefully be a safer default boss width. I tested it on my typewriter and it seems like a good fit.
I've also added a disclaimer ## Warning section in the README, to help prepare users of this project to use caution when testing the fitment of their printed typeballs.

Resolves #3

Cross-commenting from #3 : Dave Hayden of selectricrescue.org made some major improvements and created a version that works quite well in just OpenSCAD, without relying on external tools. You can get a copy of it here: https://selectricrescue.org/balls/SelectricElement88.scad
Dave also suggests:

As for messing up the alignment, my guess is that they rotated or tilted the element which put slack in the corresponding tape and it fell off one of its pulleys. It's an easy fix, you tilt or rotate it again and guide the tape back onto the pulley and gently release the ball back to its neutral position. If that's what happened hopefully they didn't use it too much with the tape off and kink it up.

I can merge this PR but to direct people to Dave's site and Dave's SCAD file from now on. I need to re-learn how to edit a PR to do that, though.


Use @GraphQLContext for batching without @Batched

Is exists way to use @GraphQLContext for batching not via @Batched annotation?
For example for batching via https://github.com/graphql-java/java-dataloader?
Or only one way to explicitly connect it via model?

@Batched is just a way to make use of the same semantics that @Batched already provides in graphql-java (note that it belongs to a graphql-java package, not SPQR). It provides a simple batching model that maps well to SQL (and some other) backends. It works with BatchedExecutionStrategy only.
Dataloader offers a very different strategy. To use dataloader, you must write the batch loader functions yourself and then change your logic to fetch data through the dataloader instead of directly. Unlike the previous model, it's not down to the execution strategy, but down to how you write your datafetchers. SPQR doesn't know what your methods do, so you need to change your own code to use the dataloader.
You might want to create a DataLoaderRegistry per request, and stick into the global context. This way you can easily inject it into your resolver methods via @GraphQLRootContext.
You must also make sure to register a DataLoaderDispatcherInstrumentation to dispatch the batch jobs. But this is all completely external to SPQR.
Keep in mind, SPQR only really deals with assembling the schema and wiring your methods as datafetchers. Actually executing the queries you do using graphql-java directly.

You can see a simple example of using @Batched in BatchingTest


Drop support for Node 12

postcss-preset-env will drop support for Node 12 with its upcoming major release, so the next version of this package can do this, too.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
27

Relevant Lines:
27

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
27

Relevant Lines:
27

💛  - Coveralls


feat(SCM) Introduces a "local" SCM with autoguessing

Ref. https://github.com/updatecli/updatecli/issues/716
Depends on #717
This change request introduces a new feature for Updatecli: an automatic SCM identified as local.
The "automatic guess" feature is not complete: for now, it only extracts some of the atrributes, the others have to be specified through manifest or env. vars. I expect more PRs to improve it along the way.
That's why the associated issue won't be closed.
For now:

URL for git
Owner/repository for github

Please note that:

A new go module dependency was added: github.com/goware/urlx. Not strictly necessarly, but really useful to parse the hostname of the github SSH addresses. Might be doable with a good regexp, but that was too distracting for me to write such (as it needs tests, etc.).
The gitgeneric package now provides an interface, implemented by the default GoGit{} struct. Should not change anything (plugins git, github and others have been updated) but it allows mocking (a basic mock is provided because used by the code introduced in this PR) and would help in unit testing any SCM-dependent behavior.
The config package was split (errors.go to store the errors, defaults.go for the logic around setting up default configuration). Be careful with rebases!
The scm package was split to have a clear source file separation between scm.Scm behaviors and scm.Config behaviors (Validate was confusing before)
There are 2 Merge methods for git and github SCM plugins. This code could definitivelt be improved in the future, but it's around the whole "configuration definition" + "deep merge tree structures with zero-ed values". Too much compared to writing the 2 raws methods. Can be improved, but since it's tested and since we do not define new SCM plugins everyday, it's worth it for me.
Unit tests, unit tests and unit tests
The end to end manifests where modified to disable the local SCM as none of them use it (to avoid unplanned info/warning message).

Test
To test this pull request, you can run the following commands:
make test
make test-e2e

Additional Information

The end to end tests where modified to make its easier to run locally.

A change has been introduced in the Makefile to explain the env. var $VENOM_VAR_binpath but also to fail fast with a comprehensive message when missing env vars are absent (instead of starting venom which fails)
We can still improve the contributor experience for E2E but later (splitting tests for easier "catch which onefailed") :)
No more values.yaml for now. If we want to end-to-end testing of the templating of values, we have to add a specific test for this. Otherwise it adds too much varying elements. Another idea: we can also make this file back, but the Makefile would parse it to list the required environment variables in a centralized location).

Overall, it's a great PR. Thanks for paving the way
Considering the size of the work needed here, I totally support merging this PR even if it doesn't solve the global issue.
But before merging I would like to clarify one thing
Disable local scm
I don't understand why and when to use the following block
scms:
  local:
    disabled: true

Rebase in progress (with conflict merge)

@olblak Ready to review (approve/merge if ok).
I've done full testing on jenkins-infra/kubernetes-management as usual with a updatecli diff with this PR.
Also tested the full "apply" on https://github.com/dduportal/docker-hashicorp-tools/pulls (3 opened PRs).


Ambiguous question regarding use of MIs

Question states "Which operations can I perform using managed identities?"
The answers in the subsequent paragraph deals with operations that can be performed "ON" the managed identity itself, not what operations that can be performed "USING" the managed identity against other services.
Given the content of the answer, I would suggest the question be updated to the following:
"Which operations can I perform on managed identities?"

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

ID: 72861cc1-7081-cf6e-b7f9-e700a16faa9a
Version Independent ID: c870872d-0559-6b77-280f-f478e8c84776
Content: Managed identities for Azure resources - Microsoft Entra ID
Content Source: docs/identity/managed-identities-azure-resources/overview.md
Service: active-directory
Sub-service: msi
GitHub Login: @barclayn
Microsoft Alias: barclayn

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

@GoonerW
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


CM-714: Difference Between String, FormattableString, IFormattable in C#

First draft

@jshergal, everything should be fine now.

@jshergal it should be fine now.

@jshergal, I have applied your feedback; let me know if it's okay now.

@jshergal, I have applied your feedback; let me know if it's okay now.

Yes, the change in that unit test looks good. There is other feedback I have added that still needs to be addressed.
One thing, in looking at the unit test where you made the recent changes, it feels to me like the check for the type should be the first assertion, since the other two assertions are based on the fact that the return value is actually a string. As a whole I am not sure the value that is added by asserting that the return value is a string, especially given that we are calling Contains on the return value, which will basically fail to compile if the object was not a string (with the exception of course that some other return type could have a Contains method). As a whole, if we want to keep that assertion, then from a logical flow perspective it should be the first assertion. We can think of the ordering in this way:

Setup
Run some operation which gives a result
Verify the result is of an expected type
Now verify that the result value matches what is expected

@jshergal, it's sorted; thanks for your feedback.

@jshergal, let me know if I have missed anything.

@jshergal, it should be fine now


support for > Ember Data 1.0.beta.16

Does this still only support up until Ember Data 1.0.beta.16?

Waiting for a PR :smile:

Hi Kurko, thanks for your contribution. Do you have any update on this? I building an app that heavily depends on local storage right now and got stuck into the problem of finding what version of ember will properly work with ember-data 1.0.beta.16 and your latest release. Thanks!

@laureanoarcanio I have found this https://github.com/funkensturm/ember-local-storage as an alternative for small things, but if you really need the data store, i'd recommend just using the REST adapter and doing server side persistence. I've found several bugs with this library in its current state and I don't know enough about building adapters to fix them lol.

@skaterdav85 Thanks! I tried with different ember-data versions and the problems I was having are solved using this version: 1.0.0-beta.19. (I had problems with toString method on findQuery). That link is a plain localStorage module, I need it to be an adapter actually, as most of my application is already built. Thanks for the help!

@laureanoarcanio It now has an adapter in master. I'll release a new version very soon. Just wait for some feedback. If you would like to try it and give some feedback that would be much appreciated.

Hi thanks @fsmanuel, I already have this working on my project and it's doing okay. What I ended up doing is try until I found an ember data version that worked (1.0.0-beta.19) as I needed to get the project going for my client.
BTW, I'm storing big amounts of data into local storage, and I found it very slow and blocking so I might move to IndexeDB really soon.
I will try your repo as soon as I can. Thanks for the help


add area-specificity to predator M2

follow-up from issue #45
a predator is a fleet, so operates in a specific area
natural mortality is a biological trait, so currently is not area-specific.
need to make natural mortality area-specific so that each predator can affect M2 in its area.
This means that pred_M2 should not be added to M1 in the biology step.
Instead, pred_M2(f) should be included when Z(p) is calculated within each area.

@Rick-Methot-NOAA , it looks like this is the last outstanding issue according to the projects spreadsheet; will this be worked before 3.30.19? Or do we want to delay it?

attached doc describes the revised logic that allows natM to be area and time specific, which is needed for predators and is needed for future development of transitional SPR (#88 ) calculations.
natM tech doc.txt


Bower support for DetectJS

Hi Muaz,
your WebRTC experiments are really great! I have learned much about WebRTC through your examples which are very easy to understand. Thanks for that!
It would be super cool if you could provide your DetectJS module as Bower package.
Are there any plans in this regard?
Best from Berlin,
Benny

Added bower support: https://github.com/muaz-khan/DetectRTC/blob/master/bower.json
bower install detectrtc

Thanks man, you're great!


Adding OnBackPressed Functionality

Adding the onbackpressed function to return to the previous activity whenever the back button is pressed rather than closing the app.
This works with the top right button but it's necessary to add this to the android bottom navigation back button as that is used most of the time.
There are multiple times when backpressed doesn't work the way it's intended to like for example, when you press the back button after adding a label it often goes back to the label add dialog, or when you click back from about or settings page where it directly closes the app and you also face this when the user installs it the first time and presses back from mainactivity or labels page where he is redirected to the onboarding page which shouldn't happen.
https://user-images.githubusercontent.com/73274558/193765173-b1c0505a-514c-40bc-bc6b-41dad3c69338.mp4

Thank you very much for your support, @subeep! 👍
It's a nice improvement.

Thankyou @subeep  for your valuable contribution.


 It takes a couple of minutes to understand that it is just an assignment and it equivalent to
flux_up_sw[:, gcol] = flux_up[:, gcol]

I removed these instances and replaced them with a clear assignment.
On CPU, this is 1 % slower, but I think that well worth for the added readability. (It is also not clear if has any impact in the overall performance)
julia> @benchmark map!(x -> x, view(A, :, 1), view(B, :, 1))
BenchmarkTools.Trial: 10000 samples with 6 evaluations.
 Range (min … max):  4.966 μs …  12.451 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     5.037 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   5.063 μs ± 141.562 ns  ┊ GC (mean ± σ):  0.00% ± 0.00%

     ▂▇█▅▁
  ▁▂▅█████▆▄▃▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▂
  4.97 μs         Histogram: frequency by time        5.69 μs <

 Memory estimate: 128 bytes, allocs estimate: 4.

julia> @benchmark view(A, :, 1) .= view(B, :, 1)
BenchmarkTools.Trial: 10000 samples with 6 evaluations.
 Range (min … max):  4.913 μs …  13.299 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     5.086 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   5.121 μs ± 194.785 ns  ┊ GC (mean ± σ):  0.00% ± 0.00%

        ▄▇██▇▅▃▁                                              ▂
  ▅▃▃▁▄████████████▇▆▄▃▄▅▆▇▇▆▆▆▆▇▆▇▇▆▅▆▆▆▆▇▇▅▆▅▅▆▅▆▆▅▆▇▄▆▆▅▄▆ █
  4.91 μs      Histogram: log(frequency) by time      6.04 μs <

 Memory estimate: 224 bytes, allocs estimate: 6.

@Sbozzolo : These have already been merged in PR https://github.com/CliMA/RRTMGP.jl/pull/538
This is duplication of effort. Its best to just add back the reverted PRs at the earliest!

@Sbozzolo : These have already been merged in PR #538 This is duplication of effort. Its best to just add back the reverted PRs at the earliest!

Ok!


Feature: Page Actions renderHooks

This is wat it looks like:

The "Star" is just an action, right? So this should already be possible. Is there any other use case for non  action content?

The "Star" is just an action, right? So this should already be possible. Is there any other use case for non action content?

Yeah it is a action from a plugin. So how would you put this action on every single resource page with registering it once?
The hook was just to align it out nicely. Because if you use content.start it makes a new row above the header which looks horrible.

You can make your own base class and extend these. I think that would be a cleaner way for actions instead of render hooks. Maybe we could make it easier to swap out the default actions.

You can make your own base class and extend these. I think that would be a cleaner way for actions instead of render hooks. Maybe we could make it easier to swap out the default actions.

What i wanted to do first is show it on every page. But this would mean adding a hook to the header instead of page actions.
If you use content.start it would look like this:

My goal was to make this "star" action visible on every page next to the actions or on the dashboard page on the right side of the header. In my opinion this would be easier to do with renderHooks but if you have another way this is possible i would accept that.

Wouldn't it be easiest/cleanest to provide the action from your plugin and manually register it on the pages you'd like to have it?

Wouldn't it be easiest/cleanest to provide the action from your plugin and manually register it on the pages you'd like to have it?

Like i said, i wanted it on every page which includes the dasbhoard. So no i don't think it would be easiest or cleanest to do it that way.


Admob wrong size smartBanner when ad have long text

Hello! When specifying the size: AdSize.smartBanner for an advertising banner, the size on the iphone xr is not correctly determined

@1AlexFix1
The issue at https://github.com/flutter/flutter/issues/34985 has been closed and moved here. Future collaboration on this issue will be done here.

The firebase_admob plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.


[deps] Update postcss because it npm audit is causing ci to fail

Description
Describe the changes or additions included in this PR.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

fixed in another PR


Adding PubSub transport.

This is a working first pass impl of the PubSub transport binding for cloudevents. It is still being tested but it is to the point where it can be committed and iterated on.

This looks pretty good to me. There are quite a few TODO comments. Were you going to do more implementation or clean these up? Or was the intent to land this change and then further iterate?

I am working with several people to implement this and before the pubsub transport is "released" these will be cleaned up.

Hold merging this one until https://github.com/cloudevents/sdk-go/pull/129 goes in.

Ready for a look.


Introduce automatic pixel shifting

The panel in the touchbar is an OLED screen and pixels on it will suffer
degradation over time. Degradation effects are going to be worst on bright,
white pixels that remain at the same position forever. This applies to the
icons of our buttons.
To lower the possibilty of a burn-in here as much as we can, introduce some
subtle pixel shifting.
Here's how it works:

Use the existing TIMEOUT_MS poll() timeout and (temporarily) allow smaller
timeouts for smooth sub-pixel transitions to make the pixel shift completely
invisible

We have lots of space in the horizontal direction, so there we shift pixels
by the whole amount that's necessary to ensure no pixel remains "always on"

The background boxes around each button are also shifted in horizontal
direction as otherwise the icons appear off-center horizontally, for this
the boxes need to be reduced in width a bit so they don't overflow the panel

In the vertical direction, icons appear off-center on the whole touchbar
really quickly, so only do very limited movement here, that's not very
effective but better than nothing

Hitboxes for touch input remain the same and are not affected by pixel
shifting

This starts a pixel shift by one full pixel in x and y direction every 10
seconds, transitioning slowly between the states on a sub-pixel level for
4 seconds. Once the pixel shift reaches the final left or right edge of
the shifting area, we'll leave it at that for 50 seconds to reduce stress
on pixels in the center of the shifting area a bit more.
https://github.com/WhatAmISupposedToPutHere/tiny-dfr/issues/9

I have noticed that you completely disabled the button backgrounds. Is that a requirement for pixel shifting to look good?

Also, how necessary it really is? Macos does not do it, and i was not able to find reports of burn-in being a problem. And here, the inactivity dimming is more aggressive than on macos.

I have noticed that you completely disabled the button backgrounds. Is that a requirement for pixel shifting to look good?

Yeah, as mentioned on #9, that makes it a lot less noticable.

Also, how necessary it really is?

Right, this is somewhat optional. As mentioend on #9 I'd really like to have the touchbar always-on, as I think this is the thing that makes it actually useful as "dynamic" part of the keyboard. This is obviously my personal opinion and you're free to disagree.. I would have done this anyway for myself, so I thought I'd offer it upstream, too.

Yeah, as mentioned on #9, that makes it a lot less noticable.

Outlines are a hard requirement for me, so i will most likely end up introducing a config file and giving choices between outlines/no outlines and pixel shift/mandatory auto-dim. This will be merged after.

Ah, if you're open to that we could make always-on configurable and enable/disable outlines+pixel-shifting together with that?
Fwiw, I'd also really like to switch the default layer to the media keys instead of function keys, what do you think about that?

Fwiw, I'd also really like to switch the default layer to the media keys instead of function keys, what do you think about that?

Sure, i'll add that to the list of things to do.

Sorry, i thought it would be faster to just change the things i wanted done in review myself. I have fixed the subpixel animations, but i am unable to reproduce the multiple-pixel-at-once y changes.

Hmm, subpixel animations seem fixed now, but y is still jumping around, and also seems like things can get stuck between two pixels on the x-axis, attached two debug logs of that.
jumping-on-y-axis.log
stuck-between-11-and-12.log
This is the patch I applied to test
iff --git a/src/main.rs b/src/main.rs
index 738da0e..d1c5fee 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -44,7 +44,7 @@ const DFR_WIDTH: i32 = 2008;
 const DFR_HEIGHT: i32 = 64;
 const BUTTON_COLOR_INACTIVE: f64 = 0.200;
 const BUTTON_COLOR_ACTIVE: f64 = 0.400;
-const TIMEOUT_MS: i32 = 10 * 1000;
+const TIMEOUT_MS: i32 = 1 * 1000;

 #[derive(Deserialize)]
 #[serde(rename_all = "PascalCase")]
diff --git a/src/pixel_shift.rs b/src/pixel_shift.rs
index 634f722..c3af5b8 100644
--- a/src/pixel_shift.rs
+++ b/src/pixel_shift.rs
@@ -7,7 +7,7 @@ use crate::TIMEOUT_MS;
 const INTERVAL_MS: i32 = TIMEOUT_MS * 1; // should be a multiple of TIMEOUT_MS
 const PROLONGED_INTERVAL_MS: i32 = TIMEOUT_MS * 5; // should be a multiple of TIMEOUT_MS and more than INTERVAL_MS
 const ANIMATION_INTERVAL_MS: i32 = 200; // should be less than TIMEOUT_MS
-const ANIMATION_DURATION_MS: i32 = 4000; // should be a multiple of ANIMATION_INTERVAL_MS
+const ANIMATION_DURATION_MS: i32 = 400; // should be a multiple of ANIMATION_INTERVAL_MS

 // This is the total range on the x-axis that pixels will shift by over time, ie. they will shift by
 // PIXEL_SHIFT_WIDTH_PX / 2 to the right and to the left.
@@ -72,18 +72,22 @@ impl PixelShiftManager {

         match self.state {
             ShiftState::Normal => {
+            println!("starting subpixel shifting");
                 self.state = ShiftState::ShiftingSubpixel;
                 self.subpixel_progress = if self.direction == 1 { 0.0 } else { 1.0 };
             },
             ShiftState::ShiftingSubpixel => {
+                println!("shifting subpixel");
                 let shift_by = ANIMATION_INTERVAL_MS as f64 / ANIMATION_DURATION_MS as f64;
                 self.subpixel_progress += shift_by * self.direction as f64;
                 if self.subpixel_progress <= 0.01 || self.subpixel_progress >= 0.99 {
+                    println!("done with subpixel shift");
                     self.pixel_progress = (self.direction + self.pixel_progress as i64) as u64;
                     self.state = ShiftState::Normal;
                     self.subpixel_progress = 0.0;
                 }
                 if self.pixel_progress == 0 || self.pixel_progress >= PIXEL_SHIFT_WIDTH_PX {
+                    println!("done with cycle");
                     self.state = ShiftState::WaitingAtEnd;
                     self.direction = -self.direction;
                 }
@@ -98,6 +102,7 @@ impl PixelShiftManager {
     pub fn get(&self) -> (f64, f64) {
         let x_progress = self.pixel_progress as f64 + self.subpixel_progress;
         let y_progress = (x_progress + self.y_constant) % PIXEL_SHIFT_HEIGHT_PX as f64;
+        println!("x {}, y {}", x_progress - (PIXEL_SHIFT_WIDTH_PX / 2) as f64, y_progress - (PIXEL_SHIFT_HEIGHT_PX / 2) as f64);
         (x_progress - (PIXEL_SHIFT_WIDTH_PX / 2) as f64, y_progress - (PIXEL_SHIFT_HEIGHT_PX / 2) as f64)
     }
 }

Ok, both should be fixed now


HTTPError: HTTP Error 429: Too Many Requests

I'm getting a "HTTPError: HTTP Error 429: Too Many Requests" notification when running anything NFL from the API. I'm assuming this is being caused by sports-reference blocking me from making any requests on their page but wanted to see if anyone has had this issue before and if their is a way to resolve it.
Here is the error that's thrown:
HTTPError                                 Traceback (most recent call last)
 in
1 Team_1 = 'ATL'
2 Team_2 = 'SDG'
----> 3 Total_1 = model.predict(model_input(Team_1, Team_2))
4 # Total_2 = model.predict(model_input(Team_2, Team_1))
5 # Total_1[0], Total_2[0], Total_1[0] - Total_2[0]
6 frames
 in model_input(home, away)
2   home_2018_schedule = team_schedule(home, 2018)
3   home_2019_schedule = team_schedule(home, 2019)
----> 4   home_2020_schedule = team_schedule(home, 2020)
5   home_2021_schedule = team_schedule(home, 2021)
6   home_2022_schedule = team_schedule(home, 2022)
 in team_schedule(team, year)
1 def team_schedule (team, year):
----> 2   schedule = Schedule(team, year)
3   return schedule.dataframe.dropna()
4
5 def team_info (team):
/usr/local/lib/python3.7/dist-packages/sportsipy/nfl/schedule.py in init(self, abbreviation, year)
578     def init(self, abbreviation, year=None):
579         self._games = []
--> 580         self._pull_schedule(abbreviation, year)
581
582     def getitem(self, index):
/usr/local/lib/python3.7/dist-packages/sportsipy/nfl/schedule.py in _pull_schedule(self, abbreviation, year)
704                                                  str(int(year) - 1))):
705                 year = str(int(year) - 1)
--> 706         doc = pq(SCHEDULE_URL % (abbreviation.lower(), year))
707         schedule = utils._get_stats_table(doc, 'table#gamelog%s' % year)
708         if not schedule:
/usr/local/lib/python3.7/dist-packages/pyquery/pyquery.py in init(self, *args, **kwargs)
183                     html = opener(url, **kwargs)
184                 else:
--> 185                     html = url_opener(url, kwargs)
186                 if not self.parser:
187                     self.parser = 'html'
/usr/local/lib/python3.7/dist-packages/pyquery/openers.py in url_opener(url, kwargs)
74 def url_opener(url, kwargs):
75     if HAS_REQUEST:
---> 76         return _requests(url, kwargs)
77     return _urllib(url, kwargs)
/usr/local/lib/python3.7/dist-packages/pyquery/openers.py in _requests(url, kwargs)
59     if not (200 <= resp.status_code < 300):
60         raise HTTPError(resp.url, resp.status_code,
---> 61                         resp.reason, resp.headers, None)
62     if encoding:
63         resp.encoding = encoding
HTTPError: HTTP Error 429: Too Many Requests

I'm having the same issue with NHL and NFL, but NBA was working for me

I'm having the same issue with NHL and NFL, but NBA was working for me

Yeah Im using NFL. I tried NBA and it seemed to work fine.

Seems like SportsReference recently introduced a limit on requests to their site if I understand correctly? This may be the issue, but I had been using the same code past few days and after October 26th and was working fine
https://www.sports-reference.com/bot-traffic.html

Seems like SportsReference recently introduced a limit on requests to their site if I understand correctly? This may be the issue, but I had been using the same code past few days and after October 26th and was working fine
https://www.sports-reference.com/bot-traffic.html

Same here but that's probably what's happening. Pretty much renders sportsipy useless.

Going to try adding time.sleep(60) in between requests for roster/boxscore data, let me know if you have any success with workarounds as well

@roclark let us know if you have any ideas as well

@mattpfreer adding the timer worked!

awesome to hear, did you add it before each single roster request or into the actual sportsipy py files? still having trouble on my end but have used a counter to try getting 10 at a time before doing sleep, seems like i may need to add this before each individual roster request

awesome to hear, did you add it before each single roster request or into the actual sportsipy py files? still having trouble on my end but have used a counter to try getting 10 at a time before doing sleep, seems like i may need to add this before each individual roster request

I added it within a function I defined that calls Schedule and Team info several times for previous years and the current year for two separate teams. I think going forward I'm going to just save them as a csv file and just update the current year as needed.

got it, thank you! hopefully there will be a resolution in the future but makes sense.

Yeah this is a problem rendering the API useless for my use case in NCAAB. I can't even run a Teams() call.
Any recommendations? I see the time.sleep option, but wow this will take some time to run for 300+ teams.

Everything seemed to be working well the past few days, especially after adding in the timer in a few spots, but today I called Teams() and got the error. I hadn't run anything else.

The Team function was working for me previous weeks, but it stopped yesterday.  I tried running it on different IP addresses and different online notebooks and it doesn't work.
I am a novice, but could it be that someone is spamming NFL  requests through the API which is causing the error?

The Team function was working for me previous weeks, but it stopped yesterday. I tried running it on different IP addresses and different online notebooks and it doesn't work.
I am a novice, but could it be that someone is spamming NFL requests through the API which is causing the error?

Not sure. I experimented with NHL and CBB a little bit and they worked but at this point if the Teams function for NFL isn't going to work it's pretty much rendered the API useless for me.
@mattpfreer is it working for you?

I was able to get NCAAB to work by editing the teams.py file and commenting out the code that uses Conferences data, seems like that is the only problematic piece

I was able to get NCAAB to work by editing the teams.py file and commenting out the code that uses Conferences data, seems like that is the only problematic piece

Would you be able to share what lines you commented out to get it to work?  Thanks

Everything seemed to be working well the past few days, especially after adding in the timer in a few spots, but today I called Teams() and got the error. I hadn't run anything else.

Teams has a class parameter called season_page that allows you to use a local HTML file instead of hitting the URL from python. For example, to get the NFL stats for the 2022 season you would go to https://www.pro-football-reference.com/years/2022/ in your browser and save the html file, then set season_page to its file location. It's not ideal, but you only have to do it for one page. It's the only way I've found to keep my pipeline running right now.

The Team function was working for me previous weeks, but it stopped yesterday. I tried running it on different IP addresses and different online notebooks and it doesn't work.
I am a novice, but could it be that someone is spamming NFL requests through the API which is causing the error?

Not sure. I experimented with NHL and CBB a little bit and they worked but at this point if the Teams function for NFL isn't going to work it's pretty much rendered the API useless for me.
@mattpfreer is it working for you?

Teams has a class parameter called season_page that allows you to use a local HTML file instead of hitting the URL from python. For example, to get the NFL stats for the 2022 season you would go to https://www.pro-football-reference.com/years/2022/ in your browser and save the html file, then set season_page to its file location. It's not ideal, but you only have to do it for one page. It's the only way I've found to keep my pipeline running right now.

The problem with Teams is it quickly fires off as many requests as there are teams, which almost immediately violates the new request limit at sports reference. I fixed it on my fork. You can see the change here. I just created a new utility function  that adds a time.sleep after each url request via pyquery.
As long as you don't run multiple sportsipy commands in parallel this fix should guarantee you won't exceed the new limit. Obviously it's not ideal for NCAAB since fetching 300 teams will take ~15 minutes, but at least it works.

I mean I'm also having an issue to boxscores, which is more concerning.
My teams fix is a time.sleep(13) in _retrieve_all_teams, around line 1130.
I'm trying to train a model with boxscores back to '07. Querying each game individually with a 13sec sleep would take ~9 days...
Does anyone here happen to have a cache / boxscore info that goes back from last season to some year? Any help is much appreciated!!

Does anybody have a good solution for boxscore.py?

Does anybody have a good solution for boxscore.py?

The best way I've found to fix the it is to intentionally limit the rate of all calls to the website like I mentioned in my post above (check out this PR for specific details). I don't think your use case of bulk downloading data for several years at once is really an option anymore unless you're willing to wait a really long time for the results. You'll be better off scheduling a long running job and caching all the historical data you intend to re-use.

Going to try adding time.sleep(60) in between requests for roster/boxscore data, let me know if you have any success with workarounds as well

Just ran into this problem as well. I created a model to predict the winning teams each week in the nfl and wanted to update my ultimate CSV and ran into this issue. The timesleep worked perfectly for me. I wish sports reference would just create an API directly


argo: 3.5.11 -> 3.5.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/argoproj/argo/releases.
meta.description for argo is: Container native workflow engine for Kubernetes
meta.homepage for argo is: https://github.com/argoproj/argo
meta.changelog for argo is: https://github.com/argoproj/argo-workflows/blob/v3.5.12/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.5.12 with grep in /nix/store/fsik9sg21w6sra8qyx4bmp5vpx449p1x-argo-3.5.12
found 3.5.12 in filename of file in /nix/store/fsik9sg21w6sra8qyx4bmp5vpx449p1x-argo-3.5.12

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

argo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fsik9sg21w6sra8qyx4bmp5vpx449p1x-argo-3.5.12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A argo https://github.com/r-ryantm/nixpkgs/archive/47370df25cd00902720a3edc85c70da0dc85c7af.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/47370df25cd00902720a3edc85c70da0dc85c7af#argo

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fsik9sg21w6sra8qyx4bmp5vpx449p1x-argo-3.5.12
ls -la /nix/store/fsik9sg21w6sra8qyx4bmp5vpx449p1x-argo-3.5.12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

argo

Maintainer pings
cc @groodt for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 352431

aarch64-darwin

:white_check_mark: 1 package built:

argo


About the probability of applying CutMix

It seems that the 'cutmix_prob' is an important hyper-parameter yet you did not mention in the paper. May I ask the value you adopted to get the results in the paper?

@JiyueWang
For the best performance, cutmix_prob=0.5 is used for CIFAR experiments, otherwise, we set cutmix_prob=1.0 including ImageNet experiments.

Thanks for your prompt reply.

I notice that

I notice that this hyper-parameter is also applicable to mixup. As this paper 'WeMix: How to Better Utilize Data Augmentation' showed, the mix of original data and augmented data can help training significantly. I think the comparison of your method with this extra tuned parameter against Mixup on CIFAR is not fair. What do you think?

@JiyueWang
We did search hyper-parameter alpha for Mixup only at the ICCV submission, but maybe tuning the  mixup_prob will boost mixup's performance also in CIFAR.
(As an excuse, Cutmix still show better performance than mixup without searching prob)
Indeed we are preparing the extended journal version of Cutmix, so we will rigorously find the best hyper-parameters alpha and prob for both mixup and cutmix on CIFAR for the more fair comparison.
Thank you :)

Have you ever try the combination of Mixup and Cutmix. It seems that they are kind of orthogonal.

@JiyueWang
In my experience, a combination of Mixup and Cutmix was okay but I cannot remember the numbers.
Indeed that kind of combination is called cutmixup as in another paper (https://arxiv.org/abs/2004.00448), also this repogitory do a similar thing (https://github.com/rwightman/pytorch-image-models/pull/218)


Add preference for custom PS module path

Add preference entry for PS module location outside of console install. Defaults to SMS_ADMIN_UI_PATH if not defined. This allows for flexibility of the repository without having to install the console.

Excellent! Thanks for the contribution!


@textsuperscript in doc leading to problems

In the documentation, the line containing @textsuperscript leads to problems when reproducing (the »@«)
https://github.com/gusbrs/postnotes/blob/10ba78acb5e3dfff3729577ec97cb7696bfab34c/postnotes-doc.tex#L382
Looks like it was predefined from »listings«. I noticed this when I played around with the font-formatting of the label.

What I see in the manual's PDF is:

which looks correct to me. Could you elaborate what do you mean by "problems"?

Ah, I see. But that is a problem in your document, not in the manual. If you want to use a macro containing a @ you'd need to wrap it between \makeatletter and \makeatother, like so:
\documentclass{book}

\usepackage{fontspec}
\usepackage{hyperref}
\usepackage{postnotes}
\makeatletter
\postnotesetup{
  makemark = {#2\hbox{\@textsuperscript{\normalfont#1}}#3} ,
  maketextmark = {#2#1.#3}}
\makeatother

\begin{document}

Test\postnote{Test}
\printpostnotes

\end{document}

The manual is making a statement on the default value of the option, which is indeed {#2\hbox{\@textsuperscript{\normalfont#1}}#3}, but the handling of catcodes for macros containing @ is already handled in the package (inside the .sty). This value is so because it is the same definition used in the kernel for footnotes, which uses the internal \@textsuperscript.
But in your document you can very well just go with \textsuperscript and not bother with that. That's OK.
Anyway, thanks for the concern and the report.


feat(ci): Add changesets

Add changesets

Changesets will open a pr if you merge any changesets that will keep updating as you merge more

When you merge that pr it will trigger a release

A github action can allow you to preview a release. This is similar to canary releases

Start by copy pasting from https://github.com/evmts/evmts-monorepo

TODO Can/should we remove lerna?

TODO this has not been tested yet at all

kinda hard to test tbh other than merging and just trying it out and fixing issues as they arise
current setup working in evmts repo though

Current dependencies on/for this PR:

main

PR #1036   👈

PR #1037

This comment was auto-generated by Graphite.

Okay so let me try to summarize the approach to check my understanding:

Merging to main will always enter pre release mode, unless we are already in pre release mode or the previous commit was explicitly exiting pre release mode

Merging a normal PR will open/update the changesets PR
Merging a changesets PR will create a prerelease (and update the changelog?)

Dispatching the exit pre release mode action will exit the pre release mode
Merging from main to v1 (this should probably later be v2 or stable) will create a regular release if we're not in pre release mode

If we're going with this two branch model, could we just always be in pre release mode on main, and always be in regular release mode on the stable branch (by exiting the pre release mode in the action that is dispatched when merging to the stable branch)

Merging to main will always enter pre release mode, unless we are already in pre release mode or the previous commit was explicitly exiting pre release mode

Not quite
Repo is in normal mode
Normal mode means you don't have a prerelease

Merging to main will make a versioning pr compiling all the changesets moving the repo into preset mode
Until you merge this pr main is still in normal mode
In normal mode you can easily keep making patches to the release branch from main still without needing to cherry-pick manually publish
As prs keep being added this pr will keep taking on commits
When you choose to release, you enter prerelease mode via merging

Repo is in prerelease mode

Merging to main will make a versioning pr just like before
When you merge this versioning pr it will make another prerelease but increasing the nonce by 1 each time

Time to actually publish

Running changeset pre exit will exit prerelease mode
For convenience there is a github action to do it
Once out of prerelease mode you can now publish normally do a normal changeset flow

could we just always be in pre release mode on main

This actually is exactly how it works. At least this is how it works based on the intention of what you meant.
By "always be in pre release mode" if I reframe that as "every publish from main is a prerelease" this is exactly what is happening here.
The thing to consider though, I made it so every release is intentional. You always merge a pr to make a release. Now, the first release is special though. When one is in prerelease mode this means they already have a prerelease published. So to literally always be in prerelease means we have already published your first prerelease.  This means we published prerelease with nonce 0 with whatever the code from the latest stable release was. That is not what you want.
A simple way to think about it is not being in prerelease mode just happens to be the time between publishing your latest stable and publishing the first (nonce 0) prerelease of the next release.
I do think you want to make every release intentional. It's an extra step (you gotta intentionally merge a pr to create any prerelease or any release) but I believe it's worth it.
Random aside
One may ask why not just have this all happen on one branch.  Basically this was in the docs and it makes sense
Warning: If you decide to do prereleases from the main branch of your repository, without having a branch for your last stable release without the prerelease changes, you will block other changes until you are ready to exit prerelease mode. We thoroughly recommend only running prereleases from a branch other than the main branch.


Build Old AWS Project

Describe the bug
I have one GM product which already run on market, but my Mac system happen critical issue, I have to move to another new Mac system. but  I can not make release build based on whole orginal project source with AWS Pod successfully.
Steps To Reproduce
two methods to reproduce this issue:

Case #1
1, copy one workable whole was project to another Mac system(like 13.3.1)
2, open orginal workspace and build
3, it can run on debug mode
4, but can not Archive one release build successfull

Detailed log as :
haseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/mike.wu/Library/Developer/Xcode/DerivedData/CloudBackup-hacchsqbopetljgtxrsizcluiqop/Build/Intermediates.noindex/ArchiveIntermediates/CloudBackup/IntermediateBuildFilesPath/CloudBackup.build/Release-iphoneos/CloudBackup.build/Script-DD5674631C5690F17B691EE7.sh (in target 'CloudBackup' from project 'CloudBackup')
    cd /Users/mike.wu/p4/IOS/BRANCH/CloudBackup/CloudBackup
    /bin/sh -c /Users/mike.wu/Library/Developer/Xcode/DerivedData/CloudBackup-hacchsqbopetljgtxrsizcluiqop/Build/Intermediates.noindex/ArchiveIntermediates/CloudBackup/IntermediateBuildFilesPath/CloudBackup.build/Release-iphoneos/CloudBackup.build/Script-DD5674631C5690F17B691EE7.sh

mkdir -p /Users/mike.wu/Library/Developer/Xcode/DerivedData/CloudBackup-hacchsqbopetljgtxrsizcluiqop/Build/Intermediates.noindex/ArchiveIntermediates/CloudBackup/BuildProductsPath/Release-iphoneos/CloudBackup.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AWSAuthCore.framework" "/Users/mike.wu/Library/Developer/Xcode/DerivedData/CloudBackup-hacchsqbopetljgtxrsizcluiqop/Build/Intermediates.noindex/ArchiveIntermediates/CloudBackup/InstallationBuildProductsLocation/Applications/CloudBackup.app/Frameworks"
building file list ... rsync: link_stat "/Users/mike.wu/p4/IOS/BRANCH/CloudBackup/CloudBackup/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AWSAuthCore.framework" failed: No such file or directory (2)
done

Case #2
1, I copy my source code without Pod project and pod file etc
2, I do start from CocoaPods steps from Pod init/ update pod file / pod install --repo-update
3, it will make new workspace
4, but it can not make debug and release build, root cause is same to case #1

Expected behavior
It's better one system make correct project, another environment can copy and make build.  or can make old project with case #2 steps.
Amplify Framework Version
1.28.1
Amplify Categories
API, DataStore, Storage
Dependency manager
Cocoapods
Swift version
5.0
CLI version
4.4
Xcode version
Xcode 14.2.1
Relevant log output
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/mike.wu/Library/Developer/Xcode/DerivedData/CloudBackup-hacchsqbopetljgtxrsizcluiqop/Build/Intermediates.noindex/ArchiveIntermediates/CloudBackup/IntermediateBuildFilesPath/CloudBackup.build/Release-iphoneos/CloudBackup.build/Script-DD5674631C5690F17B691EE7.sh (in target 'CloudBackup' from project 'CloudBackup')
    cd /Users/mike.wu/p4/IOS/BRANCH/CloudBackup/CloudBackup
    /bin/sh -c /Users/mike.wu/Library/Developer/Xcode/DerivedData/CloudBackup-hacchsqbopetljgtxrsizcluiqop/Build/Intermediates.noindex/ArchiveIntermediates/CloudBackup/IntermediateBuildFilesPath/CloudBackup.build/Release-iphoneos/CloudBackup.build/Script-DD5674631C5690F17B691EE7.sh

mkdir -p /Users/mike.wu/Library/Developer/Xcode/DerivedData/CloudBackup-hacchsqbopetljgtxrsizcluiqop/Build/Intermediates.noindex/ArchiveIntermediates/CloudBackup/BuildProductsPath/Release-iphoneos/CloudBackup.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AWSAuthCore.framework" "/Users/mike.wu/Library/Developer/Xcode/DerivedData/CloudBackup-hacchsqbopetljgtxrsizcluiqop/Build/Intermediates.noindex/ArchiveIntermediates/CloudBackup/InstallationBuildProductsLocation/Applications/CloudBackup.app/Frameworks"
building file list ... rsync: link_stat "/Users/mike.wu/p4/IOS/BRANCH/CloudBackup/CloudBackup/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AWSAuthCore.framework" failed: No such file or directory (2)
done

sent 29 bytes  received 20 bytes  98.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code

Is this a regression?
No
Regression additional context
No response
Device
Any
iOS Version
iOS16 etc
Specific to simulators
No response
Additional context
No response

@smediomike Thanks for opening the issue.
I cannot repro the issue in my local. Setting up with POD seems to work fine at my end. Some questions I have are:

Have you tried cleaning and clearing the derived data from the machine?
Would you be able to share the POD file?
If you have done anything different for release builds?
Do you have any special handling been done in the build script phase?

Hello
please see my below comment:

Have you tried cleaning and clearing the derived data from the machine?

==> Yes, I tried to clear all issue, folder and derived data

Would you be able to share the POD file? ==> please see attachement
If you have done anything different for release builds?

==>  no, i used save environment, i re-do according to AWS’s website document based on current project.

Do you have any special handling been done in the build script phase?

==> no
Finally i resolved this issue at the steps:
1, make new same name xcode project
2, excute pod command like website document to initliaze and create workspace
3, copy old project files to replace new project, keep new workspace and pod project.
4, as this, i can make release build. so this issue should relate with the paths in build script’s release enviorment.
Regards,
mike.wu
在 2023年4月22日 01:14，Harshdeep @.***> 写道：
@smediomikehttps://github.com/smediomike Thanks for opening the issue.
I cannot repro the issue in my local. Setting up with POD seems to work fine at my end. Some questions I have are:

Have you tried cleaning and clearing the derived data from the machine?
Would you be able to share the POD file?
If you have done anything different for release builds?
Do you have any special handling been done in the build script phase?

—
Reply to this email directly, view it on GitHubhttps://github.com/aws-amplify/amplify-swift/issues/2872#issuecomment-1518118037, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADD6F3QMKGC5YF7SQ3YWYPTXCK6AFANCNFSM6AAAAAAXCHQDMY.
You are receiving this because you were mentioned.Message ID: @.***>


dns request failed: request timed out

I'm using arch linux, so the packages should have the newest version.
I'm using firewallD and rootless podman with netavark and aardvark-dns.
I understand, that rootless podman with netavark won't manage my firewallD, but I would like to know which rules I need to activate to avoid the spam in my journal.
And if the rule need to be in my loopback or network interface. (Also if it is enough to allow communication with the host instead of having an open port in the internet.
My dns resolver is systemd-resolved
$ ls -lha /etc/resolv.conf
lrwxrwxrwx 1 root root 39 31. Okt 10:22 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf

My journal spam:
aardvark-dns[6156]: 21433 dns request failed: request timed out
The rootless container itself can ping to google.com.
I didn't test if they can ping to a container dns name.

Ah, after turning /etc/resolv.conf again into a symlink of systemd-resolved
sudo ln -rsf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
the messages disappear.
I assume it wants now to call the localhost ip of the systemd-resolved instead of the network ip of the outside resolver.
I don't know how I could let this plugin verbose debug logging into the journal, but I'm glad that it is fixed now.

And it's back
dns request failed: request timed out

I detected the same problem on my raspberry pi with Fedora and rootless podman containers.

Having the exact same issue. DNS lookup is extremely unstable, only two thirds of  lookups work

Now using a nextcloud container which communicates with a PostgreSQL and a LDAP container.
I access the nextcloud container with a nginx reverse proxy container from the internet.
1/3 of the nextcloud web interface results into a 502 bad gateway, because of the unstable DNS.
And my logs are getting spammed with
aardvark-dns[3617]: 50310 dns request failed: request timed out

I hope the next podman release will include the new network stack which hopefully fixes this issue.

It is impossible to help with these issues as reporters did not provide versions for podman, netavark, and aarvark-dns.  please provide as much relevant information as possible.

podman: 4.3.1
netavark: 1.4.0
aardvark-dns: 1.4.0

would you say your machine/vm is high performent or maybe has slow IO/processor/RAM limitations?  I'm trying to understand if you might have a race.

The first bare metal server server with this issue has the HDD connected to SATA with the server.
CPU: Intel Xeon E3-1230 v3 - 3.3 GHz - 4 core(s)
RAM: 32GB - DDR3
The second bare metal server has a 870 Evo SSD connected via SATA to the server.
CPU: AMD Phenom 2 955 X4 3.1GHz 4 cores
RAM: 6GB - DDR2
The second server spams this issue many times.
The first server spams it less often but also regularly.

@flouthoc wdyt?

Now my faster server spammed it at night while the server pods weren't used by clients.

We used to see similar issues in older versions of netavark and aardvark in Podman CI as well but it was fixed in newer versions with https://github.com/containers/aardvark-dns/pull/220 but I guess there might be some issue which is not being reproduced in our CI, I'll try to reproduce this locally and see if i can reproduce this.

I'm seeing the same problems on a freshly installed Fedora Server 37 instance as well. The machine is basically completely idling with no load and my journal is still filled with these errors. This issue was not present before 2022, and I've ran similar setups on slower machines without any DNS lookup issues.
podman: 4.3.1
netavark: 1.4.0
aardvark-dns: 1.4.0

Does this cause problem for the container or is just an error that is logged often?

It's logged often.
I think the services just repeat the DNS action again until it works.
So I would say it just consumes CPU time and maybe network speed?
Maybe I don't use it long enough to see long term errors.

Do you have a simple reproducer? What kind of application are you running and how many dns request does it make?

Tested with v1.5 and I'm getting a lot of dns request got empty response as well. Here's a list of all the containers I'm running on my system:

eclipse-mosquitto:2
koenkk/zigbee2mqtt
homeassistant/home-assistant:stable

It's notable that none of these containers are particularly demanding on the hardware, and my system load average is generally below 0.1 at all times.

It happens without workload.
The server just runs

mailrise
swag & duckdns
borg-backup-server

I'm experiencing the same issue with aardvark-dns reporting lots of dns request got empty response errors in my logs. It seems to be causing problems for at least the containers running Uptime Kuma, Invidious and Jellyseerr. Uptime Kuma starts throwing ECONNRESET when doing GET requests, and Invidious and Jellyseerr similarly start to have their requests fail, with external content taking a long time to load, if at all.
It happens with both 1.5.0 and the latest 1.6.0 from podman-next. For me it seems to start after around 3 days of uptime. I've tried changing machines and switching from onboard Realtek to an Intel i350-T2 controller, but both to no avail. Rebooting solves the issue, until uptime reaches 3 days again.

Just ran into this issue as well with Nextcloud + Nginx Proxy Manager. What's funny is that I am using the same docker-compose setup on two different servers and one works fine while the other one doesn't. The only difference is that the one that is breaking isn't publicly accessible on the Internet and is instead setup to respond over a .lan domain which is configured on the home router. NPM has a proxy host setup that responds to mydomain.lan and redirects it to the nextcloud container.
It will work for a bit when I up/down NPM, but then eventually fail after a few hours or even days with 502 bad gateway errors, and dns request got empty response starts getting spammed into journalctl.
My setup

podman: 4.9.3-1
netavark: 1.10.3-1
aardvark-dns: 1.10.0-1

Here are my docker-compose files to set up each of them (rootful btw):
Nextcloud docker-compose.yml
   version: '3'

   services:
     db:
       image: mariadb
       command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
       restart: always
       volumes:
         - ./db:/var/lib/mysql
       environment:
         - MYSQL_ROOT_PASSWORD=<pw here>
         - MARIADB_AUTO_UPGRADE=1
         - MARIADB_DISABLE_UPGRADE_BACKUP=1
       env_file:
         - db.env
       networks:
         - backend

     redis:
       image: redis:alpine
       restart: always
       networks:
         - backend

     nextcloud:
       image: nextcloud:apache
       restart: always
       volumes:
         - ./html:/var/www/html
       environment:
         - MYSQL_HOST=db
         - REDIS_HOST=redis
       env_file:
         - db.env
       depends_on:
         - db
         - redis
       networks:
         - nextcloud_frontend
         - backend

     cron:
       image: nextcloud:apache
       restart: always
       volumes:
         - ./html:/var/www/html
       entrypoint: /cron.sh
       depends_on:
         - db
         - redis
       networks:
         - backend

   networks:
     nextcloud_frontend:
       external: true
     backend:

db.env
   MYSQL_PASSWORD=<pw here>
   MYSQL_DATABASE=nextcloud
   MYSQL_USER=nextcloud

Nginx Proxy Manager docker-compose.yml
   version: '3.8'
   services:
     proxy:
       image: 'jc21/nginx-proxy-manager:latest'
       restart: always
       ports:
         # These ports are in format <host-port>:<container-port>
         - '80:80' # Public HTTP Port
         - '443:443' # Public HTTPS Port
         - '81:81' # Admin Web Port
         # Add any other Stream port you want to expose
         # - '21:21' # FTP

       # Uncomment the next line if you uncomment anything in the section
       # environment:
         # Uncomment this if you want to change the location of
         # the SQLite DB file within the container
         # DB_SQLITE_FILE: "/data/database.sqlite"

         # Uncomment this if IPv6 is not enabled on your host
         # DISABLE_IPV6: 'true'

       healthcheck:
         test: ["CMD", "/bin/check-health"]
         interval: 30s
         timeout: 3s

       volumes:
         - ./data:/data
         - ./letsencrypt:/etc/letsencrypt

       networks:
         - nextcloud_frontend

   networks:
     nextcloud_frontend:
       external: true

Can anyone check if they still see this with aardvark-dns v1.12.2?

@Luap99 At least for me it looks fine.
Thank you.

I started getting a fair number of dns request got empty response from aardvark-dns out of the blue yesterday. I'm running podman from COPR and daily updates with dnf-automatic so I can't say for sure what version it started with. My system has been stable otherwise.
podman version 5.3.0-dev-29eb8ce09
aardvark-dns 1.13.0-dev

I encountered the same issue, and it turned out to be self-inflicted. I had added the podman network gateway IP to my /etc/resolv.conf, which I believe caused an infinite DNS resolution loop since Aardvark DNS might be using /etc/resolv.conf for upstream. Once I removed the podman network gateway IP from /etc/resolv.conf, the issue was resolved.

My resolv.conf seems to be in order.
# Generated by NetworkManager
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver <IP_ADDRESS>
nameserver 2a01:4ff:ff00::add:2
nameserver 2a01:4ff:ff00::add:1

Over the course of a few hours yesterday (21:31 to 23:00 UTC), a bunch of empty response messages were logged, but none have been logged since.
Also network related, and also odd, is pasta has recently started logging No external routable interface for IPv6 on my dev machine.
podman run --rm -i --log-driver=passthrough-tty -v /codebase/webapp:/webapp dd2to3 pyup_dirs --recursive --py313-plus /webapp

Oct 16 13:30:53 dd-owen-dev pasta[79493]: No external routable interface for IPv6

% ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:0c:29:67:79:43 brd ff:ff:ff:ff:ff:ff
    altname enp3s0
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global noprefixroute ens160
    valid_lft forever preferred_lft forever
15: podman1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether fe:39:d9:c2:2b:8a brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global podman1
    valid_lft forever preferred_lft forever
    inet6 fe80::fc39:d9ff:fec2:2b8a/64 scope link
    valid_lft forever preferred_lft forever
16: veth0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether e2:4f:e8:89:28:c4 brd ff:ff:ff:ff:ff:ff link-netns netns-9f79fe86-d8c5-bd93-4fef-0f95d4ec782c
    inet6 fe80::e04f:e8ff:fe89:28c4/64 scope link
    valid_lft forever preferred_lft forever
17: veth1@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether b2:12:13:3e:d7:d1 brd ff:ff:ff:ff:ff:ff link-netns netns-264e8cb4-a3a2-84ec-4dad-5d146bff3f72
    inet6 fe80::b012:13ff:fe3e:d7d1/64 scope link
    valid_lft forever preferred_lft forever
18: veth2@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether fe:fa:ac:70:ca:85 brd ff:ff:ff:ff:ff:ff link-netns netns-10327a44-fdc9-099e-340f-17ddfd759e0d
    inet6 fe80::fcfa:acff:fe70:ca85/64 scope link
    valid_lft forever preferred_lft forever
19: veth3@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether 1e:20:af:e6:df:23 brd ff:ff:ff:ff:ff:ff link-netns netns-e70477fb-f6e9-ade7-c624-2b4ce47053be
    inet6 fe80::1c20:afff:fee6:df23/64 scope link
    valid_lft forever preferred_lft forever
20: veth4@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether d2:3f:47:c2:e3:91 brd ff:ff:ff:ff:ff:ff link-netns netns-448fb15e-a452-efde-7ae0-87d925f94091
    inet6 fe80::d03f:47ff:fec2:e391/64 scope link
    valid_lft forever preferred_lft forever
21: veth5@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether 9e:91:56:22:b6:b3 brd ff:ff:ff:ff:ff:ff link-netns netns-6e0e3dfe-5214-81d4-ea80-043e5844a1e4
    inet6 fe80::9c91:56ff:fe22:b6b3/64 scope link
    valid_lft forever preferred_lft forever
22: veth6@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether fa:cf:0b:9c:28:c7 brd ff:ff:ff:ff:ff:ff link-netns netns-c3bfdebf-2e88-8d7d-d3cd-2060a8c7428a
    inet6 fe80::f8cf:bff:fe9c:28c7/64 scope link
    valid_lft forever preferred_lft forever
23: veth7@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether 66:71:f8:9e:67:bc brd ff:ff:ff:ff:ff:ff link-netns netns-c72a6ec6-a03e-579c-8d1f-86a6719d86b7
    inet6 fe80::6471:f8ff:fe9e:67bc/64 scope link
    valid_lft forever preferred_lft forever
24: veth8@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether 4a:3a:76:80:59:9b brd ff:ff:ff:ff:ff:ff link-netns netns-76238717-eeb9-50a5-f96e-3aac5e4e7d31
    inet6 fe80::483a:76ff:fe80:599b/64 scope link
    valid_lft forever preferred_lft forever
25: veth9@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master podman1 state UP group default qlen 1000
    link/ether c2:c6:30:88:ad:56 brd ff:ff:ff:ff:ff:ff link-netns netns-41c7d6c5-76f6-11f3-f772-06f999175ed6
    inet6 fe80::c0c6:30ff:fe88:ad56/64 scope link
    valid_lft forever preferred_lft forever

Other than dnf-automatic package installs, not much about my dev machine has changed in the better part of a year.


Check payed price in the post signal.

I want to ask if it is a good idea to check the payed price in the post signal.
 order = Order.objects.get(uuid=ipn_obj.uuid)
        if ipn_obj.amount  == order.get_price():

Because users can change the amount of money send by the form. It seems to me like an important security trick. Is it a good idea to add it to the documentation?
:beers:

Yes, it would be good to say something broader - that users are able to change many things about the payment that is actually made, including the price, so these things should be checked. Patch welcome!


Add uses to lotteries

Add uses to lotteries
Lotteries have been added since the game was created, but it doesn't have a good use yet.
I have thought of an idea of lotteries making fortune tools and stuff like that.
Here are some of my ideas:
1. Crafting lotteries: 4 planks, 1 chest, 4 stone
2. Uses:
2a. Block break fortune: 2 lotteries -> Block Break Fortune I, You get 1-2 of the target block when you break a block (able to toggle)
2b. Explosive pickaxe fortune: 3 lotteries + Explosive Pickaxe -> Explosive Pickaxe Fortune I, You get 1-2 of the target block when you break blocks with an explosive pickaxe. The number of blocks you get from an Explosive Pickaxe Fortune I multiplies with the number of blocks you get from Block Break Fortune I, which means you have a 1 in 4 chance of getting 20 (2*2*5) total blocks from mining with an explosive pickaxe with fortune boost.
The version will become v5.1 when it finishes. - @Wax01-Wax01

Finished :)


Add quieter-test make target

Running this is the same as make test but files with no test coverage are removed from the output.
The idea is to make the output more useful and less noisy, especially for the integration and generative tests.

Just scratching an itch here - I won't be too sad if you don't like it!

I changed it so I'm changing the existing make test and there's no new target.


Figure out a way on how to run the auth-ssh on Port 22

With OpenShift we cannot expose the Port 22, it would need to be something at 30000+
It would be awesome to have some way to run the auth-ssh server on port 22

Cleaning up issues:
@Schnitzel currently we go with 32222 as default. Ok to close?

yes 3222 works


install

Can someone help me how to install this on a windows pc? i+ve installed python but i cannot get this package to install. i tried anything i could, through cmd in admin mode, through python module, python 3.10 but i only get some error when i tray to activate the command:
Installing
Telegram Explorer is available through pip, so, just use pip install in order to fully install TeX.
pip install TelegramExplorer

<!--

Well somehow something got installed once i copied this command from this window and this is what we get:

Successfully built Telethon
Installing collected packages: urllib3, idna, charset-normalizer, certifi, zipp, tomli, requests, msgpack, more-itertools, rapidfuzz, pywin32-ctypes, pyrsistent, pyproject-hooks, ptyprocess, platformdirs, packaging, jaraco.classes, importlib-metadata, filelock, distlib, crashtest, colorama, cachecontrol, attrs, virtualenv, trove-classifiers, tomlkit, shellingham, requests-toolbelt, pyasn1, poetry-core, pkginfo, pexpect, keyring, jsonschema, installer, dulwich, cleo, build, typing-extensions, tgcrypto, rsa, pyproject-api, pyaes, poetry, pluggy, MarkupSafe, greenlet, chardet, cachetools, tox, toml, telethon-cryptg, Telethon, SQLAlchemy, pytz, poetry-plugin-export, Jinja2, discord-webhook, cryptg, aiosqlite, TelegramExplorer
    Running setup.py install for pyaes ... done
Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.3 SQLAlchemy-2.0.23 TelegramExplorer-0.2.15 Telethon-1.29.2 aiosqlite-0.19.0 attrs-23.1.0 build-0.10.0 cachecontrol-0.13.1 cachetools-5.3.2 certifi-2023.7.22 chardet-5.2.0 charset-normalizer-3.3.2 cleo-2.1.0 colorama-0.4.6 crashtest-0.4.1 cryptg-0.4.0 discord-webhook-1.3.0 distlib-0.3.7 dulwich-0.21.6 filelock-3.13.1 greenlet-3.0.1 idna-3.4 importlib-metadata-6.8.0 installer-0.7.0 jaraco.classes-3.3.0 jsonschema-4.17.3 keyring-24.3.0 more-itertools-10.1.0 msgpack-1.0.7 packaging-23.2 pexpect-4.8.0 pkginfo-1.9.6 platformdirs-3.11.0 pluggy-1.3.0 poetry-1.6.1 poetry-core-1.7.0 poetry-plugin-export-1.6.0 ptyprocess-0.7.0 pyaes-1.6.1 pyasn1-0.5.0 pyproject-api-1.6.1 pyproject-hooks-1.0.0 pyrsistent-0.20.0 pytz-2023.3.post1 pywin32-ctypes-0.2.2 rapidfuzz-3.5.2 requests-2.31.0 requests-toolbelt-1.0.0 rsa-4.9 shellingham-1.5.4 telethon-cryptg-0.0.4 tgcrypto-1.2.5 toml-0.10.2 tomli-2.0.1 tomlkit-0.12.2 tox-4.11.3 trove-classifiers-2023.11.13 typing-extensions-4.8.0 urllib3-2.1.0 virtualenv-20.24.6 zipp-3.17.0
WARNING: You are using pip version 21.2.3; however, version 23.3.1 is available.
You should consider upgrading via the 'C:\Users\***\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.

What do we do from here, how can we use this to search and download all data from this user that scammed us and many many others with the help of his telegram adrress?

Somehow we got it, i think so, this is what comes at the end of the instalation- 'Successfully built Telethon
Installing collected packages...' How do we use this how do we start it to search for all the data of this scammer who stole money from so many others with the help of his telegram adrress?

Hi guibacellar/TEx,
thank you for all your effort. I tried following your instructions but to
be honest that is way above my capabilities.
I know, for you as a professional in programming this seems easy, but for
us, elderly people, this is a high tech of the next century.
Is there any way i could forward you the telegram address of this scammer
so you can extract all the data so i can forward them with all the other
data i already collected about him to the authorities?
He i still scamming people, his eth address shows that clearly. He receives
only small amounts as he did from me, there're no big numbers as he brags
in his videos how much he makes with these deployments of his scripts.

At least he won't be able to scam any more people as he did in the past
years.
Best,
S
On Thu, Nov 23, 2023 at 1:48 AM guibacellar @.***>
wrote:

Hi @sebatrino https://github.com/sebatrino
First of all, thank you for your interest in using TEx
In windows (by the way, I'm using Windows for development), first, create
a new venv (Ref: https://docs.python.org/3/library/venv.html). Inside the
venv, try: path_to_pip_on_venv install TelegramExplorer.
Example thay I test for you on my own machine:

OPEN CMD
Create a new folder (EX: TEx3 in my case, and I'm using my E:\ drive)
enter the folder
type and Enter: python -m venv E:\TeX3
then, type and Enter: Scripts\pip.exe install TelegramExplorer

Now, test using: Scripts\python.exe -m TEx --help
Also, I'm Creating a new Issue (
https://github.com/guibacellar/TEx/issues/62)[https://github.com/guibacellar/TEx/issues/62]
to update the Documentation with you question in order to help other users.
—
Reply to this email directly, view it on GitHub
https://github.com/guibacellar/TEx/issues/59#issuecomment-1823702490,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A53GBSSTLX5O4LCP2T7LXFLYF2MOZAVCNFSM6AAAAAA7KTYR26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTG4YDENBZGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Technically speaking, TEx was designed to be the simplest to use. I understand that your problem is previous, that is, in the installation process from Python to TEx.
I would love to be able to guide you through this process, as I understand that it would be beneficial for you to learn and use other tools that you come across.
And, yes, if you want to chat with me in private, feel free to do so. All my contacts and profiles are available at https://github.com/guibacellar. If you have a Linkedin account, please, contact-me there.https://github.com/guibacellar

Hi,
'I would love to be able to guide you through this process, as I
understand that it would be beneficial for you to learn and use other tools
that you come across.'
How would that work? I have no idea on which continent you are and there're
multiple hours difference between Europe where i am and who knows where you
are.
Believe it or not i belong to the old OG's, from the time we played with ZX
spectrum, commodore 64 and such, so i had my work done with computer
coding, but after the car accident f'ed up my brains i'm literally near to
go into early pension, unemployable.
I need this data not for my benefits but to help authorities to stop this
scammer, because he is a special kind of species. He is not as greedy as
all the others, he takes his time, is okay with small profits but he does
that from week to week, month to month and the money just keeps coming, it
is not much, but with the time the number only grows larger.
Can you provide me with detailed instructions how can i add this Tex to
python once i have python installed?
I tried it with chat gpt but it simply wouldn't work, i got repeatedly
some, ' cannot find path to...?
For some reason on my old pc cmd and power-shell cannot get a direct access
to specific files/folders.
I had a similar problem with Yubico desktop version, it simply would not
work until i set up a new pc with ryzen 5700g, fresh windows and before i
set up q+q shut up i tried it and yubico worked. I managed to set up yubico
and q+q so that they now both work.
Maybe on this new pc i can also get your Tex working.
I am afraid to discuss any specifics about the person who scammed me,
because he could easily be on github, i mean he is a dev, at least he
claims so and after what i found out this week about one of the most
popular 'passive investment' platforms, god help these people when they
realize whom they gave their money.
best,
On Tue, Nov 28, 2023 at 12:35 PM guibacellar @.***>
wrote:

Technically speaking, TEx was designed to be the simplest to use. I
understand that your problem is previous, that is, in the installation
process from Python to TEx.
I would love to be able to guide you through this process, as I understand
that it would be beneficial for you to learn and use other tools that you
come across.
And, yes, if you want to chat with me in private, feel free to do so. All
my contacts and profiles are available at https://github.com/guibacellar.
If you have a Linkedin account, please, contact-me there.
https://github.com/guibacellar
—
Reply to this email directly, view it on GitHub
https://github.com/guibacellar/TEx/issues/59#issuecomment-1829647200,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A53GBSUTSAJO6IFRUBX5MFDYGXD6ZAVCNFSM6AAAAAA7KTYR26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRZGY2DOMRQGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

No problem, we can do this one step at time, LOL.
In order to proper help and guide you in the process, I ask you to add me on Linkedin and call me there

Hi,
i downloaded and installed python 3.10, opened cmd and wanted to start tex,
with no idea how, and end up with this:
'C:\Windows\system32>pythonPython 3.10.0 (tags/v3.10.0:b494f59, Oct  4
2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32Type "help",
"copyright", "credits" or "license" for more information.>>>
Scripts\pip.exe install TelegramExplorer  File "", line 1
Scripts\pip.exe install TelegramExplorer
^SyntaxError: unexpected character after line continuation
character>>> Scripts\pip.exe install TelegramExplorer  File "", line
1    Scripts\pip.exe install TelegramExplorer

                                      ^SyntaxError: unexpected

character after line continuation character*

What is the basic line/command (without going into the virtualization
thing) to install tex into python which is installed on my C: drive?
Also, i've read that one must have the phone number of a specific telegram
channel (phone_number > Required - Target Phone Number) if one wants to
access and download it?
Would the name of the telegram channel also do, the name with which one
gets the invitation and signs up to that channel?
Which part of python must one use to install tex, the module, the idle, or
python.exe itself?
Would it help if i move the 'tex' folder with its data into some part of
where python is installed on C drive?
I tried this from your link:
'python -m venv /path/to/new/virtual/environment'
And got:

                   ^^^^^^^^^^^^^^^^^^^^^^^^SyntaxError: invalid

syntax. Perhaps you forgot a comma?>>> python -m venv
/path/to/new/virtual/environment  File "", line 1    python -m venv
/path/to/new/virtual/environment
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^SyntaxError: invalid syntax.
Perhaps you forgot a comma?>>>*
I tried this in cmd and python itself, same negative result.
then i tried the next option
c:>Python35\python -m venv c:\path\to\myenvand again with no luck. i
changed the 35 to 31, maybe that's the right version of python but again no
luck.SyntaxError: invalid syntax. Perhaps you forgot a comma?>>> python -m
venv /path/to/new/virtual/environment  File "", line 1    python -m
venv /path/to/new/virtual/environment
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^SyntaxError: invalid syntax.
Perhaps you forgot a comma?>>> c:>Python35\python -m venv
c:\path\to\myenv  File "", line 1    c:>Python35\python -m venv
c:\path\to\myenv
^
SyntaxError: unexpected character after line continuation character>>>
c:>Python31\python -m venv c:\path\to\myenv  File "", line 1
c:>Python31\python -m venv c:\path\to\myenv
^SyntaxError: unexpected character after line continuation
character>>> c:>python -m venv  File "", line 1    c:>python -m
venv
^
SyntaxError: unexpected character after line continuation character>>>
c:\path\to\myenv  File "", line 1    c:\path\to\myenv
^SyntaxError: unexpected character after line continuation character>>>
c:>Python35\python -m venv  File "", line 1    c:>Python35\python
-m venv
^
SyntaxError: unexpected character after line continuation character>>>
c:\path\to\myenv  File "", line 1    c:\path\to\myenv
^SyntaxError: unexpected character after line continuation character>>>
Best,
S
On Tue, Dec 5, 2023 at 1:37 AM guibacellar @.***> wrote:

No problem, we can do this one step at time, LOL.
In order to proper help and guide you in the process, I ask you to add me
on Linkedin and call me there
—
Reply to this email directly, view it on GitHub
https://github.com/guibacellar/TEx/issues/59#issuecomment-1839801966,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A53GBSWVFRLWT7VIX7SZYBTYHZUEPAVCNFSM6AAAAAA7KTYR26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZHAYDCOJWGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Resolve unmet peer dependencies

Some warnings are displayed when executing "yarn install".
$ yarn install
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[4/4] Building fresh packages...
success Saved lockfile.
Done in 3.16s.

This pull request resolves the warnings by installing missing modules.

force-pushed to fix the previous wrong changes

Sorry, I noticed that eslint-config-airbnb is not used. So I will close this pull request and add the deletion process to #22.


Share text is empty for Facebook channel on Android

I want to share a text on the Facebook app but the text is empty when the app is loaded.
I tested on a physical device which has Android 5.1 installed.

tns-android 1.6.3
tns-core-modules 1.6.0
nativescript-social-share ^1.1.2

I have the same issue on :

tns-android 1.7.1
tns-core-modules 1.7.1

Hey @guillaume-roy,
Sorry I let this sit for so long. I can recreate this problem but I’m not sure what’s up. I think I might need @eddyverbruggen’s expertise 😀

From @eddyverbruggen, who for some strange reason is unable to comment here:

This is the cause of many tickets in the Cordova sister plugin. Check for instance this issue - it's against Facebook's policy to prefill the sharesheet message.

Yeah i found that this morning. It seems that only URLs are authorized to share message.
Bad Facebook bad :s

Facebook stinks (testing if TJ unblocked me) :+1:

Hi All,
I found this repo. This is working very well...
https://github.com/mobilemindtec/nativescript-facebook


some syntax error on installing

byte-compiling build\bdist.win32\egg\pyntcloud\pyntcloud.py to pyntcloud.pyc
File "build\bdist.win32\egg\pyntcloud\pyntcloud.py", line 357
def get_KDTree(self, *args, element='vertex', and_set=True):
^
SyntaxError: invalid syntax
byte-compiling build\bdist.win32\egg\pyntcloud\ransac\ransac.py to ransac.pyc
byte-compiling build\bdist.win32\egg\pyntcloud\ransac\ransac_models.py to ransac_models.pyc
File "build\bdist.win32\egg\pyntcloud\ransac\ransac_models.py", line 87
return proj_points, norm_all(orthogonal_projection)
SyntaxError: 'return' outside function

Hi!
The first syntax error I suspect that is because you are not using python3 (my fault, I now specified that this is the required version in the README). You can read more info here. Anyway I change the sintax of the function.
The second one is fixed.
Please be aware that I haven't released the 0.1 version yet and there is a lot of changes that I haven't comitted.
Thanks


Decide on a better name (suggestions welcome)

The name better_chat is not very good as it is vague. We need a name that really tells the user what the mod does.

The name has been changed to chat_time_stamps as it is better than better_chat but I still would like a better name if anyone can think of one. That is why this issue hasn't been closed yet.


[WIP] fix: 404/500 Language update v1

Closes #178
Screenshots updated 1/23
404 - Not found

500 - Error

@meissadia Did this get a Natalia review yet? Is this good to go?

@billhimmelsbach @meissadia @dan-padgett
Did we nail down where a user will go if they click on the "Visit platform home"? Will it depend on whether they hit this page after successfully logging in and completed their user profile or not? The questions we added before the contact support link are meant to be read as, if the answer to this question is true then contact our support staff? "Has this error persisted" is meant to ask whether they have tried multiple times and had the same result?

Did we nail down where a user will go if they click on the "Visit platform home"?

We should send them to the unauthenticated landing page because it's least likely to lead immediately to another 500. If we ever needed to put up a "System is down/Maintenance" message post-mvp, it would also go there on the unauthenticated landing page which also makes me want to direct people to it if they encounter errors.

"Has this error persisted"
I feel like a more plain language explanation might be good, maybe something like: "Does this error keep happening?"

@natalia-fitzgerald @billhimmelsbach
Updated language and widths:


demo2 wrong

tree.js:81 Uncaught TypeError: Cannot read property 'on' of undefined
at i.initGird (tree.js:81)
at n.treeGird (tree.js:435)
at n. (demo2.html:37)
at c (layui.js:2)
at r (layui.js:2)
at s (layui.js:2)
at HTMLScriptElement. (layui.js:2)

Fixed.


feat(swapper): get THOR swaps trade rate from quote

Description
Draft until we go monorailz and I test this one thoroughly
Test me linked in https://github.com/shapeshift/web/pull/4217
Screenshots

Current dependencies on/for this PR:

main

PR #1236   👈

This comment was auto-generated by Graphite.

Choo choo https://github.com/shapeshift/web/pull/4221


FINERACT-1191: Finceract Documentation in Asciidoc

Description
Translated everything under the docs folder into Asciidoc format. The JSON request specs are now under the resources folder (didn't know what else to do with them or if they are actually still required). References to Mifos replaced with Fineract (wherever I found them). Order of chapters is somewhat arbitrary, just made a choice that didn't seem too odd. Find attached a first sample for the PDF output.
index.pdf

@vidakovic looks like the build is failing due to some invalid option..?

@ptuomola my bad... "--fail-fast" is a parameter on "integrationTest" and not on the whole Gradle command. Fixed it.

Interesting. FYI build failure here should be addressed by my #1474.

@ptuomola @vorburger FYI: found the solution for the failing build... easy, just Ghostscript was missing (for PDF doc build)

@vorburger #1465 and #1489 are included here. Just waiting for the build to finish...


Drive Sync is broken after last update

After the last update that fixed the start up crash, now drive sync fails, it says the "wait for the drive service to start"
using ADT-1

I'll check it. The two are probably related. :|
On Mon, Nov 30, 2015 at 6:02 PM, BradleyRL<EMAIL_ADDRESS>wrote:

After the last update that fixed the start up crash, now drive sync fails,
it says the "wait for the drive service to start"
using ADT-1
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/79.

This has since been fixed.


synchronous RPDOs lost

I’m using CANopenNode for an actuator project. Asynchronous RPDOs work fine. However, I noticed that some synchronous RPDO commands were getting lost. It looks like CO_RPDO_process() clears the CANrxNew flags every time it is called, rather than just when the sync flag is set and the RPDO processed. The main loop calls CO_process_SYNC_RPDO() once every one millisecond tick. If the sync message arrives once every 10ms and the RPDO arrives at some random time between syncs, there would be a 90% chance of the function resetting the new flag without processing the RPDO. I’m wondering if this is a bug or I’ve misunderstood something. Thanks.

The standard says:
"The data of synchronous RPDOs received after the occurrence of the SYNC is passed to the
application with the occurrence of the following SYNC, independent of the transmission rate
specified by the transmission type. The data of event-driven RPDOs is passed directly to the
application."
Synchronous PDOs shall be transmitted inside sync window, otherwise they are ignored. They are passed to application immediately after the next SYNC message.
You can set RPDO to event driven (transmission type is 254 or 255), even if TPDO in transmitting device is set to synchronous. Or you can set synchronous windows.
However, this part is quite new and is not deeply tested.

For this application, the sync window is disabled (OD_synchronousWindowLength=0), so I would expect a synchronous RPDO received a few milliseconds after a sync message to be processed on the following sync for any time interval, assuming no other RPDO arrives before the sync. (In this case, the sync interval is 30ms) However, CO_process_SYNC_RPDO calls CO_RPDO_process once per millisecond between syncs with syncWas=0. This clears the RPDO CANrxNew flag before the next sync, and the RPDO does not get passed to the application. If the RPDO happens to arrive in the millisecond before the sync, it does get passed to the application. RPDOs configured as event driven are always processed.

The following code change in CO_PDO.c fixed the problem for me.
void CO_RPDO_process(CO_RPDO_t *RPDO, bool_t syncWas){
if(!RPDO->valid || !(*RPDO->operatingState == CO_NMT_OPERATIONAL))
{
RPDO->CANrxNew[0] = RPDO->CANrxNew[1] = false;
}
else if(!RPDO->synchronous || syncWas)
{
...
}
}

I checked it and there was a bug (race conditions):
function CO_process_SYNC_RPDO() (from CANopen.c) calls CO_SYNC_process() and then calls CO_RPDO_process() for each RPDO. CAN messages are received from interrupt, which has higher priority than CO_process_SYNC_RPDO().
Following situation was problematic:

CO_SYNC_process() was called, no SYNC detected.
From CAN bus comes the train with SYNC and PDOs, which was immediately processed by CAN receive interrupt.
CO_process_SYNC_RPDO() was interrupted in the middle and now continues with CO_RPDO_process() calls. In that case RPDOs were deleted.

Stack is now updated with the change from above. Operational RPDOs are not supposed to be deleted in any case. (CO_CANclearPendingSyncPDOs() only clears TPDOs outside window.)
Thank you.


Warnings using getMesh from @graphql-mesh/runtime

Describe the bug
Using getMesh from @graphql-mesh/runtime raises following warnings:

Warnings
<EMAIL_ADDRESS>Critical dependency: the request of a dependency is an expression

<EMAIL_ADDRESS>Critical dependency: the request of a dependency is an expression

<EMAIL_ADDRESS>Critical dependency: the request of a dependency is an expression

<EMAIL_ADDRESS>Critical dependency: the request of a dependency is an expression

./node_modules/fast-json-stringify/index.js
Module not found: Can't resolve 'long' in '/workspaces/conferences/frontend/node_modules/fast-json-stringify'

./node_modules/fast-json-stringify/index.js
Module not found: Can't resolve 'uglify-es' in '/workspaces/conferences/frontend/node_modules/fast-json-stringify'

./node_modules/fast-json-stringify/index.js
Module not found: Can't resolve 'uglify-es/package.json' in '/workspaces/conferences/frontend/node_modules/fast-json-stringify'

To Reproduce
Steps to reproduce the behavior:
Use getMesh:
const meshConfig = await findAndParseConfig();
const { sdkRequester } = await getMesh(meshConfig)

Expected behavior
There should be no warnings.
Environment:

OS: Ubuntu 20.04.1
@graphql-mesh/config: 0.16.6
NodeJS: v15.5.0
TypeScript: 4.3.2
React: 17.0.2

@graphql-mesh/config is not compatible to React or any other environment that uses bundler or something else;
We have the following example for React.
https://github.com/Urigo/graphql-mesh/tree/master/examples/openapi-react-weatherbit


Consider terminology change from "Contact Event Numbers"

As discussed on the cross-organizational Zoom call, we should try to standardize terminology between all the different contact tracing protocols.
One point of discussion was the term "Contact Event Number".  Some points of discussion:

the name should not have "ID" in the name, because this suggests that there's a strong identity, which is not the case;
the name should have something that indicates that it's a short-lived value;
"ephemeral" is less clear than "temporary" for non-native English speakers.

A preliminary alternative is "Temporary Contact Number" (TCN)

I like "Temporary Tag" (TT) also.

@zssz Would you be happy with "TCN"/"TCK"?

Making this change isn't particularly difficult -- it just requires careful search-and-replace -- but it does touch basically every part of the repository, so it will cause any outstanding changes to have conflicts.
For this reason I would like to: 1) definitively decide on new terms, if we decide to change terms at all 2) wait for all in-flight work to land 3) make the change then.

Doing this now.


[Scenes]  Cluster-Revision not up to date

Reproduction steps
./chip-tool scenes read cluster-revision 1 1
expecting cluster-revision 5.
got:
[1685992688592] [16321:137048] [TOO] Endpoint: 1 Cluster: 0x0000_0005 Attribute 0x0000_FFFD DataVersion:<PHONE_NUMBER>
[1685992688592] [16321:137048] [TOO]   ClusterRevision: 4

Bug prevalence
always
GitHub hash of the SDK that was being used
5589086a33
Platform
efr32, raspi
Platform Version(s)
No response
Anything else?
No response

PR to update here

Fixed in https://github.com/project-chip/connectedhomeip/pull/27104