[Docs] TypeError when creating Dynamics from data

What we need to document?
I have successfully downloaded the data using
downloader = cs.DataDownloader(directory="input", update_interval=24, verbose=1)
# All country-level data
downloader.layer()
df = downloader.layer(country="Japan", province=None)

but:  dynamics = cs.Dynamics(model=cs.SIRF, data=df)
gives the following error message

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_11728/1803869195.py in <module>
      1 # Select country name and register the data
----> 2 dynamics = cs.Dynamics(model=cs.SIRF, data=df)

TypeError: __init__() got an unexpected keyword argument 'data

Please use class method cs.Dynamics.from_data().

Please confirm the data includes Susceptible and Infected additionally. DataEnginneer can create these cuolumns, but the output of DataDownloader().layer() does not have these columns as explained in the notebooks.

FORMER USAGE
import covsirphy as cs
# Download and update datasets
loader = cs.DataLoader("input")
data_dict = loader.collect()
# Select country name and register the data
snl = cs.Scenario(country="Japan")
snl.register(**data_dict)
# Check records
snl.records()
# S-R trend analysis
snl.trend().summary()
# Parameter estimation of SIR-F model
snl.estimate(cs.SIRF)
# History of reproduction number
snl.history(target="Rt")
# History of parameters
snl.history_rate()
snl.history(target="rho")
# Baseline
snl.add(days=30)
# Forecasting
snl.predict(days=30)
snl.adjust_end()
snl.rename(old="Multivariate_regression_Likely", new="Likely")
snl.delete_matched(pattern=r"^Multi")
# Compare scenarios
snl.describe()
# Summary
snl.summary()
# Simulation
snl.simulate()

CURRENT USAGE (Version 2.40.0)
Please for the sake of clarity, kindly outline the commands required as above. It may be useful for other researchers also.

OK, I will update GitHub Page immediately after the next relase of stable version. The new classes are implemented in the latest development version and I'm writing notebook in example directory.

OK. It's noted with gladness

Released new stable version 2.26.0! I also updated README and documentation.


AWS phasing out support for the Node 0.10 runtime

Just as a heads up got this notice today:
From what I can see, it appears at least the Go shim uses this runtime.

Dear AWS Lambda Customer,
You are receiving this message because you have recently created/updated Node 0.10 functions within AWS Lambda in your AWS account.

What is happening?

AWS Lambda is deprecating the Node 0.10 runtime. The v0.10.42 runtime will no longer be available to create new functions starting 11/10, but will continue to be supported for existing functions till April 2017. All functions written in Node will need to use the Node v4.3 runtime moving forward till newer version of Node are available within AWS Lambda.

How does this affect you?

All existing functions will continue to work till April 2017 as is with no change required on your part in the near term, including making updates to code and configuration. You will however, no longer be able to create new functions using the Node 0.10 runtime starting 11/10. Any ongoing deployments, such as direct API calls or automated deployment tools you have configured for deploying Node 0.10 code to AWS Lambda as new functions will start returning errors.

What do you need to do?

We recommend you migrate your v0.10 functions to runtime v4.3 as soon as possible. For more information please see "Using the Earlier Node.js Runtime v0.10.42" section of our documentation in the AWS Lambda Developer Guide http://email.awscloud.com/ZZkdt08rt010210HD00OMT0.
If you have any questions or concerns, you can contact the AWS Support Team on the community forums and via AWS Premium Support at: http://aws.amazon.com/support http://email.awscloud.com/DTEd10s0MZH00028Ok0t0t1
Sincerely,
Amazon Web Services

Makes sense that support is being phased out at Node 0.10 is off LTS now. We'll have to see if there are any impacts to the shim from upgrading (I'm guessing there won't be much). I think @tj uses that shim regularly.

oOo interesting, guess we're stuck upgrading that haha..  yeah all my stuff is Go

Amazon is saying that 0.10 is no longer supported and is encouraging migration to a supported runtime version. Any update?

Closed by #637 .

v0.12.0 has the fix


useMutationLoading returns true in onDone hook

Describe the bug
When using useMutationLoading to check wether or not the mutation is still in a "loading" state, the ref returns true in the onDone hook of that mutation.
Example:
const loading = useMutationLoading()

const { mutate, onDone } = useMutation(SOME_MUTATION)

const doThing = async() => mutate({ input: { id: '1', state: 'waiting' } })

onDone(() => {
  console.log(loading.value) // returns true, but should be false, since the mutation is already done.
})

doThing()

To Reproduce
Steps to reproduce the behavior:
See above example
Expected behavior
useMutationLoading to return false in the onDone hook.
Versions
vue: 3.2.36
vue-apollo: 4.0.0-alpha.16
@apollo/client: 3.5.10

I have the same issue but with useQueryLoading()


1.13

I'm still working on changes for the other addons, but I figured that it would be good to start pushing as I have them ready so I can have early feedback.
This PR upgrades the addons to ember-cli 1.13.1, but keeps ember 0.12.0 and ember-data 1.0.0-beta.18.  I don't see a strong reason for that.

 It eludes me at the moment and right now I need to get other stuff done :/

I'll have a look at Auth!
Just haven't got around to bumping the version of simple auth yet - it was in beta when 0.0.1 was released

@givanse - I should have time to work on this this week - can I have push for your fork?  I'll do all my work on this branch

@hhff Yes, added you.

thanks @givanse !

@hhff Did you update the backend that is used when the tests are run? (http://testing.spree-ember.com)

@givanse - I haven't - it's been the same for a while.  Does it need a change?

Some tests that were ok before are failing now. Simple things like:
was expecting 'Bags'
actual result 'Mugs'

Maybe a sorting change in the taxons? I fixed (edited for Mugs) and four more errors appeared. Maybe the seed data was edited?
I didn't spend much time looking into this, decided to wait for a reply. If nothing has changed, I'll check what is going on.

yeah i haven't changed it at all - but I'm guessing it's just an ordering thing - so if the tests explicitly "clicked" the mugs label rather than the first item, we should be cool

thank you so so much for working on this @givanse u are the mannnnn


Update Contributing.md and add issue template

A .GitHub repo has been created containing PR and Issue template, code of conduct and contributing guidelines


FIX: Do show warnings

Apparently PHPCBF does not fix warnings if you ignore them.

Next time, separation of concerns, please


Ensure archived workspaces don't hold up scheduling

Currently, there's a bug in the scheduler where a workspace waits until all of its subquestions have been resolved before it's eligible for rescheduling, even if some of its children are archived.

Addressed in #469


feat: otherApps enum missing from appium-dotnet-driver implementation…

… (#445)
Change list
Added enum MobileCapabilityType.OtherApps for consistency with Java client.
Types of changes
What types of changes are you proposing/introducing to .NET client?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] New feature (non-breaking change which adds value to the project)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Documentation

[ ] Have you proposed a file change/ PR with appium to update documentation?

This can be done by navigating to the documentation section on http://appium.io selecting the appropriate command/endpoint and clicking the 'Edit this doc' link to update the C# example
Integration tests

[ ] Have you provided integration tests to pass against the beta version of appium? (for Bugfix or New feature)

@oelderinkX waiting for cla sign check to succeed before merging

@akinsolb I've signed it.  It looks like its taking a while to go through or something

hmmmm, signed on the Details page, but nothing under the pull request main page

Did you sign the CLA with the same email as your git commit's one?

Yes
On Fri, 20 Nov 2020 at 05:39, Kazuaki Matsuo<EMAIL_ADDRESS>wrote:

Did you sign the CLA with the same email as your git commit's one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/appium/appium-dotnet-driver/pull/446#issuecomment-730863647,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMBDCIS2NOCX6AH3Z33WLLSQX6J7ANCNFSM4T4FMFKA
.

--
Best,
O.M. Benson A Tairu-Akinsola

I could try making a small push again on my fork repo and see if it updates it


run-s command

i start using the package, and honestly, i found it great and very helpful, but the thing is you are using npm-run-all and with shortcut of run-s in package-json, and this is make it very difficult to install the package in cloud server such as heroku, so when i run the deployement process in Heroku, i got this error
 npm ERR! ><EMAIL_ADDRESS>prepare
remote:        npm ERR! > run-s build
remote:        npm ERR! sh: 1: run-s: not found

so please can you make the package build simply by npm due there is no need to use npm-run-all for the moment as i see the implementation,

Can you describe the steps to reproduce the problem?
I used the example code from the repo in a new CRA project with the wrapper installed. I was able to build the project on Heroku without any errors. Otherwise you can always build locally npm run build and upload the build.

If you're getting node out of memory error during CRA build, you can set the config using this terminal command heroku config:set NODE_OPTIONS="--max_old_space_size=2560" -a <appName>


Typo fixes for the Workbox docs

R: @petele
See https://github.com/GoogleChrome/workbox/issues/1768

Whoops!
There were 13 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/tools/workbox/guides/configure-workbox.md#L184 - Consider adding a "was this page helpful?" widget to your page: https://developers.google.com/web/resources/widgets#helpful
src/content/en/tools/workbox/guides/configure-workbox.md#L25 - Common typo found: 'javascript' Should it be 'JavaScript'?
src/content/en/tools/workbox/guides/configure-workbox.md#L38 - Common typo found: 'javascript' Should it be 'JavaScript'?
src/content/en/tools/workbox/guides/configure-workbox.md#L54 - Common typo found: 'javascript' Should it be 'JavaScript'?
src/content/en/tools/workbox/guides/configure-workbox.md#L81 - Common typo found: 'javascript' Should it be 'JavaScript'?
src/content/en/tools/workbox/guides/configure-workbox.md#L109 - Common typo found: 'javascript' Should it be 'JavaScript'?
src/content/en/tools/workbox/guides/configure-workbox.md#L144 - Common typo found: 'javascript' Should it be 'JavaScript'?
src/content/en/tools/workbox/guides/configure-workbox.md#L169 - Common typo found: 'javascript' Should it be 'JavaScript'?
src/content/en/tools/workbox/guides/generate-service-worker/cli.md#L101 - Consider adding a "was this page helpful?" widget to your page: https://developers.google.com/web/resources/widgets#helpful
src/content/en/tools/workbox/guides/generate-service-worker/cli.md#L67 - Common typo found: 'javascript' Should it be 'JavaScript'?
src/content/en/tools/workbox/guides/generate-service-worker/cli.md#L16 - Common typo found: 'node' Should it be 'Node'?
src/content/en/tools/workbox/guides/generate-service-worker/cli.md#L9 - Common typo found: 'Service Worker' Should it be 'service worker'? Capitalize Service if it's the first word in the sentence.
src/content/en/tools/workbox/guides/generate-service-worker/cli.md#L33 - Common typo found: 'Service Worker' Should it be 'service worker'? Capitalize Service if it's the first word in the sentence.

:tada: This has been pushed live to https://developers.google.com/web/


Vet clinic database: query multiple tables

Vet clinic database: query multiple tables
Hi there 👋,
In this project, I :

Create a table named owners with the following columns:

id: integer (set it as autoincremented PRIMARY KEY)
full_name: string
age: integer

Create a table named species with the following columns:

id: integer (set it as autoincremented PRIMARY KEY)
name: string

Modify animals table:

Make sure that id is set as autoincremented PRIMARY KEY
Remove column species
Add column species_id which is a foreign key referencing species table
Add column owner_id which is a foreign key referencing the owners table

All this goes in schema.sql file.

Insert the following data into the owners table:

Sam Smith 34 years old.
Jennifer Orwell 19 years old.
Bob 45 years old.
Melody Pond 77 years old.
Dean Winchester 14 years old.
Jodie Whittaker 38 years old.

Insert the following data into the species table:

Pokemon
Digimon

Modify your inserted animals so it includes the species_id value:

If the name ends in "mon" it will be Digimon

All other animals are Pokemon

Modify your inserted animals to include owner information (owner_id):

Sam Smith owns Agumon.

Jennifer Orwell owns Gabumon and Pikachu.

Bob owns Devimon and Plantmon.

Melody Pond owns Charmander, Squirtle, and Blossom.

Dean Winchester owns Angemon and Boarmon.

These insertions and modifications happen in data.sql file.

Write queries (using JOIN) to answer the following questions:

What animals belong to Melody Pond?

List of all animals that are pokemon (their type is Pokemon).

List all owners and their animals, remember to include those that don't own any animal.

How many animals are there per species?

List all Digimon owned by Jennifer Orwell.

List all animals owned by Dean Winchester that haven't tried to escape.

Who owns the most animals?

All these codes are written in the queries.sql file.

Ooh 🤕  I did everything locally but forgot to push. I apologize. Let me push. Thanks @tresorsawasawa  for the correction


Add Eventbridge Tutorial

Issue #, if available:
Description of changes: Add Eventbridge tutorial and minor fixes in Pipes tutorial.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@A-Hilaly @jaypipes 🙏🏻 THEN WE'RE DONE :D


Adapt target selection based on app versions in PMO

There's a builtin logic in PMO in order to add scraping targets based on some app versions.
App will no longer be available on EKS so we need to adapt this logic.

List of targets to fix for eks clusters

Thread related to the way pmo can detect an EKS cluster:
https://gigantic.slack.com/archives/CN9LXS96U/p1695205780731749

Tested on snail/sample-customer:

Log in pmo:
{"caller":"github.com/giantswarm/micrologger@v1.0.0/logger.go:66","controller":"prometheus-meta-operator-cluster-api-controller","event":"update","level":"debug","loop":"0","message":"EKS cluster: ignoring all scraping targets in Prometheus scrape config","object":"org-sample/sample-customer","resource":"scrapeconfigs","time":"2023-09-20T14:39:40.093293+00:00","version":"114911023"}

@marieroque can you close this?

=> release prometheus-meta-operator v4.49.0


3 files that were left our from a previous PR fix file links

Docs Build status updates of commit 06bc624:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav/fin-graph/api/dynamics_customer_delete_defaultdimensions.md
:white_check_mark:Succeeded

dynamics-nav/fin-graph/api/dynamics_customer_get_defaultdimensions.md
:white_check_mark:Succeeded

dynamics-nav/fin-graph/api/dynamics_salescreditmemoline_delete.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix build validation errors
@edupont04
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!


Publishing to a subscriber causes rclc_executor_spin_some to return a fail code.

Issue template

Hardware description: ESP32CAM board
RTOS: FreeRTOS
Installation type: PlatformIO with the Arduino framework.
Version or commit hash: rolling

Steps to reproduce the issue
I have created a subscriber example on my fork of this repo that shows the problem.  The URL of the branch is https://github.com/AndyBlightLeeds/micro_ros_platformio/tree/add-subscriber-example.  Happy to add this example once the bug is fixed.

Clone the repo in the link and checkout the add-subscriber-example branch.
Navigate to the PlatformIO project https://github.com/AndyBlightLeeds/micro_ros_platformio/tree/add-subscriber-example/examples/micro-ros_subscriber
Open Main.cpp in your editor and set the SSID, SSID_PW and agent_ip values to suit your system.
Build and upload the project using pio run -t upload.
Start the micro-ROS agent on your PC.
Attach a serial monitor program to the ESP32CAM.
Start the ESP32CAM.  You should see the following output:st:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)␍␊
configsip: 0, SPIWP:0xee␍␊
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00␍␊
mode:DIO, clock div:2␍␊
load:0x3fff0030,len:1184␍␊
load:0x40078000,len:13232␍␊
load:0x40080400,len:3028␍␊
entry 0x400805e4␍␊
Started␍␊
Connected␍␊
Running␍␊
Looping␍␊

On your PC, open another window, source your ROS installation source /opt/ros/rolling/setup.bash.  Verify that the topic /cmd_vel is being published.
Send the following command:ros2 topic pub -1 /cmd_vel geometry_msgs/msg/Twist "{linear:{x: 1.0}, angular:{z: -1.0}}"

On the serial monitor, I get the following output:Looping␍␊
Received twist message␍␊
Looping␍␊
Failed status on line 126: 1. Continuing.␍␊
Looping␍␊
Failed status on line 126: 1. Continuing.␍␊

If the twist message is sent again, the text Received twist message is not seen again.

Expected behavior
The twist message should be received and the function rclc_executor_spin_some should not fail.  Subsequent twist messages should be processed.
Actual behavior
The function rclc_executor_spin_some fails and no further twist messages are handled.
Additional information
The code is based on the publisher example and there are a couple of #define values that can be set enable publisher only, subscriber only or both.  The publisher works fine, just the subscriber fails.
I have dealt with something like this before.  It would be great if the result code was more meaningful instead of 0 for OK and 1 for something has gone wrong.  For instance, if there is a resource issue caused by colcon.meta not being set correctly, you might return a different number.  It would also be great if the result codes were documented so we know what they mean.

Twist message is a pointer:
https://github.com/AndyBlightLeeds/micro_ros_platformio/blob/6d93c0658eb830447bd9b1edb7e36a7d917f2d51/examples/micro-ros_subscriber/src/Main.cpp#L25
And it is being referenced in the executor with no initialization:
https://github.com/AndyBlightLeeds/micro_ros_platformio/blob/6d93c0658eb830447bd9b1edb7e36a7d917f2d51/examples/micro-ros_subscriber/src/Main.cpp#L139C38-L139C47
Example of how to handle correctly messages and pointers:
https://github.com/micro-ROS/micro_ros_arduino/blob/iron/examples/micro-ros_subscriber/micro-ros_subscriber.ino

Many thanks for your quick and accurate reply.  I should have spotted it myself!
For future reference, the change was from this:
static geometry_msgs__msg__Twist *twist_msg;`

to this
static geometry_msgs__msg__Twist twist_msg;

I'll tidy this up and create a pull request for the new example.


Dist files no longer match src files

The /dist folder was last updated 9 months ago, while src was last updated much sooner. This creates bugs that wouldn't otherwise exist.

Hi @blazedd,
I haven't been developing in Angular for a while and this project is mostly unmaintained now. I see that I have committed a few refactor/bug fixes after v1.0.0. Are those refactors/bugs affecting you?


Fix size of .note.split section

The latest dtk release creates a .note.split section with a size too small because it does not take note alignment into account, causing objdiff to fail when trying to read the object file

Thank you!


New release

Hi,
Could we get a new release? I just stumbled upon this little gem and it is pretty sweet. I tried to folow the docs but it seems that the latest released version does not include the Rake task. It was easy to hack around but it would be great to have that provided by the library.

It has been a while, cut 0.2.0.

@dblock Weird that my bundler pulled the older version. Sorry for confusion and thanks.

I just did that. So not weird.


fix(card): add favourite icon and full length button

Description
add favourite icon on card. also show full length button when fav icon is present
Why
current UI causing flickering issues
Issue
https://github.com/eclipse-tractusx/portal-frontend/issues/464
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[ ] I have performed IP checks for added or updated 3rd party libraries
[ ] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[ ] I have added tests that prove my changes work
[ ] I have checked that new and existing tests pass locally with my changes
[ ] I have commented my code, particularly in hard-to-understand areas

@oyo can you review this PR?


Not able to get notification after a re-connect i.e. autoConnect = true

I connect with the device with the following:
BleGattConnectOptions(autoConnect = true, null, closeOnDisconnect = false)
Everything works fine; however, when the device disconnects with reason.isLinkLoss = true and then re-connects automatically, there are no new notifications from the device  :
_TxChar.getNotifications()
               .onEach {  Log.i(TAG, ">>>>>>>>>>>>UART data") }
               .catch { it.printStackTrace() }
               .onCompletion {  Log.e(TAG, ">>>>>>>>>>>>UART notification flow completed") }
               .launchIn(scope)

In other words, no "UART data" is printed, nor the 'UART notification flow completed' is printed.
Upon re-connect after the  'On connection state changed: STATE_CONNECTED, status: SUCCESS', there is nothing in the log.
Any ideas, what am I missing ?

Hi Alex,
Yes. I think so. Apparently the SDK enables the notifications as part of the .getNotifications() during a fresh CONNECT but fails to do so in the case of a reconnect. I was able to get the notifications working by externally enabling them.
The older Java SDK had an explicit public call to enableNotifications so it was very clear to a client they need to manage this aspect; however the Kotlin SDK is trying to do this implicitly but only does it half way.

OK, I get it. I'm also new to this library, took it over from a colleague of mine, so it will take some time before I learn enough to fix such isses.
I'm also working on refactoring it and releasing as 2.0. I want to make :client-android and :client-mock independent and optional, at least that's the plan. Some classes and methods may be renamed as well.

I contrasted the behavior with the older SDK behavior. The older SDK goes thru a full discovery and notification enablement. So I changed my implementation to do an explicit flow collection (as opposed to launchIn() ) and cache the resulting job. When I get a disconnect, I cancel this job and start fresh with .getNotifications(). This seems to have resolved the issue. Not sure, if this was the original intent behind the design of the API.

Great, thanks for the info!


Window moves to secondary monitor when changing resolution

When starting a game with the Display Size setting it moves the window to my secondary monitor. This still happens when I drag the window back to the main monitor and then change the resolution. The resolution changes but the window moves to the second monitor. I've also noticed that it appears to center it according to the dimensions of the primary monitor but on the secondary monitor. With this being that case much of the window is off screen (my primary monitor is much larger).
Any thoughts on what's doing this and if it's maybe an issue with my implementation?

See:
https://github.com/PunchablePlushie/godot-game-settings/pull/27

Applied the changes to my version and it works now, thx so much!

Fixed in #27.


grids/g/cookiecutter/ returns: Not found content

Hi there!
This url returns "Not Found"
https://www.djangopackages.com/grids/g/cookiecutter/ (Two Scoops of Django 1.8, page 21).

Closed at:
https://github.com/twoscoops/two-scoops-of-django-1.8/issues/47


Libcairo cannot be installed

Traceback (most recent call last):
  File "bot.py", line 26, in <module>
    import koreanbots
  File "C:\Users\water\AppData\Local\Programs\Python\Python38\lib\site-packages\koreanbots\__init__.py", line 16, in <module>
    from .client import Client
  File "C:\Users\water\AppData\Local\Programs\Python\Python38\lib\site-packages\koreanbots\client.py", line 28, in <module>
    from .http import HTTPClient
  File "C:\Users\water\AppData\Local\Programs\Python\Python38\lib\site-packages\koreanbots\http.py", line 31, in <module>
    from cairosvg import svg2png
  File "C:\Users\water\AppData\Local\Programs\Python\Python38\lib\site-packages\cairosvg\__init__.py", line 42, in <module>
    from . import surface  # noqa isort:skip
  File "C:\Users\water\AppData\Local\Programs\Python\Python38\lib\site-packages\cairosvg\surface.py", line 25, in <module>
    import cairocffi as cairo
  File "C:\Users\water\AppData\Local\Programs\Python\Python38\lib\site-packages\cairocffi\__init__.py", line 48, in <module>
    cairo = dlopen(
  File "C:\Users\water\AppData\Local\Programs\Python\Python38\lib\site-packages\cairocffi\__init__.py", line 45, in dlopen
    raise OSError(error_message)  # pragma: no cover
OSError: no library called "cairo" was found
no library called "libcairo-2" was found
cannot load library 'libcairo.so': error 0x7e
cannot load library 'libcairo.2.dylib': error 0x7e
cannot load library 'libcairo-2.dll': error 0x7e

이슈를 남겨주셔서 감사합니다!
곧 처리될테니 침착하게 기다려주세요!

@wonderlandpark  고쳤다메


Missing Photos in default Album Listing, even after successful load PLUS duplication of some other photos

I created an album containing 96 photos (actually it was 97 and i deleted one). Then i noticed

Some of my pictures were missing when i browsed page by page till the end of the album

Other symptoms

when i sorted the view the pictures i saw was missing came back
in the default view, the count of pictures is correct (both in the label as well as when i manually paged and counted each picture)
However i noticed that a couple of pictures repeated themselves in separate pages

Looks like a paging bug.

On dumping the $filters variable in the ApiPhotoController list_() function I noticed that

On initially clicking on the Album and performing a page load $filter is

{"sortBy":"dateUploaded,desc","album":"7","returnSizes":"960x180,870x870,180x180xCR","__route__":"\/photos\/album-7\/list"}

Scrolling down to the end of the Album causes the incremental load json query, which results in $filter being

{"sortBy":"dateTaken,asc","album":"7","__route__":"\/photos\/album-7\/list.json","returnSizes":"960x180,870x870,180x180xCR","page":"2"}

Surprising that the sortBy is different on the incremental load

The PhotoController::list_() function seems to want to set 'dateTake,asc' behaviour when listing an Album OR Tag versus default listing ... See code snippet below
    if($isAlbum || $isTags)
    {
      if(!isset($getParams['sortBy']))
        $additionalParams['sortBy'] = 'dateTaken,asc';

      if($isAlbum)
        $additionalParams['pageSize'] = '0';
    }

This IF condition is however not entered and $isAlbum and $isTag are both raising PHP Notice: Undefined variable errors in the error log. Could this be the problem?

While looking for client side behaviour, came across this code (4.0.2\tbx.js)
          load: function() {
            var _this = TBX.init.pages.photos, async = typeof(arguments[0]) === 'undefined' ? true : arguments[0], concat = _this.pageLocation.search.length == 0 ? '?' : '&';
            // since sort order for the API is static and onload changes the sort order for albums and gallery we need to mimic the controller behavior in JS
            if(_this.pageLocation.search.search('sortBy') === -1) {
              if(_this.pageLocation.pathname.search('/album-') === -1) // gallery
                _this.pageLocation.search += concat + 'sortBy=dateUploaded,desc';
              else // album
                _this.pageLocation.search += concat + 'sortBy=dateTaken,asc';
            }

            util.load(_this, async);
          },

This looks contrary to the server side code. The 'dateTaken,asc' behaviour is applied only to album listings. Tag listings (/tags-) and gallery listings both default to dateUploaded.
As expected, I cannot reproduce the original bug in either the gallery listing or tag listing as the incremental loads maintain the sorting behaviour of the initial load.

@jmathai, I can't find where $isAlbum and $isTag are to be set (on the server side). A simple text search of the code did not reveal any place where either of those variables were being assigned. Can you perhaps shed some light?


Drawer implementation, logout code refactoring.

added drawer implementation
added related pages for drawer
logout code refactoring

Refactored required.


Add release notes for 0.10.1

Signed-off-by: Matthew Heon<EMAIL_ADDRESS>

Manually merging, just docs


Hover events don't work in the death screen

If renamed items or entities are mentioned in death messages, you can hover over them to see corresponding tooltips. In vanilla this works in the death screen too. For items it displays the tooltip of the item as if it was in the inventory and for entites it displays the UUID. However with the mod this only works in the chat, not in the death screen. I know you cannot hover over text in death messages on LCE but was this functionality removed with the mod on purpose? I don't think it makes sense to remove it.

Fixed in version 1.6.6, thanks for reporting!


Update bundled JDK version (April 2024 Patch releases)

Description
Update bundled JDK version (April 2024 Patch releases)
Issues Resolved
Closes https://github.com/opensearch-project/documentation-website/issues/6967
Checklist

[ ] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dblock - Is this ok to release for 2.14?


[Snyk] Security upgrade electron from 29.1.4 to 29.3.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json

⚠ Warning
Failed to update the package-lock.json, please update manually before merging.

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

726/1000  Why? Recently disclosed, Has a fix available, CVSS 8.8
Improper Restriction of Operations within the Bounds of a Memory Buffer SNYK-JS-ELECTRON-6579648
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Outdated


TypeError: Cannot read properties of undefined (reading 'effect')

Reproduction
https://play.pinia.vuejs.org/#eNqNVN9v2jAQ/lesvBAmSFZ16iRGULeKh07aD7V9zIuJD+rOsS3boUyU/31nm4RAWVV4IL777rvvPnPZJl+1ztYNJJNkaivDtSMWXKOJoHJVlImzZTIrJa+1Mo5sSWPh3ikDZEeWRtVkkOWVaqQDkzk76AGtRz2oO1jaDqu55BRBpayUtNgpMBUdaTpsM1vCYNGsbpRc8hXWF32+NDwPv0SwEpAJtUp7BUgzzeM0qB0PDmotqAM8ETLVBmbbkw67ae7DvrAHTkZJHGhcU509WSXRp60nKfcJtGdCQsTHwoA+UiZ5eM7A1uOFUc8WDXpC8KiFXqPpOYO1U0rYMdU8lj06p+0kzysmEc9A8LXJJLhc6jp/VXN9lV1lF7ngixwb5Vwy2By3wYoxg/o97C30+mN28Sn7HFjXl3vS2rN60l0pd2iLs+g9OndiSqVqzQWYX9pxvJsjc6gQ6vl7iDnTQCexeoTqz5n4k91E1b8NoH1r6I3lqFmBi+n5/U/Y4HOXrBVrBKLfSN4B/m8arzHCvjWSoeweLqi9DXfM5erBzjcOpG2H8kKDGwEfbL55Y/SD3MvssufiYXXQwm51GCy5PFmzdnU6kIFll8TuYatKCZuQjkvU7WrRp0x9/wHVehC0p0NSzFqlsa6/GIVvlO7ThNhG+wYTsqTCtldFCEi6EMBOw+pZgtkHY2znt9Y/CHAEqkdq3C22pLKCyTwcbXsmL0Q2QqAC/9Mrq5WklZozjtN0xSSeH/5qyG7vMcaoUBIvhUHMtHQvBK86uMEO1P57mB9fgFELsiMmHRazzoAT0ZgmH/Czn+4Vz48zWlvKouM8N9F/mA2+nI0k294djY4ljc6xjfoz+cM5Ydgk3lGy+wcHkg9N
Steps to reproduce the bug
I need to store some data in the store, but it is not ref type, also need to initialize null, but now the error, this is a big destructive update, I think you should set to? .effect, like some echarts or monaco editor examples, is not a ref and has to wait for some work to be done, so it starts out null or undefined, which I think the plugin should allow
Expected behavior

Actual behavior
I need to store some data in the store, but it is not ref type, also need to initialize null, but now the error, this is a big destructive update, I think you should set to? .effect, like some echarts or monaco editor examples, is not a ref and has to wait for some work to be done, so it starts out null or undefined, which I think the plugin should allow
Additional information
I think it should be compatible with previous behavior, ref type or  change to ? .effect  https://github.com/vuejs/pinia/commit/67d31094784cc3bd256b0636b79dc8e421f6c3fb#diff-a4019455d4214f4ae04e5e463a0b67af62b68c0267b436ab16beeaaf45bc32d3R105

Duplicate of https://github.com/vuejs/pinia/issues/2848


Fixed CVEs for PostgreSQL and ES 7 (testing).

Pull Request type

[ x] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] WHOSUSING.md
[ ] Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.
Changes in this PR
Update postgres-persistence to fix critical vulnerability in PostgreSQL SQL package. https://www.cve.org/CVERecord?id=CVE-2024-1597
Update test-utils with current version of Elastic Search packages.
Describe the new behavior from this PR, and why it's needed
Issue #84
Alternatives considered
None.
Describe alternative implementation you have considered
None.

@denniscodes can you resolve the conflicts?

Not sure about the force push. I used the push from IntelliJ and now I see force-pushed.


Added American to English date

Is this really necessary? I mean I know I have needed it, but is it as common as I think it is? 🤣

True, I have to use it a fair amount but that might just be because i'm english

Community, give us your opinions! I, for one, am not against this in all honesty. We can generalize the name to make it apply both ways (I mean if you reverse an English date you get an American one and vise versa), so we can call it something like switchDayMonth or something.

Sounds good!

Humm... I'm from Brazil, here we have a lot of this problem. Btw, if you will call it for switchDayMonth, there is a more elegant way.
const switchDayMonth = (date) => date.split('/').reverse().join('/');
// switchDayMonth("31/12/2017") -> "2017/12/31"
// switchDayMonth("2017/12/31") -> "31/12/2017"

The PR has been sitting here for a while, I'll merge and deal with the suggested changes myself!


Login window in the popup is not good in Android with v2.1.6

I have attached the screenshot in this issue. In android I have to scroll horizontally to get the field properly. Is there any way we can have these screen fit properly in the popup ?

I thing, it's opening desktop site instead of mobile site.

I made a pull request to support mobile version site in the popup.
https://github.com/fullstackreact/react-native-oauth/pull/130


Navigation RecyclerView items offset after full screen

First of all let me say thank you for this code. It works great!
In my app I have the need to set full screen using:
if (Global.prefFullScreen && Build.VERSION.SDK_INT >= 18) {
            mDecorView.setSystemUiVisibility(
                    View.SYSTEM_UI_FLAG_LAYOUT_STABLE
                            | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
                            | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
                            | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar
                            | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar
                            | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
            getSupportActionBar().hide();
        } else if (Global.prefFullScreen) {
            mDecorView.setSystemUiVisibility(
                    View.SYSTEM_UI_FLAG_LAYOUT_STABLE
                            | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
                            | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
                            | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar
                            | View.SYSTEM_UI_FLAG_FULLSCREEN);// hide status bar
            getSupportActionBar().hide();
        }

Everything works fine but when I exit full screen
mDecorView.setSystemUiVisibility(0);
        getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
        getSupportActionBar().show();

the navigation items have a little gap at the top and do not sit under the action bar as when it starts.
This is what it looks like when the app starts up and everything is OK

and this is what it looks like after the full screen

I cannot figure out where and when or what to change. Can you help me out?
Cheers,
Tim

Hello there:
Go to fragment_navigation_drawer.xml and remove:
android:fitsSystemWindows="true"
Hope this helps :)

Awesome! Works great. Thank you.


SC2 game engine (Linux v4.0) gets stuck for Z v Z

For the Z v Z mode (with both sides being AI; or one side AI and the other built-in bot) using SC2 Linux version (v 4.0), the game engine simply gets stuck and the code cannot run at all.  We found the bug shows up whenever using the "raw interface" for per-unit-control provided by the s2client-proto (and everything seems fine when using the pure ui control interface).
For the SC2 Windows or Mac version with the newest game binary, the bug still exists, but can be work-arounded by deselecting "Select All Larvas" in the Gameplay option UI.
So here are the questions:

Can we do the deselecting in SC2 Linux version to work-around the bug?
Or is this bug fixed in a newer Linux SC2 version?

Thanks

Related: #234


Results are corrupted when running multiple sessions on one GPU

Tensorflow generates corrupted results when running two sessions concurrently on gpu. Each session has a separate graph.
Code (thx to @bnoodle):
import tensorflow as tf
import numpy as np
from threading import Thread, Event

size = 10240
def myfunc(sess, name):
  values = set()
  count = 0
  while True:
    count += 1
    v = sess.run(name + "/matmul4:0", feed_dict={name + "/input:0": np.ones((1,1))})
    v = float(np.squeeze(v))
    old = len(values)
    values.add(v)
    if len(values) != old:
      print(values, name, count)

def create_graph(sess, name):
  with sess.graph.as_default():
    with tf.variable_scope(name):
      input = tf.placeholder(tf.float32, shape=[1,1], name = "input")
      tf.set_random_seed(1)

      matrix1 = tf.Variable(tf.truncated_normal([1, size]), name = 'matrix1')
      matrix2 = tf.Variable(tf.truncated_normal([size, size]), name = 'matrix2')
      matrix4 = tf.Variable(tf.truncated_normal([size, 1]), name = 'matrix4')

      matmul1 = tf.matmul(input, matrix1, name = 'matmul1')
      matmul2 = tf.matmul(matmul1, matrix2, name = 'matmul2')
      matmul4 = tf.matmul(matmul2, matrix4, name = "matmul4")
      sess.run(tf.global_variables_initializer())

sess1 = tf.Session()
with tf.device("/gpu:0"):
  create_graph(sess1, "s1")

sess2 = tf.Session()
with tf.device("/gpu:0"):
  create_graph(sess2, "s2")

t1 = Thread(target=myfunc, args=(sess1, 's1'))
t1.start()

t2 = Thread(target=myfunc, args=(sess2, 's2'))
t2.start()

sess1 should output -17430.388671875, sess2 should output -968.17529296875. But the output sets are nondeterministically growing:
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:910] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 0 with properties:
name: GRID K520
major: 3 minor: 0 memoryClockRate (GHz) 0.797
pciBusID 0000:00:03.0
Total memory: 3.94GiB
Free memory: 3.91GiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GRID K520, pci bus id: 0000:00:03.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GRID K520, pci bus id: 0000:00:03.0)
((set([set([-968.17529296875]), 's2', 1-17430.388671875]))
, 's1', 1)
(set([-968.17529296875, -903.794921875]), 's2', 2)
(set([-17430.388671875, -17302.84375]), 's1', 2)
(set([-968.17529296875, -903.794921875, 2173.232177734375]), 's2', 511)
(set([-968.17529296875, -903.794921875, 2173.232177734375,<PHONE_NUMBER>890625]), 's2', 1723)
(set([-17430.388671875, -17302.84375, -211.60272216796875]), 's1', 1961)
(set([-968.17529296875, -903.794921875, 2173.232177734375,<PHONE_NUMBER>890625, -30.6038818359375]), 's2', 2180)
(set([-17430.388671875, -17302.84375, -1592.9022216796875, -211.60272216796875]), 's1', 2722)
(set([-968.17529296875, -903.794921875, 2173.232177734375, -287.991455078125, -30.6038818359375,<PHONE_NUMBER>890625]), 's2', 3337)
...

Tensorflow serving has a similar corrupted results issue https://github.com/tensorflow/serving/issues/335, but this seems to be a tensorflow gpu memory problem. With @yaroslavvb memory_util.py, it seems when sess1 and sess2 interleaving in memory allocation/deallocation and gpu memory address (the second to last column in the log) is reused, results will be corrupted. The shortest trace I found is
(set([-968.17529296875]), 's2', 1)
('**************', 's2', 2)
(set([-17430.388671875]), 's1', 1)
('**************', 's1', 2)
(set([-968.17529296875, -875.1435546875]), 's2', 2)
       11                     s2/matmul1(44-gpu_bfc)       40960       40960 gpu_bfc<PHONE_NUMBER>0 MemoryLogTensorAllocation
       23                     s1/matmul1(46-gpu_bfc)       40960       81920 gpu_bfc<PHONE_NUMBER>0 MemoryLogTensorAllocation
       26                     s2/matmul2(47-gpu_bfc)       40960      122880 gpu_bfc<PHONE_NUMBER>0 MemoryLogTensorAllocation
       28                     s2/matmul1(44-gpu_bfc)      -40960       81920 gpu_bfc -1 MemoryLogTensorDeallocation
       31                     s2/matmul2(47-gpu_bfc)      -40960       40960 gpu_bfc -1 MemoryLogTensorDeallocation
       35                     s1/matmul2(49-gpu_bfc)       40960       81920 gpu_bfc<PHONE_NUMBER>0 MemoryLogTensorAllocation
       37                     s1/matmul1(46-gpu_bfc)      -40960       40960 gpu_bfc -1 MemoryLogTensorDeallocation
       40                     s1/matmul2(49-gpu_bfc)      -40960           0 gpu_bfc -1 MemoryLogTensorDeallocation
       61                     s2/matmul1(52-gpu_bfc)       40960       40960 gpu_bfc<PHONE_NUMBER>0 MemoryLogTensorAllocation
       66                     s2/matmul2(53-gpu_bfc)       40960       81920 gpu_bfc<PHONE_NUMBER>0 MemoryLogTensorAllocation
       71                     s2/matmul1(52-gpu_bfc)      -40960       40960 gpu_bfc -1 MemoryLogTensorDeallocation
       80                     s2/matmul2(53-gpu_bfc)      -40960           0 gpu_bfc -1 MemoryLogTensorDeallocation
       81                     s1/matmul1(56-gpu_bfc)       40960       40960 gpu_bfc<PHONE_NUMBER>2 MemoryLogTensorAllocation
       85                     s1/matmul2(57-gpu_bfc)       40960       81920 gpu_bfc<PHONE_NUMBER>0 MemoryLogTensorAllocation
       87                     s1/matmul1(56-gpu_bfc)      -40960       40960 gpu_bfc -1 MemoryLogTensorDeallocation
       90                     s1/matmul2(57-gpu_bfc)      -40960           0 gpu_bfc -1 MemoryLogTensorDeallocation

System Information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow)?: Yes
OS Platform and Distribution (i.e. Linux Ubuntu 16.0): Ubuntu 14.04
TensorFlow installed from (source or binary)?: binary
TensorFlow version (use command below): 1.0.1
Bazel version (if compiling from source):
CUDA/cuDNN version: cuda 8.0/cudnn5.1.5
GPU Model and Memory: GRID K520, 4GB
Exact command to reproduce: python multi_session.py

Note: Please let us triagers take care of tagging team members for you.
I'm noticing that the example code breaks the contract mentioned in session.h:
/// A Session allows concurrent calls to Run(), though a Session must
/// be created / extended by a single thread.
///
/// Only one thread must call Close(), and Close() must only be called
/// after all other calls to Run() have returned.

IIUC tf.Session is meant to be thread safe in the sense that you're allowed to use a tf.Session object from multiple threads. I'm not aware of the documentation making any promises for thread safety with multiple tf.Session objects. There's also parameters like intra_op_parallelism_threads that can help scale sessions to multiple threads.
Does your example work if the session objects are creating within the spawned threads, rather than being created in the main thread and handed off?
If not, then what is your use case for having multiple sessions running in parallel?

Thx @jart. The main use case to have multiple sessions is in tensorflow serving inference. Each saved model will be loaded and a new session is created. When a model is no longer used, it can be offloaded and the corresponding session is deleted. As in https://github.com/tensorflow/serving/issues/335, multiple people have this use case and see wrong results.
I also modified the multi_session.py to call create_graph in the spawned threads. This still generates corrupted results.
For thread safety of session, I noticed running multiple sessions on CPU using multiple serving threads in C++ has no issues.

@nfiedel https://github.com/tensorflow/serving/issues/335 sounds concerning. Based on my cursory glance, this seems like an issue in Serving. Do you believe this is actionable on TensorFlow?

Issue is fixed! Thanks to tensorflow commit https://github.com/caisq/tensorflow/commit/fccaac3d1bf1391756fae67f1979afe598d10ed1, I rerun the reported python test program, results are consistent. cc @caisq

@dongwang218 Could you share the snippet of your code to make it work?
It seems now multiple sessions can be run on the same gpu avoiding interference each other.
And, cannot find the documentation for HOW.
Thank you in advance.

@hyeokhyen caisq's fix is in tensorflow >=1.4, my test python code in the first post works afterwards.


GO:0071554 cell wall organization and biogenesis taxon restrictions

Should have  never in vertebrates (minimally)?
Human 6 annotations, D. rereio 8 annotations  etc
Or only in fungi, plants bacteria?
Do dicty have a "cell wall" @pfey03 ? (7 annotations purpureum 21 discoideum)
@vanaukenk C.elegans don't do they?  (11 annotations)

@ValWood
In some cases here I think we're looking at annotations to antimicrobials, i.e. immune effectors.
We could make a ticket in the go-annotation tracker to do more thorough annotation review, but there does seem to be some legitimate annotation as part of an evolved host defense process of cell wall catabolism.

I still think these types of annotation are strange (both host defense responses and pathogen host interactions)
There should be clear pathogen-host and host-defense response branches  in the ontology like there used to be (IMHO). I really wish we could go return to this. Otherwise in the future  annotations will become (are already) very confusing. - I  wonder even if the existing annotations include the  taxon ID of the pathogen or host for example.
In addition to being confusing, this representation makes annotation difficult and will make it increasingly difficult to implement  taxon checks.
Not many people actively annotating pathogens right now but   when we are this will become a bigger problem.

Added to agenda for next QC/QA call.

I'm still confused. Do we have examples of vertebrates degrading cell walls (other than by digestion). Would people expect to see  digestive enzymes annotated to "cell wall catabolism"? of the ingested organism (this is similar).
I wouldn't refer to the breakdown of another organism carbohydrate component as "cell wall catabolism", but it isn't easy to see how to prevent it ...

For now, put the taxon restriction on
GO:0042546    cell wall biogenesis

Added never in vertebrates

@vanaukenk I'm working with @ValWood on tickets, I fixed this one.


New version: Ryujinx.Ryujinx version 1.1.1354

Created by 🥟 Dumplings in workflow run #2932.
Logs
Updated: 1.1.1353 → 1.1.1354
Cannot validate argument on parameter 'ChatID'. The argument is null, empty, or consists of only white-space characters. Provide an argument that contains non white-space characters, and then try the command again.
Submitting WinGet manifests
Cannot validate argument on parameter 'ChatID'. The argument is null, empty, or consists of only white-space characters. Provide an argument that contains non white-space characters, and then try the command again.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\Ryujinx.exe returned exit code: -532462766

Automated error analysis suggests -532462766 may mean EXCEPTION_COMPLUS (Unhandled Exception)
(Automated response - build 887.)


Chinese curriculum files needing partial or full translations

The following is a list of tasks needed to help get several Chinese curriculum files' translations updated/added once PR #40462 is merged.
Update
The related PR is merged and this is ready for work.

[x] Task No. 1: The following file needs a full translation of description, instructions and all tests' texts.

Details of the task

https://github.com/freeCodeCamp/freeCodeCamp/edit/master/curriculum/challenges/chinese/10-coding-interview-prep/rosetta-code/zhang-suen-thinning-algorithm.md

[x] Task No. 2: The following file needs a re-translation of some of the

 blocks in the description section.

Details of the task

https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/chinese/10-coding-interview-prep/rosetta-code/execute-a-markov-algorithm.md

[x] Task No. 3: The following needs a change to one link's text in the description section.

Details of the task

https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/chinese/10-coding-interview-prep/data-structures/breadth-first-search.md

[x] Task No. 4: Each of the following files needs a full translation of description, instructions and all the test texts due to problems with formatting or content being out-of-date.

Details of the task

https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-71-ordered-fractions.md
https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-72-counting-fractions.md
https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-73-counting-fractions-in-a-range.md

[ ] Task No. 5: The following are files that were missing from the original translation effort because the English version did not exist at the time.  These files were recently added to the chinese folder and need full translations of the description, instructions and all tests' texts

Details of the task

02-javascript-algorithms-and-data-structures/basic-javascript/assigning-the-value-of-one-variable-to-another.md
06-quality-assurance/quality-assurance-and-testing-with-chai/simulate-actions-using-a-headless-browser.md
10-coding-interview-prep/data-structures/check-if-binary-search-tree.md
10-coding-interview-prep/rosetta-code/cumulative-standard-deviation.md
10-coding-interview-prep/rosetta-code/cusip.md
10-coding-interview-prep/rosetta-code/cut-a-rectangle.md
10-coding-interview-prep/rosetta-code/dot-product.md
10-coding-interview-prep/rosetta-code/fizzbuzz.md
10-coding-interview-prep/rosetta-code/generator-exponential.md
10-coding-interview-prep/rosetta-code/k-d-tree.md
10-coding-interview-prep/rosetta-code/kaprekar-numbers.md
10-coding-interview-prep/rosetta-code/knapsack-problem-0-1.md
10-coding-interview-prep/rosetta-code/knapsack-problem-bounded.md
10-coding-interview-prep/rosetta-code/knapsack-problem-continuous.md
10-coding-interview-prep/rosetta-code/knapsack-problem-unbounded.md
10-coding-interview-prep/rosetta-code/knights-tour.md
10-coding-interview-prep/rosetta-code/largest-int-from-concatenated-ints.md
10-coding-interview-prep/rosetta-code/last-friday-of-each-month.md
10-coding-interview-prep/rosetta-code/last-letter-first-letter.md
10-coding-interview-prep/rosetta-code/leap-year.md
10-coding-interview-prep/rosetta-code/least-common-multiple.md
10-coding-interview-prep/rosetta-code/left-factorials.md
10-coding-interview-prep/rosetta-code/letter-frequency.md
10-coding-interview-prep/rosetta-code/levenshtein-distance.md
10-coding-interview-prep/rosetta-code/linear-congruential-generator.md
10-coding-interview-prep/rosetta-code/long-multiplication.md
10-coding-interview-prep/rosetta-code/longest-common-subsequence.md
10-coding-interview-prep/rosetta-code/longest-increasing-subsequence.md
10-coding-interview-prep/rosetta-code/longest-string-challenge.md
10-coding-interview-prep/rosetta-code/look-and-say-sequence.md
10-coding-interview-prep/rosetta-code/loop-over-multiple-arrays-simultaneously.md
10-coding-interview-prep/rosetta-code/lu-decomposition.md
10-coding-interview-prep/rosetta-code/lucas-lehmer-test.md
10-coding-interview-prep/rosetta-code/ludic-numbers.md
10-coding-interview-prep/rosetta-code/luhn-test-of-credit-card-numbers.md
10-coding-interview-prep/rosetta-code/lychrel-numbers.md
10-coding-interview-prep/rosetta-code/lzw-compression.md
10-coding-interview-prep/rosetta-code/search-a-list-of-records.md
10-coding-interview-prep/rosetta-code/self-describing-numbers.md
10-coding-interview-prep/rosetta-code/self-referential-sequence.md
10-coding-interview-prep/rosetta-code/semiprime.md
10-coding-interview-prep/rosetta-code/set-consolidation.md
10-coding-interview-prep/rosetta-code/set-of-real-numbers.md
10-coding-interview-prep/rosetta-code/sha-1.md
10-coding-interview-prep/rosetta-code/sha-256.md
10-coding-interview-prep/rosetta-code/sort-an-array-of-composite-structures.md
10-coding-interview-prep/rosetta-code/sort-disjoint-sublist.md
10-coding-interview-prep/rosetta-code/sort-stability.md
10-coding-interview-prep/rosetta-code/sort-using-a-custom-comparator.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-bead-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-bogosort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-cocktail-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-comb-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-gnome-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-pancake-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-permutation-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-shell-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-stooge-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-strand-sort.md
10-coding-interview-prep/rosetta-code/soundex.md
10-coding-interview-prep/rosetta-code/spiral-matrix.md
10-coding-interview-prep/rosetta-code/split-a-character-string-based-on-change-of-character.md
10-coding-interview-prep/rosetta-code/state-name-puzzle.md
10-coding-interview-prep/rosetta-code/stern-brocot-sequence.md
10-coding-interview-prep/rosetta-code/straddling-checkerboard.md
10-coding-interview-prep/rosetta-code/stream-merge.md
10-coding-interview-prep/rosetta-code/strip-control-codes-and-extended-characters-from-a-string.md
10-coding-interview-prep/rosetta-code/subleq.md
10-coding-interview-prep/rosetta-code/sudoku.md
10-coding-interview-prep/rosetta-code/sum-digits-of-an-integer.md
10-coding-interview-prep/rosetta-code/sum-multiples-of-3-and-5.md
10-coding-interview-prep/rosetta-code/sum-of-a-series.md
10-coding-interview-prep/rosetta-code/sum-of-squares.md
10-coding-interview-prep/rosetta-code/sum-to-100.md
10-coding-interview-prep/rosetta-code/sutherland-hodgman-polygon-clipping.md
10-coding-interview-prep/rosetta-code/symmetric-difference.md
10-coding-interview-prep/rosetta-code/word-frequency.md
02-javascript-algorithms-and-data-structures/basic-javascript/assigning-the-value-of-one-variable-to-another.md
06-quality-assurance/quality-assurance-and-testing-with-chai/simulate-actions-using-a-headless-browser.md
10-coding-interview-prep/data-structures/check-if-binary-search-tree.md
10-coding-interview-prep/rosetta-code/cumulative-standard-deviation.md
10-coding-interview-prep/rosetta-code/cusip.md
10-coding-interview-prep/rosetta-code/cut-a-rectangle.md
10-coding-interview-prep/rosetta-code/dot-product.md
10-coding-interview-prep/rosetta-code/fizzbuzz.md
10-coding-interview-prep/rosetta-code/generator-exponential.md
10-coding-interview-prep/rosetta-code/k-d-tree.md
10-coding-interview-prep/rosetta-code/kaprekar-numbers.md
10-coding-interview-prep/rosetta-code/knapsack-problem-0-1.md
10-coding-interview-prep/rosetta-code/knapsack-problem-bounded.md
10-coding-interview-prep/rosetta-code/knapsack-problem-continuous.md
10-coding-interview-prep/rosetta-code/knapsack-problem-unbounded.md
10-coding-interview-prep/rosetta-code/knights-tour.md
10-coding-interview-prep/rosetta-code/largest-int-from-concatenated-ints.md
10-coding-interview-prep/rosetta-code/last-friday-of-each-month.md
10-coding-interview-prep/rosetta-code/last-letter-first-letter.md
10-coding-interview-prep/rosetta-code/leap-year.md
10-coding-interview-prep/rosetta-code/least-common-multiple.md
10-coding-interview-prep/rosetta-code/left-factorials.md
10-coding-interview-prep/rosetta-code/letter-frequency.md
10-coding-interview-prep/rosetta-code/levenshtein-distance.md
10-coding-interview-prep/rosetta-code/linear-congruential-generator.md
10-coding-interview-prep/rosetta-code/long-multiplication.md
10-coding-interview-prep/rosetta-code/longest-common-subsequence.md
10-coding-interview-prep/rosetta-code/longest-increasing-subsequence.md
10-coding-interview-prep/rosetta-code/longest-string-challenge.md
10-coding-interview-prep/rosetta-code/look-and-say-sequence.md
10-coding-interview-prep/rosetta-code/loop-over-multiple-arrays-simultaneously.md
10-coding-interview-prep/rosetta-code/lu-decomposition.md
10-coding-interview-prep/rosetta-code/lucas-lehmer-test.md
10-coding-interview-prep/rosetta-code/ludic-numbers.md
10-coding-interview-prep/rosetta-code/luhn-test-of-credit-card-numbers.md
10-coding-interview-prep/rosetta-code/lychrel-numbers.md
10-coding-interview-prep/rosetta-code/lzw-compression.md
10-coding-interview-prep/rosetta-code/search-a-list-of-records.md
10-coding-interview-prep/rosetta-code/self-describing-numbers.md
10-coding-interview-prep/rosetta-code/self-referential-sequence.md
10-coding-interview-prep/rosetta-code/semiprime.md
10-coding-interview-prep/rosetta-code/set-consolidation.md
10-coding-interview-prep/rosetta-code/set-of-real-numbers.md
10-coding-interview-prep/rosetta-code/sha-1.md
10-coding-interview-prep/rosetta-code/sha-256.md
10-coding-interview-prep/rosetta-code/sort-an-array-of-composite-structures.md
10-coding-interview-prep/rosetta-code/sort-disjoint-sublist.md
10-coding-interview-prep/rosetta-code/sort-stability.md
10-coding-interview-prep/rosetta-code/sort-using-a-custom-comparator.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-bead-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-bogosort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-cocktail-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-comb-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-gnome-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-pancake-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-permutation-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-shell-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-stooge-sort.md
10-coding-interview-prep/rosetta-code/sorting-algorithms-strand-sort.md
10-coding-interview-prep/rosetta-code/soundex.md
10-coding-interview-prep/rosetta-code/spiral-matrix.md
10-coding-interview-prep/rosetta-code/split-a-character-string-based-on-change-of-character.md
10-coding-interview-prep/rosetta-code/state-name-puzzle.md
10-coding-interview-prep/rosetta-code/stern-brocot-sequence.md
10-coding-interview-prep/rosetta-code/straddling-checkerboard.md
10-coding-interview-prep/rosetta-code/stream-merge.md
10-coding-interview-prep/rosetta-code/strip-control-codes-and-extended-characters-from-a-string.md
10-coding-interview-prep/rosetta-code/subleq.md
10-coding-interview-prep/rosetta-code/sudoku.md
10-coding-interview-prep/rosetta-code/sum-digits-of-an-integer.md
10-coding-interview-prep/rosetta-code/sum-multiples-of-3-and-5.md
10-coding-interview-prep/rosetta-code/sum-of-a-series.md
10-coding-interview-prep/rosetta-code/sum-of-squares.md
10-coding-interview-prep/rosetta-code/sum-to-100.md
10-coding-interview-prep/rosetta-code/sutherland-hodgman-polygon-clipping.md
10-coding-interview-prep/rosetta-code/symmetric-difference.md
10-coding-interview-prep/rosetta-code/word-frequency.md

@freeCodeCamp/chinese this is ready for work.

Thanks @RandellDawson for the detailed list.
@miyaliu666  Lemme know if you'd like to keep these for the live-stream workshop session in this weekend.
If not, I'll work on it starting from this evening. Please expect an update by the end of this weekend.

I am also preparing audits like I did last time for the various curriculum sections.  I hope to have them posted as GitHub issues later tonight (my time).

@RandellDawson will make updated commits to a few tasks. I'll meet with @S1ngS1ng soon so we can work on the finalized ones first.

@RandellDawson Just noticed a discrepancy while working on task #5 listed above.
For 06-quality-assurance/quality-assurance-and-testing-with-chai/simulate-actions-using-a-headless-browser.md:

Chinese version: https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/chinese/06-quality-assurance/quality-assurance-and-testing-with-chai/simulate-actions-using-a-headless-browser.md
English version: https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/english/06-quality-assurance/quality-assurance-and-testing-with-chai/simulate-actions-using-a-headless-browser.md

Note that the id doesn't match either.
While the live one seems to align w/ the Chinese version: https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-and-testing-with-chai/simulate-actions-using-a-headless-browser
I am a bit confused here. Is it like, the English version was updated recently and yet to be deployed? Please lemme know which version I should go with.
Thanks

@S1ngS1ng PR https://github.com/freeCodeCamp/freeCodeCamp/pull/40330 (merged 7 days ago) changed 3  challenges related to testing headless browser.  The meta.json file was updated to reflect the correct order (which is why the challengeIDs are different between the English and Chinese versions).  These changes have not been deployed to production yet.

@raisedadead I think we can close this issue now that all the translations are performed on Crowdin and we have the various QA checks in place to warn about code block differences and other changes that occur in the English source for these files.  The original intent of the issue was to have PRs created to fix any discrepancies.  Some were created before we started really using Crowdin, but none are made now outside of Crowdin.


Run locally?

Was just wondering if i can run this locally?

Was trying to figure this out too, surely it must be possible without a togetherai api key?

Looks like it's currently hardcoded to use togetherai, but actually only needs any openai compatible endpoint: https://github.com/togethercomputer/MoA/blob/main/utils.py#L28

The only method I can think of if getting something that mimics together ai's api functionality and change the endpoints in the repo.

@sammcj that's what I was thinking as well

Something like this I think https://github.com/togethercomputer/MoA/pull/12

i had a quick go at this as well over here: https://github.com/togethercomputer/MoA/pull/13
it is not very configurable, but if you have an openai compatible BE hosting several models, you can just set OPENAI_API_BASE and update the model names in bot.py. i was using LM Studio and added additional models in playground. depending on your hardware, might be tough to get reasonable models to fit in VRAM.
should be easy to split out a streaming call for the aggregator as well.

Got it all working - https://github.com/sammcj/MoA

https://github.com/togethercomputer/MoA/pull/17

@IsThatYou  hi, for the function https://github.com/togethercomputer/MoA/blob/main/utils.py#L99, in fact, it is a compatiable openai api for backend fastchat or vllm, which supports various open-llms, am I right ? It is not a true original OpenAI ?

@IsThatYou hi, for the function https://github.com/togethercomputer/MoA/blob/main/utils.py#L99, in fact, it is a compatiable openai api for backend fastchat or vllm, which supports various open-llms, am I right ? It is not a true original OpenAI ?

That's correct. We haven't tested with other APIs but it should be good with most openai compatible api.


Error: ImportError: cannot import name 'cast' from partially initialized module 'keras.src.backend' (most likely due to a circular import)

ImportError: cannot import name 'cast' from partially initialized module 'keras.src.backend' (most likely due to a circular import)

Hi @NOORLEICESTER ,
The import path you're using seems unusual for Keras. Generally, backend functions are accessed through tensorflow.keras.backend or keras.backend if you're using standalone Keras. Ensure you're importing cast correctly, typically:
from tensorflow.keras.backend import cast
# or, if you're using standalone Keras
# from keras.backend import cast

If you're trying to access a custom function or a function from a different location, verify the path and module initialization.
Make sure that your environment is correctly set up and that you have the right versions of TensorFlow and Keras installed. Issues might arise if there are mismatches or if the installation is corrupted.
To check your TensorFlow and Keras version:
pip show tensorflow keras

To update TensorFlow and Keras:
pip install --upgrade tensorflow keras

And we see that the issue template has not been filled, could you please do so as it helps us analyze the issue [tf version, steps followed before you ran into this error or stand alone code/colab gist to reproduce the issue faced.
Thank you!

in my case tensorflow 2.13 was working fine with keras 2.14.0, but for randomly downgrading for some
requirement, it showed "cast" error, I have tried all method to reinstall keras 2.14 but error was still
there. then I have deleted
/anaconda3/envs/tf1/lib/python3.10/site-packages/keras
folder (for base env, it looks like "/usr/local/lib/python3.10/dist-packages/keras") and reinstalled with
pip install keras==2.14.0
and restarted the kernel
then it worked. Basically it was a conflict for randomly upgrading and downgrading
thank you!


Validation with dynamic values in an array

Validation with dynamic values in an array
I need to validate two elements of an array. They refer to the geoLocalization information that goes to MongoDB, in the following format:
Form: {
    GeoLocation: {
       Coordinates: [
          '',
          ''
       ]
    }
}
But some $properties of vuelidate are not updated to the "geoLocation.coordinates[x]" property.
See the example in jsfiddle: https://jsfiddle.net/xereda/b5v4faqf/13/
Thank you for your feedback,

It starts working with explicit calls to $touch
    v-on:input="$v.field.array[0].$touch()"

Yeah, I think I did it. Watch:

Ok, I got it. There was no need to enter the function call definition completely:

But now we come to another problem. I can not get the two errors. Analyze the simulation I did:

Will it be released at<EMAIL_ADDRESS>

@xereda It will be released probably at<EMAIL_ADDRESS>but you got it almost right.

Thank you. Congratulations again for the great work!

Fixed in v0.4.0


[ArchLinux Testing]  repackaged mesa and libglvnd break glapi.c / glapi.h

The update of mesa and libglvnd from versions mesa-19.2.1-1 and libglvnd-1.2.0-2 to mesa-19.2.1-2 and libglvnd-1.2.0-3 break the build in the glapi.c and glapi.h files:
I don't quite know wether ArchLinux or wlroots is at fault here, which is why I first reported it here. If this is not a wlroots problem I will instead report it in the ArchLinux bug tracker.
ArchLinux changed the providing package of /usr/include/EGL/eglext.h from mesa to libglvnd. Since /usr/include/EGL/eglmesaext.h is provided by mesa, which is not a dependency of libglvnd, <EGL/eglext.h> no longer automatically includes <EGL/eglmesaext.h>. This naturally breaks the build since PFNEGLQUERYWAYLANDBUFFERWL and a few other types are defined in that header.
Build Log: https://gist.github.com/Ferdi265/5f5a46f00d43af11eb2f4bc5524f5756
Here is a quick patch that workarounds the issue by manually including the header:
diff --git a/glgen.sh b/glgen.sh
index 7324fdf6..31af2812 100755
--- a/glgen.sh
+++ b/glgen.sh
@@ -75,6 +75,7 @@ cat > "$OUTDIR/$BASE.h" << EOF

 #include <EGL/egl.h>
 #include <EGL/eglext.h>
+#include <EGL/eglmesaext.h>
 #include <GLES2/gl2.h>
 #include <GLES2/gl2ext.h>

Can you report this as an Arch bug too?

This is an upstream mesa change that is staged for the next release. https://gitlab.freedesktop.org/mesa/mesa/commit/8355658fa857536d948773b361c5ede770e637a3

Oh, my bad. No need for an Arch bug then. We should fix it in wlroots.

I can send a PR in the evening, won't get to my development setup before then


When I am trying to install it show the following error. I can't find anywhere the support version of Remote FS  Unable to install because, the extension 'liximomo.remotefs' compatible with current version '1.19.2' of VS Code is not found.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Mac, Win, Linux]
VSCode Version [e.g. 1.27.0]
Extension Version [e.g. 1.7.0]

Extension Logs - required
You can get the logs from View > Output > remote-fs.

Thanks!. I can't find the version compatibility Documentation. It would be great if you add the version compatibility documentation for the new users like me.
Thanks Again...!


Problem with CCM metric addition

The problem with CCM metrics was found in the file "org/jpeek/metrics/CCM.xsl" in line 65 the variable 'ncc' is assigned the number of methods connected by edges, but^ according to the definition NCC is the number of connectivity components in a graph.
Definition of graph component - https://en.wikipedia.org/wiki/Component_(graph_theory)
An example implementation of an algorithm for finding connectivity components in a graph - https://www.geeksforgeeks.org/connected-components-in-an-undirected-graph/
The class on which the metric works in error:
public class Worker {

    String name;

    public void one() {
        name = "1";
    }

    public void two() {
        name = "2";
    }

    public void three() {
        name = "3";
    }

    public void four() {
        name = "4";
    }

    public void five() {
        name = "5";
    }

}

In the above example you can see that all 5 methods are one connectivity component, however, jpeek says that NCC = 5, so we can conclude that instead of connectivity components he counts the number of connected methods.
According to the definition of CCM, the class given as an example should get a score of 1 because:

Indeed, if we calculate the connectivity components of the graph from the example, then NCC = 1, substituting the correct value in the formula:

The CCM metric will be 1, this will be the correct answer.

@yegor256 i want to take that issue. Do you think implementing dfs inside xsl file is a good approach?

@yegor256 now i am quite confident that using java is the only applicable approach.
What i want to do is to append information about connectivity components to the end skeleton.xml after it is generated so ccm.xsl would capture it. What do you think?

@starkda let's try!


MTL-1789 Add openSUSE repos and ceph packages

Summary and Scope
Summarize what has changed. Explain why this PR is necessary. What is impacted? Is this a new feature, critical bug fix, etc?
This fetches the latest packages for ceph that're defined in the node-images build.
This PR will need a sister change in node-images to remove the ad-hoc zypper addrepo and zypper install calls for:

ceph-common
cephadm
libfmt7

Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?
Yes.
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves MTL-1789

Testing
List the environments in which these changes were tested.
[ ] Verify update-package-versions.sh acknowledges the repo priority

I need to fix this before this can merge:
Repository:      buildonly-SUSE-Storage-7-x86_64-Updates
Current version: <IP_ADDRESS>+ge2e5cb80063-lp153.3854.1
Latest version:  <IP_ADDRESS>+gf72054fa653-3.34.1
Update package lock version (y/N)?n

Despite using a higher priority on the openSUSE repo the script is determined to resolve the package from the SUSE Storage repo.

I need to fix this before this can merge:
Repository:      buildonly-SUSE-Storage-7-x86_64-Updates
Current version: <IP_ADDRESS>+ge2e5cb80063-lp153.3854.1
Latest version:  <IP_ADDRESS>+gf72054fa653-3.34.1
Update package lock version (y/N)?n

Despite using a higher priority on the openSUSE repo the script is determined to resolve the package from the SUSE Storage repo.

Fixed.

Package:         cephadm
Repository:      buildonly-filesystems-ceph
Current version: <IP_ADDRESS>+ge2e5cb80063-lp153.3854.1
Latest version:  <IP_ADDRESS>+ge2e5cb80063-lp153.3854.1
Version already up to date


Indirect Intersections with isinstance and Any

There is a long discussion ongoing in how to handle Any within intersections in #1 and #31.
A form of intersections are already implemented in some type checkers, i.e. MyPy
# test.py
import typing as t

class A:
    ad_mix: "A"

class B: ...

class C(A,B):  ...

class D:
    ad_mix: "D"

a: A

# Intersections are done already correctly
if isinstance(a, int): # A&int
    t.reveal_type(x)  # Revealed type is "__main__.<subclass of "A" and "int">"  -> A&int
    t.reveal_type(x+10) # Revealed type is "builtins.int"

# It even find a already existing class that is the subclass of both
if isinstance(a, B): # A&B
    t.reveal_type(x) # Revealed type is "test.D"  -> "A&B"

# If things can't be combined, as there is a conflict in LSP it will return `Any`
if isinstance(a, D): # A&D
    t.reveal_type(a) # Revealed type is "Any"      # Can't be resolved as there is a conflict in classes

any: t.Any

if isinstance(any, A): # Any&A
        t.reveal_type(D)  # Revealed type is "A"

The solutions discussed in #1 and #31 could change the behaviour of if isinstance(any, T). Therefore I propose to include a sentence like.
"… Even so isinstance acts similar to an intersection, types of Any for that an instance T was determined are always treated as T and never as T&Any."
A second proposal is that we include a sentence like "An isinstance of a variable of type T1 for a type T2 that isn't a subtype of T1 should be treated as T1 & T2 by a type checker in type narrowing."
Note: Any can't be used a type for isinstance.
What do you think?
I would like to prevent surprises no matter what we decide in #1 or #31.
Also having only one "kind" of intersection would make things easier IMHO.

isinstance does not produce an intersection. This isn't needed, and any language that caused isinstance to create a virtual intersection could negatively impact more complex heuristics that type checkers already implement.
See eric's comment here, and specifically this section:

There has been some confusion about whether an isinstance type guard could make use of intersections. The behavior of type narrowing by type guards is not part of the typing spec, so type checkers are free to decide which type guard patterns they implement and how to trade off strictness vs pragmatism. I wouldn't want to change that, so any attempt to dictate how type guards work (including the isinstance type guard) is something I will push back on. The isinstance type guard logic in pyright is very complex and involves many tradeoffs and heuristics, and it continues to evolve over time. There are a couple of cases where it produces an intersection — or something akin to an intersection. One case (which I've already mentioned above) is where the type of the first argument is a type variable. Pyright uses "conditional types" for this case. The other case is where the type of the first argument is a type that has no apparent overlap with the type passed as the second argument. In this case, pyright (and mypy) create an intersection of the two types by synthesizing a new class that derives from both of the types. If "real intersections" were added to the type system, this would be a good candidate for their use, but the current solution works well, so "real intersections" wouldn't add any net new value here.

Thanks for finding that @mikeshardmind
I will close this than :-)


Slow connection

I'm working with Synapse to conect at a server that I can ping with 40~75ms (my work to my home). But when I save a file, it takes about 9~11 seconds to upload the file. I tried some FTP clients like FileZilla and it uploads a file almost instantly. What happens with Synapse? Doesn't the connection remain active or something like that?

sorry for delay reply
I have change the code for the low level source, i.e the actual connection to the ftp server part, however I couldn't made my time for this extension.
(now I finding my job^^;)
plz wait few times, I will fix that.


fix: PR#51 – Update Gemfile(add quotes where needed)

[!] There was an error parsing Gemfile: You cannot specify the same gem twice with different version requirements.
You specified: kramdown (~> 2.4) and kramdown (~> 2.3, = 2.3.1). Bundler cannot continue.
from /home/runner/work/blog/blog/Gemfile:25
-------------------------------------------
gem 'jekyll-watch', '~> 2.0'

gem 'kramdown', '~> 2.3', '= 2.3.1'

gem 'kramdown-parser-gfm', '~> 1.0'
-------------------------------------------


Error unable to open database file: out of memory (14) when inserting documents in FerretDB with sqlite backend

FerretDB version
1.24.0
Backend
sqlite
Environment

OS: Ubuntu In Github actions
Deployment: Docker ghcr.io/ferretdb/ferretdb:1.24.0
Deployment details: started via https://github.com/js-soft/ferretdb-github-action

What did you do?
Running our database driver tests (latest mongodb nodejs driver) against FerretDB with sqlite enabled.
Under the hood ferretdb is started with the following command:
docker run --name ferretdb \
    -p 27017 \
    -e FERRETDB_HANDLER=sqlite \
    -e FERRETDB_SQLITE_URL=file:./ \
    -d ghcr.io/ferretdb/ferretdb:1.24.0

What did you expect to see?
No error.
What did you see instead?
The error
MongoServerError: [msg_insert.go:168 handler.(*Handler).MsgInsert] [collection.go:105 sqlite.(*collection).InsertAll] [registry.go:256 metadata.(*Registry).collectionCreate] [registry.go:152 metadata.(*Registry).databaseGetOrCreate] [pool.go:202 pool.(*Pool).GetOrCreate] file:x4p0m5.sqlite?_pragma=busy_timeout%2810000%29&_pragma=journal_mode%28wal%29&_pragma=auto_vacuum%28none%29: [opendb.go:57 pool.openDB] unable to open database file: out of memory (14)

showing up

That's a permission problem: ferretdb binary runs as a regular user since v1.22, and it can't write to the current directory (that is / in this image).
The easiest fix is to remove FERRETDB_SQLITE_URL variable from the docker run command completely.

Hey!
That's exactly what I found out in the meantime. I don't know what changed, on your side to make is possible to remove FERRETDB_SQLITE_URL, because this existed to get rid of another bug.


Broken Link in CONTRIBUTING.md

Describe the bug
A broken link to the hacktoberfest contributing guidelines.
To Reproduce
Steps to reproduce the behaviour:

Go to contributing.md
Click on the hyperlink 'website'
See error.

Expected behaviour
Should redirect to I suppose this website
Screenshots

Meilisearch version: 0.29.0
Additional context
OS- Windows
Browser- Brave

If this is valid can you assign this issue to me?

Hello, yes you can fix it 👍 thank you very much

Hey, @curquiza I have a few questions:

Is this the correct website the link should be redirected to?
Is this a valid contribution towards hacktober fest 2022? If yes could you add the corresponding label?
Could you please assign this issue to me?

Here is the correct link we want. Thanks for asking
Yes it's valid. No need to add any label since the repo has the hacktoberfest topic on it: any merged PR in the repo is considered as valid, see the Hacktoberfest rules
we prefer not assigning people to our issues because sometimes people ask to be assigned and never come back, which discourages the volunteer contributors from opening a PR to fix this issue.
We will accept and merge the first PR that fixes correctly and well implements the issue following our contributing guidelines.

We are looking forward to reviewing your PR 😊


chore: update maintainer

Description

Related links

Notes for reviewers

Pre-review checklist for the PR author

[x] I've confirmed the contribution guidelines.
[x] The PR is ready for review.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR has been properly tested.
[x] The PR has been reviewed.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@ymski I have not yet confirmed that it works, but I think the maintainer designation is appropriate. Does setup.py only allow you to specify one maintainer?

According to the link below, multiple maintainers can be included in setup.py.
https://packaging.python.org/en/latest/specifications/core-metadata/#maintainer
I have added multiple maintainers to setup.py in 341d1b0.


Add sensor for home compsumption

With current entities the power-flow-card calculates the Home energy usage properly, but we cant have that data to be shown in a dashboard or into and horizontal-stack gauge

There is no home comsumption provided by ingeteam api since it depends on each installation (external meter position, critical loads, etc).
Try https://community.home-assistant.io/t/power-flow-card-plus/552326 cards has some improvements and calcs home consumption based on the other sensors.


Generalize "global values" to "templates".

Rename "global values" to "templates", to better describe their role as
expressions which can be provided by frontends and expanded by the code
generator as needed. And, start to generalize them, by introducing
Call and IfElse templates.
This is a step towards generalizing templates into a form that can be
independent of Cranelift, and allow embedding environments to provide a
single description of their data structures which is independent of any
specific JIT. And, it's a step toward being able to use templates to
describe GC barrier instruction sequences.
This also helps avoid some confusion between Cranelift IR global values,
wasm global variables, global variable data objects, and "global"
variables in regalloc.
This is a continuation of https://github.com/bytecodealliance/cranelift/pull/1299, rebased on trunk.

Note I had questions left unanswered in https://github.com/bytecodealliance/cranelift/pull/1299#pullrequestreview-334481454 and https://github.com/bytecodealliance/cranelift/pull/1299#issuecomment-567413512, and it would be nice to address them before review.

I still think something along the lines of this PR are an interesting idea to pursue, but the actual code here is fairly out of date for now, so I'll close this PR now.

The code is now here.


Unable to match the last equations from the nmt paper in the nmt implementation

In the NMT paper, pg 13-14, they've defined the model architecture. In the Decoder section (A 2.2), they've proposed probability of a target word w.r.t the deep output (ti~) with a single maxout hidden layer.
But if I look at the source code where the graph is built, it calls the _build_decoder function where the decoder section is built, I could not find the implementation of these equations:

Can someone clarify as to how those equations are included in the nmt implementation?

@ebrevdo - Could you take a look at this?


Request extended output for applications from service

Solves issue #352
However, I've only tested it on Zabbix 2.0.6.
According to it's docs output: 'extend' should not break anything for other versions, but I might be wrong.

Hi @alexanderzobnin, could you review this?


v4 does not work with react-native

The README.md advertises React Native Firebase support:

React Firebase Hooks works with both the Firebase JS SDK and React Native Firebase, although some of the typings may be incorrect.

but v4 does not work with react-native-firebase v13.0.1:

@Yonom thanks for flagging. Unfortunately, it seems that with v9 of firebase, the types of the web and react native versions have diverged too far to easily support both. I will remove the note for the time being and consider if there is a better way to support RN in the future

@chrisbianca I'd like to create a library especially for react-native. Are you fine with me basically copying the code of version 3? I'd highlight that the implementation is based on this library. I am asking because I am not entirely sure how apache 2.0 works.

@hannojg looking forward to it!

@Yonom its already done: https://github.com/skillnation/react-native-firebase-hooks
The api is the same (except for the imports ofc). Just haven't had the time yet to put up a proper documentation/readme

I created a wrapper that can be used with any async function, including Firebase functions, that mirrors GraphQL's useQuery and useLazyQuery hook. This is what we're using to turn our react-native Firebase queries in to hooks.
Hopefully it's of use to others!
https://github.com/penx/use-async-query


Language specification: incorrect statement about method sets of pointer types

The language specification, under Method sets says

The method set of the corresponding pointer type *T is the set of all methods declared with receiver *T or T (that is, it also contains the method set of T).

The text in parentheses seems to be incorrect if T itself is a pointer type. After
type X int
func (x X) foo() { ... }

the method sets of X and *X include foo, but that of **X does not.
(https://play.golang.org/p/8fvILyZeP1K)

I must respectfully disagree. Eliding a bit of text, the "Method sets" section says

[for] any other type T ... The method set of the corresponding pointer type *T ... contains the method set of T

where "other" means "non-interface". In my example, X has a method foo defined on it, so foo is in the method set of X. Applying the above statement with T = X, then foo is in the method set of *X. Applying the statement again with T = *X, then foo is in the method set of **X, which is wrong.
Perhaps "any other type T" might be changed to "any other defined type T" or "any other named type T"?
In any case, this isn't terribly important to me. If you don't wish to change anything, I won't object.

The situation cannot arise. Try compiling the code at https://play.golang.org/p/4fWjEy73OTP 👍
package main

type T *int

func (t T) Foo() {}

There can never be a method on a **t for any type t.
If you can create a working example of the problem you are trying to show, please do so.

I think the spec is fine. You can't determine the full behavior of a feature from a sentence taken in isolation; it's part of a larger document. So I don't think anything's missing here, but I'll defer to @griesemer

The (almost) full text about method sets is

The method set of any other type T consists of all methods declared with receiver type T. The method set of the corresponding pointer type *T is the set of all methods declared with receiver *T or T (that is, it also contains the method set of T). Further rules apply to structs containing embedded fields, as described in the section on struct types.

It starts with "all methods declared with receiver type T". It is not possible to have a receiver type T where T is a defined pointer type per the explanations about receivers in the method declaration section. Your most recent example uses a type alias (type T = *X) which is why the example works (at least for method f).
I agree with you that it's not completely trivial to cobble the various rules about method sets together (and it gets more complicate with embedded types in structs), and at some point it would be nice to clean this up a bit, but I also agree with @robpike that the spec is correct here.
Leaving this closed for now.


Azure endpoint

When using azure endpoint i get a 404 error

Hard to tell what it is without more info: you can try to build + run from source to see what the error is.
Given that 404 is "not found" - also double check you got the right URL.

Hard to tell what it is without more info: you can try to build + run from source to see what the error is. Given that 404 is "not found" - also double check you got the right URL.

I know my endpoint is good as im using it with other code. could it be formatting? will take me some time to build and run from source

It's pretty simple, added instructions: https://github.com/yagil/ChatIDE#build-and-run-from-source


Import contacts as entities

eg. vcard

cf. https://pypi.org/project/vobject/ , https://eventable.github.io/vobject/


Navbar search form border

Hi,
when i use search form, i dont get that green border line around whole element(see image). I don't know where is mistake, because i copy source code straight from documentation http://designmodo.github.io/Flat-UI/docs/components.html issue persist in every browser i tried.
Any ideas ?
Thanks.

oh, and i dont want to open another issue, but how to change button color in navbar ? when i replace class btn-default with for example btn-dange, nothing changes. It works perfectly outside of navbar. Thanks

@BirdSK +1 I have also had this issue

I second this.

Same here, maybe a dependency that differ, I guess...

+1

+1

can someone send a plnkr with this behavior? I can't reproduce it here.

I finally bothered to get round to looking up the solution to this. You have to add the focus to the input-group class containing search box and then remove it when focus disappears. The code used in the examples page is:
$('.input-group').on('focus', '.form-control', function () {
  $(this).closest('.input-group, .form-group').addClass('focus');
}).on('blur', '.form-control', function () {
  $(this).closest('.input-group, .form-group').removeClass('focus');
});

and the html is

  <input type="text" class="form-control" placeholder="Search" id="search-query-3">

    <button type="submit" class="btn"></button>

This isn't really mentionned in the docs (if it is then I must have missed it). Can @StefanYohansson confirm whether it is or not. Perhaps I can create a pull request for the documentation page.

Yes @bonniejools It's the "right solution".
Unfortunately CSS can't select predecessor nodes. So there's a way to style .input-group-btn if this class appears after .form-control:

  <input type="text" class="form-control" placeholder="Search" id="search-query-3">

    <button type="submit" class="btn"></button>

using a selector like this:
// Focus State
// -------------------------
.form-group,
.input-group {
   .form-control:focus + .input-group-addon {
     background-color: @brand-secondary;
     border-color: @brand-secondary;
   }
   .form-control:focus + .input-group-btn {
   > .btn-default + .btn-default {
      border-left-color: mix(@brand-secondary, black, 85%);
    }
    .btn {
      border-color: @brand-secondary;
      background-color: @inverse;
      color: @brand-secondary;
    }
    .btn-default {
      .button-variant(@btn-default-color, @brand-secondary, @btn-primary-hover-bg, @btn-primary-active-bg);
    }
  }
}

but this can't solve the problem when .input-group-btn appears before .form-control.

    <button type="submit" class="btn"></button>

  <input type="text" class="form-control" placeholder="Search" id="search-query-2">

so, i think it's the reason why Flat-UI developers written a javascript for this and used a "focus" class in wrapper.
maybe when browsers implements this proposal (has proposal) https://drafts.csswg.org/selectors-4/#relational. Someone can fix this using only CSS.