fix build and visualization for Python 3.8

I was able to run this with Python 3.8 on a Catalina macOs, and to get Visualization working.
Still, apparently other stuff is broken, but I don't really know what I'm doing robot-wise. I
To get there, I had to freeze wxPython to 4.0.7 as access to 2.8.12 is really not practical, and 4.1 breaks more things. As a consequence there is a good chance it'll never run under Python2 again, I did not even try.
If you think this must still be compatible with Python2, I can give it a go, but I'd rather fix more Python3-related issues.

IGM - Pieper method is broken
Traceback (most recent call last):
  File "/Users/migperso/dev/symoro/symoroui/layout.py", line 1036, in OnIgmPieper
    model_symo = pieper.igm_pieper(self.robo, lst_T, n)
  File "/Users/migperso/dev/symoro/pysymoro/pieper.py", line 288, in igm_pieper
    _pieper_solve(robo, symo)
  File "/Users/migperso/dev/symoro/pysymoro/pieper.py", line 60, in _pieper_solve
    XXXRRR(robo,symo,com_key,X_joints,pieper_joints)
  File "/Users/migperso/dev/symoro/pysymoro/pieper.py", line 341, in XXXRRR
    solve_position(robo, symo, com_key, X_joints, fc, fs, fr, f0, g)
  File "/Users/migperso/dev/symoro/pysymoro/invdata.py", line 975, in solve_position
    dj_eq_0(robo, symo, X_joints, tc, ts, tr, t0, G, offset)
  File "/Users/migperso/dev/symoro/pysymoro/invdata.py", line 124, in dj_eq_0
    a = 2*(tc[x]*t1[x] + tc[y]*t1[y] + tc[z]*t1[z])
TypeError: 'Symbol' object is not subscriptable

Could not get the zoom function to work properly, when holding both mouse buttons I get
wx._core.wxAssertionError: C++ assertion "!wxMouseCapture::IsInCaptureStack(this)" failed at /Users/robind/projects/bb2/dist-osx-py38/build/ext/wxWidgets/src/common/wincmn.cpp(3271) in CaptureMouse(): Recapturing the mouse in the same window?

Regarding residual issue you had on IGM - Paul joint 7 :
Traceback (most recent call last):
  File "/Users/migperso/dev/symoro/symoroui/layout.py", line 1023, in OnIgmPaul
    model_symo = invgeom.igm_paul(self.robo, lst_T, n)
  File "/Users/migperso/dev/symoro/pysymoro/invgeom.py", line 178, in igm_paul
    _paul_solve(robo, symo, T_ref, 0, n)
  File "/Users/migperso/dev/symoro/pysymoro/invgeom.py", line 38, in _paul_solve
    chain = robo.loop_chain(m, n)
  File "/Users/migperso/dev/symoro/pysymoro/robot.py", line 590, in loop_chain
    k = self.common_root(i, j)
  File "/Users/migperso/dev/symoro/pysymoro/robot.py", line 613, in common_root
    u = self.chain(i)
  File "/Users/migperso/dev/symoro/pysymoro/robot.py", line 586, in chain
    j = self.ant[j]
IndexError: list index out of range

I should point out that Robot constructor initializes ant with
        # Index of antecedent joint: list of int.
        self.ant = list(range(-1, self.NF - 1))

Which creates a (7)-long array [-1, 0, 1, 2, 3, 4, 5]. Hence later calling self.ant[j] with j==7 obviously can't work. I don't know your code base enough to know whether it's a simple 0-based vs 1-based indexing issue, or if it has a deeper cause.

Which creates a (7)-long array [-1, 0, 1, 2, 3, 4, 5]. Hence later calling self.ant[j] with j==7 obviously can't work. I don't know your code base enough to know whether it's a simple 0-based vs 1-based indexing issue, or if it has a deeper cause.

It could also be that self.NF should really be 7, not 6 ?

It could also be that self.NF should really be 7, not 6 ?

matter of fact, rx90 does define only 6 frames.
def rx90():
    """Generate Robot instance of RX90"""
    robo = Robot('RX90', 6, 6, 6, False)


Maximum recursion depth exceeded while using Dispatcher

pypi version unification      0.2.2
this code throws RecursionError: maximum recursion depth exceeded
from unification import var
from unification.match import Dispatcher

V0 = var('V')
T2 = var('T')
V2 = var('V')

d = Dispatcher('d')
d.add((V0, ('builtin_Kind',)), None)
d.add((('list', V2), T2), None)

Maybe I'm doing something wrong?
I figured out it has something to do with variable names - if I change V2 name to something different than 'V', then it works ok.

FYI I no longer maintain this repository
On Sat, Apr 6, 2019 at 1:43 PM Jan Rydzewski<EMAIL_ADDRESS>wrote:

pypi version unification 0.2.2
this code throws RecursionError: maximum recursion depth exceeded
from unification import var
from unification.match import Dispatcher
V0 = var('V')
T2 = var('T')
V2 = var('V')
d = Dispatcher('d')
d.add((V0, ('builtin_Kind',)), None)
d.add((('list', V2), T2), None)
Maybe I'm doing something wrong?
I figured out it has something to do with variable names - if I change V2
name to something different than 'V', then it works ok.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mrocklin/unification/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszCY5WNCf2EbqwyoGFOCFiJcQnX1rks5veOrbgaJpZM4cgWpM
.

@mrocklin I found a fork of this repository that is still being maintained.


Update CHANGELOG.md

Pull Request Test Coverage Report for Build 145

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 143:
0.0%

Covered Lines:
84

Relevant Lines:
84

💛  - Coveralls

Sorry about the delay! It looks like the branch is no longer synced with the base branch and it does not let me finish the pull request. Can you please merge the master into this branch?


network card tweak plugin

Some cards have best practices for sysctl tweaks.... a plugin should collect and enforce them automatically.

Yes would be nice to have optimized values with a simple click.
The plugin should detect the drivers and apply these sysctls.
But we need different values for different workloads on different hardware.
And the plugin will need a reboot since some settings can only be made in /boot/loader.conf.
And what do you think about a GUI to change this settings and let the admin easily publish it on github?

Ideally yes, practically no. The sysctls do this mostly. We can't easily template the boot.loader settings, at least not in the traditional way as we need to ensure removal of rc.loader.d files (see https://github.com/opnsense/plugins/commit/7ccea3e5a2ae5b57560d3ff6992339328dab3a19 )
Anything settings + GUI also means a config.xml model, maybe even start with core support for loader.conf modifications? It sounds like an easy task on paper, but it's a lot of work if done right. :/

To understand it right: change a value in the gui, trigger a template reload for a new rc.loader file and then create a new /boot/loader.conf is a problem? Even with a big warning that the system will reboot?
And the files created by the template will not removed when I remove the plugin? Ok this is a problem then.
But wait, what if the plugin provides an empty rc.loader file? This would be removed on plugin removal, right?

Yes, the plugin would register its own (empty or only comment-based) rc.loader.d file and rewrite it as needed. It wouldn't reboot, but tell the user that they need to reboot and that that reboot may be fatal ;)

Please don't say 'fatal'. It's so negative.
I think the worst case is that the system comes up without network.
Is it too naive to say "remove the plugin via console and reboot"?
Anything we can do at the loader prompt?

It's hard to recover from loader.conf modifications, not even the boot loader console can help with overriding its values sometimes. Booting up without a network for a firewall appliance is tricky then, for most people an obvious mistake of the software.

Ok, then we have two options.
Static and unflexible or flexible and possibly unstable.
For the first case we can choose values for all-pupose workloads/hardware.
For the second we could minimize failures with a plausibility test.

I'm closing this, can always reopen. :)


anti virus

it says error disable anti virus when I try to load even when my antivirus is off

i have the same issue

where is the video

on youtube?


Arice Token Test

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address: ZSwG9u6iBJ7rKFZkq8dEAEPs5eB3A8sJXiKmADo3NEd
Token Name: Arice Token Test
Token Symbol: TSD
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

Can someone please help?

Refer this https://github.com/solana-labs/token-list/pull/5803 i can help

must comply with convention of putting images in assets/mainnet/ADDRESS/logo.png

@keone I did. I just added the logo without a folder. How do I reverse it? By deleting it will cause error with auto merge.

We evaluate the end state after all commits are applied, so add another commit correcting


Deprecate bleu

Codecov Report

Merging #26 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   98.07%   98.07%
=======================================
  Files          13       13
  Lines         519      519
=======================================
  Hits          509      509
  Misses         10       10

Impacted Files
Coverage Δ

nlpete/training/metrics/bleu.py
96.25% <100%> (+0.04%)
:arrow_up:

nlpete/models/copynet.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c3eba7...27cb0c5. Read the comment docs.


enhance pwd seeding script, fail if jq not installed

Issue #, if available:
Related to ADDF issue in gitlab #14
Description of changes:
Enforce check of installed jq, fail if not installed.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for your contribution. LGTM


Solid Query is not working correctly with ErrorBoundary

Describe the bug
When an error is triggered during SSR within a component that uses Solid Query, the render crashes, the error is silenced and the server doesn't respond. 30 seconds later, a "renderToString timed out" message is shown.
Your minimal, reproducible example
https://stackblitz.com/edit/github-pqy8j7-phzf23?file=src%2Fcomponents%2FSolidApp.tsx
Steps to reproduce

Open the link

Wait until the container starts, dependencies are installed.

You are shown a blank page  - App crashed instead of displaying the fallback of ErrorBoundary. The error was silenced.

Wait for a 30 second timeout.

"renderToString timed out" is shown in the console and in the preview window.
--
Optionally:

Open SolidApp.tsx

Uncomment <ThrowError /> outside the <QueryClientProvider>

See that the ErrorBoundary catches the error correctly - this leads me to assume that the issue is within Tanstack Query

Expected behavior
When error happens during SSR within ErrorBoundary, it is logged on the console and the fallback param of the ErrorBoundary is rendered instead of children.
Environment

Happens every time
OS: Windows 11
Browser: Google Chrome Version 122.0.6261.69 (Official Build) (64-bit)
TanStack Query adapter: solid-query
TanStack Query version: 5.22.2

This should be fixed with the latest version of solid-query.
Fixed sandbox here https://stackblitz.com/edit/github-pqy8j7-8hxy9d?file=src%2Fcomponents%2FSolidApp.tsx
Once again, Thanks so much for opening these issues with Solid Query. I really appreciate it and it helps us get solid-query to a more stable position. Please feel free to open more issues you run into and I will fix them ASAP


Fix typo: change redirectUri to redirectUrl

Example:
https://accounts.salla.sa/oauth2/auth?scope=offline_access&state=9a0e6714a39a8d39597a1c65220614f2&response_type=code&approval_prompt=auto&redirect_uri=***&client_id=**
Error:
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. The 'redirect_uri' parameter does not match any of the OAuth 2.0 Client's pre-registered redirect urls.
redirect_uri is not a part of Salla's oauth2 parameters. The correct parameter is "redirect_url".
Note:
If "redirect_uri" is the official parameter, as stated in the docs and other auth tutorials, it could be a bug in the auth endpoint https://accounts.salla.sa/oauth2/auth where only accept redirect_url

@moqasalem @jalmatari @maher-samir

@moqasalem thank you


wrong alarm

egg use ^ to import deps, and moment had release '2.19.3': '2017-11-29T16:28:22.840Z'

The package needs to be analyzed again for that to disappear. That happens when:

a new version is published
the analyzes becomes stale which happens each 15 days


Incorrect part numbers in multipart uploads

Hello. I have noticed that multipart uploads do not work properly in my environment. The reason seems to be that the part number is not correct. Part number must be between 1 and 10,000, so 0 cannot be used (ref. https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html ).
I'm using a S3 compatible service, so I don't know how it behaves in AWS, but at least it seems to violate the specification.

Thanks for reporting this bug! Surprisingly it did not resulted in an issue on integration tests, although they also use a S3 compatible service. It's fixed it in #818

Thanks for the quick fix!


build(deps): update Angular to v18.0.3

#617  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


build: Forbid unexpected_cfgs lint on workspace's level

What's the motivation behind it? Forbidding lints is not a good practice unless there is no other way to solve something. Could you present the problem, and some context, please?


find a bug in clickhouse-jdbc 0.6.0

bug code : com.clickhouse.jdbc.internal.ClickHouseConnectionImpl#getTableColumns line 260
when I have a following table , this table contains a cloumn named '0'

in this code, it will run the sql:

this sql will get an error:
Code: 59. DB::Exception: Illegal type Float64 of column 0 for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version <IP_ADDRESS> (official build))
when I remove 'where 0', it's ok

Good day, @Young0516!
This is limitation according to the documentation https://clickhouse.com/docs/en/sql-reference/statements/select/where
Actually client doesn't validate this and Code: 59 is what returned by server (repo https://github.com/ClickHouse/ClickHouse).

@chernser Hi chernser thanks for your responese,  I think the rootcause is that there is a column  named '0',  I may need to report the bug to server (repo https://github.com/ClickHouse/ClickHouse).


Added some things

Have added pythonanywhere.com in hosting
Have added fireship.io in learning platforms
Have added Javascript mastery and Fireship to youtube channels
Have added pyCharm in IDEs
Have added web.dev in website optimization tools
Have added realpython newletter on newsletters

Hi. Please add one resource per PR, so we can merge it easier. Thanks!


[relay] set a proper worker count

see: https://github.com/threefoldtech/tf_operations/issues/2832
https://github.com/threefoldtech/grid_deployment/blob/development/docker-compose/mainnet/docker-compose.yml#L232-L233

Won't do, we went for a bin patch of the relay


Missing Test automation

Destiny doesn't have any tests automation, end-2-end, cross-platform testing and till now mostly was tested manually.
However, it use w-w where main "business" logic sits and library has some tests.
Flutter reference on testing:
https://docs.flutter.dev/testing
Probably we should explore how the best test flutter app and what kind of tests create here.

From my side, ideally we would need to have End-2-End tests which cover various platforms: Linux, Windows, MacOS, Android, iOS and even with different versions. We have already seen issues, that what is working on MacOs, might not work in Windows. Also there is big difference between Desktop and Mobile as there are some platform differences in code itself.


Add a community section and office hours [ci skip]

Add a community and contribution section that references NATS.io, describe the NATS office hours, and link to the office hours agenda.
/cc @bjflanne @nats-io/core

Coverage decreased (-0.2%) to 91.314% when pulling 393bbb7c031433e68707c8810fda0bfcfbe6ab9b on office-hours into 3ee7f3b3b156aef2e23553b2e3236c331d5fa5f6 on master.

LGTM just as discussed - thanks @ColinSullivan1 !


Line chart with different coloring from point to point

I know this is not a usual use case for a charting library, but would it be too complicated to add? Could you point me where should I look, to try to implement it?

I have a similar use case, but I was just going to use a separate series for each line chart segment that needs a different color.

Maybe this more common than what we think, this is the third time I see this request, it should be not hard to implement, thinking about it...

@high1 @carlmichaelbenson
I am not sure about this one now...
can you please explain me what are your needs? I mean besides the visual effect, why would this help your users?
This can be easily implemented, but I am not sure about the concept, why is this necessary?
I don't like the ways I see to solve this, and I suspect it is because it is out of design, please illustrate a case to help me to think how to solve this in a better way

This is a special case in which the color represents additional state that is not part of the information given trough the axis - for example, we have a position of a vehicle described by the percentage of the path as x axis, and time as y axis. The color representation would be an additional information that would represent the state of the vehicle regarding the expected time of the arrival, for example, accurate, late, early etc...

@high1 could you post an example?  Also, what is the expected behavior of the color of the line between points?  Some options I can think of:

Gradient
Hard change when arriving at next point
Hard change when leaving current point
Hard change in center of points

Other use cases:

Mark points that are outside an allowed range or have state like ok-warning-error for example as green-orange-red in quality control in manufacturing.

Mark current/active value. For example when a graph is created in response to selecting an item in a list. The relevant date point is usually not the last point added.

This is already supported, for a full example see https://github.com/beto-rodriguez/Live-Charts/tree/master/Examples/Wpf/CartesianChart/PointState
The idea is the same, you will map a color for any point also, for example, lets set the fill to red if our value is greater than 200 and yellow if less than 200
        Mapper = Mappers.Xy<ObservableValue>()
            .X((item, index) => index)
            .Y(item => item.Value)
            .Fill(item => item.Value > 200 ? DangerBrush : OkBrush)
            .Stroke(item => Brushes.Transparent);

        OkBrush = new SolidColorBrush(Color.FromRgb(254,192,7));
        DangerBrush = new SolidColorBrush(Color.FromRgb(238,83,80));

I added this Fill and Stroke methods to many mappers, also I extended this to line and bar series

@beto-rodriguez
I dont believe you answered @princeoffoods 2nd point;

Mark current/active value. For example when a graph is created in response to selecting an item in a list. The relevant data point is usually not the last point added.

In my application users will add new points to the graph by specifying the relative movement from the previous point on the chart and i would like the most recent point to be coloured differently to the previous points. This would make it easy for the user to see exactly where they are moving from and then once the new point is created verify that the movement occurred as expected.
I am aware of the example above but I am unsure if i can specify the mapper to fill the point in the way i am requesting as i cannot see how to index the latest point added to my chart values.

In the image you can see the desired functionality using the following code in:
           Mapper = Mappers.Xy<ObservablePoint>()                 .X(item => item.X)                 .Y(item => item.Y)                 .Fill(item => item.X > 1 ? (item.X > 2 ? DangerBrush : AmberBrush) : null)                 .Stroke(item => item.X > 1 ? (item.X > 2 ? DangerBrush : AmberBrush) : null);             DangerBrush = new SolidColorBrush(Color.FromRgb(238, 83, 80));             AmberBrush = new SolidColorBrush(Color.FromRgb(238,200,80));
It is possible to change this to altering the colour of the last point added to ChartValues.


Need to correct yml section

The section (3) that explains disabling cloud-init.  The entry in the yml file:
network:
config: disabled

should read:
network:
  config: disabled

There needs to be a slight indentation, or else it will not work and cloud-init continues to manage the network configuration and wipes out the entries in the netplan yml file.

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

ID: d9525eb3-1be7-449b-2b63-10bb1ec71f63
Version Independent ID: d9525eb3-1be7-449b-2b63-10bb1ec71f63
Content: Configure multiple network interfaces in Azure Linux virtual machines - Virtual Machines
Content Source: support/azure/virtual-machines/linux-vm-multiple-virtual-network-interfaces-configuration.md
Service: virtual-machines
GitHub Login: @genlin
Microsoft Alias: genli

@josue609, Thanks for the feedback. I will fix the format issue.

Close the issue since the problem has been fixed.


Update choco command to simplify

You can pass multiple packages to install in the same line. 🙂

@adilio Thanks! I didn't know it was possible in one-liner.


[Playback] Sony Bravia Android with Netflix plugin -> No playback possible

I'm submitting a support request
My Kodi boxes are a pair of Sony Bravia KDLxx Android TVs. One older 55" device, the second a newer 4K device. I've successfully got the plugin working on my phone (Samsung S7) and followed pretty much the same methodology, so I'm wondering if there's a fundamental difference with the Sony Android and how they handle encryption.
I'm running 0.12.6 version of the plugin and the nightly 32 bit Kodi v18 datestamped Oct 26. Inputstream.Adaptive is 2.1.5 and enabled. I've not done anything with widevine, as it's all Android. Android is version 7.0, kernel 3.10.79.
I can log into Netflix and search for titles but when I try to play anything I get an error "one or more items failed to play. Check the log for more information about this message". Sometimes I just get the plugin alert that something failed to play.
I´m using the Netflix Repo
Debug log attached. I don't understand enough but I can see some errors.
kodi.log
Thanks in advance, and apologies if I've omitted anything or posted in the wrong place.

Thank you for the detailed report (would´ve liked it even more if you could´ve used the template provided ;))
You actually chose a very bad day for testing, as Netflix changed their API today & those errors are shadowing some others. So, could you please do me a favour and:
a) Update to version 0.12.7
b) Restart Kodi after that (Note: it probably still won't work after that)
c) Do a debug.log where you straight navigate to one movie/episode & try to play that single one & post the complete debug.log of that operation
d) Navigate to the plugin settings -> Expert -> Click on the ESN field & tell me the content of that field char by char (basically just copy the contents of that field by hand)
I do have a slight idea what the problem could be, but I need to verify it first.

Apologies (I thought I had followed the template!)
ESN is NFANDROID1-PRV-SONLYANDROIDTV2017-SONYBRAVIA=4K=GB (for one of them, let me know if you need to know both)
I can't see 0.12.7 in the repository and can't find a way of manually updating it - sorry for being dumb :)
If you don't mind spoon feeding me I'll gladly update it of course.

Grrr...
NFANDROID1-PRV-SONYANDROIDTV2017-SONYBRAVIA=4K=GB

@Johnbe1234: Could you post the ESN from your TV Netflix app? (Settings > Get Help >Device)

ESN is NFANDROID1-PRV-SONYANDROIDTV2017-SONYBRAVIA=4K=GB  (for one of them, let me know if you need to know both)

aahhhh...its different on the Netflix native to the TV, I think I understand now.
It is NFANDROID2-PRV-SONYANDROIDTV2017-SONY=BRAVIA=4K=GB-6566-3CFAB4120A0CBE90AFBDAD121A391047B4498ACB0DE9E1741214C3DF87335AB42

Put this ESN in the options of the addon:
NFANDROID1-PRV-SONYANDROIDTV2017-SONY=BRAVIA=4K=GB
and restart Kodi. It should work after that.

We should take a look at what´s going wrong with the ESN generator here & why it generates a falsy one...

No change. Still says unable to play.

Could you check if the file Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.netflix/settings.xml has the ESN I posted?

@uukrull Did you maybe mean
‘NFANDROID2-PRV-SONYANDROIDTV2017-SONY=BRAVIA=4K=GB’
instead of
‘NFANDROID1-PRV-SONYANDROIDTV2017-SONY=BRAVIA=4K=GB’ ?

On my Shield and Mecool M8S Pro+, the Netflix apps always show the ESN as NFANDROID2 and the addon as NFANDROID1, and it seems to be the same with the Sony Netflix app.
Just to be sure, I'd also delete the Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.msl/ folder before launching Kodi.

I manually amended settings.xml and it works! Thanks for your help - I presume you want to do some further work but I'm happy it does what I want.

Hi I'm having the same issue on my Sony Bravia Android TV. The Netflix app reports an ESN NFANDROID2-PRV-SONYANDROIDTV2017-SONY=BRAVIA=4K=GB+otherdata while the add-on had NFANDROID1-PRV-SONYANDROIDTV2017-SONY=BRAVIA=4K=GB. I tried changing the ESN both in the add-on settings and by changing the settings.xml file to NFANDROID2-PRV-SONYANDROIDTV2017-SONY=BRAVIA=4K=GB but I'm still getting the same error when I try to play :(
@Johnbe1234 did you add the whole identifier to settings.xml or only NFANDROID2-PRV-SONYANDROIDTV2017-SONY=BRAVIA=4K=GB to solve this?


[SHT4X] Add new device binding

Description

Implemented new SHT4x device.

How Has This Been Tested?

ESP-32S3 custom board with SHT4x connected on I2C bus.

Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[x] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[ ] My code follows the code style of this project (only if there are changes in source code).
[ ] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[ ] I have read the CONTRIBUTING document.
[ ] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[ ] I have added new tests to cover my changes.

Summary by CodeRabbit

New Features

Introduced device categories: thermometer and hygrometer.
Added comprehensive versioning and configuration settings.

Enhancements

Integrated essential libraries for core operations and unit conversions, enhancing functionality for temperature and humidity measurements.

Dependencies

Updated dependencies for nanoFramework libraries to support new features and improvements.

Few more udpates:

Removed nanoFramework.System.Device.Model from nuspec (not needed)
Tested sample with ESP-S3 - adjusted so it display data


How to change status to source project

Hi,
I have this configuration:
Source project:

Target project:

When I execute jira-sync a new issue has been created correctly to the destination project.
I would like to change source status to In Progress.
Can you suggest which configuration I can do for this ?
This is my failed try
de.cronn.jira.sync.projects[SDFER].transitions[InCarico].sourceStatusToSet=In Progress

Thanks

Hi @teopost,
Transitions are applied only for issues existing on the both sides. You could try configure jira-sync in the following matter:
# when
de.cronn.jira.sync.projects[SDFER].transitions[InCarico].sourceStatusIn=Todo
de.cronn.jira.sync.projects[SDFER].transitions[InCarico].targetStatusIn=Waiting For Triage
# then
de.cronn.jira.sync.projects[SDFER].transitions[InCarico].sourceStatusToSet=In Progress

On the first pass jira-sync will create the source issue in the target jira and on the next pass it will set status of the source issue to In Progress.
BTW InCarico from transitions[InCarico] is used only as a key in the configuration file, it has nothing in common with transitions from jira workflow

Hi @teopost,
Does it work the way I've suggested?

No @ldziedziul , the source issue remain in TO DO status.
Upload the log of the second execution.
log.txt


Warning: findDOMNode is deprecated in StrictMode

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node

It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Closing due to inactivity.


[Gardening] Remove extra Foundation imports

Remove the import of Foundation where it is not necessary for testing the ObjC interoperability.
Edit: Also import MSVCRT in Windows where the #if os(Linux) import Glibc pattern occurs.

@swift-ci please benchmark

@swift-ci please smoke test

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

FlattenListFlatMap
4062
5313
+30.8%
0.76x (?)

FlattenListLoop
2394
2978
+24.4%
0.80x (?)

Code size: -O
Performance: -Osize

Improvement
OLD
NEW
DELTA
RATIO

ArrayAppendGenericStructs
1070
630
-41.1%
1.70x (?)

Code size: -Osize
Performance: -Onone

Improvement
OLD
NEW
DELTA
RATIO

ObjectiveCBridgeStubToNSDate2
1040
970
-6.7%
1.07x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

Those regressions and improvements in -O and -Osize are unusually high for no changes… Similar to the other case? I wonder if these are flukes or replicable. Re-running benchmark to see.

There are a few things that behave differently based on whether the Foundation overlays are linked into the process. :-( The set is kept pretty small but it could still be an explanation here. cc @Catfish-Man

@swift-ci please benchmark

Performance: -O

Improvement
OLD
NEW
DELTA
RATIO

FlattenListFlatMap
5734
4378
-23.6%
1.31x (?)

FlattenListLoop
2868
2448
-14.6%
1.17x (?)

Code size: -O
Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

CharIteration_punctuatedJapanese_unicodeScalars
400
440
+10.0%
0.91x (?)

Improvement
OLD
NEW
DELTA
RATIO

StaticArray
2
1
-50.0%
2.00x

Code size: -Osize
Performance: -Onone

Regression
OLD
NEW
DELTA
RATIO

ObjectiveCBridgeStubFromNSDate
2980
3220
+8.1%
0.93x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

@swift-ci please benchmark

@swift-ci please benchmark

@swift-ci smoke test

@swift-ci smoke test

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

ObjectiveCBridgeStubFromNSStringRef
87
94
+8.0%
0.93x (?)

ObjectiveCBridgeStubFromNSDateRef
2460
2650
+7.7%
0.93x (?)

Improvement
OLD
NEW
DELTA
RATIO

FlattenListFlatMap
6339
5471
-13.7%
1.16x (?)

Code size: -O
Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

StringBuilderWithLongSubstring
950
1050
+10.5%
0.90x (?)

Improvement
OLD
NEW
DELTA
RATIO

SortLettersInPlace
406
378
-6.9%
1.07x (?)

Code size: -Osize
Performance: -Onone
Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB


Maven plugin: enforce code format with a formatter plugin

Just like we use scalafmt for automatically formatting the Scala code, we should do the same for the Java code in the maven based projects:

gatling-maven-plugin
gatling-highcharts-maven-archetype

Possible solutions:

https://github.com/diffplug/spotless
https://github.com/revelc/formatter-maven-plugin

I tried spotless that works flawlessly with maven, to no avail so far: https://github.com/gatling/gatling-gradle-plugin/tree/spotless-wip

https://github.com/gatling/gatling-maven-plugin/commit/9368b5b905e579dd62cee3e352fb4881ee5b6209


⚠ Bofrost.de has degraded performance

In 3eadad6, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1667 ms

Resolved: Bofrost.de performance has improved in 1120878.


error when installing using pip

hello everyone, so basically i'm using windows and i'm trying to install python-terrier and since pytrec_eval is one of the dependencies, there is this error that appears when installing it and break the whole thing:
raise ValueError("path '%s' cannot be absolute" % pathname)       ValueError: path '/tmp/tmpgd7izyps/trec_eval-9.0.8/convert_zscores.c' cannot be absolute
any solutions ??

It's unexpected that it's building from source, given the binaries are distributed on pypi. Which Python version and OS version are you using?

windows 10 and python 3.11.1

It looks like there are builds available for various linux distributions on py11, but not Windows. We should certainly add them, but I'm not sure how soon it will happen. Any chance you could bump down to Python 3.10 for the time being?
Source: https://pypi.org/project/pytrec-eval-terrier/#files

ah ok, so now if i switch to python 3.10 it will install normal right ?

It should -- it's just that there's not a pre-built Windows binary for Python 11, so it tries to build from scratch. And that process can be tricky/error-prone due to differences in the environment (e.g., which compilers are installed, etc.)
But there are pre-built Windows binaries for Python 3.7-3.10.

alright, thanks for the help


Network switcher

As a user I want to switch networks from one central place instead of having to go to multiple URLs.
As oceanprotocol we want to minimize the amount of instances and deployments we have to manage and maintain.
Proposed Solution
Introduce a dropdown not too prominently (probably in footer somewhere) where users can choose between our currently existing networks:

Pacific (default)
Nile
Duero

Selecting a network reinitiates Ocean with the respective component endpoints for each network.
Post-Work
Once deployed, we can turn off and remove the Commons server & client deployments in Nile & Pacific and will end up with one central location, commons.oceanprotocol.com

another requirement: also switch config based on some url parameter, e.g. ?network=nile, or just ?nile.
We sometimes link to specific network installations, like when telling users about faucet and how to specifically get ETH in Nile, e.g. in https://docs.oceanprotocol.com/tutorials/react-setup/#requirements
So we need to still have a linkable way of sending users to correct commons/network combination


chore(infra): Configure dependabot to adhere to the Conventional Commits spec

Changes proposed in this pull request:

Configure the Conventional Commits linter to a PR title
Configure Dependabot's dependency bumps to adhere to the Conventional Commits spec
Configure markdown files links checker
Fix broken links in documentation

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


Any plan to write a comprehensive documentation

I'm new to this NServiceBus and EventStore, and this library looks great but the documentation is very poor.
How to know what each extension method means and how to use it?

@AbdoDabbas  Thanks for checking it out! Sorry I am late to see these github's notification system is pretty bad
The best place to learn how to use this library is via the samples https://github.com/volak/Aggregates.NET/tree/master/samples
and the example apps

https://github.com/charlessolar/TodoMVC-DDD-CQRS-EventSourcing
https://github.com/charlessolar/eShopOnContainersDDD

Unfortunately if you are new to NServiceBus and EventStore you will have a learning curve with those libraries first.  This library mainly builds on top of those two and gives you the DDD toolset and design.
I would get started by standing up the todo app and just playing with the messaging. Adding commands, implementing reactions to commands (events) etc.
Feel free to reach out if you have any difficulties!  This library is not 1.0 yet so my focus hasn't been on documentation or a fixed API but there is a roadmap to get there eventually!


Add CI checks for macOS and Windows

Towards officially being compatible with the two operating systems, tests and mock executions should be covered, similar to the ci currently implemented for ubuntu-latest. Ideally, workflow status badges should be additionally added to the README.md to more easily communicate which operating systems are supported by the current version.
It would be completely fine if the current code still fails on these other platforms on the CI pipelines and a good preemptive measure to easily verify if future pull requests actually solve compatibility.

Closed as discussed in #74.


Log reg fit was patched

Log reg fit was patched

@Pahandrovich , Please see this PR for security issues.

@Pahandrovich , Please see this PR for security issues.


Same problem

Same problem
最初由 @565395931 在 https://github.com/black-forest-labs/flux/issues/206#issuecomment-2493158046 发布 問題

This doesn't seem related to OpenHands, so I'm going to close this.


⚠ Avatar API Endpoint has degraded performance

In b96c55b, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 5110 ms

Resolved: Avatar API Endpoint performance has improved in 04a09a4 after 3 minutes.


gapi is not defined

I have gapi is not defined
What I have to put in ngAfterViewInit ?
Thx

Same issue. The README is not clear on how to correct this problem.

Hi @ducmaxime ,
You can use this code in ngAfterViewInit -
AppGlobals.GOOGLE_CLIENT_ID = 'SECRET_CLIENT_ID';  this.getData();
And to resolve the gapi not defined issue, you can increase the time out. But I'm searching a better solution for it. For now if you increase the time out, it will work fine.

@rudrakshpathak Increase the timeout? Which timeout?

ngOnInit() {    //Set your Google Client ID here    AppGlobals.GOOGLE_CLIENT_ID = 'SECRET_CLIENT_ID';    this.getData();    setTimeout(() => { this.googleAuthenticate() }, 50); }
Time out in login.component.ts

ngOnInit() {
   //Set your Google Client ID here
   AppGlobals.GOOGLE_CLIENT_ID = 'SECRET_CLIENT_ID';
   this.getData();
   setTimeout(() => { this.googleAuthenticate() }, 50);
}

Set timeout in app.component.ts

It's working!!! Thanks so much Rudraksh!!

I still had the issue even with the timeout. What solved it for me was removing "async" and "defer" from the script tag in my index page. So now, the script tag is just:

Hi,
I hope everything is working fine. I'm closing this issue now.
@bukialabi Thanks for the suggestion. I'll test it and implement in the next release.


Unable to use (ManyToOne) Entity as part of a compound Key

I found my way around #143 but encountered another upsert failure because of my @Key on the @ManyToOne Entity:
public interface Chart...
    @Key
    @ManyToOne
    Song getSong();

   @Key
    Integer getChart();

    ....

After fixing the missing whitespace in the query generator, my upsert then fails on:
no such column: song (code 1): , while compiling: update Chart set chart = ? ,song = ? ,... where chart = ? and song = ?

The column in the database is named songId, not song, so the fix would be to append "Id" to the query attribute if the field is a Key and an Entity?

Is this a case where you're mapping on to a existing database? You should be able to specify the column name explicitly in this case using @Column.

Oops, I thought my database was being dropped and recreated, but it wasn't.  So there is not a bug here.


Meraki must register to open meraki:// URLs on the OS

Check: https://www.electronjs.org/docs/latest/tutorial/launch-app-from-url-in-another-app
This is possible for sure in OSx and win, check in Linux

https://www.electron.build/api/programmatic-usage.html

https://stackoverflow.com/questions/65808445/electron-how-to-create-deep-linking-on-linux


refactor(web): 将两个web中的重复代码移动到libs下

创建两个新的包：@scow/libs-utils和@scow/libs-web用于存放两个web中重复的逻辑，包括：

整体布局（libs-web）
和react无关的逻辑（libs-utils）
和react有关的逻辑（libs-web）（比如hooks等）

Codecov Report
Base: 64.50% // Head: 64.50% // No change to project coverage :thumbsup:

Coverage data is based on head (b80d956) compared to base (f11a3bd).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #382   +/-   ##
=======================================
  Coverage   64.50%   64.50%
=======================================
  Files         103      103
  Lines        2913     2913
  Branches      366      366
=======================================
  Hits         1879     1879
  Misses        990      990
  Partials       44       44

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Distance is one too small if first string is longer

I looked through the existing bugs and the documentation and didn't see anything pointing this out.  I was also unable to reproduce this with your reference python implementation here
$ python3 -m pip show pyxdameraulevenshtein
Name: pyxDamerauLevenshtein
Version: 1.6
Summary: pyxDamerauLevenshtein implements the Damerau-Levenshtein (DL) edit distance algorithm for Python in Cython for high performance.
Home-page: https://github.com/gfairchild/pyxDamerauLevenshtein
Author: Geoffrey Fairchild
Author-email<EMAIL_ADDRESS>License: BSD 3-Clause License
Location: /usr/local/lib/python3.7/site-packages
Requires: numpy
Required-by:

>>> from pyxdameraulevenshtein import damerau_levenshtein_distance
>>> damerau_levenshtein_distance('1', '')
0
>>> damerau_levenshtein_distance('', '1')
1

Nice find. I'll try to get to this in a few days (work is insane right now unfortunately).

No rush, I know the feeling.  Reordering seems to work fine.  One thing to maybe look into is a single https://hypothesis.readthedocs.io/en/latest/data.html?highlight=string#hypothesis.strategies.text test comparing the reference to your fast code, it probably would catch this and nearly anything else that someone could calculate by hand, and not take much effort

Added a patch and two tests to expose this bug, simple swap the variables if the second one is shorter than the first one -- avoiding getting into the implementation details. Feel free to reject if too hacky!
Note, I didn't manage to compile the C file without loads of local path references.

This is really great, @svenski. I appreciate the PR. As you can see, I just haven't been able to get around to fixing this myself unfortunately. I'll review this shortly.

This is now fixed in 1.6.1, which is live on PyPI. Thanks a bunch, @svenski!


Proxy auth generates xff messages when used with basic auth

I have enabled proxy authentication in sg_config.yml for use with SSO, but I still have basic authentication enabled for role account access (e.g. logstash, kibana, etc.). With both enabled, this message repeats several times a second in the elasticsearch log:
[2017-02-07T20:03:58,584][INFO ][c.f.s.a.BackendRegistry  ] ElasticsearchSecurityException[xff not done] extracting credentials from ElasticsearchSecurityException[xff not done]
Presumably it's doing this every time a role account authenticates.

Same here. The situation has dramatically improved with search-guard-5 though, as there is only a single line left (without stack trace). But not sure this is related to SG, maybe just how ES5 handles default logging config.

+1
I have JWT enabled and Kibana works OK with basic Authentication, however all my logs are flooded with messages of this kind (repeats every ~5ms).
[2017-02-09T13:57:57,660][ERROR][c.f.d.a.h.j.HTTPJwtAuthenticator] Invalid or expired JWT token. io.jsonwebtoken.MalformedJwtException: JWT strings must contain exactly 2 period characters. Found: 0

+1
Any idea how to fix it?

It's a tricky problem. Some people want to see those. Maybe it's possible to filter them out using log4j2 filters (assuming elastic 5)

@faxm0dem Can you show me some example how to do it? I'm newbie in it. Thanks.

@floragunncom I think it would be a most elegant solution.

That sounds like a good solution to me, too.

@floragunncom Now I have a lot of such errors same as @ale0xB
[2017-02-13T04:43:12,914][ERROR][c.f.d.a.h.j.HTTPJwtAuthenticator] Invalid or expired JWT token. io.jsonwebtoken.MalformedJwtException: JWT strings must contain exactly 2 period characters. Found: 0
[2017-02-13T04:43:12,917][ERROR][c.f.d.a.h.j.HTTPJwtAuthenticator] Invalid or expired JWT token. io.jsonwebtoken.MalformedJwtException: JWT strings must contain exactly 2 period characters. Found: 0
[2017-02-13T04:43:12,920][ERROR][c.f.d.a.h.j.HTTPJwtAuthenticator] Invalid or expired JWT token. io.jsonwebtoken.MalformedJwtException: JWT strings must contain exactly 2 period characters. Found: 0

What to do with it? DEBUG level too?
It's seems that kibana trigger such messages (very frequently)

My opinion is that ideally the level should depend on the presence of other authentication requests. I realise though that this is probably not worth the effort.

I agree with @faxm0dem. In my case I don't want to see any of those messages), since I have another authentication method working in Kibana (Basic Auth).
Can I filter messages incoming from HTTPJwtAuthenticator only? That'd probably be enough for me.

I'm using syslog-ng to do that kind of thing. But I'll investigate of it's possible using log4j2 only.

fixed with v11, released today (for jwt we need a release of the jwt module, expected soon)

will JWT this here: https://github.com/floragunncom/search-guard-authbackend-jwt/issues/3


Ceases to read after a while, hangs

Anyone else experienced this?  I was able to get it to run fine on a Particle Photon using both hardware serial and software serial, the latter as I needed the one free hw serial to do something else a little more intensive.
Seems like after somewhere between a minute and 5 minutes it'll just cease to read and my output to the arduino IDE serial monitor quits entirely.

Yes, I have seen that. I have two devices, a Victron BMV-712 and a Victron SmartSolar MPPT-150/85. The BMV-712 has worked flawlessly with an ESP8266.  The MPPT saw the same issues you saw with an ESP8266 and the exact same code. I changed it to an ESP32 and the issue went away. I use only HW serial. SW serial has problems keeping up.
Sent from my iPhone

On Jan 29, 2021, at 13:32, Brandon Kennedy<EMAIL_ADDRESS>wrote:

Anyone else experienced this? I was able to get it to run fine on a Particle Photon using both hardware serial and software serial, the latter as I needed the one free hw serial to do something else a little more intensive.
Seems like after somewhere between a minute and 5 minutes it'll just cease to read and my output to the arduino IDE serial monitor quits entirely.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yes, I have seen that. I have two devices, a Victron BMV-712 and a Victron SmartSolar MPPT-150/85. The BMV-712 has worked flawlessly with an ESP8266.  The MPPT saw the same issues you saw with an ESP8266 and the exact same code. I changed it to an ESP32 and the issue went away. I use only HW serial. SW serial has problems keeping up.
Sent from my iPhone

On Jan 29, 2021, at 13:32, Brandon Kennedy<EMAIL_ADDRESS>wrote:

Anyone else experienced this? I was able to get it to run fine on a Particle Photon using both hardware serial and software serial, the latter as I needed the one free hw serial to do something else a little more intensive.
Seems like after somewhere between a minute and 5 minutes it'll just cease to read and my output to the arduino IDE serial monitor quits entirely.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Interesting, but glad to know I'm not the only one.  This library manages to provide reliable data (kudos) until it goes kaput.  Not the case with the one I cobbled together a few years ago, where rogue data appears over hardware and software serial alike.  I solved the issue on that project by incorporating a nano and a particle photon, where the nano can process and validate the MPPT data, repackage to something more easily parsed, and then sent to the photon at a slower rate (and read via software serial).  Clunky, but hasn't given me any problems.  I'm guessing you used a logic shifter for the MPPT->ESP32 to handle the 5v?

I use the library to grab the data, JSONize it, and send it to a MQTT broker.  So, the ESP8266 or ESP32 don’t spend much time handling the data.  Not sure why 8266 can’t handle the stream from MPPT, but ESP32 works.  Yes, using a simple resistor voltage divider to convert 5V to 3V.
From: Brandon Kennedy<EMAIL_ADDRESS>Sent: 2 February, 2021 11:37
To: cterwilliger/VeDirectFrameHandler<EMAIL_ADDRESS>Cc: Chris Terwilliger<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [cterwilliger/VeDirectFrameHandler] Ceases to read after a while, hangs (#6)
Interesting, but glad to know I'm not the only one. This library manages to provide reliable data (kudos) until it goes kaput. Not the case with the one I cobbled together a few years ago, where rogue data appears over hardware and software serial alike. I solved the issue on that project by incorporating a nano and a particle photon, where the nano can process and validate the MPPT data, repackage to something more easily parsed, and then sent to the photon at a slower rate (and read via software serial). Clunky, but hasn't given me any problems. I'm guessing you used a logic shifter for the MPPT->ESP32 to handle the 5v?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/cterwilliger/VeDirectFrameHandler/issues/6#issuecomment-771875280 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4PBECS3PKVFX4OSWDJAQLS5BA5DANCNFSM4WZPJNCA .  https://github.com/notifications/beacon/AE4PBEDSFY2BJ7JDMF5I2EDS5BA5DA5CNFSM4WZPJNCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFYA6DUA.gif

Please try with with new VeDirectFrameHandler.h.  frameLen changed from 18 to 22 per new protocol doc.

not sure if your issue is fixed, I had same sort of issue (also using software serial) and was able to resolve it
https://github.com/cterwilliger/VeDirectFrameHandler/issues/11

not sure if your issue is fixed, I had same sort of issue (also using software serial) and was able to resolve it
#11

How did you resolve it, I have same issue?

Not sure if it may be related but hex protocol can somehow interfere as unhandled packets are regularly sent which causes the main loop to break with a bad crc... I have proposed a PR for implementing hex protocol https://github.com/cterwilliger/VeDirectFrameHandler/pull/7 and using this version flawlessly since then

I've been on the road all summer with spotty internet.  Let me look at PR #7 and I'll see if we can get that merged as well as some other possible fixes. Philippe, how did you test the PR?

I'm currently using the version with hex protocol on an ESP32 device connected to a Victron MPPT 75/15 with a very old firmware (139). I have implemented an ESPHOME component leveraging this library and use MQTT for gathering data and sending hex command (see here: https://github.com/giacinti/vedirect)


About and Close all dialogs do not correctly show all UI elements

Environment
Windows build number: [10.0.18363.720]
Windows Terminal version: latest unreleased build from master

Any other software? No

Steps to reproduce

Windows default app mode: light
Windows terminal requestedTheme: dark
Open About or Close all dialog
Observe not all graphical elements are visible
a. On the About dialog, hover over a hyperlink and observe it disappear
b. On the Close all dialog, observe that the Cancel button is not visible (but is active because it Cancels when clicking the area where the button is located.

Expected behavior

About dialog: Can see the hyperlink when hovering over it with mouse cursor
Close all dialog: Can see the Cancel button.

Actual behavior

About dialog: Cannot see the hyperlink when hovering over it with mouse cursor

Close all dialog: Cannot see the Cancel button.

Just to confirm: this doesn't happen in v0.10 from the store?

Correct, this does not happen in v0.10 from the store.

Tested v0.10.781.0, this does not occur there.
But it does occur on https://github.com/microsoft/terminal/commit/ca6b54e6526396c2367ccf5022429499b45c90b8

I'm gonna mark this as a /dupe of #3654, since it's the same root cause and solution.


Made Cupertino dialog more like a native dialog in dark mode

This PR addresses an issue where the CupertinoAlertDialog was not fully visible in dark mode. The dialog now adapts better to dark mode themes, ensuring proper contrast and readability across different UI elements.
Fixes: #80921
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

This PR will need images with side-by-side comparisons with native, new tests, and fixes to existing tests.

This PR will need images with side-by-side comparisons with native, new tests, and fixes to existing tests.

Sure @victorsanni! I will add images with a side-by-side comparison with native, and also fix the existing tests. However, I'm having a bit of trouble understanding the golden test documentation. Could you please help me with the following:
Do we need to create or update the golden test case? If yes, what are the steps involved in doing so?

Sure @victorsanni! I will add images with a side-by-side comparison with native, and also fix the existing tests. However, I'm having a bit of trouble understanding the golden test documentation. Could you please help me with the following:
Do we need to create or update the golden test case? If yes, what are the steps involved in doing so?

Considering its a color change, the goldens are expected to change.

Can you explain how you got those numbers? And can you illustrate (probably with a side-by-side comparison, as mentioned by comments above) how you verify that those numbers produce native-like effects?
Thank you for you contribution!

Hi @victorsanni, @MitchellGoodwin, @dkwingsmt, here's the side-by-side comparison with native.

Native
Flutter

Also, @dkwingsmt, I derived those numbers from GitHub Issue #80921, where they were initially suggested for achieving native-like effects.
To verify the results, I created an alert dialog box in SwiftUI and manually compared the colors to ensure accuracy.

Hi @victorsanni, @MitchellGoodwin, @dkwingsmt, here's the side-by-side comparison with native.

Are the Flutter images before or after this PR? It would be easy to see the changes if the images show native, flutter before, and flutter after.

It looks like the separator between the actions and the main content needs to be lightened as well.

And the middle divider is also a little too light. Just from visually looking at it I wonder if the dividers are translucent. @thejitenpatel when trying to fix this, it might be helpful to draw the native dialog in different color backgrounds.

Hi @victorsanni, @MitchellGoodwin as requested, here's the detailed comparison of before and after PR changes with native.
Before PR

Native
Flutter (master)

After PR

Native
Flutter (PR #157218)

@thejitenpatel to add to @dkwingsmt's comment, there's no pressure to add the separator fix. But it would be nice to have that here as well, in order to close the linked issue entirely :)

Thank you Victor for the addition, although I must note that the separator issue is actually really complicated, and I would recommend doing so in a different PR.
(I don't know why the current screenshots show almost no horizontal separators, maybe it's a bug)
I can't find the issues on this problem for now, but there has been back and forth on how the thickness of the separator is defined, and my latest discovery is that iOS devices draw them with 1 physical pixel thick. Yes, this means that the separator on a low-res iPhone is thicker than a high-res one. But how should Flutter handle it? There used to be complaint on the separators looking differently on Android.
In short, fixing the separator might require further investigation and comparison.

I saw there was another open issue for the separators: https://github.com/flutter/flutter/issues/61164
Maybe this issue can be closed with this PR and target the separator fix to that issue instead?

I saw there was another open issue for the separators: #61164
Maybe this issue can be closed with this PR and target the separator fix to that issue instead?

Sounds good!

the separator issue is actually really complicated, and I would recommend doing so in a different PR.

there has been back and forth on how the thickness of the separator is defined, and my latest discovery is that iOS devices draw them with 1 physical pixel thick.

The thickness of the horizontal separator might be complicated, but what about just the color? It looks darker than native. Or maybe that is part of the thickness?

Hi @MitchellGoodwin,
Thanks for the suggestion! I tried using CupertinoColors.separator.resolveFrom(context) &
final Color dividerColor = CupertinoDynamicColor.resolve(CupertinoColors.separator, context); as recommended, but it doesn't seem to be working as expected. The divider color still isn’t adapting to the theme correctly. Do you have any additional suggestions or insights on what might be going wrong? Any help would be appreciated!

Hi @MitchellGoodwin,
Thanks for the suggestion! I tried using CupertinoColors.separator.resolveFrom(context) & final Color dividerColor = CupertinoDynamicColor.resolve(CupertinoColors.separator, context); as recommended, but it doesn't seem to be working as expected. The divider color still isn’t adapting to the theme correctly. Do you have any additional suggestions or insights on what might be going wrong? Any help would be appreciated!

Have you checked whether the value of dividerColor has changed as intended?

The divider color still isn’t adapting to the theme correctly.

Is it showing as the same color as before? And is it not picking up the brightness, the elevation, or both?
CupertinoDynamicColor.resolve may need to be called further down. Possibly in the _Divider class itself.

I haven't tested to be sure, but I believe that this PR didn't introduce that behavior, so it's not required to fix it in this PR. But my instinct is that the divider color will be an easy fix somewhere, it just may need some trial and error to find where it is. Give it a try and see what happens. If it doesn't work after a bit of trying, I'll approve the PR as-is and make a separate issue for that divider.

Hi @dkwingsmt,
I checked the dividerColor  is getting changed as intended but the Divider is not getting affected.

Hi @MitchellGoodwin,
Thanks for the suggestion! I tried using CupertinoColors.separator.resolveFrom(context) & final Color dividerColor = CupertinoDynamicColor.resolve(CupertinoColors.separator, context); as recommended, but it doesn't seem to be working as expected. The divider color still isn’t adapting to the theme correctly. Do you have any additional suggestions or insights on what might be going wrong? Any help would be appreciated!

Have you checked whether the value of dividerColor has changed as intended?

Hi @dkwingsmt,
I've checked that the dividerColor is changing as expected, but it seems the actual Divider itself isn't reflecting this change.

Is it showing as the same color as before? And is it not picking up the brightness, the elevation, or both?
CupertinoDynamicColor.resolve may need to be called further down. Possibly in the _Divider class itself.

@MitchellGoodwin, It’s showing as the same color as before—no noticeable change. It doesn’t seem to be picking up the brightness correctly, and the elevation appears to be slightly lower than expected.
Attaching screenshot of this PR for your reference:

Hi @MitchellGoodwin,
You’re correct that this PR didn’t introduce the behavior. The issue occurs specifically when a horizontal divider is drawn—it doesn’t resolve the color as expected (screenshot 1.0). It is taking elevatedColor property if I'm not wrong, whereas the vertical divider resolves it correctly via the _CupertinoAlertActionSection class (screenshot 1.1).
To address this, I added CupertinoDynamicColor.resolve in the _CupertinoAlertDialogState class, which helps resolve the color issue for the horizontal divider. However, it still doesn’t fully address the brightness, and the elevation appears slightly less than expected.
To further address the color issue, as suggested, I also applied CupertinoDynamicColor.resolve directly in the Divider class (screenshot 1.2). The Color got resolved but it's not taking brightness if I am not wrong and elevation seems little less as expected (screenshot 2.0).
Interestingly, if there are more than two buttons, all horizontal dividers render with the correct color, except for the first one (screenshot 3.0)
Screenshot 1.0:

Screentshot 1.1:

Screenshot 1.2:

Screenshot 2.0: Dialog with single button in this PR

Screenshot 3.0: Current behavior after adding more than two buttons in this PR

Oh! You're right. I think I made a mistake at
https://github.com/flutter/flutter/pull/150410/files#diff-4ea2907696de4fecf42f2ca56278a7b1d90c28921b1259d18ae28b1a2553d8e8R378
The dividerColor is never resolved here before being passed to _Divider, which doesn't resolve either. Thank you for your investigation!


Implemented the Sitemap and About page in Tera

Added the WebPage trait, which is the interface to rendering templates
Added all the basic tera components, these will be reused by virtually every template from now on (base.html, macros.html, global_alert.html, package_navigation.html, topbar.html)
Implemented /about in Tera
Implemented /sitemap.xml in Tera

Screenshots

About

Current

Sitemap

<urlset>
    <script/>
    <url>
        <loc>https://docs.rs/wayland-window</loc>
        <lastmod>2017-09-21T12:44:46+00:00</lastmod>
    </url>
</urlset>

Current

Should this be deleting some unused handlebars templates?

I was just going to leave the templates until the end to avoid any potential issues with them being used and to allow reviews to see the old and new ones

Looks good to me! I'd remove the outdated Handlebars templates though.

🎉 🎉 🎉

🎉 🎉 🎉


Escaping quotations

Hey there,
Just noticed that I can't escape quotes when calling macros. I.e:
{{ myMacro('I\'m breaking my page') }}

John

@paularmstrong was it fixed ? I still having issue with this


RedM support

just as a first commit

it adds a tp to way point using the menu  to support RedM without breaking other game modes
Ill be making more pr's just let me know if this is fine.

in my latest pr It should be as it was suggested.


False positive  Samsung A5 2016 Android 5.1.1

I have another false positive: Samsung A5 2016 running Android 5.1.1
Checking it with isRootedWithoutBusyBoxCheck

@CodeFries What was the result when you tried isRootedWithoutBusyBoxCheck ?

In the upcoming release we've removed busybox from the default root checks, this should hopefully fix many of the problems with false positives. I'm closing this issue but please re-open if you get a false positive with 0.0.8 onwards.
Thanks!


dio 5.0.0 设置BaseOptions  contentType 失效

Package
dio
Version
5.0.0
Output of flutter doctor -v
No response
Dart Version
No response
Steps to Reproduce
1、设置  DIo  baseOptions  contentType=Headers.formUrlEncodedContentType
2、post的请求不携带 contentType =Headers.formUrlEncodedContentType
3、请求结果contentType 的值会变成application/json;
Expected Result
期望设置baseOptions 中的contentType 不在重复设置
Actual Result

The response content-type is not equivalent to the request content-type.

请求的时候并不会携带content-type

我在拦截器中添加head会生效

You have multiple interceptors configured with your instance and the description is different from your original comment. Please consider providing a minimum reproducible example and submit a new issue.


added a c solution file in codechef folder

Hey thanks for your contribution ❗. Keep up the good job and leave a star if you liked the repo .
Happy hacking 😉


feat: support httpproxy in KfConfig SyncCache

I install kubeflow in my container and set up httpproxy environment variable.
kfctl build -V -f ${CONFIG_URI}

This can download remote config file but can't download mainfests tar file.

So I add httpproxy support in SyncCache.

@GuoHaiqing does this has anything different from #326? If not, can we close this one and add discussion to that PR? Thanks.

@adrian555 Yes, this appears to be the exact same change as #326

I merge #326 and this can be closed. Feel free to reopen if you have questions


[webview_flutter] serving content over HTTPS

I am trying to implement Stripe checkout in webview, but it throws an error saying the content must be served over https.
This is occurring because Stripe does not allow HTTP servings in the Live keys.
What additional steps do I need to take to make these requests over HTTPS?
Steps to Reproduce

fork the code at https://github.com/MarcinusX/flutter_stripe_demo
replace the "stripePublishableKey" with a live stripe publishable key
flutter run

Code:
import 'dart:convert';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:kinderpass_app/common/common.dart';
import 'package:webview_flutter/webview_flutter.dart';

class StripeCheckoutSession extends StatefulWidget {
  final String listingId, sessionId;

  StripeCheckoutSession(this.listingId, this.sessionId);

  @override
  StripeCheckoutSessionState createState() => StripeCheckoutSessionState();
}

class StripeCheckoutSessionState extends State<StripeCheckoutSession> {
  WebViewController _webViewController;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      resizeToAvoidBottomInset: false,
      body: WebView(
        initialUrl: initialUrl,
        javascriptMode: JavascriptMode.unrestricted,
        onWebViewCreated: (webViewController) => _webViewController = webViewController,
        onPageFinished: (String url) {
          if (url == initialUrl) {
            _redirectToStripe(widget.sessionId);
          }
        },
        navigationDelegate: (NavigationRequest request) {
          print(request);
          print(request.url);
          if (request.url.startsWith('http://mykinderpass.com') ||
              request.url.startsWith('http://staging.mykinderpass.com') ||
              request.url.startsWith('https://mykinderpass.com') ||
              request.url.startsWith('https://staging.mykinderpass.com')) {
            Navigator.of(context).pop();
            //Navigator.of(context).pushReplacementNamed('/success');
          } else if (request.url.startsWith('http://mykinderpass/cancel')) {
            Navigator.of(context).pop();
            //Navigator.of(context).pushReplacementNamed('/cancel');
          }
          return NavigationDecision.navigate;
        },
      ),
    );
  }

  String get initialUrl => 'data:text/html;base64,${base64Encode(Utf8Encoder().convert(kStripeHtmlPage))}';

  Future<void> _redirectToStripe(String sessionId) async {
    final redirectToCheckoutJs = '''
var stripe = Stripe(\'${AppConfig.stripePublishableKey}\');

stripe.redirectToCheckout({
  sessionId: '$sessionId'
}).then(function (result) {
  result.error.message = 'Error'
});
''';

    try {
      await _webViewController.evaluateJavascript(redirectToCheckoutJs);
    } on PlatformException catch (e) {
      if (!e.details.contains('JavaScript execution returned a result of an unsupported type')) {
        rethrow;
      }
    }
  }
}

const String kStripeHtmlPage = '''
<!DOCTYPE html>
<html>
<script src="https://js.stripe.com/v3/"></script>
<head><title>Stripe checkout</title></head>
<body>
Loading, please wait...
</body>
</html>
''';

Logs
[VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception: PlatformException(evaluateJavaScript_failed, Failed evaluating JavaScript, JavaScript string was: 'var stripe = Stripe('<Stripe key>');

stripe.redirectToCheckout({
  sessionId: 'cs_live_a0tCIGOAnW9bEG4L0gNpHHwEvN9Rg22CrV21lYQIvSvn2l7SlhzvBgTKiq'
}).then(function (result) {
  result.error.message = 'Error'
});
'
Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=1, WKJavaScriptExceptionMessage=IntegrationError: Live Stripe.js integrations must use HTTPS. For more information: https://stripe.com/docs/security/guide#tls, WKJavaScriptExceptionColumnNumber=184970, WKJavaScriptExceptionSourceURL=https://js.stripe.com/v3/, NSLocalizedDescription=A JavaScript exception occurred}, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:582:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:1<…>

This same code works fine in a test key (the error is still thrown, but the payment works), only the live key gives this problem.

Hi @praharshbhatt
Do you have mixed HTTP links?
Please check https://github.com/flutter/flutter/issues/24975 & https://github.com/flutter/flutter/issues/43595
Unable to test your code sample due to miss code and steps to reproduce e
Thank you

Hi Sorry, I've updated the OP to make my question more clear.
I do not think  #24975 & #43595 are related.

Hi @praharshbhatt
Just tried that example with the latest webview_flutter: ^1.0.7 and replaced the existing key with my own test API key, not the live key (I don't have access to it yet).
Checkout is working fine  on Android  and iOS

Can you please reproduce the issue with the test key instead of the live key with complete flutter run --verbose logs?
Thank you

Hi @TahaTesser
Thanks for reaching back.
The issue will not be replicated in the test key, since Stripe allows HTTP calls in the test key.
Anyways, this is the output of flutter run --verbose with the test key:
] I/flutter (22675): {listing: 1596, quantity: 1, slot_id: 13571, user_id: 1272, listing_type: 1, success_path: http://mykinderpass.com/success}
[+3287 ms] I/flutter (22675): Created order: {
[   +1 ms] I/flutter (22675):     "message": "Operation Successful",
[        ] I/flutter (22675):     "responseData": {
[        ] I/flutter (22675):         "isIndian": false,
[        ] I/flutter (22675):         "order_id": "cs_test_a0q6oiA3OiBv4WfF8AWOb52uncVoLTsEzRMgujx6FYzF28Kb9CeKc9vHUi"
[        ] I/flutter (22675):     },
[        ] I/flutter (22675):     "success": true
[        ] I/flutter (22675): }
[ +104 ms] E/eglCodecCommon(22675): glUtilsParamSize: unknow param 0x000088ef
[   +1 ms] E/eglCodecCommon(22675): glUtilsParamSize: unknow param 0x000088ef
[        ] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 8 (8) 0 0
[  +91 ms] D/EGL_emulation(22675): eglMakeCurrent: 0xe451ba40: ver 3 0 (tinfo 0xca780b80)
[+2172 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 1 (1) 0 0
[+1882 ms] E/eglCodecCommon(22675): glUtilsParamSize: unknow param 0x000088ef
[        ] E/eglCodecCommon(22675): glUtilsParamSize: unknow param 0x000088ef
[        ] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 9 (9) 0 0
[  +72 ms] I/chromium(22675): [INFO:CONSOLE(1)] "You may test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS.", source:
https://js.stripe.com/v3/ (1)
[  +27 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 1 (1) 0 0
[ +869 ms] I/flutter (22675): NavigationRequest(url:
https://checkout.stripe.com/pay/cs_test_a0q6oiA3OiBv4WfF8AWOb52uncVoLTsEzRMgujx6FYzF28Kb9CeKc9vHUi#fidkdWxOYHwnPyd1blpxYHZxWmNUf2JgbUppMV80Vk5oYXNXVFJSZ3w1UicpJ2hs
YXYnP34nYnBsYSc%2FJ0tEJyknaHBsYSc%2FJ0tEJykndmxhJz8nS0QneCknZ2BxZHYnP15YKSdpZHxqcHFRfHVgJz8ndmxrYmlgWmxxYGgnKSdga2RnaWBVaWRmYG1qaWFgd3YnP2NkaXZgKSd3YGNgd3dgd0p3bGJ
sayc%2Fa3BpaXgl, isForMainFrame: true)
[   +1 ms] I/flutter (22675):
https://checkout.stripe.com/pay/cs_test_a0q6oiA3OiBv4WfF8AWOb52uncVoLTsEzRMgujx6FYzF28Kb9CeKc9vHUi#fidkdWxOYHwnPyd1blpxYHZxWmNUf2JgbUppMV80Vk5oYXNXVFJSZ3w1UicpJ2hs
YXYnP34nYnBsYSc%2FJ0tEJyknaHBsYSc%2FJ0tEJykndmxhJz8nS0QneCknZ2BxZHYnP15YKSdpZHxqcHFRfHVgJz8ndmxrYmlgWmxxYGgnKSdga2RnaWBVaWRmYG1qaWFgd3YnP2NkaXZgKSd3YGNgd3dgd0p3bGJ
sayc%2Fa3BpaXgl
[+1528 ms] E/eglCodecCommon(22675): glUtilsParamSize: unknow param 0x000088ef
[   +4 ms] E/eglCodecCommon(22675): glUtilsParamSize: unknow param 0x000088ef
[   +1 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 10 (10) 0 0
[  +28 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 8 (8) 0 0
[  +48 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 0 (0) 0 0
[+4596 ms] D/EGL_emulation(22675): eglMakeCurrent: 0xb7344b20: ver 3 0 (tinfo 0xc9170df0)
[   +1 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 1 (1) 0 0
[ +654 ms] I/Choreographer(22675): Skipped 33 frames!  The application may be doing too much work on its main thread.
[+2332 ms] I/chromium(22675): [INFO:CONSOLE(240)] "Uncaught ReferenceError: PaymentRequest is not defined", source: https://pay.google.com/gp/p/js/pay.js (240)
[  +76 ms] I/chromium(22675): [INFO:CONSOLE(1)] "Unrecognized payment-request-google-pay-inner.html parameter: betas is not a recognized parameter. This may cause
issues with your integration in the future.", source: https://js.stripe.com/v3/fingerprinted/js/controller-49cd88218d0923c5dd3141dda2e18b9f.js (1)
[   +9 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 0 (0) 16 2
[        ] E/InputMethodManager(22675): b/117267690: Failed to get fallback IMM with expected displayId=628 actual IMM#displayId=0
view=io.flutter.plugins.webviewflutter.InputAwareWebView{f5dcbd8 VFEDHVC.. .F...... 0,0-1080,1794}
[  +26 ms] I/flutter (22675): NavigationRequest(url: https://staging.mykinderpass.comhttp//mykinderpass.com/success?payment_success=false, isForMainFrame: true)
[   +1 ms] I/flutter (22675): https://staging.mykinderpass.comhttp//mykinderpass.com/success?payment_success=false
[   +4 ms] D/EGL_emulation(22675): eglMakeCurrent: 0xe451ba40: ver 3 0 (tinfo 0xca780b80)
[   +8 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 2 (2) 16 13
[   +4 ms] W/FA      (22675): setCurrentScreen cannot be called with the same class and name
[+1115 ms] E/InputMethodManager(22675): b/117267690: Failed to get fallback IMM with expected displayId=628 actual IMM#displayId=0
view=io.flutter.plugins.webviewflutter.InputAwareWebView{f5dcbd8 VFEDHVC.. ........ 0,0-1080,1794}
[   +7 ms] D/EGL_emulation(22675): eglMakeCurrent: 0xe451ba40: ver 3 0 (tinfo 0xca780b80)
[        ] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 10 (10) 24 0
[   +4 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 1 (1) 0 20
[  +51 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 10 (10) 24 0
[  +27 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 0 (0) 0 0
[+1741 ms] D/EGL_emulation(22675): eglMakeCurrent: 0xb7344b20: ver 3 0 (tinfo 0xc9170df0)
[   +1 ms] D/eglCodecCommon(22675): setVertexArrayObject: set vao to 1 (1) 0 20
[+1346 ms] I/flutter (22675): unhandled element metadata; Picture key: AssetBundlePictureKey(bundle: PlatformAssetBundle#96ccf(), name:
"assets/rewards_cover_green.svg", colorFilter: null)

Hi @praharshbhatt

The issue will not be replicated in the test key, since Stripe allows HTTP calls in the test key.

So this is different issue with the test key?
[+2643 ms] W/ConnectionTracker(23746): Exception thrown while unbinding
[   +2 ms] W/ConnectionTracker(23746): java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzji@b16e696
[   +2 ms] W/ConnectionTracker(23746):  at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1751)
[   +1 ms] W/ConnectionTracker(23746):  at android.app.ContextImpl.unbindService(ContextImpl.java:1776)
[   +2 ms] W/ConnectionTracker(23746):  at android.content.ContextWrapper.unbindService(ContextWrapper.java:741)
[   +5 ms] W/ConnectionTracker(23746):  at com.google.android.gms.common.stats.ConnectionTracker.zza(com.google.android.gms:play-services-basement@@17.3.0:55)
[   +1 ms] W/ConnectionTracker(23746):  at
com.google.android.gms.common.stats.ConnectionTracker.unbindService(com.google.android.gms:play-services-basement@@17.3.0:50)
[   +2 ms] W/ConnectionTracker(23746):  at com.google.android.gms.measurement.internal.zzio.zzag(com.google.android.gms:play-services-measurement-impl@@17.6.0:245)
[   +2 ms] W/ConnectionTracker(23746):  at com.google.android.gms.measurement.internal.zzio.zzal(com.google.android.gms:play-services-measurement-impl@@17.6.0:262)
[   +4 ms] W/ConnectionTracker(23746):  at com.google.android.gms.measurement.internal.zzio.zzc(com.google.android.gms:play-services-measurement-impl@@17.6.0:336)
[   +2 ms] W/ConnectionTracker(23746):  at com.google.android.gms.measurement.internal.zzir.zza(com.google.android.gms:play-services-measurement-impl@@17.6.0:2)
[   +2 ms] W/ConnectionTracker(23746):  at com.google.android.gms.measurement.internal.zzai.run(com.google.android.gms:play-services-measurement-impl@@17.6.0:7)
[   +2 ms] W/ConnectionTracker(23746):  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
[   +2 ms] W/ConnectionTracker(23746):  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[   +3 ms] W/ConnectionTracker(23746):  at com.google.android.gms.measurement.internal.zzfs.run(com.google.android.gms:play-services-measurement-impl@@17.6.0:21)
[+16862 ms] I/flutter (23746): {listing: 15897, quantity: 1, slot_id: 61193, user_id: 12741, listing_type: 1, success_path: http://mykinderpass.com/success}
[+4337 ms] I/flutter (23746): Created order: {"responseData": {"order_id": "cs_live_a0tu6pYXxmelgAjsSDHVI1Skx4WX4xbSxLNulexpLs1ftcLfZGoDHmzxLD", "isIndian":
false}, "message": "Operation Successful", "success": true}

I had no issues with the test key as mentioned https://github.com/flutter/flutter/issues/70284#issuecomment-725904762 with the latest  webview and I used this https://github.com/MarcinusX/flutter_stripe_demo
Can you please clarify these issues with test key and live key
Thank yu

With the test key, the webpage loads since Stripe allows you to load HTTP / mixed content when working with test keys. While using a live key, it needs an https connection or it'll throw an error. In the test key, it throws the error, but also loads the webpage. whereas if it is a live key, it does not load the webpage while throwing the error.
While contacting the stripe support, the team asked me to make sure the webview that I am using connects over https rather than HTTP, which I'm not very sure how to do. That's my question.

Hi @praharshbhatt
Have tried hybrid composition? https://pub.dev/packages/webview_flutter#using-hybrid-composition.

Yes, Still face the same issue.

Any updates

I hosted the HTML on GitHub pages and passed the URL in the initialUrl field, Now everything works fine.

I am facing the same issue. It was working well in Stripe's testing mode but when I changed it to live by using LIVE credentials. It returns me error in vs code console panel like '"Unrecognized feature: 'payment'.", source: https://js.stripe.com/v3/ " any suggestion, what is the issue and how can we fix it? Thanks a lot.

@kamleshwebtech I finally hosted the html page in github pages. This way, I am getting response from a https source, instead of serving the HTML locally.


Hugo on Zeronet

How Can I create a site on Zeronet?

@Dav48 Questions like this are better asked on the Hugo Forums. Please check out the following link and I'm sure you'll get better feedback from the Hugo community. Thanks for supporting Hugo!
https://discuss.gohugo.io


Add auto-generated files to .gitignore

It seems like there are some files that are auto-generated on build that are either added to the project and get  modified when you rebuild it or not added and not included in the .gitignore.
They should probably be removed from the project and added to .gitignore.

Fixed


fix(tools): Exclude concerto.scalar namespace in dotnet generated models

Description
The 'concerto.scalar.uuid' namespace is automatically added to the .NET models if the CTO file has a property of type UUID. However, since we treat UUID in CTO as 'System.Guid' in .NET, there is no need to add an import namespace to the generated .NET file.
Adding this namespace resulting in build failures in .NET, so update csharp codegen to ignore adding this namespace to .net models. So excluding the concerto scalar namespace in dotnet generated models.
Author Checklist

[x] Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
[ ] Vital features and changes captured in unit and/or integration tests
[ ] Commits messages follow AP format
[ ] Extend the documentation, if necessary
[ ] Merging to main from fork:branchname

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0003%) to 98.942%

Totals

Change from base Build<PHONE_NUMBER>:
0.0003%

Covered Lines:
2172

Relevant Lines:
2180

💛  - Coveralls

It would be more robust to specifically filter out the UUID declaration. There may be other Scalars that get added to the concerto.scalar namespace in the future that we do want to generate code for?

Not really. Scalars are generally translated to either dotnet primitive type or System.Guid (in this case). So we would never require import concerto scalar namespace

Would this not import any non concerto.* scalars - leading to a similar compilation error? Scalars are primitive types so should never need an import - unless .NET supports them natively...?

Would this not import any non concerto.* scalars - leading to a similar compilation error? Scalars are primitive types so should never need an import - unless .NET supports them natively...?

Yes, scalars are primitive and doesn't need an import.

Would this not import any non concerto.* scalars - leading to a similar compilation error? Scalars are primitive types so should never need an import - unless .NET supports them natively...?

For the question specific to scalars from non-Concerto namespaces, we may get a compilation error if that namespace contains only scalar declarations. If the namespace has some concepts in it, then there won't be any compilation errors.

coverage: 98.942%. remained the same
when pulling 1478d047ad1f586a54f386b1b2f7c7bc2dee22a5 on ragi-dayananda:main
into 2435e0126157fed268e7a4f1ac59b6f1e3d69f1f on accordproject:main.


Modifying HTTP Headers

It would be handy to be able to edit the keys and/or values of the existing HTTP headers, without having to delete and re-enter both key and value.
I'm trying to add this feature on my own fork, but I haven't been able to get the app to start yet. I managed to get it building by npm linking to a freshly cloned graphiql repository but the app throws an error when it trying to load the QueryEditor. Not sure what I'm doing wrong, any idea how I could work around that?

I hear you on this. I want it myself.
I'm planning to work on rewriting this into something more maintainable in the near future (I wrote the version that exists now in about an hour after GraphiQL first came out). So hopefully that will solve this (and other) issues. :)

Has this been addressed? I'm happy with the current editing situation, anyways :)

@andrefgneves added this feature in Sept! Closing this. :)


Fix warnings

Noticed the error window was full of warnings, so I fixed 'em. Commit by commit is easier, each one is a separate fix (and the first 4 were done by Roslyn anyway)

Do you have full solution analysis enabled by chance?

Yep


Update README.md

📥 Proposed changes
Edited text
☑ Submission checklist

[x] I have read the CONTRIBUTING doc
[x] yarn build works locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

💬 Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did, what alternatives you considered, etc...

@all-contributors, lfberge should definitely be added for review!

I have too high confidence in simple AIs, apparently... @all-contributors, add @lfbergee for review

Will be solved in #303


Add UEFI firmware version check

This PR adds a script which compares the UEFI firmware L4T version with the Kernel L4T version.
Since L4T releases are in the form 35.2.1, 35.3.1, 35.4.1, and uname only reports major and the minor numbers, we use them in the comparison of the version reported by the Jetson tool named nvbootctrl
Tested on Jetson AGX Orin Devkit 32GB

@balena-ci I self-certify!


3221225477 (0xc0000005) 'Access violation'. error while using GenerateData() function.

Documentation

[X] I have consulted the documentation, and my question isn't answered there.

Nuget Package
JsonSchema.Net.DataGeneration
Package Version
2.2.2
How can I help?  Please provide as much context as possible.
 var builder1 = new JsonSchemaBuilder()
 .Type(SchemaValueType.Object)
 .Properties(
     (nameof(TestMenu.Name), new JsonSchemaBuilder()
         .Type(SchemaValueType.String)
     ),
     (nameof(TestMenu.Children), new JsonSchemaBuilder()
         .Type(SchemaValueType.Array)
         .Items(new JsonSchemaBuilder().Ref("#"))
     )
 );

 var schema1 = builder1.Build();
 var result = schema1.GenerateData();

When i used above code it was working properly for

JsonSchema.Net -> Version="2.1.1",
JsonSchema.Net.Data -> Version="1.0.5",
JsonSchema.Net.DataGeneration -> Version="0.1.1"
JsonSchema.Net.Generation -> Version="1.8.3"

these versions. When i updated all these packages to latest stable packages then same code is showing issue. It seems like due to infinite loop. Is there any alternatives please.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

When you say that this code was working properly for v2.1.1, what do you mean?  What was the result?
It's confusing that you claim this since $ref is not (and never has been) supported by data generation.

In older version:
var result = schema.GenerateData();
var sampleData = result.Result;
Debug.Print("sampleData: {0}", JsonSerializer.Serialize(sampleData));
Output:
sampleData: {"Est":["commodi",-618420129535441279,null,"Nihil nobis beatae et.\nEst illo dolorem saepe dolorem doloremque.\nLaborum maxime quisquam ipsa.\nTempora facere nemo eos consequatur aliquam est reprehenderit.","Praesentium iure vero."],"tenetur":"Saepe consequatur molestiae laboriosam.","iste":-403483623559697510,"et":null,"magni":null}

Hello @gregsdennis,
I have added my result after generating data in lower version. How can I change code so that it works in newer version or should I follow another approach for implementing this. Please!
Thanks .

By "works" I expect you mean "doesn't throw an exception".
$ref was partially supported with v2.1.0.  (You're coming from v0.1.1, which is quite a jump.)  The release notes for that version clearly state that $ref support doesn't include infinite recursion, which is a feature that your schema has (the $ref: #).
This scenario is not supported, and the release notes explicitly state that.  I don't expect it to be supported soon given my reduced availability for this project.


Not working in TrueNAS 13.1

Hello,
I'm having trouble using the script on my TrueNAS Core 13.1 NAS with three Seagate IronWolf SATA hard disks. As to be expected, the built-in TrueNAS spindown/power saving feature doesn't actually work, so I downloaded the spindown script in /root/ and ran
chmod +x spindown_timer.sh
spindown_timer.sh -t 3600 -p 600 -v

My drives all showed up as ada0, ada1 and ada2, and the script started waiting for the HDD activity to go down. So I closed all the Samba and Nextcloud applications connected to the NAS (I'm pretty sure nothing was using the NAS at that point) and waited. In another shell, I repeatedly ran
camcontrol epc ada0 -c status -P
camcontrol epc ada1 -c status -P
camcontrol epc ada2 -c status -P

but I never got Standby_z. I always get Idle, and I can still hear the drives spinning. If I stop the spindown script and run camcontrol standby ada0, the first drive stops spinning and I get Standby_z. The drive doesn't spin up again until I reconnect to the NAS with some application or some SMART check inevitably spins it up again. This makes me think that the way the script checks for activity isn't compatible with TrueNAS 13.1, since the camcontrol standby command still works just fine.
Do you have any idea why it doesn't work? Can you replicate the issue on a TrueNAS 13.1 installation?
Thanks

Hi,
my box is currently running on 12.0-U8.1 but changes are good that I can find some time to upgrade it to the current stable version 13.0-U2 tomorrow. In the meantime: Can you provide the output of the script in verbose mode (-v)? This should show if the problem lies in the idle detection or the spindown command.
Thanks! :)

Thanks, here are some logs from your script:

Manually spinning down a disk works if I use the camcontrol standby ada0 command, so I think the problem is in the activity detection.

Thank you for providing the information. I upgraded my system to the latest stable TrueNAS-13.0-U2 today. However, I wasn't able to reproduce your problem. My disks spun down without problems. You seem to use a beta release of TrueNAS, which I currently cannot deploy on my system. It might use a newer version of iostat ...
You are right. The problem indeed lies in iostat not considering your drives as idle. Please check the following:

Your system dataset is not located on any of the disks
You don't have any VMs running on the disks
You have set S.M.A.R.T. Power Mode to Standby (Services -> S.M.A.R.T)

You can also execute iostat manually to check if the error occurs during parsing the iostat output or if there actually is I/O on the disks. To wait for 60 seconds and list all drives with I/O please execute the following command: iostat -x -z -d 60 2
You can adjust the time period (here 60 seconds) to your needs but remember that some I/O can be irregular. The spindown script therefore uses a default poll-time of 600 seconds (10 minutes).
Please provide the full output of the above command. I might be able to make adjustments to the script if the format of the iostat output changed.
Thanks! :)

My bad, I have TrueNAS 13.0-U1, not 13.1. I will check all those things (maybe I have a VM running, I can't remember), try running iostat manually, update to 13.0-U2 and let you know! Thank you very much

If a VM is indeed the problem, you can move the associated storage devices onto the same pool as your system dataset is on :)

I'll look into that in a couple of days, do you know of some tutorial/guide on how to move a VM to the system dataset or boot drive (I have a NVMe SSD for boot)?

Never did that myself, but I guess it boils down to moving the data from the old dataset to a new one. During a quick search I found some folks fiddling around with this: https://www.truenas.com/community/threads/move-vm-from-hdd-to-ssd.93704/

Hi, I did all the tests you suggested and finally found the culprit. I don't have any VM running, but I have two jails, one for NextCloud and one for my IDrive cloud backups. As it turned out, the IDrive backup jail constantly scans the drives for file changes, keeping them on. I disabled that jail and now everything is working as it should. Thank you for your time and help!

I'm glad to hear that everything is working fine for you now.
Thanks for explaining the problem. Maybe this can be helpful to someone in the future :)


Problems working on an M1 Mac

Hi, I've been having problems getting this to work on an M1 Mac. The problem actually lays with CairoSVG which drawSVG uses. A discussion about this issue and possible solutions can be found here CairoSVG issue 354
Just thought I'd drop a link here for anyone else experiencing the same issue

Thanks for linking @Goldthing.  This information might be important to mention in the install section of the readme.