Why is normalization of condition images and target images different?

When creating my own dataset based off of the dataset tutorial, I noticed that the source images and target images are normalized between different values
    # Normalize source images to [0, 1].
    source = source.astype(np.float32) / 255.0

    # Normalize target images to [-1, 1].
    target = (target.astype(np.float32) / 127.5) - 1.0

I couldn't find any information on why these are normalized differently in the paper or on github. Is this difference important?

Oh, does this have to do with ReLU not being able to output negative values?

https://github.com/lllyasviel/ControlNet/commit/330064db78c54b6a9710e883f1c885ffadc3f7c7
looks like it was purposefully changed to be this way recently

The new conditioning information (hint; edge maps; normal maps; etc) are encoded using a convnet Epsilon that is trained during training. There are 4 conv layers in this convnet and each layer reduces the spatial dimention of the feature map in half. This is done delibrerately so that the feature map is 1/16 of the image size. Since this is a separate network, it doesn't really matter if inputs are normalized to [0, 1] or [-1, +1], or [0, 255.0], it should still work.

But then why the author modify the code separately if both range works?

The new conditioning information (hint; edge maps; normal maps; etc) are encoded using a convnet Epsilon that is trained during training. Since this is a separate network, it doesn't really matter if inputs are normalized to [0, 1] or [-1, +1], or [0, 255.0], it should still work.
Noticed that this network, code here: https://github.com/lllyasviel/ControlNet/blob/main/cldm/cldm.py#L146-L162
has 3 2d-conv layers with stride=2. Each of these conv layers reduce the spatial dimension of the input feature map in half. The combined effect of the entire model is to reduce the input feature map by a factor of 8 (=2 ** 3). This is consistent with the reduction factor of the VAE in SD (512 (image size) / 64 (latent feature map size) = 8).

@sALTaccount  @iLori-Jiang
I think it's related to the Stable Diffusion's output (note that ControlNet has the same architecture with SD).
The output of SD (through VAE) is standard Gaussian distribution N(0,1). So I think normalizing the target image to the [-1, 1] will make the training easier, as the prediction and target have similar range.
Ref: https://www.reddit.com/r/StableDiffusion/comments/15fbtj7/input_standardization_to_1_and_1_in_diffusion, https://datascience.stackexchange.com/questions/54296/should-input-images-be-normalized-to-1-to-1-or-0-to-1


Reconnect fails due to incomplete changes in commit 12856b6

Unable to run reconnect to replenish expiring oauth access tokens.
Call to Reconnect() function in PlatformService returns:

Call to undefined method QuickBooksOnline\API\Core\HttpClients\SyncRestHandler::GetResponse()

It appears that in commit 12856b6279c22550355eed9ef33fcad95f7a1b96 the function GetResponse() in  src/Core/HttpClients/SyncRestHandler.php was renamed to sendRequest(), though only around half of the respective calls to GetResponse() were updated to reflect this (DataService looks good, but PlatformService was missed, as well as a single reference missed in SyncRestHandler too, inside the CallRestService() function).
Regards,
Mark

@markwoods241
Fixed on v3.2.6


questions about PRETAINED MODEL

hello author, I found that your PRETRAINED MODEL link is not founded now, and I wonder if you could update it. Thanks

Hi @kankj , the Dropbox download traffic has max-ed out, and it seems temporarily blocked.
Could you check if you can download the model using [this link]?

It works fine, thank you very much


The ability to change the number of "Assassin in the mod Town Of Us

Is it possible to add the ability in CrowdedMod to put the number of "Assassins" more than 3 in the Town Of Us mod?
(This role in the game can guess the roles but when there are 5 traitors in the game, only 3 of them can guess the roles)

Or do you have to contact the developers of Town Of Us with this problem?

Hello! This mod is not meant to unlock player-related counts on every mod - it's just simply too hard to support
But you can ask ToU devs to support this mod on their side. If you or mod devs need additional support, they can join our Discord


Add Clubstep x Angry Harlem by DJ-Nate x Rovio X Baauer

Song Name
Clubstep x Angry Harlem
Artist Name
DJ-Nate x Rovio X Baauer
Source
Direct file download
Youtube Link
eLJsxzEipM8
Direct File Link
https://cdn.discordapp.com/attachments/750516562632507392/1256030303068360745/clubstep_mashup.mp3?ex=667f48e0&is=667df760&hm=a8761c2fa2ad627e40a1f33a82afe9161298c2bc8090608114b397990edc6e40&
Song ID
13
Start Offset [ms]
No response
Extra
No response

discord links are not supported. I suggest uploading it to YouTube or using the original song from YouTube


Make the system is compiled with tests in travis-ci

done
https://github.com/AlexeyOs/GoodCourses/commit/6b9e6343755ed56e3cfb7d333f83cc2f2605dbb3


Completed Feature: Parallel Image Deletion (Issue : #6)

PR Description

[x] Feature: Added removeImagesConcurrent() for concurrent Docker image deletion, enhancing cleanup speed.
[x] Refactor: Extracted reusable image removal function and added MeasureExecutionTime(f func()) to compare sequential vs. concurrent performance.

Execution Time Comparison

Sequential: 611 ms

Concurrent: 143 ms

Hi @mmuazam98 ,
I've completed the work on issue #6. Could you please review and merge this PR if everything looks good? I'll also update the README for the four issues I've completed, as we discussed.
Thanks!

Hi @mmuazam98 ,
Could you please review and merge this PR by the end of the day if possible?
The Hacktoberfest deadline is tonight, so I'd appreciate it if we could wrap this up in time. Thanks so much, and apologies for the short notice!


Allow undo tombstone, add region force recreation

Signed-off-by: v01dstar<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: Close #xxx
What's Changed:
Enrich tikv-ctl, so that we can undo a tombstone, or forcibly recreate a region.

Related changes

N/A

Check List
Tests

Unit test

Side effects
N/A
Release note
None

Since master branch has online recovery, I don't think these functions are still necessary.

Since master branch has online recovery, I don't think these functions are still necessary.

But we probably need to backport this change to older version. So it's still necessary?

We can backport this, but I don't think we need to land it on master. These commands are quite dangerous, if users mis-use these commands, it may lead to unexpected result.


snakemake slurm seem to limit number of threads

Snakemake version:8.18.2
Describe the bug
My rule requests 256 threads via threads: 256
I have a config.yaml:
executor: slurm
jobs: 10
default-resources: ['slurm_partition=***', 'slurm_account=***', 'runtime=60', 'mem=10000']
latency-wait: 10
keep-going: True

The job will always only use 48 threads (reported by snakemake itself in the logs:
[Thu Sep 19 15:39:01 2024]
rule fitCAT:
    input: fit_cat.py, data/RF00005/raxml.tree, data/RF00005/ind/tree=raxml/ereg=0.5/rreg=0.5/gaps=False/ind.npz, data/RF00005/all_pairs.npz, CAT.py
    output: data/RF00005/model_CAT/tree=raxml/gaps=False/ereg=0.5/rreg=0.5/catreg=0.5/steps=1000/lr=1e-2/pair.npz
    jobid: 7
    reason: Missing output files: data/RF00005/model_CAT/tree=raxml/gaps=False/ereg=0.5/rreg=0.5/catreg=0.5/steps=1000/lr=1e-2/pair.npz
    wildcards: dataset=RF00005, model=CAT, tree=raxml, ereg=0.5, rreg=0.5, catreg=0.5, steps=1000, lr=1e-2
    threads: 48
    resources: mem_mb=10000, mem_mib=9537, disk_mb=1000, disk_mib=954, tmpdir=<TBD>, slurm_partition=***, slurm_account=***, runtime=1000, mem=10000

and by slurm.
The frontend I execute snakemake on has 48 cores, I guess this is where the number is coming from.
If I go lower than 48 in the rule specification, it will request this number of threads.
passing --cores 256 helps, so this might be intended. But in this case it is really surprising because it does not require to give this argument in comparison to local execution

Are you sure it only uses 48 threads? I've observed the same (in my case 16 threads), but the SLURM job nevertheless runs with the correct amount of threads (I can see 128 threads via sacct).

In my case it is for sure running with 48 threads

Sure. in the newest version, snakemake will collect the count of cpu of were you are running on. you can try to add these two params: --max-threads=256 --cores 2560 (if you are intend to use at most 10 nodes).
Or you may downgrade snakemake, probably <8.13

if you are intend to use at most 10 nodes

Can you elaborate on this, what limitation is this?

I see you will submit your job to slurm, are you using a HPC with colleagues? It is just a self-limitation, for not submitting too much jobs at a time. Here it is just a example number. For more information, you can see #2997

https://github.com/snakemake/snakemake/issues/2997 is exactly the issue I am facing, sry that I did not find it. This can be closed.


Validations with EmberObject does not work?

Environment

Ember Version: 4.6.0
Ember CLI Version: 4.6.0
Ember CP Validations Version: 4.0.0

Steps to Reproduce
I am trying to test the addon on a simple case:
import EmberObject from '@ember/object';
import { validator, buildValidations } from 'ember-cp-validations';

export const Validations = buildValidations({
  name: validator('presence', true),
  secondName: validator('presence', true),
  password: validator('presence', true),
});

export default class FormValidation extends EmberObject.extend(Validations) {
  name = '';
  secondName = '';
  password = '';
}

when I am using v-get in template:
{{v-get this.formModel 'name' 'message'}}

I get error
Uncaught Error: [ember-cp-validations] `lookupValidator` requires owner/container access.

Thanks!

How are you initializing your FormValidation class?
You may need to inject the owner if you are manually creating creating an instance (documentation).
Something like:
import { getOwner } from '@ember/application';

...

FormValidation.create(
  getOwner(this).ownerInjection(),
  {
    ... // initial values
  }
)

@ollar believe this can be closed now? The feedback from @kiwi-josh is accurate I believe

Thanks guys, seems that solves my question


java-microprofile: add version-range

add version-range for pom files
Signed-off-by: Neeraj Laad<EMAIL_ADDRESS>Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[x] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

[x] Updated the stack version in stack.yaml

Added version range to java-microprofile stack

closing this .. will take a different approach to solve this.


stack tool cannot support large models with a .pth extension downloaded from Meta

The stack tool cannot support large models with a .pth extension downloaded from Meta. It throws an error during runtime. Does it have to use models downloaded from Hugging Face? Is this setup unreasonable? The runtime error is as follows:
(stack) root@720:~/.llama/checkpoints/Llama3.1-8B-Instruct# llama stack run my-local-stack
Resolved 8 providers in topological order
Api.models: routing_table
Api.inference: router
Api.shields: routing_table
Api.safety: router
Api.memory_banks: routing_table
Api.memory: router
Api.agents: meta-reference
Api.telemetry: meta-reference
Traceback (most recent call last):
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/llama_stack/distribution/server/server.py", line 351, in
fire.Fire(main)
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/fire/core.py", line 135, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/fire/core.py", line 468, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/fire/core.py", line 684, in CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/llama_stack/distribution/server/server.py", line 288, in main
impls, specs = asyncio.run(resolve_impls_with_routing(config))
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/llama_stack/distribution/resolver.py", line 104, in resolve_impls_with_routing
impl = await instantiate_provider(spec, deps, configs[api])
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/llama_stack/distribution/resolver.py", line 174, in instantiate_provider
impl = await instantiate_provider(
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/llama_stack/distribution/resolver.py", line 192, in instantiate_provider
impl = await fn(*args)
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/llama_stack/providers/impls/meta_reference/inference/init.py", line 18, in get_provider
impl
await impl.initialize()
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/llama_stack/providers/impls/meta_reference/inference/inference.py", line 38, in initialize
self.generator = LlamaModelParallelGenerator(self.config)
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/llama_stack/providers/impls/meta_reference/inference/model_parallel.py", line 72, in _init
_
self.formatter = ChatFormat(Tokenizer(tokenizer_path))
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/llama_models/llama3/api/tokenizer.py", line 77, in init
mergeable_ranks = load_tiktoken_bpe(model_path)
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/tiktoken/load.py", line 145, in load_tiktoken_bpe
return {
File "/home/miniconda3/envs/llamastack-my-local-stack/lib/python3.10/site-packages/tiktoken/load.py", line 147, in
for token, rank in (line.split() for line in contents.splitlines() if line)
ValueError: not enough values to unpack (expected 2, got 1)
Error occurred in script at line: 40

You should be able to use models downloaded from Meta with Llama Stack. Also, looks like you are trying one of the smaller models: Llama3.1-8B-Instruct (not 70B or 405B). Can you share details of your setup?

You should be able to use models downloaded from Meta with Llama Stack. Also, looks like you are trying one of the smaller models: Llama3.1-8B-Instruct (not 70B or 405B). Can you share details of your setup?

I got the same issue by docker image from llamastack/llamastack-local-gpu
https://github.com/meta-llama/llama-stack/issues/242


[Snyk] Upgrade @types/react-dom from 17.0.11 to 17.0.25

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade @types/react-dom from 17.0.11 to 17.0.25.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 14 versions ahead of your current version.

The recommended version was released on 6 months ago.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Needs rebase


Sort by name does not work

Hello
As shown on your capture, the sorting by name seems quite strange. I cannot really understand what the sorting order when trying to sort files list by name...

If you could help that would be great because i really enjoy this "minimal" tool.
Thanks.
Info
PHP Version 8.2.18

Hi!
I cannot reproduce the issue in PHP 8.2.20; can you elaborate more?
https://github.com/esyede/php-dirlister/assets/10582583/d5bfc2f3-abba-4816-a925-e9bb305dab3c

Well i do the same as you and my files are still displayed in wrong order.
Take a look at the screen capture you made : it seems like your files must be sorted by filenames (check the arrow) but they are not.
image
I send you a video as soon as possible.

Here is the video :
download_07-06-12_40_17-ezgif.com-video-cutter.webm

https://github.com/esyede/php-dirlister/assets/25632055/ccd5e92e-5348-4eda-a71d-a426d31554db

Well i do the same as you and my files are still displayed in wrong order. Take a look at the screen capture you made : it seems like your files should be sorted by filenames (check the arrow) but they are not. image
I send you a video as soon as possible.

Hmm, seems like it behaves differently on Windows. I tested that on Windows, btw. Let me upload it test it on a Linux machine, and check.

Hi!
Fix added on https://github.com/esyede/php-dirlister/commit/dee83e559a8bb6069c9a9ae2d33c161f6e05772c
Can you test it again?
Thanks!

Works great !


Add a new dataset (WildDESED)

Hi Dr. Toni,
As we talked about in the DCASE Workshop that day, I created one PR for adding our new dataset into the datalist here,
Thank you!
Austin

@toni-heittola

Dataset information can be found here > https://dcase-repo.github.io/dcase_datalist/datasets/sounds/wild_desed.html


Pr darrenfromsandbox

JIRA link (if applicable)
Change description
Postgres flexi server deployment for pre
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x] No

Need to white list some more resources


#136 - move calculate_fu to yaku_calculator

Description
Fixes #136
Changes proposed in this pull request: fixed calculate_fu() not implemented bug
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] I have run the tests and make sure they pass
[x] I have added tests that prove my fix is effective or that my feature works

Amazing!!!!!!!


doc.perl6.org doesn't find is-deeply

When searching for 'is-deeply' in the searchbox in the upper right corner displays 'Sorry, no results were found'.

Fixed in ddc42d336b


Embed GitHub URL

Change the URL to only an API path, since the start of the URL should always be the same anyway.
Rebase needed after #4

Just realize that this is not possible on the frontend... Derp...


Important Tools Bar Disapper from Google Chrom View

Preflight Checklist

[X ] I agree to follow the Code of Conduct that this project adheres to.
[ X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug
Tools Bar and Left Side bar are disappear from Goolge Chrome Website.
So I cannot

Go to another page on the file
Add new Shape
See the Picture

To Reproduce
Just Only Open the file. And those functions are gone.
Expected behavior
It suppose to show up like this

Screenshots
Done in previous section.
draw.io version (In the Help->About menu of the draw.io editor):

The problem is not on desktop version. It is on Web browser version. Can't even know which version it is.

Desktop (please complete the following information):

OS: Windows 10

Additional context

None

Any browser extensions?

Any browser extensions?

No extension at all. Just use browser alone.

While I'm using Microsoft Edge -> Everything seems to work normal.
Just only on Google Chrome

This is also happening to me.
Opening the diagram on Vivaldi Browser (Chromium-based) results in the same problem that @PTan2529 has.

However, the problem still happens with other google accounts.
The problem doesn't occur on the Firefox Browser, see the screenshot below.

I already tried to clean up cookies and cache but the problem persists.

Disabling Video Speed Controller Extension solved the issue for me!

Disabling Video Speed Controller Extension solved the issue for me!

@Franreno
That's a great guideline though.
I have tried closing the Extension. And finally found the main cause of it.
My ClickUP extension make the display error.

I think dev team should be noted about this. As I think it is a bug problem. Coz I have used this extension for around 2 years without problem. And somehow, this error show up not only for me.
Hope the dev notice about this, and fix it up.
Always support since Draw.io
Cheers

@PTan2529 I don't understand your answers. You said "No extension at all." and later that an extension causes this.

@PTan2529 I don't understand your answers. You said "No extension at all." and later that an extension causes this.

Sorry my bad. This extension (ClickUP) has been used for 2 years with diagram.net and has no problem. And it just cause the issue last 2 days. Thx

Our guess is that these extensions are changing CSS name somewhere. We made a change in 20.3.3 that should avoid this.

Our guess is that these extensions are changing CSS name somewhere. We made a change in 20.3.3 that should avoid this.

@davidjgraph the 20.3.3 is already go live? I still have same issue while using ClickUP Extension.

It is in production, yes. The version is in the help menu.


Add a simple btest

Add the necessary bits for adding btests, and add a simple btest using a PCAP that ships with Bro.
Note: The hashes haven't been verified to be correct. One of the hashes (JA3S 53611273a714cb4789c8222932efd5a7) does show up here:
https://github.com/aol/moloch/blob/0b827ed648b5f74ec13f6794ebae7c014f0757c6/tests/pcap/openssl-tls1_2-tls1.test

Looks good! Merged in.


Handle grant_invalid state

https://rafiki.dev/concepts/open-payments/grant-interaction/#endpoints

?result=grant_invalid (if grant is not in a state where it may be accepted or rejected, e.g. already approved)

Fixed with #721


Add event plugin system

Investigate a way to add plugins without requiring someone to fork fabric/edge. See if we can use hashicorp plugin system.

Closing until there's an ask for this.


Use python-atomicwrites for atomic file writes?

https://github.com/untitaker/python-atomicwrites
Armin thinks that it should be an optional dependency, just for Windows support (like colorama).

Decided to postpone this, Click's current thing supports Windows. The only advantage python-atomicwrites has is the better advanced API and the support for asserting that the target files don't exist.

Going to close this. atomicwrites is cool, but we're unlikely to add an external dependency, although a click-atomicwrites extension could add a type that used it instead.


CI: Few small improvements. Vetting, vet err fixes, Go 1.10.

This PR fixes two small format specifier string errors in asn1/format_test.go. To prevent these kinds of bugs from slipping in again in the future this PR updates the .travis.yml for CI to run go vet during the script phase of the build. Lastly, this PR adds Go version 1.10 to the .travis.yml.

FYI: It might be worth configuring the project's master branch to be protected based on a Travis CI check. It doesn't look like that's enabled presently and so my PR could be merged by a user with write access even if CI failed.

Fixed the initial build error with f98d1bc. YAML is always a hoot! - 1.10 was being read as 1.1 and using a version of go so old it didn't have the correct command line arguments.


Consolidate exact and approximate multiplexing logic.

This PR consolidates the new approximate multiplexing and state preparation logic introduced with the QML feature into the existing functionality provided by the standard library. As this is going into the QML feature branch (see #176), unit testing of the new approximate multiplexing logic has been temporarily deferred to the broader unit testing task in that draft PR.

Thanks for looking over! I didn't change anything about ReflectAboutInteger in this PR, so it probably just didn't show up in the changes for this PR. It's definitely still there, though. In any case, thank you again for the review!


iOS app crashes when receiving push notification while app is killed

Rules

To report a bug and help us to provide the solution as fast as possible, please follow the instructions below:
1 - Describe the bug
The app crashes after receiving the push notification while the app state is killed , the crash only occur if the app is downloaded from the apple store . The crash does not appear once the app run locally using flutter run --release .  Here is the log from crashlytics
Fatal Exception: NSInvalidArgumentException
Attempt to insert non-property list object { 5 = { actionType = Default; autoDismissible = 1; channelKey = "default_channel"; color =<PHONE_NUMBER>; createdDate = "2023-08-07 19:55:48 GMT"; createdLifeCycle = AppKilled; createdSource = Local; displayOnBackground = 1; displayOnForeground = 1; displayedDate = "2023-08-07 19:55:48 GMT"; displayedLifeCycle = AppKilled; hideLargeIconOnExpand = 0; id = 5; locked = 0; notificationLayout = Default; payload = { aps = "{content-available: 1.0}"; chatId = "415aSA0tuYb2UVki6XHTEwqh8FO2-kpfqjyHUvAdN4wUmw86d7z87FfF3"; createdDate = "2023-08-07 19:55:48.000Z"; createdLifeCycle = AppKilled; createdSource = Firebase; "gcm.message_id" =<PHONE_NUMBER>040709; "google.c.fid" = "eOM3l0xM00S1p-7gEz_yHQ"; "google.c.sender.id" =<PHONE_NUMBER>93; id = ""; photo = "https://firebasestorage.googleapis.com/v0/b/taaly-staging.appspot.com/o/tutor_profile%2F415aSA0tuYb2UVki6XHTEwqh8FO2?alt=media&token=a3b0035b-2ca6-4492-8f7b-4fd49529cc9c"; title = "Taaly Tutor"; type = chat; }; showWen = 1; ticker = ""; title = "you have a new message from Taaly Tutor"; }; } for key created
In Xcode the crash is pointing to this function in the createdManager
public static func saveCreated(received:NotificationReceived) {
shared.set(received.toMap(), referenceKey: String(received.id!))
}
Steps to reproduce the behavior:

Kill the app
Receive Push Notification '....'
App Crashes'....'

is this resolved somehow maybe, i guess @waleedqaefi has not been bitten by this for 1,5 months?


Clients are receiving data from objects not visible to them.

Hi!
I have a setup where I have clients and a headless server. Each client owns one object on the server and they are not destroyed on disconnect. Object ownerships are reclaimed by the clients on reconnection. In addition each client observes other players' objects only based on the distance from his own object. Player objects too far are invisible and unaware clients should not receive any traffic concerning them.
Describe the bug
If object is set invisible to a client A, but visible for client B, client A still receives message sync messages when server changes the object state via NetworkVariable:

[MLAPI] NETWORK_VARIABLE_DELTA message received for a non-existent object with networkObjectId: 2. This delta will be buffered and might be recovered.

When client A owned object turns invisible, it causes client B report an error:

Trying to destroy object 2 but it doesn't seem to exist anymore!

Finally if hidden object is destroyed, unaware clients report:

correction (when client a disconnects and transfers ownership to server, client b gets this report if object was not visible to it)

KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) [0x0001e] in <695d1cc93cca45069c528c15c9fdd749>:0    at MLAPI.Messaging.InternalMessageHandler.HandleChangeOwner (System.UInt64 clientId, System.IO.Stream stream) [0x00015] in <beeac23026c94eb3810572809f7f06dc>:0    at MLAPI.NetworkManager.HandleIncomingData (System.UInt64 clientId, MLAPI.Transports.NetworkChannel networkChannel, System.ArraySegment1[T] data, System.Single receiveTime, System.Boolean allowBuffer) [0x0020d] in :0
at MLAPI.NetworkManager.HandleRawTransportPoll (MLAPI.Transports.NetworkEvent networkEvent, System.UInt64 clientId, MLAPI.Transports.NetworkChannel networkChannel, System.ArraySegment`1[T] payload, System.Single receiveTime) [0x000cd] in :0
at MLAPI.NetworkManager.OnNetworkEarlyUpdate () [0x0007e] in :0
at MLAPI.NetworkManager.NetworkUpdate (MLAPI.NetworkUpdateStage updateStage) [0x00009] in :0
at MLAPI.NetworkUpdateLoop.RunNetworkUpdateStage (MLAPI.NetworkUpdateStage updateStage) [0x00021] in :0
at MLAPI.NetworkUpdateLoop+NetworkEarlyUpdate+<>c.b__0_0 () [0x00000] in :0

Expected outcome
I would expect that clients unaware of a given object do not receive any information sent by it.
Environment (please complete the following information):

OS: macOs 11.4
Unity Version: 2020.3.11f1
MLAPI Version: 0.1.0
MLAPI Commit: https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi.git?path=/com.unity.multiplayer.mlapi#release/0.1.0

Committing to within MTT-857 backlog item

Has this been fixed?
I was searching for the commit, but could not find it. I reported this issue some time ago in discord and also found the code location causing it:
[https://discord.com/channels/449263083769036810/563033158480691211/852605882718355456]


the style of pagination controls

I don't want to show all the pagination controls. In the middle, can replace to '...'. How can I do?

err... that's a bug.

@jpetitcolas any progress?


Add unit tests for handling of transient Etcd errors

This pull request add unit tests for testing the handling of transient Etcd errors. The unit tests have been added to the policy_reflector_test, which contains data store resync tests for the whole KSR.
New tests:

testResyncPolicyTransientDsError: is called from the main test function that initializes the Policy reflector. The test first initializes test data in the data store, and get a snapshot of Policy Reflector's stats. Then, Etcd is checked a couple of times (checkEtcdTransientError) to properly initialize etcdMonitor. Finally, a transient data store error is emulated by clearing the data store and etcd is check again (checkEtcdTransientError), which should cause a data store resync. The test then checks that the data store resync has been properly executed.

Modified tests:

testResyncPolicyDataStoreDownThenAdd: uses the etcd monitor instead of KSR event functions to generate data store up/down events. This way, this test also covers a couple of paths in etcdMonitor.processEtcdMonitorEvent

Minor cleanup:

in all tests, ***Writers have been renamed to ***Brokers
minor naming cleanups
typo fixes
The mockKeyProtoValBroker's GetValue function has been made to closer reflect the real GetValue function because it must mimick closely the real thing in the transient error detection tests. This change means that if a value for a given key is not found, the function now returns found=false and error=nil (not finding a value for a key is not an error condition). All tests using mockKeyProtoValBroker's had to be modified to work with the new logic.

Coverage increased (+0.8%) to 76.901% when pulling d0d54332d383bfd7163083d48dc3fe21929746ec on jmedved:master into 05330953f4e1be4aaa4b24f95f3286ac42692ed4 on contiv:master.


[FEATURE] - Capture - Source Cluster Data Capture and Offload on Small Traffic Loads

Objective
This serves as the high-level tracking issue for work to create/maintain cluster duplication tooling.
User Narrative
"As a user of Elasticsearch or OpenSearch, I want a mechanism to duplicate the data and configuration of an existing cluster onto new hardware.  I want the operational effort to be minimized.  I am sensitive to impact on my existing cluster, and cannot accept downtime on the existing cluster.  As changes are made to my existing cluster, I want the duplicate cluster to reflect that.  I am not sensitive to propogation delays between the existing and duplicate cluster.  I am sensitive to the cost in time and money to create the duplicate."
Some clarifications on the narrative:
The configuration duplicated by this tooling will be index-level and cluster-level settings configurable over the REST API, and hopefully plugin configuration in the long term
The tooling will aim to replicate any changes to the cluster that occur over the REST API, whether data writes or changes to things like index-level mappings.
Proposed Approach
The options for cluster duplication include: Cross-Cluster Replication, Reindexing, and Snapshot/Restore with T-Splitter (using either Logstash or Data Prepper).  Per conversation, @chelma and @kartg decided to focus on Snapshot/Restore with a T-Splitter.  Cross-Cluster Replication is performed at an index-level, requires a plugin, and doesn't copy cluster-level configuration.  Reindexing is expensive and doesn't copy index- or cluster-level config.
We're unclear on the relative merits of Logstash and Data Prepper, so our initial efforts will focus on developing prototypes of those paradigms to enable performance testing.
Tasks
Phase 0: Investigate Intersection of Duplication and Shadow Cluster Performance Eval
Phase 1: Prototyping, Selecting a T-Splitter, and Core Engineering:
Prototype HAProxy T-Splitting Locally
Phase 2: Productionizing HAProxy
(3 days) Design data offload -
(5 days) Implement data offload -
(3 days) Create test traffic tooling -
(5 days) Stress-Test T-Splitter -
(8 days) Tweak T-Splitter Setup for Scale -
(2 days) Set up build/publication of HAProxy images -

Duplicate Issue. Closing.


append tokens to tokens

implement #12 via impl AsRef<str> for Tokens

Btw. if you are worried that as_ref and as_str do the same - yes they do.
It's the same with String - so no big deal IMO:

https://doc.rust-lang.org/std/string/struct.String.html#method.as_ref
https://doc.rust-lang.org/std/string/struct.String.html#method.as_str

I published this in quote 0.3.15 after confirming that it does not break any of the 60 reverse dependencies in crates.io.


Resolve issue 1008

Description
This PR addresses issue #1008. Umple now supports enumerations. A user can define enumerations inside or outside of classes. Enumerations defined outside of classes are shared between classes. The enumerationDefinition rule is in umple_classes.grammar. A new UmpleEnumeration type has been created as well.
An "Enumerations" section is now in the Umple User Manual.
New Tests
UmpleParserTest

parseUmpleEnumerationDefinedInClass
parseUmpleEnumerationDefinedAtTopLevel
parseUmpleEnumerationDefinedAtTopLevelAndInClass

JavaClassTemplateTest

TestUmpleEnumerations_*

Cool. Thanks.
Please consider the following example:
enum Month {january, february, March}
enum Fruit {apple, orange}
class X1{
  Month month;
}
class X2{
   Fruit t;
}

When the code is generated, I see that both enumeration types are defined in both classes. However, this should not happen because class X1 just needs the enumeration Month and class X2 just needs the enumeration Fruit.
Another example is this

enum Month {january, february, March}
enum Fruit {apple, orange}
class X{}
class X2{}

The generator still puts the enumeration in these classes.

The solution

Simply check if the enumeration has been used for attribute types, parameters of methods, or parameters of events of state machines. If it's been used once, then put the definition of enumeration inside the class.

@vahdat-ab Thanks for the feedback! Updated my solution

Good, thanks.
You also need to make sure the names are unique. Please consider the following example:
enum Month {x,y,z}
enum Month {o,p,q}
class A{
  Month m;
  Month p;
}

The Umple compiler easily passes this. It must be detected and a proper error must be raised.
Another example
enum Month {x,y,z}
class A{
  enum Month {o,p,q}
  Month m;
  Month p;
}

In this case, there is no error because the local version has a priority over the model-level enumeration. You need to make sure you don't generate the definition for enum Month {x,y,z} in class A.
Make sure you also document the error.

@vahdat-ab I also added detection for duplicate enumerations within an Umple class

Great.
Just a note: when you resolve any kind of problem, you need to consider all possible cases:
Check this example:
enum X{x}
enum Y{y}
class X{
  X t;
}

Now, which type does attribute t have? Indeed, the name of model-level enumerations must be unique in the model. The internal enumerations do not need to have this restriction. They cannot have the same name as their classes have.
This example is valid:
class X{
  enum Y{y}
  Y t; // Y is not a class here
}
class Y{
}

This example is invalid:
class X{
  enum X{x}
  X t;
}

One more case that can cause conflict. Consider the following example:
class X{
  enum Y{y}
  0..1 -- *Y;
}
class Y{
}

Now, x has an association with class Y or enumeration Y!!!. It is enumeration Y1, but we cannot have a bidirectional association between a class and enumeration. Indeed, when you generate the code, you will not see a compilation error because the definition of enumeration has priority or the definition of class Y. Class X will have many enumerations of Y and class Y will have 0..1 of class X. This is wrong because we wanted to make an association between class X and class Y. You need to detect this case and raise a proper error.
However, this example is valid:
class X{
  enum Y{y}
  0..1 -> * Y;
}
class Y{
}

In this case, because the association is directional, there is no issue. The class will make an association between class X and enumeration Y. In this case, don't make an error and just warn the user about the ambiguity and the real output (which is no association between class X and class Y, but one between class X and enumeration Y). Make sure the generated code is correct for this cases.
NOTE: enumerations and interfaces somehow have the same restriction while they are used in associations.

Closed this PR because the solution still needs to be refined. All feedback received has been moved to #1008


[BUG] Abseil Container Includes Not Found

** Description **
Including some of the abseil containers fails to find the related headers, btree is the area I've personally been looking at, for instance these two headers are not available:
#include <absl/container/btree_map.h>
#include <absl/container/btree_set.h>
Inclusion of other abseil headers are present and correct, such as <absl/hash/hash.h>.
** Reproduction **
Reproduction via this code snippet:
`#include
#include
#include
#include <absl/container/btree_map.h>
#include <absl/container/btree_set.h>
int main()
{
absl::btree_setstd::string set = { {"huey"}, {"dewey"}, {"louie"}};
for(const auto& item : set)
{
	std::cout << item << "\r\n";
}

}`
** Expected **
The compilation should complete.
** Links **
https://godbolt.org/z/Q4s4Zp

This only happens on microsofts msvc compilers - as those are operated by microsoft and they are responsible for updating the libraries included.
The version of absl is from right before those headers landed publicly, so this is technically working as intended - its just an out of date absl version (the version shown in the dropdown is vcpkg 2019.07 and those headers landed in august).
If you use a compiler that is run by CE (anything except the native MSVC ones) you will get the latest absl and it works as expected: https://godbolt.org/z/VGatuA

Thank you for that very speedy, and useful, reply!
What a shame though I'm trying to explore (no pun intended) a problem with an MSVC specific pathway in the library :(

if the old versions of MSVC also have the bug you should be able to use the wine versions: https://godbolt.org/z/FxhDT_

Thanks all: gonna close this for now.


Allow the installer to allow for user installs

It's known that the installer requires windows administrator privilege's to install to program files folder which is perfectly fine for a system wide install. But allowing the installer to have an option for a user install where it installs to /appdata/local/programs for user installs only, similar to how the Clone Hero installer works.

I actually think enabling this would resolve this issue as with it enabled it would allow for user installs without needing to rewrite the installer.
https://github.com/FireFox2000000/Moonscraper-Chart-Editor/blob/master/Installer/Scripts/MSCE Windows.iss#L48


Not seeing ollama when accessing remotely

Bug Report
Description
Bug Summary:
When accessing web UI from an external URL the connection to ollama dosnt work.
Steps to Reproduce:
Running Windows 11 install Ollama
Clone and setup open webui
Forward 8080 to a internet reachable url
Setup ollama
Add models
Setup comfyui
Add connection to the main installation
On an Internet connected device that's not connected to the local network browse to the URL that forwards to the 8080
Login
Models won't be available
Expected Behavior:
AI models and a connection to ollama should be available
Actual Behavior:
Not sure it used to work
Environment
v0.2.5

Open WebUI Version: [e.g., 0.1.120]

Ollama (if applicable): [e.g., 0.1.30, 0.1.32-rc1]

Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]

Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]

Reproduction Details
Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.

Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
[Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

There is no docker logs and I don't know how to get the browser console logs

I have been having the same problem.


Click here if the latest search engine update broke your EhViewer

Found another version that works: https://github.com/xiaojieonly/Ehviewer_CN_SXJ
You can change the language setting at: top left corner > gear icon > android icon > the 7th option (App XXX)

Thanks for the alternative, but I'm gonna wait a while and see if the seemingly related commits Exzhawk made 2 days ago (after the issue appeared) make their way into a compiled release 1.7.11, since I've never successfully migrated smoothly from one fork to another, always losing my favorite searches.

@uNderdog101 I built this from source earlier today - the commits he made do not address the new search engine.

Then that's just really weird timing. No commits for over a year, then it breaks, and three commits come hours after it does so, but does not address the breaking.

Duplicate of #19

Solved with https://github.com/exzhawk/EhViewer/commit/441fdbb

@abvgdeyoj not fully. the page count can't be loaded yet.
So if you click on the bottom right plus on and then on the "go to" button you can only choose from the pages you already scrolled through(so start it will say-1 after some scrolling page 3 etc.) while there are way more.
So if a search result has 500 pages it will still only show -1 and you can't just fill in a page it doesn't know

@gammesB fixed in 5671c8a8341edf7a2b324ff7a20b3d55d283d1a5


Fix 404 links in docs/guide-ru/structure-widgets.md

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Fix 404 links in docs/guide-ru/structure-widgets.md for [виджеты jQuery UI] and [виджеты Twitter Bootstrap] to english docs.

Thanks!


Problem with subsequent Google Logins after Logout

For the very first time, when attempting to login using Google, user is prompted for selecting the google accounts.. After logout from the application, subsequent logins doesn't prompt for selecting the google accounts, and directly logins with the previous google account..
Kindly help me out in resolving this issue.

When you sign out of Azure AD B2C, you do not sign out of Google. So you will not need to enter the google credentials again.
You should still however see the identity provider selection screen after logging out. If not, then you may not be logging out correctly.

I am always seeing identity provider selection screen after logging out, my concern is
If I logged in using<EMAIL_ADDRESS>and logged my my app as Google, next time I want to logged in with different account as<EMAIL_ADDRESS>but it is not allowing to login with different account, it is always try to login with<EMAIL_ADDRESS>as silently when I clink login in with Google button. Kindly let me know your reply.

You will need to first go to a Google site and log out from there

MSFT should logout gmail users also or remove these features....if you are not able to support.


cant launch scenario runner

Hello,
OS: windows11
carla version: 0.9.15
python: 3.7 anaconda prompt
i am having a problem getting scenario runner working, i cant get it to open and it keeps giving me different errors as shown below, guided by this thread i tried setting PYTHONPATH as shown in the images. i feel like i have tried everything and nothing seems to be working, any help would be greatly appreciated.

Hi,
you can try installing numpy version 1.22
path/to/python -m pip install numpy==1.22

thank you for your input, the issue has been fixed.


Fix stylesheet paths. fix #204 #205

By removing the '/' at the beginning of styles URL in both post and default layout seem to solve the styles issues related to #204. In #205 is fixed but not in both layout files. I uploaded to my own GH-Page where you can see it working: https://taverasmisael.github.io/scala_school/
PD: I made these changes before realizing it was already a PR with these, but as seem on #204 the styles still not working.

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

Looks good again hope it gets excepted soon so the main page also gets its styling back

Thanks @vincentfree!

When can we have it released? It's still broken.

Maybe someone needs to run a deploy script or something. Don't think a build had been triggert


Handle multiple package names

It'd be convenient to be able to add more than one dependency at a time:
mix deps.add mix_test_watch calendar decimal

Fixed by https://github.com/bryanstearns/mix_deps_add/releases/tag/0.1.2


Update README.md

The Stylish extension is no longer available. I've added Stylus as an alternative.

Thanks. I hadn't heard about the Stylish ban. That's not good.


Add files via upload

I added a conditional statement to check whether someone is a student.  Please take a look

Hello Eddy,
Please read the contribution guidelines here.
TL;DR:

Student submissions for tasks are kept in the "Student Submissions" folder.
Create a folder for the week the tasks was given in. E.g. For task 1, create a folder called "week 1", if it does not exist.
Create a folder with your name and upload your java file.

Folder Structure would look this this:
Student Submissions/week 1/Eddy/{filename}.java

Thanks for clarification


favicon not showing up in production

see what the issue is between staging and production environments for the favicon. The production environment is still using the react app favicon.
the staging environment is on the staging branch and production is on the prod branch

jk this works fine


Add server signed response

@kjg @adamlwgriffiths I try to do a PR for #112, can you take a look ?
If the approch seems to be good I implement the unit tests.

Hi @kjg @mgomes have you some time to take a quick look of this ? I need this feature in production before the end of the month and I prefers to not manage a hard fork of this gem.


FreeBSD support possible?

Hi,
Would it be possible to have FreeBSD support added? Or what is needed to make that happen, I could try to add it myself, just need some instructions where/how to start with it?

What kind of support?
Mono?  or .NET Core?
Using a sqlite provided by the OS?  Or bundle an e_sqlite3 build for FreeBSD?

.NET Core (need e_sqlite3 build for FreeBSD)
sqlite3 is not in base for FreeBSD (but can be easily installed from pkg/ports).

What is the status of .NET Core on FreeBSD?  Not officially supported by Microsoft, I assume...
This is probably straightforward, but I wonder about my ability to keep it maintained and tested over time.

Well.. It's not officially supported (at least for now), but coreclr/corefx (native parts) are building under FreeBSD. Managed can be built under Windows - so the support is there, driven by community. .NET cli is not building at the moment (I was able to build 1.x version in past, at the moment trying to get 2.0.0 build to compile), but apps can be run using coreclr (there are some "hard" corners still, but WIP). Right now I'm trying to run some basic .net core asp.net app and got blocked by not having e_sqlite3 build for FreeBSD - that's why I'm asking - I can build/compile this myself (or help testing this on FreeBSD), just need some howto start with this :)

Just a little add - copying libsqlite3.so (tested version 3.20.0 from pkg repository) as e_sqlite3.so into runtime directory "made it work"

Another option that should work:
Instead of using one of my bundle packages (which currently does not include an e_sqlite3 build for FreeBSD), you could just use SQLitePCLRaw.core (the base library) and then also add SQLitePCLRaw.provider.sqlite3.netstandard11, and then add this line of code:
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlite3());

Which should cause the sqlite library from the FreeBSD package to be found.  I think.

Closing old/stale issue.


Problems with git repositories containing files starting with .

Gitea version (or commit ref): 1.0.1
Git version: 2.1.4
Operating system: Debian Jessie
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Log gist:

Description
I have a little problem trying to access files in a git repository starting with a . from the web frontend. For example, take https://try.gitea.io/ttk/dotfiles-test/src/master. On my installation, after trying to read .config, i get a HTTP 403 error. The URL gitea tries to access is https://git.simonszu.de/dotfiles/fish/src/master/.config which looks valid.
I am accessing gitea via an nginx reverse proxy wich has the same config as it had for accessing gogits, and i'm sure that this config worked on gogits. I made sure to migrate from gogits to gitea exactly as your howto describes, so i am quite sure it is not just a configuration issue. But for the records, this is the nginx config i am using for the reverse proxy. http://pastebin.com/jFpT35T0
Be assured, if i would have been sure that it is just a configuration issue, i would have asked on the gitter channel.
On a sidenote: On try.gitea.io, in the repository i linked above, the first entry is displayed as .config/fish. A click on this link jumps directly to the /.config/fish directory, since fish is the only member of .config.
On my installation, this exact entry is displayed as .config only. After clicking on it, it jumps into .config, displaying .fish as its only member, but i have to take a second click to get into the .fish directory.
Maybe these two issues are somehow correlated, i don't know.

Not to familiar with nginx,  but isn't line 66 in your config blocking access to dotfiles?

True, live 66 should block dot files. The directory behavior is a 1.1 feature that gets released soon

Yep, removing line 66 fixed it. Sorry for creating this issue and not asking on gitter.


light need to be rebuilt in night in 0.9.15

CARLA version: 0.9.15
Platform/OS:windows11
Problem you have experienced: when time change to night, not all the light is on. The UE4 editor appears"light need to be rebuilt",and light behavior is different from that in 0.9.14
0.9.14:

0.9.15:

Use this to fix:
https://www.youtube.com/watch?v=iPN2hWzfmP8&ab_channel=qubodupDev
This does not happen if you makes a package due to Lightning is built during the packaging process

when I follow the instruction in the video, it appears  And the problem still happens.


console.error instead of throw, when missing type in serializers in dev

The title says it all, I was curious if it would be a good idea to be able to either set an ENV variable or send a prop to the block renderer, so if NODE_ENV !== "production", only write missing serializer types errors to the console, instead of throwing. I am working in Next.js, and these errors cause the app to crash if BlockContent throws an error on server-side. We cannot add all the serializer types at once.

I'm also affected by this. My issue was that I was using the build in sanity reference type in a block. The block content for some reason didn't know how to handle this and would crash the entire application in the preview.
Strangely, the reference was a child of another block and it was the top-level block that was complaining when nothing had been added. I think it was something to do with the preview and fetching new data from sanity.
I "fixed" by adding a serialiser for the reference at the top level of the application. Seems to still be rendering the array references on the next level down so I'm happy.
Some sort of option to render as a fallback or some error handling built in would be a more desirable option to console.error, I think. The built in React error boundaries don't help in my case because the error was caused as a result of an async action.

It would be nice to have a prop to handle unhandled _types, e.g. unknownType where the default behavior is to do the exact thing it is currently doing right now: throw, but allow a react component to specified.
Right now I am working around this issue by assigning unknown schema types with a shared NullRenderer that only complains to console that it doesn't know how to render a given schema type.
This however is not automatic, and if a teammate is working on the same page as I am, and introduce a new schema that my branch has not defined yet, it will immediately start throwing exceptions until I assign their new schema type a null renderer, guaranteeing a merge conflict later.

I really like the idea by @xiata!

Looks like there is already an open issue similar to this #10

Closing this, as the new @portabletext/react library is the successor to this module.
Please see https://github.com/portabletext/react-portabletext


[mgmt] add sanitized for bot service test cases

fixes https://github.com/Azure/azure-sdk-for-js/issues/30491

API change check
API changes are not detected in this pull request.


Docker Labels for Latest Major Versions

Is your feature request related to a problem? Please describe.
Implement major version tagging in Data Prepper per https://github.com/opensearch-project/opensearch-build/issues/1621. More details are in that issue.
Once completed, users can run the following command to get the latest version within a major-version series.
docker pull opensearchproject/data-prepper:1

Out of scope
This does not include major/minor. If requested, this could be added in future versions.

This will be completed along with the release process.


Update collections

categories

FVCproductions Branding

Logos

behance (lots)

Flavicons
Banners
Websites

behance

strikingly theme
strike 2
tdEditora
tdEditor updated

User Interfaces

[ ] old ones
[ ] el capitan
[ ] obsessed with labs
[ ] needs flavours
[ ] baby pink
[ ] snow white
[ ] black apple

Icon & Logo Designs

[ ] Speaker Deck
[ ] Mora
[ ] TSP
[ ] FVCproductions
merge two behance into one
[ ] Fullstack Academy Award
[ ] Ameot
[ ] Popcorn Time
[ ] Writefull
[ ] Alchemize
[ ] Blogo
[ ] Hipster Mermaid
[ ] Raindrop
[ ] Bebop.me
[ ] RESPECT
[ ] scribd/github ring

Print

[ ] npmCamp
[ ] TAPIA
[ ] TCC
[ ] Fullstack Academy
[ ] 2015 conferences
[ ] Party Activities
[ ] Mother's Day Card - Netflix
[ ] leh business card
[ ] Grad Party
[ ] Chinese Wall (4 from Behance)

Add tags for these


Categories are dropped on updating a blog post

When I update a blog post by pulling and pushing the post as the following, the categories of the post are dropped after pushing it.
$ blogsync pull myblog
$ vi entry/some/blog/post
$ blogsync push entry/some/blog/post

dmdm


cannot git clone the src code

Thank you for your work.  However,  the  website (gitlab.ram-lab.com)  in the .gitmodules  seems to be inaccessible.

Thanks for your interest. I will release the code by before October


Several Improvements and Features

All improvements, fixes, and features are described in the commit names.

[!WARNING]
I couldn't test all the changes by myself, especially install sub-commands and such.

I've done comprehensive tests due to the numerous changes, and I couldn't find any issues.
Thanks for your work! ❤


Support Integer type hinted paramater

Hello @ReeceM
Please refer to this issue:
https://github.com/Qoraiche/laravel-mail-editor/issues/52

Hi @Qoraiche, I will do.


Implement TEXT/STRING type as  alias of VARCHAR?

It's supported on legacy frontend.
Need some investigation.

How about starting from String? AFAIK, String is an alias of Varchar in many systems. @TennyZhuang

Did we come to a conclusion on this issue?
From https://stackoverflow.com/questions/4848964/difference-between-text-and-varchar-character-varying, it seems that text and varchar are the same in all aspects.

I think we have. If you meet some cases using STRING or TEXT, please help to accomplish this feature 😁


hello help plz ...

can you help me using the tool please, i need to try with xrpl test net , thank you

can you help me using the tool please, i need to try with xrpl test net , thank you

Look at the documentation in the Readme or you an DM me on twitter: @xrpl_adam


gRPC plugin issue | TypeError: Cannot read property 'replace' of undefined

Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
    "@opentelemetry/node": "^0.9.0"
    "@opentelemetry/plugin-grpc": "^0.9.0"

What version of Node are you using?
v13.10.1

What did you do?
I have a gRPC Client and Server applications. I'm trying to get the telemetry on the client application for both gRPC and http requests.
If possible, provide a recipe for reproducing the error.
A simple alive service in my proto file: I also have other unary and BiDi stream calls but I have commented out to test the simple alive call.
rpc alive ( Ok ) returns (Ok);

in my nodejs I have called this:
const sendAliveHint = () => {
    const md = new grpc.Metadata();
    md.add('myApp', 'Client_App');
    client.alive({}, md, (err, result) => {
        if(err){
            console.error(`Error in connecting to the server`,err);

        } else {
            console.info(`[ALIVE] Server responded: ${JSON.stringify(result)}`);
        }
    });
};

What did you expect to see?
I was not expecting to see any errors and track the metrics on prometheus for both gRPC and http
What did you see instead?
I see this error and the app crashes:
/my-repo/node_modules/@opentelemetry/plugin-grpc/build/src/grpc.js:196
                const name = `grpc.${original.path.replace('/', '')}`;
                                                   ^

TypeError: Cannot read property 'replace' of undefined
    at ServiceClient.clientMethodTrace [as alive] (/my-repo/node_modules/@opentelemetry/plugin-grpc/build/src/grpc.js:196:52)
    at sendAliveHint (/my-repo/client/src/index.js:56:12)
    at Timeout._onTimeout (/my-repo/client/src/index.js:176:5)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
[nodemon] app crashed - waiting for file changes before starting...

Additional context
Add any other context about the problem here.

I will look into this today

@markwolff it looks like whatever original method which was wrapped with massWrap doesn't have a path property.

@giri-jeedigunta Can you include your package.json version of grpc as well? This seems like a scenario covered here:
https://github.com/open-telemetry/opentelemetry-js/blob/413edb5369536b9be960049edac3b2be96953649/packages/opentelemetry-plugin-grpc/test/fixtures/grpc-test.proto#L6

@giri-jeedigunta Can you include your package.json version of grpc as well? This seems like a scenario covered here:
https://github.com/open-telemetry/opentelemetry-js/blob/413edb5369536b9be960049edac3b2be96953649/packages/opentelemetry-plugin-grpc/test/fixtures/grpc-test.proto#L6

gRPC version:
    "google-protobuf": "^3.11.4",
    "grpc": "^1.24.2",

I will take a look at the test. Thank you !

@markwolff After updating the grpc to the latest version 1.24.4. I'm not seeing this issue anymore. I will do further testing and confirm.

@markwolff I've spent some time today to analyse this further. This issue is happening when I'm directly using the .proto file to define the service definition not a js file showcased in the official the example.
I have forked the repo and modified the existing gRPC example to reproduce the issue I'm facing.
Here it is: https://github.com/giri-jeedigunta/opentelemetry-js/tree/master/examples/grpc


Page 2 volume rankings

Is it possible to fetch rankings from more than 1 page?

Unfortunately not, that functionality was depricated as it was not stable.

If you want you can try using the old version, just install the package with version 5.0.4:
npm install<EMAIL_ADDRESS>
Then you can use this script to fetch for example 3 pages:
const OpenseaScraper = require("opensea-scraper");

const options = {
  debug: false,
  logs: false,
  sort: true,
  browserInstance: undefined,
}

const nbrOfPages = 3;
(async () => {
  const ranking = await OpenseaScraper.rankings(nbrOfPages, options);
  console.log(ranking);
  console.log("Done 🥳");
})();

Hope that helps..! @pm-12 Let me know if that works for you. If its usefull I might bring it back in a next version.

Thanks will try it out, is there a way to reach you on telegram maybe?

reopening and adding to roadmap as this seems to be a common usecase.


Reconsider lowercasing definitions

It seems that even outside the realm of abstract operations lowercasing has unintended side effects.
Can't we store definitions in their given case and use ASCII case-insensitive comparison?

Duplicate of #861.


minimize active cell movement during re-evaluation

Description
I'm working on a notebook that makes many plots using matplotlib (which works great btw! Thanks!). When I redfine a cell that causes many plots to be re-evaluated, I find that I have to just step back and wait for all the re-evaluation to finish before I can make any more changes to that or any other cells. This is because every time a new plot is rendered, the vertical position of cells within the browser changes.
Suggested solution
My features request is to minimize the extent to which the active cell (the one I'm typing in) visually moves during re-evaluation. I suspect that a rule like "stuff rendered off screen can't move the active cell" may be a good heuristic, but I don't have strong feeling about the details.
Alternative
No response
Additional context
This linked notebook reproduces the issue. To try it, marimo edit the notebook, then find the cell that defines n=2 and redefine n. Then try to redefine n again quickly with a more complex expression.

I have a fairly long notebook, and when I navigate to the bottom of the notebook, then click the plus button for a new cell below the last cell, it scrolls up about 80% of the way to the top of the notebook. I would prefer it stay looking at the new cell I just made.
This notebook displays the same behavior. To reproduce scroll to the bottom, press the plus to make a new cell below the last cell.

@ggggggggg - i noticed that too - i fixed that here: https://github.com/marimo-team/marimo/pull/1782

It seems like when a cell ending with mo.mpl.interactive(plt.gcf()) finishes rendering, it still moves focus to that cell. So I basically lose my place in the notebook every time I run a cell that causes re-plotting.


Option to disable default language support

#106 adds default language support. Some of my current workflows rely on the fact that rehype-pretty-code doesn't try to render codeblocks in languages it doesn't support (e.g. mermaid or poetry). With this update, it doesn't seem possible to have just a normal pre block that isn't highlighted.
Could we add an option to either disable the default language support via defaultLang: null or to have a list of languages that rehype-pretty-code should ignore?

#140 should fix


Prevent multiple uploads of files with the same hash

Currently archive.update() will upload without checking file contents.
The hashlib.sha256 hexdigest is in the file metadata currently, but this isn't used.
The mongodb query coll.find_one({"_id": archive_name}, {"versions.checksum": 1}) will return a list of checksums in the database for the given archive_name.
If implemented, it would make sense to make sure the file actually exists among the available services. See #3

What would the behavior be on uploading a file that matches an old (non-latest) version?
A first-cut would be to check whether the latest version has the same hash. That would avoid requiring file redirects which is a bit messy.

Also, it seems that this should fail silently rather than raising an error. Thoughts?


Support Websocket

Add support for websocket endpoints
Requirements:

Support OnFinality api keys
Set the user agent
Subscribe to new blocks, we should fall back to polling if this is unreliable

See comment on PR for why this is close


Create LICENSE

For #252. I selected Apache 2.0 because that's what is in the setup.py file.

@palewire Thanks! Yep, that's the standard license we've generally agreed to use. Probably needs adding in some other repos as well, but appreciate you catching that and adding it here


ScribbleIt

This is a note taking chrome extension that I developed #9 . I wanted it to add this to this repository. Below is a sample picture I have attached.

Features of this extension:

Take notes with timestamp.
Add images to notes.
Make a Google Search from the extension's textbox  itself.
Download all the notes in pdf format to save locally.
Can also download a snapshot of the notes.
Google Search Individual notes.
Delete individual notes.

This is a note taking chrome extension that I developed #9 . I wanted it to add this to this repository. Below is a sample picture I have attached.
Features of this extension:

Take notes with timestamp.
Add images to notes.
Make a Google Search from the extension's textbox  itself.
Download all the notes in pdf format to save locally.
Can also download a snapshot of the notes.
Google Search Individual notes.
Delete individual notes.

The files are missing @dollykumari9798


Homebrew install method partially removed from the docs

Commit 76e5faa1f176fc7dbac7b686e90d76016af96afd deleted the homebrew install instructions from the docs. May I ask why?
I would like to see these instructions reinstated. (I have been maintaining the homebrew formula for pipenv, so I'm biased)
However, if the decision to not document homebrew based installation stands, then there are a few other mentions in the docs and README which need cleaning up. Including a link on https://docs.pipenv.org which currently 404s.

Question @richardcooper did we ever get the recipe for homebrew to rely on homebrews cpython3 and not apples distribution of python3?  I believe that was why the instructions were removed.

@erinxocon. Yes. The patch which you were working on to use homebrew's cpython3 landed a couple of weeks ago.
There's still a question of why pipenv cares about relative v's absolute paths but we're using absolute paths as a workaround for now.

@richardcooper we'd love for you to maintain the forumla for us.

Added #1495 to reinstate the homebrew docs


golang filetype

Why support golang filetype? I used it , but not any autocomplete action. This cause go Can I disable it by settings?
function! s:supported_language()
  return (&filetype == 'python' && expand('%:e') != 'pyi') || &filetype == 'go'
endfunction

@ErrEoE we just turned on golang support for beta users. Let me know if you're interested in trying this out!

Can we use a settings disable it ?

Is this change causing issues for you? There is currently no setting to disable it, but we'd like to learn why you want this disabled.

Because this will disable ycm for golang filetype.

Thanks for letting us know. We won't have a fix until early Jan as the team is off for the holidays.

thanks for your help!

A fix in the backlog. Thanks for your patience.

To be implemented with a runtime check of supported languages, but just to enable/disable support for Golang .


Swap out mono font for sans-serif font

Requesting to swap out all instances of IBM Plex Mono for IBM Plex Sans.
As we move forward with cleaning up the UX and UI, we'd like to simplify the font stack by removing the use of IBM Plex Mono and doing a 1:1 swap for IBM Plex Sans.
IBM Plex Sans is the sans-serif font currently in use so we won't need to add it.
*Caveat: can we keep the mono font for JUST the code snippets? For instance, on proposal details in the "View executable code" sections.

Closing this due to bigger UI redesigns anyway.


double PointDistanceToEdge( Vector3D Point, H3Index Cell );

For visualization/ray tracing purposes it would be handy to have a function which can compute the 64-bit floating point distance from a 3d point on the spereoid lieing inside the h3index to any edge of this H3Hexagon or H3Pentagon and return the shortest/closest distance.
Especially if the edges are treated like line segments across a sphereoid/ellipsoid.
The math involved to do it nanometer accurately is quite heavy and could use some math experts to look at that !
One of the best/most accurate methods is:
Problem exploration:
https://arxiv.org/abs/1102.1215
Link to one of the solutions:
https://proj.org/zreferences.html#id25
Especially this one:
[Karney2013]
Karney, C. F. F. Algorithms for geodesics. Journal of Geodesy, 87(1):43–55, 2013. doi:10.1007/s00190-012-0578-z.
I believe these documents may refer to this problem/solution as "cross track distance".
Slight Update:
This may also be of some help, however, this is only for a sphere so it's not super accurate most likely:
https://www.movable-type.co.uk/scripts/latlong-vectors.html
(Maybe some of the code can be re-used as well, who knows, or serve as inspiration, or testing of a more simple/sphere version)

Thanks for marking it as enhancement, I have updated the original posting a little, with an extra link at the bottom, that may also be usefull ! ;)

It could be an interesting idea to make two versions of this function:

PointDistanceToEdgeFast

PointDistanceToEdgeAccurate

So that it can be used on different kind of systems, slow/weak versus fast/powerfull systems.

This problem is solveable with Geodesic C++ library which also uses NVectors...

https://github.com/sslnjz/geodesy
https://www.ffi.no/en/research/n-vector/


DATPLAT-1131 - did refactoring and improve test

Test plan

Run tox and verify that it will run successfully.

Looks good to me.

all checks have passed


API managment: make the same description for API 2016-07-07 SubscriptionIdParameter.

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-node

Automation for azure-sdk-for-python

@solankisamir the problem is the 2016-07-07 has two definitions of SubscriptionIdParameter. Autorest is not really happy if the definitions are not the same.

Automation for azure-sdk-for-go


Missing files and folders

Hi. Sir, I have successfully uploaded the ready model to ESP and everything worked. Now, I want to train my model. But some files and folders that you mentioned don't exist in the dataset. For example, you mentioned "For my training, I add a lot more data to the background_noise folder. I also created a problem_noise folder and recorded sounds that seemed to confuse the model - low frequency humming noises around 100Hz seem to cause problems."  I don't know what to include in problem_noise folder.  Could you please upload it somewhere so I can download it? Also in code there is _invalid. Is it also a folder that you added afterward?

is this project work correctly

@Nicosh81 I've uploaded those folders and made them available here:
https://data.atomic14.com/_mar_sounds_.zip
https://data.atomic14.com/_background_noise_.zip
https://data.atomic14.com/_problem_noise_.zip
_invalid is just the class that is used for non-command words.


Issue 367 level filename

@gleckler1 @durack1

@gleckler1 you're closer to this so over to you for review once the travis tests pass..


Workflow name

Fixes #11

Agreed. I can't really review because I'd need to see an example to be sure that it's correct.
Speaking of which, what is the plan for unit tests? That would make these PRs much easier to review.

Sure I can add tests. It was smallish change but maybe tests are warranted. I'll also remember to add before/after notes to the PR description for future PRs.

@joshuagl @MarkLodato I added a before/after example and a simple unit test for the entrypoint. PTAL

Feel free to merge. If all works well, the e2e test will pick the change and fail


Error code 31-4302

Hello, I'm playing in America Server.
Windows 10, ran the unlocker with "Run as administrator"
But didn't go well.
It's Korean, but it's saying that;
Data error, delete the game and re-install by downloading from official channel.
Error code: 31-4302

I have to delete the json file to start the game, and of course the rate is limited to 60 hz :(

don't put the unlocker in the same location as the game

It errors out now with 4.7 non working


My index cursor is 1 digit after the text

My index/blinking cursor in the text editor is broken.Its actually 1 digit after thing I've selected.How to fix it

Same here

GOD DAMN THANK YOU!GOD BLESS YA!

The problem is due to introducing "Enable Shadow DOM" in Atom 1.1

Whats this "Shadow DOM"

This is fixed in 0.4.1 which is published to apm now.


Replace SQLite to Realm

Currently Lily uses SQLite, ContentProvider, CursorAdapter, ...
It would be smarter to use Realm, RealmBasedRecyclerViewAdapter for dealing with relational models (such as User <- N..N -> Room relation)

Realm seems not to be mature. The lack of backlink feature is fatal...
Consider other DAO library such as "Android-Orma"

model design.
Room
  |- type(public/private/direct)

Message
  |- syncstate(0:NOT_SYNCED, 1:SYNCING, 2:SYNCED)
  |- room_id
  |= User

RoomUserRelationship
  |= Room
  |= User
  |- status(online/offline)

use-case design
list messages for a room
`Room.where(id=xxx).messages`: NG
`Message.where(room_id=xxx)`: OK

the reason is below...
send new message
insert Message(id=zzzz, room_id=xxx, syncstate=0)

-> shown by `Message.where(room_id=xxx)`
-> not shown by `Room.where(id=xxx).messages`

-> handled by Observer with condition `Message.where(syncstate=0)`
 -> DDP method called
  -> after success, message.syncstate=2

list rooms for a user
RoomUserRelationship.where(user.id=xxx) .map(.Room)

list users in a room
RoomUserRelationship.where(room.id=xxx) .map(.User)

@YusukeIwaki maybe we should arrange some time to talk, as we are thinking about doing the same in Electron and iOS, so we could collaborate in that effort.

This issue will be separated into each functions. close now.


feat: Support Email

Some email clients embed vim or neovim and it would be super cool to use harper to proof my emails im writing. Neovim recognizes the filetype to be mail. It could essentially be treated as a text file.

I can make this happen. Two questions: what email client are you using, and by "text file", do you mean plaintext, or Markdown?

Sweet! I'm using Aerc mail which just sub-shells out to neovim plus a file e.g. "/.../aerc-compose-2650687518.eml". By text I mean just plaintext although it could be that users would want to write with markdown in their email.


How to set shiro principal's property as thymeleaf tag attribute?

I have a demand that I want to use a shiro principal's property as thymeleaf tag's attribute.
I use the lib thymeleaf-extras-shiro, it's true to use like this.

    <shiro:principal property='imgUrl'/>

but I want to set the property 'imgUrl' as tag  attribute 'href'.
so anybody could tell me about this? Thank you.

try
<a href="<shiro:principal property='imgUrl'/>">

@liaojiacan It doesn't work. Thymeleaf will not resolve the shiro tag if do this.

@RogerFang check the “principal“ object ,make sure it having a getter function of the 'imgUrl' property

@liaojiacan There is a getter function.

@RogerFang you may forget to add these code in jsp
`
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
`

@liaojiacan I don't use JSP, and there is xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" in my html.

@RogerFang
sorry, i didn't notice that this is a issue of  "thymeleaf-extras-shiro".
There is a normal way to solve your problem
Step 1:  LoginFilter
  @Override
    protected boolean onLoginSuccess(AuthenticationToken token, Subject subject, ServletRequest request, ServletResponse response) throws Exception {
       // do something...
        HttpServletRequest httpServletRequest = (HttpServletRequest) request;
        //put the principal object in the session
httpServletRequest.getSession().setAttribute(Constants.CURRENT_USER,subject.getPrincipal());
        return false;
    }

Step 2: html

@RogerFang i am not aware of any clean solution to your use case right now. Could you think of a way we can support your special needs? How'd you wanna use it?
Thanks @liaojiacan, fine sir, for helping and providing support - the library profits so much from people like you :-)

Closing due to inactivity.


SafetensorError is not pickleable, potentially causing hangs in multi-process environments

System Info

transformers version: 4.28.1
Platform: Linux-6.5.0-1023-gcp-x86_64-with-glibc2.37
Python version: 3.10.11
Huggingface_hub version: 0.14.1
Safetensors version: 0.4.3
PyTorch version (GPU?): 2.3.0+cu121 (False)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed (NA)
Jax version: not installed
JaxLib version: not installed
Using GPU in script?: No
Using distributed or parallel set-up in script?: Not distributed, but multiple dataloader workers

Information

[ ] The official example scripts
[ ] My own modified scripts

Reproduction
The below script will hang and print out a pickling error, rather than terminating with an informative error.
Changing CATCH_EXCEPTION = True will not hang, and additionally print out the full exception with stack trace to the offending line as expected.
import safetensors, safetensors.torch
import torch.utils.data

NUM_ITEMS = 5
CATCH_EXCEPTION = False

class SafeTensorDataset(torch.utils.data.Dataset):
  def __init__(self):
    super().__init__()
    # Write safetensors file
    data = { str(i): torch.ones((1, )) for i in range(NUM_ITEMS) }
    safetensors.torch.save_file(data, "my_tensor.safetensors")

  def __getitem__(self, idx):
    with safetensors.safe_open(
      "my_tensor.safetensors", framework="pt", device="cpu"
    ) as f:
      if CATCH_EXCEPTION:
        try:
          return f.get_tensor(str(idx))
        except Exception as e:
          raise Exception(str(e))
      else:
        return f.get_tensor(str(idx))
  def __len__(self):
    return NUM_ITEMS + 1

if __name__ == "__main__":
  dataset = SafeTensorDataset()
  dataloader = torch.utils.data.DataLoader(
    dataset,
    num_workers=2
  )

  for i, batch in enumerate(dataloader):
    print(f"Retrieved batch {i}")

Pickling error (CATCH_EXCEPTION = False)
Traceback (most recent call last):
  File "/nix/store/rwxj49zghamyhy07b67yhiq64bmznvmm-python3-3.10.14/lib/python3.10/multiprocessing/queues.py", line 244, in _feed
    obj = _ForkingPickler.dumps(obj)
  File "/nix/store/rwxj49zghamyhy07b67yhiq64bmznvmm-python3-3.10.14/lib/python3.10/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <class 'safetensors_rust.SafetensorError'>: import of module 'safetensors_rust' failed

Error when catching and re-throwing as a vanilla Exception (CATCH_EXCEPTION = True):
...
  File "/home/runner/SafeTensorHang/main.py", line 22, in __getitem__
    raise Exception(str(e))
Exception: File does not contain tensor 5

Expected behavior
Because SafetensorError can't be pickled, if it gets thrown from inside a PyTorch dataset running under a multi-worker dataloader, the exception does not get propagated up to the main process and the dataloader hangs. If the exception were pickleable, then it would be received and terminate with the error message.
Although in the reproduction this still provides a PickleError, in our production system, even this error did not get printed. In that case, it is very difficult to debug the deadlocked dataloader processes and identify the source of the bug.

Hi @Wehrdo ,
I understand the issue and sympathize with the hard to debug issue.
However, I'm under the impression that the bug lies in the DataLoader, not in safetensors. Being picklable is not mandatory for exceptions.
This isn't anything new either: https://discuss.pytorch.org/t/dataset-with-unpicklable-objects-breaks-dataloader-where-num-workers-0/149580/4
Thanks a lot for sharing your workaround though I'm sure it'll help others.
I'm closing this, since the bug doesn't seem to be in this library.


[WIP] C++ port Proof of Concept

Not for merge.
Fixes issues with capslock indicator being reset (in Wayland, for example) (feel free to cherry-pick).
Fixes cursed issues with C fixed arrays by using C++ (partially).
The fact these issues exist is infuriating. Fixing this in pure C will only waste a lot of time.

I haven't looked at the changes, but I think it would be cool to switch to C++.  I wonder what @rvaiya would think.

I haven't looked at the commits but in general I'm a fan of the idea of switching to C++.  It doesn't look like upstream is willing to switch, so this would have to be done in a permanent fork.

I don't really see any reason against. Maybe I was too rude after all. If it's memory usage on some embedded system, dynamic allocations in C++ only work in favor on C++. I have already significantly reduced static memory usage. Because with dynamic alloc you only pay more memory as your config grows bigger.

Closing as rvaiya wishes neither C++ nor org.
I created another org, https://github.com/keyd-cpp/keyd, for C++.

Now he banned me from his repository because I suggested my fork to people struggling with various issues which he is unable/unwilling to fix. Note I just want to make better software. Software without weird hacks and limitations, software that isn't a timebomb. He seems to be offended by that.


Avoid thundering herd issues around reconnecting to etcd/start-of-day

As we scale up to 100s of nodes, we may need felix to be smarter about connecting to etcd at start-of-day.  this probably involves introducing exponential backoff or some other throttling mechanism.
Right now, it'll just connect ASAP.

Steer from @apollitt is to defer this until we find out what scale we start to hit issues.  Then we'll be in a position to do something appropriate.

This should also cover jittering any resyncs.

Per @lxpollitt steer above, do we yet know the scale where we hit issues?  If not, I'll punt this out to the 1.0 milestone.

@matthewdupre I thin the next action is to find out what the limits are, which probably comes under your scale testing umbrella.

I'm keen not to fix this until we know that there is an actual problem - to the point where my preference is to just close the issue and do nothing. If etcd can happily feed and water the herd, let them thunder away. If it can't, we can spread them out a bit.

@plwhite Agreed - since you own the scale test plan, can you please try and find out whether this is an actual problem.

Agreed. Doing nothing until we know there is a real problem here.

Given that we're doing nothing for now I'm going to close this issue. I'm trying to schedule work for these things, and if we're not even possessed of a belief there's a problem there's no point having this hanging around.


pod install fails if not opened first

https://github.com/CocoaPods/CocoaPods/issues/6107
On a fresh install of react native, the steps provided in the install guide don't work. I had to open up the project in xcode once, and only then did the install work.

@RWOverdijk @alvelig as we're working to improve the install instructions and this issue is pretty old, maybe it can be closed?
Thnx

I recently made a fresh example build with pods and GoogleMaps with no issues.
https://github.com/alvelig/react-native-maps-pods-example.
Try to check it out or build through the README.MD. If it does not help, let me know.


Pod pos CrashLoopBackOff

Hi,
I encounter a problem when deploying on k8s (1.19.2) the pos pod is in CrashLoopBackOff mode.
when I look at the log the message is as follows  :
2021/03/10 15:43:54 FRONTEND_HOST is set to frontend.default.svc.cluster.local
2021/03/10 15:43:54 DATASTORE is set to REMOTE
2021/03/10 15:43:54 HTTP_PORT is set to 7777
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

using env:   export GIN_MODE=release
using code:  gin.SetMode(gin.ReleaseMode)

[GIN-debug] Loaded HTML Templates (2):
-
- index.tmpl
[GIN-debug] GET    /assets/*filepath         --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (3 handlers)
[GIN-debug] HEAD   /assets/*filepath         --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (3 handlers)
2021/03/10 15:43:54 Get http://frontend.default.svc.cluster.local/products: dial tcp: lookup frontend.default.svc.cluster.local on <IP_ADDRESS>:53: no such host
I have access to the portal.
Do you have an idea of the problem ?
Thanks,
Emmanuel

I encounter the same problem, finally I solved by set FRONTEND_HOST value to 'frontend.<my-deploy-namespce>.svc.cluster.local' (frontend.default.svc.cluster.local by default) in point-of-sales-total.yaml

Thanks


Type inference - Failure to infer correct type

Using dartpad.dartlang.org:
class Client {
  Response call(Request r) {
    return Response();
  }
}

class Request {}

class Response {}

typedef _grpcCall<Req, Resp> = Resp Function(Req req);
typedef _grpcCallMaker<Req, Resp> = _grpcCall<Req, Resp> Function(Client);

Resp _genericRpc<Req, Resp>(_grpcCallMaker<Req, Resp> callBuilder, Req req) {
  // Do some extra stuff
  return callBuilder(Client())(req);
}

main() async {
  Response x = _genericRpc((f) => f.call, Request());
}

Error compiling to JavaScript:
main.dart:20:28:
Error: The function expression type 'Response Function(Null) Function(Client)' isn't of expected type 'Response Function(Request) Function(Client)'.
 - 'Response' is from 'main.dart'.
 - 'Client' is from 'main.dart'.
 - 'Request' is from 'main.dart'.
  Response x = _genericRpc((f) => f.call, Request());
                           ^
Error: Compilation failed.

I don't think it's related to web, I originally ran into this issue writing a Flutter app.

This appears to be fixed.


Add Pen Support (Soft Keys)

Add support for triggering gestures using a tablet's pen instead.
Also Fix setup not going back to gesture selection screen when creating a new gesture.
Depends on #10

Will start doing a final pass on functionalities to find & fix potential issues at some point.

Rebase was definitely not worth it, as the commit hashes changed, lesson learned i guess.


Firebase Cloud Functions - Long Cron Time

Hi,
Does this library work well in CF even with long time, such as days?
I read somewhere that CF can have problems with long cron time.
Thanks!

If you're looking at using cron jobs, they won't behave well in a serverless world. Functions only have a server(s) when they're required (referred to as cold starts), and so a cron process won't be able to run if there's no server running.
You'll want to look into some kind of scheduling solution, such as cloud messaging, or there are free services out there that just hit a URL at a specified time.

Thanks, @RMHonor


:memo:x.x.x: Add docs

Codecov Report

Merging #2042 (83f6b6c) into main (8df02d4) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##              main     #2042   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        14
  Lines           88        88
  Branches         3         3
=========================================
  Hits            88        88

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Issue with PostgreSQL 9.6 and a Multicorn FDW

I am facing a nasty bug that occurs when trying to read a ros bag file from within  a Multicorn-based foreign table.
The bug results in a SIGSEGV in the libroslz4.so.1d library.
The same code works fine outside PostgreSQL/Multicorn. And the bug only triggers with PostgreSQL 9.6 (the FDW works fine in both PostgreSQL 9.4 and 9.5). This is why I am reaching out to the Multicorn community.
A full test-case with detailed instructions on how to reproduce the bug is available here: https://github.com/elemoine/FdwRosTest.
I am not sure this is an issue in Multicorn. But I am suspicious, given that the same code runs fine outside PostgreSQL or in PostgreSQL 9.4 or 9.5.
Note: this is with Python 2.7.
Thanks for any insight about the problem.

Ok, the issue is related to symbol conflicts between liblz4 (which Postgres 9.6 uses) and libroslz4. And I now think the bug is on the roslz4 package (https://github.com/ros/ros_comm/pull/1065).
Sorry for the noise, Multicorn has nothing to do with that bug.


Converting Integar to String Type

In this program we are input a integar and converting it to string.

only projects are acceptable


fix(mosaic): add contain mode in some cases for mosaic

General summary
Vertical images were cropped in mosaic, we decided to display the first image of a mosaic IF it's vertical, in contain mode. Same for the second image in a 2 thumbnails mosaic. If more than 2 thumbnails, then only the first image is concerned.
Linked to this ticket : https://lumapps.atlassian.net/browse/LUM-12096

Screenshots
One thumbnail of a vertical image (thumbnail in contain mode):

Two thumbnails of vertical images (the two thumbnails are in contain mode) :

Three thumbnails of vertical images (only first thumbnail in contain mode) :

Four thumbnails of vertical images (only first thumbnail in contain mode) :

Check list

[x] (if has style) Add need: review-integration label
[ ] (if has textual documentation) Add need: review-doc label
[x] (if has code) Add need: review-frontend label
[x] (if has react) Check through the react dev check list
[x] (if fix or feature) Add need: test label

Check out the contribution guide for general guidelines for submissions to the design system.

@FlorentDinet are you aware of that?


(idea) support task list filtering based on tags

I often have lots of tasks in a day but only need to calendar schedule a few of them that are really important. It'd be helpful if (say) a tag could be used to filter in (or out) tasks that go into the ics file.
[Nice work by the way. I found this only recently and will pull this into my workflow. At a quick test, it looks like the ics file can also be used with BusyCal on Mac]

This is a good feature. I'll create a setting to which allows you to enter one (or more?) tags that you want to exclude from your iCalendar file. So you could set it to ignore tasks that contain #ignore, or #no-calendar, or #secret, or #pii, etc.
An alternative could be to only include tasks that have certain tags.
Or I could add both to the settings I suppose.
Let me know your thoughts.

Hi @oblique01
This has been done in release 1.19.0. Please update the plugin in Obsidian to see the changes.
Let me know if there are further issues.

Thanks lots and sorry for delayed reply, been ill.  Looking at the notes quickly, looks like you implemented both inclusion and exclusion, which is probably worthwhile having both.  This will really help hugely in not 'swamping' a calendar import with tasks that don't need to be scheduled. I'll lookin forward to using this when I'm back up to speed. Many thanks.

You're welcome. I hope you have a speedy recovery!


Error when generating/saving some normalised poses

There is an occasional issue for some pose files when saving a normalized version of the hands.
Error message: ushort format requires 0 <= number <= (32767 *2 +1)
A pose file is generated but it is very small (only 4 bytes) and it cannot be read in again.
Currently, I have only seen this issue with normalisation of the right hand.
Colab to reproduce: https://colab.research.google.com/drive/1CPTP6Um2K6bYv62QvHrVZ0HyPc0WKpSA?usp=sharing

The problem seems to be your dimensions.
They are:
width=72165
height=53412
depth=7497

To fix this, for your case, you can set the dimensions to something else. Here is the maximum value:
p_norm_rh.header.dimensions.width = 0x7fff * 2 + 1
p_norm_rh.header.dimensions.height = 0x7fff * 2 + 1
p_norm_rh.header.dimensions.depth = 0x7fff * 2 + 1

Please note, this does not have an effect on the pose data, but only matters for visualization, if you would like to draw the pose it will create an insanely large image. (So you could also use 0 and that would be fine)
I now added warnings in https://github.com/sign-language-processing/pose/commit/2bd9d2f7a0815363fcecb101d6ae18dc0630bd2a
Does this solve your issue?


Expander Header Template

Hi, I really miss HeaderTemplate in Expander control.
Expander itself already contains ContentTemplate and it would be really nice to have not only Expander.Header but to have Expander.HeaderTemplate as well.
Thanks 😊

Hey @bbenetskyy I guess this is meant to be a feature request for the Toolkit? Because this is opened on the Docs repo. Could you open it on the XCT repo with the right template please? Thanks!