feat(pagination): add pagination for namespaces & tables & views

First try at pagination for namespaces + tables + views, some decisions I took:

we paginate back to front, i.e. first page has the oldest entries, that somewhat efficient polling for new items by paginating through all items until empty page and then keeping to poll until a non empty page is returned, if we paginate the other way around, you'd have to keep track of the newest item client side to know when to stop iterating again. We could also expose the order as some custom header.
~I've set a max page size of 100 items, I'm not attached to that number but feel that there should be some sane max~ according to crates/iceberg-ext/src/catalog/rest/namespace.rs:115, we're supposed to return all pages if we get no page token, MAX_PAGE_SIZE is now set to i64::MAX
due to reasons, page size comes in as a i32, i clamp it to (1, MAX_PAGE_SIZE)

closes #38

First try at pagination for namespaces + tables + views, some decisions I took:

we paginate back to front, i.e. first page has the oldest entries, that somewhat efficient polling for new items by paginating through all items until empty page and then keeping to poll until a non empty page is returned, if we paginate the other way around, you'd have to keep track of the newest item client side to know when to stop iterating again. We could also expose the order as some custom header.
~I've set a max page size of 100 items, I'm not attached to that number but feel that there should be some sane max~ according to crates/iceberg-ext/src/catalog/rest/namespace.rs:115, we're supposed to return all pages if we get no page token, MAX_PAGE_SIZE is now set to i64::MAX
due to reasons, page size comes in as a i32, i clamp it to (1, MAX_PAGE_SIZE)

closes #38

I agree with all your decisions


cordova-plugin-googlemaps.LocationService can not get your location

Expected behavior:
The current location should be caught and maps should show
Screen capture or video record:

Because your browser does not allow to get the location

I have no problem on Android, iOS and browser

I will check on real device and post it here. Thanks for the answer bro!

I have checked on iPad . It's the same issue that "can not get your location"

Please share your project files on github.

It is solved by using a real device (previously my iPad was buggy it was pending long for an update)
Or in simulator Product->Scheme->Edit Scheme-> set a default location to work

Now the issue is Map is blank in ios

Now the issue is Map is blank in ios. I have checked the common transparency issue and thats not issue

Since you don't share your code files, I have no idea.
I can see the marker, Google Logo, so the maps plugin works correctly at least.
Inside the map things, such as map tile, are under the Maps SDK, not this plugin

Welcome to the googlemaps plugin. There's a lot of help for you! Fortunately the mastermind behind this debugs issues in a very intuitive way. The actual process has been documented and explained to a certain degree of understanding. Please share your project or a simple one where you can demonstrate the problem. Welcome aboard!

same with me. but i got problem in android, i just use this simple code but turn out blank.
var option = {
enableHighAccuracy: true // use GPS as much as possible
};
plugin.google.maps.LocationService.getMyLocation(option, function (location) {
            console.log('getMyLocation');
            map = plugin.google.maps.Map.getMap(div, {
                'camera': {
                    target: location.latLng,
                    zoom: 10
                }
            });

            var text = ["Current your location:\n",
                "latitude:" + location.latLng.lat.toFixed(3),
                "longitude:" + location.latLng.lng.toFixed(3),
                "speed:" + location.speed,
                "time:" + location.time,
                "bearing:" + location.bearing].join("\n");

            console.log(text);
            map.one(plugin.google.maps.event.MAP_READY, onMapInit);
        });

but when i remove this code and only use
map = plugin.google.maps.Map.getMap(div, {
'camera': {
zoom: 10
}
});
the map also gone
map only appear when i just use this code
map = plugin.google.maps.Map.getMap(div);

I guess you don't wait the deviceready event before using this plugin


Rename context.ignore_tags to context.tags_to_ignore in cirq.TransformerContext

tags_to_ignore is a more descriptive name and matches the existing tags_to_check terminology in transformer_primitives.
https://github.com/quantumlib/Cirq/blob/610b0d4ea3a7862169610797266734c844ddcc1f/cirq-core/cirq/transformers/transformer_primitives.py#L263
Since the transformer API is a new feature which hasn't been released yet, the rename can be done without deprecation.

Automerge cancelled: A required status check is not present.
Missing statuses: ['Pytest Windows (3.7)', 'Pytest Windows (3.8)', 'Pytest Windows (3.9)']


Use --package-path instead of -C when building SwiftPM packages

-C has been deprecated in favor of --package-path

@swift-ci Please test

Thanks @ahoppen !


update github ci

Updates the CI to use built-in rustup instead of actions-rs. actions-rs appears unmaintained.

Codecov Report
Patch and project coverage have no change.

Comparison is base (ebeb6d7) 96.62% compared to head (6ed0b21) 96.62%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #50   +/-   ##
=======================================
  Coverage   96.62%   96.62%
=======================================
  Files          17       17
  Lines        7503     7503
=======================================
  Hits         7250     7250
  Misses        253      253

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


Added contribution guide for docs + fixed few rendering errors

The contribution guide for docs has been added along with the sidebar entry. I have also shifted the images to /img under static since the other images folder was throwing an issue while locally rendering the document.
This is how the preview looks.

@veenamj-avesha : Thank you for your review! I just have a quick question about the images folder because it doesn't render properly locally when I clone and run docusaurus. Infact, it throws up a lot of issues wrt the image file locations.

@veenamj-avesha : Thank you for your review! I just have a quick question about the images folder because it doesn't render properly locally when I clone and run docusaurus. Infact, it throws up a lot of issues wrt the image file locations.

@divya-mohan0209  - thanks for bringing this up. I will get back to you on this.
We didn't face issues on our cloned repos on the local machine.  So, we are not aware of this issue.

@divya-mohan0209  - there are some conflicts in the tutorials as we merged some changes in another PR.
We will resolve them and inform you on the same PR.

@divya-mohan0209  -
We saw the conflicts, our changes are only on the format and minor edits without any change in the technical context.
There are 3 conflicts in bookinfo tutorials.
So, the workaround is that you can pull changes from the master (git pull origin master) into this working branch and
in the conflict files (bookinfo tutorials files), please click Accept Current Changes in the 3 conflicts to retain your changes.
You can push them back into this PR via the working branch.
P.S. - You accepting current changes will be the easier way to resolve conflicts.
We assume that you are familiar with resolving merge conflicts., but we added the steps just for reference.


[Select] Unable to trigger click events on Chips

[X] The issue is present in the latest release.
[X] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
There is no obvious way to listen for click events on Chip components inside a Select component.
Expected Behavior 🤔
Should be able to listen for click events, which was possible in version 4.7.0.
Steps to Reproduce 🕹
https://codesandbox.io/s/fervent-murdock-mcc7i?fontsize=14&hidenavigation=1&theme=dark

Select some options from the dropdown.
Try clicking on the Chips that have showed up in the Select input.
With each click, the dropdown opens again, but no click events for Chips are triggered (nothing is logged in the console).

NOTE - When you change the version from 4.7.1 to 4.7.0 in package.json, this issue goes away. It appears this issue was introduced very recently.
Context 🔦
We want to add the "x" delete button to Chips so the user can remove them without re-opening the dropdown.
Your Environment 🌎

Tech
Version

Material-UI
v4.7.1

React
16.12.0

Browser
Chrome 78

TypeScript
yup

@jonsmithers This is something we have seen coming and I didn't think it was worth supporting out of the box. I'm aware of two workarounds:

control the open prop, and to delay the open transition.
use the mousedown event instead of the onclick

We actually weren't aware <Autocomplete/> was thing! That could potentially be a better solution.
Setting the open, onClose, and onOpen (with a delay) properties appears to be viable. It just seems like a bit more work for a small thing.
From what I can tell, Chip's onDelete property just won't work in this context. But we could potentially do something like this <Chip deleteIcon={<Icon onMouseDown={this.onDelete} />} />. We'd still have to have a "controlled open" with a delay to prevent the dropdown from opening.
I think we have a way forward. Thank you!

Happy to hear that you have found a way forward. This change (#17978) was recently released, we still haven't seen the full impact. At least, we also had #18655 open.

From a developer perspective this is quite ugly. I hope there will be a way to use Chip onDelete rather than a monster like
renderValue: (selected: unknown) => (
  <ChipContainer>
    {(selected as string[]).map(value => (
      <Chip
        key={value}
        label={getLabel(value)}
        onDelete={() => {}}
        deleteIcon={
          <div
            onMouseDown={(event: MouseEvent) => {
              if (!props.disabled) {
                event.stopPropagation()
                onDelete(value)
              }
            }}
          >
            <DeleteIcon />
          </div>
        }
      />
    ))}
  </ChipContainer>
)

Controlling the open state "with a delay" is definitely not an option. Customizing Autocomplete to remove the text input field introduces other problems.

I think that we should keep the chips as presentational only for this component. Head to the autocomplete for something my dynamic.

in case someone is still struggling...but stopping the event propagation, the onDelete callback will be executed & it will prevent Select's onOpen callback
<Chip  ...   onMouseDown={e => {     e.stopPropagation()   }   onDelete={() => {     // do whatever   }} />
IMO this behaviour is very unexpected and leads to bad UX

in case someone is still struggling... by stopping the event propagation, the onDelete callback will be executed & it will prevent Select's onOpen callback
<Chip
...
  onMouseDown={e => {
    e.stopPropagation()
  }
  onDelete={() => {
    // do whatever
  }}
/>

IMO this behaviour is very unexpected and leads to bad UX

Wasn't able to get this to work but seeing you put onDelete{() => }} helped
the onMouseDown trick didn't help but moving the code out in the onDelete worked
{chips.map((c) => {
    <li>
        <Chip
            ...
            onDelete={() => {
                handleDeleteChip(c)
            }}
        />
    </li>
}

Hi ppl, Just posting the fix for my scenario.
For my case the issue was due to the odder of property placement
<Chip
  onDelete={(e) => {noteChanges(e) }}
  name={option}
  label={option}
  {...getTagProps({ index })}
/>

{...getTagProps({ index })} has to be in top in order to avoid property overridden
<Chip
  {...getTagProps({ index })}
  onDelete={(e) => {noteChanges(e) }}
  name={option}
  label={option}
/>

Note: I'm using MUI 4.x version
check answer 2 of this link
after placing getTagProps to first position the onDelete event started working.
Happy coding 😊 . . . . .

in case someone is still struggling... by stopping the event propagation, the onDelete callback will be executed & it will prevent Select's onOpen callback
<Chip
...
  onMouseDown={e => {
    e.stopPropagation()
  }
  onDelete={() => {
    // do whatever
  }}
/>

IMO this behaviour is very unexpected and leads to bad UX

This works for me. Very Thanks


401682b - max generations overwrites batch size / count

401682b  overwrites batch size/count by default and sets the number of output images to 0, which breaks the later negative_prompt code. The fix should probably be something like
if max_generations > 0:

added to extensions/sd-dynamic-prompts/scripts/dynamic_prompting.py:318

i dont have much python knowledge, but modifying or changing extensions/sd-dynamic-prompts/scripts/dynamic_prompting.py:318 did not fix it for me, but reverting scripts/dynamic_prompting to 5a4c554c95bd96f7520113f6a7e5ff22b9ff1568 fixxed it as a quick solution

Thanks - fixing it now

Just pushed v2.3.8 - could you please test it and let me know if the problem is fixed?

yeah, 408db435f1d24f5f2bbdf2836fa644c00c46c8d3 fixed it

Thanks - I'll leave this issue open for a while in case there are other related bugs.


Problem with gulp watch

Hi, everything was working fine, then suddenly Gulp gives me a error, I don't know why.
I've tried everything, cache deletion, node_modules and package-lock.json deletion, even uninstalling Node completely, and I still get the same error when running 'npm run gulp watch':
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>gulp: `gulp "watch"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>gulp script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Usuario\AppData\Roaming\npm-cache\_logs\2020-05-20T14_22_32_342Z-debug.log

Content of the log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'gulp',
1 verbose cli   'watch'
1 verbose cli ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'pregulp', 'gulp', 'postgulp' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;E:\Google Drive\Mis webs\Proyectocarta\node_modules\.bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Usuario\bin;C:\PROGRAM FILES (X86)\COMMON FILES\ORACLE\JAVA\JAVAPATH;C:\RUBY24-X64\BIN;C:\RUBY25-X64\BIN;C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WINDOWS LIVE;C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT SHARED\WINDOWS LIVE;C:\PROGRAM FILES (X86)\NVIDIA CORPORATION\PHYSX\COMMON;C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0;C:\PROGRAM FILES\CALIBRE2;C:\PROGRAM FILES (X86)\ATI TECHNOLOGIES\ATI.ACE\CORE-STATIC;C:\PROGRAM FILES (X86)\WINDOWS LIVE\SHARED;C:\XAMPP\PHP;C:\PROGRAMDATA\COMPOSERSETUP\BIN;C:\PROGRAM FILES\GIT\CMD;C:\Program Files\ASUS\Bluetooth Software;C:\Program Files\ASUS\Bluetooth Software\syswow64;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Users\Usuario\AppData\Local\nylas\bin;C:\Users\Usuario\AppData\Roaming\Composer\vendor\bin;C:\Users\Usuario\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Usuario\AppData\Roaming\npm
9 verbose lifecycle<EMAIL_ADDRESS>CWD: E:\Google Drive\Mis webs\Proyectocarta
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'gulp "watch"' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec gulp script
13 verbose stack Error<EMAIL_ADDRESS>gulp: `gulp "watch"`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:310:20)
13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:310:20)
13 verbose stack     at maybeClose (internal/child_process.js:1021:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd E:\Google Drive\Mis webs\Proyectocarta
16 verbose Windows_NT 6.1.7601
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "gulp" "watch"
18 verbose node v12.16.3
19 verbose npm  v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>gulp: `gulp "watch"`
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>gulp script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Please, can you help me?

Hey Zerbio,
did you make any specific changes to your project that trigger the error (e.g., installed new node modules, changed your project structure, etc)? Thanks.

No, nothing. I export from CodyHouse as usual, new package, run npm install, run 'npm run gulp watch' and error. I have also tried on a laptop, clean installation and the same thing happens to me.
I have been testing to see if I could find the problem. If I download the package without components or globals it seems not to give an error, if I enter elements after that it gives an error. But sometimes it does and sometimes it doesn't, I can't find the match.
I have also noticed that before the error occurs, all the CSS appears in the terminal.

Components of the test package:
Flexi Header
Social Sharing
Smooth Scrolling
Reading Progress Bar
Sticky Headers Table
Back to Top
Main Footer V3
PD: Sorry for my English.

Hi Zerbio,
are you downloading the project directly from the CodyHouse export page?
https://codyhouse.co/ds/export
If this is the case, could you get in touch at<EMAIL_ADDRESS>with your email account and the name of project you are downloading? So that we can look into it.
Thanks.

Yes, of course. Ok, I'll send the email right now, thanks.

Thanks! I'm closing this as the issue was solved. Cheers!


🐛 Fix small MUAD dataset URL

It was noticed that the URL for the small MUAD dataset is no longer available in https://huggingface.co/fira7s/Muad2, I suggest the new address is the account of U2IS: https://huggingface.co/datasets/ENSTA-U2IS/miniMUAD. This change causes issues when attempting to download the dataset using the current implementation
In this PR, I updated the URL and added a small test to verify the accessibility of the small MUAD dataset.
Feel free to modify or expand upon this PR as needed 😊 Perhaps, actual new URL is different
Context
A screenshot of the error is attached below for your reference

Hello @sofiia-chorna!
Thanks for the PR. We forgot to update the path when we changed the dataset's location.
The new URL is correct. I will merge your modifications with the dev branch!


Q: Form with several buttons

Hey!
I've been struggling with the following question:
const submit = ({values}) => {
  const isPublic = ?????
  await uploadBlog({ title: values.title, isPublic})
}

<Form onSubmit=(submit)>
    <TextField field="title" />
   <Button type='submit'>Save Draft</Button>
   <Button type='submit'>Create Blog</Button>
</Form>

In several cases when it comes to forms, I want to submit a form with slight alterations.
Ergo, as in the example above:

Saving a draft would upload a blog to the db that's not public
While clicking "create" would cause it to be public.

I've been racking my brain trying to figure out the cleanest way to perform this... e.g with some type of onClick event on the buttons causing a state change / some hidden input.
But, I feel like there should be a way cleaner and more straightforward way to go about this.
Does anyone have any thoughts?
Cheers!

hmm I would suggest making the buttons type="button" then calling two different fuctions depending on the button.
i.e
saveDraft = () => {} vs createBlog = () => {}
then inside of those I would call formApiRef.submitForm() and at this point your actual onSubmit can be called where you set some sort of flag based on function called
OR
you could NOT use two submit buttons and instead have a switch toggle input that says "Save As Draft" and be true or false.

That makes sense, thanks, @joepuzzo!
Potentially, an idea could maybe be to allow you to pass an optional object to the submitForm() function in the future.
That would allow you to pass in custom data, and the submit function would then give you the formState as the first argument as normal, and your (optional) object as the second.


Something is left behind in uninstallation, breaking some future deployments

I deployed the Helm chart to a cluster, and all is fine. Data appears in Splunk and I can do charts and dashboards and all the usual things. However, I had deployed it to the default namespace, and it really shouldn't be there... So I uninstalled the chart, and deployed it again, this time to a splunk namespace.
Now almost everything is working again, except the cluster receiver pod. That one is giving a "permission denied" error when the pod tries to start. I can force the pod to start if I give the service account full cluster-admin permission, but that's bad.
We have a test cluster. When I deploy there, specifying the splunk namespace the first time, all the pods work. Then if I uninstall and deploy to default namespace, that same pod shows the same error.
If the chart is uninstalled again and redeployed to the original namespace again, the cluster receiver works again.
Something permission-related is not getting cleared during the uninstallation, but I don't know what.

Hi @Sarten-X,
The helm chart is supposed to be installed in the namespace that is currently set as default for a user running the helm command, that is expected behavior. The namespace can be changed with -n, --namespace helm argument. We don't document it to avoid duplicating official helm docs, but maybe we should add a note about the namespace.
I tried to reproduce the issue of potential resources that are not cleaned up, but no luck, it works as expected for me. I did the following:
➜  helm uninstall my-splunk-otel-collector
release "my-splunk-otel-collector" uninstalled

➜  helm install --namespace splunk --create-namespace my-splunk-otel-collector -f myaws.yaml splunk-otel-collector-chart/splunk-otel-collector
NAME: my-splunk-otel-collector
LAST DEPLOYED: Mon Jan 17 09:33:58 2022
NAMESPACE: splunk
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Splunk OpenTelemetry Collector is installed and configured to send data to Splunk Observability realm us0.

➜ kgp -n splunk
NAME                                                            READY   STATUS    RESTARTS   AGE
my-splunk-otel-collector-agent-97jh2                            1/1     Running   0          23s
my-splunk-otel-collector-agent-dk6js                            1/1     Running   0          23s
my-splunk-otel-collector-agent-snc6t                            1/1     Running   0          23s
my-splunk-otel-collector-k8s-cluster-receiver-7d7759f47-8mkqw   1/1     Running   0          23s

Please let me know what commands you used, so I can reproduce it.

The (retyped) commands I used were:
helm install my-splunk-otel-collector -f otelvalues.yaml splunk-otel-collector-chart/splunk-otel-collector
(time passes)
helm uninstall my-splunk-otel-collector
helm install --namespace splunk --create-namespace my-splunk-otel-collector -f otelvalues.yaml splunk-otel-collector-chart/splunk-otel-collector
This did not work, as described. I tried it again, and it did not work. I gave up, left it alone for over a month, and just recently got a chance to try installing to the splunk namespace again... and it works perfectly fine.
Assuming I'm not hallucinating, I would guess that it was some resource that would eventually be cleaned up after deletion, but for whatever reason Kubernetes didn't clean as quickly as my installation script ran.
Regardless of the cause, I think it's safe to consider this a non-issue unless someone else encounters it. At worst it seems to be something that resolves itself.


Fix exporting R8 files as PNG using libpng

Fixes an incorrect stride value for R8 images being exported to PNG on the experimental libpng SaveToPNGFile implementation.

@luncliff Do you agree with this fix?

I add a formal test for this code, and verified this is the right fix.

The CLA was triggered due to my edits.
@microsoft-github-policy-service agree company="Microsoft"

Updating test suite to cover this code explicitly https://github.com/walbourn/directxtextest/pull/46


Parking V1: Create Parking API

This task is to create a Parking API
There will be a ParkingAvailability Lambda which will serve as a proxy to make calls to parking APIs.

Create a new API in AWS Dev 'Parking', with the following resources:
/dev/parking/v1.0/{id}/status where {id} is the ID of the parking lot/garage

Reminder, when the API is deployed on AWS, you will enter dev for the stage

Modify the Parking Availability Lambda to accept this ID. The Lambda should match the ID to it's corresponding API endpoint. The ID<->Endpoint mapping for V1 will be stored in a separate JSON or JS format and pulled in dynamically from inside the main exports handler in index.js.

When everything is setup, we would like to be able to go to https://<Parking AWS API Gateway ID>.execute-api.us-west-2.amazonaws.com/dev/parking/v1.0/406/status and see the same response from the source API. Source API information available on Slack.

See the DiningMenuService Lambda and Dining API for sample code passing in an {id} from API Gateway to a Lambda function.

Added access to updated Parking API endpoint, with a hardcoded x-api-key. To call the API supply an ID relating to the specific parking structure at the API endpoint URL. Committed to parkingavailability/master branch. Commit link: https://sourcecode.ucsd.edu/projects/WTS/repos/parking-availability/commits/52484684ca62070c634fbc43597de2cea7027c9f

Thanks Antonio - this has been verified on AWS Dev
Notes:

Moved API key to Lambda env variables
Valid Lot ID: https://8tcoih8tu0.execute-api.us-west-2.amazonaws.com/dev/parking/v1.0/406/status
Invalid Lot ID: https://8tcoih8tu0.execute-api.us-west-2.amazonaws.com/dev/parking/v1.0/405/status

Todo:

Tie into WSO2 APIM
Deploy to AWS Prod


Team does not show up for Apple ID

Question Checklist

[ x] Updated fastlane to the latest version
[ x] I read the Contribution Guidelines
[ x] I read docs.fastlane.tools
[ x] I searched for existing GitHub issues

One of my teams for the Apple ID is not showing up
I have an Apple ID I use in 3 different teams on Apple Developer Portal. When I do fastlane init I get prompted for the Apple ID and get the selection for teams. After selecting the team I want to use, I get the prompt again but without the team I want to choose. The account has the 'Admin' role in the team I want to use. Is this a bug or do I miss something here? Used a similar setup in the past without problems. Might be worth mentioning that we use the same company name for an InHouse (Enterprise) and a regular account.
Log output
[16:04:56]: Please enter your Apple ID developer credentials
[16:04:56]: Apple ID Username:
<EMAIL_ADDRESS>[16:05:02]: Logging in...
Multiple App Store Connect teams found, please enter the number of the team you want to use:
1) "CORP GmbH" (118719146)
2) "CORP GmbH - 44N2W24B6J" (119610774)
3) "CORP Lab GmbH" (117861784)
1
Multiple teams found on the Developer Portal, please enter the number of the team you want to use:
1) 44N2W24B6J "CORP GmbH" (In-House)
2) 94MSG646AN "CORP Lab GmbH" (Company/Organization)

The issue can be resolved by deselecting, saving and selecting 'Access to Certificates, Identifiers & Profiles' in App Store Connect for the account in question. Issue can be closed.

For reference here are the official docs /links:
https://help.apple.com/app-store-connect/#/devad498718e
https://developer.apple.com/support/roles/
@bestimmaa you should be able to close the issue yourself as you are the author.

Thanks will close it. I'm aware of the roles, just wanted to share that someone might need to toggle this feature once if he encounters this issue.


casClient.CreateCertificate failed: context deadline exceeded

I am getting the below error in my google cas issuer , not sure where it got broken.
CAS Issuer status is very fine and the permissions on the CAS systems are perfectly fine , unfortunately I do not see anything blocked from the GKE cluster on the CAS side.
I could see it it successfully created CSR and google-cas-issuer tried to create certificate by connecting to CAS but not sure what is blocking there , network side in the is project nothing is blocked as per my knowledge , please find the logs for your reference
"reconciler group": "cert-manager.io",
      "stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.6/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.6/pkg/internal/controller/controller.go:214",
      "error": "casClient.CreateCertificate failed: context deadline exceeded",
      "namespace": "cert-test",
      "logger": "controller-runtime.manager.controller.certificaterequest"

Its proved the potentially connection to the privatecapi was failing , as there was an issue with kube-dns and it subsquently lead to the failure of the dns resolution of privatecapi of google cas . things started working after fixing the dns resolution problem


drag down update to check for new chapters not working

Steps to reproduce
none
Expected behavior
n ew chapters in the update manga tab
Actual behavior
drag down update to check for  my favorites manga  new chapters not working but If i update each manga separately i get updates
Crash logs
No response
Aniyomi version
latest
Android version
8
Device
GR 5
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

It's either an extension issue, or it's related to smart updates


Fix indexing of routes

Manual backport of https://github.com/cilium/cilium/pull/30727

mainly to check 1.15 CI

/ci-e2e

This is no longer required.


Make it work!

Works great now I fixed the tts issue.

https://github.com/dray-cyber/googlecontroller will keep getting updates.


Logistic Transporters not working with Tiered Factories

To break it down, Factories do not work with Logistic Transporters, or any other item transporter, other than manually placing stuff in and manually taking stuff out, Items can not go in, and items can not come out.

Really, the gas the recipe calls for has to be in the machine in order for it to accept items   -_-


No easy way to remove added users

Using the keybase GUI (on OS X) I added a keybase user to both my private and public space. Was able to test and confirm that sharing files with them worked.
While it is straightforward to add a user, there doesn't seem to be a way to remove the added user .
ie. I added created an entry for /keybase/private/rguerra,robertguerra - easily using the gui, but then don't know how to remove it (if needed).
Keybase GUI Version: 1.0.13-20160218170011+513e03d

This should work in recent builds: rmdir /keybase/private/rguerra,robertguerra.  Please re-open if it doesn't.


gen-idea failing to generate the project

I have a simple project with only one file on src/main/scala
My build.sbt looks like this:
organization := "org.example.dust"

name := "dust"

version := "1.0"

scalaVersion := "2.8.1"

the output of ```sbt gen-idea```` is:
[info] Loading global plugins from /Users/pfernand/.sbt/plugins
[info] Loading project definition from /Users/pfernand/Projects/dust/project
[info] Set current project to dust (in build file:/Users/pfernand/Projects/dust/)
[info] Trying to create an Idea module default-24e226
[info] Updating {file:/Users/pfernand/Projects/dust/}default-24e226...
[info] Done updating.
[info] Excluding folder target
[info] Created /Users/pfernand/Projects/dust/.idea/IdeaProject.iml
[info] Created /Users/pfernand/Projects/dust/.idea
[info] Excluding folder /Users/pfernand/Projects/dust/target
[info] Created /Users/pfernand/Projects/dust/.idea_modules/default-24e226.iml

Seems like everything's fine, but when I open the project on the IDE, using: File -> Open Project... and selecting the folder, I get an empty Idea screen. (I can't see the folder explorer)
I know that this issue might be short on information so please ask me whatever questions you want.
Thanks

Nope it's 10.5.2

And to be sure, what are the versions of Idea Scala plugin, sbt-idea plugin and sbt?

sbt about output

pfernand-2-mn:libot pfernand$ sbt about
[info] Loading global plugins from /Users/pfernand/.sbt/plugins
[info] Loading project definition from /Users/pfernand/Projects/libot/project
[info] Set current project to libot (in build file:/Users/pfernand/Projects/libot/)
[info] This is sbt 0.11.0
[info] The current project is {file:/Users/pfernand/Projects/libot/}default-3002e3
[info] The current project is built against Scala 2.8.1
[info] Available Plugins: org.sbtidea.SbtIdeaPlugin, com.typesafe.startscript.StartScriptPlugin
[info] sbt, sbt plugins, and build definitions are using Scala 2.9.1

sbt-idea version is:
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "0.11.0")
And Idea Scala Plugin version is: 0.4.1183

There was an issue with my Idea Installation that prevented the project view from showing no matter what.
I've uninstalled and reinstalled the latest version (11 at the time I'm writing this) and pressed ⌘1 that did the trick.
Sorry for wasting your time, and many thanks for sbt-idea


swagger-ui website is blank

Official swagger-ui website shows the api doc correctly while mine is blank!

@tbdyzm , try to enable debug mode in vaiables.env adding:
ZAFIRA_DEBUG_MODE=true
by default swagger is not available.


Work with BA to design Allocation of Emissions Page

Describe the task
BA has decided to have allocation of emissions separately. We need to collab with them and design a user-friendly solution that meets their business requirements
Wireframe
Acceptance Criteria

[x] Request list of fields that are required from Allocation of emissions
[x] Brainstorm session with BA
[x] Create 1 design solution
[x] Review this solution
[x] refine wireframes if required

Additional context

Add any other context about the task here.
Or here

Wireframes refined. Only defining whether the allocation will be referred to in tonnage or % needs to be decided, but not a blocker.


[DPOTrainer] Fix DPO trainer + mistral + FA2

Fixes: https://github.com/huggingface/trl/issues/1217
Fixes: https://github.com/huggingface/transformers/issues/26877
Fixes: https://github.com/huggingface/trl/issues/1266
Simply setting use_cache=False circumvents all issues with FA-2 + DPO + Mistral. in fact we should bypass that check since we are not in text generation mode when computing the loss function. use_cache is retrieved from the model config by default which falls back always to True. The cache is not used anyway when purely computing the logits so this change is fully BC
cc @kashif @vwxyzjn
To test that, I managed to repro the issue by adding --attn_implementation "flash_attention_2" in the dpo shell script on a A100 machine, and I confirm this PR fixes it. Unfortunately our CI runners are not compatible with FA2 so we cannot add a slow test to test that

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

thank you great help!


SVs file in VCF format

Hello,
Thank you for this great tool, is there any approach to convert SV's file with breakpoint positions into NeoSV required VCF format?

Hi @immuneAI ,
Thanks for your interest. Only the position of breakpoint is not enough. NeoSV also need the orientation of that breakpoint, thus to make sure how to join two transcripts. What is the format of your SV file?
Yang

Yes, I do have orientation in my file attached here in tab sep columns
SV_file.txt

Hi,
The file seems containing all necessary information, but unfortunately I do not know a tool to transform it into VCF format.
I am planning to upgrade NeoSV to make it compatible with BEDPE format (https://bedtools.readthedocs.io/en/latest/content/general-usage.html#bedpe-format). Your file is similar to the BEDPE format and should be easy to transform.
Not sure if you can wait to that time, since it will take me 4-6 weeks to complete it.

Hello,
That would be a great help!! Looking forward with BEDPE format & happy to try it.

Hi @immuneAI ,
The newest NeoSV v0.0.4 has been released. It now supports BEDPE format. I also attached a template file here (https://github.com/ysbioinfo/NeoSV/blob/main/test.sv.bedpe). You can have a try by installing the newest version from PyPi or GitHub.


Dev server opens at <IP_ADDRESS> instead of localhost

you can still visit it via localhost, what's the trouble?

Then why make it <IP_ADDRESS>? Just to be different? Or is the a technical advantage to it I'm not aware of.
It was only a minor trouble since I had to go and update the CORS rules in my servers that my web app connects to.

How do I make the tab automatically open to localhost instead of <IP_ADDRESS>?

because listen on <IP_ADDRESS> so that you can visit the website via other devices if they connected to the same network, you can change this via --host localhost

Okay, thanks. It seems all the docs need to be changed since they still all say default is "localhost".

I will update the output url to localhost then, much easier than updating docs 😂

Fixed in v4.3.2.


fix: prevent auth checks during lerna publish

Last weeks release failed because lerna now tries to check npm auth via 2fa even during github actions. The --no-verify-access flag will disable these auth checks.
What did you change?
release.yml
release-v11.yml
How did you test and verify your work?
Carbon has made this same change last week after experiencing the same issue.

Merging in order to fix issue with our release action tomorrow morning


JSInterop example for Blazor documentation should return a ValueTask

The JSInterop - Blazor documentation should return a ValueTask?
Link here.

To use an extension method to focus an element, create a static extension method that receives the IJSRuntime instance:
public static Task Focus(this ElementReference elementRef, IJSRuntime jsRuntime) {     return jsRuntime.InvokeAsync<object>(         "exampleJsFunctions.focusElement", elementRef); }

I may be wrong, however I assume it should now be:
public static ValueTask<T> Focus<T>(this ElementReference elementRef, IJSRuntime jsRuntime) {     return jsRuntime.InvokeAsync<T>(         "exampleJsFunctions.focusElement", elementRef); }

@simonpbond Please use the This Page feedback form at the bottom of any topic. It adds metadata for working the issue and pings the author (ME! :smile: lol).
No worries ... I just moved it. Track on the new issue.
Moved to https://github.com/aspnet/AspNetCore.Docs/issues/14739

@guardrex Sorry Luke! Will do in future!


"boto required for this module"

I'm running into an error attempting to run molecule converge with an empty playbook with the EC2 driver.
I've verified that the "molecule" Security Group is created, which I take as proof that my AWS credentials are working, but when the playbook attempts to run the script to delete the remote keypair, I get the following error:
`boto required for this module"
I'm on OSX, and so I'm aware that there are similar issues, but I've created the /etc/ansible/playbook with contents similar to what's recommended, but to no avail:
$ cat /etc/ansible/hosts
[localhost]
localhost ansible_connection=local ansible_python_interpreter=python

Detailed molecule --debug converge output below:
    TASK [Delete remote keypair] ***************************************************
    task path: /Users/jkodroff/src/clarivate/ami-provisioning/roles/talend-tac/molecule/default/keypair.yml:7
    Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/cloud/amazon/ec2_key.py
    <<IP_ADDRESS>> ESTABLISH LOCAL CONNECTION FOR USER: jkodroff
    <<IP_ADDRESS>> EXEC /bin/sh -c 'echo ~ && sleep 0'
    <<IP_ADDRESS>> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/jkodroff/.ansible/tmp/ansible-tmp-1522619741.21-186493502202525 `" && echo ansible-tmp-1522619741.21-186493502202525="` echo /Users/jkodroff/.ansible/tmp/ansible-tmp-1522619741.21-186493502202525 `" ) && sleep 0'
    <<IP_ADDRESS>> PUT /var/folders/nc/y40x3rz96vd202qw32669yrjjw03hy/T/tmpmILQ9M TO /Users/jkodroff/.ansible/tmp/ansible-tmp-1522619741.21-186493502202525/ec2_key.py
    <<IP_ADDRESS>> EXEC /bin/sh -c 'chmod u+x /Users/jkodroff/.ansible/tmp/ansible-tmp-1522619741.21-186493502202525/ /Users/jkodroff/.ansible/tmp/ansible-tmp-1522619741.21-186493502202525/ec2_key.py && sleep 0'
    <<IP_ADDRESS>> EXEC /bin/sh -c<EMAIL_ADDRESS>/Users/jkodroff/.ansible/tmp/ansible-tmp-1522619741.21-186493502202525/ec2_key.py; rm -rf "/Users/jkodroff/.ansible/tmp/ansible-tmp-1522619741.21-186493502202525/" > /dev/null 2>&1 && sleep 0'
    The full traceback is:
      File "/var/folders/nc/y40x3rz96vd202qw32669yrjjw03hy/T/ansible_rQohwL/ansible_module_ec2_key.py", line 115, in <module>
        import boto.ec2

    fatal: [localhost]: FAILED! => {
        "changed": false,
        "invocation": {
            "module_args": {
                "aws_access_key": null,
                "aws_secret_key": null,
                "ec2_url": null,
                "force": true,
                "key_material": null,
                "name": "molecule_key",
                "profile": null,
                "region": null,
                "security_token": null,
                "state": "absent",
                "validate_certs": true,
                "wait": false,
                "wait_timeout": "300"
            }
        },
        "msg": "boto required for this module"
    }

Issue Type

Bug report

Molecule and Ansible details
ansible --version
ansible <IP_ADDRESS>
  config file = None
  configured module search path = [u'/Users/jkodroff/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.14 (default, Mar 10 2018, 00:01:04) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)]

molecule --version
molecule, version 2.10.1

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Desired Behavior
Empty playbook should complete successfully.
Actual Behaviour (Bug report only)
(See above.)

Did you pip install boto?

Installing virtualenv solved my issue:
sudo -H pip install virtualenv
virtualenv molecule
source molecule/bin/activate
pip install ansible molecule boto boto3

can you please show me how can i configure molecule with ec2 ?

Installing virtualenv solved my issue:
sudo -H pip install virtualenv
virtualenv molecule
source molecule/bin/activate
pip install ansible molecule boto boto3

Hello @jkodroff
Do you have a step by step how to achieve it?

@rmarcandier
just execute the following command on your linux machine
then a (module) enviroment will appear.
just run ansible playbook command.


Fix logging reward map

The query queryEpochRewardTotal ignores the deposit refunds. However while printing the diff it is not ignored. So if there is some undelared mismath with events, the deposit refunds are also printed even if they don't cause the issue.

This was merged in PR #1094 .


Database input duplication

When you re-add a database via a Warehouse Plan, you double up the database in the list of db's to check.

Fixed by making the database list a 'Set' vs. a 'List' (TreeSet).  So it can only accommodate unique values.


Consider enabling https

Hi, it should be great to configure https while provisioning the box.
To do so, the easiest solution should be to rely on the ssl-cert package embedded by default in Ubuntu 14.04. Then, inside provision.sh only 2 lines are required:
a2enmod ssl
a2ensite default-ssl.conf

Default prebuilt certificates are located in:

"/etc/ssl/certs/ssl-cert-snakeoil.pem"
"/etc/ssl/private/ssl-cert-snakeoil.key"

Finally, in the site's vhost file:
<VirtualHost *:443>
  ServerName juice-test.dev
  DocumentRoot /srv/www/tj-juice-test
  SSLEngine on
  SSLCertificateFile "/etc/ssl/certs/ssl-cert-snakeoil.pem"
  SSLCertificateKeyFile "/etc/ssl/private/ssl-cert-snakeoil.key"
</VirtualHost>

Source: http://askubuntu.com/questions/49196/how-do-i-create-a-self-signed-ssl-certificate

Been wanting to do this for awhile. Wasn't aware it was this easy to set up. I'll try and get this implemented within the next week or so.

Realy easy, it works well on my side. I just add the apache config commands to provision.sh
see https://github.com/cycomarcooo/theme-juice-vvv/commit/798754c9987c3e702cdea3635f49b6eb1fccfd84

The only remaining step is to add http support in the site.conf created by theme-juice-cli. I'm wondering if it should be a choice left to the user while creating a new site with tj create... or simply add it by default.

Yep. We'd need to add it to the CLI as an option for both Apache and Nginx. I think having the default answer be yes during site creation would work.

Do you have specific steps for adding the self-signed certs to the host's trusted keychain so I can add it to the readme once these changes are implemented?

Here is the official wiki page from vvv about sefl-signed cert. There are info concerning Nginx and keychain:
https://github.com/Varying-Vagrant-Vagrants/VVV/wiki/Site-specific-self-signed-SSL-certificates

How did you get this to work for https://juice-test.dev? I've only been able to get it working for the root https://vvv domain. For example, appending /etc/apache2/custom-sites/default.conf with
<VirtualHost *:443>
  ServerName vvv.dev
  DocumentRoot /srv/www/default
  SSLEngine on
  SSLCertificateFile "/etc/ssl/certs/ssl-cert-snakeoil.pem"
  SSLCertificateKeyFile "/etc/ssl/private/ssl-cert-snakeoil.key"
</VirtualHost>

does nothing. Cert for vvv has already been added to my Keychain. Did you do any additional steps, such as generating a key cert per-domain? Trying to automate this with the CLI, so let me know. It might be easier to use Let's Encrypt, but I thought I'd touch base with you here and see how you did it.
This is the error I get from Chrome when trying to access any domain other than https://vvv,

I think it's to much cumbersome to request Let's Encrypt certificate for each new dev project.
Of course we can generate a new self-signed certificate for each new project but you'll face a warning anyway from chrome as it self-signed.
Correct me if I'm wrong, I think we can safely use a generic certificate for all projects hosted in the same local VM.
Browsers are throwing the error you mentioned because the domain name referenced inside the certificate do not correspond to the domain which is using the certificate. That being said, that's just a warning.
To get rid of it, go to your keychain, find the certificate select "always trust". Restart Chrome and try again.

Tell me if it's ok on your side.

With a per site self-signed cert you'll have to do the same.

Yeah, I thought we could use the snake oil cert for all projects as well. I've already set the cert to always trust, but Chrome/FireFox still will not let me connect (even after restarting them). Safari doesn't give me any issues. Can you connect to https://vvv.dev after setting up the 443 virtual host for it?

It works well

did you reload apache?

Okay, so I think using Let's Encrypt might be a better option, because we'll get a real certificate that won't show up red in the browser. I think this is better from a user's perspective, because right now, even if you can access it and the traffic is encrypted, it looks broken.
This might have additional side effects during development as well, so I think issuing a real cert on site creation is the best option. It shouldn't be too hard to set up via the CLI, since I already have the infrastructure to run commands on the virtual machine during the creation process.

Just saw that roots.io/trellis (which is in my opinion the ultimate multi-env dev system), opted for let's encrypt and they wrote a very interesting doc for that. It's not straightforward and it will also raise an error by using their "fake" certificate intended for staging env.
Note that they also use snake-oil cert for dev purpose.

I'm using self-signed cert for while in my dev env and so far no side effect. By Googling a bit on that topic, it seems to be a good practice.

Yeah, you're right. Let's Encrypt has to verify a domain before issuing a cert, so local development sites can't get a cert. I figured they had a way to generate a development cert you could install like the snake oil one, but I guess not. I'll look into getting your changes updated soon. Thanks for the links.

Update tj and then run cd ~/tj-vagrant && git pull origin master to update the VM. I added support for automatically generated SSL certs for project's that support SSL (have a *:443 virtual host). Let me know how it works!

Well done! I'll test it soon. Thanks

To try this new feature, I decided to get rid of all my previous tests then I removed all theme-juice related install on my machine started from zero.
I created a brand new project with tj create. Once the VM has been installed and provisioned, I went to the URL of project and faced a php error. I pretty sure it's not related to SSL feature because I faced it also with the previous VM version. Here is what I get:

It seems to be related to the network config, landrush?

I try to find the php error log file but can't find it. Of course, WP_DEBUG is set to true, but there is no php_errors.log in VM /srv/log/ . There is no debug.log in wp-content/ neither. Where is the php log file?

It should be under /var/log/. You can try running vagrant landrush ls to see if there's any hanging records that didn't get removed properly, and if so you can remove them with vagrant landrush rm {domain}. When I get to the office, I'll see what I have in my notes, because that's happened to me before.

If you continue to have problems, feel free to open up a new issue and we'll troubleshoot it.


Query representation in LTR

Currently, the method signature of a feature extractor is:
  float extract(Document doc, Terms terms, RerankerContext<T> context);

see: https://github.com/castorini/anserini/blob/master/src/main/java/io/anserini/ltr/feature/FeatureExtractor.java
We probably need a richer query representation other than "terms" alone... I think in the original design the intent was to stuff the other aspects into the RerankerContext... but we might want to rethink the design.
I imagine a rich query representation that includes the original query, tokens, things like NER annotations, etc. Something like:
{ query : "When was Albert Einstein born?",
  tokens : [ "albert", "einstein", "born" ],
  named_entities : [ "Albert Einstein" ]
}

So as an initial thought, what if we change the method signature to something like:
  float extract(Document doc, AnnotatedQuery query);

Where AnnotatedQuery is, essentially, backed by a JSON?
Thoughts?

To start, we might want to look at how other people do it:
https://github.com/ten-blue-links/fxt
http://terrier.org/docs/v4.0/learning.html


Evaluate update to Servlet 4 and Jetty 10

Current builds of Http4s are using Servlet 3.0 as build dependency. It would be nice to bump this to Servlet 4.0 before full move to jakarta namespaces and version 5.0.
Now it should be possible to bump Servlet version.

Tomcat 9 implements Servlet 4.0 https://tomcat.apache.org/whichversion.html
Jetty 10 also supports Servlet 4.0 https://www.eclipse.org/jetty/

Also, Jetty 10 kept javax.servlet namespace. So, upgrade should not be a breaking change at least for jetty server part.
If considered too dangerous the change could be skipped for series/0.21.

Upgrading major versions is not something we usually do until our own next version.  Even if our integration is binary compatible under org.http4s, we'd be forcing our Jetty 9 users onto Jetty 10, and I don't know what breaking changes happen outside http4s.  For instances, are those websocket and session refactors in the release notes compatible?  It seems safer to me to just upgrade in 0.22 and 1.0.
The Servlet 4 vs. Servlet 5 is a tough question.  Maintaining parallel versions of the servlet modules isn't something I'm enthusiastic about.  But committing to Servlet 4 in http4s-1.0 when Servlet 5 is already here seems weird.  Do you have a sense how many people are pausing at 4 instead of going all the way from 3 to 5?  It's possible to maintain parallel versions, but these are among our lesser used modules, and as proud as I am that we still have this integration (I'm an old Java person!), I'm reluctant to double the work.
I'll comment on the code itself on the PR.  Thanks for getting this started!

Yes, I totally agree, that major version bump is very painful. That why I created this issue with "Evaluate". As for PR, I made it mostly as POC, that it is relatively simple to apply this change (from code perspective).
Unfortunately I can't comment on the adoption rate of Servlet spec version 5. 2 major players (Jetty and Tomcat) are providing production builds of their servers, but it will take time until their users jump on.

The minimum required Java version for Jetty 10 is now Java 11.

Will need to check this. Is it needed in general or for some specific features. Because I noticed that Http4s has JDK 8 at least for CI.

Oh, right.  Someone mentioned that Java 11 issue in another discussion.  That definitely slams the door shut on 0.21: many of our users won't be able to upgrade.
We planned on spinning servlet support off into its own repos before 0.22 goes final.  That would let us build http4s-jetty and http4s-jetty-client on Java >= 11.  It also conceivably means we could support any combination of {Servlet 3, Servlet 4, Servlet 5} concurrently.
Jakarta EE 9 is here.  I think we should aim for Servlet 5.0 in 0.22 and 1.0, and if anyone wants Servlet 3 and/or Servlet 4 support, we can give it a home in our org, but they'll have to help us maintain it.
Does that work for your needs?

Jakarta EE 9 is here. I think we should aim for Servlet 5.0 in 0.22 and 1.0

This suits my needs. I have only a 2 projects with Servlets, which are already moved to internal systems only and we are on a way to phase them out.
If I ever need to do Servlet related stuff again I will move on JakartaEE or use different tech for sure.
Feel free to close related PR and this issue, when you have issue or project of moving http4s mainline to Jakarta EE 9 level.
Did this mostly out of curiosity, because our actual stack is Tomcat anyway.

I think your PR (which I still haven't reviewed in depth -- I'll get there!) is still useful, because it handles some of the deprecations in modern Jetty.  We'll just want to move it all the way to Jakarta.


Move Basic Math JS components into docs

As we approach stabilisation, this becomes less relevant, but still worthwhile sharing with devs.

I'm not sure about this. It's currently a stub for our tests. Without doing weird stuff and configuring a stub on purpose it should be pretty inert. We should probably remove the JS implementations. I think we could probably re-purpose those as docs though?

This could follow what we do with graphql and have an 'examples' folder?

PR here


python3Packages.responses: 0.10.6 -> 0.10.7

Motivation for this change
Removed doCheck = false and added the necessary deps so the unit tests are run. Added some meta info in the derivation and bumped the version from 0.10.6 to 0.10.7.
Things done

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

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

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

Notify maintainers
cc @

0.10.9 is in master


Correct reference to Offset class

This is a documentation-only correction; org.apache.spark.sql.sources.v2.reader.Offset is actually org.apache.spark.sql.sources.v2.reader.streaming.Offset.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

It's okay. mind taking a quick look for the same instances while we are here?

I don't see any more mentions of the incorrect package.

ok to test

Test build #90987 has started for PR 21387 at commit 81a5d3d.

Test build #90987 has finished for PR 21387 at commit 81a5d3d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/90987/
Test PASSed.

Merged build finished. Test PASSed.

Merged to master and branch-2.3.


Trending algorithm with time delay and variable decay rate

This is the one I've been working on in #tech-trending on Slack. It's similar to the AR algorithm, but with the following modifications, inspired by Tom's idea that in the future large supports should require time locking, but able to be implemented before that's a thing.

Large, positive LBC changes take time before they affect the trending score. Specificially, the delay is equal to LBC^0.4 blocks, with a maximum delay of 200 blocks.

Very high trending scores decay at a faster rate than lower scores.

The time delays look like this - people might wonder about it:
10 LBC:   2 blocks
100 LBC:  6 blocks
1000 LBC: 15 blocks
10000 LBC: 39 blocks
100000 LBC: 100 blocks
>= 565000 LBC: 200 blocks (edited)

Jeremy and Tom are keen to A/B test this on lbry.tv.
Ultimately, the degree to which trending is full of "whales" depends on the shape of the tails of the LBC wealth distribution. However, this reduces the effect somewhat. I've done some analytic work on it and under certain approximations, time delays or locking has an equivalent effect to changing the Pareto slope of the tails.

@eukreign @jackrobison or @andybeletsky, once lbry.tv is running SDK 0.63.0+, @seanyesmunt will deploy a lbry.tv update that stores trending_algorithm against analytics (whoever does that, please ping him once this is done).
Once Sean does that, we can run a mix of trending algorithms simultaneously against the same data, which will make for more useful comparisons.
For whoever does the SDK updating, feel free to just put the SDKs in a (balanced) mix of modes even prior to Sean's update going live.


added more RequiresPlugin annotations

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests


LANG-1617 - Improve/clean math package

Coverage decreased (-0.008%) to 94.98% when pulling 23b403885ba14d6a988d2d8ac513ca9d10e6994a on arturobernalg:feature/LANG-1617 into 764b9bba528487fb575b84766998086c24bb1f48 on apache:master.


Problems running on Theia

Please select the area your Bug applys to. (Multiple selections are Possible)

[ ] UI
[ ] Workbench
[ ] Publishing
[ ] Pods
[ ] Markdown
[ ] Hierarchy
[ ] Graph
[x] Misc (Choose this if your not sure)

Describe the bug
Problem runing dendron initialize workspace on Theia. Getting the same error as in https://github.com/eclipse-theia/theia/issues/8752. TypeError: c.default.Uri.joinPath is not a function
To Reproduce
Steps to reproduce the behavior:

Build using Theia
Try to initialize workspace

Expected behavior
Not hitting this error
Additional context
Discussed on Discord https://discord.com/channels/717965437182410783/748936364283920495/828347171010379786
Dendron Log file
info: {"ctx":"A:run","msg":"pre-execute"}
info: {"ctx":"SetupWorkspaceCommand extends BaseCommand","rootDir":"/Users/xeor/Dendron3","skipOpenWs":false}
error: {"ctx":"A:run","err":{"status":"unknown","msg":"","payload":"{\"msg\":\"c.default.Uri.joinPath is not a function\",\"stack\":\"TypeError: c.default.Uri.joinPath is not a function\\n    at A.execute (/Users/xeor/Temp/dendron-theia/theia-apps/theia-electron/plugins/dendron/extension/dist/extension.js:736:71386)\\n    at async A.run (/Users/xeor/Temp/dendron-theia/theia-apps/theia-electron/plugins/dendron/extension/dist/extension.js:9:103586)\\n    at async /Users/xeor/Temp/dendron-theia/theia-apps/theia-electron/plugins/dendron/extension/dist/extension.js:9:79725\"}"}}

Hey @xeor , any updates on Theia compatibility since we fixed the joinPath issue?

I got it running now after that fix, thanks.. I'm investigating the next problem tho, but I'm new to Theia, so using some time fiddling around :) I'm closing this issue. Will there be a good idea to create some new labels for which editor in use? editor.vscodium, editor.theia, and so on?

no need. just file it as a feature request and we’ll look into it
On Sat, Apr 24, 2021 at 2:21 PM Lars Solberg @.***>
wrote:

I got it running now after that fix, thanks.. I'm investigating the next
problem tho, but I'm new to Theia, so using some time fiddling around :)
I'm closing this issue. Will there be a good idea to create some new labels
for which editor in use? editor.vscodium, editor.theia, and so on?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dendronhq/dendron/issues/606#issuecomment-826155146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADD52KM5XJC3MBYL4GMRG3TKMY55ANCNFSM42LWWGVQ
.


Fixed a lot of typos

Fair amount of typos spotted and fixed. Some of them are in comments, some of them are in code and some of them are in nondart files.
There is no need for issues since it's a typo fix.
I have doubts about packages/flutter_tools/lib/src/ios/core_devices.dart, I have a feeling it might broke some things on the other end, even though it's a typo.
Pre-launch Checklist

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

How'd you find all these?

How'd you find all these?

I really would love to say that I use something sophisticated but it's just a Typo Analyzer in IntelliJ IDEA and 2 hours of going through each file and checking if it's really a typo or not... :)

Haha, nice!
Thanks you for your contribution

@bartekpacia What can we do about this auto-submit comment?

We need to wait for someone else from the team to approve this PR. I don't often review PRs so I forgot about this rule.


Continuing this project

Hi guys, I have made a copy of this repo (and package) where I updated the dependencies. If you want to contribute to it with other changes you are more than welcome!
For the owners of this project, if you're not ok with this please email me and I'm gonna take it down.
Forked repo: https://github.com/Robertmw/redux-pack
NPM module: https://www.npmjs.com/package/redux-pack-updated

Why? Is there an open PR for that that’s not merged?
It’s fine to fork but it’s usually unnecessary.

I saw that the last change was on 25 Mar 2017, if you are the new maintainer i guess i can remove the module and create a PR with my changes here.

There's a number of maintainers; the first step is always to file an issue and/or PR :-)

Done -> https://github.com/lelandrichardson/redux-pack/pull/74
I will remove the updated package from NPM once this is merged.


New user feedback

I like the idea of cflint making me a better coder, but I don't understand some of these hints/rules.  Is there a page that explains why these things should be so?  (Unquoted struct key debug is not case-sensitive.  Using array notation is recommended. cflint(STRUCT_ARRAY_NOTATION) - Variable has prefix or postfix bRequireHTTPS and could be named better. cflint(VAR_HAS_PREFIX_OR_POSTFIX))
If so, including links so I can ctrl-click follow them from vscode would be wonderful.  But even copy/paste google search would be good.  At this point I have no idea what I should do to fix these "problems".
Thanks for your great work!

https://github.com/cflint/CFLint/blob/master/RULES.md#built-in-rules might serve as a starting point.
In regards to clicking through to issues in an IDE, that'd be something to discuss with the respective IDE plugin author - I personally don't even use vscode.
For that, I assume there'd be a way to have individually addressable links to a rule, which could be done on one of the Github Wiki pages in principle with anchors as in the link above.
Happy to accept PRs trying to achieve something like that.

I think it could be as simple as http://cflint.com/r/#ARG_DEFAULT_MISSING (if you have url rewriting enabled) in the rule description but it would be very nice to have more explanation about why this particular rule is a thing.  For example, I don't understand the problem with using bVariableName as a reminder that this variable is intended for boolean checks.  The short description is good as a hint in the IDE but a longer explanation from someone who actually knows why it's a bad thing would be very useful for people like me - whom I assume something like this is aimed at.  (thanks again, btw)
As for PRs, I would volunteer if I weren't the blind attempting to lead the blind ;)
BTW cflint.com is broken atm...


🐛 [firebase_auth] iOS app crashes on Hot restart after upgrading to firebase_auth 1.1.3

Bug report
After upgrading to firebase_auth 1.1.3, my application started to crash on Hot restart (no problems with Hot reload) and I was able to reproduce this bug with packages/firebase_auth/firebase_auth/example application from this repository. This bug does not happen with firebase_auth 1.1.2 and before.
Steps to reproduce
Steps to reproduce the behavior:

Go to packages/firebase_auth/firebase_auth/example (commit 8884d7e20b16af99a9dc1a7dc3aafdc843b5b1b9)
Comment out line await FirebaseAuth.instance.useEmulator('http://localhost:9099'); in lib/main.part (disable Firebase Auth emulator use)
Start iOS Simulator (tested with iPhone 12 mini)
flutter run
Tap the 'Sign In' button
Hot restart the application
Application crashes (Lost connection to device.)

Expected behavior
The application should restart and show the home page.
Sample project
Please use the firebase_auth example application – commit 8884d7e20b16af99a9dc1a7dc3aafdc843b5b1b9<EMAIL_ADDRESS>crashes on Hot restart, commit 79d6a62ebd429a728637909f6c4ea62e373ee9fd<EMAIL_ADDRESS>works fine.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 2.0.6, on macOS 11.3 20E232 darwin-x64, locale cs-CZ)
    • Flutter version 2.0.6 at /usr/local/Caskroom/flutter/2.0.5/flutter
    • Framework revision 1d9032c7e1 (6 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mbenda/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Users/mbenda/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7199119/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/mbenda/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7199119/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1)
    • IntelliJ at /Users/mbenda/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (2 available)
    • iPhone 12 mini (mobile) • BE52DE7F-39CB-4B19-8A69-274EECB1EFEA • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • Chrome (web)            • chrome                               • web-javascript • Google Chrome 90.0.4430.93

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.12.3
Flutter SDK 2.0.6
firebase_auth_example 0.0.0

dependencies:
- firebase_auth 1.1.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.1.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_dynamic_links 2.0.2 [firebase_core flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_signin_button 1.1.0 [flutter font_awesome_flutter]
- google_sign_in 5.0.2 [google_sign_in_platform_interface google_sign_in_web flutter meta]

dev dependencies:
- drive 0.1.0 [test_api flutter_test flutter_driver stack_trace universal_platform flutter]
- flutter_driver 0.0.0 [file meta path vm_service webdriver flutter flutter_test fuchsia_remote_debug_protocol archive args async boolean_selector characters charcode clock collection convert crypto fake_async matcher platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math]
- http 0.13.3 [async http_parser meta path pedantic]
- test 1.16.5 [analyzer async boolean_selector coverage http_multi_server io js node_preamble package_config path pedantic pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core]

dependency overrides:
- firebase_auth 1.1.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_auth_platform_interface 4.2.1 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 1.1.1 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core 1.1.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_core_platform_interface 4.0.0 [flutter meta plugin_platform_interface]
- firebase_core_web 1.0.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_dynamic_links 2.0.2 [firebase_core flutter]

transitive dependencies:
- _fe_analyzer_shared 14.0.0 [meta]
- analyzer 0.41.2 [_fe_analyzer_shared args cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 2.0.13 [crypto args path]
- args 1.6.0
- async 2.5.0 [collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.1.0
- charcode 1.2.0
- cli_util 0.3.0 [meta path]
- clock 1.1.0
- collection 1.15.0
- convert 2.1.1 [charcode typed_data]
- coverage 0.15.2 [args logging package_config path source_maps stack_trace vm_service]
- crypto 2.1.5 [collection convert typed_data]
- fake_async 1.2.0 [clock collection]
- file 6.0.0 [meta path]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- font_awesome_flutter 8.12.0 [flutter]
- fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform]
- glob 2.0.1 [async collection file path pedantic string_scanner]
- google_sign_in_platform_interface 2.0.1 [flutter meta quiver]
- google_sign_in_web 0.10.0 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- http_multi_server 3.0.1 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- io 1.0.0 [meta path string_scanner]
- js 0.6.3
- logging 1.0.1
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mime 1.0.0
- node_preamble 1.4.13
- package_config 1.9.3 [path charcode]
- path 1.8.0
- pedantic 1.11.0
- platform 3.0.0
- plugin_platform_interface 2.0.0 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.0.0 [file path platform]
- pub_semver 2.0.0 [collection]
- quiver 3.0.1 [matcher]
- shelf 1.1.1 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 2.0.1 [path shelf shelf_static]
- shelf_static 0.2.9+2 [convert http_parser mime path shelf]
- shelf_web_socket 0.2.4+1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_map_stack_trace 2.1.0 [path stack_trace source_maps]
- source_maps 0.10.10 [source_span]
- source_span 1.8.0 [charcode collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- sync_http 0.2.0
- term_glyph 1.2.0
- test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- test_core 0.3.15 [analyzer async args boolean_selector collection coverage glob io meta package_config path pedantic pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api]
- typed_data 1.3.0 [collection]
- universal_platform 0.1.3
- vector_math 2.1.0
- vm_service 5.5.0 [meta]
- watcher 1.0.0 [async path pedantic]
- web_socket_channel 1.2.0 [async crypto stream_channel]
- webdriver 2.1.2 [archive matcher path stack_trace sync_http]
- webkit_inspection_protocol 1.0.0 [logging]
- yaml 3.1.0 [collection source_span string_scanner]

Glad to know I wasn't the only one. Any news when this will be fixed?

Same exact issue, except my error (upon a hot restart) is very cryptic and ugly. Through a lot of trial and error, I came to the same conclusion that firebase_auth: ^1.1.3 was causing the problem.
Restarted application in 1,262ms.
-[__NSCFString setStreamHandler:]: unrecognized selector sent to instance 0x280c27570
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString setStreamHandler:]: unrecognized selector sent to instance 0x280c27570'
*** First throw call stack:
(0x183b5986c 0x198b72c50 0x183a6095c 0x183b5c438 0x183b5e740 0x104f93878 0x104f959cc 0x104fa49dc 0x104fa2700 0x104fa167c 0x10662c694 0x105dcc038 0x1060cb41c 0x10606a81c 0x10606ced4 0x183ad5fa0 0x183ad5ba0 0x183ad4ffc 0x183aceee4 0x183ace21c 0x19b698784 0x18650eee8 0x18651475c 0x104efe710 0x18378e6b0)
libc++abi.dylib: terminating with uncaught exception of type NSException
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001b1aa9414 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x1b1aa9414 <+8>:  b.lo   0x1b1aa9434               ; <+40>
    0x1b1aa9418 <+12>: pacibsp
    0x1b1aa941c <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1b1aa9420 <+20>: mov    x29, sp
Target 0: (Runner) stopped.
Lost connection to device.

Solution
Reverting to firebase_auth: ^1.1.2 avoids the problem and I do not run into this issue.

I suggest reverting back to 1.1.1 as 1.1.2 had the auth events stream issue #5952

I'm having the same issue. I'll have to go back to 1.1.1 again.

Yep - I noted it here and link to what I think caused it: https://github.com/FirebaseExtended/flutterfire/commit/eecdf7331913c1b5b062d12fa0659f698937e817#commitcomment-50357894

Something similar happens on MacOS as well. Is this related or should I open a different issue ?
2021-05-06 11:54:52.298 deescus[5511:959447] -[__NSCFString setStreamHandler:]: unrecognized selector sent to instance 0x7fd861f8f260
2021-05-06 11:54:52.301 deescus[5511:959447] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString setStreamHandler:]: unrecognized selector sent to instance 0x7fd861f8f260'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff206a098b __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007fff203d8d92 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff207233ad -[NSObject(NSObject) __retain_OA] + 0
	3   CoreFoundation                      0x00007fff206089bb ___forwarding___ + 1448
	4   CoreFoundation                      0x00007fff20608388 _CF_forwarding_prep_0 + 120
	5   deescus                             0x000000010561693e -[FLTFirebaseAuthPlugin cleanupWithCompletion:] + 398
	6   deescus                             0x0000000105618ddf -[FLTFirebaseAuthPlugin didReinitializeFirebaseCore:] + 63
	7   deescus                             0x00000001056286a2 -[FLTFirebasePluginRegistry didReinitializeFirebaseCore:] + 834
	8   deescus                             0x0000000105625ea4 -[FLTFirebaseCorePlugin initializeCoreWithMethodCallResult:] + 276
	9   deescus                             0x0000000105624b68 -[FLTFirebaseCorePlugin handleMethodCall:result:] + 504
	10  FlutterMacOS                        0x0000000109c0063d __56-[FlutterEngineRegistrar addMethodCallDelegate:channel:]_block_invoke + 45
	11  FlutterMacOS                        0x000000010a7ba6e7 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 119
	12  FlutterMacOS                        0x0000000109c029e0 -[FlutterEngine engineCallbackOnPlatformMessage:] + 272
	13  FlutterMacOS                        0x0000000109c0141c _ZL17OnPlatformMessagePK22FlutterPlatformMessageP13FlutterEngine + 44
	14  FlutterMacOS                        0x000000010a40c32d _ZNSt3__110__function6__funcIZ23FlutterEngineInitializeE4$_49NS_9allocatorIS2_EEFvN3fml6RefPtrIN7flutter15PlatformMessageEEEEEclEOS9_ + 125
	15  FlutterMacOS                        0x000000010a41d70a _ZN7flutter20PlatformViewEmbedder21HandlePlatformMessageEN3fml6RefPtrINS_15PlatformMessageEEE + 74
	16  FlutterMacOS                        0x000000010a180af9 _ZNSt3__110__function6__funcIZN7flutter5Shell29OnEngineHandlePlatformMessageEN3fml6RefPtrINS2_15PlatformMessageEEEE4$_38NS_9allocatorIS8_EEFvvEEclEv + 137
	17  FlutterMacOS                        0x000000010a41ab67 _ZN7flutter18EmbedderTaskRunner8PostTaskEy + 759
	18  FlutterMacOS                        0x000000010a402a1c FlutterEngineRunTask + 44
	19  FlutterMacOS                        0x0000000109c03a57 __60-[FlutterEngine postMainThreadTask:targetTimeInNanoseconds:]_block_invoke + 71
	20  libdispatch.dylib                   0x00007fff20382603 _dispatch_call_block_and_release + 12
	21  libdispatch.dylib                   0x00007fff203837e6 _dispatch_client_callout + 8
	22  libdispatch.dylib                   0x00007fff2038fb2f _dispatch_main_queue_callback_4CF + 940
	23  CoreFoundation                      0x00007fff206636f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
	24  CoreFoundation                      0x00007fff206258e2 __CFRunLoopRun + 2755
	25  CoreFoundation                      0x00007fff2062475c CFRunLoopRunSpecific + 563
	26  HIToolbox                           0x00007fff28846203 RunCurrentEventLoopInMode + 292
	27  HIToolbox                           0x00007fff28845f65 ReceiveNextEventCommon + 587
	28  HIToolbox                           0x00007fff28845d03 _BlockUntilNextEventMatchingListInModeWithFilter + 70
	29  AppKit                              0x00007fff22e20b32 _DPSNextEvent + 864
	30  AppKit                              0x00007fff22e1f305 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
	31  AppKit                              0x00007fff22e11679 -[NSApplication run] + 586
	32  AppKit                              0x00007fff22de585c NSApplicationMain + 816
	33  deescus                             0x0000000105605ccd main + 13
	34  libdyld.dylib                       0x00007fff20548f3d start + 1
	35  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi: terminating with uncaught exception of type NSException

Crash is gone for me with patched -[FLTFirebaseAuthPlugin cleanupWithCompletion:] method:
- (void)cleanupWithCompletion:(void (^)(void))completion {
  // Cleanup credentials.
  [_credentials removeAllObjects];

  for (NSString *name in self->_eventChannels) {
    FlutterEventChannel *channel = [self->_eventChannels objectForKey:name];
    [channel setStreamHandler:nil];
  }
  [self->_eventChannels removeAllObjects];
  for (NSString *name in self->_streamHandlers) {
    NSObject<FlutterStreamHandler> *handler = [self->_streamHandlers objectForKey:name];
    [handler onCancelWithArguments:nil];
  }
  [self->_streamHandlers removeAllObjects];

  if (completion != nil) completion();
}

The original issue is caused by for..in loop that was iterated over dictionary keys but uses them as values.

Reproducible with auth firebase_auth: ^1.1.3

flutter doctor -v
[✓] Flutter (Channel master, 2.3.0-1.0.pre.227, on macOS 11.2.3 20D91 darwin-arm, locale en-GB)
    • Flutter version 2.3.0-1.0.pre.227 at /Users/nevercode/development/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7f1d1414cc (23 hours ago), 2021-05-04 06:17:19 -0700
    • Engine revision 378e4dbc41
    • Dart version 2.14.0 (build 2.14.0-48.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7199119/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7199119/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7199119/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (3 available)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 14.5
    • macOS (desktop)             • macos                                    • darwin-arm64   • macOS 11.2.3 20D91 darwin-arm
    • Chrome (web)                • chrome                                   • web-javascript • Google Chrome 90.0.4430.93

• No issues found!

Logs
Performing hot restart...
Syncing files to device Nevercode’s iPhone...
Restarted application in 1,029ms.
-[__NSCFString setStreamHandler:]: unrecognized selector sent to instance 0x280b0bc50
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString setStreamHandler:]: unrecognized selector sent to instance 0x280b0bc50'
*** First throw call stack:
(0x181de3128 0x195af6480 0x181cf2138 0x181de5784 0x181de79ac 0x1043cb574 0x1043cd654 0x1043db70c 0x1043d9678 0x1043d86cc 0x104c8c4f0 0x10499a7a4 0x104ca6910 0x104c3fe5c 0x104c4348c 0x181d62f80 0x181d62b80 0x181d62054 0x181d5c38c 0x181d5b6a8 0x19840b570 0x184679370 0x18467e8ec 0x1043bcd44 0x181a3a140)
libc++abi: terminating with uncaught exception of type NSException
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001ada787b0 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x1ada787b0 <+8>:  b.lo   0x1ada787cc               ; <+36>
    0x1ada787b4 <+12>: stp    x29, x30, [sp, #-0x10]!
    0x1ada787b8 <+16>: mov    x29, sp
    0x1ada787bc <+20>: bl     0x1ada551fc               ; cerror_nocancel
Target 0: (Runner) stopped.

I have the same error and the solution by djphoenix solved this error.

Same problem

Error handling 'checkPlatformOverride' custom request: method not available: ext.flutter.platformOverride
Error handling 'checkBrightnessOverride' custom request: method not available: ext.flutter.brightnessOverride
Error handling 'checkIsWidgetCreationTracked' custom request: method not available: ext.flutter.inspector.isWidgetCreationTracked
Error handling 'serviceExtension' custom request: Bad state: No element

Hello,
I'm facing the same problem. I get the following errors:

Restarted application in 777ms.
Error handling 'checkPlatformOverride' custom request: method not available: ext.flutter.platformOverride
Error handling 'checkBrightnessOverride' custom request: method not available: ext.flutter.brightnessOverride
Error handling 'serviceExtension' custom request: method not available: ext.flutter.inspector.setPubRootDirectories
Error handling 'checkIsWidgetCreationTracked' custom request: method not available: ext.flutter.inspector.isWidgetCreationTracked

Downgrade to firebase_auth 1.1.1 didn't help but implementing @djphoenix patch did work.
I'm using the following firebase versions:

firebase_auth: ^1.1.3
cloud_firestore: ^2.0.0
firebase_analytics: ^8.0.3
firebase_core: ^1.1.0
firebase_crashlytics: ^2.0.2

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.6, on Mac OS X 10.15.7 19H524 darwin-x64, locale en-IL)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.56.0)
[✓] Connected device (4 available)

Any idea?


Implement type-based API for progress records

close #7
This PR implements add Progress type that holds the progress value (fraction), name, its ID, parent ID, and a flag indicating if the task is finished or not (done):
https://github.com/JunoLab/ProgressLogging.jl/blob/d1e1b0ebd9048227bf1dd76141b851c35cc1c8a4/src/ProgressLogging.jl#L65-L71
This API is based on @c42f's suggestion https://github.com/JunoLab/ProgressLogging.jl/issues/7#issuecomment-553249772 and I added Base.print(::IO, ::Progress) method to it.  This way, the progress information is somewhat readable even without proper progress monitor:
julia> @info Progress(uuid4(), 0.1)
[ Info: Progress: 10%

There is a bit of machinery in @logprogress to help producing log record that is compatible with both old (untyped) and new (typed) APIs.
Here is an example of nested progress bar handling implemented in TerminalLoggers.jl https://github.com/c42f/TerminalLoggers.jl/pull/13

I added/fixed the tests. I think this is good to go now if the code looks good.

@pfitzseb @c42f @oxinabox Thanks a lot for reviewing this!


InputFormatter: server-side API model gets incorrectly included in OpenApi definition

This is a continuation of #2519 :
I am using an InputFormatter to automatically deserialize the request body into a model.
This model is supposed to be only server-side, and the client should send the request body as a stream or whatever.
However, the model gets generated in my spec, and I can't manage to remove it.
See this repo and specifically this line: https://github.com/jeremyVignelles/TestNSwagNetCoreApp/blob/0301059ed05ba234aaf6a76767e87ec1be761d3a/TestNSwagNetCoreApp/Hello.cs#L32
My StringModel should not be generated in the spec. In my real application, this is a X509Certificate2, so I can't modify it, and it generates a lot of other classes as well.
Do you have any workaround to suggest?

[FromBody, JsonSchemaType(typeof(NewType))] StringModel message

Attribute from NJsonSchema

What new type should I pass here? I want the generated client to use a Stream. Should I use a JsonSchemaType(Stream)?

Yes, try stream or byte[]
Or try this attribute
https://github.com/RicoSuter/NSwag/blob/master/src/NSwag.Annotations/OpenApiBodyParameterAttribute.cs

I already tried OpenApiBodyParameter("text/plain"), as shown commented in my repo. It generates a StringModel and uses it.
I didn't try JsonSchemaType though


Error while loading conda entry point: conda-libmamba-solver (module 'libmambapy' has no attribute 'QueryFormat')

im getting Error while loading conda entry point: conda-libmamba-solver (module 'libmambapy' has no attribute 'QueryFormat')
can some one tell me how to fix it?

Hello, we tried to solve the issue.
This is what we did:
To fix the conda-libmamba-solver error, we need to set up the conda environment properly before starting the Electron app. We'll add the necessary code to main.js to ensure the correct conda environment is activated.
You can review changes in this commit: https://github.com/wwqwq2313/pinokiocomputer-pinokio-870/commit/c88c229e893b46309a569adb8451f6b9fe241820.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

I’m also having this issue.

I'm also receiving the same message

I got it to work now, but I’m not sure what solved it.
I cleaned the fluxgym install and then reinstalled it. I also manually installed cargo.

Could you tell us in detail how you did it? i don't know how to clean fluxgym or how manually install cargo. Thanks


allow regex routes

$tipsy->router()->when('assets.*\.scss', function() {
});

$tipsy->router()->when('/^assets/(.*\).scss$/', function($Params) {
	// $Params could be an array of matches
});

would also be good for #36

documented here https://github.com/tipsyphp/tipsy/wiki/Route-Params-%26-Regex


Check go releaser configuration

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 37.64%. Comparing base (e63ab9c) to head (fdc155e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #69   +/-   ##
=======================================
  Coverage   37.64%   37.64%
=======================================
  Files          20       20
  Lines        1421     1421
=======================================
  Hits          535      535
  Misses        822      822
  Partials       64       64

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


When I compile HLSL to Spir-v. Some error occured.

The lexer get a unexpected/invalid character.
First I thought maybe I entered some invalid character when using input method.
But the lexer give a correct return when I set the target generation to GLSL.
When I compressed the source file to only one line and delete the useless space, the lexer output a less error list.
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xAB)
(1): error 10000: illegal character (0xFE)
The source HLSL file is:
struct AppData
{
    float3 position : POSITION;
    float2 texCoord : TEXCOORD0;
};

struct VertexShaderOutput
{
    float2 texCoord : TEXCOORD0;
    float4 position : SV_POSITION;
};

cbuffer PerObject : register( b0 )
{
    float4x4 ModelViewProjection;
};

Texture2D DiffuseTexture : register( t2 );

SamplerState DiffuseSampler : register( s0 );

VertexShaderOutput VS_main( AppData IN )
{
    VertexShaderOutput OUT;

    OUT.position = mul( ModelViewProjection, float4( IN.position, 1.0f ) );
    OUT.texCoord = IN.texCoord;

    return OUT;
}

float4 PS_main( VertexShaderOutput IN ) : SV_TARGET
{
    return DiffuseTexture.Sample(DiffuseSampler, IN.texCoord);
}

When I use the static string in c instead using the file input, the illegal error disappeared. But I still get a  Segmentation fault.
Suggest to check the size when input a source string.

I tried copy-pasting the code block from the earlier comment into a file and ran it through slangc and couldn't repro the issue. Is it possible that the original file included some non-ASCII characters? We haven't yet fleshed out Slang's support for non-ASCII input.
If possible, could you attach the original file to this issue, so that I can hopefully download it with the original bytes intact?

When I use the static string in c instead using the file input, the illegal error disappeared. But I still get a Segmentation fault.
Suggest to check the size when input a source string.

I'm not sure I follow this. If you are saying that spAddTranslationUnitSourceString should probably take both the string and the size of the string, I agree (the main reason we haven't changed the API is to avoid breaking existing code that uses it).
As for the segmentation fault, is there any way you can share the application code that segfaults so that I can try to repro the crash?

@tfoleyNV I found that when I use the op "r" to read the file, some strange '\0' was found. (Using HexEdit they aren't appear. ) With a "rb" op, it disappeared. Sorry to disturb you. And if you know why it happened, Please enlighten me with your instructions.
As for the segmentation fault,  you can try to use the code.
drip.zip
Just run the all.bat to compile it. (need clang)
The executable file is in the Disp folder, with the name "case".
The Slang about file which I try to use is in GraphicProgram folder.
The Shader file is in the folder DIsp/data
Thanks a lot.

You can definitely run into problems if you open a file in text mode ("r") but still use fseek/ftell to find the size of the file, because conversion of line endings may mean that the number of bytes of text you read from the file is different from the amount you computed/expected. I'm not entirely sure why you'd see the exact byte values you did, or why the error messages appear on the first line of the file.
I will try to look at your repro for the segfault when I get a chance, but I will caution you that the turnaround may not be very fast because we only have a few contributors and most of us are busy on other issues. Sorry.


configured channels not appearing

in Wiki i found this information:
All reference and name from Your sat receiver are stored in homebridge_directory/openwebifTv/channels_19216804, if U want somthing changed in channel list please add Yours prefered channels to the config bouquets.
if i leave the config empty it shows "no channles configured"
can you do a fallback to the channels-File if no channel are in config-File?

This is possible but many of people have more as 100 channels in its bouquets and in this case the app will no response due HomeKit limitation. It is simple to copy from the file channels in the config.json.

ok, i haven't figured out if i have to copy it by hand.
why not just use the first 100 elements of Json? or only one defined bouquets,

so, one bouquets can be more as 100 channels, use first 100 elements is not problem but how to know which channels U or other one People want to have on the lis?.