Fixed #49 and fixed #71 by passing section objects in templates, and not only the sections identifiers

@JanMalte and @leetucker this should fix your issues, can you test this in your projects and tell me if everything is okay?
Basically, the template context for the form template now includes:

The preference registry, which you can use to retrieve sections by looping on the section_objects attribute: `{% for section in registry.section_objects %}{{ section.verbose_name }}{% endfor %}
The current section object (if any) is accessible under the section context key. If no section is selected, this value will be at None: Current section is {{ section.verbose_name }}

Hopefully, this should make it easier to write templates that involves sections and i18n.

Codecov Report

Merging #72 into develop will increase coverage by 0.2%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           develop      #72     +/-   ##
==========================================
+ Coverage    88.91%   89.12%   +0.2%
==========================================
  Files           31       31
  Lines          839      855     +16
==========================================
+ Hits           746      762     +16
  Misses          93       93

Impacted Files
Coverage Δ

dynamic_preferences/users/registries.py
100% <100%> (ø)
:white_check_mark:

dynamic_preferences/views.py
100% <100%> (ø)
:white_check_mark:

dynamic_preferences/registries.py
92.92% <100%> (+0.45%)
:white_check_mark:

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 7a457bc...3856959. Read the comment docs.

Perfect :) Thanks a lot, this is working well. Please merge as soon as possible and release new version ;)

Okay, let's merge, you can expect a release including this PR next week :)


data_loader.py is not working on Mac Arm M1

I followed required steps on Mac Arm M1 and unable to get data_loader.py script working. Getting below errors in virtual environment.
python3 data_loader.py --dir data/books
Connecting to Redis at redis://localhost:6379
Deleting any existing JSON documents for RU204.
Dropping any existing search index.
Creating search index.
Traceback (most recent call last):
File "/Users/akanse/redis-course/ru204/data_loader.py", line 42, in
r.ft(INDEX_NAME).create_index(
File "/Users/akanse/redis-course/ru204/venv/lib/python3.9/site-packages/redis/commands/search/commands.py", line 139, in create_index
return self.execute_command(*args)
File "/Users/akanse/redis-course/ru204/venv/lib/python3.9/site-packages/redis/client.py", line 1238, in execute_command
return conn.retry.call_with_retry(
File "/Users/akanse/redis-course/ru204/venv/lib/python3.9/site-packages/redis/retry.py", line 46, in call_with_retry
return do()
File "/Users/akanse/redis-course/ru204/venv/lib/python3.9/site-packages/redis/client.py", line 1239, in
lambda: self._send_command_parse_response(
File "/Users/akanse/redis-course/ru204/venv/lib/python3.9/site-packages/redis/client.py", line 1215, in _send_command_parse_response
return self.parse_response(conn, command_name, **options)
File "/Users/akanse/redis-course/ru204/venv/lib/python3.9/site-packages/redis/client.py", line 1254, in parse_response
response = connection.read_response()
File "/Users/akanse/redis-course/ru204/venv/lib/python3.9/site-packages/redis/connection.py", line 839, in read_response
raise response
redis.exceptions.ResponseError: unknown command 'FT.CREATE', with args beginning with: 'idx:books' 'ON' 'JSON' 'PREFIX' '1' 'ru204:book:' 'SCORE' '1.0' 'SCHEMA' '$.author' 'AS' 'author' 'TEXT' 'WEIGHT' '1.0' 'SORTABL'
Note that required modules successfully installed -
pip install -r requirements.txt
Requirement already satisfied: async-timeout==4.0.2 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (4.0.2)
Requirement already satisfied: Deprecated==1.2.13 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (1.2.13)
Requirement already satisfied: packaging==21.3 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (21.3)
Requirement already satisfied: pyparsing==3.0.9 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (3.0.9)
Requirement already satisfied: redis==4.3.4 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (4.3.4)
Requirement already satisfied: wrapt==1.14.1 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (1.14.1)

Are you using the correct Redis Stack instance of Redis... this suggests that you don't have RediSearch installed.  This course requires both RedisJSON and RediSearch and is best taken using Redis Stack which has these pre-configured:

redis.exceptions.ResponseError: unknown command 'FT.CREATE', with args beginning with: 'idx:books' 'ON' 'JSON' 'PREFIX' '1' 'ru204📖' 'SCORE' '1.0' 'SCHEMA' '$.author' 'AS' 'author' 'TEXT' 'WEIGHT' '1.0' 'SORTABL'

Closing this as we are unable to replicate this -- it's working on the M1 Mac that we have access to and the issue looks more like an issue with not using the correct Redis container as the FT.CREATE command does not appear to exist.


travis: Install only the GHC we are testing

This will decrease install times
Closes #119

The various Travis PRs #118 #120 and #128 will probably have merge conflicts with each other. I can deal with them as the PRs are merged one by one.

Hmm. Adds a bit of complexity (yaml references) to the yaml file. Saves about 8 seconds out of an 80 second build (if there's a cache hit) or a 5 minute build (if there's a cache miss). Though we run tests for every PR so I suppose it's good to save all the time we can. Plus, the savings are greater if we test more GHC versions (for example 8.0 as in #120, maybe even 7.4...)

will rebase in next 24 hours. I can and should be prodded if not.

I think github automatically sends notifications when I push new commits to a PR branch now, so notifications should have been sent. let me know whether that's true so I know whether I can safely stop notifying via comment

I received the two notifications from your messages.
But don't worry! I'm checking it frequently.

I'm just going to take a moment to say that I kept the cabal version at 1.22 across the board since this preserves existing behavior. I would note however that https://github.com/hvr/multi-ghc-travis/blob/master/make_travis_yml.hs has a map of GHC version to the cabal version at the time (well, excepting anything before 1.16, but that doesn't affect us) and usually tests the two together.
I don't have a strong opinion on what cabal version should be used, so I'll leave the existing behavior untouched unless there's a compelling reason to change.


Master is broken

Running ./gradlew on master fails with the following exception:
Script compilation error:

  Line 211:             kotlinTest("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
                                                               ^ Unresolved reference: kotlinVersion

I suspect this is caused by a bad merge.
The fix is to change line 211 to: kotlinTest(kotlin("reflect"))

Master is green again.


How to create File Password protected using RNCryptor

I want to make an iOS app, User will lock a file with password and open that file using same password.

Do you have a question about RNCryptor?


Windows version 10.0.17763-based image is incompatible with a 10.0.17134 host

I'm unable to build SC 9.1 images on my Win 10 Pro (build 17134). Is the OS ltsc2019 a must for 9.1?
The error I receive:
4.7.2-windowsservercore-ltsc2019: Pulling from dotnet/framework/aspnet
a Windows version 10.0.17763-based image is incompatible with a 10.0.17134 host

Docker version:
 Version:           18.09.0
 API version:       1.39

Hi there, as the error states a Windows version 10.0.17763-based image is incompatible with a 10.0.17134 host your Windows 10 is too old, so to run ltsc2019 images you need to upgrade to Windows 10 1809. As a workaround you can fork this repo and downgrade the images to windows server core 1803 (see the 9.0.2) images as it is not required by 9.1.

Ok, forced Windows to check for updates few times (manually). Now it seems it comes:

Thanks, @pbering!


Close POAM V24-CM-6: Secure Pages Include Mixed Content

In order to demonstrate that our system has an acceptable level of risk, we need to close this identified potential risk as resolved or invalid.
Implementation sketch:

[ ] We've written a false positive rationale in this document.
[ ] Our 18F AO has approved this rationale.
[ ] We've emailed this to our 3PAO.

Acceptance Criteria:

[ ] 3PAO verifies that rationale.

More Information

See POAM for details.
NIST Special Publication 800-53 (Rev. 4) CM-6

This is a false positive.  It refers to insecure URLs in comments in https://logs.fr.cloud.gov/bundles/commons.bundle.js:
/**
     * @ngdoc directive
     * @name ngSrc
     * @restrict A
     * @priority 99
     *
     * @description
     * Using Angular markup like `{{hash}}` in a `src` attribute doesn't
     * work right: The browser will fetch from the URL with the literal
     * text `{{hash}}` until Angular replaces the expression inside
     * `{{hash}}`. The `ngSrc` directive solves this problem.
     *
     * The buggy way to write it:
     * ```html
     * <img src="http://www.gravatar.com/avatar/{{hash}}" alt="Description"/>
     * ```
     *
     * The correct way to write it:
     * ```html
     * <img ng-src="http://www.gravatar.com/avatar/{{hash}}" alt="Description" />
     * ```
     *
     * @element IMG
     * @param {template} ngSrc any string which can contain `{{}}` markup.
     */

I have also manually loaded logs.fr.cloud.gov and verified that all resources are accessed via https scheme

Ha! This seems like a bug in OWASP ZAP - we might want to investigate whether they're fixing this upstream.

Updated the story with an implementation sketch that links to a document for drafting rationales.

Drafted rationale here, sent to AO for approval (https://github.com/18F/Infrastructure/issues/745).

There's no more active work to do for this one - it's filed in the POAM appropriately.


Change all the things

Some idea for things to change on the rebranded sign page, but only if they can be done today:

Make the form wider (comp coming soon)
Give the form a background color (comp coming soon)
Auto-focus name field on load
Move required fields above non-required fields and hide non-required fields until something is added to required fields
Change text above signature count bar to say, e.g. "18,642 signatures. NEW goal - We need 20,000!"
Remove "Sign Now" button on desktop, only show on mobile
Change "Sign This Petition" button to red, #ea1c24

here's number 6 https://github.com/MoveOnOrg/giraffe/pull/209

And number 5 #460

One more change: hide nav completely on thanks page. Looks like maybe the minimal flag on the route just needs to be applied in theme-giraffe.

One more one more: change the "sign now" sticky button to the same red, and change the text on it to  match as well, so both say "sign the petition."


nmon visualizer unable to parse the below files

dx1091-dat.zip
dx1093-dat.zip
dx1105-dat.zip
dx1106-dat.zip
dx1107-dat.zip
dx1108-dat.zip

These nmon files looks like they got corrupted somehow.
For instance, dx1091 has a blank at line 78,111 then repeats data starting at CPU014 for timestamp T0366:
DISKBSIZE,T0366,15.0,0.0,0.0,15.0,0.0,0.0,0.0,0.0

CPU014,T0366,60.4,2.3,0.0,37.3,0.0

dx1105 has a missing first column at line 59,812.
I didn't look at the other files, but you should be able to delete the duplicate / incorrect data from the file and reprocess it.


Documentation for RP2040

Added documentation for RP2040 example using Raspberry Pi Pico board.

Reviewed the PR it looks good, Thank you @abhishekdhamale  👍🏻

ci is failing. Can you re-check your spellings?


Add Palantir plugin to integrate docker support in Gradle lifecycle

https://github.com/palantir/gradle-docker

I think that Palantir is a bit overkill for our needs. We need only to run docker build and docker run.


the model is not available

Hi,
For some reason, I cannot download the model. Could you please tell me how to handle this?
Regards,
Chen

http://zefirus.org/datasets/models/ThermalGAN/ThermalGAN.pth

Please see also https://github.com/vlkniaz/ThermalGAN/issues/1 (which repeats the solution above), and then close this issue.

Hi,
For some reason, I cannot download the model. Could you please tell me how to handle this?
Regards, Chen

https://github.com/vlkniaz/ThermalGAN/issues/1#issuecomment-2381939457


html repr doesn't work in some sphinx themes

Downstream issue: https://github.com/xarray-contrib/cf-xarray/issues/57
Example: no reprs displayed in https://cf-xarray.readthedocs.io/en/latest/examples/introduction.html
@benbovy's diagnosis:

It looks like bootstrap 4 (used by sphinx-book-theme) forces all html elements with hidden attributes to be actually hidden (source), so the hack in pydata/xarray#4053 does not work here (the result is even worse).
I guess that a workaround would be to add some custom CSS such as .xr-wrap { display: block !important }, assuming that custom CSS is loaded after Bootstrap's CSS. Not ideal, though, it looks like a hack on top of another hack.

This should be fixed: https://github.com/executablebooks/sphinx-book-theme/issues/238 https://github.com/pandas-dev/pydata-sphinx-theme/issues/274 https://github.com/pandas-dev/pydata-sphinx-theme/pull/275


RAM load

Version 0.11.1
Windows 11 x64, 16GB RAM

=> electron app. or do you see any serious memory leaks in the angular part?

@4gray I do not understand, I thought that this might not be normal and reported.

I agree, in general this is not normal, but unfortunately typical for an electron based application.
I was looking at tauri as a replacement for electron, but I think there may be unpredictable issues with the player on different platforms...

@4gray Yes, I am a complete zero in this, but I have seen that some are even proud that their application does not use such code.

Please try the latest beta version, it should use noticeably less memory, please leave your feedback after testing.


Update SDK version in code sample

Docs Build status updates of commit 760bf11:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
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.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
86
17
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Prevent persistent cache data races

Concurrent authentication causes data loss when using a persistent cache because base.Client doesn't synchronize its access. The data flow of authentication looks like this:

load persistent cache into memory (clobber data in memory)
authenticate
store authentication data in memory
write in-memory data to persistent cache (clobber persisted data)

When multiple goroutines authenticate concurrently, one may execute step 1 while another is between steps 3 and 4, deleting new data in memory before it's persisted. My solution in this PR is simply to lock around accessing the persistent cache.
To prevent repetition, I simplified several methods by consolidating the (internal) interfaces for partitioned and flat caches. These interfaces had almost the same Read/Write API; the difference was an unnecessary parameter. While I was at it, I also eliminated unnecessary writes to persistence--methods that don't write the in-memory cache no longer export it to the persistent cache.

Can you describe the actual user scenario that got broken? i.e. how does this race manifest?
A few thoughts:
MSAL.NET chose a slightly more granular approach to locking

LOCK. load persistent cache into memory (clobber data in memory). RELEASE LOCK
authenticate
LOCK. re-load persistent cache into memory
store authentication data in memory
write in-memory data to persistent cache (clobber persisted data). RELEASSE LOCK

This ensures that we don't lock for the entire duration of the HTTP request.
Eventual consistency vs race issues
In MSAL.NET we experimented with disabling that lock. Unfortunately this seems to lead to a situation where a cache node (e.g. for Redis) now contains too many tokens. @pmaytak is looking at this.
I think the fix looks fine, but would be good to have a rough idea of the perf impact.

The race I described above causes unnecessary reauthentication because some tokens don't make it to the persistent cache and are lost the next time the client loads persisted data. Reauthentication could be acceptable if it were rare, but empirically I see data loss ~25% of the time with only 2 goroutines authenticating concurrently.
benchmarks
The scenario is 10 goroutines concurrently authenticating and retrieving a cached token, with the cache persisted to a file. "Baseline" is the latest published version i.e. none of the locking added in this PR. "Read lock" is this PR as it is now, with a read lock in AcquireTokenSilent. "Exclusive lock" changes that read lock to an exclusive one.

It's interesting that this PR actually improves the benchmark despite adding locks. I believe this is because it also removes unnecessary writes; apparently those are more expensive in this scenario than the new locks.

@pmaytak - can we do something similar for MSAL.NET?

@chlowell - 30% perf improvement for cached token acquisition is massive! Ship it :)

It's interesting that this PR actually improves the benchmark despite adding locks. I believe this is because it also removes unnecessary writes; apparently those are more expensive in this scenario than the new locks.

Given that this PR improves the baseline, that hypothesis is reasonable, and I am also giving a Ship-It! :-)
The following comments are mostly FYIs for open discussion.

solution in this PR is simply to lock around accessing the persistent cache

MSAL.NET chose a slightly more granular approach to locking
......
This ensures that we don't lock for the entire duration of the HTTP request.

The MSAL .Net's approach were also adopted in MSAL Python and MSAL Java. The MSAL Go implementation in this PR looks also in the same granular manner, as opposed to locking up the entire token acquisition http request. So, we are all good here.

"Read lock" is this PR as it is now, with a read lock in AcquireTokenSilent. "Exclusive lock" changes that read lock to an exclusive one.

Were the "read lock" and "exclusive lock" referred to the actual file lock characteristic? FWIW, MSAL Python (EX) implementation used to acquire a lock exclusively, during both token read and token write. Since then, an improvement kept only lock behavior during token write, and removed the lock attempt on token read. It just assumes a successful read (meaning the token cache file is in valid json format) would mean the data is clean. It also seems to work well.

The race I described above causes unnecessary reauthentication because some tokens don't make it to the persistent cache and are lost the next time the client loads persisted data. Reauthentication could be acceptable if it were rare, but empirically I see data loss ~25% of the time with only 2 goroutines authenticating concurrently.

Out of curiosity, was that "empirical ~25% data loss with only 2 goroutines authenticating concurrently" a real-world "end user occasionally runs 2 instances of same app manually" scenario, or an in-lab "spinning up 2 instances and having them loop authentication repeatedly" scenario? The "~25% data loss" sounds too-high-than-we-thought for the former.


Update Posts “welcome”

Automatically generated by Netlify CMS

👷 Deploy Preview for compassionate-jennings-382ffe processing.

Name
Link

🔨 Latest commit
438f4ad8739cf29ae3687770417b27b9a08d6c21

🔍 Latest deploy log
https://app.netlify.com/sites/compassionate-jennings-382ffe/deploys/62ab8d2c1a70290008ce54e5


replaced some replaced parameters

Hey there @hm9245, I see that the tests are failing, and I don't really see what would be the need for this, or what would it solve, so I'll pass on this one. ☕
But if you have questions or have a use case that you are wanting to handle, the best place to start would be a GitHub Discussion question, that will allow me/us to understand better your use case and help you better: https://github.com/tiangolo/fastapi/discussions/new?category=questions


Try to obtain the user details origin from x-forwarded-for header

Use the x-forwarded-for HTTP request header, if it's available, for the UaaAuthenticationDetails origin. So if UAA is behind a reverse proxy, the origin will reflect the actual user IP address and not the proxy server's.

@mikeroda; we are going to revert this commit.  Upon closer inspection we realized that we rely on tomcat remoteipvalve to handle the x-forwarded-for header and set the remoteaddress.
Are you using UAA on tomcat with remoteipvalve?  Or some other setup?

@mikeroda Reading x-forwarded-for header, means that a client can modify it's own IP address by simply setting the header. This header should only be read when the request comes from a trusted reverse proxy. See the tomcat.server.xml.erb in cf-release, where we configure the RemoteIPValve

OK


[what happened] Heating causes drop in OD

When heating is active (i.e. duty cycle is non-zero), and this causes a drop in the optical density reading, the likely cause is that the LED output is decreasing (hence apparent OD dropping). What causes this a drop in LED output?

the op-amp in the LED circuit saturated, and hence the LED output is directly proportional to the supply rail, and the latter drops when heating is turned on.
Even if the op-amp is not saturated, there can still be a small drop when heating is active.

A solution is to time the heating s.t. it turns off when the IR LED turns on, similar to how the bubbler works.

This is mostly solved by now measuring the IR LED output


Failed to get convolution algorithm

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes / no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 16.04 LTS Ubuntu
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: n/a
TensorFlow installed from (source or binary): conda
TensorFlow version (use command below): 1.14
Python version: 2.6
Bazel version (if compiling from source): n/a
GCC/Compiler version (if compiling from source): n/a
CUDA/cuDNN version:  9.0
GPU model and memory: Quadro GP100

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
I have a simple sequential tf.keras model with convolution that runs on
a tfrecords Dataset. Suddenly, convolutions stopped working.
No known changes made to system.
Describe the expected behavior
It runs as per usual
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Won't help reproduce what may be system's issue.
ds = tf.data.TFRecordsDataset(...).shuffle(...)
model = tf.keras.Sequential([
    tf.keras.layers.Conv2D(...),
     ...
])

model.compile(...)
model.fit(...)

Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
name: Quadro GP100, pci bus id: 0000:af:00.0, compute capability: 6.0)
2019-09-14 08:13:43.313823: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x56244eb0db50 executing computations on platform CUDA. Devices:
2019-09-14 08:13:43.313866: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): Quadro GP100, Compute Capability 6.0
2019-09-14 08:14:35.273134: I tensorflow/core/kernels/data/shuffle_dataset_op.cc:111] Filling up shuffle buffer (this may take a while): 4255 of 129446
....
2019-09-14 08:14:36.878088: I tensorflow/core/kernels/data/shuffle_dataset_op.cc:162] Shuffle buffer filled.
2019-09-14 08:14:48.210416: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-09-14 08:14:49.011180: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2019-09-14 08:14:49.016488: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2019-09-14 08:14:49.016616: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node conv1d/conv1d}}]]

no warning message was printed above.

@SumNeuron ,
Hi,looks like the issue is with CUDA, please refer similar issue #24828 and solution.Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


⚠ Fortnite has degraded performance

In d3d6234, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1610 ms

Resolved: Fortnite performance has improved in d2b60da.


@NotNull field semantics

Basic question: when a field is marked as @NotNull, when can it be safely assumed to be non-null?
If a field is final, then it probably becomes notnull after its initialization. But before that, other methods can be called, also via superclass constructor, and it seems an undecidable problem in general to determine if a specific field reference is done after its initialization or before it. IntelliJ does some guessing here to avoid marking if (field == null) as "always true" in such semi-initialized places, but to avoid false positives, it'd also skip useful warnings sometimes.
If a field is non-final, things get even more complicated, not even compiler complains about obvious field dereferences before its initialization. Should we even allow notnull fields not initialized before or inside all constructors? AFAIK Eclipse doesn't. IntelliJ has an option for this, and some people don't like it because they have non-null fields initialized in test set-up, or by dependency injection.

Above I said, "Non-final fields are the source of most problems" and I fantasized about handwaving them away. But yeah, maybe it's not so bad.
There's no problem with public @Nullable Type field; you can assign anything to it, but any read from it is nullable.
As for public @NonNull Type field, first, this would prevent assigning a nullable type to it, which is all good. For reads, it documents the owner's promise that no one outside the class or its subclasses should ever observe a null value. The owner could fail to meet that promise, but it can also fail to meet its promise for a nullable method return type or anything else too.

Here's a broader proposal for how we might look at non-final fields.
First, we could stick to my beloved "all we're doing is making enhanced types" design anchor, but in this case it doesn't get us far. Fields go through changes; types are unchangeable. Once a field gets marked nullable then a checker has little opportunity left to do anything smart about it.
So: class Foo has non-final field bar.
First, I want to talk about Foo's responsibilities toward bar, then get into "how might a tool help Foo's author get those responsibilities right."

Foo is responsible for initializing bar (making it able to serve its purpose) sometime before any code outside the class might read its value, directly or indirectly (with a few more coping strategies available if the latter).
If Foo wants to invalidate bar (making it unable to serve its purpose), then Foo is likewise responsible for ensuring that outside callers won't access it anymore, directly or indirectly (with a few more coping strategies available if the latter).

None of this is new or specific to nullness checking, it's just a way to write less-buggy code in general.
Bringing nullness checking into the picture: if we leave bar non-nullable, this expresses the following idea: "part of what it means for bar to be 'able to serve its purpose' is that it is non-null."
How can tools help?
They will naturally help with #2 at least in that setting the field to null would produce a warning that would have to be suppressed. A culture that values safety would require an adequate explanation to be provided in a comment.
With #1, it helps a bit that we can differentiate real initializations (no warning) from dubious initializations that might still leave the field null (warning). And of course it can be validated that the field is set somewhere. Then I think the problem reduces to the general problem of API sequencing contracts.

We need to ground ourselves in an understanding that "we are just creating types, here" -- however, they are erased types, and just like with other erased types, the flexibility that gives the user to "cheat" and suppress is often going to be very useful.
Any stateful instance could potentially be in an "alive" state or not. But the specifications that are most worth capturing are the alive-state specifications. We can't say otherwise without sometimes losing information that would have been valuable for the alive state. There are already plenty of strategies for containing the damage of the "dead" states (e.g. careful instance control; making every method throw ISE() if the instance is invalidated, etc.). Adjusting field annotations isn't going to do anything to help that situation anyway.
Chris has brought up a potentially very useful guideline for annotating an API: assume that some bytecode rewriter is gratuitously inserting null-checks everywhere the annotations don't tell it not to. Of course, we'll need exceptions to that rule. Maybe this might be one of them: such checks probably make a lot more sense for inter-class API usages than intra-class.

To (eventually) elaborate on the guideline that Kevin just referred to:
I'm going to first set aside initialization so as to start the discussion with invalidation.
I don't love any of our options for invalidation (or, to be honest, for initialization :)). But my thinking has been to approach this from the opposite direction: If Foo is going to invalidate bar, then it needs to mark it as @Nullable. Then it may supplement that with a hypothetical JSpecify @NonNullWhenThisObjectIsValid annotation. (I suppose that this new annotation could even imply @Nullable, in which case it could replace the @Nullable annotation on bar.)
(Even if we don't have such an annotation, users can still take steps to reduce the pain. For example, they could introduce a private Bar requireBar() method that performs a null check or cast. (I said "reduce," not eliminate :))
A big reason for my thinking is, as Kevin suggests, tools like Kotlin that insert runtime nullness checks: Tools like that just won't let you put null into the field, no matter what tricks and suppressions you attempt (OK, barring reflection or something).
As Kevin also says, this is mostly an issue for inter-class API. But I'll note that sometimes people do press the button in IntelliJ that converts Java code to Kotlin code, and it would be nice if that tool didn't produce code with nullness errors from intra-class usage, either. Plus, the line between inter-class and intra-class is not necessarily always clear, such as when a class's implementation includes a private implementation of a public API. (But I haven't thought about this much.) Still, I agree with Kevin that inter-class is by far more important.
Sometimes I've found it helpful to think in this framework: A Bar field is "just" a Holder<Bar> with methods void set(Bar) and Bar get(). A nice feature of this framework is that it gives a somewhat strict and precise yet still lenient and fuzzy answer to questions around initialization: You'd better never write null into the field. And in fact, you'd better never read null from it, either. But you might overwrite the null that the field was default-initialized with, and tools are unlikely to care because that null is never "passing through" the imaginary get or set APIs.

Your model is also valid and we can have a hearty discussion about which one to go with. My main argument, perhaps, is that a "while-alive" spec is merely what most people want for most purposes, whereas a "least-common-denominator" spec can easily be what no one wants, for no purposes. :-)
I don't think we should feel bound by what Kotlin is currently doing; in any future where we accept "my" model then we'd be trying hard to persuade Kotlin of why it's the right one, in which event maybe it would stop doing that.

It will be good to talk to the Kotlin people (and Android people, since this issue is common in the Android lifecycle). My impression is that they've given a lot of thought to this issue. For example:

this decision to not provide a way to null out lateinit properties
this advice on providing private val binding get() = _binding!! to wrap private var _binding: ResultProfileBinding?
this sample code for a way to perform the initialization+invalidation+wrapping automatically

My overall impression is that they want for nullness to be as "real" a part of the type system as possible. Given that, I would be a bit surprised if they wanted to support a way of putting null into a non-null field. I say that especially when "fields" in Kotlin can be properties with custom accessors, including those written in Java: Which of those count as "putting null into a field?"
A big difference between Java and Kotlin, of course, is that Kotlin lets you dereference a nullable field by writing bar!!, whereas nullness-checked Java requires some kind of != null check, assertion, or call to a utility method. It may be that our best strategy for invalidation is to make @Nullable values easier to deal with, either for "non-null when valid" fields specifically or for values in general.
Still, if JSpecify annotations catch on as we hope, that may provide Kotlin new motivation to match our model. But when we're talking mainly about private fields, maybe that's still not a big motivation: The main case in which matching would be important is when converting Java to Kotlin, and presumably their migration tools just generate a bar: Bar? property and use bar!! when necessary. It's just not a huge cost in Kotlin relative to in Java.

We've been debating whether the right practice for an API is to annotate toward the "alive state" or to the "general state" (or some third possibility). Note I'm trying to set aside the idea of additional annotations, because I think we want a sane approach without them, which they would simply try to improve further upon.
But do tool implementors actually need to know this answer? What might they want to do differently based on one answer or the other?
If it's not much, or if it doesn't harm anything for different tools to answer differently, it seems like we'd be well-justified in punting. We're priortizing APIs, and the problem here is only with non-final fields, and non-final fields are extremely rare in APIs (and nasty in worse ways than just nullness if they do show up). There's some question of what exactly "punting" would look like.

I've moved the stuff about "objects with lifecycle" to #225. I think it's most (?) of the "meat" of this issue.
Having done that, I'm actually not sure what the ongoing distinct purpose of this issue becomes. I believe the plan is that field types should work like all other types in API-shaped elements.
I think a tool would probably want to warn if a non-nullable non-final field is never set by some constructor, but I'm not sure we need to say anything about that.

If I were to call anything "field-specific," I would go with the model that a Bar field is "just a Holder<Bar>."
But I agree that it makes sense to focus on lifecycles.

Okay, I think that makes sense. We will want to write up that model somewhere, and this issue might as well track that part of it.

In Data in Java Programs, I emphasize that a value is always passing from "source" to "sink", and a variable is a special thing that can act as either of those.
This applies to reading/writing fields, and it does also already apply in the same way to reading/writing array elements, just as you want. In both cases, in theory a user could want to annotate the read case and write case separately, but for simplicity's sake we will ask them to make a few compromises.
That compromise might look like "look there's just one type and it has to do double duty, just like the base type" or maybe more specifically "annotating for the read case is more important than the write case" (?).

That compromise might look like "look there's just one type and it has to do double duty, just like the base type" or maybe more specifically "annotating for the read case is more important than the write case" (?).

Is this referring to whether one should be able to assign null to an @NotNull field? To me that's like passing null to a @NotNull method parameter, so a sound tool would error on it, modulo this being an implementation concern that can be handled by individual tools. Are there additional concerns?

Don't worry, I believe I'm just confirming something won't be possible which you already never thought would be possible anyway.
"My variable is null only when unintialized. But it can actually be read before initialization (of course just be null then). So, I'd like to declare it as nullable for purposes of reading but non-nullable for purposes of writing!"
Us: "yeah sorry no"
This is only to say that if the mental model of a variable as either "holder" or "pair of source and sink" proves to be a useful conversational/educational tool, then we just want to be able to explain that annotating the inward and outward cases differently from each other might be theoretically sensible but just not supported because yuck.

I see and don't disagree.

I'd like to declare it as nullable for purposes of reading but non-nullable for purposes of writing!

Checkerframework's @MonotonicNonNull has that flavor/effect, fwiw. I don't know that this is something one would want to use in a non-private field, however, so I feel it's fine to consider out of scope for now.
Kotlin's lateinit is, for comparison, a slightly different take: reading a property lateinit var foo: String is assumed non-null but causes a runtime check emitted by the compiler, and additionally, it's possible to check whether the property has been initialized (instead of "reading null from it").

At this point, I don't actually see anything specific worth keeping this issue open for (and we would file it separately if we do).

(re-close with summary)

I still think that I said all there really is to say when I closed this, but I'll try again.

Most of this is more generally about any stateful object that transitions into and out of its "usable" state (i.e. has lifecycle), and that's still #225.
I don't see this discussion of a variable is just a Holder as needing an issue to track it.


feat: Chain connect wallet limitation - styling followup

PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #10724

Needs Design check

@exezbcz please review

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Screenshot 📸

[x] My fix has changed something on UI;

now on landing i dont see the tabs to switch

now on landing i dont see the tabs to switch ![image](https://private-user-

fixed


Added get_neighbor_cell_ids function

This PR introduces a function to generate neighbor cell ids.
Usage:
cell_id = s2cell.token_to_cell_id("1004")
edge_neighbors = s2cell.get_neighbor_cell_ids(cell_id, edge=True, corners=False)
corner_neighbors = s2cell.get_neighbor_cell_ids(cell_id, edge=False, corners=True)

Where:
cell_id: 1004

edge_neighbors:  1aac, 100c, 101c, 0ffc

corner_neighbors: 0554, 0fe4, 1aa4, 1014

The corner case:
Edge neighbors of 0aac

Corner neighbors of 0aac

@aaliddell I added a couple unittests as we discussed in #17. I got them from s2geometry repo (I added links pointing to the source). I also added some use cases I myself wrote. Is there a particular set of cases you think we should add? Or do you have a particular list of unittests I should port?

Looks good at a quick glance
I'll append to this PR with some bulk testing against the C++ version, like is done with encode/decode. Also, to match the convention of the other functions (i.e X_to_[something_]Y()), I'll rename this to cell_id_to_neighbor_cell_ids() even if it's a little unwieldy

Success, everything matches the C++ version :)
Thanks for the PR


Implement add_catchall_service()

Provides a means to add a service that implements hyper::service::Service
and can handle the request end-to-end.
https://github.com/hyperium/tonic/issues/424

any update here?

@shutton any plans to pick this back up again? If not I am going to close this now but feel free to reopen.


Using vedo within WSL (Windows Subsystem for Linux)

Hello,
I'm trying to use vedo within WSL. I have an issue with the function "show". When I try to show any 3D model, I get a very simple error message: "Aborted". Note I am using XMING as a x11 server to forward the plot GUI to my Windows system. Using XMING, I am able to use Matplotlib without any issues. Any clue what might be happening?
Thanks,
Rafael.

Hi Rafael,
are you sure you have openGL capability in your system?
you may also have a look at #64 if that applies.
One quick test to see if the upstream vtk is working is to run this as a test:
import vtk

source = vtk.vtkCubeSource()
mapper = vtk.vtkPolyDataMapper()
mapper.SetInputConnection(source.GetOutputPort())
actor = vtk.vtkActor()
actor.SetMapper(mapper)

renderer = vtk.vtkRenderer()
renderer.AddActor(actor)

renderWindow = vtk.vtkRenderWindow()
renderWindow.AddRenderer(renderer)

iren = vtk.vtkRenderWindowInteractor()
iren.SetRenderWindow(renderWindow)
iren.Initialize()
renderer.ResetCamera()
renderWindow.Render()
iren.Start()

Hi, thanks for the quick reply. I get the following error when trying to run the simple vtk example. What are the right opengl libraries to install? Thanks!
2022-07-19 15:39:43.227 (   0.157s) [        68B08740]vtkXOpenGLRenderWindow.:251    ERR| vtkXOpenGLRenderWindow (0x2427b80): Could not find a decent config
2022-07-19 15:39:43.227 (   0.158s) [        68B08740]vtkXOpenGLRenderWindow.:468    ERR| vtkXOpenGLRenderWindow (0x2427b80): Could not find a decent visual
Aborted

Hi, sorry I'm not familiar with xming.. maybe you can try something like:
https://stackoverflow.com/questions/106201/how-can-i-run-an-opengl-application-installed-on-a-linux-machine-from-my-windows

Will give it a go! Thanks Marco!


[BUG] Toolkits Report doesn't work if clicking from Budget or Reports view

Describe the bug
I recently reorganized my categories -- I mostly kept the same categories and transactions (with minor adjustments), but I moved the category groups all around: created new ones, moved categories to them, removed the old ones. Since then, the Toolkit Reports haven't been working. I actually got them working once, though I'm not sure exactly how.
The console has a few errors:
Uncaught ReferenceError: ynabToolKit is not defined
    <anonymous> moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/shared/main.js:17
    <anonymous> moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/shared/main.js:10
    <anonymous> moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/shared/main.js:13

Uncaught ReferenceError: ynabToolKit is not defined
    poll moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/act-on-change/feedChanges.js:25
    <anonymous> moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/act-on-change/feedChanges.js:38
    <anonymous> moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/act-on-change/feedChanges.js:10
    <anonymous> moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/act-on-change/feedChanges.js:13

Uncaught ReferenceError: ynabToolKit is not defined
    poll moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/act-on-change/main.js:17
    <anonymous> moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/act-on-change/main.js:73
    <anonymous> moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/act-on-change/main.js:10
    <anonymous> moz-extension://7e3b1bb0-b12a-174d-8eb0-81007fb2ed8c/web-accessibles/legacy/features/act-on-change/main.js:13

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). onloadwff.js:71:798525

I'm fairly familiar with the console and know my way around JavaScript (I'm a Java developer by day, but one picks things up here and there :) ), so I'm happy to try console commands out as needed. Basically anything other than my transactions or balances I can probably give out. :)
To Reproduce
Steps to reproduce the behavior:
Click on "Toolkit Reports"
Expected behavior
I expect to see the Toolkit Reports. Instead, the "Toolkit report" div is highlighted (as if it were selected), but the rest of the view is unchanged. The app remains responsive other than that: I can still click to other views, create transactions, etc.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: OS X 10.15.5
Browser: Firefox 78.0.1 (64-bit)
Toolkit Version: v 2.25.0

Setting Export
[{"key":"AccountsDisplayDensity","value":"1"},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":false},{"key":"AdjustableColumnWidths","value":false},{"key":"AutoDistributeSplits","value":false},{"key":"AutoEnableRunningBalance","value":true},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":"0"},{"key":"BottomNotificationBar","value":false},{"key":"BudgetCategoryFeatures","value":true},{"key":"BudgetProgressBars","value":"pacing"},{"key":"BudgetQuickSwitch","value":false},{"key":"BudgetSpendingGoal","value":false},{"key":"BulkManagePayees","value":false},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":"0"},{"key":"CategorySoloMode","value":"0"},{"key":"ChangeEnterBehavior","value":false},{"key":"ChangeMemoEnterBehavior","value":false},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseSideMenu","value":true},{"key":"ColourBlindMode","value":false},{"key":"CompactIncomeVsExpense","value":true},{"key":"ConfirmKeyboardCancelationOfTransactionChanges","value":false},{"key":"CreditCardEmoji","value":true},{"key":"CtrlEnterCleared","value":false},{"key":"CurrentMonthIndicator","value":true},{"key":"CustomFlagNames","value":false},{"key":"DateOfMoney","value":false},{"key":"DaysOfBuffering","value":true},{"key":"DaysOfBufferingDate","value":false},{"key":"DaysOfBufferingHistoryLookup","value":"12"},{"key":"DeselectTransactionsOnSave","value":false},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"0"},{"key":"DisplayTotalMonthlyGoals","value":true},{"key":"DisplayUpcomingAmount","value":false},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":"0"},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"EnterToMove","value":false},{"key":"FilterCategories","value":true},{"key":"GoalIndicator","value":true},{"key":"GoalWarningColor","value":false},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":true},{"key":"HideClosedAccounts","value":false},{"key":"HideHelp","value":true},{"key":"HideReferralBanner","value":false},{"key":"HideTotalAvailable","value":false},{"key":"HighlightNegatives","value":false},{"key":"ImportNotification","value":"1"},{"key":"IncomeFromLastMonth","value":"1"},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":false},{"key":"LinkToInflows","value":false},{"key":"MonthlyNotesPopupWidth","value":"0"},{"key":"NavDisplayDensity","value":"1"},{"key":"NotesAsMarkdown","value":false},{"key":"POSStyleCurrencyEntryMode","value":false},{"key":"Pacing","value":"3"},{"key":"PrintingImprovements","value":false},{"key":"PrivacyMode","value":"2"},{"key":"QuickBudgetWarning","value":false},{"key":"ReconciledTextColor","value":"3"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":false},{"key":"ResizeInspector","value":false},{"key":"ResizeSidebar","value":false},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"1"},{"key":"RowsHeight","value":"0"},{"key":"RunningBalance","value":"1"},{"key":"SeamlessBudgetHeader","value":false},{"key":"SetMultipleFlags","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"ShowIntercom","value":true},{"key":"SpareChange","value":false},{"key":"SplitKeyboardShortcut","value":true},{"key":"SplitTransactionAutoAdjust","value":false},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":true},{"key":"StripedBudgetRows","value":false},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":true},{"key":"ToBeBudgetedWarning","value":false},{"key":"ToggleMasterCategories","value":false},{"key":"ToggleSplits","value":false},{"key":"ToggleTransactionFilters","value":"2"},{"key":"ToolkitReports","value":true},{"key":"TransactionGridFeatures","value":true},{"key":"ViewZeroAsEmpty","value":true},{"key":"l10n","value":"0"},{"key":"options.dark-mode","value":true},{"key":"reports","value":true}]

Another datapoint: I just opened it on a separate machine, my work laptop -- and the Toolkit Report opened fine (quickly, even!). Then I navigated away to the budget pane to hide two categories, and when I went back to the toolkit report, it got stuck again. I un-hid those categories to see if that would fix it, but it didn't.

Ah, more info! It looks like I'm able to see the Toolkit Report if I click to it from an account's view (either budget or tracking), or the "All Accounts" view, but not if I click from the Budget or non-Toolkit Reports view.

I'm experiencing the exact same error with the same web browser.

This also happens in Chrome 83.0.4103.116 (64-bit). So it is not browser-specific.

I have the same problem in Chrome. I didn't know the workaround of approaching Toolkit Reports from the accounts view, but it works for me, too.

This also happens for me. Clicking "All Accounts" and then clicking on "Toolkit Reports" works, but on all other pages, "Toolkit Reports" does not work.

It works for me from any account, not only from all accounts.

Duplicate of #2017 and should be fixed in a release soon by #2031.


[Bug]: Adding Styles and hovering effect and animations to the Website

Adding more styles to the cards hover effects can make them more attractive and visually appealing
@codervivek5  I am contributing under gssoc . I would like to work on this issue. if it is assigned to me . I will do this by today

Ni need to add these things....we need to make it simple and easy to use


Menu is on the right now

Thanks for the contrib! Do you mind filling out our CLA: druid.io/community/cla.html
I'll merge the PR after that.

Done.


lodash/import-scope is added to udemy-website

To:
@cansin
/cc @udemy/team-f
What:
This rule will prevent importing the whole lodash library accidentally which increases the bundle sizes. We will only allow importing individual functions.
e.g. import map from 'lodash/map'
More info about the specific rule we're enabling: https://github.com/wix/eslint-plugin-lodash/blob/HEAD/docs/rules/import-scope.md
Trello:
https://trello.com/c/IEjsTHSk/1725-remove-lodash-from-app-bundles
What did you test:
Tested the thing by manually changing the eslintrc file on website-django repo.

 Remove lodash from app bundles


Feature Request - TapGestureRecognizer Support Required

Hi James,
I tried using the TapGestureRecognizer with the plug-in, However couldn't find the support built-in.
Also since this is the plug-in it won't recognize the following code (at least I don't know a better way)

<controls:CircleImage.GestureRecognizers>
<TapGestureRecognizer Tapped="{Binding OpenGalleryCommand}" NumberOfTapsRequired="1" />
</controls:CircleImage.GestureRecognizers>

Can you please approve this feature request as in upcoming versions?
Appreciate your every work, very Thanks.
Regards,
N Baua

Can I have a small YES on this?
Thanks
N Baua

My Bad,
I never noticed I had to use Command - not the Tapped.


Code Review Comments

There is no space between JS and Lovers in the title - Done
Create a folder resources and move the javascript, style, and assets under this - Done
 <img src="../assets/logo.png" alt="hero-img" class="pt-8 w-[410px]" /> ``alt tag should be JSLovers - Done

          Colors

```
This is a heading use the heading tags and do it for the rest of the places - done

instead of div please use section for the sections - colors, chapters, etc - Done
The page is not responsive. Please make it responsive
Accessibility (keyboard) support is not working properly
We should have hover, active style on the links - Done
The logo of JSLovers in the header is not the actual logo"  - Done
Add Footer at the bottom - Done
Logo should be in H1. We don't need Div - done
We can remove the extra div, and span in the nav. Clean the DOM and just use Nav, UL, a LI - Done
We should add images and blogs related to the JSLovers
We should have Logo's different size versions
Update readme - done
Optimize tailwind classes
Warnings to be removed from the console

What is left now?

Optimize tailwind classes
Warnings to be removed from the console
We should have Logo's different size versions
We should add images and blogs related to the JSLovers
Accessibility (keyboard) support is not working properly
The page is not responsive. Please make it responsive
Team's section
Poster to be used by the folks
Validate and clean the Code. Do CI/CD

suggestion for UI
UI can be made fixed-width or centered ?

we can consider giving max-width and let the background color expand to full width of viewport
means after a certain width will not expand beyond that and background color will be retained

right now it looks like this , expanding

@purohitdheeraj , we can let the background colour extend - for sure. But let's keep the content center aligned

sure @Neha that's what i was pointing
i can work on that can you please tell
what max-width should i go with ?
1320px ?


update the docs and add match phrase prefix class

implement the Aliased interface to use the customer analyzer

Tests are missing unfortunately. If you've time to add them, please do. I assume they can be pretty easily copied from other tests.


fix: Support omnifunc's alternative return type (dict)

As per :help complete-functions, a complete function may return a list
or a dictionary { words = <list>, refresh = 'always' }. This was not
previously recognized, silently resulting in "no completion results".
An example of such omnifunc is vim.treesitter.query.omnifunc().
In order to return more information than the matching words, return a Dict
that contains the List.  The Dict can have these items:
	words		The List of matching words (mandatory).
	refresh		A string to control re-invocation of the function
			(optional).
			The only value currently recognized is "always", the
			effect is that the function is called whenever the
			leading text is changed.
Other items are ignored.

Note: #4 also includes this kind of fix /cc @hrsh7th @akh2008

/cc @hrsh7th Bumping this up.

@hrsh7th Bumping this up again.

@hrsh7th


ResembleJS version update

I believe there are some important changes, since year ago, for resemblejs.  Are there any reasons why in package.JSON we have 1.2.x version instead of 2.1?
Thank You in advance.

There haven't been any updates to Resemble that would benefit PhantomCSS. Though there are no breaking changes either - so it's safe to update the package version ref.


Create Models

Create classes for these Models:

CalendarModel
UserSettingsModel
EditorModel

@myusome  I implemented some changes, which are now on the dev branch.
CalendarModel
Samu & Brook found, that the CalendarModel does not work for their needs. We changed it from an array of dates to a single object, in which dates are stored in 79ac0cf8e49aa842821161cc1bfd513b3ef07a85. More information can be found in CalandarModel itself  and the linked guide.
UserSettingsModel
One property was changed because it was not as described in the infographic.
Extra types
I also added extra types to:

EditorModel (BlockContentInputType, BlockContentInputType) in 02893b05cef2814d9939abac0591c54187f8707f.
UserSettingsModel (Template, TemplateItem)

These types do not change the data structure. They are mere re-writes of the existing structure, which make (parts of) the models more usable in the code.
Updated diagram
I also updated the model diagram:


adds canDelete=false for android local photos

would be cool if someone wants to run android with verbose + storage options and go take some pictures to see if they are added correctly. in ios simulator and device had a difference, don't think there will be one on android, but cool to check


Any way to delete wallet in IOS app?

I've dug through the settings and don't see a way to delete a wallet. Is there a way to do this?

Heh, yes.  The "Wallet drawer" dropdown has options on the right.  They only become visible after you successfully open a wallet.  You can only delete a wallet that isn't currently open (so you need at least 2 wallets to delete 1, and you can't delete the last wallet).
Maybe this screenshot will make it clearer.

I see! So you can’t be ‘in’ a wallet to delete it. That makes perfect sense now that I think about it.


Feature request: Add in-mem PolicyReportStore{} implementation

Requested by @nnelas, see https://github.com/kubewarden/audit-scanner/issues/102.
Currently, audit-scanner uses this PolicyReportStore{} , which uses a k8s client and therefore uses Etcd as cache for the PolicyReports.
This store cache is used to see historical data of audits here. This means that if nothing has changed in the audit request condition, the audit-scanner then skips reevaluating that specific case here.
Acceptance criteria

Create a store Go interface that satisfies the current store implementation at report/store.go .
Refactor current report/store.go into report/store-crds.go, as an implementation of the store interface.

Check that its unit tests pass.

Add a new in-mem store with a slice of PolicyReports{}, each with their PolicyReportResults{}. This new in-mem store could be under another file report/store-in-mem.go for example.

Unit tests for the new store are provided.
This store will then provide the cache functionality and allow for skipping of reevaluation as expected.

Provide an optional cli flag, --store TYPE, with possible types in-mem, crds. Defaults to --store crds for ease on first Kubewarden installations.
Expose this functionality by adding a new field in the kubewarden-controller helm chart.

@kubewarden/kubewarden-developers  could you have a look at the issue and edit as needed?

@nnelas if you comment on this issue, we can assign it to you!

hallo! sorry for not replying to you sooner, in the meantime I also made a couple of changes to the original PR aligned with your suggestions


Links directing to the wrong "main" part of the domain name in SemanticMediaWiki/Mermaid which uses this code

I am using mermaid as part of https://github.com/SemanticMediaWiki/Mermaid . The internal links don't work as expected, and the supporters of that extension say this is due to the main mermaid implementation. How do I appropriately cross-post this issue without duplicating it?

Is there an example you could provide to demonstrate the error?

I am sorry, I really didn't write a good bug report there.
The problem is that, in general, on a mediawiki you can access a page by going to the "base" address of the server, plus the page name. Sometimes this includes subdomains and/or the "index.php?..." part of the address. The mermaid extension wants to go to domain/pagename.
I made an example at
https://wiki.umintmed.ca/index.php?title=User:Ttenbergen/Mermaid_example#Strange_behaviour_of_Mermaid_links

From: Knut Sveidqvist<EMAIL_ADDRESS>Sent: June 5, 2019 00:46
To: knsv/mermaid
Cc: kuality; Author
Subject: Re: [knsv/mermaid] Links directing to the wrong "main" part of the domain name in SemanticMediaWiki/Mermaid which uses this code (#844)
Is there an example you could provide to demonstrate the error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/knsv/mermaid/issues/844?email_source=notifications&email_token=AF2TXUBDH7KJ3RQODUALF4LPY5HLPA5CNFSM4HOQN74KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW6VGYY#issuecomment-498946915, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF2TXUGQPJ3LEMIIRFI65LTPY5HLPANCNFSM4HOQN74A.
This email and/or any documents in this transmission is intended for the addressee(s) only and may contain legally privileged or confidential information.  Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited.  If you receive this transmission in error, please notify the sender immediately and return the original.
Ce courriel et tout document dans cette transmission est destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir des informations privilégiées ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas le destinataire de ce message, veuillez en informer l'expéditeur immédiatement et lui remettre l'original.

This is still a relevant issue.

I can confirm that there is still an issue, but am not sure if it's the same one. The linked example above is no longer publicly available, but I copied it to a different wiki that is: https://ccmdb.kuality.ca/index.php?title=Mermaid_bug_example
That wiki uses the newest version of the mermaid extension


WIP: Make Changes to Allow Jenkins to Parse Jtreg Test Results

Right now the plan seems to be:

Make the xml results (from the jtreg run) visible.
Get Jenkins to parse it.
Make sure Jenkins lists the job as "failed" when the tests fail.

Test Results

Summary reports are generated in the report directory, in plain text and HTML formats. To generate a detailed report in XML as well, use the -xml option.

    The plain text report in report-dir/text/summary.txt contains one test result per line and is well suited for processing with tools like grep.
    The XML report can be used with CI systems like Hudson to generate trend graphs. See Regression Test Harness and Hudson Continuous Integration System on how to do this.

looks like our jtreg runs should already support this

Thanks gdams. I'm working my way through the instructions.
http://openjdk.java.net/jtreg/jtreg-hudson.html

@Bluevisitor Its a good practise to close this PR and reopen it when its ready to be reviewed and merged - filters out the active PRs we need to review asap. thnx

@neomatrix369 I have added the WIP tag. This means that the PR is a work in progress and not ready to be reviewed. I would leave it open so that we can discuss

The basics seem to work: https://ci.adoptopenjdk.net/job/adam_test/2/
After speaking with Mani and George, we agreed that this is a good opportunity to switch over to using our home-grown jtreg. Will alter the URL as we've discussed.

Here's a test run to make sure it works: https://ci.adoptopenjdk.net/job/adam_test/5/
And the next commit will be my removal of the space I put in a readme file in order to create this PR.


Fix deprecated on tree builder root

Fix the following deprecation :

A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.

The "Symfony\Component\Config\Definition\Builder\TreeBuilder::root()" method called for the "m6_statsd" configuration is deprecated since Symfony 4.3, pass the root name to the constructor instead.

See https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/Config/Definition/Builder/TreeBuilder.php#L30

I've rebased and updated a few things after the merge of https://github.com/M6Web/StatsdBundle/pull/75 which drop support for everything below symfony 4.4

thank you 👌
=> https://packagist.org/packages/m6web/statsd-bundle#v4.0.0


Disable "noKeyboard" logic for IE11

Fixes #3757. Fixes #3901.

Changelog Entry
Fixes

Fixes #3757. IE11: Send box should not be disabled after pressing ESCAPE key in the transcript, by @compulim, in PR #3902
Fixes #3901. IE11: SVG icons for buttons should not be focusable, by @compulim, in PR #3902

Description
IE11: ESCAPE key should not disable send box
After pressing ESCAPE key while focused on the transcript, IE11 will disable the send box.
This is because IE11 did not pick up readonly attribute change after focus() is called.
The noKeyboard flag, which set the readonly attribute, is disabling soft keyboard on mobile devices.
Since IE11 don't run on mobile device, we can skip ignore the noKeyboard flag on IE11.
IE11: Should not focus on <svg> icons
(Adopted from this StackOverflow answer)
IE11 by default assume the <svg> is focusable. Since tabindex attribute is not supported in <svg> when IE11 implement it, we are using the focusable attribute instead.
Specific Changes

Skip noKeyboard flag for IE11
Set focusable={true} on all SVGs, they are icons for buttons

[x] I have added tests and executed them locally
[x] I have updated CHANGELOG.md
[x] ~I have updated documentation~

Review Checklist

This section is for contributors to review your work.

[x] ~Accessibility reviewed (tab order, content readability, alt text, color contrast)~
[x] Browser and platform compatibilities reviewed
[x] ~CSS styles reviewed (minimal rules, no z-index)~
[x] ~Documents reviewed (docs, samples, live demo)~
[x] ~Internationalization reviewed (strings, unit formatting)~
[x] ~package.json and package-lock.json reviewed~
[x] ~Security reviewed (no data URIs, check for nonce leak)~
[x] ~Tests reviewed (coverage, legitimacy)~

I think this PR might resolve the following: https://github.com/microsoft/BotFramework-WebChat/issues/3825
Could you verify?

This doesn't fix #3825. Going to open another PR. 😄


"MSIX app attach must be applicable outside of VDI or SBC."

The statement "MSIX app attach must be applicable outside of VDI or SBC." on this page is...   ...well I'm not sure what it is!

Perhaps it is a statement of potential direction.

Perhaps it is a placeholder where additional content is to be expanded.

Perhaps it is simply incorrect.

I think that MSIX App Attach has applicability outside of WVD. But it likely has limited applicability outside of VDI or SBC due to latency concerns to the share holding the VHD/CIM.  The applications essentially page over the network to these resources when running so keeping the execution inside the data center where the share is housed to reduce this latency would seem to be a requirement.
Oh sure, non VDI/SBC workloads can exist inside the data center, but the reality is that those won't need MSIX (let alone AppAttach).  Perhaps focus on the restriction (latency to share) rather than the scenario?
But I am happy to be wrong about that if someone wants to update the doc!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c7f896c0-c7a0-d8ff-225e-9b20f5c9dbcc
Version Independent ID: 62e71f0b-88e5-9bca-fa24-383545508801
Content: Windows Virtual Desktop MSIX app attach overview - Azure
Content Source: articles/virtual-desktop/what-is-app-attach.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thanks for the feedback. I've removed this sentence.
#please-close


Obsolete line folding in HTTP headers enables CRLF injection on Internet Explorer

Expected behavior
The validator for HTTP header should follow RFC 7230 and will solve this issue. (https://tools.ietf.org/html/rfc7230#section-3.2.4)

Historically, HTTP header field values could be extended over
multiple lines by preceding each extra line with at least one space
or horizontal tab (obs-fold).  This specification deprecates such
line folding except within the message/http media type
(Section 8.3.1).  A sender MUST NOT generate a message that includes
line folding (i.e., that has any field-value that contains a match to
the obs-fold rule) unless the message is intended for packaging
within the message/http media type.
A server that receives an obs-fold in a request message that is not
within a message/http container MUST either reject the message by
sending a 400 (Bad Request), preferably with a representation
explaining that obsolete line folding is unacceptable, or replace
each received obs-fold with one or more SP octets prior to
interpreting the field value or forwarding the message downstream.
A proxy or gateway that receives an obs-fold in a response message
that is not within a message/http container MUST either discard the
message and replace it with a 502 (Bad Gateway) response, preferably
with a representation explaining that unacceptable line folding was
received, or replace each received obs-fold with one or more SP
octets prior to interpreting the field value or forwarding the
message downstream.
A user agent that receives an obs-fold in a response message that is
not within a message/http container MUST replace each received
obs-fold with one or more SP octets prior to interpreting the field
value.

"obs-fold" and related fields are defined as below. (https://tools.ietf.org/html/rfc7230#section-3.2)
header-field   = field-name ":" OWS field-value OWS

field-name     = token
field-value    = *( field-content / obs-fold )
field-content  = field-vchar [ 1*( SP / HTAB ) field-vchar ]
field-vchar    = VCHAR / obs-text

obs-fold       = CRLF 1*( SP / HTAB )
               ; obsolete line folding
               ; see Section 3.2.4

Actual behavior
Currently, the validation method for setting a value in HTTP header like validateValueChar() in DefaultHttpHeaders allow multiple lines HTTP header according to RFC 2616. (https://tools.ietf.org/html/rfc2616#section-2.2)

HTTP/1.1 header field values can be folded onto multiple lines if the
continuation line begins with a space or horizontal tab. All linear
white space, including folding, has the same semantics as SP. A
recipient MAY replace any linear white space with a single SP before
interpreting the field value or forwarding the message downstream.
LWS            = [CRLF] 1*( SP | HT )

However, Internet Explorer interpret this same as [CRLF] even if it's after "LWS" (or "obs-fold" in RFC 7230).
This enables HTTP header and body injection when a server side application set a HTTP header with "LWS".
This doesn't occur in Chrome, Firefox and Safari. They interpret "LWS" (or "obs-fold") as space character instead.
Steps to reproduce
See the example code below.
Minimal yet complete reproducer code (or URL to code)
Used example code from https://github.com/eugenp/tutorials/tree/9725f52fad7b336ff7f44d57ba9b5d648f63a6d1/netty and modified as following.
diff --git a/netty/src/main/java/com/baeldung/http/server/CustomHttpServerHandler.java b/netty/src/main/java/com/baeldung/http/server/CustomHttpServerHandler.java
index abefbed0d9..96edc8e185 100644
--- a/netty/src/main/java/com/baeldung/http/server/CustomHttpServerHandler.java
+++ b/netty/src/main/java/com/baeldung/http/server/CustomHttpServerHandler.java
@@ -79,6 +79,8 @@ public class CustomHttpServerHandler extends SimpleChannelInboundHandler<Object>
                     .readableBytes());
             httpResponse.headers()
                 .set(HttpHeaderNames.CONNECTION, HttpHeaderValues.KEEP_ALIVE);
+            httpResponse.headers()
+                .set("X-Custom-Header", "custom\r\n Set-Cookie: foo=bar\r\n \r\n Modified!");
         }

         ctx.write(httpResponse);

This application sets "foo=bar" as cookie and display "Modified!" when accessing from IE. In this example, I use constant string value, but it would be a vulnerability if there's an implementation accepting value from user's input.
Netty version
4.1.52.Final
JVM version (e.g. java -version)
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)

OS version (e.g. uname -a)
Ubuntu 20.04.1 LTS

@ntomoya so you talk about the validation when encoding headers ?

@normanmaurer yes, validation on encoding headers is insufficient for IE.

To be more precisely, the example below throws an error,
httpResponse.headers()
    .set("X-Custom-Header", "custom\r\nSet-Cookie: foo=bar");

java.lang.IllegalArgumentException: only ' ' and '\t' are allowed after '\n': DEF

but this one is executed with no error.
httpResponse.headers()
    .set("X-Custom-Header", "custom\r\n Set-Cookie: foo=bar");


Updates within CharacterCreated and CharacterUpdated events are ignored.

If an event handler connected to CharacterCreated or CharacterUpdated itself calls eg. ForceUpdate(), no update occurs. The cause is that dirty is set after calling the event. Additionally, at most 2 updates are processed per frame, even with fastGeneration.
The attached patch corrects this combined problem. Sorry, the patch doesn't follow the project's tabbing conventions (I'm a bit of a VS newb), so if applied directly, it'll need a reformat run. At the very least, I hope it better explains the issue.
UMA-issue.txt

Thanks, this has been an annoyance for some time. I'll pull it in and look at it.

I integrated the code, but it seems like FastGeneration no longer works. If I open the crowd scene, then instead of all UMA's being generated at once, they get generated once per frame (like FastGeneration is off).  Are you seeing this behavior on your system? If not, then my merge has gone wrong.

Now that I look closer at it, there are two issues:

The "hideWhileGenerating" no longer works on UMACrowd.
Generation is about 25% slower when doing FastGeneration.

It's quite possible that I've messed something up since I had to hand-merge the file.
Archive.zip
Can you compare with your version. I've attached the files.

On 2/06/2017 12:57 PM, Jaimi wrote:

Now that I look closer at it, there are two issues:

The "hideWhileGenerating" no longer works on UMACrowd.
Generation is about 25% slower when doing FastGeneration.

It's quite possible that I've messed something up since I had to
hand-merge the file.
Archive.zip
https://github.com/umasteeringgroup/UMA/files/1046558/Archive.zip
Can you compare with your version. I've attached the files.

This bit isn't merged right (UMAGeneratorBuiltin.cs):
         UMAReady();
         RemoveDirty(true);
         return true;

The UMAReady() shouldn't be there - it's done in RemoveDirty() now.
The files have a few other changes that I don't have in my UMA so I
couldn't drop in those files to test it - I'm using master, is that right?
--
Warwick

Master is the released version of UMA.  The new development is on the UMA26 branch, and that's where I'm working.
Thanks for checking that out, I'll fix that when I get back home and run all the sample scenes, etc.
jaimi

Just a comment on the FastGeneration.
FastGeneration allows the creation of 1 uma in 1 frame. The reason more than that wasn't supported was because it gave jitters in frame rate.
Perhaps the time is ready for giving it a time threshold instead, only problem is that that this will produce a much more uneven framerate.

I guess it depends on the application. I my case, I want to ensure all characters are created at the start of the level - it doesn't matter if this takes 0.5 seconds, since the screen is black.

Added the ability to force all UMA to be generated in develop branch. Closed.


xtermjs can't load modules in the browser when using typescript + requirejs

I'm using xtermjs in the browser and writing the code with typescript compiled to AMD modules and using requirejs as the loader. When I try and run Terminal.loadAddon('fit') I get the following error printed to the browser console:
Error: Module name "addons/fit/fit" has not been loaded yet for context: _. Use require([])
http://requirejs.org/docs/errors.html#notloaded

If I try to require(['fit']) either by editing the primary require method in the HTML I eventually get this error:
Error: Load timeout for modules: ../node_modules/xterm/dist/xterm
http://requirejs.org/docs/errors.html#timeout

Details

Browser and browser version: Firefox Nightly
OS version: Windows 10
xterm.js version: 2.8.1

Is this the same as https://github.com/sourcelair/xterm.js/issues/881 ?

I don't believe so, #881 seems to indicate that the fit addon works. Also, the error message they give is different.

I'm consolidating all bundling/loadAddon related issues into https://github.com/sourcelair/xterm.js/issues/1018, please comment on that issue if you have thoughts :smiley:


Update with more props is needed

Hello ,
I am integrating Chessboard.jsx which happens to be very smooth and efficient . But I did find some differences between Chessboard.js and Chessboard.jsx functionalities. And how can I implement "OnDragStart" in Chessboard.jsx ? Will the upcoming versions of Chessboard.jsx have the missing props ? It will be of great help if I get to know when will the updates be available and what are the new features to be added in the next version , so that I can put my code accordingly and think for future scope .

how can I implement "OnDragStart"

Fool around with allowDrag
I don't know what functionality you need.  What idea are you trying to implement?  Chessboardsjsx is not mapped to chessboardjs 1 to 1 as you are surely aware.

Will the upcoming versions of Chessboard.jsx have the missing props

Not many updates in the pipeline :)

I'm also missing an onDrag or onDragStart property. The functionality I'm trying to implement that would benefit from that is showing valid squares to move to. I can look into if allowDrag() can be used for this, but it seems like an ugly workaround. The onDragOverSquare doesn't help me much, because it is only give me the square, not the piece.

I'm going to close this, it seems you may want to consider using chessboardjs inside React's lifecycle hooks to  get the functionality you need

Yes @willb335  . And thanx for all the replies . Much appreciated .


Encoding 1252 data could not be found

Not sure that this is Blazor issue and not issue of Mono.
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
var encoding = Encoding.GetEncoding(1252);

This is produces
System.NotSupportedException: Encoding 1252 data could not be found. Make sure you have correct international codeset assembly installed and enabled.
 at System.Text.Encoding.GetEncoding (System.Int32 codepage)

Thanks for reporting it. Yes, it's an issue in the base class library, so would you please be able to report it to http://github.com/mono/mono? Be sure to state that this is a WebAssembly-specific matter.

@SteveSandersonMS Looks like it maybe packaging issue. See https://github.com/Radarr/Radarr/issues/342 There mention of mono-locale-extras package. Looks like this is separate package from mono. Could you confirm that it is mono should bundle that package inside mono.wasm and not Blazor to include this bits as part of distribution ?

@kant2002 Blazor doesn't decide which parts of the Mono BCL to include - we take what is shipped in the Mono builds.

Also, whether or not Mono can realistically include this in their WebAssembly builds depends on what impact it has on payload size, and whether the linker is able to strip it out when unused somehow.

Mono, by default, doesn't include any code pages.
Blazor should follow what we do on Xamarin and offer to the user the option to include the I18N.* code pages in their build.
The above code page is part of I18N.West.dll, for example.

From the "iOS Build" Project Options page in Visual Studio for Mac.


Silent Wave File

Saving a wave file produces a wave file with silence for the same duration as the initial wave file. Issue due to endianness of the bytes.

Fixed, silent audio is no longer produced. Yet to be tested on different platforms though.


file does not exist error while running start.sh

source shutting down {"endpoint_url": ":13010", "error": "rpc error: code = Unimplemented desc = unknown service sf.bstream.v1.BlockStream"}
2023-03-31T05:15:15.974Z INFO (index-builder) reading from blocks store: file does not (yet?) exist, retrying in {"filename": "/home/ubuntu/ethereum/sf-data/storage/merged-blocks/0000000000.dbin.zst", "base_filename": "0000000000", "retry_delay": "4s"}

The indexer is looking for a file the merger didn't create yet.   Seems normal (not an error).  Wait for the merger to create the file.

Seems like some wrong request sent maybe to wrong port and like mentioned above, the second log is not an error.
Closing for now, reach out on Discord for further help.


Improve documentation for use with associations

Great gem folks 👍
However, I'm struggling a little to see how to work this with draft associations, and I think it's something which could perhaps be covered in the documentation?
Let's say I have a draftable blog post, and a post can have various tags associated with it.
class Post < ApplicationRecord
    has_drafts
    has_many :tags
end

class Tag < ApplicationRecord
    belongs_to :post
end

Drafting changes to the blog post in isolation is simple enough, I can change it's title, or correct some typos in it's content, that's working just lovely.
However, what if I want to change the tags associated with my blog post?. How can I make those association changes 'draft' rather than immediate?
How would model/controller code look in a scenario like that?
If someone can help me understand, I'm happy to wrap up a PR to improve the README around this.

You mean edit a tag and make that tag a draft? If that that is the case, you should make Tag draftable:
class Post < ApplicationRecord
    has_drafts
    has_many :tags
end

class Tag < ApplicationRecord
    has_drafts
    belongs_to :post
end

You can then draft and publish Tags.
If that is not the case, please clarify.

@jmfederico thanks for the suggestion, that makes sense.
Do the draft? and publish! methods cascade? i.e. if I publish a post, will it publish all it's draft tags? Or vice-versa, will publishing a draft tag also publish its parent post?

When you publish a child, and the parent is new (never published), the parent also gets published.

Publishing the parent does not publish the child.

@jmfederico 👍 thanks, that makes a great deal of sense.
Let's imagine I have a many-to-many association (has_many :through), such as, tags -> taggings -> posts. Where tags already existing, but I want to 'draft' the assignment of them to any given blog post.
I presume I would add draftsman to the join model? And then I can draft and publish the links, and perhaps cleanup before publishing to remove previously published associations?


How to bind transocks on primary address of internal network interface

There is a note on the README:

NOTE: If you are going to use transocks on Linux gateway to redirect transit traffic, you have to bind transocks on primary address of internal network interface because iptables REDIRECT action in PREROUTING chain changes packet destination IP to primary address of incoming interface.

I'm going to use transocks on Linux gateway, how do I do the binding? I'm a newbie.

Use "<IP_ADDRESS>" as your binding address:
proxy_url = "socks5://<IP_ADDRESS>:1080"  # for SOCKS5 server
#proxy_url = "http://<IP_ADDRESS>:3128"   # for HTTP proxy server


Rest API

Users should be able to deploy their models to a REST API in one (maybe 2 if you consider the settings) clicks.

As there are support for extensions which export pipelines, this should be created as a third party export extension. However, this feature does need more documentation...


Wob issues through multiple sway sessions

When executing sway from a TTY and exiting Sway more than once without logging out, wob doesn't work on sway sessions launched after the first one.
I had to add rm -f /tmp/wobpipe && ... to my swaynag/swaymsg exit keybind. That fixed the issue but there were still tail and wob processes, so I had to add pkill wob && pkill tail && ... to the command as well. So my exit keybind now looks like:
bindsym $mod+Shift+e exec --no-startup-id swaynag -t warning -m 'Do you really want to exit sway?' -b 'Yes, exit sway' 'rm -f /tmp/wobpipe && pkill wob && pkill tail && swaymsg exit'
I'm not sure if this is something you could fix programmatically within wob. I notice this issue as well with redshift so I have to add pkill redshift to the exit command as well.

So after coming out of hibernation for some reason sway doesn't like my long .. && swaymsg exit command. It's probably best to run sway out of ~/.bash_profile and add rm -f /tmp/wobpipe to ~/.bash_profile before exec sway is called.

@krathalan are the suggestions for running wob in the readme working for you at all? For me I can't run exec mkfifo as it already exists so fails. If I create it manually and run wob through my config with the tail commands I can't show wob at all.
Any suggestions or could you share your sway config?

@StephenCoady Can you try it like this?
exec rm -f /tmp/wobpipe && mkfifo /tmp/wobpipe && tail -f /tmp/wobpipe | wob

And like this?
exec sleep 5 && rm -f /tmp/wobpipe && mkfifo /tmp/wobpipe && tail -f /tmp/wobpipe | wob

I noticed that there is sometimes some weird race condition where wob starts before sway is ready.

Still nothing. Its weird because if I start it from a terminal it works perfectly.

@StephenCoady here are the relevant lines in my sway config:
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5 && pamixer --get-volume > /tmp/wobpipe
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5 && pamixer --get-volume > /tmp/wobpipe
...
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 2 && light -G | cut -d'.' -f1 > /tmp/wobpipe
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 2 && light -G | cut -d'.' -f1 > /tmp/wobpipe
...
exec --no-startup-id mkfifo /tmp/wobpipe && tail -f /tmp/wobpipe | wob

At least in my sway config I'm using the official instructions in the wob README.
Ultimately I just fixed the issue by not executing sway manually but using ~/.bash_profile. (I decided if I need to get into a raw TTY I can just login as root or create another user for this purpose.)
Anyways, I still had to add some extra stuff to ~/.bash_profile. My full ~/.bash_profile looks like:
#
# ~/.bash_profile
#

pkill tail
pkill wob
rm -f /tmp/wobpipe
exec sway

Hope this helps.

@krathalan thanks for that.
So it actually started working this morning for me. I changed nothing which is what's strange. The only difference is I rebooted my laptop so I am wondering if its an issue with startup and sway sessions. I've reloaded sway and its still working.

https://github.com/francma/wob/commit/18c1bb60cb73b8ae18d55fb13e0333488c227a0d - This commit should make Wob exit with Sway session
https://github.com/francma/wob/commit/f34a175fee7b54aeded377bd7ac1f3b97244aef9 - This change should allow multiple Sway instances with Wob (even at the same time)
It's not in release yet, but you can test it if you build it from source. Still need to figure out why tail -f command stays after Sway exit.

Still need to figure out why tail -f command stays after Sway exits.

Only solution I found is to use Bash Process Substitution, but that requires Bash and I want to keep examples posix shell friendly :slightly_frowning_face:
mkfifo pipe.wob && wob < <(tail -f pipe.wob)


Define critical dependencies as peerDependencies

In order to prevent incompatible dependency combinations for projects using either caret dependencies (^1.x.x) or renovate, we need to specify peerDependencies for the styles package for:

ng-bootstrap (and therefore Angular, implicit or explicit?)
Bootstrap

This will ensure that a project does not upgrade to an unsupported version of Angular or tries to use the Design System Styles with an old version of Angular.
https://blog.domenic.me/peer-dependencies/
Issues like these are a strong reason for becoming independent of those frameworks as much as possible.

Currently the styles package have a dependency to Angular 15: the schematics use several functions from @angular/core/schematics/utils that are no longer published as of @angular/core@16.
However @ng-bootstrap/ng-bootstrap@15 has @angular/core@16 as a peer dependency.
This means that if we add ng-bootstrap as a peer dependency of the styles we get the following error that we cannot fixed:

Before adding ng-bootstrap as a dependency of the styles package, we therefore need to find a way to move the schematics to @angular/core@16.

Temporary resolution: move migration code to a separate package (breaking the current functionality) to unblock this issue. With new supported frameworks, a new way of providing migration scripts needs to be found and this temporary move will give us some more time before we start working on v7.


Feat: Admin managing posts feature added successfully issue 339

Pull Request Resolves [#339 ]
Title: Admin managing posts feature added successfully.
Description

In Backend, created 3 controllers for editing, delete post and getpostbyid and their controllers respectively.
In Frontend, creating a new route for update the post, deleting the post by delete api and updating first by fetching the data from id getpostbyid and updating it and navigate back to posts page.
Used appropriate toast notification.
The design is responsive for all the devices.

Related Issues
Fixes #339
Changes Made
New feature: Admin managing posts feature added.
Screenshots

Video
https://github.com/VaibhavArora314/StyleShare/assets/120380073/5c628c94-eb1c-45fb-89d2-a828755473fd
I certify that I have carried out the relevant code of conduct and provided the requisite screenshot for validation by submitting this pull request.
Thank You for this contribution.

@VaibhavArora314 can you add the label and level please !

@VaibhavArora314 @Ultimateutkarsh11 please add level 3 and GGSOC labels please 👍


fix: Handle ParseException when reading schema property

Summary of Changes
PR #1329 added a call to the schema property of the Dataframe.  For certain tables (a presto view in our case) Spark can throw a ParseException.  This change adds ParseException in the try block, and returns an empty list.
Tests
N/A
Documentation
N/A
CheckList
Make sure you have checked all steps below to ensure a timely review.

[X] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[X] PR includes a summary of changes.
[N/A] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[N/A] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

I am confused though so you use the delta extractor to extract metadata for presto view?

It ended up being left over in the Spark catalogue (we used the same Hive metastore when we used Presto)

Make sense, FYI, depends on whether you could connect to your hive metastore in your env, there is a presto view extractor (https://github.com/amundsen-io/amundsen/blob/main/databuilder/databuilder/extractor/presto_view_metadata_extractor.py) as well.


TUXEDO Pulse 14 Gen3: init

Description of changes
Add relevant modules for TUXEDO Pulse 14 Gen3. The device is equipped with an AMD Ryzen 7 7840HS with integrated AMD Radeon M780 iGPU.
Things done

[x] Tested the changes in your own NixOS Configuration (see https://github.com/britter/nix-configuration/commit/9e1bfbd0ac44611fc901fbb78bf3aee4926f482c)
[ ] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

@mergify queue

@RaitoBezarius no idea why merging did not work. Maybe we can try again?

@mergify queue

@mergify rebase

@mergify refresh

@mergify queue


Added Korean category

Added new category, Korean
and added some files translate and did not translate.

the not translated file is planning to translate.
i do not know policy of pull request.
so i just added it. If that was bad request.
please tell me. i will make pull request only translated.
i am new on contribute so maybe i make some mistakes.

It looks awesome! Thank you @xoxwgys56 !

Thanks!


[ MB-11406 ] Document TIO updates shipment billable weight

Jira ticket for this change
Summary
When a TIO reviews the billable weight of shipments, their actions will be captured in the history log with the following details:

[ remarks ] tio_jusitification
[shipment type ] shipmentBillable
weight: [ value ] lbs

Setup to Run Your Code

💻 You will need to use two separate terminals to test this locally.
Terminal 1
Start the UI locally.
make client_run

Terminal 2
Start the Go server locally.
make server_run

Additional steps

As a TIO, click on Review Shipment Billable Weight and modify the weight and add TIO Remarks
See the new weight and the TIO Remarks updated.
See the history log and find new log entries for shipment type and weight values being updated.

Verification Steps for Author
These are to be checked by the author.

[ ] Request review from a member of a different team.
[x] Have the Jira acceptance criteria been met for this change?

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

Messages

:book:
:link: MB-11406

  Generated by :no_entry_sign: dangerJS against bb3c0002024930d94e47e4cbf2d214fdc632aafa

I merged my PR, which probably caused a lot of conflicts. Let me know if you need help resolving them.
I suspect a lot of the merge conflicts inside of moveHistoryEventTemplate are because I alphabetized the events.
LabeledDetails might be tricky to merge.
I'm not sure about how the others will go.


Link deployment logs with desired state

Currently a resource has a desired state history. However it is not possible (or easy) to relate this to:

Which compile and desired state introduced this new state
Where in the deployment logs are these

Need to be detailed further.

not going to be for  iso8 yet, will close for now.