Error: Invalid count argument       on .terraform/modules/eks_team_cluster.eks_cluster/terraform-aws-eks-17.1.0/data.tf line 21, in data "aws_ami" "eks_worker":       21:   count = local.worker_has_linux_ami ? 1 : 0

Description
 Error: Invalid count argument
      on .terraform/modules/eks_team_cluster.eks_cluster/terraform-aws-eks-17.1.0/data.tf line 21, in data "aws_ami" "eks_worker":
      21:   count = local.worker_has_linux_ami ? 1 : 0
    The "count" value depends on resource attributes that cannot be determined
    until apply, so Terraform cannot predict how many instances will be created.
    To work around this, use the -target argument to first apply only the
    resources that the count depends on.

Versions

Terraform: 0.13.7

Provider(s):

Using previously-installed gavinbunney/kubectl v1.11.2

Using previously-installed kbst/kustomization v0.5.0
Using previously-installed terraform-aws-modules/http v2.4.1
Finding latest version of hashicorp/cloudinit...
Finding latest version of hashicorp/null...
Finding latest version of hashicorp/external...
Finding latest version of hashicorp/random...
Finding hashicorp/local versions matching ">= 1.4.*"...
Finding hashicorp/kubernetes versions matching "2.3.2, >= 1.11.1"...
Finding hashicorp/aws versions matching "~> 3.43.0, >= 3.40.0, >= 3.40.0, >= 3.43.0"...
Finding latest version of hashicorp/template...
Installing hashicorp/local v2.1.0...
Installed hashicorp/local v2.1.0 (signed by HashiCorp)
Installing hashicorp/kubernetes v2.3.2...
Installed hashicorp/kubernetes v2.3.2 (signed by HashiCorp)
Installing hashicorp/aws v3.43.0...
Installed hashicorp/aws v3.43.0 (signed by HashiCorp)
Installing hashicorp/template v2.2.0...
Installed hashicorp/template v2.2.0 (signed by HashiCorp)
Installing hashicorp/cloudinit v2.2.0...
Installed hashicorp/cloudinit v2.2.0 (signed by HashiCorp)
Installing hashicorp/null v3.1.0...
Installed hashicorp/null v3.1.0 (signed by HashiCorp)
Installing hashicorp/external v2.1.0...
Installed hashicorp/external v2.1.0 (signed by HashiCorp)
Installing hashicorp/random v3.1.0...
Installed hashicorp/random v3.1.0 (signed by HashiCorp)
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, we recommend adding version constraints in a required_providers block
in your configuration, with the constraint strings suggested below.

hashicorp/cloudinit: version = "~> 2.2.0"
hashicorp/external: version = "~> 2.1.0"
hashicorp/null: version = "~> 3.1.0"
hashicorp/random: version = "~> 3.1.0"
hashicorp/template: version = "~> 2.2.0"
Terraform has been successfully initialized!

Reproduction

Steps to reproduce the behavior:

Code Snippet to Reproduce

Expected behavior

Actual behavior

Terminal Output Screenshot(s)

Additional context

seems to be related to the local dynamic value not the eks module itself

reopening because it doesn't work with a basic dynamic cluster name example
locals {
  cluster_name = var.cluster_name != "" ? var.cluster_name : join("-", [var.AppName, random_string.suffix.result])
}

resource "random_string" "suffix" {
  length  = 8
  special = false
}

module "eks_cluster" {
  source                        = "https://artifactory.awstrp.net/artifactory/github.com/terraform-aws-modules/terraform-aws-eks/archive/refs/tags/v17.1.0.zip//terraform-aws-eks-17.1.0"
  cluster_name                  = local.cluster_name
  worker_group_launch_template = [
        name                    = join("-", [var.worker_group_name_suffix, "spot", var.instance_type, ""])
        instance_type           = var.instance_type
        override_instance_types = [instance_type]
        kubelet_extra_args = "--node-labels=${join(",",
          [
            "group-name=spot",
            "instance-type=${instance_type}",
            "node.kubernetes.io/lifecycle=spot",
            "node.kubernetes.io/instance-type=${instance_type}"
        ])}"
        tags = [
          {
            "key"                 = "k8s.io/cluster-autoscaler/node-template/label/instance-type"
            "value"               = instance_type
            "propagate_at_launch" = true
          },
          {
            "key"                 = "k8s.io/cluster-autoscaler/node-template/label/group-name"
            "value"               = "spot"
            "propagate_at_launch" = true
          },
          {
            "key"                 = "k8s.io/cluster-autoscaler/node-template/label/lifecycle"
            "value"               = "spot"
            "propagate_at_launch" = true
          },
          {
            "key"                 = "node.kubernetes.io/instance-type"
            "value"               = instance_type
            "propagate_at_launch" = true
          },
          {
            "key"                 = "k8s.io/cluster-autoscaler/${local.cluster_name}"
            "value"               = "owned"
            "propagate_at_launch" = true
          },
        ]
      }
  ]

}

This works in later terraform versions


devtool: inline-source-map broken due to TypeError

56fb0fe6d955795ad86c086f15ef8187b26d241b seems to have broken devtool: inline-source-map since line 191 of WebpackOptionsApply.js is:
compiler.apply(new SourceMapDevToolPlugin(null, null, options.output.devtoolModuleFilenameTemplate, options.output.devtoolFallbackModuleFilenameTemplate));

Null is passed to the constructor of SourceMapDevToolPlugin and because of the new truthiness check it tries to get the filename property of null and causes the following error:
TypeError: Cannot read property 'filename' of null

For what it's worth eval-source-map still works just fine.

I literally just found the same thing and came on to post it just to see you beat me by 20 minutes. Nice job :) This seems pretty critical to me.


fix: absolute positioning doesn't ignore the padding of the parent element

What about the root node when measuring it in torin.rs?

I'm not sure I understand correctly what the question is about. Do you mean absolute positioning of the root element itself or something else?

What about the root node when measuring it in torin.rs?

I'm not sure I understand correctly what the question is about. Do you mean absolute positioning of the root element itself or something else?

Torin starts measuring from the root node by calling measure_node, you changed how this method is called when measuring descendants but not when is called upon the root node of the measurement.
By root node I don't specifically refer to the root node of the app but to the root node from where the measuring starts, which could be different is the measure is incremental.

Perhaps this your way is not a good approach, if the 3 places where this function is called require some special logic maybe its better to move it inside or create a simple function to abstract it

I don't agree with this, if an element is absolute I still think it should consider the parent's padding. I recently added the global position too, maybe that fits your use case better?


Hot Reload not working?

Is Hot Reloading already working?
I see that there are many Webpack "watch"-scripts in package.json and they actually do see when files get changed.
However, my file changes do not seem to trigger a web view reload or Electron restart respectively.

I've created a pull request which adds Hot Reloading. See #16

I've created a pull request which adds Hot Reloading. See #16

up


Fix talk links in News

This is something @emiliom discovered, that the folder for presentations is talk not talks. For whatever @emiliom 's direct push didn't trigger a successful build. Let's try it again here.

Still not sure why the direct push failed on the build, but this appears to work now. I'll self-merge here.

Woo-hoo, thanks!


Load is getting generated more than specified time in OpenShift Cluster

I gave input as 120 seconds. But the loadgen is generating load beyond that time.

Hi @sushma1118 care to share more details? Any errors? stack traces? reproduce?


"UNION DISTINCT" not supported

parser := clickhouse.NewParser("select replica_name from system.ha_replicas UNION DISTINCT select replica_name from system.ha_unique_replicas format JSON")
statements, err := parser.ParseStatements()

this code will return a error,  such as
line 0:50 expected keyword: ALL, but got <keyword>
select replica_name from system.ha_replicas UNION DISTINCT select replica_name from system.ha_unique_replicas format JSON
                                                  ^^^^^^^^

"UNION DISTINCT" is supported by clickhouse engine，please see: https://clickhouse.com/docs/en/sql-reference/statements/select/union

@lvjinyu Thanks for your feedback, will support it soon.


Using generator functions to define Rxjs operators

I propose a new and readable way to make Rxjs operators. Instead of defining a custom operator, many operators can be defined more easily by the combination of a generator function and a special operator. I made this special operator called generator() that takes an instance of generator as input and uses it to transform the values in the observable stream.
It works like this. Any time a "yield undefined" or simply "yield" is encountered in the generator, the observable waits until it sees new input from the source, and then inserts those values where the "yield" was called. On the other hand, if you yield values like "yield 5", it will push those through to the observer until an empty "yield" is encountered.
function* squareIfOdd() {
   while(true){
     let x = yield
     if(x % 2 != 0) {
       yield x*x
     }
   }
 }

 var subject = new BehaviorSubject(1);
 let x = squareIfOdd()
 var sub = from([1, 2, 3, 4, 5])
   .pipe(
     generator(squareIfOdd())
   )
   .subscribe((v)=>{console.log(v)});
//outputs: 1, 9, 25

This seems like an intuitive design and I propose it should be part of Rxjs in some form. I would like to hear thoughts or criticism.

I believe this should go userland. Most of generator / iterable based approach can be achieved by using from with other operator chains afaik and don't think core should include special semantics to create operator via one opinionated way.
Personally, I have different opinions around intuitive design, but that's another story.

This allows asynchronous observable transformation in nice sequential syntax. It allows complicated transformations to be defined easily and readably without having to make a larger code-wise and complexity wise observable operator. How could it be less opinionated than it is right now? What is more intuitive for you? @kwonoj

I don't have strong suggestions around your proposal itself around intuitive, as it could vary per each. it's just my personal opinion and reason I didn't express it, as my intention is not to discuss those design.
However, scope I'm more focused in here is if this should be included or not : and for those, I do think this should go to userland first. Please refer issue template for reasoning. This proposal neither require core's internal design changes nor require core's internal to implement this.

As our issue template / guideline (https://github.com/ReactiveX/rxjs/blob/master/doc/operator-creation.md#publish-your-operator-as-a-separate-library) recommends, I'd like to suggest to publish as userlevel module first. We can discuss to include into core based on usecases later.
Reading proposal bit more, I don't think we will include this into core lib immediately without seeing usecases over, which userlevel module should serve for thouse purpose. You may able to refer https://github.com/cartant/rxjs-etc our own core team member @cartant 's work for an example, which we don't include into core directly as first step.


feat: add support for edge-tts

Closes #42

Notes:

I'll delete the mp3 file, transcript and edge_test.py files. Just wanted to confirm that the output I'm getting is what's expected.
I see that there are tests for elevenlabs and openai here. However, I couldn't find response.txt that the file makes reference to.

@souzatharsis

Adding a link to the mp3 file here!

Minor issue but the log prints INFO - Podcast generated successfully using edge-tts TTS model which could seem redundant (as opposed to INFO - Podcast generated successfully using Edge TTS model) but what do you think?

@ChinoUkaegbu Many thanks for the PR! You should instead run tests with pytest (see tests directory).

Recommended steps:

Add new tests to tests/test_audio.py covering TTS-edge
run all tests to make sure there is no regression: python pytest in root directory

Also, make sure to update documentation README, config.md and usage/config_custom.md, at least.

Good point @brumar .
@ChinoUkaegbu , I highly recommend using poetry for dependency management.
Simply pip install poetry and then poetry add edge-tts to update dependencies

Thanks for the review, I'll make the changes!

I think I'm running into an error with v0.2.1. With the previous version, when I used this code
from podcastfy.client import generate_podcast

audio_file = generate_podcast(urls=["https://en.wikipedia.org/wiki/Podcast"], tts_model="edge-tts")

to 'test' if the podcast was being generated, it provided a transcript based on the wikipedia podcast link I passed, but on v0.2.1, it seems as though the url is being ignored?
These are some of the transcripts generated:
<Person1> <prosody rate="105%" pitch="high">Welcome to PODCASTFY  - Your Personal Generative AI Podcast. </prosody> </Person1>
<Person2> <prosody rate="105%" pitch="high">Alright, let's jump right into it! </prosody> </Person2>

<Person1> <prosody rate="102%" pitch="medium"> Welcome back to PODCASTFY - Your Personal Generative AI Podcast.  Are you ready for today's deep dive? </prosody> </Person1>

<Person2> <prosody rate="105%" pitch="high">  Always!   What are we diving into? </prosody> </Person2>

<Person1> <prosody rate="102%" pitch="medium">  Well, today's episode is a bit different. We're going to try something new, you know, experiment a little!  We're going to see what happens with...no input! </prosody> </Person1>

<Person2> <prosody rate="103%" pitch="high"> Wait, what? No input? How can we discuss something without anything to discuss?  </prosody> </Person2>

<Person1> <prosody rate="104%" pitch="medium"> That's the challenge, isn't it? It's about thinking on our feet, embracing the unknown.  It's like, um, like that time we tried to cook a gourmet meal with just a potato and some spices. Remember that? </prosody> </Person1>

<Person2> <prosody rate="102%" pitch="high">  How could I forget? It was a disaster! But, I see what you mean.  Okay, no input. Where do we even begin? </prosody> </Person2>

<Person1> <prosody rate="105%" pitch="medium"> That's the beauty of it! We can begin wherever we want. The possibilities are endless!  We could talk about the nature of nothingness, the importance of silence, or even just tell some jokes.  What do you think? </prosody> </Person1>

<Person2> <prosody rate="104%" pitch="high"> Hmm, those are some interesting ideas.  I'm actually quite intrigued by the idea of discussing nothingness. It sounds philosophical and deep.  What do you say we give it a go? </prosody> </Person2>

<Person1> <prosody rate="103%" pitch="medium"> I'm game if you are! Let's embrace the void and see where it takes us. </prosody> </Person1>

<Person2> <prosody rate="102%" pitch="high">  Alright, let's do it! </prosody> </Person2>

<Person1> <prosody rate="105%" pitch="medium">  And that's all the time we have for today's episode of PODCASTFY.  Until next time! </prosody> </Person1>

This is a major bug #52; the input text is being ignored. I am working to fix it ASAP. Thanks for reporting it.

Fixed in new release v0.2.2
Please update podcastfy
@ChinoUkaegbu, thank you so much for reporting it; your message allowed us to fix a major bug in less than 24h of its introduction. Thanks!
Also, we need to figure out a way to update unit tests in a way where we evaluate whether the output transcript makes sense... right now I am only checking whether it's consistent but I don't check whether the conversation is on-topic or too short etc. Will open an issue for better testing. Thanks again!
Looking forward to reviewing your updated PR.

 I'm adding the changes to v0.2.2. I ran poetry add edge-tts which updated the pyproject.toml file but i'm wondering if the requirements.txt file should also be updated?

Yes, please.
poetry export --without-hashes --format=requirements.txt > requirements.txt
We'll create a Contributor Guideline doc to describe all of these. Thanks!

All done! I wasn't sure of how to merge the branches without conflicts with the base so I created a new PR #58.

Solved in #58


[feature] Use DockerHub remote registry - Cannot Push

What type of PR is this?

/kind feature

What happened:
Hi,
I am trying to use Dockerhub instead of a local docker registry/ Harbor.
I tried to connect ormb with my dockerhub registry with:
ormb login registry.hub.docker.com -u USERNAME -p MY_PASSWORD
ormb save ./examples/PMML-model  docker.io/USERNAME/models:ormb_pmml_v1
ormb push docker.io/USERNAME/models:ormb_pmml_v1

I can login and save but push send this error:
failed commit on ref "manifest-sha256:7c5eac5fc9f76180b867c4ee67d03e51a43794365a7517aca4c83ce51faa8eb7": unexpected status: 403 Forbidden
It sounds like it is a permission issue to send the model to Dockerhub.
Questions:

Is this already possible to use DockerHub registry.
If yes do you have an example?
if no, is this a feature that can be added in the future?

Thanks!

Docker hub does not support OCI manifests I think.

It does not depend on this project. OCI artifact is a feature of the image registry. We need to wait until docker hub supports it.

Okay! Thank you @gaocegege


Gisportal: Deleting projects ist not deleting projectfiles on server

The function for admin to edit projects on gisportal includes the possibility of deleting a project. So doing this, project disappears on gisportal, but .qgs-file still remains on server in file directory. It would be great to delete also the .qgs-file and related files (.html and .json) on server.

In delete project confirmation window add also checkbox (default false): Delete also project file and related files from disk?

hi,i will check and i will let you know about qgisserver3 experience (wmts) end of the week.brmarkusVon meinem Samsung Galaxy Smartphone gesendet.
-------- Ursprüngliche Nachricht --------Von: Uroš Preložnik<EMAIL_ADDRESS>Datum: 30.03.19  16:36  (GMT+01:00) An: uprel/gisportal<EMAIL_ADDRESS>Cc: mrkskrnr<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [uprel/gisportal] Gisportal: Deleting projects ist not deleting projectfiles on server (#26) In delete project confirmation window add also checkbox (default false): Delete also project file and related files from disk?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/uprel/gisportal","title":"uprel/gisportal","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/uprel/gisportal"}},"updates":{"snippets":[{"icon":"PERSON","message":"@uprel in #26: In delete project confirmation window add also checkbox (default false): Delete also project file and related files from disk?"}],"action":{"name":"View Issue","url":"https://github.com/uprel/gisportal/issues/26#issuecomment-478256904"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/uprel/gisportal/issues/26#issuecomment-478256904",
"url": "https://github.com/uprel/gisportal/issues/26#issuecomment-478256904",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

yes, i think opportunity to delet projectfile (.qgs) and related files (with same name, e. g. .html and .json) wouuld be great.


fixed bug where param for Html::span was int

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
#200

👍


TensorFlow Marker detection

Is the new TF model for 'Marker' supposed to detect the tape squares on the floor that represent the Freight Frenzy 'barcode'?
It does not appear to be detecting a blue tape square for us here. What is the model based on?

That was the original intent, and also to reduce the likelihood that an empty spot would detect a duck.  In the end I'm not sure the tape provides a reasonable object to detect, since it has no  texture or features.

I'll leave this open for a while so if people come here looking for information on this topic, they'll find it, but further discussion of this topic is probably better over in the forums or reddit.

You can go ahead and close, we did manage to get it to detect a blue marker square briefly. Hopefully it will be more reliable once on the robot proper.


Expanding Rows rapidly decreasing performance using vue-table

Describe the bug
I'm currently converting the react-table v8 examples to Vue3 examples. When trying to replicate the "Expanding" example (https://tanstack.com/table/v8/docs/examples/react/expanding), I ran into this issue, showcased here: https://codesandbox.io/p/sandbox/mystifying-herschel-hhzwnn?file=%2Fsrc%2FApp.vue%3A1%2C1 Clicking the "👉" button, changes the expansion model and causes the selected row toggle its expansion. The more often you trigger the expansion model change, the slower "getExpansionRowModel" gets, resulting in increasing lag.
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/mystifying-herschel-hhzwnn?file=%2Fsrc%2FApp.vue%3A1%2C1
Steps to reproduce
Run the CodeSandBox and click any of the "👉" buttons for about 5-10 times. Debug times are shown in the console.
Expected behavior
The time to process "getExpandedRowModel" should stay consistent, as it does in the React example.
How often does this bug happen?
Every time
Screenshots or Videos

Platform
macOS 13.5.2 M1 Chip
react-table version
*vue-table v8.10.1
TypeScript version
5.0.2
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

For me this happens also for column visibility. I feel like it may have something to do with setting state.

I already suspected that there might be too complex information passed to the "expanded" ref. However, logging the value shows the expected list, as also shown above the table in my codesandbox ({{ expanded }}). I would guess there is some sort of unwanted caching going on internally?

I think I was able to fix the issue. Indeed it was related to the state because we were setting the table state wrongly:
const table = useVueTable({
  get data() {
    return data.value;
  },
  // before
  get state() {
    return {
      expanded: expanded.value
    }
  }
  // after
  state: {
    get expanded() {
      return expanded.value;
    }
  },
// ...
});

Found this out through the sorting example.

Awesome! Thank you very much!

I think I was able to find the issue. Indeed it was related to the state because we were setting the table state wrongly:
const table = useVueTable({
get data() {
return data.value;
},
// before
get state() {
return {
expanded: expanded.value
}
}
// after
state: {
get expanded() {
return expanded.value;
}
},
// ...
});
Found this out through the sorting example.

You are my hero.


🚀 Feature: Add i18n (Internationalization) Support for Project

🔖 Feature description
Add i18n (Internationalization) support to the backend handle multiple languages efficiently for responses, error messages, and dynamic content.
🎤 Why is this feature needed ?
In my use case, the application serves users from different regions, and providing localized responses improves user experience, accessibility, and engagement. For example:
English users should see messages in English.
Spanish users should see messages in Spanish, and so on.
Having backend i18n ensures consistent language support regardless of the client-side setup, especially for error messages and server-rendered content.
✌ How do you aim to achieve this?
Use an i18n library such as i18next, nestjs-i18n, or a custom implementation to manage translations.
Dynamically detect the user’s language from headers (Accept-Language), tokens, or query parameters.
Load and serve translations based on the detected language.
Fallback to a default language (e.g., English) if no translation is available.
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Contributing Guidelines

Are you willing to submit PR?
None

[ ] Backend
[ ] Frontend

Look at this library! https://lingui.dev/
We can share locales and use them same tool on node,nextjs,react

https://lingui.dev/blog/2024/11/28/announcing-lingui-5.0


Got error when pushing commit:  ! [remote rejected] master -> master (pre-receive hook declined)

Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (13/13), done.
Writing objects: 100% (15/15), 1.68 KiB | 0 bytes/s, done.
Total 15 (delta 6), reused 0 (delta 0)
remote: Gogs: Internal error
To http://<IP_ADDRESS>:10080/yusank/egg-yellow.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://<IP_ADDRESS>:10080/yusank/egg-yellow.git'

and here is log from server gogs/log/hooks/pre-receive.log
2017/08/03 03:15:06 [FATAL] [...its/gogs/cmd/hook.go:97 runHookPreReceive()] GetProtectBranchOfRepoByName [repo_id: 3, branch: master]: dial tcp <IP_ADDRESS>:3306: getsockopt: no route to host
2017/08/03 03:15:20 [FATAL] [...its/gogs/cmd/hook.go:97 runHookPreReceive()] GetProtectBranchOfRepoByName [repo_id: 3, branch: master]: dial tcp <IP_ADDRESS>:3306: getsockopt: no route to host
2017/08/03 03:15:53 [FATAL] [...its/gogs/cmd/hook.go:97 runHookPreReceive()] GetProtectBranchOfRepoByName [repo_id: 3, branch: master]: dial tcp <IP_ADDRESS>:3306: getsockopt: no route to host
2017/08/03 03:55:11 [FATAL] [...its/gogs/cmd/hook.go:97 runHookPreReceive()] GetProtectBranchOfRepoByName [repo_id: 3, branch: master]: dial tcp <IP_ADDRESS>:3306: getsockopt: no route to host
2017/08/03 03:55:49 [FATAL] [...its/gogs/cmd/hook.go:97 runHookPreReceive()] GetProtectBranchOfRepoByName [repo_id: 3, branch: master]: dial tcp <IP_ADDRESS>:3306: getsockopt: no route to host
2017/08/03 04:22:24 [FATAL] [...its/gogs/cmd/hook.go:97 runHookPreReceive()] GetProtectBranchOfRepoByName [repo_id: 5, branch: master]: dial tcp <IP_ADDRESS>:3306: getsockopt: no route to host

I`m running it in docker,image version shows latest.
Any solution guys?

i think its the problem of mysql connection here is app.ini`
[database]
DB_TYPE  = mysql
HOST     = <IP_ADDRESS>:3306
NAME     = gogs
USER     = root
PASSWD   = ********
SSL_MODE = disable
PATH     = data/gogs.db

And I can connect to mysql in terminal , but docker logs of gogs shows this:
2017/08/03 06:18:54 [FATAL] [...gs/routes/install.go:66 GlobalInit()] Fail to initialize ORM engine: migrate: sync: dial tcp <IP_ADDRESS>:3306: getsockopt: no route to host

v 0.11.29  git push to New Repository  :[remote rejected] master -> master (pre-receive hook declined)


fix flake8 config

flake8 version 6 no longer allows inline comments in the config file.

Codecov Report
Base: 88.18% // Head: 88.18% // No change to project coverage :thumbsup:

Coverage data is based on head (3261a0f) compared to base (ee7b572).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   88.18%   88.18%
=======================================
  Files           4        4
  Lines         254      254
=======================================
  Hits          224      224
  Misses         30       30

Flag
Coverage Δ

unittests
88.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Domain knows about ASP.NET implementation

Domain knows about ASP.NET implementation
Correct me if I'm wrong, but the Domain layer shouldn't know about implementations, and by having the Armory User in that layer, he knows he's implementing the IdentityUser from the AspNetCore library.

Yes, but in this case this implementation is necessary for the correct implementation of the user management logic with the support of ASP.NET Identity (At least this was the best solution I found). Furthermore, it can be justified by saying that the class ArmoryUser inherits from is part of the ASP.NET Identity library domain.

Ok, thanks for the clarification, I'll close the issue


remove cargo config

Signed-off-by: ye.sijun<EMAIL_ADDRESS>I build youki in arm linux, but build failed. .cargo/config sets a specific target.
Discussion from https://github.com/containers/youki/issues/617, I think we should delete them.

Codecov Report

Merging #712 (0d3b77f) into main (468e9fb) will increase coverage by 9.60%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #712      +/-   ##
==========================================
+ Coverage   61.13%   70.73%   +9.60%
==========================================
  Files          85       86       +1
  Lines       12563    11158    -1405
==========================================
+ Hits         7680     7893     +213
+ Misses       4883     3265    -1618


Constructors don't inherit properly.

Paste this into the REPL.
class A {
  constructor(name) {
    this._name = name;
  }
  sayHi() {
    console.log(`Hi, I'm ${this._name}`);
  }
}

class B extends A {}

var a = new A("foo");
a.sayHi();

var b = new B("foo");
b.sayHi();

Expected output:
Hi, I'm foo
Hi, I'm bar

Output:
Hi, I'm foo
Hi, I'm [object Object]

Moving to the main repo: https://github.com/6to5/6to5/issues/684


Error creating server when there is a special character in the name

A 403 error occurs when trying to create a server with a special character in the name but it doesn't tell you why the error occurred, just need to filter out special filters for server name's

That's a known issue and on my to do list already, it's not just special chars but validation of the entire server creation flow that needs a bit of attention really
Regardless, thanks for letting us know


Unable to compile esp-idf-svc-0.45.0 for esp-idf v5.0

error[E0412]: cannot find type `eth_esp32_emac_config_t` in this scope
     --> /home/kayo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.45.0/src/eth.rs:750:62
      |
750   |     fn eth_esp32_emac_default_config(mdc: i32, mdio: i32) -> eth_esp32_emac_config_t {
      |                                                              ^^^^^^^^^^^^^^^^^^^^^^^

      |
     ::: /home/kayo/devel/hardware/water-thermostat/rust-esp32-std-demo/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-9eff167dc7f6d435/out/bindings.rs:23408:1
      |
23408 | pub struct eth_mac_config_t {
      | --------------------------- similarly named struct `eth_mac_config_t` defined here

error[E0422]: cannot find struct, variant or union type `eth_esp32_emac_config_t` in this scope
     --> /home/kayo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.45.0/src/eth.rs:751:9
      |
751   |         eth_esp32_emac_config_t {
      |         ^^^^^^^^^^^^^^^^^^^^^^^
      |
     ::: /home/kayo/devel/hardware/water-thermostat/rust-esp32-std-demo/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-9eff167dc7f6d435/out/bindings.rs:23408:1
      |
23408 | pub struct eth_mac_config_t {
      | --------------------------- similarly named struct `eth_mac_config_t` defined here

error[E0308]: mismatched types
   --> /home/kayo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.45.0/src/espnow.rs:126:53
    |
126 |         esp!(unsafe { esp_now_register_recv_cb(Some(Self::recv_callback)) })?;
    |                                                ---- ^^^^^^^^^^^^^^^^^^^
    |                                                |
    |                                                arguments to this enum variant are incorrect
    |
    = note: expected fn pointer `unsafe extern "C" fn(*const esp_now_recv_info, _, _)`
                  found fn item `extern "C" fn(*const u8, _, _) {EspNow::recv_callback}`
help: the type constructed contains `extern "C" fn(*const u8, *const u8, i32) {EspNow::recv_callback}` due to the type of the argument passed
   --> /home/kayo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.45.0/src/espnow.rs:126:48
    |
126 |         esp!(unsafe { esp_now_register_recv_cb(Some(Self::recv_callback)) })?;
    |                                                ^^^^^-------------------^
    |                                                     |
    |                                                     this argument influences the type of `Some`
note: tuple variant defined here
   --> /home/kayo/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:571:5
    |
571 |     Some(#[stable(feature = "rust1", since = "1.0.0")] T),
    |     ^^^^

Some errors have detailed explanations: E0308, E0412, E0422.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `esp-idf-svc` (lib) due to 3 previous errors

esp-idf v5 currently only works with the git master branch. till we are finished towards the next release, please use
[dependencies]
esp-idf-hal = { git="https://github.com/esp-rs/esp-idf-hal"}
esp-idf-svc = { git="https://github.com/esp-rs/esp-idf-svc"}

[patch.crates-io]
esp-idf-hal = { git="https://github.com/esp-rs/esp-idf-hal"}
esp-idf-svc = { git="https://github.com/esp-rs/esp-idf-svc"}

inside your cargo.toml

@Vollbrecht I tested master branch, but error still happens.

Which master branch? Hopefully NOT the ESP-IDF master branch. Also from above you only need the [patch.crates-io] section.

Oh, seems it happened due to misconfiguration.


applet.interface.uart: convert to nmigen

Addresses interface.uart item from #150.

I'm currently unable to replicate the failures on my computer... will investigate later.
venv:$ python -W ignore::DeprecationWarning test.py -k 'glasgow.gateware.uart*'
.............
----------------------------------------------------------------------
Ran 13 tests in 0.823s

OK

I'm aware of the failed test, but can't replicate it here... When running all tests, I see the following (same error, different test).
venv:$ python -W ignore::DeprecationWarning test.py
[...]
======================================================================
ERROR: test_build (glasgow.applet.memory.prom.MemoryPROMAppletTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/attie/proj_local/glasgow/glasgow/software/glasgow/applet/memory/prom/__init__.py", line 872, in test_build
    self.assertBuilds()
  File "/home/attie/proj_local/glasgow/glasgow/software/glasgow/applet/__init__.py", line 232, in assertBuilds
    target.build_plan().execute()
  File "/home/attie/proj_local/glasgow/glasgow/software/glasgow/target/hardware.py", line 118, in execute
    products  = self.lower.execute_local(build_dir)
  File "/home/attie/proj_local/glasgow/nmigen/nmigen/build/run.py", line 98, in execute_local
    subprocess.check_call(["sh", "{}.sh".format(self.script)])
  File "/home/attie/.bin/python3.8.2/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sh', 'build_top.sh']' returned non-zero exit status 1.

----------------------------------------------------------------------
Ran 238 tests in 168.288s

FAILED (errors=1, skipped=7)

When running the test specifically, I see:
venv:$ python -W ignore::DeprecationWarning test.py -vk glasgow.applet.interface.uart.UARTAppletTestCase
test_build (glasgow.applet.interface.uart.UARTAppletTestCase) ... Warning: Wire top.$flatten\i2c_target.\bus.$verilog_initial_trigger has an unprocessed 'init' attribute.
Warning: Wire top.$verilog_initial_trigger has an unprocessed 'init' attribute.
ok
test_loopback (glasgow.applet.interface.uart.UARTAppletTestCase) ... ok

----------------------------------------------------------------------
Ran 2 tests in 5.379s

OK

I have also seen errors such as below, when my code is bad. I was considering raising an issue, though not sure if it's nMigen or Glasgow.
venv:$ glasgow test uart
I: g.cli: testing applet 'uart'
test_build (glasgow.applet.interface.uart.UARTAppletTestCase) ...
ERROR: Can't open input file `/tmp/yosys-abc-3pHqzP/output.aig' for reading: No such file or directory
ERROR
Traceback (most recent call last):
  File "/home/attie/proj_local/glasgow/glasgow/software/glasgow/applet/interface/uart/__init__.py", line 381, in test_build
    self.assertBuilds()
  File "/home/attie/proj_local/glasgow/glasgow/software/glasgow/applet/__init__.py", line 232, in assertBuilds
    target.build_plan().execute()
  File "/home/attie/proj_local/glasgow/glasgow/software/glasgow/target/hardware.py", line 118, in execute
    products  = self.lower.execute_local(build_dir)
  File "/home/attie/proj_local/glasgow/nmigen/nmigen/build/run.py", line 98, in execute_local
    subprocess.check_call(["sh", "{}.sh".format(self.script)])
  File "/home/attie/.bin/python3.8.2/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sh', 'build_top.sh']' returned non-zero exit status 1.

It is not your responsibility to fix the build error. (As in, I'll look into it, but not necessarily soon.)

Ok, thanks.
The gateware and applet work, I've had to tweak things for the nmigen.compat -> nmigen, but I think it should be fine as it is now.

Okay, so the error is:
The command has to terminate. Boxes are not in a topological order.
The following information may help debugging (numbers are 0-based):
Input 0 of BoxA 1 (1stCI = 474; 1stCO = 1) has TFI with CI 509,
which corresponds to output 1 of BoxB 34 (1stCI = 508; 1stCO = 38).
In a correct topological order, BoxB should precede BoxA.
Error: Abc_CommandAbc9If(): Mapping of GIA has failed.
** cmd error: aborting 'source /tmp/yosys-abc-000000/abc.script'
ERROR: Can't open input file `/tmp/yosys-abc-000000/output.aig' for reading: No such file or directory
E.ABC command line: "source /tmp/yosys-abc-000000/abc.script".

Is your Yosys a very recent build from git? If not, that's probably why you don't see it. Try upgrading it, or use the CI configuration file to use YoWASP on your machine.

@attie Can you rebase? I think post #251 the failure might be fixed.

My fault, I added a missing .oe.eq(1) (the UART Tx was non-functional), and did realise that I needed to update Pin(width=1, dir='oe') too.

Thanks!


chore: Update to use filepath instead of file

Description
Updating to use a directory path to support multiple agent health files
Type of change

[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] New feature / enhancement (non-breaking change which adds functionality)
[ ] Security fix
[ ] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ ] Documentation has been updated
[x] This change requires changes in testing:

[x] unit tests
[ ] E2E tests

 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.

cc @danielstokes


Query returns time zone, but mutation and subscription returns UTC

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
According to the link below, custom GraphQL scalar values for dates and times are treated as UTC, and time zones are ignored. However, Query results include time zones, so why do the results for Subscriptions and Mutations become UTC?
https://chillicream.com/docs/hotchocolate/v13/defining-a-schema/scalars#datetime-type

A custom GraphQL scalar which represents an exact point in time. This point in time is specified by having an offset to UTC and does not use time zone.

Is this a bug? Or is it a specification?
Best regards.
Steps to reproduce
How to reproduce.

Run the following server program.
Perform the following queries, subscriptions, and mutations.
Check each response.

Code:
using System;
using System.Threading.Tasks;
using HotChocolate;
using HotChocolate.Subscriptions;
using HotChocolate.Types;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;

internal class Program
{
	public static void Main(string[] args)
	{
		var builder = WebApplication.CreateBuilder(args);

		builder.Services
			.AddGraphQLServer()
			.AddQueryType<Query>()
			.AddMutationType<Mutation>()
			.AddSubscriptionType<Subscription>()
			.AddInMemorySubscriptions();

		var app = builder.Build();
		app.MapGraphQL();
		app.Run();
	}
}

public record Data(DateTime DateTime);

public class Query
{
	public Data GetData() => new Data(DateTime.Now);
}

public class Mutation
{
	public async ValueTask<Data> SetData(Data data, [Service] ITopicEventSender sender)
	{
		await sender.SendAsync(nameof(Subscription.OnDataChanged), data);
		return data;
	}
}

public class Subscription
{
	[Subscribe]
	public Data OnDataChanged([EventMessage] Data data) => data;
}

Query/Subscription/Mutation:
query {
  data {
    dateTime
  }
}

Subscription:
subscription onDataChanged {
  onDataChanged {
    dateTime
  }
}

Mutation:
mutation {
  setData(data: { dateTime: "2023-08-11T16:13:24.183+09:00" }) {
    dateTime
  }
}

Resuts:
Query(JST):
{
  "data": {
    "data": {
      "dateTime": "2023-08-11T16:13:24.183+09:00"
    }
  }
}

↑Why return JST here instead of UTC?
Subscription(UTC):
{
  "data": {
    "onDataChanged": {
      "dateTime": "2023-08-11T07:13:24.183Z"
    }
  }
}

Mutation(UTC):
{
  "data": {
    "setData": {
      "dateTime": "2023-08-11T07:13:24.183Z"
    }
  }
}

Relevant log output
No response
Additional Context?
Prerequisite:

Microsoft.AspNetCore.App 7.0.10
Microsoft.NETCore.App 7.0.10
This test code is executed in Asia Tokyo time(+09:00).

Version
13.4.0

@michaelstaib
Oh, I see. Thank you for your answer.


[Bug] Text in Getting Started needs to be converted to link

Priority
Undecided
OS type
Ubuntu
Hardware type
Xeon-GNR
Installation method

[ ] Pull docker images from hub.docker.com
[ ] Build docker images from source

Deploy method

[ ] Docker compose
[ ] Docker
[ ] Kubernetes
[ ] Helm

Running nodes
Single Node
What's the version?
None
Description
OPEA Getting Started guide should include links
There are several links mentioned in the Get Involved section at https://opea-project.github.io/latest/getting-started/README.html#get-involved. All of them are just simple text and instead should be specified as links.
Also, the second bullet referring to CodeGen example needs to be converted to a link.
Reproduce steps
https://opea-project.github.io/latest/getting-started/README.html
Raw log
No response

thank you a lot, fix them by https://github.com/opea-project/docs/pull/229


modify post request use urf-8 encoding

Fix #443

Would you please squash your commits into a single commit...


Malayalam Translation Added

Loved your tutorial.
My mother tongue Malayalam was missing from the language list. I have added translations for the aforementioned language.

@BoyWithSilverWings, thanks for the translation, glad to add Malayalam to the list. Will also add you to the readme. 😃


Capture Warning and Error Output in Logs

Currently if a warning or error occurs in METplus, the message is output to the screen and not captured in the log message. Errors from the produtil config are now prevented by wrapping those functions with error checking and clean error reporting that is sent to the log file. We should ensure that other potential errors in the code are also captured.
I know the python logging utility has a option to set it to capture warnings to the log automatically. @jimfrimel does this functionality exist in the produtil logger? Also, is there a way to capture stderr messages and also put them in the logs?
We should be capturing any errors that may occur with a try/catch block and append the error message to the log file so that the user can refer to the log file to see what went wrong.

See #113
Lets Setup a repeatable scenario to re-produce this behavior.
Yes we should be able to currently capture as long as logging is 'setup' Before the error occurs.
Are  referring to the stderr of the external executables ?

@jimfrimel  I was referring to errors that come from METplus. I believe all of the errors in the MET executables are captured in their logs.

Ok I see this is referring to uncaptured exceptions in the scripts...right ?

Yes, for example previously when you attempt to get a config item that isn't set. This no longer happens since we check first, but there are likely other situations where errors can occur in METplus.

Errors and warnings are now caught in the METplus logs.


copy text from web to tmux terminal

In tmux terminal we can copy and paste use the prefix + ], but how copy from the web(outside the tmux terminal) to the tmux(I try the prefix + ], but I get the paste from the tmux copy).
So, maybe there are two buffers:
1、the OS buffer;
2、the tmux buffer
How to synchronize these two buffer. Thx

edit your ~/.tmux.conf.local copy and set tmux_conf_copy_to_os_
clipboard=true

...Thank you. This had me perplexed: I could select within tmux but not
paste that elsewhere.  I think this will help.
-Paul
On Sun, May 27, 2018 at 6:24 AM, Gregory Pakosz<EMAIL_ADDRESS>wrote:

Hello @th0o0 https://github.com/th0o0,
So, maybe there are two buffers:
1、the OS buffer;
2、the tmux buffer
tmux buffers are indeed different from the OS clipboard.
How to synchronize these two buffer. Thx
If you edit your ~/.tmux.conf.local copy and set tmux_conf_copy_to_os_
clipboard=true, then every time you copy to a tmux buffer, it also copies
the text to the OS clipboard. This is useful e.g. when you enable mouse
mode: when mouse mode is enabled, a mouse selection enters copy mode,
instead of letting the terminal select text. With tmux_conf_copy_to_os_
clipboard=true, if you didn't change bindings too much, any mouse
selection should copy text to both tmux buffer and OS clipboard
automatically. That's 1 way synchronization.
What about the other direction? There's no mechanism to get notified when
something enters OS clipboard. As such there's no way to automatically save
to the current tmux buffer whatever enters OS clipboard and as a
consequence  + ] will never paste what's inside the OS clipboard.
One could imagine a binding that transfers the content of the OS clipboard
to the current tmux buffer. I don't see the point of it though. If you want
to paste what's inside your OS clipboard, just use whatever keyboard
shortcut exists at the OS level, e.g. ⌘+V.
Does that answer your question?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gpakosz/.tmux/issues/160#issuecomment-392330902, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADlQIacFDUQWlAZxqr5XCgPYbah_eC_ks5t2qkTgaJpZM4UPRKn
.

ok, thanks for your reply. I use Ubuntu, now I can synchronize the tmux buffer to OS clipboard. But I can't synchronize the OS clipboard to tmux buffer although I use ctrl + v in the tmux terminal, based on your reply maybe we can't fix it.
thanks again.

But I can't synchronize the OS clipboard to tmux buffer although I use ctrl + v in the tmux terminal, based on your reply maybe we can't fix it.

Well it's technically possible to define a binding that copies the content of the OS clipboard to the tmux current buffer. But I don't see the point. Why would you want to use 1 key binding to make that transfer then use prefix + ] to paste to terminal, when you can paste straight to terminal with CTRL + v?

em, I don't know how to paste the OS clipboard to the tmux, the CTRL + v can't take an effect in the tmux.

It depends on the terminal application you're using. From the conversation we're having I make the guess you're using Linux. Are you using X11 as well? What's your terminal emulator?

I use the Ubuntu 18.04 LTS and it's terminal


Error

E: There are problems and -y was used without --force-yes

Duplicate of https://github.com/voxpupuli/puppet-jenkins/issues/1011


Removed pytest fixed version. Improved mocking in the test.

Fixes #3

This change is

Review status: 0 of 10 files reviewed at latest revision, 3 unresolved discussions.

CHANGES.rst, line 8 [r1] (raw file):
worth a major version update, because we loose the compartibility with the older pytest, so the version can be 2.0.0

setup.py, line 30 [r1] (raw file):
have a minimum requirement now, as we've dropped pytest-cache dep

setup.py, line 32 [r1] (raw file):
remove!

Comments from the review on Reviewable.io

Review status: 0 of 10 files reviewed at latest revision, 3 unresolved discussions.

CHANGES.rst, line 8 [r1] (raw file):
Done.

setup.py, line 30 [r1] (raw file):
Done.

setup.py, line 32 [r1] (raw file):
Done.

Comments from the review on Reviewable.io

Reviewed 7 of 10 files at r1, 3 of 3 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

please release yourself (you should have the perms to do it)


Broken build

Cate build is broken since 21.09.
The issue seems to be that Matplotlib is being installed from 'default' repositories along with other dependencies, eventually producing a mismatch of required/installed icu libraries.
See also:
https://github.com/conda-forge/matplotlib-feedstock/issues/131

The build now works. It was due to conda-forge people experimenting with their qt package. The 'fix trials' have been reverted.


refactor: enable fetch in Angular's HttpClient

This commit updates the logic that modifies an app config file to add the provideHttpClient(withFetch()) call, which enabled the fetch in HttpClient. Since the withFetch() feature is available starting from Angular v16.1.0, the framework version was also updated.
// cc @petebacondarwin

Thanks @AndrewKushnir - I'll try it out tomorrow!


Turkish Language Support

Good day,
I would like to automatically generate code with Turkish prompts for my master's thesis project. Do you have plans to include Turkish language support in the future?"
Thank you for your interest.

gpt-neox supports any language as long as you tokenize it properly. gpt-neox has already been successfully used to train a japanese language model, and I imagine the same thing can be done for Turkish.
We have no current plans to explore Turkish, but we encourage you to share your experiments if you do this yourself!


Fix error for non mandatory BCDStore parameter.

The BCDStore parameter for Get-BCDBootApplication, Get-BCDBootManager, and Get-BCDDebugSettings was not mandatory but a method was called that required it to be set.
The code was removed in favor of setting a default value for the BCDstore parameter that achieves the same goal of getting the system BCD store if the parameter is unset.

Thanks for this! It's cool to see that this module is of use to you.
Regards,
Matt


Research introducing foundry to developer-tooling

Support
As there's no official Foundry/Anvil npm package there is a question of how to deal with spawning and handling Anvil instance. Luckily there's a neat package from people behind viem which I've successfuly tested. One thing to note here is that it might require both node 20 and NODE_OPTIONS="--experimental-vm-modules" to work although it's yet to be confirmed (ran into segmentation fault while calling createAnvil() while running jest because of using dynamic imports).
Devchain
We need a replacement for current @celo/celo-devchain which is Ganache-based. There's work being done on migrating core contracts to Anvil, so it can be reused in the tests. There are --dump-state and --load-state flags for Anvil that make reusing state easily possible once it's there.
Tests migration
The idea is to introduce Anvil tests and migrate suites in batches, so for the time being we'll have both Anvil & Ganache, at the end of it Ganache is going to be removed. First issue has been created that will lay all the groundwork.


[feat] upstream nix requirements to nixpkgs

Describe the problem
Not sure if this is a bug or a feature, it's borderline imo.
Basically what I expect is that when i use the cargo-tauri derivation from nixpkgs that i don't also have to copy and paste a bunch of additional prerequisites from the tauri docs in order to get things half working.
I say half working because I'm still running into bugs with cargo-tauri, especially on mac, one of which i already pushed a fix for https://github.com/NixOS/nixpkgs/pull/279771#event-11446551011
I also see that one of the dependencies, webkitgtk is marked as broken in nixpkgs on mac, but listed as a dependency on the tauri docs. I understand the nix docs say nixos rather than nix but it's pretty common use case for people working on linux/mac to be using nix rather than committing to a full nixos setup.
Additionally, I noticed that the prerequisites in the docs only work for a nix develop style shell, they don't work for nix run, say if I wanted to lift some standard tauri tasks into a package, the instructions don't cover that. This is because the additional steps of setting up the library etc. are limited to a shellHook.
Further, the prerequisites are missing required steps in the shellHook. We found that when tauri is built via nix there is a need to disable webkit compositing mode like export WEBKIT_DISABLE_COMPOSITING_MODE=1 in the shellHook. This seems to be some known tribal knowledge, as it appears in snippets from other people such as https://github.com/tauri-apps/tauri/issues/8535 but it's not listed in the prerequisites in the docs.
There are other issues like https://github.com/tauri-apps/tauri/issues/8535 that I expect are probably not issues with tauri itself, but some additional work that needs to be done on the nix side. At the moment it isn't clear where to put or discuss such a fix, would it just result in more documented boilerplate? or is there a way to codify it?
Stepping back a bit, I feel like the meta issue is that fixes to issues are being pushed into the tauri docs (or not) rather than some derivation that is directly maintainable and reusable downstream.
Describe the solution you'd like
Tauri maintains the derivation in nixpkgs with the same dependencies that it outlines in the documentation, so then there are no manual steps for consumers.
Alternatives considered
Another alternative would be that tauri maintains their own nix code separate to nixpkgs, such as an overlay or flake.
This would be fine too, the main problem to solve is to lift dependencies and other issues from docs and into nix-compatible code somewhere.
Additional context
No response

I think the main blocker here is that nobody in the tauri wg uses nix or nixos and i personally am not interested in getting into it either.
The docs were contributed (and are semi-maintained) by the community. And together with my prior statement we currently rely on them to also fix issues with it / keep it updated.
Same for cargo-tauri, i'm not sure we even knew it exists (and i for one don't even understand it 😅).

I also see that one of the dependencies, webkitgtk is marked as broken in nixpkgs on mac, but listed as a dependency on the tauri docs. I understand the nix docs say nixos rather than nix but it's pretty common use case for people working on linux/mac to be using nix rather than committing to a full nixos setup.

Is it possible then to mark webkitgtk as platform specific? Because it is a hard dependency on Linux but indeed not used at all on macOS. But you're right, we should probably differntiate between nix and nixos (probably by adding a new nix section to macos. Or wherever we could fit it into the new docs.)

Anyway, i believe that for the time being this is something we have to rely on the community to maintain if they want to use it.
Alternatively, if our docs are indeed that wrong we should consider to remove it / not migrate it to the new site (beta.tauri.app) until there's an actually working version.
I know this is likely not the type of response you were looking for but there's only so much we can do with our current resources...

Actually, lemme reopen this with the Help Needed tag for better visibility :)

@FabianLars this issue is about an approach, the nix community is large and there is a cargo-tauri pkg that i managed to update without much friction when i put a PR up
have you tried filing issues for these dependencies and other concerns upstream?
perhaps someone from the nix community would be willing to help

The ideal solution for Nix/NixOS users would be for Tauri to have a flake. Said flake could provide a basic devshell that user flakes could inherit, and that would import the essential packages. It could also export tauri-cli.
Normally, I'd say the flake should be in this repo, but it might be good for it to be in its own repo because of the sheer size of this one. Would make it easier to delegate stewardship as well.

I recently started using Nixos. I have a custom flake that I use for Tauri projects. How can I be of help?
{
  inputs = {
    nixpkgs.url = "nixpkgs";
    flake-utils.url = "github:numtide/flake-utils";
    rust-overlay.url = "github:oxalica/rust-overlay";

  };

  outputs = { self, nixpkgs, flake-utils, rust-overlay }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs {
          inherit system;
          overlays = [ rust-overlay.overlays.default ];
        };

        toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;

        packages = with pkgs; [
          cargo

          cargo-tauri

          toolchain

          rust-analyzer-unwrapped

          nodejs_18

          pnpm
        ];

        nativeBuildPackages = with pkgs; [
          pkg-config

          dbus

          openssl

          glib

          gtk3

          libsoup

          webkitgtk

          librsvg
        ];

        libraries = with pkgs; [
          webkitgtk

          gtk3

          cairo

          gdk-pixbuf

          glib

          dbus

          openssl

          librsvg
        ];

      in {

        devShells.default = pkgs.mkShell {
          buildInputs = packages;

          nativeBuildInputs = nativeBuildPackages;

          shellHook = with pkgs; ''
            export LD_LIBRARY_PATH="${
              lib.makeLibraryPath libraries
            }:$LD_LIBRARY_PATH"

            export OPENSSL_INCLUDE_DIR="${openssl.dev}/include/openssl"

            export OPENSSL_LIB_DIR="${openssl.out}/lib"

            export OPENSSL_ROOT_DIR="${openssl.out}"

            export RUST_SRC_PATH="${toolchain}/lib/rustlib/src/rust/library"
          '';
        };
      });
}

Do we create tauri-apps/nix-flake repo? Where can we maintain the flake I shared above and add support for darwin?

I asked on the Discord, and the TL;DR is that it should probably be made and owned by a member of the community first. I'd be happy to own it.

Yea the best path forward is to first make a repo community owned so that we see there's a real interest and that it's not just yet another feature request putting the burden of developing it on the WG.
The question of whether it then becomes part of the official tauri-apps organisation is really the question of who will maintain the project and whether the community is ok with relinquishing control of the project over to the WG. Once something becomes official it falls under the control of Tauri with all the checks and balances that comes with it, such as demands for proper reviewing of PR's, CI/CD, supporting the project, ensuring it's safe and stable, the works. The closer the project adheres to Tauri's demands the easier it'll be to transition into being an official project.
Note ofc that it's not impossible by any means to join the WG, if you own it @khionu and donate it to tauri-apps later, it could be seen as your contribution towards Tauri and qualify you for joining the WG if you so choose. Getting at least 2-3 WG members onboard with maintaining the project is a good idea. Getting the clear-to-go from the relevant domain lead is the final checkbox to tic I'd say (the development domain in this case, @lucasfernog, since the domain lead is the one that either creates or assigns a team to work on the project).

Say no more: https://github.com/ahkohd/tauri-flake.
I'm looking for a Darwin contributor and other reviewers. I can contribute to this myself, but I'll need to set up Nix first on my Mac; it will be faster if somebody already has this setup.

I asked on the Discord, and the TL;DR is that it should probably be made and owned by a member of the community first. I'd be happy to own it.

Oh I skipped this haha.

Look I could take a look at making a flake for tauri templates my only problem I use devenv wather then the normal shell stuff. Maybe we could make a nix folder somewhere and copy and paste template like nix flake init --template github:tauri-apps/tauri#devenv or nix flake init --template github:tauri-apps/tauri for deafult template without devenv.

But the problem is I can only test only on MacOS is anyone willing when my PR Comes out test it on NixOS?

But the problem I've ran into is in issue #9433 where it requires that so I don't know how it will go but if someone like @FabianLars Tell me all the depencies required by tauri on Both MacOS and Linux I can try to get some sort of flake template started

I am going to get started on a repo called nix-tauri which includes stuff for tauri for Nix/NixOS

https://github.com/eveeifyeve/nix-tauri

I will build more of it tmr and get a prototype working maybe a include a build thing in nix??? where it build a tauri application

MacOS version of the flake is fully working #9433 based on https://github.com/eveeifyeve/nix-tauri using nix flake init github:eveeifyeve/nix-tauri

I have managed to provide a template to build tauri apps using nix-build in https://github.com/eveeifyeve/nix-tauri but if tauri can add a community-nix repo as I could help maintain as mush as possible, as I can as I use both nix & nixos.
but first I need to make the templates much better like cleaning up code, adding a package for nixpkgs and etc.

I might look into create a wiki page instead of a repostory for tauri as I have asked simon on discord said they had a lot of issues on this

Hey Good News I am working on a PR that will fix this issue.

Basically what I expect is that when i use the cargo-tauri derivation from nixpkgs that i don't also have to copy and paste a bunch of additional prerequisites from the tauri docs in order to get things half working.

Right off the bat this is not possible. cargo-tauri simply packages the CLI. We have no good (and safe) way of what is basically injecting random libraries into rustc's linking stages

I also see that one of the dependencies, webkitgtk is marked as broken in nixpkgs on mac, but listed as a dependency on the tauri docs.

webkitgtk is not used on Mac, the system webview is. This is provided in nixpkgs by darwin.apple_sdk.frameworks.WebKit

say if I wanted to lift some standard tauri tasks into a package, the instructions don't cover that.

I'm not entirely sure what you mean here by "Tauri tasks"? If you're implying building Tauri through Nix, then this makes sense as that isn't the job of a development shell, but a proper package

We found that when tauri is built via nix there is a need to disable webkit compositing mode like export WEBKIT_DISABLE_COMPOSITING_MODE=1 in the shellHook

This is not a Nix issue, but one with newer versions of webkitgtk on NVIDIA GPUs. It should not be set in a shellHook or development shell universally, only on systems where you actually have these issues

At the moment it isn't clear where to put or discuss such a fix, would it just result in more documented boilerplate?

Yes

Tauri maintains the derivation in nixpkgs with the same dependencies that it outlines in the documentation, so then there are no manual steps for consumers.

As said above, this isn't really possible. Further, I believe it's very unreasonable to expect this from upstream -- especially as they have stated before no one in the WG uses it
I believe the current best solution would be to document a basic dev shell similar to other distributions in the official documentation (see possibly https://github.com/tauri-apps/tauri-docs/pull/2413) and further applications of Nix + Tauri should be documented on wiki.nixos.org for example
To quickly solve some issues here though, cargo-tauri.hook has landed in the unstable branch of nixpkgs, making it much easier to package and run Tauri applications on NixOS. It is documented here and already used in many real world examples you can search through here
A basic dev shell for a Tauri project may also look something like this
pkgs.mkShell {
  packages = with pkgs; [
    nodejs
    # This will automatically use whatever package manager is declared by package.json if using corepack (which you totally should, it's great)
    # You can also replace this with any package manager of your choice, like `pnpm` or `bun`
    corepack
  ];

  nativeBuildInputs =
    with pkgs;
    [
      # Rust toolchain
      rustc
      cargo
      pkg-config
    ]
    # Brings in most of our GTK stuff for Linux
    ++ lib.optionals stdenv.hostPlatform.isLinux [ wrapGAppsHook4 ];

  buildInputs =
    with pkgs;
    [ openssl ]
    ++ lib.optionals stdenv.hostPlatform.isLinux [
      # Required for most applications
      glib-networking

      webkitgtk_4_1
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      darwin.apple_sdk.frameworks.WebKit
    ];
}

You may also have other tools required for your project like turbo. You can put those in packages alongside nodejs and your package manager of choice


Add AliMeeting multi-condition training recipe

This is similar to the AMI ASR recipe, i.e., we train a single model by combining training data from different mic settings: IHM, IHM + reverb, SDM, and GSS-enhanced audio, and use this model to evaluate different conditions.
This recipe also includes text normalization similar to the M2MeT challenge baseline. Here are the results using --epoch 15 --avg 8 and modified beam search:

Evaluation set
eval CER
test CER

IHM
9.58
11.53

SDM
23.37
25.85

MDM (GSS-enhanced)
11.82
14.22

As a comparison, the eval set results for single-speaker ASR from the baseline paper are:

In the above table, the Eval-Ali-near is equivalent to IHM, and Eval-Ali-far is equivalent to SDM.

By the way, I have added the model to
https://huggingface.co/spaces/k2-fsa/automatic-speech-recognition

By the way, I have added the model to https://huggingface.co/spaces/k2-fsa/automatic-speech-recognition

Thanks! I'll check it out.

@desh2608
Could you please merge
https://huggingface.co/desh2608/icefall-asr-alimeeting-pruned-transducer-stateless7/discussions/1
(Your test waves are 32-bit encoded using floats. I converted it to 16-bit encoded using int16 in the above PR).

@desh2608 Could you please merge https://huggingface.co/desh2608/icefall-asr-alimeeting-pruned-transducer-stateless7/discussions/1
(Your test waves are 32-bit encoded using floats. I converted it to 16-bit encoded using int16 in the above PR).

Thanks. Done.


Implement single sign on workflow using Google

Is your feature request related to a problem?
The personal data server will support a static workflow where a user connected to a server will make requests through it to store, retrieve, or modify their preferences on the personal data server.  The personal data server needs to verify a user's authorization to do so, and the first implementation will use Google's authorization service for this purpose.
Describe the solution you'd like
Implement an OAuth2 workflow for single sign on (SSO) with Google as the provider.

Resolved with the merge of https://github.com/fluid-project/personal-data-server/pull/12


Write a file with accelerometer event data for an hour in flutter

I am trying to build an app which will
1)capture accelerometer, gyroscope data
2)write the data into a file for 1 hour and after 1 hour send that file to the server without pressing any button
Now, I tried to define the timer class to perform that 1 hour countdown. But It didn't show the result.
Can anyone suggest me how can I write the accelerometer data for an hour into a file?

@zesage Can you please tell me the meaning of this line "Duration.microsecondsPerSecond ~/ 60" ? what does it mean by microsecondsPerSecond ~/60?

it's the update interval (in microseconds), which means receive data from the sensor 60 times per second.

it's the update interval (in microseconds), which means receive data from the sensor 60 times per second.

Thanks for your reply. Can you please tell me how can we store this sensor data into a file for 1 hour? @zesage

it's the update interval (in microseconds), which means receive data from the sensor 60 times per second.

Thanks for your reply. Can you please tell me how can we store this sensor data into a file for 1 hour? @zesage

You should use some kind of database probably. For example, Hive or Sqflite.


GraalVM Native SocketDataPort ClassNotFoundException again

Observed behavior
Hello,
I'm trying to build a small program as a binary using GraalVM Native.
It compiles fine but when I run the executable the following exception is thrown:
Exception in thread "main" java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: io.nats.client.impl.SocketDataPort
        at io.nats.client.Options$Builder.createInstanceOf(Options.java:875)
        at io.nats.client.Options.buildDataPort(Options.java:1733)
        at io.nats.client.impl.NatsConnection.tryToConnect(NatsConnection.java:424)
        at io.nats.client.impl.NatsConnection.connect(NatsConnection.java:207)
        at io.nats.client.impl.NatsImpl.createConnection(NatsImpl.java:29)
        at io.nats.client.Nats.createConnection(Nats.java:303)
        at io.nats.client.Nats.connect(Nats.java:155)
        at com.example.hyprtesseract.StorageInterface.<init>(StorageInterface.java:24)
        at com.example.hyprtesseract.HyprTesseract.main(HyprTesseract.java:24)
        at java.base@21/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)
Caused by: java.lang.ClassNotFoundException: io.nats.client.impl.SocketDataPort
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.hub.ClassForNameSupport.forName(ClassForNameSupport.java:122)
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.hub.ClassForNameSupport.forName(ClassForNameSupport.java:86)
        at java.base@21/java.lang.Class.forName(DynamicHub.java:1346)
        at java.base@21/java.lang.Class.forName(DynamicHub.java:1309)
        at java.base@21/java.lang.Class.forName(DynamicHub.java:1302)
        at io.nats.client.Options$Builder.createInstanceOf(Options.java:871)
        ... 9 more
Oct 21, 2023 6:58:46 PM io.nats.client.impl.ErrorListenerLoggerImpl exceptionOccurred
SEVERE: exceptionOccurred, Exception: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: io.nats.client.impl.SocketDataPort

I've searched for similar issues and the only one I found is this one (116) from micronaut-nacts, Graalvm - Nats - Problems when running the application.
It appears that the solution was confirmed here.
This all dates back to 2020. I'm not using any particular framework, just vanilla Java for now and I'm unsure about how to have that class resolved.
Thank you
Expected behavior
Binary executable runs with no exceptions.
Server and client version
nats-server 2.10.3
jnats 2.17.1, 2.16.11
GraalVM (JDK) 17, 21
gradle 8.3
Host environment
EndeavourOS (Arch)
build.gradle.kts
java.sourceCompatibility = JavaVersion.VERSION_21

configurations {
    compileOnly {
        extendsFrom(configurations.annotationProcessor.get())
    }
}

graalvmNative {
    testSupport.set(false)
    binaries {
        named("main") {
            buildArgs.add("-H:+StaticExecutableWithDynamicLibC")
            javaLauncher.set(javaToolchains.launcherFor {
                languageVersion.set(JavaLanguageVersion.of(21))
                vendor.set(JvmVendorSpec.matching("GraalVM Community"))
            })

            debug.set(true)
        }
        all {
            resources.autodetect()
        }
    }
    toolchainDetection.set(true)
}

Steps to reproduce
Create an instance of "Connection" by connecting to a server and then run the task nativeRun in gradle (or nativeCompile and then run the executable).

We are aware that nats is not GraalVM friendly but as you said it's pretty plain vanilla, so it can't to too far, but needs a full analysis.

@Alfablos Can you try this snapshot: 2.17.1.GraalVM-remove-reflection-SNAPSHOT
Not sure you you get your dependencies. For gradle and maven, you can get instructions here:
https://github.com/nats-io/nats.java#using-gradle

Also, there may be issues compiling directly with Java 17

Thank you!
So, the error about the SocketDataPort is gone.
I have an exception related to Jackson trying to deserialize the message payload but I'm not sure this is something that needs to be addressed your side.
Basically Payload is a record defined as follows:
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public record Payload(String name, String bucket, String nuid, String mtime, long size, int chunks, String digest) {

    public int chunks() {
        return this.chunks;
    }
}

Deserialization fails with this error:
SEVERE: exceptionOccurred, Connection: 28, Exception: java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.example.hyprtesseract.Payload`: cannot deserialize from Object value (no delegate- or property-based Creator): this appears to be a native image, in which case you may need to configure reflection for the class that is to be deserialized

I haven't tried using a conventional class though.
I always get this error regardless of the usage of GraalVM:
Oct 23, 2023 10:45:09 PM io.nats.client.impl.ErrorListenerLoggerImpl exceptionOccurred
But it doesn't impact functionality.
Java 17 + GraalVM: same jackson error with the SNAPSHOT version, ClassNotFoundException (SocketDataPort) with the stable one.
Java 17 no GraalVM: everything works.
Java 21 no GraalVM: everything works.
:)

The library does not use jackson so that is on your side. I saw that the GraalVM docs have specific notes about serialization, I would start there.
As far as the ErrorListenerLoggerImpl exceptionOccurred is there any more context around this?

The library does not use jackson so that is on your side. I saw that the GraalVM docs have specific notes about serialization, I would start there.
I will, thanks!

As far as the ErrorListenerLoggerImpl exceptionOccurred is there any more context around this?
That particular error went away once I installed a proper logging facility (Slf4j + Logback).
Another error shows up when I download a file from a bucket:

Oct 23, 2023 11:34:37 PM io.nats.client.impl.ErrorListenerLoggerImpl flowControlProcessed
INFO: flowControlProcessed, Connection: 245, Subscription:<PHONE_NUMBER>, Consumer Name: mqFMjLUafg, FlowControlSource:FLOW_CONTROL

But again, this is most likely on me. This little repo is a draft for testing some functionalities and I wasn't that careful about configuration. I mentioned It in case It was "clearly" something wrong :)
Should I expect the fix for the ClassNotFoundException coming to a stable release anytime soon?
Thank you very much!

Yeah, I'll merge that in and will be available in a couple weeks. As soon as I merge it will be available in the 2.17.1-SNAPSHOT

@Alfablos Merged https://github.com/nats-io/nats.java/pull/1022 Will be available in the next release.

Thank you :)


fix(engine): do not ignore provider errors

Description
We have a couple of provider lookups which ignore potentially critical errors. Fix that by always propagating provider errors.

pre-emptive hive run in case i missed smth
https://github.com/paradigmxyz/reth/actions/runs/9308670438


Fix "Listening on localhost" message

Logs incorrectly state the broker is listening on localhost:1338, this could steer people in the wrong direction and should get updated.

Fixed by #64


New rendering engine : Keyboard glitches

Switching windows is broken if you have disabled the keyboard by clicking on the keyboard icon on the right side. The strange thing is, if you disable the keyboard by touching the screen, switching widows still works. Also, if you enable the keyboard again it works in all cases.
iPad hardware keyboard in duty: If you disable the keyboard by touching the screen, there appears a strange background color around the virtual keys. Not so, if you disable the keyboard by clicking on the keyboard icon on the right side.

Originally posted by @AInteriorB in https://github.com/isontheline/pro.webssh.net/issues/525#issuecomment-1027237697

Hello @AInteriorB 👋
Strange 😢
I'm not able to reproduce (1) and (2) on my iPad mini 4

I captured both.
(1) Doesn‘t happen always! If you restart the app, the problem is gone for some time.
https://user-images.githubusercontent.com/49516700/152702498-518d607d-82f8-4d21-b695-4d0c6941c9a2.mp4
(2)
https://user-images.githubusercontent.com/49516700/152702514-87a99c15-bcd8-49f3-b7d0-8c87306f2830.mp4

@AInteriorB Thank you again for your strong feedback 👍
I will reproduce and fix them.

You're welcome. And to be honest: (2) is just a little beauty thing, nothing important ;-)

Hello @AInteriorB 👋
Multi-windows have been replaces with iOS native Split View.
So (1) should be resolved.
Have you tried the latest beta available?

Hey @isontheline , greeeeat as mentioned in #510 👍
Info for (2): Same effect, if no hardware keyboard is attached. The entire virtual keyboard gets inverted when touching the screen for disabling the (virtual) keyboard.

Thank you @AInteriorB for your string feedback 💪
I'll try to reproduce on my hardware asap.

Hello @AInteriorB
I come back to you about the "white glitch".
Are you always encountering it inside WebSSH 18.0?
Have a nice day ☀

@AInteriorB Feel free to ping me if this issue isn't fixed inside latest WebSSH releases


ARROW-11066: [FlightRPC][Java] Revert "fix zero-copy optimization"

Test failures were found.
This reverts commit 5e5c2b4890fd267b7d0d2734977e735ae78adcc9.

See #9387.


Typo in challenge description

Challenge storing-values-with-the-assignment-operator has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
This is located in the seeds/challenges directory.

I'm taking a look at this one 👍


Certificate selection does not work on iPhone 6

First of all, thank you for this project!
Click on "Start Camera" or "Select File" does nothing (see the attached video).
Safari has permission to access the microphone and camera.
iPhone 6
iOS 12.5.4
https://user-images.githubusercontent.com/35702771/125438166-2e0146f8-ac9e-4acb-b36d-138dd058aad6.mov

Can confirm this bug. Had to dig out my old iPhone 6 just to test this.

@JantsoP Do you want to look into this? None of the contributors has an iPhone 6 or older, so we can't really work on this. We might need to check if we can reproduce this in the Xcode simulator but I don't think it will be easy to debug the camera view in this way.

@marvinsxtr Can do. Already downloading xCode on my MacBook due was gonna debug my own instance why the file download failed. But I got that sorted so now I can look into this. I will get back to you with logs probably tomorrow.

The first picture is from iPhone 6 safari console and second is from my iPhone 12 Pro Max. So looks like there is a misplaced dot which then breaks the whole thing? Since I just tested even just doing it as blank, it did not give any errors. But on iPhone 12 Pro Max i got the "Please scan..." error.

I have exaclty the same issue on iOS 13.2.3 (iPhone 11) if it can help to solve.

I have the exact same issue. Doesn’t work on iPhone 6, iOS 12.5.4.
Thanks to fix this!

Can confirm, not working on iOS 12.4 either

It worked for my first two doses, it's not working for the third, iOS 15.2 on iPhone XR

It worked for my first two doses, it's not working for the third, iOS 15.2 on iPhone XR

I have exactly the same issue, iOS 14.8.1 on iPhone 7

It worked for my first two doses, it's not working for the third, iOS 15.2 on iPhone XR

Same issue here with iphone XR and 11 under iOS 15.1 but worked with iPad Pro under iOS 15.1

It worked for my first two doses, it's not working for the third, iOS 15.2 on iPhone XR

Same issue here with iphone XR and 11 under iOS 15.1 but worked with iPad Pro under iOS 15.1

Could you check if you enabled JavaScript (Settings -> Safari -> Advanced)? Also it would be helpful if someone with a Mac could send the logs when trying to interact with the buttons. See this tutorial.

Yes I have JavaScript enabled on safari.
Ok I will try to send you the logs

I have followed the tutorial to get access to the web inspector. What do I have to do now to get the logs when I interact with the buttons ?

I never used it but there should be a console tab somewhere. Google will probably help you to find it.

Ok I found it
Nothing appears in the console When I click on the camera button and this is the same from safari on macOS while it is working from brave on macOS

Yes I have JavaScript enabled on safari.
Ok I will try to send you the logs

Same with me

Are all buttons/links not working?  When I disable JS, the Add to Wallet button works i.e. the form is submitted, is that the case for you too? Maybe also try to turn off pop-up blocking in Settings > Safari > Advanced.

All buttons are not working except for the privacy policy and the add to wallet button.
I can accept the policy and when i click on the add to wallet button the page is reloaded

Do you have any extensions installed (Settings > Safari > Extensions)?

No i don’t

Are all buttons/links not working? When I disable JS, the Add to Wallet button works i.e. the form is submitted, is that the case for you too? Maybe also try to turn off pop-up blocking in Settings > Safari > Block pop-ups.

When I click on “select a file”, nothing happen. Doing it on an iPhone 13 a pop up appears for file selection.

Would be great if someone with this issue could try to debug this:
https://stackoverflow.com/questions/27525228/react-click-events-not-firing-on-mobile
https://stackoverflow.com/questions/60758654/onclick-event-is-not-working-on-safari-ios

I tried to debug with your links, but still the same issue.
The property cursor: pointer was already applied to the button role
The z-index: 1000 didn't change anything

Have you also tried removing the hover: anf focus: classes?

Where can I find onTouchStart in addition to onClick?
Removing the hover: and focus: classes didn't change anything

In button.tsx try to add onTouchStart={props.onClick} below onClick={props.onClick}.

Sorry I don't find it

I can't help with debugging since I don't have a Mac, but I can confirm this happens to me and my friend too. I'm on iPhone 12 and he's on iPhone 11 Pro, both using Safari, but also tried Brave and Aloha, still nothing. We are both on iOS 14, to be precise I'm on iOS 14.4.2, he's on iOS 14.4.1. We are staying behind for jailbreak purposes but we both tried rebooting the phones into an unjailbroken state and it still doesn't work, so that's not the issue.

FYI, I have updated my iPhone to iOS 15.2 and now it's working well

FYI, I have updated my iPhone to iOS 15.2 and now it's working well

Me too!!!

May or may not be fixed with the newest release.

Can someone who has this issue confirm?

Still broken for me :/
I did it by doing it on pc and then transferring the .pkpass to the phone manually. It didn't recognize as a real pass so I had to host it on a temporary local web server and download it that way for it to recognize.
But no, doing it on phone still doesn't work for me.

Someone with this issue will have to debug this.

Hi,
I’m on IPhone 11 Pro, iOS 14.8, and I have the same problem : "Start Camera" or "Select File" button doesn’t work.
Best regard.

@Willy-JL Could you try to debug this?

For anyone trying to debug this:
Clone the repo, make sure Node.js is installed and run:
npm install --global yarn
yarn install
yarn dev

Then connect to <local IP of your device>:3000
Note that generating a pass will not be possible, however this is sufficient to test the buttons.

I have experienced the same issue, the console shows the following error:
SyntaxError: Unexpected private name #setAnnotationCanvasMap. Cannot parse class method with private name. In reference to: 2b7b2d2a-4a1ba68784b632dc89fe.js:1

@marvinsxtr I can confirm this is still an issue (as per #169). Testing in Browserstack revealed no error logging. If you have additional changes to be tested feel free to send me a ping.

@MagicLegend I will not be rolling out additional changes just for testing. Someone with the error will have to do trial and error to fix this. Any other approach is too tedious imo.

@marvinsxtr You can get unlimited free access to Browserstack for this project, since it's open source. That way you can easily test it yourself as well :) But I might have a look at it sometime later as well.


More efficient repo database updating.  Only create/update/delete repos if needed, don't just blast findOrCreate/update on all repos

Have a solution in progress.  Need to finish implementing in the morning


PreviewData is not available

import

usage

it is in the flutter_chat_types lib that is the dependency for the flutter_link_previewer. You should be able to get it from types https://github.com/flyerhq/flutter_chat_types/blob/main/lib/src/preview_data.dart


Bingo Sort in C, C++, Python, JAVA

Is your feature request related to a problem? Please describe.
This Sorting Technique is similar to the Selection sort in which we first find the smallest element called Bingo Element, and then we repeatedly iterate the elements of the array to get the correct positions of all the elements.
In this sorting technique, each distinct element is considered a Bingo value.  And Bingo Values are called out in increasing order. During each pass, if the array element is equal to Bingo element then it is shifted to its correct position.
Describe the solution you'd like
Time Complexity is O(M * N) where M is number of distinct elements and N is size of the array
Sample Input
Enter the length of array 7
Enter the elements of array -4 3 2 -23 90 56 3
Sample Output
Original array: -4 3 2 -23 90 56 3
Sorted array: -23 -4 2 3 3 56 90

@Kumar-laxmi please assign me this issue

Assigned!
@anand-harsh : C, C++, Python and Java

@anand-harsh what is your status on this issue?

@anand-harsh what is your status on this issue?

I will make its PR till tonight


Cannot use 'Expanded' in Step content to fill available vertical space

I am using CoolStepper for a multi step data collection wizard
For the first step,  I want to display a list of options. However, I want the options to be scrollable within the available space.  To do th the 'Stepper' content has a column with three items:

An image
A text prompt
A ListView.builder to present the list of options

To ensure that the list takes up all available vertical space I set an Expanded column entry around the ListView,  as shown below...
  Widget _buildChooseRoute(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.all(8.0),
      child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Padding(
              padding: const EdgeInsets.only(bottom: 10.0),
              child: Center(
                  child: Lottie.asset('asset/animation/choose-route.json',
                      height: 200)),
            ),
            const Padding(
              padding: EdgeInsets.only(bottom: 10.0),
              child:
                  Text('Available routes:', style: TextStyle(fontSize: 14.0)),
            ),
            Expanded(
              flex: 1,
              child: ListView.builder(
                  shrinkWrap: true,
                  itemCount: RouteDefinitionUtil.available().length,
                  itemBuilder: (context, index) {
                    return RadioListTile<int>(
                      controlAffinity: ListTileControlAffinity.trailing,
                      value: RouteDefinitionUtil.available()[index].id,
                      title: Text(RouteDefinitionUtil.available()[index].name,
                          style: const TextStyle(fontSize: 14.0)),
                      subtitle: Text(
                          RouteDefinitionUtil.available()[index].description,
                          style: const TextStyle(fontSize: 12.0)),
                      groupValue: _formModel.routeId,
                      onChanged: (value) {
                        if (value != null) {
                          setState(() {
                            _formModel.routeId = value;
                          });
                        }
                      },
                    );
                  }),
            )
          ]),
    );
  }

 List<CoolStep> _buildSteps(BuildContext context) {
    List<CoolStep> aSteps = [];
    aSteps.add(CoolStep(
        title: 'Select journey route',
        subtitle: 'Choose from one of 21 different routes',
        content: _buildChooseRoute(context),
        validation: () {
          return null;
        }));

However, when this is run I get
The following assertion was thrown during performLayout():
RenderFlex children have non-zero flex but incoming height constraints are unbounded.

When a column is in a parent that does not provide a finite height constraint, for example if it is in a vertical scrollable, it will try to shrink-wrap its children along the vertical axis. Setting a flex on a child (e.g. using Expanded) indicates that the child is to expand to fill the remaining space in the vertical direction.
These two directives are mutually exclusive. If a parent is to shrink-wrap its child, the child cannot simultaneously expand to fit its parent.

Consider setting mainAxisSize to MainAxisSize.min and using FlexFit.loose fits for the flexible children (using Flexible rather than Expanded). This will allow the flexible children to size themselves to less than the infinite remaining space they would otherwise be forced to take, and then will cause the RenderFlex to shrink-wrap the children rather than expanding to fit the maximum constraints provided by the parent.

          Any suggestions?

I have posted a pull request that fixes this issue


adding file needed WFT tag when adding a paper to mod corpus

@azurebrd Thanks!

Many thanks @valearna for working on the unit tests!! You are awesome!


Unable to retrieve child resources

Storage Explorer Version:  v1.15.1
Build Number:  Aug 2020
Platform/OS:  Windows 10
Architecture:  x64
Regression From:   Yes.
Bug Description
 Unable to retrieve child resources while using connection string to connect to a local blob storage. Was suggested to open an issue on Github.
Steps to Reproduce

Local & Attached -> Storage Accounts -> Right Click -> Connect to Azure Storage -> Use a connection string -> paste the Connection String for local blob -> it shows "Successfully added new connection" -> Double click Blob Containers -> Error is prompted.

Expected Experience

Actual Experience

Additional Context

Unable to retrieve child resources.
Details:
["RestError:InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:37893296-9d02-4318-8ae5-cf6664409f9d\nTime:2020-10-15T06:24:36.9082711Zx-ms-version2019-12-12The value 2019-12-12 provided for request header x-ms-version is invalid.Microsoft.Cis.Services.Nephos.Common.Protocols.Rest.InvalidHeaderProtocolException: The value 2019-12-12 provided for request header x-ms-version is invalid.\n   at Microsoft.Cis.Services.Nephos.Common.Protocols.Rest.BasicHttpProcessorWithAuthAndAccountContainer`1.RunVersionCheck() in F:\Storage-XStore\src\XFE\common\Protocols\REST\src\BasicHttpProcessorWithAuthAndAccountContainerBase.cs:line 788\n   at Microsoft.Cis.Services.Nephos.Common.Protocols.Rest.BasicHttpProcessorWithAuthAndAccountContainer`1.ProcessImpl(AsyncIteratorContext`1 async)+MoveNext() in F:\Storage-XStore\src\XFE\common\Protocols\REST\src\BasicHttpProcessorWithAuthAndAccountContainerBase.cs:line 1537"]

@timzhan are you connecting to an emulator or something else? If an emulator, is it azurite or the .net emulator? If something else, what is it?

Closing due to lack of response. Please open a new issue if you're still having problems.


Proper Endpoint Voting

What was wrong?
We treated the endpoint received in any pong message as correct.
How was it fixed?
Gather endpoints received via pongs by multiple senders and have a vote. Change the endpoint to the winner of the vote if a quorum and a suitable majority is reached.
Cute Animal Picture

Closing as the discv5 code has moved to another repo


source scan

Codecov Report

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

@@           Coverage Diff           @@
##           master     #621   +/-   ##
=======================================
  Coverage   81.34%   81.34%
=======================================
  Files         114      114
  Lines        3848     3848
  Branches       91       91
=======================================
  Hits         3130     3130
  Misses        718      718

Continue to review full report at Codecov.

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


Use Prometheus's default histogram sizes

We've chosen histogram bucket sizes basically off-the-hip. Instead, we should adopt the defaults used by Prometheus's Go library, which are well-tested production defaults used at Soundcloud.

Blocked on #425

Cool, so it sounds like we can close this, @siggy?

Closing this issue as resolved, let's go with what's defined in the comment above:
https://github.com/runconduit/conduit/issues/446#issuecomment-370605969


Pivot table conditional formatting breaking change

This chart visualization used to have a formatting option to fill the pivot table cells with color based on the cell values (relative to each other).  At some point in the last couple weeks, this functionality disappeared:
When I went into the chart to see what happened, now I'm only seeing a "Customize Metrics" section in the chart "Customize" menu that only allows to set static rules (e.g. color red if > 0) but no longer fills colors based on a relative continuous scale across all values on the table.
Note: without the coloring the chart is really difficult to interpret, verging on unusable.

UPPPPP!

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!


0.18.0 release tracking issue

This is a tracking issue for a Celluloid 0.18 release (see also #762, #728).
The master branch contains the code to be released. This includes a lot of refactoring to consolidate Celluloid from fragmented gems and removed global variables and other hard-to-maintain bits.
I don't have time to do the release myself though (see #779), so I'm looking for volunteers to address the following items below:

[x] Timeout extensions (#491) - decide whether to merge this PR or abandon it (EDIT: abandoning the PR)
[x] CHANGES.md - add v0.18.0 release notes.
[ ] Manual testing of the upgrade against some real-world Celluloid applications: it's been a long time since Celluloid had a release like this, and there's a good chance there are some unaddressed bugs not caught by automated tests.

If you are interested in working on either of these items, or would like to suggest additional items which should make it into a v0.18.0 release, please respond below.

@tarcieri I created the release note for v0.18.0 here https://github.com/celluloid/celluloid/pull/809
Usage of 0.18.0.pre2 is not huge compare to other releases. So what do you think about we release 0.18.0 now & address any bugs as soon as possible(if there are any)?

@dilumn sounds good. Give me your RubyGems handle and I can add you as an owner

It is https://rubygems.org/profiles/dilumn

Invite sent

Celluloid 0.18.0 released
https://github.com/celluloid/celluloid/releases/tag/v0.18.0
Closing this ticket


Library no longer works with Kafka < 0.11

A recent commit replaces configuration properties with a reference to constants. Some of these constants only exist in Kafka 0.11, thus breaking at execution time when running with Kafka < 0.11.
See https://github.com/manub/scalatest-embedded-kafka/commit/868449d530030607627400e274270056d55d1057#diff-94790827da36cdd54fa6cb75094a4f84R471
*** RUN ABORTED ***
  java.lang.NoSuchMethodError: kafka.server.KafkaConfig$.TransactionsTopicReplicationFactorProp()Ljava/lang/String;
  at net.manub.embeddedkafka.EmbeddedKafkaSupport$class.startKafka(EmbeddedKafka.scala:542)

Thanks - this is a SNAPSHOT anyway. I guess we could inline the values as those will simply be ignored for earlier versions. Will do that.