Allow multiple instances to explain/compute

Description
Add functionality to the package to allow for calculation of interactions for multiple instances/games to allow for the following scenario.

A user wants to put a 2d matrix of instances/games to explain into the explainer and expects interaction scores for each of those.

Potential Solutions
At the moment it is a bit unclear how to address this. Depending how deeply we integrate this will require more or less refactoring of the package. The two extremes of solutions are as follows:

Lazy/Light Integration: We can abstract the 2d input away inside the explainer/approximators and just loop over the instances (potentially in parallel). This requires not much rework but will probably be not that efficient.
Tight Integration: We can integrate the computations directly into our approximators (or explainers) by allowing the approximate method to accept a list of games instead of a single game. Then the approximate code needs to be adjusted. Parallelization under the hood inside the games/imputers can improve the performance even more.

This is an important issue that will be tackled at some point. It touches on the whole library.


Open-api: generate components with #ref?

Hello, is it possible to have responses generated with #ref components? That would make it easier to reuse the response types. Now the response types are generated "inline" like so:
 "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": { ...

But what I want it to be is like so:
"content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MyArrayType"
                }
              }
            }

I'm using these versions (currently latest):
"@ts-rest/core": "^3.30.4",
"@ts-rest/open-api": "^3.30.4",
Thank you!

Duplicate of #366


[safetensors metadata] 8x faster parsing for sharded

https://huggingface.co/databricks/dbrx-instruct?show_tensors=model.safetensors.index.json is being quite slow because it needs to parse headers of 61 files.
This PR increases concurrent requests from 5 to 40 for 8x throughput. The tests pass without giving any error (in regards to rate-limit)

decreased the number from 40 to 20 https://github.com/huggingface/huggingface.js/pull/600/commits/3de884b110d811f2e02c2477d37f435cf1fea432 (just in case, being conservative) and merged this PR


Add json traces

Work mostly done here: https://github.com/bluealloy/revm/pull/286
Some restructuring is needed, move this trace3155 to revm/inspector and add it alongside other Inspectors (don't remove CustomPrinter it has its uses)

Closed in #356

Done


Verify that the “observed in” literature references are the correct ones

See #189, question 5

See also #166


Event drawvertex is triggering and other also, before contextmenu event get triggered

I am drawing polygon and I don't want right-click so I used contextmenu event but as I enable polygon I am able to draw points through right-clicking as well and contextmenu trigger after drawvertex /mousedown. I am not able to stop right plz suggest valuable solution.

How do you drawing a polygon?
right-click is contextmenu
Share your code
If it is not a bug please ask your question on StackOverflow with the leaflet tag

I am using leaflet drawer and after initialise polygon drawer and using method enable to start to draw then I tried with right-click on the map and I was able to draw then I went through the document and found
this.map.on('contextmenu', function(e) {  event.preventDefault()l }) to stop right-click events, it triggered late, and before that two more events had triggered i.e. drawvertex and mousedown.

"Leaflet drawer" is not a thing. I think you mean leaflet.draw, so please realize this is the wrong repo and bug tracker.
It's hard to understand what you've written, and we don't even know if this is a leaflet.draw bug or a problem on your side (we don't handle the later in the bugtrackers). I suggest reading "How To Ask Questions The Smart Way" and "http://www.chiark.greenend.org.uk/~sgtatham/bugs.html"


Had to fix after ran into issue when installed

Summary

Ticket Link

Hello @erezo9,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


NATIVE-511: Improve debugging E2E tests

See here an example: https://app-automate.browserstack.com/dashboard/v2/

@klinzo I probably deleted the equivalents for iOS. There are two entries per run as we have 2 tests.


Repository name

Do we really want to use this repo only for the POC? Otherwise we should change the name to openeo-core-api (or openeo-api). We already link to this repo a couple of times and probably leads to incorrect links in the future...

We might change it after the POC.

Indeed, I'd say it should be renamed. A lot of the issues are about the core API as a whole.

Changed.


Update prometheus/tsdb dependency

@beorn7 @fabxc

:+1: How can this go wrong… ( @fabxc please shout if it can.)

Should be all good :) 👍


thread-supervisor.cabal was modified manually, please use --force to overwrite.

Hi,
Providing both a cabal file and package.yaml causes nix's callCabal2nix to balk as we cannot currently pass --force to hpack, only to cabal.  As a work around, one can mutate the source first, but that's not super friendly.

Thank you for reporting!
I believe I never edit thread-supervisor.cabal by hand but I double checked.  Then, I confirmed thread-supervisor.cabal generated by my hpack 0.34.2 is identical to what on the repo.
I hope I can help you but unfortunately I don't find resolution from this repo.

Close due to no response in a month.

Close due to no response in a month.


New world type: finite cubic planet

This is another new GSOC candidate that may hit a bit of a sweet spot for scope and potential. Or I might just be overly optimistic as usual :-)
Objective: Implement our first sensible (so the world doesn't just end) finite world type while making a stab at an interesting style option rather than go with the more realistic but boring sphere type planet that would be tricky (but not impossible) to achieve with blocks.
You can actually render plain old blocks in a spherical fashion, Immortius made that work in a separate project years ago and others have too I'm sure. But it leads to rendering artifacts and other quirks and doesn't really buy you anything other than some visual "huh, neat" moments for either really tiny planets or for when you travel very far away from the planet.
A cubic planet on the other hand goes with the blocky theme, can look really neat, gives you weird edges to build unusual things on, and seems like it would simplify a lot of coding. There is also precedent - see for instance Stellar Overload (Kickstarted under a different name). And I'm sure some modders already did it for MC as well :-)
Some noteworthy areas of consideration:

Gravity would need improvements, since at the moment "up" is always the same way. I don't know how big a deal that is, seems like it can conceptually be tweaked at relatively easily via physics. This would almost certainly be improved by first finalizing #3042. A cubic planet would make for a lot of interesting situations along the planet edges as well as the center
Lighting would need changes as it could suddenly come from different directions. Although maybe that's just a case of varying which side of the planet has the primary sunlight element
Chunk size might need to change. A 32x64x32 made some degree of sense when height (the 64) was picked to better optimize sunlight calculations. But when sunlight can come from different sides a perfect cubic chunk may be worth the simplicity over any performance loss. How would calculations change, especially on an edge chunk?
The user and world authors need a better way to pick the world type/shape when setting up (flat infinite, tourus, etc). Should world generators be specific to the shape, or could some world generators work for multiple shapes? Also see #2774
Some interesting potential exists around the concept of entering space around a planet. You could either allow just building forever, or enforce some sort of height limit, moving the player into a different position tracking system. If you make space a thing you could readily have multiple planets in each their own coordinate system (effectively multi-world - #3146)

Edit: This reminds me a bit of "grid" in EVE Online. The solar systems are space, players exist on independent grids at given positions around the solar systems that grow and shrink as needed. Hmm that's almost beginning to sound a bit like Sectors ...

And if you can have multiple planets others could be made visible ... how might we simplify the visual representation of a distant planet? This could get into the desire for an improved far rendering approach #319 and lead to moving the far rendered image of a planet across the skysphere (#95 and others)

I imagine this and other world related items would be a large focus of a v3 of the engine aiming to "finalize" world architecture. Wanted to write up this piece to start the design phase :-)

Immortius approach, probably based on vertex shaders, was actually a very sensible one in my opinion, as it doesn't change anything data-side and changes very little rendering-wise - most of the rendering complexity is handled in fragment shaders, vertex shaders are currently fairly basic and are easy to modify.
Is it desirable to have a cubic world? I'd be concerned by the complexity of dealing with the edges unless we use some cheat. Mario-style gravity changes sound intriguing no matter their goal: they could be used in a dungeon, irrespective of the size or finiteness of the world.  A Tesseract-like option might be easier: stepping from one face of the cube to another might still be seamlessly flat. Some problem with that are 1) what would the underground look like from the edges down to the core and 2) how to reconcile the cubic geometry with the celestial sphere - altough this should be a relatively straightforward mapping, 3) what to do with the corners of the cube, where three faces of the cube come together.
In this context I've been personally thinking more toward toruses. I'd still render them as spheres from high up and flat worlds from the ground, but data-wise, rendering-wise and geometrically they seem to be more aligned (or align-able) with a block world. That been said, we'd have to work on world generators based on spatially-repeatable noise and spatially repeatable feature generation, so that looping in either directions of the torus does not cause discontinuities.
To respond to some other points more specifically:

I wouldn't worry about lighting, that might be the least of the problems.
Chunk size is, I believe out of indexing performance concerns: 32x64x32 = 65'536 blocks, or the length of a short. I am not sure it is exclusively intended to facilitate sunlight calculations. It might just be that loading, processing and rendering a chunk indexed with integers (4 million blocks) would just be too slow on current machines.
to me the last two points you mention are quite crucial and show the way in my opinion: it'd be best to first approach the issue of how to display long distance landscape. Once we have that sorted in a generalized way, we'll be able to take off from a planet or warp near one without having to deal with the high-detail rendering we currently have. We'd see a low-res version of the planet and only when landing we'd get to see what we see now.

All that been said, I'm very much in favor of finite words, one way or another. From implementing finite resources and the constraints it generates, to simulating whole climates and biosphere, I'd rather achieve infinity with infinite planets/solar systems than with infinite land.

Is it desirable to have a cubic world?

I'd say yes, for sure, and I'm also pretty sure it has already been done in MC, which may ease our work. I remember several gravity tweaking mods that let you walk into a wall that then becomes the floor, in fact the last BTM conference center was built that way: you'd walk into a wall then up it to get to the panel room. Neat :-)
More than just focusing on the neat part instead the idea of a forced sphere rendered but still flat world just sounds ... boring? Not worth its complexity? Since you wouldn't really be able to tell up close anyway. Whereas the idea of wrapping around a world edge would add a whole other dimension (pun intended!) to building :-)
A torus is also great, gets you some of the best from both worlds, you could have finite north/south to get poles and tropics, yet make the other way infinite and keep going forever. Whether it is round or cubic is probably a secondary choice (wonder if there is a name for a cubic torus - also forgot if there is one for an infinite torus)
Good to hear about the lighting!  I vaguely remember it being higher to have more space to let sunlight calcs "reset" over fewer chunk layers (a sky island won't cast an everlasting shadow - but how many chunk layers do you check). Maybe 32x32x32 would still be magical enough.
I actually wrote the last two points with them being potential extras / out of scope. You could play around with gravity locally as well as at the world edges without any sort of support for space, leaving a planet, or rendering planets from far away - but it would be really cool if we also get that :-) We could look at Seed of Andromeda again for some inspiration there.
Maybe for this GSOC item the focus should be on the gravity and close-up changes, and the far rendering GSOC item gets the planet view thing as another cool target.
 So maybe that's the Mario gravity. As opposed to making it pull you toward the center of the planet which at the edges would also pull you sideways :D That could make edges (and corners in particular) a challenge. Maybe both, with straight down probably being the simpler option.

What I've done in a past engine is have 65536^3 number of chunks (via a short, each chunk holding 65536^3 blocks, though each renderable chunk is much smaller, it started as 256^3 chunks with 256^3 in each though at first), then I just use overflow semantics to wrap around properly and so if you went off one edge it wrapped around to the other side, rendering and all was handled fine as was physics since I handled that manually (if using a generic physics engine you'd need to do some special casing, but still possible).  I actually quite liked by 256^3 chunks with 256^3 in each chunk engine as the worlds were small enough to properly and fully explore but still way to big to build over the entire thing (plus I had multiple worlds, and if you got 'high' enough out of the Y axis (that did not wrap around of course, only x/z) then the planet shifted to a bulk mode render so you got a general 'jist' of the planet from space (along with the other planets) so you could fly between them, that was done by mapping it to a spherical renderer (very flat, not much in the 'y' height so you did not really see oddities appear, and you were far enough way to not care).  But doing it this way made calculations fast (simple wrap around instead of needing to modulus everywhere, though that would be more powerful with more sizes available) and gravity was still 'conceptually' down on planets (and in space the planets had gravity so you'd orbit and such).

 Planets


Track "Build Started" and "Build Completed" events

"Reviewed Repo" is not reporting correctly to Segment/Mixpanel.
We already have build totals in the North Star Metric.
Since "Reviewed Repo" is not useful to us, right now,
we can try a more constrained event tracking approach.
Track only private (subscribed) repos.
Track both a "Build Started" and a "Build Completed" event
to see if there is some code in between that is preventing
the "Reviewed Repo" (now called "Build Completed") event
from triggering.

Couple of questions, looks good to me. :+1:

We should probably fix the indentation Hound is complaining about. Looks good to me. :+1:


I was having the same issue. I changed lines 319-322 in vmwaretools\m…

Services we're not starting on RHEL 6.8
Update …anifests\init.pp from:
        start      => "/sbin/start ${service_name_real}",
        stop       => "/sbin/stop ${service_name_real}",
        status     => "/sbin/status ${service_name_real} | grep -q 'start/'",
        restart    => "/sbin/restart ${service_name_real}",

to:
        start      => "service ${service_name_real} start",
        stop       => "service ${service_name_real} stop",
        status     => "service ${service_name_real} status",
        restart    => "service ${service_name_real} restart",

It now works properly.

This is not the correct fix, it looks like the fix because the module is currently installing old and out of date VMware Tools. :(

@esarakaitis Thank you for your submission.  As per the CONTRIBUTING.md file, could you please resubmit from the develop branch?


fix: KeyboardAwareScrollView + gesture-handler

📜 Description
Added an ability to render custom ScrollView for KeyboardAwareScrollView.
💡 Motivation and Context
Sometimes it may be necessary to render custom ScrollView instead of default implementation from RN (for example from RNGH). Before it wasn't possible, but this PR adds this ability.
Closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/593
📢 Changelog

JS

added ScrollViewComponent property for KeyboardAwareScrollView component;

🤔 How Has This Been Tested?
Tested manually on Pixel 3a (API 33, emulator).
📸 Screenshots (if appropriate):

Before
After

📝 Checklist

[x] CI successfully passed
[x] I added new mocks and corresponding unit-tests if library API was changed

Could you publish the patch to npm?


Fix NPE in montly report generation

Purpose
Fix NPE in montly report generation
Fixes https://github.com/wso2/analytics-apim/issues/1504

have you tested multiple-page scenario with this change?

have you tested multiple-page scenario with this change?

Yes. This is to fix the NPE issue when its exactly 25 records. If the records are more or less than 25 it works fine.


Serialization/Deserialization not working correctly with TypeVar

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
The serialization/deserialization is not working correctly when using TypeVar types.
The output of the following code is:
a=MyModelType(b='c', c='d')
a=BaseModel()

However, I think that the output should be:
a=MyModelType(b='c', c='d')
a=MyModelType(b='c', c='d')

Example Code
import pydantic as pyd
import typing as t

T1 = t.TypeVar("T1", bound=pyd.BaseModel)

class MyModelType(pyd.BaseModel):
    b: str = pyd.Field(..., description="C")
    c: str = pyd.Field(..., description="D")

class MyModelA(pyd.BaseModel, t.Generic[T1]):
    a: T1 = pyd.Field(..., description="A")

class MyModelB(MyModelA[MyModelType]):
    pass

model = MyModelB(a=MyModelType(b="c", c="d"))
print(model)
model_ = MyModelB.parse_obj(model.dict())
print(model_)

Python, Pydantic & OS Version
pydantic version: 1.10.4
            pydantic compiled: True
                 install path: /home/federico/venvs/genesys/lib/python3.8/site-packages/pydantic
               python version: 3.8.10 (default, Nov 14 2022, 12:59:47)  [GCC 9.4.0]
                     platform: Linux-5.15.0-60-generic-x86_64-with-glibc2.29
     optional deps. installed: ['typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

When attempting to use generic models, you should be inheriting from pydantic.generics.GenericModel.
The following code produces the output you want:
import pydantic as pyd
from pydantic.generics import GenericModel
import typing as t

T1 = t.TypeVar("T1", bound=pyd.BaseModel)

class MyModelType(pyd.BaseModel):
    b: str = pyd.Field(..., description="C")
    c: str = pyd.Field(..., description="D")

class MyModelA(GenericModel, t.Generic[T1]):
    a: T1 = pyd.Field(..., description="A")

class MyModelB(MyModelA[MyModelType]):
    pass

model = MyModelB(a=MyModelType(b="c", c="d"))
print(model)
model_ = MyModelB.parse_obj(model.dict())
print(model_)

a=MyModelType(b='c', c='d')
a=MyModelType(b='c', c='d')

I can't remember if there was a reason we couldn't raise an error if you inherit directly from BaseModel and typing.Generic in v1.X, but for what it's worth, we are planning to get rid of GenericModel in v2 (and the code you shared initially will be the right approach). But still working out some of the kinks there!

Great, explanation.

Thank you!


API option to set a ssl context object

https with a self signed cert is currently not working with PHP version >5.6 due to changes in the secure transport default settings. Needs some option to inject a custom ssl context to all connections. Might also need a switch from fsockopen to some more high level connection handling.

done in 92bfb6eb77520c292416a6552a4542592727074e by switching to stream_socket_client.


Updated Jenkinsfile to inject environment variables in build stage

Lack of environment variable injection in build state of Jenkinsfile pipeline definition was causing tests to become unstable during CI testing
Passing build using feature branch

e92acc9


Volumes cannot be accessed in finder or via terminal

Describe the bug
Volume cannot be accessed via terminal nor Finder (get Permission Denied error) even when using sudo
To Reproduce
Steps to reproduce the behavior:

Create Volume via docker compose yaml file
Try to access Volume via Terminal or Finder

Expected behavior
Able to cd into Volumes or access them via Finder
Screenshots

➜  volumes sudo cd db_db-data
/usr/bin/cd: line 4: cd: db_db-data: Permission denied

Info report

OrbStack info:
  Version: 0.5.2 (50200)
  Commit: 1070de4aca19fab0c2c0b57d7c0bacca7812ca23 (v0.5.2)

System info:
  macOS: 13.2.1 (22D68)
  CPU: amd64, 16 cores
  CPU model: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz

Fixed for the next version. Thanks for reporting!
This is caused by some volumes both being owned by root (common) and having restrictive permissions (less common), which you should be able to change from within a Docker container in the meantime.

Fix released in v0.6.0.


Enable source maps in output by exposing browserify debug option

Hi,
This is a request which I think would make a great feature to this very useful plugin.
Could you optionally expose browserify's debug option, this would allow users to enable source maps and so benefit from better error stack traces even when the output is minified.
Browserify state that you can set debug: true to enable source maps...
       --debug -d  Enable source maps that allow you to debug your files
                   separately.

On this line here: https://github.com/FidelLimited/serverless-plugin-optimize/blob/master/src/index.js#L382
If you're open to it I'd like to make this in a pull request (this might take me a bit of time).
Thanks,
Tom.

I made this feature myself and stuck a PR in for you: https://github.com/FidelLimited/serverless-plugin-optimize/pull/115
I've plugged my version up into my build and am now benefiting from nicer stack traces.


[Bug]: Bibtex file gave  status 500 and internal server error

Steps to reproduce the bug
1. tried uploading new source using Bibtex file
2.resulted in 2 messages status 500 and internal server error
3. using this Bibtex
@article{short2006water,
  title={The water scavenger beetles of Mongolia with new records from the Selenge River Basin (Coleoptera: Hydrophilidae)},
  author={Short, AE Z and Kanda, K},
  journal={Proceedings of the Academy of Natural Sciences of Philadelphia},
  volume={155},
  number={1},
  pages={9--12},
  year={2006},
  publisher={BioOne}
}
...

Screenshot
No response
Expected behavior
Populate the boxes for creating source
Additional Screenshots
No response
Environment
Production
Sandbox Used
No response
Version
v0.29.6
Browser Used
chrome

I retested and it worked as expected.  It might be useful to have more useful error message.


New component suggestion - MudLocalDateTime

Feature request type
New component
Component name
MudLocalDateTime
Is your feature request related to a problem?
DateTimes are often stored in the database as Coordinated Universal Time. To make sense for a user, there is a need to convert them to the local DateTime for a user. This is a proposal for a new, lightweight component that takes UtcDateTime and converts it to local DateTime. The component will abstract JSInterop required to obtain the user's timezone offset and culture, and output only a  with the converted date time.

No response
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Check this out: https://github.com/dustout/BlazorTime
Thanks to @ScarletKuro who gave me that tip.

Thank you. This is quite close to what I had imagined. Do you think there are no plans to introduce such a component to MudBlazor, given that other alternatives exist? In my opinion, it would be nice to have it included within a single component framework.

I am undecided but leaning more to not including than including. Everything we add we'll have to document, support, answer questions about etc. Ultimately we'll have to draw the line somewhere and if someone else is already supporting a library that solves exactly this problem we won't have to.

Another solution that was recently released:
Description:

It displays local time text in the user's time zone and works in any render mode. I designed it for the use case of building an online event timetable site.

https://github.com/jsakamoto/Toolbelt.Blazor.LocalTimeText It works in all render modes
Demo: https://demo-blazor-localtimetext-static.azurewebsites.net/


[core] Failure to resolve glob due to missing input

Task List

[x] Steps to reproduce provided
[ ] Stacktrace (if present) provided
[ ] Example that reproduces the problem (link to git repository is ideal)
[x] Full description of the issue provided (see below)

Steps to Reproduce

Configure the archive assembler with multiple inputs, some of them may not exist
Execute jreleaser assemble.

Expected Behaviour
A proper exception should appear as a result
Actual Behaviour
An unexepected exception occurs, with the underlying cause being
Caused by: java.io.IOException: Some globs failed to be resolved
	at jreleaser.shadow.org.jreleaser.model.FileSet.getResolvedPaths(FileSet.java:170)
	at jreleaser.shadow.org.jreleaser.assemblers.AbstractAssemblerProcessor.copyFileSets(AbstractAssemblerProcessor.java:167)

Environment Information

Operating System: N/A
JReleaser Version: 1.0.0-M1
JDK Version: N/A

https://github.com/manojkarthick/jreleaser-poc/actions/runs/1745352868
cc @manojkarthick

This would be very useful - Thank you! 💯

Steps to solve this issue:

bubble up the message of the actual cause
add a property to ignore non-existing inputs. The default expectation will remain that is, inputs must exist.


feat(SCT-412): add use case to get relationships returning new response

Link to JIRA ticket
https://hackney.atlassian.net/browse/SCT-412
Describe this PR
What is the problem we're trying to solve
We've set everything up to allow us to change the response for getting relationships. In #317, we added the database gateway method to get the data need from the database.
What changes have we introduced
This PR adds a new use case for relationships which returns a response similar to the old structure but with all relationship types.
Guidance to review

Big line changes because we're having to map all 33 relationship types
Looking for feedback on testing the mapping and how the mapping is done

Checklist

[ ] Added end-to-end (i.e. integration) tests where necessary e.g to test complete functionality of a newly added feature
[x] Added tests to cover all new production code
[x] Added comments to the README or updated relevant documentation (add link to documentation), where necessary.
[x] Checked all code for possible refactoring
[x] Code pipeline builds correctly

Follow up actions after merging PR
Refactor the /api/v1/residents/{personId}/relationships endpoint to use this new use case.

Refactoring to improve the response to be leaner and not include all the relationship types:
{
  "personId": 555666777,
  "personalRelationships": [
    {
      "type": "sibling",
      "persons": [
        {
          "id": 333444555,
          "firstName": "Firstone",
          "lastName": "Lastone",
          "gender": "M"
        },
        {
          "id": 333444555,
          "firstName": "Firstone",
          "lastName": "Lastone",
          "gender": "F"
        }
      ]
    }
  ]
}


Update nucleotide count

Working with @parkerl to bring this exercise more in line with Ruby version

We know there are a couple whitespace issues. Any other issues?


Documented Spatial node.

Meh, forgot members. Update is comming.

Guess it might be good to mention that in order for NOTIFICATION_TRANSFORM to work user first need to ask for it with set_notify_transform(true).
There is also 	set_notify_local_transform(true)

@kubecz3k
Great that you checked it out! I will add this and also point that default value for notify_transform and local_tranform are false.
About NOTIFICATION_LOCAL_TRANSFORM it is not generated in doc. Somebody forgot to bind it :p
I will update it in other PR.

@kubecz3k
Done. Check it out if you have time.

Thx for review @hubbyist! I will make next PR with tweak and let you know :)


JupyterLab 3.0+ Support

Is your feature request related to a problem? Please describe.
We are running JupyterLab 3.2.8 and cannot use nbcelltests because of an extension installation error related to jupyterlab_celltests.
Error message:
The extension "jupyterlab_celltests" does not yet support the current version of JupyterLab.
Describe the solution you'd like
Would like to be able to run pip install nbcelltests per the documentation and have the package work for JupyterLab 3.2.8.
Describe alternatives you've considered
Alternative of downgrading JupyterLab version is not feasible.
Additional context
Related to https://github.com/jpmorganchase/nbcelltests/issues/215
Conflicting Dependencies:
JupyterLab              Extension      Package
>=3.2.8 <3.3.0          >=2.0.0 <3.0.0 @jupyterlab/application
>=3.2.8 <3.3.0          >=2.0.0 <3.0.0 @jupyterlab/apputils
>=3.2.8 <3.3.0          >=2.0.0 <3.0.0 @jupyterlab/codeeditor
>=3.2.8 <3.3.0          >=2.0.0 <3.0.0 @jupyterlab/codemirror
>=5.2.8 <5.3.0          >=4.0.0 <5.0.0 @jupyterlab/coreutils
>=3.2.8 <3.3.0          >=2.0.0 <3.0.0 @jupyterlab/docmanager
>=3.2.8 <3.3.0          >=2.0.0 <3.0.0 @jupyterlab/filebrowser
>=3.2.8 <3.3.0          >=2.0.0 <3.0.0 @jupyterlab/launcher
>=3.2.8 <3.3.0          >=2.0.0 <3.0.0 @jupyterlab/mainmenu
>=3.2.8 <3.3.0          >=2.0.0 <3.0.0 @jupyterlab/notebook

We already support jupyterlab 3+, just might need to do a new release


Cleanup

Fixes the license metadata.
Uses the toolchain.
Re-renders with conda-smithy 1.6.1
Bumps the build number.

cc @isuruf

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


🐛 [Tandoor Recipes] is broken in pushed 1.5.6-test_ssl builds.

Description
Like a moron, I had the switch for 'Auto update' set to 'on'.  The docker container updated and most of the functionality is broken.  Recipes no longer display, 'Space Settings' show no users, etc.  I can go into 'Admin' Menu from the User drop down list and see that everything should be there, but the Tandoor Webpage doesn't display anything.
Reproduction steps
1. Go to 'Settings > Add-ons > Tandoor Recipes'
2. Click on 'Update' and let everything update.  After update is complete, login to Tandoor.

3.  Errors:  Clicking Tandoor in upper left redirects to <IP_ADDRESS>:8081 instead of NGINX address and configured port.
4.  Search page shows no recipes.
5. Space Settings show no Users.

Addon Logs
Apologies, already restored from backup and do not have the logs.  Can't be without this server for too long or wife gets annoyed.  However, logs did show the usual GET requests and 200 responses when trying to view the Search pages.

Architecture
amd64
OS
HAos

Hi, thanks! I see the issue, i'll revert to previous version

Will hassio see the revert as an update? I've already updated to 1.5.6-test_ssl (14-10-2023).

Running this in home assistant and also auto updated.
Add-on version: 1.5.6
System: Home Assistant OS 10.5  (amd64 / generic-x86-64)
Home Assistant Core: 2023.10.1
Home Assistant Supervisor: 2023.10.0
When navigating to the ip with port, I get nothing. Page won’t load.
Unfortunately I don’t have a backup other than a full HA backup.
I’ll resort to this if necessary. Happy to provide logs. I’m not seeing anything that looks weird though.


[Question] How to create yes/no or more button like demo ?

[Question] How to create yes/no or more button like demo ? i see custom 1, custom 2 but no demo code.

Look in the documentation, in the "Show Example".
The 'buttons:' option.

thanks, my missing :3


Create observer and subjects for handling events for push notifications

The notifications that I'm thinking we can handle in Northstar are for when a user signs up for a campaign with an invite code and when a user in a group submits a reportback.
Naming and all are just suggestions. I'm really not sure what the best way to do this in Laravel is.
Subject: Signed up with invite

Event: "OnSignup"
Fired in: CampaignController@signup

Subject: Reportback submitted by user in a group

Event: "OnReportback"
Fired in: CampaignController@reportback

Subject: Kudos submitted for a reportback item

Event: "OnKudos"?
Fired in: KudosController@store ... I think? Work on this one's being done in #137.

Observer: PushNotificationsNotifier

PushNotificationsNotifier@OnSignup: check if the signup has a source and if that source maps to an existing group and if so, fire a push notification
PushNotificationsNotifier@OnReportback:  check if the user who submitted a reportback is in a group and if so, fire a push notification
PushNotificationsNotifier@OnKudos: determine who the user is who owns the reportback, then fire a push notification to that user

cc: @sbsmith86 @DFurnes
The details above were merely a suggestion. It sounds like there might be a different and better way of structuring it all from what you two are talking about right next to me. You're free to go with whatever works.

@jonuy ok to close this? the event listeners and handlers are set up in Northstar now

@sbsmith86 :) yea I think so. We'll find out what, if anything, remains once we get some more robust testing setup on actual phones.


irmin-pack: modify auto flush callback behavior

Instead of expecting the caller to flush, it now sends the results of a flush to the callback. Part of #2039

Codecov Report

Merging #2088 (419ec01) into main (b72a868) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2088      +/-   ##
==========================================
+ Coverage   64.73%   64.77%   +0.04%
==========================================
  Files         131      131
  Lines       15658    15656       -2
==========================================
+ Hits        10136    10141       +5
+ Misses       5522     5515       -7

Impacted Files
Coverage Δ

src/irmin-pack/unix/gc.ml
40.54% <ø> (+0.54%)
:arrow_up:

src/irmin-pack/unix/append_only_file.ml
86.20% <100.00%> (+0.24%)
:arrow_up:

src/irmin-pack/unix/mapping_file.ml
94.24% <100.00%> (+1.43%)
:arrow_up:

src/irmin-fs/irmin_fs.ml
82.42% <0.00%> (+1.21%)
:arrow_up:

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

@Ngoguey42 ah, thanks for that insight. It gave me an idea for how to refine the flushing behavior to (I think) clarify intentions of different ways append only files are used.


macOS Mojave and System.NullReferenceException using Visual Studio 2019

Hello,
have now tried multiple different BLE libraries and in all have issues at beginning before get any further. With your library happens following
Steps to reproduce
MvvmCross:
var ble = Mvx.Resolve<IBluetoothLE>();
Vanilla:
var ble = CrossBluetoothLE.Current;
Expected behavior
register IBluetoothLE
Actual behavior
MvvmCross:
System.NullReferenceException has been thrown
Object reference not set to an instance of an object
Vanilla:
System.ArgumentNullException has been thrown
Value cannot be null.
Parameter name: obj
Configuration
Plugin: Version 2.1.1 from nuget.org
macOS Mojave with latest updates (10.14.6)
Device MacBook Pro 2018
Building with Visual Studio Community 2019
Target framework Xamarin Mac Modern (Have also tried Full version but same behaviour)
And trying to develop application for macOS and no more code to show as stuck at beginning...
any help would be appreciated :)

Hi @Elimil,
I'm the friendly issue checker.
It seems like (50.00 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.
If you think it's fine to make an exception, just ignore this message.
But if you think it was a mistake to delete the template, please close the issue and create a new one.
Thanks!

@Elimil have you tried the macOS sample? Does it also happen there?

Tried and no luck. Following was found from log:
2019-10-15 21:28:48 [TRACE] (MvvmCross.Logging.MvxLog) App Start
2019-10-15 21:28:48 [TRACE] (MvvmCross.Logging.MvxLog) UpdatedState: PoweredOn
2019-10-15 21:28:48 [TRACE] (MvvmCross.Logging.MvxLog) ViewAppeared DeviceListViewModel
2019-10-15 21:28:48 [TRACE] (MvvmCross.Logging.MvxLog) Failed to retreive system connected devices. Value cannot be null.
/Matti

Take a little bit back. it works even get the error in the log. Have to look more into the sample and contact back if have more issues.
Thank you anyways...
/Matti

Seems the problem is with system connected devices that library can't scan those on macOS Mojave. But it is not issue in my project so i can continue with it. One neat feature would be that it could also get what is the distance for the device. then it would be perfect, well at least for my project :)

And distance seems to be just mathematics 10 ^ ((Measured Power – RSSI)/(10 * N)) where N is Environmental factor in range 2-4. Little googling helps.. So you library is all I need in my project. Thank you :)


PostgreSQL fix RETURNING clause

use quote_column_names with surrounding parantheses to construct RETURNING clause, fixes #773

Hello,
unfortunately I am not very familiar with this project. So I apologise if I am violating any guidelines for contributing. But maybe somebody can have a look at this PR and the issue I have posted to get this merged in asap.
If you point me to where I can write PostgreSQL related tests, I am happy to write a case for this issue.
Kind regards,
Lukas Rieder

looking good, test are around https://github.com/jruby/activerecord-jdbc-adapter/tree/master/test/db/postgresql ... a regression test would be great. if you decide to do so please target the 1-3-stable branch.
otherwise I will merge this as/if I circle back for a 1.3 maintenance release. in any case, thanks for looking into it!

Cool, I have some time today so I will add tests to it and rebase the PR to 1-3-stable.

Ok. Here is my update. I rebase the fix onto stable-1-3.
Then I found that the composite primary key behaviour is not default in ActiveRecord. It is enabled by a gem called composite_primary_keys.
Now there is an annoying hen & egg problem: Is this an issue of composite_primary_keys, that has no control over the underlying DB adapter, or is this an issue of the DB adapter that cannot handle composite primary keys.
I decided to implement a test case here, since this is a more or less common feature of PostgreSQL. I think the adapter should be able to handle it.
Therefore I included the correct version of composite_primary_keys into gemfiles/rails42.gemfile.
If there is a better solution, please let me know.
P.s.: It was not that straightforward to get tests to run. This helped me a lot:
# ant is required
brew install ant
# when working on a specific rails version, export the BUNDLE_GEMFILE
export BUNDLE_GEMFILE=gemfiles/rails42.gemfile
# set the db user
export POSTGRES_USER=postgres
# run appraisal:rails42 once (it seems to generate something that is needed for tests)
rake appraisal:rails42
# run tests
rake appraisal:rails42 test_postgres
# run a specific test
rake appraisal:rails42 test_postgres TEST=test/db/postgresql/composite_primary_keys_test.rb

ant? well that is just weird - maybe a relic from jruby.
this will fail on CI as the test is only supposed to run under AR 4.2, could you fix that please e.g. :
require 'composite_primary_keys' if ar_version('4.2') + same condition for the test method, thanks

Ok. Wrapped the whole body of the class in an if ar_version('4.2') ... end block. This should do the trick, everything within that TestCase depends on AR 4.2 and gemfiles/rails42.gemfile.

seems like it but it must be related to your changes since only 4.2 fails, its probably due AR 4.2 upgrade.
its a bit hard to manage the dev with many adapters/drivers/versions - could you maybe revert the upgrade?

Ok. I see.
As a takeaway, the upgrade to latest AR 42 seems quite straightforward. AR 42 relies on pg_dump to be present. But I would leave that up to you, as this is out of scope for this fix.
I amended the commit, reverting the rails42.gemfile to where it was before with the addition of composite_primary_keys for the test case.

thanks, unfortunately now we do not have the a_custom_primary_key_test.rb guarding against regressions
for older AR versions - bellow 4.2 ... right?

Ok. I amended the commit.
I added the test for all AR versions that are supported by composite_primary_keys with their respective version.

excellent, thanks Lukas. I also figured out the 4.2 failure is happening even without your code. no worries.

on 1-3-stable as 8d7db029ce5e561bb98409ee6c1235d5db7f9ed9 restored the deleted test parts and made composite_primary_keys gem optional (its too AR invasive - we do not want it to interfere much) at 4ee2c02e40835d5fe6c3953262cf005ff4ed1cd0


Clicking "mailto" link crashes on iOS

Clicking a mailto link causes the app to crash on iOS:
NSInvalidArgumentException: The specified URL has an unsupported scheme. Only HTTP and HTTPS URLs are supported.

sentry link, and I also verified this manually.
Android works as one would expect.

react-native-webview/react-native-webview#1084 seems likely to be relevant, and describes some possible workarounds.


Remove Sorting

Hi, first of all thanks for an awesome package, I really love it.
However, now I'm facing an issue, I can't remove sorting after sorting.
If I click in any sorteable column, VueTable starts adding a sort string to every api call. Thats good, but, how could I remove sorting to restore a non sorting state?
I would like to toggle between three states, like this:

sorting in ascending order
sorting in descending order
not sorting anymore

Is that posible? How remove sorting classes?
Thanks!

Hi Gonzalo, I've just solved this in my project. My case was with SingleSort, I read the code and the only way to 'reset' the sorting is setting sort-order prop to an empty array.
javascript singleColumnSort (field) {       if (this.sortOrder.length === 0) {         this.clearSortOrder()       }       this.sortOrder.splice(1); //removes additional columns       if (this.fieldIsInSortOrderPosition(field, 0)) {         // change sort direction         this.sortOrder[0].direction = this.sortOrder[0].direction === 'asc' ? 'desc' : 'asc'       } else {         // reset sort direction         this.sortOrder[0].direction = 'asc'       }       this.sortOrder[0].field = field.name       this.sortOrder[0].sortField = field.sortField     },

Hi, thanks for your reply!
I'm playing with sortOrder property too and looks like the only way to achieve sorting control. But, how do you know when modify that property? Where do you trigger singleColumn() call?
I would love to listen to an event. Maybe something like @vuetable:sort or similar.
I dont know how to detect when sorting is applied.


Gmail OAuth2 error

I've implemented Gmail Outh2 and pass the access token in. It got this error: error: login("Invalid credentials (Failure)")

Have you set the correct scope as in https://github.com/snipsco/Postal/blob/master/Documentation/ProviderQuirks.md#gmail ?
The scope is https://mail.google.com/

Thanks for the quick reply! Where should I set the scope? An example?

You should set the scope when you present the oauth flow to the user (in a scope GET parameter usually).

Emmm, I'm not sure if we're on the same page, but I've done the google Oauth2 flow  and successfully retrieved the access token, but can connect with postal. I was doing let postal = Postal(configuration: .gmail(login: GIDSignIn.sharedInstance().currentUser.profile.email, password: PasswordType.accessToken(access_token)))
Kedan
发自我的 iPhone

在 2017年2月16日，08:29，Jérémie Girault<EMAIL_ADDRESS>写道：
You should set the scope when you present the oauth flow to the user (in a scope GET parameter usually).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

okay, what scope have you used during oauth flow ?

Got it to work! Accidentally figured out where to add the scope.
Thanks for the assistance,
Kedan

On Feb 16, 2017, at 8:36 AM, Jérémie Girault<EMAIL_ADDRESS>wrote:
okay, what scope have you used during oauth flow ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/snipsco/Postal/issues/50#issuecomment-280383719, or mute the thread https://github.com/notifications/unsubscribe-auth/AIZG05kz9Ywh4STLM8vJdP04u99Qtjqiks5rdHsFgaJpZM4MChPV.


make sure that top-level css is not inlined twice

 Issue by sigmundch
Originally opened as dart-lang/sdk#19996

Make sure that top-level css is not inlined twice. this is probably not a problem for link-rel elements inside <template> tags, but for <link-rels> that occur on the top of several imported files we are probably duplicating things.

 Comment by jakemac53

It might be nice to also warn if a specific css file is inlined more than once for any given entry point. We could either warn and suggest that they change the option in their pubspec to not inline that file, or we could automatically not inline it.

 Comment by jakemac53

Fixed in dart-lang/sdk@30cf5593c1775991b37207fc340d4d2ee2948664, just added a warning if any css file is ever inlined more than once with instructions on how to override that behavior

Set owner to @jakemac53.
Added Fixed label.


Add "gentle" mode for Xiaomi Roborock vacuum

Description:
This adds the "Gentle" mode, as available in the Mi Home App. This is a special mode used for mopping floors. After finishing the cleanup and returning to the base, the vacuum goes to the "Silent" fan mode.
Checklist:

[x] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Any way to rerun the checks? They failed during venv setup.

I had the same problem on a PR. After fetching upstream/dev, rebasing on it, and force-pushing, everything resolved.


DBZ-6741 Support custom authentication on MongoDB connector

https://issues.redhat.com/browse/DBZ-6741

LGTM...
However we need to make sure that this is properly documented in relation to specifying credentials in connection string (either one or the other should be used).  Currently I believe the connection string configuration would take precedence (@jpechane  made a node to myslef to check this before Beta).

Currently I believe the connection string configuration would take precedence

I can confirm that's the case

Code itself looks good. Please add the requested javadoc. The new configuration should also be documented but that can be handeled as standalone PR.

https://issues.redhat.com/browse/DBZ-6788

@jcechace Is something else missing from this PR?

And of course I forgot to git add the changes before committing 😅
Sorry about that, @jcechace  LMK if there's anything missing

@jcechace ?

Code itself looks good. Please add the requested javadoc. The new configuration should also be documented but that can be handeled as standalone PR.

Added the requested javadoc. Will add documentation once this PR is merged

@nirolevy Applied, thanks!


Close state provider as soon as possible during tracing

Describe the feature
currently we only drop the db provider after the tracing scope is done, which happens after we converted the tracing response object.
we can instead close the tx before
Additional context
No response

I can take this


externalLabel to be deleted from TransmitterEquipment specification

According to decision in LtpAugment issue #6, §27, §28 of the TransmitterEquipment 1.0.0-tsp.200715.1225 shall be deleted.

Starting from TransmitterEquipment_i.j.k-tsp.231213.1100+spec.1 changed as decided.

Has been updated and published in TransmitterEquipment_1.0.0-tsp.200715.1225+spec.1.doc


upload file name extension "." to "-"

Dear Sir or Madam,
I appreciate for the angular-filemanager application developers.
I don't understand why upload file name extension changed to "-" from "." when uploaded a file from other PC.
Example) changed "music.mp3" to "music-mp3".
So, I changed the following code, inactive "private function normalizeName($name)"
bridges/php-local/LocalBridge/FileManagerApi.php
    private function uploadAction($path, $files)
    {
        $path = $this->canonicalizePath($this->basePath . $path);

        foreach ($_FILES as $file) {
            $uploaded = move_uploaded_file(
                $file['tmp_name'],
                $path . DIRECTORY_SEPARATOR . $file['name'] --->changed here!
            );
            if ($uploaded === false) {
                return false;
            }
        }

        return true;
    }

Fixed by above method, but am I right???

Hello @capitalfuse,
yes, you are right! Dot in the ext. shouldn't be replaced. But the solution is not to simply disable the normalization but instead, I applied the normalization to the name of the file only. Thanks for reporting that!
Opened PR with the fix and it's also already available in the current bundle.

fixed in #280


button to switch between dark and light mode

add a button to switch between dark and light mode with proper comments and functionalites

Hi, I would like to work on this issue. Please assign it to me.

Hello Arman, can I be assigned this task  if not already assigned.

Hello can i work on this?

I would like to work on this issue.

Hi @Arman-ali-khan-786 . I would like to work on this issue. Can you assign it to me?

Hello, @Arman-ali-khan-786.
I think I can solve this issue. Could you please assign this issue to me?

Hi @Arman-ali-khan-786 . I would like to work on this issue. Can you assign it to me?

go ahead

@Arman-ali-khan-786 May I try to work on this issue? Would be glad if you assign me. Seems simple enough to me. I might also try working on #24, but that's still a question.

@Arman-ali-khan-786 May I try to work on this issue? Would be glad if you assign me. Seems simple enough to me. I might also try working on #24, but that's still a question.

okay i am assigning you this as well as issue #24, is it okay....

@Arman-ali-khan-786 May I try to work on this issue? Would be glad if you assign me. Seems simple enough to me. I might also try working on #24, but that's still a question.

okay i am assigning you this as well as issue #24, is it okay.... just ask in issue #24 okk for the assignment

Alright! I'll start working on that as soon as possible.

@Arman-ali-khan-786 Added! Please check out #39 and let me know what you think.


Align asm versions

test this please

The underlying error seems to be:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project undertow: Compilation failure: Compilation failure:
[ERROR] /C:/opt/jenkins/workspace/wildfly-swarm-pull-request-windows/fractions/javaee/undertow/src/main/java/org/wildfly/swarm/undertow/descriptors/FaviconFactory.java:[22,33] cannot find symbol
[ERROR] symbol:   class ClassRemapper
[ERROR] location: package org.objectweb.asm.commons
[ERROR] /C:/opt/jenkins/workspace/wildfly-swarm-pull-request-windows/fractions/javaee/undertow/src/main/java/org/wildfly/swarm/undertow/descriptors/FaviconFactory.java:[51,9] cannot find symbol
[ERROR] symbol:   class ClassRemapper
[ERROR] location: class org.wildfly.swarm.undertow.descriptors.FaviconFactory
[ERROR] /C:/opt/jenkins/workspace/wildfly-swarm-pull-request-windows/fractions/javaee/undertow/src/main/java/org/wildfly/swarm/undertow/descriptors/FaviconFactory.java:[51,37] cannot find symbol
[ERROR] symbol:   class ClassRemapper
[ERROR] location: class org.wildfly.swarm.undertow.descriptors.FaviconFactory
[ERROR] /C:/opt/jenkins/workspace/wildfly-swarm-pull-request-windows/fractions/javaee/undertow/src/main/java/org/wildfly/swarm/undertow/descriptors/FaviconFactory.java:[75,9] cannot find symbol
[ERROR] symbol:   class ClassRemapper
[ERROR] location: class org.wildfly.swarm.undertow.descriptors.FaviconFactory
[ERROR] /C:/opt/jenkins/workspace/wildfly-swarm-pull-request-windows/fractions/javaee/undertow/src/main/java/org/wildfly/swarm/undertow/descriptors/FaviconFactory.java:[75,37] cannot find symbol
[ERROR] symbol:   class ClassRemapper
[ERROR] location: class org.wildfly.swarm.undertow.descriptors.FaviconFactory
[ERROR] -> [Help 1]
[ERROR]

I don’t think this change will work. As part of updating to WF 11 there was an update to ASM that included API changes

retest this please

@kenfinnigan hm, I don't see a productised 6.0 version. Should it be there if WF 11 depends on ASM 6.0?

closing to further verify


Drop dependancies

fixes #1

As expected this means code copied around and unfortunately the one actual configuration that is used by kafka is tagsAsFields and it has the most complex of parsing (of the influxdb options).
The code is mostly just copied and I dropped some abstractions along the way. I have many ... things I don't like about it, but testing this albeit not as hard and slow as I imagined takes a while and I prefer if I do less breaking changes :D
IMO somewhere in the future this extensions (when it is no longer used by k6) should get v2. Where the influxdb configuration is actually prefixed with K6_KAFKA_INFLUXDB instead of K6_INFLUXDB and ... maybe XK6_KAFKA as well ?!?
EIther way I like to point out that this is not meant to be the best of codes I just need this so I don't have to fix it on everytime we do something to those outputs in k6


Mock Server not responding with sample data

Description
on connexion release 1.0.129
Running on windows
Executing from GitBash
As a Connexion user or API developer
I want to run a mock server using data listed in swagger examples
So that I can quickly validate and troubleshoot the bahaviours of the API spec.
Expected behaviour
I would expect to get the sample data defined in the
 responses: $ref: '#/definitions/Department'
defined as:
Department:
    type: object
    required:
      - legal_title
      - department_type
    properties:
      id:
        type: string
        description: System identifier
        example: "1"
        readOnly: true
      legal_title:
        type: string
        description: Department legal title
        example: "Department of the Environment"
        minLength: 1
        maxLength: 100
.
.
.

Actual behaviour
when I point my browser to:
http://localhost:5000/departments
I get:
No example response was defined.
Steps to reproduce
When I run a mock server as:
$ connexion.exe run goc-od-api/swagger/swagger.yaml --mock=all -v
I get:
INFO:werkzeug: * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
and when I point my browser to:
http://localhost:5000/departments
I get:
No example response was defined.
Additional info:
Output of the commands:

python --version

$ python --version
Python 3.5.2

pip show connexion | grep "^Version\:"

$ pip show connexion | grep "^Version\:"
Version: 1.0.129

@samperd Thank you for reporting this. But it is a known limitation of the current implementation of mock. As described in https://github.com/zalando/connexion/pull/302. Unfortunately, we never intended to have it working the way you expected.
Maybe you want to send a PR adding this support?

OK,
I read "https://github.com/zalando/connexion/pull/302"
Maybe I am not understanding the issue or I described the issue incorrectly.
I will try to reframe the question.
While in MOCK mode and Given a request of:
http://localhost:5000/departments
Am I supposed to get a response of:
{
"id": "1",
"legal_title:"Department of the Environment"
.
.
.
}

I am not quite sure where I am supposed to add examples to the response body if not in:

properties

:
      id:
        type: string
        description: System identifier
        example: "1"
        readOnly: true

I am sure I am missing something. I am just not sure what.

We return the "example" property. Please try like that:
Department:
    type: object
    required:
      - legal_title
      - department_type
    properties:
      id:
        type: string
        description: System identifier
        readOnly: true
      legal_title:
        type: string
        description: Department legal title
        minLength: 1
        maxLength: 100
    example:
        id: "1"
        legal_title: "Department of the Environment"
        department_type: "foobar"

I extended the default MockResolver to use faker to mock data, this approach could be built on to handle the entire jsonschema spec + formats but works for me for basic use cases:
import random
from faker import Faker
from connexion.mock import MockResolver

class FakerMockResolver(MockResolver):
    def __init__(self, mock_all):
        super().__init__(mock_all)
        self.faker = Faker()

    def _fake(self, schema):
        # use faker to generate fake data from jsonschema
        if schema["type"].lower() == "array":
            return [self._fake(schema["items"]) for _ in range(5)]

        if schema["type"].lower() == "object":
            return {k: self._fake(v) for k, v in schema["properties"].items()}

        if "enum" in schema:
            # if enum, just choose one of enum items at random
            return random.choice(schema["enum"])

        if schema["type"].lower() == "string":
            return getattr(self.faker, schema.get("format", "word"))()

        if schema["type"].lower().startswith("int"):
            return self.faker.random_int()

        return getattr(self.faker, schema.get("type", "word"))()

    def mock_operation(self, operation, *args, **kwargs):
        resp, code = operation.example_response()
        if resp is not None:
            return resp, code

        # attempt to generate a response
        resp_200 = operation.responses["200"]
        if "schema" in resp_200:
            # swagger 2.0
            schema = resp_200["schema"]
        else:
            # openapi 3.0
            schema = resp_200["content"]["application/json"]["schema"]
        return self._fake(schema), 200


AGPUSH-1585 - analytics concurrency issue

Introducing a robust message key (variant+pushmessageInfo) to have better message selection from the queues on concurrent requests

@sebastienblanc please review and test

@lfryc if you are available - I'd appreciate a look here

:+1:

ported to 1.1.x as well -> b7d5dee7c413673d68867e09668940ac97fd6eb5


Link to developer changes

There needs to be a connection between these release notes and the e-commerce development FAQ. There is a page at https://docs.microsoft.com/en-us/dynamics365/commerce/e-commerce-extensibility/sdk-faq under the steps to upgrade e-commerce that is not in anyway connected to this feature list, even though one of the FAQs is about a feature in 10.0.17 (quick view module I think). With the web side of things being so open and extensible, the effect of these changes needs to be highlighted and properly connected to a release.

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

ID: a5914677-9720-ad39-babc-d2a0528dea4c
Version Independent ID: b3d9070e-b760-27ee-9b22-9da78815cc82
Content: What's new or changed in Dynamics 365 Commerce - Commerce | Dynamics 365
Content Source: articles/commerce/get-started/whats-new-home-page.md
Service: **dynamics-365-commerce **
Product: ****
Technology: ****
GitHub Login: @josaw1
Microsoft Alias: josaw

It would also be very helpful if release notes where part of the repo for the web side of things at https://github.com/microsoft/Msdyn365.Commerce.Online

@rsudworth - thanks for the feedback.
@josaw1 - can you please take a look at this feedback?

Thanks for the feedback. I added a link to the FAQ from the What's New topic.


Merged main into dev 1.24

First of several periodic updates to bring main into dev-1.24 branch.

/cc @JamesLaverack

Errors relate to the EasyCLA — Missing CLA Authorization.

/cc @jlbutler @sftim @reylejano @annajung @savitharaghunathan

I'd like to make a habit of doing this merge-main-into-dev update on Mondays throughout this release, that way the integration branch doesn't get too far behind during the process.

I reviewed and agree with @nate-double-u that the errors are related to EasyCLA
/lgtm
/assign @jlbutler

I helped Nate get this together and lgtm from me as well. I don't think I have approve rights, but in case I do
/approve


[core-amqp, service-bus] Correct timeToLive calculation to use

Following the .NET fix https://github.com/Azure/azure-sdk-for-net/pull/40916
Packages impacted by this PR
@azure/core-amqp, @azure/service-bus
Issues associated with this PR
#28121
Describe the problem that is addressed by this PR
When a message is received, if the absolute expiry time was set on the AMQP message, the TTL should be set using the difference between the absolute expiry time and the message creation time. This works around the limitation of the AMQP spec where a value larger than 49 days in milliseconds cannot be sent over the wire as the field is a uint32.  Also currently JS SDK throws an error if a TTL value of larger than 49 days in milliseconds value is set on messages to send.
Both core-amqp and service-bus are fixed because service-bus has its own fromRheaMessage and toRheaMessage to enable configuring JSON body parsing behavior and Date conversion.

API change check
API changes are not detected in this pull request.


Ecs service capacity provider

…ATE_SPOT
Change description

Description here

This change came about with the need to scale the ECS service's task with FARGATE_SPOT when triggered by the threshold's alarm created outside this module.
The change introduces a dynamic block of a capacity provider strategy to create a strategy created on implementation in the locals file (outside this module) when deployed. Since "launch_type" and "capacity_provider_strategy" cannot exist within the same service, "launch type" is referencing a locals bool variable (outside this module) that determines to use either the "launch_type" or "capacity_provider_strategy".
Since the ECS service is controlled with CodeDeploy, the appspec.yaml file is the source of truth on all deployments. To implement a capacity strategy in the service, the appspec file creation is dynamically created based off the boolean of the variable in the locals file.
Lastly, since this module was created for FARGATE deployment only, the capacity providers of "FARGATE" and "FARGATE_SPOT" were hardcoded in the ecs cluster. This value is hardcoded since these values are not affected if one decides to use FARGATE_SPOT or not. This just gives the cluster the option to use the capacity providers.
Type of change

[ ] Bug fix (fixes an issue)
[x] New feature (adds functionality)

Related issues

Fix #1

Checklists
Development

[x] Lint rules pass locally
[x] Application changes have been tested thoroughly
[x] Automated tests covering modified code pass

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

Code review

[x] Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
[x] "Ready for review" label attached and reviewers assigned
[x] Changes have been reviewed by at least one other contributor
[x] Pull request linked to task tracker where applicable

Well my thought behind that is that this is a fargate module so I would
assume we aren’t going to use this module with an EC2 or on prem provider?
Also, Fargate is a capacity provider by default so this is just adding the
ability to use spot also.
On Thu, Oct 7, 2021 at 5:08 PM Matt Barlow @.***> wrote:

Looks good, but it kind of forces you into using exactly two capacity
provider strategies, right? You can't have just one and you can't have more
than two?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/StratusGrid/terraform-aws-ecs-fargate-codepipeline/pull/8#issuecomment-938189924,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVKFQTVJOFMOUYVZIUC3FELUFYK45ANCNFSM5FMJUQHA
.

--
Jonathan Woods
Cloud Infrastructure Engineer
@.***
+1<PHONE_NUMBER>
www.stratusgrid.com

Makes total sense. Thanks for the explanation.


GitPod.io Content Support

how do I do it on gitpod.io?

i have the same issue the sticker and wallpaper will not showup im trying to use Sakurajima Mai dark theme for both

sticker and wallapaper

how is the progress going with this topic?

I haven't looked into what it might take yet, but I might have some time to take a peek over my extended weekend. I just got to be able to find where gitpod's vscode's css is hiding.

oh ok, thanks for the update!

@SakuraKitsunee
I was able to fix it locally (I ran a gitpod vscode server container, and installed assets), and it worked!
Unfortunately, I tried to do the same in the real gitpod, and it didn't work.... I don't think the process has access to write changes to the vscode server installation.
I won't leave you empty handed though. Where there is a will there is a way.
The color scheme still works, we just need assets.
Steps to get assets:

Install Stylus browser extension
Write a new style using this css

Assets CSS
/* ==UserStyle==
@name           Empty @name replaces the default template - 12/30/2021, 3:41:42 PM
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document domain("gitpod.io") {

    /** START BACKGROUND STUFF **/
    [id="workbench.parts.editor"] .split-view-view .editor-container .editor-instance > .monaco-editor .overflow-guard > .monaco-scrollable-element > .monaco-editor-background {
        background: none;
    }

    [id="workbench.parts.editor"] .split-view-view .editor-container .editor-instance > .monaco-editor .overflow-guard > .monaco-scrollable-element::before,
    .overflow-guard,
    .tab,
    /* settings UI */
    .settings-editor > .settings-body .settings-toc-container,
    /* end settings UI */
    .tabs-container,
    .monaco-pane-view,
    .composite.title,
    /* welcome window */
    .editor-container,
    button.getting-started-category,
    /* end welcome window */
    div.header,
    /* extensions header */
    .content,
    .monaco-select-box,
    .pane-header,
    .minimap-decorations-layer,
    .xterm-cursor-layer,
    .decorationsOverviewRuler,
    .monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-breadcrumbs .breadcrumbs-control,
    .ref-tree,
    /* find usages */
    .head,
    /* find usages */
    .monaco-workbench .part.editor > .content .editor-group-container > .title .editor-actions,
    .welcomePageFocusElement,
    /* welcome screen */
    .terminal-outer-container/* Terminal outer edge */
    {
        background-image: url('https://doki.assets.unthrottled.io/backgrounds/wallpapers/transparent/essex_dark.png') !important;
        background-position: right !important;
        background-attachment: fixed !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
    }

    /*settings UI */
    .monaco-list.list_id_1 .monaco-list-rows,
    /* source control diff editor */
    .lines-content.monaco-editor-background,
    /* output panel */
    .overflow-guard > .margin,
    .overflow-guard > .margin > .margin-view-overlays,
    .monaco-workbench .part.panel > .content .monaco-editor .monaco-editor-background,
    /* debugger panel */
    [id="workbench.panel.repl"] * {
        background-color: transparent !important;
    }

    .quick-input-widget {
        backdrop-filter: blur(5px) !important;
    }

    .monaco-breadcrumbs {
        background-color: #00000000 !important;
    }

    [id="workbench.view.explorer"] .monaco-list-rows,
    [id="workbench.view.explorer"] .pane-header,
    [id="workbench.view.explorer"] .monaco-pane-view,
    [id="workbench.view.explorer"] .split-view-view,
    [id="workbench.view.explorer"] .monaco-tl-twistie,
    [id="workbench.view.explorer"] .monaco-icon-label-container,
    .explorer-folders-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows,
    .show-file-icons > .monaco-list > .monaco-scrollable-element > .monaco-list-rows,
    .extensions-list > .monaco-list > .monaco-scrollable-element > .monaco-list-rows,
    /* Welcome Page */
    .monaco-workbench .part.editor > .content .gettingStartedContainer .gettingStartedSlideCategories > .gettingStartedCategoriesContainer > .header,
    .monaco-workbench .part.editor > .content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category/* end welcome page */
    {
        background-color: #00000000 !important;
        background-image: none !important;
        border: none !important;
    }

    .monaco-icon-label-container {
        background: none !important;
    }

    .monaco-workbench .part.editor > .content {
        background-image: url('https://doki.assets.unthrottled.io/backgrounds/wallpapers/transparent/essex_dark.png') !important;
        background-position: right;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: cover;
        content: '';
        z-index: 9001;
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    /** END BACKGROUND STUFF **/
    /** START STICKER STUFF **/
    body > .monaco-workbench > .monaco-grid-view > .monaco-grid-branch-node > .monaco-split-view2 > .split-view-container::after,
    body > .monaco-workbench > .monaco-grid-view > .monaco-grid-branch-node > .monaco-split-view2 > .monaco-scrollable-element > .split-view-container::after {
        background-image: url('https://doki.assets.unthrottled.io/stickers/vscode/azurLane/essex/dark/essex_dark.png');
        content: '';
        pointer-events: none;
        position: absolute;
        z-index: 9001;
        width: 100%;
        height: 100%;
        background-position: 100% 97%;
        background-repeat: no-repeat;
        opacity: 1;
    }

    /* Makes sure notification shows on top of sticker */
    .notifications-toasts {
        z-index: 9002 !important;
    }

    /* glass pane to show sticker */
    .notification-toast {
        backdrop-filter: blur(2px) !important;
    }
}

Update the URLs to the assets you want to use, feel free to use my cdn (you can find all assets here, or you can use your own so you can have your own custom images .
Apply the custom style
???
Profit!

https://user-images.githubusercontent.com/15972415/147790900-ffe93698-2772-4013-931d-72cdbb2cae76.mp4
I'll add some documentation to a new release, that detects when it cannot write, and point to some instructions like this that can be used as a work around.


limit in the request calls

hi, i have a query elaborated to request 312 spatial points, first with daily info of some variables, and then on hourly info. So a total o 624 request per day. It worked fine for a year, and nowadays i'm having BaseException: Failed retrieving open-meteo data, server returned HTTP code: 429 on following URL: .. i'm far from the 10000 limit. Also i have updated all the related packages, and still the same.
Anyone with similar problems? and solutions?
many thanks

the issue is related with the speed of the requests, the error was wen it was run on a ubuntu server, i have tried in my local machine, and work well, so i add a time.sleep(1) to the for loop, and now, works fine.


Wrong file encoding

Hello,
The stats file are saved in UTF-16 LE on my computer which prevents them from being read by the super mission stats viewer that can only read UTF-8 files.
The mod is installed ingame with mod.io on a steam client on a French windows 11.
I did a workaround by reading bytes in rust and handling the conversion in TS but it is not very elegant.
Do you have any idea why it is encoding in UTF-16 LE or any way I could help you diagnose the issue?

I do apologise for the late response, I've been busy with work and GitHub decided to not notify me of this issue...
I have looked into it a little and found out that it saves it as UTF-16LE when there is a character from a non-latin alphabet in the file. So it fails with error cubes but also languages like Chinese.
I don't think there is much to fix on this side of the issue, as I'm just using the build in write to file function. I should make a fix in the viewer itself to allow it to convert those files to UTF-8. If there is any Rust devs who can lend me a hand with that that would be wonderful!

Alrighty, I just released a new version of the viewer which should work with UTF-16 encoded fiels


Updated trucking demo

Added Zac’s new files to the demo:

generate.sh
run continuousStdOut.sh
StdOutEventCollector.java

Why was the mvn build line at the bottom commented out? Isn't it needed?

Yes it is needed. I brought back in the mvn line at the bottom. After
running the installdemo.sh script, the IoT tutorial series works. I'm
updating a new version with nifi on github. I'll share it soon. Almost
done.
On Jun 2, 2016 7:19 PM, "Ali Bajwa"<EMAIL_ADDRESS>wrote:

Why was the mvn build line at the bottom commented out? Isn't it needed?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hortonworks-gallery/iot-truck-streaming/pull/5#issuecomment-223474798,
or mute the thread
https://github.com/notifications/unsubscribe/ALSrwUnkCCKNtjhJufM0oDnx0fe2AX67ks5qH48ugaJpZM4ItHzj
.


[FR] Sending the current line with its ANSI color codes preserved to the preview command

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

Problem / Steps to reproduce
I have created a previewer that shows me searches from files in their context, but I lose the highlighting this way. It'd be great if you could support {c} to send the line with its color codes preserved to the previewer.

hey this should be working fine as i had to create a script to strip ansii from the preview when using cat (for security reasons) so it should be possible, however, I know for a fact  that tput works which is more portable anyways

@rayiik commented on Sep 12, 2020, 2:22 PM GMT+4:30:

hey this should be working fine as i had to create a script to strip ansii from the preview when using cat (for security reasons) so it should be possible, however, I know for a fact that tput works which is more portable anyways

What preview command di you use? My guess is that your previewer added color.
Here I use 'echo {}':

hey so generally i have this in my bash rc so its use in any script but I usually ad it to scripts i share
col0="$(tput bold ; tput setaf 0)"
col1="$(tput bold ; tput setaf 1)"
col2="$(tput bold ; tput setaf 2)"
col3="$(tput bold ; tput setaf 3)"
col4="$(tput bold ; tput setaf 4)"
col5="$(tput bold ; tput setaf 5)"
col6="$(tput bold ; tput setaf 6)"
col7="$(tput bold ; tput setaf 7)"
col8="$(tput bold ; tput setaf 8)"
col9="$(tput bold ; tput setaf 9)"
col10="$(tput bold; tput setaf 10)"
col11="$(tput bold; tput setaf 11)"
col12="$(tput bold; tput setaf 12)"
col13="$(tput bold; tput setaf 13)"
col14="$(tput bold; tput setaf 14)"
col15="$(tput bold; tput setaf 15)"
colwarn="$(tput smso; tput smul)"
nc="$(tput sgr0)"

then for usage its just

$col1 word/text/string/ $nc

usually with echo but printf should work too

to apply it to the text you just loop through input  and fork (if-then statements) to color specific output

and i just used the standard --preview= but can be any command its the loop and the tput that adds the color

@rayiik commented on Sep 12, 2020, 2:44 PM GMT+4:30:

to apply it to the text you just loop through input and fork (if-then statements) to color specific output
and i just used the standard --preview= but can be any command its the loop and the tput that adds the color
in the picture, its just cat and I think that one is a here-string i can check in the morning

Thank you, but this is not what I meant. I already color the preview myself:

I want to preserve the highlighting of fzf itself, the thing that is dark green in this picture:

I want that darkgreen highlight to be passed to the preview command via a placeholder such as {c}. Otherwise I'd need to duplicate fzf's highlighter in my previewer which is not easy or prudent.

Ahhh do you have ripgrep?
‘’’bash
Searchcmd | fzf —preview=“Previewcmd {} | rg {q} —passthru”
‘’’
Will highlight based off of your query pass thru will print everything including non matching

@rayiik commented on null:

Ahhh do you have ripgrep?
Searchcmd | fzf —preview=“Previewcmd {} | rg {q} —passthru”

Will highlight based off of your query pass thru will print everything including non matching

This is the strategy fzf.el (from Emacs) uses. I don't like it. It doesn't work if you use any complex query, because grep-like tools use PCRE-ish regexes.

Hey so ripgrep uses the rust regexp library which has enough differences that it might be worth your time Even if not used for this case https://blog.burntsushi.net/ripgrep/#regex-engine functionality very different from the Perl library (pcre or the grep) which both use backtracking and finite automata but I find it works quite well with both simple and complex queries https://blog.burntsushi.net/ripgrep/#regex-engine

im still not sure what part of it doesn't work (as i don't use fzf.el) but if you don't want to use regular expression just use the --fixed-string flag and it just becomes a highlight tool

@rayiik commented on Sep 20, 2020, 7:37 AM GMT+4:30:

im still not sure what part of it doesn't work (as i don't use fzf.el) but if you don't want to use regular expression just use the --fixed-strings flag and it just becomes a highlight tool
popualte-list | fzf --phony --preview='echo {} | rg --fixed-stings {q} --passthru'

should be what you described

I know all these; These only work your query is either a regex or a fixed string. They can't handle, e.g., 'exactMatch | sth someOtherThing.

Could you give me an specific example with a reproducible example but I don’t think your going to find a solution that doesn’t involve regex or fixed sting that will work with fzf I can think of at least 4 ways to do it with regex awk Perl rg tput sed and could probably make one of those work your your test case but without more info it’s as far as I can take it good luck

do you mean the curser line highlight or the word highlight? like this or just highlight the line you're on?

@rayiik commented on Sep 22, 2020, 9:54 AM GMT+3:30:

do you mean the curser line highlight or the word highlight? like this or just highlight the line you're on?

Just the line I'm on.

k well off doesn't have a "line that your on" its a general view so the feature request your looking for is a set line/ prompt for the preview window I suppose you might be able to set one with READLINE_POINT if you anchored to the physical area on the screen but either way your looking for a value that doesn't currently exist and passing {c} won't change that if there's not physical/anchor point/cursor line so id recommend changing the posing to feature request preview cursor line/prompt

Try opening nvim from dolphin run :scriptname? Will list all sourced .vim files in the order they’re called then compare against a regular opening

Can’t remember it you need the ?


Add testing for credential types in azidentity

Implement tests for AAD identity client and Client Secret, Client Certificate, Environment, Default Azure and Chained Token Credentials.
Implement tests for ManagedIdentityCredential

Added tests for:

ClientSecretCredential
ClientCertificateCredential
EnvironmentCredential
DefaultTokenCredential
ChainedTokenCredential
UsernamePasswordCredential
ManagedIdentityCredential

Tests were added in the following PRs:
#6493
#6496
#6497
#6502
#6503


FIX: Metrics file epoch indexing starting from 0

Description of the change
Training metrics are being written to a file by the fms-hf-tuning trainer. Currently the epochs in the metrics file starts from 1 and the change requested is to have epoch starting from 0-indexed.
Related issue number
#1163
How to verify the PR
Running the test command below to tune a small model will result in output file training_logs.jsonl. Verify the file if the epoch is 0-indexed.
python tuning/sft_trainer.py  \
--model_name_or_path Maykeye/TinyLLama-v0  \
--training_data_path tests/data/twitter_complaints_small.json  \
--output_dir outputs/full-tuning  \
--num_train_epochs 5  \
--per_device_train_batch_size 2  \
--gradient_accumulation_steps 1  \
--learning_rate 1e-5  \
--response_template "\n### Label:"  \
--dataset_text_field "output" \
--use_flash_attn false \
--torch_dtype "float32"

Was the PR tested

[ ] I have added >=1 unit test(s) for every new method I have added.
[x] I have ensured all unit tests pass

hi all, please hold off in this PR. If there is no way for transformers to actually print out from epoch 0, doing postprocessing is incorrect as 1 epoch was complete . we can index from 0 only if there is a way to print loss at epoch 0 -> no training, just calculates loss first

Yea it makes sense.

Just noticed that this PR is merged. Just confirming, hope we are not changing the way we call the first finished epoch as 1. It will have a implication in a lot of places and will be inconsistent with how the community calls it.

This PR is not merged instead a different PR is merged where changes from there PR were there in local fork as a mistake but it was fixed before merging into fms-hf-tuning repo, though the commits and revert commits still remains there. So nothing related to this PR is merged. Sorry for any inconvenience.

@Abhishek-TAMU I think you working on your main branch for your features which is not a suggested way given all these issues that you could come across. You should always branch out from main and then work on your feature and raise a PR with it.
FYA @Ssukriti
cc: @ashokponkumar


crouton Failed to complete chroot setup cloudready

Please paste the output of the following command here:
sudo edit-chroot -all
name: bionic
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/bionic...
crouton: version 1-20200724165050~master:08dac970
release: bionic
architecture: amd64
targets: xiwi,xfce
host: version 85.3.2 (Developer Build - neverware) stable-channel chromeover64
kernel: Linux localhost 5.4.53+ #2 SMP Sat Oct 3 18:52:55 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/bionic...
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20200724165050~master:08dac970
release: xenial
architecture: amd64
targets: xfce
host: version 85.3.2 (Developer Build - neverware) stable-channel chromeover64
kernel: Linux localhost 5.4.53+ #2 SMP Sat Oct 3 18:52:55 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Please describe your issue:
Compiling CRAS (i386)...
tools/cras_test_client/cras_test_client.c: In function 'show_alog_tag':
tools/cras_test_client/cras_test_client.c:592:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
float f = *((float *)&data3);
^
tools/cras_test_client/cras_test_client.c: At top level:
cc1: error: unrecognized command line option '-Wno-int-in-bool-context' [-Werror]
cc1: all warnings being treated as errors
/usr/lib/gcc/x86_64-linux-gnu/5/../../../i386-linux-gnu/crt1.o: In function _start': (.text+0x18): undefined reference to main'
collect2: error: ld returned 1 exit status
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
If known, describe the steps to reproduce the issue:
failed during install.

Can't complete install, i did try with bionic and im trying again with a different distro to see how that goes, i assume the same error will occur.

It may be another upstream change that crouton will have to accommodate, similar to this one:

https://github.com/dnschneid/crouton/pull/4211

Cloudready is a bit different but maybe @drinkcat or another crouton devs will get a chance to look at this soon.
-DennisLfromGA


Enhancements for port project membership from ember UI to vue UI

Rancher master-head commit 4d18400
Addressing 4 enhancement in this ticket

Create an rke2 node driver 1 worker ,1cp, 1 etcd cluster from explorer.
Create standard users - user1, user2, user3, user4, user5
Create a project P1
Add user1 as project owner in P1, user2 as project member in P1 and user3 as read-only

Enhancement1:

Login as user1 and create a project in the cluster
Only the create button says 'Error' but no error message is displayed on the UI.
When project owners or project members create a project in the cluster, an error should be displayed to the users.
reference from ember UI:
projects.management.cattle.io is forbidden: User "u-7g8s9" cannot create resource "projects" in API group "management.cattle.io" in the namespace "c-m-593a381b"

Enhancement2:

For user1, the RBAC option in the cluster is show with roles and role-bindings only
For user2, the RBAC option in the cluster is shown with cluster members only but no members in it
The RBAC option can be completely hidden from the project owner, project members, read-only and custom project permissions.

Enhancement3:

Log in as user3 to the rancher server.
Create a namespace as user3.
Following is the error displayed for user3:
Method POST not supported
Error message can be changed to projects.management.cattle.io is forbidden: User "u-7g8s9" cannot create resource "projects" in API group "management.cattle.io" in the namespace "c-m-593a381b for more clear understanding.

Enhancement4:

For user1, user2, user3 - cluster Explorer -->  More Resources --> core --> Secrets are visible.
These can be hidden from the users and need not be shown

reference ticket: https://github.com/rancher/dashboard/issues/2673

Rancher version: 2.6  master-head (06/23/2021) d44698d
I am able to add a user multiple times with same or different roles into a project, on Ember UI only the first one was displayed for a user is kept if we try to add the same user again. In this case Ember UI shown the user as custom (as if it had multiple roles).

Will spawn request 1 into a new bug. 2 we'll look at later, 3 & 4 aren't possible.
@izaac can you create a separate item for your comment?

@gaktive https://github.com/rancher/dashboard/issues/3344

And #3342 spawned from Item 1


Cooldown tracking not working for old-expansion crafts

For older recipes with cooldowns such as the Draenor "Secret of Draenor X" or daily Pandaria recipes, the cooldown does not appear to be properly tracked - they are always listed as "Not on Cooldown".

thank you for reporting!
Can you point me to the easiest to get old world cd recipe to test this with?

Absolutely. I think the easiest to get are any of the "Secrets of Draenor X" recipes for crafting professions, since you get that as part of learning the Draenor level of the profession (which you can pick up either via quest or just buying a book in Stormshield/Warspear, which you can get to from the Stormwind/Orgrimmar portal rooms)


Update

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on replacing the usage of the Center component from @chakra-ui/react with div elements styled with Flexbox for better layout control across various components in the dashboard application.
Detailed summary

Replaced Center with div and applied flex styles in multiple components for consistent layout.
Added placeholder comments like {/* to be completed */} in several files.
Adjusted alignment and spacing across various sections to enhance responsiveness and visual consistency.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4765  👈
#4750
#4749
#4748
main

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

Join @kien-ngo and the rest of your teammates on  Graphite


Plt 7826/automate tests

Larry can we clean this up:

there are reports committed here which should be probably removed
we should probably also discuss our approach to JS vs TS

Thanks @paluh - I removed the reports. I'll follow up with you about js/ts files.


Remove sdx-common requirement

What? and Why?

What does this pull request change/fix? Why was it necessary? Remove sdx-common from requirements as it is no longer used

Checklist

[ ] CHANGELOG.md updated? (if required) Y

Codecov Report

Merging #82 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #82   +/-   ##
=======================================
  Coverage   69.02%   69.02%
=======================================
  Files           8        8
  Lines         268      268
=======================================
  Hits          185      185
  Misses         83       83

Continue to review full report at Codecov.

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


can this work with MAME

anyway to get this working with mame?

I got ice working with mame using this configuration :
consoles.txt
[Mame]
nickname=Mame
emulator=Mame
emulators.txt
[Mame]
location=E:\games\Emulation\mame\mame64.exe
command=%l %r
Use your own path for your emulator
Please note :
Mame is very picky about the zip name, for example windjammers must be named wjammers.zip and thus appear in steam using this shortname (without .zip)


Check if fiat items from doResolveUris are purchased

Fixes:
Purchased fiat items in private lists didn't appeared as purchased, unless manually navigating to them.
-had fee info on thumbnail
-on auto-play showed "Purchase" overlay

Copy/pasted the fiat stuff from doClaimSearch to doResolveUris, seems to  work.

Thanks Miko!


Integration is using deprecated DEVICE_CLASS_* constants

Version of the custom_component

All
Configuration

n/a

Describe the bug
This custom integration uses deprecated DEVICE_CLASS_* constants in its codebase.
The DEVICE_CLASS_* constants have been deprecated and replaced in Home Assistant Core 2021.12 (over a year ago). I would highly suggest updating/migrating this integration to the new enums.
For example, for the device classes supported by the sensor platform, there is now a SensorDeviceClass enum. So if a sensor previously used the DEVICE_CLASS_ENERGY constant, it should now use SensorDeviceClass.ENERGY. Other platforms (like binary_sensor, and number) provide similar enumerations for their supported device classes.
The migration thus only consists of replacing constants with an enumeration member and is, therefore, very low impact and should be fairly straightforward.
If I can help resolve any questions regarding this change or migration, feel free to ask or respond to this issue. I'm happy to help!
Kindest regards,
../Frenck
Debug log

n/a

Thanks for making an issue, guess we missed that one. I'll take a look this afternoon and let you know if there are any questions 👍

@dermotduffy I think this can be closed?

Thanks for addressing this! ❤
../Frenck


Loading model from models/ldm/stable-diffusion-v1/model.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Using half precision math. Call with --full_precision to use more accurate but VRAM-intensive full precision.

Setting Sampler to k_lms
model loaded in 5.80s

Initialization done! Awaiting your command (-h for help, 'q' to quit)
dream> a smiling face
Traceback (most recent call last):
File "/Users/ivano/Code/Ai/dream2/./scripts/dream.py", line 543, in
main()
File "/Users/ivano/Code/Ai/dream2/./scripts/dream.py", line 103, in main
main_loop(t2i, opt.outdir, opt.prompt_as_dir, cmd_parser, infile)
File "/Users/ivano/Code/Ai/dream2/./scripts/dream.py", line 230, in main_loop
t2i.prompt2image(image_callback=image_writer, **vars(opt))
File "/Users/ivano/Code/Ai/dream/ldm/simplet2i.py", line 289, in prompt2image
torch.cuda.torch.cuda.reset_peak_memory_stats()
File "/Users/ivano/.miniconda/envs/dream/lib/python3.10/site-packages/torch/cuda/memory.py", line 256, in reset_peak_memory_stats
return torch._C._cuda_resetPeakMemoryStats(device)
AttributeError: module 'torch._C' has no attribute '_cuda_resetPeakMemoryStats'

Also having this issue

We are working on it.

the brach fix-cuda-reset-stats-error fix the error but then not image are generated

python scripts/dream.py

Initializing, be patient...

Loading model from models/ldm/stable-diffusion-v1/model.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Using half precision math. Call with --full_precision to use more accurate but VRAM-intensive full precision.

Setting Sampler to k_lms
model loaded in 5.75s

Initialization done!
Usage stats:
0 image(s) generated in 0.00s
Max VRAM used for this generation: 0.00G

@i3oc9i, thats fixed elsewhere, I hit the some issue last night (UK time) and it was fixed by a change proposed by @toffaletti
I think that may be been merged, but into the main branch.


Create ogr.txt

Istanbul University added

@serkanayaz I am sorry, the domain ogr.iu.edu.tr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Getting info about node on the owner javascript side

In owner client (javascript) side, the $location is used to determin node's URI in order to built needs events, etc. (e.g. won-service.js:34). This will result in failures as soon as we deploy node and owner in different containers. Istead, the owner server should provide the REST interface for owner client for getting such info as node URI/URIS and corresponding patterns for building need/event URIs (now the patterns are hardcoded on javascript side). The owner client should get such info from there. The owner server itself knows this info from his configuration files.

Actually, there is already AppConfigController that serves the info about default won node uri, and it is even gets called by won-service.js, it is just not used when building needs and events. And the  AppConfigController should just be extended to also serve event/need uri patterns for a particular node.


Implement new design tokens to the chip component

Implement New Design Tokens for the malty/atoms/Chip component, following implementation of malty/theme/NewMaltyThemeProvider/NewMaltyThemeProvider.tsx, to be imported from<EMAIL_ADDRESS>Make sure to look at new types structure, and use the exported objects to replace existing implementation of current MaltyThemeProvider. Make sure values are accessed directly, and not with the existing '.value' structure. In other words '2xs' is accessed directly, and not as ['2xs'].value
This is true for all tokens, not only sizes, but colors, etc.
Ensure to completely remove existing theme from component implementation.
Ensure helpers in the NewMaltyThemeProvider are used where necessary.
Make sure the Storybook stories are updated, as well as visual regression tests, where necessary. Do not import the new theme provider in the story, follow existing implementation.

Regarding the color tokens:

theme.colors.colours.support[20].value should be replaced by theme.colorsV2.default.neutral[50]
theme.colors.colours.support[80].value should be replaced by theme.colorsV2.default.neutral[600]
theme.colors.colours.support[100].value should be replaced by theme.colorsV2.default.neutral[900]
theme.colors.colours.system['disable-light-theme'].value should be replaced by theme.colorsV2.default.neutral[200]