ImportError: cannot import name 'pybundle' from partially initialized module 'opensfm'

I tried to use the provided Dockerfile but it seems the library didn't install correctly.
from opensfm import dataset
The code above provided an error:
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/project/opensfm/__init__.py", line 1, in <module>
    from opensfm import pybundle
ImportError: cannot import name 'pybundle' from partially initialized module 'opensfm' (most likely due to a circular import) (/opt/project/opensfm/__init__.py)

I didn't change anything in this Dockerfile and couldn't find answers in the issues.

Hi @hontiky ,
can you try to get the newest version and simply try again.
Looking at the commit history, I think some of the builds were broken even though none had the issue you shared here.
Best,
Fabian

I have the same error when trying to execute:
from opensfm import dataset
from a python file. What can be done?

I'm seeing the exact same issue on main (commit 193818dcd274fbc5763c654b0446df0aca696544) using Python3.10:
$ bin/opensfm --help
Traceback (most recent call last):
  File "/home/michael/OpenSfM/bin/opensfm_main.py", line 9, in <module>
    from opensfm import commands
  File "/home/michael/OpenSfM/opensfm/__init__.py", line 1, in <module>
    from opensfm import pybundle
ImportError: cannot import name 'pybundle' from partially initialized module 'opensfm' (most likely due to a circular import) (/home/michael/OpenSfM/opensfm/__init__.py)

The CI build seems to be green for that commit.
Is it worth reopening the bug?

It also happens with the Docker Image built using the dockerfile.

请问您找到解决办法了吗

any solution for this problem ?

bin/opensfm compute_depthmaps data/berlin
Traceback (most recent call last):
File "C:\Users\cj\OneDrive\Desktop\output\OpenSfM\bin\opensfm_main.py", line 10, in
from opensfm import commands
File "C:\Users\cj\OneDrive\Desktop\output\OpenSfM\opensfm_init_.py", line 2, in
from opensfm import pybundle
ImportError: cannot import name 'pybundle' from partially initialized module 'opensfm' (most likely due to a circular import) (C:\Users\cj\OneDrive\Desktop\output\OpenSfM\opensfm_init_.py)
Traceback (most recent call last):
File "C:\Users\cj\OneDrive\Desktop\output\OpenSfM\bin\opensfm_main.py", line 10, in
from opensfm import commands
File "C:\Users\cj\OneDrive\Desktop\output\OpenSfM\opensfm_init_.py", line 2, in
from opensfm import pybundle
ImportError: cannot import name 'pybundle' from partially initialized module 'opensfm' (most likely due to a circular import) (C:\Users\cj\OneDrive\Desktop\output\OpenSfM\opensfm_init_.py)
any solution for this problem ?


Sentry module does't capture errors

I imported to my app module
SentryModule.forRootAsync({
      imports: [ConfigModule],
      useFactory: async (cfg: ConfigService) => ({
        dsn: cfg.sentryDns,
        debug: true,
        enabled: true,
        environment: cfg.nodeEnv,
        tracesSampleRate: 1.0,
        release: cfg.version
      }),
      inject: [ConfigService],
    })

"@ntegral/nestjs-sentry": "2.0.6",
"@sentry/node": "6.2.3",
And also try add in main.ts app.useGlobalInterceptors(new SentryInterceptor()).
But any exption doesen’t  catch  in sentry.
Erorrs catch if I init sentry in main.ts and throw error in mian.ts bootsrap function after init sentry;
If I try to add to app controller @UseInterceptors(new SentryInterceptor())
Its catch only like that, how I understand sentry must by default catch any 500 errors and upper.

I'll see if I can reproduce this error. Thanks

Any update on this one, i've had the same situation :D


Lock down eslint plugin versions

The latest v10 beta just started giving false positives related to JSX indentation. This is caused by a bug introduced in a patch version of eslint-plugin-react, which we use to enforce JSX indentation.
Details here: https://github.com/yannickcr/eslint-plugin-react/issues/1117
Not a big deal since this is still a beta version, but let's lock down the plugin versions before the final v10 is release. Let's use exact versions instead of loose with ~. I thought patch versions would be safe, but alas...

v6.10.3 is now published and should fix the issue. Sorry for the inconvenience.

@yannickcr No problem. Thanks for maintaining an excellent plugin!
I'm happy to close this, and revisit if it's actually an issue in the future. No harm done.


command bug

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
2113
Describe the bug
my phone is an A20S and I use the Castoria + Space Ishitar + Castoria and Oberon loop. I activate the FGA and it runs normally in the quest, but after 2-3 runs the game simply crashes in the second wave of the quest and the NP of the DPS (Space Ishitar) does not activate, it goes straight to the cards (does not activate the NP, only attacks normal even with full Noble Phantasm). What do I do?
Video
Bought A20s 2 years ago. 3 GB of RAM and 32 GB of internal memory.
Device model
A20s Samsung
Android version
11
Screen size
1560x720
RAM
3GB

I've been having the same issue as yours for a whole day now with my J7pro and I've just found the solution. Turn the battery optimization ON. Idk why but it acts the contrary way it says on a potato phone and protect it agains a RAM usage explosion. I recomend turning even the opmization of FGO on, as it made lag stop completely in my phone.


feat: add po3rin/github_link_creator

#5578 po3rin/github_link_creator: GitHub Link Card Creator lets you generate GitHub images has links to repositories
$ aqua g -i po3rin/github_link_creator

Thanks.

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.32.0


The avatar of the testimonials is displayed incorrectly

Hi @chrislaai, thank you for this.
They have been resolved here in these two commits:

https://github.com/onwidget/astrowind/commit/f03c8d7f8f8e5a80cd56e35e09cf392ef2a53cf5
https://github.com/prototypa/astrowind/commit/57cbb7d01548243d6b097488b1f59bb9e155a364


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/gaudes/ioBroker.slideshow

[x] [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.slideshow"
[x] [E802] No topics found in the repository. Please go to "https://github.com/gaudes/ioBroker.slideshow", press the settings button beside the about title and add some topics.
[x] [E605] No actual year found in copyright. Please add "Copyright (c) 2022 Gaudes<EMAIL_ADDRESS>at the end of README.md
[x] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2022 Gaudes<EMAIL_ADDRESS>at the start of LICENSE

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

All issues fixed.


[Bug] Batch write report error  when the second time

Search before asking

[X] I searched in the issues and found nothing similar.

Paimon version
0.5-SNAPSHOT
Compute Engine
Flink-1.17.0
Minimal reproduce step

new a flink batch write task with the following parameters:
parallelism.default=200
execution.batch.adaptive.auto-parallelism.enabled=true ( the default value  of Flink-17 is true)

The first time ，the task runs successfully。the operator execution graph is：

The second time，the task report error：This is a bug! The partition org.apache.paimon.data.BinaryRow@23546dee and bucket 0 is filtered!

when we change  execution.batch.adaptive.auto-parallelism.enabled to false or remove  parallelism.default parameter, the task runs successfully

What doesn't meet your expectations?
Caused by: java.lang.IllegalArgumentException: This is a bug! The partition org.apache.paimon.data.BinaryRow@23546dee and bucket 0 is filtered!
at org.apache.paimon.utils.Preconditions.checkArgument(Preconditions.java:127)
at org.apache.paimon.operation.AbstractFileStoreScan.withPartitionBucket(AbstractFileStoreScan.java:156)
at org.apache.paimon.operation.AbstractFileStoreWrite.scanExistingFileMetas(AbstractFileStoreWrite.java:332)
at org.apache.paimon.operation.AbstractFileStoreWrite.createWriterContainer(AbstractFileStoreWrite.java:314)
at org.apache.paimon.operation.AbstractFileStoreWrite.lambda$getWriterWrapper$2(AbstractFileStoreWrite.java:289)
at java.util.HashMap.computeIfAbsent(HashMap.java:1127)
at org.apache.paimon.operation.AbstractFileStoreWrite.getWriterWrapper(AbstractFileStoreWrite.java:288)
at org.apache.paimon.operation.AbstractFileStoreWrite.write(AbstractFileStoreWrite.java:98)
at org.apache.paimon.table.sink.TableWriteImpl.writeAndReturn(TableWriteImpl.java:105)
at org.apache.paimon.flink.sink.StoreSinkWriteImpl.write(StoreSinkWriteImpl.java:83)
at org.apache.paimon.flink.sink.GlobalFullCompactionSinkWrite.write(GlobalFullCompactionSinkWrite.java:96)
at org.apache.paimon.flink.sink.RowDataStoreWriteOperator.processElement(RowDataStoreWriteOperator.java:174)
... 13 more
Anything else?
The root cause is :

the channel num of  BucketingStreamPartitioner is the value of  parallelism.default，that is 200 。
2)While the the channel num of RowDataChannelComputer is setted up by RowDataStoreWriteOperator.initializeState(),the value is getRuntimeContext().getNumberOfParallelSubtasks(),that is 7
3）the different channel cause the calculated channel is different

Are you willing to submit a PR?

[X] I'm willing to submit a PR!

It may not be easy to let downstream know the upstream partition information (outside the flink runtime framework). Also: I'm not sure if the check here is necessary.

I think the check here is not  necessary. Beacuse  it will be checked in plan() by
AbstractFileStoreScan.readManifestFileMeta() method. The question is how to set the channel nums  same between upstream partition and downstream.（the same parallelism maybe a method）


Build failing after adding ember-cli-flash

Hello,
I got this error after installing ember-cli-flash on my project

TypeError: process.hrtime() only accepts an Array tuple

This prevented ember from building the entire project. Any ideas ? Tested with node v6.11.4 and v4.8.4
Thanks

@karamosky are you still having this problem?  I don't think I've seen this type of error before.

Closing due to inactivity, but I'm happy to re-open with more details

@Dhaulagiri really sorry i have missed the notification for your first message.
I did managed to build the project after removing the node_modules folder and reinstalling and it was not due to ember-cli-flash.
I honestly don't know what happened.
Anyway many thanks.


Added Aubay, Bliss Applications, Caixa Mágica, Glintt, GMV, Noesis, Quidgest, and Syone

Thanks @I-Vargas! ⭐


Update update-channels-changes.md

Adding article information for last point.

@YogeshBarania   Thanks for the suggested update. We're planning to "retire" this article, so we aren't making changes to it anymore.
cc:  @nicholasswhite


Drag just groups without children

Thank you guys, this is an awesome library!
But I have a problem. When user drags "Group 2" upper,  the group swipes with children of "Group 1". But I need swipe "Group 2" with "Group 1" without children. Could you help please?
Group 1

child 1
group 2 moves here
child 2

Group 2

child 3
child 4

This library does not support such behavior for now, and I don't have any plan to implement it.
Maybe that behavior can be achieved by modifying this library. If you are going to fork this project, take a look at the implementation of ExpandableRecyclerViewWrapperAdapter class, especially
line 477-491 of ExpandableRecyclerViewWrapperAdapter.java.


Fix CI etc.

resolve conflicts
update Makefile for stack.yaml
fix compiler error with GHC 8.10
CI for GHC 8.10
CI with Cabal
restore Nix environment
format codes

Closes #92

@iand675 This PR will fix each PR's CI failures. Early merge helps.

I took a different approach in #120, but it should resolve this.


?_ rune

See markdown file. Also, https://github.com/urbit/urbit/pull/6656#issuecomment-1586547520 should adopt this.

https://gist.github.com/xiphiness/f45f3d64d9aaa53831b8f9ab1c69e450 @belisarius222 here's the example you were looking for - it didn't need any changes to the hoon compiler to make it work


get client_secret from client.yml instead of secret.yml

Previously, we only have secret.yml decrypted during loading for encrypted values. Now, the logic is built into the config module so decryption is done automatically. It doesn't make sense to separate secret values into another config file. This issue is only to address the OAuth 2.0 interactions in the client module first. For backward compatible, we try to load the secret from client.yml and it is not there, then fallback to secret.yml.

Along with the above change, I have added the trustStorePass, keyStorePass, and keyPass into the client.yml file. This eliminates the dependency of secret.yml from the client module.

https://github.com/networknt/light-codegen/pull/325

 get client_secret from client.yml instead of secret.yml


Changes to exclude the 'io.rancher.service.hash' from service metadata

Changes to exclude the 'io.rancher.service.hash' from service metadata in rancher-compose.yml
https://github.com/rancher/rancher/issues/3937
Also changed the test_export_config to make sure metadata gets changed.

@alena1108 @ibuildthecloud please review

LGTM


"Orphaned instance" when rerendering DOM

Eve version
0.3-preview4
Steps to reproduce
git clone git@github.com:thSoft/eve-starter.git
cd eve-starter
npm install
open http://localhost:8000/app/eveRoot/treemap.eve

Click on the plus sign on the right side of Qux or Bee
Expected result
The clicked node will be maximized
Actual result
Exception in developer console:
runtime.ts:3520 Uncaught Error: Orphaned instance 'tag|html/instance|element|children|children|class|title|node|children|eve-auto-index|2|sort|1|tag|node|title|Bee|children|eve-auto-index|1|sort|0|tag|node|title|Qux|sort|0|tag|node|title|Bar|tag|ui/span|tag|title-view|tag|html/element|tagname|summary|class|node|node|children|eve-auto-index|2|sort|1|tag|node|title|Bee|children|eve-auto-index|1|sort|0|tag|node|title|Qux|sort|0|tag|node|title|Bar|sort|0|tag|html/element|tag|node-view|tagname|details|tagname|details'
    at HTMLWatcher.createRoot (html.ts:32)
    at eval (dom.ts:210)
    at Transaction.Exporter.handle [as exportHandler] (watcher.ts:118)
    at Transaction.exec (runtime.ts:3517)
    at Program.input (dsl2.ts:1793)
    at Program.inputEAVs (dsl2.ts:1821)
    at HTMLWatcher.DOMWatcher._sendEvent (dom.ts:25)
    at eval (html.ts:125)
HTMLWatcher.createRoot	@	html.ts:32
(anonymous)	@	dom.ts:210
Exporter.handle	@	watcher.ts:118
Transaction.exec	@	runtime.ts:3517
Program.input	@	dsl2.ts:1793
Program.inputEAVs	@	dsl2.ts:1821
DOMWatcher._sendEvent	@	dom.ts:25
(anonymous)	@	html.ts:125

Hey @thSoft,
It wouldn't surprise me if you've found an issue in the new experimental renderer. Can you please post your Eve program (or a repro case) on GitHub Gists and link it here so that I can diagnose the problem?

Sure, here it is: https://gist.github.com/thSoft/7cbf2dc245e4b72eabfb20a1233d83f6 https://gist.github.com/thSoft/7cbf2dc245e4b72eabfb20a1233d83f6
(original, non-Gist location: https://github.com/thSoft/eve-starter/blob/master/programs/treemap.eve)

máj. 31. dátummal, 2:24 időpontban Joshua Cole<EMAIL_ADDRESS>írta:

Hey @thSoft https://github.com/thsoft,
It wouldn't surprise me if you've found an issue in the new experimental renderer. Can you please post your Eve program (or a repro case) on GitHub Gists https://gist.github.com/ and link it here so that I can diagnose the problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/witheve/Eve/issues/834#issuecomment-305046342, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHNXbzu4yeNJV71Ob0UA48SzbOGfPT5ks5r_LNNgaJpZM4Nqj7Q.

@thSoft, I am able to reproduce your issue and am diagnosing it now. Thanks for getting back to me so quickly!

Hey @thSoft,
Quick update on the situation. I've isolated the source of the error (the renderer is being told that the newly-maximized #node-view is both being made into an #html/root (correct!) and being deleted (very, very incorrect) at the same time. This is a logical paradox that the new renderer guards against, which is how we were able to find out about it. This suggests the root of the problem is actually in an interesting runtime or watcher interface bug.
I'm digging into this now, but the size of the example makes this slow going. I've tried to isolate the problem by starting from scratch and successively building up to your example without much luck. I can't reliably reproduce the crash until the repro is about as large as the original. My suspicion is that creating and then re-parenting elements is at the root of this, but I haven't determined why that would be an issue yet. I'm going to keep plugging away at that, but if you happen to find a smaller program that exhibits the same issue, please send it my way.
In the meantime, if you're interested, I tried an implementation that doesn't do reparenting, which seems to work fine. If don't want to have to wait around for me to get this fixed, you can try rewriting your version along these lines. I hadn't seen that you gave a GH link with the treemap CSS at the time, so I added a little of my own.
https://gist.github.com/anonymous/c5725400e5f1dceefa188a418bd43285

Wow, thanks for the committed investigation! I understand that the example is far from being minimal, I'm trying to reduce it.

I localized the problem: if I change the details and summary tags to simple #ui/div-s, the problem goes away. So maybe it has to do something with the renderer keeping some state of the details element?

Great news! It was a bit of an adventure to get to the root cause, but it turns out you caught a potentially very serious bug in the watcher interface itself! Watcher's should be a lot more robust for users going forward thanks to your consistent repro case. :+1: We'd like to send you a few stickers to say thank you. Shoot myself or @cmontella an email /(corey|josh)/ at kodowa.com if you're interested and we'll work out where to send them.
We'll get this patch merged into master today and test it over the weekend to publish next week.


Help regarding model creation code

please share the link for the file or python code used to create the trained model

Let me check
On Sat, 6 Nov, 2021, 9:53 am Rushil Verma, @.***> wrote:

Assigned #8 https://github.com/Tech-Cravers/Gesture-Speech/issues/8 to
@Aryan4786 https://github.com/Aryan4786.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/Tech-Cravers/Gesture-Speech/issues/8#event-5577608709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPSYIIFQKXGUV6IOKFWLYTUKSUTBANCNFSM5HPEK2JQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

okay bro i am waiting and we are thinking to run this project with a dataset available on kaggle thats the reason i am asking

please refer to the code structure :
dataProcessing_pics.py ->to extract data from pics of folder structure
dataset
|-A
|-B
|- :
|-Z
please configure directory to local address line 38
after processing it is saved as pickle file used by
tranningCNN.py ->to convert that to model
testing_model.py->testing
gesture to speech.py -> to use as final product

so that means i want to use indian sign language dataset from kaggle i need to do these steps and if the parameters are same as your trained model will the dataset work ?

Yes
Data set after processing if you dont want to store in pickle file could directly be fed to training model (in code trainning CNN.py)in form of variable x and y (line 85 dataProcessing_pics.py)

okay bro will ask for any further help if needed

what to put in the { bracket folder ? just blank images or an empty folder name { will work ?

Please give Your dataset folder or link

how many letters from 26
your model was able to recognize ?

Hi ayush dataset could not be shared at the moment but can be created by by data processing files please refer the they are fully commented for eny functional description
All 26 letters with additional blank space represented by { is recognized by model

stale thread


docs: add missing override options for Jest config

Hi 👋
I've noticed that the documentation for overriding CRA's default Jest configuration has gone out of sync with the actual implementation:
https://github.com/facebook/create-react-app/blob/5e703a568a687dacdc45f1211355ce4b1b586625/packages/react-scripts/scripts/utils/createJestConfig.js#L75-L94
This PR fixes that!

@ianschmitz @iansu @mrmckeb please let me know if you have any feedback on this PR, otherwise it is ready to be merged 😊 thanks

Looks good to me, let's get a second review and this should be good to go. Thanks @tobiasbueschel!

Thanks again for your reviews @mrmckeb! By the way, what do you think about the following?

including testPathIgnorePatterns in the override options?

I suppose that we want to keep any changes at a minimum for the time until v4 is ready? However, if this override is something you would generally be fine with, I can raise a PR for post v4.

@ianschmitz or @iansu, it would be great to get a quick second review here.

On a similar note, I've noticed that a few people would like an option to easily ignore certain files when running tests as mentioned in this StackOverflow post.
@iansu @amyrlam what do you think about including testPathIgnorePatterns in the override options? Happy to raise a PR for it.
https://github.com/facebook/create-react-app/pull/9473#discussion_r468993013

Hi @ianschmitz & @iansu, hope you are both well :)
Do you have any thoughts on the above idea & this PR?
Cheers

Thanks!


How to inference?

My inference command is :python demo/image_demo.py 2.jpg     configs/sspnet/faster_rcnn_r50_sspnet_1x_coco_new.py     checkpoints/epoch_10.pth     --device cuda:3
Traceback (most recent call last):
File "demo/image_demo.py", line 50, in
main(args)
File "demo/image_demo.py", line 30, in main
result = inference_detector(model, args.img)
File "/home/SSPNet-master/mmdet/apis/inference.py", line 129, in inference_detector
data = test_pipeline(data)
File "/home/SSPNet-master/mmdet/datasets/pipelines/compose.py", line 41, in call
data = t(data)
File "/home/SSPNet-master/mmdet/datasets/pipelines/loading.py", line 61, in call
corner = results['img_info']['corner']
KeyError: 'corner
How can I fix it? or How to inference a image?

You need to modify the “test_pipeline” in “coco_detection.py”
test_pipeline = [
dict(type='LoadSubImageFromFile')    ===>  dict(type='LoadImageFromFile')
xxxxx
xxxxx
xx
]
where "dict(type='LoadImageFromFile')"  avoids the use of patch images for inference.

Thank you very much. I did it!

You need to modify the “test_pipeline” in “coco_detection.py”
test_pipeline = [ dict(type='LoadSubImageFromFile') ===> dict(type='LoadImageFromFile') xxxxx xxxxx xx ]
where "dict(type='LoadImageFromFile')" avoids the use of patch images for inference.

Is your reasoning page like this? I use your open source code, the accuracy is always a few points lower, can you tell me what's going on?please


Implement Round-Robin Load Balancing

Load balance by taking the "next" backend in the list for each incoming request. We wrap around to the start of the list when we run out of backends.
Since requests will likely be highly-concurrent, there's some complexity here in how the state is maintained. Also, since backends can change, we'll need to consider how this algorithm behaves in that case. Naively, this would be a simple atomic counter that the load balancer does an atomic increment-and-return, then modulus by the number of backends to figure out which backend to use.

The challenge in the current object model is finding somewhere to store this per-backend state. Health checks also throw this off since they keep churning the list of available backends.

I have started writing an implementation for this.

I talked to @anurse about the design, and what we came up with was different from what I was originally thinking. I was originally thinking of having a cache based on a signature for the collection of endpoints storing the counter for a mod operation.
I we think that the round robin should be unique to each cluster of back end endpoints, then it should be stored as part of the Backend.
Implementation wise, would it make sense to have a feature collection on the back end, similar to HttpContext, and proxy code can then stash/fetch into that as needed.
Do we also want to have a dictionary so that config can specify parameters for routes and backends, that are later picked up by custom modules?

Yes there will be to be some way to track state in the backend, and that will need to be thread safe.

Should this just be a counter property on BackEndInfo, or should we have a dictionry? Do we have a thread-safe dictionary?

ConcurrentDictionary might work, we'll see if we need to go that far. We'll also need to account for the fact that the Backend objects are torn down and rebuilt if there's a config change so any state you add to them is ephemeral. That might be OK to reset RoundRobin on a config change, they're not that common.
There's a type in this repo called AtomicCounter that would be useful for tracking a simple incrementing value. If we're not overly concerned about the endpoints list being unstable then the counter might be all we need.
All of this being said, RoundRobin isn't much better than Random, I'm not sure it's worth adding.

ConcurrentDictionary might work, we'll see if we need to go that far. We'll also need to account for the fact that the Backend objects are torn down and rebuilt if there's a config change so any state you add to them is ephemeral. That might be OK to reset RoundRobin on a config change, they're not that common.

I don’t think a dictionary will be needed, just an atomic counter associated with the backend. I also think it’s totally reasonable to  reset round-robin state when a backend is reloaded. It should be preserved when other config reload if possible though.

There's a type in this repo called AtomicCounter that would be useful for tracking a simple incrementing value. If we're not overly concerned about the endpoints list being unstable then the counter might be all we need.

Sounds perfect

All of this being said, RoundRobin isn't much better than Random, I'm not sure it's worth adding.

Think of it more as a price-of-admission feature. We can debate the value of it but given its broad support across the rest of the proxy landscape I doubt its reasonable to skip it.

Think of it more as a price-of-admission feature. We can debate the value of it but given its broad support across the rest of the proxy landscape I doubt its reasonable to skip it.

I can't remember where I heard it, but one of the things cloud customers expect is that when they pay for 5 VM's and put a load balancer in front of them, is that all 5 will have about equal loads.

I don’t think a dictionary will be needed, just an atomic counter associated with the backend. I also think it’s totally reasonable to reset round-robin state when a backend is reloaded. It should be preserved when other config reload if possible though.

The design question is do we add this specific property to the backend configuration, or do we add "feature" support to the backend as a dictionary. If we did the latter, then could the dictionary be maintained across reloads - if the name of the backend matches then it should be retained. To notify the features, the types could implement a INotifyConfigChange interface that if implemented would be called.
The reason that I am pushing this direction is that it feels like it would enable more extensibility scenarios - which should forever be in the back of our minds.

I can't remember where I heard it, but one of the things cloud customers expect is that when they pay for 5 VM's and put a load balancer in front of them, is that all 5 will have about equal loads.

This is definitely a use case for round robin I've heard. We can debate it's reasonability, but people do have a desire to balance the load, even if no backends are actually overloaded.

The design question is do we add this specific property to the backend configuration, or do we add "feature" support to the backend as a dictionary.

Yep, agreed. One wrinkle is that IFeatureCollection used in ASP.NET Core is not thread-safe (I believe..?). Even if it were safe to use concurrently, it doesn't really have the kinds of collection primitives we'd need (GetOrAdd, etc.)

https://github.com/microsoft/reverse-proxy/issues/87


With vuefire the infinitescroll keeps running

I wanted to get more elements from firebase when scrolled to bottom of a page, however it keeps running the onInfinite method.

Could you paste your code on JSFiddle?

22 days passed and no reply, I will close the issue, you can reopen it if you need.


adds MulticastSource typings

The failing tests are due to test fakes here and here still having ._dispose rather than .dispose.  I wonder if it'd better to switch the tests to using real MulticastSources instead of maintaining fakes.  Thoughts?

Well we're already exporting MulticastSource so I think it'd be okay to switch the tests to use the real thing.

Well we're already exporting MulticastSource so I think it'd be okay to switch the tests to use the real thing.

Sounds good to me :+1:


Grasp detection GUI

A grasp detection GUI on which the grasp can be initialized and settings can be changed would be an improvement.

I'm not doing this since I'm using Rviz to visualize and get user feedback.


[0.10.0] Common Query Slow

SELECT cpu_usage FROM cluster GROUP BY name ORDER BY time DESC LIMIT 1
I feel like the above query is something relatively common to want out of a time series database. When I run this query it seems like it has to load every series in it's entirety before then limiting at 1. I have 3000 series in my DB and this query takes longer the more history my series have.
Another note is that it seems that the above query is single threaded. My servers CPU sits around 116% occasionally bursting to 600%.

+1
this seems like a regression from 0.9.x; I remember this sort of query being blazing fast before 0.10
In my case I wish to fetch the point just prior to a particular timestamp - so my workaround for now is to add a < time and > time clause and query in 1-day chunks to iteratively find it. If the data is pretty dense, then the point is usually within a day so this ends up being pretty fast. But it is certainly a hack to make up for the engine's slowness in this case.

also, this type of query will sometimes kill the process if the system RAM is too low, so may be related to #5343

I've benchmarked this query on a clean database with a single float series, using influxdb 10.1. the time to complete seems to scale linearly with series length.  I'm getting about 100ms per 60k entries

@larsonmpdx When you were doing testing did each of your series have one field? I would assume that in the current configuration it would scale by O(n * f) where n is series length and f is number of fields. Regardless I would figure that with this being a common use case it should be optimized so that it doesn't have to read a whole series + fields just to be able to give you the last value.

one field, "value" (float) only
I agree that it's a common case for a time series database.  In my use case any query over 500ms or is failing (should feel immediate-ish), so that's only 300k elements.  Most series in my application will top out around a few million elements, so we need maybe a 10x speedup.  I imagine it will get better with the new query engine, if 0.9.x was faster

The new query engine is in master now.  @larsonmpdx are you able to test one of the nightly builds?

sure, I'll let you know how it goes, thanks

ok.  nightly worked with the same dataset.  I'm now getting 25ms per 100k records.  I haven't tested scaling over a wide range but it still seems linear.  definitely a big step in the right direction

this isn't perfectly comparable, because it hasn't been running as long, but memory use is down by about 4x as well

I just checked the newest nightly - this is still running in linear time with respect to series length (I also checked a last()-based query, same story).  getting this in constant time would be killer, otherwise my application will probably have to store most recent values in a separate database

@larsonmpdx can you try again with 0.11.0? A bugfix to ORDER BY desc went into 0.11.0 a couple of hours before the release.

hi, just saw this
0.11.0 took a sample query from about 5s (the 10.beta thing I was on) to 3.5s (011.0).  Another good improvement.  I still think it won't be useful unless there's a shortcut of some kind added that takes this down to linear time - but I haven't studied your database enough to know how feasible that is.
I have stopped using this type of query, instead I give a time window like @samhatchett suggested.  That puts a cap on execution time.

sorry - meant constant time

Ah, I see what the issue is. Limit queries that have a GROUP BY or multiple sources, the limit iterator goes through all of the points and discards a lot of them.
The problem is that the limit query is a limit per group rather than the number of points in general, so it has to churn through all of the points to know all of the groups at the moment. I'll change the name of the issue and see if there's a way we can improve the timing on this kind of query.
For now, the best way is to limit the time period so it doesn't have to go through as many points (as you mentioned that you're doing).


Add service level decorator support for grpc service

https://github.com/line/armeria/pull/711/files#diff-0edf43a162b79b2e24c6ee64b8290966R116

We may solve this at the higher level (i.e. applying something similar for all kinds of services, not just gRPC) in the future, but the proposed API change looks OK to me. @anuraaga WDYT?

@demongaorui Meanwhile, could you sign the ICLA? https://feedback.line.me/enquete/public/799-Z6ygVz3U

I have had implementing an API to return a precise PathMapping for a GrpcService at the back of my mind for a while now, e.g.
GrpcService service = buildService();
sb.service(service.pathMapping(), service);
// or
service.mountTo(sb);

It's pretty trivial for a GrpcService to return its appropriate PathMapping by iterating over the registered services (we already do very similar when creating DocPlugin).
I believe this solves the decorator problem, and many others - it is a bit of a pain to combine gRPC services with others due to ordering issues related to catchAll mapping.
I think it would be a better approach than implementing this logic which seems too deep in the hierarchy and not very generic.
How does that sound?

Adding pathMapping() to GrpcService approach looks pretty good to me. Just for confirmation, after adding pathMapping() to GrpcService, the binding process of grpc service will looks like following, right?
   GrpcService grpcServiceOne =
       (GrpcService) new GrpcServiceBuilder()
           .addService(new MyGrpcServiceOne())
           .supportedSerializationFormats(GrpcSerializationFormats.values())
           .build();

   GrpcService grpcServiceTwo =
       (GrpcService) new GrpcServiceBuilder()
           .addService(new MyGrpcServiceTwo())
           .addService(new MyGrpcServiceThree())
           .supportedSerializationFormats(GrpcSerializationFormats.values())
           .build();

   serverBuilder
       .service(grpcServiceOne.pathMapping(), grpcServiceOne)
       .service(grpcServiceTwo.pathMapping(), authDecorator.apply(grpcServiceTwo));

And, have you already implemented pathMapping() api for GrpcService? If you have implemented, could you push it so that we could benefit from your implementation? If you haven't, I would like to try to implement it.
BTW, even if we agree that current approach in this PR is not as good as pathMapping() approch, I still want to konw how could we "delegate" HttpResponseWriter to HttpResponse to solve the problem in
https://github.com/line/armeria/pull/711/files#diff-0edf43a162b79b2e24c6ee64b8290966R119 and
https://github.com/line/armeria/pull/711/files#diff-0edf43a162b79b2e24c6ee64b8290966R116
Could you share some tips?

@anuraaga Sounds good. We could also define a special interface like this:
public interface ServiceWithPathMapping<I, O> extends Service<I, O> {
    PathMapping pathMapping();
}

GrpcService could implement ServiceWithPathMapping for even more simplicity:
// Internally, the specifiec service is unwrapped into `ServiceWithPathMapping` using `Service.as(Class)`
// to get the path mapping.
serverBuilder.service(new GrpcServiceBuilder()....build().decorate(authService));

@trustin  ServiceWithPathMapping<I, O> looks pretty good to me.
And I am waiting for confirmation from my manager for signing ICLA, will sign it ASAP.

Yep that interface sounds good. I haven't written any code for this yet so @demongaorui if you have a chance would be great.

@anuraaga @trustin
Updated 😆

No idea why CI fails, locally ran ./gradlew :grpc:test and ./gradlew :core:test build successfully.

Looks you need to rebase your codebase.
$ ./gradlew --no-daemon --stacktrace -Pcoverage checkstyle test build

:core:compileThrift UP-TO-DATE

:core:compileJava/home/travis/build/line/armeria/core/src/main/java/com/linecorp/armeria/server/SetPathMapping.java:25: error: SetPathMapping is not abstract and does not override abstract method doApply(PathMappingContext) in AbstractPathMapping

public final class SetPathMapping extends AbstractPathMapping {

             ^

/home/travis/build/line/armeria/core/src/main/java/com/linecorp/armeria/server/SetPathMapping.java:46: error: method does not override or implement a method from a supertype

    @Override

    ^

@imasahiro Thanks! Rebased.

One missing piece is how to make it simpler to build, decorate and add a GrpcService. A user currently has to:
GrpcService grpcService = new GrpcServiceBuilder()...build();
builder.service(grpcService.pathMapping(), grpcService.decorate(...));

Perhaps we can make it even simpler like this?
builder.service(new GrpcServiceBuilder()...build(), decorator);

public class ServerBuilder {
    ...

    public <T extends ServiceWithPathMapping<HttpRequest, HttpResponse>, R extends Service<HttpRequest, HttpResponse>>
    ServerBuilder service(T serviceWithPathMapping, Function<T, R> decorator) {
        return service(serviceWithPathMapping.pathMapping(),
                               decorator.apply(serviceWithPathMapping));
    }
    ...
}

Having the method that takes service and decorator sounds good, it mirrors annotatedService.
I also wonder whether we can have serviceUnder(String, ServiceWithPathMapping) + decorator version. It'd be sometimes useful to be able to mount the service under a subpath with the specific mappings. But it might be overkill since when mounted on a subpath, collisions are much less likely.

@trustin   @anuraaga
ServerBuilder service(T serviceWithPathMapping, Function<T, R> decorator){}

and
serviceUnder(String, ServiceWithPathMapping) + decorator

sounds good.
For AnyOfPathMapping, one point is how should we handle the mapping when one req path matches more than one PathMapping and those PathMappings tend to generate different PathMappingResult for this req path? SetPathMapping somehow avoids this kind of confliction by holding exact path in a set. PathMapping.ofSet() may provide more simplicity?

On vacation till tomorrow. Will continue reviewing on Friday. Thanks for your understanding. 🙇

For AnyOfPathMapping, one point is how should we handle the mapping when one req path matches more than one PathMapping and those PathMappings tend to generate different PathMappingResult for this req path? SetPathMapping somehow avoids this kind of confliction by holding exact path in a set. PathMapping.ofSet() may provide more simplicity?

Given that it's currently only being used by GrpcService, what do you think about just hiding it from public API completely until there's an explicit use case other than this?

@demongaorui Alternatively, how about making ServiceWithPathMapping.pathMapping() return List<PathMapping> so that service(ServiceWithPathMapping, ...) binds to multiple paths?

making ServiceWithPathMapping.pathMapping() return List so that service(ServiceWithPathMapping, ...) binds to multiple paths

Sounds good.
Then in service(ServiceWithPathMapping, ...) we could do like
pathMappings.foreach((pathMapping) -> service(pathMapping, serviceWithPathMapping));

And consistent with current server build, keep the first match wins strategy.  Sounds good to you?

Because we make ServiceWithPathMapping.pathMapping() return List<PathMapping> now, so serviceUnder(String, ServiceWithPathMapping) + decorator  implementation becomes a little complicated. And, for grpc service, we could still use serviceUnder(String, Service) + decorator. So, shall we discuss more about  serviceUnder(String, ServiceWithPathMapping) + decorator  in another separate issue/pr please?

Please ping me once ICLA is signed.

@trustin ICLA done 😄

Thanks, @demongaorui 👍


use spinlock instead of mutex and rwlock in some places

Refer https://github.com/pingcap/rust-prometheus/issues/121
We can see that the spinlock has a better performance if our lock guard logic is simple and fast. We can use spinlock somewhere.

Parkinglot sync types usually (always?) perform better than their stdlib counterparts. Worth trying.

Thanks @arthurprs
I find that the lib even supports hardware lock elision, very cool. I will try it later.
But is it stable for production now? I am also surprised that why the standard library doesn't use these optimizations?

It's fairly stable at this point. The only potential drawback is the lack of poisoning.
Just after it was released there were some talks about using it in the stdlib but it was way too young. I wouldn't be surprised if that subject comes up again.


Make it usable under 14.1

Makes it work under the newest IDEA. Uses the newest MongoDB database connector.

Hi,
I just saw you pull request. Thanks for you contribution, I will merge it on the next Monday and release after that.
Regards.

Thanks, you might want to downgrade the Java version back to 1.6, made it 1.8 since I use 1.8 myself.

Hi,
0.7.1 should be available right now and was compiled with old Java 1.6.
Thanks again for you work :+1:


remove 'tye.yaml' verbiage for YAML errors - leverage file info when available, otherwise use more generic 'YAML file'  (#1033)

 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.:x: brettveenstra sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


feat: add h3-pg (#664)

What kind of change does this PR introduce?
Adds h3-pg.
Additional context
I've upgraded cmake in the h3-pq layer. If there is interest I can lift that to the builder. Also not sure if I'm doing the pgTap test quite correctly. Not seeing any other extension smoke tests
Fixes #664

@olirice any advice on moving this one forward? Happy to add more tests or tweaking things but not sure what's needed

hi @kav we're not currently considering new extension to the platform right now. There have been a couple of extensions we already support that have caused major headaches for our pg16 migration and we're working out how best to resolve them
Its possible (likely) that we will support h3-pg in the future given that its large/stable & supported by a few other hosted platforms but our long-term goal is to push adoption of TLEs so we're not in users' way

That's fair, I did a rough POC of a TLE version of h3 for postgres using the rust h3 bindings. Seemed reasonable but not sure I've got the bandwidth to maintain that


Error creating conda environment on ubuntu 16.04

When following the instructions to create the conda environment for linux, following error occurred:
> conda env create -f ./docs/niche_env.yml
Fetching package metadata ...........

ResolvePackageNotFound:
  - boost 1.66.0 py36_vc14_1

Stijn,
You are following the windows instructions.
https://inbo.github.io/niche_vlaanderen/installation.html#alternative-installation
should work on linux.
Actually you should also be able to install most of the dependencies of niche_vlaanderen using apt, which is how I test this on travis (and locally).
Kind Regards,
Johan

Great! Worked Fine. Maybe just one remark, provide the information as a new environment as well:
conda create -n niche python=3.6 pandas pyyaml rasterio rasterstats matplotlib
pip install niche_vlaanderen

Is there any specific reason to specifify the version here? pip install niche_vlaanderen==1.0a11? what is we provide a new release?

The reason I specified a version: if you have an old version in your cache, the latest version will not be installed. The other option would be using --no-cache-dir
https://pip.pypa.io/en/stable/reference/pip_install/#caching


Update circe-core, circe-testing to 0.14.7

About this PR
📦 Updates

io.circe:circe-core
io.circe:circe-testing

from 0.14.1 to 0.14.7
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 54.41%. Comparing base (07d2ca2) to head (6a9f95e).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #236   +/-   ##
=======================================
  Coverage   54.41%   54.41%
=======================================
  Files           1        1
  Lines          68       68
=======================================
  Hits           37       37
  Misses         31       31

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Superseded by #239.


Rendering of \sqrt[3]{value} fails.

In the exercise editor, the following latex code is not rendered
[[eq \sqrt[3]{27} = 3]]
But this is the code below.
[[eq \sqrt{27} = 3 \sqrt{3}]]
Are square brackets somehow removed from the input to mathjax / halts the rendering?

The parser for the markdown widgets is very simple right now, so it gets
confused by the ']' in [3]. I should be able to fix this one way or another.
On 03/11/16 08:36, Henrik Skov Midtiby wrote:

In the exercise editor, the following latex code is not rendered
[[eq \sqrt[3]{27} = 3]]
But this is the code below.
[[eq \sqrt{27} = 3 \sqrt{3}]]
Are square brackets somehow removed from the input to mathjax / halts
the rendering?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DanThrane/tekvideo.sdu.dk/issues/106, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABsypQkA4DFqgol3nOu3qn9_MCAB_-ziks5q6Y74gaJpZM4KoEXl.


SPIKE: Investigate new ROSA OU networking architecture

Describe the issue
We have faced issues automating the public routing for ROSA clusters. Ryan J proposed a new network architecture for the ROSA OU that may solve our issues.
Additional context

Ryan J is prototyping this idea in his SEA
Details of Ryan J's proposal

Use the SEA to create an internet gateway in the ROSA VPC web subnet

This makes the web subnet a public subnet and public load balancers can be created

Use the SEA to create a gateway load balancer (gwlb) endpoint in the web subnet and route all traffic going to the app/data subnets to the gwlb endpoint

This routes all traffic through the Check Point firewalls

This breaks the PBMM requirement of central network ingress but it does still pass all traffic through the firewall.

I think the requirements were created with traditional networking in mind before GWLB technology existed. It may be worth revisiting this requirement and seeing if this architecture is acceptable

Definition of done

Meet with Gary and Bruce to create Privacy and Security tickets to update
Meet with Ryan J to discuss this architecture and find out how his prototype work went
Document (diagram) the architecture
Document architecture changes so that Gary and Bruce have that information

Ryan hasn't finished this yet so we are blocked until he has this ready.

Meeting booked with AWS on Nov 28


Added Copyright at footer

Pull Request Template for GSoC 2024
Related Issue
closes: #470
Description of Changes
The footer automatically displays the current year using JavaScript, ensuring it stays current without manual updates.
Screenshots / Demo (if applicable)

Checklist for Contributor

[x] I have reviewed my code before submission.
[x] I have read and followed the project's Contribution Guidelines.
[x] I have tested the code thoroughly.
[x] I have attached related issue numbers, screenshots, or videos (if applicable).
[x] I have added comments to my code where necessary for clarity.
[x] I have checked the existing code base and my changes do not introduce any breaking changes.
[x] My PR addresses only one issue; I have created separate PRs for other issues.
[x] I have ensured that the PR does not include unrelated files.
[x] I am mindful of the project's coding standards and best practices.

Note: Make sure to add labels gssoc-extd, hacktoberfest-accepted and level1.

remove background colour just keep text also add in hamburger menu

Ok 👍

Have a Look! I removed the Background color and also added in hamburger

can you add it herosection.jsx instead of adding in html file ??
if you add it in html file it will be shown on every page
this is a react project you use react components


LUN-262: Fix header of qrcode scanner

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword LUN.
AddCustomDiscipline --> Open QR-Code Scanner

Still too big for me on Androi  d

there was a random margin set :/
Pls check again


Issue with OkHttp leaking resources

WARN 2017-01-08 23:07:54,236 [OkHttp ConnectionPool] okhttp3.OkHttpClient: A connection to http://elasticsearch:9200/ was leaked. Did you forget to close a response body?

Should use try with resources to always close ResponseBody even when it is not used.


Don't prompt for sign in after user has ignored once.

Fixes #1389.
Added a new persistent global state store, as it seems like the existing solution (authentication/keychain.ts) was pretty heavily tied to passwords/keytar.

@JacksonKearl since this line
https://github.com/microsoft/vscode-pull-request-github/pull/1406/files#diff-a46298735cf7c583b6e833c09a3653e1R118 is commented out, I don't think ignoring prompt actually works, can you help confirm that?

Oops, yeah I had that in for testing. Fixed on master.


Collision Detection library gives varied results for multiple executions (and sometimes hangs)

This bug can be reproduced by running the examples/collide/collideSimpleTest test on the https://github.com/UIUC-PPL/charm/tree/nitin/collideBug branch.
(Link to test: https://github.com/UIUC-PPL/charm/tree/nitin/collideBug/examples/collide/collideSimpleTest)
I saw that even with the same number of PEs, I saw different number of collisions with multiple execution instances. Additionally, with different number of PEs, different number of collisions were seen.
Occasionally, I also saw that some runs just hung during execution:
charmrun>  /usr/bin/setarch x86_64 -R  mpirun -np 3  ./hello 4
Charm++> Running on MPI version: 3.0
Charm++> level of thread support used: -1 (desired: 0)
Charm++> Running in non-SMP mode: 3 processes (PEs)
Converse/Charm++ Commit ID: v6.11.0-devel-388-g75c93fcfd
Charm++ built without optimization.
Do not use for performance benchmarking (build with --with-production to do so).
Charm++ built with internal error checking enabled.
Do not use for performance benchmarking (build without --enable-error-checking to do so).
Isomalloc> Synchronized global address space.
CharmLB> Load balancer assumes all CPUs are same.
Charm++> Running on 1 hosts (1 sockets x 4 cores x 2 PUs = 8-way SMP)
Charm++> cpu topology info is gathered in 0.000 seconds.
Running Hello on 3 processors for 4 elements
Creating element 0 on PE 0 and registering chunk as 0
[0][0][0] registerContributor chunkNo:0, nContrib:1
Creating element 1 on PE 0 and registering chunk as 1
[0][0][0] registerContributor chunkNo:1, nContrib:2
[0][0][0] CollideBoxesPrio chunkNo:0
Creating element 2 on PE 1 and registering chunk as 2
[1][1][0] registerContributor chunkNo:2, nContrib:1
Creating element 3 on PE 2 and registering chunk as 3
[2][2][0] registerContributor chunkNo:3, nContrib:1
[1][1][0] CollideBoxesPrio chunkNo:2
[0][0][0] CollideBoxesPrio chunkNo:1
[2][2][0] CollideBoxesPrio chunkNo:3

While speaking to @epmikida about his, he suspected that this could be caused by issues related to demand creation (like  issue https://github.com/UIUC-PPL/charm/issues/1324)

Could this be caused by floating point nondeterminism?

There was a silly error in my example causing all of this. It is required to call bbox.empty() to initialize the min/max variables. I was missing that call and those uninitialized variables caused all the trouble in the while loop (inside CollisionAggregator::aggregate) causing it to run infinitely. Calling empty before bbox initialization gives me consistent outputs and the hangs disappear.


source code or firmware?

hi. how can i build the uboot and linux kernel & rootfs? are they open sourced? i didn't find any place that have structure similar to https://github.com/analogdevicesinc/plutosdr-fw . so i cant use the official way to build firmware

sorry ,I removed the source code,you can click history commit to get


CylinderShape3D imprecision on ShapeCast3D

OS: MacOS 12.3
Godot: 4.1.1

When casting a CylinderShape3D ShapeCast3D down onto a ConvexPolygonShape collider attached to a StaticBody3D, it clips near the edge. Makes stair checking too imprecise to work.
Works well with the default Godot physics engine.
Godot Jolt:

Godot Default Physics:

Similar to Bullet (as used in Godot 3), as well as other real-time physics engines, this is the result of what Godot refers to as "shape margins", or what other physics engines refer to as "collision margin", "convex radius", "bevel radius" or "polygon skin", which is used as part of an optimization technique that's common with real-time physics engines.
What it means is that any convex shape with sharp edges, meaning BoxShape3D, CylinderShape3D and ConvexPolygonShape3D, will have their edges rounded off, leading to the artifact you see in your screenshots.
You can disable this technique if you want, either by setting the margin property on your shapes to 0, which you'll likely need to do for both the cylinder you're casting as well as any convex shape your cylinder may collide with, or you can choose to disable this globally by going into the "Jolt 3D" project settings and disabling the "Use Shape Margins" setting, which will effectively just set the margin to 0 for all shapes.
Godot Physics uses a different type of collision detection that doesn't use this optimization technique, so it completely ignores the margin property for all shape types.
I'll see about maybe making this fact more prominent in the README, since this seems to be a common point of friction.

Also note that this is (somewhat confusingly) not quite the same thing as the margin property on ShapeCast3D, which in both Godot Jolt and Godot Physics will "inflate" the shape you're casting. So you need to set the margin on the shape itself, not on ShapeCast3D.

@mihe that didn't solve the problem, or perhaps it solved one problem and left the one I'm noticing. I've also noticed it's inconsistent. Let me show you. These are both taken with Godot Jolt:
Sometimes when I hit, it gets the hit depth correct and get_closest_collision_safe_fraction() gives me a fraction less than 1:

If I walk away and come back, it registers a hit but it thinks the hit happened all the way at the end of the cast. get_closest_collision_safe_fraction() gives me 1:

The latter is more common than the former by a factor of 4.

I'm not quite sure I understand what you mean, or what I'm seeing in the screenshots. Any chance you could reduce that project down to the bare minimum and upload it here? Preferably set up in such a way that just running the main scene shows the problem right away.

Hi @mihe, when I'm through my current piece of work I'll try Jolt again and progress this issue, but until then- the pale blue cylinder clipping through the stairs (not by very much, you may have to zoom in) shows the ShapeCast3D imprecision every few frames. When it happens, the safe collision distance fraction is also misreporting as 1.


Support using

Fixes #23. Some tools such as next/head rely on a script tag existing
directly under the <Head> component. Allowing a react-schemaorg user
just pass the props opaquely to a <script> tag gives us both
encapsulation while getting the library to work.
Our public API surface area is now effectivley 3 pieces: the original
JSON-LD component, a function generating Helmet-style props, and this
function, which generates plain JSX-style props for <script>.

@sebastienlabine fyi

@Eyas Looks good! Great work!


Update/pl translation

This are minor changes to the Polish translation - hence the branch is not using versioned naming schema as outlined in contribution guidelens. I though that using just feature branch name should be OK here.
The commits covers 3 different small changes:

typos
missing commas
removal of masculine verb forms in favour of more neutral wording

Let me know if I should squash this PR into single commit and/or if I should rename a branch to versioned name.
Thanks!

Thank you very much for your contribution. :)


Add list appt command

As per our user stories, add a list appt command.
Format: “list appt”
E.g. The "list appt" input will display a list of existing appointments according to id.

blocked by #36


add a dev docker wrapper for the postgres backend

this should be helpful to lower the development entry bar for those with docker but not running local postgres regularly.

I like the idea to make a docker container of the DB available
But I would prefer to use a different approach - will update as soon as I can get to publishing the docker image

I created a docker compose file that might be helpful: https://github.com/Seanstoppable/apidoc-compose

You can now run the db backend in docker via:
docker run -d -p 5432:5432 mbryzek/apidoc-postgresql:latest
The db itself is moving to its own repository where you can find the dockerfile:
https://github.com/mbryzek/apidoc-postgresql


.NET Core (NET Standard) only

As full framework is getting left behind (e.g. with the news of .NET 4.8 and .NET 5) I probably only want to support .NET Standard 2.0 and higher.
netstandard20 should cover the last version of the full framework fully and can add in .NET Core 2.1+ specific things under netstandard21 or a netcoreapp version.
Probably allows for #112 and #233

Support for net46 kept


Add SCSS includePaths options no longer works

Version
2.4.3
Reproduction link
https://codesandbox.io/s/ym23lwkojx
Steps to reproduce
Add node-sass, sass-loader.
Add unuitcss package from npm
Create global.scss file.
Add global.scss file into nuxt.config.js
What is expected ?
Global scss successfully import file from node_modules folder, after add scss options includePath on build extend function.
What is actually happening?
File to import not found or unreadable.
Additional comments?
It works perfectly on my another project using<EMAIL_ADDRESS>idk why it not work in<EMAIL_ADDRESS>I can't make it work on codesandbox for<EMAIL_ADDRESS>here's my repo for working sample: https://github.com/ahmadmilzam/test-vue-234

This bug report is available on Nuxt community (#c8701)

Suggestion: Use https://github.com/nuxt-community/style-resources-module for adding SCSS/LESS/Stylus variables to all your components

https://github.com/nuxt-community/style-resources-module

Thank you, but what I really need is the ability to include scss module from node_modules folder without adding tremendous path at @import

@ahmadmilzam Not sure what you mean 🤔
https://github.com/nuxt-community/style-resources-module/blob/master/test/fixture/sass/nuxt.config.js#L11

Regarding the original issue, this works fine with:
build: {
    loaders: {
      scss: {
        includePaths: ["node_modules/inuitcss"]
      }
    }
  }

Regarding the original issue, this works fine with:
build: {
    loaders: {
      scss: {
        includePaths: ["node_modules/inuitcss"]
      }
    }
  }

@manniL what nuxt version do you use to reproduce the bug? i have new fresh install nuxt 2.4.5 and still not working. You mind to share with me your working code?


Update zio, zio-test, zio-test-sbt to 1.0.10

Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-sbt

from 1.0.9 to 1.0.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.0.9).
You might want to review and update them manually.
website/yarn.lock

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, semver-patch, old-version-remains

Superseded by #50.


Add article about integration of PG and ClickHouse

I didn't add the file to the toc tree yet, because it will probably merged after Kafka integration which already has toc tree changes

Thank you @ftisiot! I added corrections for each of the comments.


Vagrantfile for testing purposes

Description
We are close to reach the MVP validation stage for the upcoming release 5.0.0. In this release, we include 3 new plugins to wazuh-indexer: wazuh-indexer-setup, wazuh-indexer-command-manager and wazuh-indexer-reports-scheduler.
In order to tests these plugins work as expected under a build of Wazuh Indexer, we need to develop a testing environment that fit our needs. This issue aims to develop a Vagrantfile that prepares this environment in a reusable manner.
Our testing environment will consist of 2x Wazuh Indexer nodes forming a cluster. The installation of the Wazuh Indexer package itself will be performed manually, as the packages need to be generated beforehand using our regular packaging building process. The Vagrant environment will prepare the required infrastructure to set up the cluster, including:

Static IP binding
Installation of the operating system.
Certificates generation.

Implementation restrictions

One of the nodes runs under Ubuntu 22.04.
One of the nodes runs under RHEL 9.
The environment runs under libvirt virtualization API.
The firewall is disabled on both nodes.
The nodes use static IP binding as defined below.

nodes:
  # Wazuh indexer nodes
  indexer:
    - name: node-1
      ip: "<IP_ADDRESS>"
    - name: node-2
      ip: "<IP_ADDRESS>"
    #- name: node-3
    #  ip: "<indexer-node-ip>"

  # Wazuh server nodes
  # If there is more than one Wazuh server
  # node, each one must have a node_type
  # server:
    #- name: wazuh-1
    # ip: "<wazuh-manager-ip>"
    #  node_type: master

  # Wazuh dashboard nodes
  # dashboard:
    #- name: dashboard
    #  ip: "<dashboard-node-ip>"

Vagrantfile with config defined and certificates generation created, currently the solution is under testing.

Due to the libvirt limitations at using the shared folders, we detected an error at provisioning when trying to copy the generated certificates from the indexer_1 system to the indexer_2, I've made a workaround by adding a pre-start.sh  script that generates the certificates locally and copies them to the corresponding systems.


Right-click (two-finger click) doesn't work on Mac trackpad.

Please answer these questions before submitting your issue. Thanks!

What version of Workcraft are you using?
3.1.2
master from tuura/workcraft

What operating system are you using?
macOS 12 Sierra
I am unsure whether this is because I updated my mac.
I have looked into how right-click works on macs, and it appears that right-click works in the same way for all macs using the trackpad.

What did you do? If possible, provide a list of steps to reproduce
the error.
Tried to right-click a gate in the Digital Circuit plugin in order to add a new input.

What did you expect to see?
A popup menu

What did you see instead?
Nothing

I will do some testing for a few things:

Does a USB mouse work with right-click
Are there any settings that can change how a right-click works with a trackpad.
How it manages to ignore a right-click.

I also noticed this issue when helping a student on his macbook.
On my old macbook pro updated to 10.10.5 two-finger right-click also does nothing even though I think it used to work few months ago. Mouse right button is also ignored :(
These seem to be useful threads:
http://stackoverflow.com/questions/2972512/how-to-detect-right-click-event-for-mac-os
http://stackoverflow.com/questions/4525733/java-mouse-event-right-click

No settings to change how the track-pad works with right click :(
I think I may know what's happening. Let me just test it.

Looks like we need to use SwingUtilities API instead of testing the events explicitly.

I think what's happening is when you right-click on a mac, it sends it through to java as mouse button 3, but with the modifier of the CMD key. This means that when a mouse click is registered, it's ignored by GraphEditorPanelMouseListener because it will be the panKeyCombo.
This also reveals that you can pan the editor by just holding down right-click (two fingers) on mac.

Can you check if SwingUtilities.isRightMouseButton(MouseEvent anEvent) helps to register right clicks? Most likely this wrapper function handles right-click events differently for OSX, Linux and Windows.

It does, but this still registers the meta key being pressed, so isPanCombo() still returns true.

From mouseClicked(MouseEvent e) I removed
if (!isPanCombo(e))
and the end to this if statement, and it seems to register right clicks correctly.
And pressing, CMD and holding right click allows me to pan.

Removing this if statement still allows right-click and panning with Ctrl+right-click to work on Windows.

Do you think just removing the if-statement would solve the problem? Did you check if it still works in Linux?

I haven't checked Linux yet.
I do think it would work, providing it still works in Linux.
A mouseClicked event isn't triggered when you try to do a click and drag.

@danilovesky
Linux works as well.
I will send a PR


commit id too long

in most cases a full 40 chars long commit id is not necessary, the leading 7 chars is long enough to distinguish it from others.
also, you limit the length to 7 by 'printf '%s%s%.7s\n' "$(version)" "$COMMIT_SEPERATOR" "$(commit)";' what if working space is dirty? (the "-dirty" will be truncated)
so why not using --abbrev=7 in git describe ?
also, to make it more brief, i think '--dirty=M --broken=W' is better than just '--dirty'.

Thanks for these issues! I'm glad if it's actually useful to somebody.

in most cases [...] the leading 7 chars is long enough to distinguish it from others

That's true but I wouldn't want to limit the commit output to 7 characters as it's trivial to do that with a pipe like sh version.sh commit | head -c 7 or assign the output to a variable and use a custom printf format. I'd rather print all information that I have.

so why not using --abbrev=7 in git describe ?

When using version.sh for a describe-like string, it is limited to 7 characters, as you have identified by the printfs format. version.sh commit output is more akin to git rev-parse HEAD .. which would be an argument not to include the -dirty in the commit at all and instead include it in the describe string.

also, to make it more brief, i think '--dirty=M --broken=W' is better than just '--dirty'

Nice! I didn't know you can specify your own markers. Is M and W a common choice for this?
A possible argument against using --broken is that it is unavailable in older versions of git. CentOS 7 still has git version 1.8.3 for example, which does not include this flag.

Okay, you have decent reasons not to limit the commit id to 7 chars. but it's not my case, i will have to do it myself.
i just think of the default markers as too long, and wanna simplify them. Then two words come to my mind, so it's probably not common choices. 'M' stands for 'modified' and 'W' for 'Wrong' (here means a corrupted repo maybe).
finally, really nice script, you did great work, it really helps, thanks!

I've added commit 59b8468fd85e37764f69ed415f1e86908aea0eb0 and 88d0abe071b7b64273aa584ae3801a0a3ad8187d to partially address this issue.
The -dirty flag is now appended to the describe string and can be customized by setting GIT_DIRTY_MARKER:
$ date >> LICENSE
$ sh version.sh
version  : 0.3.0-4
commit   : 59b8468fd85e37764f69ed415f1e86908aea0eb0
describe : 0.3.0-4-g59b8468-dirty
$ GIT_DIRTY_MARKER=M sh version.sh describe
0.3.0-4-g59b8468M

I'm now thinking about adding a getopts parser to address the increasing complexity and then I might add a length flag for the commit. But actually I'd rather keep things as simple as possible.

i also suggest to show the branch name somewhere.

I've opened a new issue for that suggestion but that is not as trivial to do consistently (see https://github.com/ansemjo/version.sh/issues/5#issuecomment-514679520).


Reinstate buildkite pipeline for building the DMG

Recent work went a little too far and removed all the buildkite pipelines from this repository (rather than just the Android one). This should be reinstated so that current Kolibri builds can use the new installer.

Fixed in https://github.com/learningequality/kolibri-app/commit/9e784a6e5e2ac995f58edba57708f316a78c1b99


Marketing Email Tags

https://sendgrid.com/docs/Marketing_Emails/tags.html
Hello,
Recently my team created a campaign using mail merge tags. We tested them, send to a test group, and they worked fine. After the campaign was cloned and prepped to send to our client list, we noticed that the merge tag had been capped. It changed from [gift cards] to [Gift Cards]. If we had not caught it, it would have created a serious issue for our company. Do you know why this may have happened?
Thank you for your time,
Megan Prior-pfeifer

The tags are case insensitive, so it should have worked just fine when you hit send.

It was case sensitive while we were testing the email so I don't trust
that the actual send would have been case insensitive.
On 1/5/2015 9:58 AM, Matt Bernier wrote:

The tags are case insensitive, so it should have worked just fine when
you hit send.
—
Reply to this email directly or view it on GitHub
https://github.com/sendgrid/docs/issues/840#issuecomment-68747507.

This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

Interesting! I will play around with this and see what I come up with, as it absolutely should be case-insensitive.


Live auctions tech debt 📱

[x] Fixes infinite loop in socket communications.
[x] Cleans up socket comms code for Swift 3 style guidelines.
[x] Fixes encoding of websocket ping.
[x] Smooth out some edge cases.
[x] Remove extraneous comments/print statements.
[x] Factor gesture-driven animation into its own class.
[x] Test that class.
[x] Changelog entry.

Fix for https://github.com/artsy/auctions/issues/191.

          1 Error

:no_entry_sign:
CHANGELOG isn’t valid YAML

          2 Warnings

:warning:
PR is classed as Work in Progress

:warning:
Needs testing on a Phone if change is non-trivial

  Generated by :no_entry_sign: danger

So I'm at a bit of an impasse. I'd like to have something really slick where the appearing/disappearing animation of the CTA view is done in lockstep with the animations to the next/previous lot, but it's... very difficult 😅 Ideally this CTA would be a supplementary view of the collection view that displays the lot images, but the collection view is under the bid history / lot info, so we can't.
I'll work on it and see what I can do.

Cool, so the initial implementation is finished:

I'm really pleased with how it works. I'll amend the todo list in the PR to reflect the work that still needs to be done.

This looks great 👯

does it handle showing the lot information for a current lot well?

Thanks! The view manages its own subscriptions to the salesperson for current lot updates, so we should be okay 👍

@ashfurrow any clue about these reds? I can't grok em

Test failures were just the code 65 nonsense with some misleading compiler warnings sprinkled on top. I've finished work on this, it's ready for review.

will have to wait on this till tomorrow, please please ping me on slack (gonna have a busy day, and don't want to forget.)

🍏

Cool 👍 looks good


Reading from public functions does not work if msg.value is specified

Consider the following example:
contract Sample {
    string public message;

    function Sample (string newMsg) payable {
        message = newMsg;
    }
}

Now, after deploying the contract, you can now access "message" with, and without supplying msg.value from the settings. Only invocations without the value (0) succeeds. I think it should not take msg.value into account at all when only running the code, right?

Please see the list of exceptions here: http://solidity.readthedocs.io/en/develop/control-structures.html#exceptions
A contract should not receive ether for a getter function as a security measure.

so maybe we should just force the value to 0 when updating property

We should re-think the value input field anyway - it does not make much sense to keep it at the same value across calls. A revamp of the UI should perhaps include a drop-down menu in the function call button where you can specify "call with value".

Yep, and as a fun fact: because function calls are related to transactions, if I have two contracts which I try to deploy at once, the public functions of A are pending while B is under mining.

@ninabreznik what about this input field (value) ? there should be something to do here.
also remix should warn when user try to set value to a non payable method ..


[BUG]: Remove title Padding from Hero Section.

Description

The title in the hero section has some unwanted padding attached to it.
This needs to be removed from the hero section
Change the Hero section from previous to the given code below.

        The New Arrival

        Nike  Shoes

...

Screenshots

Mobile
Desktop

Additional information
Make sure to read the CONTRIBUTING and SETUP docs before proceeding
Happy contributing. 💐
Star my other Repositories here

May I know which padding you want to remove or reduce, like top, bottom, left, or right?

Can you see the padding before the word The in the title, I want to remove that

can i contibute to it ?

Yes, assigning you

I have fix the issue .

can u assign me the issue . So that i can do pull request.

You can make the PR now! go Ahead


Some (awesome) docs for the new Studio

Reason/Context
@magicmatatjahu has been working hard on getting our new studio up and running, and it's looks amazing.
With the ideas we have coming to this application will grow with features and functionality.
I think we might want to accompany this application with some nice docs 👀
I just come across this website https://developers.apideck.com/ and something like this would be great for our Studio (I think).
A place people can find

How to install it
What features it provides etc

Think it would be great!
Any thoughts? cc: @magicmatatjahu @alequetzalli

Can I work on this issue?

@nawed2611
At the moment we do not know what is to be included in such documentation, so I do not know if there is any point in you taking on this task.


Bug: Large sms text passed to iMessage view breaks the original app UI

Capacitor version:

Run npx cap doctor:
💊   Capacitor Doctor  💊
Latest Dependencies:
@capacitor/cli: 4.4.0
@capacitor/core: 4.4.0
@capacitor/android: 4.4.0
@capacitor/ios: 4.4.0
Installed Dependencies:
@capacitor/cli: 4.2.0
@capacitor/android: 4.2.0
@capacitor/ios: 4.2.0
@capacitor/core: 4.2.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
Library version:

4.0.0

Your Plugin Configuration

import {SmsManager} from "@byteowls/capacitor-sms";
...
  async send() {
    ...
    await SmsManager.send({numbers: [this.number], text: this.curentTemplate})
  }

Affected Platform(s):

iOS

Version/API Level: 16
Device Model: all iPhones
Content of your Info.plist

  <key>BGTaskSchedulerPermittedIdentifiers</key>
  <array>
  	<string>com.transistorsoft.fetch</string>
  </array>
  <key>CFBundleDevelopmentRegion</key>
  <string>en</string>
  <key>CFBundleDisplayName</key>
  <string>HaulEx</string>
  <key>CFBundleExecutable</key>
  <string>$(EXECUTABLE_NAME)</string>
  <key>CFBundleIdentifier</key>
  <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
  <key>CFBundleInfoDictionaryVersion</key>
  <string>6.0</string>
  <key>CFBundleName</key>
  <string>$(PRODUCT_NAME)</string>
  <key>CFBundlePackageType</key>
  <string>APPL</string>
  <key>CFBundleShortVersionString</key>
  <string>5.2.4</string>
  <key>CFBundleVersion</key>
  <string>5.2.4</string>
  <key>IonApi</key>
  <string>https://api.ionicjs.com</string>
  <key>IonAppId</key>
  <string>$(ION_APP_KEY)</string>
  <key>IonChannelName</key>
  <string>Production</string>
  <key>IonMaxVersions</key>
  <string>2</string>
  <key>IonMinBackgroundDuration</key>
  <string>30</string>
  <key>IonUpdateMethod</key>
  <string>none</string>
  <key>LSRequiresIPhoneOS</key>
  <true/>
  <key>NSBluetoothAlwaysUsageDescription</key>
  <string>This app requires bluetooth access to function properly.</string>
  <key>NSBluetoothPeripheralUsageDescription</key>
  <string>This app requires bluetooth access to function properly.</string>
  <key>NSCalendarsUsageDescription</key>
  <string>This app requires calendar access to function properly.</string>
  <key>NSCameraUsageDescription</key>
  <string>The application needs access to the camera to take pictures of the vehicle and scan VIN numbers</string>
  <key>NSContactsUsageDescription</key>
  <string>This app requires contacts access to function properly.</string>
  <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
  <string>This app requires constant access to your location in order to track your position, even when the screen is off or the app is in the background. This is necessary for tracking the order delivery route</string>
  <key>NSLocationAlwaysUsageDescription</key>
  <string>This app requires constant access to your location in order to track your position, even when the screen is off or the app is in the background. This is necessary for tracking the order delivery route</string>
  <key>NSLocationWhenInUseUsageDescription</key>
  <string>This app requires constant access to your location in order to track your position, even when the screen is off or the app is in the background. This is necessary for tracking the order delivery route.</string>
  <key>NSMicrophoneUsageDescription</key>
  <string>This app requires microphone access to function properly</string>
  <key>NSMotionUsageDescription</key>
  <string>This app requires motion detection access to preserve battery during tracking of geolocation in the background.</string>
  <key>NSPhotoLibraryAddUsageDescription</key>
  <string>The application needs access to the photo library to upload photos to the inspections in the app</string>
  <key>NSPhotoLibraryUsageDescription</key>
  <string>The application needs access to the photo library to upload photos to the inspections in the app</string>
  <key>NSRemindersUsageDescription</key>
  <string>This app requires reminders access to function properly.</string>
  <key>UIBackgroundModes</key>
  <array>
  	<string>audio</string>
  	<string>fetch</string>
  	<string>location</string>
  	<string>processing</string>
  	<string>remote-notification</string>
  </array>
  <key>UILaunchStoryboardName</key>
  <string>LaunchScreen</string>
  <key>UIMainStoryboardFile</key>
  <string>Main</string>
  <key>UIRequiredDeviceCapabilities</key>
  <array>
  	<string>armv7</string>
  </array>
  <key>UISupportedInterfaceOrientations</key>
  <array>
  	<string>UIInterfaceOrientationPortrait</string>
  	<string>UIInterfaceOrientationLandscapeLeft</string>
  	<string>UIInterfaceOrientationLandscapeRight</string>
  </array>
  <key>UISupportedInterfaceOrientations~ipad</key>
  <array>
  	<string>UIInterfaceOrientationPortrait</string>
  	<string>UIInterfaceOrientationPortraitUpsideDown</string>
  	<string>UIInterfaceOrientationLandscapeLeft</string>
  	<string>UIInterfaceOrientationLandscapeRight</string>
  </array>
  <key>UIViewControllerBasedStatusBarAppearance</key>
  <true/>
  <key>UIFileSharingEnabled</key>
  <true/>
  <key>LSSupportsOpeningDocumentsInPlace</key>
  <true/>

Current Behavior

We generate the sms content using templates that are returned from backend, where they were compiled. If the content size passed to the iMessage view is too big, it breaks the UI on the app side(please, see the photo attached)
Expected Behavior

No matter the size of the passed content, it should not interfere with app's UI.
Reproduction Steps

Try the example app and pass a huge chunk of text as content to iMessage view and it should break the example app's view
Other Information

Photos:

This plugin simply opens the message app on ios. It can not break your projects UI.


updated to java 21

Update from java 19 to java 21 as java 19 is no longer supported
https://trello.com/c/Nl6HKrx0/1257-upgrade-java-to-21
Changes in this PR
change java version in all properties files and upgrade gradle
also added .ds_store (apple filesystem files) to json ignore
Release checklist
Release process documentation
As part of our continuous deployment strategy we must ensure that this work is
ready to be released once merged.

Thanks for sorting this @stevomcallister - just wanted to flag the way we like to write git messages and structure PRs on the team - https://github.com/ministryofjustice/hmpps-accredited-programmes-ui/blob/main/doc/adr/0006-use-git-commits-to-explain-our-work.md - I should probably put this in the API repo.
For this PR, I don't think we need anything too granular in commit messages, but it would be good to squash these commits together with a git rebase -i origin/main and remove the merge commits as we tend to prefer rebasing over merge commits.

 Upgrade Java to 21 (S)


Odd handling of quotes

If I modify decode_test.go with the following...
const configString = `
# This is a comment

# An integer value
answer = 42

# A float value
pi = 3.14
# A boolean value
is_active = true

# A string value
quotes = Alea iacta est\nEt tu, Brute?

# a string in quotes
quoted_string = "this is a string too!"
`

Then adjust the tests to handle that case, I see this result.
--- FAIL: Test_Unmarshal (0.00s)
	decode_test.go:70: Expected "this is a string too!", got "\"this is a string too!\""
--- FAIL: Test_UnmarshalFromConfig (0.00s)
	decode_test.go:135: Expected "this is a string too!", got "\"this is a string too!\""

Is this expected? Most other "INI-like" formats strip quotes from the front and back of strings in this case.
Adding this to GetString makes it behave as I would expect.
diff --git a/config.go b/config.go
index f7ebdfe..38dfd3f 100644
--- a/config.go
+++ b/config.go
@@ -50,6 +50,9 @@ func (c *Config) GetString(key string) (string, error) {
 	}

 	uq := strings.Replace(val, "\\n", "\n", -1)
+	if strings.HasPrefix(uq, `"`) && strings.HasSuffix(uq, `"`) {
+		uq = strings.Trim(uq, `"`)
+	}
 	return uq, nil
 }

If you are amenable to the change, I can open a pull req with associated tests.

Thanks for reporting!
I would say that this is expected behaviour, the only character that is special is the line break. Because it would break the line based format if it isn't escaped. But if you write quotes you get quotes :)
This keeps down the number of special cases. E.g. what to do about single quotes, unicode quotes (the quotes that looks like quotes but isn't) and so on. This way everything you put in the key/value will be there. The one special case is line breaks.
But you are right that it's a bit confusing. I will add a test case that verifies that this is the intended behaviour.
If I'm missing something here please tell me.

Maybe adding some clarifying text to the readme would help too?

Great idea! I will do so.


Fixes 873 by explicitly declaring pyopenssl version.

Coverage remained the same at 61.313% when pulling b9260a6541d6babf30a197764c6a8eb3a8e257b8 on caiges:fix-pyopenssl into 376b2b80517fb7f24fa505461d11bffeafefc713 on Netflix:master.

@caiges Do you need this backported to the 0.5 release as well?

It would probably be helpful if it was.
On Tue, Sep 12, 2017 at 7:43 PM kevgliss<EMAIL_ADDRESS>wrote:

@caiges https://github.com/caiges Do you need this backported to the
0.5 release as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/lemur/pull/917#issuecomment-329041139, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcmJSFXosI8HZlExIJuZeM8bdEs_u0ks5sh0FHgaJpZM4PVdar
.


Review PyPI Settings

Review current PyPI setup.

Review who has owner/maintainer for each package
Determine if we should convert to use Trusted Publishers
Review dead packages

Writeup in notion here.
We cannot use trusted publishers due to the architecture of our release.
Related tickets:
https://github.com/dbt-labs/dbt-core/issues/8409


Debug is Added

You can draw border of your physic objects. Write debug draw code to last of the Game Canvas Draw function to show debug borders.

Please send only the files you edited. Do not send the IDE files.


Package p4merge broken on install

After installing, p4merge exits, without doing anything, immediately after being called. When called from the GUI, an error is received:
---------------------------
p4merge.exe - System Error
---------------------------
The code execution cannot proceed because MSVCR120.dll was not found. Reinstalling the program may fix this problem.
---------------------------
OK
---------------------------

It looks like a dependency on the Visual C++ Runtime may not be met?

scoop install extras/vcredist2013 is required. This could be added as a depends or  suggest

Is there a defined criteria, in the Scoop project, for when something is listed as a dependency vs added to suggest? In this case, p4merge crashes on launch, so it seems like that would be a reasonable hard dependency.

Vcredist should only be suggested because it may already be installed on the users system.
scoop doesn't handle vcredist like other programs. E.g. it doesn't uninstall vcredist, it just removes the installer.
Sent from my OnePlus5T using FastHub

Got it; I'll update the PR accordingly.


check-thirdparty: License under GPLv2+

Since python-debian is GPL licensed, our script that imports it should arguably be GPL licensed as well.

Seems reasonable, merged, thanks @andersk!


You gotta keep ’em iterated

(With apologies to The Offspring.)
So, I'm…lazy. I work really hard at it. (I'm likely not the only one.) Once upon a time, when I was new to Python typing, spending hours reading about generators, iterables, iterators, sequences, etc., instead of minutes coding up what I needed to … . Wait. You know what? For once, I'm not going to craft another impromptu episode of Time for a Trivial Moral That Didn’t Benefit a Lick by Being Buried at the End of a Long, Rambling Story but Instead Could Have and Should Have Led, Because at Least the Audience Would Have Been Awake at the Time™. (Title capitalization verified, so you know it's authentic.)
Anyhoo, this:

A generator can be annotated by the generic type Generator[YieldType, SendType, ReturnType]. … [¶] … [¶] Alternatively, annotate your generator as having a return type of either Iterable[YieldType] or Iterator[YieldType] … .

Now you and I both know that taking certain parts of the standard library documentation at face value can lead to great sadness, but I think the quoted statement is legit in spirit, at least insofar as iterators do appear to be subsets of generators.
[sweeping gesture to divert attention away from the fact that immediately after conceding that Python's docs were not necessarily trustworthy, evidence presented in support of why they should be trusted in this case came from those very same docs]

Over my career, I would conservatively estimate that typing Iterator[Foo] instead of Generator[Foo, None, None] has saved me dozens of precious seconds that I would have never been able to squander on one fifth of one YouTube video recommendation that briefly compelled me to sit—motionless—until its banal end, but of which I now possess no memory.
My point is that my code is littered with stuff like this:
def ima_generator_fool(…) -> Iterator[…]:
    …
    yield …
    …

Sadly, with 0.9.0, I must now account for my sloth:
# test_case.py
from __future__ import annotations
from collections.abc import Generator, Iterator, Sequence
from beartype import __version__ as beartype_version
from beartype import beartype
print(beartype_version)

@beartype
def silly_rator1(seq: Sequence) -> Generator:  # <-- Generator works ...
    yield from seq

@beartype
def silly_rator2(seq: Sequence) -> Iterator:  # <-- ... but Iterator fails
    yield from seq

% PYTHONWARNINGS=ignore python test_case.py
0.9.0
Traceback (most recent call last):
  File "/Users/matt/Documents/dev/dycelib/test_case.py", line 9, in <module>
    def silly_rator1(seq: Sequence) -> Generator:  # <-- Generator works ...
  File "/Users/matt/.acct/.virtualenvs/dycelib/lib/python3.9/site-packages/beartype/_decor/main.py", line 159, in beartype
    func_wrapper_code = generate_code(func_data)
  File "/Users/matt/.acct/.virtualenvs/dycelib/lib/python3.9/site-packages/beartype/_decor/_code/codemain.py", line 170, in generate_code
    code_check_return = _code_check_return(data)
  File "/Users/matt/.acct/.virtualenvs/dycelib/lib/python3.9/site-packages/beartype/_decor/_code/codemain.py", line 450, in _code_check_return
    hint = reduce_hint_pep484585_func_return(func)
  File "/Users/matt/.acct/.virtualenvs/dycelib/lib/python3.9/site-packages/beartype/_util/hint/pep/proposal/pep484585/utilpep484585func.py", line 129, in reduce_hint_pep484585_func_return
    _die_of_hint_return_invalid(
  File "/Users/matt/.acct/.virtualenvs/dycelib/lib/python3.9/site-packages/beartype/_util/hint/pep/proposal/pep484585/utilpep484585func.py", line 182, in _die_of_hint_return_invalid
    raise exception_cls(
beartype.roar.BeartypeDecorHintPep484585Exception: @beartyped generator silly_rator1() return type hint <class 'collections.abc.Generator'> contextually invalid (i.e., expected either collections.abc.Generator[...] or typing.Generator[...] type hint)..

FYI, Importing from typing instead of collections.abc has the same effect. This worked in 0.8.1:
% PYTHONWARNINGS=ignore python test_case.py
0.8.1

Also, Mypy doesn't complain, and I vaguely recall a great man once saying, "What Mypy does, [beartype] do."

Resolved by 79e9b9f, the commit whose hash contains a probabilistically unlikely number of 9s. This can only mean I have listened to one too many cybergrind LPs ←NSFW! Do not click the prior link. It's not my fault? tonight and must now shovel food into my ageing face and pass out.
cybergrind: betcha didnt even know that was a thing.

This is the Python equivalent of Russian chatbot agitprop.

What's the saying? Never assume malice when ~incompetence~ a lack of proper incentives would suffice? My guess is that oversight is an artifact of a PEP's purpose. While it looks like an RFC or W3C standard, I am slowly coming to the understanding that it's more of a pitch to convince gatekeepers to let in a feature or behavior change. That audience likely fills in any missing content without even realizing it. I should have come to this realization much earlier, since that is ~well~ technically documented in one of the dozen-or-so of PEPs-about-PEPs. From PEP 1:

PEP Audience
The typical primary audience for PEPs are the core developers of the CPython reference interpreter and their elected Steering Council, as well as developers of other implementations of the Python language specification.

Of course, that section immediately goes on to say:

However, other parts of the Python community may also choose to use the process (particularly for Informational PEPs) to document expected API conventions and to manage complex design coordination problems that require collaboration across multiple projects.

Despite the abundance—nay, glut— of process docs, I have (so far) found little guidance on how PEP authors should distinguish among these these subtle-but-important differences. As with "relatively defenseless animals [that take] on the appearance of [others with] better defenses", it can be difficult to tell.

Which is the tasty specification on which others may depend as a source of truth and clarity, and which is the bitter manifesto designed to cultivate political influence? As with other questions, the world may never know.
I got bored of reading about the process of improving process and went back to my life as a peasant non pedant and have been much happier. This was in no small part due to my reliance on @leycec and Team Spen to do the real work, affording me the freedom to casually manufacture side commentary.

… [T]he commit whose hash contains a probabilistically unlikely number of 9s

You weren't kidding!
>>> commit = "79e9b9f3def73888a4c9c99bf0112f491b3b9fca"
>>> from collections import Counter
>>> c = Counter(commit) ; c
Counter({'9': 8, 'f': 5, 'b': 4, '3': 3, '8': 3, 'c': 3, '1': 3, '7': 2, 'e': 2, 'a': 2, '4': 2, 'd': 1, '0': 1, '2': 1})
>>> from fractions import Fraction
>>> Fraction(c["9"], len(commit))
Fraction(1, 5)

What's also weird is that the 8s are entirely contiguous.

Never assume malice when incompetence a lack of proper incentives would suffice?

But, but, but... I love government-corporate-NGO propaganda marketing. That's not malice! That's fun stuff – especially as propaganda marketing never had the intended effect on me it seems to have on others. When someone tells me to do something, I grin, nod, and ask, "Why?" Then someone either punches me, fires me, or pretends I just said posed an existentialist conundrum in Kiswahili. Source: used to speak Kiswahili. Boss language.
Grizzled bears now presents...
Best Propaganda Marketing Campaigns of the 1900's and Beyond!
We begin with this infamous double-think post-modern piece from the London Metropolitan Police, which may not have necessarily instilled the confidence in strong-armed law enforcement it was intended to:

oh. shit. Straight-up Sauron Eye Tower right there. J.R.R. Tolkien rolling his eyes while puffing on herbal blunts in the elvish paradise of Arda.
We continue with this little-known WWII-era Victory Garden poster. Of all of my favourite propaganda public education artwork, Victory Garden memorobilia takes the organic free-range locally sourced cake and devours it. It's so wholesome, feel-good, and homely. Also the only propaganda adult retraining movement that didn't require skewering other humans with the sharp ends of pointy bits of metal.
Behold! The pièce de résistance of the Victory Garden moment:

Yup. It's anthropomorphic Canadian veggies marching in lockstep. Together, they will secure a healthier diet for us all.

I grin, nod, and ask, "Why?" Then someone either punches me, fires me, or pretends I just said posed an existentialist conundrum in Kiswahili.

You and I must have both had chicken pox the week they taught ~obedience~ market consumption for great good in ~training camp~ school.


Hyperlink to support period updated

Hyperlink to support period updated as per your requirement.

@annajung

/label tide/merge-method-squash

This PR covers https://github.com/kubernetes/website/issues/32930


intial commit

Metric
Value

alert_status
:white_check_mark: OK

bugs
3

code_smells
0

reliability_rating
C (at least 1 Major Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0