edit / update user defined functions

The user should be able to edit a user defined function in a flowchart: a button next to download function and delete function to open the function in a new mobius window.
The user should also be able to update the user defined function by loading a backup flowchart / import from file

to do list:
_ save imported user defined functions and subsidiary user defined functions in two different lists in the flowchart
_ when a function is imported, all its subsidiary functions should be import along with it with a modified name: _. E.g. importing function a1 with sub function b1 and b2 --> the function list: [a1], subsidiary function list: [a1_b1, a1_b2]
_ when a function is refreshed, the sub functions associated with the old function are remove and the sub functions of the new one should be imported. If the new function has different name / different number of argument then go through all the procedures in the node to check for existing procedure with that function and mark them as error.


HTTP/2 Client

Need at least a few months to finish

[ ] support sending multiple streams at the same time
[ ] HPACK
[ ] compliance test

请问这个功能有在跟进吗

hi， Is there any progress?


Ts tests

See https://github.com/probot/probot/issues/582
Honestly, they all worked out of the box with the renames for me, so maybe I'm missing something obvious, but I rm'd the js snapshot, in favor of the ts one that got added.

That last commit did make the tests run really slowly, not sure what's up with that:
Time:        18s[BABEL] Note: The code generator has deoptimised the styling of "/Users/hiimbex/Desktop/probot/node_modules/lodash/lodash.js" as it exceeds the max of "500KB".

And see: https://travis-ci.org/probot/probot/jobs/397009356#L502-L506 in the CI, but still passing

they all worked out of the box with the renames for me

Valid JS is valid TS, so while just a rename will work, we want to eventually add type declarations to the tests to help find bugs like this: https://github.com/probot/probot/commit/f69c488e696fc6d42d6bc5b9b8014a8f1b8100a1 (a test webhook event with an ID defined as a string would have thrown a type error because the type declaration was defined as a number).
Basically TS tests help ensure the accuracy of your types. I'll pull this branch down and double check in VSCode, but if you renamed it and nothing broke, that's a good thing.

we want to eventually add type declarations to the tests to help find bugs

What does that entail programmatically? I'm a little 🙈 because I haven't been following any of the ts stuff at all, but I'd love to understand.
Would that mean going from like:
const {logger} = require('../src/logger') to -> import {logger} = from '../src/logger'

@hiimbex if you merge https://github.com/probot/probot/pull/585 into this branch you should start to see more errors in the test files.
I would strongly recommend doing one test at a time. In my experience, converting files to TypeScript leads you down a lot of rabbit holes.

Closing in favor of doing things the right way :)


Animation guide

cc: @jgoizueta @arianaescobar @makella

How is this one? We must merge this PR in order to create the beta release.

I have no idea :confused:

@jgoizueta y @davidmanzanares
@arianaescobar and i will review today!

Great Thanks!

We can use this one https://cartodb.github.io/carto-vl/examples/styling/animation.html for now instead of creating a new example because of the following reasons: it is done and it is fast.

Ok, I started reading through this guide and I have a few general thoughts.
First, I feel like the guide is a little too complex and needs to break down some things further and as a first pass, simply be an introduction to animation.
Let's keep this branch to pull from for a later, more advanced guide.
If you guys are ok with that, I propose that we write a simple guide on how to create the animation that we have in the examples section (https://cartodb.github.io/carto-vl/examples/styling/animation.html).
If we can explain the parameters using that map as an example, it will be a quicker way to illustrate the general concept and as mentioned before, once that is out, we can reuse content here for a more advanced guide.
thanks!

Blocked until we decide what to do with this

Closing in favor of https://github.com/CartoDB/carto-vl/issues/974


add navbar support on mobile

Problem is with navigation on mobile, seems that desktop does not ignore navbar, so those empty divs of height==navbar.height are needed. However, mobile may need something else.

ehh probably don't need it actually. Being a single page website a navbar is redundant on a mobile device.


Add support for Opensuse Leap 15.1 and 15.2

As title says, the PR adds support for:

OpenSuse Leap 15.1
OpenSuse Leap 15.2

I've tested the role on both and it runs fine. The molecule tests pass as well. It should probably work on the latest SLES as well, but I cannot test that.

Thanks for opening this.
Is the iptables package needed for the role to work or did you add it because it may be required for hooks? Besides that I'm happy to merge.

Yes, iptables was just for hooks, so I have removed it. I have been using iptables hooks so much, that I somehow began to think that Wireguard requires the package :)

Perfect :+1: Thank you for contributing, I will merge and tag a new release


"Debug this application with the selected permission set" is missing in visual studio 2019 version 16.5.1

VS 2013, Update 5 - Advanced settings

VS 2019 ,version :16.5.1- Advanced settings

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

ID: 3ac04b0c-c54e-ce1c-6099-bd4aef558975
Version Independent ID: a558f829-ccc3-b726-d92c-6dfc010d457b
Content: Debug ClickOnce application with restricted permissions - Visual Studio
Content Source: docs/deployment/how-to-debug-a-clickonce-application-with-restricted-permissions.md
Product: visual-studio-windows
Technology: vs-ide-deployment
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

I'll take a look. It looks like this doc needs to be removed from VS 2019

But how i can debug with clickonce?? Its not working in visual studio 2019!

I will ask about this. In the meantime, please use the Report a Problem tool to report the issue. When you do this, your report becomes part of the work items that are listed in the in the Visual Studio Developer Community, which allows you to engage directly with the engineering team while they address and fix the problem.

https://developercommunity.visualstudio.com/content/problem/977753/how-to-debug-clickonce-winform-application-in-visu.html

@naji-makhoul, we removed this feature from VisualStudio sometime back.  Docs will be updated soon to reflect it. Meanwhile, can you please help the exact scenario that is blocked for you?

@dreddy-work ,i have winform and i publish it twice

published and running with clickonce
2.copy release files to server and the client can run the applciation with rdp(remote desktop/remote app)

i want to check if the app running with clickonce if "Enable ClickOnce security setting" is checked in debug mode
if the checkbox is not checked, with "Deployment.Application.ApplicationDeployment.IsNetworkDeployed" it will return false and its ok , but if "enable clickonce" is checked need to return true.
after publish the application the Deployment.Application.ApplicationDeployment.IsNetworkDeployed work as expected, and returns true allways if the app running and published with clickonce and false if it running from rdp
with visual studio 2013.. its works fine, and its stop working after i moved to visual studio 2019

Removing this topic in MicrosoftDocs/visualstudio-docs-pr#6381

any updates ?

Topic has been removed. Closing this doc issue.


Pulling from private docker hub

I'm trying to pull from a private docker hub, but it is requiring me to login. Is there any way to do this with dockerode? Open to suggestions, thanks!
Error
(HTTP code 404) unexpected - pull access denied for ********/*******, repository does not exist or may require 'docker login'

Yes, there is:
const auth = {
	username: 'yourUsername',
	password: 'yourPassword',
	serveraddress: 'https://index.docker.io/v1'
};

this.controller.pull('yourImage', { authConfig: auth }, (err, stream) => {
	//
});

If you are using something like dotenv you could also store your username and passsword in a .env file.


Independent volume control while in Group

Hello Erik. First of all thanks for developing this very useful plugin.
Secondly, I cannot seem to find a solution to configure it the way I want it to work. I will describe my setup in detail below.
My setup is comprised of 4 Sonos Play1 speakers and 4 Philips Motion Sensors. I created automation rules inside Apple home app and using the Hue Room lights for triggers: the sensors trigger the lights and the lights trigger the speakers. When the lights turn off, the volume of the speaker is set to 0. I use this approach of turning the volume to 15% for on and to 0% for off to get rid of the delay existing when using the on/off (play/pause) speaker setup. Most of the time all the speakers use the same radio station.
The problem I am facing is that by controlling each zone independently, the speakers audio source is not synchronised. If i use sonos groups i cannot control the volume of each zone independently from the automation. It works if I do it manually on each speaker but when I try to automate it or control the volume of the individual speaker from Home app it affects the group volume, even if I only modify the speaker volume and not the group.
The scenario that would work is: all 4 sonos speakers in one group; automations control individual speaker (zone) volume.
I tried setting this up but modifying one speaker/zone volume affects the whole group volume. Setting one zone to 0 sets all the speakers in the group to 0 even if the Home App show a different volume for the Group/Speakers accessory.
Is this desired scenario possible? Am I missing something?
This is the config I use now but stoped using the Speakers accessory for automations because of the behaviour described above.
"platforms": [
{
"platform": "ZP",
"name": "ZP",
"service": "speaker",
"brightness": true,
"speakers": true
}
]
Many thanks!

My setup is comprised of 4 Sonos Play1 speakers and 4 Philips Motion Sensors.

That resembles my setup: multiple rooms with Sonos players and Hue Motion sensors and lights.  When I enter a room, the lights turn on (when it's dark) and the music starts playing.  When I leave the room, the lights and music turn off.

I created automation rules inside Apple home app and using the Hue Room lights for triggers

You might want to check out my homebridge plugin for the Philips Hue: it exposes the Hue motion sensors to HomeKit, so you don't have to use a light as trigger (and the lights can remain off when there's enough natural light).

I use this approach of turning the volume to 15% for on and to 0% for off...

You might want to use Mute instead.  It's less confusing, as the group only goes on mute when all member zones are muted.
I actually use the Speakers Power (on/off) characteristic in my HomeKit automations, to have the Sonos join/leave the group instead of adjusting the volume.

...to get rid of the delay existing when using the on/off (play/pause) speaker setup.

Do you mean the delay in the Sonos connecting to (and buffering) the audio source?  That's probably less of an issue when you make the zone join the group of another zone already playing the radio station.

by controlling each zone independently, the speakers audio source is not synchronised

As far as I know, grouping zones is the only way to have music synchronised across multiple zones.

but when I try to automate it or control the volume of the individual speaker from Home app it affects the group volume

Yes, that's how Sonos works: the group volume is like the average of the volumes of the member zones.  The volume of the other member zones shouldn't change, though, when adjusting the volume of a single member zone.  You see the same behaviour in the Sonos app: when adjusting the volume of a single zone in a group, the group volume changes as well, but the other zones remain unchanged.

Is this desired scenario possible?

Yes.

Am I missing something?

Please note that the Volume (and Mute) of the Sonos services are linked to the group volume and mute; the Volume (and Mute) of the Speakers services are linked to the individual zones.
So when you set the Speakers volume of one member zone, the Sonos volume of all group member zones changes, but the Speakers volume of the other group member zones is unchanged.
When you set the Sonos volume of one member zone, the Sonos volume of the other member zones changes (because these all point to the same group volume) and the Speakers volume of all member zones changes (because of the change to the group volume).
It's confusing, I know.  Best ignore the Sonos service Volume and only look at the Speakers service Volume.

Thank you very much Erik for the detailed explanations and suggestions! I use the Speakers service and mute instead of Sonos services and everything works as expected now.
Many, many thanks!


Hai there, my distro have pip disabled , what to do?

Problem:
Can't install pip, probably cause i'm stupid, and i don't like spending whole day troubleshooting , and mindlessly copy passing command lines, i followed all instructions at end I gave up since pip isn't supported by distribution I use apparently, so I can't download ciphey at all.
Solution:
maybe upload this program on repository? If that's possible, I gave up after 3h, and it's shame since it looks cool, others are bloated but at least they work, well I can get them to work, i can't even give this one  a chance.
I will try latter, but It's pain for me, even if i am willing to learn new things, and research stuff, also idk how to express myself rn, so idk if anyone will understand what i am talking about, so in short:
pip not supported here, is possible to install this with out pip? dock containers made cpu go high, and result wasn't coming.
Thank you for reading, and apologies if message got you confused, I really tried.

What distro are you using? It should be easy to install pip on most distros if it's not already installed. Also it would be easier to join the Discord to get help with installing Ciphey.

@C3x64 :

dock containers made cpu go high, and result wasn't coming.
See https://github.com/Ciphey/Ciphey/wiki/Common-Issues-&-Their-Solutions#ciphey-runs-forever--cant-decrypt-this-input

For why this is happening 😄

o thank you, also my distro is mint 19.3
I did installed pip but it bugged cinnamon session, needed to revert.
message was "pip is disabled something something warning"


Add support for testing on Laravel 10

Question
Answer

Issue or Enhancement
Enhancement

License
MIT

What's in this PR?

[x] Improve run-tests action to run tests on Laravel 10
[x] Update actions/checkout@v2 and actions/cache@v2. See https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
[x] Fix phpunit.xml schema for testing on phpunit 10
[x] Add dependency restriction on neston/carbon due to problems when testing with old versions.

Checklist

[x] I tested these changes.

@resslinger You may consider releasing v3.9.0 now, which drops support for Laravel 6.


[TASK] Stepper Block

Description
Add a block for material UI Stepper component and create settings to modify properties specific to Stepper
https://mui.com/material-ui/react-stepper/
Existing
block-defaults/stepper-block
designer.constants
Reference
N/A
Tasks

Modify StepperBlock.tsx to show a step for the list of steps specified on data.steps
Modify StepperBlock.tsx onClick to set data.activeStep to the selected step
Create Settings component to be able to set data.steps for new block
Create settings for data.activeStep to allow you to set the current step through settings

@johbaxter
Ready for review


Filtering

Is it possible to filter points based on direction? If my direction of travel is East bound and I have several points along this path but only want to know x number of upcoming locations is this possible.  Ive tried Geofences but because the close proximity of points to the north and south and the radius I need which 762m everything seems to overlap.

I can't think of a way to currently derive direction from Tile38. The only thing that comes to mind is; prior to setting a point, get the previous point and calculate the bearing from the two. But this might not be very accurate (airplanes would be fine, but cars, bike, or walkers not so much).
You'll probably need a sample set of points to calculate from to get a decent result, sort like a history of points. Tile38 doesn't currently keep this information, but I could see it as a candidate for a future feature.
Sometimes GPS devices come with bearing details, like the iPhone and Android phones. I believe Garmin and many chip providers do the sampling at the hardware level and often provide directions with each point update.
If it's possible to get it from the hardware, then perhaps you could set a custom field in for the point:
SET fleet truck1 FIELD direction 54 POINT 33.0 -115.0

what about using shapes. I created a polygon for each leg of the intersection   N,E,S,W  and Im trying to create geofence out of each that would trigger on enter only but im not having any luck  im running  the following
NEARBY EB_Preempt FENCE OBJECT { "type": "Feature", "properties": { "IntID": 3750, "Location": "Main & Dobson", "Type": "D4", "Ip": "x.x.x.x", "Longitude": -111.874472384987, "Latitude": 33.414853417361101 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -111.87447, 33.41485 ], [ -111.88264, 33.41437 ], [ -111.88266, 33.41485 ], [ -111.88264, 33.41533 ], [ -111.87447, 33.41485 ] ] ] } }     I get (error) invalid argument 'OBJECT'   The docs say geojson format is supported but am i missing somthing?  I checked it  on geojson.io and it displays no problem.
Thanks

The NEARBY is only for points. You'll need to use INTERSECTS or WITHIN

Ah ha ... I knew I was doing something wrong.  That worked thank you. On a side note I know you have the Patreon page but have you thought about offering commercial support?

I recently added the Patreon page so that I can provide priority support to backers and sponsors, but I've done commercial support specifically for Tile38. Shoot me an email if you want to discuss further.


Upgrade Evrit Json Schema to prevent cve-2020-15250

Issue #, if available:
Issue 220
Description of changes:
bumping everit.json.schema to 1.14.1 to prevent CVE
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Do we also have to update the org.json.json version?

@blacktooth I don't see a direct reference to that, so I don't believe we need to update anything else - however I did update the license version to match.

org.json:json looks to be brought in via this everit.json.schema dependency, so we should be in a good spot in terms of that listed CVE with this version bump.


[ALLUXIO-3064] Use Java 8's ConcurrentHashMap

https://alluxio.atlassian.net/browse/ALLUXIO-3064

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17658/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17663/
Test PASSed.

Merged build finished. Test PASSed.


App crashes in iOS after updating Nativescript to v6

Hello,
after updating the NS to v6, I am getting this error
undefined is not an object (evaluating 'owner.items.length')
it was previously working fine...
Please help.

Hello,
are you sure the plugin is causing that error? because that code doesn't exist in the source code

I also use this plugin on NS6.0 and it work fine on both Android and iOS.

Hello,
I don't exactly know, but whenever I redirect to the tabs page, the app crashes. Also after downgrading NS to v5.4.2 it is again working fine.
Thanks.

The  version 2.0.0 was released with support for NS6 and fix the issues releaded with component name, please review the README file


[1.16] Crash when adding a resource pack

When adding a resource pack on the main menu (before loading a world), the following exception is raised and the game eventually crashes:
java.lang.IllegalStateException: Tag tconstruct:modifiable used before it was bound
	at net.minecraft.tags.TagRegistry$NamedTag.func_232944_c_(TagRegistry.java:131)
	at net.minecraft.tags.TagRegistry$NamedTag.func_230235_a_(TagRegistry.java:142)
	at slimeknights.tconstruct.library.tools.helper.ModifierUtil.getModifierLevel(ModifierUtil.java:193)
	at pyre.tinkerslevellingaddon.setup.ClientEventHandler.onTooltipEvent(ClientEventHandler.java:66)
	at net.minecraftforge.eventbus.ASMEventHandler_15_ClientEventHandler_onTooltipEvent_ItemTooltipEvent.invoke(.dynamic)
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
	at net.minecraftforge.event.ForgeEventFactory.onItemTooltip(ForgeEventFactory.java:275)
	at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:701)
	at net.minecraft.client.Minecraft.func_213251_b(Minecraft.java:642)
	at net.minecraft.client.util.SearchTree.func_194042_b(SourceFile:36)
	at net.minecraft.client.util.SearchTreeReloadable.func_194040_a(SourceFile:37)
	at net.minecraft.client.util.SearchTree.func_194040_a(SourceFile:29)
	at net.minecraft.client.util.SearchTreeManager.func_195410_a(SearchTreeManager.java:21)
	at net.minecraft.resources.IResourceManagerReloadListener.func_232635_a_(IResourceManagerReloadListener.java:18)

I believe this issue occurs because it is not legal to access tags when a world is not loaded. However, it seems that it is possible for ItemTooltipEvent to be fired without a world being present.
I would guess that this also affects 1.18, but I'm not 100% sure.

It seems it only affects 1.16. From my testing, 1.18 is working fine. Either way I will probably make changes in both versions to be extra safe.
Thanks for reporting :)

when will this be fixed in 16.5

1.16.5 and 1.18.2 update is out.


Data quality issue with CVE-2022-0714

The CVE ID
CVE-2022-0714
Describe the data quality issue observed
CVE-2022-0714 is not found in OSV.dev
This is related to the issue I opened previously: https://github.com/google/osv.dev/issues/2838/
Similar to last time, https://cve-osv-conversion.storage.googleapis.com/osv-output/CVE-2022-0714.json does exist and it is a vulnerability related to vim/vim.
It seems like historical CVEs are being lost periodically when the DB refreshes?
Suggested changes to record
CVE-2022-0714 found in the OSV DB

Thanks for flagging this. I didn't get a chance to review missing records, and there's ~387 records that are available for import that are missing in the export, so I'll trigger a reimport of all of these.
I've triggered a report of CVE-2022-0714 and it is now present: https://osv.dev/CVE-2022-0714

Is there a systematic issue here that we need to investigate here @andrewpollock ? Or was this from some one-off ?

Is there a systematic issue here that we need to investigate here @andrewpollock ? Or was this from some one-off ?

Yes, I was wondering if this is going to be a recurring issue?

It's difficult to say what happened here with certainty.
There's a small (in the 300s) delta between CVEs available for import and CVEs successfully importing.
I have triggered a reimport of all of these, today, which was something I meant to do as a follow-up to https://github.com/google/osv.dev/issues/2838
Of these ~300 records, there is a further subset that fail Git range analysis due to known edge cases. When a record fails Git analysis, it fails to be imported altogether, regardless of the contents of affected[]. I'm working on a PR to address this failure mode at the moment.
Depending on the length of time involved between when the records were available and when they disappeared, my theory for what happened is:

some of these CVEs originally imported successfully, because they had no GIT ranges
when we did the clean up of what was overwritten by the Ubuntu CVE overwriting incident, they were deleted
they then failed to reimport because a GIT range was now present

OR

they were only present in the first place during the window of time that we erroneously imported a CVE-prefixed record from Ubuntu, and then "disappeared" again as a result of the cleanup.


JuliaRun bin setup

JuliaRun uses bin/main.jl for its project workflow, so it would be nice to have an option for setting up projects with this file by default

The best practices here are still evolving a bit but I'm happy to help develop a template that has inputs, outputs and some basic structure.

This should be easy, I just need an example file.


fix(logger-plugin): fix missing target port

fixes #985

coverage: 97.644% (+0.03%) from 97.619%
when pulling 5df7293759ddc28ba900ca1599d7c3a932aad8e4 on fix-logger-target-port
into bffa0a67e8dbd45e5d009805cca2dded999ba6d7 on master.


Unable to create an instance of CognitoAWSCredentials with Xamarin iOS test app

I have a Xamarin iOS (unified api) test app that is trying to create some test data but I am able to to create an instance of CognitoAWSCredentials with a ArgumentNull Exception. on the "stream" parameter.  I tried both using the latest Nuget packages as well as using the latest binaries with no luck.
Here's the sample code and stacktrace:
        Amazon.Runtime.AWSCredentials credentials = new CognitoAWSCredentials ("xxxxxxx",
            "us-east-1:xxxxx-xxxxx-xxxx-xxxx-xxxxxx",
            "arn:aws:iam::xxxxx:role/Cognito_DefaultIdentityPoolAuth_DefaultRole",
            "arn:aws:iam::xxxxx:role/Cognito_DefaultIdentityPoolAuth_DefaultRole", RegionEndpoint.USEast1);

System.ArgumentNullException: Argument cannot be null.
Parameter name: stream
at System.IO.StreamReader.Initialize (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00199] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:255
at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen) [0x0000e] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:166
at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:152
at System.IO.StreamReader..ctor (System.IO.Stream stream) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:139
at Amazon.RegionEndpoint.LoadEndpointDefinitionsFromEmbeddedResource () [0x00000] in :0
at Amazon.RegionEndpoint.LoadEndpointDefinitions () [0x00000] in :0
at Amazon.RegionEndpoint.GetEndpointForService (System.String serviceName) [0x00000] in :0
at Amazon.Runtime.ClientConfig.set_RegionEndpoint (Amazon.RegionEndpoint value) [0x00000] in :0
at Amazon.CognitoIdentity.AmazonCognitoIdentityClient..ctor (Amazon.Runtime.AWSCredentials credentials, Amazon.RegionEndpoint region) [0x00000] in :0
at Amazon.CognitoIdentity.CognitoAWSCredentials..ctor (System.String accountId, System.String identityPoolId, System.String unAuthRoleArn, System.String authRoleArn, Amazon.RegionEndpoint region) [0x00000] in :0

Hi:
Remove all references to the assemblies provided by the Nuget package or the compiled binaries folder, as those will be updated on tomorrow.
Next, open the Xamarin iOS project (not iOS Classic) in your IDE, and compile. Make sure that you have the Conditional compilation directives there if you switch from Debug to Release.
Take the AWS_MOBILE assembly from this and add it to your references and recompile you code.
Let me know if this resolves your issue.
Thanks,
TEW
Sent from my Windows Phone

From<EMAIL_ADDRESS>Sent: 3/5/2015 7:12 AM
To<EMAIL_ADDRESS>Subject: [aws-sdk-xamarin] Unable to create an instance of CognitoAWSCredentials with Xamarin iOS test app (#19)
I have a Xamarin iOS (unified api) test app that is trying to create some test data but I am able to to create an instance of CognitoAWSCredentials with a ArgumentNull Exception. on the "stream" parameter.  I tried both using the latest Nuget packages as well as using the latest binaries with no luck.
Here's the sample code and stacktrace:
                    Amazon.Runtime.AWSCredentials credentials = new CognitoAWSCredentials ("xxxxxxx",
                            "us-east-1:xxxxx-xxxxx-xxxx-xxxx-xxxxxx",
                            "arn:aws:iam::xxxxx:role/Cognito_DefaultIdentityPoolAuth_DefaultRole",
                            "arn:aws:iam::xxxxx:role/Cognito_DefaultIdentityPoolAuth_DefaultRole", RegionEndpoint.USEast1);

System.ArgumentNullException: Argument cannot be null.
Parameter name: stream
at System.IO.StreamReader.Initialize (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00199] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:255
at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen) [0x0000e] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:166
at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:152
at System.IO.StreamReader..ctor (System.IO.Stream stream) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:139
at Amazon.RegionEndpoint.LoadEndpointDefinitionsFromEmbeddedResource () [0x00000] in :0
at Amazon.RegionEndpoint.LoadEndpointDefinitions () [0x00000] in :0
at Amazon.RegionEndpoint.GetEndpointForService (System.String serviceName) [0x00000] in :0
at Amazon.Runtime.ClientConfig.set_RegionEndpoint (Amazon.RegionEndpoint value) [0x00000] in :0
at Amazon.CognitoIdentity.AmazonCognitoIdentityClient..ctor (Amazon.Runtime.AWSCredentials credentials, Amazon.RegionEndpoint region) [0x00000] in :0
at Amazon.CognitoIdentity.CognitoAWSCredentials..ctor (System.String accountId, System.String identityPoolId, System.String unAuthRoleArn, System.String authRoleArn, Amazon.RegionEndpoint region) [0x00000] in :0

Reply to this email directly or view it on GitHub:
https://github.com/awslabs/aws-sdk-xamarin/issues/19

I am still seeing the issue.  I've removed all references to the Nuget packages. I am using the AWSSDK_XMOBILE.dll from Compiled Binaries_Assemblies/iOS Unified API.  And I am running in debug mode.

Recompiling the project and using the output binary fixed the issue.
I am now getting a "AmazonClientException: No RegionEndpoint or ServiceURL configured" exception trying to set some test data:
		using(var syncClient = new AmazonCognitoSyncClient(credentials))
		{
			var recordsResult = await syncClient.ListRecordsAsync (new ListRecordsRequest {
				DatasetName = "myDataSet",
			});

			var updateRequest = new UpdateRecordsRequest {
				DatasetName = "myDataset",
				RecordPatches = new List<RecordPatch>
				{
					new RecordPatch
					{
						Op = Operation.Replace,
						SyncCount = 0,
						Key = "myKey",
						Value = "myValue"
					}
				},
				SyncSessionToken = recordsResult.SyncSessionToken
			};

			var result = await syncClient.UpdateRecordsAsync (updateRequest);
		}

Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configured
at Amazon.Runtime.ClientConfig.Validate () [0x00021] in /AWS.XamarinSDK/AWSSDK_iOS/Amazon.Runtime/ClientConfig.cs:395
at Amazon.Runtime.AmazonServiceClient..ctor (Amazon.Runtime.AWSCredentials credentials, Amazon.Runtime.ClientConfig config) [0x00034] in /AWS.XamarinSDK/AWSSDK_iOS/Amazon.Runtime/AmazonServiceClient.cs:76
at Amazon.CognitoSync.AmazonCognitoSyncClient..ctor (Amazon.Runtime.AWSCredentials credentials, Amazon.CognitoSync.AmazonCognitoSyncConfig clientConfig) [0x00000] in /AWS.XamarinSDK/AWSSDK_iOS/Amazon.CognitoSync/AmazonCognitoSyncClient.cs:89
at Amazon.CognitoSync.AmazonCognitoSyncClient..ctor (Amazon.Runtime.AWSCredentials credentials) [0x00002] in /AWS.XamarinSDK/AWSSDK_iOS/Amazon.CognitoSync/AmazonCognitoSyncClient.cs:68

The SDK you built should be AWSSDK_XMOBILE.dll not AWSSDK_iOS.  The error shows AWSSDK_iOS, is that the name of your assembly.  In the assembly manifest on Github the assembly to be created is noted as AWSSDK_XMOBILE.  Was this changed or altered somehow?
Sent from Windows Mail
From: phamt
Sent: Thursday, March 5, 2015 2:52 PM
To: 'awslabs/aws-sdk-xamarin'
Cc: Tara Walker
Recompiling the project and using the output binary fixed the issue.
I am now getting a "AmazonClientException: No RegionEndpoint or ServiceURL configured" exception trying to set some test data:
using(var syncClient = new AmazonCognitoSyncClient(credentials))
{
var recordsResult = await syncClient.ListRecordsAsync (new ListRecordsRequest {
DatasetName = "myDataSet",
});
        var updateRequest = new UpdateRecordsRequest {
            DatasetName = "myDataset",
            RecordPatches = new List<RecordPatch>
            {
                new RecordPatch
                {
                    Op = Operation.Replace,
                    SyncCount = 0,
                    Key = "myKey",
                    Value = "myValue"
                }
            },
            SyncSessionToken = recordsResult.SyncSessionToken
        };

        var result = await syncClient.UpdateRecordsAsync (updateRequest);
    }

Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configured
at Amazon.Runtime.ClientConfig.Validate () [0x00021] in /AWS.XamarinSDK/AWSSDK_iOS/Amazon.Runtime/ClientConfig.cs:395
at Amazon.Runtime.AmazonServiceClient..ctor (Amazon.Runtime.AWSCredentials credentials, Amazon.Runtime.ClientConfig config) [0x00034] in /AWS.XamarinSDK/AWSSDK_iOS/Amazon.Runtime/AmazonServiceClient.cs:76
at Amazon.CognitoSync.AmazonCognitoSyncClient..ctor (Amazon.Runtime.AWSCredentials credentials, Amazon.CognitoSync.AmazonCognitoSyncConfig clientConfig) [0x00000] in /AWS.XamarinSDK/AWSSDK_iOS/Amazon.CognitoSync/AmazonCognitoSyncClient.cs:89
at Amazon.CognitoSync.AmazonCognitoSyncClient..ctor (Amazon.Runtime.AWSCredentials credentials) [0x00002] in /AWS.XamarinSDK/AWSSDK_iOS/Amazon.CognitoSync/AmazonCognitoSyncClient.cs:68
—
Reply to this email directly or view it on GitHub.

The name of the assembly is still AWSSDK_XMOBILE.
The stacktrace just happens to resolve the source code to my local disk where the assembly was built from.

I should have looked at your code more closely.  Your error was not that the code did not find a Regional Endpoint, you did not set a Regional Endpoint which is required for all AWS Services.
Example:
AmazonCognitoSyncConfig awsCognitoConfig;
awsCognitoConfig = new AmazonCognitoSyncConfig();
awsCognitoConfig.RegionEndpoint = RegionEndpoint.USEast1;
_cognitoCredentials = new CognitoAWSCredentials(CognitoDefaultValues.ID_POOL, RegionEndpoint.USEast1);
_cognitoSyncMgr = new DefaultCognitoSyncManager(_cognitoCredentials,awsCognitoConfig);
Sent from Windows Mail
From: phamt
Sent: Thursday, March 5, 2015 3:06 PM
To: 'awslabs/aws-sdk-xamarin'
Cc: Tara Walker
The name of the assembly is still AWSSDK_XMOBILE.
The stacktrace just happens to resolve the source code to my local disk where the assembly was built from.
—
Reply to this email directly or view it on GitHub.

What I should have additionally noted was for you to use the CognitoSyncClient, just ensure that you pass a CognitoSyncConfig with an RegionEndpoint or set an endpoint appropriately.
Sent from Windows Mail
From: Tara Walker
Sent: Thursday, March 5, 2015 3:13 PM
To: 'awslabs/aws-sdk-xamarin', awslabs/aws-sdk-xamarin
I should have looked at your code more closely.  Your error was not that the code did not find a Regional Endpoint, you did not set a Regional Endpoint which is required for all AWS Services.
Example:
AmazonCognitoSyncConfig awsCognitoConfig;
awsCognitoConfig = new AmazonCognitoSyncConfig();
awsCognitoConfig.RegionEndpoint = RegionEndpoint.USEast1;
_cognitoCredentials = new CognitoAWSCredentials(CognitoDefaultValues.ID_POOL, RegionEndpoint.USEast1);
_cognitoSyncMgr = new DefaultCognitoSyncManager(_cognitoCredentials,awsCognitoConfig);
Sent from Windows Mail
From: phamt
Sent: Thursday, March 5, 2015 3:06 PM
To: 'awslabs/aws-sdk-xamarin'
Cc: Tara Walker
The name of the assembly is still AWSSDK_XMOBILE.
The stacktrace just happens to resolve the source code to my local disk where the assembly was built from.
—
Reply to this email directly or view it on GitHub.

Thanks very much, that resolved my issues.
The sample code available in the AWS Console for the .NET SDK seems to be out of date or doesn't line up with the AWS Xamarin SDK implementation.  Can you provide any sample project or code?
Thanks!

@phamt  what did you change to fix the issue?


ODE, SDE, and Discrete Problem dispatches for ParsedReactionNetwork

Since these contain initial conditions and parameter values, would it make sense to create dispatches to e.g. do
using ReactionNetworkImporters
BCR = loadrxnetwork(BNGNetwork(), "BCR.net")
tspan = (0.0,1000.0)
oprob = ODEProblem(BCR, tspan)

The generated ReactionSystem has u0 and p added as defaults via metadata. See the README. You shouldn’t need to pass them in.

You mean using
oprob = ODEProblem(rn, Float64[], (0.0, tf), Float64[])

I thought this was slightly different, as I do not give the actual ParsedReactionNetwork, and utilise the default values in its contained ReactionSystem?


[FLINK-30860][doc] Add document for hybrid shuffle with adaptive batch scheduler

What is the purpose of the change
Add document for hybrid shuffle with adaptive batch scheduler.
Brief change log

Add document for hybrid shuffle with adaptive batch scheduler
Add document for hybrid shuffle index spilling

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? docs

Thanks @xintongsong for the review, I have addressed all comments, PTAL~


Minor fix to BMS watthours to correct scale and unit

Just following on from issue #110 this corrects the scale and unit of measurement - a slightly wider decision required as to whether this sensor is needed at all, but at least with these changes it provides a sensor that matches it's name (watthours).

I worry that changing the unit might mess up HA -- I've read issues where the oldest/newest unit is applied to all readings from the sensor, ignoring the unit which was present when the reading was taken.
We also record everything else in kWh. Would it be better to rename the sensor?

@canton7 Yes agree on the HA stats, they can be fixed in statistics 'Fix Issue' will allow you to update the previous stats or discard.
But i'm thinking like you that there is no value in this sensor and it just adds to the database - i'd rather it was in a correct format Wh or kWh (it's neither at the moment) or simply removed.

they can be fixed in statistics 'Fix Issue' will allow you to update the previous stats or discard.

Yeah, but only if people know what's happened! And we'd be expecting every user to do this, which is a bit much.

@canton7 Lol, i’d be more surprised if they actually noticed with this sensor ;)
Can I leave it with you and @nathanmarlor to decide if we should rescale to kWh or remove it, i’m happy with either.

Yeah I don't mind either. Fixing it and then disabling it is a halfway house at least -- people can get it back if they really want.

Also, @nathanmarlor seems to be otherwise occupied at the moment and I don't really want to merge anything in myself, so I suspect there's no rush here. Hopefully he'll be back next week when schools are back.

@canton7 yeah, I did think about this, my inclination is to leave the entity ID as it is, it still is a watthours sensor but it reports it's value in kwh (despite previously being the wrong scale). I fixed my install to report watthours only so I could compare it with a self generated wH sensor but it's not a total or total_increasing and resets to zero every few days so i'm not concerned about the history jumping.
Yep no worries there's absolutely no rush at all for this, i've been away myself for a few days and just managed to update to the latest release, I noticed when checking everything that the watthours sensor was wrong so thought i'd better do a PR before I forgot :wink: - hopefully Nathan is having a good break 👍

Cool, that's a fair point, makes sense. I'm on board!

@canton7 ok, no problem - once #167 has been approved/merged, i'll review and update this to match the new format.

Cool, or it might make sense to get this in first as it's smaller, in which case that's a reminder to me to update #167

Also, @nathanmarlor seems to be otherwise occupied at the moment and I don't really want to merge anything in myself, so I suspect there's no rush here. Hopefully he'll be back next week when schools are back.

I've messaged you on FB 🙂


Contributors guide

I created a draft notebook which contains some tips for first-time contributors. I am planning to keep editting it throughout my internship.
Any feedback would be appreciated 🤓
@MridulS @rossbar @dschult

This PR fails because of the following warning:
"WARNING: 'execution_timeout' is deprecated for 'nb_execution_timeout' [mystnb.config"
This does not cause any problem for my other PR (Euler notebook). So I wanted to make sure if I am missing something or not.
@MridulS

commits cherrypicked into https://github.com/networkx/nx-guides/pull/99, thanks for starting this @dtekinoglu!


Improve HF model metadata

Hi @xiaoqian-shen congrats on this work!
Really nice to see you publishing the models on the 🤗 hub along with a very nice Gradio demo.
Would it be possible to link the models + demo to the paper page? The paper page is a new feature on the hub which lets people discuss a paper and find artifacts (your models, demo for instance).
A model/demo can be linked to it by including the arxiv or https://huggingface.co/papers/2410.17434 link in the respective READMEs. Here's an example: https://huggingface.co/Vision-CAIR/LongVU_Qwen2_7B/discussions/1.
Besides that, would be great to add the video-text-to-text tag to each of the model repos, which makes sure the models can be found at https://huggingface.co/models?pipeline_tag=video-text-to-text&sort=trending. Here's an example PR: https://huggingface.co/Vision-CAIR/LongVU_Qwen2_7B/discussions/2.
Finally, safetensors could be adopted: https://huggingface.co/Vision-CAIR/LongVU_Qwen2_7B/discussions/4.
Thanks!
Niels from HF

Thanks @NielsRogge for this detailed HF metadata instruction!
Now the models are linked with the paper and tagged with video-text-to-text.
And the model weight pytorch_model.bin is replaced with safetensors format.
Best,
Xiaoqian

@xiaoqian-shen superb work 🔥 — instead of requiring users to manually clone the model and place it in the folder, the uploaded checkpoint on the hub could be a bit modified so it’s automatically downloaded/ transformers compatible and ready to use.
Ex (working for this ckpt):
from builder import load_pretrained_model

tokenizer, model, image_processor, context_len = load_pretrained_model(
    "jadechoghari/LongVU_Qwen2_7B", None, "cambrian_qwen",
)

https://huggingface.co/jadechoghari/LongVU_Qwen2_7B
you just need to add the repo id and it'll work!
cc @NielsRogge or me if you have any other questions.
I’ll open a PR soon once all the ckpts are complete! 😄

Great, thanks a lot @xiaoqian-shen !


Add script signing tasks

Working towards #33.
This allows a couple of different ways of setting up the script signing process, piggybacking on the existing functions for storing/retrieving clixml data.
You can pass the CertThumbprint parameter through psake to select a specific certificate from Cert:\CurrentUser\My. This is stored in $env:LOCALAPPDATA\WindowsPowerShell\CertificateThumbprint.clixml, like the nuget API key for automatic use next time.
Alternatively, a path to a PFX file can be used and a password will be asked for or can be provided through a psake parameter.
There is a final fallback behaviour that selects the first available code signing cert from the current user store, but I'm unsure about this, as I added it early on, but it seems a bit less useful now.
I also added the utility tasks to show or remove the stored certificate thumbprint.

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

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

TTYL, MSBOT;

@davegreen, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

I like this addition but need to think through a few issues. See my comments.  I think the main actionable item for you is to reconsider thumbprint vs Subject Name (see my code comment as to why).  And we probably don't want to encourage signing with a PFX file - although I guess we should allow it.  Not sure best way to discourage but allow it.  Probably make it very easy to use a Subject Name and require script customization to specify a PFX file.  There we could put a note in the build.ps1 file saying, that if you use a PFX file in your repo and you publish your repo to GitHub, anybody else can you use your cert.  Yada yada yada.
As for the issue with the store. We can ignore that for now until we have a better design for a value store.

Of course, that's awesome feedback, thanks!
Indeed, I thought grabbing the first cert it finds wasn't great, but I thought I would leave it in to see what the feedback was, I'll make those changes to remove this and parameterise the message.
I didn't consider that about subject name vs thumbprint. It certainly makes sense though. I used thumbprint as an easy way to single out a cert, but picking the subject name with the latest valid date is better too, so I'll do that too!

OK, I've made those changes in-line with your feedback. Certificates are now specified by subject, with the latest valid date taking precedence.
PFX use is also discouraged by making it only work interactively, as the PFX password is needed every time. This way it works, but it's a bit clunky to use it as anything other than a setup method to get a cert imported.

Thanks!  I've been looking forward to get some form of script signing support into the build script.


Force Display of Key Tip

How can I force display of the Key TIp? For example in Office applications, if you hold down the ALT key then after a moment the key tips are shown. How can I achieve a similar effect in UWP?

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

ID: cd5947b2-fd1c-dc30-8cf5-9a357d8adf07
Version Independent ID: a414afeb-51cb-3b63-7820-5d43be6eb84f
Content: Access keys design guidelines - UWP app developer
Content Source: windows-apps-src/design/input/access-keys.md
Product: windows
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

I don't agree. The platform will display tooltips when you press and then release the Alt key. I want to display tooltips when you press AND HOLD the Alt key (and then I want them to stay displayed when I release the Alt key). This is what Office does but it is not supported out of the box by UWP.


Fine grain control over windows generate steps

This will speed up CI which already tries to only build static for unit tests

looks like tests failed

Fixed.


Update 58-Length-Of-Last-Word.js

Added another approach for length-of-last-word in JS.
File(s) Modified: 58-Length-Of-Last-Word.js
Language(s) Used: JavaScript
Submission URL: https://leetcode.com/problems/length-of-last-word/submissions/846266489/

Thanks for contributing!


Updated variable reference.

Updated variable reference in "Waypoint: Iterate over Arrays with .map" from array to oldArray to match up with the given variable name in the program.

I also noticed this issue in  Waypoint: Filter Arrays with filter. It looks like certain exercises use "oldArray" and others use "array" but in the description it's always referred to as "array".

I'd change that too but I realized I didn't put this on a /fix branch so I don't want to put any more on here. Not sure how to undo the pull request.

When you make a branch you should give it a meaningful name like "fix/iterate-arrays-fix".
Additionally, you can add closes #1234 in your pull request to automatically close the issue when it is accepted.
Details in the Contribution Guidelines.


Drab.Modal.alert / Bootstrap 4 doesn't vertical scroll anymore if body overflow

With past JQwery based Drab.Modal versions, when the supplied body exceeded the vertical document size it was possible to scroll the box to reach its bottom, now instead the vertical scroll isn't anymore enabled, and if the body is too long, the OK/Cancel buttons are unreachable.
Try this code varying the height parameter:
defhandler test_show_alert(socket, sender) do
    height = 800
    body = "

FIRST ROW

I'M A VERY LONG DIV

LAST ROW

"
    Drab.Modal.alert(socket, "Message", body, buttons: [ok: "OK", cancel: "CANCEL"])
end

It seems that now, without jQuery, when Drab show the Boostrap Modal, the class ".modal-open" isn't dynamically set anymore to the  of the page, this way the overflow-y: auto; attribute isn't present, and scroll fails.
In Boostrap 4's CSS the scroll is enabled this way:
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
 }

so the .modal-open class has to be set in the DOM before the <div class="modal-dialog [...].
For this reason we cannot just add a class that set the overflow-v attribute supplying it to the class: parameter in the Drab.Modal.alert/4 call, because it will be applied to <div class="modal-dialog [...], not to its parent.
A brutal workaround is to redefine the .modal class in the App CSS:
 .modal {
    overflow-x: hidden;
    overflow-y: auto;
 }

Nice catch, @guidotripaldi.
Could you please check master? Should be solved.

Just tested. It works well! :)


[Bug] Login error in Mangadex settings but not in webview

Device information

Tachiyomi version: 1.5.0 r344
Android version: 11
Device: OnePLus5T / dumpling

Steps to reproduce
Login with 2FA to mangadex in settings -> MangaDex -> MangaDex login
Expected behavior
Login should reported as ok and MD features should be enabled through the app (MDlist tracking etc)
Actual behavior
I get an "Unknown Error", MD features are not enabled since the login is reported as failed, but I am logged in MangaDex webview.
Other details
In the attached log I managed to capture an EOFException
2021-03-18-release.log

i have this issue as well. (without 2FA tho)


Font sizes not "sticking"

Hello.
I'm trying to get a tutorial working in Swift.  I'm very close, however it does not seem to retain the global font name and size settings I'm providing.  The default font and font size are what is being shown.  In debugger I can see that the setters are being called in the OnboardingContentViewController classes, but it still isn't looking right and view debugger shows defaults.
Any ideas?
class func generateOnboardingViewController(completion: () -> ()) -> OnboardingViewController {
		var pages = [OnboardingContentViewController]()

		pages.append(
			OnboardingContentViewController(
			title: "Welcome!",
			body: "test test test test",
			image: UIImage(named: "sj-logo"),
			buttonText: nil) {
		})

		pages.append(OnboardingContentViewController(
			title: "Page 2",
			body: "test test test test",
			image: UIImage(named:"onboarding_2"),
			buttonText: "OK - Let's Play") {
				NSUserDefaults.standardUserDefaults().setBool(true, forKey: self.kUserHasOnboarded)
				completion()
		})

		// Kill NUI style stuff here... this appears to be only way to do so...
		for vc: OnboardingContentViewController in pages {
			for view: UIView in vc.view.subviews as! [UIView] {
				view.nuiClass = "none"
			}
		}

		// Create the onboarding controller with the pages and return it.
		let onboardingVC: OnboardingViewController = OnboardingViewController(
			backgroundImage: UIImage(named: "Gradient"),
			contents: pages
		)

		onboardingVC.fontName = "AvenirNext-Regular"
		onboardingVC.shouldMaskBackground = false
		onboardingVC.titleTextColor = UIColor.whiteColor()
		onboardingVC.bodyTextColor = UIColor.whiteColor()
		onboardingVC.titleFontSize = 20
		onboardingVC.bodyFontSize = 13
		onboardingVC.underIconPadding = 10
		onboardingVC.underTitlePadding = 15
		onboardingVC.bottomPadding = 20

		return onboardingVC
	}

Have you tried calling the setter methods directly, like:
onboardingVC.setFontName("AvenirNext-Regular")
onboardingVC.setTitleFontSize(20);
onboardingVC.setBodyFontSize(13)

I unfortunately haven't touched the Swift code since it was in beta, and very badly need to brush up that codebase / upgrade it to the new Swift syntax, but I can't even get your code to compile - the OnboardingViewController doesn't have fontName, bodyFontSize, etc., properties, it just has methods to pass those properties to all of the pages at once.

How do I "reference" the Swift version? I installed via cocoapods and it seems to automatically include the objc version only.

Ah, I thought you were using the Swift version, which you'd have to import manually, but honestly you're probably better off using the objective-c version at this point, even in your Swift project. What version of Onboard are you using?

Just installed today so whatever default cocoapods version is.

On Jul 26, 2015, at 6:42 PM, Mike Amaral<EMAIL_ADDRESS>wrote:
Ah, I thought you were using the Swift version, which you'd have to import manually, but honestly you're probably better off using the objective-c version at this point, even in your Swift project. What version of Onboard are you using?
—
Reply to this email directly or view it on GitHub.

I'm unable to replicate this - I would put a breakpoint on the lines where you set the font size/name and follow it through to the content view controllers, ensuring all of the labels and properties and everything exist. Usually when you see values that don't "stick", its because you set the variable on something that hasn't been initialized yet, and thus setting the values need to be done later. If you can pinpoint where the issue is let me know and I can address it.

Problem solved.  It appears the "Kill NUI" loop was causing generateView to be called prior to the convenience font size setters, so the default was used.

Cool - glad it worked out.


Enhance support archive to collect CRD and WebhookConfig manifests

Description
Support archive is enhanced in a way such that it now also collects manifests of CRDs (edgeconnect and dynakube), MutatingWebhookConfiguration and ValidatingWebhookConfiguration.
Some things to consider: The other resources are all queried and listed by an api call. This is unfortunately not possible with CRDs and WebhookConfigs (they are cluster wide objects), because of missing permission in the role of the operator. This is why I had to rethink my approach and decided to just get them with an api call (because for that we have necessary permissions). That is why I added edgeconnect to the operator role. So in summary, I simply get those objects and convert them to an unstructured.Unstructured type and store them.
How can this be tested?

Unit tests
make test/e2e/supportarchive
deploy operator and run support archive subcommand

Checklist

[x] Unit tests have been updated/added
[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

Codecov Report
Attention: 28 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@5d870a7). Click here to learn what that means.
Report is 3 commits behind head on main.

Files
Patch %
Lines

cmd/support_archive/resources.go
73.33%
20 Missing and 8 partials :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2481   +/-   ##
=======================================
  Coverage        ?   64.74%
=======================================
  Files           ?      245
  Lines           ?    16345
  Branches        ?        0
=======================================
  Hits            ?    10583
  Misses          ?     4953
  Partials        ?      809

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


with blur mod the console gets filled real quick

Minecraft Version
1.18.2
Shimmer version
1.18.2-0.1.10
Modpack info or mod list
only shimmer with blur
The latest.log file
https://mclo.gs/8PSjReE
optifine , Rubidium , flywheel or any rendering related mods. mod versrion is required.
No response
Issue description
uploaded log says everthing
Steps to reproduce
just load those 2 mods together and join a world
Other information
No response

fix 16e07b9312b2113d305039a833663bfac66c250f


Reactjs: how to merge front end website and admin panel in reactjs?

I am new in reactjs and I've created a front end website using html template. Now I want to merge it with admin pane, I've downloaded html template and tried to combine with Front end website. But admin's css are clashing with front end's css files.
Is there any other way to achieve this or any suggestion regarding it?
Thanks in advance.

Good question. I am also looking for a solution to this.

Hi! We use the issue tracker for bug reports and feature requests.
If you have a question, please check our community support resources:
https://facebook.github.io/react/community/support.html


3.1.5 from sdist

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.
Here's what I've got...
For recipe/meta.yaml:

❌ license_file entry is missing, but is required.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@conda-forge-admin please rerender


Import experimental POC code.

#4463
Pretty much as-is. We'll start refactoring within master.

Rubber stamp LGTM. Time to start rolling.

@rfru do you think the react and ng2 examples are worth keeping outside of the POC branch?

Longer term we should figure out the proper home for the code, but for now it's nice to have it easily findable in case anyone stumbles upon the repo - it clearly shows the benefits of the architectural change.

Yah, let's keep those in for now. They are super informative to have for review and make sure they work as things change so we at least have a baseline.
I think when we go for Beta-mode that would be a good time to move them somewhere else.


Replace dynamic scroller librairy by custom development

Is your feature request related to a problem? Please describe.
To depend less on an external librairy and to have better performance, we could replace this librairy by a custom development
Describe the solution you'd like
This could be achived by using :

the intersectionObserver API : see this video
offset and limit params in vuexorm record table (so we need to create that record table instead of getting record from dataset) : see this link

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Ref: #1817


Remove print statements from ParserUtils

Somebody added many of the parser files to the source_validator.py script:
https://github.com/cmu-db/peloton/blob/master/script/validators/source_validator.py#L71-L81
The purpose of this script is to help make sure that we don't do anything stupid in our code.
It looks like the biggest offender is ParserUtils:
https://github.com/cmu-db/peloton/blob/master/src/parser/parser_utils.cpp#L198

Here is what we need to do:

Remove the parser files from the validator's white list.
Move all of the functions from 'parser_utils.cpp' into a helper class called ParserUtils as static methods.
All of the "Print" or "Get" methods should return strings and not print output.

Online 132  parser = argparse.ArgumentParser(description='Check for some strings')
So here Ones now what?

@vipuldcoder I don't understand what you are asking?


[terraform] update cloudwatch and flow logs terraform module to reduce redundancy

to: @chunyong-lin  / @Ryxias
cc: @airbnb/streamalert-maintainers
Background
The tf_cloudwatch and tf_flow_logs modules are somewhat redundant, and implemented poorly. They both embed their own provider block, which terraform recommends against. The best practice is to have providers in the root module that can be referenced in the submodules via their alias. Otherwise, this can create state issues when the module changes/is renamed/etc.
Changes

adding aliased terraform providers for regions
updating tf_flow_logs module to remove redundancy
adding a tf_cloudwatch_logs_destination module to replace tf_cloudwatch module
removing replaced tf_cloudwatch module
updating infinitedict function to support initial value
updating terraform generation code for aforementioned changes
removing legacy test because we ain't living in the past
updates to documentation

Notes on Config Changes

The config for the cloudwatch module is now named cloudwatch_destinations to be more explicit/clear.
The config settings within cloudwatch_destinations now uses inclusion logic for regions vs exclusion logic (regions vs the old exluded_regions).
The tf_flow_logs module should no longer be supplied any cross_account_ids. This variable should be supplied directly to the cloudwatch_destinations, since that is all that is needed to support cross account flow logs.

Testing

fixing tests for default terraform settings
other updates for better, more encompassing unit tests

Coverage remained the same at 96.126% when pulling c59c5f209c21563c87e01d19173895ffcad38b89 on ryandeivert-fix-cloudwatch-flow-logs-tf into 15e06c1270370766d9f1fd5397f1e697718284c3 on release-3-0-0.

@chunyong-lin I added a commit addressing PR feedback: https://github.com/airbnb/streamalert/pull/1041/commits/7e6b113d866448b9d747743306c01f2d8b0a1303


Fix message count

Fix a bug introduced in #9201

Codecov Report

Merging #9271 (5a48c82) into master (e14fba0) will increase coverage by 3.50%.
The diff coverage is 100.00%.

:exclamation: Current head 5a48c82 differs from pull request most recent head 0065990. Consider uploading reports for the commit 0065990 to get more accurate results

@@             Coverage Diff              @@
##             master    #9271      +/-   ##
============================================
+ Coverage     63.59%   67.10%   +3.50%
- Complexity     4740     4814      +74
============================================
  Files          1809     1381     -428
  Lines         96993    71991   -25002
  Branches      14832    11524    -3308
============================================
- Hits          61686    48306   -13380
+ Misses        30756    20179   -10577
+ Partials       4551     3506    -1045

Flag
Coverage Δ

unittests1
67.10% <100.00%> (-0.01%)
:arrow_down:

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...manager/realtime/LLRealtimeSegmentDataManager.java
53.39% <100.00%> (ø)

...org/apache/pinot/core/common/ObjectSerDeUtils.java
89.63% <0.00%> (-0.82%)
:arrow_down:

...ller/api/access/BasicAuthAccessControlFactory.java

...not/controller/tuner/TableConfigTunerRegistry.java

...estion/batch/common/SegmentGenerationJobUtils.java

...on/tasks/mergerollup/MergeRollupTaskGenerator.java

...oller/api/events/DefaultMetadataEventNotifier.java

...ender/data/generator/PatternSequenceGenerator.java

...ontroller/api/resources/ConfigSuccessResponse.java

...ecommender/data/generator/RangeFloatGenerator.java

... and 420 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Expose nats port when used with Docker

Signed-off-by: Tamal Saha<EMAIL_ADDRESS>

thank you :)


ssvmup init.sh failed

log:
➜  ~ curl https://raw.githubusercontent.com/second-state/ssvmup/master/installer/init.sh -sSf | sh
info: downloading rustwasmc
curl: (22) The requested URL returned error: 404
rustwasmc-init: failed to download https://github.com/second-state/rustwasmc/releases/download/v0.1.21/rustwasmc-v0.1.21-x86_64-unknown-linux-gnu.tar.gz
rustwasmc-init: this may be a standard network error, but it may also indicate
rustwasmc-init: that rustwasmc's release process is not working. When in doubt
rustwasmc-init: please feel free to open an issue!

➜  ~ curl https://github.com/second-state/rustwasmc/releases/download/v0.1.21/rustwasmc-v0.1.21-x86_64-unknown-linux-gnu.tar.gz
Not Found#

os: arch linux

Thank you @weiby3
We are just in the middle of a fairly major renaming operation, apologies for any inconvenience.
@wangshishuo it seems that we need to re-release under the rustwasmc name and generate new compressed binaries because:
a) the installer URL is pointing to a compressed binary which does not yet exist
b) even if the installer was able to fetch the correct compressed binary (.tar.gz etc.) it is still a requirement that the uncompressed version has the root directory of rustwasmc not the original ssvmup (i.e. renaming the compressed binary file name will not work; they need to be re-released)

The new version v0.1.22 has been released.


Typo in 04.02-Simple-Scatter-Plots?

Notice that the size of points is given in pixels, the color argument is automatically mapped to a color scale (shown here by the colorbar() command), and that the size argument is given in pixels.

"Given in pixels" repeated twice?

Thanks! fixed in https://github.com/jakevdp/PythonDataScienceHandbook/commit/608a30f0e4b83c8b2259e3e50f67d37c1d88f6c5


Remap key unless part of certain combinations (pass-through)

Hello,
I've been trying to figure out how to ignore a key remap command if that key is used in certain combinations. For example, I've remapped left control to left command, but I want to ignore that remap if left control is used in combination with tilde.
Looking through the source, I found a couple places where certain keys are passed-through (e.g. https://github.com/tekezo/Karabiner/blob/master/src/core/server/Resources/include/checkbox/apps/terminal.xml), but all of those refer to a snippet that refers to a wrap_keys.xml that refers to a host of other xml files. Is there an easier way, or should I duplicate that setup if I want to pass-through certain key combinations?
If that complicated setup is required for pass-through, then this is a feature request to have some kind of simple key-exclusion functionality in the remap definitions :)
Thanks!

Changing control-a, control-b, .., control-z to command-* using wrap_keys/*.xml is one of clear way.
Another way, we can restore command-tilde to control-tilde like this:
    <autogen>
      __KeyToKey__
      KeyCode::BACKQUOTE, ModifierFlag::COMMAND_L,
      KeyCode::BACKQUOTE, ModifierFlag::CONTROL_L,
    </autogen>

But it changes both physical command-tilde and physical control-tilde.
So, we mark physical command key by using virtual modifier.
  <modifierdef>PHYSICAL_CONTROL_L</modifierdef>

  <item>
    <name>Example</name>
    <identifier>private.example</identifier>
    <autogen>
      __KeyToKey__
      KeyCode::CONTROL_L,
      KeyCode::COMMAND_L, ModifierFlag::PHYSICAL_CONTROL_L,
    </autogen>
    <autogen>
      __KeyToKey__
      KeyCode::BACKQUOTE, ModifierFlag::COMMAND_L | ModifierFlag::PHYSICAL_CONTROL_L,
      KeyCode::BACKQUOTE, ModifierFlag::CONTROL_L,
    </autogen>
  </item>


Truncated histogram aggregation

This PR adds an aggregation that computes an approximate histogram of values. It's a hybrid of histogram and numeric_histogram.
It can be used to get an upper and lower bound for how many times each value appears in a column, for up to buckets values:

For less than buckets distinct values, it'll return the same result as histogram(value).
For skewed distributions, you can get tight bounds for most permutations of the distribution.
For unskewed distributions, the bounds will be very loose. (for example, SELECT truncated_histogram(251, user_id) FROM users).
If any value appears more than 1 / buckets of the time, it will be reported.

In addition, just like histogram, if the memory usage exceeds 4 MB, the query will fail. I've also decreased the load factor from 90% to 75% because it seems to give me 1.8x throughput (rows/cpu sec).
https://github.com/facebook/presto/issues/4094

Oops, let me sign the CLA first.

Moved here: https://github.com/facebook/presto/pull/4120


Do regressive tests after refactoring CCActions

Subj.

Something still can be refactored during adding AMC Support.
But new stuff in CCAction is tested & works fine now - d342f10156fc7a7fdc4e1e2be84269b2b46dbf04 .
Closed.


[Question] parameters for performance reproduction in paper

Hello Yizhong and everyone!
Thanks for your great work and contribution. While I'm attempting to replicate the performance in Fig. 5b in this paper with its setting, I find there is a gap and I was wondering if you could share some experience on this.
I attempted four times to run scripts/train_tk_instruct.sh with only changing --max_num_instances_per_task or --seed：

when set --max_num_instances_per_task 8, it reports train/predict_rougeL 45.866, from Fig. 5b, it's 48.5
when set --max_num_instances_per_task 8 and --seed 1337, it reports train/predict_rougeL 46.762
when set --max_num_instances_per_task 64, it reports train/predict_rougeL 49.6898, from Fig. 5b, it's 54.7
when set --max_num_instances_per_task 100(default), it reports train/predict_rougeL 49.3467

I simply copied data/splits/default/test_tasks.txt into data/splits/default/dev_tasks.txt while maintaining the default settings for everything else. I'm not sure if the parameters in scripts/train_tk_instruct.sh are the default settings in paper, and I'm hoping that you can kindly offer some suggestion.
Thanks in advance!
Cheers,
Leo

Hi Leo, thanks for reporting your results. May I know how many GPUs did you use? This is important because the real batch size is per_device_train_batch_size x num_gpus x accumulation steps. In my experiment, I used 8 A100 GPUs, which results in a batch size of 16.

Hi Leo, thanks for reporting your results. May I know how many GPUs did you use? This is important because the real batch size is per_device_train_batch_size x num_gpus x accumulation steps. In my experiment, I used 8 A100 GPUs, which results in a batch size of 16.

Hey Yizhong,
Thanks for your rapid reply :-)
In my test, I only used one A100 for debugging. So I will try 8 GPU and share the result later.
Thank you again and have a nice day!
Cheers,
Leo

Hi Yizhong,
Thanks for your hints, and I have successfully performed 2 tests and received even better results of 48.5 (sample 8 times) and 55.1235 (sample 64 times) than 48.5 and 54.7 respectively reported from paper.
That's amazing!
Leo

Hi everyone，
It's strange that I can only get 48  on 8 3090 GPUs without changing any parameters, does anyone know the possible reason?

@Yufang-Liu
Hi Yufang,
Given the multitude of factors that could lead to variations in scores, it was on the batch_size my previous test. Further, I suggest examining if any optimization measures such as half-precision or ZERO have been auto-implemented via the Deepspeed or accelerate package.
Hope this may help.
Leo


docs/development/loaders: Intro for development setup

We should add a quick intro on how to actually setup and test a loader locally with webpack https://github.com/webpack/webpack/issues/4920
loader.js
export default function loader (src, map) {
  const cb = this.async()
  const file = this.resourcePath

  transform(src)
     .then((result) => cb(null, result))
     .catch((err) => cb(err))
}

webpack.config.js (compiler.js)
const config = {
  module: {
     rules: [
      {
        test: /\.ext$/
        use: [
           {
              loader: path.resolve('path/to/loader.js'), // Especially 'this' :D path.resolve(), not require()
              options: {...options}
            }
        ]
      }
    ]
  }
}

Add webpack Node API here...

loader.test.js (Jest)
import compiler from './helpers'

test('Loader', () => {
  const config = {}
  compiler(fixture, config).then((stats) => expect(stats)...)
})

Is this not already addressed in the /development/how-to-write-a-loader.md? If not, would you be interested in submitting a PR to add these points?

It describes how to write the loader.js but not how to test and to locally 'require' a loader for testing, e.g
**webpack.config.js
const loader = require('./loader.js')

const config = {
  module: {
    rules: [
      {
        test: /\....$/,
        use: [ { loader: loader, options: {} } ] // Error, no Loader API ('this' => `global`)
    ]
  }
}

Which can be a pitfall for loader authors
How to write a loader ?
  |– Examples
  |– Guides
+  |– Development || Setup
  |–...

Yep i can see if I get something to work :D, will tak a while... 😛


Add a scheduled workflow to automatically update the pixi.lock file

It would be nice to have a scheduled workflow (let's say, once per month) that re-creates from scratch a new pixi.lock file and run the tests on the new dependencies. If successful, a new PR can be automatically opened so that the new file can be pushed to LFS.
This would allow to maintain a rolling-release set of working dependencies attached to the git repository.
Related to #189.

A possible idea could be to modify https://pixi.sh/dev/advanced/updates_github_actions/#how-to-use integrating LFS and logging some diff in the PR description.

Yep, we already discussed this in https://github.com/ami-iit/jaxsim/pull/189#issuecomment-2194525004.


Importing or loading data with duplicate info can lead to very slow loadtimes

This log (or similar) pops up for some data:
W: DcmItem: Element (0000,0000) found twice in one dataset/item, ignoring second entry
This massively increases the amount of time taken to load/import the data, as it is printed many thousands of times.
Three ways to handle it:

Keep track of duplicate logs and don't print them
Remove this log
Have different logging levels, so this one only appears when we're debugging.

Maybe solved by Mathilde's PR

The problem is that i can't test for now, we don't have dicom with duplicated data ^^'


🚀 - custome colors for radio buttons

Which @taiga-ui/* package(s) are relevant/releated to the feature request?
No response
Description
Hi, l am trying to create a block of radio buttons each with different color when selected.
it seems like the wrapper is the way to go https://taiga-ui.dev/wrapper, but l don't seem to get anywhere with it since it changes the color of all the radio buttons at once.
is there a way to achieve this?

idk if it's the optimal way, but l ended up creating three directives for the three colors, and in each directive l configured the dependency injection, example:
{       provide: TUI_RADIO_OPTIONS,       useValue: {         ...TUI_RADIO_DEFAULT_OPTIONS,         size: 'l',         appearances: {           checked: 'yellowRadio',         },       },     },

Maybe it would be easier to override CSS variables like done here:
https://taiga-ui.dev/charts/legend-item#toggle

I think I'll close this issue because there are already 2 valid ways to change colors, either with DI like you've implemented, or with CSS variables.


Exported files can not be re-imported

Noto v2.0.1 seems to not recognise files exported by the 2 version, existing files are grayed out, even those that I suffixed with  .json,. zip, or even .txt
Noto v2.0.1 (from F-Droid)
Android 6.0.1 (with GMS upd. to 21.18.16, cn=M sdk=23)
Webview 97.0.4692.87
Motorola Moto G4
device not rooted

OK, I found a possible reason: One of

me
Android file management
Noto
named the backups such that they contained
no .json suffix
parentheses
After naming the file correctly, I could import it.

Ali, apologies if both of these were caused by me (which I don't think so). I'm currently moving my data over to an Android 10 phone and will see one by one which of my bug reports still apply then.

The output file structure has changed in v2. It's now a single JSON file, instead of a Zip folder.
Let me know if you're still facing this issue or whether you found what causes it.

For v2.0.1 I've already answered before you asked, see post#2. For the new
version I can't tell yet, the Izzy server times out.

For completeness, exporting from a v2.1.1 and reimporting into the same version (even with the brackets in file names mentioned above) works, as expected.

I get the same problem that @uli-on mentioned in his first comment, I tried the latest version and many previous versions on a phone running Android 9, the exported file does not end with the suffix (.json), even if I modified the name by adding the missing suffix to the end of the name, I tried importing  json file I transferred from my primary Android 12 phone and the app didn't recognize it either.

Yes, the app started exporting data with suffix (.josn), but it still can't recognize it when I want to import it, because it's grayed out.
This issue is facing me on the phone running Android 9.

Fixed it,Thanks.


Allow batching

This add batching, by suspending the portal.
Tested with DuckDB only, and by setting the JDBC batchsize.
This way I can get early result for a large resultset. I left the pyarrow batching untouched, could imagine to set that as well, but the 10m default seems reasonable on the DuckDB side.

This is not right. Batching does not work correctly if a prepared statement is reused.


Delete the user's email account is still validated, you can not add the same mailbox user

In GitLab by @cuiaq123 on Nov 6, 2017, 14:24
If you are reporting a problem, please make sure the following information are provided:

Version of board (last git commit number) , docker engine and docker-compose.
Config files of board, you can get them by packaging "board.cfg" and files in the same directory, including subdirectory.
Log files, you can get them by package the /var/log/board/.
Other necessery information.

Menu location：admin options
Preconditions：
operating：
expected results：The delete and edit buttons for deleted user records should be unavailable
actual results：The delete and edit buttons for deleted user records is available，and Give message： resources not found

In GitLab by @wknet123 on Nov 8, 2019, 07:40
User who has been deleted only marked as deleted (equal to 1) sign that means the data still stored in DB.

In GitLab by @wknet123 on Nov 8, 2019, 07:40
Fixed by PR #1705

In GitLab by @wknet123 on Nov 8, 2019, 07:40
Fixed by PR #1703

In GitLab by @sokril on Nov 8, 2019, 08:13
closed

In GitLab by @sokril on Nov 8, 2019, 08:13
assigned to @wknet123


Configuration should be on a per-instance basis

So I had a really weird bug in a project I'm working on that I've been trying to solve for the past 2 hours. I was trying to get the list of available locales from the backend using I18n.available_locales, but it was returning "en" twice, as well as a locale that wasn't in my project at all.
After a lot of digging I found out that another project that I'm using, humanize_time, also uses I18n and that the mysterious locale was coming from there.
Ideally configuration should be done on a project by project basis, not globally.

I may get your point wrongly but from my perspective application should have a single instance with translations that is shared with all libraries and application itself. Doing this you can customize translation for some libraries and also use some translations from underling libraries in project code. What do you think about this? Also do you still have any issue connected to this topic?

@watzon what framework are you using and finding this issue with?

This was quite a while ago, but iirc I was trying to integrate i18n with my library tourmaline to create a bot. I was also using humanize_time which uses i18n as well and that's where this bug popped up.
I agree with @imdrasil that ideally, libraries shouldn't use i18n directly, but in the event that they don't it would still be nice not to encounter this issue.

@watzon technically any lib/application can instantiate dedicated backend instance to have own translations that aren't shared with other context
MY_I18N = I18n::Backend::Yaml.new
MY_I18N.load("my/location")
# ...
MY_I18N.translate("en", "hello")

It is a bit limited compared to global I18n.translate but I still think that it should be ok to use global context

I'm going to close this issue since it doesn't appear to be holding anyone back at this point.


Lock creation not finishing

I tried running this with pants 2.11.0rc2, meaning Pex 2.1.79
["/opt/homebrew/bin/python3", "./pex", "--tmpdir", ".tmp", "lock", "create", "--output=lock.json", "--no-emit-warnings", "--style=universal", "--resolver-version", "pip-2020-resolver", "--indent=2", "--no-pypi", "--index=https://pypi.org/simple/", "--manylinux", "manylinux2014", "--interpreter-constraint", "CPython<3.10,>=3.8", "Django==4.0.4; python_version >= \"3.8\"", "Faker", "ansicolors==1.1.8", "beautifulsoup4==4.11.1", "boto3==1.21.39", "botocore==1.24.39", "bugout==0.1.20", "certifi", "chardet==4.0.0", "colorama", "cryptography==36.0.2", "defusedxml==0.7.1", "django-extensions==3.1.5", "django-prometheus==2.2.0", "django_csp==3.7", "djangorestframework==3.13.1", "djproxy==2.3.6", "docker==5.0.3", "drf-nested-routers==0.93.4", "duo-universal==2.0.1", "elasticsearch-dsl==7.4.0", "elasticsearch==7.5.1", "fasteners", "freezegun", "gitpython==3.1.27", "gunicorn==20.1.0", "hdrhistogram==0.9.1", "httpx==0.22.0", "humanize==4.0.0", "importlib-metadata", "influxdb-client==1.27.0", "jinja2==3.0.3", "jwcrypto==1.0.0", "kubernetes==23.3.0", "locust==2.8.6", "more-itertools==8.12.0", "moto[dynamodb2,ec2,s3,ses]==3.1.4", "ndjson==0.3.1", "networkx==2.7.0; python_version >= \"3.8\"", "opensearch-py==1.1.0", "opentelemetry-api", "opentelemetry-exporter-otlp-proto-grpc", "opentelemetry-instrumentation-botocore", "opentelemetry-instrumentation-django", "opentelemetry-instrumentation-elasticsearch", "opentelemetry-instrumentation-httpx", "opentelemetry-instrumentation-jinja2", "opentelemetry-instrumentation-psycopg2", "opentelemetry-sdk", "packaging", "pdpyras==4.5.0", "pex", "pkginfo==1.8.2", "plyvel==1.4.0", "prometheus-client==0.14.1", "psycopg2-binary==2.9.3", "py", "pyOpenSSL==22.0.0", "pygments==2.11.2", "pytest-django==4.5.2", "pytest-httpx==0.20.0", "pytest-responses==0.5.0", "pytest==7.1.1", "python-dateutil==2.8.2", "python-jose[cryptography]==3.3.0", "redis==4.2.2", "requests-aws4auth==1.1.2", "requests>=2.26.0", "rich==12.2.0", "ruamel.yaml==0.17.21", "selenium==4.1.3", "sentry-sdk==1.5.9", "setuptools<57.0,>=53.1.0", "shortuuid==1.0.8", "six", "social-auth-app-django==5.0.0", "social-auth-core==4.2.0", "stripe==2.71.0", "tomlkit==0.10.1", "twine==4.0.0", "typing-extensions", "urllib3[secure]==1.26.9", "voluptuous", "wheel", "yq==2.8.1", "zipp"]

It had been running for 15 minutes before I canceled it. I have not tried looking at any debug logs and I did not think to inspect top (my bad!). Generating with poetry took on a cold cache took close to 2 minutes iirc.
(sorry this is light on info, gotta run to doctor)

I added some logging to the runtime patch that tries to avoid working over full python versions here:
https://github.com/pantsbuild/pex/blob/8d0f40bbb9a0b8a355bc8e9e73786d365402e3d7/pex/pip/runtime_patches.py#L196-L203
That revealed:
$ tail -F /tmp/lock.log
tail: cannot open '/tmp/lock.log' for reading: No such file or directory
tail: '/tmp/lock.log' has appeared;  following new file
Python >=3.6.0: Candidate Python 3.10.2 caused needs full versions

If I make the code a bit more sophisticated and skip full versions if the operator is <, <=, >, or >= and the patch version is 0, the lock completes in 2:30 with a wiped pex root.
The culprits here were:
$ jq '.locked_resolves[].locked_requirements[] | select(.requires_python == ">=3.6.0")' lock.json

{
  "artifacts": [
    {
      "algorithm": "sha256",
      "hash": "58d5c3d29f5a36ffeb94f02f0d786cd53014cf9b3b3951d42e0080d8a9498d30",
      "url": "https://files.pythonhosted.org/packages/9c/d8/909c4089dbe4ade9f9705f143c9f13f065049a9d5e7d34c828aefdd0a97c/beautifulsoup4-4.11.1-py3-none-any.whl"
    },
    {
      "algorithm": "sha256",
      "hash": "ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693",
      "url": "https://files.pythonhosted.org/packages/e8/b0/cd2b968000577ec5ce6c741a54d846dfa402372369b8b6861720aa9ecea7/beautifulsoup4-4.11.1.tar.gz"
    }
  ],
  "project_name": "beautifulsoup4",
  "requires_dists": [
    "html5lib; extra == \"html5lib\"",
    "lxml; extra == \"lxml\"",
    "soupsieve>1.2"
  ],
  "requires_python": ">=3.6.0",
  "version": "4.11.1"
}
{
  "artifacts": [
    {
      "algorithm": "sha256",
      "hash": "922c5f4edb3aa1beaa47bf61d65d5380011ff6adcd527f26377d05cb73ed8ec8",
      "url": "https://files.pythonhosted.org/packages/e2/a9/efeaeca4928a9a56d04d609b5730994d610c82cf4d9dd7aa173e6ef4233e/Rx-3.2.0-py3-none-any.whl"
    },
    {
      "algorithm": "sha256",
      "hash": "b657ca2b45aa485da2f7dcfd09fac2e554f7ac51ff3c2f8f2ff962ecd963d91c",
      "url": "https://files.pythonhosted.org/packages/34/b5/e0f602453b64b0a639d56f3c05ab27202a4eec993eb64d66c077c821b621/Rx-3.2.0.tar.gz"
    }
  ],
  "project_name": "rx",
  "requires_dists": [],
  "requires_python": ">=3.6.0",
  "version": "3.2"
}

So this particular slow lock is solved, but it seems ~any time a lock has to resort to using a full python version for Requires-Python evaluation, things will be slow. I'm not sure if there is anything I can do about that, but I'll ruminate and maybe file an issue if there is. If there isn't Pex could try and get this "Oh-oh, things may be slow" warning back to the user in real time, but that's complicated since all this data is in the Pip log and - the way things are structured now, the log data is only available in-program after Pip has completed.

Ah, ok, I can be alot smarter here. Doing so brings the time down to 1:20 and I'm pretty sure this ends this whac-a-mole.


List scrolls to random position after multiple update operations in DB

I added a swipe to delete operation which deletes the current item from database and updates the list.
However if I do multiple delete operations quickly the list gets updated and is scrolled to a random position.

Not an issue with the codelab


[fix] [broker] Fix isolated group not work problem.

Modifications
When upgraded the pulsar version from 2.9.2 to 2.10.3, and the isolated group feature not work anymore.
Finally, we found the problem. In IsolatedBookieEnsemblePlacementPolicy, when it gets the bookie rack from the metadata store cache, uses future.isDone() to avoid sync operation. If the future is incomplete, return empty blacklists.
The cache may expire due to the caffeine cache getExpireAfterWriteMillis config, if the cache expires, the future may be incomplete. (#21095 will correct the behavior)
In 2.9.2, it uses the sync to get data from the metadata store, we should also keep the behavior.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Codecov Report

Merging #21096 (2f435cc) into master (dab5b2f) will increase coverage by 0.11%.
Report is 3 commits behind head on master.
The diff coverage is 62.50%.

@@             Coverage Diff              @@
##             master   #21096      +/-   ##
============================================
+ Coverage     73.03%   73.14%   +0.11%
- Complexity    32363    32371       +8
============================================
  Files          1887     1887
  Lines        139860   139860
  Branches      15384    15383       -1
============================================
+ Hits         102140   102304     +164
+ Misses        29634    29453     -181
- Partials       8086     8103      +17

Flag
Coverage Δ

inttests
24.12% <0.00%> (?)

systests
25.12% <0.00%> (+0.01%)
:arrow_up:

unittests
72.42% <62.50%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...areness/IsolatedBookieEnsemblePlacementPolicy.java
90.40% <62.50%> (+0.80%)
:arrow_up:

... and 77 files with indirect coverage changes

I would like to provide another approach for handling the cached rack configuration update.

Make allGroupsBookieMapping as a volatile variable
Update the cached rack configuration async

initialize
bookieMappingCache.get(BookieRackAffinityMapping.BOOKIE_INFO_ROOT_PATH).thenAccept(opt -> {
                opt.ifPresent(bookiesRackConfiguration -> cachedRackConfiguration = bookiesRackConfiguration);
            }).exceptionally(ex -> {
                log.warn("Failed to load bookies rack configuration while initialize the PlacementPolicy.");
                return null;
            });

getExcludedBookiesWithIsolationGroups
                CompletableFuture<Optional<BookiesRackConfiguration>> future =
                        bookieMappingCache.get(BookieRackAffinityMapping.BOOKIE_INFO_ROOT_PATH);

                BookiesRackConfiguration allGroupsBookieMapping;
                future.thenAccept(opt ->
                        opt.ifPresent(bookiesRackConfiguration -> cachedRackConfiguration = bookiesRackConfiguration)
                    ).exceptionally(ex -> {
                        log.warn("The newest bookie rack config is not available now.");
                        return null;
                    });
                allGroupsBookieMapping = cachedRackConfiguration;
                if (allGroupsBookieMapping == null) {
                    return excludedBookies;
                }

When the broker restarts, we might lose the rack configurations, but it can avoid any potential deadlocks.
The initialize method is called when starting the broker before the broker service becomes available to the client. So we will not lose the bookie rack configuration in most cases.

It makes sense, we should print a debug log when the allGroupsBookieMapping is null.

It makes sense, we should print a debug log when the allGroupsBookieMapping is null.

Yes, sure.

It makes sense, we should print a debug log when the allGroupsBookieMapping is null.

Yes, sure.

There is a case that needs discussed, we only update the rack config when the opt.isPresent. If the user deletes the zk nodes of path /bookies, the opt.isPresent will be false.  Shall we delete the cached rack config or still use it?

It makes sense, we should print a debug log when the allGroupsBookieMapping is null.

Yes, sure.

There is a case that needs discussed, we only update the rack config when the opt.isPresent. If the user deletes the zk nodes of path /bookies, the opt.isPresent will be false. Shall we delete the cached rack config or still use it?

@horizonzy We need to delete the cached rack configuration.

It makes sense, we should print a debug log when the allGroupsBookieMapping is null.

Yes, sure.

There is a case that needs discussed, we only update the rack config when the opt.isPresent. If the user deletes the zk nodes of path /bookies, the opt.isPresent will be false. Shall we delete the cached rack config or still use it?

@horizonzy We need to delete the cached rack configuration.

What do you think of it?

It makes sense, we should print a debug log when the allGroupsBookieMapping is null.

Yes, sure.

There is a case that needs discussed, we only update the rack config when the opt.isPresent. If the user deletes the zk nodes of path /bookies, the opt.isPresent will be false. Shall we delete the cached rack config or still use it?

@horizonzy We need to delete the cached rack configuration.

What do you think of it?

@horizonzy Do checking the exception type work? If the exception is a NoNode exception, update the cached rack configuration to null.

It makes sense, we should print a debug log when the allGroupsBookieMapping is null.

Yes, sure.

There is a case that needs discussed, we only update the rack config when the opt.isPresent. If the user deletes the zk nodes of path /bookies, the opt.isPresent will be false. Shall we delete the cached rack config or still use it?

@horizonzy We need to delete the cached rack configuration.

What do you think of it?

@horizonzy Do checking the exception type work? If the exception is a NoNode exception, update the cached rack configuration to null.

It doesn't work. The zk metadata store handles it separately, not throw exceptions.
https://github.com/apache/pulsar/blob/b26ee8a194ebebff05fca12d49d4f5e4b798be48/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/ZKMetadataStore.java#L267-L269

/pulsarbot run-failure-checks

@horizonzy Can you help create a PR to cherry-pick this change to branch-2.11?

@horizonzy Can you help create a PR to cherry-pick this change to branch-2.11?

Ok.


[CTTT & SM3DW] Star Bloom

I tested out the new files for captain toad and iv noticed Episode 1 page 8 where particles are used still look bad
Im running at 4k, used graphic pack from here :)

Oh okay... this is gonna be a hassle as these look exactly like the SM3DW shaders I found yesterday, which I couldn't get fixed sadly. Might want to retry it, but I didn't play the full game with these shaders on so I couldn't find them. Thanks for noticing, will add it on my to-do list. @NAVras-Z Did you found some extra things I should account for when shader editing mips? Or you have any shader that has a correct implementation on it?

@Crementif well nothing new i guess, just need to look out for the  broken scaling mips and use passParameterSem to get the right texture size

Ah okay. I'll be careful with the passParameterSem.
On 10 October 2017 at 16:13, NAVras-Z<EMAIL_ADDRESS>wrote:

@Crementif https://github.com/crementif well nothing new i guess, just
need to look out for the broken scaling mips and use passParameterSem to
get the right texture size
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/slashiee/cemu_graphic_packs/issues/103#issuecomment-335485931,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZbx_PyHr8h-m917BrT3cIWiuyURtRkiks5sq3tsgaJpZM4Pyyyx
.

Some information to confirm that they both have the same problem.

Super Mario 3D World uses 2 shaders to do this bloom with 2 passes.

First pass by 5661793d88425685
Second pass I'm not quite sure about
Captain Toad: Treasure Tracker uses 1 shader to do this bloom and thereby only uses 1 pass.
First pass by 83f42767ee584d5a
Yet to find a 2nd pass.

There's currently no fix for this, but I'll try to resolve this.

Thanks for looking into this, it looks confusing to me but thanks again :)

NAVras reported  another one for cttt, 13d075473967e063

cttt.zip
Found these both used in glowing points and star trails, the appear at corresponding events, but removing them in nsight doesn't make a change, could be texture read back someone mentioned before?

Yes, it's really annoying to fix those in Nsight. There's some large
shaders that probably need to be edited, but CTTT and SM3DW use a lot of
this or rather like to keep the previous texture that got rendered.
On 11 October 2017 at 15:21, NAVras-Z<EMAIL_ADDRESS>wrote:

cttt.zip
https://github.com/slashiee/cemu_graphic_packs/files/1375716/cttt.zip
Found these both used in glowing points and star trails, the appear at
corresponding events, but removing them in nsight doesn't make a change,
could be texture read back someone mentioned before?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/slashiee/cemu_graphic_packs/issues/103#issuecomment-335807253,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZbx_KPC6hs3g19-4kjch5yqW3Igs14uks5srMDigaJpZM4Pyyyx
.

dang vertex just return a bunch of 0/0.5/1, looks like the shift coordinates are from this, but I've no clue what those are

https://github.com/slashiee/cemu_graphic_packs/commit/220d400ead9a3a41f2ae14260bb03faf446cb329 Fixed the most prevalent bloom again, now with vertex shaders. I might try and fix this one. Think it could be possible (atleast achievable) with vertex shaders.

 (There's some broken bloom remaining in the image, but this is resolved in the final version from the commit)
This issue is fixed in commit so I'll be closing this issue. Feel free to test the new resolution pack and tell me if it's fixed.
https://github.com/slashiee/cemu_graphic_packs/commit/6fb42060aea676a0e36edef2939dccfd40d17388 .
Still need to fix Super Mario 3D World shaders, but I'll update this comment once I do that. Closing for now atleast.

Thanks so much for the fixes, works perfectly now, i really appreciate the hard work :)


Ability to render html

Is there a way to hit a GET route and then render the HTML content.
Basically I have html as a string and would like to render it instead of printing out the raw html.

I don't want to implement the arbitrary HTML support because it could easily break the layout and stop the client-side JS from functioning correctly.
I may consider limited HTML support though, supporting just a few "safe" tags and styles. But it's probably not what you want. There wouldn't be any scripts, images or other interactive content there.

Ok, thanks for responding.