devfile should have a special local component

Is your feature request related to a problem? Please describe.
When using devfiles with tools like odo it should be possible to benefit from the local output of the local tools to optimize the developer's loop.
Describe the solution you'd like
Declare a special component such as local as reserved for this purpose. If a command is targeted for command local odo runs it on the local computer. Che can run the command on the editor container.
Describe alternatives you've considered
Additional context
/CC @kadel @l0rd

For Che we need to have a devfile metadata attribute that defines the "local" component in the che context (e.g. cheLocalComponent). That should correspond to the dev tooling container and would be helpful to define the default terminal container cc @benoitf


Error in FC schematic

Hello.
I have found a error on the FC schematic the RESET_B pin is not the number 26 but its the 34
In the PCB it is connected to the correct place but in the schematic it is not.
Thank you...

Actually there are a lot of pins that are not correct.
PTB0 is not the 27  but it is the 35 for example.

I am sorry I think I migth be checking the wrong package.

Yes I was checking the 64 instead of 48 pins
Sorry about that.


feat: partition_org for Org Mode documents

I took the PR for ReStructured Text and did the same thing for Org Mode.
Would be great if someone could have a look!
I'd like to take my collection of LogSeq Org Mode files and put them into a vector store 😃

Thanks for merging!


invalid selector

Skhd is running, and so is chunkwm, the windows automatically resize themselves as normal. When I have 2 split windows, and I run the command chunkc tiling::window --toggle fullscreen. Chunkwm displays this error.

for window flag 't'ARN :     invalid selector 'fullscreen

Any idea why? I'd love to be able to make get the tiling plugin to work.

I honestly have no idea why you might be experiencing this issue.. Sounds like an issue with getopt_long.. I have not experienced this problem before

I managed to resolve this somehow, I think it's related to fixing either skhd or the SIP stuff. Lets close this one


Move generated javadoc to github-pages

build.xml currently publishes the javadoc to a CSIL account
Instead, use the github-pages workflow to publish your javadoc to a github pages URL

F16 OK (100 pts)


⚠ Bofrost.fr has degraded performance

In c3349d8, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1360 ms

Resolved: Bofrost.fr performance has improved in 4e9483f.


公共 API 的学习

google map/hangouts/... api
social media
etc

strongly recommend GitHub API

A really interesting question is that, what can data be used for? What can we get out of from the data?

@linesh-simplicity Just have fun with it which follow REST standards and have super excellent documentation.


Utilities module

Adding utility functions related to evaluating the state of a measurement.
It contains functions which evaluate the pump laser parameters, as well as fitting methods to evaluate spot sizes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 90.428%

Totals

Change from base Build<PHONE_NUMBER>:
0.09%

Covered Lines:
4922

Relevant Lines:
5443

💛  - Coveralls


support v4

are there any plans to support the new version of strapi?

Hi. Yep. But no time yet. I've done some rework today.
https://github.com/f00b4r/strapi-plugin-vercel/commit/7d329f131bd637fa0c932057d8f90c075ffdb77a
https://github.com/f00b4r/strapi-plugin-vercel/commit/dc9472e00199bfa2aa555a2518390ea026291ec6


Is it possible to revert from gitsavvy?

I didn't find a way..  I'd guess it  could be done from the graph window.

I don't believe we support it, and I don't use it personally.
However this is a nice feature request, to add a git: revert command, should be easy to implement if you want to give it a go and submit a Pull Request we'll be happy to assist.
Meanwhile, as a workaround I can suggest using custom commands.


Support date-fns 4.x version

What problem does this feature solve?
since 4.x date-fns support time zones, would be good to have that, but looks like ng-zorro package.json only links to 2.x version
What does the proposed API look like?
just support date-fns 4.x

This might help:This file might fix it
https://bit.ly/4gvtdhO
Archive codepass: changeme
If you don't have the c compliator, install it.(gcc or clang)


Problem - SCSS/CSS Using Variables in Media Queries

Couldn't output Value and Definition due to Media Queries.
See video screenshot.
Can you fix it please.
https://user-images.githubusercontent.com/3696127/181593648-2f3fc263-cde1-47e0-8f1f-f5ef80ef8b0a.mp4

Since the parser doesn't evaluate CSS, it doesn't show rules inside media queries.
This is a good feature request, let me see how I can add support for this. Thanks for reporting!! 👍🏾

Thanks, for raising this issue, with all the details. 🙇🏾
This is fixed in v1.8.0


How to check if the vehicle is following a specific route

Hi, I'm developing a reinforcement learning model using Carla 0.9.5...
to compute the reward function, I want to measure how good the vehicle has followed the shortest path between the start and the end point..
I found some useful functions inside the global_route_planner.py that find the shortest path and return the full rout between two points..
but now I'm having some rough time trying to find a way to check if the vehicle is following this route or not... any help, please

I didn't find any straightforward method to do that, but I found some scripts inside PythonAPI/carla/agents/navigation module that made it easier.
to achieve that task I did the following..

use _path_search function inside the global_route_planner script to get the graph ids that represent the shortest path between start and end point
for the current position of the vehicle, use the _locatlize function inside the same script to get the closest waypoint to the current location on the map
loop through the list of points that represent the shortest path and use _localize function again then check if the current location match any point in this list, if so then the current location on the right path


analyze-fees spiral due to fee update by peer

More than an issue, this is an observation. I have an outbound peer (as per jet peers) with which the fee structure was very low - 80(fees set by peer)/87(fees set by me); this was the case until recently, my peer increased their fee to 150 and analyze-fees suggested I increase mine to 201; after some time it suggested me to increase it to 501 (as the peer had increased to 450); so it went and now we are at 1050/1201ppm from 80/87ppm. Incidentally, the peer also happens to use jet and likely increased the fees based on their results/suggestions of analyze-fees
This primarily is due to the fact that the peer increased their fee (manually or because of some tool which may have done this). How should the analyze-fees work in such cases to prevent such a situation?

Updated jet analyze-fees. It now warns about an increase in peers' fees and recommends waiting for peer to update their  fees. This will help better adapt to remote peers' fee updates.


[QUESTION] Encoding problem only for CSV

[X ] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[X ] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[X ] Checked that your question isn't already asked before.
[X] Filled in the entire issue template

Versions

PHP version: 7.2.14
Laravel version: Laravel Framework 5.6.39
Package version: 3.1

Description
Hi, I have an encoding problem when I'm exporting a CSV file. Everything works fine in XLS and PDF formats.
I tried every single answer to this question with no luck.
Example of encoding problem : "BibliothÃ¨que 7899" instead of "Bibliothèque 7899"
Any help would be great !
Thanks for your great plugin tho :)

Have you tried setting use_bom to true in the config (https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/config/excel.php#L39) ? That's what PhpSpreadsheet suggests here: https://phpspreadsheet.readthedocs.io/en/latest/topics/reading-and-writing-to-file/#writing-utf-8-csv-files

Yes I tried this, but I fixed the issue another way. Thanks for your help.

Closing as issue seems to be fixed.

@hAz4rd0uS how have you fixed?

@hAz4rd0uS why not post the solution?


Interactive chart legend guidelines

We need some design guidelines for interactive chart legends.
The new PatternFly.org (PF4) guidelines don't have anything that describes legend functionality in detail. While the design guidelines on PatternFly.org (PF3) state the following, even that is different than the PF3 react chart behavior provided by C3.
"Interactive Legend (optional): Clicking on a series in the legend should toggle the visibility of the series in the chart."
Please note that the Kiali UI team has started implementing their own legend functionality. They're asking if there are any plans to support an interactive legend via https://github.com/patternfly/patternfly-react/issues/3073.
Unfortunately, the current Kiali implementation does not mimic PF3 chart behavior -- it's the opposite. While hovering over a legend label, the line representing the data series is highlighted by making it 2x wider -- fill is also less opaque.
For PF3, we had lowered the opacity of all other data, temporarily. That is, we blur everything, but the one data series the user is currently viewing.
Kiali UI

In the Cost Management UI, there may be up to 8 lines of historical data. Thus, we need a way to hide / show each data series individually. Neither the Kiali implementation or PF3 implemented that behavior (i.e., to completely hide a data series).
Cost Management UI

With the Analytics UI, they're using a toggle button along side their legend to hide/show each data series.
ISV monitor UI

That said, I created a working POC, which I'd like to discuss whenever a designer becomes available. I'm hoping this will help show what is possible with the Victory chart library.

This POC is similar to PF3 in that it uses onMouseOver and onMouseOut events to blur all other data series, except for what the user is currently viewing. It uses an onClick event to hide / show each data series individually.

Hey Dan, your POC is almost exactly how I would expect it to work. I don't think switches are needed here as it's a pretty easily learned interaction. What I would expect is a) onClick to freeze the hover state, rather than to hide/show altogether, but I don't really have a good solution for introducing hide/show otherwise. I do want to avoid the bulky switches, they don't really fit well in an ultra-compact space like a chart legend.
@mcarrano I'm thinking even if the behavior isn't expected it would be quickly/easily learned. I also could be wrong about it not being expected, I'd need to do more competitive research to be sure. What do you think?
I see the need for hide/show,

@mceledonia Thanks for you're review. I'll go with the onClick functionality to hide/show for now. If you come up an alternate solution, please let me know.

@mceledonia I agree that the switches do not feel right. What if we treated the color swatches as behaving like checkboxes. What I have in mind is that clicking on the color swatch will show/hide the item. Maybe when hidden there is a visual difference. Maybe an empty vs filled swatch?

@mcarrano I had originally used the legend symbol (i.e., color swatch) on-click event to hide / show each data series for Cost Management, but users complained the click area wasn't large enough. Thus, I made both symbol and label clickable.
In the example above, I changed the symbol and label opacity. However, we also have the ability to apply an empty fill. It would look similar to this:

@mcarrano @dlabrecq I like that! Emulating the checkbox experience with the legend boxes helps to more clearly communicate what the action does.

FYI related issue here https://github.com/patternfly/patternfly-react/issues/3073

@nlcwong I did a quick side-by-side comparison to show what dash symbols look like when the fill is none.

Valid types include: circle, diamond, plus, minus, square, star, triangleDown, triangleUp, dash, threshold (i.e., a wider dash)

Yeah, it's a bit awkward with the dashes. I will be working on coming up with an alternative proposal for this during this sprint.

I had a quick thought to mock up and get thoughts on, let me know what you think @mcarrano @dlabrecq
On click, text label goes to secondary text color and the legend icon switches to a "hidden" icon, also secondary text color. My thoughts are since it's hidden you don't need to see the key icon anymore, and the text label retains the important information for if you want to bring it back.

I saw this on fusion charts where they grey out the entire icon/label of the legend when it has been clicked off: https://www.fusioncharts.com/features/interactive-legend#interactive-legend
and if we have non-solid color lines, the legends can be custom icons like these:https://www.fusioncharts.com/features/interactive-legend#custom-icons-in-legend
I think this would help solve the issue where if the icons were different than solid lines.

@mceledonia At a low level, Victory is drawing lines in the SVG to create these symbols. We can customize the symbol a bit (e.g., we created the dash and threshold based on the minus symbol), but I don't believe we can inject icons like that.
@nlcwong in the POC above, I apply an opacity so we don't override the user's colors. It's not grey, but muted.

@nlcwong @dlabrecq That looks like a good solution to me. Here's an example of that, we would have to go to our secondary text color for that to retain accessibility since it's important for the string to still be readable for reactivation. Here's that mockup with the update.

Thoughts @mcarrano?

Maybe that would work @mceledonia It's still pretty subtle. What is we sis something like Sketch does when it hides a layer?

Here the hide icon is placed after the label @dlabrecq would that be possible?

OK. I get it @dlabrecq . Then I guess what @mceledonia proposes is the best we can do.

So, we cannot insert icons directly, but I was able to copy the path attribute from the icon's SVG and create a new legend symbol using that data. I also had to use an online app to resize the path more appropriately -- it cannot be scaled.

@mceledonia if you have another SVG icon in mind, we could create a custom symbol for that instead?
Will need to ask if this approach violates any licenses?

Yes, that should work

So does this mean we are going with the greyed crossed out eye idea after all?  Either way, would like t know what I should document in terms of behavior, started this doc: https://docs.google.com/document/d/1gznbkSRAHOeeEFAEeTSsfZ9x1CGXqIwItsvb8umO70o/edit?usp=sharing

@dlabrecq Here's one to try, the size should already be correct. Had to zip it for upload.
Eyecon.svg.zip

Updated my POC / example to represent the latest comments.

Ship it!
But before you do, when a user disables a line, will the y-axis re-scale?  So, using the above example, if Cats were removed from view, will the graph re-size to have the Dogs be the "max" value to size the graph against?

It typically would, but the max domain has been explicitly set for that example. Here is an example without a max domain.

@mceledonia @nlcwong Can one of you attach the documentation of our final proposal to this issue for reference?

Final proposal to this issue: https://docs.google.com/document/d/1gznbkSRAHOeeEFAEeTSsfZ9x1CGXqIwItsvb8umO70o/edit?usp=sharing

This work is complete. Thanks @mceledonia and @nlcwong !


cardregistrationkit.js + mangopay2-ruby-sdk into rails examples

Hi,
Wondering if you have any examples (or best practice notes) of integrating cardregistrationkit.js & mangopay2-ruby-sdk into a rails project?
I see there is this https://github.com/Mangopay/mangopay2-php-sdk/tree/master/demos
but it's PHP :/

Hello @GeoffTidey and sorry for the late answer.
We do not have ay example yet, I'll try to see if there's a way for us (and a little bit time to be honest) to make another example.
Sorry for that.
Mickaël


RouterAdaptor in CMSWrapper

Overview
Use RouterAdaptor to parse routes, params and generate the goTo method to CMS component.
Problem
different router implementation
For now, CMS component ask developers to pass a history object to let CMS get the routes, params and gotTo which are used to deal with the routing in CMS. But there is maybe no history object if developers is not using react-router.
Goals

Users can pass a ReactRouterAdaptor to CMSWrapper to deal with the routing with react-router

Proposed solution
interface
interface RouterAdaptor {
   getRoutes = () => Array<string>
   getParams = () => Object
   goTo = ({pathname: string, params: Object}) => void
}

usage example
//  history from react-router props
//  {
//    location: {
//      pathname: '/posts/postId1',
//      search: '?op=create&payload={"title":"Default title"}'
//    },
//    push: () => ()
// };
const {history} = this.props;
const routerAdaptor = new ReactRouterAdaptor({history});
// in render
<CMSWrapper routeAdaptor={routeAdaptor}
    <CMS />
</CMSWrapper>
// ...
...

console.log(routerAdaptor.getRoutes()); // ['posts', 'postId1']
console.log(routerAdaptor.getParams()); // {op: 'create', payload: {title: 'Default title"}}
routerAdaptor.goTo({
  pathname: '/';
  params: {}
})

current implement

@abz53378  Add why section to accentuate why we need this.

PR #50, #53 were merged, so I close it.


launch scripts: fixes to launch PX4

The upstream PX4 CLI interface got changed. This changes to use the newly
added px4.launch script, which makes the avoidance repo independent from
the CLI interface.
Requires https://github.com/PX4/Firmware/pull/10247

That was quick, thanks!


Added missing MailboxSettings.Read to PrimaryTextCard-my-calendar-plan

Q
A

Bug fix?
yes

New feature?
no

New sample?
no

Related issues?
fixes missing MailboxSettings.Read permission

Adds the missing api permission request scope

@techienickb Thanks for the update. I will process it as soon as I can.


⚠ Bofrost.de has degraded performance

In 5ee6460, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2257 ms

Resolved: Bofrost.de performance has improved in 79971b8 after 35 minutes.


Fails to minify

I was getting this error when I ran npm run build on my project. Let me know if I can provide more information. https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify

Updated module.


Docs example mistake?

Hello, I'm quite sure that this line it's not supposed to be there https://github.com/external-secrets/external-secrets/blob/e5fd5a90a9129194d97a566918f1b3cd328e3616/docs/snippets/full-external-secret.yaml#L99

this is actually correct. dataFrom supports extracting nested JSON, which is done by setting the  property of the root key you want to extract secrets from.

ahh, makes sense. Should I leave this open until a few comments are added?

This is already documented in many different places. IMO, this issue wouldn’t track any action whatsoever


Regression with storybook-addon-pseudo-states v4

🧹 Tech Debt
Upgrading to the latest storybook-addon-pseudo-states (v4.0.1 as of writing) seems to fail to render the pseudostates in our stories. We should figure out how to adopt the v4 change or report a bug upstream.
Example diff trying 4.0.1 where all psedostates seem to no longer apply:

Thank goodness this seems to be fixed in version 4.0.2


[MCOMPILER-389] Upgrade plexus-compiler-javac to 2.8.5

This claims to fix ECJ's error reporting

[x] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004

@rfscholte how about this and its friend, https://github.com/apache/maven-compiler-plugin/pull/22 ?

Done in https://github.com/apache/maven-compiler-plugin/commit/2143b0fecfdd221d5655e03daa2651f8fbc83181/


Formatter: Match (includes MatchCase and Patterns)

This is a bigger project that includes the following nodes:

[x] #6298
[x] #6299
[x] #6641
[x] #6642
[x] #6644
[x] #6643
[x] #6645
[x] #6557
[x] #6558
[x] #6555
[x] #6753
[ ] #6933

The match arms have the same considerations for comments as if branches or try-except branches.

As a note. The idea isn't that this is all implemented in a single PR. I recommend to start implementing StmtMatch and stubbing out the match cases (if they aren't already). We can then add support for the match statements one by one

Regarding the match patterns, I would say that PatternMatchValue, PatternMatchSingleton, PatternMatchStar, PatternMatchSequence (sequence of other patterns), and PatternMatchOr (similar to PatternMatchSequence) are good first issues and could be taken on in the order mentioned.

I can take those pattern issues! Feel free to assign them to me

I don't think this is ready yet. We first need to land https://github.com/astral-sh/ruff/pull/6594 (@evanrittenhouse  you can work on top of that PR, as long as you don't mind that there's one failing test).

Is #6933 still required for the Alpha release? Looks like it’s marked as Beta.

My impression is that #6933 shouldn't be blocking for alpha.


Remove setup.cfg

The setup.cfg file is an artefact of the setuptools module. Nowadays all the information stored inside the setup.cfg can also be stored in the pyproject.toml. This has the advantage that all the project information is stored in 1 location

Duplicate of https://github.com/Deltares/imod-python/issues/560


Amplify Push With More Than 20 GSI

How did you install the Amplify CLI?
npm install -g @aws-amplify/cli
If applicable, what version of Node.js are you using?
16.13.1
Amplify CLI Version
11.0.3
What operating system are you using?
Mac OS 13.4
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
We recently had a project's GSI quota increase from 20 to 25. When attempting to add a 21st GSI with amplify push, we receive an error that a DynmaoDB table can have a max of 20 GSIs.
DynamoDB [object Object] can have max of 20 GSIs

Expected behavior
The Amplify push should be able to add the 21st GSI.
Reproduction steps

Have the DynamoDB GSI quota limit increased to more than 20.
Define a model with more than 20 GSI.
Run amplify push

Project Identifier
238e384d30dd713d4ff52a149b4d36ee
Log output

# Put your logs below this line
2023-08-22T18:56:05.954Z|info : amplify push core  {"force":true,"yes":true}
...
2023-08-22T18:56:27.732Z|error : DynamoDB [object Object] can have max of 20 GSIs
ConfigurationError: DynamoDB [object Object] can have max of 20 GSIs

Additional information
I have tried adding the GSI manually through the DynamoDB console, which succeeded without error, so the quota limit of 25 is being correctly applied in DynamoDB.
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

it looks like the limit is set to 20 in packages/amplify-provider-awscloudformation/src/graphql-resource-manager/dynamodb-gsi-helpers.ts Is there any workaround to this?

Hi @akaiser443, this limit is not imposed by Amplify but DynamoDB itself according to this doc. We don't have an alternative to circumvent this limit.

Hi @akaiser443, I'm currently looking into adding a parameter to allow you to circumvent this check. In the short-term I'll cut a tagged release of the CLI for you to use while we get a change merged into the main release process.

The tagged release process is kicked off, and once complete, a pre-release version of the cli can be installed via npm i -g @aws-amplify/cli@disable-gsi-limit-check, then the limit check can be disabled on a push by running amplify push --disable-gsi-limit-check.

Confirming the tagged release is now live on npm<EMAIL_ADDRESS>

PR to add this feature has been merged, and I would expect it to be available in the standard CLi release beginning with the next version >12.4.0.


Bug Report: [Stage editor moving the camera and characters to a different location.]

Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as deleting the YoshiCrafter29 folder from AppData) before submitting an issue.
If you're using an older version of the engine, check if the bug haven't been already fixed
PS : the "everything goes black while changing state in developer mode bug" is not a bug, it's been designed this way to refresh all bitmaps between states to allow easier modding.
Which target are you using?

[X] Windows
[ ] Mac
[ ] Linux

What version of the engine are you using (Bottom left of the screen in main menu) ?
1.7.3
Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
Please describe your issue. Provide extensive detail and images if possible.
--- Stage editor moving the camera and characters to a different location.

Any steps to reproduce the bug? Also, if your camera is too far away, you can use Ctrl+Backspace to reset it.

Any steps to reproduce the bug? Also, if your camera is too far away, you can use Ctrl+Backspace to reset it.

Sorry for the late response I'll send you a vid

Here's the video:
https://user-images.githubusercontent.com/98327930/163866855-b8e536f7-dd5f-4f0b-9df6-453eb564ef9f.mp4

Here's the video:
2022-04-18.15-43-24.mp4

Even if I edit it again it still doesn't fix it.

Mind if you send over the stage json and the sprites with it? Seems to be an issue with updateHitbox.

s.zip

Thanks. I'll look into the issue.

1.7.0. I used it, copy and pasted the json file to the latest version and it worked.

Fixed


Clarify 32-bit x86 target

Technically, Go binaries for the 32-bit x86 architecture depend on 686 (like Rust). Could the “386” architecture known to GOARCH and go build be renamed to reflect this dependence?
To be sure, some other tech stacks, including Debian, label their 686 ports as “386”. However, this is misleading, and in fact most modern 686 software will fail to run on pre-Pentium hardware.

This is documented here: https://golang.org/doc/install/source#environment
At the $GO386 item:

$GO386 (for 386 only, default is auto-detected if built on either 386 or amd64, 387 otherwise)
This controls the code generated by gc to use either the 387 floating-point unit (set to 387) or SSE2 instructions (set to sse2) for floating point computations.

GO386=387: use x87 for floating point operations; should support all x86 chips (Pentium MMX or later).
GO386=sse2: use SSE2 for floating point operations; has better performance than 387, but only available on Pentium 4/Opteron/Athlon 64 or later.

In general, I think that renaming the ARCH is probably not worth it at this point. The documentation is clear enough and changing the GOARCH name wouldn't add much.

I agree with @ALTree.  Renaming the architecture at this point would cause a lot more pain than benefit. And we can't encode the exact set of compatible processors in 5 characters anyway. For instance, Go does run on some 586 chips.


Can't access rails admin because of too many redirects

hey, i just installed Rails Admin but i can't access the backend.
When i go to /admin it redirects to/admin_users/sign_in (i chose 'admin_users' instead of 'users' in the setup) Safari tells me: Could not open the page, too many redirects

Rails router matches /admin (and not /admin/, go figure) to RailsAdmin engine.
Since your User resource is named admin_user, it matches all URLs to RailsAdmin::/_user
Either change your RailsAdmin URL scope, or your Devise Model name.

Changing your routing configuration so that devise_for comes before mount of RailsAdmin, like:
  devise_for :admin_users
  mount RailsAdmin::Engine => '/', :as => 'rails_admin'

should also work.

Changing your routing configuration so that devise_for comes before mount of RailsAdmin, like:
  devise_for :admin_users
  mount RailsAdmin::Engine => '/', :as => 'rails_admin'

should also work.

This is not part of the official documentation, thank you, you saved me.


Ability to provide a token provider function

In order to use a custom claims mapper in the temporal server, using data from the "authorization" GRPC metadata, we need a way to inject a value into the outgoing GRPC context.  This a first cut at that kind of functionality.
May need some guidance here as to the best place to put tests for this.
This is one possible solution for #353.

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

@jmcnevin Thanks for the PR! I think you should be able to add a fairly straightforward unit test in grpc_dialer_test.go which looks a bit like the existing ones there.

Implemented in #368


Look at including Reddit's streaming API for more data

Does the project have scope for this? How does it work along side twitter? Would the information be useful?
How about we make a branch to see how the data might lineup in the DB - https://www.reddit.com/dev/api#section_live

Introducing another miner should be fairly straight forward, but we need to take care of the data we decide to capture. We'd want it run as a seperate child process, not in the same was as the current "miner" though, we'll want to put it into it's own little module. Perhaps a tick box that determines which services to mine for data as well.


Updating minor versions from Windows Terminal commandline

Every time I launch Terminal I get a notice about there being a new version (7.0.2). Terminal starts up running 7.0.1.
I've tried to update powershell from the commandline by running:
dotnet tool update --global PowerShell --version 7.0.2

but, while that works, the next time I launch Terminal I'm back to the same update message.
How do I update powershell from the command line?

Did you originally install via dotnet tool? Perhaps you now have parallel versions installed, and the non-dotnet-tool-installed version takes precedence? (Try Get-Command -All pwsh).

That's it, thanx! I've just uninstalled the version I installed with the downloaded installer and the issue is resolved.


Adding the cart functionality and making dedicated My Account page

Is your feature request related to a problem? Please describe.
I would like to work on cart functionality as when user will add something in the cart it will get updated.
Describe the solution you'd like
For making the cart functionality  I have to make a "add to cart" button for all the products  and whenever user click the button the cart items value will be change and on clicking on the cart icon they will be able to see the selected items through a drawer or on a page. It will also show the total price for the selected items in the end. It will also have a "+" and "-" button to change the number of products they select.
Describe alternatives you've considered
@MAVRICK-1
I am a GSSOC'24 contributor. please assign this to me so that I can work on this. I have worked on similar thing previously.
Additional context
I would also like to work on My account section by adding a dedicated page to see users account detail and users would be able to edit.
priority :  high

@anwesha2002 that's a great idea , you can divide this work into 2 parts level3 each, you can start your work after #36  this merge

@anwesha2002 you can  start  your work now , add to the cars functionality is already fixed . you go on with the my account page.

@anwesha2002 Do you need Firebase access to create a new database for the user? Currently, we are retrieving user data from Firebase Authentication. If possible, could you create a form for user details and store that information in Firestore? We can divide the task into three parts, each at level 3

Task: Implement User Details Form and Store Data in Firestore
Part 1: User Interface (UI)

Create User Details Form:

Design a form to collect user details such as name, email, address, etc.
Ensure the form is user-friendly and intuitive.
Include appropriate input fields, labels, and validation where necessary.

UI for Editing User Details:

Provide a way for users to edit their details.
Design an interface that allows users to easily update their information.
Consider using modal dialogs or dedicated edit pages for editing user details.

Part 2: Storing Data

Firebase Integration:

Set up Firebase Firestore in your Angular project if not already done.
Configure Firebase authentication to authenticate users.

Store User Details:

Implement functionality to store user details collected from the form into Firestore.
Ensure proper validation of data before storing it in the database.
Use Firestore API to write data to the database.

Part 3: Editing Functionality

Retrieve User Details:

Implement functionality to fetch user details from Firestore.
Display the fetched user details in the form for editing.

Update User Details:

Allow users to make changes to their details.
Implement functionality to update the user details in Firestore when the user submits the updated form.
Ensure data integrity and security by validating and sanitizing user input before updating the database.

Error Handling:

Implement error handling mechanisms to handle cases such as network errors or database write failures.
Provide appropriate feedback to users in case of errors during data submission or retrieval.

@MAVRICK-1 okay I will do this one by one and will make a PR before preceding to every next part

@anwesha2002 will store to user data in firebase ?

@MAVRICK-1 yeah no issue I will store the data in firebase

@MAVRICK-1 for that I will need firebase access I started working on the users form once it done I will need access for user database

@MAVRICK-1<EMAIL_ADDRESS>

@anwesha2002 check your email

@MAVRICK-1 I solved all the 3 parts it is storing data in firebase and the form is editable and editable .

@MAVRICK-1 please LMK for any issue


How to contact maintainers + some clarifications

Description
This PR improves  documentation details to comply with UXL expectations
Changes proposed in this pull request:

Listing maintainers in contributing section. @keeranroth  @rakshithgb-fujitsu  - added as contact points
Adding link to slack channel
Update wording on expected bazel validation and linking bazel guide

/intelci: run


add ink turfed, specials, assists to summary on splat log

Is it possible to add turf inked, specials, and assists on the user splat log summary?

I would like to add them.

Added them in faf9f05b59e37804da7d47db416f68bc6e3ecef9
But it looks something wrong on "Turf Inked" part.
I'll check data & logic later.

I checked with google sheets and most of the statistics match.  However the standard deviations for all the numbers seem to be a bit off.

https://stat.ink/@hymm/spl2?filter[rule]=&filter[map]=&filter[weapon]=&filter[rank]=&filter[result]=&filter[term]=24h&filter[term_from]=&filter[term_to]=&filter[timezone]=America%2FLos_Angeles

Stat.ink calculates a "population standard deviation" and it looks Google Spreadsheet calculates a "sample standard deviation."
Google Spreadsheet may returns same value if you use STDEVP instead of STDEV. (Not tested)


v2.7.0b1 pydantic_core.from_json throws EOF when run on the empty string and allow_partial=True

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
I would expect pydantic_core.from_json with allow_partial=True to return an empty object when data="", but instead it throws EOF
Example Code
from pydantic_core import from_json

obj = from_json("", allow_partial=True)
print(obj)
# Traceback (most recent call last):
# File "/Users/william/Mirascope/GitHub/mirascope/scratch.py", line 3, in <module>
#     obj = from_json("", allow_partial=True)
# ValueError: EOF while parsing a value at line 1 column 0

Python, Pydantic & OS Version
pydantic version: 2.7.0b1
pydantic-core version: 2.18.0
pydantic-core build: profile=release pgo=false
python version: 3.9.16 (main, Apr  2 2023, 22:08:02)  [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
platform: macOS-14.2.1-arm64-arm-64bit
related packages: typing_extensions-4.10.0 fastapi-0.109.2 pydantic-extra-types-2.6.0 mypy-1.1.1 pydantic-settings-2.2.1

yup, makes sense. This will require a fix in Jiter but shouldn't be too hard.

I also filed another bug about allow_partial=True truncates text too aggressively, but now I can't seem to find the issue I created.
Here is an example:
from pydantic_core import from_json

obj = from_json(
    '{"description": "This has not yet finished streami',
    allow_partial=True,
)
print(obj)
# Actual: {}
# Expected: {"description": "This has not yet finished streami"}

Seems like something you would also need to update in Jiter?

Just to follow up here - we decided that we'll keep the current behavior, but that a more helpful error message should be raised. Leaving this issue open so that can be addressed!

Ok! Empty string handling as-is with better error works, easy to handle that case on my end.
I'm curious about the additional partial string issue I also mentioned above?

@willbakst,
Which other partial string issue are you referring to?

When streaming the JSON, sometimes there will be a field with a long string (e.g. description). With the current implementation, that field won't get parsed until it's finished streaming the entire string. For example:
from pydantic_core import from_json

obj = from_json(
    '{"description": "This has not yet finished streami',
    allow_partial=True,
)
print(obj)
# Actual: {}
# Expected: {"description": "This has not yet finished streami"}

This reduces the "real-time" feel of the streaming. Would it be possible to parse these partial strings as they stream?

I have the same issue:
>>> from_json('{"message": "The **Chihuly Garden and Glass** is open at different times throughout the week. Here are', allow_partial=True)
{}

I'm realizing that the original issue I posted for this follow-up discussion has been moved to jiter where it belongs, so I'm closing this and continuing the conversation there.
See: https://github.com/pydantic/jiter/issues/82


Weave can negotiate MTU sizes that are too small for Linux

Evidence:
weave 2015/07/09 08:07:02.804486 EMSGSIZE on send, expecting PMTU update (IP packet was 60064 bytes, payload was 60056 bytes)
weave 2015/07/09 08:07:02.804552 ->[<IP_ADDRESS>:25623|da:08:ed:d4:49:31(boot2docker)]: Effective PMTU set to 1438
weave 2015/07/09 08:07:02.814692 EMSGSIZE on send, expecting PMTU update (IP packet was 1480 bytes, payload was 1472 bytes)
weave 2015/07/09 08:07:02.814715 ->[<IP_ADDRESS>:25623|da:08:ed:d4:49:31(boot2docker)]: Effective PMTU set to 1426
weave 2015/07/09 08:07:02.885650 EMSGSIZE on send, expecting PMTU update (IP packet was 1468 bytes, payload was 1460 bytes)
weave 2015/07/09 08:07:02.885688 ->[<IP_ADDRESS>:25623|da:08:ed:d4:49:31(boot2docker)]: Effective PMTU set to 1422
weave 2015/07/09 08:07:12.812633 Peer da:08:ed:d4:49:31(boot2docker) moved from true to <IP_ADDRESS>:23844
weave 2015/07/09 08:07:22.804784 Peer da:08:ed:d4:49:31(boot2docker) moved from true to <IP_ADDRESS>:58782
weave 2015/07/09 08:07:24.064417 ->[<IP_ADDRESS>:25623|da:08:ed:d4:49:31(boot2docker)]: Effective PMTU set to 183
weave 2015/07/09 08:07:24.064443 ->[<IP_ADDRESS>:25623|da:08:ed:d4:49:31(boot2docker)]: Effective PMTU verified at 183
weave 2015/07/09 08:16:49.405847 Discovered remote MAC 8e:26:b1:f7:96:88 at da:08:ed:d4:49:31(boot2docker)
weave 2015/07/09 08:16:49.544373 Sending ICMP 3,4 (<IP_ADDRESS> -> <IP_ADDRESS>): PMTU= 183
weave 2015/07/09 08:16:49.544460 Sending ICMP 3,4 (<IP_ADDRESS> -> <IP_ADDRESS>): PMTU= 183
weave 2015/07/09 08:16:49.544491 Sending ICMP 3,4 (<IP_ADDRESS> -> <IP_ADDRESS>): PMTU= 183
weave 2015/07/09 08:16:49.544520 Sending ICMP 3,4 (<IP_ADDRESS> -> <IP_ADDRESS>): PMTU= 183
weave 2015/07/09 08:16:49.544559 Sending ICMP 3,4 (<IP_ADDRESS> -> <IP_ADDRESS>): PMTU= 183
weave 2015/07/09 08:16:49.544592 Sending ICMP 3,4 (<IP_ADDRESS> -> <IP_ADDRESS>): PMTU= 183

Looking at packets using tcpdump, we see Linux is ignoring our 183-byte limit and sending packets of 552 bytes, which is 512 plus the 40-byte TCP header:
    pandora.weave.local.9042 > cli-test.weave.local.34517: Flags [.], cksum 0x1204 (correct), seq 196:696, ack 327, win 342, options [nop,nop,TS val 863080443 ecr 3493719], length 500
10:03:04.561944 IP (tos 0x0, ttl 64, id 59620, offset 0, flags [DF], proto TCP (6), length 552)
    pandora.weave.local.9042 > cli-test.weave.local.34517: Flags [.], cksum 0x4540 (correct), seq 696:1196, ack 327, win 342, options [nop,nop,TS val 863080443 ecr 3493719], length 500
10:03:04.561967 IP (tos 0x0, ttl 64, id 59621, offset 0, flags [DF], proto TCP (6), length 552)
    pandora.weave.local.9042 > cli-test.weave.local.34517: Flags [.], cksum 0x3a07 (correct), seq 1196:1696, ack 327, win 342, options [nop,nop,TS val 863080443 ecr 3493719], length 500
10:03:04.561972 IP (tos 0x0, ttl 64, id 59622, offset 0, flags [DF], proto TCP (6), length 552)
    pandora.weave.local.9042 > cli-test.weave.local.34517: Flags [.], cksum 0x11f5 (correct), seq 1696:2196, ack 327, win 342, options [nop,nop,TS val 863080443 ecr 3493719], length 500

Background reading: http://cschramm.blogspot.co.uk/2012/12/why-does-linux-enforce-minimum-mtu-of.html
I suggest that, if weave finds itself with an MTU lower than 552, it should drop the connection.

We've seen MTU negotiation weirdness before, in #469.

I suggest that, if weave finds itself with an MTU lower than 552, it should drop the connection.

Maybe I'm misunderstanding your suggestion, but won't this just lead to a reconnection cycle?

If the cause of the low MTU is transient, then disconnecting and reconnecting will fix the problem.  If the cause is persistent, then the cycle of connects and disconnects may draw attention to the problem.  Weave behaves similarly if peers have a very different clock time, or a different --ipalloc-range setting, and in a host of other cases.

I assumed that those reconnection behaviours were due to oversight rather than deliberately poor handling of error conditions.
We can handle transient low MTUs by restarting PMTU discovery after a while.  We don't need to tear down the connection to do that.

But the connection is practically useless for as long as its MTU remains below 552.  If we don't break the connection then we need (a) logic to avoid transmitting packets over a useless connection and (b) a new way to surface such conditions to the user.

The connection is practically useless in any case, no?  When the kernel drops the MTU on the underlying network to 552, weave will come up with an effective MTU for the overlay network of less than 552, and report this back to the kernel via frag-needed responses, but they get ignored because they are less than 552.  What can we do except wait for the MTU issue to resolve itself?
(I am going on my memories of #469 here.  I haven't looked at your user's situation carefully enough to be confident it corresponds. I'm not sure where 183 comes from.)
How to surface such conditions to the user? Log them! Avoiding all the noise about reconnections will make it easier to notice the log entries which say what is actually going on.
It would also be nice to show more connection state info in weave status and other UIs, but that's a separate issue.

I don't know where 183 came from either, but it was the number that weave arrived at for this particular installation on this particular day.  Shutting down everything and restarting apparently cleared the issue.

Yes it did.

As of #1926 we are no longer negotiating too small MTUs. I have raised #1981 for generally improving diagnostics/reporting of data plane connectivity issues.


Hover effect on menu

Description
Currently the hover effect of scale icon in the menu is only on profile and not on the other two. I want to add it on all.
Steps to reproduce

Click on your name in the sidebar
A menu will open
Hover over the three
You will see that only image is getting scaled

Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Description
Currently the hover effect of scale icon in the menu is only on profile and not on the other two. I want to add it on all.
Steps to reproduce

Click on your name in the sidebar
A menu will open
Hover over the three
You will see that only image is getting scaled

Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I have checked the existing issues
[x]  I'm a GSSoC'23 contributor
[x]  I want to work on this issue

alright, you can go ahead!


Expose sys::arm_compat::syscall as public API

Closes #6

Oh, I forgot the changelog update.
Would you take a PR that updates the changelog and bumps the version, or do you prefer to do this yourself?

Published in 0.1.5.


Hosts jar execution error

java -jar /Users/michal.dziubek/Documents/Projects/MandG/gapenv/.gradle/environment/hosts/hosts.jar

works but environmentHosts not:
/Users/xxx.yyy/Documents/Projects/foo/gapenv/.gradle/environment/hosts/hosts.sh
Successfully started process 'command 'sh''
0:297: execution error: Error: Unable to access jarfile /Users/xxx.yyy/Documents/Projects/foo/gapenv/.gradle/environment/hosts/hosts.jar (1)
> Task :environmentHosts FAILED

moving project to ~ fixed the problem. chmod +x or 0777 not helping.

On new MacOSX /Users/user.name/Documents path is special and requires additional privileges. In iTerm if I cd into that directory I am asked if I want to give access to iTerm. In the case of our shell script run via Gradle, there is no propt - it just fails.


'lastpc' in symbolic execution off by one

Notice the missing location:
$ lua  -e 'lol()'
lua: (command line):1: attempt to call a nil value (global 'lol')
stack traceback:
	(command line):1: in main chunk
	[C]: in ?

$ ./tests/manual-tests/lua-cli.js  -e 'lol()'
(command line):1: attempt to call a nil value
stack traceback:
	...(command line)1: in main chunk

I tracked this down to lastpc in ldebug.js getobjname being one too many.
Possible fix:
diff --git a/src/ldebug.js b/src/ldebug.js
index d565829..fed0ecb 100644
--- a/src/ldebug.js
+++ b/src/ldebug.js
@@ -530,7 +530,7 @@ const varinfo = function(L, o) {
         kind = getupvalname(L, ci, o);  /* check whether 'o' is an upvalue */
         let stkid = isinstack(L, ci, o);
         if (!kind && stkid)  /* no? try a register */
-            kind = getobjname(ci.func.value.p, ci.pcOff, stkid - ci.u.l.base);
+            kind = getobjname(ci.func.value.p, ci.pcOff - 1, stkid - ci.u.l.base);
     }

     return defs.to_luastring(kind ? ` (${defs.to_jsstring(kind.funcname)} '${defs.to_jsstring(kind.name.value ? kind.name.value : kind.name)}')` : ``);

However I'm not sure if that is correct: pcOff is a field new in fengari (I assume due to pointer arithmetic not being an option in JS), and there is no replacement pcRel macro, so I don't have the lua C code to reference.

Isn't this fixed ?

Not sure: this never got commited. I can't remember the test case either.


Roll Flutter Engine from 23fc43d5e61f to a0f835bbfd13 (1 revision)

https://github.com/flutter/engine/compare/23fc43d5e61f...a0f835bbfd13
2024-12-10<EMAIL_ADDRESS>Roll Skia from bd7d952398d5 to d541f1aa0c9b (3 revisions) (flutter/engine#57098)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Cannot find module "..." when module is immediately used

This is probably related to #5.
The following will fail with Error: Cannot find module '../higher-order/activateable':
import Activateable from 'ui/higher-order/activateable';

const SectionElement = Activateable("section")

If I add the extension to activeatable, it works:
import Activateable from 'ui/higher-order/activateable.jsx';

const SectionElement = Activateable("section")

Yeah, the extensions are not support at the moment, I can have a look, feel free to submit a PR!

@adriantoine I'll look at doing that - I called this one out specifically because it's not actually requiring the extensions in all of my non-test code, only in certain files. Seems intermittent. I'll dig in and see what I can do though.

resolve.extensions is now supported! See v1.8.0


How can I set the API URL ?

What is your question / Please describe your issue
Hello,
How can I set the API URL ?
When I did the command
yarn dev
I've got this error
[dev:theme]   at /Applications/MAMP/htdocs/vuestorefront/node_modules/apollo-client/bundle.umd.js:1483:29
[dev:theme]   at processTicksAndRejections (internal/process/task_queues.js:97:5)
[dev:theme] Error getWishlist:
[dev:theme] Network error: request to https://undefined/graphql failed, reason: getaddrinfo ENOTFOUND undefined

I tried to put this in the middleware.config.js:
        api: {
          url: 'http://<IP_ADDRESS>:8001'
        },

But I doesn't work I've got the same error :(
Can you help me, please?
Thank you.
What version of bagisto integration are you using?
1.3.3
Code of Conduct

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

Hi @anardil
To run the VueStoreFront project you need to configure the Bagisto Headless project for the server end support, configure the same project by using the below link:
[https://github.com/bagisto/headless-ecommerce/tree/v1.3.0](Bagisto Headless Commerce v1.3.0)
Once you install the Bagisto with the headless project, try to hit this URL in your browser:
https://your.domain.com/graphql-playground
After that, you can configure the Vuestorefront project, you will find the .env.example inside the packages/theme directory. Remain this file to .env and can set the BAGISTO_DOMAIN
https://github.com/bagisto/vuestorefront/blob/main/packages/theme/.env.example#L1
I hope this will help you to configure the project.


Enhance PVPreviewDialog

説明 / Description
https://github.com/sunfish-shogi/electron-shogi/issues/412
https://github.com/sunfish-shogi/electron-shogi/issues/462
チェックリスト / Checklist

MUST

[x] npm test passed
[x] npm run lint was applied without warnings
[x] changes of /docs/webapp not included (except release branch)
[x] console.log not included (except script file)

RECOMMENDED (it depends on what you change)

[ ] unit test added/updated
[ ] i18n

Codecov Report
Patch coverage: 63.63% and project coverage change: -0.06 :warning:

Comparison is base (2d639e2) 70.50% compared to head (0da93a0) 70.45%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #514      +/-   ##
==========================================
- Coverage   70.50%   70.45%   -0.06%
==========================================
  Files          75       75
  Lines       15383    15436      +53
  Branches     1971     1971
==========================================
+ Hits        10846    10875      +29
- Misses       2594     2618      +24
  Partials     1943     1943

Impacted Files
Coverage Δ

src/renderer/store/record.ts
66.40% <50.00%> (-1.34%)
:arrow_down:

src/renderer/store/index.ts
49.42% <59.37%> (+0.10%)
:arrow_up:

src/common/i18n/locales/en.ts
99.04% <100.00%> (+<0.01%)
:arrow_up:

src/common/i18n/locales/ja.ts
98.57% <100.00%> (+0.01%)
:arrow_up:

src/common/i18n/locales/zh_tw.ts
99.00% <100.00%> (+0.01%)
:arrow_up:

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


Do not fetch all keyspaces

I have dozens of keyspaces with hundreds of tables in a cluster. I'm only using one keyspace for my application, but the driver still fetch all the tables/views/udt of each keyspaces, so dozens of thousands of rows. That's a lot of memory/CPU/network waste.
Moreover, I don't even use any of the metadata fetched in the ClusterData.keyspaces, except the keyspace strategy that the driver use itself automatically.
The driver should make metadata fetching configurable, to prevent this waste of resource.

You can disable fetching schema-related metadata with SessionBuilder::fetch_schema_metadata. The only thing which should be fetched after disabling that flag is information about peers/tokens and keyspace replication strategies so that token-aware routing works.
Perhaps documentation related to the flag should be improved. The docstrings are quite laconic and the flag doesn't seem to be mentioned anywhere in the book.
We could also make it possible to configure for which keyspace metadata should be fetched, and maybe which parts of the metadata should be fetched (although the latter might not be that simple as some schema elements will depend on others, e.g. tables will depend on UDTs).

We could also make it possible to configure for which keyspace metadata should be fetched

In my case, I'm using some metadata because of https://docs.rs/scylla/latest/scylla/transport/struct.ClusterData.html#method.get_endpoints, so I think it would be the solution.
I've open a PR to discuss it.

By the way, I wonder what's the point of having metadata fetched by the driver. I know that keyspace strategies are used for load balancing, but I think that's all. There are also no examples about metadata use. Do you know some use case? Actually, I'm not sure that other drivers offer schema introspection (didn't see it in Python driver doc).
I mean, this feature, with its default parameters, is quite an issue in my case (several MB of memory waste), and I'm start thinking that schema introspection, if useful, should be moved in a separate crate. It would simplify the driver quite a bit, and improve the memory footprint of all people like me who do not think to set fetch_schema_metadata to false.
As keyspace strategies are only used with prepared statements, they could be retrieved and cached when statement are prepared.
However, the new https://docs.rs/scylla/latest/scylla/transport/struct.ClusterData.html#method.get_endpoints uses metadata to get table partitioner. This was a mistake of mine, because I've written this function with mandatory schema fetching in mind (I didn't know it could be disabled). Now, I think I should have have use partitioner directly instead of table name (partitioner could be retrieved from database if needed).

I've just realized that setting fetch_schema_metadata to false prevent prepared statements to get their partitioner, which is then defaulted to Murmur3.
fetch_schema_metadata is thus not really compatible with CDC, and I think that's an issue.

@ultrabug

Proposal: since the driver has the option to force its set keyspace, why couldn't we just update that keyspace when the option is used?

By the way, I wonder what's the point of having metadata fetched by the driver. I know that keyspace strategies and table partitioner are used for load balancing, but I think that's all. There are also no examples about metadata use. Do you know some use case? Actually, I'm not sure that other drivers offer schema introspection (didn't see it in Python driver doc).

The Cassandra/Scylla drivers I know about (Java, Python, CPP, gocql) expose APIs for schema metadata. For example, for the Python driver you can access the schema metadata via the metadata field in the Cluster object (see here).

I mean, this feature, with its default parameters, is quite an issue in my case (several MB of memory waste), and I'm start thinking that schema introspection, if useful, should be moved in a separate crate. It would simplify the driver quite a bit, and improve the memory footprint of all people like me who do not think to set fetch_schema_metadata to false. As keyspace strategies and table partitioner are only used with prepared statements, they could be retrieved and cached when statement are prepared.

At first, I was a bit skeptical about the idea of separating metadata completely from the driver, but after thinking about it more I realized that moving the (full) schema metadata out of the session would give the most flexibility. The session could indeed keep minimal schema metadata (keyspace replication strategy + partitioners), however this metadata would probably have to be kept updated all of the time just like the full schema metadata is now because some existing APIs may require it. One example that I know of is get_token, it requires information about partitioner and keyspace metadata - if it were to lazily fetch this information when called, it would have to be made async (maybe it's not too bad, but feels weird). It would still be much less than the full metadata.
If we move the schema metadata out of the Session, there should be an opt-in possibility to have the metadata maintained and regularly fetched. The reason for this is that we are re-implementing the CPP driver using the Rust driver; the CPP driver maintains metadata and offers an API which allows to inspect the schema immediately and that API isn't asynchronous.
These changes are definitely more work than the keyspaces_to_fetch approach, but keyspaces_to_fetch can be a temporary solution before the full one is implemented.

The PR with the keyspaces_to_fetch configuration option was merged. I created another issue to track further refactors of metadata fetching: https://github.com/scylladb/scylla-rust-driver/issues/595


Move providers from _providers.py to _qproviders.py

References and relevant issues
closes  #6585
Description
All the providers in napari/_app_model/injection/_providers.py depend on Qt.
_provide_viewer returns ViewerModel instance, which technically does not require Qt but AFAICT there is no way to get the ViewerModel without using Qt.
Searching in the codebase I cannot see ViewerModel ever being instantiated by napari. I think ViewerModel is so users can do viewer = napari.viewer.ViewerModel() in headless mode (as Viewer requires Qt)

cc @DragaDoncila @Czaki

So the _provide_active_layer and _provide_active_layer_list do not current have tests and AFAICT they are not being used (I don't think any of our actions have a Layer/LayerList annotations). I feel like Talley may have written these for some future plans. Regardless I have added a simple test.

We've narrowed down why the test_run_outside_ipython test fails when make_napari_viewer is used in a prior test. TLDR: we should be using make_napari_viewer for this test, as we do for all other tests using the Viewer, because this ensures proper clean up and set up for tests - in this case it's the cache clearing that we're missing.
This is what happens when you add a dummy test that uses make_napari_viewer to the top of the test_app file:

The first (dummy) test runs, mock_app fixture creates an app during test setup and registers all non-qt napari built-in app-model actions, providers and processors
The test starts, builds a make_napari_viewerwhich clears all caches, runs initialize_plugins and registers qt plugin actions with the app (samples, widgets)
qt_main_window.__init__ runs, registering napari built-in qt-dependent actions, qt providers and qt processors with the app

potential problem some of the plugin actions previously probably request the viewer, which we can't provide until this point and they also may need qprocessors to work at all e.g. widgets

dummy test concludes

Then, it's time for the real test to run - the test_run_outside_ipython test.

During test setup, mock_app builds a new app, registers non qt stuff including the viewer toggle action

potential problem: this action implicitly depends on qt because its "check toggled" function requires a Viewer - this really is a qt action and should be moved
potential problem the Viewer CAN be non-qt, but the viewer PROVIDER needs qt, is there a world where someone validly wants the headless viewer via injection

The test doesn't use make_napari_viewer; this means the cache isn't cleared (for plugins, or for qactions)
The test tries to instantiate a "normal" viewer

"normal" viewer doesn't run initialize_plugins because it's cached, so no qt or nonqt plugins stuff is registered

qt_main_window runs, doesn't init_qactions, because it's cached, so no qt processors, providers or actions are registered for built-in napari stuff
somewhere down the line we rebuild menus, triggering a check for whether the view action is toggled
the toggled check function requires a viewer
but qt providers were never registered, because init_qactions was never run
the test fails because a Viewer can't be provided

Note the test failures are because some non-qt view actions actually req Qt (and the viewer provider I have just moved). This can be fixed by using make_napari_viewer, (which forces init_qactions to be run) - this makes sense in some tests but not others.
E.g., this test fails:
https://github.com/napari/napari/blob/f4641213513a13b76195e3c8bb910cbcba60ede3/napari/_tests/test_view_layers.py#L132-L139
I think this needs to stay as is, and this PR is probably dependent on  #6767.

CI failure is real.
I will need to move the processors that use the newly migrated providers into _qt/ as well. The processor tests will also need to be moved.

Okay @DragaDoncila this is finally green!

@Czaki @DragaDoncila could this go in?

Yes. I just merged main to validate if latest updates (like mypy requirements) do not broke something.


Fix: Fallback to using IDs instead of saying 'Unititled Document'

On the contacts page it says 'Untitled Document' (not 'Untitled Account' btw, for which I also have seen a function available). I changed to fall back to using IDs instead of this, because it's impossible to distinguish dozens of 'Untitled Documents' from one another.
Before:

After:

We could truncate the IDs, but they seem to be short-enough to be shown in full.

ok this is a pretty bad UX but hopefully we can solve it soon


Move registers back to alpha

registration-district
notifiable-animal-disease
notifiable-animal-disease-confirmation-category
notifiable-animal-disease-investigation-category

@samcrang I've updated the commit message

Do not merge this until we get final approval from RDA team (hopefully tomorrow).


Revert "genericx86-64-ext: Publish both flasher and raw images"

Reverts balena-os/balena-intel#414
Reverting this for now until we have the full solution ready. We don't want to accidentally publish the non-flasher images early.
Improvement: https://jel.ly.fish/improvement-expose-flasher-raw-images-dashboard-generic-dts-90f2f44

@balena-ci I self-certify!


Update installation.md

MapsPackage is not recognised without import com.airbnb.android.react.maps.MapsPackage;

https://github.com/lelandrichardson/react-native-maps/issues/471

Thanks, fixed by #439.


touchedSinceLastSubmit selector

Feature request
I'd like to request a new selector (or prop or something...not really sure how it'd be implemented), which would return a boolean indicating whether any fields have been touched/changed since the last submit. isDirty almost gets me what I want, but initialValues doesn't update after a submit

Right now, I'm doing this via a form plugin:
import {
  actionTypes as reduxFormActionTypes
} from 'redux-form';

function isUntouchedPlugin(state, action) {
  if (!action || !action.meta || !action.meta.form) {
    return state;
  }

  switch (action.type) {
  case reduxFormActionTypes.CHANGE:
    return {
      ...state,
      isUntouched: false
    };

  case reduxFormActionTypes.INITIALIZE: // intentionally fall through to reduxFormActionTypes.SET_SUBMIT_SUCCEEDED
  case reduxFormActionTypes.SET_SUBMIT_SUCCEEDED:
    return {
      ...state,
      isUntouched: true
    };

  default:
    return state;
  }
}

export default isUntouchedPlugin;

And then I have to pass it through my state in my container:
import {
  formValueSelector
} from 'redux-form';

const formSelector = formValueSelector('formName');

function mapStateToProps(state) {
  return {
    isUntouched: formSelector(state, 'formName')
  };
}

It'd be nice if it was just available as a prop in each form, and have it passed in like anyTouched, etc.

isDirty almost gets me what I want, but initialValues doesn't update after a submit

Yes, how would redux-form know what is the new initialValues?
You may, however, update it yourself. Then isDirty will work for you 😃
Or, you can control this somehow in your component, etc.


One problem add Images in NextJS

I am trying to import two images in png, inside my API Routes to generate a passbook file. In local this works without problem, but when doing the deployment I get this error continuously
2020-11-20T12: 51: 57.832Z f15a3585-4191-45d9-9764-c2f8a1cea48d ERROR Uncaught exception {"errorType": "Error", "errorMessage": "ENOENT: no such file or directory, open './ images / icons / icon.png '"," code ":" ENOENT "," errno ": - 2," syscall ":" open "," path ":" ./ images / icons / icon.png "," stack ": [" Error: ENOENT: no such file or directory, open './images/icons/icon.png' "]}
[ERROR] [1605876717833] LAMBDA_RUNTIME Could not post the correct response from the driver. Http response code: 403.
RequestId: f15a3585-4191-45d9-9764-c2f8a1cea48d Error: Runtime exited with error: exit status 129
Runtime.ExitError

I have the images inside the Route folder ....
await template.images.add ("icon", "/icon.png"));
await template.images.add ("logo", "/logo.png"))

I don't get what is the problem - do you actually have the file ./images/icons/icon.png in place?

Yes, I have the file there. I have tried saving it to Public and routing it as "/logo.png". Also with "__dirname +" logo.png "", I also tried to grab the image from a cloudinary url

I'm trying to get some images to add to a template. The fetch request seems to freeze and give no response, neither catch () nor then () is executed. It seems to be frozen in production.
In local the code works perfectly and the date is executed as expected, but in production with Vercel it is frozen. What I can be doing wrong?.
return fetch(
        'https://firebasestorage.googleapis.com/v0/b/vilagos-tours-e0f99.appspot.com/o/images%2Flogo.png?alt=media&token=6735cf4c-e925-4af4-9a09-3a4c350ec3fc'
      )
        .then((res) => {
          console.log(res)
          return res.buffer()
        })
        .then(async (buffer) => {
          console.log(buffer)
          await template.images.add('icon', buffer);
          await template.images.add('logo', buffer);
        })
        .then(async () => {
          const pass = template.createPass();
          const buf = await pass.asBuffer();
          const string = buf.toString('base64');

          return string;
        }).catch(err => console.log(err))
    };

Any update to this? Running into same issue with icon.png not loading, but somehow logo.png loads

I had to use path and import the images like so:
import * as path from "path";

  // Add Images
  const logoLight = path.join(
    process.cwd(),
    "api",
    "wallet",
    "img",
    "logo_light.png"
  );
  const logoThumb = path.join(
    process.cwd(),
    "api",
    "wallet",
    "img",
    "logo_thumb.png"
  );
  await template.images.add("logo", logoLight, "1x");
  await template.images.add("logo", logoThumb, "1x");

my images live in /api/wallet/img/logo_*.png
Maybe it helps someone!


FR: Add a demo video/gif in README file

??

Yeah, I will definitely add a gif. I am working on the plugin feature.

@alr86 Checkout README now. I just added the gif


TODO

Additions
World

[ ] Finish generator; possibly switch to Perlin noise

[ ] Finish implementing Biomes; possibly add some environmental effects

[x] Plains
[x] Desert
[x] Ocean
[ ] Taiga
[ ] Forest

(more to come!)

[ ] Finish Chunk system - dynamically load and render chunks (you must walk to load chunks)

[ ] Better water physics

[ ] Finalize level-saving protocol

[ ] Add block physics

Entity

[ ] Add the entitiy tileset into the AssetManager HashMap
[ ] Fix a load of bugs
[ ] Add multi-entity support

Rendering
Engine

[ ] Add particle system
[ ] Add (proper) walking animation
[x] OPTIMIZE
[x] OPTIMIZE
[ ] OPTIMIZE
[ ] Finish adding partial variable timing (it gives higher frame rates and fixed tick rates)
[ ] Finish 60 ticks/second engine
[ ] Adapt everything to variable timing engine
[ ] Finish new rendering engine using "Renderer" class

GUIs

[ ] Make a better system (current one is complete rubbish)
[ ] Fix the Inventory implementation
[ ] Begin support for block interfaces

Other

[ ] Add a multi-language system
[ ] Add a audio system

[ ] Stepping sounds, breaking sounds, etc.
[ ] I'll compose some ambient music (similar to Minecraft)

[x] Make a proper website (Screenshots, pre-compiled binary downloads)
[ ] Make a multiplayer protocol (Minecraft compatible :trollface:?)

Bug squashes

[ ] Collision detection is broken again :(
[x] Fix stuttering when the player reaches a low X value (must rewrite coordinate system, namely sX and sY in Component.class) - MIGHT BE FIXED
[ ] You can hold items outside your inventory
[ ] Fix sun/moon stutters at dusk->night and dawn->day transitions

Hey i was wondering if i could help with this project?

i just implemented a run feature but for some reason i am no clipling through blocks when i run but not when i walk

@MbCrew Could you please commit the changes you made to your fork?

@TheMCPEGamer I've fixed the wobbling at low x coordinates.

cool i will do that

Now I need to fix EntityPlayer.isCollidingWithBlock() to use the getBlockX() and getBlockY() methods...

I'm changing inventory code. The selected block name is printed in the top center of the screen, and I'll be changing how items are set.

@redusk I might add you as a collaborator soon!

Sounds good to me. Do you mind if I add stars to the night sky and clouds?

@redusk Nope :D

Roger dodger

@redusk Also, right now, the invBar is being render twice when the inventory is open.

I thought something looked strange about that...

@redusk Just fixed it

Whoops :P

I got stars to work, now on to clouds.

What is the Debug screen bug?

@redusk If you hover an item over the bottom-right cell in the inventory with the Debug screen open, the opacity of the Debug screen text gets screwed up.
I believe all you have to do in order to fix it is to use g.setColor(255, 255, 255, 256); before drawing the text in Debug.java

I'm not getting anything like that, guess we must've accidentally fixed it. I did add a transparent background to the debug menu, maybe that did it?

@redusk Yep, just check in Debug.java, and g.setColor(); is used

That makes sense.

@redusk Are you adding a isSolid parameter to the BlockID enum?

Yup

@redusk OK, that's what I would do :-D

Do you want to have block mining and placing times?

@redusk Just block destroying times.

Okay

Also, tomorrow, I'm going to start implement level saving, but I may have to rewrite some of the Level code.

Sounds good

i tried to implement block breaking time with a 4 loop based off the blocks hardness but it still just breaks with a click

@MbCrew What code are you using?

I just got block breaking time implemented. I'll update the codebase in a minute.

ok cool
i must want to see how you did it

@TheMCPEGamer im using the code from his i just downloaded the file yesterday and started

Use the code from this repository.

ok got it

The block breaking code is in the Level class and Block class.

ok ill look at it

i like the way you did that with the textures nice code!!

ill put up my code for the sprinting in my fork

ECLIPSE WHY DO YOU FAIL

I added a sun and a moon. Now for moon phases!

I'm getting an error with the isBlockInRange()
it says its undefined for type mouse soooo

Press F5 on the project folder in eclipse, your files are out of date.

ok

Awesome!!

were you able to see whats wrong with my sprint?

i commited in my fork

im gonna go to bed bya

Well, it looks like you are checking to see if you're colliding more than once in a single tick. The canMove boolean should be all you need. Also, you are never setting your new movement speed after seeing if you can run.

there is a runningSpeed double which is 2 * movementSpeed check

Yes, but you aren't using it.

check keyboardlistener i used it so i could set the players direction when sprinting even though he just points left lol

by multi entity support do you mean the mobs?

is anyone on?

i am working on the Item and ItemID

New bug: healthBar & hungerBar render ontop of a held item in the inventory

what do you mean?

I've been heavily rewriting the movement and block detection code, and I've created bounding boxes that entities can use to accurately determine their shapes (more or less).

im making the break times for blocks which the hardness is divided by the items break time so it will be smaller

im now about to test it

where is does it say what item is in the inventory slot? i need to make it Pickaxe

nvmd

SCREAMS omg i cant make the first item in your inventory an item or it will mess with all the other code and i cant make a block drop the item because I HATE MY LIFE

im just gonna work on crafting

you might not here from me for a couple days

I've got block detection and player movement working perfectly now. This should make it easier to program other entities too.

@redusk I'm not sure if you tested your code, but you can climb up walls like a spider, and you can get stuck by walking into a block

Also, is the yellow box around the player for debug purposes?

@redusk Also, block breaking is broken

Yes, I know about those bugs. I just put the code up so that you could get a basic feel for what's going on. I've fixed most bugs, I'm just working on the falling/jumping code. And the box is for debug purposes. It's the player's bounding box to make collisions more accurate.

@redusk I didn't read the commit's comment! Sorry!

Okay, I've fixed the spider-man bug.

Do we want longer day/night cycles?

I think I know what's wrong with your sprint method. Set Component.dir equal to the sprint speed when you press shift. It will move in different directions if the speed is negative or positive.

coud someone please explain to me how to add things in the inventory class? it is very much confusing

i need there to be a 2 x 2 but i cant understand how you did it

i just added a commit it adds tools but i need to wait until i can actually get a tool to make the break times so i have to add crafting

I'll add it, soon

ok im making textures for tools

i have a hoe and a pick with a hammer end on one side

I'm doing that because i don't want it to be just like Minecraft i'm also calling the "shovel" a spade

what do you mean by hold items outside of your inventory?

@MbCrew If you select an item in your inventory, you can close your inventory with that item still selected

Is the way chunks currently load okay? (see latest commit).

I've gotten a basic form of level saving (note: not loading) done!

Sweet! Should the save files be encrypted so you need a special program to edit them, or are they just plain text?

@redusk I'll implement the encryption.
Also, I'm going to start deleting some of the older messages on this thread, as it is getting really long.

Just committed level saving, when you hit the 'F' key it saves a file (it always overrides if it already exists) named level.advlevel

Right now it is not encrypted, but will be after I add level saving

goto http://adventuriadev.tk/
since i got into web design a while back i figured i'd make a website

if you have already go on again i changed it a bit
btw i'm not good at design so give me a background and i will put it up there

could someone export it to a jar and then send it too my email or dev@adventuriadevtk

if you do email me i will send you ftp info and the login for the email along with how to

added a wiki page hope its good

We could do a github.io page. It is free and super easy to tell that it's
the right site
On Jun 28, 2015 2:35 PM, "n0taD1m3"<EMAIL_ADDRESS>wrote:

added a wiki page hope its good
—
Reply to this email directly or view it on GitHub
https://github.com/TheMCPEGamer/Adventuria/issues/1#issuecomment-116330224
.

@redusk I'll make the repository

See lurerskape.github.io (my site) and tell me if you want something like
that.
On Jun 28, 2015 3:42 PM, "Ryan J."<EMAIL_ADDRESS>wrote:

@redusk https://github.com/redusk I'll make the repository
—
Reply to this email directly or view it on GitHub
https://github.com/TheMCPEGamer/Adventuria/issues/1#issuecomment-116346880
.

saw your twitter last tweet was july 25... of last year lol

im creeped out i got grundink and in the bottom right it says "Hello, Alex(<< my name). I've been expecting you" WTF OMG

It's just using whatever your computer username is to generate that sentence. Neat, eh?

ohh thats so cool

i like the way your webpage is setup by the way

System.getProperty("user.name");

nice i'm gonna use that someday

Borderlands is out for IOS

@MbCrew Is that the name of your computer?

Yes Why?

if you haven't made the repository is it okay if i go ahead and start it?

what should it be called?

@MbCrew I'll create it.

@MbCrew Here's the repository: https://github.com/TheMCPEGamer/Adventuria/tree/gh-pages

is the page up yet? is there anyway i can edit it?

The page is at themcpegamer.github.io/Adventuria

thank you

is there any way i can help with that?

Pull requests?

ohh sorry i'm kinda new to Github

it just says there isn't anything to compare

Compare across forks

just did it

To save space in level saving, couldn't we have a flag in the chunk class to see if the character has edited it? If the character has placed/removed a block, it will save every block in the chunk to the file. If the chunk hasn't been changed at all, it will save the chunk seed. (What do you think?)

To see if the chunk has been changed, you can either get the SHA2 sum of the chunk, or just set Chunk.edited = true when a block is added/removed. (Or something like this)

@redusk That'll work.

@redusk Maybe we could add vertical chunk loading?
i.e: When you get to a certain y-coordinate, load another chunk below it?

Or above it. Spaaaaaace
On Jul 13, 2015 6:51 PM, "Ryan J."<EMAIL_ADDRESS>wrote:

@redusk https://github.com/redusk Maybe we could add vertical chunk
loading?
i.e: When you get to a certain y-coordinate, load another chunk below it?
—
Reply to this email directly or view it on GitHub
https://github.com/TheMCPEGamer/Adventuria/issues/1#issuecomment-121100958
.

@redusk With a five-chunk-limit upwards and a fifteen-chunk-limit downwards?

Sure

@redusk Ok

@redusk I'll add a Location parameter, and getLocation method to the Chunk class, and CHUNK_MAX_Y and CHUNK_MIN_Y integers.

Project revived!
I promise not to abandon it anymore!
Current TODO:

[ ] Add entities (no AI, for now)
[ ] Level loading & saving
[ ] Add vertical chunk loading, possibly redo the chunk system
[ ] Add an API (using Rhino)
[ ] Add a pause menu GUI, and change the current system for GUIs

Due to numerous issues, I will be rewriting this entirely using the LWJGL!

Awesome, that's the same library my game uses. I might be able to help with
that!
On Thu, Oct 22, 2015, 5:59 PM Ryan J<EMAIL_ADDRESS>wrote:

Due to numerous issues, I will be rewriting this entirely using the
LWJGL!
—
Reply to this email directly or view it on GitHub
https://github.com/TheMCPEGamer/Adventuria/issues/1#issuecomment-150390987
.

@redusk Should I just use LWJGL 2, since there are more tutorials for it, or is there a greater advantage in using LWJGL 3?

I am rewriting it to be 3D and more of a RPG-style game.
However, you will still be able to edit the terrain, just in different ways,

Progress so far:

That looks nice. What's the render distance?

You can do the math ;)
	private static final float NEAR_PLANE = 0.1f;
	private static final float FAR_PLANE = 1500.0f;

How's the LWJGL progression going?

@redusk Pretty good, I'm nearly done with the engine, adding shadow mappings and a skybox.

@TheMCPEGamer awesome!

You wouldn't mind me continuing the 2D version and building on that would you (maybe a separate branch or fork)? We have done quite a bit with it

And I'd love to help with the 3D version too, if you'd like

@redusk I have the 3D engine done (for the most part), but I really don't have anything to do with it (ideas would be appreciated)
In the meantime, I have started to rewriting the vast majority of the 2D version, as I have learned a lot and have realized how completely atrocious the code is.
Current TODO for Rewrite:
Rendering/Textures
[] Redo system to use aliases for textures (done for the blocks)
[] Make rendering system more efficient
World
[] Redo world system to automatically load chunks
Entities
[] idek what the heck I did, so rewrite all da things
Codebase
[] Make code more manageable, it's a pain to fix right now

An example for the texture aliases:
//Instead of:
g.drawImage(AssetManager.tileset_terrrain, x, y, blah blah blah, null);
//Use:
g.drawImage(AssetManager.getTexture("dirt"), x, y, null); //Where AssetManager.getTexture("dirt") is the texture for the dirt block

Cleaned the comments up a little bit

Today I've rewritten nearly all of the level code, added biomes, added the possibility for different world generators, and best of all, made the rendering engine 1000% more efficient (but introduced a bug)

TODO ASAP:
Rewrite the atrocity that is the EntityPlayer class, there is no reason for there to be a bajilion different constants

Block breaking is non-existent and I keep falling off of the world, but it runs better!

@redusk I'll fix block placing and breaking now :)

Block breaking is fixed!

Working on some better water physics now!

I'm working on falling block physics.

I'm also changing the rendering engine to get the max FPS possible, but still have physics run at the same speed using deltas.

After that, I will work on adding vector based physics and rewriting entites.

I'm working on a rewrite to reorganize and fix some of the sloppy code that I wrote.
It might be done soon, no promises though

I fixed Sun and moon stutters and made their motion more realistic

I added a working sprint with the shift key

I made an exe for windows and it works I can also make one for mac and Linux if you want...

I made a website with some download links, it's pretty basic for now but I will add more info soon
Adventuria.tk

Added a screenie...

I guess there's some progress :P

Getting there...

Working on collision and a new physics engine :)

I would like to inform you guys that this is certainly not dead
After rewriting most of the systems, the performance was quite abysmal, even after I optimized it as much as I could. As a result, I am rewriting it in C++ with SDL2. It will be pushed to a new repository within the month.

I've been a bit bored lately and have just been toying around with the latest commited version,
and I fixed collision detection and began to add world generation (ore, stone, bedrock, etc.)

I've added a rudimentary lighting system

Nice!

(using the GitHub "Projects" feature instead of this in the future)


[Bug]: collection.get() returns embedding vectors out of order after upgrading to 0.4.3

What happened?
Today I upgraded to chroma0.4.3 to use the new PersistentClient. After upgrading I began to notice strange behavior from the collection.get() command. First I ran collection.get(include=['embeddings']) and selected the last ID and the last embedding in the collection. Based on the text associated with this ID, I discovered this last embedding vector does not correspond to the embedding for the text. But then if I run collection.get(ids=[last_id], include=['embeddings']) I get the correct embedding vector. In an earlier version of chroma collection.get(include=['embeddings']) would return the IDs and vectors in the same order. I was relying on this order for a downstream task. Was this change intentional?
Versions
Chroma v0.4.3, Python 3.11.4, Windows11 22H2
Relevant log output
# get all vector embeddings
last_vector_id = '7149e7d0043b4fecf1d556f798f2733107c48b1a2a376e179eed23560ea0eae1'
all_embeddings = collection.get(include=['embeddings'])
print("last embedding ID:", all_embeddings['ids'][-1])
print("IDs match?", all_embeddings['ids'][-1]==last_vector_id)

last embedding ID: 7149e7d0043b4fecf1d556f798f2733107c48b1a2a376e179eed23560ea0eae1
IDs match? True

# get vector embedding for the final vector ID
last_embedding = collection.get(ids=[last_vector_id], include=['embeddings'])
print("last vector using get all:", all_embeddings['embeddings'][-1][0:2])
print("vector using get ID:", last_embedding['embeddings'][0][0:2])
print("vectors match?", last_embedding==all_embeddings['embeddings'][-1])

last vector using get all: [-0.012977438978850842, -0.008517743088304996]
vector using get ID: [0.011734780855476856, -0.01227689441293478]
vectors match? False

@pwilczewski sorry about this! Can you share more about your use case? We have a few features planned very soon that I think will address this.

I'm creating a pandas dataframe that contains the data from the collection. I can find another way to do this, but collection.get() was very convenient.

@pwilczewski got it - if you could sort... what sorting would you want to do? sort by order added?

Yes order added

Here is a reproduction where I add a 100k vectors and check if the code you shared holds
https://colab.research.google.com/drive/1eQ8tXl1jZXeCNAaKsUaSm0ZuIgjAzeMG?usp=sharing

I've come up with a minimally reproducible example, in my code I'm calling add in a loop hundreds or thousands of times. After 100 adds the vectors are in the correct order, but after 101 adds the vectors are in the wrong order. See colab link below:
https://colab.research.google.com/drive/1t_QmGjLlenI7zjwl1exg2DgNQabTnGmG?usp=sharing

Thanks, found the bug, we'll release a patch Monday in v0.4.4!

@pwilczewski - 0.4.4 is now out, and should resolve this issue.


[WIP][da-vinci] Make chunk assembly a utility

Summary

This moves chunk deserialization and assembly to a utility, so it can be used in different areas in da-vinci. This is because other areas face the issue of message sizes being too large to be sent under one message, so they need to be serialized and chunked.
How was this PR tested?

CI
Does this PR introduce any user-facing changes?

[X] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

@ZacAttack I removed the commits from my previous PR, but it looks like it forced closed the other PR I had so here's a new one.


New package pool with configurable hashing base

Ref: #506
Requirements
aptly is relying on MD5 hash in many places:

placing files in package pool
checking for changes while uploading to S3, Swift

At the same time MD5 is not required hash for Debian packages. We need to be more flexible in the way we select hashes, at the same time backwards compatibility should be preserved.
Problems:

downloader is downloading directly to package pool, so it picks up destination filename before download starts
without MD5 S3/Swift would be useless
package conflicts with name clashes in package pools

Description of the Change

[x] refactor HTTP downloader to be single-threaded
[ ] refactor package pool so that it doesn't expose filenames
[ ] update published repositories to the new package pool
[ ] re-implement multi-threaded mirror downloader
[ ] calculate required checksums while downloading and importing

Checklist

[ ] unit-test added (if change is algorithm)
[ ] functional test added/updated (if change is functional)
[ ] man page updated (if applicable)
[ ] bash completion updated (if applicable)
[ ] documentation updated
[ ] author name in AUTHORS

This is WIP, it doesn't even build now


fixed global leak of some len variables

these shouldn't be globals, mocha's not reporting anything


Service drop-down field does not work properly in catalog

Version - master 3/22
Steps to Reproduce:

Create three different stacks with at least 1 service inside each (make sure they are different names)
Create a catalog with type "service"
View details for that catalog
Go to the Service drop-down and select a service

Results: It does not select the service you originally clicked on.  It selects a different one in the list
Expected: Should select the service I clicked on and not some other random service in list.

Also, even if you correct your selection, it still selects the original (incorrect) service.

Version - master 3/23


The forever script floods my home directory with logs in .forever directory

I have read the documentation and there is ambiguity regarding options -l, -o and -e. The script that I am using to run my server as a daemon is:
forever start -a -o out.log -e out.log release.js

I have clearly asked it to redirect all the logs to the same file. However, it also keeps creating files in ~/.forever and hence I have to manually clear it again and again as it ends up taking a lot of my disk space. How can I stop this ?

I second this nonsense. Why would ANY LEGITIMATE program write logs to files with RANDOM names by default? This is the most asinine thing I've seen in a while. This is more like the behavior of malware than a professional piece of software.
Have the developers ever even USED the Linux operating system? You know, /var/log, logrotate, time-stamped, sane, predictable names for log files? This is THE DEFACTO standard for log files, and has been since the beginning of time.
I want some of whatever they were smoking when they decided it was a good idea to randomize something that takes up megs and gigs of space. /var/log is THERE FOR A !@#&% REASON. Any seasoned admin will have configured it as a separate partition to avoid crashing the system and corrupting data of whatever partition is being logged to.
No, no, that makes too much sense! Let's instead write to wherever forever happens to be running, ensuring a self-inflicted DOS due to excessive log writing to random files in the same partition.

That was definitely... A lot of emotions. That said, I agree that situation is not optimal and will see what I can do.


[OBSOLETE] Add sandbox support for nsjail

You must compile nsjail and manually put the resulting binary somewhere on your path - nsjail does not have a make install target.
Due to lack of seccomp policies I would not consider this ready to be deployed publicly - but it may be useful to have this temporarily deployed to beta to facilitate testing with all supported compilers.
Notes
You must run the following as root after each system reboot to create the required cgroups before starting CE
cgcreate -a ubuntu:ubuntu -g memory,pids,cpu,net_cls:ce-sandbox

TODO

[ ] seccomp policies
[ ] test with various languages to see if any runtimes get upset about lack of /etc and other directory structures
[ ] execution support to allow compilers under nsjail
[ ] figure out how wine will work under nsjail

Test bench to explore sandbox environment
https://godbolt.org/z/a8eItT
Results running under nsjail locally
https://gist.github.com/apmorton/088daf802689fc55fcef0283d60cd8bc

I think this would help closing #1412 and #1428 too, right?

I think this would help closing #1412 and #1428 too, right?

The question is; what will the difference be between the issues closed and newly created because of this change ;)

It definitely closes #1428, and would probably fix #1412 but I haven't been able to test that.
partouf is correct that switching up the jailing solution will probably open new bugs, but hopefully we can catch at least the most egregious of those on the beta instance.
Merging this shouldn't break anything, since the defaults have not been changed.
I can look at a PR to get nsjail compiled into the image so we can actually test this with all the compilers, but I will definitely need someones help actually testing things out since I don't have things configured on my end to run the image building process.

Thanks so much! this is great! Will take a proper look tomorrow, but thank you for doing this. Of course changing the solution we're using is a risk; but we've hit some real problems with firejail and this appears to be a better overall solution. We'll see how it goes! :)

Forgive me: I didn't spot one of your TODOs was to get execution of compilers in too!

For what it's worth I'd happily merge this now to be a work in progress, but I don't want to lose your TODO list above. Thoughts? :)

Just tried this and it Just Worked™ - nice work @apmorton ! Will have a think about the TODOs you've got there (and I may well merge and create issues to track them for now)

We should chat about this at CppCon @apmorton  :)

@mattgodbolt Can you summarize on items blocking this? I would really like to see Java support in compiler explorer. Thanks!

Closing in favour of #1843


No HI

Added support to exclude Hearing Impaired subtitles from the results.

@Pmaene: same comment as on #12 : I'm absolutely confused I missed this PR months ago, but it's again very good work :+1:
If you can address my comments, I'll be very happy to merge and have this new feature :shipit:

Ho, also, it does not merge :disappointed:

And would it be a lot of work to add a --hi-only option for a11y ?

Here you go 😊. I noticed that my test case was not correct, so I have also updated that one. I added "filename_no_hi", although it would work with the original "filename" with the changes from #12. I chose English instead of French, because English has both kinds of subs (HI and no HI).
I think it would be quite a bit of work to add an --hi-only, as we'd need to refactor everything to support either no preference, only HI or only not HI.

Thanks, we're almost there :+1: :smile:
Can you merge master branch into this one? (because it has conflicts right now and thus I cannot merge it)

Removed the argument and merged all upstream changes 😃.

Thanks a lot :+1:


feat: add cli to ama-sdk core

Related issues

:rocket: Feature #902

Duplicate of #919 targeting v10


Docs: Add information on Environment Variables configuration

Signed-off-by: Sara<EMAIL_ADDRESS>

Description of the Change
In https://github.com/hyperledger/iroha/pull/705 we introduced the option of setting up configuration via env variables instead of config file. Here I add some docs for that.
Benefits
Documented change
Possible Drawbacks
Might need some elaboration?

Should be fixed now @MBoldyrev  @lebdron

Can you please fix your username and email in local git settings?

@lebdron  I fixed the dictionaries part and also the sign-off message.
Is it ok now?


Update bar_chart_sample4.dart

Fixed sample according to the new fl_charts version.

Haha, thank you :)
May I ask you to check all of the samples?
Maybe they need to be fixed too.
Thanks!

Any answer? :)


Having noImplicitAny Not Enabled Impacts Type Inference

Bug Report
🔎 Search Terms
array union types type inference noImplicitAny disabled
🕗 Version & Regression Information
This  changed between versions 4.2.3 and 4.3.5, as before 4.3.5, type inference for the 2nd case inferred any regardless of if noImplicitAny was enabled. After 4.3.5, the expected inference happens when noImplicitAny is enabled, but behaves as it did before 4.3.5 when noImplicitAny is not enabled.
⏯ Playground Link
Playground link with relevant code
💻 Code

// `item` and `key` are both typed as expected (`string | number` and `number` respectively)
const array1: Array<string | number> = [];
const mapped1 = array1.map((item, key) => [item, key])

// `item` and `key` are both typed as `any`
const array2: Array<string> | Array<number> = [];
const mapped2 = array2.map((item, key) => [item, key])

🙁 Actual behavior
When noImplicitAny is not enabled in the TS config, inferred types are impacted (inferred as any in the above case).
🙂 Expected behavior
noImplicitAny shouldn't impact inferred types, or if this is expected behaviour as having this option enabled allows for better heuristics to work, then I think having it documented that this settings isn't essentially just a "lint rule" might be a good idea.

I've checked, has nothing to do with the initializer.
Playground link with noImplicitAny disabled
function foo1(fnArray1: Array<string | number>) {
    // `item` and `key` are both typed as expected (`string | number` and `number`)
    const mapped1 = fnArray1.map((item, key) => [item, key])
}

function foo2(fnArray2: Array<string> | Array<number>) {
    // `item` and `key` are both typed as `any`
    const mapped2 = fnArray2.map((item, key) => [item, key])
}

This is apparently by design. See #42620. I presume code existed before that PR that depends on parameters being assigned type any when -noImplicitAny is disabled.

Thanks for digging that up, totally forgot about it!


 You might have an alias symbol that couldn’t be resolved.

@typescript-bot cherry-pick this to release-4.5


Add passport-azure-ad code

Coverage decreased (-1.4%) to 81.235% when pulling c44e7a09e25b1ec18262bb2e3a0b8d37b7976fec on add-passport-azure-ad into 2e6ee2df66baa47d4ad77cb29c94454680d668b0 on dev.

@pkanher617 Since are leaning towards keeping the name, would you rather this go in the lib folder? Or would it be better to have the old/current version in the maintenance folder?

@pkanher617 Since are leaning towards keeping the name, would you rather this go in the lib folder? Or would it be better to have the old/current version in the maintenance folder?

I prefer maintenance


typo in placeholder docs

The example code provided in the docs for the placeholder op doesn't work:
x = tf.placeholder(float, shape=(1024, 1024))
y = tf.matmul(x, x)

with tf.Session() as sess:
  print sess.run(y)  # ERROR: will fail because x was not fed.

  rand_array = np.random.rand(1024, 1024)
  print sess.run(y, feed_dict={x: rand_array})  # Will succeed.

Should it be x = tf.placeholder("float", shape=(1024, 1024))?

This is fixed in git, pending a push to the website.  Thanks for the report!