Adding new blocks

The update to generateTOC is disabled and untested - a proposal to sort documentation "mostly" alphabetically rather than in the current random order. If Walter agrees with the proposal I'll continue the effort. ( I really should have put that into a separate PR, sorry. )
For Blocks.js: New blocks/materials, wood types for existing items, and variations to other blocks (chisled, smooth, etc). The additions here are for MC 1.10 and I think some 1.11. I need to give this another round of review to get all current Materials.
A question needs to be asked about whether ScriptCraft is a 1-for-1 implementation of Bukkit, like Spigot, duplicating the faults of the core, or whether it's a tool for new audiences that shouldn't be burdened with such faults. For example, there is now a "blueorchid", why not "blue_orchid" like "orange_tulip"? Why is it a "purpur_pillar" instead of a "pillar_purpur", or a purpur array with (for now) a single element "purpur"?
_md5 and the Spigot team have made a conscious effort to keep Spigot purely in line with the Bukkit API. Does ScriptCraft need to do the same? If this code is more focused on making programming easy, rather than implementing a spec, then we should consider adding a layer of helpful redundancies, which might include orchid: { blue } and tulip: {orange} ... for people looking for orchids and tulips rather than randomly finding flowers sorted by their color.
Since I'm here, I was referred by #Spigot folks to PrismarineJS, another project related to Minecraft and JavaScript. Rather than maintaining Blocks.js manually, it might be prudent to make use of their more extensive block data - and of course to contribute back to that project as the opportunity presents itself.

The sort function was just there for your review anyway. That should have been a part of a completely separate branch/initiative. Thanks.


Use pattern variable to avoid several casts

Use pattern variable for type check to avoid several casts.

Thanks for the PR.


Improper input validation on -o flag

What happened:
I want to write my docker-registry secret to a file.  This command line option is supported, so I run:
kubectl create secret docker-registry example-token --dry-run=client <credential flags ommitted> -o  example-token.yaml

This command results in a segmentation fault, as the correct usage of the command line option is -o yaml > example-token.yaml.  Error output is as follows:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1918de0]

What you expected to happen:
I expect the command in this case to display a specific command regarding usage of the -o flag rather than failing with a segmentation fault.
How to reproduce it (as minimally and precisely as possible):

kubectl create secret docker-registry example-token --dry-run=client  --docker-server=<hidden> --docker-username=<hidden> --docker-password=<hidden> --docker-email=<hidden> -o example-token.yaml

Anything else we need to know?:
Environment:

Kubernetes client and server versions (use kubectl version): 1.22
Cloud provider or hardware configuration: Azure
OS (e.g: cat /etc/os-release): Ubuntu 20.04

Thank you @kbasgall for catching that !!


[LastPass Credentials Search] ...

Extension
https://www.raycast.com/alex-popov-tech/lastpass
Description
It showed error when I tried to login:
Master Password:  Please enter the LastPass master password for<EMAIL_ADDRESS>Steps To Reproduce

install lastpass-cli
fill password and email
enter this plugin

Current Behaviour
No response
Expected Behaviour
No response

@hongzzz so sorry for missing this
is it still the case for you?

Yes.I suspect it was caused by me using two-factor authentication?

@hongzzz so sorry for missing this is it still the case for you?

@hongzzz it might be, yes
is it working for you through CLI ?

@hongzzz it might be, yes is it working for you through CLI ?

yes

@hongzzz i cannot check with 2fa now myself, but im really curious why its working in cli, and not in extension...
if you will reboot laptop and try to use lastpass - will it work after prompt for password? or will it send confirmation email? and how it differs from extension?

I have the same error with 2FA activated.
Error: Command failed: zsh -l -c 'export PATH="$PATH:/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:.:/opt/homebrew/bin" && echo "PASSWORD" | LPASS_DISABLE_PINENTRY=1 lpass login<EMAIL_ADDRESS>Please enter the LastPass master password for<EMAIL_ADDRESS>
Master Password:
Please enter your Microsoft Authenticator Code for<EMAIL_ADDRESS>
Code: Please enter the LastPass master password for<EMAIL_ADDRESS>
Aborted multifactor authentication.
Master Password: Error: Failed to enter the correct password.

If I use cli separately it works:
❯ lpass login<EMAIL_ADDRESS>Success: Logged in as<EMAIL_ADDRESS>
There is a prompt that asked for master password and authenticator afterward. How could we integrate a one-time authenticator code verification?
PS: On another note: I guess the password shouldn't be outputted plaintext in the error message, is that something that could be changed easily?
Prompts:
                                                              │ Please enter the LastPass master password for<EMAIL_ADDRESS>│
                                                              │                                                                   │
                                                              │ Master Password: ________________________________________________ │
                                                              │                                                                   │
                                                              │         <OK>                                       <Cancel>       │
                                                              └───────────────────────────────────────────────────────────────────┘

hey @sspaeti !
Which 2fa provider do you have?

hey @sspaeti ! Which 2fa provider do you have?

I use Microsoft Authenticator.

Thanks for the update, @alex-popov-tech; that's totally understandable and no problem. Maybe another time later :).

I have the same issue but I don't use 2FA


go_1_21: 1.21rc4 -> 1.21.0

Changelog: https://go.dev/doc/devel/release#go1.21
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I think I'll leave this open as a draft and merge it to master after https://github.com/NixOS/nixpkgs/pull/238100 goes through staging-next.

I want to leave this open for visibility as I don't want someone to open a PR adding go_1_21/buildGo121Module on master.

I think I'll leave this open as a draft and merge it to master after #238100 goes through staging-next.

Why is this required? Isn't #238100 over 2 months old?

I think I'll leave this open as a draft and merge it to master after #238100 goes through staging-next.

Why is this required? Isn't #238100 over 2 months old?

It was only merged a couple of weeks ago.
https://nixpk.gs/pr-tracker.html?pr=238100


highlight C++ code failed in one file

VSCode Version: Code 1.7.2 (7ba55c5860b152d999dda59393ca3ebeb1b5c85f, 2016-11-21T22:06:37.428Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

python
donjayamanne
0.5.5

java-debug
DSnake
0.0.2

Lua
keyring
0.0.8

Go
lukehoban
0.6.51

cpptools
ms-vscode
0.9.2

csharp
ms-vscode
1.5.3

PowerShell
ms-vscode
0.7.2

debugger-for-chrome
msjsdiag
2.3.2

java
redhat
0.0.7

Spell
seanmcbreen
0.9.1

JavaScriptSnippets
xabikos
1.2.0

Steps to Reproduce:

just open a cpp file, the file generated by protobuffer, from line 1106, there is no more colors for any token
I have close the file and reopen it, while the issue is still there.

@Andy-Amoy Do you have a link such a file?

closing as duplicate of #17840


32-bit Firefox MSI added

Added support for 32-bit MSI to yml to be inclusive. Used generator to create manifest.
Microsoft Reviewers: Open in CodeFlow

Well, looks like the check pipeline broke again, because it would fail I guess. Although the Windows Package Manager YAML Generator can create YAML files with multiple installers, winget does not support more than one installer for now.


Create a Draft for Project Requirements

The instructor has sent a new assignment which explains what is our project ahead and requested a draft for requirements due to the project explanation. I copied the whole document to my wiki and it is here
Swe573_RequirementsHW.pdf

done, but there is a lot to create a complete srs of the project using drafts, and there so many questions about requirements


Triton API refactoring

CI MESSAGE: [2411182]: BUILD STARTED

CI MESSAGE: [2411182]: BUILD FAILED

CI MESSAGE: [2414090]: BUILD STARTED

CI MESSAGE: [2414090]: BUILD PASSED

CI MESSAGE: [2415511]: BUILD STARTED

CI MESSAGE: [2415511]: BUILD PASSED


Typo in DataService Class

I found this typo.
public function getClinetName(){        return $this->getClientName(); }
Client is spelled Clinet

Sorry, didn't see it was declared in previous lines and this one is deprecated.


Enhancement: Support accessing raw request body in sync handlers

What's the feature you'd like to ask for.
Currently, the only way to get access to the raw request body is through Request.body(), which returns a coroutine and therefore doesn't work in synchronous handlers. This is a common pain point and much requested feature in Starlette/FastAPI, and it would be really nice to have.
Possible solutions

Support "raw" encoding type for Body

Pros: Easy to implement, does not break any existing code
Cons: We would need to add a non-standard "virtual" encoding type that doesn't correspond to an actual request encoding

Add a body reserved-kwarg

Pros: Cleanest solution, users would only have to add body: bytes to receive the body
Cons: Possibly breaks existing code, is inconsistent with the current usage of Body

Approach 1 in code:
from starlite import post, Body, RequestEncodingType

@post(path="/")
async def handler(data: bytes = Body(media_type=RequestEncodingType.RAW)) -> Dict:
    ...

Approach 2 in code:
from starlite import post, Body

@post(path="/")
async def handler(body: bytes) -> Dict:
    ...

How would one look in actual code?

@Goldziher I added examples for both

Option 1 can't work as is- we use the RequestEncoding to determine how we should deserialize the data AND generate schema.
In either case, what's the use case for these two?

In either case, what's the use case for these two?

Accessing raw request body in sync handlers.
Probably should have used sync handlers in de examples as well 😉

In either case, what's the use case for these two?

Accessing raw request body in sync handlers.
Probably should have used sync handlers in de examples as well 😉

Ok, examples are not a compelling reason to do this imo. Any other use case?

Ok, examples are not a compelling reason to do this imo. Any other use case?

WDYM? The use case is being able to access the raw request body in sync handlers. We can opt to go the same route as Starlette, FastAPI and others went there, but it's sub-optimal IMO, since it means that synchronous handlers are a second class citizen, which isn't true for almost every other aspect of Starlite.
The usual response to this is "Just use an async endpoint", but sometimes that's just not an option, and we'd be forcing the user to resort to something like anyio.run(request.body) or some other workarounds.
I really don't see why we should not support this. We give users access to form data, files and json in sync endpoints. Why not the raw body? It feels like an arbitrary limitation to me, and something that always bothered me about Starlette.

Ok, examples are not a compelling reason to do this imo. Any other use case?

WDYM? The use case is being able to access the raw request body in sync handlers. We can opt to go the same route as Starlette, FastAPI and others went there, but it's sub-optimal IMO, since it means that synchronous handlers are a second class citizen, which isn't true for almost every other aspect of Starlite.
The usual response to this is "Just use an async endpoint", but sometimes that's just not an option, and we'd be forcing the user to resort to something like anyio.run(request.body) or some other workarounds.
I really don't see why we should not support this. We give users access to form data, files and json in sync endpoints. Why not the raw body? It feels like an arbitrary limitation to me, and something that always bothered me about Starlette.

Well, come up with at least one use case for this and we'll do it 😁, but just because is not a reason.

After thinking on it and talking in discord - this makes sense also for sync dependencies. For example, support parsing non json data like XML etc


Make matador available on npm

In the README it says you can use require('matador/app') which is great but the app isn't available on npm (as far as I know, matador on npm is something else). It would be a great way to include the ui as part of a worker to also make the upgrade path easy when you don't have any need for customizations anyway.

I just realized it is available but under the name bull-ui. I'm going to make a PR on the README.. ;)


console.prompt() Python 3 incompatibility

console.prompt() supports a validate parameter which could be a callable that expects an Exception (with a message) to be raised when the input is invalid.
This is line of code is incompatible with Python3 as exception.message no longer exists.
https://github.com/mathiasertl/fabric/blob/master/fabric/operations.py#L229

str(e) should work as replacement for e.message on both Python 2 and 3


New v1 release

@kisenka Could you please cut new v1 release with changes from #61 ?

@kisenka ping
and not to ask twice: please cut another release of svg-sprite-loader with updated dependency.

@kisenka ping

@kisenka ping

@kisenka ping

@kisenka PING

@a-krasilnikov sorry for disturbing you but i can't reach to your colleague. Could you please help somehow?


⚠ Bofrost.at has degraded performance

In 10bd7e2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1028 ms

Resolved: Bofrost.at performance has improved in affa627.


Environment variables are not propagated

Environment variables in the extension.config.yml file are not propagated to the JavaScript layer. This should be fixed and the integration test expanded to grep for these values so this doesn't regress again.
---
extension_points:
  - Playground
metafields:
  - namespace: my-namespace
    key: my-key
development:
  build:
    env:
      CUSTOM_VAR: bar
  develop:
    env:
      CUSTOM_VAR: foo

[x] Ensure that the Go layer properly serializes the extension configuration before passing it to the JS layer
[x] Ensure that the JS layer consumes the environment settings correctly

Verified this is fixed. There are already tests for it in contract_test.rb.

Verified this is fixed. There are already tests for it in contract_test.rb.

https://github.com/Shopify/shopify-cli-extensions/issues/275


Spacing difference between index and post/page

The space between the title and image is different on the index page compared to the post/page.  It should be the same.

Solved by using common title fragment.  Will be merged into develop


Error in library import unirest

Error in library import unirest

import $ivy.`com.mashape.unirest:unirest-java:1.4.9`, com.mashape.unirest.http.Unirest

val response = Unirest
  .post("https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword")
  .header("accept", "*/*")
  .header("content-type", "application/json")
  .header("Host", "www.googleapis.com")
  .header("accept-encoding", "gzip, deflate, br")
  .header("accept-language", "es,en-US;q=0.7,en;q=0.3")
  .header("User-Agent", "Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0")
  .header("x-client-version", "Firefox/JsCore/3.3.0")
  .header("accept", "*/*")
  .header("Connection", "keep-alive")
  .body("""{<EMAIL_ADDRESS>"password":"123456789", "returnSecureToken":true }""")
  .asJson()

val token = response.getBody.getObject.get("idToken")
println(token)

//Compiling unirest.sc
//Class org.json.JSONArray not found - continuing with a stub.
//Class org.json.JSONObject not found - continuing with a stub.
//Class org.json.JSONObject not found - continuing with a stub.
//Compilation Failed

@Miuler can you test this with the newest ammonite? I assume you used the beta 2.12 version? A fixed one was released today - import works for me there. If it will for you, too, feel free to close the issue.

Seems to compile for me, I guess it fixed itself

Seems to compile for me, I guess it fixed itself


[WIP] Add symlink parameter

fixes #441
Summary of the change I have made:
Added an option to follow symbolic links when loading the registry in various parts of the codebase. The primary change is the addition of a follow_symlinks parameter, which is passed through multiple functions and structures to control this behavior.
Key changes include:

Added follow_symlinks param as WeaverArg  across SchemaResolver, SnippetGenerator, and ResolvedSemconvRegistry to enable optional symbolic link following during registry operations.
-The WeaverArgs struct impacted various commands (check, generate, resolve, update-markdown, stats) to include and handle the follow_symlinks option.
Modified SchemaResolver to configure walkdir::WalkDir with the follow_symlinks parameter and use the follow_links function.
Modified the existing tests so that they will default to use follow_symlinks = false.

The ideal outcome would be:
After running the command
weaver registry generate -r ./semantic-conventions/model -t ./semantic-conventions/templates markdown -f

weaver will read symbolic linked folders under sementic-conventions/model and generate the artifacts.
PS: I try to raise this PR first to get some early feedback. As I am new to Rust and Otel, I am open to suggestions and feedback.

I have fixed the changes you mentioned above and I manually tested the command with a symbolic link folder, and it worked flawlessly. Please let me know if there are any other major changes needed; otherwise, I’ll proceed with writing the tests! @lquerel

I have fixed the changes you mentioned above and I manually tested the command with a symbolic link folder, and it worked flawlessly. Please let me know if there are any other major changes needed; otherwise, I’ll proceed with writing the tests! @lquerel

@Leo6Leo Sounds good. Let me know when you are ready for the next review. Thanks

@lquerel The tests have been added, the PR should be ready for review imo, PTAL, thanks!


Compatibility With Farmers Delight: Refabricated

Currently, the mod does not have compatibility with Farmer's Delight Refabricated, and immediately crashes when being used with. It would be very nice if it would be possible to add compatibility.

I appreciate you opening an issue this should be fixed with the next update of Fright's Delight(V1.0.2). Just ensure you are using Farmer's Delight Refabricated V2.0.10 and above. I will close this issue once the release is out.

Update has been released Curseforge, Modrinth. Please let me know if you have any issues.


[BUG] fvm can't find Java Runtime on Mac

Hi,
I tried a lot to run an old project that run with flutter 1.22.6 on MacOS Monterey. I don't know if it is relecante but it's a mac with M1 chip.
All other projects that not using fvm, run without problem. But with fvm I get error message:
Launching lib[/main.dart]() on sdk gphone64 arm64 in debug mode...
lib/main.dart:1
The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit [http://www.java.com]() for information on installing Java.

Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Obs.: The same project is running on my linux with no problem.

@TercyoStorck I might need a bit more info including the fvm doctor output. Could you confirm that running the same flutter version outside of FVM does work? If so I might need to know a bit more about your default flutter and dart path, together with the flutter doctor output

@leoafarias  I got the same problem.
Here is screenshot for fvm flutter doctor --verbose.

However there is no problem on same command without fvm.

@TercyoStorck Have you found any solution to this?

@iamsannyrai based on the screenshot you are using 2 different versions of Flutter. I believe there was an issue they had to fix regarding this on newer SDKs.
Could you try calling directly the same version SDK, to see if you can reproduce the problem?

@claudneysessa it seems that this is a flutter issue then.

I believe it is a fault related to the M1, because it works on windows... the problem is to know if we can wait for a solution or leave for another alternative.

Send the data for analysis..
All on the same machine, running independently, removing dart and flutter before each test... But what I see that could be the problem is something related to android studio
Flutter Doctor 1.20.3
➜  testes flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.3, on macOS 12.2.1 21D62, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[!] Android Studio (version 2021.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
✗ Unable to find bundled Java version.
[✓] VS Code (version 1.65.2)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
➜  testes
Flutter Doctor 2.2.2
➜  testes flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.2, on macOS 12.2.1 21D62 darwin-arm, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[!] Android Studio (version 2021.1)
✗ Unable to find bundled Java version.
[✓] VS Code (version 1.65.2)
[✓] Connected device (2 available)
! Doctor found issues in 1 category.
➜  testes
Flutter Doctor 2.5.0
➜  testes clear
➜  testes flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.0, on macOS 12.2.1 21D62 darwin-arm, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.65.2)
[✓] Connected device (2 available)
• No issues found!
➜  testes

@claudneysessa as mentioned it seems this was a flutter tooling issue that was resolved on a later versions of flutter as mentioned in the referenced issue

@leoafarias Ya It might be the issue with m1 cause fvm is working well with the same version in my linux machine.

Closing this ticket as it's related to an issue with an old flutter version


Add dependency-check plugin to identify security vulnerabilities

Context
See https://github.com/gradle/gradle/issues/3217

@oehme I think this change is fairly check to review and integrate with the benefit of having better visibility into our vulnerabilities. Do we want to press on with this?

@oehme As discussed I tried hooking up the dependency checks to the sanity check. It adds about 2 1/2 minutes of overhead for every commit. I don't think we'll want to have such a hit on every commit. I'd still advocate for a different CI job alongside the smoke tests.
Also, the CVSS threshold for failing the build is relatively high at the moment. Over time we should work on bringing down the number.

I agree that adding >2min to the sanity check is not a good idea. Let's add it as part of the branch build accept.

I am going to open a separate PR for adding the new job to the TeamCity configuration.

@oehme Are we ready to merge this?

Yes, we are


What would it take to add refinement types to Rust?

https://yoric.github.io/post/rust-refinement-types/?

I've also thought about units long before, and then someone in the forum pointed out dimensioned which uses typenum and solved the issue elegantly with const generics. Although const generics is not as powerful as refinement types, it does allow for some compute power on types.

nice job, thanks


Unknown Error - Should we ignore

One of my p1s is showing a error state in bambu-farm. Everything is working normally, and bambu studio shows nothing wrong.
I found the issue in logs:

This appears to be a bambu firmware bug:
https://github.com/bambulab/BambuStudio/issues/4495
Should we ignore it?

Found the issue, if you have streaming open on both bambu studio, and bfarm, you can trigger the error.
So "not-a-bug". Closing this


Automatically fill biblio records for new software submissions in the repository

Faculty workflow requires us to fill in metadata for new SW in biblio. Let us appreciate the authors who fill in metadata for new software in the LINDAT repository by automatically making the copy of this record in biblio for them.
Investigate how to fill in biblio records automatically for software from UFAL members

Find out if we have all the necessary metadata and if not, how much would we have to add into the repo
Identify at least one author is from UFAL
Create the record

There used to be an option to import bibtex records in biblio. It is broken and it may or may not be useful. Ask @dan-zeman for help :mag_right:

Caveats: Biblio uses Db4o and Grants, Authors and several other attributes in a record are objects, not just strings.

Closing for now; if there is anything urgent let's reopen the issue.


Implement reading gzipped WARC files

Implements the read half of #8.

Fixed, @jedireza!

Thanks again. Published as v0.2.1.


Personal static tabs aren't supported in one-on-one conversations with bots in the new Teams client. However, users can open their app from the app bar in Teams and view the personal static tabs.

[Enter feedback here]

The following Teams features aren't currently supported (will be available soon) in the new Teams client:

Personal static tabs aren't supported in one-on-one conversations with bots in the new Teams client. However, users can open their app from the app bar in Teams and view the personal static tabs.

With the looming March 31, 2024 deadline for cut over, this bug is crippling many LOB applications that have both chat and Static Tabs that need to work together, i.e CRM apps.
What is the status of this feature in the new Teams Client?

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

ID: 4c405ed3-f304-ff58-d32d-108fc725bb6a
Version Independent ID: 4c405ed3-f304-ff58-d32d-108fc725bb6a
Content: Introducing the new Microsoft Teams client - Teams
Content Source: msteams-platform/resources/teams-updates.md
Service: msteams
GitHub Login: @v-ypalikila
Microsoft Alias: lajanuar

Hello @GauravES - Thanks for raising your query.
We will check on the updates and let you know.

Hello @GauravES - This issue is fixed and released.
Kindly verify and let us know if you are still facing this issue.


feat: add file-system based cache

This PR adds a FS-based cache in the library. It is intended for local use and made my life pretty handy in the past weeks.

Let's double confirm the default behaviour we prefer and I'll update the doc accordingly!

Left a reply above!

Should be good to go. PTAL :)

Hey @vdeturckheim, it looks like the test fails for chat models, can you fix?

Will do - sorry for the long ping

The test fail was due to an OpenAI key not being available. I just rebased to see if that fixes the issue atm

Thank you for your patience!


Execution Context Java 8 dependency

Trying to do something like this in a Java 7 runtime environment:
    	 Failsafe.with(retryPolicy).get(new ContextualCallable<Response>() {
				@Override
				public Response call(ExecutionContext context) throws Exception {
					...
				}});

Throws a class not found exception:
java.lang.ClassNotFoundException: java.util.concurrent.CompletableFuture
The following of course works fine:
    	 Failsafe.with(retryPolicy).get(new Callable<Response>() {
				@Override
				public Response call() throws Exception {
					...
				}});

This seems to be a change introduced in 0.9.3.

Apparently anonymous classes are loaded even if they're not referenced. That's what's happening here. Moving this logic to another file solves the problem. I need to verify there aren't any similar issues lurking where CompletableFuture is accidentally loaded when it shouldn't be.

0.9.5 was just released, which includes this fix.


Test: Executing large notebooks

Refs: #209787

[x] anyOS @sandy081
[x] anyOS @cwebster-99
[ ] anyOS @roblourens

Complexity: 3
Create Issue

Pre-requisites

Install the attached VSIX (this is a simple extension that allows extension of notebook cells)

It s a dummy extension as all this does is adds some simple outputs to each cell
Nothing fancy (pure js, no Python dependencies or the like)
vscode-notebook-dummy-execution-0.0.1.vsix.zip

Create a large notebook with at least 500 code cells & 200 markdown cells  (the more cells you have the better)

Code cells could contain could be print("Hello World")
Markdown cells needs to be more complex such as

# Header 1
## Header 2
### Header 3

Tip:You can create one code cell and one markdown cell, then copy them and paste them a few times.
Then copy all cells and copy & paste them

Ensure notebook outline is visible
Enable the setting Notebook: Show Code Cells Symbols
Enable Notebook: Sticky Scroll

Test Steps

Open the notebook
Select the Kernel Dummy Execution
Select the command Dummy Execution: Run all (text output)
[ ] Verify the cells run within a few seconds (should be less than 5s)
Tip: You can open the output panel Dummy Execution to see some of the times.
The entry in the log Time spent in users perspective: n should be low.
In stable this would be around 10-30 seconds or more, depending on the size of the notebook (cell count).
Note: the durations displayed in the output panel is in milliseconds
[ ] Now run the same steps against VS Code stable and verify its very slow.
It should be significantly slower than VS Code insiders.
E.g. if insiders completes in 3s, then stable will take around 30s.

I see this take what seems like a very long time
Cells executed 952
Output type text
Time spent in VS Code before extension is notified: 11835
Time spent in Extension Host running all cells: 6498
Time spent in VS Code updating UI after exection completed: 104410
Time spent in users perspective: 122744


Move service cert signer to operator v1 spec and status

Signed-off-by: Monis Khan<EMAIL_ADDRESS>@deads2k @smarterclayton @openshift/sig-auth

/lgtm


Feature Request: Enchance IUserIdentity

Any thought to including a basic Dictionary to the IUserIdentity to allow providers to include a little extra detail if they want.  For example, it would be nice to be able to have a place to store an internal userID, lastLogon, or the users email address.
I know that I can do this when I implement my own IUserIdentity -- the issue is I need to cast from IUserIdentity to my custom implementation if I do that which is not ideal.

The user and identity stuff has gotten an overhaul for upcoming 2.0, where it uses ClaimsPrincipal and friends. You can see the 2.0 code in the v2 branch (https://github.com/NancyFx/Nancy/tree/v2) and the claims code in particular in PR #1820
Maybe that will help you (once 2.0 is out, that is)?

In the meantime, @damianh offered an MSOwin set of extensions that could potentially be utilized, if you're willing to abandon using the default nancy bits for authentication/authorization.  It's been working pretty well thus far.

I like where 2.0 is going -- assuming that ClaimsIdentity will also be full supported in the pipeline.  That said, I still think it would be nice to allow for either defining a generic that could be used to store a user context (that was serializable) or provide a simple string based dictionary/hashtable concept.  Consider how the ASP.NET Authentication/Authorization pipeline has evolved to be more extensible in this area (note I am not prompted the ASP.NET auth pipeline as a whole due - just how it evolved to allow for a generic T to be used to store pertinent user properties)

Out of curiosity, how is v2 going?  I was looking at the branch and it seems like there have been no commits since march.

Replaces with ClaimsPrincipal via #1820


Allow subpackages of bttv

The only reason why it is not working right now is because I was to lazy to write a proper script.

Actually it does work, just have to use it now.


feat(hec): Improve support for private CA's

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


ccx: LIS2MDLTR Accelerometer/Magnetometer Sensor Driver

Product page
Datasheet
Interface: LPSPI4

Drivers from STMicroelectronics (st_mag40)
st_mag40 seems to work not only for LIS2MDL but also for LSM303AGR.
NuttX has a driver for LSM303AGR, although it is I2C


Cannot create without setting parent folder?

In the sample code it shows you can create a folder without setting a parent folder:
await graphClient.Me.MailFolders
	.Request()
	.AddAsync(mailFolder);

But when I try it states it is not allowed:

According to docs you have to set a parent folder:
await graphClient.Me
        .MailFolders["parent folder id"]
	.Request()
	.AddAsync(mailFolder);

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

ID: 3d375272-71af-2fb3-0fd0-bd66406a6fbd
Version Independent ID: 57e430ff-dc8b-b198-c40d-7a8ff5b1e811
Content: Create MailFolder - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/user-post-mailfolders.md
Product: outlook
Technology: microsoft-graph
GitHub Login: @abheek-das
Microsoft Alias: MSGraphDocsVteam

Closing as this seems to be fixed. Thanks.


scale generator network output to [-1, 1]

This generator network does not scale the output to [-1, 1] with tanh activation function. Does anyone know why?

I have that question too. it's output is directly used to compare with the hr_image, which is [-1, 1]. My guess is the the biases setting of the generator network make the output in rage [-1, 1]? Did you figure it out?


[ColoredText] Proper thread-safety

Right now, only getSpans and receive are synchronized. Consider synchronizing other methods that write (or even read) too.

Is it better to use a synchronized block or synchronized method? I chose the latter because I'm lazy, but maybe it's better to be explicit about/not leak what you lock on.

Locking is no longer needed after #61. getSpans always runs after colorWith


Add pollux for Frontend

Hi
really happy to see this repo, & I hope you accept this kind of contribution :)
I have more projects like this one

the tool is live here
https://mohammedal-rowad.github.io/pollux/#/

Why I think this project is awesome
I usually need 2 things

fake data to test my functions/classes with
mocking API with CRUD functionality to fast prototype a frontend application

there are a lot of tools, but I wanted one that requires 0 code to use and it's super easy so I created pollux, which has the following features
1 - define a model with a Drag and Drop interface
2 - fake JSON data on the frontend (up to 10,000 objects ) from the models you defined
3 - create relationships (1:m) between the models and generates nested data
4 - download a .zip file that has a project which you only need to run npm i & npm run dev to have a full CRUD API with the models you defined ( supports GET/POST/PATCH/DELETE and some query params for filtering and pagination )

and everything here runs on the frontend, that's why I added it under the Frontend section

here is a video of me explaining some parts of the tool
https://youtu.be/4Kwv98RDoSM

LGTM, let's merge. Thanks a lot, waiting to add your other projects too!

LGTM, let's merge. Thanks a lot, waiting to add your other projects too!


Implement Invoking subscription functions in Ballerina

Purpose
Previous implementation directly invoked the subscription function pointer using FPValue.accept method. But in case an error occurs, these errors are not handled and for that, we have to use the scheduler in the java code, submit the function pointer to the scheduler.
With this PR the java implementation will be removed and the implementation will be replaced with Ballerina code.
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #19951   +/-   ##
=======================================
  Coverage    19.9%    19.9%
=======================================
  Files          55       55
  Lines        1437     1437
  Branches      218      218
=======================================
  Hits          286      286
  Misses       1138     1138
  Partials       13       13

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 be2b57a...18c5e91. Read the comment docs.

We are temporarily closing this PR, will reopen when we create 1.1.x branch.

@gimantha We need to cherrypick this fix back to master.


Blink enabled in telescope when opening from alpha-nvim

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
When I open telescope from alpha nvim, blink is enabled, but when I launch telescope from a normal buffer, blink is not (which is the desired behavior)
Relevant configuration
-- from blink
    enabled = function()
      return not vim.tbl_contains({ "markdown" }, vim.bo.filetype)
          and vim.bo.buftype ~= "prompt"
          and vim.b.completion ~= false
    end,

-- from alpha
    dashboard.section.buttons.val = {
      dashboard.button("f", " " .. " Find file", ":Telescope find_files <CR>"),
      dashboard.button("r", "󰄉 " .. " Recent files", ":Telescope oldfiles <CR>"),
      dashboard.button("g", " " .. " Find text", ":Telescope live_grep <CR>"),
    }

neovim version
NVIM v0.10.2
blink.cmp version: branch, tag, or commit
v0.8.1

Duplicate of #716


Lazy load search result preview images to improve performance

Here's a relevant MDN tutorial. We may need a placeholder image to make this look nice.

Still needs:

[ ] CSS transition for placeholder to image
[ ] unit test for lazy loading js code (?)

Huh, this works correctly searching WITHIN a work, but not on the main archive page. The main archive page isn't loading the thumbnails at all, even after waiting a bit:

Should be fixed now, thanks @mnaydan !

once more with feeling!

Lazy load is working on all desktop browsers (Chrome, Safari, FF) on initial search results page and item detail page. Lazy load is not working on tablet or mobile--all you get is the placeholder image, unless you refresh the page. Since I don't have time to test on Monday, I'm fine with letting dev team sign off in this issue once it's fixed, since they can reproduce the problem on their tablet.

Upon further investigation with @rlskoeser , safari (both on desktop and mobile) is requesting both the 2x sized and thumbnail sized images, which leads to severe throttling (especially on mobile/tablet).
We might be able to resolve this using <picture>; making a note to myself to try that out.

Tested the new version on QA and it's behaving better than it was - images load in seconds (sometimes many) rather than minutes. People using iPads will probably get throttled faster than those on other devices, since it has the bad combination of retina screen + no lazy loading (due to no observer support).


Migrate docs to asciidoc

The zipkin website is running off the gh-pages branch of the zipkin repository.
The content is built using sphinx, from source in the doc folder. This process relies on python etc, which isn't a big deal in and of itself. More importantly, the content isn't using code that's already tested.
Let's consider asciidoc as an alternative. Something like https://github.com/jruby-gradle/jruby-gradle-plugin/tree/master/docs

zipkin.io was recently fixed, thanks @abesto ! I'll close this issue, I don't think it's relevant any longer.


Segmentation fault while fetching refcount

In the following code:
template  Referent * cache_get(uint64_t node_target) {
object obj;
auto handle = get(std::to_string(node_target), obj);
if (!handle) {
obj = load(node_target, 0);
}
lock.get_read_lock(node_target);
return (Referent *)obj.target;
}
get is defined as follows:
CacheReadHandle cache::get(CacheKey key, object &obj) const {
auto handle = gcache_->find(key);
if (handle) {
std::memcpy(static_cast<void *>(&obj), handle->getMemory(), sizeof(obj));
}
}
after the return statement in cache_get, the code tries to fetch the refCount_ variable in Refcount.h in the function atomicUpdateValue. The segmentation fault is on line 471.

Basically, as soon as handle goes out of scope, a seg fault happens. Is there a way to release the handle somehow?

I somehow managed to fix this


Cassandra: seed provider lists no seeds.

Hi,
Following the instruction of the Cassandra example leads to the following error message:
The seed provider lists no seeds.
WARN  14:15:51 Seed provider couldn't lookup host cassandra-0.cassandra.default.svc.cluster.local
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: The seed provider lists no seeds.
ERROR 14:15:51 Exception encountered during startup: The seed provider lists no seeds.

It looks like a chicken an egg situation:

Container starts
readiness probe shows cassandra-0 is not ready
Cassandra checks the seed, cassandra-0.cassandra.default.svc.cluster.local does not resolve
Container stops with fatal error

If I comment the readinessProbe then the stateful set works.
Shouldn't this use the KubernetesSeedProvider?

Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.3", GitCommit:"0480917b552be33e2dba47386e51decb1a211df6", GitTreeState:"clean", BuildDate:"2017-05-10T15:48:59Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"269f928217957e7126dc87e6adfa82242bfe5b1e", GitTreeState:"clean", BuildDate:"2017-07-03T15:31:10Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}

/sig storage

I see this issue too, is there any know fix for this?

You can set PublishNotReadyAddresses = true on the headless service.
See:

https://github.com/jetstack/navigator/pull/137/commits/e2ed4d371165eeb28ce7efd4079b75c1b1db5c59#diff-4fdef357454e210b9c87d38f6025e4f7R37
https://kubernetes.io/docs/api-reference/v1.8/#service-v1-core

publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field.

@wallrj is that also available as an annotation on the service?

Yes. My colleague @munnerz notes that the PublishNotReadyAddresses field has only been added in Kubernetes 1.8. Use the annotation service.alpha.kubernetes.io/tolerate-unready-endpoints for backwards compatibility. See:

https://github.com/jetstack/navigator/pull/137#discussion_r151645574
https://github.com/kubernetes/kubernetes/pull/25284
https://github.com/kubernetes/website/issues/1556

I didn't face the issue but I also noticed that the KubernetesSeedProvider is not enabled in the example. Created a separate issue: https://github.com/kubernetes/examples/issues/147

I am running into the same issue
INFO  [main] 2018-03-03 09:13:27,994 GossipingPropertyFileSnitch.java:64 - Loaded cassandra-topology.properties for compatibility
WARN  [main] 2018-03-03 09:13:28,091 SimpleSeedProvider.java:60 - Seed provider couldn't lookup host cassandra-0.cassandra.default.svc.cluster.local
WARN  [main] 2018-03-03 09:13:28,094 SimpleSeedProvider.java:60 - Seed provider couldn't lookup host cassandra-1.cassandra.default.svc.cluster.local
The seed provider lists no seeds.
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: The seed provider lists no seeds.
ERROR [main] 2018-03-03 09:13:28,180 CassandraDaemon.java:708 - Exception encountered during startup: The seed provider lists no seeds.

Kubernetes version 1.7.9
cassandra headless service has the annotation - service.alpha.kubernetes.io/tolerate-unready-endpoints: true
tried with cassandra binary from docker hub and gcr.io/google-samples/cassandra:v13

Same issue - Seed provider could not look up cassandra---
Any suggestions how to get past this issue ?
thx.
--pravin

@pravinsinghal
Your interpretation of the log is not correct. What is important here is

The seed provider lists no seeds.

There are different ways of specifying seeds with Cassandra. But the bottom line, seed is just a list separated by commas. So you just have to tell cassandra which ones of your nodes are seeds.
Your cassandra hasn't even tried to contact a seed node because it's saying there is none defined
By default in the example, the statefulset.yaml specifies the seed node like this:
          - name: CASSANDRA_SEEDS             value: "cassandra-0.cassandra.%%NAMESPACE%%.svc.cluster.local"
The next thing that happens is that the run.sh will use this value and replace it in cassandra.yaml at run time.
I'm not sure if you will have time to ssh into the cassandra node before it crashes, but you should check the value in your cassandra.yaml:
seed_provider:     # Addresses of hosts that are deemed contact points.     # Cassandra nodes use this list of hosts to find each other and learn     # the topology of the ring.  You must change this if you are running     # multiple nodes!     #- class_name: io.k8s.cassandra.KubernetesSeedProvider     - class_name: SEED_PROVIDER       parameters:           # seeds is actually a comma-delimited list of addresses.           # Ex: "<ip1>,<ip2>,<ip3>"           - seeds: "cassandra-0.cassandra.%%NAMESPACE%%.svc.cluster.local"
(the default value is <IP_ADDRESS> in cassanda.yaml but run.sh will replace it.
Note that if you want to have more seed you would do:

I have defined CASSANDARA_SEEDS env var
this is from my yaml file:
env:
- name: CASSANDRA_SEEDS
value: cassandra-0.cassandra.default.svc.cluster.local,cassandra-1.cassandra.default.svc.cluster.local
- name: MAX_HEAP_SIZE
value: 256M
- name: HEAP_NEWSIZE
value: 100M
- name: CASSANDRA_CLUSTER_NAME
value: "Cassandra"
- name: CASSANDRA_DC
value: "DC1"
- name: CASSANDRA_RACK
value: "Rack1"
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: CASSANDRA_ENDPOINT_SNITCH
value: GossipingPropertyFileSnitch
volumeMounts:
- name: cassandra-data
mountPath: /var/lib/cassandra/data
And the log says -
WARN [main] 2018-03-03 09:13:28,091 SimpleSeedProvider.java:60 - Seed provider couldn't lookup host cassandra-0.cassandra.default.svc.cluster.local
WARN [main] 2018-03-03 09:13:28,094 SimpleSeedProvider.java:60 - Seed provider couldn't lookup host cassandra-1.cassandra.default.svc.cluster.local
So - is the lookup failing because the pod crashes before registering the endpoints ?
the yaml is a almost a copy cat from default example

There are just warning. It would be normal that cassandra-1 is not ready.
However for cassandra-0.cassandra.default.svc.cluster.local ...
Are you sure you are using default namespace? You would need to somehow get into the pod before it crashes and see if you can ping cassandra-0.cassandra.default.svc.cluster.local .

I am using the default namespace.
kubectl get svc --namespace=default
NAME         TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
cassandra    ClusterIP   None                     9042/TCP            1d
kubectl get pods --all-namespaces
NAMESPACE     NAME                                      READY     STATUS             RESTARTS   AGE
default       cassandra-0                               0/1       CrashLoopBackOff   487        1d
default       cassandra-1                               0/1       CrashLoopBackOff   487        1d
default       cassandra-2                               0/1       CrashLoopBackOff   488        1d
From kubelet logs:
Backing Off restarting container &Container{Name:cassandra,Image:cassandra,Command:[],Args:[],WorkingDir:,Ports:[{intra-node 0 7000 TCP } {tls-intra-node 0 7001 TCP } {jmx 0 7199 TCP } {cql 0 9042 TCP }],Env:[{CASSANDRA_SEEDS cassandra-0.cassandra.default.svc.cluster.local,cassandra-1.cassandra.default.svc.cluster.local nil} {MAX_HEAP_SIZE 256M nil} {HEAP_NEWSIZE 100M nil} {CASSANDRA_CLUSTER_NAME Cassandra nil} {CASSANDRA_DC DC1 nil} {CASSANDRA_RACK Rack1 nil} {POD_IP  EnvVarSource{FieldRef:&ObjectFieldSelector{APIVersion:v1,FieldPath:status.podIP,},ResourceFieldRef:nil,ConfigMapKeyRef:nil,SecretKeyRef:nil,}} {CASSANDRA_ENDPOINT_SNITCH GossipingPropertyFileSnitch nil}],Resources:ResourceRequirements{Limits:ResourceList{cpu: {{500 -3} {} 500m DecimalSI},memory: {{1073741824 0} {} 1Gi BinarySI},},Requests:ResourceList{cpu: {{500 -3} {} 500m DecimalSI},memory: {{1073741824 0} {} 1Gi BinarySI},},},VolumeMounts:[{cassandra-data false /var/lib/cassandra/data } {default-token-dcbdx true /var/run/secrets/kubernetes.io/serviceaccount }],LivenessProbe:nil,ReadinessProbe:nil,Lifecycle:nil,TerminationMessagePath:/dev/termination-log,ImagePullPolicy:IfNotPresent,SecurityContext:&SecurityContext{Capabilities:&Capabilities{Add:[IPC_LOCK],Drop:[],},Privileged:nil,SELinuxOptions:nil,RunAsUser:nil,RunAsNonRoot:nil,ReadOnlyRootFilesystem:nil,},Stdin:false,StdinOnce:false,TTY:false,EnvFrom:[],TerminationMessagePolicy:File,} in pod cassandra-2_default(1f128c62-1ec3-11e8-a9ca-506b8d4c430a)

kube dns logs showed this
I0305 07:18:55.550159       1 dns.go:555] Could not find endpoints for service "cassandra" in namespace "default". DNS records will be created once endpoints show up.
Any idea what is happening ?

have you create the cassandra service
kubectl get svc . What do you get

In  my case I did below
kubectl create namespace cassandra
then inside this project
a) created service using .yaml as stated in this repo
b) edited cassandra-statefulset.yaml from this repo and changed to have
- name: CASSANDRA_SEEDS
            value: "cassandra-0.cassandra.cassandra.svc.cluster.local"

c) created stateful set
 kubectl create -f cassandra-statefulset.yaml
Also you will need in cassandra-statefulset.yaml to adapt sections related to storageclass at end of that file.
Above worked fine in my case
]# kubectl get pods
NAME          READY     STATUS    RESTARTS   AGE
cassandra-0   1/1       Running   0          7m
cassandra-1   1/1       Running   0          6m
cassandra-2   1/1       Running   0          2m
# kubectl exec cassandra-0 -- nodetool status
Datacenter: DC1-K8Demo
======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address       Load       Tokens       Owns (effective)  Host ID                               Rack
UN  <IP_ADDRESS>  99.44 KiB  32           60.4%             a7b45c4a-9c7d-41d8-b253-6b810e5f3972  Rack1-K8Demo
UN  <IP_ADDRESS>  99.43 KiB  32           75.6%             2caf06f5-3407-4ae5-9175-ba44d79436a3  Rack1-K8Demo
UN  <IP_ADDRESS>   99.43 KiB  32           64.0%             7583ccd4-a3ff-40cb-9342-50cfbc59a614  Rack1-K8Demo

cc: @aledbf // this example was recently updated, is this still a problem

I am still running into this issue - even after i created the namespace.
INFO  17:53:49 Back-pressure is disabled with strategy null.
INFO  17:53:49 Unable to load cassandra-topology.properties; compatibility mode disabled
WARN  17:53:49 Seed provider couldn't lookup host cassandra-0.cassandra.cassandra.svc.cluster.local
WARN  17:53:49 Seed provider couldn't lookup host cassandra-1.cassandra.cassandra.svc.cluster.local
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: The seed provider lists no seeds.
ERROR 17:53:49 Exception encountered during startup: The seed provider lists no seeds
this is the complete yaml
apiVersion: "apps/v1beta1"
kind: StatefulSet
metadata:
name: cassandra
namespace: cassandra
spec:
serviceName: cassandra
replicas: 3
updateStrategy:
type: RollingUpdate
selector:
matchLabels:
app: cassandra
template:
metadata:
labels:
app: cassandra
spec:
terminationGracePeriodSeconds: 1800
containers:
- name: cassandra
image: gcr.io/google-samples/cassandra:v13
imagePullPolicy: IfNotPresent
ports:
- containerPort: 7000
name: intra-node
- containerPort: 7001
name: tls-intra-node
- containerPort: 7199
name: jmx
- containerPort: 9042
name: cql
resources:
limits:
cpu: "500m"
memory: 1Gi
requests:
cpu: "500m"
memory: 1Gi
securityContext:
capabilities:
add:
- IPC_LOCK
env:
- name: CASSANDRA_SEEDS
value: "cassandra-0.cassandra.cassandra.svc.cluster.local,cassandra-1.cassandra.cassandra.svc.cluster.local"
- name: MAX_HEAP_SIZE
value: 256M
- name: HEAP_NEWSIZE
value: 100M
- name: CASSANDRA_CLUSTER_NAME
value: "Cassandra"
- name: CASSANDRA_DC
value: "DC1"
- name: CASSANDRA_RACK
value: "Rack1"
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: CASSANDRA_ENDPOINT_SNITCH
value: GossipingPropertyFileSnitch
readinessProbe:
exec:
command:
- /bin/bash
- -c
- /ready-probe.sh
initialDelaySeconds: 15
timeoutSeconds: 5
volumeMounts:
- name: cassandra-data1
mountPath: /var/lib/cassandra/data
volumeClaimTemplates:

metadata:
name: cassandra-data1
spec:
accessModes: ["ReadWriteOnce"]
storageClassName: gold
resources:
requests:
storage: 1Gi

@pravinsinghal
if you run cassandra pods in "cassandra" namespace, can you try what I wrote in my previous comment. From your last comment value for CASSANDRA_SEEDS is a bit strange , I guess wrong copy/paste
value: "cassandra-0.cassandra.cassandra.svc.cluster.local,cassandra-1.cassandra.cassandra.svc.cluster.local"

can you try with
            value: "cassandra-0.cassandra.cassandra.svc.cluster.local"

Yep - that was a copy/paste issue.
I changed that to single cassandra name as recommended - still the same issue
INFO  18:10:53 Initialized back-pressure with high ratio: 0.9, factor: 5, flow: FAST, window size: 2000.
INFO  18:10:53 Back-pressure is disabled with strategy null.
INFO  18:10:53 Unable to load cassandra-topology.properties; compatibility mode disabled
WARN  18:10:53 Seed provider couldn't lookup host cassandra-0.cassandra.cassandra.svc.cluster.local
The seed provider lists no seeds.
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: The seed provider lists no seeds.
ERROR 18:10:53 Exception encountered during startup: The seed provider lists no seeds.

@pravinsinghal please use aledbf/cassandra:v15, it's the test image for #201.

On a separate cluster created using kubeadm  - I was able to successfully deploy this YAML ..
kubectl exec -ti cassandra-0 --namespace=cassandra -- nodetool status
Datacenter: DC1
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address     Load       Tokens       Owns (effective)  Host ID                               Rack
UN  <IP_ADDRESS>  89.88 KiB  32           69.5%             711c4b6d-b5e7-4184-991c-0bbdb1ef79cf  Rack1
UN  <IP_ADDRESS>  65.81 KiB  32           63.0%             e12f4027-8a86-41d5-a105-96345393d1b1  Rack1
UN  <IP_ADDRESS>  104.55 KiB  32           67.6%             8a7d9f5b-2042-4e9a-910b-f0572c7cc0fb  Rack1
On a separate cluster which is deployed by a separate mechanism (derivative of the hard way model) - this still does not work .. even with 1.9.3. Keep getting "Seed provider couldn't lookup host cassandra-0.cassandra.cassandra.svc.cluster.local".

Issue got identified.
The k8s cluster was deployed with a cluster domain - and not default settings. so the actual seed value that worked was cassandra-0.cassandra..svc..
thx for all the pointers and help.

Hi @pravinsinghal ,
i'm having the same problem with cassandra on a k8s Cluster with kubeadm. Can you please elabore on how you solve your problem?
It was working for me as well before. But then i change my infrastructure. I now have one master and 2 workers. The master node is part of a public subnet and of a private subnet (NAT). I startet the k8s cluster with --apiserver-advertise-address of the private ip address of the master node. The workers are part of the NAT only. Previously it was working we every nodes (master and workers) in the NAT network.
Thank you.

We recently updated thee cassandra example, ccing @aledbf to take a look.

@GervaisYO what image are you using?

I‘m using gcr.io/google-samples/cassandra:v13

cc: @aledbf:  is this image aledbf/cassandra:v15 is same as the image . cassandra:v14

Ran into the same problem with gcr.io/google-samples/cassandra:v14 also tried v13. I can get it to work with the default namespace and cassandra service name. But when I tried using a custom namespace ie cassandra the logs complain about no seeds spesified. I have also tried rebuilding the images with env settings other that the default values as spesified in the io.k8s.cassandra.KubernetesSeedProvider README.ms file in the repo path examples/cassandra/java/. I can not confirm but it seems that the KubernetesSeedProvider are unable to overwrite the default settings based on the following log
INFO  11:18:35 Unable to load cassandra-topology.properties; compatibility mode disabled
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: io.k8s.cassandra.KubernetesSeedProvider
Fatal configuration error; unable to start server.  See log for stacktrace.
org.apache.cassandra.exceptions.ConfigurationException: io.k8s.cassandra.KubernetesSeedProvider
Fatal configuration error; unable to start server.  See log for stacktrace.
	at org.apache.cassandra.config.DatabaseDescriptor.applySeedProvider(DatabaseDescriptor.java:895)
	at org.apache.cassandra.config.DatabaseDescriptor.applyAll(DatabaseDescriptor.java:324)
	at org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:142)
	at org.apache.cassandra.service.CassandraDaemon.applyConfig(CassandraDaemon.java:647)
	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:582)
	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691)

So in summary it works with the default namespace but not if you want to deploy in a custom namespace.

Folks, I have this issue in EKS currently. I'm using qa as the namespace and cassandra-service as the service name, which should make this valid:
- name: CASSANDRA_SEEDS
  value: "cassandra-0.cassandra-service.qa.svc.cluster.local"

But at spin-up, neither cassandra-0 nor other containers in the namespace can resolve that hostname (other services resolve fine).  I have publishNotReadyAddresses: true set.
Here's the error produced by cassandra-0:
WARN  18:15:12 Seed provider couldn't lookup host cassandra-0.cassandra-service.qa.svc.cluster.local

Been running into something similar - have been trying to not make the namespace be required as part of the CASSANDRA_SEEDS but haven't gotten it to work -
        - name: CASSANDRA_SEEDS
          value: "cassandra-0.cassandra.mkobit.svc.cluster.local"
        - name: CASSANDRA_SEED_PROVIDER
          value: "io.k8s.cassandra.KubernetesSeedProvider"

fails for me with
Fatal configuration error; unable to start server.  See log for stacktrace.
org.apache.cassandra.exceptions.ConfigurationException: io.k8s.cassandra.KubernetesSeedProvider
Fatal configuration error; unable to start server.  See log for stacktrace.
        at org.apache.cassandra.config.DatabaseDescriptor.applySeedProvider(DatabaseDescriptor.java:895)
        at org.apache.cassandra.config.DatabaseDescriptor.applyAll(DatabaseDescriptor.java:324)
        at org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:142)
        at org.apache.cassandra.service.CassandraDaemon.applyConfig(CassandraDaemon.java:647)
        at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:582)
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691)
ERROR 18:19:26 Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: io.k8s.cassandra.KubernetesSeedProvider
Fatal configuration error; unable to start server.  See log for stacktrace.
        at org.apache.cassandra.config.DatabaseDescriptor.applySeedProvider(DatabaseDescriptor.java:895) ~[apache-cassandra-3.11.2.jar:3.11.2]
        at org.apache.cassandra.config.DatabaseDescriptor.applyAll(DatabaseDescriptor.java:324) ~[apache-cassandra-3.11.2.jar:3.11.2]
        at org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:142) ~[apache-cassandra-3.11.2.jar:3.11.2]
        at org.apache.cassandra.service.CassandraDaemon.applyConfig(CassandraDaemon.java:647) [apache-cassandra-3.11.2.jar:3.11.2]
        at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:582) [apache-cassandra-3.11.2.jar:3.11.2]
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691) [apache-cassandra-3.11.2.jar:3.11.2]

This occurs when using image: gcr.io/google-samples/cassandra@sha256:7a3d20afa0a46ed073a5c587b4f37e21fa860e83c60b9c42fec1e1e739d64007. I'd really like to use the namespace without having to hardcode it into the CASSANDRA_SEEDS but not having any luck.

Fails for me when trying to create the second pod onward. Both the service and statefulsets were applied in the default namespace. I'm playing within a Ubuntu VM's minikube.
minikube version

v1.6.1

kubectl version

client v1.16.3
server v1.17.0

WARN  23:28:54 Seed provider couldn't lookup host cassandra-0.cassandra.default.svc.cluster.local
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: The seed provider lists no seeds.
The seed provider lists no seeds.
ERROR 23:28:54 Exception encountered during startup: The seed provider lists no seeds.

Issue got identified.
The k8s cluster was deployed with a cluster domain - and not default settings. so the actual seed value that worked was cassandra-0.cassandra.my-namespace.svc.my-domain.
thx for all the pointers and help.

how might one check the deployed cluster domain?

Issue got identified.
The k8s cluster was deployed with a cluster domain - and not default settings. so the actual seed value that worked was cassandra-0.cassandra.my-namespace.svc.my-domain.
thx for all the pointers and help.

This fixed it for me. my-domain was the problem. Changed the domain and it started working.

Issue got identified.
The k8s cluster was deployed with a cluster domain - and not default settings. so the actual seed value that worked was cassandra-0.cassandra.my-namespace.svc.my-domain.
thx for all the pointers and help.

how might one check the deployed cluster domain?

I am working in a company which has it's down domain for kube. You may contact your local k8 administrator for the domain.


Ipfs cluster integration

Oh warning!
I will fix the react-todo-app type warning.

[ ] fula client connect should support both string and string[] for backwards compatibility

[ ] secret setup
* primary method did not work on osx
* offer one cmd that works on any dev machine

[ ] secret setup + docker-compose only works with two Boxes
* no need to have Box0 and Box1 services
* just run docker-compose twice

[ ] ideally we can come up with a way so that we don't have to call docker-compose down
* separate config service that is dependency of other services?

[ ] fula client should not connect to Boxes over pnet
* Boxes connect to each other over pnet

* [ ]  fula client should not connect to Boxes over pnet
  * Boxes connect to each other over pnet

I don't think its possible until security layer integrated. So please put it out of scope of this PR

secret setup + docker-compose only works with two Boxes
* no need to have Box0 and Box1 services
* just run docker-comp

I don't think this is part of this PR.


Update relays.yaml

Adding my relay.

You changed the indentation which makes it impossible to view diff. Please reopen without change, also please read README.md. You should merge into main not develop.


How to use latest electron version?

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
Hello, I need your help.
I'm new to electron-forge. I am looking for a way to use react in electron. I came across a tutorial that initializes the app with electron-forge. This is why I'm using it. :)
I noticed that an old electron version (4.0.0) was taken when I started it with the help of forge. That's why I wanted to ask if it is possible to use the latest electron version?
After I noticed the older version, I tried to install the latest electron on my own, with npm i -D electron@latest, and it shows up in my devDependencies with ^6.0.0. But my App is still using the version 4.0.0.
My start script is unchanged: "start": "electron-forge start",
Can you please help me?
Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.
If it's really necessary, I'll hand it in later. :)
For checking the version I use the following:
    console.log('Current Node Version: ' + process.versions.node)
    console.log('Current Electron Version: ' + process.versions.electron)

    // Output:
    Current Node Version: 10.11.0
    Current Electron Version: 4.0.0

What does your config.forge data in package.json look like?
I will paste my hole package.json without names.
{
  "name": "xxx",
  "productName": "xxx",
  "version": "4.0.0",
  "description": "xxx",
  "author": "xxx",
  "main": "src/main.js",
  "scripts": {
    "start": "electron-forge start",
    "package": "electron-forge package",
    "make": "electron-forge make",
    "publish": "electron-forge publish",
    "lint": "eslint --cache --color --ext .jsx,.js src"
  },
  "repository": {
    "type": "git",
    "url": "xxx"
  },
  "keywords": [
    "xxx"
  ],
  "license": "...",
  "config": {
    "forge": {
      "make_targets": {
        "win32": [
          "squirrel"
        ]
      },
      "electronPackagerConfig": {
        "packageManager": "npm"
      },
      "electronWinstallerConfig": {
        "name": "xxx"
      },
      "electronInstallerDebian": {},
      "electronInstallerRedhat": {},
      "github_repository": {
        "owner": "",
        "name": ""
      },
      "windowsStoreConfig": {
        "packageName": "",
        "name": "xxx"
      }
    }
  },
  "iohook": {
    "targets": [
      "node-64",
      "electron-70"
    ],
    "platforms": [
      "win32",
      "darwin",
      "linux"
    ],
    "arches": [
      "x64",
      "ia32"
    ]
  },
  "devDependencies": {
    "@fortawesome/fontawesome-free": "^5.10.1",
    "babel-plugin-transform-async-to-generator": "^6.24.1",
    "babel-plugin-transform-es2015-classes": "^6.24.1",
    "babel-preset-env": "^1.7.0",
    "babel-preset-react": "^6.24.1",
    "electron": "^6.0.0",
    "electron-forge": "^5.2.4",
    "electron-prebuilt-compile": "4.0.0",
    "eslint": "^3.19.0",
    "eslint-config-airbnb": "^15.1.0",
    "eslint-plugin-import": "^2.18.2",
    "eslint-plugin-jsx-a11y": "^5.1.1",
    "eslint-plugin-react": "^7.14.3",
    "node-abi": "^2.10.0"
  },
  "dependencies": {
    "bootstrap": "^4.3.1",
    "electron-compile": "^6.4.4",
    "electron-devtools-installer": "^2.2.4",
    "electron-squirrel-startup": "^1.0.0",
    "electron-tooltip": "^1.1.5",
    "electron-window-manager": "^1.0.6",
    "jquery": "^3.4.1",
    "node-key-sender": "^1.0.11",
    "node-process-windows": "0.0.2",
    "popper.js": "^1.15.0",
    "react": "^15.6.2",
    "react-dom": "^15.6.2",
    "react-hot-loader": "^3.1.3"
  }
}

Use Electron Forge 6 instead: https://www.electronforge.io/


ADR: Deletion strategy

What would you like to be added (User Story)?
As a developer
I want an ADR to document our deletion strategy
So future engineers understand the decision
Detailed Description
We need an ADR to document the decision around how we handle _deletion.
Anything else you would like to add?
No response
Label(s) to be applied
/kind feature

I can take care of it.


Ability for other emulators

Xenia: it would be great to have Xbox 360 achievement support, the canary build of the emu does have the option to display in game but can cause loop problems.
Achivement Watcher: ability to add this library data would be good, I’m pretty sure it makes .json files so if you could use that then it could display the achievements in playnite quite easily.
(Before you say about piracy, yeah I understand and recommend users to buy there games. However in some situations where game is no longer available, game sharing  “same pc multiple users” or Epic Games that doesn’t support achievements as of now. It would be an ideal way for these lot,
for example:
I have a bunch of epic games that are also on steam and use the steam files, I would use an emu to allow steam achievements and or lan play. So me and my friend can play the same game locally (they own game on epic, but emu has better lan support)

#518