Doesnt stay in working directory

When working in a windows environment, it looks like Claude Dev gets stuck under AppData in the VS Code data directory and has to 'cd' into the project directory every time it executes a command:
cd c:\Users\john\project && python manage.py migrate
Together with the problem of executing things outside the virtual environment, this makes for a bit of a mess.

This is expected behavior since claude doesn't have a current working directory when executing commands. I've thought about making the cwd your workspace path, but I found Claude would get confused when trying to interact with directories outside your project i.e. on the Desktop. I'm actively working on modifying the systemp prompt to work around this confusion so it's aware of its cwd and also that it can cd out of that cwd to accomplish tasks in other directories.

I know it might be a shitty solution, but given we are operating here on data anyway, adding annotation as the comment at the beginning of the every file like "path_to_file" and later instruction as the rule for prompt to respect that will turn understandandig for LLM where the current context is ? Anyway after working with the code you can always do some pre-commit sanity checker craft for removing that annotations to keep code clean anyway (https://github.com/pre-commit/pre-commit)

The latest v1.0.98 now uses relative paths, in other words Claude works within your workspace directory instead of using absolute paths for tools/commands. This way it doesn't have to cd to execute certain commands, and referencing files is a lot less awkward now that it doesn't use the full path anymore. The exception is when you open Claude Dev without a workspace and it defaults to creating projects on the Desktop, since I'd like to keep the user aware of this fallback behavior.

The new version works well within the workspace now, thank you!


sqlite table not found

i have a webhook that calls a linux bash script which then execute an sqlite update / query. but it seems that when the script is run from the webhook, the table is missing where if I ran the script manually, it works just fine.
hooks :
{
"id": "status",
"execute-command": "/usr/local/bin/home_stats.sh",
"command-working-directory": "/var/local/webhook",
"include-command-output-in-response": true
},
bash script :
ubuntu@ubuntu:~$ cat /usr/local/bin/home_stats.sh
#!/bin/bash
grep tail -1 /var/run/house_temp/log | cut -d"," -f1 /var/run/house_temp/log
/usr/bin/sqlite3 home_temp ".tables"
I think it has something to do with the environment, but I'm not sure what ..

found the problem .. first need to change the active directory to where the db file is store ..


LSP with Elixir

Hello,
I am opening this issue, although I found #305, but I don't get the same error.
I am trying to use JakeBecker's ElixirLS, but could not make it work. I see no errors in the console whatsoever, would you please help me understand what is going on?

macOS 10.13.2
SublimeText 3.1.1 (3176)
LSP 0.6.0, installed via Package Control
Package configuration:

{
  "log_payloads": true,
  "log_debug": true,
  "show_diagnostics_severity_level": 4,
  "clients": {
    "elixir": {
      "command": ["/Users/simo/Projects/elixir-ls/language_server.sh"],
      "enabled": true,
      "languageId": "elixir",
      "scopes": ["source.elixir"],
      "syntaxes": ["Packages/Elixir/Syntaxes/Elixir.tmLanguage"]
    }
  }
}

Sublime console log:

startup, version: 3176 osx x64 channel: stable
executable: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
working dir: /
packages path: /Users/simo/Library/Application Support/Sublime Text 3/Packages
state path: /Users/simo/Library/Application Support/Sublime Text 3/Local
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/simo/Library/Application Support/Sublime Text 3/Installed Packages
ignored_packages: ["GitGutter", "SublimeLinter", "SublimeLinter-contrib-elixirc", "SublimeLinter-contrib-eslint_d", "SublimeLinter-flake8", "SublimeLinter-ruby", "Vintage"]
pre session restore time: 0.32169
using gpu buffer for window
startup time: 0.424931
environment variables loaded using: /bin/zsh -l
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
(...)
plugins loaded
LSP: window has override for elixir {'enabled': True}
LSP: starting active= /Users/simo/work/Projects/moneyflow/lib/moneyflow.ex other= 0
LSP: initialize on open 2 /Users/simo/work/Projects/moneyflow/lib/moneyflow.ex
LSP: starting in /Users/simo/work/Projects/moneyflow
LSP: starting ['/Users/simo/Projects/elixir-ls/language_server.sh']
LSP:  --> initialize
reloading settings Packages/User/Mediawiker.sublime-settings
LSP: initialize on open 2 /Users/simo/work/Projects/moneyflow/lib/moneyflow.ex
LSP: Already starting on this window: elixir
LSP: LSP stdout process ended.
Package Control: Skipping automatic upgrade, last run at 2018-06-21 14:08:55, next run at 2018-06-21 15:08:55 or after
LSP: initialize on open 2 /Users/simo/work/Projects/moneyflow/lib/moneyflow.ex
LSP: Already starting on this window: elixir
LSP: elixir in state 0  for view /Users/simo/work/Projects/moneyflow/lib/moneyflow.ex in window 2
LSP: elixir in state 0  for view /Users/simo/work/Projects/moneyflow/lib/moneyflow.ex in window 2
LSP: elixir in state 0  for view /Users/simo/work/Projects/moneyflow/lib/moneyflow.ex in window 2
(...)

And nothing seems to happen. Just the LSP: Already starting on this window: elixir and LSP: initialize on open 2 /Users/simo/work/Projects/moneyflow/lib/moneyflow.ex occasionally repeating in the logs, but no errors or any other activity whatsoever.
"Restart servers" command throws the error already reported in #343, so it doesn't help.
Running ElixirLS manually from terminal looks good: it starts up and waits for input:
$ /Users/simo/Projects/elixir-ls/language_server.sh
Content-Length: 101

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Started ElixirLS\n","type":4}}

Is there a way to at least further increase logging for the LSP plugin, as I just can't understand where  the actual problem is :(
Thank you in advance!

It looks like the server shuts down after receiving the initialize notification. See “stdout process ended”.
Try checking the server logs or enable ‘log_stderr’ in case the server logs there ?

Great, I restarted the machine and now it works as expected... :) Restarting sublime before that sure did not help, guess it was something OS-specific. I can't reproduce this anymore, so I will close this.
Thank you for your prompt reply 🍺

on my side I get
LSP: window 2 requests elixir for /Users/laibulle/Projects/bonsai/bonsai/lib/bonsai_web/views/login_view.ex
LSP: starting in /Users/laibulle/Projects/bonsai/bonsai
LSP: starting ['/Users/simo/Projects/elixir-ls/language_server.sh']
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 490, in run_async_view_listener_callback
    vel.__class__.__dict__[name](vel)
  File "/Users/laibulle/Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/documents.py", line 83, in on_activated_async
    global_events.publish("view.on_activated_async", self.view)
  File "/Users/laibulle/Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/events.py", line 26, in publish
    listener(*args)
  File "/Users/laibulle/Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/main.py", line 52, in on_view_activated
    windows.lookup(window).activate_view(view)
  File "/Users/laibulle/Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/windows.py", line 349, in activate_view
    self._initialize_on_open(view)
  File "/Users/laibulle/Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/windows.py", line 358, in _initialize_on_open
    self._start_client(config)
  File "/Users/laibulle/Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/windows.py", line 389, in _start_client
    if session:
UnboundLocalError: local variable 'session' referenced before assignment

@laibulle you can't use the same config -- the path to the elixir-ls executable itself is wrong for your machine:
/Users/simo/Projects/elixir-ls/language_server.sh
You need to install elixir ls and change the path accordingly...

Oh, indeed ^^.
It works much better now.
But did you manage to get auto formatter working @smanolloff ? It doesn't work on my side.

It's unfortunate that the path to the server is the only thing that makes the Elixir configs not shareable.
I'd love to add it (with a default command of "elixir_ls") to LSP's built-in configs. Is there a way to install it so it's available on the PATH? Something like mix install.archive github.com/JakeBecker/elixir-ls ?


Fix bundle outdated with --patch and/or --minor for non-semantically versioned gems

Examples of non-semantic versions: "7.0", "8", gitlab_meta versioning
Closes #4438

Because this is using an index we've built up in the specs, the output should be completely deterministic

@segiddins Yup, I added positive assertions based on presence of "Outdated gems included in the bundle:" and "Bundle up to date!".

@RochesterinNYC awesome, thanks!
@homu r+

:pushpin: Commit b1ddf72 has been approved by indirect

:zap: Test exempted - status

Hmm we have --patch and --minor in 1.12, right? We should backport this.

@indirect I can .rc.4?

@segiddins yes please, thank you!

Are there any pressing, outstanding issues related to features/things added in 1.12.0?


fix(clerk-js): Ensure new session is touched when setActive is called from non-standard browser

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[ ] npm test runs as expected.
[ ] npm run build runs as expected.

'
Ensures we call this.#touchLastActiveSession() in setActive() when we are in a non-standard browser environment. Practically, this currently applies to react native / expo environments.
As part of adding tests, I also added a small test helper that mocks a "native" runtime environment: mockNativeRuntime(). This can wrap any number of it() or describe() blocks and will ensure that they run as if they are in a non-browser environment.

fixes JS-653

!snapshot

Hey @BRKalow - the snapshot version command generated the following package versions:

Package
Version

@clerk/backend
0.28.0-snapshot.87d921b

@clerk/chrome-extension
0.3.27-snapshot.87d921b

@clerk/clerk-js
4.56.0-snapshot.87d921b

eslint-config-custom
0.3.0

@clerk/clerk-expo
0.18.18-snapshot.87d921b

@clerk/fastify
0.6.4-snapshot.87d921b

gatsby-plugin-clerk
4.4.5-snapshot.87d921b

@clerk/localizations
1.25.0-snapshot.87d921b

@clerk/nextjs
4.23.3-snapshot.87d921b

@clerk/clerk-react
4.24.0-snapshot.87d921b

@clerk/remix
2.10.0-snapshot.87d921b

@clerk/clerk-sdk-node
4.12.3-snapshot.87d921b

@clerk/shared
0.22.0-snapshot.87d921b

@clerk/themes
1.7.5

@clerk/types
3.50.0-snapshot.87d921b

Tip: use the snippet copy button below to quickly install the required packages.
# @clerk/backend
npm i<EMAIL_ADDRESS>
# @clerk/chrome-extension
npm i<EMAIL_ADDRESS>
# @clerk/clerk-js
npm i<EMAIL_ADDRESS>
# eslint-config-custom
npm i<EMAIL_ADDRESS>
# @clerk/clerk-expo
npm i<EMAIL_ADDRESS>
# @clerk/fastify
npm i<EMAIL_ADDRESS>
# gatsby-plugin-clerk
npm i<EMAIL_ADDRESS>
# @clerk/localizations
npm i<EMAIL_ADDRESS>
# @clerk/nextjs
npm i<EMAIL_ADDRESS>
# @clerk/clerk-react
npm i<EMAIL_ADDRESS>
# @clerk/remix
npm i<EMAIL_ADDRESS>
# @clerk/clerk-sdk-node
npm i<EMAIL_ADDRESS>
# @clerk/shared
npm i<EMAIL_ADDRESS>
# @clerk/themes
npm i<EMAIL_ADDRESS>
# @clerk/types
npm i<EMAIL_ADDRESS>

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


New ECSTaskDefinition ContainerDefinition properties

New fields were recently added to the ContainerDefinition property of an AWS::ECS::TaskDefinition resource.
Reference: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html

Here they are: https://github.com/cloudtools/troposphere/pull/471

Agreed - closing fixed with #471


Error Error Domain=NSURLErrorDomain Code=-999 "cancelled

Why Getting this error, Unable to solve, using https protocol?
Error Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLKey=https://example.com/demo/appusercontroller/applogin/zipcode_list,, NSLocalizedDescription=cancelled, NSErrorFailingURLStringKey=https://example.com/demo/appusercontroller/applogin/zipcode_list,}

I also have the same problem. Does anybody solved it? 😢

Same here, from 4days ago suddenly.

No, after a day it started working.

I'm still experiencing this. Would love to hear from anyone that managed to solve or debug it.

I am having the same problem. anybody solved it?

https://github.com/Alamofire/Alamofire/issues/1757

I wasn't retaining the manager but now I am. Still the same -999 error saying the request got cancelled. Also tested by connecting to our production server (where ssl is set up correctly) but I got the same problem. Problem occurred a day ago.

I had the same issue with Alamofire and RxSwift. My problem was that I was calling disposedBy() after the subscribe() function to dispose of unused resources.
However, that might have disposed of the resource even before the network call succeeded. Removing the disposedBy() call after subscribe() solved the issue for me.
My working code looks like this:
fetchUserAction
            .execute(t: userId)
            .subscribe { event in
                switch event {
                case .success(let user):
                    completion(Result.success(user))
                case .error:
                    completion(Result.error)
                }
            }

Maybe that'll help someone facing a similar issue.

Hi
i tried to set security policy. It seems its not working for me. All api request succeeded even if i do not attach certificate in application bundle. I am writing below code in my custom class.
(instancetype)initWithSessionConfiguration:(nullable NSURLSessionConfiguration *)configuration {
if (self = [super init]) {
self.urlSessionManager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
self.urlSessionManager.securityPolicy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModePublicKey];
}
return self;
}


Fix warning

2023-07-12T22:37:31.957+02:00  WARN 28480 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'user-beans' contains invalid characters, please migrate to a valid format.

https://github.com/jabrena/spring-boot-user-beans/pull/115


[WIP] Better AWS error handling

This PR is a WIP of ticket: https://jira.coreos.com/browse/SREP-1737
I made some changes to some AWS logs output. These were the basic and easy to spot changes.
I would like some feedback from you guys on other ways/locations I should be improving the error handling.
@rogbas @jharrington22 @rafael-azevedo

Updated the code to log errors received from calls to the awsclient.Client interface. @rogbas could you take a look?

/hold

@jharrington22 PR lgtm

/hold cancel

/hold


Leaving out path in endpoint declaration let RIG fail on startup

Summary and context

Rewriting URLs in API Gateway only works when using regex catch groups, so we need to use path_regex instead of path when defining the path. Leaving out path declaration leads to a validation error on startup.

How to reproduce
When I run RIG with this endpoint:
{
  "id": "get-entry",
  "path_regex": "/entries/(([\\d\\w])*(-([\\d\\w])*))",
  "path_replacement": "/api/entries/\\1",
  "method": "GET",
  "secured": false
}

..I see the following error and/or log output:

module=RigInboundGateway.ApiProxy.Validations [error] Wrong reverse proxy configuration: [{"service-endpoint/get-entry", [{:error, "path", :by, "must be string"}, {:error, "path", :length, "must have a length of at least 1"}]}]

..but I really expected this:

Normal startup because path_regex is set instead of path. This is also used in your tests and here Forwarding Requests
OR
Allow dynamic parameters introduced by {dynamic_paramter} to be used in path_replacement, like

{
   "id": "get-entry",
   "path": "/entries/{entry_id}",
   "path_replacement": "/api/entries/{entry_id}",
   "method": "GET",
   "secured": false
}

Versions (please complete the following information):**

Latest docker image accenture/reactive-interaction-gateway:latest
Reactive Interaction Gateway 3.0.0-alpha.1<EMAIL_ADDRESS>ERTS <IP_ADDRESS>, OTP 22]

@KaWigg Thank you! I'll check it tomorrow through out the day.

@KaWigg can you give this a shot https://github.com/Accenture/reactive-interaction-gateway/pull/335?
Btw, if you don't need auth, you don't have to set secured property.


soc: arm: nxp_imx: rt: enable SOC fixed MPU regions, add SDRAM0 region

Enable SOC fixed MPU regions by default for the RT10xx/RT11xx SOC lines.
Additionally, add code to handle defining the SDRAM0 region as
device type (non cacheable, non shareable), when no SDRAM0 node is
present. This will resolve an issue present on the RT11xx series where
the core may execute speculative prefetches to the SDRAM region when
no SDRAM is present on the board, resulting in the system faulting.
This PR also adds documentation to the RT series boards to highlight the external memories present. This is intended to
improve the customer experience when booting a custom board with Zephyr
Signed-off-by: Daniel DeGrasse<EMAIL_ADDRESS>

@pabigot, since you did look at this PR, can you provide an approval?

Think you might have meant @pdgendt :)


Feature: $discord->is_connected()

A functions which returns 1 only when we are in a state where sending messages is possible and actually will get sent.
So not only "is the websocket connected" but more of a "we are connected, identified and everything is ready".

Hmm it looks like $discord->connected does is in some way, gonna leave this open until I fully checked what it is doing.


Revert faster docker extract

@jeffng-or Please try this to see if it works:
$ cd bazel-orfs/
$ git fetch origin pull/121/head
$ git checkout FETCH_HEAD
$ bazel build tag_array_64x184_synth

@tmichalak This is to restore hermiticity and avoid having docker installed as a dependency.
@hovind Correct?

@hovind If I uninstall docker, I get this error, so there is a dependency on docker. So... not hermetic...
$ bazel build tag_array_64x184_synth
INFO: Repository _main~orfs_repositories~docker_orfs instantiated at:
  <builtin>: in <toplevel>
Repository rule docker_pkg defined at:
  /home/oyvind/bazel-orfs/docker.bzl:55:29: in <toplevel>
ERROR: An error occurred during the fetch of repository '_main~orfs_repositories~docker_orfs':
   Traceback (most recent call last):
        File "/home/oyvind/bazel-orfs/docker.bzl", line 24, column 13, in _impl
                fail("Failed to build {}:".format(repository_ctx.attr.image), build_result.stderr)
Error in fail: Failed to build docker.io/openroad/orfs:v3.0-1266-ge623a237: ERROR: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied
ERROR: no such package '@@_main~orfs_repositories~docker_orfs//': Failed to build docker.io/openroad/orfs:v3.0-1266-ge623a237: ERROR: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied
ERROR: /home/oyvind/bazel-orfs/BUILD:62:10: //:tag_array_64x184_synth depends on @@_main~orfs_repositories~docker_orfs//:asap7 in repository @@_main~orfs_repositories~docker_orfs which failed to fetch. no such package '@@_main~orfs_repositories~docker_orfs//': Failed to build docker.io/openroad/orfs:v3.0-1266-ge623a237: ERROR: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied
ERROR: Analysis of target '//:tag_array_64x184_synth' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.845s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully

We want to have the podman-docker option and this would rely on docker specifically.

@maliberty , @oharboe
One downside to switching to podman-docker is that it interferes with doing OR/ORFS development since setup.sh expects to be able to unpack docker:
$ sudo ./setup.sh
...
Selecting previously unselected package docker-buildx-plugin.
Preparing to unpack .../docker-buildx-plugin_0.16.2-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-buildx-plugin (0.16.2-1~ubuntu.22.04~jammy) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../docker-ce-cli_5%3a27.2.0-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-ce-cli (5:27.2.0-1~ubuntu.22.04~jammy) ...
dpkg: error processing archive /var/cache/apt/archives/docker-ce-cli_5%3a27.2.0-1~ubuntu.22.04~jammy_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/docker', which is also in package podman-docker 3.4.4+ds1-1ubuntu<IP_ADDRESS>
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_5%3a27.2.0-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-ce (5:27.2.0-1~ubuntu.22.04~jammy) ...
Errors were encountered while processing:
 /var/cache/apt/archives/docker-ce-cli_5%3a27.2.0-1~ubuntu.22.04~jammy_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

So, podman-docker should work on the CI worker machines since we're not doing development on them. But for anyone doing development, I'm not sure we can use the same machine.

I see.
bazel-orfs will work with a correctly configured docker, like ./setup.sh is using.
podman-docker is simply an option for certain environments.... such as inside a github docker image(podman-docker not tested, but it one would think it has a good chance to work, not requiring root access).
docker can also run rootless, but it is a pain to configure.


Appstudio update hacbs-test-project-7m7l

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-7m7l-on-pull-request-
creating pipelinerun hacbs-test-project-7m7l-on-pull-request- in namespace rhtap-demo-adxg-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.h:27:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:180:5: error: unknown type name 'streamsize'
streamsize _gc;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:246:5: error: unknown type name 'streamsize'
streamsize gcount() const {return _gc;}
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:258:40: error: unknown type name 'streamsize'
basic_istream& get(char_type* __s, streamsize __n)
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:180:5: error: unknown type name 'streamsize'
streamsize _gc;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:261:40: error: unknown type name 'streamsize'
basic_istream& get(char_type* __s, streamsize __n, char_type __dlm);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:246:5: error: unknown type name 'streamsize'
streamsize gcount() const {return _gc;}
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:270:44: error: unknown type name 'streamsize'
basic_istream& getline(char_type* __s, streamsize __n)
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:258:40: error: unknown type name 'streamsize'
basic_istream& get(char_type* __s, streamsize __n)
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:273:44: error: unknown type name 'streamsize'
basic_istream& getline(char_type* __s, streamsize __n, char_type __dlm);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:261:40: error: unknown type name 'streamsize'
basic_istream& get(char_type* __s, streamsize __n, char_type __dlm);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:275:27: error: unknown type name 'streamsize'
basic_istream& ignore(streamsize __n = 1, int_type __dlm = traits_type::eof());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:270:44: error: unknown type name 'streamsize'
basic_istream& getline(char_type* __s, streamsize __n)
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:277:42: error: unknown type name 'streamsize'
basic_istream& read (char_type* __s, streamsize __n);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:273:44: error: unknown type name 'streamsize'
basic_istream& getline(char_type* __s, streamsize __n, char_type __dlm);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:278:5: error: unknown type name 'streamsize'
streamsize readsome(char_type* __s, streamsize __n);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:275:27: error: unknown type name 'streamsize'
basic_istream& ignore(streamsize __n = 1, int_type __dlm = traits_type::eof());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:278:41: error: unknown type name 'streamsize'
streamsize readsome(char_type* __s, streamsize __n);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:286:42: error: incomplete type 'std::ios_base' named in nested name specifier
basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.h:27:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:314:44: error: incomplete type 'std::ios_base' named in nested name specifier
if (!__noskipws && (__is.flags() & ios_base::skipws))
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:277:42: error: unknown type name 'streamsize'
basic_istream& read (char_type* __s, streamsize __n);
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.h:27:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:317:19: error: no template named 'ctype'
const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:278:5: error: unknown type name 'streamsize'
streamsize readsome(char_type* __s, streamsize __n);
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/rfft.cc:25:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/log.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:180:5: error: unknown type name 'streamsize'
streamsize _gc;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:317:51: error: use of undeclared identifier 'ctype'; did you mean 'wctype'?
const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/cwctype:79:9: note: 'wctype' declared here
using ::wctype _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.h:27:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:324:31: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit | ios_base::eofbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istreamnote: :278forward declaration of 'std::ios_base':41
: error: unknown type name 'streamsize'class _LIBCPP_TYPE_VIS ios_base;
                   ^
streamsize readsome(char_type* __s, streamsize __n);
                                    ^

In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.h:27:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:324:51: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit | ios_base::eofbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istreamclass _LIBCPP_TYPE_VIS ios_base;:
286:                       ^42
: error: incomplete type 'std::ios_base' named in nested name specifier
basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
^~~~~~~~~~
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.h:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd27::
106In file included from :/Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h24::10 :
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstreamnote: :184forward declaration of 'std::ios_base':
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:329:In file included from 23/Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.cc: class _LIBCPP_TYPE_VIS ios_base;
error:                        ^
incomplete type 'std::ios_base' named in nested name specifier:
22:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from         __is.setstate(ios_base::failbit);/Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h
:10                      ^~~~~~~~~~:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream106::18024::5 : note: error: forward declaration of 'std::ios_base'
unknown type name 'streamsize'
class _LIBCPP_TYPE_VIS ios_base;
^
streamsize _gc;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.h:27:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:357:5: error: incomplete type 'std::ios_base' named in nested name specifier
ios_base::iostate __state = ios_base::goodbit;
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:314:44: error: incomplete type 'std::ios_base' named in nested name specifier
if (!__noskipws && (__is.flags() & ios_base::skipws))
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:246:5: error: unknown type name 'streamsize'
streamsize gcount() const {return _gc;}
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/mel-computations.h:27:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:357:23: error: use of undeclared identifier '__state'; did you mean '__rotate'?
ios_base::iostate __state = ios_base::goodbit;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/__algorithm/rotate.h:141:1: note: '__rotate' declared here
__rotate(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last,
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:317:19: error: no template named 'ctype'
const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:246:5: error: unknown type name 'streamsize'
streamsize gcount() const {return _gc;}
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:258:40: error: unknown type name 'streamsize'
basic_istream& get(char_type* __s, streamsize __n)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:317:51: error: use of undeclared identifier 'ctype'; did you mean 'wctype'?
const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/cwctype:79:9: note: 'wctype' declared here
using ::wctype _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:324:31: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit | ios_base::eofbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:324:51: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit | ios_base::eofbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:329:23: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:258:40: error: unknown type name 'streamsize'
basic_istream& get(char_type* __s, streamsize __n)
^
24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:357:5: error: incomplete type 'std::ios_base' named in nested name specifier
ios_base::iostate __state = ios_base::goodbit;
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:261:40: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106error: :24:unknown type name 'streamsize'
note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
basic_istream& get(char_type* __s, streamsize __n, char_type __dlm);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:261:40: error: unknown type name 'streamsize'
basic_istream& get(char_type* __s, streamsize __n, char_type __dlm);
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.cc:21:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:357:23: error: use of undeclared identifier '__state'; did you mean '__rotate'?
ios_base::iostate __state = ios_base::goodbit;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/__algorithm/rotate.h:141:1: note: '__rotate' declared here
__rotate(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last,
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:270:44: error: unknown type name 'streamsize'
basic_istream& getline(char_type* __s, streamsize __n)
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:270:44: error: unknown type name 'streamsize'
basic_istream& getline(char_type* __s, streamsize __n)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:273:44: error: unknown type name 'streamsize'
basic_istream& getline(char_type* __s, streamsize __n, char_type __dlm);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:273:44: error: unknown type name 'streamsize'
basic_istream& getline(char_type* __s, streamsize __n, char_type __dlm);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:275:27: error: unknown type name 'streamsize'
basic_istream& ignore(streamsize __n = 1, int_type __dlm = traits_type::eof());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:275:27: error: unknown type name 'streamsize'
basic_istream& ignore(streamsize __n = 1, int_type __dlm = traits_type::eof());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:277:42: error: unknown type name 'streamsize'
basic_istream& read (char_type* __s, streamsize __n);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:277:42: error: unknown type name 'streamsize'
basic_istream& read (char_type* __s, streamsize __n);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:278:5: error: unknown type name 'streamsize'
streamsize readsome(char_type* __s, streamsize __n);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:278:5: error: unknown type name 'streamsize'
streamsize readsome(char_type* __s, streamsize __n);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:278:41: error: unknown type name 'streamsize'
streamsize readsome(char_type* __s, streamsize __n);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:286:42: error: incomplete type 'std::ios_base' named in nested name specifier
basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.cc:22:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:314:44: error: incomplete type 'std::ios_base' named in nested name specifier
if (!__noskipws && (__is.flags() & ios_base::skipws))
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:278:41: error: unknown type name 'streamsize'
streamsize readsome(char_type* __s, streamsize __n);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:286:42: error: incomplete type 'std::ios_base' named in nested name specifier
basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.cc:22:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:317:19: error: no template named 'ctype'
const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/rfft.cc:25:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/log.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:314:44: error: incomplete type 'std::ios_base' named in nested name specifier
if (!__noskipws && (__is.flags() & ios_base::skipws))
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
20 errors generated.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:317:51: error: use of undeclared identifier 'ctype'; did you mean 'wctype'?
const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/cwctype:79:9: note: 'wctype' declared here
using ::wctype _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.cc:22:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:324:31: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit | ios_base::eofbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;In file included from
/Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/rfft.cc:                       ^25
:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/log.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:317In file included from :19/Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.cc:: 22:
error: In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.hno template named 'ctype':28
:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:324:51: error: incomplete type 'std::ios_base' named in nested name specifier            const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
              ^
            __is.setstate(ios_base::failbit | ios_base::eofbit);
                                              ^~~~~~~~~~

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.cc:22:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:329:23: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.cc:22:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h:28:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:357:5: error: incomplete type 'std::ios_base' named in nested name specifier
ios_base::iostate __state = ios_base::goodbit;
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:317:51: error: use of undeclared identifier 'ctype'; did you mean 'wctype'?
const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/cwctype:79:9: note: 'wctype' declared here
using ::wctype _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/rfft.cc:25:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/log.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:324:31: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit | ios_base::eofbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.cc:22:
In file included from In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/rfft.cc/Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/online-feature.h::2528:
:
In file included from In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/log.h/Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-fbank.h::2728:
:
In file included from In file included f/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:324:51: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit | ios_base::eofbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/rfft.cc:25:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/log.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:329:23: error: incomplete type 'std::ios_base' named in nested name specifier
__is.setstate(ios_base::failbit);
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
rom /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/feature-window.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:357:23: error: use of undeclared identifier '__state'; did you mean '__rotate'?
ios_base::iostate __state = ios_base::goodbit;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/__algorithm/rotate.h:141:1: note: '__rotate' declared here
__rotate(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last,
^
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/rfft.cc:25:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/log.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:357:5: error: incomplete type 'std::ios_base' named in nested name specifier
ios_base::iostate __state = ios_base::goodbit;
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/iosfwd:106:24: note: forward declaration of 'std::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/rfft.cc:25:
In file included from /Users/sweet/downloads/sherpa-ncnn-master/build-ios/build/simulator_arm64/_deps/kaldi_native_fbank-src/kaldi-native-fbank/csrc/log.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/sstream:184:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/istream:357:23: error: use of undeclared identifier '__state'; did you mean '__rotate'?
ios_base::iostate __state = ios_base::goodbit;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/c++/v1/__algorithm/rotate.h:141:1: note: '__rotate' declared here
__rotate(_ForwardIterator __first, _ForwardIterator __middle, _ForwardIterator __last,
^
make[2]: *** [_deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/mel-computations.cc.o] Error 1
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
20 errors generated.
make[2]: *** [_deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/rfft.cc.o] Error 1
make[2]: *** [_deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/feature-fbank.cc.o] Error 1
20 errors generated.
make[2]: *** [_deps/kaldi_native_fbank-build/kaldi-native-fbank/csrc/CMakeFiles/kaldi-native-fbank-core.dir/online-feature.cc.o] Error 1`
我的运行环境：
Mac:
Intel Core i7
MacOS:
Ventura 13.2.1
Xcode:
14.2(14C18)
CMake:
3.26.3
gcc:
Apple clang version 14.0.0 (clang-14<IP_ADDRESS>)

你试一下
sudo xcode-select --install
sudo xcodebuild -license

?
不清楚这个是什么导致的。

仍然不行。还是一样的错误，我也不清楚这是为什么。方便问一下你们是用Intel的Mac构建的还是用M1或M2的Mac构建的
可以的话，能发一份构建好的文件给我吗，万分感激
<EMAIL_ADDRESS>

你是什么芯片呢？

这个在M1和x86 ，都是试过的，都可以支持。

我是Intel芯片的，用的是18款的MBP

现在我也不知道问题出在哪，方便的话能发一份构建好的版本到我邮箱吗，万分感激🙏
<EMAIL_ADDRESS>

现在我也不知道问题出在哪，方便的话能发一份构建好的版本到我邮箱吗，万分感激🙏
<EMAIL_ADDRESS>
我可以传到huggingface ，然后你可以去下载。要明天去了，今天没时间。

太感谢了

@daiyangyang945
已传至
https://huggingface.co/csukuangfj/sherpa-ncnn-build-ios/tree/main
请使用如下命令:
git clone https://github.com/k2-fsa/sherpa-ncnn
cd sherpa-ncnn
wget https://huggingface.co/csukuangfj/sherpa-ncnn-build-ios/resolve/main/build-ios.tar.bz2
tar xvf build-ios.tar.bz2

然后你就可以照文档，继续后面的操作了。
你可以假装 ./build-ios 里面的东西，已经生成好了.

好诶，谢谢


🐛 Bug - Queries missing connected users

Cc:

Hi @AttackOnMorty
Describe the Bug

When I ask the prompt "Who is in the Sydney office today" i get less people than when i ask "who is in the Sydney office now". There should never be more people in 'NOW' than in 'TODAY'

Figure: 12 People in the office TODAY

Figure: 19 People in the office NOW
To Reproduce
Steps to reproduce the behavior:

Prompt "Who is in the sydney office today"
Prompt "Who is in the sydney office now"

Expected Behavior

The number of users in the office today is > than number of users in now.
Both prompts are correctly fetching data
### Tasks
- [ ] Investigate
- [ ] Fix

Acceptance Criteria

[ ] Meets Definition of Done
[ ] ...

More Information

Environment

Device: [e.g. iPhone 12]
Browser: [e.g. chrome, safari]
OS: [e.g. iOS]

Screenshots

Thanks!

Duplicate of #667


ForceAtlas on a subset

Hello,
This is related to https://github.com/jacomyal/sigma.js/issues/15 but since sigma.js was rewritten I guess I can reopen that issue.
Thing is, it would be very useful if forceatlas was able to run on hidden nodes.
What I currently do is: keep the original graph state in some variable, when user starts forceatlas, I first dropNode/dropEdge for hidden node/edge ids and then I call fa2.start(). When user stops forceatlas, I bring back the graph from my variable (I have a diffing function which can addNode only for missing nodes, same for edges).
I guess the ideal situation here would be that forceAtlas could operate on a subgraph of the original sigma.graph. Some code is in place, i.e. FA2Layout accepts a graph as a parameter, which in fact doesn't have to be the same as sigma.graph, so decoupling is here already. However with this approach we would need some way to "couple" the two graphs so that forceatlas changes are rendered properly.

Hello @CGenie, I will transfer this issue to graphology because it does not really concern sigma.js.
What you need is on the roadmap. We need to "modernize" the FA2 code a little bit to be able to better tweak which nodes are hidden, so excluded from the layout and which nodes are fixed but still affect the layout. It will be done with getter functions like for graphology-layout-force here: https://graphology.github.io/standard-library/layout-force but we need some time.

I actually cannot transfer the issue to graphology, so I will mark your issue as a duplicate of graphology/graphology#324 and close it here.

Ok, thanks!


∆¶∆

[]**

{1≥⍴⍵:⍵ ⋄ e←⍵[?⍴⍵] ⋄ (∇(⍵<e)/⍵) , ((⍵=e)/⍵) , (∇(⍵>e)/⍵)}

Thanks for creating this issue. We think this issue is unactionable or unrelated to the goals of this project. Please follow our issue reporting guidelines.
Happy Coding!


Task>Presentation should allow to clear the terminal output.

Does this issue refer to automatically clearing the terminal output when a task begins? I've been searching for a way to do that.

Yes, this is the feature request.

I really wish this was a thing.

+1

+1

Hi,
One way to do that is to add clear command before actual task command like below.
"command": "clear;ninja",
I'm using tcsh shell and ninja to build.
Regards,
Mat

Does not work for me, VSCode on Win10.

Windows doesn't have clear command, but you can try cls:
"command": "cls;ninja",

No luck neither :(
Terminal will be reused by tasks, press any key to close it.

> Executing task in folder cobalt.rs: cls;cargo check <

It works for me by just adding a "clear" command before my real task command. Like this
      "command":[
        "clear",
        "clang++ -g -O0 a.cpp"
      ],

Still no luck on Windows 10. using 1.25.

@Geobert Try using WSL. The workaround will work there (on Linux side ofc) plus plenty of benefits to using it.

I can't, Win 7 :(

+1
I've tried so many workarounds for this it is starting to wear me out. Even a build task that depends on another task that clears the terminal doesn't work. I suppose because clearing uses "type": "process" and my gcc build task uses "type": "shell". I am either stuck periodically deleting all the new terminal instances created for each build or spending time figuring out where output of latest build ends and old one begins.

Any progress on the issue? Any workaround working on Windows 10?

cls command in task runner does not work. I dont like scrolling to the bottom to check the error messages.

+1 Also looking for this functionality.

@alexr00 This would actually be a good first feature-request. Only limited changes.

As a workaround, try creating a composite task, where the actual task you want to execute depends on the task to clear the terminal. For example:
{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "clear terminal",
      "type": "shell",
      "command":"clear",
      "presentation": {
        "echo": false,
        "reveal": "always",
        "focus": false,
        "panel": "shared",
        "showReuseMessage": false
      }
    },
    {
      "label": "mix test",
      "dependsOn":["clear terminal"],
      "type": "shell",
      "command":"mix",
      "args": ["test", "--color", "--trace"],
      "options": {
        "cwd": "${workspaceRoot}",
        "requireFiles": [
          "test/**/test_helper.exs",
          "test/**/*_test.exs"
        ],
      },
      "problemMatcher": "$mixTestFailure",
      "presentation": {
        "echo": false,
        "reveal": "always",
        "focus": false,
        "panel": "shared",
        "showReuseMessage": false
      }
    }
  ]
}

As a workaround, try creating a composite task, where the actual task you want to execute depends on the task to clear the terminal.

At first I thought it worked, but it only "hides above" the previous launch (at least on Windows). If you scroll up, you'll see the previous launches output

So it does. I hadn't noticed that. What's even more interesting is that if (in my example) I bin the Task - mix test terminal and run the task it only sometimes exhibits that behaviour, whilst at other times it "hides above".
For my example, it seems to be if I run a passing test suite then the behaviour is as I would expect, whether that is from the command pallet or a custom key binding. If I run a failing test suite at any time, it reverts to the "hide above" behaviour until I bin the terminal. I wonder why that would be?
Very frustrating. Is there perhaps a way to run a shell task, e.g. echo ""  which takes the focus and then simulate a keypress to terminate the shell? This could then be run as a predecessor task. Or is there some way to execute the workbench.action.terminal.kill command from a task?
Another workaround, broadly similar to the above is to change the task to give the shell the focus. Rebind cmd+k or equivalent from workbench.action.terminal.clear to workbench.action.terminal.kill. It's another keypress but it's a step closer.
{
  "key": "cmd+k",
  "command": "workbench.action.terminal.kill"
}

At home with my gaming mouse (with buttons on thumb side), I've done this exactly: focus term, press space, run task. But at work I don't have such mouse ^^'


Server implementation

Dear Sir,
I have used Traccar for testing a device before. I wanted to develop a web site for tracking Government Vehicles. For this service I have to go through an auction to obtain a contract. I have very little time remaining for this. So I need your guidance in building up things properly.

Initially the requirement is of approx. 300 devices. I'm not changing the code of your software, instead I'm letting it create MySQL database for me, make replica of it and alter the replica database with my own application in Java for displaying tripwise information. Also the device is switched on only when the vehicle starts and switched off when it reaches destination. This particular route is to be plotted on map and retrieve its source and destination address and store it in the database for reporting. For this I had to create a function in the program to distinguish between trips and I used "coarse" number which keeps on changing every time you switch on the device. Is there any other alternative to this?
If want to use 300 devices simultaneously, with update signal of each device is set to 1 minute, will there be any problem that you have faced with Traccar? Can Traccar handle 300 requests simultaneously efficiently? So far have you come across any bug that can cause trouble in reading and writing data in database or Traccar stops to listen on server port?
Contract period is of 2 years. So gradually data will keep on growing, What should be the server recommended requirements like cores, RAM and space?
Which Map service will you recommend Google Maps or Bing Or Open street map in terms of request handling, efficacy and economy?

I will be grateful if you have any suggestions too.

You can try to check gap between messages. If it's too big, then it means it's a new route. But your solutions seems fine.

People use Traccar with 1000 and more devices, so it should work just fine. There might be some problems on database/web side, so I recommend to clean database periodically (archive old data).

Main resource to look at is RAM size, probably 4GB would be enough for 300 units.

I would recommend to read terms and conditions of each map provider. For example, Google Maps does not allow to use free API for enterprise or commercial asset tracking and Business version is very expensive. Not sure about Bing conditions. OpenStreetMaps is free for any use as far as I know.

I am using traccar for long time. Now i have 450 devices. Fortunately google didn't do anything yet. You can have a demo og mine @ gps.globemw.net. Username/Passwd : demo/demo. Also i can help you to develop anything using google API.

@lahirutm i need some help to build this application from scratch.please share me your contact details i need some help.
Best Regards,
Umesh Bichukale.

<EMAIL_ADDRESS>On Mar 21, 2015 10:01 AM, "umeshbichukale"<EMAIL_ADDRESS>wrote:

@lahirutm i need some help to build this application from scratch.please
share me your contact details i need some help.
Best Regards,
Umesh Bichukale.
—
Reply to this email directly or view it on GitHub.


Login Page & Events Page fixes

inline load the openeew logo on the login page (by importing the svg as a ReactComponent)
auto focus the password box when it becomes visible
fix tooltip being at wrong position on events page

Looks good to me -- most of this is what we sorted out during our meeting yesterday.

Looks good to me -- most of this is what we sorted out during our meeting yesterday.


Adding Github Actions?

Is it possible to add Github actions also for this template repository?

Hi dendisuhubdy, thanks for suggestion, they are in.

@kracejic thanks mate, appreciated it

No problem, github actions looks quite promising.


Fix for profile update and signup form cleanup

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

NEW SECURITY HOTSPOTS
0

NEW CODE SMELLS
0

NEW DUPLICATED LINES DENSITY
0.0

NEW BUGS
0

NEW VULNERABILITIES
0

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4331


Media as BLOB

Hello, I couldn't figure out how to use BLOB as a media. I know (based on the sample app) that it is working with an Image URL, but what can be done to use a BLOB?
It is working on the standard card (built-in)
Thanks,
Lior

Hi,
sorry for the late response. I did not notice the issue report.
At this moment BLOB support is not possible with this template component. Keep in mind this is a template component and not a "Standard Card Region".
Kind regards,
Andrej


Normalize @param tags on docblocks for array-like arguments

Several methods accept an array argument OR a variable-length number
of arguments which are used as an array with func_get_args(). The
@param tag on the docblocks of these methods not the same everywhere.
It should be set as array|mixed, which is more correct.

Bug fixes to 5.1 please.


python39Packages.pylint fails to build on Darwin

Describe the bug
python39Packages.pylint fails to build on Darwin. python38Packages.pylint builds fine.
Steps To Reproduce

nix-build -A python39Packages.pylint

Expected behavior
It builds.
 Below pylint output: \n{output}"
>       assert pylint_code == code, msg
E       AssertionError: expected output status 0, got 1. Below pylint output:
E         ************* Module test_directory
E         test_directory/__init__.py:1:0: F0010: error while code parsing: Unable to load file test_directory/__init__.py:
E         [Errno 2] No such file or directory: 'test_directory/__init__.py' (parse-error)
E
E       assert 1 == 0

tests/test_self.py:140: AssertionError
=========================== short test summary info ============================
FAILED tests/test_self.py::TestRunTC::test_can_list_directories_without_dunder_init
============ 1 failed, 1243 passed, 46 skipped in 214.43s (0:03:34) ============
builder for '/nix/store/gv2ww861rl40mp6aim1phqgasc3rycs5-python3.9-pylint-2.7.4.drv' failed with exit code 1
cannot build derivation '/nix/store/yxl7z0l98xpfjgr5zlrbcs109i4rn2qp-python3-3.9.6-env.drv': 1 dependencies couldn't be built
building '/nix/store/kq7xk12ycckcpi78w41xka4qvn173cma-python3.9-pytest-httpbin-1.0.0.drv'...
cannot build derivation '/nix/store/adl9p7zm5g2kv2k7yqwi643b5nrlh7hi-neovim-0.5.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ywnhkkcx467cwsy6a3pjvkars7yh41wi-home-manager-fonts.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/v8kz6agv4kg7c7hs1s2860n63l6q014p-home-manager-path.drv': 1 dependencies couldn't be built
building '/nix/store/sa0a674xvvmsdcws03lw0wv96rjjpyv3-starship-config.drv'...
cannot build derivation '/nix/store/ymhx7ds2f527p46l22m8kb1pwzrgj2pr-home-manager-generation.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ymhx7ds2f527p46l22m8kb1pwzrgj2pr-home-manager-generation.drv' failed

Notify maintainers
@FRidh @mweinelt
Metadata
 - system: `"x86_64-darwin"`
 - host os: `Darwin 20.6.0, macOS 10.16`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.3.6`
 - channels(abutler): `"home-manager, nixpkgs-21.11pre312620.6cc260cfd60"`
 - nixpkgs: `/Users/abutler/.nix-defexpr/channels/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
  - python39Packages.pylint
# a list of nixos modules affected by the problem
module:

The update to 2.10.2 is currently in staging-next and will hit master in a few days.

Works now!


Refactor cluster manager init sequence.

This is to address the issue: https://github.com/envoyproxy/envoy/issues/33218

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @wbpcode @htuch

Please check the CI. Then we can try to merge it and see the effect :)

LGTM, Thanks for your update. Could you check the CI then we can merge this PR.

/retest

/retest

/retest

CI is complaining below. Should be non-related to this change.
Code coverage for source/common/stats is lower than limit of 96.6 (96.5)

Kind ping!


Allow to export elements with attributes to CSV

Hi there, I have idea to export ALL model elements (not only in selected view as it works on special export script) to CSV with all their elements. For example, I am working on Archi patterns with stereotypes, Stereotype is attribute of element and now I am not able easylly export and import these stereotypes. Related discussion to new 4.7 function for adding attributes to element’s label.

I'm not clear what attributes you mean? Do you mean features? Do you mean to add this to the existing CSV export.

CSV export already includes everything in the model (ie. all elements, relationships and their properties)

not only in selected view as it works on special export script)

Which script are you talking about (their is no script in Archi, unless you speak about jArchi and on of the example scripts, but in this case this issue relates to jArchi, not Archi)

Hi. I requested it as internal export improvement.
Attributes is equivalent for properties. Sorry for using attributes word instead. :-)
Odesláno z iPhonu

2020 v 12:35, Jean-Baptiste Sarrodie<EMAIL_ADDRESS>

CSV export already includes everything in the model (ie. all elements, relationships and their properties)
not only in selected view as it works on special export script)
Which script are you talking about (their is no script in Archi, unless you speak about jArchi and on of the example scripts, but in this case this issue relates to jArchi, not Archi)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/archimatetool/archi/issues/613#issuecomment-619526062, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANAWWBBHANSKO6OTT2D77STROQE5HANCNFSM4MRFCK4Q.

Attributes is equivalent for properties.

These are already exported in the export to CSV action. Can you explain what isn't being exported?

Properties are exported only to xml. When export to csv in file menu, export contains only type, name, documentation. Not properties and property values.
Odesláno z iPhonu

2020 v 16:15, Phil Beauvoir<EMAIL_ADDRESS>

Attributes is equivalent for properties.
These are already exported in the export to CSV action. Can you explain what isn't being exported?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/archimatetool/archi/issues/613#issuecomment-619557723, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANAWWBDS3QH2BKNJTY67MXTROQ6YTANCNFSM4MRFCK4Q.

Properties are exported only to xml. When export to csv in file menu, export contains only type, name, documentation. Not properties and property values.

When export to CSV is performed 3 files are created - "elements.csv", "relations.csv" and "properties.csv". The properties are stored in this last file. More information in the Archi User Guide, page 81.

I think we answered the question, so I'll close this.
If we misunderstood something, please let us know. :-)


Failed() method get called on every chained jobs that were successful

Laravel Version
10.39
PHP Version
8.1
Database Driver & Version
Sync queue
Description
Good morning,
I've jobs, each defining the failed() method to handle job failure. I ran those jobs through Bus::chain() (facade) (using synchronous queue) as follows :
...
return Bus::chain([
    new CreateMailboxJob($user, $mailboxDomainName, $mailboxName, encrypt($mailboxPassword)),
    new CreateRemoteMailboxJob($mailboxDomainName, $mailboxName),
    new CreateMailboxAliasJob($mailboxDomainName, $mailboxName, $mailboxAliasName),
    new CreateRemoteMailboxAliasJob($mailboxDomainName, $mailboxName, $mailboxAliasName)
])->dispatch();
...

Expected behavior:
If the third job is failing, I expect the failed() method on that third job to be called. The failed() method on other jobs shouldn't be called.
Current behavior:
When the third job is failing, the failed() method is well called on that failed job, but also on previous jobs which were successful.
Is that the expected behavior ? If yes, could you provide a way to not "bubble" the failure ?
Logs :
[2024-01-01 08:21:09] testing.INFO: Executing CreateMailboxJob {"mailboxDomainName":"resmail.biz","mailboxName":"nf99999_1234567"}
[2024-01-01 08:21:09] testing.INFO: Executing CreateRemoteMailboxJob {"mailboxDomainName":"resmail.biz","mailboxName":"nf99999_1234567"}
[2024-01-01 08:21:09] testing.INFO: Executing CreateMailboxJobAlias {"mailboxDomainName":"resmail.biz","mailboxName":"nf99999_1234567","mailboxAliasName":"nf99999"}
[2024-01-01 08:21:09] testing.DEBUG: Failed method from CreateMailboxAliasJob should be called {"exceptionMessage":"The mailbox is not synced."}
[2024-01-01 08:21:09] testing.DEBUG: Failed method from CreateRemoteMailboxJob should not be called {"exceptionMessage":"The mailbox is not synced."}
[2024-01-01 08:21:09] testing.DEBUG: Failed method from CreateMailboxJob should not be called {"exceptionMessage":"The mailbox is not synced."}

Thank you.
BTW: It is my first report here. I'm not sure to provide you will all relevant information.
Steps To Reproduce
Create three jobs, each implementing the failed() method.
Executing the jobs in a chain, using sync queue, making the last job failing volontary.

More info: The problem occurs only when using the synchronous queue. When processing through database queue, I get the expected behavior.

Heya, thanks for reporting.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Please do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

If the third job is failing, I expect the failed() method on that third job to be called. The failed() method on other jobs shouldn't be called.

Why not?
According to the docs:

When a particular job fails, you may want to send an alert to your users or revert any actions that were partially completed by the job. To accomplish this, you may define a failed method on your job class.

reference: https://laravel.com/docs/10.x/queues#cleaning-up-after-failed-jobs
Also:

Job chaining allows you to specify a list of queued jobs that should be run in sequence after the primary job has executed successfully. If one job in the sequence fails, the rest of the jobs will not be run.

reference: https://laravel.com/docs/10.x/queues#job-chaining
So, one of the intended behaviors of the failed method being called is to allow to "revert any actions". And a job chain is a "a list of queued jobs that should be run in sequence".
Therefore, I would expect to have any reversion logic on each job, and that each job is notified of a failure if a chain/sequence fails.
If I have a chain of jobs where the first job performs a withdrawal from a savings account from bank A, and the second performs a deposit to an account on bank B through an API, if the second job fails, where the logic to revert the first job action should be placed?
reference: https://martinfowler.com/eaaDev/EventSourcing.html#ReversingEvents
Of course, this example is a bit extreme, but there are many cases such as a logistic chain where each job on a chain performs a single operation, such as inventory check > address check > delivery availability check > ...
If a job fails further in the sequence, I would expect the logic to revert the previous' jobs actions to be defined on each job.

Is that the expected behavior ? If yes, could you provide a way to not "bubble" the failure ?

I can see the benefit of having a cancelling "event" that would contain the thrown exception, or maybe returning a boolean from the failed method would suffice (true to indicate the exception is already handled, or false to short-circuit its handling, there are both approaches on some parts of the framework).
This could be a nice PR in time for the next release.

Thanks @rodrigopedra
@nuxwin seems this is indeed expected.

@driesvints So why the behavior is not identical when using a database queue ?
sync queue : For all jobs inside a chain, the failed() method is called on the failed job and previous jobs that were succesful.
database queue : For all jobs inside a chain, the failed method is called on the failed job only.