Bump up trigger files for staging bundle release

This will trigger the staging bundle build and release for bundle number 20.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/unhold

/approve

/override eks-anywhere-attribution-files-presubmit
/override eks-anywhere-presubmit
/override eks-anywhere-release-tooling-presubmit


Blog is empty

It seems that all the blog posts are gone (https://typelevel.org/blog/archive.html). Maybe an update that went wrong?

Thanks a lot, this should be fixed now. It was a misconfiguration.


api: support gRPC and provide SDKs

Compare to exited RESTful API, gRPC is more efficient for communications among servers.
Design
For each API, move current implementation to a shared handler, and call this shared handler from RESTful API handler as well as gRPC API handler.
┌───────────┐ ┌───────────┐
│RESTful API│ │ gRPC API  │
└─────────┬─┘ └─┬─────────┘
          │     │
        ┌─▼─────▼─┐
        │ Handler │
        └─────────┘

Tasks

[ ] gRPC APIs
[ ] Gorse Go SDK
[ ] Gorse Java SDK
[ ] Gorse Rust SDK
[ ] Gorse Python SDK
[ ] Gorse Node.js SDK

+1


Add model utils

@tomuben please review only ReservoirShuffle for the moment, everything else will change a lot soon


TODO in elm publish --help

There is a TODO in the output for elm publish --help.
SSCCE:
$ elm publish --help

The `publish` command publishes your package on <https://package.elm-lang.org>
so that anyone in the Elm community can use it.

    elm publish

Think hard if you are ready to publish NEW packages though!

(Ommited 2 paragraphs for brevity.)

Check out <TODO> for guidance on how to create great packages!

Version Info:
Elm 0.19.0 (installed using Homebrew)
macOS 10.11.6

Still the case.

Thank you for the report! This should link to https://package.elm-lang.org/help/design-guidelines in Elm 0.19.1.

https://github.com/elm/compiler/blob/master/terminal/src/Main.hs#L269


Updated sysdiag

See https://github.com/ipfs/go-ipfs/pull/2867/files

@Kubuxu Can you check this?

LGTM


Defining custom rules instead of just "IS"

Would there be a way to define my custom fuzzy logic rules which use different format than “IS”. From what I was looking at the simpful code it only supports conditions as follow:
a “IS" b AND b "IS" c THEN a "IS” c
I need to define format as
a “SUBCLASS" b AND b “SUBCLASS" c THEN a “SUBCLASS" c.
Or
a “SUBCLASS" b AND x “TYPE" a THEN x “TYPE” b.
And more custom rules as in the attached picture.
But looking at the https://github.com/aresio/simpful/blob/master/simpful/rule_parsing.py (line 4,5) the only rule which can be parsed is only the “IS” condition.
The question is if there is a way to define these rules without significantly modifying the source code which I might be missing?

Hi,
it would be technically possible to parse a different token while keeping the reasoner intact. However, we need to understand the rationale of your proposal first (because both "subclass" and "type" do not seem to represent fuzzy concepts). Can you please elaborate why you need this change in Simpful? Please send an e-mail to<EMAIL_ADDRESS>I will answer asap.
Marco

Hi,
it would be technically possible to parse a different token while keeping the reasoner intact. However, we need to understand the rationale of your proposal first (because both "subclass" and "type" do not seem to represent fuzzy concepts). Can you please elaborate why you need this change in Simpful? Please send an e-mail to<EMAIL_ADDRESS>I will answer asap.
Marco

I contacted you via email with more details.


Not working on new Apple ARM ?

Hi,
Installed the extension mongodb using pecl -> installation went fine, no error.
Registered the extension on my php.ini, but no loaded by php -> no error as well.
Im running on Mac OS 11.1 with new M1 chipset.
Thanks in advance for your help,
Julien

Note that you opened this issue on the library repository, although your problem appears to be with the extension.
Although we don't have Apple M1 environments available in our Evergreen CI matrix, we do test against other ARM platforms and I'm not aware of any build issues with them. If you were able to successfully build the extension via PECL, this sounds more like a configuration issue with your PHP environment.
Unless error reporting is being suppressed, PHP should report an error if an extension file (e.g. mongodb.so) cannot be loaded properly. Windows users typically encounter such errors when they attempt to load an incompatible DLL file.
In the event that you have multiple PHP environments on your machine, I suggest double-checking that the pecl command you used to build the driver is consistent with the PHP environment with which you're attempting to load the extension. From there, ensure that your PHP configuration references the correct mongodb.so file (consult extension_dir and/or use an absolute path) and has enabled error reporting enabled.
Lastly, as this doesn't appear to be a bug with either the extension or library, I'd ask that you continue any conversation in the MongoDB Community Forums. We'd like to consolidate all general usage/support inquiries there and limit GitHub and JIRA to actual bugs.

Note that you opened this issue on the library repository, although your problem appears to be with the extension.
Although we don't have Apple M1 environments available in our Evergreen CI matrix, we do test against other ARM platforms and I'm not aware of any build issues with them. If you were able to successfully build the extension via PECL, this sounds more like a configuration issue with your PHP environment.
Unless error reporting is being suppressed, PHP should report an error if an extension file (e.g. mongodb.so) cannot be loaded properly. Windows users typically encounter such errors when they attempt to load an incompatible DLL file.
In the event that you have multiple PHP environments on your machine, I suggest double-checking that the pecl command you used to build the driver is consistent with the PHP environment with which you're attempting to load the extension. From there, ensure that your PHP configuration references the correct mongodb.so file (consult extension_dir and/or use an absolute path) and has enabled error reporting enabled.
Lastly, as this doesn't appear to be a bug with either the extension or library, I'd ask that you continue any conversation in the MongoDB Community Forums. We'd like to consolidate all general usage/support inquiries there and limit GitHub and JIRA to actual bugs.


This Month in Rust OSDev (March 2022)

it's time for our monthly newsletter again! Please add all the content you want to include by opening a pull request against the next branch in the next few days.
cc @rust-osdev/all

@phil-opp do we want to mention the new 0.14.9 release of x86_64? We could also mention the (upcoming?) Release of 0.15

Yes, that's something that we definitely want to include! I'm in favor of mentioning the latest changes to the v0.15 branch as well. I think I also did that for the previous newsletter releases.

Published at https://rust-osdev.com/this-month/2022-03/


Feature request tap_action: custom with own javascript

Hello Nerwyn,
first of all: thanks for this great addon to the tile cards.
It would be nice to call custom tap_actions with own javascript, like it's possible with custom:button-card.
With this you can have multiple actions at once, for example call a service and navigate to a new page.
With custom:button-card the yaml-code works as follows:
tap_action:
  action: custom
  custom: |
    [[[
    hass.callService("script", "camera", {});
    window.history.pushState(null, "", "/lovelace/camera");
    window.dispatchEvent(new CustomEvent("location-changed"));
    ]]]

Looking forward to the project getting even better with this addition.
Best regards

I'm having trouble finding any reference to a custom action in the custom:button-card documentation or code. Are you sure it isn't from a different custom card?
I should be able to implement this using eval.

Oh, it seems to be an undocumented function. When searching for how to call multiple functions, I only found a post about it in the home assitant community forum. But here on github there is also something written about it:
https://github.com/custom-cards/button-card/issues/314

Try the latest 4.1.0 alpha. It's the action Evaluate JS in the configuration UI.

Tried it. Navigation with window.works.
But log says hass is not defined eval when I tried to execute a command from here https://developers.home-assistant.io/docs/frontend/data/

Use this.hass. The code is evaluated from within the context of the custom feature, of which hass is a property/member.

Works perfect.

Released 4.1.0!


Find by name

FlashPunk a feature where entities can have a unique name, and can be looked in the world by that name. I think it's a pretty useful thing.

Completed (it'll need to be tested though).


Need to know how to upload a wav file

IMPORTANT: If you have a general question please use Stack Overflow instead where Karate has a dedicated "tag": https://stackoverflow.com/questions/tagged/karate
If you are sure you have found a bug, please make sure you follow the instructions here: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
My Requirement is I have to upload a wav file and get the file id and pass it on to next request. For this i'm trying to use following code. But its not working. Can someone help me on this

@suryaprakash-alanka please follow the instructions in the second link you posted above


Feat: add insertEdgeBatch function

According to https://github.com/nebula-contrib/ngbatis/issues/234#issue-1916633019   #234
add insertEdgeBatch function
include:

test module
reformat src/main/resources/NebulaDaoBasic.xml
cc @CorvusYe Thank you!

Reference

Thank you!
Error:  Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (checkstyle) on project ngbatis-demo: You have 60 Checkstyle violations. -> [Help 1]
Error:
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error: Process completed with exit code 1.

And I want to know how to set checkstyle when I use IDEA. Apparently, It have some violation when use maven -B install command.  I want to set the xxx.xml code style configuraion file to correct these warning. @CorvusYe

Reference

Thank you!
Error:  Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (checkstyle) on project ngbatis-demo: You have 60 Checkstyle violations. -> [Help 1]
Error:
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error: Process completed with exit code 1.

And I want to know how to set checkstyle when I use IDEA. Apparently, It have some violation when use maven -B install command. I want to set the xxx.xml code style configuraion file to correct these warning. @CorvusYe

I think nebula_java_style_checks.xmlis the codestyle configuration file. Yes or No?

Codecov Report
Attention: 24 lines in your changes are missing coverage. Please review.

Comparison is base (fbeb601) 0.00% compared to head (fde5976) 0.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff           @@
##           master    #244   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files          74      75    +1
  Lines        2532    2556   +24
  Branches      275     275
======================================
- Misses       2532    2556   +24

Files
Coverage Δ

...g/nebula/contrib/ngbatis/proxy/NebulaDaoBasic.java
0.00% <0.00%> (ø)

.../nebula/contrib/ngbatis/models/data/NgTriplet.java
0.00% <0.00%> (ø)

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

Great !
If you don't mind, could you add some author information to the pom.

Great ! If you don't mind, could you add some author information to the pom.

That sounds great! I will add my personal information next pr! Thank you!


Suggestion: add cornerradius to Backdrop Control

As we know the Backdrop is a control that works Rectangular over its back to make the blur, I have tried creating corners (black, white) in the Noise.jpg, also using a Noise.png (transparent corners) and several other ways and I would like not to create an effect from zero. Might be is there an easy way to make it work but I have not found it.
NOTE, due to in the view I am working I have not any CompositionImage, I had to add checking the is initialized in the Backdrop.cs file:
#if SDKVERSION_INSIDER
        if (!SurfaceLoader.IsInitialized)
        {
            SurfaceLoader.Initialize(ElementCompositionPreview.GetElementVisual(this).Compositor);
        }

        m_noiseBrush.Surface = await SurfaceLoader.LoadFromUri(new Uri("ms-appx:///Assets/Noise.jpg"));
        m_noiseBrush.Stretch = CompositionStretch.UniformToFill;
#endif

Thank you,

@juanpaexpedite You can use CompositionProToolkit.
First you create an ICompositionMask with a rounded rectangle geometry and then pass this mask to the CreateMaskedBackdropBrush extension method of Compositor.
This will give you a CompositionEffectBrush which you can apply to your visual.

Thank you really a lot, following your great example that's what I achieved:

Now it's exactly as I designed in my mind, more blur and less sharp :). I will follow the advice of just using one instance.

Looks great! :)


[Feature] Add Battery Life Calculator

Description
This battery life calculator will estimate how long a battery will last, based on nominal battery capacity and the average current that a load is drawing from it.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Proceed @diyaaa19

@Rakesh9100 please review and merge my PR


Unable to install package

Hi,
Thank you for this work!
I cannot install the package with R 3.6.0. I even tried R 3.5.2. I still get the message "package ‘C:~/eSIR_0.2.6.tar’ is not available (for R version 3.6.0)". Sometimes I also get this message "cannot open compressed file 'eSIR_0.2.5.tgz/DESCRIPTION', probable reason 'No such file or directory'".

Hi,
Sorry to hear that you cannot install the package. I asked my friend who
uses R3.6.0 to try and he is able to install it. You probably can directly
source the url using the R codes below.
Best,
Lili
You might need to install the packages below
library(chron)
library(dplyr)
library(reshape2)
library(readr)
library(rjags)
library(gtools) #rdirichlet(n, alpha)
library(scales) #alpha function
library(ggplot2)
library(nCov2019)
library(chron)
library(data.table)
source_url("
https://github.com/lilywang1988/eSIR/blob/master/R/tvt.eSIR.R?raw=TRUE")
source_url("
https://github.com/lilywang1988/eSIR/blob/master/R/qh.eSIR.R?raw=TRUE")
On Sat, Apr 4, 2020 at 10:56 AM myamortor<EMAIL_ADDRESS>wrote:

Hi,
Thank you for this work!
I cannot install the package with R 3.6.0. I even tried R 3.5.2. I still
get the message "package ‘C:~/eSIR_0.2.6.tar’ is not available (for R
version 3.6.0)". Sometimes I also get this message "cannot open compressed
file 'eSIR_0.2.5.tgz/DESCRIPTION', probable reason 'No such file or
directory'".
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lilywang1988/eSIR/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACWLZ77RQ6GFEWO5OZFUWETRK5DABANCNFSM4L6NY47Q
.

--
Ph.D. Candidate,
Biostatistics,
School of Public Health,
University of Michigan, Ann Arbor

Thank you very much for your response. Finally, I reinstalled R and RStudio and it works.


Add debug build and enable stdlib assertions

This copies a couple of the features of the rocSOLVER debug and CI builds into hipSOLVER.

It required a few more adjustments to the .jenkins folder, but I think I got it now. Sadly, this did not help find that failure from the develop branch.


Initial commit of github.com/labstack/echo example for non-converted dependencies v>=2

Wording being reviewed here prior to merge:
https://docs.google.com/document/d/1B27s9o39ZdLpU5mnmUj0N1h7tIC15IpRIa-YxnRyCgk/edit?usp=sharing

@zeebo I'm going to merge an initial cut of this for now.


Update AlertManager configuration page for AM v0.18

Follow-up of https://github.com/prometheus/alertmanager/pull/1863. It should be merged only after AlertManager v0.18 is released. cc @bwplotka

@brian-brazil ok to merge?

Thanks!


Add text color option for mini select

resolves: #25

Gives the option to change text color for value and list by passing it through props. Default color for both would be #363636. Needed the color change option in order to change color for a mini select component with SelectMiniKind::Round.


[@xstate/svelte] Missing ESM exports

Description
Right now, the distributed package of @xstate/svelte only exports CJS and this caused some problem after an update in SvelteKit (https://github.com/sveltejs/kit/issues/2418).
Expected Result
In any case, Xstate core exports both CJS and ESM. Is there any reason why it isn't the same with @xstate/svelte? If there isn't any, I think it should have an ESM export.

cc. @farskid @Andarist

I also have a problem there. I'm using SvelteKit and xstate with @xstate/svelte and it causes problems when building for e.g. cloudflare where SvelteKit tries to bundle the application with esbuild.
I guess the problem is svelte bindings are compiled for commonjs which results in something like this inside:
var xstate_1 = require("xstate");
After rollup processes the application it's becoming this:
import require$$1, { createMachine } from "xstate"; (because the input was commonjs like)
So when esbuild comes into play it's looking for default export in xstate which is not present.
I'll try looking into it and maybe make a PR with ESM target.


Create AC and Create Probability of Blocking Attack

Players start with a randomized number associated to their AC.

This update will take place within the Character class

Enemy and Player classes will be using this.

Code a random chance to block an attack

As of commit ee483c9:

ac introduced into player stats

test successful for inclusion into character stats
test successful for getting the random value for ac

This feature is complete


MeshDataTool.create_from_surface() : Index r[i] is out of bounds

Godot version
v4.2 stable
System information
Godot v4.2.stable - Windows 10.0.22621 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4060 Laptop GPU (NVIDIA; <IP_ADDRESS>87) - 13th Gen Intel(R) Core(TM) i7-13700H (20 Threads) - Android 13
Issue description
Hello everyone,
I  wanted to implement that : https://www.youtube.com/watch?v=4DFpLnEnKFk&t=293s
I found an issue when I wanted to use the MeshDataTool.create_from_surface() function. My code works perfectly on local debugging on my PC but when I tried to deploy/debug on my mobile it throwed:
`
E 0:00:03:0197   UVPosition.gd:19 @ set_mesh(): Index r[i] = 65534 is out of bounds (vcount = 24).
   scene/resources/mesh_data_tool.cpp:73 @ create_from_surface()
  UVPosition.gd:19 @ set_mesh()
                 SetUVPositionMesh.gd:4 @ _ready()
`

I also tried to test with the version 4.1.1 and had the same issue
If someone has a workaround for this issue or can help me
Thanks in advance
Steps to reproduce

Create a node and attach a script
Script:func _ready():  var mesh = ArrayMesh.new()  mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, BoxMesh.new().get_mesh_arrays())  var mdt = MeshDataTool.new()  mdt.create_from_surface(mesh, 0)  print(mdt.get_edge_count())
Test in local : OK (edge count 30)
Test with distance debugg on mobile : KO (error + edge count 0)

You can use your own mesh it will always be the same.
Minimal reproduction project
Or use the following projet (4.2):
MeshDataToolTest.zip

Thanks for the report. This is probably a duplicate of https://github.com/godotengine/godot/issues/75599 or some of its variants, the PR fixing it (https://github.com/godotengine/godot/pull/84852) should hopefully be in the next 4.2.x patch relese. I'm closing this as duplicate, but feel free to comment or reopen this issue if the bug has not been fixed by that PR.


Normalize urls

Description
Addresses https://github.com/PaloAltoNetworks/prismacloud-cli/issues/68
Motivation and Context
Use existing code to sanitize.
How Has This Been Tested?
Manual testing.
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

Secrets, prolly:

Secrets are not passed to workflows that are triggered by a pull request from a fork. Note: With the exception of GITHUB_TOKEN, secrets are not passed to the runner when a workflow is triggered from a forked repository. Secrets are environment variables that are encrypted. Anyone with collaborator access to this repository can use these secrets for Actions.


Discord Appeal

Hello, is it possible to get a ban appeal from Discord? I was a kid when I got banned form the server and I really want to appeal to join again to the server, could be possible? Thank you very much

You were banned for 2 years after you were caught lying and attempting to circumvent the ban. This is our maximum ban duration, reserved for those that do things like lying about moderation incidents as you did.
If you had been honest with us after the initial incident, you would not current be banned.
If you have put in the effort to improve yourself as a person since then, you may rejoin 2023-October-12 and make your case then.


DOC: Returning structured output from agent documentations not correct

Issue with current documentation:
I have followed the documentations guide and create an agent with vector retriever with a Pydantic schema passed as function into the agent, but it seems that there is no information from. the retriever is passed to the schema function, the schema function will just give source [1] as output. I have also tried a exact replicate of the code in the documentation with my own data since I don't have the state_of_the_union text file and I got the same error as what I am getting in my own implementation
This is the documentation link https://python.langchain.com/docs/modules/agents/how_to/agent_structured
during my experiments

You can see that this piece of information containing capstone =. 5.5 is at page chuck 10

In the response to what is my capstone grade, it gives source [] which is definitely not the right information
Idea or request for content:
I am not too exactly sure about what is causing the problem, maybe I should flag this as a bug or maybe just some configuration error.
My suspicion is that after the creation of the retriever tool, it formats the document using a prompt which strip away the meta data information. I have tried passing an additional prompt when im creating the retriever tool so that it returns the meta data output together with the content.

this will result in the answer formatted to be

But it takes a lot of luck and tuning to get the final answer to get the correct source information (have succeeded before once in a while but not most of the time)
Please advise on what could be the potential solution to this, thank you very much

@dosu-bot my problem is mainly the agent is not getting the right meta data information from the retriever

@dosu-bot I understand that document type is return from a vector store retrieval, but we create a retriever tool from the vector store, it will convert the Document to be a string with out the meta data information through a prompt template which will then be passed to the next agent action

Yes this is what I have, but it seems like with the formatted string and the Pydantic openai function, it seems that the rate that the parsing function is called is very low and hence not returning the correct format

The example listed here demonstrates the bug: https://python.langchain.com/docs/modules/agents/how_to/agent_structured. The answer to the question asked, isn't in the 6th page_chunk document, which is what the API call returns:
{'answer': "President Biden nominated Ketanji Brown Jackson for the United States Supreme Court and described her as one of our nation's top legal minds who will continue Justice Breyer's legacy of excellence.",
 'sources': [6]}

Here is the Document that corresponds to page_chunk=6 printed:

Document(page_content='And I’m taking robust action to make sure the pain of our sanctions  is targeted at Russia’s economy. And I will use every tool at our disposal to protect American businesses and consumers. \n\nTonight, I can announce that the United States has worked with 30 other countries to release 60 Million barrels of oil from reserves around the world.  \n\nAmerica will lead that effort, releasing 30 Million barrels from our own Strategic Petroleum Reserve. And we stand ready to do more if necessary, unified with our allies.  \n\nThese steps will help blunt gas prices here at home. And I know the news about what’s happening can seem alarming. \n\nBut I want you to know that we are going to be okay. \n\nWhen the history of this era is written Putin’s war on Ukraine will have left Russia weaker and the rest of the world stronger. \n\nWhile it shouldn’t have taken something so terrible for people around the world to see what’s at stake now everyone sees it clearly.', metadata={'source': 'state_of_the_union.txt', 'page_chunk': 6})

The example listed here demonstrates the bug: https://python.langchain.com/docs/modules/agents/how_to/agent_structured. The answer to the question asked, isn't in the 6th page_chunk document, which is what the API call returns:
{'answer': "President Biden nominated Ketanji Brown Jackson for the United States Supreme Court and described her as one of our nation's top legal minds who will continue Justice Breyer's legacy of excellence.",
 'sources': [6]}

Here is the Document that corresponds to page_chunk=6 printed:

Document(page_content='And I’m taking robust action to make sure the pain of our sanctions  is targeted at Russia’s economy. And I will use every tool at our disposal to protect American businesses and consumers. \n\nTonight, I can announce that the United States has worked with 30 other countries to release 60 Million barrels of oil from reserves around the world.  \n\nAmerica will lead that effort, releasing 30 Million barrels from our own Strategic Petroleum Reserve. And we stand ready to do more if necessary, unified with our allies.  \n\nThese steps will help blunt gas prices here at home. And I know the news about what’s happening can seem alarming. \n\nBut I want you to know that we are going to be okay. \n\nWhen the history of this era is written Putin’s war on Ukraine will have left Russia weaker and the rest of the world stronger. \n\nWhile it shouldn’t have taken something so terrible for people around the world to see what’s at stake now everyone sees it clearly.', metadata={'source': 'state_of_the_union.txt', 'page_chunk': 6})

I have to pass a prompt template into the tool so that the responses from the retriever includes the source, and hence with a little more prompt engineering then my pydantic openai function is able to return in the correct response

is there anyone from Langchain team who can help with this issue?


ERROR 404: Not Found.

HI, I am trying to run my own server and follow your instructions. Here is what I get:
wget http://downloads.dbpedia-spotlight.org/spotlight/dbpedia-spotlight-1.0.0.jar
--2020-02-25 04:52:22--  http://downloads.dbpedia-spotlight.org/spotlight/dbpedia-spotlight-1.0.0.jar
Resolving downloads.dbpedia-spotlight.org (downloads.dbpedia-spotlight.org)... <IP_ADDRESS>
Connecting to downloads.dbpedia-spotlight.org (downloads.dbpedia-spotlight.org)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://sourceforge.net/projects/dbpedia-spotlight/filesspotlight/dbpedia-spotlight-1.0.0.jar [following]
--2020-02-25 04:52:23--  https://sourceforge.net/projects/dbpedia-spotlight/filesspotlight/dbpedia-spotlight-1.0.0.jar
Resolving sourceforge.net (sourceforge.net)... <IP_ADDRESS>
Connecting to sourceforge.net (sourceforge.net)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-02-25 04:52:23 ERROR 404: Not Found.

I tried the same and also got a 404 Not Found error.


fold with state

Is there any way to access the parser's state in the foldl closure? kinda like map_with_state

Not yet, although we have an issue about this: #308
Implementing foldl_with_state/foldr_with_state would be fairly trivial, although I am somewhat uncomfortable about the proliferation of _with_state versions of methods: but for now it seems like we have no option given Rust's lack of effect system.


Use error handling to deal with older jsonrpc

jsonrpc :events-buffer-scrollback-size slot is deprecated. Try using the new slot (:event-buffer-config) and fallback to the old way if that fails.
I think this is a cleaner approach than trying to deal with emacs package metadata.
Fixes #261 and fixes #262.

Can you fix the version in the header?
- ;; Package-Requires: ((emacs "27.2") (s "1.12.0") (dash "2.19.1") (editorconfig "0.8.2") (jsonrpc "1.0.23"))
+ ;; Package-Requires: ((emacs "27.2") (s "1.12.0") (dash "2.19.1") (editorconfig "0.8.2") (jsonrpc "1.0.14"))


Create Apollo guide

Added guide for Apollo
Description
This guide explains how to use Apollo to fetch data both client-side and at build-time, explaining also the advantages of both and why sometimes it is sensible to query data both at build-time and on the client.
Changes/Tasks

[ x ] Added apollo.md file

Motivation and Context
Have the guide for Apollo
Types of changes

[ ] Refactoring/add tests (refactoring or adding test which isn't a fix or add a feature)
[ ] Bug fix (non-breaking change which fixes an issue)
[ x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.

[ ] I have updated the documentation accordingly.

[ ] My changes have tests around them

This is wonderful!


When we read a stream, hash it with all four BagIt checksum algorithms

This lays some early groundwork for https://github.com/wellcomecollection/platform/issues/4277, which I'd like to see done sooner rather than later
In particular, when we read a file out of S3, we create MD5/SHA1/SHA256/SHA512 checksums all in one go, rather than having to read it four times.
Right now we don't use the extra values anywhere, but later we can read the other manifests, and start comparing the checksums they contain from the values we get from S3.

I like the direction here!

Pinging @jtweed to prioritise.

I'd put it below the born digital migration and requesting.


Remove SQKCoreDataOperation

3Squared are developing a separate framework of NSOperation subclasses. One of these classes will be for interacting with core data and is planned to supersede the SQKCoreDataOperation .
Therefore SQKCoreDataOperation should be removed from SQKDataKit along with the example project.

We are not doing this anymore. Sowwy.


Move Toast notifications

Summary of the new feature/enhancement
As a windows user
I want the ability to move where the toast notifications display
So that they do not get in my way when interacting with things in the bottom right of the screen

Hi @dm0n
I suspect this is not something that can be done by PowerToys.

great idea, tracked in issue #73


Adapt RawIndexer for 2 phase indexing.

See commits
Wil squash first 3 commits into "2 phase indexing" commit
and checkstyle fix to the relevant commit after the merge.

Hi @seut, cold you take a look?
There was a test which failed yesterday.
https://jenkins.crate.io/job/CrateDB/job/crate_on_pr/9860/testReport/junit/io.crate.integrationtests/SQLTypeMappingTest/test_dynamic_null_array_overridden_to_integer_becomes_null/
I added a temporal change to repeat the test many times and it passed. Not sure how to proceed with it - we already had a fix for such issue

Hi @jeeminso, could you have a look? This PR was already approved but I re-requested review and lost approval.
I had a question, whether I need NPE check here (https://github.com/crate/crate/pull/14696/files#diff-afc8b63b41c53d6e6ea5b956bdd39557ab55e1dfe1b3e1242f1d4e29a9fb57a0R561) , removed NPE check and re-requested review - but it turns out that we need it - I created https://github.com/crate/crate/pull/14702 to fix a regression on mater


Quotes needed for pip install comnmands

All pip install azureml-sdk[extra] commands need quotes around the "azureml-sdk[extra]" part of the command. I tried directly editing the document, but Github threw a 504 error every time I submitted a change. The five lines that need to be changed in the .md file are:
79: pip install azureml-sdk[notebooks]
87: pip install azureml-sdk[automl]
90: pip install azureml-sdk[explain]
93: pip install azureml-sdk[contrib]
101: pip install azureml-sdk[databricks]

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

ID: 72c6907a-8658-f29b-cce9-6af0a359f26b
Version Independent ID: e41c8c19-d858-9a84-4b89-1b65bdd960a8
Content: Quickstart:  Get started in Python - Azure Machine Learning service
Content Source: articles/machine-learning/service/quickstart-create-workspace-with-python.md
Service: machine-learning
GitHub Login: @hning86
Microsoft Alias: haining

@elizabethhalper Thanks for your feedback, I will check it and get back to you as soon as possible.

@elizabethhalper Hi, you need to do it in the conda environment, it works for me well. Can you please try it again? Thanks.

@elizabethhalper We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Investigate possibility of creating test generators

Most exercises have a set of canonical data associated with them. This data can change from time to time, so the burden is on us to keep track of it. Wouldn't it be great if we could write a generator to generate the tests automatically based on the canonical data (which is described as JSON document)?
There is also an ongoing effort to update the canonical data to a fixed standard. This should make it possible to write something like a base test generator.

That would definitely be great @ErikSchierboom, do you have an idea on how you're going to tackle this?

I do. There will be a generic parser to parse the canonical data JSON files. Then there will be a generic test file generator, which can setup the structure and such to render the tests. Finally, each exercise will have its own test generator class deriving from the base one. At least, that's how I plan to structure it. The generators themselves will just be part of one .NET Core Console Application.
You can follow my progress here. I aim to use RazorLight to render the test file templates, which will allow using Razor-like syntax in the templates. To verify the correctness, I aim to use the C# Scripting library, which uses Roslyn to parse and verify C# source code.
It is an ambitious project, but part of the reason why I want to do this, is to have to do #195 only once.

That sounds like a good approach @ErikSchierboom! The reason that I haven't jumped on #195 is because there's currently no way to get updates when things fall out of date again. If you do this work then it should be trivial to update all of the cases whenever any of them change :)

@robkeim Precisely!

@robkeim I've just submitted PR #228, which adds the basic infrastructure for the test generators. In PR #229 (which is on hold until #228 is merged), you can see what an actual test generator would look like. If you think it looks okay, feel free to merge both PR's :)


The pipeline concurrent option is not reliable in the multiple executor mode

The pipeline concurrent option
"Pipeline runs the the flow in a manner that the new execution will not overrun the concurrent execution." see
http://azkaban.github.io/azkaban/docs/latest/#executing-flows
is not reliable in the multiple executor mode.
The current implementation assumes that multiple instances of the same flow will be dispatched to the same executor. But the current implementation doesn't guarantee this behavior.

Turns out that the RemoteWatcher handles this case.


[Swift APIView] Support automatic and PR-based Swift APIViews

This is a standard feature in Tier 1 languages and is also used to gate releases. While we follow this process in iOS, we rely on service teams creating manual APIViews and getting approval on them. It has proven confusing to them and is less ideal than an automatic APIView because there's no guarantee what code a manual review corresponds to.
Opening this to track what is necessary to support this for Swift.

@mikekistler @praveenkuttappan please triage.

Thanks for the ping @tjprescott  I have added the respective labels so we can see it in our triage meetings


Fix/typos

Fixed a typo in the French localization file;
Capitalized "Slack" in the README;
Fixed various typos and inconsistencies in the README.

Thank you.


Device mapper "resource busy" on CentOS 6.6

Gartner is right. Docker is completely unusable in production. Best proof:
Trying to start a container once again fails
[ajung@dev1~]$ docker start c64662f04dde
Error response from daemon: Cannot start container c64662f04dde: Error getting container c64662f04ddeaed6c92ae28594061cc13f335ed59bab2b6de62e53c5d27af934 from driver devicemapper: Error mounting '/dev/mapper/docker-252:1-6602807-c64662f04ddeaed6c92ae28594061cc13f335ed59bab2b6de62e53c5d27af934' on '/var/lib/docker/devicemapper/mnt/c64662f04ddeaed6c92ae28594061cc13f335ed59bab2b6de62e53c5d27af934': device or resource busy
FATA[0013] Error: failed to start one or more containers
Restarting the docker daemon does not help.
Trying to remove /var/lib/docker also does not work
[ajung@dev1~]$ sudo rm -fr /var/lib/docker/
rm: cannot remove /var/lib/docker/devicemapper/mnt/6e17fadd1a6bf04f6d6b0309242b520c205acaf509f939aecb83bf46dcabeb9e': Device or resource busy rm: cannot remove /var/lib/docker/devicemapper/mnt/921e82585886e02e24a16fc379b13671d98154230f659035eaeecea7bbf902ee': Device or resource busy
rm: cannot remove /var/lib/docker/devicemapper/mnt/c64662f04ddeaed6c92ae28594061cc13f335ed59bab2b6de62e53c5d27af934': Device or resource busy rm: cannot remove /var/lib/docker/devicemapper/mnt/5f3d4aa114eb51f4f5be93b8a3c6142e06b773e38fd546c2208946777a00e387': Device or resource busy
rm: cannot remove /var/lib/docker/devicemapper/mnt/f375563cf9ca10560e11b63c1a81b2756e8676275e290ef27e543111c01a6d03': Device or resource busy rm: cannot remove /var/lib/docker/devicemapper/mnt/c17bda17697f524e966de37a739fd71a0e0aabbfb39332b9e3cd8624f6b2f8d2': Device or resource busy
'lsof' does not display any processes locking  the devicemapper.
Only a full reboot of the box is working.
Do you call this a stable infrastructure?
[ajung@dev1~]$ docker --version
Docker version 1.4.1, build 5bc2ff8
Distro is CentOS 6.6,
[ajung@dev1 ~]$ uname -r
2.6.32-504.3.3.el6.x86_64

Hi @zopyx this seems to be an issue specific to the devicemapper storage driver.
I'm copying @vbatts @unclejack @alexlarsson who know more on the topic.

we suggest using at least a 3.8 kernel especially if you are going to be using docker in production.

@jfrazelle is right, your version of the kernel is not supported.

What a tarded reply. Provide accurate information about aupported distros and kernels. State clearly that CentOS 6 is unsupported instead of letting people fail with Docker day by day.  Those two problems are known and we're working on fixing them.
RHEL and CentOS are the only exceptions to the 3.8 is the absolute minimum for starting Docker rule.
I'll provide more information in a few hours.

@zopyx We're happy to help, and we can make mistakes as well, but you started this issue in an attacking tone. Please refrain from continuing that, as it is unproductive and doesn't help solving the issue better/quicker. Thanks for your understanding

@zopyx the "device or resource busy" has a number of things that can trigger it unfortunately. some of which are outside of docker itself. Please check out http://blog.hashbangbash.com/2014/11/docker-devicemapper-fix-for-device-or-resource-busy-ebusy/ and see if setting the docker daemon in a private mount namespace mitigates the issue for you.
Also, since you began rm -r the directory when it's in this state, you'll likely have to umount /var/lib/docker/devicemapper/mnt/c64662f04ddeaed6c92ae28594061cc13f335ed59bab2b6de62e53c5d27af934 etc, and umount /var/lib/docker/devicemapper too, so you can rm

The documentation
https://docs.docker.com/installation/centos/
clearly states
To run Docker, you will need CentOS6 http://www.centos.org/ or higher,
with a kernel version 2.6.32-431 or higher as this has specific kernel
fixes to allow Docker to run.
Please update your docs accordingly and say clear: CentOS 6.X is
unsupported. There is currently no way to run Docker on CentOS 6.X in a
reliable way.
2015-01-14 18:48 GMT+01:00 Vincent Batts<EMAIL_ADDRESS>
@zopyx https://github.com/zopyx the "device or resource busy" has a
number of things that can trigger it unfortunately. some of which are
outside of docker itself. Please check out
http://blog.hashbangbash.com/2014/11/docker-devicemapper-fix-for-device-or-resource-busy-ebusy/
and see if setting the docker daemon in a private mount namespace mitigates
the issue for you.
Also, since you began rm -r the directory when it's in this state, you'll
likely have to umount
/var/lib/docker/devicemapper/mnt/c64662f04ddeaed6c92ae28594061cc13f335ed59bab2b6de62e53c5d27af934
etc, and umount /var/lib/docker/devicemapper too, so you can rm
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/10090#issuecomment-69958578.

@zopyx you've found the docs, though this issue is not exclusive to Centos6... see my prior comment.

Closing this issue per our tracker for EBUSY related devicemapper errors https://github.com/docker/docker/issues/5684#issuecomment-69052334

For future people that come across this issue, I thought I would leave link to the documentation in Docker that explains why Puppet, Chef, etc can't update /etc/hosts, /etc/resolv.conf, & /etc/hostname in a container (at least not if they are doing an atomic rename that they would normally do).
-- https://docs.docker.com/articles/networking/#dns
That documentation explains how those three files are special overlays managed by Docker as part of its networking support. Essentially your provisioning scripts ought to leave them alone and you can pass command-line arguments to docker to influence their contents. From the docs -

... you should leave the files themselves alone and use the following Docker options instead.


Added react-native-simple-dialogs and react-native-keyboard-manager

I added in the middle to prevent conflicts at the end of the file.

I'm going to land this PR, and close your other one. Thanks for adding these libraries @douglasjunior  :)


Reload observation list when restoring feature sheet

Fixes #185.
When returning back to the observation list from the edit observation screen, the list was not reloaded because the selected Feature was only emitted when the user clicks on the map; observing the LiveData once more did not cause the selected Feature to be reemitted. Using a BehaviorProcessor, the last value is always reemitted on new subscriptions, causing the list to be reloaded whenever the view is restored.

Actually.. I think this is the wrong way to do this; as it stands, from the view's perspective there's no difference between the user clicking a feature, and a configuration change. This will make it hard for us to maintain the scroll position on config changes. I'll close this for now and try a different approach.

And on third thought..
The alternative approach I implemented came up with () looks at the current state of the LiveData in onCreateView to restore the UI state. The drawback of this approach is that we mix side-effects, when a purely functional approach would work just as well.
Instead, what I think we should do (in a future PR) is to emit the scroll position along with the selected Feature. This way to current state is always communicated from the VM to the V together in the same stream. Please lmk if this makes sesn.

Can we merge this?

Can we merge this?

Waiting for stamp - would you like give it a look

Thanks Gino!


Review CA

@peter-michalski
Hi Peter, I noticed that you've started. Please close this issue after done.

All done!


adding basic steps for a local (base) executor

This pull request adds the basic interaction of an executor with the builders produced by the BuildTestConfig class. Basically, we create the BuildExecutors (executor) based on the config_opts
(the users loaded configuration file) and then parse through the builders and hand each one off to it. In the case of defining an --executor on the command line, we honor and use that choice. In the case of finding the executor as a metadata value in the config schema, we also honor that. In the case of no command option or no default, we either use the first in the file OR the base class (which is basically a local executor). This example should be sufficient to show how to set up the same for slurm - each of steps and dryrun_steps and the subsequent functions would need to
be defined. I'll probably need to update this PR with fixes to testing (didn't try locally).
Signed-off-by: vsoch<EMAIL_ADDRESS>

@shahzebsiddiqui this provides the example of the local executor, which should be enough for you to write the SlurmExecutor class to follow suit. I also wrote notes in the docstring for that class for the steps that you suggested - you can look at the LocalExecutor to see how steps work.

They are actually different - the BuildExecutor is the one class that holds all the executors, determines logic for default, etc. If you look in the build menu/build.py setup, we instantiate a single BuildExecutor and then iterate over it's builders. The builders all have base class BuilderExecutor, since that is what they are. A BaseExecutor is not a child of a BuildExecutor, it's another class entirely - the base for a build executor. If you have another naming setup that you've prefer, this would be easiest enough to change. Sorry it's confusing for you!

They are actually different - the BuildExecutor is the one class that holds all the executors, determines logic for default, etc. If you look in the build menu/build.py setup, we instantiate a single BuildExecutor and then iterate over it's builders. The builders all have base class BuilderExecutor, since that is what they are. A BaseExecutor is not a child of a BuildExecutor, it's another class entirely - the base for a build executor. If you have another naming setup that you've prefer, this would be easiest enough to change. Sorry it's confusing for you!

I realize the difference i dont have an objection on how things are setup right now, i do like the BaseExecutor, LocalExecutor and SlurmExecutor to implement executor specific logic such as the steps section specific to each executor.
I think it makes sense to call BuildExecutor once which is a list of executors , we would need to determine the executor list by checking the buidltest configuration  and also executor defined in test configuration.

I think it makes sense to call BuildExecutor once which is a list of executors , we would need to determine the executor list by checking the buidltest configuration and also executor defined in test configuration.

Yep that's exactly what it's doing.

Woohoo!

@vsoch  i see with latest change fixed the bug I reported earlier with result["RESULT_CODE"] and test were running to completion. Thanks for your work! :)


target: 'static' doesn't load the layout when accessed directly through the browser url in production

It runs perfectly in dev mode, but when I build to production, the layout does not load.
But it loads on production if I leave the page and click on any  that opens back that page
using;
nuxt: 2.14.12,
@nuxtjs/vuetify: 1.11.2,
in my nuxt.config:
export default {
  target: 'static',
  ....
}

in my page.vue:

export default {
  name: 'Laudador',
  components: {
    ...
  },
  layout: 'laudador',
}

on my layout (laudador.vue):
<template>
  <v-app class="laudador-editor">
    <nuxt class="laudador-screen" />

    <notifications
      group="laudador-notifications-top-center"
      position="top center"
      width="400px"
      :pause-on-hover="true"
    />
    <notifications
      group="laudador-notifications-top-right"
      position="top right"
      :pause-on-hover="true"
    />
  </v-app>
</template>

<script>
const listener = function alert(e) {
  const confirmationMessage =
    'Tem certeza que deseja sair? \nAo sair o laudo será perdido'
  ;(e || window.event).returnValue = confirmationMessage // Gecko + IE
  return confirmationMessage // Webkit, Safari, Chrome
}

export default {
  data() {
    return { model: false }
  },
  head() {
    return {
      meta: [
        {
          name: 'theme-color',
          content: '#272727',
        },
      ],
    }
  },
  beforeDestroy() {
    window.removeEventListener('beforeunload', listener, false)
  },
  mounted() {
    window.addEventListener('beforeunload', listener)
    const root = document.getElementsByTagName('html')[0] // '0' to assign the first (and only `HTML` tag)
    root.setAttribute('class', 'prevent-scroll')
  },
  methods: {},
}
</script>

you can see the difference of the HTML from accessing directly and by clicking on a
And since laudador layout was not loaded, my v-app from vuetify was not set, then all my layout is broken (you can notice even the checkbox field on the middle panel is with a different color, but this is the smallest of my problems)
By now i set the target to server, and it is working fine. It will be server until i figure it out if it was a thing i've done wrong or if it's really a bug

buid: (I also tried to build without config)
  vue: {
    config: {
      productionTip: isProd,
      devtools: !isProd,
    },
  },
  build: {
    optimizeCSS: true,
    extractCSS: true,
    optimization: {
      splitChunks: {
        cacheGroups: {
          styles: {
            name: 'styles',
            test: /\.(css|vue)$/,
            chunks: 'all',
            enforce: true,
          },
        },
      },
    },
    splitChunks: {
      layouts: true,
    },
    html: {
      minify: {
        collapseWhitespace: true,
      },
    },
    terser: {
      terserOptions: {
        compress: {
          drop_console: true,
          pure_funcs: ['console.info', 'console.debug', 'console.warn'],
        },
      },
    },
    extend(config, ctx) {
      if (ctx.isDev) {
        config.devtool = ctx.isClient ? 'source-map' : 'inline-source-map'
        config.plugins.push(
          new webpack.DefinePlugin({
            'process.env.LOGGER_LEVEL': JSON.stringify('info'),
          })
        )
      }
      if (ctx.isClient) {
        config.module.rules.push({
          test: /\.worker\.js$/i,
          use: [
            {
              loader: 'comlink-loader',
              options: {
                singleton: true,
              },
            },
          ],
          exclude: /(node_modules)/,
        })
      }
      // nuxt.config.js, build.extend
      if (isProd && config.plugins) {
        const WebpackObfuscator = require('webpack-obfuscator')
        config.plugins.push(
          new WebpackObfuscator(
            {
              rotateStringArray: true,
              compact: true,
            },
            []
          )
        )
      }
    },
  },

@CavalcanteLeo Would you be able to create a reproduction at https://template.nuxtjs.org ?

@CavalcanteLeo Would you be able to create a reproduction at https://template.nuxtjs.org ?

if you want, i can add you to the github project @danielroe

if you want, i can add you to the github project @danielroe

Similar Issue encountered.
I am not using target: 'static'.
And I am guessing I sometimes get two footers instead of one (with images in footer missing) is because of the same reason.
And I am regularly getting this error for one page as described in the issue.

@CavalcanteLeo @knkbga Hi, were you able to fix this in your project? I'm having the exact same problem and can't find anything about it on the internet, except in this issue.

I don't know if it helps, but I solved a similar problem with static building with ssr: false in nuxt.config.


Lucky/Chain cookies rewards stats are incorrect

I was starting to work on #289 when I noticed the displayed rewards for Lucky/Chain cookies in the stats were always a bit lower than what I earned.
After investigating a bit, it looks like the CM calculation doesn't factor in a multiplier gained by some auras / upgrades:
var mult=1;
//if (me.wrath>0 && Game.hasAura('Unholy Dominion')) mult*=1.1;
//else if (me.wrath==0 && Game.hasAura('Ancestral Metamorphosis')) mult*=1.1;
if (me.wrath>0) mult*=1+Game.auraMult('Unholy Dominion')*0.1;
else if (me.wrath==0) mult*=1+Game.auraMult('Ancestral Metamorphosis')*0.1;
if (Game.Has('Green yeast digestives')) mult*=1.01;
if (Game.Has('Dragon fang')) mult*=1.03;
if (!me.wrath) mult*=Game.eff('goldenCookieGain');
else mult*=Game.eff('wrathCookieGain');

This multiplier is then factored in the cookies earned from Lucky cookies like this:
var moni=mult*Math.min(Game.cookies*0.15,Game.cookiesPs*60*15)+13;//add 15% to cookies owned (+13), or 15 minutes of cookie production - whichever is lowest
Game.Earn(moni);
popup='Lucky!
+'+Beautify(moni)+' cookies!
';

As always, nice work catching the bug!
Will you fix this with #289? Or would you like to keep the bugs separate?

Thank you!
I'll start by fixing this issue (I should be able to push a fix soon) and I'll go back to #289 a bit later, so we can keep them separated

Okay!
By the way, as the number of issues for the next releases is decreasing it might be good to comment whenever you start on an issue. I, or any of the other maintainers, can then assign you to the issue. That way we don't double work :)

Yes that's right, I will do that for the next issues I'll start working on!


Chunks don't render properly

Chunks don't render properly. The blocks are there but are displayed as some kind of "barrier block" to the client. Image: https://i.gyazo.com/45294748ae21d8b4afff92f5fdbb9cf7.png

I'm assuming if you interact with them they load?

I can confirm that if you break a block, they load.

Nice to see some Dutch people around here ;) But what kind of blocks are invisible? Is it just one type, or random ones. And by the way, isn't this a client-side issue?

It seems to be random ones. For me it was stone, wood and brick.

We had that in g++ too. Not sure how to fix this.

Ref: GlowstoneMC/GlowstonePlusPlus#202

Had this same problem with Enderstone, appeared that certain sent chunk packets were corrupted which had this as a result (not sure if this has the same cause). It fixes itself (unfortunately for only one session) when breaking a block in an invisible chunk.

Still broken for me, even breaking block will not fix it, it loads for a few seconds, and becomes trippy again

Also experiencing, oddly a naturally generated world doesn't have this problem, If I place a block, it loads the chunk. but if I login and out, it appears corrupted.

On our server there is a problem with rendering chunks on every skywars/bedwars map which has a lot of void chunks,but our main hub world is loading just fine. We are using the build with commit 0ad2e64, newest bungeecord,spigot 1.8.8 and ProtocolLib.

Something important I've noticed is that, All servers that have problems are ones that are in the sky. Like the world is blank. (SkyWars, SkyBlock ect...)

To reproduce generate a world using "WickedSkyWars" generator.
Here is code to do so.
http://pastebin.com/Ab57LYUf
Here is the WickedSkyWars Generator Code
http://pastebin.com/jcUC5AJD
Here is WickedSkyWars plugin
https://www.spigotmc.org/resources/wickedskywars.556/download?version=18058
This isn't limited to skywars, but any server/plugin that produced a world with similar WorldGenerator Code

I have experienced this issue myself, yesterday I installed via version and my hub chunks started glitching out and a ton of areas became invisible, I was able to fix this by making a completely new hub map and creating a new world. It's worth noting that my previous broken hub was in a void world whereas this new one is in a regular grass flatworld

This also happens in newly generated normal world's. As stated by @SanderGielisse this might be corrupt Packets. The question is then why can the client even render them (outlines).

Where did SanderGielisse state this? This only happens for me in worlds generated as void.

That the packets wore corrupt. See above. We also have the same problem with glowstone++, but in 1.8. So I doubt the cause of this are the new packets.

Throwing out there that in a void world, the only difference is that there's nothing to throw shadows down onto.

This only seems to happen with chunk sections that have more than 4 Bits Per Block (basically any 16x16x16 area which contains more than 16 different types of blocks). I have yet to see a 4 BPB chunk section render incorrectly.

This only seems to happen with chunk sections that have more than 4 Bits Per Block (basically any 16x16x16 area which contains more than 16 different types of blocks). I have yet to see a 4 BPB chunk section render

When I worldedit everything grass, same thing.

@gigosaurus This issue may be to do with the bitmask, as for a certain bit mask we detect as unload chunks?

I have CleanroomGenerator and I have same problem with chunks

Had exactly this same problem in a 1.9 Vanilla server. Neither the client or the server had been modified. Starting to get the idea it might be a client-sided issue.

Re-opened as this is an issue.

Fixed in 0.5+


Hum 47 bad validation when setting up operator

Description

HUM-47

@KacperKoza343 could you please update this branch with latest develop? It's necessary to have it in order to test after some recent changes

done

@dnechay changes were added, ready for CR

@dnechay it seems for me that sadly it's not a simple switch for that, as I see the form validation is pretty complicated. We surely can do that, however I warn that it might take some time. Should we proceed with the PR as is or should we change to live validation?

@mpblocky it's "nice to have" not "must have", so can be done later if needed 👌🏼


Implementation of multifractal noise

Based on my understanding of ridge/multifractal noise, the different frequencies are combined by weighing each point based on the (shifted) values at a lower frequency - I cannot see that happening in FastNoise:
https://github.com/Auburns/FastNoise/blob/faba4443efcd85ad55bf5dd85c8ee458d427d6aa/FastNoise.cpp#L579-L596
Is this my lack of understanding of the implementation, a bug, or  a different interpretation of multifractal noise?
For reference, a description of multifractal noise in line with my understanding can be found here: http://chaoscultgames.com/products/CN/CoherentNoiseManual.pdf p. 25

Ridge noise is purely the effect of absolute value of the input (which at first creates a billowy effect, you can reason about this in your head easily) which is inverted in order to create a ridge.  It isn't due to values shifted to lower frequency.  I'm not sure why the manual you are looking at says:

multifractals have different roughness in different places. To achieve this,
RidgeNoise derives weight of a given frequency from values of lower-frequency
samples. Also, an offset is added at each step, and a gain value is multiplied in,
creating a sort of feedback loop. This ensures that rough areas tend to become
rougher, and smooth areas to become smoother. The resulting function is really
great for terrain generation, creating both smooth valleys and rough mountain
ridges.

This doesn't make sense, are they just describing all coherent octave noise?  And gain is used here, see:
	amp *= m_gain;
	sum -= (1 - FastAbs(SingleValue(m_perm[i], x, y, z))) * amp;

The important part here is the absolute value, not the gain.

But gain is a constant in the FastNoise implementation, whereas my understanding (and the reference) lets gain be variable contingent on the noise value at the previous octaves...
This is also how it is implemented in libnoise http://libnoise.sourceforge.net/docs/classnoise_1_1module_1_1RidgedMulti.html
Having a fractal noise type that simply inverses another type seems less useful as that is pretty easy to do in post-production, but I'm aware that this interpretation of ridged noise is also prevalent, e.g. https://stackoverflow.com/questions/36796829/procedural-terrain-with-ridged-fractal-noise

I'm not seeing where you are finding variable gain:

and a gain value is multiplied in,
creating a sort of feedback loop

does not state this and:

This noise module, heavily based on the Perlin-noise module, generates ridged-multifractal noise. Ridged-multifractal noise is generated in much of the same way as Perlin noise, except the output of each octave is modified by an absolute-value function. Modifying the octave values in this way produces ridge-like formations.

shows their implementation is similar to FastNoise, not what you are describing.  I've never seen the type of ridge noise you are describing, nor is it apparent why it would be usefull, or how it would be implemented.

From the linked libnoise documentation:

This noise module, heavily based on the Perlin-noise module, generates ridged-multifractal noise. Ridged-multifractal noise is generated in much of the same way as Perlin noise, except the output of each octave is modified by an absolute-value function. Modifying the octave values in this way produces ridge-like formations.
Ridged-multifractal noise does not use a persistence value. This is because the persistence values of the octaves are based on the values generated from from previous octaves, creating a feedback loop (or that's what it looks like after reading the code.)
This noise module outputs ridged-multifractal-noise values that usually range from -1.0 to +1.0, but there are no guarantees that all output values will exist within that range.

Persistence is equivalent to gain in the FastNoise lib
From the manual linked earlier

To achieve this, RidgeNoise derives weight of a given frequency from values of lower-frequency samples.

The whole point is to create areas of varying frequencies so you can get both large flat plains and rugged mountain areas, something not achievable with either fbm or billow

I've had a look at LibNoise and Accidental Noise Library which is what the fractal variants in FastNoise are based on, they both do what @thomasp85 is describing. So I guess when I originally implemented it I didn't implement it fully. It should probably be named Rigid instead of RigidMulti, the Multi seems to refer to fractals that have a feedback loop from previous octaves.
I don't think I'll change it for now, it would just cause backwards compatibility issues. But I'm working on a big new FastNoise update so I'll make sure to implement it correctly for that, probably as 2 variants Rigid and RigidMulti.

It also seems the convention is ridge and not rigid...
Will the thing you’re working on be a new library or a new version?

Yeah, Ridged actually, I can see how I mixed that up.
The new library is a complete rework of the framework, it is more a successor to FastNoise SIMD. It's designed using modules so you can combine various noise outputs in any way you like, and it's easy to extend upon with your own modules. The code is much more readable and doesn't use any raw intrinsics.
It's now at feature parity with FastNoise so I'll be releasing it in an alpha stage soon. When that gets closer to a finished state I plan to make a lighter version without any SIMD, just a single .h/.cpp for portability and the ability to port to other languages

Great - I currently have an R interface to FastNoise (thomasp85/ambient) so I’ll keep an eye out for the next iteration

Btw (and sorry to go out on a tangent) — is there any particular reason for not supporting fractality with cellular noise other than it not being common? I think it could generate some pretty nice patterns...

I think it got forgotten, I agree it looks cool though.
That's another thing that makes modules great since you can use any source you want and pass it through a fractal module.

I will probably do it for my own package (as well as fix ridges fractal) — let me know if you want a PR

I've fixed ridged fractals and added fractal cellular noise. Just for reference, here are some examples:
Simplex, ridged:

Cellular, ridged:

Incase it interests anyone I think I've found the original implementation of Ridged Multifractal in Texturing & Modeling: A Procedural Approach 3rd Edition. It's quite old and does some interesting precomputing of "spectral weights", plus the formatting is a bit weird.
/* Ridged multifractal terrain model.
 *
 * Some good parameter values to start with:
 *
 * H: 1.0
 * offset: 1.0
 * gain: 2.0
 */
double RidgedMultifractal( Vector point, double H, double lacunarity, double octaves, double offset, double gain )
{
  double result, frequency, signal, weight, Noise3();
  int i;
  static int first = TRUE;
  static double *exponent_array;

  /* precompute and store spectral weights */
  if( first ) {
    /* seize required memory for exponent_array */
    exponent_array = (double *)malloc( (octaves+1) * sizeof(double) );
    frequency = 1.0;
    for(i=0; i < octaves; i++) {
      /* compute weight for each frequency */
      exponent_array[i] = pow( frequency, -H );
      frequency *= lacunarity;
    }
    first = FALSE;
  }

  /* get first octave */
  signal = Noise3( point );

  /* get absolute value of signal (this creates the ridges) */
  if (signal < 0.0 ) signal = -signal;
  /* invert and translate (note that "offset" should be ~ = 1.0) */
  signal = offset - signal;
  /* square the signal, to increase "sharpness" of ridges */
  signal *= signal;
  /* assign initial values */
  result = signal;
  weight = 1.0;

  for( 1=1; i<octaves; i++) {
    /* increase the frequency */
    point.x *= lacunarity;
    point.y *= lacunarity;
    point.z *= lacunarity;

    /* weight successive contributions by previous signal */
    weight = signal * gain;
    if( weight > 1.0 ) weight = 1.0;
    if( weight < 0.0 ) weight = 0.0;
    signal = Noise3( point );
    if( signal < 0.0 ) signal = -signal;
    signal = offset - signal;
    signal *= signal;

    /* weight the contribution */
    signal *= weight;
    result += signal * exponent_array[i];
  }
  return ( result );
}

@thomasp85 I would also be interested to know what settings you used to create that simplex rigidmulti

I must admit I can’t remember, but let me play a bit and see what I can come up with

octaves = 8, frequency = 0.002, gain = 3, lacnarity = 2 and x,y -> [1, 500] gives pretty close results

octaves = 8, frequency = 0.015, gain = 1, lacunarity = 2, value = 'distance' for the cellular rigid picture, same dimensions as simplex


add strtoll and strtoull to libc minimal

Origin
I don't know where the original source is, I took it from strtol/strtoul and changed the types from long to long long.
Purpose
strtoll and strtoull convert strings to (unsigned) long long.
Mode of integration
The addition would be in the main tree.
Pull Request
https://github.com/zephyrproject-rtos/zephyr/pull/39612
Description
The actual minimal libc has no strtoll/strtoull support, but i.e. civetweb requires those functions. One could use newlibc to gain access to strtoll/strtoull but civetweb has compatibility issue with newlibc. Even if those issues where solved the addition memory required by newlibc is way to much just for those two functions.
Also the lack of string conversion functions lead to multiple local implementations i.e. in https://github.com/zephyrproject-rtos/zephyr/pull/43289 and (libc_extension.h)[https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/net/civetweb/common/include/libc_extensions.h].
For further reference there is a thread in discord discussing this topic.
Dependencies
none
Revision
see PR
License
BSD-4-Clause-UC

cc @carlescufi @nashif

Thank you @MeisterBob. This will be discussed on Wednesday.

@carlescufi - BSD-4-Clause-UC is NOT an approved OSI license.   It is going to impose a conditions on Zephyr downstream users to be compliant with using Zephyr in the future.   Have you planned for this to be communicated in the source releases?   as well as binaries created by Zephyr users?
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
For future reference cheat sheet of which licenses are OSI approved can be found https://spdx.org/licenses/preview/, and there is a programatic interface if you want to pull a "is license OSI approved" into your checking scripts for commits going forward.

https://github.com/zephyrproject-rtos/zephyr/pull/39612#pullrequestreview-889510429
https://github.com/zephyrproject-rtos/zephyr/pull/39612#issuecomment-1047758863
@kestewart There were already some files that were licensed BSD-4-Clause-UC in the Zephyr repository, and we assumed this license was already approved or at least acceptable in some way; though, these were added in the the very early days of the project, possibly before such measures were in place: https://github.com/zephyrproject-rtos/zephyr/commit/bddd72602c44936c2f943068c178d77e369f76bc
How do you suggest we go about it? It affects both this new addition and the existing files that included since the Zephyr v1.0.0 release.

@stephanosio - it looks like those prior files did not get their licensing identified properly until last year, and I can't find traces of any reviews of this licensing by the board, so I think we've got a bigger issue here.   As you point out, that advertising clause is the problem.   At this point, I suggest reverting the recent merge, and let's either plan out the steps we'll need to do in release & documentation, or replacing the affected code.

This is now done, see https://github.com/zephyrproject-rtos/zephyr/pull/45810


Kerchunked dataset unstable  for dask arrays

Running this code after loading in the multizarr will give a different result over and over again. When the same code is run against the single zarr, there is no such instability.
EDIT: Nevermind happens with single zarr too :(
There is probably about a 50% hit rate with getting garbage or correct data

This only happens when loading the dataset in as a dask array, aka when setting chunks: {'somthing': 0} on dataset load.
When loaded in as numpy arrays its stable.

This issue also doesnt seem to happen with cfgrib, so likely an encoding or serialization issue somewhere along the line with dask

This happens when the xarray caches from the dask client but the dask client doesnt have the gribberish codec. So need to test after getting the module installable on dask workers

gribberish codec now works as it should, still saw some instability tho, but not sure what is cache and what is not

This is still happening :(


RFC: Switch Python backend to REST using Kiota generator

We start by making tweaks to OAS as needed to improve the generated code.
Then, we get rid of MLMD to provide a clean slate for building the new client backend, this leaves the python client barebones, so we decide to stick with the previous core interface to simplify the client layer bindings.
Now, we import a snapshot of the Apicurio Service Registry Python SDK generator setup and patch it.
We then generate the code with
make install && make lint-apply
and turn the core API layer into an async client that exposes wrapper types.
Finally we update the client exposing sync API calls with an async runner wrapper.

Now, ideally this PR wouldn't contain any patches to the generated code, and I hope to figure out what exactly is going wrong here.

As can be seen in the commits after the first containing the generated client, the generation is non-deterministic, and running make clean && make install multiple times will yield different results for BaseResourceList.
The patch commits afterwards also provide fixes for some of the models, which can be verified with the unit tests (by running before and after).
Behaviour for the *_by_params search methods is still puzzling, so any suggestions to debug them are very appreciated :)


New sections in docs

Can we split up the doc pages into more sections, to separate the tutorials from other docs as follows:
CONTAINER SETUP

Starting Codespace
Restarting & Stopping Codespace
Local Setup

TUTORIALS
Remaining pages apart from Resources
RESOURCES
change Resources to index.md within this section if possible, or change to Useful Links

The new design for docs looks like this currently
I'll follow up on the above mentioned content split up.

Yes, so it would be great if you could create a new "Container Setup" section as mentioned above and simplify the Resources section (it doesn't need a sub-section).

I'm steadly working on this from Monday and I also found out that if we keep images inside the docs itself it loads quickly(actually it get cached). So right now I don't think we need to optimize it. Earlier it use to fetch the images from github assets storage that was the reason may be it use to take time to load.
Branch - https://github.com/r-devel/r-dev-env/tree/update/docs


add heroku tutorial

as requested in #463

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.sw-yx seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

signed license agreement

@sw-yx Can you please look into the conflicts and merge them? Sorry we haven't gotten to this just yet - we are moving through everything as quickly as possible!

@sw-yx
We have not been able to merge your Pull Request, but because you are awesome - we wanted to make sure you could still get a SendGrid Hacktoberfest shirt.
Please go fill out our swag form before Nov 5th and we will send the shirt! (We know that you might have tried this before and it didn’t work, sorry about that!)
You have till Nov 5th to fill out this form in order to get the Hacktoberfest shirt!
Thank you for contributing during Hacktoberfest! We hope to see you in the repos soon! Just so you know, we always give away a SendGrid shirt for your first ever non-Hacktoberfest PR that gets merged.

ok sure. I think i resolved all conflicts btw!

Nice, thanks!

@sw-yx,
Could you please review my requested changes so that I can get this merged? :)
Thanks!
With Best Regards,
Elmer

Hey Elmer sorry for the delay in reply. holiday :) i was a noobie back then and commited the package lock change. i have undone that now, thank you.


Define endpoints for light client sync

Introduces additional REST endpoints for light client sync, compatible with the libp2p specification defined in ethereum/consensus-specs: https://github.com/ethereum/consensus-specs/blob/v1.2.0-rc.3/specs/altair/light-client/p2p-interface.md
Endpoints are defined to be fork-aware to allow potential optimizations such as including EL block hash into BeaconBlockHeader in the future.
The getLightClientUpdatesByRange endpoint is a new kind of endpoint, as it introduces the concept of list responses. Each list item could potentially be of a different fork. Likewise, for the events stream, the fork may update between events. Both the list response and the event are additionall wrapped with a per-item version indicator in JSON. For SSZ, the list items are encoded as length/version/payload triples. Note that the events endpoint does not support the SSZ format.
This builds on prior work from:

@dapplion at https://github.com/ethereum/beacon-APIs/pull/181

The proof endpoint in that PR is out-of-scope here, but could be useful as part of the debug API as an eth_getProof equivalent for CL data.

If beacon light client provide single_proof API would be great for solidity smart contract to verify beacon state easily.
https://github.com/ethereum/consensus-specs/blob/dev/ssz/merkle-proofs.md

If beacon light client provide single_proof API would be great for solidity smart contract to verify beacon state easily.

Proofs are not specific to light clients, and should be introduced separately, e.g., as part of the /debug namespace that already provides a way to query state. https://github.com/ethereum/beacon-APIs/pull/181#issuecomment-1248087372
They need a separate discussion as there are different possible designs regarding supported complexity and serialization formats. e.g., should it support querying "the last validator's balance" without knowing the number of validators / should it support querying multiple items at a time / should it support proofs for historic states.
For the popular use case of EL block hash to have end-to-end proof of eth_getProof, the EL block hash could simply be moved into BeaconBlockHeader from capella onwards. The libp2p, REST and portal specs are fork-aware for potential changes like that.

Implemented in Nimbus at https://github.com/status-im/nimbus-eth2/pull/4213 with a v0 suffix

Proofs are not specific to light clients, and should be introduced separately, e.g., as part of the /debug namespace that already provides a way to query state. #181 (comment)

Only thought on this is that to be useful for light client purposes, it should not be put under the /debug namespace (as this shouldn't be exposed publicly).

LGTM. Aligns with already implemented routes in Lodestar:

https://lodestar-mainnet.chainsafe.io/eth/v1/beacon/light_client/bootstrap/{block_root}
https://lodestar-mainnet.chainsafe.io/eth/v1/beacon/light_client/finality_update/
https://lodestar-mainnet.chainsafe.io/eth/v1/beacon/light_client/optimistic_update/
https://lodestar-mainnet.chainsafe.io/eth/v1/beacon/light_client/updates/?start_period={period}&count={count}

LGTM. Raised teku ticket for prioritisation.


create home page

Coverage remained the same at 98.276% when pulling 8e76a1f403bca77ec8121fcbe660cd53e01d5a5d on final-touches into ce9e86a54726b4fd914a59d08b73e6bc0ff9b8ff on master.

Coverage remained the same at 98.276% when pulling f783ebdbc5f50d69964d00100daa7cd58c99b810 on final-touches into ce9e86a54726b4fd914a59d08b73e6bc0ff9b8ff on master.

Changes Unknown when pulling 778febda4dff0610b0fb390a1fa631c48ebcca75 on final-touches into ** on master**.

Coverage decreased (-0.7%) to 99.329% when pulling 778febda4dff0610b0fb390a1fa631c48ebcca75 on final-touches into d1e8577ad8412edc917899e0bb87d9905992f458 on master.

Coverage remained the same at 100.0% when pulling c09c92e23dac784ffede922b0a24995856572f21 on final-touches into d1e8577ad8412edc917899e0bb87d9905992f458 on master.


Use System.Buffers for serialization of notifications

Reduce memory allocations in the TransportService in Perper Fabric when sending notifications.

Obsolete by #39


Add Multiple Dimmer and Dimmer Switch support (tgq, tgkg).

Add Multiple Dimmer and Dimmer Switch support (tgq, tgkg).
Support limiting max and min brightness.

I can confirm this works as expected now, thank you!
Small issue but this is likely to do with the iOS Home App: I had to show device as separate tiles to name them appropriately but all works as expected.
Thank you for the quick fix and turnaround!


Fix docs rendering issue

Description

By cleaning up source formatting
Test with mkdocs serve locally if desired
There are no content changes so review does not need to look at text (yes we need to improve text too but that can be done separately). We want to merge this soon to get live docs fixed.

Additional context and related issues
See https://trinodb.slack.com/archives/C059KUNPTSP/p1725006443005719
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.

$ docker run --rm -it -v ${PWD}:/docs -p8000:8000 squidfunk/mkdocs-material
WARNING -  Config value 'dev_addr': The use of the IP address '<IP_ADDRESS>' suggests a production environment or the use of a proxy to connect to the MkDocs server. However, the MkDocs' server is intended for local development
           purposes only. Please use a third party production-ready server instead.
INFO    -  Building documentation...
INFO    -  Cleaning site directory
INFO    -  Doc file 'routing-rules.md' contains a link '#TrinoQueryProperties', but there is no such anchor on this page.
INFO    -  Documentation built in 0.27 seconds
INFO    -  [00:19:03] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO    -  [00:19:03] Serving on http://<IP_ADDRESS>:8000/trino-gateway/
INFO    -  [00:19:09] Browser connected: http://<IP_ADDRESS>:8000/trino-gateway/routing-rules/

https://github.com/trinodb/trino-gateway/blame/d851e0f30bde10df49ec6e95fe04ace75d003f68/docs/routing-rules.md#L41
Currently the link doesn't work. We might need to use #trinoqueryproperties. (https://github.com/mkdocs/mkdocs/issues/1320#issuecomment-338651959)
Also could you please fix this one:

Fixed TrinoRequestUser formatting and linking as well now.


Fix issues in MGW basic auth flow

Description
$subject
Steps to Reproduce
N/A
Affected Component
APIM
Version
3.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Fixed in 3.2.x with https://github.com/wso2/product-microgateway/pull/3479/files. Hence closing.


Is there any plan or thoughts on supporting merge-on-read?

Not a (urgent) requirement, but a curiosity.
Merge-on-read may help to improve the performance of writing data (where there're deletes/updates) and reduce the resources usage. When we not require reading has as much high performance as possible or reading is not frequent, we can compaction the files at certain frequency.
We build a CDC pipeline via spark streaming and merge api where in each mini-batch we trigger a merge operation. We want the merge can finish as soon as possible and it does not take too much resources because we may start many CDC jobs on one cluster.

We are definitely thinking about it, but we dont have concrete plans as of yet. However, this is something you can build quite a bit on your side. Here are two possible ways of doing a more write-optimized merge.

Maintain two tables - a master table and an append-only log table.

All change data gets appended into this table.
Periodically the contents of this table will be upserted/merged into the master.
Therefore the master table contains the final table. However this can obviously be stale data if there append-only log table has new table
For read queries to pick up new changes not yet in master, define a view that combines the data from master and log tables. This will basically do

latest-data = master.join(latest-values-from-append-log, key).select(latest-between-joined-values)

Maintain two tables - master table and hot-data table

if the daily working set of data (that is hot data) is much smaller than the full table, then you can try this.
All changes gets upserted/merged into the hot-data table
Periodically, the hot-data table will be upserted/merge into the master table
For read queries define a view that will basically do

latest-data = master.join(values-from-hot-data-table, key).select(latest-between-joined-values)

Compared to 1 this will be slightly slower write but slightly faster read on the view because the write to the secondary table will basically do part of the upsert, and therefor the read does not have to do additional work to find the latest values in the secondary table.

Thanks @tdas for your valuable suggestions. BTW, is there any roadmap for the feature?

Its a good feature, I have a table that has a lot of updates so upsert all the time could be slow.
@tdas its a good workaround solution.


https problem

please change the constructor, to add support for https urls!
if (preg_match("/^https?:\/\//i",$str) || is_file($str))
    {
    $this->load_file($str);
}

It has been fixed.


Job cluster custom tags do not propagate through to the managed resource group

Job cluster custom tags do not propagate through to the managed resource group for job clusters:

Tags are added via custom tags addition on the linked services
The tags we would like to see are RunName (automatically added at Databricks end) and other tags (added via Data Factory / added on the cluster)

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

ID: 3d221eb8-dbde-0ecb-613e-c51c71c52203
Version Independent ID: f2bd6539-9290-0458-f4f0-0bb33876ade5
Content: Monitor usage using cluster, pool, and workspace tags - Azure Databricks
Content Source: databricks/administration-guide/account-settings/usage-detail-tags-azure.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

Thanks for leveraging Azure docs feedback channel to raise this question. This channel is reserved for ‘Azure docs’ feedback- for sharing doc feedback and suggesting content improvements. We didn't determine any changes for this documentation upon reviewing this feedback.
If your issue is specific to a use case, we request you to please reach out in forums like Microsoft Q&A or Stackoverflow. We have our engineers and other community members who will be happy to assist. Forums have a better suited audience for such queries. Once your issue is posted in forum, please do share the forum thread link here for tracking.
If you have a document which you are following and if you think it needs an update, please let us know about that here.
Thank you


Possibility to show saved cards

Hi, is it possible to save the card entered by the customer and show it again the next time he comes in?

You 'd have to tokenize the cards
https://developers.paystack.co/v2.0/docs/recurring-debits

@ashinzekene ok, I understand that I will need to take the "ref.data.authorization" from paymentDone() save it in the backend.
After that should I build my own UI to show the saved cards? Cant we pass the authorisation into the library and the library render the cards? Do we have any such option?

No, the library is just for showing the payment modals.
You would need to design your own UI for that


Work Package wp-gd.csv

I would like to work on this please!

wp-gd-results.csv.csv

Results of Phase 1
wp-gd-results.csv

I would like to work on this please!

Results of Ph
wp-gd-results.csv
ase 2

I completed this work package.

Results of Phase 2
wp-gd-results.csv


Good practice for lastModified timestamp / hooks in general?

Hi again!
I wanted to quickly ask, if there is a recommended way to set both 'createdAt' timestamp and 'updatedAt' timestamp. The 'created' one could be defined in the model as having a default value of 'new Date()', but how about the 'updatedAt' one?
I was just evaluating waterline, and came across this feature, which I found pretty nice:
https://github.com/balderdashy/waterline-docs/blob/master/models.md#autocreatedat
Related question:
Are there any hooks, like 'beforeSave' or similar, that could be used for that purpose?
Excuse me if that should be covered by Backbone knowledge I do not yet have ;)
Again, thanks for your help, it is very much appreciated!
Thomas

Hi, I'm looking for similar insight here.  Any advice appreciated.

Currently, there are no special hooks like in Waterline.
You could just override the save method like here: http://stackoverflow.com/questions/16477446/backbone-js-set-callback-on-before-save
Or if you want it across multiple models, you could create your own base model with a modified save method.
If you want to update it across all models, you could override the method that upgrades the model and wrap the save method.

So currently I have this, but it feels a bit brittle (no real schema check or injection) https://gist.github.com/jotham/e579239e21e18eb27c56  should i consider creating my own base model with the functionality from your stackoverflow link?  Sorry, I'm relatively new to backbone.  Only reason I bring this up is this process might be a good lesson for other people in the community starting out with backbone / backbone-orm.

It's pretty good as you have it. Not sure if you need to generalize the hook the the stackoverflow link.
You should be able to programmatically add the dates to the schema inside of the addDateHooks method. This isn't exactly the same, but basically, we are programmatically updating the schema object.
Inside of addDateHooks, you could do something like:
backboneModel.prototype.schema = _.defaults(
  backboneModel.prototype.schema || {},
  {created_at: 'DateTime', updated_at: 'DateTime'}
);

If you want to get fancy, you could release an npm module like backbone-save-dates so you just have to write:
require('backbone-orm-updated-at')(SomeModel);

In terms of your dates, BackboneORM should convert them to ISO6801 date strings already I believe, but I think your format is slightly different. I think the natural hook fr date serialization in Backbone is toJSON, but it's fine either way.
Underscore has a toArray method for the arguments so you could also write:
return originalSave.apply(this, _.toArray(arguments));

but I'm not sure if that is necessary. I've noticed sometimes where nested apply calls with arguments don't work well, but not sure if this is one of those cases.
You could also simplify the data setting like:
this.set('updated_at', now());
this.has('created_at') || this.set('created_at', this.get('updated_at'))

Small tweaks!


Fix autoconfig

Fixes several issues with autoconfig, adds three minor features & some additional unit tests.

Add #include <stdexcept> to AutoConfigParser.cpp

ok to build


Difference between Python and Rust profilers on partial multi-node runs

I'm running master at 8a459255909290609611f6f93eb788c9051a3765.
This log file generates different results with Python and Rust: http://sapling.stanford.edu/~eslaught/legion_prof_diff_2022-09-06/prof_64x1_r0_0.gz
Profiler output:

Rust: http://sapling.stanford.edu/~eslaught/legion_prof_diff_2022-09-06/legion_prof_rs
Python: http://sapling.stanford.edu/~eslaught/legion_prof_diff_2022-09-06/legion_prof_py

Here's what the diff looks like:
diff -u -r legion_prof_rs/json/utils.json legion_prof_py/json/utils.json
--- legion_prof_rs/json/utils.json      2022-09-06 11:16:41.085886969 -0700
+++ legion_prof_py/json/utils.json      2022-09-06 11:28:28.304097874 -0700
@@ -1 +1 @@
-{"0":["0 (CPU)","0 (Utility)","0 (System Memory)","0 (Channel)"],"1":["1 (Channel)"],"32":["32 (Channel)"],"480":["480 (Channel)"],"all":["all (CPU)","all (Utility)","all (System Memory)","all (Channel)"]}
\ No newline at end of file
+{"0":["0 (CPU)","0 (Utility)","0 (System Memory)","0 (Channel)"]}
\ No newline at end of file
diff -u -r legion_prof_rs/legion_prof_processor.tsv legion_prof_py/legion_prof_processor.tsv
--- legion_prof_rs/legion_prof_processor.tsv    2022-09-06 11:16:43.405749928 -0700
+++ legion_prof_py/legion_prof_processor.tsv    2022-09-06 11:28:28.300098110 -0700
@@ -6,11 +6,11 @@
 CPU Processor 0x1d00000000000004       CPU Proc 4      tsv/Proc_0x1d00000000000004.tsv 1
 Dependent Partition Channel    Dependent Partition Channel     tsv/None.tsv    3
 Fill System Memory 0x1e00000000000000 Channel  [n0] sys        tsv/System_Memory_0x1e00000000000000.tsv        3
-System Memory 0x1e00000000000000 to System Memory 0x1e00000000000000 Channel   [n0] sys to [n0] sys    tsv/(System_Memory_0x1e00000000000000,_System_Memory_0x1e00000000000000).tsv        4
-System Memory 0x1e00000000000000 to System Memory 0x1e00010000000000 Channel   [n0] sys to [n1] sys    tsv/(System_Memory_0x1e00000000000000,_System_Memory_0x1e00010000000000).tsv        3
-System Memory 0x1e00000000000000 to System Memory 0x1e00200000000000 Channel   [n0] sys to [n32] sys   tsv/(System_Memory_0x1e00000000000000,_System_Memory_0x1e00200000000000).tsv        3
-System Memory 0x1e00000000000000 to System Memory 0x1e01e00000000000 Channel   [n0] sys to [n480] sys  tsv/(System_Memory_0x1e00000000000000,_System_Memory_0x1e01e00000000000).tsv        3
-System Memory 0x1e00010000000000 to System Memory 0x1e00000000000000 Channel   [n1] sys to [n0] sys    tsv/(System_Memory_0x1e00010000000000,_System_Memory_0x1e00000000000000).tsv        4
-System Memory 0x1e00200000000000 to System Memory 0x1e00000000000000 Channel   [n32] sys to [n0] sys   tsv/(System_Memory_0x1e00200000000000,_System_Memory_0x1e00000000000000).tsv        4
-System Memory 0x1e01e00000000000 to System Memory 0x1e00000000000000 Channel   [n480] sys to [n0] sys  tsv/(System_Memory_0x1e01e00000000000,_System_Memory_0x1e00000000000000).tsv        3
+System Memory 0x1e00000000000000 to System Memory 0x1e00000000000000 Channel   [n0] sys to [n0] sys    tsv/System_Memory_0x1e00000000000000_System_Memory_0x1e00000000000000.tsv   4
+System Memory 0x1e00000000000000 to System Memory 0x1e00010000000000 Channel   [n0] sys to [n1] sys    tsv/System_Memory_0x1e00000000000000_System_Memory_0x1e00010000000000.tsv   3
+System Memory 0x1e00000000000000 to System Memory 0x1e00200000000000 Channel   [n0] sys to [n32] sys   tsv/System_Memory_0x1e00000000000000_System_Memory_0x1e00200000000000.tsv   3
+System Memory 0x1e00000000000000 to System Memory 0x1e01e00000000000 Channel   [n0] sys to [n480] sys  tsv/System_Memory_0x1e00000000000000_System_Memory_0x1e01e00000000000.tsv   3
+System Memory 0x1e00010000000000 to System Memory 0x1e00000000000000 Channel   [n1] sys to [n0] sys    tsv/System_Memory_0x1e00010000000000_System_Memory_0x1e00000000000000.tsv   4
+System Memory 0x1e00200000000000 to System Memory 0x1e00000000000000 Channel   [n32] sys to [n0] sys   tsv/System_Memory_0x1e00200000000000_System_Memory_0x1e00000000000000.tsv   4
+System Memory 0x1e01e00000000000 to System Memory 0x1e00000000000000 Channel   [n480] sys to [n0] sys  tsv/System_Memory_0x1e01e00000000000_System_Memory_0x1e00000000000000.tsv   3
 System Memory 0x1e00000000000000       [n0] sys        tsv/Mem_0x1e00000000000000.tsv  36
Only in legion_prof_rs/tsv: (System_Memory_0x1e00000000000000,_System_Memory_0x1e00000000000000).tsv
Only in legion_prof_py/tsv: System_Memory_0x1e00000000000000_System_Memory_0x1e00000000000000.tsv
Only in legion_prof_rs/tsv: (System_Memory_0x1e00000000000000,_System_Memory_0x1e00010000000000).tsv
Only in legion_prof_py/tsv: System_Memory_0x1e00000000000000_System_Memory_0x1e00010000000000.tsv
Only in legion_prof_rs/tsv: (System_Memory_0x1e00000000000000,_System_Memory_0x1e00200000000000).tsv
Only in legion_prof_py/tsv: System_Memory_0x1e00000000000000_System_Memory_0x1e00200000000000.tsv
Only in legion_prof_rs/tsv: (System_Memory_0x1e00000000000000,_System_Memory_0x1e01e00000000000).tsv
Only in legion_prof_py/tsv: System_Memory_0x1e00000000000000_System_Memory_0x1e01e00000000000.tsv
Only in legion_prof_rs/tsv: (System_Memory_0x1e00010000000000,_System_Memory_0x1e00000000000000).tsv
Only in legion_prof_py/tsv: System_Memory_0x1e00010000000000_System_Memory_0x1e00000000000000.tsv
Only in legion_prof_rs/tsv: (System_Memory_0x1e00200000000000,_System_Memory_0x1e00000000000000).tsv
Only in legion_prof_py/tsv: System_Memory_0x1e00200000000000_System_Memory_0x1e00000000000000.tsv
Only in legion_prof_rs/tsv: (System_Memory_0x1e01e00000000000,_System_Memory_0x1e00000000000000).tsv
Only in legion_prof_py/tsv: System_Memory_0x1e01e00000000000_System_Memory_0x1e00000000000000.tsv

I feel like Rust is correct here, and Python seems to be not including data that ought to be included.
I am not going to put effort into fixing Python. But I mention it because someone else might care.

What exactly is the difference for those of us that don't read the tsv syntax?

Rust includes additional copy channels, specifically those from node 0 to any other node. It appears that Python does not include any copy channels, because it only includes channels for the nodes that were specifically included in the profiler output, and only node 0 was logged. That means that you don't get any intra-node copies in Python at all, even though the node 0 logs do include (at least some of) that data.

The copies are there in the Python profile - (if you expand node 0's channel) - but I can add the other channels to match the Rust profile (i.e. those copies will appear twice)

Ok, I missed that in Python.
I guess that in a normal multi-node profile, every copy is listed twice: under the source node, and under the destination node.
So it makes sense to show it under the source node only when we have a subset of nodes.
As long as we're not losing data, I can make Rust match Python's behavior.


[Popover] Add test for getoffset

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

@agamrafaeli Thanks once more!