Sane splitting

This PR removes the behavior to split commands by whitespace by default. Instead it introduces two now ways to do that:

A Split newtype wrapper around &str.
Allowing to use str::split, str::split_whitespace or str::split_acsii_whitespace.

I think I'd like to only add one of the two options. Any opinions, which one?
Also, I'm not super happy with this overall. I think that e.g. cmd!("command --foo", some_argument, "--some-config true"); is just much better than cmd!("command --foo".split(' '), some_argument, "--some-config true".split(' '));. :/

This PR removes the behavior to split commands by whitespace by default. Instead it introduces two now ways to do that:

A Split newtype wrapper around &str.
Allowing to use str::split, str::split_whitespace or str::split_acsii_whitespace.

I think I'd like to only add one of the two options. Any opinions, which one?

I think I like Split a little bit more, since it's consistent with everything else in the library. However, .split can be used with different delimiters, which might be useful, and it doesn't require learning a new thing. I'm torn. I would probably add both, since I don't think there's a huge downside, but if I had to only add one it would be .split.

Also, I'm not super happy with this overall. I think that e.g. cmd!("command --foo", some_argument, "--some-config true"); is just much better than cmd!("command --foo".split(' '), some_argument, "--some-config true".split(' '));. :/

You could also write it like this:
cmd!("command", "--foo", some_argument, "--some-config", "true");

I agree that this is a little worse, but I suspect that string splitting bugs will be inevitable otherwise, and will be difficult to track down, and crop up unexpectedly. For example, a utility is only tested with paths without spaces, but a user then uses it with paths with spaces, triggering splitting and causing bugs.

An additional way that users can avoid needing to split strings is by using = to separate options and values, if the command supports it:
cmd!("command", "--foo", some_argument, "--some-config=true");

I agree that this is a little worse, but I suspect that string splitting bugs will be inevitable otherwise, and will be difficult to track down, and crop up unexpectedly. For example, a utility is only tested with paths without spaces, but a user then uses it with paths with spaces, triggering splitting and causing bugs.

Yeah, I completely agree. This is especially bad in a language like rust where programmers rely on the type system to catch bugs like that.
I'm pretty convinced we should merge this.

I think this looks good!

I had some thoughts about the clones, but I think those are really only performance concerns, so I'll open an issue.


add base node-gyp binding setup

Closing in favor of using the Chrome and other browser extensions, so the Desktop app doesn't need to know about urls or HTML.


fix(#1530): table bottom align headers

Before (the change)
After (the change)
-Table headers are bottom aligned,
-Text headers are left aligned
-Headers  having class="goa-table-number-header" like below are right aligned (example below)
Reg Column

   <goa-table-sort-header name="age" direction="asc">Sortable Column</goa-table-sort-header>

Make sure that you've checked the boxes below before you submit the PR

[x] I have read and followed the setup steps
[ ] I have created necessary unit tests
[x] I have tested the functionality in both React and Angular.

Steps needed to test

A couple issues:

[ ] Padding on goa-table thead th should be 11px var(--goa-space-m) 9px var(--goa-space-m)

[ ] If I apply goa-table-sort-header to the header, the header becomes centre aligned

:tada: This PR is included in version 1.17.0-alpha.102 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.25.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.24.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0-alpha.5 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[chore] Request for a little Nx guide to CONTRIBUTION.md

Hi can you please add a "little guide" to CONTRIBUTION.md to correctly setup a new "secondary-entrypoint" to the lib, for help the dev workflow for the "non-NX-addicted" devs like me 😜
I know, I must learn to use it (and maybe this is the right time for me) but some help is really appreciated
Thanks

CONTRIBUTING guide has been updated. Please check it out secondary entry point

Thanks 🙏


Rancher UI New component health checks "Cattle" and "Fleet" fail for standard users with only project membership

Jira issue: SURE-9187, reopened
Related issue https://github.com/rancher/dashboard/issues/12259
Describe the bug

The users still have the bug reported in https://github.com/rancher/dashboard/issues/12259
Additional logs from customers:
The API response (no permissions)

Example 1:
{

    "type": "error",

    "links": {},

    "code": "Forbidden",

    "message": "apps.catalog.cattle.io \"rancher-monitoring\" is forbidden: User \"user\" cannot get resource \"apps\" in API group \"catalog.cattle.io\" in the namespace \"cattle-monitoring-system\"",

    "status": 403
}

Example 2:
{

    "type": "error",

    "links": {},

    "code": "Forbidden",

    "message": "statefulsets.apps \"fleet-agent\" is forbidden: User \"user\" cannot get resource \"statefulsets\" in API group \"apps\" in the namespace \"cattle-fleet-system\"",

    "status": 403
}

Proposed Solution
The health boxes should be hidden if the user has no access to the cattle-cluster-agent and fleet-agent objects.

/backport v2.10.1

UPDATE
Reproducible with the following conditions in a downstream cluster:

Create a standard user
Assign them to System project with the custom role View Monitoring

testing is blocked by https://github.com/rancher/dashboard/issues/12828


Timeseries query

Currently Crux does not support querying over history.
Queries like "Give me the patient count for each month for the last year" would be interesting to ask.
Once we find a way to run these queries, we should add a demo showing this.

It seems like something in this direction is coming with https://github.com/juxt/crux/issues/968


nothing can be clicked

After  bun run dev ，nothing can be clicked, anyone know why?

make sure ollama is running on port 11434 , then refresh and click dropdown on right and left side of screens, its clickable and you will able to create new project and select models .

For me it works on 11434 but there is still this fault

can you try running ui with 'bun run dev --host' with host parameter.

Now some work and some I couldn't create a new project and choose a model but the settings button doesn't work and I also can't choose the project from the list it doesn't work
VITE v5.2.2  ready in 803 ms
➜  Local:   http://localhost:3000/
➜  Network: http://<IP_ADDRESS>:3000/
➜  press h + enter to show help
18:58:26 [vite-plugin-svelte] C:/zxcv/devika/ui/src/lib/components/ControlPanel.svelte:115:10 A11y: '#' is not a valid href attribute
18:58:26 [vite-plugin-svelte] C:/zxcv/devika/ui/src/lib/components/ControlPanel.svelte:124:14 A11y: '#' is not a valid href attribute
18:58:26 [vite-plugin-svelte] C:/zxcv/devika/ui/src/lib/components/ControlPanel.svelte:186:16 A11y: '#' is not a valid href attribute
18:58:27 [vite-plugin-svelte] C:/zxcv/devika/ui/src/lib/components/ControlPanel.svelte:115:10 A11y: '#' is not a valid href attribute
18:58:27 [vite-plugin-svelte] C:/zxcv/devika/ui/src/lib/components/ControlPanel.svelte:124:14 A11y: '#' is not a valid href attribute
18:58:27 [vite-plugin-svelte] C:/zxcv/devika/ui/src/lib/components/ControlPanel.svelte:186:16 A11y: '#' is not a valid href attribute

did devika write this repo? wsl install doesnt work , docker install doesnt work , whats going on here

This app takes up soooo much space

after we click on new project and we enter the project name it does not update the project name . basically that button does not work . Do you have any solution for this ?

did devika write this repo? wsl install doesnt work , docker install doesnt work , whats going on here

i guess yes

after we click on new project and we enter the project name it does not update the project name . basically that button does not work . Do you have any solution for this ?

stuck at this same issue

after we click on new project and we enter the project name it does not update the project name . basically that button does not work . Do you have any solution for this ?

stuck at this same issue

SAME ISSUE

after we click on new project and we enter the project name it does not update the project name . basically that button does not work . Do you have any solution for this ?

stuck at this same issue

SAME ISSUE

I use bun run dev --host instead bun run dev .
And I use Network, likes: http://<IP_ADDRESS>:3000/.
It works.

fetch the latest changes. already fixed


Unique name on Windows need more_entropy

If you upload more files in 1s on Windows, uniqid will be the same.

Before we can review this:

Please provide unit tests for the functionality.
Existing tests break because of the changes. They will either need to be updated, or the functionality introduced reviewed to ensure no breakage occurs.

Additionally, can you point to a bug report on the PHP bug tracker that indicates this behavior? I've used uniqid() for years, and never seen it generate the same hash within the same second; how many files are we talking about?

@weierophinney can't remember why I was even using windows, but yeah, uniqid() is not unique on windows (within the same millisecond) :-(


UseITK uses include_directories and link_directories

Description
UseITK.cmake uses include_directories and link_directories.
Steps to Reproduce
N/A
Expected behavior
Variables should be returned such that target_include_directories and target_link_libraries can be used.
Actual behavior
https://github.com/InsightSoftwareConsortium/ITK/blob/c95b99852a9109a8fc176a06f88b2aa6d442154b/CMake/UseITK.cmake#L26-L30
https://github.com/InsightSoftwareConsortium/ITK/blob/c95b99852a9109a8fc176a06f88b2aa6d442154b/CMake/UseITK.cmake#L232
include_directores pollutes the include path. Our code (https://github.com/CCPPETMR/SIRF) builds against both ITK and NiftyReg, both of which have a copy of nifti1.h. For a particular library, we want to be using the NiftyReg files, but because of this issue, ITK includes get prepended. We therefore get into problems with the itk_nifti_mangle.h.
You can see this problem, which is present in one of our Travis builds: https://travis-ci.org/CCPPETMR/SIRF/builds/618272131?utm_source=github_status&utm_medium=notification. There is one matrix in red, due to this problem.
Reproducibility
N/A
Versions
From at least 4.13. Still present in master.
Environment
Linux Ubuntu 14.04 (and potentially other distributions).
Additional Information
N/A

Any movement on this one?

Not really. ITK's build system pre-dates CMake 3 and its enablement of modern practices. Updating it is a huge undertaking, with lousy cost/benefit ratio. It will probably have to wait for the next big maintenance grant.

Expected behavior

Variables should be returned such that target_include_directories and target_link_libraries can be used.

This can currently be done by inspecting the ITK modules variables.  Here is what I did in SimpleITK:
https://github.com/SimpleITK/SimpleITK/blob/master/CMake/sitkTargetUseITK.cmake
Perhaps it should be made more widely available.

This can currently be done by inspecting the ITK modules variables. Here is what I did in SimpleITK:

Do you use this for IO? I gave it a go lifting some relevant functionality from the UseITK.cmake file, but got into trouble - I think because the ITKFactoryRegistration was empty.

Yes, it for every thing. From this commit in SimpleITK, the factory registration can be explicitly done when using the "ITKImageIO" and "ITKTransfromIO" modules.

@kthielemans info RE including ITK. SimpleITK's method looks good but potentially a lot of work to switch over.

thanks @rijobro. I have only very briefly glanced at this, and have no good idea what it would involve for us. Possibly that discussion should be held at https://github.com/UCL/STIR/issues/432 to avoid cluttering this, unless it's of general benefit of course?


[question] supported caching providers in main branch

Hi,
I want use redis as caching provider, but I'm a bit confused about supported caching providers in the main branch,
From the documentation below, It provides an in-memory, redis and Olric cache systems because setting, getting, updating and deleting keys in these providers is as easy as it gets, so does it support redis?
Cache systems
Supported providers

[Badger](https://github.com/dgraph-io/badger)
[Olric](https://github.com/buraksezer/olric)
The cache system sits on top of three providers at the moment. It provides an in-memory, redis and Olric cache systems because setting, getting, updating and deleting keys in these providers is as easy as it gets.
In order to do that, the [Olric](https://github.com/buraksezer/olric) provider need to be either on the same network as the Souin instance when using docker-compose or over the internet, then it will use by default in-memory to avoid network latency as much as possible. Souin will return at first the in-memory response when it gives a non-empty response, then the olric one followed by the redis one with same condition, or fallback to the reverse proxy otherwise. Since v1.4.2, Souin supports Olric to handle distributed cache.

And in the beginning of the docs, looks like redis is only supported in https://github.com/Darkweak/Souin/tree/full-version, but in that branch, seems code is not maintained anymore?

You're right, redis is not supported on the master branch because it's too slow compared to olric and badger. I plan to move from badger to lotusdb in the next release BTW to patch this issue https://github.com/caddyserver/cache-handler/issues/27.
The full-version branch is not maintained anymore because there was too many changes and was not really used so it was time wasting for me.
I'll fix the documentation in the PR with the lotusdb introduction.

if I define below block only, it will do in-memory caching right?
default_cache: # Required
  ttl: 10s # Default TTL

Yes it does

I plan to move from badger to lotusdb in the next release BTW to patch this issue caddyserver/cache-handler#27.

I like the move away from badger. I'm trying to use the caddy cache-handler on my raspberry pi, but apparently badger isn't compatible arm. Maybe lotusdb works better :)

It should be okay once this branch got merged https://github.com/darkweak/souin/tree/feat/plugins/introduce-beego-plugin. I'm grouping commits for enhancements in this branch.

Update: First I'll keep badger as the default provider and set nutsdb as the default one when I'll tag the v1.7.0

hi there
I tried to use the new nutsdb provider with caddy and so I build caddy with
github.com/darkweak/souin/plugins/caddy v0.0.0-20220616183608-602a4e16d6cc
github.com/darkweak/souin       v1.6.9

on arm it works fine, but on windows and I keep getting the following panic, if some cache key should be save into nutsdb
http.stdlib     http: panic serving [::1]:1946: Impossible to set value into Nuts, FlushFileBuffers: Das Handle ist ungültig.
goroutine 165 [running]:
net/http.(*conn).serve.func1()
        net/http/server.go:1825 +0xbf
panic({0x2535260, 0xc000440640})
        runtime/panic.go:844 +0x258
github.com/darkweak/souin/cache/providers.(*Nuts).Set(0xc0001098c0, {0xc00003e640, 0x1c}, {0xc00016c480, 0xd2, 0x42c}, {{0x2540be400}, {0x3a96928, 0x0, 0x0}, ...}, ...)
        github.com/darkweak/souin@v1.6.9/cache/providers/nutsProvider.go:125 +0x239
github.com/darkweak/souin/rfc.(*VaryTransport).SetCache(0xc0000060c0, {0xc00003e640, 0x1c}, 0xc0001a6630)
        github.com/darkweak/souin@v1.6.9/rfc/transport.go:85 +0x263
github.com/darkweak/souin/rfc.validateVary.func1({0x2bf6040, 0xc0000f4de0})
        github.com/darkweak/souin@v1.6.9/rfc/vary.go:37 +0x125
github.com/darkweak/souin/rfc.(*cachingReadCloser).Read(0xc0004c7a40, {0xc0008be040, 0x1bd33171470?, 0x1c0})
        github.com/darkweak/souin@v1.6.9/rfc/standalone.go:352 +0x177
io.ReadAll({0x1bd33171470, 0xc0004c7a40})
        io/io.go:645 +0xfe
io/ioutil.ReadAll(...)
        io/ioutil/ioutil.go:27
github.com/darkweak/souin/plugins.(*CustomWriter).Send(0xc0005a8480)
        github.com/darkweak/souin@v1.6.9/plugins/base.go:68 +0x20f
github.com/darkweak/souin/plugins/caddy.(*SouinCaddyPlugin).ServeHTTP.func1({0x25bf7a0?, 0x2531720?}, 0x28aa9b7?)
        github.com/darkweak/souin/plugins/caddy@v0.0.0-20220616183608-602a4e16d6cc/httpcache.go:125 +0x10f
github.com/darkweak/souin/plugins.DefaultSouinPluginCallback({0x2c04330, 0xc0005a8480}, 0xc0002e8800, {0x2c13258, 0xc0000a8360}, {0x0, 0x0}, 0xc00009c410)
        github.com/darkweak/souin@v1.6.9/plugins/base.go:178 +0x6df
github.com/darkweak/souin/plugins/caddy.(*SouinCaddyPlugin).ServeHTTP(0xc00020e3c0, {0x1bd3316fa50?, 0xc0005a69f0}, 0xc0002e8300, {0x2bfc660, 0xc0005a8420})
        github.com/darkweak/souin/plugins/caddy@v0.0.0-20220616183608-602a4e16d6cc/httpcache.go:113 +0x7cc
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*metricsInstrumentedHandler).ServeHTTP(0xc0005a8080, {0x1bd3316fa50?, 0xc0005a68a0}, 0xc0002e8300, {0x2bfc660, 0xc0005a8420})
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/metrics.go:132 +0x53b
github.com/caddyserver/caddy/v2/modules/caddyhttp.wrapMiddleware.func1.1({0x1bd3316fa50?, 0xc0005a68a0?}, 0x2bfc660?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/routes.go:272 +0x3b
github.com/caddyserver/caddy/v2/modules/caddyhttp.HandlerFunc.ServeHTTP(0x2bfc660?, {0x1bd3316fa50?, 0xc0005a68a0?}, 0x0?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/caddyhttp.go:57 +0x2f
github.com/caddyserver/caddy/v2/modules/caddyhttp.wrapRoute.func1.1({0x1bd3316fa50, 0xc0005a68a0}, 0xc0002e8300)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/routes.go:244 +0x322
github.com/caddyserver/caddy/v2/modules/caddyhttp.HandlerFunc.ServeHTTP(0xc0000cab40?, {0x1bd3316fa50?, 0xc0005a68a0?}, 0x2bfc660?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/caddyhttp.go:57 +0x2f
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*Subroute).ServeHTTP(0xc0006290c0, {0x1bd3316fa50, 0xc0005a68a0}, 0x6?, {0x2bfc660, 0x2946638})
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/subroute.go:74 +0x6d
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*metricsInstrumentedHandler).ServeHTTP(0xc0005a80c0, {0x1bd3316fa50?, 0xc0005a6750}, 0xc0002e8300, {0x2bfc660, 0x2946638})
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/metrics.go:132 +0x53b
github.com/caddyserver/caddy/v2/modules/caddyhttp.wrapMiddleware.func1.1({0x1bd3316fa50?, 0xc0005a6750?}, 0x2bfc660?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/routes.go:272 +0x3b
github.com/caddyserver/caddy/v2/modules/caddyhttp.HandlerFunc.ServeHTTP(0x2bfc660?, {0x1bd3316fa50?, 0xc0005a6750?}, 0xfd4bc6?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/caddyhttp.go:57 +0x2f
github.com/caddyserver/caddy/v2/modules/caddyhttp.wrapRoute.func1.1({0x1bd3316fa50, 0xc0005a6750}, 0xc0002e8300)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/routes.go:244 +0x322
github.com/caddyserver/caddy/v2/modules/caddyhttp.HandlerFunc.ServeHTTP(0xc0000c0f90?, {0x1bd3316fa50?, 0xc0005a6750?}, 0x4?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/caddyhttp.go:57 +0x2f
github.com/caddyserver/caddy/v2/modules/caddyhttp.VarsMiddleware.ServeHTTP(0x1bd3316fa50?, {0x1bd3316fa50, 0xc0005a6750}, 0xc0002e8300, {0x2bfc660, 0xc0005a80e0})
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/vars.go:60 +0x273
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*metricsInstrumentedHandler).ServeHTTP(0xc000628f60, {0x2c07420?, 0xc00002a000}, 0xc0002e8300, {0x2bfc660, 0xc0005a80e0})
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/metrics.go:132 +0x53b
github.com/caddyserver/caddy/v2/modules/caddyhttp.wrapMiddleware.func1.1({0x2c07420?, 0xc00002a000?}, 0x2bfc660?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/routes.go:272 +0x3b
github.com/caddyserver/caddy/v2/modules/caddyhttp.HandlerFunc.ServeHTTP(0x2bfc660?, {0x2c07420?, 0xc00002a000?}, 0x0?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/caddyhttp.go:57 +0x2f
github.com/caddyserver/caddy/v2/modules/caddyhttp.wrapRoute.func1.1({0x2c07420, 0xc00002a000}, 0xc0002e8300)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/routes.go:244 +0x322
github.com/caddyserver/caddy/v2/modules/caddyhttp.HandlerFunc.ServeHTTP(0xc000177400?, {0x2c07420?, 0xc00002a000?}, 0x277f2a0?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/caddyhttp.go:57 +0x2f
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*Server).enforcementHandler(0x0?, {0x2c07420?, 0xc00002a000?}, 0xc0006fa4c0?, {0x2bfc660?, 0xc0005a8100?})
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/server.go:318 +0x252
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*Server).wrapPrimaryRoute.func1({0x2c07420?, 0xc00002a000?}, 0xfc8637?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/server.go:294 +0x3b
github.com/caddyserver/caddy/v2/modules/caddyhttp.HandlerFunc.ServeHTTP(0xc00016f8c0?, {0x2c07420?, 0xc00002a000?}, 0xc0002e8300?)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/caddyhttp.go:57 +0x2f
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*Server).ServeHTTP(0xc0000fe240, {0x2c07420, 0xc00002a000}, 0xc0002e8300)
        github.com/caddyserver/caddy/v2@v2.5.1/modules/caddyhttp/server.go:230 +0xac6
net/http.serverHandler.ServeHTTP({0xc0005a6390?}, {0x2c07420, 0xc00002a000}, 0xc0002e8100)
        net/http/server.go:2916 +0x43b
net/http.(*conn).serve(0xc0001b2960, {0x2c09148, 0xc00034df80})
        net/http/server.go:1966 +0x5d7
created by net/http.(*Server).Serve
        net/http/server.go:3071 +0x4db

its an *os.SyscallError {Syscall: "FlushFileBuffers", Err: error(syscall.Errno) golang.org/x/sys/windows.ERROR_INVALID_HANDLE (6)} error.
{
	debug
	order cache before rewrite
	cache {
		nuts {
			path cache
		}
	}
}

http://:80 {
	root .
	handle /cachable/* {
		cache {
			ttl 10s
		}
		reverse_proxy <IP_ADDRESS>:8080
	}
}

http://:8080 {
	respond "Hello, your visited {uri} at {time.now.common_log}"
}

$ curl http://localhost/cachable/hi
curl: (52) Empty reply from server

Any idea whats happening?

Can you try with custom options and disable the SyncEnable property https://github.com/nutsdb/nutsdb
Note that the windows FS is a pain
https://github.com/dgraph-io/badger/issues/699

Can you try with custom options and disable the SyncEnable property https://github.com/nutsdb/nutsdb

It helps for the first few requests but I guess it has to flush to disk at some point and this is where is panics again.
Using
	cache {
		nuts {
			path cache
			configuration {
			}
		}
	}

as config helps, because it uses the default nutsdb.Options.RWMode which is nutsdb.FileIO instead of nutsdb.MMap With this everything works as expected as far as I can tell.

This just errors Impossible to parse the configuration for the Nuts provider json: cannot unmarshal string into Go struct field Options.RWMode of type nutsdb.RWMode

You're right because it's a iota. I'll setup the parser tonight.


User Guide

Publish a user guide for md2orchestra telling how a markdown document should be formatted.

Initial draft posted in wiki https://github.com/FIXTradingCommunity/md2spec/wiki/md2orchestra-User-Guide

"Building" page added to the wiki.


Generating test dataset on Mac arm64 build fails with "No module named 'spikeinterface'"

Describe the issue
index-178c0fa4.js:7278 [main-process]: [2024-06-07 09:55:16,250] ERROR in app: Exception on /data/generate [POST]
Traceback (most recent call last):
  File "flask/app.py", line 1484, in full_dispatch_request
  File "flask/app.py", line 1469, in dispatch_request
  File "flask_restx/api.py", line 404, in wrapper
  File "flask/views.py", line 109, in view
  File "flask_restx/resource.py", line 46, in dispatch_request
  File "namespaces/data.py", line 19, in post
  File "manageNeuroconv/manage_neuroconv.py", line 1637, in generate_test_data
ModuleNotFoundError: No module named 'spikeinterface'

Steps to Reproduce
Install 1.0 test release
Operating System
Mac OS with Mac M1
GUIDE Version
1.0 test
Code of Conduct
Yes
Did you confirm this issue was not already reported?
Yes

Strangely a local build works on my system.
I will do some testing. Might just require adding
tmp_ret = collect_all('spikeinterface')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]

to nwb-guide.spec

Fixed by #841


Additions related to API Keys

Breaking Changes
Granular management of API keys is now added to MeiliSearch. New methods have been created to manage this:

http.patch use by updateKey
client.getKey get information about a specific API key.
client.createKey create a new API key.
client.deleteKey delete an API key.
client.updateKey update an API key.

The class HttpURLConnection doesn't accept the PATCH method, I create a workaround and an issue #318

bors merge


Issue #991 Only evaluate flip_svat_y for flipping row indices

Fixes #991
Description

Checklist

[x] Links to correct issue
[ ] Update changelog, if changes affect users
[x] PR title starts with Issue #nr, e.g. Issue #737
[x] Unit tests were added
[ ] If feature added: Added/extended example

Inferring from the test, this seems to do the right thing. However, it appears to the exact opposite thing of the fix proposed in the issue, where you mention only flip_svat_y should be evaluated, whereas the PR removes exactly that. Could you elaborate?
This fix is also important to users. Could you add a text to the changelog? It's under docs/api/changelog.rst.

Yes, good point and that’s indeed my bad. The initial proposed fix was based on the typical Dutch case with positive increasing x- values and negative for y, for meteo- and svat array. Since this fix made the current test fail, I looked more closely to the logic.
In my opinion, the only reason to flip the indices is if the edge array (always monotonic increasing) is flipped relative to the array-coords (potentially monotonic decreasing). Therefore, there is no reason the evaluate the array-coords of the svat-array at all.

Yeah the part dealing with y-coords is a bit sketchy. I think the main culprit is the MetaSWAP IO manual stating somewhere that y-coords should be monotonically increasing for a specific package (I think it was the IDF mapping), and I doubt whether that is really the case. I think the main use case is decreasing y-coords. So we could throw a ValidationError if the input has increasing y coords, as we do with the Modflow6 module. Indeed the SVAT logic can be removed.


RM Firmware: Sprite asset data not loading properly

Describe the bug.
I just updated RM firmware with the updated Pokémon Trading app so I could test out the Gen 2 trading. When I choose the Pokémon selection option all the sprites are missing. I went through them and they show the names and numbers but the sprites are replaced with a  question mark in a circle
Reproduction

select Pokémon Trading app
choose gen 1 or gen 2
select Pokémon
sees the first option which is Bulbasaur. Sprite is missing and replaced with a question mark
click right to scroll through Pokémon and they all have a question mark

Target Framework
No response
Logs
No response
Anything else?
No response

Interesting bug.
The sprites are stored as a FAP asset; which are bundled up with the .fap, and at application load the OS ensures the asset is unpacked and matches checksum, if either fail its unpacked just before application launch. If there is an issue with the SD card, asset unpacking in RM, or asset path macros in RM, those could all cause issues. The sprites are kept as an asset and loaded on-demand; 251 56x56 px sprites take up a lot of memory otherwise.
The round bubble with the ? is the MissingNo. icon from later generations and is kept in memory. If sprite loading fails for any reason, that sprite is returned and used instead.
I'll be honest and say that how sprite information is loaded is probably a bit non-ideal, but, there should be no issues with it. Works in 0.105.0 official release (I havn't tested against dev, which RM may be pulling from, I'm not sure).
Can you open log debug through flipper console and copy/paste that here? I might be able to figure something out from that.
Does the trade still work even with the sprites missing? If not, then I'll try and look in to it.
Otherwise, if its just the cosmetics of the sprites then addressing this is going to be pretty low priority. I generally only develop against official, as keeping track of all of the customs, where they are in the API, any changes they might have, etc., doesn't really interest me and becomes time consuming to test for issues like this. If someone makes a PR for this, or the bug appears in official firmware at some point, I'll address it further then.

Just had a moment to test against latest official dev (99655c15e454ffdbd4bada76bd45fa41fd28f7c1) and I'm not able to reproduce it there.
This is definitely something specific to RM. I'm interested in console logs still if you're able to grab them, they might be able to tell me something that could be a quick fix. But otherwise, if trades still work, this is a low priority issue for me to look in to.

Had a moment and tested this against RM0825-0001-0.104.1-ff3298a and was unable to reproduce.


Second single quote in a line is missing a corresponding pair

OS MacOS Catalina (10.15.7):
What vim? (+ version) (i.e. vim, gvim, nvim, nvim-qt, mvim, ...): MacVim (8.2.2576 (170))
Reproduced in other variants of Vim? (Optional):
Describe the bug
Second single quote in a line is missing a corresponding pair
Steps to reproduce

Javascript filetype
Type: func(' -- corresponding autoclosing pairs are inserted: func('')
Continue typing: func('').func(' and only closing bracket is inserted (apostrophe is missing): func('').func(')

I think that should fix it. released v3.0.0-beta8 today, which includes a bit of new balance logic. Mistakes were made in the process :')

Thanks, that fixed it!


BUG: SQL Operations Studio doesn't save result to Excel

SQL Operations Studio Version: 0.32.8
Operating system: Windows 10 Home x64

SQL Operations Studio doesn't save result to Excel. When I hit "Save", no file appears and no message pops up to indicate that file is created.  I could manage to save file once per session. Now I tried 20 times to save file - and all is in vain. 😐 Can this bug be connected with previously fixed bug? 🤔
Steps to Reproduce:

Fire up new instance of SQL Operations Studio.
Type in SELECT 1 and execute it.
Save result to Excel.

@MattIrv I came across this after getting set up on Ubuntu Desktop 18.04 using
Version 0.32.8
Commit efd470b3c771ef7473ba3cf108a33b6579c96a53
Date 2018-08-30T19:33:15.959Z
VS Code 1.23.1
Shell 1.7.16
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

I thought I had tried everything and couldn't get an export (to csv) work. The note you gave about explicitly right click > Export (as opposed to select all, and still trying to use the export buttons) worked for me just now.

@MattIrv Yes, this workaround does work. Thanks!

This should be fixed in the 0.32.9 release.  Please reactive if the problem persists.


Response is null from server

i followed the Medium documentation and github and when I get call back from dialog flow server it is showing me it is null.
Could you please help to solve this issue?

need more details to understand the issue. try to update the libraries

See updated code. I have tested it on Android API version 23 and 29


Issue #151 : Add support for PHP 8

This PR is related to :

[x] Add Github Action due to unsuported PHP 8.0 on travis
[x] Remove support on PHP 7.0 and 7.1 because phpunit 9 is the only version that supported PHP8 and is not compatible with old php versions
[x] Correct deprecation on PHP8 for usort function
[x] Update tests for compatibilities on phpunit 8/9

Signed-off-by: Jimmy ESCRICH<EMAIL_ADDRESS>

All tests passing on Github Action https://github.com/Ciloe/twigcs/actions/runs/343278105

@OwlyCode Since PHP 8 is now released, it would be really nice to get this merged and tagged. :)

PHP 8 is now supported on Travis. If migrating to GitHub acions cannot be done quikly can we add support for PHP 8 without it?

@Ciloe what are the plan regarding merging this ?

@Ciloe what are the plan regarding merging this ?

This PR will be merge soon. Normaly this week

This PR will be merge soon. Normaly this week


Expand Packet DNS abstraction to all providers

https://github.com/kinvolk/lokomotive/pull/422 introduced Cloudflare as a supported DNS provider. This is the first DNS provider which isn't also an IaaS provider in Lokomotive.
As part of this PR, the abstraction for DNS records was improved and the configuration structure was simplified. We should expand this abstraction to all supported platforms (maybe with the exception of bare metal since it doesn't automate DNS record creation).
I think that now we should be able support arbitrary DNS+platform combinations with a relatively small effort. For example, we should be able to support the following:

AWS clusters with Cloudflare DNS.
Azure clusters with Route 53 DNS.
AWS clusters with manual DNS.
Packet clusters with Azure DNS.

There may be exceptions to the above. For example, some Iaas platforms may require using "their" DNS solution for whatever reason. Such exceptions should be clearly noted in the docs. Otherwise, I think we should complete the work for making DNS and compute platform completely independent as it would greatly increase Lokomotive's flexibility.

Note: it would be good to not duplicate Terraform template code while doing that. Perhaps we can render DNS module instance into separate file?


Link Icon to Mapview

Create function that links the icons in the Class Schedule and Finals Card so that it takes the user to the map view and adds a pin to the location of their class/final.

Removed from epic to focus time and effort on more critical issues. Might be added later as a feature.


Add consensus simulations

For testing only, no production code changes

@vinniefalco Did you forget to add reviewers to this?

Yeah... was hoping for volunteers.
Reviewers: @HowardHinnant @seelabs
Keep in mind this is not production code so the bar is lower.

I finished going over the code.  I might also take another look at the Sim files now that I have a better understanding of the code.

Cherry pick this and I'm ready to give a thumbs up: https://github.com/seelabs/rippled/commit/83d43f2869202c35cb26ec2b4226b24504020c4b

:+1:

:+1:

Incorporated as aa0e17dd93aa31d5497abb3617fb4b8140e046f3.

Changes Unknown when pulling d32a62743272eabc1d0540a0a0b18fe709332131 on vinniefalco:sim into ** on ripple:develop**.


START button

Sorry guys to bring this up again..but our most important button across the website is often invisible on our mainpage and difficult to spot on other pages too..
We need to find a better solution- @davehakkens ?
Full green/ white text with darker green on hover?
Or just inverted from current?

A lighter green, if you ask me!

honestly i’m quite ok with it. Quite visible on other pages.
However open for other suggestions, let me know what you think is the best
Op donderdag 24 maart 2016, om 20:18 heeft Mattia het volgende geschreven:

Sorry guys to bring this up again..but our most important button across the website is often invisible on our mainpage and difficult to spot on other pages too.. We need to find a better solution- @davehakkens (https://github.com/davehakkens) ?
Full green/ white text with darker green on hover?
Or just inverted from current?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub (https://github.com/hakkens/precious-plastic/issues/52)

Using the text color or something similar might also be a great idea (so that it's only green on the "Start" pages):

Like this option..ATM we have 3 different colors for that button..
I would keep it consistent in CAMPAIGN, PLAN, MACHINE, CREATIONS, NEWS and change it for START

@mattia-io Yep, exactly like that! Are you okay with that, @davehakkens? Or do you have a different idea?

Not sure if I fully understand it... But if you guys are up for it i'm in as well!


Configuration of bundle id in Info.plist not working

When using variables in Info.plist, the bundle id doesn't get updated. However, the display name updates as expected. Do you know why?
.env
DISPLAY_NAME=MyApp
BUNDLE_ID=com.mycompany.myapp

Info.plist:
<key>CFBundleDisplayName</key>
<string>__RN_CONFIG_DISPLAY_NAME</string>
<key>CFBundleIdentifier</key>
<string>__RN_CONFIG_BUNDLE_ID</string>

having the same issue, app name showing as __RN_CONFIG_DISPLAY_NAME

Having the same issue here...
I used react-native-config for its Info.plist support, I followed instructions, but it doesn't seem to work either.... When I look into my build folder, I do see a 'GeneratedDotEnv.m' file, but it's an empty #define DOT_ENV {}, and GeneratedInfoPlistDotEnv.h is empty :-/

Did anyone find a workaround?

It seems that configuring CFBundleIdentifier is pretty difficult and react-native-config doesn't support it out of the box unfortunately.
It seems possible to approximate it with xconfig files and bash scripts, but I don't think there's an elegant solution.
If anyone has any suggestions I'd be very appreciative.

My solution was with a combination of Fastlane actions: mainly update_app_identifier, update_project_provisioning and match.
Also added fastlane_require 'dotenv' at the start of the Fastlane file, so I could load the dov env vars with Dotenv.load("../../.env.development").

Any updates on this issue? It still doesn’t work for me even after cleaning Xcode’s build folder.

By the way, in Info.plist it should be used as $(__RN_CONFIG_DISPLAY_NAME) to set variable. Anyway, it is still not working. I think the values are not exported in build process like
export PRODUCT_BUNDLE_IDENTIFIER=com.app.ios
export PRODUCT_MODULE_NAME=App

Did anyone resolve this problem?

@luongs3 I just test __RN_CONFIG_BUNDLE_ID and it works. In the Info.plist:
<key>CFBundleIdentifier</key>
<string>__RN_CONFIG_BUNDLE_ID</string>

and in the .env:
BUNDLE_ID=com.valamismobile.alpha

I followed instruction

@MelonDeng But I still have a problems with Automatically Signing in Xcode. It creates a new provisioning profile and etc. for BundleID "__RN_CONFIG_BUNDLE_ID". So, I need to manually fix it in GUI. So sad.

react-native-config has worked wonders for us until we tried storing our app's BUNDLE_ID and DISPLAY_NAME in env files using the library as mentioned above. Both are still showing up as __RN_CONFIG_BUNDLE_ID and __RN_CONFIG_DISPLAY_NAME despite successfully linking the library, generating the ENV file (which is successfully found during preprocess), and replacing appropriate variables in our Info.plist. We tried @sercanov 's recommendation which also didn't help. Following the directions verbatim from a clean create-react-native-app does not work -- running xcode 9.2 and react native 0.48.4. Is Info.plist preprocessing no longer supported by this library?

Faced with the same issue. Found a solution. Try to set appropriate value for "Product Bundle Identifier" in the project's Build Settings. For example, the one that you used before setting up react-native-config. Auto provision and build should work now. Updating Info.plist by react-native-config should work too. Seems to be an Xcode issue.

@danilValeev this works for me unitl I trie to upload an app to the store. Every visible field states the correct app identifier. dev builds also work as expected.
Though the automatically signing says there is an error with my entitlements. Once I change the bundle identifier manually, everything works like a charm. Did you try the app-store-upload?

I got it working adding targets for each bundle identifier (targets will be connected with the already created schemes).
I followed this readme (iOS):
https://gist.github.com/jacks205/45b2721bf2a2b912b1c130aef2572820

@ma-pe I haven't tried the app store upload yet. Yes, you can create different targets with different plists - this is default iOS pattern.

I'm also having problems setting the bundle ID with react-native-config. When I try to archive the app with a wildcard provisioning profile (*) it works just fine and the bundle id is set according to my environment file. But when I use a provisioning profile with a specific bundle id, Xcode complains with:
Code Signing Error: Provisioning profile "X" has app ID "XX", which does not match the bundle ID "XXX__RN_CONFIG_BUNDLE_ID_SUFFIX".
It is as if Xcode checks for matching bundle ids before using the environment value. Has anyone had any luck with setting the bundle ID with react-native-config for a provisioning profile with a specific bundle ID?

@jenskuhrjorgensen Seems that you haven't finished setup of the Xcode project. Please, check this: https://github.com/luggit/react-native-config#extra-step-for-ios-to-support-infoplist

Thank you for your answer @danilValeev
However, I'm pretty sure I've done that setup correctly. As I wrote, I'm able to change the bundle id, app name and so on in the Info.plist file, but only for wildcard provisioning profiles.

@danilValeev If you refer to this answer, I'm not sure what it means. If you mean that I could just write the bundle id in "Product Bundle Identifier", I no longer use react-native-config for holding my environment configurations which then defeats a lot of the purpose for using react-native-config in the first place.

@jenskuhrjorgensen I was having the same problem, It looks like code signing with Xcode uses the value from the original Info.plist to "Check dependencies" before signing, and it uses it without the pre-processing step. I solved it using fastlane as @grifotv mentioned. However, if you want to archive from Xcode you'll have to manually write your PRODUCT_BUNDLE_IDENTIFIER before archiving.

@elyalvarado Thanks for your reply. The solution I ended up with was to use user-defined values in "Build settings".
I created a "BUNDLE_ID_SUFFIX" for each configuration e.g. with the value ".dev" for the dev configuration.
Then I use the "BUNDLE_ID_SUFFIX" value in "Product Bundle Identifier" (same for all configuration): "com.XXX.core$(BUNDLE_ID_SUFFIX)".
And finally I use the "Product Bundle Identifier" in the Info.plist file:
<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>


get a warning when use snapshot in a function component

This code gives a warning Better to just use proxy state.eslint(valtio/state-snapshot-rule)
const MyComponent = () => {
  const snap = useSnapshot(state);
  return <div>{snap.count}</div>;
};

It happens only when declare a component using an arrow function.
No warning when declare using function keyword.
I guess it's because the function component is detected as a callback.

Thanks for reporting...
@barelyhuman Seems like we forgot this in tests??

I’ll add one, will fix it if it’s being conflicted with one of the previous changes

so, it's a conflict between the original implementation and the dependency check we added, will get this fixed ASAP, might take me a day or so, I don't have access to my laptop right now.
@dai-shi

Published: https://www.npmjs.com/package/eslint-plugin-valtio/v/0.4.4


Not working

I'm on a1111 v1.7.0
Attempted to use face mask on img2img but nothing change on face. I enabled the override mask settings, It create the mask but do not modify the image.  No error on console.
Also seem not working with dynamic prompts, the console return an error message about incorrect params when I use a dynamic prompt.

For info, it worked (with variable results) in previous versions

I'm interested by this precise detailer because the other aDetailer extension use a large rectangle and modify others parts than the face incorrectly


Owner Login

Expected behavior:
I added a few location owners and assigned those to a location. When I log in the owner should see orders and the menu on the left side menu to edit, delete items, right?
Actual behavior:
When I log in with an owner account, my left side menu is completely empty - only the dashboard appears.
Reproduce steps:
I guess 3.0.0 - where excactly can I find this information?
Version:
3.0.0
Additional Information:
NONE

After creating the users, you need to set their permissions giving them access to specific parts of the system. Go to Users > Staff > Staff Groups.
Next time please post your questions on the forums, use issues to report bugs.

Thank you so much for the fast response. Works perfect - I did not recognize the tab. Sorry 'bout that.


[Bug]: Clouflare Tunnel ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Description
If i use the Coudflare Proxy and use a Coolify Server i get ERR_SSL_VERSION_OR_CIPHER_MISMATCH.
Minimal Reproduction (if possible, example repository)
Setup a HTTPS Server in Coolify for example with Node and set the IP in Cloudflare with Proxy enabled.
Exception or Error
No response
Version
v4.0.0-beta.288

Maybe this helps:

https://billyle.dev/posts/self-hosting-your-website-with-coolify-v4-a-step-by-step-guide


HF Upload file doesn't work over 10MB

Describe the bug
I can't push a file to hub that's over 10MB, even though I am using the HF API and it should auto-add it.  I thought this was updated but for some reason is happening to my repo.
File can't be posted here, but can download here: https://drive.google.com/file/d/1hRIZZHc1pHklobM-wSbH7UPrBJg5pPwy/view?usp=sharing
I have about 2000 of these...
Reproduction
api.upload_file(
                    path_or_fileobj=PATH_TO_FILE,
                    path_in_repo="train/starcoder/starcoder_0040-tokenized-chunked-1024-512-128-backfill-nodups/shard.00056.mds",
                    repo_id="orionweller/generic_data_v2",
                    commit_message=f"Upload missing file: {file}",
                    repo_type="dataset"
                )

Logs
Bad request for commit endpoint:
Your push was rejected because it contains files larger than 10 MiB. Please use https://git-lfs.github.com/ to store large files. See also: https://hf.co/docs/hub/repositories-getting-started#terminal Offending files: - .git
attributes (ref: refs/heads/main)

System info
- huggingface_hub version: 0.26.2
- Platform: Linux-4.18.0-477.27.1.el8_8.x86_64-x86_64-with-glibc2.28
- Python version: 3.11.9
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Running in Google Colab Enterprise ?: No
- Token path ?: /home/oweller2/my_scratch/cache/token
- Has saved token ?: True
- Who am I ?: orionweller
- Configured git credential helpers: store
- FastAI: N/A
- Tensorflow: N/A
- Torch: 2.4.0
- Jinja2: 3.1.4
- Graphviz: N/A
- keras: N/A
- Pydot: N/A
- Pillow: 10.3.0
- hf_transfer: N/A
- gradio: N/A
- tensorboard: N/A
- numpy: 1.26.4
- pydantic: N/A
- aiohttp: 3.10.5
- ENDPOINT: https://huggingface.co
- HF_HUB_CACHE: /home/oweller2/my_scratch/cache/hub
- HF_ASSETS_CACHE: /home/oweller2/my_scratch/cache/assets
- HF_TOKEN_PATH: /home/oweller2/my_scratch/cache/token
- HF_STORED_TOKENS_PATH: /home/oweller2/my_scratch/cache/stored_tokens
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_TELEMETRY: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_EXPERIMENTAL_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False
- HF_HUB_ETAG_TIMEOUT: 10
- HF_HUB_DOWNLOAD_TIMEOUT: 10

Hmm, I manually updated the .gitattributes to add those files (which pushed it over 10MB) but then I consolidated it by doing directories instead of individual paths and now it works.
This is no longer reproducible since I am finishing uploading but it seems like that would be the bug. Once the .gitattributes is close to 10MB, you can't use this API anymore since it will try to add to the .gitattributes which then can't fit because it's > 10mb.

Hi @orionw, sorry for the inconvenience. Usually binary files are already tracked by default as LFS so this error is very rare. Also, it seems that it happens only when a repo starts to have over 60k files that are in folders and subfolders with very long names (i.e. really not often :smile:).
Anyway, editing the .gitattributes file was indeed the way to go for this! The best solution is to track all .mds files as LFS instead of doing it folder per folder. I have opened a PR that should definitely solve your issue: https://huggingface.co/datasets/orionweller/generic_data_v2/discussions/55
# MDS files
*.mds filter=lfs diff=lfs merge=lfs -text

Given that the hard limit for a repo is 100k files, the 10MB limit on the gitattributes file has very very little chances to happen (and sorry it happened for you^^). Therefore, we will most probably not optimize the Hub for this use case.

Btw, I saw in https://huggingface.co/datasets/orionweller/generic_data_v2/discussions, that you use a lot the "multi_commit" flag to upload large folders. This was an experimental feature designed to test things in the past. Recently we've updated the workflow to provide a similar feature that is easier to work with. I'd recommend to use the new hf_api.upload_large_folder method or the huggingface-cli upload-large-folder command line. More details here: https://huggingface.co/docs/huggingface_hub/guides/upload#upload-a-large-folder (you'll need to update your huggingface_hub version as well)

I'm closing this issue now but feel free to let me know if you have any further questions :hugs:

Thanks @Wauplin! I had tried the large folder upload but it failed with this error, so I started doing more granular operations to figure it out. It’s a great new feature!
Do you think it would be possible to add this line to the default HF gitattributes file? I know there is increasing usage of MDS files these days and an issue to even add MDS as a file type used by the data viewer.

To be honest, I'm not so familiar with MDS format. What is it used for in the ML community?

Sorry here’s the issue link: https://github.com/huggingface/datasets/issues/6736. Should I raise the issue of a default gitattributes line in the datasets repo or is it a hub issue?
It’s MosiacML’s (now part of Databricks) format for data loading, has a bunch of useful features for pre-training.  Quite a few models are trained with it these days, at least in open source.

we could do some light joint comms with Databricks that MDS is auto-tracked by default on the HF Hub!


🐞 Closing all editors should open welcome screen

Describe the bug
When I open a project, I work on it then I close the job.
It would be nice if the welcome window opened again, as webstorm does, which returns to the home screen after closing a project.
To Reproduce
Steps to reproduce the behavior:

project opening
you work on it
close the project
the welcome window opens

Screenshots

Desktop (please complete the following information):

OS: macOS 12.3
Xcode: 13.3

@austincondiff : What is the event that allows you to intercept the closure of the program?

@Angelk90 What do you mean?

@austincondiff : In the code I was trying to find if an event is implemented that allows to understand that when working on a project is user closes the project, if any event is called.

When closing an editor window, just check if there are any other windows open. If there aren't, open the welcome window. If it is already open, focus it.

@austincondiff : This thing isn't implemented yet, right?

Closing as it seems to have been resolved in #274

@austincondiff it doesn't seem to be resolved, at least locally doesn't work for me


add : template for polynomial regression algorithm

Add a file saved as pykitzoid/algorithms/polynomial regression/ polynomial_regression.go that has the template for writing a polynomial regression algorithm. Refer to PR #10 for an example of how the template should look like . Refer here and here for an idea on how the algorithm should like

I would like to work on this issue, kindly assign this to me!

Awesome!!, Thank you for showing interest @Hariprasad19036 ,


@conda-forge-admin, please add user @cnweaver

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @cnweaver in conda-forge/adc-streaming-feedstock#4.


Define instance variables to avoid warnings

We've noticed warnings when calling

open? like on https://github.com/zendesk/ruby-kafka/blob/v0.7.10/lib/kafka/connection.rb#L98
idle? like on https://github.com/zendesk/ruby-kafka/blob/v0.7.10/lib/kafka/connection.rb#L94

To fix this, we're defining them in the initializer.
Those interrogator methods already check if those instance variables are non-nil so defining them will be safe.

@dasch in case you missed this 😸

Thanks!


Fix TextField not having is-invalid class

When errorMessage was set, is-invalid should be added to the container
div. This commit fixes this, and also adds several tests to make sure it
does not interfere with existing options.
fixes #29

@developit Okay, done!

Released as 2.2.0! Thanks :)


dd source file shows compiled view file instead of original one.

Laravel Version: 9.32.0
PHP Version: 8.1.8
Database Driver & Version: N/A

Description:
When using dd in a view file. the source file line of it is displayed of a compiled view file instead of the original one:

Steps To Reproduce:

Make sure you are on Laravel 9.32.0 version.
Add dd in a view file like:
@php  dd('hello from view');  @endphp
See the output

@ping @nunomaduro

https://github.com/laravel/framework/pull/44347


Deprecate or remove receipt from docs/sdk

Receipt should be removed from transaction event (it's available on protocol, but only because it's backfilled for compatibility)
If an agent wants the receipt, they can get it via web3 lookup (eth_getTransactionReceipt) - and should consider filtering by something else first (e.g., topic / address) so that they don't hit a rate limit

this is on my radar, planning to have it done by end of week

implemented in https://github.com/forta-protocol/forta-agent-sdk/commit/8253df9708ef2d8a220ca72cbe3490458f8021c8
published in v0.1


Changed the build type to ament_python and fixed package to run with ros2 run

Fixed package to run with ros2 run rqt_py_console rqt_py_console. Related to this issue https://github.com/ros-visualization/rqt_console/issues/20
Signed-off-by: ahcorde<EMAIL_ADDRESS>

I verified it can be ros2 run on Windows.
Running CI up to rqt_msg, rqt_srv, rqt_service_caller, rqt_top, rqt_shell, rqt_py_console, rqt_publisher, rqt_plot:

Linux
Linux-aarch64
macOS
Windows


draw handedness label for multihand

I want to modify the graph of multihandtracking to draw handedness label(Left or Right) in screen, like the singlehandtracking do.
I have do following modification:
1. /mediapipe/calculator/core/begin_loop_calculator.cc (register BeginLoopClassificationListCalculator)
#include "mediapipe/framework/formats/classification.pb.h"   typedef BeginLoopCalculator<std::vector<::mediapipe::ClassificationList>>   	BeginLoopClassificationListCalculator;   REGISTER_CALCULATOR(BeginLoopClassificationListCalculator);
2. /mediapipe/calculator/core/BUILD  (add some denpendence)
cc_library(     name = "begin_loop_calculator",     srcs = ["begin_loop_calculator.cc"],     hdrs = ["begin_loop_calculator.h"],     visibility = ["//visibility:public"],     deps = [         "//mediapipe/framework:calculator_context",         "//mediapipe/framework:calculator_contract",         "//mediapipe/framework:calculator_framework",         "//mediapipe/framework:collection_item_id",         "//mediapipe/framework:packet",         "//mediapipe/framework/formats:detection_cc_proto",         "//mediapipe/framework/formats:landmark_cc_proto",         "//mediapipe/framework/formats:matrix",         "//mediapipe/framework/formats:rect_cc_proto",         "//mediapipe/framework/port:integral_types",         "//mediapipe/framework/port:ret_check",         "//mediapipe/framework/port:status",         **"//mediapipe/framework/formats:classification_cc_proto",**         "@com_google_absl//absl/memory",     ],     alwayslink = 1, )
3. mediapipe/graphs/hand_tracking/subgraphs/multi_hand_landmark.pbtxt
output_stream: "ITERABLE:multi_handedness" ... node {   calculator: "EndLoopClassificationListCalculator"   input_stream: "ITEM:single_handedness"   input_stream: "BATCH_END:single_hand_rect_timestamp"   output_stream: "ITERABLE:multi_handedness" }
4. mediapipe/graphs/hand_tracking/multi_hand_tracking_mobile.pbtxt
node {   calculator: "MultiHandRendererSubgraph"   input_stream: "IMAGE:throttled_input_video"   input_stream: "DETECTIONS:multi_palm_detections"   input_stream: "LANDMARKS:multi_hand_landmarks"   input_stream: "NORM_RECTS:0:multi_palm_rects"   input_stream: "NORM_RECTS:1:multi_hand_rects"   input_stream: "ITERABLE:multi_handedness"   output_stream: "IMAGE:output_video" }
5. mediapipe/graphs/hand_tracking/subgraphs/multi_hand_renderer_gpu.pbtxt(iterate ClassificationList to get single_handedness for LabelsToRenderDataCalculator)
node {   calculator: "BeginLoopClassificationListCalculator"   input_stream: "ITERABLE:multi_handedness"   output_stream: "ITEM:single_handedness"   output_stream: "BATCH_END:landmark_timestamp" }
I have rebuild multihandtracking apk after each modification to confirm is it right.
Both 1-4 is ok. but after 5, the app crashed in my phone.
I have been stuck by this issue, Hoping for help. Thanks

resolved. It caused by the name of BATCH_END:landmark_timestamp. This name has already be used by another node. I set another name for this. It worked fine now.

resolved. It caused by the name of BATCH_END:landmark_timestamp. This name has already be used by another node. I set another name for this. It worked fine now.

I followed your process and got the following error：
E/native: E0107 17:17:40.178897  9019 graph.cc:407] ; Input Stream "multihandlandmarksubgraph__single_handedness" for node with sorted index 19 does not have a corresponding output stream.
How to fix it？


Fixes camera flickering with Gear controller

This patch was submitted by SteveGreatApe as a fix for issue #1686
GearVRF DCO signed off by: Nola Donato<EMAIL_ADDRESS>

Please remove the ResonanceAudio extension from this pull request

I have rebased this with master and tested it with the controller apps. I no longer see any crashes.

Added changes from @SteveGreatApe and rebased against master to get the API changes. Ready to go now.

It would be nice if the pull request was reduced to the commit with the actual changes. There is too much unrelated stuff that was already merged. Makes it hard to see what is going on. I end up merge-squashing this onto my upstream master and diff-ing there..

replaced by #1759


Add checkstyle and editorconfig to ensure consistent formatting conventions

In some cases different indentations, linbreakes and formatting styles makes comparing PRs and commits difficult.
This can be contained by using checkstyle and .editorconfig.

Closed with #52


reduce grcp connections

Description of your changes

Fixes #
I have:

[ ] Read and followed Crossplane's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

PR submitted by mistake; was meant to be submitted to forked repo for test


Cannot use CLI to crawl data

I had configure my environment for the project. Command:"gogetcrawl -h" be can executed successfully. However, when I enter "docker run uranusq/gogetcrawl url .tutorialspoint.com/ --ext pdf --limit 5" or even "gogetcrawl url .tutorialspoint.com/ --limit 10 --sources wb -o ./urls.txt", as the tutorial, a error emerged, and the error was "zsh: no matches found: .tutorialspoint.com/"
By the way, I can run "docker-compose up" successfully. But if I configure the docker-compose.yaml file:crawler:service:command from "file .cia.gov/ --ext jpeg --dir /app -c -v -s wb" to "file .cia.gov/ --ext jpeg --dir /app -c -v -s cc", the crawler couldn't get any data. I merely changed the parameter of the web archive sources from wb to cc.  I don't know whether my command is correct that cause this problem. thx
note: the asterisks in the commands above has vanished after I posted.

Hi! Thanks for reporting the issue.

I've tried to reproduce it. Seems like it's only related to zsh somehow, since it works fine elsewhere (e.g. bash, windows cmd…).
I've also tried running file .cia.gov/ --ext jpeg --dir /app -c -v -s cc. Seems like there is no data for this query in the Common Crawl archives :)

ZSH errors when a wildcard character doesn't match anything locally, so you need to quote any * and ? chars


Module crashes webpack build due to use of new URL('./', import.meta.url)

System Info
transformer.js#3
Environment/Platform

[ ] Website/web-app
[X] Browser extension
[ ] Server-side (e.g., Node.js, Deno, Bun)
[ ] Desktop app (e.g., Electron)
[ ] Other (e.g., VSCode extension)

Description
The dist folder of transformer.js in node_modules contains the "new URL('./', import.meta.url)", which cause a build crash for webpack:
https://github.com/webpack/webpack/issues/16878
Reproduction
extension.zip

facing thsi issue on expo react native
"expo": "~51.0.28",
"react": "18.2.0",
"react-native": "0.74.5",
"@xenova/transformers": "^2.17.2",
SyntaxError: 192689:107:'import.meta' is currently unsupported, js engine: hermes [Component Stack]

facing this issue on next v14
"@huggingface/transformers": "^3.0.0",
"next": "14.2.5",
"react": "^18",
"react-dom": "^18",

 ⨯ ./node_modules/@huggingface/transformers/dist/transformers.js:32776:1
Module not found: Can't resolve './'

Hi there 👋 Thanks for reporting - we're working on fixing this :)
In the meantime, there is a workaround as shown here
(update the webpack config):
webpack(config, { isServer }) {
	config.resolve.alias['@huggingface/transformers'] = path.resolve(__dirname, 'node_modules/@huggingface/transformers');
        ....
	return config;
	}

I might have found a better solution (tested in Next.js v15):
const nextConfig = {
  output: "standalone",
  // https://nextjs.org/docs/app/api-reference/next-config-js/serverExternalPackages
  serverExternalPackages: ["@huggingface/transformers"],
};

Let me know if that fixes it!

Demo: https://huggingface.co/spaces/webml-community/next-server-template
Source code: https://github.com/huggingface/transformers.js-examples/tree/main/next-server

Hi there 👋 Thanks for reporting - we're working on fixing this :)
In the meantime, there is a workaround as shown here (update the webpack config):
webpack(config, { isServer }) {
	config.resolve.alias['@huggingface/transformers'] = path.resolve(__dirname, 'node_modules/@huggingface/transformers');
        ....
	return config;
	}

Hi, this config not work for web extension. Although the compilation error is resolved, the browser plugin cannot access the local path when running.

Now, my temporary solution is to copy dist/transformers.js from node_modules into my project and import it directly.

I just wanted to say thanks for the suggested fixes.  I'm working with a web worker and the updates to the next.conf.js file don't seem to work for this.
What I'll do is try to convert this to a route and see but I wanted to mention this scenario isn't fixed with the above solutions.

The current build of Transformers may work but depending on your Webpack set-up, you have to click through one or two warning overlays telling you that “Accessing import.meta directly is unsupported”. This is definitely questionable for newcomers to the project assuming this is a hard error. Keep in mind that renderer-side errors for Webpack are full-screen blocking overlays, not just something flying by in your terminal.

Solved by referring to the configuration below:
/** @type {import('next').NextConfig} */
import path from "path";
import {fileURLToPath} from 'url';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const nextConfig = {
    output: 'export',

    webpack: (config) => {
        config.resolve.alias['@huggingface/transformers'] = path.resolve(__dirname, 'node_modules/@huggingface/transformers');
        config.resolve.alias = {
            ...config.resolve.alias,
            "sharp$": false,
            "onnxruntime-node$": false,
        }
        return config;
    },
};

export default nextConfig;