Script for removing muni cats from images already in church cats

Task: T177320

Relies on https://github.com/lokal-profil/BatchUploadTools/pull/33 being merged and a new release being published

restarted builds

Did a small testrun here


Allow developers to see Adaptive Card errors and warnings inside widgets

Suggested new feature or improvement
When we try to render an adaptive card and get a warning or error, we always show the same error message in the widget. It would be much more helpful to widget developers if we showed the actual errors and warnings. However, we don't necessarily want to show these detailed errors to non-widget developers, who don't care.
Our two options are:

Gate this feature to Dev versions of Dev Home, meaning a developer would have to build Dev Home themselves
Create a "developer mode" within Dev Home, that a user could turn on to show these errors.

We could implement 1, then move to 2.
Scenario
Widget developers get more information. Would any other features be useful in this context?
Additional details
No response

You could use built-in for this purpose Widget native APIs:
IWidgetProviderErrors
IWidgetProviderAnalytics


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 11:33:29 on 2023.05.30
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 0, errors out: 0
Original problem ID: 22957
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=22957

Problem has been resolved in 9m 0s at 11:42:29 on 2023.05.30
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 22957


Updates for Julia 0.5

Coverage decreased (-7.6%) to 88.018% when pulling 007a031b7124c66efb01ff5fc99bf64c2823fed1 on aa/update-ci-0.5 into 53edcb08ab041a639fed16dc442fb9afd2dc8af5 on master.


B7d Day and Night

Reorganized files to sequester files that go in only one map or in both maps.
*Day and Night mode variants
*Waterfall cabin rebuild.
*Pool cabin has extra props.
*Lights have been rebalanced
*HDR is now supported.
*Added a couple of secret areas
*Merasmus phase fixes
*Cleaver bugfixes
*Other balance changes.
*Map credit room in museum
*Art contest submissions updated
-credits in credit room

Didn't have correct version of the map, didn't have art resources


Use EnumerableUtils to get filter

map may also be one you wish to use this way, as it is es5+ only

Is the goal here to remove the use of Ember.A entirely? This is to handle applications where extend prototypes is false.

Closing in favor of https://github.com/firebase/emberfire/pull/190


Improve instructions for using with Immutable.js

It was easier for me to think of the reducer by first knowing where
the state was expected to be. Writing it the other way around was
confusing
Add that the action payload data must go into the
locationBeforeTransitions property

Closes #415

Thanks!


bug: Doesn't work. Am I doing something wrong?

Screenshots

Setup details

Game store: Steam
OS version: Latest stable Windows 10 Home 22H2
GPU model: RTX 3080
GPU driver and version: Latest game ready diver (560.70)
Mod version: Latest

Additional context
Came over here from the original file because the GUI would not work either
I am also using the improved graphics mod because they showcased this mod on there so I don't know if that would affect anything

Hey! Thanks for checking out the mod.
You seem to be missing the aliasIsolation.asi file from the archive included in the download for the mod.
It should be extracted to the same folder as AI.EXE in the screenshot you sent (thanks for that!).
You have d3d11.dll and the mods folder in that folder, which is correct, so adding the .asi should make it work.

Thanks so much for the super fast reply!
It worked and it looks great.
Before this I was using DLDSR to fix the problem but I didn't want to have to do that anymore just for power consumption reasons so this is the best solution I have seen out there.
Here's a screenshot now that it is fixed

No worries! Happened to be checking my phone when you sent the issue in. Glad you like it.
It's a great mod, and it was nice to get it working a bit better (also works on Steam Deck now compared to the original 2016 version)!
Still improvements I want to attempt with regards to performance (open spaces can hit the FPS kind of hard compared to the stock game).
I think some more logic could be moved to the shaders to save on CPU usage and make it more efficient.
Hope you enjoy your game!


usaddress.RepeatedLabelError

Feel free to close this out.
KASLO CRK SOUTH FORK RD, WOODBURY CREEK, BC

This string reads like a real address (it has all the usual parts, and I as a human can figure out what they are), so perhaps usaddress should have been able to handle it. On the other hand, it appears to not actually be a real place in BC (at least not by any formal standard) so maybe it's fine that it failed.
http://apps.gov.bc.ca/pub/geocoder/addresses.geojson?addressString=KASLO+CRK+SOUTH+FORK+RD,+WOODBURY+CREEK,+BC
It's "real" though, in that it appears on a voters list.

Weird! We also don't support Canadian addresses, so that could be a source of error.
Hope everything else worked out for you – feel free to open another issue if you need more support.


Port codegen arrow deserializtion to arrow-rs

Related

Part of https://github.com/rerun-io/rerun/issues/3741
~Blocked by https://github.com/apache/arrow-rs/pull/6901~

What
Port arrow deserialization codegen to arrow-rs
Unfortunately something broke in the tensor deserialization, likely due to interior mutability:

https://github.com/rerun-io/rerun/issues/6819
https://github.com/rerun-io/rerun/issues/6830

TODO

[ ] Run @rerun-bot full-check

@rerun-bot full-check

Heads up: full check is failing


python setup.py failed on Python 3.6

Hi,
I'm following this instruction, and failed on the last step.
git pull https://github.com/nettitude/scrounger.git
cd scrounger
bash setup.sh
pip install -r requirements.txt
python setup.py develop

Here is the error message.
(py3) @joel:scrounger $ python setup.py develop
running develop
Traceback (most recent call last):
  File "setup.py", line 77, in <module>
    install_requires=['paramiko', 'biplist', 'langdetect']
  File "/opt/anaconda3/envs/py3/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/opt/anaconda3/envs/py3/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/opt/anaconda3/envs/py3/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "setup.py", line 50, in run
    _create_custom_modules_paths()
  File "setup.py", line 17, in _create_custom_modules_paths
    for module_type in module_types.split("\n"):
TypeError: a bytes-like object is required, not 'str'

(py3) @joel:scrounger $ python -V
Python 3.6.2 :: Continuum Analytics, Inc.

Any clues?
Thanks,
Joel

Yes, scrounger is not prepared to run with python3.
All tests were made using python2.7.
Sorry about that.
I'll have a look into it and add it as an enhancement request.

HI , what's the latest iOS version and Jailbreak that Scounger modules will work with?

HI , what's the latest iOS version and Jailbreak that Scounger modules will work with?

Hi, I am personally using iOS 12.1.2 on my test device, jailbroken with unc0ver. That being said, Scrounger relies on the tools listed here: https://github.com/nettitude/scrounger/blob/master/README.md
As long as those tools work on your device, then Scrounger should not have a problem.


Search results

As someone with a business interruption to their web presence I need to be able to search so that I can find a solution to my use case.

thinking of using lunr. Need to build an index for a static site from the sitemap. Lazy load the index when the page is loaded before they type in a search term.  Display results on the index page if ?s=hello.

did #21 to make dev be with node-vite. Need to make a vite plugin that builds the index and can be consumed by both wp-pwa and my vike setup.


opensearch auth times out when using opensearch plugin

(check apply)

[ X] read the contribution guideline
[] (optional) already reported 3rd party upstream repository or mailing list if you use k8s addon or helm charts.

Steps to replicate
Provide example config and message
<label "@#{ENV['ENDPOINT_NAME']}">
  <match **>
    @type "opensearch_data_stream"
    @id "out-aws-es-#{worker_id}"
    @log_level "#{ENV['OUTPUT_LOG_LEVEL']}"
    log_es_400_reason true
    logstash_format false
    data_stream_name "ds-#{ENV['ENDPOINT_NAME']}"
    include_timestamp true
    include_tag_key true
    time_key timestamp
    flush_interval 5s
    slow_flush_log_threshold 135.0
    reconnect_on_error true
    reload_on_failure true
    reload_connections false
    request_timeout 300s

    <buffer>
      @type memory

      chunk_limit_size 20MB
      flush_mode interval
      flush_interval 5s
      flush_thread_count 12
      flush_at_shutdown true
      retry_max_times 2
      retry_wait 60s
      retry_type exponential_backoff
      retry_exponential_backoff_base 3
      retry_timeout 30m
      overflow_action drop_oldest_chunk
      disable_chunk_backup true
      total_limit_size "#{ENV['TOTAL_BUFFER_SIZE']}MB"
    </buffer>

    <endpoint>
      url "https://#{ENV['ES_ENDPOINT']}"
      region us-east-2
      assume_role_arn "#{ENV['COLLECTOR_SVC_ROLE']}"
    </endpoint>
  </match>
</label>

When using the opensearch plugin, we now get lots of errors like this on our fluentd collectors:
"error": "#<Fluent::Plugin::OpenSearchOutput::RecoverableRequestFailure: could not push logs to OpenSearch cluster (ds-janus): [400] {"Message":"You have exceeded the number of permissible concurrent requests with unique IAM Identities. Please retry."}>"
Expected Behavior or What you need to ask
We're wondering if this is due to fb04e91d0cb9981e6174b1adc128b3a4016ae577
Prior to implementing this plugin within our collectors we did not have this problem.
Using Fluentd and OpenSearch plugin versions
Fluentd v1.14.4-1.0
AWS Opensearch 1.2
fluent-plugin-opensearch 1.0.7

Not too good with Ruby but I assume adding a line like this here might help?
https://github.com/Barracuda-CloudOps/fluent-plugin-opensearch/blob/main/lib/fluent/plugin/out_opensearch.rb#L239
duration_seconds: conf[:refresh_credentials_interval.to_s]

https://github.com/fluent/fluent-plugin-opensearch/pull/78 works for you?

We've also noticed that the auth request doesn't seem to pass in a maximum session duration. It would make sense to set this to the same as the refresh_credentials_interval so that it doesn't expire before then.
RecoverableRequestFailure error=\"could not push logs to OpenSearch cluster (datastream-test): [403] {\\\"message\\\":\\\"The security token included in the request is expired
This is after changing refresh_credentials_interval to 10h and the maximum session duration on the role has been set to 12h.
Per AWS:
To learn how to view the maximum value for your role, see View the maximum session duration setting for a role. If you do not pass this parameter, the temporary credentials expire in one hour.

Is there a solution for this? We are also having the same issue :thinking:

Same issue here. This is critical. Any workaround? I thought that by setting refresh_credentials_interval it would work.

What version are you on?
Isn't #74 solves the problem?
It has been merged and released in v1.1.1.
Do you think the problem still exist in v1.1.1 or above?

What version are you on?
Isn't #74 solves the problem? It has been merged and released in v1.1.1.
Do you think the problem still exist in v1.1.1 or above?

The fluent-operator automatically updates the plugin's version. I only noticed this update you mentioned because fluentd started throwing errors as discussed here:
https://github.com/fluent/fluent-operator/issues/814

Issue persists and is even worse now:
https://github.com/fluent/fluent-plugin-opensearch/issues/107


C++: ExternalProject compilation for Thrift fails on older CMake versions

Reporter: Uwe Korn / @xhochy
Assignee: Uwe Korn / @xhochy
Note: This issue was originally created as PARQUET-879. Please see the migration documentation for further details.

Uwe Korn / @xhochy:
PR: https://github.com/apache/parquet-cpp/pull/245

Wes McKinney / @wesm:
Issue resolved by pull request 245
https://github.com/apache/parquet-cpp/pull/245


Rework the mangareader multisrc

A lot of websites using the mangareader theme has popped up since the multisrc theme was made, so this rework aims to make it easier to add them.
Checklist:

[ ] Updated extVersionCode value in build.gradle for individual extensions
[x] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[ ] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[ ] Added the isNsfw = true flag in build.gradle when appropriate
[ ] Have not changed source names
[ ] Have explicitly kept the id if a source's name or language were changed
[x] Have tested the modifications by compiling and running the extension through Android Studio
[ ] Have removed web_hi_res_512.png when adding a new extension

Let's merge this after the migration. It's too painful to edit in the current project architecture.

Continued in #1241


cache invalidation on multiple servers

Hi,
We've been using efcache in our new projects, but bumped into a problem since we pushed to our live environment. In our live environment we've got 2 servers and a load balancer.
Now when the cache is invalidated (because of an update to the data), this only happens on one server. The other server keeps the old cache, and data is out of sync.
Is there any way to get 2 (or more) servers to invalidate the cache at once? In older projects we used a file dependency on a shared file server to invalidate cache, is there any way to do this with efcache?
Kind regards,
Ruben

The default implementation is using memory cache so each server caches results independently. You can plug in a different implementation (e.g. Redis based) which will be shared by all the servers. In this scenario the cache is common to all the servers.


Fixed syntax for printJson.sh call in printJsonSave.sh

Hi @oksuzian,
You have proposed changes to files in these packages:

Scripts

which require these tests: build.
@Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main.
:hourglass: The following tests have been triggered for 959f9d864e3d7e0cf5518aec29e6c263877066a8: build  (Build queue is empty)
About FNALbuild. Code review on Mu2e/Offline.


fix: adding default value and NOT NULL

PK is now allowed to have null values so we need to set a default value for the new columns and set them to NOT NULL

Small improvement on the commit message will be  "fix(migrations):......"


The value of image caption evaluation

Thanks for your great work! Polaris fills a gap in the field of datasets and Polos inspires me a lot.
However, I am trouble with the value of image caption evaluation metrics. Firstly, image captioning task seems to have few applications now, and secondly, metrics aim to choose better caption, but the models in recent years can generate very good caption so it seems to
have no need for further evaluation.
Do you think it is valuable to develop more image caption metrics like Polos? Look forward to hearing your opinion.

sorry for repeated comment


Bump redis to 0.25.2

I need redis-rs/redis-rs#1035 so my threads stop unrecoverably panicking when one of my shards is murdered

There are some deprecation warnings in the new version. I just published it anyhow. Will have a closer look on the new aio stuff when I have some time on my hands. Thx for this clean PR.


Sum Descriptor parser error

We use , to split config in function parse_sum_descp. It will fail if this descriptor refers to other descriptor, for example
Sum(Scale(0.66, tdnnf7.dropout), tdnnf8.dropout)

Thanks for your testing. This using case of 'Sum' descriptor was not supported yet. We are looking into it and try to make it work.

How about to depend on kaldi srcs directly. We can just convert its components and don't need to generate a computation graph from scratch.

We need a computation graph to make an ONNX model.

@yzmyyff Already fixed. Feel free to reopen this issue if there is any problem.


Refactors idents

Identifiers must be of the form _?[a-zA-Z][a-zA-Z0-9]+[!]?

?[a-zA-z][a-zA-z0-9]+[!?]?


bump to v0.9.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@ocefpaf I bumped the version from v0.9.0 to v0.9.1 and I also rerendered the feedstock ...

Thanks @bjlittle!


Ethan: Watch doctorshanani.co.za

Ethan requests the watch of the watch_keyword doctorshanani\.co\.za. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

doctorshanani\.co\.za has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


use toHashCode() with HashCodeBuilder, not hashCode()

Hi @mebigfatguy, thanks for your contribution!
In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

You did it @mebigfatguy!
Thank you for signing the Contribution License Agreement.

Thanks for this....Could you please re-target your pull request to the titan11 branch?

moved to titan11 (one commit was already done on 11)


Data binding in

After upgrading from polymer 2.1.0 to 2.1.1 or 2.2.0, data bindings in

Bindings in CSS stylesheets was never intended to work, but accidently worked. If you want to use databindings, use https://www.polymer-project.org/2.0/docs/devguide/custom-css-properties#style-api to dynamically update the value of a CSS variable.

I have found bindings in CSS to be an extremely useful feature! What was the rationale for not supporting this?

There is a lot of poblems mixing js or binding with styles, some one loves this other hate it.
personaly i prefer get my css clean of logic because with single responsability principle it is easy to mantain the code.
if you want use variables and functions in css, may be you could archive the same with scss and not use  binding inside your css.
most of the scenarios can be fullfiled adding classes with binding to the html and having the diferent states helping you to have clear concern separation in the components.
here is an example
https://codepen.io/guzmanator/pen/ZXdMgY
I know i did not answer your question, you find a "way" of get the job done, and now some body just decide to get it from you, I was only trying to offer you other choices to get the same results without using binding in css

Data binding into CSS is unsupported because of all the wonderfully complicated transformations required to polyfill @apply, CSS Custom Properties, and ShadowDOM style scoping.

Closing this issue per above comments. For compatibility reasons (and in general not running into issues with the polyfill) we advise you to use CSS variables instead. It is unfortunate we didn't discover this bug earlier, to discourage its use, but we retroactively had to fix it. Using CSS variables should be rather straightforward in conjunction with this.updateStyles.
Let us know if you are running into issues when migrating off the bindings and we can help you out!


How to get concurrency from cupy Streams

I'm looking at using Streams for concurrency, but am confused by how they operate.  This issue describes some simple experiments and asks for help.  If there is a better place to ask this sort of question please let me know.  I would be happy to move it.
Looking at the examples and documentation I believe that code placed within a stream context manager executes concurrently to code on other streams.  I tried to test this recently and was unable to get speedup.
map_reduce.py example
First I tried running and modifying the map_reduce.py example in cupy/examples/streams.  I ran it normally, and also using a single stream with the following diff.
diff --git a/examples/stream/map_reduce.py b/examples/stream/map_reduce.py
index 365b67c..de59c7c 100644
--- a/examples/stream/map_reduce.py
+++ b/examples/stream/map_reduce.py
@@ -11,8 +11,9 @@ zs = []
 map_streams = []
 stop_events = []
 reduce_stream = cupy.cuda.stream.Stream()
-for i in range(n):
-    map_streams.append(cupy.cuda.stream.Stream())
+# for i in range(n):
+#     map_streams.append(cupy.cuda.stream.Stream())
+map_streams = [cupy.cuda.stream.Stream()] * n  # use one stream

 start_time = time.time()

I found that there was no difference in performance.
With threads
I was also surprised that calling code within a context manager allowed cupy to run it concurrently.  I thought that maybe it was necessary to call this code in another CPU thread to allow many concurrent calls down to the GPU.
I tried a few approaches in this notebook and was unable to get a speedup: https://gist.github.com/mrocklin/d3b70cea6a555ae2387556e4f0808ac1
I suspect that I am doing something incorrectly here.  Perhaps I have not configured my environment correctly?  I apologize for my ignorance here.  Any help would be very welcome.

I am also having trouble with this. Creating Streams with Stream(non_blocking=True) doesn't seem to help either.
I tried this for the example at https://github.com/cupy/cupy/blob/v5/examples/stream/map_reduce.py with no success.

I am still curious about this issue.  Is my understanding above correct?  Or is there some way to get concurrency from using CuPy streams.  I'm happy with either answer, I'm just curious on how to proceed.  I would be happy to help find people to resolve this issue if it is indeed a bug.

I am facing the same issue. I am trying to parallelise memcpy using multiple streams. But the streams seem to run sequentially. Here is the nvvp profiler snippet.

The issue is highlighted here: https://stackoverflow.com/questions/53692278/how-would-you-run-two-streams-concurrently-in-cupy?noredirect=1#comment94241226_53692278

@mrocklin I think you found a bug, see #2524. In this example, all operations were serialized, which is why you didn't see any performance gain.


Honda Civic & CR-V Bosch: remove OBD-reliant ECUs

https://github.com/commaai/openpilot/issues/31244 hasn't plugged in their comma power. I checked a few VINs with different first character prefixes (different regions) and they all return fwdRadar, fwdCamera, eps, srs on bus 1, non-OBD multiplexed
Civic Bosch checked:

f1109d8294ea80ac|2024-01-30--10-44-56
f5392228324cda8d|2024-01-13--17-01-57
dd8aedf56faa8661|2024-01-31--18-02-17
f99ab12043ad3219|2024-01-29--14-04-34
fa1dc48cb5a31191|2024-01-31--14-37-42

CR-V Bosch checked:

ffa76986ec8e871e|2024-01-31--07-53-40
fd114cff219d3bb8|2024-01-05--06-24-31

Checking mock routes last 90 days: Checked routes: 7287, dongles: 311 platforms: {'mock': 7287}
Found 16 dongles that had mock routes that now fingerprint to one of these platforms! They likely didn't have the comma power plugged in at the time.

The lost ECUs could have a substantial amount of info relevant for fuzzy FP in the future, leaving them in database for now in case it helps.
Instead we will add the cars/ECUs to the non_essential_ecus dict in the config which won't change fingerprinting behavior for comma power cars. Despite the fact I found only one case where a dongle failed to fingerprint after this change due to missing versions (not ECUs), it could still impact fingerprinting for future users, so going to take this approach first. We can always remove the FWs in the future when the majority of users aren't using a power and there's no point in keeping them.

Why only for two cars? Do we expect this to scale to other models?

Yes, I just did the verification for the user's car in that issue to look out for issues on a smaller sample. Next is to verify each model (not sure if we get different ECUs per architecture, platform, or even by MY yet).


Fix duplicate ELB name error

What this PR does / why we need it:
When you bring up an Jenkins in your cluster, you will get an AWS/Terraform error to tell you that you try to create 2 ELBs with the same name. This changes solves this by adding the Name of the role to the ELB name. This also fixes the double - in the name.
DEBU[0136] Error: Error applying plan:  app=tarmak module=terraform std=err
DEBU[0136]                                               app=tarmak module=terraform std=err
DEBU[0136] 1 error occurred:                             app=tarmak module=terraform std=err
DEBU[0136]                                               app=tarmak module=terraform std=err
DEBU[0136] * module.kubernetes.aws_elb.kubernetes_worker: 1 error occurred:  app=tarmak module=terraform std=err
DEBU[0136]                                               app=tarmak module=terraform std=err
DEBU[0136] * aws_elb.kubernetes_worker: DuplicateLoadBalancerName: Load Balancer named mattiasmulticluster--ingress already exists and it is configured with different parameters.  app=tarmak module=terraform std=err
DEBU[0136] 	status code: 400, request id: 49e7eaf5-7527-11e8-88b4-d950d7f894c9  app=tarmak module=terraform std=err
DEBU[0136]                                               app=tarmak module=terraform std=err
DEBU[0136] Terraform does not automatically rollback in the face of errors.  app=tarmak module=terraform std=err
DEBU[0136] Instead, your Terraform state file has been partially updated with  app=tarmak module=terraform std=err
DEBU[0136] any resources that successfully completed. Please address the error  app=tarmak module=terraform std=err
DEBU[0136] above and apply again to incrementally change your infrastructure.  app=tarmak module=terraform std=err
DEBU[0136]                                               app=tarmak module=terraform std=err
DEBU[0136]                                   app=tarmak module=terraform std=err
ERRO[0136] Tarmak exited with an error: exit status 1    error="exit status 1"

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
This can be a breaking change, but there is no real way around it I think.
Release note:

Fix duplicate ELB name

/assign @simonswine

/approve
/lgtm


Config issues: Tab space size not applying when Workspace setting uses default value

Issue Type: Bug
The default value of Tab space is 4.
Now, I like to use 3 typically, so my User setting is 3.
I am working on a project where we are using 4 and we rely on spaces instead of tabs, so I've set the Workspace settings to 4 spaces so the indentation remains the same.
When creating a new file on this workspace, the file will use my User setting (3 spaces), probably due to the fact my Worskpace setting is set to the default. If I set my Workspace setting to 5, for instance, THEN a new file will use the Workspace setting instead of my User setting.
It'd seem to be something related with the Workspace setting being at default value so it doesn't overwrite the User setting.
Cheers!
VS Code version: Code 1.32.0 (507312a3e3b34b084b467dfd983263bc7c9d87e0, 2019-03-06T18:52:50.880Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.55GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

solargraph
cas
0.19.3

compulim-vscode-closetag
Com
1.2.0

vscode-eslint
dba
1.8.2

gitlens
eam
9.5.1

EditorConfig
Edi
0.13.0

godot-tools
gee
0.3.7

twig-language
mbl
0.7.1

dotenv
mik
1.0.1

vscode-less
mrm
0.6.3

vsliveshare
ms-
0.3.1403

ruby
reb
0.22.3

Which language is this for?


Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.

Location: popup.html:0 (anonymous function)
<!DOCTYPE html>

    <link rel="stylesheet" href="styles.css" />

Chat Activity Tracker

    <button id="generateReport">Generate Report</button>

```

The error you're seeing, Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist., is usually because the tab you're trying to send a message to isn't ready to receive it. This could be because the tab hasn't finished loading, or because the content script hasn't been injected yet.
Manifest V3 introduced service workers as background scripts, which unlike background pages in Manifest V2, are not long-lived. They shut down after being idle for a few seconds, and are restarted whenever there's a new event for them to handle. This could be the reason why your content script is not ready to handle the messages.
To handle this, you should add some logic to check if the content script is ready to receive the message. One simple way to do this is to try sending the message and retry after a short delay if it fails.
This issue is fixed by adding the following code to the popup.js file
function sendMessageToContentScript(tabId, message) {
  chrome.tabs.sendMessage(tabId, message, (response) => {
    if (chrome.runtime.lastError) {
      // An error means the content script is not ready, wait a bit and retry
      setTimeout(() => sendMessageToContentScript(tabId, message), 100);
    } else {
      // No error means the message was sent successfully
      console.log("Message sent successfully: ", message);
    }
  });
}

This code will keep trying to send the message until it succeeds. The delay of 100 milliseconds should be enough to wait for the content script to be ready to receive the message.
Be aware that this could potentially create an infinite loop if the content script never becomes ready to receive the message, so you might want to add some logic to stop trying after a certain number of attempts. I will leave this issue open until this is also addressed.


New article "Advanced Highlighted Content Web Part" for issue 388

Please use this template to ensure easier processing of your pull request
Category

[ ] Content fix
[x] New article

Related issues

fixes #388

Contents of the Pull Request

New Community Docs article for Issue 388, on learning the Highlighted Content Web Part.

Guidance

This article has included screenshots.

Docs Build status updates of commit 43314cb:
:warning: Validation status: warnings

File
Status
Preview URL
Details

Community/highlighted-content-web-part.md
:warning:Warning
View
Details

.vscode/settings.json
:white_check_mark:Succeeded

Community/media/highlighted-content-web-part/hcwp01.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp02.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp03.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp04.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp05.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp06.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp07.png
:white_check_mark:Succeeded
View

Community/highlighted-content-web-part.md

Line 2, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion: manager-missing - See documentation] Missing required attribute: 'manager'. Add a valid Microsoft alias for the author's manager.
Line 61, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-365/community/what-is-site-column' will be broken in isolated environments. Replace with a relative link.
Line 63, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-365/community/list-column-or-site-column-which-one-to-choose' will be broken in isolated environments. Replace with a relative link.
Line 81, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-365/community/how-do-site-columns-become-managed-properties-thus-available-for-search' will be broken in isolated environments. Replace with a relative link.
Line 85, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/manage-search-schema' will be broken in isolated environments. Replace with a relative link.
Line 111, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/general-development/keyword-query-language-KQL-syntax-reference' will be broken in isolated environments. Replace with a relative link.
Line 171, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/schema/query-schema' will be broken in isolated environments. Replace with a relative link.
Line 381, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-365/community/how-do-site-columns-become-managed-properties-thus-available-for-search' will be broken in isolated environments. Replace with a relative link.
Line 383, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/technical-reference/crawled-and-managed-properties-overview' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Thanks so much for the article, @PatD! We will review this week.

Docs Build status updates of commit da49c1f:
:warning: Validation status: warnings

File
Status
Preview URL
Details

Community/highlighted-content-web-part.md
:warning:Warning
View
Details

.vscode/settings.json
:white_check_mark:Succeeded

Community/media/highlighted-content-web-part/hcwp01.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp02.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp03.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp04.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp05.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp06.png
:white_check_mark:Succeeded
View

Community/media/highlighted-content-web-part/hcwp07.png
:white_check_mark:Succeeded
View

Community/highlighted-content-web-part.md

Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 5, Column 1: [Warning: yaml-header-syntax-error] While parsing a block mapping, did not find expected key.
Line 1, Column 1: [Suggestion: manager-missing - See documentation] Missing required attribute: 'manager'. Add a valid Microsoft alias for the author's manager.
Line 1, Column 1: [Suggestion: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 60, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-365/community/what-is-site-column' will be broken in isolated environments. Replace with a relative link.
Line 62, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-365/community/list-column-or-site-column-which-one-to-choose' will be broken in isolated environments. Replace with a relative link.
Line 80, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-365/community/how-do-site-columns-become-managed-properties-thus-available-for-search' will be broken in isolated environments. Replace with a relative link.
Line 84, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/manage-search-schema' will be broken in isolated environments. Replace with a relative link.
Line 110, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/general-development/keyword-query-language-KQL-syntax-reference' will be broken in isolated environments. Replace with a relative link.
Line 170, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/schema/query-schema' will be broken in isolated environments. Replace with a relative link.
Line 380, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-365/community/how-do-site-columns-become-managed-properties-thus-available-for-search' will be broken in isolated environments. Replace with a relative link.
Line 382, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/technical-reference/crawled-and-managed-properties-overview' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


http page request https resources

Gitea version (or commit ref): 1.13.0+dev-664-g2dbca92a0
Git version:
Operating system:
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

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

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

Log gist:

Description
open http://domain/api/swagger
page request https://domain/swagger.v1.json
...
Screenshots

I think you have set the ROOT_URL wrong in your config


chore(feat-multi-module-components): release 0.76.8

:robot: I have created a release beep boop
0.76.8 (2022-11-18)
BugFixes

fogg gh ci invalid yaml (#37) (938dda9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/vincenthsh/fogg/releases/tag/v0.76.8 :sunflower:


Add script to clean up leaked IP in host-local plugin

Signed-off-by: gran<EMAIL_ADDRESS>

Codecov Report

Merging #3968 (cab45bf) into main (6bbdb2a) will increase coverage by 2.38%.
The diff coverage is n/a.

:exclamation: Current head cab45bf differs from pull request most recent head 8854080. Consider uploading reports for the commit 8854080 to get more accurate results

@@            Coverage Diff             @@
##             main    #3968      +/-   ##
==========================================
+ Coverage   64.44%   66.82%   +2.38%
==========================================
  Files         294      296       +2
  Lines       43627    43671      +44
==========================================
+ Hits        28116    29184    +1068
+ Misses      13226    12197    -1029
- Partials     2285     2290       +5

Flag
Coverage Δ

integration-tests
35.22% <ø> (?)

kind-e2e-tests
50.67% <ø> (-0.09%)
:arrow_down:

unit-tests
44.37% <ø> (ø)

Impacted Files
Coverage Δ

pkg/agent/cniserver/ipam/antrea_ipam.go
52.81% <0.00%> (-21.22%)
:arrow_down:

pkg/agent/flowexporter/exporter/certificate.go
50.00% <0.00%> (-16.67%)
:arrow_down:

pkg/agent/controller/networkpolicy/packetin.go
66.90% <0.00%> (-7.05%)
:arrow_down:

pkg/controller/ipam/antrea_ipam_controller.go
76.41% <0.00%> (-2.63%)
:arrow_down:

pkg/controller/externalippool/controller.go
83.03% <0.00%> (-2.24%)
:arrow_down:

pkg/agent/openflow/multicluster.go
44.85% <0.00%> (-1.87%)
:arrow_down:

pkg/agent/util/net.go
51.08% <0.00%> (-0.87%)
:arrow_down:

pkg/agent/cniserver/ipam/testing/utils.go
92.85% <0.00%> (ø)

pkg/agent/cniserver/testing/utils.go
100.00% <0.00%> (ø)

pkg/agent/proxy/proxier.go
66.50% <0.00%> (+0.48%)
:arrow_up:

... and 37 more

/skip-all


Documentation editor mess up tests when same test exist with different configs

Expected behavior

should preserve the tests as it is

Actual behavior

replaces config of tests

Steps To Reproduce
I have two accepted values tests with two different configs but the Documentation Editor changed them to give them the same config.
before
tests:
          - accepted_values:
              values: ['deep_dish', 'detroit', 'thin_crust']
              config:
                severity: 'warn'
                where: "menu_item = 'pizza'"
          - accepted_values:
              values: ['gyro', 'sub', 'footlong']
              config:
                severity: 'warn'
                where: "menu_item = 'sandwich'"

after
- accepted_values:
              values:
                - deep_dish
                - detroit
                - thin_crust
              config: &a1
                severity: warn
                where: menu_item = 'pizza'
          - accepted_values:
              values:
                - gyro
                - sub
                - footlong
              config: *a1

Log output/Screenshots
No response
Operating System
MacOs
dbt version
1.7
dbt Adapter
any
dbt Power User version
any
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Sweep: In src\webview_provider\docsEditPanel.ts, function: getTestDataByColumn, fix the tests which has same test name with different config to be saved properly in yaml file


Rename config variables so that they contain the wrapper name

We need to rename config variables so that it is clear where they are used if they are used exclusively in a given wrapper. For example, GENERATE_TRACK_ASCII is used only in CyclonePlotter. It should be named something like CYCLONE_PLOTTER_GENERATE_TRACK_ASCII.
Files that need review/updates:
cyclone_plotter_wrapper.py
extract_tiles_wrapper.py
make_plots_wrapper.py
series_by_init_wrapper.py
series_by_lead_wrapper.py
stat_analysis_wrapper.py
tcmpr_plotter_wrapper.py
tc_stat_wrapper.py
We should attempt to get this done for the 3.0 release so there will be minimal deprecated config variables going forward.

stat_analysis_wrapper.py and make_plots_wrapper.py will be renamed config variables and cleaned up when feature_226_stat_analysis_cleanup gets into develop.

Great! It looks like tc_stat_wrapper.py already conforms to the naming convention.
I will take a look at:
series_by_init_wrapper.py
series_by_lead_wrapper.py
The following are still unclaimed:
cyclone_plotter_wrapper.py
extract_tiles_wrapper.py
tcmpr_plotter_wrapper.py

I have made the config changes for SeriesByLead, SeriesByInit, and ExtractTiles. I still need to run the rest of the tests and update documentation.

Subissue created:
Github Issue #320 (cyclone plotter wrapper)

It looks like all of the sub-issues have been closed, so I am going to close this ticket. Please reopen if you have not yet completed any work that needs to be done for this issue.


[Findable] Create global search component

Need
The Data Explorer will have the ability to call additional search APIs (outside of the standard facet/filter functionality), for example, calling a keyword search API, and then displaying the returned search results within the standard Data Explorer table UI.
Approach

See mocks.

Not required


Observability and Auditability

Describe the solution you'd like
Being alerted or having access to audits for success / failure of Image Removal
Below is a Suggestion for Auditability:
As an Operator I should be able to see an outputted Log Trace of when I try to delete an unwanted Image
Log Trace Example

Collector - Image List is Generated (ImageList Logs)
Eraser Manager - Eraser Controller Manager Logs of Creating eraser-kind-workers
Eraser Manager - EraserJob logs on manipulation of images
Eraser - Pods deleting and spinning-down

A proposed solution would be to add a CorrelationID to the CRDs of ImageList and ImageJob.

Collector would generate the CorrelationID, and pass this CorrelationID to ImageList CRD on creation

TBD for Collector (Link to PR)

Eraser Controller Manager would pull the CorrelationID from the ImageList and ImageJob CRDs
Creating ImageJob from Eraser ImageList Controller

https://github.com/Azure/eraser/blob/main/pkg/eraser/eraser.go#L220

EraserJob

Removed Image Log from Eraser

Anything else you would like to add:
This will probably require documentation on how to connect to an external Logging Platform (Such as Log Analytics / DataDog/ etc.)
Open Questions:

If an Image is not being successfully removed by Eraser, how is the Platform Operator alerted about which image is causing the problem? Should they be alerted about a specific image?
There's a high probability that Traceability will be faulty as well. In Kind, I've had about 0.5 - 1 Second capture any logs from the Eraser Worker pod. After the pod is deleted, kubectl logs -p doesn't surface the logs of the terminated Eraser from eraser-kind-worker

I ran the kubectl logs --previous ... immediately after my terminal returned from following the logs while the container was Running
(E.g., {"level":"info","ts":1652827640.9949317,"logger":"eraser","msg":"Removed","image":"docker.io/library/nginx:latest"})
The issue that may arise is that a Logger Agent may not be able to capture this log in time to fully capture a complete scenario during an Audit.
Also in Development of Eraser, this may make it very difficult to validate a specific image being deleted, and also may require the use of a logging agent in the development workflow if this is something that a developer may want to capture.
Have y'all ran into issues with capturing logs directly from the Eraser Worker if wanting to view the actual log for deletion of a certain Image? Do you think this may surface a problem with Audibility and Tracing through the Eraser Worker Pod?
Environment:

Eraser version: main Branch
Kubernetes version: (use kubectl version): 1.22

@paulbouwer @sozercan @hewatson-msft
What do y'all think to the following questions, or thoughts?
"Have y'all ran into issues with capturing logs directly from the Eraser Worker if wanting to view the actual log for deletion of a certain Image? Do you think this may surface a problem with Audibility and Tracing through the Eraser Worker Pod?"

As an advocate for the customer or business user of this feature, and in line with best practices around Production system changes, I would expect messages to be logged in a way that they could be reported on after the fact for at least a month (or in accordance with customer recording keeping policies).  I think the customer would want to know exactly what non-running images were removed from where and when.  I hypothesize that they want to know how often this is happening in general over time (via regular reports) and take preventative measures if and where possible.

@hewatson-msft Thanks for this. Eraser v1.0.0 will record metrics using opentelemetry, which will include

images discovered on cluster
results of image scans (if any)
images that were actually removed
timestamps on all of the above

Closing this one because of the now available telemetry. If what's now available doesn't satisfy the use case, please feel free to open a new issue :)

@hewatson-msft Thanks for this. Eraser v1.0.0 will record metrics using opentelemetry, which will include

images discovered on cluster
results of image scans (if any)
images that were actually removed
timestamps on all of the above

Just to clarify, the metrics available today are the total count of these, not the actual images removed as describes in https://eraser-dev.github.io/eraser/docs/metrics and https://github.com/eraser-dev/eraser/blob/afb831bcf61d665e1d766453c9b7d22d29297d78/pkg/metrics/metrics.go#L65
@pmengelbert @sozercan


Couldn't find rom partition!

Please help how to solve this issue. Thanks!
01:36:03.587 -> Showing boot menu
01:36:03.775 -> Menu selection is /spiffs/tetris.nes
01:36:03.775 -> NoFrendo start!
01:36:03.775 -> Starting main loop with file: /spiffs/tetris.nes
01:36:03.775 -> free heap after sound init: 4444584
01:36:03.822 -> Game controller initalizing
01:36:03.822 -> NES Control initated
01:36:03.822 -> free heap after input init: 4442148
01:36:03.822 -> video driver: Simple DirectMedia Layer at 486555958x240
01:36:03.822 -> vid_init done
01:36:03.822 -> vid_init done
01:36:03.916 -> PPU memory allocated and cleared
01:36:03.916 -> Couldn't find rom partition!
01:36:03.916 -> abort() was called at PC 0x401054f2 on core 1
01:36:03.916 ->
01:36:03.916 -> ELF file SHA256:<PHONE_NUMBER>000000
01:36:03.916 ->
01:36:03.916 -> Backtrace: 0x4008e000:0x3ffb1de0 0x4008e279:0x3ffb1e00 0x401054f2:0x3ffb1e20 0x400e57cf:0x3ffb1e40 0x400e1686:0x3ffb1e60 0x400e1a5f:0x3ffb1e90 0x400d76ba:0x3ffb1ee0 0x400e296b:0x3ffb1f10 0x400e29e3:0x3ffb1f50 0x400e28b9:0x3ffb1f70 0x400d1d77:0x3ffb1f90 0x400e3ea1:0x3ffb1fb0 0x4008f24e:0x3ffb1fd0
01:36:03.916 ->
01:36:03.916 -> Rebooting...

Hi, thanks for reply. First of all, I had disabled "//#define CONFIG_SOUND_ENABLED" because I had no idea what sound module in your project. 2nd, I am using ESP32 wrover which has 4MB PSRAM built-in. I enabled PSRAM, that is why my free RAM is high. I tried to disabled PSRAM, the problem still the same "Couldn't find rom partition!".
I had no idea why "vid_init done" init twice. My NES ROM in spiffs has no problem which I downloaded from https://www.emulatorgames.net/download/ and has been used with other ESP32 NES emulator with no problem. Please help to check if my config.ini has any problem below. Can help to double the project code you had uploaded here has any problem? I had also disabled all the control hardware at prior. (I don't have any hardware yet). Thanks!
//Config file for ESP32 NES emulator Corn 2020
#pragma GCC optimize ("O2")
#pragma once
//Setting FreeRTOS sheduler to 300Hz
#define CONFIG_FREERTOS_HZ 300
//LCD screen & video constants
#define LCD_TYPE_ILI 0
#define LCD_TYPE_ST  1
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
#define NES_WIDTH 256
#define NES_HEIGHT 240
#define NES_VIS_LINES 224	//This number impacts SPI transfers to the LCD
//Define Display type ILI9341 (currently only ILI9341 works)
#define CONFIG_HW_LCD_TYPE LCD_TYPE_ILI
// NTSC timing defaults if PAL not defined
//#define PAL
//Define to skip menu
//#define SKIP_MENU
// Sound Settings, Note: Do not assign anything else to pins 25 or 26, those are used by I2S
//#define CONFIG_SOUND_ENABLED
//LCD SPI transfer clock rate. With short leads to the display it is possible to run the display at 80MHz however here you can opt to run it slower
//#define LCD_SPI_CLOCK_RATE SPI_MASTER_FREQ_80M	//80MHz  (If enable 80M, my ili9341 screen did not show anything)
#define LCD_SPI_CLOCK_RATE SPI_MASTER_FREQ_40M	//40MHz
//If defined it allows selection in the menu to scale/stretch frame (X axis only) to full screen (with artifacts in scrolling games).
//It will also be slightly slower with stretch screen enabled due to more data needs to be sent over SPI to the LCD
//0 -> defaults to not stretched, 1 -> defaults to stretched
#define FULL_SCREEN 1
//If defined then screen interpolation is bilinear instead of nerest neighborhor sampling (looks better but uses a little more CPU)
//This only works in CPU mode and in interlaced mode for the moment
//Speedy implementation idea from the guys hacking the game and watch console processing all 3 color componets at once //almost like vector processing
#define BILINEAR
// If defined it will run the SPI transfer to the LCD as a separate task and the value indicates which CPU core 0(faster with volatiles) or 1(faster with OS_SEMAPHORE)
#define RUN_VIDEO_AS_TASK 0
// If defined it will use OS semafores (which seems slower!?) else use simple volatile variables to pass info between tasks
//#define USE_OS_SEMAPHORES
// If defined rotate display 180 deg
#define ROTATE_LCD_180
// Use DMA to transfer to screen if defined else use CPU (DMA and CPU are about equally fast...)
//#define USE_SPI_DMA
// Turn on various debugging options
//#define NOFRENDO_DEBUG
//#define MEMORY_DEBUG
//#define MAPPER_DEBUG
//#define SHOW_SPI_TRANSFER_TIME	//in micro seconds
//#define SHOW_RENDER_VIDEO_TIME	//in micro seconds
//Define and it will directly boot the ROM from the list
//#define BOOT_ROM 0
// LCD Settings using VSPI bus
// LCD pin mapping
#define CONFIG_HW_LCD_RESET_GPIO -1
#define CONFIG_HW_LCD_CS_GPIO 15
#define CONFIG_HW_LCD_DC_GPIO 4
#define CONFIG_HW_LCD_MOSI_GPIO 13
#define CONFIG_HW_LCD_CLK_GPIO 14
#define CONFIG_HW_LCD_MISO_GPIO 12
#define CONFIG_HW_LCD_BL_GPIO -1
// SD card pin mapping
//#define CONFIG_SD_CARD
#define CONFIG_SD_CS 21
#define CONFIG_SD_MOSI 13
#define CONFIG_SD_SCK 14
#define CONFIG_SD_MISO 12
//----------------------------------
//Enable only one controller type!!!
//----------------------------------
// NES input pin mapping
//       ___
//DATA  |o o| NC
//LATCH |o o| NC
//CLOCK |o o/ 3V3
//GND   |o_/
//
#define CONFIG_HW_CONTROLLER_NES	//Define to use NES controller
#define CONFIG_HW_NES_DAT -1    //    # MISO
#define CONFIG_HW_NES_LATCH -1  //    # CS
#define CONFIG_HW_NES_CLK -1    //    # CLK
// SNES input pin mapping
//       _
//3V3   |o|
//CLOCK |o|
//LATCH |o|
//DATA  |o|
//      |-|
//NC    |o|
//NC    |o|
//GND   |o|
//       -
//
//#define CONFIG_HW_CONTROLLER_SNES	//Define to use SNES controller
#define CONFIG_HW_SNES_DAT -1    //    # MISO
#define CONFIG_HW_SNES_LATCH -1  //    # CS
#define CONFIG_HW_SNES_CLK -1    //    # CLK
// PSX input pin mapping
//#define CONFIG_HW_CONTROLLER_PSX	//Define to use PSX controller
#define CONFIG_HW_PSX_DAT -1	//    # DATA/MISO
#define CONFIG_HW_PSX_CMD -1		//    # CMD/MOSI
#define CONFIG_HW_PSX_ATT -1	//    # ATT
#define CONFIG_HW_PSX_CLK -1	//    # CLK
// GPIO pin mapping (raw button input)
//#define CONFIG_HW_CONTROLLER_GPIO	//Define to use GPIO pins on the ESP32
#define CONFIG_HW_GPIO_START -1
#define CONFIG_HW_GPIO_SELECT -1
#define CONFIG_HW_GPIO_UP -1
#define CONFIG_HW_GPIO_DOWN -1
#define CONFIG_HW_GPIO_LEFT -1
#define CONFIG_HW_GPIO_RIGHT -1
#define CONFIG_HW_GPIO_B -1
#define CONFIG_HW_GPIO_A -1
#define CONFIG_HW_GPIO_MENU -1	//Also referred to as Button 2
#define CONFIG_HW_GPIO_POWER -1	//Also referred to as Button 1
#define CONFIG_HW_GPIO_TURBO_A -1
#define CONFIG_HW_GPIO_TURBO_B -1

You can safely enable audio. It can be connected directly to an analog amplifier (with the filter shown in the ascII drawing) to drive speakers. Other than that I do not have a WROVER chip, I used a WROOM.
I noticed that you have omitted #define USE_SD_CARD which is needed or it will try to use the internal EEPROM to locate the files (which means that you need to format and upload them there beforehand). Also changing some of the hardware specific pins for SPI interfaces will most likely not work since it relies on the hardware to make the transfers work.

Thanks for reply again.

Tried with ESP32 WROOM module (without PSRAM) - Problem still same. (I had 2 versions on hand)
Already enabled sound (#define CONFIG_SOUND_ENABLED) - Problem still same.
Tried with SPI pins (18, 19, 23, 5)  - Problem still same.
Tried with SDCard. - Problem still same.
Currently using SPIFFS. Copied roms.txt and smb1.nes into data folder and upload to SPIFFS (ESP32 sketch data upload using Arduino IDE)  - Problem still same.

No.	Icon	Name	Filename

;	Tetris	tetris.nes
#
NOTE: The rest of this file is ignored by the program
%	Super Mario Bros 2  smb2.nes
/	Contra  contra.nes
$	Castlevania cv1.nes
/	Simon's Quest   cv2.nes
{	Bubble Bobble   bubble.nes

The character delimiter of the table above is tab, NOT spaces.
Don't erase this characters "#" or the emulator will definetly act up since that is the EOF marker.

You have the option to enable SD Card support (see the platformio.ini file) via "CONFIG_SD_CARD".
If you define this variable then also assign the pins for the SPI bus as well. If you do not define this option
it will default to SPIFFS on the SRAM, which requires re-flashing the partition to update the files.
SD Card support, on the other hand, just requires putting the "roms.txt" file and roms in the root folder of the SD Card.
It's also a lot faster.

Note the four tab-delimited columns.  All four should exist or the menu will not parse correctly.
There should be a period after the number, followed by an icon character, name, and file name.
The last column should match the ROM file name in the SPIFFS volume.
The menu will display the Alphabet (A-z capital & lowercas)
Numbers 0-9 and  ? ! . , ( ) -
Icons: 	$ -> Mario		% -> Luigi		" -> MarioTanuki
; -> Coin		} -> ?-Box		= -> Link1
+ -> Link2		{ -> Pacman		/ -> Megaman
I think the problem may be due to the library src/nes_rom.c itself. Please advice. Thanks!
17:57:15.073 -> Game controller initalizing
17:57:15.073 -> NES Control initated
17:57:15.073 -> Init SPI bus
17:57:15.073 -> Init SPI bus completed
17:57:15.073 -> Adding screen device
17:57:15.073 -> Adding screen completed
17:57:15.073 -> E (189) gpio: gpio_set_direction(236): GPIO number error
17:57:15.073 -> E (194) gpio: gpio_set_level(178): GPIO output gpio_num error
17:57:15.119 -> E (233) gpio: gpio_set_level(178): GPIO output gpio_num error
17:57:15.119 -> LCD ILI9341 initialization.
17:57:15.166 -> LCD initialization complete.
17:57:15.213 -> Start boot menu init
17:57:15.213 -> Reading rom list
17:57:15.213 -> ROM[1] icon[;] name[Tetris] file[tetris.nes]
17:57:15.213 -> Found 1 ROMs
17:57:15.213 -> Finished boot menu init
17:57:15.213 -> No errors, carry on
17:57:15.213 -> Showing boot menu
17:57:15.401 -> Menu selection is /spiffs/tetris.nes
17:57:15.401 -> NoFrendo start!
17:57:15.401 -> Starting main loop with file: /spiffs/tetris.nes
17:57:15.401 -> Finished initializing sound
17:57:15.401 -> free heap after sound init: 247480
17:57:15.401 -> Game controller initalizing
17:57:15.401 -> NES Control initated
17:57:15.448 -> free heap after input init: 245044
17:57:15.448 -> video driver: Simple DirectMedia Layer at 486555958x240
17:57:15.448 -> vid_init done
17:57:15.448 -> vid_init done
17:57:15.541 -> system type unknown, playing nofrendo NES intro.
17:57:15.541 -> PPU memory allocated and cleared
17:57:15.635 -> Couldn't find rom partition!
17:57:15.635 -> abort() was called at PC 0x401049ca on core 1
17:57:15.635 ->
17:57:15.635 -> ELF file SHA256:<PHONE_NUMBER>000000
17:57:15.635 ->
17:57:15.635 -> Backtrace: 0x40089f0c:0x3ffb1de0 0x4008a189:0x3ffb1e00 0x401049ca:0x3ffb1e20 0x400e484b:0x3ffb1e40 0x400e08a6:0x3ffb1e60 0x400e0ca8:0x3ffb1e90 0x400d715c:0x3ffb1ee0 0x400e1abc:0x3ffb1f10 0x400e1b2d:0x3ffb1f50 0x400e1a17:0x3ffb1f70 0x400d1e4b:0x3ffb1f90 0x400e2f11:0x3ffb1fb0 0x4008b1aa:0x3ffb1fd0
17:57:15.635 ->
17:57:15.635 -> Rebooting...

Assuming that WROOM and WROVER are compatible (all tho I think that WROVER uses some of its pins to connect to the PSRAM which might influence things for the worse). From what I can tell it seems to have troubles opening the file system on either spiffs or the SD card, so maybe try some example that lists the SD card to get things running there first... the other tip is to make sure you use Arduino 1.8.13 and maybe more importantly ESPlib 1.04... I know newer versions had caused problems in other projects

Thanks for fast reply again.

ESP32 board library is v1.04. - Problem still the same.
Read from sdcard. Confirmed can read from SDcard. Exactly same error. "Couldn't find rom partition!" - Problem still the same.

Conclusion. - Give up.......


other: update slf4j-simple from 1.7.31 to 1.7.32

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.slf4j", artifactId = "slf4j-simple" } ]

labels: library-update, semver-patch

Codecov Report

Merging #4 (73e3199) into master (6d880e3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   98.48%   98.48%
=======================================
  Files           8        8
  Lines          66       66
  Branches       11       11
=======================================
  Hits           65       65
  Misses          1        1

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 6d880e3...73e3199. Read the comment docs.


Feat: add support for more properties

The PR does the following things:

Add support for some flex-related properties:

flex-flow
place-content
place-items
place-self

Add support for some circular properties:

scroll-{padding/margin}

Add support for some position properties:

{padding/margin}-{inline/block}

Add support for some other properties:

inset
transition (This closes #1)

Adding unit test cases for all properties above
Simplify the handing for overflow
Fix text-decoration and update the snapshot

@robinweser Would you like to have a look at this, and release 1.6.0?

@robinweser Would you like to have a look at this?

@robinweser Would you like to have a look at this?

LGTM! But I'd really like to know what your use case is. I'm not using this package anymore and probably you shouldn't either.

LGTM! But I'd really like to know what your use case is. I'm not using this package anymore and probably you shouldn't either.

It is another CSS-in-JS package that I am currently using: https://github.com/johanholmerin/style9
It is also an Atomic CSS-in-JS implementation except it relies on a compiler instead of runtime.


Rewrite of the API webauthn recipe

This is a full rewrite of the EML + Webauthn recipe. Some highlights:

Use Stytch session throughout to do step up authentication, and gate sensitive data on the server
Moved code around, so that the recipe is more 'stand alone', and does not rely on other recipes to work.

Open questions:

If you land on the WebAuthn profile page with an already registered WebAuthn device, what're your thoughts on the Authenticate button in the Super secret area launching the authentication flow directly rather than redirecting to the /webauthn-authenticate route?
I think it cleans up the flow a little bit (even if we miss out on the example code block) and do the authenticate step a bit behind the mirror.
I'm open to keeping the flow as-is, as it mirrors every other recipe and really walks you through each step.
Thoughts on lowering the session_duration_minutes of the /webauthn/authenticate call? Maybe 15m instead of 60? Sorta re-enforces that the primary factor (non-sensitive read) can have long lived sessions, but sensitive routes should have a shorter session?

Nits:

Sentence casing headers, e.g. "Super secret", "Stytch objects".

I agree that the authenticate page adds a bit too much overhead. I left it in for completeness, but since we are on the same page I will pull it out.


how to display notes on keys

Hi there
How can I display Note on keys?
There is noteLabel to display assigned keyboard keys?
But how to display notes on the keys? Like in the photo

Solved it


Make it public

Class not accessible in Razor context from MVC 5.2

Making it public in my project made me able to display @ExpressionStringBuilder.ToString(Model.Query.Expression)
Utility classes should always be public

Hey
You can just install the package into all projects which need it?
If we do this we also need the build to change the namespace to $rootnamespace$ so NuGet will change the namespace. Otherwise if you install into multiple projects there will be type conflicts.

Hi, unfortunately it is not as simple as it look.
ASP.NET applications compile code and pages in different assemblies so I cannot reference any ExpressionStringBuilder class if it is not publicly available from the pages assembly.
I might provide an example that does not compile if you wish.
Regards.

I will look into this. The good news is that being a source package you can just change the class which is dropped into your project, when you upgrade it will leave the modified file, you then delete it and make the same change to the next version.
I could also provide a binary package as well if that would work better?


@conda-forge-admin, please add bot automerge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/mplhep-feedstock#5.


Form field changes in Cluster Private Registry CSS changes

Form fields in Cluster Private Registry & Agent Environment Vars tabs tweaks
#3184
Added css styling to make forms consistent height

@neillsom Please use git rebase to update instead of putting merge commits in PRs.


update in Standealone

Thank you for contributing to vis.js!!
Please make sure to check the following requirements before creating a pull request:

[ ] All pull requests must be to the master branch. Pull requests to any other branch will be closed!
[ ] Make sure your changes are based on the latest version of the master branch. (Use e.g. git fetch && git rebase origin master to update your feature branch).
[ ] Provide an additional or update an example to demonstrate your changes or new features.
[ ] Update the documentation if you introduced new behavior or changed existing behavior.
[ ] Reference issue numbers of issues that your pull request addresses.
[ ] Expect review comments and change requests by reviewer.
[ ] Delete this checklist from your pull request.

Hi @UtkarshHans,
the basic example is supposed to be the simplest of the simplest. I'm not sure what you're trying to achieve. If you want to merge this, please put it into a new example, explain there what it shows and create a new PR.
PS: Also don't load external files from who knows where (they may fail to load or change in the future).


feat: Added multi-log table support

@mo-esmp @followynne
Dear friends,
I'm still waiting on #20, so i thought i'd put the work in.
Please review this PR.

It works like this:
IDataProvider was expanded with a Name Property*.

For ex:
public class SqlServerDataProvider : IDataProvider
{
    public string Name => _options.ToDataProviderName("MsSQL");
...

public static class RelationalDbOptionsExtensions
{
    public static string ToDataProviderName(this RelationalDbOptions options, string providerName)
        => string.Join(".", "MSSQL", options.Schema, options.TableName);
}

Options (like RelationalDbOptions) are no longer added to DI, because they need to be associated with a single provider.
Providers now use factories that contain a single option instance:
((ISerilogUiOptionsBuilder)optionsBuilder).Services
    .AddScoped<IDataProvider, SqlServerDataProvider>(p => ActivatorUtilities.CreateInstance<SqlServerDataProvider>(p, relationProvider));

This allows registering multiple providers**, with their own options, and without needing some kind of string identifier to match options with providers***.
AddSerilogUi then adds an AggregateDataProvider that delegates to IDataProvider;
The middleware then has another endpoint 'api/keys' which returns a collection of key values for the dropdown in the UI.
It also listens for the 'key' query parameter value and will get the appropriate provider given a certain key.
/// <summary>
/// If there is only one data provider, this is it.
/// If there are multiple, this is the current data provider.
/// </summary>
public IDataProvider DataProvider => _dataProvider;

private readonly Dictionary<string, IDataProvider> _dataProviders = new Dictionary<string, IDataProvider>();

public void SwitchToProvider(string key)
    => _dataProvider = _dataProviders[key];

public IEnumerable<string> Keys => _dataProviders.Keys;

* Names are made unique in case of collisions:
  // When providers with the same name are registered, we ensure uniqueness by generating a key
  // I.e. ["MSSQL.dbo.logs", "MSSQL.dbo.logs"] => ["MSSQL.dbo.logs[0]", "MSSQL.dbo.logs[1]"]
  for (var i = 0; i < grouped.Count; i++)
  {
      var dataProvider = grouped[i];
      _dataProviders.Add($"{name}[{i}]", dataProvider);
  }

** Some providers like ES / MongoDb use a singleton client and pass it into the dataprovider.  For those i disabled this feature (can only add one provider of that type).
*** In theory you could easily allow IDataProvider.Name to be confgurable so you can have custom names. I did not bother writing that as i think the use case would be minimal.
Feel free to make changes, scrap it all together or do anything to this code - i just want this feature one way or another ;).
TODO

Documentation in Readme (Maybe after some testing in production we can let this feature be fully known?)

Hi @sommmen ,
Thanks for the pull request and the detailed description, from a quick look it seems great!
I'll try to give it a review asap, after I complete my work on integration tests and I review #63 (sorry but I've been quite busy... ).
In my opinion, it would be great to update the README (we can later think of dividing it in a small wiki).
If I merge soon my pr on the integration tests, would you be ok with creating some tests for the providers based on your multi-tables? If yes, I'll add you info later 😊

Hi @sommmen ,
Thanks for the pull request and the detailed description, from a quick look it seems great!
I'll try to give it a review asap, after I complete my work on integration tests and I review #63 (sorry but I've been quite busy... ).
In my opinion, it would be great to update the README (we can later think of dividing it in a small wiki).
If I merge soon my pr on the integration tests, would you be ok with creating some tests for the providers based on your multi-tables? If yes, I'll add you info later 😊

Hiya,

In my opinion, it would be great to update the README (we can later think of dividing it in a small wiki).

Sure, i'll write a readme if i'm cretain these changes will make it into the main branch and you guys don't want to go another route, i'll await your review.

If I merge soon my pr on the integration tests, would you be ok with creating some tests for the providers based on your multi-tables?

Yeah, i'm not familiar with unit/integration testing a lot, but i'll figure it out.

@sommmen Thanks for the PR, I'll try to review it and give my feedback. I guess it takes time to merge the PR because of other PRs and implementing tests for it.

@sommmen Thanks for the PR, I'll try to review it and give my feedback. I guess it takes time to merge the PR because of other PRs and implementing tests for it.

Sure thing, just as long as the ball is rolling 😄

@followynne
I merged all changes from dev into this branch and fixed the registration tests.
I changed GetRequiredService to GetService so that the service provider does not throw an exception, and the test conditions for .NotNull would ran (effect is the same, but better error message in the test)
I also had to create a scope for the service provider because dataproviders are generally scoped and not singletons*
var serviceProvider = serviceCollection.BuildServiceProvider();
using var scope = serviceProvider.CreateScope();

var provider = scope.ServiceProvider.GetService<IDataProvider>();
provider.Should().NotBeNull().And.BeOfType<SqlServerDataProvider>();

Since options are no longer registered in the service provider, i'm fetching the private fields via reflection**:
var optionsField = typeof(SqlServerDataProvider)
                       .GetField("_options", BindingFlags.NonPublic | BindingFlags.Instance)
                   ?? throw new InvalidOperationException("_options field is missing.");
var options = (RelationalDbOptions)optionsField.GetValue(provider) ?? throw new InvalidOperationException("optionsField.GetValue(provider) returned null");

* i'm wondering whether this worked before, because it should not have?
** An argument can be made that the options should no longer be unit-tested because of this, and instead an integration test should test this, but this was an easy fix for now that retains the intended behaviour.
All tests are green.
@mo-esmp
I was not able to get to serilog-ui from the demo app.
I created an account<EMAIL_ADDRESS>(same pw) and that seemed to work, but /serilog-ui gave a 'not sufficient permissions'.
Context.User seemed to be empty in the custom auth filter, so i'm assuming no token cookie or something was set from the /login page?
Could also have broken something whilst merging.
Merging was pretty straight forward, but a lot was auto-merged by git.
Please advise :)

@sommmen in the Startup class and in AddAuthentication method comment default JWT authentication scheme (line 103)

@followynne Thanks for the review and spotting an error or 2, i've resolved most comments let me know if there is more.

thanks a lot for the latest comment - agreed on the scope creation, I suppose that the framework in the tests either created a Singleton instance of the provider or it created a scope on the fly (I think the 1st).

That makes sense.

About the options fields that are failing in MsSql, MYSql, Postgres, you can remove those lines - you're 100% correct that they should not be tested anymore, as they're not DI-registered anymore.

Removed testing for options.

@sommmen a question regarding grouping data providers. If I have two log table in two different databases, does still it works fine?

@sommmen a question regarding grouping data providers. If I have two log table in two different databases, does still it works fine?

It definitely should work, yes.
One thing i can imagine is that the naming strategy i'm using now does not take the server into account, so i could imagine the following:
2 different databases (maybe even on 2 different servers), but with same schema and table name:
MsSql.AppLog.SeriLogs[0]
MsSql.AppLog.SeriLogs[1]

This is a good case for allowing the user to override the names, which could be a cool next step.
We could do something fancy like extracting the connection string and parse it to generate unique names but that seems like overengineering imo.
If you have different providers - this would not matter;
MsSql.AppLog.SeriLogs
MySql.AppLog.SeriLogs

Generating names from connection strings should not be difficult ServerName-DbName-TableName and avoids name conflict.

Generating names from connection strings should not be difficult ServerName-DbName-TableName and avoids name conflict.

Hiya - I have this change ready locally.
It was not hard because of .net DbConnectionStringBuilder which'd handle the different kinds of connection strings per provider.
public static string ToDataProviderName(this RelationalDbOptions options, string providerName,
    string serverName)
    => string.Join(".", providerName, serverName, options.Schema, options.TableName);

public string Name => _options.ToDataProviderName("NPGSQL", new NpgsqlConnectionStringBuilder(_options.ConnectionString).Host);

But i had some concerns regarding sercurity,
Generally connection strings should remain a secret, so exposing this to the UI may not be a good option.
I think naming strategy as-is will provide enough uniqueness, atleast for now.
For me i have several apps running on the same database/server with different log tables.
I doubt someone will run 1 dashboard for multiple apps across multiple servers - is this a use-case for you?
The current naming strategy would cover those cases.
Let me know if you want the server to be part of the name regardless, or otherwise you can merge the changes in at your leasure.

Well, That could be an option to check all logs for different servers from one dashboard instead of installing SerilogUI and checking them one by one. For now, it's ok but later we can add this feature also.

@mo-esmp Hiya, could you release this feature?

The nuget package v2.4.0 already published!

You're right, somehow the changes did not show for me last time i tried it. Maybe vs caching or something.
Thanks!

Being able to override the default name would be nice to have.  Preferably, when you configure the sql server, so another optional parameter in UseSqlServer would be nice for this.

Being able to override the default name would be nice to have.  Preferably, when you configure the sql server, so another optional parameter in UseSqlServer would be nice for this.

Hello @Bluejanis,
We can try to make it fit in the upcoming v3 release.
Can I ask you to open a separate issue, with the precise request, instead of writing it in a closed PR? It will help us track your feature better. 😊


Add extraPodSpec to statefulset and init job

This PR allows adding arbitrary values to the statefulset's pod spec. (As well as the init job.) This is needed to allow setting shareProcessNamespace: true to the pod spec to accommodate Hashicorp Vault injected dynamic certificates.

Can you please add some tests for this feature and then we can take a look a it.
The workflow you are trying to support is using vault to generate the certs instead of CRDBs self-signed version?

The workflow you are trying to support is using vault to generate the certs instead of CRDBs self-signed version?

Yes, in general that's what I'm trying to support. Though, since I've made this PR, there are other fields I need to add to set cockroach up to not use --insecure while also not using the cert self signer.


Can I have a working sample for spring hbase using hbaseTemplate with lastest stable hBase build?

I am a newbie for Hbase and I want to continue to use spring solution, hBaseTemplate to access HBase. But I tested a lot of times and can never be successful in doing so. This is what I did.
The sample I am using is:
https://github.com/spring-projects/spring-data-book/tree/master/hadoop/hbase
I am using latest stable HBase build, version <IP_ADDRESS>
When I start UserApp, I got this error:
 Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userUtils' defined in file [/Users/fhe/spring/spring-data-book/hadoop/hbase/target/classes/com/oreilly/springdata/hadoop/hbase/UserUtils.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a host:port pair: PBUF

<IP_ADDRESS>��ݠ���)�}
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1486)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:197)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:172)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:158)
	at com.oreilly.springdata.hadoop.hbase.UserApp.main(UserApp.java:30)

So I google this error:  Not a host:port pair: PBUF
checking the POM file,
<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<spring.hadoop.version>1.0.0.RELEASE</spring.hadoop.version>
		<hadoop.version>1.0.1</hadoop.version>
		<hbase.version>0.92.1</hbase.version>
		<log4j.version>1.2.17</log4j.version>
	</properties>

People said it is because version is different from client and server. so I donwload hbaseServer 0.92.1, start HBaseServer and then start project again, now error is:
09:22:32.259 [main-SendThread(localhost:2181)] WARN  org.apache.zookeeper.ClientCnxn - Session 0x14e5f064fea0003 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_65]
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599) ~[na:1.6.0_65]
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286) ~[zookeeper-3.4.3.jar:3.4.3-1240972]
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035) ~[zookeeper-3.4.3.jar:3.4.3-1240972]
09:22:32.503 [main-SendThread(localhost:2181)] INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection to server /<IP_ADDRESS>:2181
09:22:32.504 [main-SendThread(localhost:2181)] WARN  o.a.z.client.ZooKeeperSaslClient - SecurityException: java.lang.SecurityException: Unable to locate a login configuration occurred when trying to find JAAS configuration.
09:22:32.504 [main-SendThread(localhost:2181)] INFO  o.a.z.client.ZooKeeperSaslClient - Client will not SASL-authenticate because the default JAAS configuration section 'Client' could not be found. If you are not using SASL, you may ignore this. On the other hand, if you expected SASL to work, please fix your JAAS configuration.
09:22:32.505 [main-SendThread(localhost:2181)] WARN  org.apache.zookeeper.ClientCnxn - Session 0x14e5f064fea0002 for server null, unexpected error, closing socket connection and attempting reconnect

Even if I am using Hbase Shell, it is throwing a lot exceptions, so I gave up old version of hBase server.
I tried to use same hBaseClient in the POM to match latest HBase Server, <IP_ADDRESS>, but it is either jar not available error, or some other major minor version exceptions.
Can anyone who has such experiences tell me how you fixed it and use hbaseTemplate to work with latest stable hBaseBuild? How do you config the spring project etc? Can you show me your working solution?
Thanks very much.

As is shown in the log,the hbase client cannot conenct to zookeeper port(localhost:2181).
Did you start hbase in the same machine with the client?
If not,change https://github.com/spring-projects/spring-data-book/blob/master/hadoop/hbase/src/main/resources/hbase.properties to relfect your hbase server configuration.
By the way,I don't think this is not the proper place to ask a question about spring-data-book project.
Maybe you should post your question to stackoverflow or somewhere else.

Created hbase example based on the Spring Data book example. Updated to current versions. Continue discussion on StackOverflow - http://stackoverflow.com/questions/31232486/spring-hbasetemplate-throws-java-lang-illegalargumentexception-not-a-hostport


Network Error (Fetch) on Expo React Native

Network request failed (Fetch Error in Expo)
Network request fails with Expo
Using any of the supabasejs library methods, network error is thrown.
Using fetch works everywhere else.
To Reproduce

Use supabase in expo project
Try to use a supabase function

Expected behavior
Fetch should work
System information
I've tried with

Windows machine
Ubuntu Machine
Expo Go, Dev build

Version of supabase-js: 2.39.8
Version of Node.js: 21
Version of Expo: 49
Version of RN: 0.72.10

I'm observing the same issue in my React Native app, which uses supabase-js (2.43.2). Daily, hundreds of errors like that occur when trying to make some fetch or insert/update actions via the Supabase SDK. I have no idea where I should start debugging it.

It's caused by your network.
Change to a different router or internet connection. Just try your phone's hotspot and it will start working.
Not sure why it happens.

I'm doing also a lot of request to different APIs in the same time (Google Cloud function) and somehow I'm not observing this error there.

I am encountering the error TypeError: Network request failed when making a large amount of requests (switching between multiple screens of my app a bunch of times).
@ahanusek I know this has been closed for a bit now. I'd like to know if you've made any progress on why this happens, how a solution around it? Don't believe the retry strategy in react query would help my case as I seem to be getting the error from subsequent requests after getting the first one fails, and will only fix itself after closing the app and reopening it.
Seems to be network related obviously. But the subsequent requests thing is a little strange.


Where is pages you create in /admin#!/page/create stored?

Have looked around the src files and cant seem to find where the pages i create in /admin#!/page/create exists, my question is where can i find this location?

The code is in the Cms modules, In the database: the table is Cms_Page. You can view this page by enter the hostname + / + your page url


Add integration test for srsRAN blueprint

Created the groovy file for the srsRAN blueprint testing. Updated the script to deploy srsRAN (on two node setup) and verify the status of the test. also collect required logs from the deployment.
However due to access/permission issue i didn't get chance to test in jenkins environment (on aws instances). Need support in testing this job.

Thanks larry


trying to measure request timing

I'm doing some timing during a crawl recording the start time in Ctx in OnRequest and calculating a duration in OnResponse.  It all works very well until I try to throttle the crawler with a Limit with Delay  since the sleep is called by the backend after the OnRequest callbacks
Is there another callback that can be used, or would you consider moving the sleep to before the OnRequest is called ?

@cameronbraid  BTW, you can replace time.Now().Sub(start) with time.Since(start)


[Script]: Unsupervised Learning Algorithm for Salary Clustering

Aim
In this proposal, I present a project to develop an unsupervised learning algorithm for clustering salary data. The goal is to identify patterns and group similar salary levels based on years of experience. The project utilizes the K-means++ clustering algorithm and aims to provide insights into salary distribution and segmentation.
Details
Data Collection: Obtain the Salary dataset from Kaggle, consisting of information on years of experience and corresponding salaries.
Data Preprocessing: Clean the dataset by handling missing values, outliers, and performing necessary data transformations to prepare it for clustering.
Implementation of K-means++ Clustering: Utilize the scikit-learn library to implement the K-means++ clustering algorithm. Apply the algorithm to the salary dataset, varying the number of clusters.
Optimal Cluster Selection: Evaluate the clusters using metrics such as Within-Cluster Sum of Squares (WCSS) and Silhouette Score. Determine the optimal number of clusters by analyzing the Elbow Method and Silhouette Score graphs.
Model Training and Prediction: Train the K-means++ model with the chosen number of clusters. Predict the cluster labels for each data point in the salary dataset.
Cluster Visualization: Visualize the clusters using scatter plots, assigning different colors to each cluster. Explore the distribution and separation of salary levels based on years of experience.
Data Normalization: Normalize the salary and years of experience features using techniques like Min-Max scaling. Re-train the model on the normalized data to compare the clustering results.
Cluster Evaluation: Calculate the Sum of Square Error (SSE) for different values of K and plot the SSE graph to assess the quality of the clustering.
Model Persistence: Save the trained K-means++ model for future use in clustering new salary data.
The project will deliver a Jupyter Notebook containing the implementation of the algorithm, visualizations of the data distribution and clustering results, a trained model, and documentation explaining the project's objectives, methodology, and instructions for running the code.
The expected timeline for completing the project is approximately four weeks, including data collection, preprocessing, algorithm implementation, evaluation, and documentation.
By developing this unsupervised learning algorithm, we aim to provide valuable insights into salary segmentation based on years of experience, which can have various applications in areas such as HR analytics, salary benchmarking, and talent management.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@Yashbhadiyadra Please check this issue


UI issue of NBHR .

-The text is going out of the text box.

-Still the text is going out of the text box.
-Tested on dev app v1.5.0(248)

-Still happening on dev app v1.5.0(249)

-Verified this issue on dev app v1.5.0(254)


Sharing is Caring Power App Sample - Yoda

Category

[x] New Sample

What's in this Pull Request?
Power Apps Calendar Component

Thank you @CraigWhite81 ! Much appreciated!!!


TES3Merge v<IP_ADDRESS>. ... An unhandled exception has occurred

Hey thanks for TES3Merge!
I just installed .NET 6.0 Desktop Runtime (v6.0.24), copied the new TES3Merge v0.11 files into my Morrowind directory, and I get this error below. Is the Archive "'BetterBodies.bsa' could not be found." note because I have a mod dependant on it somewhere in my load order?
Thank you,

TES3Merge v<IP_ADDRESS>.
Using encoding: Western European (Windows)
Installation folder: C:\Games\steamapps\common\Morrowind
Supported record types: ACTI, ALCH, APPA, ARMO, BODY, BOOK, BSGN, CELL, CLAS, CLOT, CONT, CREA, DOOR, ENCH, GMST, INGR, LEVC, LEVI, LIGH, LOCK, MGEF, MISC, NPC_, PROB, RACE, REPA, SKIL, SNDG, SOUN, SPEL, STAT, WEAP
An unhandled exception has occurred. Traceback:
Archive 'BetterBodies.bsa' could not be found.
at TES3Merge.Util.MorrowindInstallation.MapArchiveFiles()
at TES3Merge.Util.MorrowindInstallation.LoadDataFiles()
at TES3Merge.Util.Installation.GetDataFile(String path)
at TES3Merge.Commands.MergeAction.Merge(Settings settings)
at TES3Merge.Commands.MergeAction.Run(Settings settings)

TES3Merge.log

Pardon my noobery ignorance. I hope this is the correctly uploaded file.
Now getting a different error message:
TES3Merge v<IP_ADDRESS>.
Installation folder: C:\Games\steamapps\common\Morrowind
Supported record types: ACTI, ALCH, APPA, ARMO, BODY, BOOK, BSGN, CELL, CLAS, CLOT, CONT, CREA, DOOR, ENCH, GMST, INGR, LEVC, LEVI, LIGH, LOCK, MGEF, MISC, NPC_, PROB, RACE, REPA, SKIL, SNDG, SOUN, SPEL, STAT, WEAP
[Merge] took 12921 ms.
A serious error has occurred. Please post the TES3Merge.log file to GitHub: https://github.com/NullCascade/TES3Merge/issues
Press any key to exit...
TES3Merge.log

I'm having a similar issue, but for me it starts the merge and fails after a few records. I'm currently building up a new modded installation and I regularly re-generate the Merged Objects.esp to check conflicts with tes3view (xEdit). Most of the time it works, but sometimes after I changed something in the load order, I get this error: An unhandled exception has occurred
It always fails at a SKIL record, and I found that when I move Slower Leveling Speed to a different spot in my load order (it can still have the exact same position relative to conflicting mods, and I always load this after the - very few - mods that also change Skills), the Merged Objects.esp will generate just fine.
TES3Merge.log


aiida installation on mac

If mamba install doesn't work on a mac, then along with conda install, instructions for installing prerequisite services also need to be included in our installation docs, otherwise the initdb command will not work. Could point to: https://aiida.readthedocs.io/projects/aiida-core/en/latest/intro/install_system.html#intro-get-started-system-wide-install or we can re-write this for our docs.

Removing reference to mac installation for now


Singleton classes in ElectronNET.API are not thread-safe

Might not be completely relevant or even necessary to implement, but I did notice that the Singleton classes (like Clipboard, Notification, Shell, etcetera) are not thread-safe.

Implemented! The next API Version 0.0.6 is thread-safe.
Enjoy!


Import notebooks with markdown integrated

Notebooks are importing successfully, but their markdown needs to be updated and clear.


Notice: Neos Universe Locale strings

Just a heads up, we'll soon be adding locale strings for an upcoming educational experience "The Universe" into the English and Czech locale files. There will be dozens of new strings, that are mostly specific to this experience, but some of them should be general enough to be used more widely too (e.g. names of Planets).
Please feel free to ignore those strings and leave them untranslated. It's quite a lot of them and the experience won't be released for some time, so it will not have large impact on Neos having them untranslated.
We're including them into the main file for now because it's simpler to do (and we have a deadline), but out long term plan is to split up the locale into multiple locale resources. We'll preserve any translations in that case though!

Adding extra piece of information.
DO NOT translate the .Wiki strings. Those are used to override the search term for Wikipedia for the Universe demo when needed.
Once the demo is published, you'd be able to check which items need an override and submit those.
The .Wiki strings are excluded from being counted and marked as missing to compensate this.

Oops, forgot to read the pinned issues before making a locale :P sorry


Esp do not scale good

whichever solution or windowed to full screen option you may use its 5 centimeters off from center of crosshair how do i fix it? thanks for your work gg wp

try changing your display scaling to 100%

windows scale changed to %125 to 100 and fixed it thanks people <3

Glad you resolved it, for anyone who'd like to keep their scale - new feature will be pushed soon.

Hi @Kurtban31, if you want, you can check with your original scale (125%) and see if the issue is fixed now.


pulseaudio-ignore-builtin-card: do we need it

not sure if its needed. right now its with a wrong card

Absence doesn't seem to cause any issues, closing.
For reference: https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/sparse/lib/udev/rules.d/99-pulseaudio-ignore-builtin-card.rules


Travis CI: upgrade everything on MacOS

SoftEther VPN Patch Acceptance Policy:
http://www.softether.org/5-download/src/9.patch
I choose option 1.

can we also add brew cache ?
https://stackoverflow.com/questions/39930171/cache-brew-builds-with-travis-ci

Yes.


Resolve style and error-prone issues found by Codacy and IDEA.

Summary of changes:

Removed redundant import statements; adjusted usages of static import ... where spotted.
Avoided addressing a class via FQN when not in need.
Fixed switch..case statements with default label where applicable.
Refactored some parts of the code to avoid duplication.
Substituted IDEA comment-based warning suppressions with a standard annotation-based suppressions.
Updated class member declaration order: static fields and constants, fields, constructors, methods.
Fixed some spelling issues and typos.

Current coverage is 82.22% (diff: 51.35%)

Merging #231 into master will increase coverage by 0.27%

@@             master       #231   diff @@
==========================================
  Files           162        162
  Lines          6029       6009    -20
  Methods           0          0
  Messages          0          0
  Branches        640        635     -5
==========================================
  Hits           4941       4941
+ Misses          971        952    -19
+ Partials        117        116     -1

Powered by Codecov. Last update 9ff9799...61b1edb

@alexander-yevsyukov PTAL.