🐞 [Bug]: Peertube instance: loading circle always on screen

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
Dashboard
What happened?

Deploying a peertube instance
uploading a video
the video always has the circle loading screen

Steps To Reproduce

to see the bug go to this website and check the video: https://seninsayfan.site/videos/watch/8aa7ac7d-03f4-4d17-a4f4-1a3d6fa962c5

which network/s did you face the problem on?
Main
version
latest
Twin ID/s
No response
Node ID/s
No response
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records

Relevant log output

json output

{  "version": 0,
  "contractId": 461138,  "nodeId": 159,
  "name": "pthttdl",  "created":<PHONE_NUMBER>,
  "status": "ok",  "message": "",
  "flist": "https://hub.grid.tf/tf-official-apps/peertube-v3.1.1.flist",  "publicIP": null,
  "planetary": "301:4b18:eda3:6a68:3631:54fd:e7ca:93b8",  "myceliumIP": "52d:7837:b555:fac8:ff0f:0:400:2",
  "interfaces": [
    {      "network": "nwj93x0",
      "ip": "<IP_ADDRESS>"    }
  ],  "capacity": {
    "cpu": 2,    "memory": 6000
  },  "mounts": [
    {      "name": "diskxni",
      "mountPoint": "/data",      "size":<PHONE_NUMBER>0,
      "state": "ok",      "message": ""
    }  ],
  "env": {    "SSH_KEY": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC59pzj902ur6MzxmtIIdbpte4PEBVoRQwtFnMIpiKC2aO8PEgoVE3BtjI6I5P70v41Bu0Ki85fMATcrsXeF4l//UPQf2ZpMpZsmUOFVI8aWP7+QDVLtfGDZK1b4jZop3SgZpel8z9ZrfRnCHzONZ0CsX0DUwmmkzT5IVOXBujIuxZA+R0o/xiy75Ja7qw4phAv/j7G6YUiLUTlD+lAmf5dOuTEbQI8orSEc8m0D45eGqCZF7+6saI3xkS6A+e9Y7ysNqGd+KE09xZaJL5EM0AAJOKNbCHyJKkJXoA72TstSXFFokuP//5BrEqz+M7y8I2x7pmDBNVQndVyA1832sVD+U4F5CXbiLw1nH/RJHUaGDNkQjUOvPvXQdi6zdO4vFgPSWznVUJNRFDiVDmC7oT85faym5P4XPP0tyAFLHjVO9FQIBpIVMuSnqqXoTIMHG3Pvc+1X/EJ4anQmrfDOMNI6wMUFN1/0jIAhpUcbeS8pkIJjRm3pChjoQ4jTnbTEP0yvWFPrKnOHNByzpXMlGsz7UsR0bFroxizre8EfybSYUZAjkiCmD2ED+7n6BW4xGPP8oVxQzUz3nkxZT5FT7XKgoevuffBch8YdSFXPcX9bdnUQ3oKiLSRl4fUQRj2KqPqU0cp8ThawBaMjULlihvqMwsQ+gUWhMpOb2YzcFEivw== Threefold",
    "PEERTUBE_ADMIN_EMAIL"<EMAIL_ADDRESS>   "PT_INITIAL_ROOT_PASSWORD": "4XCE8nyzx5xH",
    "PEERTUBE_WEBSERVER_HOSTNAME": "seninsayfan.site"  },
  "entrypoint": "/sbin/zinit init",  "metadata": "",
  "description": "",  "rootfs_size":<PHONE_NUMBER>,
  "corex": false,  "gpu": [],
  "deploymentName": "pthttdl",
  "projectName": "peertube/pthttdl",  "billing": "0.797 TFT/hour",
  "wireguard": "[Interface]\nAddress = <IP_ADDRESS>/32\nPrivateKey = 4Amvie00sE7XsPDuJdBgI7SCrNFwWrdmUFHgqFAepxM=\n\n[Peer]\nPublicKey = RSj+BbsfbGdBOkSFtJzi6jL0Wb4ptqjGq8f+QEUxHRA=\nAllowedIPs = <IP_ADDRESS>/16, <IP_ADDRESS>/32\nPersistentKeepalive = 25\nEndpoint = <IP_ADDRESS>:4626"}

Node Stats

I can confirm that happened with me too, there is an issue with updating peertube image https://github.com/threefoldtech/threefold_connect/issues/610, so let's recheck it after

I used the newly upgraded flist mentioned in https://github.com/threefoldtech/tf-images/issues/268#issuecomment-2199711243 and seems like the issue is persisting
Screencast from 08-25-2024 04:21:30 PM.webm

The flist updated and promoted
https://github.com/threefoldtech/tf-images/issues/268#issuecomment-2308916300

Devnet, 448a213.
its still showing the loading circle even when the video is fully loaded.

I'm using the default peertube flist https://hub.grid.tf/tf-official-apps/peertube-v3.1.1.flist

it'll work normally after refreshing the page, based on @AhmedHanafy725 it's okay


Introduce Sides

Though the concept of Sides was removed in 0.2.0-alpha, there is another way in which they can be useful. Sides can be considered a group of allied teams.
Potential benefits of introducing sides:

Sides aren't directly controlled by a player or AI while a Team is.
Sides can simplify teams finding allied, opposing, or neutral teams - if a team has a reference to its Side, it can just grab the teams contained by that side.
Victory can be determined on a side-by-side basis over a team-by-team basis (though we may want to preserve this functionality).

I don't see Sides as an 0.2.0-alpha feature, but rather as a 0.3.0-alpha. This is up for discussion, however.

I've been thinking about this recently, and I think a better way to do this would be with an alliance graph type. The alliance graph would allow developers to define alliances by treating teams as nodes and their relationship as edges. I think this would also be more dynamic, as changes to alliances could happen as a part of an action or reaction during battle; while Sides could potentially handle this, I think the alliance graph makes more sense in the long run.


python interpreter updates - need to set it at the playbook execution

Bug description:
Appliance playbook execution failing due to python interpreter issue, it was mentioned as a corrected issue on the recorder demo at dellhpc.org.
To Reproduce
Steps to reproduce the behavior:

Execute the deployment process without specifying the interpreter just like it is documented at https://dellhpc.github.io/omnia/INSTALL_OMNIA_APPLIANCE.html using the release version of omnia.
the task will fail showing the following error:
failed: [localhost] (item=awx_task) => {"ansible_loop_var": "item", "changed": false, "item": "awx_task", "msg": "Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6)) on omnia's Python /usr/bin/python2. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter, for example via pip install docker or pip install docker-py (Python 2.6). The error was: No module named parse"}

Expected behavior
Normal execution of the playbook according to the documentation, otherwise it is needed to update the documentation to include the interpreter definition.
Screenshots

Desktop (please complete the following information):

OS: CentOS Linux release 7.9.2009 (Core)
Python: python-2.7.5-89.el7.x86_64
Python-docker components:
python-docker-pycreds-0.3.0-11.el7.noarch
docker-ce-cli-20.10.2-3.el7.x86_64
docker-ce-rootless-extras-20.10.8-3.el7.x86_64
python-docker-py-1.10.6-11.el7.noarch
docker-ce-20.10.2-3.el7.x86_64

omnia.log

@sujit-jadhav has this issue been addressed/resolved?

Not a problem. I'll close the issue.


cell growth

Pascale has pointed out that cell growth ; GO:0016049 is still under
development ; GO:0007275
I think the problem is that cell growth is under cellular morphogenesis. I'd
like to solve this problem by taking cell growth out of under cellular
morphogenesis. I can retain the link by adding a common child called cell
growth during cellular morphogenesis as a child of both cellular
morphogenesis and cell growth.
I have uploaded before (1) and after (2) pics at the bottom of this page to
illustrate. For easier viewing this is also temproarily stored at
http://www.ebi.ac.uk/~jclark/stored/content/cellgrowth.html
Thanks,
Jen
Reported by: jenclark
Original Ticket: "geneontology/ontology-requests/3177":https://sourceforge.net/p/geneontology/ontology-requests/3177

thanks www.movied.org


Ability to remove sensitive information and background from images

When publishing a dataset and when training a model (to avoid bias) it could be useful to remove sensitive information like car plate numbers, names and other personal info on medical images, faces etc. Another variant - is removal of background (noise) from images for anomaly detection tasks. One more - removal of reflections on the image.

OpenCV G-API now (in 5.0) provides the option to blur faces efficiently, it can be useful for this feature

infer https://github.com/opencv/opencv/blob/master/modules/gapi/misc/python/test/test_gapi_infer.py#L35
parseSSD

https://docs.opencv.org/4.5.3/d4/d1c/namespacecv_1_1gapi.html#ae6693e4d29816df39cc5547f400c88c7
https://github.com/opencv/opencv/blob/master/modules/gapi/misc/python/test/test_gapi_infer.py#L312

Custom kernel (ToMosaic)

https://github.com/opencv/opencv/blob/master/modules/gapi/misc/python/test/test_gapi_sample_pipelines.py#L26-L41
https://github.com/opencv/opencv/blob/master/modules/gapi/misc/python/test/test_gapi_sample_pipelines.py#L223-L227

Rendering: https://github.com/opencv/opencv/blob/master/modules/gapi/misc/python/test/test_gapi_render.py#L17


FreedomScientific.JAWS.2024 version 2024.2409.2.400

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?

[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I am an employee of Vispero, the developers of JAWS, the package added here.
Please let me know what information I need to add to make sure this gets added to the repository.
Thank you.

Closing as I accidentally added a new pull request.


When will the official version 2.6.0 be released?

When will the official version 2.6.0 be released?

Done


PropertyInvalidate on readonly properties do not generate OnPropertyChanged in properties generated from a model.

public class Model
{
    public int Value { get; set; }
}

[ViewModel(typeof(Model))]
public partial class ViewModel
{
    [PropertyInvalidate(nameof(Value))]
    public int ComputedValue => this.Value * 5;
}

I expect the generated property ViewModel.Value to have OnPropertyChanged("ComputedValue") but it doesn't.

Thanks @erikhermansson79 ,
yes, you're absolutely right, it should also be included in the generated model property.
That's a bug, I'll look into this one.

Thank you @erikhermansson79. This bug was fixed and the fix will be part of the next MvvmGen release.


[fastlane_core] Version bump

Shellescape xcrun commands (#5032)
Improved jenkins is_ci helper #1340 (#5053)
Changed Helper.is_ci? to UI.interactive? (#5037)

:shipit:


Sails creating new Nunjucks instance after update to 0.11.0

I'm defining a ton of extensions and filters in a config/nunjucks.js file by requiring nunjucks and getting a new env, which I thought was a singleton. But it was working fine in 0.10.5.
After updating to 0.11.0 I can see two instances are being created and the one sails is using does not have my custom extensions. Looks like this second instance of nunjucks is not created until the first template is rendered.
How can I get a reference to this instance, or force Sails to use my instance I create with my custom config on startup?
Thanks for the great framework!

@etx do you have any updates to this?


refactor: logging configs setup

This PR adds some cleanup to the logging setup to make it easier to understand. Redundant tests have been removed.

Overall looks good.  This is the error that's showing up in the integration tests:
ValueError: log_file (--log-file) must be provided in multitenant mode.

Putting this into draft until we get 0.12.0 out.


anemone_mempool: Use malloc instead of memalign

OSX does not have memalign.
! @amosr @jystic @tranma

Ah, can you remove the include of <malloc.h> while you're there?

Done!

👍

✌

I suppose I need to follow this in Zebra as well.


Migrate Auth to App Router in Storefront

<AuthProvider> moved to the checkout only (client-side part)


Bump reflex-platform but stay on GHC 8.0

We wanted this primarily for one of our own projects but have decided to use https://github.com/kadena-io/pact/pull/248 instead.


WIP - Switch to SQLModel Database stuff

TODO:

[ ] rework config options
[ ] Alembic (db migrations
[ ] Testing
[ ] Remove Print statements
[ ] Code review
[ ] Even more Testing

We'll need some sort of migration system for at least up-migrations on the SQL DB

Did a quick sweep with some notes, Overall a good first step but needs some polish 🥳

We'll need some sort of migration system for at least up-migrations on the SQL DB

https://testdriven.io/blog/fastapi-sqlmodel/
most likely we will use Alembic

Alembic's fine, that works


Jestin/react native sdk/skeleton UI

skeleton ui

Created Improvement task:
https://app.asana.com/0/1203445559089727/1203574769440813/f @Jestin64


timestamp error

I wanna download a course with 2200 words and get this error:
Traceback (most recent call last):
File "C:\Users\Username\Documents\Anki\addons\Memrise_Course_Importer\importer.py", line 146, in run
course = self.memriseService.loadCourse(self.url, MemriseCourseLoader.Observer(self))
File "C:\Users\Username\Documents\Anki\addons\Memrise_Course_Importer\memrise.py", line 788, in loadCourse
return courseLoader.loadCourse(self.getCourseIdFromUrl(url))
File "C:\Users\Username\Documents\Anki\addons\Memrise_Course_Importer\memrise.py", line 578, in loadCourse
level = self.loadLevel(course, levelIndex)
File "C:\Users\Username\Documents\Anki\addons\Memrise_Course_Importer\memrise.py", line 679, in loadLevel
level.pool.schedule.add(self.loadScheduleInfo(userData, level.pool))
File "C:\Users\Username\Documents\Anki\addons\Memrise_Course_Importer\memrise.py", line 617, in loadScheduleInfo
scheduleInfo.due = utcToLocal(datetime.datetime.strptime(data['next_date'], "%Y-%m-%dT%H:%M:%SZ"))
File "C:\Users\Username\Documents\Anki\addons\Memrise_Course_Importer\memrise.py", line 8, in utcToLocal
localDt = datetime.datetime.fromtimestamp(timestamp)
ValueError: timestamp out of range for platform localtime()/gmtime() function
could it be the timestamp is too big?
I'm using the version for 2.0

I won't work on the old version, could you please update anki to 2.1 and report back? And which operating system do you use?

Thank you for the quick reply. I updated and it is downloading now, I will report back. Between, did you notice memrise is moving all community-made courses? Many users are switching now to anki, so keep up the good work :D

I'm sorry, but update did not fix it.
Caught exception:
File "C:\Users\Username\AppData\Roaming\Anki2\addons21\memrise2anki-extension-master\importer.py", line 840, in importCourse
raise exc_info0.with_traceback(exc_info[2])
File "C:\Users\Username\AppData\Roaming\Anki2\addons21\memrise2anki-extension-master\importer.py", line 146, in run
course = self.memriseService.loadCourse(self.url, MemriseCourseLoader.Observer(self))
File "C:\Users\Username\AppData\Roaming\Anki2\addons21\memrise2anki-extension-master\memrise.py", line 789, in loadCourse
return courseLoader.loadCourse(self.getCourseIdFromUrl(url))
File "C:\Users\Username\AppData\Roaming\Anki2\addons21\memrise2anki-extension-master\memrise.py", line 579, in loadCourse
level = self.loadLevel(course, levelIndex)
File "C:\Users\Username\AppData\Roaming\Anki2\addons21\memrise2anki-extension-master\memrise.py", line 680, in loadLevel
level.pool.schedule.add(self.loadScheduleInfo(userData, level.pool))
File "C:\Users\Username\AppData\Roaming\Anki2\addons21\memrise2anki-extension-master\memrise.py", line 618, in loadScheduleInfo
scheduleInfo.due = utcToLocal(datetime.datetime.strptime(data['next_date'], "%Y-%m-%dT%H:%M:%SZ"))
File "C:\Users\Username\AppData\Roaming\Anki2\addons21\memrise2anki-extension-master\memrise.py", line 9, in utcToLocal
localDt = datetime.datetime.fromtimestamp(timestamp)
<class 'OSError'>: [Errno 22] Invalid argument

I tried to fix this, but not sure if it works as I can't test it right now, could you give it another try?

You fixed it, thanks a lot :D

ok, mems were imported, althrough i did not check it and they are buggy, but i dont wanna use them anyway, but wanted to tell you


Update to angular cli with webpack

This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
Feature
Feature Request
Please update covalent to the newest version of the angular cli, that switched the build system to webpack.
Also applies to the starter kit.

BTW: material2 temporarily moves from ng-cli to gulp to build its library https://github.com/angular/material2/pull/948

They haven't yet released a more stable version of the cli with webpack, once that is out we'll get on it.

yeah we need to let the smoke settle just a touch, lots of things in the air right now, but excited for the near future!

We also need to make sure --prod works.

To clarify, I was actually not concerned about the starter project. It's not that after all, most people don't build the lib

Yes @Isigiel, we won't be building the lib using webpack as of now. It's not recommended either. angular-cli that has been upgraded to webpack to run the app would be updated in covalent too as soon as all the issues related to rc.6 + webpack have been resolved.

Quickstart and docs are using angular-cli@webpack now.


[gardening] Adding 'rationale' links to proposals 50-98

@lattner
By the way, I found the following discrepancies:
Missing 'accept' rationale thread:
SE-0062
SE-0057 (importing ObjC generics)
In active review, but review period already expired:
SE-0091
SE-0086
SE-0077
Still awaiting review:
SE-0079

If this is approved I'll prepare another PR for 0007-0049.

SE-0091, SE-0086, SE-0077 are correct: the review period is done, but the core team hasn't discussed them yet.

Thank you for doing this, this will be very helpful for people!


[New game]: BEHIND THE SCENARY 👾

🎮 Game Request
Game logic and basic description

A casual puzzle platformer.

Point down the features
Game points
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @0xabdulkhalid !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @0xabdulkhalid ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


/public manifest.json overwritten

Using the latest, if you have a public/manifest.json for Web app manifests https://developer.mozilla.org/en-US/docs/Web/Manifest it becomes overridden to nothing.
I've found a work around by putting the manifest file in a folder. I can add a note to the readme about this if this functionality is intended.

@stolinski Vite was creating the manifest automatically and overwriting yours. In the latest version it will be only generated if you pass build.manifest: true in your vite.config.js 👍


Topic/story 30370 update dependency in master after merging, version bump check

This PR includes fixes for #30364 as well as check if version bump has already been done on top of the #30370 scope.
RequiresBranchMerging has been removed. Merge step was moved to MergePublisher which is now used instead of the removed property.
If Product is using MergePublisher, the current flow is 1. merge branch to master, 2. update dependncies on master, 3. commit changes to dependencies if updated

There is an important design problem that I commented in the PR for Metalama.Samples.


ignore perm error during test suite cleanup

Describe your changes
Issue ticket number and link
Closes #x
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have added thorough tests (when necessary).
[ ] I have added the right documentation (when needed). Product update? If yes, write one line about this update.

/ok-to-test sha=5739530


it is taking two clicks to present UIAlertController on sidemen's table view cell click.

I have read the guidelines for contributing and I understand
let alert = UIAlertController(title: "Confirmation Alert!", message: "Are you sure you want to logout?", preferredStyle: UIAlertController.Style.alert)
alert.addAction(UIAlertAction(title: "CANCEL", style: UIAlertAction.Style.default, handler: nil))
       alert.addAction(UIAlertAction(title: "OK", style: .default, handler:
           {
           action in
           if let appDelegate = UIApplication.shared.delegate! as? AppDelegate
              {
                  appDelegate.PresentLoginNavigationControllerScreen()
              }
               }))

        present(alert, animated: true, completion: nil)

[x] My issue is happening in the latest version of SideMenu (older versions are no longer maintained).
[x] My issue was not solved in the README.
[x] My issue can not be answered on stackoverflow.com.
[x] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[x] My issue is reproducible in the demo project.

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

Go to '...'
Click on '....'
Scroll down to '....'
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.

Additional context
Add any other context about the problem here.

It's highly unlikely this is a bug with SideMenu. You're likely trying to display SideMenu off of the main thread. Please ask your question at stackoverflow.com.


Cache actor activations

This makes the system significantly more efficient by making it so actor activations can be cached without compromising correctness which ensures we can tolerate many high volume actors.
Old Model
server = ensureActivation()
routeRPC(server)

This models guarantees external consistency, but requires reading a few keys from the registry for each RPC which makes high volume actors impractical.
New Model (client)
readVersion = fdb.getReadVersion() <-- batch/cache these
server = cache.getActivation()
routeRPC(server, readVersion)

New Model (serverr)
backgroundLoop:
    latestHeartbeatVersionStamp, heartbeatTTL = fdb.heartbeat()
server RPC handler:
    if req.versionStamp > lastHeartbeatVersionStamp + heartbeatTLL:
        reject()

TODO: Should prove this all out with a TLA+ model.
Previously the FDB-based implementation would not scale beyond ~ 40,000 function calls/s globally. The new implementation trivially scales to 4.7 million RPC/s locally:
Inputs
    invokeEvery 1µs
Results
    numInvokes 4782400
    invoke/s<PHONE_NUMBER>666667
    median latency (puts) 0
    p95 latency (puts) 8.935418643763573 ms
    p99 latency (puts) 40.04777053326359 ms
    p99.9 latency (puts) 79.051194395364 ms

Amazing redesign!
What command did you run for the benchmark? I would like to replicate it locally for playing around with it.

@aratz-lasa
/opt/homebrew/bin/go test -timeout 60s -run ^TestBenchmarkFoundationRegistryInvoke$ github.com/richardartoul/nola/virtual


[🐛 BUG] Can't install taipy develop

What went wrong? 🤔
I can't install taipy develop using
pip install git+https://github.com/Avaiga/taipy.git

It fails with stacktrace:
Building wheels for collected packages: taipy
  Building wheel for taipy (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for taipy (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [109 lines of output]
      running bdist_wheel
      running build
      running build_py

      added 6 packages, and audited 8 packages in 697ms

      found 0 vulnerabilities
      npm WARN deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
      npm WARN deprecated<EMAIL_ADDRESS>Use @eslint/config-array instead
      npm WARN deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
      npm WARN deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
      npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native atob() and btoa() methods instead
      npm WARN deprecated<EMAIL_ADDRESS>Use @eslint/object-schema instead
      npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native DOMException instead
      npm WARN deprecated<EMAIL_ADDRESS>Redundant dependency in your project.

      added 1404 packages, and audited 1405 packages in 30s

      285 packages are looking for funding
        run `npm fund` for details

      found 0 vulnerabilities

      ><EMAIL_ADDRESS>build
      > webpack --mode production

      <--- Last few GCs --->

      [20064:0000018241F39350]    49674 ms: Scavenge 2022.6 (2069.6) -> 2022.0 (2079.8) MB, 4.87 / 0.00 ms  (average mu = 0.662, current mu = 0.349) allocation failure;
      [20064:0000018241F39350]    49702 ms: Scavenge 2028.7 (2079.8) -> 2026.7 (2080.3) MB, 11.51 / 0.00 ms  (average mu = 0.662, current mu = 0.349) allocation failure;
      [20064:0000018241F39350]    50152 ms: Scavenge 2029.8 (2080.3) -> 2028.4 (2100.6) MB, 440.49 / 0.00 ms  (average mu = 0.662, current mu = 0.349) allocation failure;

      <--- JS stacktrace --->

      FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
       1: 00007FF7123C433F node::SetCppgcReference+15695
       2: 00007FF71233EC26 EVP_MD_meth_get_input_blocksize+78566
       3: 00007FF712340A11 EVP_MD_meth_get_input_blocksize+86225
       4: 00007FF712DAA7E1 v8::Isolate::ReportExternalAllocationLimitReached+65
       5: 00007FF712D93F78 v8::Function::Experimental_IsNopFunction+1336
       6: 00007FF712BF57E0 v8::Platform::SystemClockTimeMillis+659552
       7: 00007FF712BF2868 v8::Platform::SystemClockTimeMillis+647400
       8: 00007FF712C07B7A v8::Platform::SystemClockTimeMillis+734202
       9: 00007FF712C083F7 v8::Platform::SystemClockTimeMillis+736375
      10: 00007FF712C16D1F v8::Platform::SystemClockTimeMillis+796063
      11: 00007FF7128D72E5 v8::CodeEvent::GetFunctionName+116773
      12: 00007FF6B2E1AAFA
      Building taipy-gui frontend bundle in C:\Users\asaju\AppData\Local\Temp\pip-req-build-fcfk88v3.
      Traceback (most recent call last):
        File "C:\Users\asaju\AppData\Local\Temp\pip-req-build-fcfk88v3\tools\frontend\bundle_build.py", line 56, in <module>
          build_gui(root_path)
        File "C:\Users\asaju\AppData\Local\Temp\pip-req-build-fcfk88v3\tools\frontend\bundle_build.py", line 30, in build_gui
          subprocess.run(["npm", "run", "build"], cwd=root_path / "frontend" / "taipy-gui", check=True, shell=with_shell)
        File "C:\Python311\Lib\subprocess.py", line 571, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['npm', 'run', 'build']' returned non-zero exit status 134.
      Traceback (most recent call last):
        File "C:\Users\asaju\Desktop\develop_test\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\asaju\Desktop\develop_test\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\asaju\Desktop\develop_test\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\build_meta.py", line 421, in build_wheel
          return self._build_with_temp_dir(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\build_meta.py", line 403, in _build_with_temp_dir
          self.run_setup()
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup
          exec(code, locals())
        File "<string>", line 48, in <module>
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\__init__.py", line 117, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 184, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands
          dist.run_commands()
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 954, in run_commands
          self.run_command(cmd)
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\dist.py", line 950, in run_command
          super().run_command(command)
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_command
          cmd_obj.run()
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\command\bdist_wheel.py", line 384, in run
          self.run_command("build")
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\dist.py", line 950, in run_command
          super().run_command(command)
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_command
          cmd_obj.run()
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 135, in run
          self.run_command(cmd_name)
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\dist.py", line 950, in run_command
          super().run_command(command)
        File "C:\Users\asaju\AppData\Local\Temp\pip-build-env-8cubcxnb\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_command
          cmd_obj.run()
        File "<string>", line 40, in run
        File "C:\Python311\Lib\subprocess.py", line 571, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['python', 'bundle_build.py']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for taipy
Failed to build taipy
ERROR: Could not build wheels for taipy, which is required to install pyproject.toml-based projects

Expected Behavior
No response
Steps to Reproduce Issue
No response
Solution Proposed
No response
Screenshots
No response
Runtime Environment
Windows 11, Python 3.11.5
Browsers
No response
OS
Windows
Version of Taipy
develop
Additional Context
No response
Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%.
[ ] Create related issue in taipy-doc for documentation and Release Notes.

Code of Conduct

[X] I have checked the existing issues.
[ ] I am willing to work on this issue (optional)

Interesting, it looks like the same issue we're seeing on Mac
where max-old-space-size is supposed to bring fix when set to 8GB

Node.js v20.9.0

Fixed in develop!


apigatewayv2-controller. Reconciling error for API Custom Resource

Describe the bug
We tried to use the AWS API gateway with a Private link and private ALB inside our private subnet. Our goal is to manage by API
Gateway's route and integrations by apigatewayv2-controller
During implementation, we got an error from apigatewayv2-controller:
2023-02-09T14:21:15.337Z	ERROR	controller.api	Reconciler error	{"reconciler group": "apigatewayv2.services.k8s.aws", "reconciler kind": "API", "name": "test-api-gateway-http-vpc-links", "namespace": "awesome-namespace", "error": "SerializationError: failed to unmarshal response error\n\tstatus code: 404, request id: \ncaused by: UnmarshalError: error message missing"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
2023-02-09T14:26:43.083Z	ERROR	controller.api	Reconciler error	{"reconciler group": "apigatewayv2.services.k8s.aws", "reconciler kind": "API", "name": "test-api-gateway-http-vpc-links", "namespace": "awesome-namespace", "error": "SerializationError: failed to unmarshal response error\n\tstatus code: 404, request id: \ncaused by: UnmarshalError: error message missing"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem

Steps to reproduce
Create HTTP API Gateway in AWS like in the picture:

Integrations look like this:

Deploy  apigatewayv2-controller v1.0.0 by the helm with values:
deployment:
  aws:
    region: "eu-central-1"

Apply manifests:
apiVersion: apigatewayv2.services.k8s.aws/v1alpha1
kind: API
metadata:
  name: "test-api-gateway-http-vpc-links"
  namespace: awesome-namespace
spec:
  name: "test-api-gateway-http-vpc-links"
  protocolType: HTTP

Expected outcome
I can't imagine the outcome, to be honest. But error, I guess isn't the positive result ;)
Environment

Kubernetes version: v1.22.16-eks-ffeb93d
EKS version: 1.22
AWS service targeted: HTTP API Gateway, ALB

@Khuman2 It looks like you pre-created the API using the AWS Console for API Gateway v2, yes? If that is the case, and you want to have ACK take over the management of that API, you need to use the AdoptedResource functionality. You can read about that here: https://aws-controllers-k8s.github.io/community/docs/user-docs/adopted-resource/
Alternately, you can use the ACK apigatewayv2-controller to create API Gateways (and Routes, Integrations, etc) entirely from scratch using YAML manifests for all of those subobjects. You can read about how to do that in this tutorial: https://aws-controllers-k8s.github.io/community/docs/tutorials/apigatewayv2-reference-example/
I think the bug shown in this particular issue is due to the API already existing in the AWS APIGatewayV2 service and the controller not properly handling the Duplicate key error.

@jaypipes the serialization error is a little bit weird, normally we should throw a NotManagedError (resource already exist but is not managed by ACK...)

@jaypipes, I would like to know the best practice on how to use the apigateway controller.
Let me share my use case.
Actually, I need to realize approach that described in the article
I manage my infrastructure by terraform. In a private subnet, behind internal ALB my services are located.
My idea was to create API gateway, and attach certificates from ACM and private VPC link by terraform.
In the service's git I want to store manifest files per service for handling service APIGateway integrations, k8s services, ingresses for ALB etc.
I've tried to use Integration and Route from the operator, but it doesn't find API.
---
apiVersion: apigatewayv2.services.k8s.aws/v1alpha1
kind: Integration
metadata:
  name: "awesome-service-integration"
  namespace: "service-namespace"
spec:
  apiRef:
    from:
      name: "test-api-gateway-http-vpc-links"
  integrationType: HTTP_PROXY
  integrationURI: "arn:aws:elasticloadbalancing:region:profile_id:listener/my_ALB_internal_listener_path"
  integrationMethod: ANY
  payloadFormatVersion: "1.0"

---
apiVersion: apigatewayv2.services.k8s.aws/v1alpha1
kind: Route
metadata:
  name: "awesome-service-route"
  namespace: "service-namespace"
spec:
  apiRef:
    from:
      name: "test-api-gateway-http-vpc-links"
  routeKey: "ANY /ack-route-key"
  targetRef:
    from:
      name: "awesome-service-integration"

But I got an error: "can't find API"
So, my question is my use case have chance for been alive, or have I got something wrong?
Thanks for the advice!

I also tried to adopt my API Gateway by code:
apiVersion: services.k8s.aws/v1alpha1
kind: AdoptedResource
metadata:
  name: adopt-test-api-gateway-http-vpc-links
spec:
  aws:
    nameOrID: api_id
  kubernetes:
    group: apigatewayv2.services.k8s.aws
    kind: API
    metadata:
      name: adopt-test-api-gateway-http-vpc-links
      namespace: service-namespace
      labels:
        Name: private-api

and I've got the same error message:
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
2023-02-15T11:33:44.905Z	INFO	adoption.adopted-reconciler	starting adoption reconciliation	{"target_group": "apigatewayv2.services.k8s.aws", "target_kind": "API", "namespace": "service-namespace", "name": "adopt-test-api-gateway-http-vpc-links", "generation": 1}
2023-02-15T11:33:44.947Z	ERROR	controller.adoptedresource	Reconciler error	{"reconciler group": "services.k8s.aws", "reconciler kind": "AdoptedResource", "name": "adopt-test-api-gateway-http-vpc-links", "namespace": "service-namespace", "error": "SerializationError: failed to unmarshal response error\n\tstatus code: 404, request id: \ncaused by: UnmarshalError: error message missing"}

I've reused AdoptedResource for my API Gateway. It works fine.

Resolving this -- please reopen if there are any further concerns.


Support NVRTC using the ctypes binding

This pull request allows NVRTC to be used with the ctypes binding. This eliminates a class of errors when using cuda most notably support for float16, which currently requires the NVIDIA bindings to work fully. This pull request address this open issue:
https://github.com/numba/numba/issues/8821
As part of this pull l would request approval to vendor code from the pynvrtc project that provides a ctypes binding to nvrtc. Specifically, I would like approval to modify and include the file interface.py which is modified and included here as numba/cuda/cudadrv/nvrtc_ctype_binding.py. I have formally request approval within NVIDIA to include this code as part of Numba.
cc @sklam @stuartarchibald.

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

A quick note: I'm picking this up to target the .58 release, but I'm on PTO until 23rd July so will pick up shortly after then.


When is epoch transition?

The condition to check for epoch transition described in 2.1 spec is a bit odd to me.
The epoch transition, which happens only if slot_number >= (epoch_number + 1) // EPOCH_LENGTH
Do you set slot number back to 0 after an epoch transition? if that's the case then every slot is an epoch transition
slot_number = 0
epoch_number = 0
for i in range (0,1000):
    if slot_number >= (epoch_number + 1) // 64:
        print "epoch transition!"
        print epoch_number
        print slot_number
        epoch_number = epoch_number + 1
        slot_number = 0
    else:
        print "not a epoch transition!"
        print epoch_number
        print slot_number
    slot_number = slot_number + 1

Looks like maybe it should be if slot_number >= (epoch_number + 1) * EPOCH_LENGTH
slot_number is not reset every epoch. slot_number  accumulates across all time of the blockchain. At every 8 second, a new block can be created for that slot on top of whatever the proposer sees as the head. The reason that the (fixed) logic above is such is that a block might not be created at exactly the epoch boundary in whatever fork of the chain we are looking at.
For example, suppose a Block A in epoch 1 is created at slot 126 and then a Block B is built on top of Block A at slot 129. This should trigger an epoch transition.
slot_number = 129
epoch_number = 1
(slot_number >= (epoch_number + 1) * EPOCH_LENGTH) == True
# 129 >= (1 + 1) * 64

Checking to make sure that it is a bug and fixing the spec if so

Yay. Thanks for checking @djrtwo !

Confirmed bug, fixed spec. Thanks @terenc3t!

What is epoch transaction in PoA of Ethereum?
I am not even sure about epoch and transaction word are related to each other.
If you guys get anything related to epoch transaction or epoch. Don't forget to ping here.
Thank you
Akash Yadagouda
India

What is epoch transaction in PoA of Ethereum?
I am not even sure about epoch and transaction word are related to each other.
If you guys get anything related to epoch transaction or epoch. Don't forget to ping here.
Thank you
Akash Yadagouda
India


CreatingClientSecretsFile

Steps do not match what I am seeing on google pages:
https://console.developers.google.com/project/.....
e.g.
API and Auth screens do not match
I don't see a "Create another client ID" button
running "gam oauth info" doesn't display a Client ID

Can you share a screenshot of what you do see?
Graham Ingleby | Cloud Computing Consultant | 01344 203395 |
<EMAIL_ADDRESS>[image: Google+] http://google.com/+Ancoris
http://www.linkedin.com/company/98835 http://www.ancoris.com
On 26 June 2015 at 17:52, EPSteve<EMAIL_ADDRESS>wrote:

Steps do not match what I am seeing on google pages:
https://console.developers.google.com/project/.....
e.g.
API and Auth screens do not match
I don't see a "Create another client ID" button
running "gam oauth info" doesn't display a Client ID
—
Reply to this email directly or view it on GitHub
https://github.com/jay0lee/GAM/issues/75.

--

This message is for the named person's use only.  If you receive this message in error, please delete it and notify the sender.  Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ

I have now been able to complete the instructions at
https://github.com/jay0lee/GAM/wiki/CreatingClientSecretsFile
As it turns out, there just a few screens that look a bit different.
There are also a few different choices ... see below
No Groups Settings API, Site Verification API
No Client ID displayed
gam oauth info
Select the authorized scopes for this token. Include a 'r' to grant read-only
access or an 'a' to grant action-only access.
[]  0)  Group Directory API (supports read-only)
[]  1)  Organizational Unit Directory API (supports read-only)
[]  2)  User Directory API (supports read-only)
[]  3)  Chrome OS Device Directory API (supports read-only)
[]  4)  Mobile Device Directory API (supports read-only and action)
[]  5)  User Email Settings API
[]  6)  Calendar Resources API
[]  7)  Audit Monitors, Activity and Mailbox Exports API
[]  8)  Admin Settings API
[]  9)  Groups Settings API
[] 10)  Calendar Data API (supports read-only)
[] 11)  Audit Reports API
[] 12)  Usage Reports API
[] 13)  Drive API (create report documents for admin user only)
[] 14)  License Manager API
[] 15)  User Security Directory API
[] 16)  Notifications Directory API
[] 17)  Site Verification API
() 18)  IMAP/SMTP Access (send notifications to admin)
() 19)  User Schemas (supports read-only)
 20)  Select all scopes
 21)  Unselect all scopes
 22)  Continue

In client_secrets.json .JSON File
"client_id":"583499324581-b358jr4ovf5la8qmvjico98ec5diahog.apps.googleusercontent.com"
Next, the instructions say:
Creating Your Own OAuth2service.json
Starting from the end of the previous step after creating your client_secrets.json file,
Below the section for the Installed applications, click on Create another client ID…
Mine just says "Create new Client ID"
which, since my original query, I have now clicked
I then get
rather than
https://camo.githubusercontent.com/7cf1005fb9d5667272720e8bb414f069b9af2cb3/68747470733a2f2f676f6f676c6564726976652e636f6d2f686f73742f3042396c746c6135564f49342d62575a4857586c6a624856774e44412f67616d31342e706e67
Regards,
Steve
Steve Gilbert, CEM®
EBCP™, BPI® Certified: Envelope,
Heating Professional, & MuiltiFamily
(646) 373-1023 (Mobile)
(347) 767-6353 (Office)
(718) 569-6848 (Fax)
<EMAIL_ADDRESS><EMAIL_ADDRESS>http://www.energyparadiso.com/ www.EnergyParadiso.com
CEM® (Certified Energy Manager) is a Registered
Trademark of the Association of Energy Engineers
EBCP™ (Existing Buildings Commissioning Professional) is a
Trademark of the Association of Energy Engineers
BPI® is a Registered Trademark of the
Building Perfomance Institute.
From: Graham<EMAIL_ADDRESS>Sent: Monday, June 29, 2015 5:43 AM
To: jay0lee/GAM
Cc: EPSteve
Subject: Re: [GAM] CreatingClientSecretsFile (#75)
Can you share a screenshot of what you do see?
Graham Ingleby | Cloud Computing Consultant | 01344 203395 |
<EMAIL_ADDRESS>[image: Google+] http://google.com/+Ancoris
http://www.linkedin.com/company/98835 http://www.ancoris.com
On 26 June 2015 at 17:52, EPSteve<EMAIL_ADDRESS>wrote:

Steps do not match what I am seeing on google pages:
https://console.developers.google.com/project/.....
e.g.
API and Auth screens do not match
I don't see a "Create another client ID" button
running "gam oauth info" doesn't display a Client ID
—
Reply to this email directly or view it on GitHub
https://github.com/jay0lee/GAM/issues/75.

--

This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ

—
Reply to this email directly or view it on GitHub https://github.com/jay0lee/GAM/issues/75#issuecomment-116579795 .  https://github.com/notifications/beacon/AMdllMRO0sFi0RGRgqRlnYm4Q6fEQP5Zks5oYQqjgaJpZM4FM0-G.gif

Closing as docs have been updated.


Remove mention of read-only databases

Azure SQL DB Databases don't got into read-only mode when the spending limit is hit. They are disabled for login.

@bcham : Thanks for your contribution! The author, @genlin, has been notified to review your proposed change.

@bcham Thanks for the feedback. Sorry for the late response.
#sign-off


Minor grammatical fix

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Change looks good to me

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.


~access out of sync with collab

resolution_fixed   |    by<EMAIL_ADDRESS>
Hand edits needed for e.g. openmpi 1.6 aren't currently present

Issue migrated from trac:57 at 2024-01-31 17:57:25 +1100

<EMAIL_ADDRESS>changed resolution from `` to fixed

<EMAIL_ADDRESS>changed status from new to closed

<EMAIL_ADDRESS>removed milestone (was Future)

<EMAIL_ADDRESS>commented

Milestone Future deleted


appliance/postgres: Extract state machine to pkg/sirenia

This changeset extracts the implementation of the Manatee state machine from the appliance/postgres package along with it's simulator/test-harness.
I renamed it Sirenia as it's the greater family of sea cows that encompass both Manatees and Dugongs. :grinning:
Of note is that it attempts a generalisation of the xlog interface. To implement this interface a database must have a history with a total ordering that can be serialised to a string format. (xlog.Position)
Apart from this requirement databases wishing to use the Sirenia state machine must also implement synchronous replication and be capable of blocking writes when it's downstream synchronous peer is unable to ack them.

Made update friendly, no longer modifies the metadata key used to identify postgres state machine members and instead makes it configurable so each user of the state machine can pick their own.

@titanous this has been updated to be backwards compatible and dropped Increment() from the XLog interface as it's only used in the simulator.

Going to close this and merge this work as part of the MariaDB integration.


Omit redundant arguments in variadic template documentation

Before

After

We need to sit down together and work on those parse docs

We need to sit down together and work on those parse docs

Is this comment related to https://github.com/CPPAlliance/url/issues/85 or is it a coincidence?

a little bit of both


Multiple Renderers

Do you have any recommendations for how to go about modifying webvr-manager to accept two renderers - specifically an additional CSS3DRenderer ( or a second WebGLRenderer ? ).  I want to experiment with pixijs to add some good interaction for information display into scenes.
Did see the demo that includes Wiki articles (Moose?).  Couldn't find the source.

+1

Project intended as a simple demonstration. For more advanced usage, see webvr-polyfill, webvr.info, etc.


{% codeblock lang:diff %} with special gutter

user-select: none;

<code oncut="foo()">

to add newline to code in clipboard.


Add Spring Data JDBC hints and sample

Provide native image hints, that add required proxy and reflection configuration, for Spring Data JDBC Repositories.
The added sample uses an embedded H2 and does some basic operations taken from the Spring Data examples repository.
Closes: #265

Merged and polished via e2e84d724736d0dcad1ab75cbe2d2e325e64d780.
Thanks @christophstrobl!


Support for filtering out subtree(s) when calculating stats

Just want to suggest an addition to this very nice project. I would find it useful if onefetch had an option to filter out directories and/or files when calculating stats like Languages, LoC and Size.
I find that current results are quite skewed for projects that include many submodules or other code dependencies. An exclusion pattern would allow ignoring things like third-party code, documentation, examples, etc. I imagine something like --exclude <pattern>.
Alternatively (or additionally), there could be an option to discount git submodules. That would be easier to use, but less general.

Yes, the --exclude <pattern> flag would be a nice addition to the tool. tokei (used by onefetch to retrieve language statistics) already has this feature. So we "just" need to use it (from lib.rs):
// Exclude any path that contains any of these strings.
let excluded = &["target"];
let config = Config::default();
let mut languages = Languages::new();
languages.get_statistics(paths, excluded, &config);
let rust = &languages[&LanguageType::Rust];

Doing so, Languages and LoC sections will be updated based on the flag's input. However the Size will remain unchanged as it relies on a git command and not tokei.

https://github.com/XAMPPRocky/tokei/issues/564


Adding error box when target not loaded

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
Fixes #6876
Added an error box to be shown when the target is loading in Query component.
Verification

Tested in containerised development environment.

Hey @GiedriusS!
Can you check this PR please, I dont know how to delay the targets loading, so I tested in extreme scenarios, when targets are non loaded, then the error came and when the targets are loaded, the error was not coming. But I was not able to check when the target is facing delay in loading so it first shows error message and then when the target gets loaded, the error goes away. If the PR logic is fine, I will fix the checks and add changelogs!

Thanks for this work! I double-checked and it seems like the root problem is that https://github.com/thanos-io/thanos/blob/main/pkg/ui/react-app/src/pages/targets/ScrapePoolList.tsx#L115C42-L115C50 here in case there are any warnings then we don't show them. Prometheus API has no such field "warnings" in the returned response so the component doesn't show that? Here https://github.com/thanos-io/thanos/blob/main/pkg/ui/react-app/src/pages/targets/ScrapePoolList.tsx#L116 we need to capture the warning and then show it in the ScrapePoolListProps.

Thanks for this work! I double-checked and it seems like the root problem is that https://github.com/thanos-io/thanos/blob/main/pkg/ui/react-app/src/pages/targets/ScrapePoolList.tsx#L115C42-L115C50 here in case there are any warnings then we don't show them. Prometheus API has no such field "warnings" in the returned response so the component doesn't show that? Here https://github.com/thanos-io/thanos/blob/main/pkg/ui/react-app/src/pages/targets/ScrapePoolList.tsx#L116 we need to capture the warning and then show it in the ScrapePoolListProps.

So the we need to somehow get hold of the warnings from the response, and present it in the UI in form of error boxes.


Properly ignore links when determining RFAQ length

Use a multi-line regular expression for a multi-line command
Add a * after the \s because the space in the middle of [[foo <bar>] is not mandatory for link formatting

Maybe we should abstract this away into a function in Chat? Chat.stripLinks?

I support abstracting it but am not familiar enough with PS coding conventions to feel confident doing something like that myself, so someone else would have to

Can links themselves span multiple lines?

They cannot

So what is the m (multiline) flag supposed to achieve?

It looks like the m flag is useless here: It only affects what ^ and $ do, and you don't use them in this regex.


TypeError: this dict descriptor does not support '_DictWrapper' objects

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
nightly
Custom code
Yes
OS platform and distribution
Colab
Python version
3.10
Current behavior?

Install a clean tensorflow environment with the latest typing-extensions pip package.
Assign a dictionary to a tf.Module (will wrap it in a _DictWrapper for tracking).
Output that dictionary from a tf.function.
TypeError: this __dict__ descriptor does not support '_DictWrapper' objects.

This is somewhat of a zombie bug, see https://github.com/tensorflow/tensorflow/issues/60687.
This is important because it breaks all keras functional models with dictionary output, but is not a keras bug. This can be reproduced simply with low-level tensorflow.
We either need to continue pinning an older version of typing extensions, or fix tensorflow to work with the latest version of typing extension. The latter seems less likely to keep breaking.
Standalone code to reproduce the issue
https://colab.research.google.com/gist/mattdangerw/6904dc4ab29ff936ad3c3b966848f463/dict-output-bug.ipynb
Relevant log output
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-4-4a26ae41286e> in <cell line: 12>()
     10 x = tf.constant([2, 3])
     11 y = tf.constant([3, -2])
---> 12 f(x, y)

4 frames
/usr/local/lib/python3.10/dist-packages/tensorflow/python/util/traceback_utils.py in error_handler(*args, **kwargs)
    151     except Exception as e:
    152       filtered_tb = _process_traceback_frames(e.__traceback__)
--> 153       raise e.with_traceback(filtered_tb) from None
    154     finally:
    155       del filtered_tb

/usr/local/lib/python3.10/dist-packages/tensorflow/core/function/trace_type/trace_type_builder.py in from_value(value, context)
    142   if context.is_legacy_signature and isinstance(value, trace.TraceType):
    143     return value
--> 144   elif isinstance(value, trace.SupportsTracingProtocol):
    145     generated_type = value.__tf_tracing_type__(context)
    146     if not isinstance(generated_type, trace.TraceType):

/usr/local/lib/python3.10/dist-packages/typing_extensions.py in __instancecheck__(cls, instance)
    601             for attr in cls.__protocol_attrs__:
    602                 try:
--> 603                     val = inspect.getattr_static(instance, attr)
    604                 except AttributeError:
    605                     break

/usr/lib/python3.10/inspect.py in getattr_static(obj, attr, default)
   1741         if (dict_attr is _sentinel or
   1742             type(dict_attr) is types.MemberDescriptorType):
-> 1743             instance_result = _check_instance(obj, attr)
   1744     else:
   1745         klass = obj

/usr/lib/python3.10/inspect.py in _check_instance(obj, attr)
   1688     instance_dict = {}
   1689     try:
-> 1690         instance_dict = object.__getattribute__(obj, "__dict__")
   1691     except AttributeError:
   1692         pass

TypeError: this __dict__ descriptor does not support '_DictWrapper' objects

@sachinprasadhs,
I was able to reproduce the issue on tf-nightly -2.16.0-dev20231026. Kindly find the gist of it here.

Is there an easy patch to fix this for TF2.15? E.g. can I just downrev typing_extensions in pip_package/setup.py?

To answer my own question: Yes. Just applying the change from https://github.com/tensorflow/tensorflow/pull/60688 fixes this for us.

@plopresti,
I tried to execute the code available on the colab with the latest tf-nightly(2.16.0-dev20240125) along with the keras3.0 version and it was executed without any issue/error. Kindly find the gist of it here. Thank you!

@tilakrayal Yes, our reproducer also passes on tf-nightly.
I wonder what change fixed it. Anyway this does not appear to be an issue with latest builds.

@plopresti,
Yeah the changes have happened with the respective PR https://github.com/keras-team/keras/pull/18682.

 if backend() == "tensorflow":
            # This stop tensorflow from wrapping tf.function output in a
            # _DictWrapper object.
            _self_setattr_tracking = getattr(
                self, "_self_setattr_tracking", True
            )
            self._self_setattr_tracking = False

Thank you!

At this point, given that keras fixed it, this issue can be closed, I think

@tilakrayal
This issue is happening for us again with the r2.17 branch.
export WRAPT_DISABLE_EXTENSIONS=true (per https://github.com/tensorflow/tensorflow/issues/60687#issuecomment-1647756840) appears to work around it. But I am unsure what the knock-on effects of that might be.
Rebuilding TensorFlow after patching tensorflow/tools/pip_package/setup.py to force typing_extensions<4.6.0 also works around it.
I have confirmed our Keras version (3.3.3) has the change you cite above.
I am at a loss for how to proceed and would welcome any suggestion. Thank you!

Here is our trvial test program that blows up with TypeError: this __dict__ descriptor does not support '_DictWrapper' objects
#!/usr/bin/env python

import tensorflow as tf

@tf.function
def f(x, y):
  test = tf.Module()
  test.output = {
      "foo": x ** 2 + y,
      "bar": x ** 2 - y,
  }
  return test.output

x = tf.constant([2, 3])
y = tf.constant([3, -2])
f(x, y)

print('no bug!')`

Live example:
https://colab.research.google.com/gist/plopresti/99ba2eac937f62130eb87f3c5ab95e7d

I'm going to reopen this issue since this definitely is not resolved

Essentially, due to this issue there is no version of Tensorflow that supports a version of typing-extensions > 4.5 without applying a potentially disruptive workaround.
Is this a good summary of the current state?


An empty\blank focus needs to be removed in VO

Swiping using VO in iOS.
When swiping on the "How it works" onboarding page, there is an empty\blank focus that needs to be removed.
iPhone XR 13.5.1

@nickmly this might be an easy one to add to your onboarding work, there is an extra focusable field that needs to be removed here.

@smcmurtry similar to the one you fixed today.

@paulettefrancis this will appear in V15 on IOS.

Fixed in V16 IOS/Android


Datatable: Where to set language for buttons (export, reload, reset, etc)

Hi
I have added the JSON file that translate all messages and texts, but buttons are still in english. How can I translate them too?
                'language' => [
                    'url' => asset('js/datatables/json/' . \App::getLocale() . '.json')
                ],

Thanks!

@dhcmega I think this should work. https://github.com/yajra/laravel-datatables/issues/1418
But I would say this is more of question-related to Laravel DataTables package. probably you can find the answer there.

Hi, I solved like this:
https://github.com/yajra/laravel-datatables/issues/1620


markdown code-block is not rendering as expected

Please use the following template when submitting issues:
Issue Template
Issue Type

[x] Bug

Description
when using triple-tick or </> menu option; code blocks do not render as expected in edit mode and lose all formatting once a save is executed. Tested in both my instance and in the demo app and behaves the same.
Operating System
OS: Ubuntu 18.04 LTS
Install

[ ] setup.bash

DefectDojo Version
v1.5.2
Steps to Reproduce
Add a code block to any input field when entering a finding. click save and all formatting will be removed; showing only:

code

```
Screenshots (optional)
From demo site:

It's an inconsistency between the javascript viewer renderer and python markdown display. May need to switch to markdown2 as it looks to be a more "accurate" markdown renderer. https://github.com/trentm/python-markdown2

thank you @aaronweaver; I will give that a try.


Typo in URL of Quirk

In tutorials/SingleQubitGates, the link to Quirk is incorrect https://github.com/microsoft/QuantumKatas/blob/master/tutorials/SingleQubitGates/SingleQubitGates.ipynb?short_path=511e2f8#L262, should be https://algassert.com/quirk.

Great catch, thank you!
Do you want to send a pull request to fix the link? If not, I'll get to it some time soon.
(Sorry for the delay replying to your other issues, I've been traveling and just now returning to the open-source work - I'll get to them as soon as possible!)

@tcNickolas Sorry the first PR was misconfigured, the second one should be correct.

Thank you! I merged the PR in the staging branch, will merge into master later today.


WebsocketEncoder should be named WebSocketEncoder

The class 'mqtt.cs.protocol.ws.WebsocketEncoder' name should be 'mqtt.cs.protocol.ws.WebSocketEncoder'

hi @tianliuliu , would u please help me delete this issue ,thanks a lot.


cleanup specs

adding contexts to specs according to guides
removing unnecessary items
making expectations explicit and consistent
reducing character length according to guides

This cleanup was done in preparation for another PR.

The guides also mention that we shouldn't rewrite code to adhere to them:

Don't rewrite existing code to follow this guide.

Are these changes going to be functionally necessary for the change you're planning to make?
I'd be amenable to some of the fixes you implemented here without the style changes. What do you think of turning each of them into a separate PR we can discuss?

@calebthompson Thanks for your feedback!
These changes are not functionally necessary to accomplish the subsequent PR. I didn't want to cloud the other PR with the style changes I had made along the way, so I separated out them into two PRs. I made these changes simply to make it easier for me to read / check my own work and spec coverage.
I will separate these into separate PRs so that you can review them individually, and I'll try to eliminate the style-only changes so that you don't have to re-review them.

I like the changes to form_spec but I think we may have skewed a little context heavy in the label spec. I do like the helper you introduced though.


Gas fees are higher than this contract - How do we get to this level?

How do we get our gas fees to be optimised like this contract?
https://etherscan.io/address/0x8e33f53bd5946cf33906678be90302b7f80f6a85
Currently they are minting at $7 gas fees! https://www.fortuna-dao.com/

Hi thank you for sharing this, but you should share a proper gas report for a comparison. This is a gas report from the current contract, at 20 gwei it costs about 4-5$ to mint 1 to 3 tokens. Anyway, USD are not a good metric for comparing gas usage since the price may change a lot, we should compare the used gas units (which you didn't tell in the previous message).

If you can provide extended information we may consider this, otherwise we will probably keep the current implementation. If you still want to implement it yourself you may ask for support on the Discord server.
Thank you!

Hi Marco
Hope you are well
In relation to above , How did you get that Gas report ?
Thanks

Hi @ClubPEC, you can run yarn test-gas from the contract folder. That command will not fill-in the last column on the right (usd (avg)) unless you set the following ENV variable:
https://github.com/hashlips-lab/nft-erc721-collection/blob/dd21ef539cfdc02052f0bd7e6544020969adf2db/smart-contract/.env.example#L19

@liarco
i just want to test it also but get an error:
´´´
PS \smart-contract> yarn test-gas
yarn run v1.22.15
warning package.json: No license field
$ REPORT_GAS=1 hardhat test
Der Befehl "REPORT_GAS" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
PS smart-contract>

Hi @ClubPEC, you can run yarn test-gas from the contract folder. That command will not fill-in the last column on the right (usd (avg)) unless you set the following ENV variable:
https://github.com/hashlips-lab/nft-erc721-collection/blob/dd21ef539cfdc02052f0bd7e6544020969adf2db/smart-contract/.env.example#L19

Hi Marco.
Hope you are well.
Unfortunately Yarn test-gas didnt work...
PS C:\Users\PEC\Desktop\nft-erc721-collection-2.0.0\smart-contract> yarn test-gas
yarn run v1.22.15
warning package.json: No license field
$ REPORT_GAS=1 hardhat test
'REPORT_GAS' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.

@nftkk, @ClubPEC unfortunately it seems like that command is not supported on Windows.
What that command is doing is simply this:
https://github.com/hashlips-lab/nft-erc721-collection/blob/bf6680d5b19c1aed38c92933ea837fc13e342d98/smart-contract/package.json#L47-L48
REPORT_GAS=1 hardhat test means "set the REPORT_GAS environment variable to 1 and then run hardhat test inside yarn"
On Windows that syntax is not supported but you may try the following:
$REPORT_GAS = '1'; yarn hardhat test
Remove-Item Env:\REPORT_GAS

The second command should unset the variable in the end... I'm not able to give much support with this since I don't use Windows.
Source: https://stackoverflow.com/a/1422082

I'm closing this for inactivity.


right inlet of [* ] doesn't work in PD

Hi,
It seems like that right inlet of multiplication object doesn't work when compiling pd patches with Heavy. Same goes at least with [/ ]. I am compiling the patch to Bela.

What do you mean exactly, "doesn't work"?

I can't seem to set the argument values through right inlet to the object.

Actually I found the answer from some other patches on this forum:
|    [1)
|    [ t  b  f]
| / |
[pack]
|
[ €1 €2)
|
[* ]

@jukkapoika this seems really strange, would you be able to upload a simple patch here that demonstrates your problem?

Sorry I have missed this comment somehow. Sure I'll do that hopefully tomorrow!

Yep. Master works also for me. So it was just my mistake somewhere.

Hey @jukkapoika I saw a comment here from you but it's disappeared, did you delete it?

Yes. I was accidentally writing a comment here, when I was supposed to write it to another forum. Sorry about that.

Here are two examples. So the first one is work around and works when the second one doesn't.
peak_track_patches.zip


Add better error handling for empty or invalid org and service env vars

Moved from #3341
Thank you @jlantz !
Adds extra error handling and a new exception, ServiceCannotBeLoaded, to match the exception already there for org load issues.  Should have 100% test coverage.
Issues Closed

Fixes #3340

@jlantz Please look at the linter's suggestions

@jlantz I believe that this PR has extraneous files in it but I don't want to delete them until I'm confident which version of the files is most up-to-date.


Fix monitoring pkg

New builds were failing due to an update to the interface

Can you take a look at the test failures? They're failing on both PRs

Ah looks like it's fixed on master https://github.com/smartcontractkit/chainlink-starknet/pull/463


Add swipe refresh element

Push something to re-trigger checks please

@dsvoronin let's merge it, leaving Readme work after #11


About MSRV and the cli feature

I'd like to open a PR to update the clap version to v4, but clap normally maintains a very aggressive MSRV compared to this crate's current MSRV. Do you think it would be appropriate to use a higher MSRV for the cli feature to keep up to date with clap updates while maintaining a more tame MSRV when not using the cli feature?

Thanks for opening the issue. I'd rather have a single MSRV for the entire repo instead having a feature have a different one because it becomes trickier to handle and can be a footgun.


Css still all loaded

It seems didn't work for me!!
when you just import Button component, check files in , u still can find all style files loaded, included other components.

If you want to split chunks, you should manually config with
build.libs.entries: ['button.ts', 'ohter-component.ts']


navigate is not work when the CatchBoundary catch the error thrown by child route

Which project does this relate to?
Router
Describe the bug
navigate is not work when the CatchBoundary of the father route and it catch the error thrown by beforeLoad function of child route.
I want to use CatchBoundary component to catch child route error, keep the layout not change, after this, my navigate is not work.
Your Example Website or App
https://stackblitz.com/edit/github-ybhmkk
Steps to Reproduce the Bug or Issue

click the 403 page navigate menu, and it will throw the forbidden error and render the error component.
click the home page navigate menu, the error component is not clear

Expected behavior
As a user, l expected the error component unmount and navigate to home page, but i am seeing the url change to /home, but page is not change.
Screenshots or Videos
No response
Platform

OS: macOS
Browser: Chrome
Version: 131.0.6778.70

Additional context
No response

Think I'm seeing the same thing. I am trying to change the reset key but that doesn't seem to work the first few clicks

Fixed by doing this

Fixed by doing this in my error boundary component

this is not work in my repo. 😢
this is an fork repo:
https://stackblitz.com/edit/github-ybhmkk-drbsfb?file=src%2Froutes%2F-error-component.tsx

So, is this a feature or a bug?


Unable to get options to work in existing app

I am trying to tie your directive into an existing angular 1.x app and I can get the window to open with the content message and buttons, but none of the options have any impact.  I am able to setup a barebones test app and the options work as expected, but no matter where I put the files and scripts I cannot get the options to work in my existing app.
I have the modal1.html, scripts.js, style.css, and window.html all in the root of the project.  If I remove any one of them, the window fails to open, so its seeing the files where they are located.  The only thing I have changed in the scripts.js is myApp to app (the value currently defined for the main app.)
The application has multiple controllers, screens, and code and will be growing much bigger, so we need to figure out what the issue is with your component cause we would really like to be able to use it.
Any thoughts on what to try or where to look would be greatly appreciated and thanks for a great component.

Hi
What do you mean you cannot get the options  to work? What options are you using? Can you give me example code? Do you get some error in browser console(developert tools)? Does the window/modal come up? Are you using any custom parameters?

Sorry should have put that in, here is the function I am trying to use (its the same as the one that works):
$scope.openWindow = function ()
{
var windowInstance = $kWindow.open(
{
options    : {
modal    : false,
title    : $scope.title,
resizable: true,
height   : 150,
width    : 400,
visible  : false
},
templateUrl: 'modal1.html',
controller : 'modalController',
resolve    : {
message: function ()
{
return $scope.content;
}
}
});
I do not get any errors or warnings in the Chrome console when I execute the function.  None of the values in the "options" section have any impact on the displayed window when called in our app.  The same calls in the simple test app work fine (window size, title, etc.)  I have not been able to find what is interfering with the passed options.
I have tried moving the placement of the inclusion of the scripts.js file, the css file, and keeping the test code from your scripts.js as pristine as possible (only changing the "MyApp" to "app" for our app) and nothing seems to have any impact on the options values having any reflection in the displayed window.
The windows come up with the content value showing and can open multiple windows (appears the default for modal is false as that has no impact either.)
Are there any dependencies on code versions that I need to look for? (jquery, bootstrap, etc.)
Let me know if there is anything else you can think of I can try, am rather perplexed at what is interfering.
Thanks for you help and quick response.

Hi
This is strange. Can you try add k-ng-delay="options" to kendo window div in window.html

Changes the windows.html to the following and it got much worse:

No actual window showed, the contents of the window just got displayed at the bottom of the other html content that is on the page, so not sure what that does but it was not happy about it.
I am running the latest kendo release now and it does seem to be working fine, so if you just let people know which version is the min version could save trouble.  It may be some issue in the actual kendo code, not sure.

Ok good. What version were you using?
Remember to vote
http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/11299620-angular-and-kendo-window

The original version was Kendo UI v2015.2.805 pro.
Right now using the latest version V2016.1.112 which seems to be working fine.
Did now know there was a voting thing, will do it for sure.
Thanks for the great component and support

No problem :)


Screen Capture : phantomjs-2.0.0 give error TypeError: undefined is not a constructor (evaluating '$(".prog-table").exists()

I am using phantomjs-2.0.0-windows to convert web page  to jpg.  For some url it gives error as
TypeError: undefined is not a constructor (evaluating '$(".prog-table").exists()
http://cdn.roco.io/aquent/themes/gymnasium/js/progress.js:2
http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js:4 in l
http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js:4 in fireWith
http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js:4 in ready
http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js:4 in S
Please help to resolve this issue

This is a bug tracker, not a support forum; please do not post this sort of help request here in the future.
For general question, code review request, build problem, or other related discussion, please post it to either:

the official PhantomJS users mailing-list
Stack Overflow (with phantomjs tag)

If you have not read it yet, please check also a few tips on Effective Q&A.


Broken links in Navbar slider

There are broken links in the navbar slider for the ORDS pages.

We should add in the personal blogs for our pms as well.

https://krisrice.io/
https://www.thatjeffsmith.com/
https://followthecoffee.com/

Need to add Zach's blog when complete.


Something is wrong with my .question method!

I was trying to chain some .submenus then .question and i get some issues about that:
1- My first question menu is overwriting the second one functions. It has same name, but diferent actions, id and uniqueIdentifier.  Check my code example:
const menu3ds = new TelegrafInlineMenu('3DS MENU')
const menuSwitch = new TelegrafInlineMenu('Switch Menu')

mainMenu
  .submenu('3DS', '3ds', menu3ds)
mainMenu
  .submenu('Switch', 'switch', menuSwitch)

menu3ds
  .submenu('🍀 Cadastrar Turnips', 'regturnips3ds', new TelegrafInlineMenu('Escolha uma opção:'))
  .question('Compra', 'buyturnips3ds', {
    questionText: checkIfSunday(today),
    setFunc: async (ctx) => {
      if (today !== 0) {
        return true
      }
      if (Number.isInteger(parseInt(ctx.message.text))) {
        return await registerTurnipsBuy({ ctx, flag: '3ds' })
      }

      return ctx.reply('Valor inválido, por favor insira um valor númerico!')
    }
  })
  .submenu('Venda', 'sellturnip3ds', new TelegrafInlineMenu('Escolha uma opção:'))
  .question('MORNING', 'morning3ds', {
    uniqueIdentifier: 'morning3ds',
    questionText: 'Informe o preço da manhã!',
    setFunc: async (ctx) => {
      if (Number.isInteger(parseInt(ctx.message.text))) {
        return await registerTurnipsSell({ ctx: ctx, today: today, flag: '3ds', flagTime: 'morning' })
      }

      return ctx.reply('Valor inválido, por favor insira um valor númerico!')
    }
  })
  .question('AFTERNOON', 'noon3ds', {
    uniqueIdentifier: 'noon3ds',
    questionText: 'Informe o preço da tarde!',
    setFunc: async (ctx) => {
      if (Number.isInteger(parseInt(ctx.message.text))) {
        return await registerTurnipsSell({ ctx: ctx, today: today, flag: '3ds', flagTime: 'noon' })
      }

      return ctx.reply('Valor inválido, por favor insira um valor númerico!')
    }
  })

Then, the question buttons name "MORNING" and "AFTERNOON" has been overwriting that guys below:
menuSwitch
  .submenu('🍀 Cadastrar Turnips', 'regturnipssw', new TelegrafInlineMenu('Escolha uma opção:'))
  .question('Compra', 'buyturnipssw', {
    questionText: checkIfSunday(today),
    setFunc: async (ctx) => {
      if (today !== 0) {
        return true
      }
      if (Number.isInteger(parseInt(ctx.message.text))) {
        return await registerTurnipsBuy({ ctx, flag: 'Switch' })
      }

      return ctx.reply('Valor inválido, por favor insira um valor númerico!')
    }
  })

  .submenu('Venda', 'sellturnipsw', new TelegrafInlineMenu('Escolha uma opção:'))
   .question('MORNING', 'morningsw', {
    uniqueIdentifier: 'morningsw',
    questionText: 'Informe o preço da manhã!',
    setFunc: async (ctx) => {
      if (Number.isInteger(parseInt(ctx.message.text))) {
        return await registerTurnipsSell({ ctx: ctx, today: today, flag: 'Switch', flagTime: 'morning' })
      }

      return ctx.reply('Valor inválido, por favor insira um valor númerico!')
    }
  })
  .question('AFTERNOON', 'noonsw', {
    uniqueIdentifier: 'afternoonsw',
    questionText: 'Informe o preço da tarde!',
    setFunc: async (ctx) => {
      if (Number.isInteger(parseInt(ctx.message.text))) {
        return await registerTurnipsSell({ ctx: ctx, today: today, flag: 'Switch', flagTime: 'noon' })
      }

      return ctx.reply('Valor inválido, por favor insira um valor númerico!')
    }
  })

So, i have no idea why it isn't work. I've tried change buttons names, question names, actions, etc. Nothing seems work. When i swap the 3ds main button to switch main button, the problema remains, but only the first button works perfectly.
I never have doubts and problems with this lib, but now i'm really stuck on this. I hope someone can help me.
Thanks in Advance.

Using .submenu with chained methods ends up with not as easy to understand sourcecode.
Also its not intuitive what submenu returns: the submenu or the parent menu?
I am thinking about removing the chaining support for .submenu because of it not being intuitive.
(The current implementation returns the submenu on .submenu and .selectSubmenu in order to do simpler submenus with only one purpose. Something like an 'are you sure' submenu is more easy that way but is confusing as it has a different behavior than the rest)
In this case you also used .submenu(…, new TelegrafInlineMenu(…).question(…)) which isnt making the sourcecode easier to understand.
I suggest simplifying your sourcecode and using more variables containing the menus. This should also help with developing and maintaining your bot.

i need to build this pattern:
Menu
 .submenu("Sell", "sellmenu", new TelegrafInlineMenu('Choose your option:'))
.question("option 1", "opt1",
questionText: 'SOME TEXT HERE!',
    setFunc: async (ctx) => {
     someFuncHere()
      }
.question("option 2", "opt2",
questionText: 'SOME TEXT HERE!',
    setFunc: async (ctx) => {
     someFuncHere()
      }

can you got it ?

I think I would use something like this:
const sellMenu = new TelegrafInlineMenu(…)
sellMenu
  .question(…)
  .question(…)

menu.submenu(…, sellMenu)

const otherMenu = …
menu.submenu(…, otherMenu)

That way things are more clearly ordered into variables and easier to understand. At least for me its easier that way.

sadly this didn't solve my problem.  I think this will be usefull:
https://vimeo.com/405563824
OR
https://youtu.be/BptesoV5ukg
thanks in advance.

No worries, your English is great! Seeing your dedication is awesome! :)
Switching the menus so the other one is first let me think about the uniqueIdentifier. If it isnt unique the wrong one might be used instead.
I think i saw in your video that the uniqueIdentifier in your menu3ds.js file line 55 is 'morningsw' which ends with sw. Just like you used it in the earlier example with the switch menu. Is the uniqueIdentifier the same there? That would explain it.
The menu.question functionality is a bit different from the rest of the library as it leaves the inline button ground. Its not as ideal as I would like it. I also struggle with them sometimes.
Thanks for investing the time!

Wow, really thanks for answer me quickly!
About that uniqueIdentifier you were right, these guys weren't correct. But sadly, problem remains scaring me. :/
When i'm inside SwitchMenu, TUrnips, Sell, Morning/Afternoon, then tap in back button, the menu back to the 3ds Menu, i have no idea what is happening and my project is almost finished, missing only this menu stuff.
:(

Thanks A LOT , @EdJoPaTo . As we talk before, in telegram chat, i was using the package version 3.6.x an now i have the last one. It solve my problem, thanks a lot


IF-331: Fix subheader navigation of fleetmanager

Task linked: IF-331 Navigation to Asset series not working from detail page after reloading


Module Not Found Error

I was trying to run a test with the below command
$ ./decode-qr-uri.py 'igmobileotp://?action=secactivate&enc=VRUq6IoLWQRCMRITZEHtHUSWJiPwgu%2FN1BFyUHE5kxuHIEYoE3zmNTrAHeeUM5S3gzCnTy%2F%2Bdnbu%2FsjjQW%2BNEISx8C4ra8rLpxOl8E8w4KXHgjeBRgdvSzl%2BbzX5RYRrQlWgK8hsBT4pQYE0eFgW2TmRbzXu1Mu7XjKDcwsJLew32jQC2qyPLP8hljnv2rHwwsMfhQwgJUJYfctwLWWEDUFukEckaZ4O&v=1&mac=mhVL8BWKaishMa5%2B'
And got the error
Traceback (most recent call last):
  File "/root/entrust-identityguard-tools/./decode-qr-uri.py", line 9, in <module>
    from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'

then I installed the module(crypto) with the command pip install crypto then I ran the script again and it threw the same error, when I nano(file editor) the script(decode-qr-uri.py) I noticed the spelling of the word crypto begin with a upper case latter so I edit the word Crypto to crypto and try running the script again and got the same error saying
Traceback (most recent call last):
  File "/root/entrust-identityguard-tools/./decode-qr-uri.py", line 9, in <module>
    from crypto.Cipher import AES
ModuleNotFoundError: No module named 'crypto.Cipher'

I then edited the script again and change the word  Cipher to cipher which will be living use with crypto.cipher.
I then ran the script again and got the same output
 Traceback (most recent call last):
  File "/root/entrust-identityguard-tools/./decode-qr-uri.py", line 9, in <module>
    from crypto.cipher import AES
ModuleNotFoundError: No module named 'crypto.cipher'

I then install the model crypto.cipher with the command pip install crypto.cipher successfully and got the below output
┌──(root㉿localhost)-[~/entrust-identityguard-tools]
└─# pip install crypto.cipher
Requirement already satisfied: crypto.cipher in /usr/local/lib/python3.11/dist-packages (1)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from crypto.cipher) (2.28.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Now if you look at the output it says
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from crypto.cipher) (2.28.1)
which means the module crypto.cipher exist.
Any solution?
Thanks in advance

Solution
pip3 uninstall crypto
pip3 uninstall pycrypto
pip3 install pycryptodome


Upgrade Go version

1.15 is now generally available - https://golang.org/doc/go1.15
Let's update the tool chain and CI to use it for development.

Also possibly we could use kool itself for handling docker commands execution instead of  bahes.

Done!


Fix alignment of buttons on Homepage

Describe the bug
Move the second link to bottom for small displays
Screenshots

@aayush-05
i can do it now  if you are not working on it

also i would like to indent these button to the left to be aligned with the text above it

#1120
@aayush-05
it's duplicated


Improve readme intro

...to list features and benefits of using this starter instead of starting from scratch on your own.

Bonus points for screenshots 🙌

The readme seems fine? Totally open to people taking a crack at this, but I'm going to close this particular issue


Trouble configuring on OS X

Chef --
I love this project, but I'm having trouble configuring this for use on OS X.  I'm a newbie to Docker, which is probably the issue.
It appears I can get the app running in a Docker VM, but I have no idea how to find it in my browser.  I can find other Docker apps in my browser but this one is elusive.
Are there any special OS X instructions?  What LOG information can I attach that will help you help me?
Thanks in advance.
/Hunt

Hey Hunt - thanks for the heads up!  I thinks that something is broken in the build cycle so I'll try to carve out some time to investigate the issue.  Now, regarding your OS X question, no there are no specific instructions apart from the Docker installation.  I think this is related to the broken Docker image.
I'll let you know when it's fixed.  By the way, if you're using NodeJS for development then you can use the project as a library directly and work with it in embedded mode.
Sorry for the hassle :(

@rhnorment Just fixed the issues and released a new version.  Should be available in Docker Hub in a while.  Please check again and let me know if you still have any issues.


Shortcut buttons should close modal if already open

Pressing on a button for a shortcut modal that is already open should close the shortcut modal.

fixed with commit e7bc44d3950cd6ae3af2b94d30852c606410169c


Configure bandit in pyproject.toml instead of using .bandit file

Closes #141

Nice, did the changes work locally? I remember I had issues with configuring bandit, but that could've been just me.

Yes, I just had to install toml to make it work

Nice!


Home assistant cannot start after upgrading to 0.76.1

Home Assistant release with the issue:

hassio version 1.3.1
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

HASSIO running on a Raspberry PI 3
Component/platform:

Recorder
Description of problem:
I am running HASSIO or RPi3, after upgrading to 0.76.1 my web frontend does not start. Digging into the logs I found this:
2018-08-20 20:05:01 WARNING (Recorder) [homeassistant.components.recorder.migration] Database requires upgrade. Schema version: 5
If I uncomment db_url line under recorder component, then HA starts without issues, however data is not being logged into a database. I am running the latest HASSIO packages, and recording data into Mariadb which is the very latest version 3.2.2
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

recorder:
  db_url: mysql://xxx:xxx@core-mariadb:3306/homeassistant
  purge_interval: 5
  purge_keep_days: 365

Traceback (if applicable):

Additional information:

https://www.home-assistant.io/blog/2018/08/17/release-76/

did you wait 30 minutes or longer like the release notes said?  You need to wait for the migration to finish.  Depending on the size of the DB it could take longer.

in MariaDB my event table size is 1.9G, while the states is 519M

I had to uninstall MariaDB then reinstall again. Not to mention I've lost 6 months of data.


Adding boolean type assertion changes type narrowing

🔎 Search Terms
Type Narrowing
Boolean
Undefined
🕗 Version & Regression Information
Version: 5.6.3
Regression: Unknown
⏯ Playground Link
https://www.typescriptlang.org/play/?noUnusedLocals=true&noUnusedParameters=true#code/GYVwdgxgLglg9mABFApgZygeTCgFMOOALkQwCcYwBzRAH0XABMVhKVGBKRAbwChEBiCAgzIAFpRoBeRAEJZBOAG5+gmMFxQJ1Ln0H7EZFFBBkkigHQQxAQzIBBKLgAMHFfoC+qgUZNnEAORMLGyMAbxevKCQsAjI6FAAKgDucPiEJOSSdAxgzKw4nDzeQiJQ4pIkAEaEADYoNkgy8oruahpakrol+r6m5oRWtg5Orm0CXr3G-YHBBezhHkA
💻 Code
function testOne(foo: string | undefined) {
    const thing = !!foo;
    if(thing) {
        // Foo type is String
        return foo.charAt(0);
    }
    return 'undefined'
}

function testTwo(foo: string | undefined) {
    const thing: boolean = !!foo;
    if(thing) {
         // Foo type is string | undefined
        return foo.charAt(0);
    }
    return 'undefined'
}

🙁 Actual behavior
foo is typed as string | undefined if thing has explicit type of boolean
🙂 Expected behavior
foo should be typed as string if thing has type of boolean just like if thing's type is inferred
Additional information about the issue
No response

This was an intentional boundary in #44730

@RyanCavanaugh Thanks for the quick response! Is there a specific reason why this choice was made? I don't see that listed. Regardless we can close the ticket.

IIRC it's possible to get into a type resolution circularity with this inference in a way that wouldn't really be solvable, so you need some "out" in cases where you're not using it for narrowing purposes

Good to know! That makes sense. Thanks again for your help!


Add python-hawkular-client.rpm to oso-centos7-host-monitoring Dockerfile

Added the copr repo with the python-hawkular-client rpm and installed the rpm.
Tested locally

@twiest  PTAL

On second thought, it might be better to have the rpm in https://copr.fedorainfracloud.org/coprs/g/OpenShiftOnlineOps/openshift-tools/packages/
You don't wan't me to change the package externally and break your build.
@twiest what do you think?

@zgalor The file you modified is a generated file (from a template). So the next time it's generated, your changes will be removed.
Here's more information on why we generate them:
https://github.com/openshift/openshift-tools/blob/prod/docker/README.adoc#directory-structure
We want to change this process because it's tedious and non-intuitive, but, for now it is our process.
You need to modify this Dockerfile and make sure it's in the {% if base_os == "centos7" %} section so that it only applies to centos:
https://github.com/openshift/openshift-tools/blob/prod/docker/oso-host-monitoring/src/Dockerfile.j2
As far as the "break the build", that's a good point, however, that also relegates us to maintaining that RPM and making sure it's up to date with the one we use in RHEL.
Neither is a good situation, but I think having you maintain a COPR repo with that client (at least for now) is probably the better of the two.
We can always change this if it becomes a problem.

Whoops, my bad.
Fixed and generated from template.
@twiest PTAL

@twiest yes please

Done.
@twiest PTAL

@twiest bump

Actually, let's wait till I can consume the Hawkular rpm from Hawkular repo in copr

@zgalor ok, sounds good. Bump me again when that's ready.

@twiest let's merge this, and once we have a hawkular repo on copr I'll submit a new PR.

@twiest Now it's with the official Hawkular group repo.
Tested on my vm.


Delete under gold value automatically doesn't work unless in inclusion.

Have you enabled at least one of the Destroy > By Quality options?

I believe how the Destroy > By Quality options work right now is: It destroys everything off that quallity.
Shouldn't there be a simple function that checks the price off an item (stack / nonstack) and give you the option to delete every item under certain value?

You can enable the By Quality options alongside the Below Price option for this effect. This way, items that are worth more than the set price will not be sold/destroyed, even if its quality option is checked under By Quality.
If you add items to an Inclusions list, then those items will be sold/destroyed regardless of the Below Price option.


Feature request: Shift-tab on un-nested list-item splits it out of the list

This would be similar to the current behavior when pressing ENTER on an empty list-item:
https://user-images.githubusercontent.com/3211874/184264686-4d52e9a7-c78f-4dcb-b011-711ee9448b76.mov

Proposed shift-tab behavior:
https://user-images.githubusercontent.com/3211874/184264765-873e07bf-5777-465e-a89c-f8dc162d66a1.mov

You can do it as a plugin with that listens to OUTDENT_CONTENT_COMMAND, smth like:
editor.registerCommand(OUTDENT_CONTENT_COMMAND, () => {
  editor.update(() => {
    const selection = $getSelection();
    if ($isRangeSelection(selection) && selection.isCollapsed()) {
      const closestElement = $getNearestBlockElementAncestorOrThrow(selection.anchor.getNode());
      if ($isListItem(closestElement) && closestElement.getIndent() === 0)  {
        $wrapLeafNodesInElements(selection, () => $createParagraphNode());
      }
    }
  });
}, COMMAND_PRIORITY_LOW)

Thanks for the example code! I currently have something similar implemented.
However I would like to propose this as default behavior of the List plugin, because it is generally expected UX when tabbing/shift-tabbing a list item. WDYT?

However I would like to propose this as default behavior of the List plugin, because it is generally expected UX when tabbing/shift-tabbing a list item. WDYT?

@Awjin We're going to remove all of the default tab shortcuts as part of the 0.4.0 release (#2855). We've found that having it in core degrades accessibility when keyboard users need to use TAB and SHIFT+TAB to focus in and out of the editor instead.

Since we're going to actually give users the option to add this behavior back with a plugin when we remove the defaults, I think the logic you're asking for could live there. I suspect most people will add that plugin back in, so the effect would be the same.


Adding share block and link to the cloud

Adding share block and link to the cloud

The documentation updated for ...
Link checker
The links will be checked by the build agent automatically once you create or update your PR.
You can use the following command to check the broken links locally.
docker run --rm -it --network=host --name=linkchecker ghcr.io/linkchecker/linkchecker --check-extern --no-warnings http://<IP_ADDRESS>:4000/

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