overall stats

make switch to live stats update on home page.

@kamicut what is the status of this?

@dalekunce - Since we don't have historical data back to 2014, I'm thinking of the following for a near term solution:

deploy total stats on the API https://github.com/AmericanRedCross/osm-stats-api/pull/7
add code to the frontend to pull these stats
then add logic to increase the total by a certain number to get to 2014 numbers

Otherwise we just show live stats from from the day we started tracking.


0 pods after canary is deleted

Hi 👋
It looks like after deleting the canary object, the number of pods running drops to zero after the resources created by Flagger are cleaned up. This leads to an interruption of service.
Steps to reproduce:

Create a test deployment named "my-app" with an HPA
Define a new canary
Flagger will create "my-app-primary" and scale "my-app" to 0 pods
Delete the canary resource
Flagger will delete "my-app-primary" but will not scale up "my-app"

Even though there is an HPA associated with "my-app", since the deployment was scaled to 0 pods, the HPA will not kick in.

Apologies, just saw this https://docs.flagger.app/usage/how-it-works#canary-finalizers


Is there any future plans about dockerizing this boilerplate?

@k2so-dev Hi there!
Do you have future plans about dockerizing this boilerplate?
Can you share some recommendations if I will want to do that by myself ?

Hi, yes, I plan to add docker files, but I don't know exactly when I will be able to do it.
I recommend using the simplest solution - Laravel Sail.

Thank you for answering my questions
On Wed, Mar 27, 2024 at 3:42 PM Web Artisan @.***>
wrote:

Hi, yes, I plan to add docker files, but I don't know exactly when I will
be able to do it.
I recommend using the simplest solution - Laravel Sail
https://laravel.com/docs/11.x/sail.
—
Reply to this email directly, view it on GitHub
https://github.com/k2so-dev/laravel-nuxt/issues/5#issuecomment-2024040973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHEQKG3FL5TE7HY62A72ZZTY2M4L7AVCNFSM6AAAAABFLUPDX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGA2DAOJXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

@k2so-dev - I've developed a full Docker environment for this and would like to submit it as my first GitHub Contribution/PR to an opensource project like this - LaravelNuxt has been such an awesome resource!
A full end-to-end Docker Environment to work with it locally has made it into something that I've learnt Nuxt with and will use for personal, professional and commercial projects too.

Great job that would be awesome!!!
On Wed, Apr 10, 2024 at 9:42 AM Nick Courage @.***>
wrote:

@k2so-dev https://github.com/k2so-dev - I've developed a full Docker
environment for this and would like to submit it as my first GitHub
Contribution/PR to an opensource project like this - LaravelNuxt has been
such an awesome resource!
A full end-to-end Docker Environment to work with it locally has made it
into something that I've learnt Nuxt with and will use for personal,
professional and commercial projects too.
—
Reply to this email directly, view it on GitHub
https://github.com/k2so-dev/laravel-nuxt/issues/5#issuecomment-2047891922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHEQKG7EYLVS5SZMZMAQRPTY4VMXDAVCNFSM6AAAAABFLUPDX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXHA4TCOJSGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

@nicholascourage Hello, thanks for your interest in the project. But I would like to outline my point of view a little about the docker environment.
Full end-to-end Docker Environment as I see it can be a separate link to your repository inside "README.md" in the "Deploy" menu.
As for the docker files built into the current project, I am leaning towards the "Laravel Sail" approach, for which there is excellent documentation on the official website, many useful commands for managing project containers, the ability to add services via sail commands, etc.
Unfortunately, now it does not have several environment options, for example, for the production version it would be great to use Alpine containers, and for development standard containers from sail. Although this approach may seem over-engineered to some, so I’m not in a hurry with the Docker environment and it seems to me that it’s difficult to come up with something better than Laravel Sail.

Yeah i would definitely look into that if you don’t mijd me asking to share
link of your version
On Wed, Apr 10, 2024 at 11:03 AM Nick Courage @.***>
wrote:

@crupko93 https://github.com/crupko93 Until I can submit a PR and
contribute to the repo, can share these with you in the meanwhile to have a
go with. Just to forewarn until then - without a decent README yet, or any
context, there are various dependencies (directory structure, .env values,
Local SSL/mkcert, CORS policies, etc ) that will be missing and won't give
you these Gists to work with in a LaravelNuxt project out of the box.
Welcome to contribute, collaborate here or make your own if you can work
with them until this can be part of the repo though. I have it all
Dockerised and working locally on a Ubuntu 20.04 machine.

docker-compose.yml
https://gist.github.com/nicholascourage/7cd41922e85b097c8596d7dd66c379fb
nginx Dockerfile
https://gist.github.com/nicholascourage/93c728f8a951b7b6b5a389aa883cd7c3
nginx.conf
https://gist.github.com/nicholascourage/3e313abb09e1c231e145c59cf919f24d
PHP Dockerfile
https://gist.github.com/nicholascourage/cab0679a647f787371bdba457774e687

—
Reply to this email directly, view it on GitHub
https://github.com/k2so-dev/laravel-nuxt/issues/5#issuecomment-2048061561,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHEQKG256O6MX6M32ICXNOLY4VWHTAVCNFSM6AAAAABFLUPDX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYGA3DCNJWGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


'ascii' codec can't encode characters in position 18-20: ordinal not in range(128)

Hi, I have met a problem when I run the Regression Tutorial, just run use the code in the tutorial, when I run at the block Modelling with Decision Tree using PyImpetus, it has an error ascii' codec can't encode characters in position 18-20: ordinal not in range(128) , I just don't know how to fix it.

Hello!
Before running PyImpetus, can/have you simply run the decision tree regressor on the entire data without feature selection? If that does not produce any error then we can confirm that the problem is on PyImpetus' side and we can proceed with further debugging.

yeah, I have run the decision tree regressor, It can run successfully.

of crouse.
`UnicodeEncodeError                        Traceback (most recent call last)
 in
9 # Fit this above object on the train part and transform the train dataset into selected feature subset
10 # NOTE: x_train has to be a dataframe and y_train has to be a numpy array
---> 11 x_train = model.fit_transform(x_train, y_train)
12 # Transform the test set as well
13 # NOTE: x_test has to be a dataframe
D:\anaconda\envs\pytorch\lib\site-packages\PyImpetus.py in fit_transform(self, data, Y)
642     # Y - Target variable
643     def fit_transform(self, data, Y):
--> 644         self.fit(data, Y)
645         return self.transform(data)
646
D:\anaconda\envs\pytorch\lib\site-packages\PyImpetus.py in fit(self, data, Y)
609
610         else:
--> 611             final_MB, final_feat_imp = self._find_MB(data.copy(), Y)
612
613             # Sort the features according to their importance
D:\anaconda\envs\pytorch\lib\site-packages\PyImpetus.py in _find_MB(self, data, Y)
530
531         # Growth phase
--> 532         MB = self._grow(data, Y)
533
534         # Shrink phase. This is the final MB
D:\anaconda\envs\pytorch\lib\site-packages\PyImpetus.py in _grow(self, data, Y)
474         # Since each feature's importance is checked individually, we can therefore run them in parallel
475         parallel = Parallel(n_jobs=self.n_jobs, verbose=self.verbose)
--> 476         feats_and_pval = parallel(delayed(self._PPI)(data[col].values, Y, None, col) for col in data.columns)
477         #feats_and_pval = [self._CPI(data[col].values, Y, None, col) for col in tqdm(data.columns)]
478
D:\anaconda\envs\pytorch\lib\site-packages\joblib\parallel.py in call(self, iterable)
971
972         if not self._managed_backend:
--> 973             n_jobs = self._initialize_backend()
974         else:
975             n_jobs = self._effective_n_jobs()
D:\anaconda\envs\pytorch\lib\site-packages\joblib\parallel.py in _initialize_backend(self)
738         """Build a process or thread pool and return the number of workers"""
739         try:
--> 740             n_jobs = self._backend.configure(n_jobs=self.n_jobs, parallel=self,
741                                              **self._backend_args)
742             if self.timeout is not None and not self._backend.supports_timeout:
D:\anaconda\envs\pytorch\lib\site-packages\joblib_parallel_backends.py in configure(self, n_jobs, parallel, prefer, require, idle_worker_timeout, **memmappingexecutor_args)
492                 SequentialBackend(nesting_level=self.nesting_level))
493
--> 494         self._workers = get_memmapping_executor(
495             n_jobs, timeout=idle_worker_timeout,
496             env=self._prepare_worker_env(n_jobs=n_jobs),
D:\anaconda\envs\pytorch\lib\site-packages\joblib\executor.py in get_memmapping_executor(n_jobs, **kwargs)
18
19 def get_memmapping_executor(n_jobs, **kwargs):
---> 20     return MemmappingExecutor.get_memmapping_executor(n_jobs, **kwargs)
21
22
D:\anaconda\envs\pytorch\lib\site-packages\joblib\executor.py in get_memmapping_executor(cls, n_jobs, timeout, initializer, initargs, env, temp_folder, context_id, **backend_args)
40         _executor_args = executor_args
41
---> 42         manager = TemporaryResourcesManager(temp_folder)
43
44         # reducers access the temporary folder in which to store temporary
D:\anaconda\envs\pytorch\lib\site-packages\joblib_memmapping_reducer.py in init(self, temp_folder_root, context_id)
529             # exposes exposes too many low-level details.
530             context_id = uuid4().hex
--> 531         self.set_current_context(context_id)
532
533     def set_current_context(self, context_id):
D:\anaconda\envs\pytorch\lib\site-packages\joblib_memmapping_reducer.py in set_current_context(self, context_id)
533     def set_current_context(self, context_id):
534         self._current_context_id = context_id
--> 535         self.register_new_context(context_id)
536
537     def register_new_context(self, context_id):
D:\anaconda\envs\pytorch\lib\site-packages\joblib_memmapping_reducer.py in register_new_context(self, context_id)
558                 new_folder_name, self._temp_folder_root
559             )
--> 560             self.register_folder_finalizer(new_folder_path, context_id)
561             self._cached_temp_folders[context_id] = new_folder_path
562
D:\anaconda\envs\pytorch\lib\site-packages\joblib_memmapping_reducer.py in register_folder_finalizer(self, pool_subfolder, context_id)
588         # semaphores and pipes
589         pool_module_name = whichmodule(delete_folder, 'delete_folder')
--> 590         resource_tracker.register(pool_subfolder, "folder")
591
592         def _cleanup():
D:\anaconda\envs\pytorch\lib\site-packages\joblib\externals\loky\backend\resource_tracker.py in register(self, name, rtype)
189         '''Register a named resource, and increment its refcount.'''
190         self.ensure_running()
--> 191         self._send('REGISTER', name, rtype)
192
193     def unregister(self, name, rtype):
D:\anaconda\envs\pytorch\lib\site-packages\joblib\externals\loky\backend\resource_tracker.py in _send(self, cmd, name, rtype)
202
203     def _send(self, cmd, name, rtype):
--> 204         msg = '{0}:{1}:{2}\n'.format(cmd, name, rtype).encode('ascii')
205         if len(name) > 512:
206             # posix guarantees that writes to a pipe of less than PIPE_BUF
UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-20: ordinal not in range(128)
`

Okay, I guess I will need your code and data to figure this one out. Do you mind emailing me a folder containing the data and corresponding code? Here is my email address<EMAIL_ADDRESS>

The error is not reproducible on my machine and it runs just fine. Maybe change the following line
df = pd.read_csv("slice_localization_data.csv")
to
df = pd.read_csv("slice_localization_data.csv", encoding="UTF-8")

Thanks your advice , but It doesn't work, I find the same problem in stack overflow https://stackoverflow.com/questions/64176343/unicodeencodeerror-ascii-codec-cant-encode-characters-in-position-18-23-ord
------------------ 原始邮件 ------------------
发件人: "Atif @.>;
发送时间: 2022年6月30日(星期四) 下午2:22
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [atif-hassan/PyImpetus] 'ascii' codec can't encode characters in position 18-20: ordinal not in range(128) (Issue #8)
The error is not reproducible on my machine and it runs just fine. Maybe change the following line
df = pd.read_csv("slice_localization_data.csv")
to
df = pd.read_csv("slice_localization_data.csv", encoding="UTF-8")
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I fix up this problem just do like this. https://stackoverflow.com/questions/64176343/unicodeencodeerror-ascii-codec-cant-encode-characters-in-position-18-23-ord


“ng new app” creates project but with some errors

On running ng new app, my directory for app with  files and folders seems to be created but with a stack which I am sharing below:
$ ng new music
installing ng
  create .editorconfig
  create README.md
  create src\app\app.component.css
  create src\app\app.component.html
  create src\app\app.component.spec.ts
  create src\app\app.component.ts
  create src\app\app.module.ts
  create src\assets\.gitkeep
  create src\environments\environment.prod.ts
  create src\environments\environment.ts
  create src\favicon.ico
  create src\index.html
  create src\main.ts
  create src\polyfills.ts
  create src\styles.css
  create src\test.ts
  create src\tsconfig.app.json
  create src\tsconfig.spec.json
  create src\typings.d.ts
  create .-cli.json
  create e2e\app.e2e-spec.ts
  create e2e\app.po.ts
  create e2e\tsconfig.e2e.json
  create .gitignore
  create karma.conf.js
  create package.json
  create protractor.conf.js
  create tsconfig.json
  create tslint.json
Installing packages for tooling via npm.
spawn UNKNOWN
Error: spawn UNKNOWN
    at exports._errnoException (util.js:1022:11)
    at ChildProcess.spawn (internal/child_process.js:313:11)
    at exports.spawn (child_process.js:380:9)
    at Object.exports.execFile (child_process.js:143:15)
    at Object.exports.exec (child_process.js:103:18)
    at C:\Users\user\AppData\Roaming\npm\node_modules\@\cli\tasks\npm-install.js:15:29
    at Class.run (C:\Users\user\AppData\Roaming\npm\node_modules\@\cli\tasks\npm-install.js:13:16)
    at C:\Users\user\AppData\Roaming\npm\node_modules\@\cli\tasks\init.js:83:35
    at tryCatch (C:\Users\user\AppData\Roaming\npm\node_modules\@\cli\node_modules\rsvp\dist\rsvp.js:538:12)
    at invokeCallback (C:\Users\user\AppData\Roaming\npm\node_modules\@\cli\node_modules\rsvp\dist\rsvp.js:553:13)
    at publish (C:\Users\user\AppData\Roaming\npm\node_modules\@\cli\node_modules\rsvp\dist\rsvp.js:521:7)
    at flush (C:\Users\user\AppData\Roaming\npm\node_modules\@\cli\node_modules\rsvp\dist\rsvp.js:2373:5)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

I am not able to figure out why this occurs. The project seems to be running fine without any problem but why this error.
Versions:
@angular/cli: 1.0.0-rc.1
node: 6.9.5
npm: 3.10.10
os: win32 x64

Also on Stack Overflow: http://stackoverflow.com/q/42606470/3001761

Opened it here as suggested by you. That on SO is also my thread.

I am well aware of that; I added both links! The point was to ensure that people who saw one would find the other, as the information has already started to diverge.

Oops sorry. I thought you were suggesting a solution, my bad.

Seems related to your npm install. Can you try this instead?
ng new music --skip-install
cd music
npm install

@filipesilva Thanks for the reply. The first command works perfectly with no warnings or error. But why is --skip-install required?

We install dependencies by default. When you do --skip-install, we don't install them so you can do it yourself if you want.

@ATakaSKY Is it still an issue?

If I don't use --skip-install it still is. @sumitarora

@ATakaSKY seems to be an issue with CLI installation. Can you try on the clean install of the Angular CLI?

@ATakaSKY

uninstall
clean npm cache
install cli

@sumitarora Oki. Will try and revert back.

@sumitarora Hey Sumit. I tried it. But still the same issue. When I try to create a project with GitBash it throws all the errors but when I create the same with node cmd it doesn't throw any errors but just hangs in there saying Installing packages for tooling via npm untill I ctrl+c it. Project in both cases runs fine.

@ATakaSKY Thanks!! Would have to investigate it in detail what's causing the issue. Can you tell me more details about env. you are using. It's windows 32 / 64 are you using any shell for commands etc.

@sumitarora I work on win 64 and use nodejs cmd or gitbash.

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


jsr.io website won't open up (403 Error)

When attempting to access the website, I am encountering a 403 Forbidden error. This prevents me from viewing any content on the site.

What are the response headers? Are you behind a (corporate) VPN that is blocking this site? What country and territory are you located in?

What are the response headers?
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Content-Length: 295
Content-Type: text/html; charset=UTF-8
Referrer-Policy: no-referrer
X-Jsr-Cache-Id: MAD-f83a792f
X-Jsr-Cache-Status: uncacheable

Are you behind a (corporate) VPN that is blocking this site?
No

What country and territory are you located in?
Iran but even if I use Spain VPN it will still shows 403

Can you email the result of curl -vv https://api.jsr.io/scopes/std/packages/fs to<EMAIL_ADDRESS>

@lucacasonato
sure.
I send that.

It's seems your severs gave blocked access from inside Iran.

Hey, unfortunately due to US trade sanction restrictions, our provider is unable to offer service to Iran right now. We will work to get this restriction lifted - please bear with us

@lucacasonato
Hey, that would be great, thanks.


Listener #layers

Do you have any comment on using 2 encoder (listener) layers (as per your code 1 BLSTM + 1 pBLSTM) against 4 encoder layers ( 1 BLSTM + 3 pBLSTM as given in paper LAS)?

@vinusankars I believe it depends on the corpus you're using, LAS was proposed on a large (private) corpus which allows them to use a relatively large network while my implementation focuses on the smaller (public) corpus.


Fix small typo in output message

Fixed a small typo in lib/mix/tasks/release.ex.
Removed "to" from the output below:
The following apps should to be added to :applications in mix.exs:

Thanks!


feat(metric, segmentation): segmentation and grid metrics

[x] Segmentation
[x] Grid Metrics

[ ] Move (and Adjust) parameters from segmentation to constants
[ ] Add comments and types: some of the segmentation parts doesn't have proper comment and type
[ ] Add documentation for segmentation output
[ ] Add CNN Rico model using LFS
[ ] Design proper test cases for grid metrics (we have tests, I just run metrics on general UIs, we need better test cases)
[ ] Change Evaluator to compute segmentation time -> Run Evaluator
[ ] Replacing segmentation output image instead of screenshot image (code)
[ ] Update Metrics.json for judgments

I am leaning more and more toward combining the metrics m21-m26 (G1-G5 + white space) together into a single metric (Layout Quality as per Table 1) with multiple items (G1-G5 + white space). Any thoughts on this potential refactoring?

Though both names recommended are good, I prefer "Grid Quality" since "Layout" is a broad term.
I think each of the metrics should be maintained as a class method in the "single metric".
The metrics still need to be tested a bit more. It's definitely on my to-do list for this week.

Though both names recommended are good, I prefer "Grid Quality" since "Layout" is a broad term. I think each of the metrics should be maintained as a class method in the "single metric". The metrics still need to be tested a bit more. It's definitely on my to-do list for this week.

I agree. Let's combine G1-G5 into a single metric called Grid quality as per Table 3 in CHI'15 AND leave White space as it is in metric m26.

Hi Amir! Are these metrics ready for review?

G1

[ ] Revise
[ ] Test
[ ] Test case

G2

[ ] Revise
[ ] Test
[ ] Test case

G3

[ ] Revise
[ ] Test
[ ] Test case

G4

[ ] Revise
[ ] Test
[ ] Test case

G5

[ ] Revise
[ ] Test
[ ] Test case

Hi Markku (@mplaine)!
I'm sorry it took me so long to update. I combined the G1-G5 as a single metric (+design test cases + run evaluator + update metrics.json).
From here, only the unchecked box remained.
Just checking with you, I believe there is no need to replace the screenshot image with the segmentation output image (in the case of metrics that need segmentation selected). The screenshot shows what we process and should not be changed. Furthermore, the segmentation algorithm we used has some errors, and when users see an error (screenshot is the first things that users see), they think the whole system is not accurate.
Instead, I propose 3 alt: 1) let segmentation also be a metric like UMSI. 2) disregard the segmentation output image. 3) Have it as a submetric of grid quality metric, since this metric relies heavily on segmentation.

Good observations and proposals. If my memory serves me right, the legacy version computed segmentation (for performance reasons) and showed the segmentation output image in Preview only if one or more selected metrics depended on segmentation. Your proposal of always showing a screenshot image in Preview (instead of segmentation output image) makes sense and is well argued. Further, you proposed to include the segmentation output image as submetric of the grid quality metric. My only concern is what if the user selects some other metric than grid quality that depends on segmentation. For example, white space or visual search performance (VSP). In these cases, should we not show the segmentation output image at all, as you suggested, or go with the legacy approach described above? White space is just a metric value so it does not necessarily have to show the segmentation output image and VSP outputs its own image with segmentated areas.

Good observations and proposals ...

there is also another option: Let's make segmentation a metric as well, so users can see how their image is segmented if select it.

I resloved everything that was keeping you from reviewing this code. Everything worked as expected :rocket: . If you have any problems or suggestions, please let me know. It's okay if you want to move/change things, since we didn't discuss the right place of everything.

I like your idea of having segmentation output image as a separate metric. Could you edit this PR to reflect that idea? I can reevaluate metrics and update metrics.json during the review process.

I like your idea of having segmentation output image as a separate metric. Could you edit this PR to reflect that idea? I can reevaluate metrics and update metrics.json during the review process.

done. do you want me to add the aim legacy segmentation as another metric as well?

done. do you want me to add the aim legacy segmentation as another metric as well?

👏 Yeah, that's a good idea!

👏 Yeah, that's a good idea!

done.

Hi, The closest category to these metrics seems to be perceptual fluency.

Thank you so much Amir for this massive contribution!!! I am finally done with reviewing and merging the code. Sorry about the delay. I am currently evaluating all metrics so that I can update all result JSON files. Once I am done with it I can deploy a new version to the production server.
Q: docker-compose up --build does not seem to be working anymore. Does it work on your computer, and if yes, could you share your requirements.txt file?

Hi Markku, It is much appreciated. However, I am currently not able to use docker due to some issues with the M1 architecture. The only thing I have now is a pip freeze of my environment, I'm not sure if that helps. file: pip_req_freeze.txt


Strange behaviour on the glossary term relations: inherits and contains

Describe the bug
The inherited relation on glossary terms seems to be reversed. When adding inheritance from one glossary term to another, the parent of those two has the children's entities in its related entities. I would expect the child glossary term to inherit all the related entities from its parent.
The contains relation does not seem to do anything.
To Reproduce
Steps to reproduce the behaviour:

Add two Glossary Terms
Let one Glossary Term inherit from another one.
Add the Glossary Terms to some entities.
Observe that the inherited relation is reversed.

Expected behaviour
I expect the child to inherit the parent's entities, as this is the expected behaviour of normal inheritance. Am I mistaken in this, or is something afoot?
I expect the contain relation to add the contained glossary term entities to the glossary term owning the relation.
Desktop (please complete the following information):

OS: macOS (datahub docker quickstart)
Browser: Safari
Version 0.9.0

Hi @devantler I'm a little confused by the issue. Glossary terms can only be children of Glossary nodes, not Terms. I'm not sure how you're observing that the inherited relation is reversed. Could you please given some more context and maybe post some screenshots? Thank you!

@aditya-radhakrishnan I am very occupied with work and my thesis in the coming time, so I will not be able to help further with this issue. But if it is not reproducible, I believe it might have been fixed in the meantime. It was very obvious when we discovered it in class, so I think you would have noticed the issue if it was still an issue.
Feel free to close the issue. When I need DataHub again, I will make sure to check if it is still an issue and reopen this issue if it is :-)
Reminder to @devantler to check up on this.

Got it! Yes please feel free to reopen once you get back to DataHub, and good luck with your work and thesis!
Thank you


SSH Certificates instead of OTP?

Hi.
Wondering if you had explored the possibility of using short lived SSH certificates from vault instead of otp?

Hi @gardar, I have but not as a part of an inventory script. Interesting idea though.

I was wondering what would you store in the inventory regarding short lived SSH certificates.
 Or what the output should be?
For the output you'd need to set both the key and certificate, the key would be in ansible_private_key_file and the certificate then probably needs to be set in ansible_ssh_common_args
Perhaps this could be used for inspiration: https://github.com/candlerb/vault-ssh-agent-login

https://github.com/candlerb/vault-ssh-agent-login/blob/main/main.go#L23-L28, so when using vault-ssh-agent-login the secret key isn't stored anywhere which is a good thing, but everything is handled locally except the signing part.
what part of https://developer.hashicorp.com/vault/docs/secrets/ssh/signed-ssh-certificates#client-ssh-authentication should be handled by the inventory and what part should be handled by the user?

If you are using the certificates with a low ttl and using principals (as suggested here: https://www.hashicorp.com/blog/managing-ssh-access-at-scale-with-hashicorp-vault )
then I don't think you need to generate or store the public/private keys for the user and in fact I'm not sure there is much security gain from generating the keys for the user as they are basically useless without the certificate (that is if you only use the key for certificate auth).
The user will provide it's own public key and principal (the principal should perhaps match ansible_user) to the inventory and then the inventory contacts vault for signing the key and returning the certificate.
So the user public key is static but the certificate is dynamic and the inventory needs to understand the ttl of the certificate and rotate it as required.

something like this?

add ansible_user and the ansible_user public key; ansible_ssh_public_key_file
the inventory script the signs ansible_ssh_public_key_file  and turns it into ansible_ssh_signed_public_key_file.
in order to log in the ansible_user needs to supply the ansible_ssh_private_key_file (stored locally) and ansible_ssh_signed_public_key_file (stored in vault).

Yep that should work!
The manual workflow is something like:
vault write -field=signed_key ssh-client-signer/sign/myuser-role<EMAIL_ADDRESS>valid_principals=myuser > ~/.ssh/id_rsa-signed.pub

ssh -i ~/.ssh/id_rsa -i ~/.ssh/id_rsa-signed.pub myuser@domain

Sorry for the delay, I just haven't had the time to work on this yet.

No stress about the delay! I totally get that you're swamped. It's cool that you're even considering my idea. Take all the time you need and thanks for keeping me in the loop!

Basic docs done, and writing code has begun.

I've made https://github.com/konstruktoid/ansible-hvault-inventory/pull/104 which adds signed SSH cert support, but I need to rewrite some docs I believe and not sure about the logic since you need to run the inventory script to refresh the cert initially

merged

Awesome! Didn't have a chance to test #104 but I'll be testing the merged version soon!


esp32: fix a crash with PSRAM + SMP

Summary
this function is called via esp_spiram_init_cache early in the boot.
Impact
Testing
esp32-devkitc:psram + smp enabled

Thanks for submitting it, @yamt !
I will test it on our internal CI. Please don't merge it yet.

Hi @yamt
If I set CONFIG_DEBUG_ASSERTIONS and CONFIG_DEBUG_FEATURES it fails to boot. I guess it's somehow debug-asserting. Can you take a look at it?
The defconfig I used for it:
#
# This file is autogenerated: PLEASE DO NOT EDIT IT.
#
# You can use "make menuconfig" to make any modifications to the installed .config file.
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
# modifications.
#
# CONFIG_ARCH_LEDS is not set
# CONFIG_NSH_ARGCAT is not set
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
CONFIG_ARCH="xtensa"
CONFIG_ARCH_BOARD="esp32-devkitc"
CONFIG_ARCH_BOARD_COMMON=y
CONFIG_ARCH_BOARD_ESP32_DEVKITC=y
CONFIG_ARCH_CHIP="esp32"
CONFIG_ARCH_CHIP_ESP32=y
CONFIG_ARCH_CHIP_ESP32WROVER=y
CONFIG_ARCH_INTERRUPTSTACK=2048
CONFIG_ARCH_STACKDUMP=y
CONFIG_ARCH_XTENSA=y
CONFIG_BOARD_LOOPSPERMSEC=16717
CONFIG_BUILTIN=y
CONFIG_DEBUG_ASSERTIONS=y
CONFIG_DEBUG_ASSERTIONS_EXPRESSION=y
CONFIG_DEBUG_FEATURES=y
CONFIG_DEBUG_FULLOPT=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_DEV_ZERO=y
CONFIG_ESP32_IMM_HEAP=y
CONFIG_ESP32_SPIRAM=y
CONFIG_ESP32_UART0=y
CONFIG_FS_PROCFS=y
CONFIG_HAVE_CXX=y
CONFIG_HAVE_CXXINITIALIZE=y
CONFIG_HEAP2_BASE=0x3f800000
CONFIG_HEAP2_SIZE=4194304
CONFIG_IDLETHREAD_STACKSIZE=3072
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_INIT_STACKSIZE=3072
CONFIG_INTELHEX_BINARY=y
CONFIG_IOB_NBUFFERS=36
CONFIG_IOB_NCHAINS=36
CONFIG_IOB_THROTTLE=8
CONFIG_MM_IOB=y
CONFIG_MM_REGIONS=4
CONFIG_NDEBUG=y
CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_FILEIOSIZE=512
CONFIG_NSH_LINELEN=64
CONFIG_NSH_READLINE=y
CONFIG_PREALLOC_TIMERS=4
CONFIG_RAM_SIZE=114688
CONFIG_RAM_START=0x20000000
CONFIG_RR_INTERVAL=200
CONFIG_SCHED_HPWORK=y
CONFIG_SCHED_WAITPID=y
CONFIG_SMP=y
CONFIG_SMP_NCPUS=2
CONFIG_START_DAY=6
CONFIG_START_MONTH=12
CONFIG_START_YEAR=2011
CONFIG_SYSLOG_BUFFER=y
CONFIG_SYSTEM_NSH=y
CONFIG_TESTING_MM=y
CONFIG_UART0_SERIAL_CONSOLE=y

Can you also enable SMP for the psram defconfig`, please?

why?
how about psram_usrheap?

Can you also enable SMP for the psram defconfig`, please?

why? how about psram_usrheap?

It's up to you ;) I would enable it too if it works smoothly...

Hi @yamt
If I set CONFIG_DEBUG_ASSERTIONS and CONFIG_DEBUG_FEATURES it fails to boot. I guess it's somehow debug-asserting. Can you take a look at it?
The defconfig I used for it:

there seems to be a few issues.

you should bump CONFIG_MM_REGIONS.
https://github.com/apache/nuttx/pull/13233
for some reason, the last page is corrupted.

the following is with CONFIG_MM_FILL_ALLOCATIONS=y. thus i expect it's all 0xcc.
but as you can see there are some 32byte patterns. (32byte because of EVENODD mode i guess)
with NORMAL mode, the symptom disappears. but i guess NORMAL mode doen't meet
the general coherency expectations for nuttx smp.
do you have any ideas?
nsh> xd 3fbf7000 256
Hex dump:
0000: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0010: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0020: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0030: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0040: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0050: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0060: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0070: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0080: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0090: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
00a0: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
00b0: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
00c0: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
00d0: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
00e0: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
00f0: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
nsh>
nsh> xd 3fbf8000 256
Hex dump:
0000: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0010: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0020: 55 55 04 15 55 55 45 15 55 55 55 15 55 54 14 44 UU..UUE.UUU.UT.D
0030: 55 55 45 15 55 50 14 51 05 54 45 55 55 45 51 55 UUE.UP.Q.TEUUEQU
0040: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0050: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0060: 15 55 55 55 55 55 45 55 45 55 05 45 55 54 55 50 .UUUUUEUEU.EUTUP
0070: 45 55 54 55 55 55 55 15 55 40 55 55 55 04 45 55<EMAIL_ADDRESS>0080: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
0090: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
00a0: 54 54 55 04 54 51 55 55 54 55 11 45 45 05 00 55 TTU.TQUUTU.EE..U
00b0: 50 54 45 55 45 55 51 04 14 45 55 01 55 41 55 41 PTEUEUQ..EU.UAUA
00c0: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
00d0: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc ................
00e0: 45 15 54 54 45 55 51 15 55 55 55 11 45 51 55 55 E.TTEUQ.UUU.EQUU
00f0: 54 55 55 11 55 51 55 55 55 45 55 55 54 44 50 54 TUU.UQUUUEUUTDPT
nsh>

Hi @yamt ,

there seems to be a few issues.

you should bump CONFIG_MM_REGIONS.

Yes, this is the cause for failing the boot.

Increase the chance for _assert to work early in the boot #13233

Although this change makes sense, I didn't find any issues related direct to it.

for some reason, the last page is corrupted.

the following is with CONFIG_MM_FILL_ALLOCATIONS=y. thus i expect it's all 0xcc. but as you can see there are some 32byte patterns. (32byte because of EVENODD mode i guess) with NORMAL mode, the symptom disappears. but i guess NORMAL mode doen't meet the general coherency expectations for nuttx smp. do you have any ideas?

I have no idea. After increasing the CONFIG_MM_REGIONS, it was able to boot, but free command fails:
[CPU0] _assert: Assertion failed info.uordblks + info.fordblks == info.arena: at file: mm_heap/mm_mallinfo.c:157

In fact, if we disable CONFIG_DEBUG_ASSERTIONS, free returns:
nsh> free
                 total       used       free    maxused    maxfree  nused  nfree
esp32-imem:      98300       8628      89672       9024      89672      5      1
      Umem:    4402076    4263516    4398464       4008    4194288     27      5

It isn't evaluating the used/free size correctly.

it's because the last page corruption.

I see... I will create an issue to keep track of this, but we have no schedule for this issue. If you find the root cause, we can help testing it on our CI too. For now, I don't think the PSRAM support is fully functional for ESP32 with SMP enabled.

does it work for esp-idf well?

it's because the last page corruption.

I see... I will create an issue to keep track of this, but we have no schedule for this issue. If you find the root cause, we can help testing it on our CI too. For now, I don't think the PSRAM support is fully functional for ESP32 with SMP enabled.

does it work for esp-idf well?

Yes. We have it supported if I'm not mistaken.

Btw, as you know, nuttx esp32 code and esp-idf have a lot of similarlity. Do you know what's the situation about the copyright here? I'm wondering what I can copy and what I can't.

IDF is licensed under Apache 2.0 License, so there is no problem "copying" code to NuttX. Please note, however, the third party repositories. You can check more details here: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/COPYRIGHT.html

Btw, as you know, nuttx esp32 code and esp-idf have a lot of similarlity. Do you know what's the situation about the copyright here? I'm wondering what I can copy and what I can't.

IDF is licensed under Apache 2.0 License, so there is no problem "copying" code to NuttX. Please note, however, the third party repositories. You can check more details here: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/COPYRIGHT.html

don't we need to inherit SPDX-FileCopyrightText: 2018-2024 Espressif Systems (Shanghai) CO LTD?

it's because the last page corruption.

I see... I will create an issue to keep track of this, but we have no schedule for this issue. If you find the root cause, we can help testing it on our CI too. For now, I don't think the PSRAM support is fully functional for ESP32 with SMP enabled.

i guess https://github.com/apache/nuttx/pull/13249 is the root cause.

Btw, as you know, nuttx esp32 code and esp-idf have a lot of similarlity. Do you know what's the situation about the copyright here? I'm wondering what I can copy and what I can't.

IDF is licensed under Apache 2.0 License, so there is no problem "copying" code to NuttX. Please note, however, the third party repositories. You can check more details here: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/COPYRIGHT.html

don't we need to inherit SPDX-FileCopyrightText: 2018-2024 Espressif Systems (Shanghai) CO LTD?

As far as I understand, it's enough to add a notice in the NOTICE file (according to https://www.apache.org/licenses/LICENSE-2.0.html). @jerpelea , can you help us here?

it's because the last page corruption.

I see... I will create an issue to keep track of this, but we have no schedule for this issue. If you find the root cause, we can help testing it on our CI too. For now, I don't think the PSRAM support is fully functional for ESP32 with SMP enabled.

i guess #13249 is the root cause.

right, I will test asap...

Hi @yamt
CI tests ran successfully. Let's wait for https://github.com/apache/nuttx/pull/13249 to be merged before merging this.
I tested i with the following configs (for psram and psram_usrheap). Can you please add them to this PR?
Usually, whenever we check that some defconfig is working as expected with SMP enabled, we let it be enabled in order to provide the best experience for the users. So, if you can enable them in this PR, I'll be glad. Thank you for submitting these PRs.
diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
index 9450b5475e..51de22702f 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig
@@ -6,6 +6,7 @@
 # modifications.
 #
 # CONFIG_ARCH_LEDS is not set
+# CONFIG_NDEBUG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 CONFIG_ARCH="xtensa"
@@ -15,6 +16,7 @@ CONFIG_ARCH_BOARD_ESP32_DEVKITC=y
 CONFIG_ARCH_CHIP="esp32"
 CONFIG_ARCH_CHIP_ESP32=y
 CONFIG_ARCH_CHIP_ESP32WROVER=y
+CONFIG_ARCH_INTERRUPTSTACK=2048
 CONFIG_ARCH_STACKDUMP=y
 CONFIG_ARCH_XTENSA=y
 CONFIG_BOARD_LOOPSPERMSEC=16717
@@ -36,7 +38,7 @@ CONFIG_IOB_NBUFFERS=36
 CONFIG_IOB_NCHAINS=36
 CONFIG_IOB_THROTTLE=8
 CONFIG_MM_IOB=y
-CONFIG_MM_REGIONS=4
+CONFIG_MM_REGIONS=5
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_FILEIOSIZE=512
@@ -48,6 +50,8 @@ CONFIG_RAM_START=0x20000000
 CONFIG_RR_INTERVAL=200
 CONFIG_SCHED_HPWORK=y
 CONFIG_SCHED_WAITPID=y
+CONFIG_SMP=y
+CONFIG_SMP_NCPUS=2
 CONFIG_START_DAY=6
 CONFIG_START_MONTH=12
 CONFIG_START_YEAR=2011
diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig
index 171374f6b0..ea09820207 100644
--- a/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig
+++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram_usrheap/defconfig
@@ -6,6 +6,7 @@
 # modifications.
 #
 # CONFIG_ARCH_LEDS is not set
+# CONFIG_NDEBUG is not set
 # CONFIG_NSH_ARGCAT is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 CONFIG_ARCH="xtensa"
@@ -15,6 +16,7 @@ CONFIG_ARCH_BOARD_ESP32_DEVKITC=y
 CONFIG_ARCH_CHIP="esp32"
 CONFIG_ARCH_CHIP_ESP32=y
 CONFIG_ARCH_CHIP_ESP32WROVER=y
+CONFIG_ARCH_INTERRUPTSTACK=2048
 CONFIG_ARCH_STACKDUMP=y
 CONFIG_ARCH_XTENSA=y
 CONFIG_BOARD_LOOPSPERMSEC=16717
@@ -38,7 +40,7 @@ CONFIG_IOB_NBUFFERS=36
 CONFIG_IOB_NCHAINS=36
 CONFIG_IOB_THROTTLE=8
 CONFIG_MM_IOB=y
-CONFIG_MM_REGIONS=3
+CONFIG_MM_REGIONS=4
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_FILEIOSIZE=512
@@ -50,6 +52,8 @@ CONFIG_RAM_START=0x20000000
 CONFIG_RR_INTERVAL=200
 CONFIG_SCHED_HPWORK=y
 CONFIG_SCHED_WAITPID=y
+CONFIG_SMP=y
+CONFIG_SMP_NCPUS=2
 CONFIG_START_DAY=6
 CONFIG_START_MONTH=12
 CONFIG_START_YEAR=2011

I may have found a bug here. Let me debug it properly.

Confirmed. I'm sorry for the confusion. The tests regarding ESP32 + SMP without PSRAM failed because the change in https://github.com/apache/nuttx/pull/13249 is valid only when PSRAM is enabled, so we need to make it part of the general case. Can you commit the following to revert it and place it in the correct position:
Author: Tiago Medicci Serrano<EMAIL_ADDRESS>Date:   Fri Aug 30 15:11:59 2024 -0300

    esp32: fix initialization with PSRAM + SMP

    Cache flush must be done prior to the APP cpu initalization. This,
    however, must be true for the case where PSRAM is not available or
    not selected. To do that, this commit flushs the cache during the
    device initialization.

diff --git a/arch/xtensa/src/common/espressif/esp_loader.c b/arch/xtensa/src/common/espressif/esp_loader.c
index bf21c5f096..ebbf128044 100644
--- a/arch/xtensa/src/common/espressif/esp_loader.c
+++ b/arch/xtensa/src/common/espressif/esp_loader.c
@@ -273,8 +273,12 @@ int map_rom_segments(uint32_t app_drom_start, uint32_t app_drom_vaddr,
 #endif

 #ifdef CONFIG_ARCH_CHIP_ESP32
-  cache_read_disable(0);
-  cache_flush(0);
+  cache_read_disable(PRO_CPU_NUM);
+  cache_flush(PRO_CPU_NUM);
+#  ifdef CONFIG_SMP
+  cache_flush(APP_CPU_NUM);
+  cache_read_enable(APP_CPU_NUM);
+#  endif
 #else
   cache_hal_disable(CACHE_TYPE_ALL);
 #endif
diff --git a/arch/xtensa/src/esp32/esp32_spiram.c b/arch/xtensa/src/esp32/esp32_spiram.c
index eed50e1fff..7eaa5295ec 100644
--- a/arch/xtensa/src/esp32/esp32_spiram.c
+++ b/arch/xtensa/src/esp32/esp32_spiram.c
@@ -68,13 +68,6 @@
 #  error "FLASH speed can only be equal to or higher than SRAM speed while SRAM is enabled!"
 #endif

-/****************************************************************************
- * ROM Function Prototypes
- ****************************************************************************/
-
-extern void cache_flush(int cpu);
-extern void cache_read_enable(int cpu);
-
 /****************************************************************************
  * Private Data
  ****************************************************************************/
@@ -253,8 +246,6 @@ void IRAM_ATTR esp_spiram_init_cache(void)
   /* Flush and enable icache for APP CPU */

 #ifdef CONFIG_SMP
-  cache_flush(APP_CPU_NUM);
-  cache_read_enable(APP_CPU_NUM);
   regval  = getreg32(DPORT_APP_CACHE_CTRL1_REG);
   regval &= ~(1 << DPORT_APP_CACHE_MASK_DRAM1);
   putreg32(regval, DPORT_APP_CACHE_CTRL1_REG);

Can you also enable SMP for the psram defconfig`, please?

why? how about psram_usrheap?

It's up to you ;) I would enable it too if it works smoothly...

done

I may have found a bug here. Let me debug it properly.

Confirmed. I'm sorry for the confusion. The tests regarding ESP32 + SMP without PSRAM failed because the change in #13249 is valid only when PSRAM is enabled, so we need to make it part of the general case. Can you commit the following to revert it and place it in the correct position:

i created the commit in this PR. (is this what you meant? i'm not entirely sure why you didn't submit a separate PR by yourself.)
when creating the commit, i tried to preserve metadata. but there might be some botches. it would be simpler to use git-format-patch next time.
btw, are these rom functions documented somewhere? i was just making wild guesses from their names.

@tiagojbalmeida
I confirmed that this PR fixes https://github.com/apache/nuttx/pull/13249#issuecomment-2322325239.


fix(member): only allow local as primary body

:tada: This PR is included in version 1.42.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[BUG] useSniffing parameter is actually dontUseSniffing

ECS integration/library project(s) (e.g. Elastic.CommonSchema.Serilog):
Elastic.Serilog.Sinks
ECS .NET assembly version (e.g. 1.4.2):
8.6.1
Description of the problem, including expected versus actual behavior:
The parameter is the opposite of what its name is, that is quite confusing.
See: https://github.com/elastic/ecs-dotnet/blob/eac06c3df532d33c1889cca7dca388216c945dc4/src/Elastic.Serilog.Sinks/ElasticsearchSinkExtensions.cs#L81
Possible solution: https://github.com/elastic/ecs-dotnet/commit/0f0f89448a702c0103eabd5e4cb55df299b40e13

This took embarrassingly long to address, thank you for raising this @kammerjaeger.
This should be fixed once #445 lands.

Maybe add a comment in the release note that this may break existing configurations when deployed

I changed the default to false so there is no breaking change, thanks for calling that out.

Good catch that is a problem, too. But I was more talking about the people like me who actively set it have to inverse the setting with the new release.


Feature/prepare release

Issue
Description
Checklist

Code is easy to understand
No obvious errors or bugs
CI/CD Pipelines did run successfully
Tests were implemented
Documentation was created

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

:exclamation: No coverage uploaded for pull request base (feat/new_platform@3ba0086). Click here to learn what that means.

Additional details and impacted files
@@                 Coverage Diff                  @@
##             feat/new_platform     #266   +/-   ##
====================================================
  Coverage                     ?   37.37%
  Complexity                   ?      271
====================================================
  Files                        ?      170
  Lines                        ?     1830
  Branches                     ?      104
====================================================
  Hits                         ?      684
  Misses                       ?     1119
  Partials                     ?       27

Flag
Coverage Δ

unittests
37.37% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Revert "Add properties file for meshery server"

Reverts layer5io/meshery#1043
https://github.com/layer5io/meshery/pull/1043#issuecomment-633681566
https://github.com/layer5io/meshery/runs/701315774
The PR broke docker action because the get previous tag action associated with the PR only works on releases which have only release version as their tag name. But for meshery release, our tag name is Meshery v0.x.x hence the action is failing & docker push is not happening

@kushthedude
I removed the external action which retrieved me back the previous tag release and I'm using:
git describe --abbrev=0 --tags
Test:
https://github.com/layer5io/meshery-tmp/runs/714426397?check_suite_focus=true


[FLINK-28493][docs] Add document to describe "ANALYZE TABLE" syntax

What is the purpose of the change
This pr is aims to add document for "ANALYZE TABLE" syntax to introduce it's syntax and usage.
Brief change log

Adding a new markdown file named analyze.md to introduce "ANALYZE TABLE" syntax.

Verifying this change
No test cases.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? yes, this pr is a document.

@flinkbot run azure


fw name and version in datasource does not collect correct data object

SDK version = 6.5.0-13
OV appliance version =  6.50.00-0452161
There was an issue (412), it got fixed. You can now add the name, version in the data object ID for a "oneview_firmware_drivers" object. Much better than before, thanks for that. However, I ran into a new issue with this method.
Issue description
I have a Service Pack and a Hotfix.
data "oneview_firmware_drivers" "qlogic_firmware_2_29_2" {
  id = "HPE QLogic NX2 Online Firmware Upgrade Utility for Linux x86_64 firmware, 7.18.82"
}

data "oneview_firmware_drivers" "hpe_service_pack_2021_05_0" {
  id = "Service Pack for ProLiant, 2021.05.0"
}

I created a custom bundle with them.
resource "oneview_firmware_drivers" "hpe_2021_05_0_and_qlogic_2_29_2_bundle" {
  baseline_uri = data.oneview_firmware_drivers.hpe_service_pack_2021_05_0.uri
  hotfix_uris = [data.oneview_firmware_drivers.qlogic_firmware_2_29_2.uri]
  custom_baseline_name = "HPE_2021_05_0_and_QLogic_2_29_2_bundle"
}

So now, if I want to use just the service pack (not the bundle with hotfix), I cannot select that anymore.
Outputting the data object uri shows the problem.
Before creating the bundle:
output "hpe_service_pack_2021_05_0" {
    value = data.oneview_firmware_drivers.hpe_service_pack_2021_05_0.uri
}

OUTPUT:
hpe_service_pack_2021_05_0 = "/rest/firmware-drivers/hpe_service_pack_2021_05_0"

After creating the bundle:
output "hpe_service_pack_2021_05_0" {
    value = data.oneview_firmware_drivers.hpe_service_pack_2021_05_0.uri
}
output "hpe_2021_05_0_and_qlogic_2_29_2_bundle" {
    value = data.oneview_firmware_drivers.hpe_2021_05_0_and_qlogic_2_29_2_bundle.uri
}

OUTPUT:
hpe_service_pack_2021_05_0 = "/rest/firmware-drivers/HPE_2021_05_0_and_QLogic_2_29_2_bundle"
hpe_2021_05_0_and_qlogic_2_29_2_bundle = "/rest/firmware-drivers/HPE_2021_05_0_and_QLogic_2_29_2_bundle"

The "hpe_service_pack_2021_05_0" should still select the same, the Service Pack, not the newly created Bundle. In the UI they are 2 separate objects still. But there is no other way to select them, the 'id' is required, and gives back the bundle in both cases.

We will look into it and get back to you

This is fixed in master branch, Closing it here,


Fix ApiView-Helpers grammar issue

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

@praveenkuttappan could you help take this through the eng/common sync process?


Feature Request :  Simple TODOs.

Hi,
I was recently meddling with the idea of having a simple todo list which could be accessed using the terminal. A place where you can simply scribble down a todo and maybe a date and retrieve them in one command.
I thought I would make it from scratch, but I think it can really go well with jrnl. Is adding a todo feature against jrnl's philosophy? If so, I'll just make something standalone, or else we could work on it for jrnl itself.

Hi all,
I like the basic idea of "Todos" for jrnl.  Though I think that generic tasks shouldn't be tightly linked with jrnl, it seems to me there are certain todos/reminders that would be useful in any journalling application.
Specifically, I wanted a simple means of reminding myself to look back at certain entries (with a little more detail than the star feature).  There are times that I want to check back in on a goal I'd set, or an experiment I started.  Without something to remind me to check back, I can easily forget.  This is especially the case when there are a lot of entries to go through, and it takes time to read everything to find the items you've marked.
Tried using a @todo tag initially, but kept finding I wanted to set that reminder date, especially for things I just want to check back in on after a long time (like a week, month, or year).
Here's a basic implementation of this.  The updated doc shows how it could be used.
Not really suggesting a merge, but thought I'd share just the same, in case anyone was thinking of writing something in this vein.


SkipProperty is not working

How I can exclude the following property DeveloperKey from obfuscation?
namespace A
{
public partial class U
{
[Browsable(false)]
public static string DeveloperKey { get; set; }
}
}
all in "test.dll"

You can refer to the unit test cases for guides on how to use certain features, https://github.com/obfuscar/obfuscar/blob/2.2.35/Tests/SkipPropertyTests.cs


Question: what kind of this string

sir, ty for this beautiful modules, i wanna ask a bit
i've using nodejs and return:
[
  { className: 'Hentai', probability: 0.998166024684906 },
  { className: 'Porn', probability: 0.0016352280508726835 },
  { className: 'Drawing', probability: 0.00019833433907479048 },
  { className: 'Sexy', probability: 4.824803454539506e-7 },
  { className: 'Neutral', probability: 5.4902471902096295e-8 }
]

0.998166024684906 what kind of this one? how can i convert probability value into percent instead or make it more readable?
i tried it decimal into percent but the result is totality wrong. thankyou so much

You can multiply probability by 100 to get percent.  Then you can round it.

You can multiply probability by 100 to get percent.  Then you can round it.

very cool gantman

very cool gantman


Fix CI error

@Chriskuei setup.py也改一下？

@Chriskuei setup.py也改一下？

👌

Codecov Report

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

@@          Coverage Diff           @@
##           master    #785   +/-   ##
======================================
  Coverage    96.3%   96.3%
======================================
  Files          83      83
  Lines        2541    2541
======================================
  Hits         2447    2447
  Misses         94      94

Continue to review full report at Codecov.

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


Using Acados

Hi, where does acados installation should be placed?
I got:
File "/home/ori/ws_sensor_combined/install/px4_mpc/lib/python3.10/site-packages/px4_mpc/mpc_quadrotor.py", line 35, in
from px4_mpc.models.multirotor_rate_model import MultirotorRateModel
File "/home/ori/ws_sensor_combined/install/px4_mpc/lib/python3.10/site-packages/px4_mpc/models/multirotor_rate_model.py", line 34, in
from acados_template import AcadosModel
ModuleNotFoundError: No module named 'acados_template'
[ros2run]: Process exited with failure 1

worked! Thanks!


XMLUI: Update Font Awesome 4.2.0→4.5.0

Updates branding for a few of the social icons we're using. Addresses #159.

I'll do this together with the pull request for #157.


No such file or directory(os error2) -  zeronsd docker on Synology

Im getting Error: No such file or directory (os error 2) when launching the zeronsd docker container on my Synology has that has the zerotier-synology container running on it already. I used the ZEROTIER_CENTRAL_TOKEN environment variable to pass the token and used the execution cmd start -d my.corp . ive also tried with no -d, just start and the network id, same result.
Ive also tried mounting a file from the nas filesystem to /token.txt and pass this on the cmd line as -t /token.txt. but I still just get the same error.
Should I need to set elevated permissions in order to bind to port 53? (ive tired both with and without with no change)

I think you miss this:
You also need to mount your authtoken.secret, which we use to talk to zerotier-one

https://moonstar-x.dev/server-setup/games/zerotier/#docker-compose

Thanks for the tip, that was it. I was going on the info in the GitHub readme that states " (the secret) is auto-detected on multiple platforms including Linux". I guess its not auto-detected on multi-container docker.


File Content Miss-Match Issue

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Bug
->While Opening Files with same name.  There is only one difference is that One File name starts with Small latter and Other one start with Capital Letters, then last opended file content will automatically copied into previous one file.
-> Assumed Both Files are at same path
For Example.
File1 => 'Costing.pm'
File2 => 'costing.pm'

/needsMoreInfo please post version and platform information from Help\About or similar.


Upgrade to TF 2.9.1

This upgrades the actual version of TensorFlow Runtime library to 2.9.1

I think we are good to go with this, merging


fix: Add sso credentials integration test

Issue #

N/A
Description of changes

Adds integration test for SSOCredentialsProvider that uses S3::listBuckets.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/test

/test


Revise align/pdk/finfet abstraction

This PR simplifies the canvas and grid of the mock finfet PDK.

@xiaosen-liu please see the canvas on this branch.

@Lastdayends
With the revised grid on this branch, routing gets significantly slower even for smaller circuits.  Example:
cd tests/pdk/finfet_pdk && pytest -vv -k test_circuits.py -k ota_six
Could you please take a look?

@soneryaldiz
Sure.

@soneryaldiz
Even I reverse the changes for the power grid, the case fails on my local (memory out).
Can this case run in your local?

@soneryaldiz
By the way, in my local, this case is killed before global routing. Could you confirm which stage the case is killed?

@Lastdayends , please check the log file. It might be getting killed for you due to memory. The process is using >30g which seems to be quite high.

@soneryaldiz
There are format issues in the pdk json file.
If you place the metal information as M1, M2, M3, M4, M5 and M6, the problem should be gone. (The same for via, V1, V2, V3, ...)

@Lastdayends , thanks. I revised the layers. Ideally, the code should not rely on the order of layers.

This is ready for review.

@Lastdayends , thanks. I revised the layers. Ideally, the code should not rely on the order of layers.

@soneryaldiz
There should always be some assumptions to read pdk json file, either the metal name are fixed as 'M1, M2, M3, ...' or the order of metal are fixed.
Currently, we are assuming that both the name and the order are fixed.
Those two assumptions are good to me. If you want to break one of the assumptions, we can modify the code.


Update requirements-dev.txt

first of all I updated the requirements-dev.txt then I changed the requirements.txt.

Thanks, we use Dependabot for this.


Fixed extended splash image location

The image was rendering on the incorrect location on Windows 10 Mobile.

Does this negatively impact Desktop splash?

No, the image renders in the same location.


Fix erratic printing of GRADIENT NORM

I've identified the cause and fixed #67. As expected, there was logic suppressing a print statement if the printed quantity was smaller than a threshold value, which is sensitive to rounding details that can change between machines. I have removed this instance, and I would ideally like to remove this type of behavior as it is identified. It's a bit presumptuous to assume that a user don't want to know an output when its value is zero, and I just don't want to deal with these complications to the testing process in any other way than removal (unless there is a very good reason for it).
Status

[x] Ready for merge

Codecov Report

Merging #71 (23fd320) into main (d136be2) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #71   +/-   ##
=======================================
  Coverage   68.23%   68.23%
=======================================
  Files         330      330
  Lines       71706    71706
=======================================
  Hits        48932    48932
  Misses      22774    22774

Impacted Files
Coverage Δ

src/output/writmo.F90
69.73% <100.00%> (ø)

Continue to review full report at Codecov.

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


mimic3: init at 0.2.4

Description of changes
This is an attempt at packaging mimic3. In its current state it builds, but fails at runtime.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I'm not interested in continuing this PR at this time, but perhaps someone else can use this as a basis.


feat: added GitHub Pull Request Template

Pull Request (PR) description
Describe your changes in detail here
Definition Of Done (DoD)
This PR can be squashed / merged if

[x] a developer is assigned
[x] the PR is labeled
[x] a meaningful title has been set according to https://www.conventionalcommits.org/
[x] the PR is described in detail
[x] the PR has been reviewed

Add additional conditions here if necessary for this PR

Nothing special no need for review.


Building stops on mktables.py

Trying to build the library as a part of contour, and the build stops with the error message:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\contour\\3rdparty\\libunicode\\src\\unicode/../../docs/ucd/PropertyValueAliases.txt'

The whole docs folder doesn't seem to be a part of the repo, I guess it was not added?

Please CD into 3rdparty/libunicode and then execute
git reset --hard HEAD
But don't close the ticket yet, as I would like to prevent that from happening in the future. :)

I think we can close this ticket now. master branch contains a cmake option to conditionally enable rebuilding Unicode tables (and API) if a path to an extracted UCD.zip was provided, otherwise a make clean will NOT kill the auto-generated files that are checked in to Git.


Support Conformance test authoring.

Need an example conformance test documented for downstreams to reference.
There are a few features we still need that block downstreams from really using the framework for creating conformance test authoring and running:

reporting results.
https://github.com/knative-sandbox/reconciler-test/issues/65
https://github.com/knative-sandbox/reconciler-test/issues/64
https://github.com/knative/serving/issues/6264

Add others as they are found.

@slinkydeveloper @n3wscott Couple of things based off these samples that came to mind from a quick look:

mtchannelbroker is hardcoded, so what is the recommended way to pass in a different BrokerClass (say, Kakfa)? Or just pass in an already created Broker (by ref? Name?) instead of creating a broker in the test?
I don't see an easy way to test mutations. We have install, but I don't see a way to modify a resource. For example, I'd like to author a test that says: Create MTChannelBasedBroker, then try to change it.

The test for broker conformance is written incorrectly. We need to pass a ref to the broker under test and create the broker external to the conformance run.
The outer wrapper is intended to be copied into the target repo and mutated there, with customizations specific to the test env the rest of the tests need not be aware of.

We are not quite there, I think we can get there in a week.


Fix clone operation to only copy over SimPut files

@TristanWright This will require you to update to Girder master.


Add "TypeAlias" CompletionItemKind/SymbolKind

"Type alias" is whenever an identifier is used to reference another type by a different name, aka "typedef" or "using alias" (see https://en.cppreference.com/w/cpp/language/type_alias ).
Applies to the following languages: C, C++, Objective-C, D, C#, Go, Rust, Swift, and probably other languages.
Our C/C++ workaround is to use the "Interface" icon with the text "(typedef)" or "(type alias)" appended.
For Visual Studio with C++ it shows:

folding into https://github.com/microsoft/vscode/issues/63802


UPDATION IN README.MD FILE REQUIRED

Hello @mdazfar2
the current readme file lacks proper structure and does not contain :

table of contents
featured in section
forkers and stargazers section
back to top button

kindly assign me the issue under gssoc-extd labels so my work counts for these events

@soham0028 As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


Replace xbox 360 driver with another (xbox one)

Is it possible to change the default driver that XOutput uses for another driver?
I mean that instead of emulating an Xbox 360 control, emulate one of Xbox One or PS4.
And congratulations on your software, it's excellent!

The device that is created is done via ScpToolkit or ViGEm. I know that ViGEm has PS4 controller compatibility, but new UI, and mapping logic would be required. This is in my long term to-do list.

And to emulate an xbox one controller would it be easier?
I am more interested in an Xbox One controller than a PS4 controller. As the XOne controller is an "evolution" of the X360, I suppose that it is easier to make the emulation of xone than one of ps4 because microsoft guarantees the use of the XOne controller on a PC, in addition to providing the controller driver.
All these are nothing but my assumptions, I don't know if I can become real. Regards

I love his idea 🎉😍 and it would be great to replace the Xbox 360 controller driver with an Xbox One controller of course if possible?

Yeah, your idea is great

I guess with an xbox one controller, windows recognizes it as such, and the games recognize it as a newer controller. Although thinking about it, I think it's not so necessary, because in the end, both controllers use xinput. If in any future the games are no longer compatible with the Xbox 360 controller, then if the idea would be useful, but I don't know, I don't know a lot about those things.

Aw, we can't now emulate Xbox ONE


allow loading of external modules

we need to install mercurial for this

Thank you for your contribution!
Ive added some notes to your changes and please squash your commits.

thank you for your valuable feedback. I will create new pull requests.


Confusing instructions regarding Prisma server

When I get to this step:

When the browser opens, register with Prisma Cloud and go back to your terminal.

there is no option to register.  Only a button that says "Grant Permission" which then yields the error:

Network error: Unexpected token < in JSON at position 0

After quite some time trying to figure this out, I realize that the problem is that the instructions are unclear.  Running the yarn prisma deploy command opens a tab in the browser which the instructions indicate contains a place to register.  Instead you are presented with only one option which errors.
Please make the docs more clear.  Something like:

Visit http://app.prisma.io and create an account.  After you have completed registration, run the yarn prisma deploy command.

Still, after deciphering that much, I'm still stuck with
/Users/workjeff/Apps/hackernews-react-apollo/server/src/index.js:23
    ...request,
    ^^^
SyntaxError: Unexpected token ...

Any ideas how to get past this now?

Thanks @jmargolisvt for opening this issue 😄. It should be working now. Closing this, please, feel free to re-open this issue if you cannot make it work!


Player name garbled

When the player name is not in English, garbled characters may appear, I modified the imgui initialization and added other fonts to fix this issue
    let mut file = File::open("C:/Windows/Fonts/msyh.ttc").expect("Failed open font file");
    let mut buffer = Vec::new();
    file.read_to_end(&mut buffer).expect("Failed read font file");
    imgui_context.fonts().add_font(&[
        FontSource::DefaultFontData { config: None },
        FontSource::TtfData {
            data: include_bytes!("C:/Windows/Fonts/msyh.ttc"),
            size_pixels: 13.0,
            config: Some(FontConfig {
                oversample_h: 4,
                oversample_v: 4,
                glyph_ranges: FontGlyphRanges::chinese_full(),
                ..FontConfig::default()
            }),
        }
    ]);

I am not proficient Rust and I am not sure if this is the best solution.

Thanks, I'll look into this!

Resolved in 393cea2


correct capitalization of "JavaScript"

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x ] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

Hi,
Thanks for this pull request (PR).
Unfortunately, we are marking this PR invalid for hacktoberfest. We believe it does not follow the recommended guidelines:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove whitespace / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details

Can you please explain why this was rejected?
The "Quality Standards" you referred to, conveniently left off the final bullet point:
● Last but not least, one PR to fix a typo is fine. 5 PRs to remove a stray whitespace... not.
I corrected all instances of "Javascript" to the proper "JavaScript" capitalization in one PR (per the guidelines).

Can you please explain why this was rejected?

Apologies, if the closure came to be harsh.
I am removing the invalid label in good faith.
This would not have mattered anytime of the year, during october we get a lot of spam PRs and our maintainers are in a constant crunch.
The hacktoberfest initiative is supposed to have encouraged good contributions. Sadly we are getting so much spam that do not meet our spirit of contributing. More often than not, people make PRs and are no shows.
Your PR while technically valid and makes correct changes does not come with any additional explanation. It seemed a low effort search-and-replace to me. The title is vague.
An effort in splitting it up for different languages would have been a nicer touch. Any effort in understanding how our repo is structured and what is going to help you land your changes would have been appreciated.
I apologise once again and respect your time and efforts. Please feel free to make a fresh PR. I encourage you to keep contributing.
Thanks.


add support for ultra-ms-logon-2 authentication

this will add support for the ultra-ms-logon-2 authentication used in ultravnc, but right now its really a plea for your help! :-)
the code is still pretty much in PoC mode (but works) until we figure out why the Go DES implementation does not generate the same cipher-text as the code in ultravnc/tightvnc.
to make it work I had to take a detour and use the actual code from vnc... BUT I'm scratching my head on why the normal DES implementation (from Go) does not work. Do you known why?
The code that should have worked is commented:
func encrypt(cipherTextLength int, plainText []byte, key []byte) ([]byte, error) {
	out, err := exec.Command(
		"./ultra-ms-logon-2-encrypt",
		hex.EncodeToString(key),
		strconv.Itoa(cipherTextLength),
		string(plainText)).Output()
	if err != nil {
		return nil, err
	}
	return hex.DecodeString(strings.TrimSpace(string(out)))

	// XXX so the following code should have worked... but the vnc des
	//     implementation does not seem to be standard... so I had to
	//	   create an external application that uses the same C code as
	//     TightVNC/UltraVNC and that works... any idea why?
	// // create zero-padded slice.
	// cipherText := make([]byte, cipherTextLength)
	// copy(cipherText, plainText)

	// block, err := des.NewCipher(key)
	// if err != nil {
	// 	return nil, err
	// }

	// mode := cipher.NewCBCEncrypter(block, key)
	// mode.CryptBlocks(cipherText, cipherText)

	// return cipherText, nil
}

once this is cleared up I think we have enough to write this down on @rfbproto and implement it in vnc2video and noVNC.
can you also have a look at https://github.com/novnc/noVNC/issues/1197? There, I'm also trying to document the ultra-ms-logon-2 authentication and implement it in noVNC.

Is the ultra vnc the only implementation for this auth method? If you can
find a second implementation, maybe in a different language, it may be
easier to follow.  Abot the des alg, there are some parameters that
initialize the enc, like IV,  salt, etc. Which can explain the differences,
to get the same output everything has to be setup exactly the same..
On Wed, Feb 6, 2019, 21:57 Rui Lopes<EMAIL_ADDRESS>wrote:

this will add support for the ultra-ms-logon-2 authentication used in
ultravnc, but right now its really a plea for your help! :-)
the code is still pretty much in PoC mode (but works) until we figure out
why the Go DES implementation does not generate the same cipher-text as the
code in ultravnc/tightvnc.
to make it work I had to take a detour and use the actual code from vnc...
BUT I'm scratching my head on why the normal DES implementation (from Go)
does not work. Do you known why?
The code that should have worked
https://github.com/rgl/vnc2video/commit/06bfc06929d47aee1cabcc497f2053784fff072c#diff-55103b8d471ccd5af796f97a27033629R150
is commented:
func encrypt(cipherTextLength int, plainText []byte, key []byte) ([]byte, error) {
out, err := exec.Command(
"./ultra-ms-logon-2-encrypt",
hex.EncodeToString(key),
strconv.Itoa(cipherTextLength),
string(plainText)).Output()
if err != nil {
return nil, err
}
return hex.DecodeString(strings.TrimSpace(string(out)))
// XXX so the following code should have worked... but the vnc des
//     implementation does not seem to be standard... so I had to
//	   create an external application that uses the same C code as
//     TightVNC/UltraVNC and that works... any idea why?
// // create zero-padded slice.
// cipherText := make([]byte, cipherTextLength)
// copy(cipherText, plainText)
// block, err := des.NewCipher(key)
// if err != nil {
// 	return nil, err
// }
// mode := cipher.NewCBCEncrypter(block, key)
// mode.CryptBlocks(cipherText, cipherText)
// return cipherText, nil
}
once this is cleared up I think we have enough to write this down on
@rfbproto https://github.com/rfbproto and implement it in vnc2video and
noVNC.
can you also have a look at novnc/noVNC#1197
https://github.com/novnc/noVNC/issues/1197? There, I'm also trying to
document the ultra-ms-logon-2 authentication and implement it in noVNC.
You can view, comment on, or merge this pull request online at:
https://github.com/amitbet/vnc2video/pull/1
Commit Summary

add support for ultra-ms-logon-2 authentication WIP
https://github.com/novnc/noVNC/issues/1197

File Changes

D example/client/debug
https://github.com/amitbet/vnc2video/pull/1/files#diff-0 (0)
M example/client/main.go
https://github.com/amitbet/vnc2video/pull/1/files#diff-1 (5)
A example/client/ultra-ms-logon-2-encrypt/Makefile
https://github.com/amitbet/vnc2video/pull/1/files#diff-2 (27)
A example/client/ultra-ms-logon-2-encrypt/README.md
https://github.com/amitbet/vnc2video/pull/1/files#diff-3 (24)
A example/client/ultra-ms-logon-2-encrypt/d3des.c
https://github.com/amitbet/vnc2video/pull/1/files#diff-4 (434)
A example/client/ultra-ms-logon-2-encrypt/d3des.h
https://github.com/amitbet/vnc2video/pull/1/files#diff-5 (59)
A example/client/ultra-ms-logon-2-encrypt/main.c
https://github.com/amitbet/vnc2video/pull/1/files#diff-6 (52)
M security.go
https://github.com/amitbet/vnc2video/pull/1/files#diff-7 (13)
A security_ultra_ms_auto_logon_2.go
https://github.com/amitbet/vnc2video/pull/1/files#diff-8 (175)

Patch Links:

https://github.com/amitbet/vnc2video/pull/1.patch
https://github.com/amitbet/vnc2video/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amitbet/vnc2video/pull/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AC7XAD4XufaANqh0_H4s8fxQcbq1z9i9ks5vKzOLgaJpZM4al_eN
.


JDK 11's javadoc will look for element-list first, then package-list; static.javadoc.io's responses break it

JDK 11's javadoc appears to look first for an element-list file rooted at a URL supplied to it by the -link option.  It does this via URL#openStream().  If that results in an IOException, then it will look for package-list.  But static.javadoc.io's response doesn't trigger an IOException, so javadoc thinks that it has received a proper response.  As an arbitrary example, point your browser here: https://static.javadoc.io/org.eclipse.microprofile.config/microprofile-config-api/1.3/element-list
Relevant source code: https://hg.openjdk.java.net/jdk-updates/jdk11u/file/7fa95481d1ce/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Extern.java#l292
Because of this, -link arguments supplied to JDK 11's javadoc that point to static.javadoc.io will never work.
It would be nice if static.javadoc.io would respond in this one case with a 404 or whatever condition might be needed for javadoc 11 to function properly.
I'd submit a pull request, but it appears this repository is for issue tracking only.
Thanks for a great service!

Isn't 403 an IOException?

microprofile-config-api-1.3-javadoc.jar doesn't really contain element-list: http://central.maven.org/maven2/org/eclipse/microprofile/config/microprofile-config-api/1.3/microprofile-config-api-1.3-javadoc.jar
More likely this is duplicating https://github.com/maxcellent/javadoc.io/issues/20
feel free to re-open if my understanding is wrong.

Nope; still present with a custom user agent.
I see from your response about a jar file not containing an element-list that perhaps you don't fully understand the issue.
The issue is that javadoc in JDK 11 will first request an element-list item, regardless of what package or project is in question.  If that receives a 404 response, then it "falls back" to package-list.  In static.javadoc.io's case, javadoc will not receive a 404 but an XML document.  This does not allow javadoc to "fall back" and ask for a package-list instead.  You need to make static.javadoc.io respond with a 404 when there is no element-list present.

Note that the behavior I describe (of javadoc) is different in each version starting with JDK 9.  To my knowledge, if I recall correctly, both JDK 9 and JDK 10's javadoc ask for package-list first.  But JDK 11 (and perhaps JDK 12; haven't checked) begins what I assume is a trend: ask for element-list first, and if a 404 is received, fall back to package-list.  The way that static.javadoc.io is set up prevents the tool from working properly for non-modular projects.

I can second this, with Java 11 it is not workable, with Java 10 it works due to the described reason. Requesting element-list responds with 403 and an XML file and it does not work further on.

And it is not the user-agent topic, Java 10 and Java 11 default user agents are not (yet) blocked by Cloudflare.

I believe I'm facing this problem.
Here comes the result with the -X option.
[DEBUG] Could not follow https://static.javadoc.io/org.mockito/mockito-core/2.27.0. Reason: Unexpected HTTP status code 403 getting resource https://static.javadoc.io/org.mockito/mockito-core/2.27.0.
[DEBUG] Could not follow https://static.javadoc.io/org.mockito/junit-jupiter/2.27.0. Reason: Unexpected HTTP status code 403 getting resource https://static.javadoc.io/org.mockito/junit-jupiter/2.27.0.

$ mvn -version
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T04:00:29+09:00)
Maven home: /usr/local/Cellar/maven/3.6.1/libexec
Java version: 1.8.0_211, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/jre
Default locale: en_KR, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.4", arch: "x86_64", family: "mac"

I yet don't understand why javadoc tries to getting the resource of / not /package-list.

Hi, @maxcellent; I don't have the ability to re-open this bug, but as I hope you can see it needs to be addressed.  Could you kindly re-open it?

@onacit as you use Java 8, you are not facing this issue, as it does not happen with Java 8 or 9 or 10.


Cleanup Dockerfile

Upgraded to latest rocker image for R 4.0
Removed extraneous unix libraries

Tested and all functionality seems to be working! Looks good to merge


Joining two clusters

If I have two nodes in each cluster such as
Cluster1 -<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Cluster2 -<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Now if I join from<EMAIL_ADDRESS>to 3 as - emqttd_ctl cluster join<EMAIL_ADDRESS>Node 2 leaves its current cluster and moves to the new one. So, the cluster ends up as -
Cluster1 -<EMAIL_ADDRESS>Cluster2 -<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>Is there a way to join two clusters such that it becomes a single cluster? For the above scenario, is it possible to have a single cluster with all 4 nodes when I join as stated above? Please let me know!

@concurrent88 New node joins the cluster, new_node emqttd_ctl cluster join cluster_node

#1065

Invalid issue. A master node should be started first, and the following nodes join in.

Thanks for your response. Can you please explain how to use new_node? I don't see any in the documentation. Also, how to specify a node as master?


mouse callbacks, picking and 3D pos of projected mouse click on mesh

First of all thank you @nmwsharp  so much for this super beautiful visualization library cpp+python!
I wanted to ask how a few things which I fail to find the documentation for and I think might be implemented already -

How do I attach a callback to a mouse event?
How do I get the projection of my click on the mesh (3D coordinates)?
How do I get the picking info - like the face index? closest vertex?

I'm currently trying to assign vector constraints on specific faces through UI and these will be very helpful:)
Thank you so much again!

I am looking exactly for the same information: the 3d coordinates of a mouse click, and willing to construct a geometry central SurfacePoint out of it - have you found a solution @stigersh ?


Cleanup fetch error & add details to sso

When receiving an error from the server, the url should not be shown in the error string.
Only in the SSO screen (no need to replicate this one) -> don't know how to... this is to help with a customer issue

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/9023
https://circleci.com/gh/mattermost/mattermost-mobile/9022

Artifact links:
https://9023-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.ipa
https://9022-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.apk

@josephbaylon hehehe thanks my friend, that is on the okta webpage so not related to us in any way. The url that I’m talking about is in case you can actually login successfully with the sso but something else errors out preventing you from landing in the channel screen


Rerun with -Dflags="-f" trigger tests with previous parameters if @AfterSuite fails

I have some cleanup actions in @AfterSuite if it is fails rerun triggered with same parameters as usual run.
Expected behavior
Rerun should be triggered with parameters frome failures.json if some actions in @AfterSuite fails
Actual behavior
Tests triggered with same parameters
Steps to reproduce

mvn gauge:execute
make some broken test and set something like assert false in @AfterSuite
mvn gauge:execute -Dflags="-f"

as result will be rerun of all executed tests instead of broken test
Gauge version
Gauge version: 0.9.9
Commit Hash: 8db625f

Plugins
-------
html-report (4.0.4)
java (0.6.8)
screenshot (0.0.1)
spectacle (0.1.2)
xml-report (0.2.0)

@NivedhaSenthil Hi, where we can place some not scenario/spec specific rollback steps?
Here is my case:
1)I have suite with 50 spec(3 of them flaky)
2)For one of my test I have broken data, and I make call to this broken data in rollback
3)All broken tests reruns due to fail of rollback

@olejkavn You can also consider using @afterScenario to clean up your data. Or have a look at tear down steps which can do any cleanup needed.
In both the cases, as well as the one mentioned by @NivedhaSenthil ensure that only those flaky tests fail.

@nehashri I can't use it in such case, becasue I want to do bulk rollback in multithread tests
Few scenario/specs can change one entity in my environment, so if i will perform rollback for one of them in multithread tests, I can catch some concurency issues, thats why I preffer to do it in AfterSuite

@olejkavn It is not recommended to use @beforeSuite and @afterSuite hooks to perform tasks which can affect multiple tests when running in parallel.
Both the hooks are executed once per parallel stream that is started. (i.e., if your tests run in two parallel threads; the hooks are executed twice, once in each thread). Are you sure that the reason for the hook failing is not because of this?

@nehashri but we add synchroinzation for those tasks)
counter for threads and last executed thread execute this method in @AfterSuite
so from this side it's ok for us


OLM metadata for 0.12.0

Issue to be fixed
Fixes #
Proposed Changes

OLM metadata for 0.12.0
Instructions on how to install the operator with OLM
.gitignore script scratch dir

Release Note

NONE

Added the old CRD as well now.

/lgtm
/approve


OCR doesn't recognize time from a standard image

Given the image below, the current image parser doesn't properly detect "0:38" for the time. When extracting the text, it retrieves the following text:
11:12 oe

on”

Oey

You finished a Mini puzzle in

LOS)

Broken image:

After enhancing (noise reduction + 2x upscaling) the image to the following image using a conv. neural net (DeepAI's Waifu2x - demo here and github here), I was able to get proper OCR results (after image).

 11:12

ose ey

You finished a Mini puzzle in

0:38

D
ul


I Redesigned the Framework Structure for Better Performance

Issues with the Old Structure:

Excessive Scanning of Source:

The prepare phase fully scans the Source to obtain complete metadata (including file HASH).
The upload process requires re-reading the file data.

Dependency on Metadata from prepare:

Transmission relies on metadata computed during the prepare phase, preventing parallel execution of transmission and prepare.

Inefficient Incremental Information Generation:

Source cannot efficiently generate its file incremental information based on its environment and product requirements.

Key Improvements in the New Structure:

Two Threads in Operation:

Source: Scans data directory information:
a. Retrieves file directory structure to get a list of all files (can generate incremental information based on Source needs).
b. Compiles a list of data blocks.
Target: Requests Engine to fill each data unit, performing final source data reads at this stage:
a. Data compression may occur at this stage.
b. Generates incremental information using default methods if Source hasn't provided it.
c. Packages source data list into data blocks if Target stores in block form.
d. Uploads source data in file form if Target stores in directory form.
e. Computes HASH during data reading for final verification.
f. Target can initiate additional upload threads for performance.

Parallel Execution of Source and Target Threads:

The product can choose to complete the Source thread first to obtain more task information.

The Pseudo-Code is here

I think we have reached a consensus on the big logic and key issues. Now let's write the real code and focus on the following core designs

Chunk CheckPoint & Dir-CheckPoint

ChunkSource implementation (this is very simple)

A more general implementation of Dir Source based on the local directory

A general Backup server protocol, which involves some protocol designs similar to WebDAV.

Implement a Chunk Backup target based on 4

Our python pseudocode is already very complete, and we can try to use AI to build Rust code. However, according to my experience, the Rust code built by AI is not very reliable (even pass compiling is difficult). We can ask AI to generate the framework flow as much as possible (with correct data structure design, type system, and function signature), and then complete the implementation of each component one by one with the help of AI. At this time, AI will perform better.


my account for open4us.org is gone

trying to log in so i can update the page of how to join the open4us community: https://open4us.org. would like to tell folks to request access at the google+ community AND also email<EMAIL_ADDRESS>right now it's impossible to verify who to verify to join community.
can i get my login back? or @pgstacey can just update if he still has account. thanks!

You should be able to reset your password now.


feat: add tag to dialogs from logs

Adds tags to dialogs from logs

If dialog is merged with existing dialog and has 'from-log' tag remove the tag to avoid pollution primary/existing dialog.

Fix bug with tags not being saved on dialogs that have potential merge bug only saved as is.

Took long to find this one as it only occurs under special conditions.
If we don't have potential merge, the tags and description are updated correctly.
If we do have merge and do accept merge tags and description are updated
If we do have merge but do NOT accept it, tags and description were lost
Added an extra "editDialog" call to save these. We could put it up further before the merge modal but that adds extra HTTP request in cases it would be obsolete by next merge dialog request.
I'm not sure why test weren't working on normal run, but here is screenshot

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


What is the function of pacesetter_dict?

Dear author,
Thanks for you contribution!
When I was reading the code and trying to run my own custom ResNet18 with rr/exp_resrep.py, I am confused by some variables.
For example,  in rr/exp_resrep.py, there is a variable named pacesetter_dict, which is from the function of resnet_bottleneck_follow_dict.  pacesetter_dict is fed to resrep_config. However, when I check the ResRepConfig and  ResRepBuilder, I only see that the resrep_config.target_layers is explicitly used. I may miss some parts but I have not found how is pacesetter_dict used.
So I want to ask

does it matter I give a random pacesetter_dict when I implement other models?
What is the meaning of pacesetter_dict and resnet_bottleneck_follow_dict?

Solved.


Add linting

Add tslint
Add rules from:

codelyzer
tslint-microsoft-contrib
tslint-sonarts

Coverage remained the same at 100.0% when pulling 79bb5b1fc16e2179f220b38dc184447c9c6cd96f on squelix:add_linting into 2eda33307361b3d7c9d8b5b2a2f494449b7a1337 on fknop:master.

up ?


Add config option for tenant field

I'd like to use this for a simple multi-tenant application where these records would be separated by a team_id field. The field can easily be added by another migration, but I would like for a way to configure a field that should be used to store the tenant id. I imagine this could easily be done using the PanConfiguration class. I might submit a PR for this unless there are any strong objections to this?

Hello, we tried to solve the issue.
This is what we did:
Added a new property tenantIdField to the PanConfiguration class to store the tenant ID field name. Updated the constructor, getter, setter, and toArray method to include this new property. Also added a new static method tenantIdField to set the tenant ID field name.
You can review changes in this commit: https://github.com/jacks-sam1010/panphp-pan-43/commit/4e21394e8c82ade49c2986573b5bb22635be1f19.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


Default of contentInsetAdjustmentBehavior is incorrect

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
ReactNative 0.50 (which is the only relevant part in this case)
Steps to Reproduce

Go to the ReactNative-docs of ScrollView, in particular the section about contentInsetAdjustmentBehavior
Go to the UIKit-docs of contentInsetAdjustmenBehaviour
Compare the default value of never for ReactNative and automatic for UIKit.

Expected Behavior
Since this is an iOS specific option of ScrollView, I'd expect that we would follow the default setting that UIKit has.
Actual Behavior

The default value of contentInsetAdjustmentBehavior is never for ReactNative
The default value of contentInsetAdjustmentBehavior is automatic for UIKit

Reproducible Demo
Not relevant in this case.

@react-native-bot This issue does not need react-native info.

Can someone please take a look at this?

If this is something people want to change, the thread that @hawkrives has insight into why the default was chosen. If a PR is sent to change this, please copy the people involved in that thread.

Hello there 👋 this issue seems to have been inactive for the past few months. Because of this, it's likely that the issue is not a high priority anymore or it has been solved by OP; for these reasons, we'll close it.
But please, if it's actually still an issue with 0.59 please comment below and we can reopen it or please send us a Pull Request with a fix 😊