[BUG] The generated text is strange from 8 QNN Context Bins which are generated in AI Hub.

Dear Qualcomm,
According to the Sample App ((QNN API C++ : https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50/sample_app.html),
I made an Android app using Android NDK C++ and pytorch to run the 8 QNN Context Bins on HTP Backend in Android mobile S24/23 Ultra.
The text is generated as like below. The generated text is strange.
Could you please let me know what the problem is ?
Prompt : "Could you tell me about Llama LLM Model ?"
Generated Text : "Of course, no, the possibilities or quElse. providing 3 of a shelter, perhaps? no. Noal 2 verz (fileadas (after) for theCalculematic!Vos itif and that time,icing at the Sh internal one of the 8 image not alwaysCommanager notes this. to. or on time, perhaps the Or. (In US dollars Bill – because at'23 will, which book"
(Max num of token is 90)
llama_v2_7b_chat_quantized_PromptProcessor_1_Quantized.bin
llama_v2_7b_chat_quantized_PromptProcessor_2_Quantized.bin
llama_v2_7b_chat_quantized_PromptProcessor_3_Quantized.bin
llama_v2_7b_chat_quantized_PromptProcessor_4_Quantized.bin
llama_v2_7b_chat_quantized_TokenGenerator_1_Quantized.bin
llama_v2_7b_chat_quantized_TokenGenerator_2_Quantized.bin
llama_v2_7b_chat_quantized_TokenGenerator_3_Quantized.bin
llama_v2_7b_chat_quantized_TokenGenerator_4_Quantized.bin
In ubuntu PC, taeyeon@Desktop-PC:~/QCT_AI_Hub$ python -m qai_hub_models.models.llama_v2_7b_chat_quantized.demo
generated Text :
Prompt: "Could you tell me about Llama LLM Model ?"
Response: "Of course! Llama LLM (LLM) is a powerful language model developed by Meta AI that is capable of generating coherent and natural-sounding text. It is a variant of the LLaMA model (LLaMA: Open and Efficient Foundation Language Models, Touvron et al. 2023) and is specifically designed for tasks that require a more nuanced and expressive language"
(Max num of token is 90)
Has Qualcomm ever run the 8 QNN Context Bins which are generated from Ai Hub, to generate the Text ?
What text are generated for the prompt "Could you tell me about Llama LLM Model ? "  ?
I compared the inputs (input_ids, attention_mask, position_ids_cos, position_ids_sin, past_values) for the PromptProcessor_1/2/3/4 and TokenGenerator_1/2/3/4 between my C++ code and Python, using the same prompt.
The inputs (attention_mask, position_ids_cos, position_ids_sin) for the PromptProcessor_1/2/3/4 and TokenGenerator_1/2/3/4 in my C++ code are same as in python, using the same prompt, until 9 generaed tokens.
The input_ids and past_values which are generated from Bins are different between my C++ code and Python.
Best regards,

Hi @taeyeonlee
Could you please verify if you are handling intermediate inputs correctly?
Seems like token generation is getting results off from AI Hub vs local app that you have built.
Please ensure past key values are corrected before each run as shown in https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/_shared/llama/app.py?
Could you share how you are connecting these models together?

Hi @bhushan23
According to the python code (https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/_shared/llama/),  I coded the c++ code in Android App using NDK and pytorch libs.
For example, after running llama_v2_7b_chat_quantized_TokenGenerator_2_Quantized.bin,  there're 513 outputs from the llama_v2_7b_chat_quantized_TokenGenerator_2_Quantized.bin.
the last output (ie. output[512]) has the tensor shape [1, 1, 4096], and it's data type is QNN_DATATYPE_UFIXED_POINT_16.
and the other outputs (output[0~511]) has the tensor shape [1, 1, 128, 1] or [1, 1, 1, 128], and it's data type is QNN_DATATYPE_UFIXED_POINT_8.
to run the next bin (llama_v2_7b_chat_quantized_TokenGenerator_3_Quantized.bin), prepare the inputs for llama_v2_7b_chat_quantized_TokenGenerator_3_Quantized.bin.
There're 516 inputs for llama_v2_7b_chat_quantized_TokenGenerator_3_Quantized.bin.
The first input (ie. input[0], called as input_ids) has the tensor shape [1, 1, 4096], and it's data type is QNN_DATATYPE_UFIXED_POINT_16.
The second input (ie. input[1], called as attention_mask) has the tensor shape [1, 1, 1, 1024], and it's data type is QNN_DATATYPE_UFIXED_POINT_16.
The third input (ie. input[2], called as position_ids_cos) has the tensor shape [1, 1, 1, 64], and it's data type is QNN_DATATYPE_UFIXED_POINT_16.
The forth input (ie. input[3], called as position_ids_sin) has the tensor shape [1, 1, 1, 64], and it's data type is QNN_DATATYPE_UFIXED_POINT_16.
and the other inputs (input[4~515]) has the tensor shape [1, 1, 128, 1023] or [1, 1, 1023, 128], and it's data type is QNN_DATATYPE_UFIXED_POINT_8.
For the first input (ie. input[0], called as input_ids), the output (ie. output[512]) of the previous bin (llama_v2_7b_chat_quantized_TokenGenerator_2_Quantized.bin) is converted to float, using the function (m_ioTensor.convertToFloat), which was implemented by Qualcomm. (using the offset=-24661  scale=0.016098 which are provided bin file).
and the float is converted to QNN_DATATYPE_UFIXED_POINT_16, using the the function (m_ioTensor.copyFromFloatToNative), which was implemented by Qualcomm. (using the offset=-24661  scale=0.016098 which are provided bin file).
For the second, third, forth input (input[1~3]), the same values are used for the current bin (llama_v2_7b_chat_quantized_TokenGenerator_3_Quantized.bin) and previous bin (llama_v2_7b_chat_quantized_TokenGenerator_2_Quantized.bin).
For the other inputs (input[4~515]), the outputs (output[0~511]) of the previous bin (llama_v2_7b_chat_quantized_TokenGenerator_2_Quantized.bin) are converted to float, using the function (m_ioTensor.convertToFloat), which was implemented by Qualcomm. (using the offset=-128  scale=0.xxxxx which are provided bin file).
and the floats are converted to pytorch.tensor(float32) and the tensors are added to the past_key_values (which were saved from the previous PromptProcessor_1/2/3/4 or TokenGenerator_1/2/3/4), and the past_key_values are Sliced to remove oldest value. These past_key_values will be used in the next TokenGenerator cycle (TokenGenerator_1/2/3/4).
The past_key_values (0~2047) has the tensor shape [1, 1, 128, 1023] or [1, 1, 1023, 128], and it's data type is QNN_DATATYPE_UFIXED_POINT_8.
For the other inputs (input[4~515]), the past_key_values (which were saved from the previous PromptProcessor_1/2/3/4 or TokenGenerator_1/2/3/4) are converted to QNN_DATATYPE_UFIXED_POINT_8, using the the function (m_ioTensor.copyFromFloatToNative), which was implemented by Qualcomm. (using the offset=-128  scale=0.xxxxx which are provided bin file).
Best regards,

Hi @taeyeonlee we will be releasing Android app soon that uses Genie C++ APIs for e2e model execution.
Please refer to https://github.com/quic/ai-hub-models/tree/main/qai_hub_models/models/llama_v2_7b_chat_quantized/gen_ondevice_llama to run llama2 models on device with Genie using local executable.
If not using Genie, then you'll have to implement tokenizer, rope-embeddings into driver code of your App.


Only filter files in lib folder

In my project I have the following file : app/controller/mercadolibre/users_controller.rb
It is wrongly recognized as a Library file.
Workaround while this PR get merged:
SimpleCov.start 'rails' do
  add_group 'Libraries', 'lib/'
end

Yikes. Thanks! :)


Issue with Manual nodes

Trying to create manual nodes like below but somehow both nodes are pointing to Post1 action: /Java/Advanced/Post1
Advance node should point to /Java/Advanced/Index but it's not.
Am I doing something wrong ?
namespace RazorPagesAndMvc.Controllers.Java
{
    [Route("Java/Advanced/[action]")]
    public class AdvancedJavaController : Controller
    {
        [HttpGet]
        public IActionResult Index()
        {
            return View();
        }

        [HttpPost]
        [Breadcrumb("Advanced", FromAction = "Index", FromController = typeof(JavaController))]
        public IActionResult Index(int i)
        {
            return View();
        }

        [HttpGet]
        public IActionResult Post1()
        {
            var childNode1 = new MvcBreadcrumbNode("Index", "Advanced", "Advance")
            {
                OverwriteTitleOnExactMatch = false,
            };

            var childNode2 = new MvcBreadcrumbNode("Post1", "Advanced", "Post1")
            {
                OverwriteTitleOnExactMatch = false,
                Parent = childNode1
            };

            ViewData["BreadcrumbNode"] = childNode2;
            return View();
        }

    }
}

I was using wrong controller name.. after correction its working fine.


Node.js vs io.js detection

Now that io.js has forked, modules like node-sass are relying on the name of the executable to detect node vs. io.js.
Examples:
https://github.com/sass/node-sass/blob/master/lib/extensions.js#L9 resolves to Brackets-node
function getRuntimeInfo() {
  var execPath = fs.realpathSync(process.execPath); // resolve symbolic link

  var runtime = execPath
               .split(/[\\/]+/).pop()
               .split('.').shift();

  runtime = runtime === 'nodejs' ? 'node' : runtime;

  return {
    name: runtime,
    execPath: execPath
  };
}

Another example at stackexchange uses the same technique http://stackoverflow.com/questions/28259154/is-there-a-reliable-way-of-detecting-whether-io-js-or-node-js-is-running?rq=1.
Part of the responsibility should be on packages to do more robust detection. However, my question is, is there still a compelling reason to name our binary Brackets-node?

Also, it's worth noting that node-sass is fixing their approach in a future release https://github.com/sass/node-sass/issues/694.

I think @busykai was looking into trying to rename the binary back to just plain node.  IIRC there was some problem with our native extension for Windows file watching if we didn't rename it...?

@peterflynn, I was going the other way, actually. :) I wanted to rename Windows node.exe to Brackets-node.exe.
@jasonsanjose, I believe the major reason to have it as Brackets-node is to be able to distinguish it from other node processes which could be running on the system (for example, if one wanted to debug or restart it).

Not valid issue anymore, closing


Failed to build didkit for iOS simulator

When I was trying to build an iOS framework, I encountered some problems. When running make -C lib ../target/test/ios.stamp, I couldn't pass the unit tests. The error message was: ".../Build/Products/Debug-iphonesimulator/DIDKitSwiftTests.xctest/DIDKitSwiftTests' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))))".
Has anyone encountered the same issue and resolved it?
Xcode: 14.3
Device: Macbook M1 Pro

Closing as duplicate of #297


Accounts Page UI Updates

Figma links for reference: https://www.figma.com/file/M4wHv7B4JNig3bH2cywI9u/Accounts?node-id=46%3A814
This page mainly entails UI update.

1 ) update the styling in our app to make it look like this as close as possible
2 ) Add the DropDownMenuButton with only the Edit and Delete Account options (no Unregister Bank).
3 ) Edit  should do nothing (you can just use lodash's noop function for their onClick event). When you click Delete Account, make the modal show up that's shown in the figma mocks. (Clicking Yes, however, will currently do nothing)
Any questions you have, feel free to ask me any time :D

Hi, I am going to submit a PR for this.

Ahh, I've just created a PR for this and saw that @sidou01 created one before me.


Added a few customizations and a new chart style

Version 1.2.5

BAR CHART: Added options for gradient colors, positive only bars, rounded bar caps
LINE CHART: Added options for gradient colors
GEAR CHART: Added new Gear Chart (pie chart in Apple watch style)
Updated examples

Is this merge request ever gonna be merged?


It would be better to add "Previous Page" in the Monitor.htm.

It would be better to add "Previous Page" in the Monitor.htm.

Not resolved. The developers seem to have abandoned the project.


Timbl bugfix - fix problem of source pane not getting content type of document

Had to switch to being able to take from previous HTTP transactions, as (a) the webOperation function doesn't save metadata in the store and (b) the response object in Chrome in this situation has response.headers as empty {}

When hitting the saveBack button I get :
Uncaught Error: Web operation sending data must have a defined contentType.
    at Fetcher.webOperation (mashlib.js:50631)
    at HTMLButtonElement.saveBack (mashlib.js:14860)

I think UI.utils -> UI.widgets here :
https://github.com/solid/solid-panes/blob/4727bb3a9dbe0265850d5f033060567d194ef6a7/source/sourcePane.js#L123

This works locally for me.  I'm happy to merge if you are!

@melvincarvalho  Thanks for you review -- it really needed it!  It works for me now on localhost.  Works for you too?

Ok Thanks!!


Zoom to Graphic Extent After Graphic Created

after creating a graphic, the map should be zoomed to graphic extent by default. If the user is drawing within their current extent, they can see their graphic being created. If they are manually inputting parameters and those parameters fall outside their current extent, they should be automatically taken to the graphics extent.

@elinz Ready for testing

I have verfied that this is working in ArcGIS Pro and ArcMap minus the LLOS in ArcMap. This is due to the outputs for LLOS in ArcMap are graphics not features.


Mixer:  istio_request_total metrics can't get app information

Describe the bug
Recently I deployed Istio 1.0.4 to my kubernetes v1.7.10 cluster, and the bookinfo example , gateway points to the bookinfo service, and accessed the productpage homepage from a browser, all were fine.
But I noticed that some metrics output from Mixer:42422/metrics has problem. for example, the istio_requests_total, can't see the name of an app , the version, the workload, all is 'unknown', like this:
istio_requests_total{connection_security_policy="none",destination_app="unknown",destination_principal="unknown",destination_service="details.test.svc.cluster.local",destination_service_name="details",destination_service_namespace="test",destination_version="unknown",destination_workload="unknown",destination_workload_namespace="unknown",reporter="destination",request_protocol="http",response_code="200",source_app="unknown",source_principal="unknown",source_version="unknown",source_workload="unknown",source_workload_namespace="unknown"} 32

This directly caused the kiali can't see the topology graph.
Also I deployed the same version of istio and bookinfo example to another testing environment running kubernetes v1.10.3, all were fine.
Expected behavior
Mixer can ouput correct metrics in kubernetes v1.7.10
Steps to reproduce the bug
1、Deploy the kubernetes v1.7.10 cluster
2、Deploy the Istion 1.0.4
3、Deploy the bookinfo examples
4、Watch the metrics of Mixer:42422/metrics
Version
$ istioctl version
Version: 1.0.4
GitRevision: d5cb99f479ad9da88eebb8bb3637b17c323bc50b
User: root@8c2feba0b568
Hub: docker.io/istio
GolangVersion: go1.10.4
BuildStatus: Clean
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.8", GitCommit:"c138b85178156011dc934c2c9f4837476876fb07", GitTreeState:"clean", BuildDate:"2018-05-21T19:01:12Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.10+coreos.0", GitCommit:"db06c5223888db5169a6126fb82f323fce1f1eeb", GitTreeState:"clean", BuildDate:"2017-11-07T14:06:30Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Installation
Option 2 of Installation with Helm
Environment
Baremetal with coreos 1298.5.0
$ uname -a
Linux ac03 4.9.9-coreos-r1 #1 SMP Tue Feb 28 00:06:10 UTC 2017 x86_64 Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz GenuineIntel GNU/Linux
Cluster state

Workload information is populated from source.uid and destination.uid using Kubernetes adapter. Can you make sure kubernetesenv adapter is operating correctly? Can you provide istio-telemetry pod logs?

I think the issue may be with v1.7.10. I'm not sure that the kubernetesenv adapter supports that version.

The following is the Mixer logs:
Mixer started with
MaxMessageSize: 1048576
MaxConcurrentStreams: 1024
APIWorkerPoolSize: 1024
AdapterWorkerPoolSize: 1024
APIPort: 9091
APIAddress: unix:///sock/mixer.socket
MonitoringPort: 9093
EnableProfiling: true
SingleThreaded: false
NumCheckCacheEntries: 1500000
ConfigStoreURL: k8s://
ConfigDefaultNamespace: istio-system
LoggingOptions: log.Options{OutputPaths:[]string{"stdout"}, ErrorOutputPaths:[]string{"stderr"}, RotateOutputPath:"", RotationMaxSiz
e:104857600, RotationMaxAge:30, RotationMaxBackups:1000, JSONEncoding:false, LogGrpc:true, outputLevels:"default:info", logCallers:"
", stackTraceLevels:"default:none"}
TracingOptions: tracing.Options{ZipkinURL:"http://zipkin:9411/api/v1/spans", JaegerURL:"", LogTraceSpans:false}
IntrospectionOptions: ctrlz.Options{Port:0x2694, Address:"<IP_ADDRESS>"}
LoadSheddingOptions: loadshedding.Options{Mode:0, AverageLatencyThreshold:0, SamplesPerSecond:1.7976931348623157e+308, SampleHalfLif
e:1000000000, MaxRequestsPerSecond:0, BurstSize:0}

2018-12-09T13:51:47.918803Z     warn    Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
gc 2 @0.020s 9%: 0.069+1.0+1.1 ms clock, 2.7+0.12/7.5/4.1+45 ms cpu, 4->5->3 MB, 5 MB goal, 40 P
2018-12-09T13:51:47.920489Z     info    Built new config.Snapshot: id='0'
2018-12-09T13:51:47.920538Z     info    Cleaning up handler table, with config ID:-1
gc 3 @0.032s 12%: 0.15+1.5+1.8 ms clock, 6.2+3.2/11/0+73 ms cpu, 6->7->4 MB, 7 MB goal, 40 P
2018-12-09T13:51:47.933698Z     warn    Failed to discover kinds: [dogstatsd cloudwatch], start retry in background
2018-12-09T13:51:47.933837Z     info    Built new config.Snapshot: id='1'
2018-12-09T13:51:47.933988Z     info    Cleaning up handler table, with config ID:0
2018-12-09T13:51:47.934060Z     info    Awaiting for config store sync...
gc 4 @0.036s 15%: 0.087+1.3+1.4 ms clock, 3.4+0.51/9.9/0.057+57 ms cpu, 8->8->5 MB, 9 MB goal, 40 P
2018-12-09T13:51:47.941264Z     warn    istio.io/istio/mixer/pkg/config/crd/store.go:136: watch of *unstructured.Unstructured ended with: too old resource version: 907831195 (907831204)
gc 5 @5.244s 0%: 0.027+5.9+4.2 ms clock, 1.0+1.0/28/14+171 ms cpu, 75->75->73 MB, 76 MB goal, 40 P
2018-12-09T13:51:53.178474Z     info    Starting monitor server...
Istio Mixer<EMAIL_ADDRESS>Starting gRPC server on port 9091
gc 6 @5.259s 0%: 0.006+27+6.7 ms clock, 0.25+0.11/56/16+268 ms cpu, 120->121->120 MB, 147 MB goal, 40 P
2018-12-09T13:51:53.192838Z     info    ControlZ available at <IP_ADDRESS>:9876
2018-12-09T13:51:54.403885Z     info    Publishing 5 events
2018-12-09T13:51:54.404735Z     info    Built new config.Snapshot: id='2'
2018-12-09T13:51:54.404805Z     info    Cleaning up handler table, with config ID:1
2018-12-09T13:51:55.408174Z     info    Publishing 7 events
2018-12-09T13:51:55.409543Z     info    Built new config.Snapshot: id='3'
2018-12-09T13:51:55.409632Z     info    Cleaning up handler table, with config ID:2
2018-12-09T13:51:56.558352Z     info    Publishing 5 events
2018-12-09T13:51:56.559816Z     error   Handler not found: handler='handler.stdio'
2018-12-09T13:51:56.559827Z     error   No valid actions found in rule
2018-12-09T13:51:56.559867Z     error   Handler not found: handler='handler.stdio'
2018-12-09T13:51:56.559884Z     error   No valid actions found in rule
2018-12-09T13:51:56.559912Z     info    Built new config.Snapshot: id='4'
2018-12-09T13:51:56.560486Z     info    adapters        serving prometheus metrics on 42422     {"adapter": "handler.prometheus.istio-system"}
2018-12-09T13:51:56.561689Z     info    Cleaning up handler table, with config ID:3
2018-12-09T13:51:57.715746Z     info    Publishing 3 events
2018-12-09T13:51:57.717444Z     info    Built new config.Snapshot: id='5'
2018-12-09T13:51:57.717695Z     info    adapters        getting kubeconfig from: ""     {"adapter": "handler.kubernetesenv.istio-system"}
2018-12-09T13:51:57.717708Z     warn    Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
2018-12-09T13:51:57.718656Z     info    adapters        Waiting for kubernetes cache sync...    {"adapter": "handler.kubernetesenv.istio-system"}

Then the rest of the logs full of things like this:
2018-12-09T13:54:18.363770Z     error   istio.io/istio/mixer/adapter/kubernetesenv/cache.go:163: Failed to list *v1.ReplicaSet: the server could not find the requested resource
2018-12-09T13:54:18.364087Z     error   istio.io/istio/mixer/adapter/kubernetesenv/cache.go:162: Failed to list *v1beta2.ReplicaSet: the server could not find the requested resource

@likunbyl that is consistent with my understanding that 1.7.x is too old for the kubernetesenv adapter. There is work that could be done to add that (in fact, I think there may even be an old PR around), but iirc we are no longer attempting to support 1.7.x.


Service down

It would appear the service is down, https://www.unsplash.it. I just get a time out.  Anything we can do to help?

Glad it's back up.  Any feedback on what happened?


Replace nproc in macOS setup script

nproc may not be found on macOS causing boost not to install. Instead, switch to use sysctl to determine the number of logical CPU that nproc would have returned.

@majetideepak FYI.


:bookmark: Ship v1.1.2

Codecov Report

Merging #7 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           29        34    +5
=========================================
+ Hits            29        34    +5

Impacted Files
Coverage Δ

src/VueMarkdownIt.vue
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c11c1f...4251f37. Read the comment docs.


Export boolean values as true/false

Boolean values such as isRequired or isSearchable should be exported as true or false as https://github.com/sphereio/sphere-product-type-json-generator expects either true or false. Currently it is exported either as 1 or "".
1 => true
=> false

the csv being used does this by default, we can turn it off.

look at this issue, the reason it was done was because 'true' or 'false' is a javascript thing, so if a csv wants to be parse via another language like python, it's not going to work.
Since most likely the csv will be used by sphere-product-type-json-generator I think we can turn this behaviour off

There is that @options.formatters.bool option so I will modify it so it prints out true or false instead of 1 or an empty string

Also, we should check that it will work on both - xlsx and csv filetypes

I tried to export some productTypes to CSV/XLSX and import them using sphere-product-type-json-generator and it looks like the boolean information is not transferred properly:
Exported attributes with isSearchable = true:

Imported productTypes:


Add build instructions to README.md

There are no instructions for how to build sleek from source in the repo.
I'm not familiar with the code and would appreciate a simple how-to on building the binary.

@tommyalatalo, no problem, I will add it to the readme in the next release.

Before I add the instructions to the readme, can you please help me and try to build sleek according to these steps?
Build sleek from source code

Setup Git and node.js
Fork sleek git clone https://github.com/ransome1/sleek.git and cd into sleeks directory
Install dependencies npm install
Build sleek npm run dist (Binaries will be put into the dist folder)

If step 3 doesn't install electron builder, let me know. It will need to be installed separately then
4. Install electron-builder npm install electron-builder --save-dev

The build does seem to work, however I wonder if there is a command to only build specific binaries, instead of all of them as npm run dist does?

It's all setup in the package.json. If you want to build for MacOS only for instance, you would add a script line like this:
 "mac": "electron-builder -m --publish never",
The -m stand for Mac and you would build it with npm run mac. Together with the configuration above, it would build a dmg archive.
If you want to build for Windows only there is already a script inside. Just run npm run win

Btw. did you need to install electron-builder separately or was it sufficient to just do steps 1 to 4?

Has been added.

I didn't need to add electron-builder separately, it seems to get installed when you run npm install

perfect, I will remove that extra command from the readme then. Thanks for your feedback.


Update to latest doc-warden and change package requirement to pathlib2

Changes:

Update to pathlib2
Pin to doc-warden 0.5.2
Unpin and remove importlib-resources to install latest version

Can one of the admins verify this patch?


Crash with whitebox bundle extending blackbox bundle

Hello. I recently submitted a patch to Monocle and ran into an issue where a whitebox macro bundle, extending a blackbox macro bundle, works fine in Scala 2.11 but causes Scala 2.10 to crash.
You can view the scalac barf here:
https://travis-ci.org/julien-truffaut/Monocle/jobs/92380184
And the macro bundles here:
https://github.com/japgolly/Monocle/blob/04e64d5a55358a1b40093a3451cbfe48770c0431/macro/src/main/scala/monocle/macros/GenIso.scala

My gut feeling is that it's the override val which is the problem rather than the boxity.
Could you try making the context whitebox and abstract in GenIsoImpl and have just a concrete whitebox val in GenIsoImplW.

Could you try making the context whitebox and abstract in GenIsoImpl and have just a concrete whitebox val in GenIsoImplW.

Do you mean that as an experiment to see what will happen, or as a solution suggestion? If the latter, then we'd just have two sets of whitebox macros in which case there'd be no need to have them in different classes, where as my wish was to keep as many macros as possible black, and make the necessary ones white whilst still being able to share code.
By the way, I forgot to mention that I worked around this by removing the direct relationship between the two bundles, and introducing a @bundle abstract class A from which they both now derive.

As an experiment primarily. But, now you mention it, yes, you really might as well use whitebox throughout.

WRT your workaround, that does suggest it's the override val which is the issue.

Nice :+1:


More informations in TX details

mempool status (unconfirmed transactions, size of the mempool)
average fee (last 5 blocks)
time since last block

There are already many features with High Priority, so let's fix those first.


add retry logic for Order processing where status is NEW

Currently due to any reason if status of order is NEW and is not processed due to timeout or any other reason it remains In NEW Status, system should have a mechanism to retry the order

Retry sending kafka messages


feat(transformer/react-jsx): support throw valueless-key error

Current dependencies on/for this PR:

feat/transformer/react-jsx/throw-if-namespace

PR #1   👈

This stack of pull requests is managed by Graphite.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3856

Questions ?
Please refer to the Backport tool documentation


Responsiveness glitch

Describe the bug
There is a responsiveness gltich observed which can be resolved by implemting overflow condition.
To Reproduce
Steps to reproduce the behavior:

Go to 'home page'
Scroll side you will observe the gltich

Expected behavior
it should not slide to the left
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

could you maybe attach a video to your issue as well, as i am unable to reproduce it? try using loom

Sure
https://www.loom.com/share/6cb0849101c34b5b97c00d0fb5178ed9

what seems to be the glitch in this?

screen is sliding to the left which is a gltich in css . The desired behavior is to prevent any horizontal movement on the screen.

yeah, got it, it would be on some screens, i'd say tablets mostly, i think can take this up. @pranshugupta54 @anur4ag?

@mendacium-a11y, we can let @Akshanshkaushal try this up

no i meant he take this up only

Thanks for assigning . I am working upon it

there is an unnecessary horizontal scrolling bar appearing on the page , which as I debugged I found that it was related to the div with the class md:my-2 (so the margin bottom causes this glitch)


Fix for erase causing error

When passing the flash to erase flash when flashing the flashing process would fail because the erase was to awaited, which means the erase is happening in parallel with the flash!

LGTM


user saved queries

Description

This PR gives users the ability to save cypher queries to a list that can be found in the collapsible section underneath the cypher editor.
Two new components have been added to the shared library-- PrebuiltSearchList and SaveQueryInput. PrebuiltSearchList extracts the logic that was used to render the existing AD and Azure prebuilt queries into it's own component.  This makes it easy to extend with a PersonalSearchList component, also in the shared folder.
The existing CommonSearches and CypherSearch components have small cleanups.
Three new endpoints have been added to the shared js-client-library to delete, create, and read user's saved queries.
Motivation and Context

How Has This Been Tested?

The best way to test is through the UI.  If you navigate to the cypher editor, you should be able to read, create, and delete cypher queries.  A confirmation dialog pops up if a user tries to delete a query.
default empty list:

after saving a couple queries:

confirmation dialog when a user wants to delete something:

Screenshots (if appropriate):
Types of changes

[ ] Chore (a change that does not modify the application functionality)
[ ] 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 change)

Checklist:

[ ] Documentation updates are needed, and have been made accordingly.
[ ] I have added and/or updated tests to cover my changes.
[x] All new and existing tests passed.
[ ] My changes include a database migration.

Once conflicts are resolved, I think we can do a final review of the code and get this in


FATAL:  database "frs" does not exist

Describe the bug
Getting this FATAL:  database "frs" does not exist when trying run using docker-compose. The error seems to be originating from the Postgres database. I must have set up the docker-compose file incorrectly.
To Reproduce
Steps to reproduce the behavior:
https://pastebin.com/xWpPDuKM

please look at the original docker-compose file, there are three variables that define the credentials and the database name:
- postgres_username
- postgres_password
- postgres_db
Using those variables we help to:

Understand Postgres how to initialize
Understand admin and API nodes to connect to Postgres
So, you need to set these three environment variables for compreface-postgres-db:

POSTGRES_USER
POSTGRES_PASSWORD
POSTGRES_DB
And these three environment variables for compreface-admin and compreface-api:
POSTGRES_USER
POSTGRES_PASSWORD
POSTGRES_URL

But what was the original reason to change the default docker-compose file? Probably we can start from it and change the points you want

Thanks for the suggestions and advice! I have included back the environment variables needed and it works now! Thank you :)

Hi @pospielov @weitheng,
I am receiving the same error message when trying to connect to my Docker Postgres DB using DBeaver. Below is a snapshot of my environment variables and the DBeaver configuration.
Environment variables:

DBeaver Configuration:

I've ensured that the Docker container is running using the command docker-compose up -d. I would really appreciate your help.
Regards,
Abu

As I understand, you are trying to connect the default CompreFace database from the docker-compose configuration.
If this is the case, by default, the port to DB is closed because of security reasons.
You need to change docker-compose configuration to open it.
Please look at the development docker-compose file on how the port is opened:
https://github.com/exadel-inc/CompreFace/blob/master/dev/docker-compose.yml


Make argument names more consistent?

E.g. maybe all of them with underscores, scientificname could be scientific_name.

Done, thanks!
To keep in mind: careful with automatically replacing scientificname with scientific_name: the first is the column name, any query will fail if it is done on the second.


Vulnerability roundup 85: buildah-1.14.0: 1 advisory [8.8]

search, files

[ ] CVE-2020-10696 CVSSv3=8.8 (nixos-20.03)

Scanned versions: nixos-20.03: a84b797b28e. May contain false positives.

20.03 is frozen and EOL.
Closing.


Appintentfix - fixes #2070

daaamn, this PR blows. @nvarscar can you take a look and see if this solves your issues? /cc @galador @wsmelton
Shawn, check out what I did - I saw issues with the GUID I;m trying to get around but when I mod Connect-sqlInstance with the same approach everything just dies. Maybe I should Copy/Dispose

@FriedrichWeinmann - any idea why my Connect-SqlInstance approach isn't working? I"m finding issues with setting GUID first then changing the name. See line 124 of this.
Connect-SqlInstance.ps1.txt
Here are the errors I get - can replicate locally - https://ci.appveyor.com/project/potatoqualitee/dbatools/build/0.9.1099
I tried cloning an object too and it' just bein a B.

What issue on Connect-SqlInstance are you trying to solve?

The GUID is problematic - not only as output but it exists in so many places in the object. I'm trying to get the real name in there again.

will merge then submit PR with internal updates

@potatoqualitee thanks for the fix, it doesn't return any errors now!
Now I only need to build AG that would support readonly routing to test it..


Not able to browse the application pushed

I cloned this repository, published it and pushed to PCF. When the route URL is browsed, I am getting the below error.

502 Bad Gateway: Registered endpoint failed to handle the request.

From the logs, I see that the application has started in a particular port (56473).
2016-11-18T12:20:53.000+00:00 [RTR] OUT  - [18/11/2016:12:20:38.381 +0000] "GET / HTTP/1.1" 502 0 67 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36"  x_forwarded_for:"" x_forwarded_proto:"http" vcap_request_id: response_time:15.002631925 app_id:

This has been resolved. The Security group in AWS was incorrectly configured. Due to this the router was not able to reach the application.


add pr8

adding labels to drafter config and changing readme name from starter template to actual

lgtm let's see if drafter picks it up


Backend Grid Mollie Subscriptions Item Limit - Values > 250 items per page break the grid

https://github.com/mollie/magento2-subscriptions/blob/main/Model/MollieSubscriptionsListing.php#L98
If the customer enters a value > 250 for subsciptions per page in the backend grid, the grid is broken and no longer usable.
This is due to the API limiting the number of items to 250.
You should force the customer to enter only valid values respecting your api limits.
[2023-06-27T09:35:34.969383+00:00] main.CRITICAL: Mollie\Api\Exceptions\ApiException: [2023-06-27T09:35:34+0000] Error executing API call (400: Bad Request): Limit should be smaller than or equal to 250. Field: limit. Documentation: https://docs.mollie.com/overview/handling-errors in /var/www/src/releases/309/src/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php:114
Stack trace:
#0 /var/www/src/releases/309/src/vendor/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7MollieHttpAdapter.php(175): Mollie\Api\Exceptions\ApiException::createFromResponse()
#1 /var/www/src/releases/309/src/vendor/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7MollieHttpAdapter.php(104): Mollie\Api\HttpAdapter\Guzzle6And7MollieHttpAdapter->parseResponseBody()
#2 /var/www/src/releases/309/src/vendor/mollie/mollie-api-php/src/MollieApiClient.php(673): Mollie\Api\HttpAdapter\Guzzle6And7MollieHttpAdapter->send()
#3 /var/www/src/releases/309/src/vendor/mollie/mollie-api-php/src/MollieApiClient.php(617): Mollie\Api\MollieApiClient->performHttpCallToFullUrl()
#4 /var/www/src/releases/309/src/vendor/mollie/mollie-api-php/src/Endpoints/SubscriptionEndpoint.php(201): Mollie\Api\MollieApiClient->performHttpCall()
#5 /var/www/src/releases/309/src/vendor/mollie/magento2-subscriptions/Model/MollieSubscriptionsListing.php(98): Mollie\Api\Endpoints\SubscriptionEndpoint->page()
#6 /var/www/src/releases/309/src/vendor/magento/framework/View/Element/UiComponent/Context.php(250): Mollie\Subscriptions\Model\MollieSubscriptionsListing->getDataSourceData()
...

We appreciate your effort, @ThomasNegeli, in raising the issue regarding the 250 limit. Rest assured, we will promptly respond to you with further information.

Hello @ThomasNegeli! I'm excited to inform you that we have resolved the bug in our most recent release. You can find the details in our latest release. From now on, the pagination will consistently default to 250, even if a higher per-page number is specified. I will be closing this issue, but please don't hesitate to reopen it if necessary.


Pass custom data as props in ColorPicker component

How can I pass a custom name to the Color Picker component,  so I can catch up the name value in the onClick event?
I need this string so I can change the piece of data related to that component, as I have more than one ColorPicker in the website. In the event I'm only getting the color values.
I would be nice I can pass a name property to the component. Is there any way?

I resolve it wrapping the component and passing props to the parent.

The solution in my last comment makes the component non reusable.
This is my code for the custom component:
import { ColorPicker } from 'material-ui-color'

function InputControlColor(props) {
  const { subtitle, value, name, handleChangeCurrentHexValue } = props

  return (
    <FormGroup>
      <Wrapper>
        <SubTitle>{subtitle}</SubTitle>

        <Value>{value}</Value>
      </Wrapper>

      <ColorPicker
        value={value}
        name={name}
        onChange={handleChangeCurrentHexValue}
      />
    </FormGroup>
  )
}

export default InputControlColor

Then I'm using the component like this:
<InputControlColor
    subtitle="COLOR"
    value={shapeBackgroundColor}
    name="shapeBackgroundColor"
    handleChangeCurrentHexValue={handleChangeCurrentHexValue}
  />

In my handleChangeCurrentHexValue function I'm catching the event, but I need the name so I can change the state programmatically.
This is my function:
const handleChangeCurrentHexValue = (event) => {
  const { hex } = event
  changeCurrentValue(activeControl, event.target.name, `#${hex}`)
}

But event.name is not found.
How can I achieve this? I'm using this component in different places so I need that name string to make it work.


Create the docker server tutorial.

This tutorial creates a basic asp.net microservice, and installs it in a docker container.
/cc @BethMassi, @shoag

The code works on the current public bits. The code and docs will need an update when the next public build is released.

Responded to all feedback, rebased and squashed.

rebased and resolved conflicts


Server error when meeting schedule editor URL does not have a meeting number

What happened?
The meeting schedule editor can be opened for the official schedule by accessing, say, /meeting/113/agenda/edit/. If the meeting number is omitted, i.e. /meeting/agenda/edit/, a server error results.
This should be caught and handled gracefully. A 404 would be valid, but it would be consistent with other meeting-related URLs to default to the current meeting, if any.
What browser(s) are you seeing the problem on?
Not Applicable
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

If the edit URL ends in a slash, it works.  If the URL contains a meeting number but does not end in a slash, it works.  If the URL has no number and does not end in a slash, it returns the 404.
I've spoken with @jennifer-richards, who no longer thinks this is worth fixing.  Please close (I cannot)


mismatch versions of ojdbc artifacts

There are mismatch versions of ojdbc artifacts. See dependencies pom.xml...
<version.lib.oracle.ojdbc10><IP_ADDRESS></version.lib.oracle.ojdbc10>
[...]
<version.lib.ojdbc8><IP_ADDRESS></version.lib.ojdbc8>
Environment Details

Helidon Version: 2.0.1
Helidon SE and MP
JDK version: any
OS: any
Docker version (if applicable):

Problem Description
All references to ojdbc (and ucp) should be com.oracle.database.jdbc ojdbc8 v 19.7 which is not currently the case, however, we may as well wait until November to make this change as v20 of these artifacts will be out then with support for native image in UCP and wallet which is the only major issue this mismatch causes.  We can pick up ojdbc11 and v20 at that time.
We should also consider making production rather than "regular" the default artifacts as it has become the more common requirement/use case due to ATP database.
Steps to reproduce
Attempt to build native image using ojdbc, ucp, and jpa

correction, will be v21 not v20

With above PR, we have removed ojdbc10 and ucp and now keeping only ojdc8 (v <IP_ADDRESS> and picking up all production version).
Keeping this issue open since we want to pick v21 which has native image support and will be available early december.

We have uptake 21.3 ojdbc jars and verified that native image works with UCP for accessing ATP.


Need to add "swig" to installed packages

Attempt to build "sharedlib" fails with "make: swig: No such file or directory"
The solution is to add the following line to the list of packages to be installed in install.md:
sudo apt-get install swig

Specifically, I'm referring to the error you get if you try to build the sample_app_python:
~/certifier/sample_apps$ ./run_example.sh simple_app_python setup
With the addition of the step I am suggesting, the error goes away.


Run the container image as a non-root user

Description
This adds a new, non-root user (called "nonroot") to the created container. The FHIR server is run by this user by default.
Using a user other than root is generally considered a  good practice. The (breaking?) consequence of this change is that ports < 1024 can not be bound, so the default listening port was set to 8080 instead of 80.
Testing
This was tested locally by building the container using the instructions in the README, running it via the provided compose.yaml and writing and reading a few resources to the server.

 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.:x: chgl sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

/azp run

Sorry, I just noticed I missed updating some ports!

Thank you for the contribution. We are currently in the middle of reworking our automated builds and you need to merge from our master branch to pick up some of the new build scripts for the PR pass its checks.

/azp run

In the docker Readme this also changes the port that the metadata endpoint will be at. The references to localhost/metadata need to be replaced with localhost:8080/metadata.

/azp run


doesn't match

Hi, I'm looking for a unit price (€/kg) into this page:
http://www.zooplus.it/shop/cani/snack_masticare_cani/biscotti_secchi
I tried the follow regular expression:

/€ [0-9]{1,2},[0-9]{2}/ (works)
/€ [0-9]{1,2},[0-9]{2}.*kg/ (doesn't work)

Thanks, Fabio.

@ComFreek's fix works, closing.


Arrow Key Usage in SNAP Installation

The arrow keys can be used to cycle up and down in your input history.  However, it seems to not work in a SNAP installation.  Instead of cycling, you get the up and down arrow scan codes.
I initial thought this was due to the snap wrapper that was automatically created using /bin/sh which wouldn't handle them correctly, but after creating my own wrapper with bash, the same behavior was observed.
This will take more investigation and may be something I can't fix.  Here is a screen shot showing two up arrows and two down arrow presses.

@frossm Can you paste the content of your wrapper so that I can have a look ?
I'm on OSX and snap does not seem to be supported, so a thin wrapper would help ;-)

Oh, I'm sorry if that came out.  It's not what I intended.  This seems like it's probably a windows problem.
I compile jline3 with v3.21.0 and everything is fine.  After running rpncalc and exiting, my console's tab will complete files & directories and the up arrow, for example, will show the last command.  Standard stuff.
After running with v3.22.0, when I leave my rpncalc application, the tab/arrows no longer work correctly.  I get "scan codes" (or whatever those are called).    Opening another console works correctly.


Move NavigationServer mesh queries to dedicated file

Moves all the navigation mesh query related read-only functions from NavMap and NavRegion to a dedicated file and makes them static.
This is done ...

in preparation for async and threading related changes that requires things to be static / read-only.
to debloat the NavMap and NavRegion files and make rebasing less of a hassle with them.
to prep for and avoid code duplicates with the region queries from https://github.com/godotengine/godot/pull/96092.

I applied most of the rename suggestions from that linked region PR already here to the existing code that switched files.
For now I left the functions stumps on the NavMap and NavRegion to forward the function calls as I don't want to do an entire workaround for thread-safety and change things twice soon™.

Thanks!


Support overriding device type definitions somehow

For example, if a user has a switch controlling a fan you likely want to control the fan as a fan instead of an outlet.

This overriding should be done at the higher level.
With the new generic base functionality any device can have any command issued against it. So the higher level libraries (like homebridge-isy-js) can provide overrides.


Addon-options back compat

Issue: #5665 #5671
What I did

Add back compatibility for options
Add migration instructions
Add deprecation notice in README
Update official docs

How to test
Update official storybook to use deprecated options like goFullScreen or addonPanelInRight

Waiting on #5773 since this touches the same code


Split out GraphBasedSystems

Codecov Report

Merging #73 (a168c98) into main (edf4f09) will decrease coverage by 40.28%.
The diff coverage is 50.00%.

@@             Coverage Diff             @@
##             main      #73       +/-   ##
===========================================
- Coverage   88.00%   47.72%   -40.28%
===========================================
  Files          95       87        -8
  Lines        5225     5010      -215
===========================================
- Hits         4598     2391     -2207
- Misses        627     2619     +1992

Impacted Files
Coverage Δ

src/gradients/state.jl
0.00% <0.00%> (-89.93%)
:arrow_down:

src/mechanism/constructor.jl
77.14% <ø> (-20.08%)
:arrow_down:

src/mechanism/system.jl
100.00% <100.00%> (ø)

src/solver/options.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/contacts/linear.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/mechanics/energy.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/mechanics/momentum.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/simulation/simulate.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/contacts/collisions/string.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/joints/rotational/impulses.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 60 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


MOTION_BLOCKING heightmap

Objective
Aims to implement #104. This is a draft, I don't necessarily need a review yet.
Solution
The server needs to generate a heightmap when chunks are generated, update them when blocks are changed, and send it in the ChunkDataS2c packet.
I think the implementation should be done in the following order:

[x] Encode (constant) heightmap and send it in the ChunkDataS2c packet
[ ] Generate heightmap when a chunk is generated (should heightmaps be saved when chunks are not loaded?)
[ ] Update heightmap when blocks are changed
[ ] Create a new example or change weather.rs to test the functionality

I think it would be good to update the weather example to show this functionality.

It seems like "motion-blocking" blocks are more or less solid and liquid blocks, waterlogged blocks included. One way to check this would be to examine the packets of the vanilla server in minecraft:debug and from this, generate a mapping from block state to motion-blocking or not. Has something like this been done before for Valence?

You'll want to take a look at the extracted/ folder. That contains the fabric mod we are using to get information from the game.
So it seems like the main thing we're missing is an is_solid method for BlockState.


doc: documentation structure for etcd3

Here is my proposal for our documentation structure
Get started

Download and Build OK

Concepts

Developing

Local setup - OK
Interact with etcd - OK
API reference

Operating

Clustering Setup
Configuration
Security
Monitoring
Maintenance (including backup)
Disaster Recovery

Upgrading and Compatibility

Troubleshooting

/cc @joshix @heyitsanthony @gyuho

/cc @robszumski

Should etcdctl documentation belong Operating or be separate?

@gyuho etcdctl has its own doc i think.

Would it make sense to add proxy details under Operating? Proxy for etcd3 is not there yet I think but add a placeholder for it for now?

@ajityagaty I feel that should be a sub section of clustering in clustering setup? also we should mention in the basic concepts section in developing?

@xiang90 Sure, putting it under clustering makes sense. A mention about it in the basic concepts section will be helpful. Thanks !

@weiliendang opinions?

@heyitsanthony Can you take a look at the Maintenance part in operating section? How to get a backup (the recovery part should be in disaster recovery part), how to do defrag and why. Any other maintenance work we should mention?

@xiang90 I think it'll need information about quota/alarm stuff, possibly something about compaction. Will writeup

@heyitsanthony Right!

@xiang90 I think some re-ordering of the topics could be done here. Not sure what "Developing" refers to. Here is a suggested structure:
Getting Started

Basic concepts
Download & build
Local setup
Interact with etcd
API reference
Clustering
Setup
Configuration
Security
Monitoring
Maintenance (what does this cover; do we need it?)
Backup & recovery
Upgrades
Troubleshooting

Please take these as suggestions. Let me know what you think.

@xiang90 I think some re-ordering of the topics could be done here. Not sure what "Developing" refers to. Here is a suggested structure:
Getting Started

Basic concepts
Download & build
Local setup
Interact with etcd
API reference

Clustering

Setup
Configuration

Security
Monitoring
Maintenance (what does this cover; do we need it?)
Backup & recovery
Upgrades
Troubleshooting
Please take these as suggestions. Let me know what you think.

@weiliendang I understood the "developing" part to indicate a section that's only relevant to handling the etcd code. People using etcd through etcdctl aren't necessarily going to be interested in the details of the RPC APIs or building from source.

@heyitsanthony @weiliendang Yea. I feel etcd has two set of audiences: developers and system operators. Developers care more about how to write code against etcd and they want to have a simple etcd setup. On the other side, operators do not care the API details of etcd. They care more about how to set up a cluster in secure and maintainable way.

Like as a developers they do not really care about how to upgrade etcd since its not their responsibility. But operators need to care about how to upgrade etcd from one version to another.

Ok I understand what you guys are saying. What if we renamed the headings to something like "Developing with etcd" and "Cluster Operations"?  In the first heading, maybe just move up "Basic Concepts". In the second heading, I would keep all of the bullets you have but re-order a bit along the lines I suggested. Does that work?

I think generally you understand my directional feedback. It doesn't have to be implemented literally.

@weiliendang Yes. Sure. The order was pretty random previously. I will rework this as you suggested.

@weiliendang I re-structured the doc as you suggested. I am not sure if we want to put concept at the second place. Not everyone has to read the concept... (Or most people will just want to learn as they go). For example, in riak doc they put Learning at the end: http://docs.basho.com/riak/kv/2.1.4/learn/

Looks fine. Minor thing: would make Troubleshooting one word.

Quickstart
** Download and Build OK

Developing (building apps atop etcd)
** Local setup - OK
** Interact with etcd - OK
** API reference

Operating
** (HA) Clustering Setup
** Configuration
** Security
** Monitoring
** Maintenance (including backup)
** Disaster Recovery
** Upgrading and Compatibility
** Troubleshooting

Concepts (for those contributing to etcd itself)


rfc: lint docstrings

As a random developer reading open issues and PRs, I will find it useful to know that these linter errors are part of the project of adding linters and not a random regression.
Since you'll be making a bunch of "add linter" and "fix the linter errors" PRs, A link back to the parent #23188 would be helpful (Yes, I see that this is 23187 and you added that directly after this.  :smile: )

Add docstring linting to core, langchain, partner packages #23188


Consider vendoring Qt.py to improve compatibility.

Vendoring Qt.py to replace direct PySide2 and Shiboken imports will improve compatibility with earlier (and later) version of Maya.

Interesting idea. But this is not something I'm planning to change at the moment. But I'll keep it in mind. Thanks!


Added Progress Bar | Issue #58

I have added a multi-colored progress bar that also matches the theme of the GDSCs.
https://github.com/user-attachments/assets/deb15582-00c8-49e1-bbfc-47c17c3eed7d
Completed #58

@rishicds sir, review and merge

level 2

agree 👍


Add missing lang，Update en_us.json

Added "block. Homeostatic. Purified_water_fluid"

Adding in other PR


Item Filter issue with passive mobs

Hello!
I have placed a grid of 3x3 item filters all setup like this:

I wanted cows and chikens to fall trough the blocks when placed on top. But it does nothing. Also I dont know what item to represent the different animals, but I guess those should work. Does it also know if the animal is adult or not?
rftools-1.12-7.14

That's not what the filter does. It filters items. Not entities. i.e. items that are piped in with conduits from nearby chests


GIT MV destination file already exists

When I run the following commands:
cd docs/home/system-builds/cronulla
convert_web_page.py -rg 13-patch-oms-to-12-1-0-3-2.html

The following output is generated:
git mv '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/system-builds/cronulla/13-patch-oms-to-12-1-0-3-2/13 Patch OMS.log?attredirects=0&d=1' '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/system-builds/cronulla/13-patch-oms-to-12-1-0-3-2/13 Patch OMS.log'

When this command is run, the output is:
fatal: destination exists, source=docs/home/system-builds/cronulla/13-patch-oms-to-12-1-0-3-2/13 Patch OMS.log?attredirects=0&d=1, destination=docs/home/system-builds/cronulla/13-patch-oms-to-12-1-0-3-2/13 Patch OMS.log

This was caused by an incomplete rollback of a previous conversion attempt. The issue was fixed by a git rm followed by a git add:
cd docs
git rm 'home/system-builds/cronulla/13-patch-oms-to-12-1-0-3-2/13 Patch OMS.log?attredirects=0&d=1'
git add 'home/system-builds/cronulla/13-patch-oms-to-12-1-0-3-2/13 Patch OMS.log'

This gives a GIT status of:
renamed:    home/system-builds/cronulla/13-patch-oms-to-12-1-0-3-2/13 Patch OMS.log?attredirects=0&d=1 -> home/system-builds/cronulla/13-patch-oms-to-12-1-0-3-2/13 Patch OMS.log

The issue is now closed.


Adding link to events page from top nav

Adding "events" page to top nav and also replacing Kubeflow Summit with GSoC reference.

@thesuperzapper the navigation changes you are recommending in #3667 for the "events" for your review.

@rareddy I just saw that we have a page for Kubeflow Summit 2024 on CNCF website, which is co-located with KubeCon EU 2024:

https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/co-located-events/kubeflow-summit/

Let's use that link and update the info to:

Title: "Kubeflow Summit EU / KubeCon EU"
Date: "19 March, 2024"
Location: "Paris, France"

Also, no need to capitalize the location.

@rareddy sorry to suggest one more change, but after looking at it, I think it will probably look better to only have one "EU" in the title, so something like Kubeflow Summit / KubeCon Europe
After that, it's great, and we will need one of the root approvers to accept it.

@james-jwu @zijianjoy can you please approve this small website update?
It replaces the old Kubeflow Summit link with the Kubeflow Summit/KubeCon Europe one (which is happening in 6 weeks).
/lgtm

@rareddy actually we should use a calendar logo for the "events" link, probably just use the same one as the "KubeCon" link.

Ok, @james-jwu @zijianjoy after that small update it should be ready to approve now.
/lgtm

/lgtm
/approve


add doctor.el for shell and update readme

Added doctor.el check for shellcheck when flycheck is enabled.
Updated dependency documentation in readme.org for sh lang.
Removed commands section because none of the commands exists (and do not work either).

Sorry for the late response. Nice work and thank you for the help!

No problem.


Dismissing the legal disclaimer regarding software licensing, etc., and decompilation

I understand that MS needs to ensure that IP is being honoured, and hence the need for the dialog warning about this when the ILSpy decompilation is used. I am finding, however, that each day, when I navigate to decompiled sources, I am shown this dialog. Is there a way to stop this dialog being shown permanently? I don't mind seeing it once... but to see it each day I use this feature gets, um, annoying!

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

ID: 9f28ec7e-9069-4d36-632c-e195e7f6b21b
Version Independent ID: ebe0a750-17c5-dfa7-f0c2-b35ebfdd45f6
Content: Viewing type definitions - Visual Studio
Content Source: docs/ide/go-to-and-peek-definition.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @gewarren
Microsoft Alias: gewarren

@jnpwly  It looks like you have product feedback rather than documentation feedback. If you are looking for functionality that isn’t currently provided by the product, please use our “Suggest a feature” option in the Visual Studio Developer Community. We’d be happy to have this on record, where others can view it and upvote it, too. For more information about this works in the dev community, see our Suggest a feature page.


Fix top bar on mobile

On mobile, it's currently not possible to reach the search button
We should make the top bar mobile friendly

Done in 92c1cbf


nerdctl system prune -a removes volumes in use too

Description
nerdctl removes an image from private registry on nerdctl system prune -a
root@machine:~# nerdctl ps
CONTAINER ID    IMAGE                             COMMAND                   CREATED         STATUS    PORTS                     NAMES
fe0ba1bdaf95    docker.io/library/registry:2.7    "/entrypoint.sh /etc…"    16 hours ago    Up        <IP_ADDRESS>:5000->5000/tcp    registry
root@machine:~# curl http://localhost:5000/v2/_catalog
{"repositories":["python"]}
root@machine:~# nerdctl system prune -af
root@machine:~# curl http://localhost:5000/v2/_catalog
{"repositories":[]}

Steps to reproduce the issue

nerdctl run -d -p 5000:5000 --restart=always --name registry registry:2.7
nerdctl pull registry.hub.docker.com/library/python:3.9
nerdctl image tag registry.hub.docker.com/library/python:3.9  localhost:5000/python:3.9
nerdctl push localhost:5000/python:3.9
nerdctl system prune -af
curl http://localhost:5000/v2/_catalog

Describe the results you received and expected
nerdctl shouldn't remove images from inside of a private container registry.
What version of nerdctl are you using?
1.7.6
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
Client:
 Namespace:     default
 Debug Mode:    false

Server:
 Server Version: v1.7.16
 Storage Driver: overlayfs
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Log: fluentd journald json-file syslog
  Storage: aufs native overlayfs
 Security Options:
  apparmor
  seccomp
   Profile: builtin
 Kernel Version: 5.4.0-88-generic
 Operating System: Ubuntu 20.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.109GiB
 Name: machine
 ID: 165e5604-e251-4d53-aeda-4ef52c811b35

@AkihiroSuda I ll take this one

@AkihiroSuda the faulty part seems to be container prune.
Reading the code, I just do not get it.
Looks like we are not checking anywhere what the status of the container is BEFORE deleting anon volumes and other state dir and resources. We list containers with client.Containers then call RemoveContainer on all of them. We start deleting resources. Then half way through, we stop (or not).
So, calling container prune leaves dangling (running) containers whose resources and state have been deleted.
To me, it seems this command (container prune) is just very broken.
Am I misreading this?

Fixed.
@AkihiroSuda can you close this?

Thanks!


[ bug ] Can't change group view ( in 9.9.0 )

This is in version 0.9.9
If I click on the group selection box, nothing happens, the dropdown does not show up.

Version 0.9.8, with the latest version, updates, it's also affected by this.
But, If I refresh the browser this will be fixed.

In version 0.9.9, after refreshing the browser, the drop down list will also show up (  if only one workflow is open ).
But the other group views are empty.


Supervisor Meeting, Scheduled, Wednesday, Dec 6, 5:00, Teams

Topics

[x] aiortc as backend server, more research needed to customize it for our project.
[x] Frontend development has been started.
[x] Started working on other course requirements: 1. Unit testing deployment pipeline 2. Document updates

Question

[x] Do we have stakeholder group want to use our product? One of our course requirement is that we need to have stake holders to test our product and fill out a smaller survey to see how can we refine it.

Attendance

[x] @qstommyshu
[x] @yex33
[x] @marischan888
[x] @jiaoa3
[x] @KehaoHuang

Members in research lab will be off from Dec 23rd - Dec 25th


Update Postgres Demo to Use Data Adapter NPM Package

DVDRental App uses Realm Data Adapter NPM Package
Pin Pods and NPMs to specific working versions
Add the ability to edit the App Film Titles Directly
Simplify Adapter.js code - work with remote Postgres Server

cc: @mbalex99 @alazier

Couple things:

the name of the Node SDK is realm-1.7.1.tgz in the Mac bundle
Having to change the Postgres config in multiple places is hard
It crashes when I run node adapter.js after running node setup.js:


Implement binfmt support

Currently we hardcode loading ELF files, but it would be nice to have support for other binary formats (including shebangs).
Along similar lines, we should probably figure out what is actually architecture-specific for ELF loading.

Implemented


Adding general solutions of some trigonometric equations

I would like to add general solutions of trigonometric equation like sintheta= 0 then theta=npi and many more such equations.
Please assign this issue to me

@sairish2001 Can I work on this issue?

Go ahead
Feel free to ask your doubts,if any
Deadline 27 March,2021 (11:59 PM IST)

@sairish2001 I have created the PR. Please review it .


Iterative Merge Sort

added Iterative Merge Sort

Excellent work @vishalGUPTA-vg Thanks a lot for making this PR.


Adding context manager which closes socket

This lets us use Session as a context manager like:
with wapi.Session(...) as session:
   ...

When leaving scope, close the http connection made by requests.

@volueinsight/dev-core  This is a nice modification acc to me. I would be in favour of having this unless someone sees a concern


INTERNAL_EEPROM_PORT undefined.

The PCF8563_RTC will not compile in the arduino IDE,
Around line 270 in the pcf8563.cpp  the following code exists.
void PCF8563Class::initialize (void)
{
	INTERNAL_EEPROM_PORT.begin();
	initialized = true;
}

The result when a compile is attempted is:
ibraries\PCF8563_RTC\src\PCF8563.cpp:371:3: error: 'INTERNAL_EEPROM_PORT' was not declared in this scope
INTERNAL_EEPROM_PORT.begin();
The MCU is a SAMD processor on an Adafruit QT board.
I can't find a declaration for the "INTERNAL_EEPROM_PORT" in the PCF8563.h file either.
Is there a typo?  Or missing include.  The error occurs on all of the examples included with the library.  (SetEpoch for example).
Arduino  IDE is 1.8.19

The PCF8563_RTC will not compile in the arduino IDE,
Around line 270 in the pcf8563.cpp the following code exists.
void PCF8563Class::initialize (void)
{
	INTERNAL_EEPROM_PORT.begin();
	initialized = true;
}

The result when a compile is attempted is:
ibraries\PCF8563_RTC\src\PCF8563.cpp:371:3: error: 'INTERNAL_EEPROM_PORT' was not declared in this scope INTERNAL_EEPROM_PORT.begin();
The MCU is a SAMD processor on an Adafruit QT board.
I can't find a declaration for the "INTERNAL_EEPROM_PORT" in the PCF8563.h file either.
Is there a typo? Or missing include. The error occurs on all of the examples included with the library. (SetEpoch for example).
Arduino IDE is 1.8.19

I have come across this issue too, but it doesn't happen when I actually upload to the P1AM-200 module that the library is made for. It only happens when I compile without being connected to the P1AM-200 board or having the board selected.

I am using a lilygo t-echo and run into the same issue. Cannot compile:
libraries\PCF8563_RTC\src\PCF8563.cpp: In member function 'void PCF8563Class::initialize()':
libraries\PCF8563_RTC\src\PCF8563.cpp:371:3: error: 'INTERNAL_EEPROM_PORT' was not declared in this scope; did you mean 'INTERNAL_RTC_PORT'?
371 |   INTERNAL_EEPROM_PORT.begin();
|   ^~~~~~~~~~~~~~~~~~~~
|   INTERNAL_RTC_PORT

I was able to compile it doing this:
Open the file PCF8563.cpp located in c:\Users\julien\Documents\Arduino\libraries\PCF8563_RTC\src\.
Look for line 371 where it says:

cpp
INTERNAL_EEPROM_PORT.begin();
Replace this line with:

cpp
INTERNAL_RTC_PORT.begin();
Save the file and try compiling your code again.


domain to whitelist for messenger lite

mqtt-mini.facebook.com
Unable to send message if this is not whitelisted.

@psipher Thanks for reporting, it will be added to optional-list.txt


Add ja2-stracciatella source/binary(armhf+x86_64) install script.

I have been tinkering a bit more on this script. Binary installation is now possible for armhf and x86_64.
Also rpSwap is called upon building from source. ja2 will be started with -fullscreen parameter. It has a more informative help screen.
Maybe you like to add it to your repo until (if ever) it gets into official RetroPie-Setup.

looks good to me, just more cleaned up then the one i have, i like


How can I tell what golang I have in my bosh release?

So I'm looking through some old commits to try to determine which golang is used in which versions of my bosh release.
I found this commit: https://github.com/cloudfoundry/routing-release/commit/e78291370b6cf551aabc43c2c9b401c4809f3b00#diff-86049765a1952429282e24ebc5708900
What version of golang did it upgrade us to?
I see lots of hex.   I've tried searching this repo for the hex strings and looking at the resulting yaml files that are returned from the search.  I am confused.

I agree that this is a problem, and is something that we could do better improving.
However, at the moment we aren't really thinking that much about bosh-packages and vendor-package. They are currently are low on our list of priorities right now, and are potentially thinking about deprecating them in favor of a more complete solution.
If you have any ideas on how to improve the experience, we are definitely open to suggestions / contributions.

side note here is the code for version we actually ended up with (test on xenial)
version=$(cat /tmp/release.tgz | tar -Oxz packages/golang-1-linux.tgz | tar z --list | grep -ohE "go[0-9]\.[0-9]{1,2}\.[0-9]{1,2}")

Backfilled notes for the past 10 releases; agreed it would be helpful to automate the release notes.
tick='`' ; for yml in $( find releases/ -name 'golang-*.yml' | gsort -rV ); do echo "# $( bosh int --path=/version $yml )" ; echo ; echo Dependencies: ; echo ; for pkg in $( bosh int $yml --path=/packages | grep name: | awk '{ print $2 }' | grep -v -- -test | grep -- -linux | gsort -rV ); do echo -n " * $tick$( echo "$pkg" | sed 's/-linux//')-*$tick: go" ; curl -sr 0-1048576 "https://bosh-packages-golang-release.s3.amazonaws.com/$( bosh int --path="/builds/$( bosh int --path=/packages/name=$pkg/version $yml )/blobstore_id" .final_builds/packages/$pkg/index.yml )" | tar -tzf- 2>/dev/null | grep amd64 | head -n1 | sed -E 's#.+go([0-9\.]+)\..+#\1#' ; done ; echo ; done

I got back to this again while looking to monitor repositories that are using vendor-package [to know if they're out of date]. But for that to be practical, need a way to map versions/fingerprints to the go version. I made this which will work for a while, but it's hacky.
Any ideas (or more interest) on a sustainable way to track and maintain this sort of information?


Charon consumed over 1 GB memory.

toping a local rancherOS HOST two days ago, I found charon process consuming suspiciously over 1 GB of RAM. This was consistent over a reboot and persists today.
I can't judge if this elevated memory consumption is expected, though.
 2545   995 root     S    1179m  15%   0% /usr/local/sbin/charon --debug-dmn 1 --debug-mgr 1 --debug-ike 1 --debug-chd 1 --debug-cfg 1 --debug-knl 1 --debug-net 1 --debug-asn

Or am I misinterpreting something?

What command did you use to produce that line?  It's not quite ps, ps aux, top, etc.  Just wondering if that's maybe virtual size vs resident, and if that 15% is %MEM (which would imply that it is 1.1gb resident on an 8gb host).

Its top on RancherOS,
1179m corresponds to VSZ and 15% to %VSZ

ah, busybox top :smile:..  Yes, that seems quite excessive.

@blaggacao wow, that's a lot.  Is that virtual or resident?  What is the traffic on the host like?  lots of connections.... not many?

oh I misread @blaggacao .. VSZ is the size of the virtual address space and largely meaningless...  How much is actually resident?

@ibuildthecloud It is bare metal, a Dell Zino HD with 8 GB RAM.
We are just testing our onsite deploy model. Alle Stacks that were part of ELK are stopped, only Registry with a Load Balancer is running.
@vincent99 I was suspicious about the VSZ, too. busybox top doesn't give me more information. You were right, no worries:
[rancher@rancher ~]$ cat /proc/2545/status
Name:   charon
State:  S (sleeping)
Tgid:   2545
Ngid:   0
Pid:    2545
PPid:   995
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
FDSize: 64
Groups:
NStgid: 2545    1150
NSpid:  2545    1150
NSpgid: 2544    1149
NSsid:  2544    1149
VmPeak:  1208164 kB
VmSize:  1208164 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:      3992 kB
VmRSS:      3992 kB
VmData:  1114532 kB
VmStk:       136 kB
VmExe:        12 kB
VmLib:      5124 kB
VmPTE:       320 kB
VmPMD:        16 kB
VmSwap:        0 kB
Threads:        17
SigQ:   1/30576
SigPnd:<PHONE_NUMBER>000000
ShdPnd:<PHONE_NUMBER>000000
SigBlk:<PHONE_NUMBER>000000
SigIgn:<PHONE_NUMBER>001000
SigCgt:<PHONE_NUMBER>000448
CapInh: 0000003fffffffff
CapPrm: 0000003fffffffff
CapEff: 0000003fffffffff
CapBnd: 0000003fffffffff
Seccomp:        0
Cpus_allowed:   3
Cpus_allowed_list:      0-1
Mems_allowed:   00000000,00000000,00000000,00000001
Mems_allowed_list:      0
voluntary_ctxt_switches:        111
nonvoluntary_ctxt_switches:     39

Is this because of stack/heap allocation?

@blaggacao I don't think you meant to close this?

@blaggacao VSZ is the size of the address space the executable has access to, not necessarily what it is using.  It also includes all the address space for shared libraries it loads, etc.
@deniseschannon he did, this is a non-issue.. virtual space is free :-)

You guys are awesome! :smile:


Update deployment user guide

Follow up https://github.com/kubernetes/kubernetes.github.io/pull/127#discussion-diff-56277180
cc @bgrant0607 @amygdala @kargakis @pwittrock @johndmulhausen

As this PR seems to be a writing style thing, which I am indeed most cool with (yay, second person), I'm waving it in.


Remove lodash from the dependencies

Since we only use 2 of its methods, and sparingly, we should find a way to obtain the same result without the lodash dependency.

Fixed by recent merges of #23 and #29


BART generated summaries on CNN/DM and XSum

❓ Questions and Help
What is your question?
Could you release the output of BART on CNN/DM and XSum for better reproducibility? Thank you!

@morningmoni  Sorry we can't here due to legal reason. I will release Xsum readme shortly. What stopped you from reproducing CNN/DM


Performance testing for Chrome - Calculate the time of response by a classic method, using a stopwatch

Description : Verify on Chrome browser the response time of loading the website https://oportunitatisicariere.ro/index.html# using a stopwatch.
Precondition: It needs a stopwatch available

Step 1 : Prepare a stopwatch/ timer.
Expected result : Open the timer application but not start it

Step 2: Type in the Chrome browser the name of the website :  https://oportunitatisicariere.ro/  but don't click enter
Expected result : The website can be written

Step 3 : When pressing enter also press the stopwatch start button .
Expected result :  These 2 actions should be done simultaneously

Step 4: Stop the timer when the website is loaded.
Expected result : The website is loaded and the timer is stopped.

Step 5 : Verify on the timer if the response time is low.
Expected result  : The response time should be under 2 seconds.


Review 4: ManageDatabase.jsx and VerificationTable.jsx

Overview
Please pay attention too:

JavaScript issues
React components

Review Branch
review-4
Files to review

ManageDatabase.jsx
VerificationTable.jsx

Checklists

Architecture
Design
JS
React

Due date
Monday, 10/7/2024
For more information
The review process is documented at: http://courses.ics.hawaii.edu/ics414s21/morea/review/reading-idpm-review.html

ManageDatabase.jsx:
JS-04: Lines 16-22 could use deconstruction where result in the .then block could instead be timestamp. This way result.timestamp on Line 19 could be changed to just timestamp.
REACT-01: On line 26, the Dump Database button could be made into a separate component only if Manage Database is planning to be expanded upon later on.
VerificationTable.jsx:
REACT-06: On line 11, withTracker should be used instead of useTracker.

ManageDatabase.jsx
L11: Design-09: databaseFileDateFormat could be placed into a constants file in utilities or just in settings.development.json
VerificationTable.jsx
L21-23: JS-05: Use arrow function

ManageDatabase.jsx
DESIGN-05: L14-L21: Succinct comments describing what is happening during the saving file process.
L25-27: Components should be implemented in its own component file and imported into a page to use.
VerificationTable.jsx
L21-23: Meteor.call() function should include a way to handle errors. If the method throws an error, the first argument in the callback is the error. Meteor.call() functions return two arguments, the error and the result.

VerificationTable.jsx
JS-04: User can be destructured. L40
Could use comments.
If table becomes bigger, might need to adjust column sizing. md{7}.
ManageDatabase.jsx
Could use comments.
Might be good to separate as a component if more things are added to the page.

ManageDatabase.jsx
Maybe a couple comments
Line 26: Always specify the type attribute for a  element, to tell browsers what type of button it is.
VerificationTable.jsx
Line 46: Always specify the type attribute for a  element, to tell browsers what type of button it is.

ManageDatabase.jsx
Design-07: Ensure code is readable:
Some additional comments to ensure readability incase we need to further modify this file.
VerificationTable.jsx
JS-05: Use arrow functions when appropriate:
Function verifyButton(user) can be an arrow function.

ManageDatabase.jsx

what is zip = new ZipZap() ? add comments for readability
display instructions to the webpage about what it is about and what it is used for

VerificationTable.jsx

maybe have a way to delete users if necessary?

VerificationTable.jsx:
REACT-06: L11: withTracker should be used instead of useTracker.
ManageDatabase.jsx
DESIGN-05: L14-L21: Add concise comments explaining the file-saving process.


Legal Documentation and Wiki Documents

name: Legal Documentation and Wiki Documents
title: 'DOC Legal and WIki'
Description
Legal Documentation and Wiki Documents
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[X] DEPENDENCIES are up to date. Dash license tool. Committers can open IP issues for restricted libs.
[X] Copyright and license header are present on all affected files

Additional information

To request a review, check out who's involved to see a list of contributors and committers
Use the mailing list if you are unsure, who to contact, or if want to engage in a general discussion
Check out our guide on how to contribute
Check out our Release Guidelines
Check out the Eclipse Foundation contribution guidelines

Maybe this article could be a good starting point for rewriting the git history: https://mhagemann.medium.com/how-to-change-the-user-for-all-your-git-commits-ffefbacf2652
Good luck!


chore(main): release 0.5.2

:robot: I have created a release beep boop
0.5.2 (2023-11-14)
Miscellaneous

logging and set_multiple operation improvements (#23) (fe1513a)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/momentohq/drupal-cache/releases/tag/v0.5.2 :sunflower:


chore: Upgrade to latest rdkafka

Hopefully the fix for segfault on exit improves the stability of our test suite https://github.com/appsignal/rdkafka-ruby/pull/223
https://github.com/appsignal/rdkafka-ruby/blob/main/CHANGELOG.md#0120

The answer to that question is no it was not fixed https://github.com/open-telemetry/opentelemetry-ruby-contrib/actions/runs/4668499156/jobs/8265673529?pr=409


Update first_steps.rst

Just a typo. It seems load_configuration it doesnt exist.

Thanks for the correction @thomarite !


Create a template repository for custom rules

Github provides the idea of "template repositories". When you know how to create a default rule in detekt it's really easy to do it. But If you don't know it's a puzzle with a lot of failing points.
We should create a template repo so anyone can use it as a scaffolding.
Related: #3850 and #3829

Ups! I duplicated this here: #3967 and it's done now.


ComponentWillUnmount called when component children update

I have a bit of code, the gist of it is below.  The issue I'm running into is that conditional uodates inside the modal itself is causing componentWillUnmount to run, even when I don't modify isOpen or remove the modal from view.  I even tried hard-coding isOpen to true and still see the issue.  This causes the removal of "ReactModal__Body--open" which I need to style my root div.
What am I doing wrong here to cause didUnmount to fire?
.ReactModal__Body--open  {
overflow-y: hidden;
& #root {
filter: blur(5px);
}
}
From the codebase, Line 162 in ModalPortal.js:
bodyOpenClassName && classList.remove(document.body, bodyOpenClassName);
Example
`

const [showContentA, setShowContentA] = useState(true);
{showContentA
?
Content A
 setShowContentA(false)}>Show Content B
:
Content B
 setShowContentA(true)}>Show Content A
}

`

Hi @oneillsp96, thanks for reporting this issue.
Can you make a reproducible example on codepen or codesandobox?

I could not repro with a small example, and moving the full example code over would take me longer to do than it would be worth.  Just wondering if anyone has had a similar issue (componentWillUnmount running before isOpen is set to false causing "ReactModal__Body--open" to be removed).  Is there any method that would let me tap into componentDidUpdate and manually reset "ReactModal__Body--open" back to the root div if props.isOpen is true?  Do you think a PR would make sense to always re-add ReactModal__Body--open" to body in componentDidUpdate if props.isOpen is true and the class doesn't exist?

Not sure. It would be better to have a reproducible example, so anyone can help debugging this.
Is your modal inside a conditional render? Something like...
{someVariable && <Modal ... />}

Understandable.  No it’s not inside a conditional render. I just removed the style for now, if I get time I will try to get a working codesandbox up.
Just can’t figure out how the modal is staying open but componentWillUnmount is running.


[BUG] Problem with unmanned mining ships to gas planets

AdvancedRocketry-1.12.2-1.4.1-120-universal, on ftb continuum 1.6
I have not tried yet with any later build, I had not been able find any specific mention in current or past issues
LibVulpes-1.12.2-0.3.0-45-universal
Minecraft 1.12.2, ftb continuum pack 1.6
Hi
I seem to have an issue with unmanned mining rockets for gas planets, I've asked in the discord server and was asked to submit a report
The process works fine scanning the rocket from the unmanned assembly, it is fine building it too.
I have linked it from the monitoring station, it shows fuel as empty and then shows it full when I add fuel to it.
I am able to launch the rocket from the monitoring station, and get the expected animated sequences
Unfortunately, the monitoring station does not show any mission or countdown after it has launched the rocket
I have noticed that subsequent tries of rockets try to launch themselves automatically, if they are still linked to either a fuelling station or monitoring station (the last one was filled manually without a refuelling station to see if the refuelling station was causing the issue)
Another unexpected behaviour, is that when I log back in to the server (or TP to the space station) I can see 4 rockets going off into the distance (I have tried 4 rockets in total) - what I see was the last part of the initial animation sequence of the rockets accelerating with engines blazing
I have tried this a few times, and going to a different gas planet to rule the planet out
I am playing on a server network, unfortunately I am unsure of which sponge version is being used (or which plugin tool) at present
I hope this makes sense!
Many thanks

this does seem to be server related, as I can perform the mission successfully in SP, and the monitoring station shows the mission and the countdown with none of the other strange issues that I am seeing

it turns out that they were just fling around a few hundred blocks in front of the station. I dissasembled them and retried. it worked after that


create innocuous_file.txt

test this please

test this please

test this please

test this please

test this please

test this please

test this please

@idigs, @quantumsteve, @cianciosa On my machine (famous last words), I added all compiler flags from an older case that worked (in branch beidler-new-laptop:build_scripts/build_ne_gpu.sh). Initially, when running cuda-gdb it said that I had no recognized CUDA device. I then updated my CUDA drivers, and a subsequent build ran successfully. I parred down the additional compilation flags to using c++ libraries and "-mp". What I added to this PR was those compiler flags but still got the same error as before.

test this please

please test the correct commit 4f944a7

My last "please test" instead sent main at 95e4c88 to ExCL


Bug in satisfiesExactlyInAnyOrder due to usages of equals and hashCode in the implementation

equals and hashCode are used in the implementation of satisfiesExactlyInAnyOrder (when they definitely aren't needed). This can result in incorrect assertion results.

assertj core version: 3.25.1
java version: 17
test framework version: n/a
os (if relevant):

Example of the issue:
public class MyTest {

  @Test
  void shouldPassButFails() {
    StringAndInt first = new StringAndInt("X", 1);
    StringAndInt second = new StringAndInt("X", 2);
    assertThat(List.of(first, second)).satisfiesExactlyInAnyOrder(
        stringAndInt -> assertThat(stringAndInt.integer).isEqualTo(2),
        stringAndInt -> assertThat(stringAndInt.integer).isEqualTo(1)
    );
  }

  private static final class StringAndInt {
    private final String string;
    private final int integer;

    private StringAndInt(
        String string,
        int integer
    ) {
      this.string = string;
      this.integer = integer;
    }

    @Override
    public int hashCode() {
      return string.hashCode();
    }

    @Override
    public boolean equals(Object o) {
      return (o instanceof StringAndInt other) && other.string.equals(string);
    }

    @Override
    public String toString() {
      return "StringAndInt{" +
          "string='" + string + '\'' +
          ", integer=" + integer +
          '}';
    }
  }
}

This test fails with
Expecting actual:
  [StringAndInt{string='X', integer=1}, StringAndInt{string='X', integer=2}]
to satisfy all the consumers in any order.

but should pass.
The problem is that the use of List::remove in the implementation results in the wrong element being removed.
In general we believe there are a number of bugs in assertj due to unnecessary usages of equals and hashCode, and think that the best way to weed them out is to have unit tests using classes where equals and hashCode throw exceptions.

Thank you for reporting it, @PBoddington!

In general we believe there are a number of bugs in assertj due to unnecessary usages of equals and hashCode, and think that the best way to weed them out is to have unit tests using classes where equals and hashCode throw exceptions.

Do you have any specific examples in mind?

Thanks for fixing so quickly!

In general we believe there are a number of bugs in assertj due to unnecessary usages of equals and hashCode, and think that the best way to weed them out is to have unit tests using classes where equals and hashCode throw exceptions.

Do you have any specific examples in mind?

One other thing was https://github.com/assertj/assertj/pull/3340 but it's hard to give other specific examples right now. This came about because as an experiment to see if people in our org were writing code relying on undocumented equals/hashCode behaviour of certain core classes, we changed the implementations to simply throw exceptions to see what tests failed. Many of the exceptions we saw were coming from assertj itself. The reason it's so difficult to say whether these are bugs or not is that it would not be a bug in itself for assertj to be calling equals/hashCode on the arguments passed. I'd have to go through the exceptions and find if equals/hashCode was being used correctly. In this particular case I was able to see quite quickly that it was a bug, but other exceptions require more analysis. I'll create more issues if I do find any more.

Thanks, Paul!
@joel-costigliola is already looking at #3340. I couldn't spot any other obvious case where the same mistake happened but we'll keep an eye on it.


fix: Kubelet args examples, and set the same as defaults

Closes #1109

Seems like they are ideally suited to this? If they are minimum requirements and the goal is to add them to all nodes and control planes? Maybe I have missed something.

As I've added them currently, if you don't specify anything in the node pool sections, settings are applied. If you do specify anything, it's overridden. So it is applied correctly to all of the nodes.

I am learning as I go, but have encountered some out of memory issues with these memory limits. Only under totally unreasonable strain and non-production, but was expecting it not to be possible to encounter a total crash but for pods to be evicted.
Going to try again with this: https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#node-pressure-eviction-good-practices
This is the issue encountered: https://www.suse.com/support/kb/doc/?id=000018698

Hmm interesting.. We could also add those other claims but I myself am not using any swap on nodes. I will try out ZRAM soon in my cluster but swap to disk is generally bad and should be avoided especially for Kubernetes nodes (even though it was recently introduced to this script). Have you tried with ZRAM only (compressing RAM instead of swapping to disk)?

I am learning as I go, but have encountered some out of memory issues with these memory limits. Only under totally unreasonable strain and non-production, but was expecting it not to be possible to encounter a total crash but for pods to be evicted.
Going to try again with this: https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#node-pressure-eviction-good-practices
This is the issue encountered: https://www.suse.com/support/kb/doc/?id=000018698

One of my nodes on production randomly stopped working (even ssh isn't available). I'm investigating if this might be the cause. I guess this is related to system-reserved and not kube-reserved?

I have no idea. I had the same happen to one of my clusters recently. We need to have better monitoring of both cluster and nodes to be able to debug.

@mysticaltech Do you have these kubelet args set there?

@mysticaltech Do you have these kubelet args set there?

@aleksasiriski  It was an old cluster deploy a few months back. So probably not using kubelet args. I have replaced it since then, so now using latest with defaults and seems ok. Will continue to monitor.


Handle merged schemas in parquet pruning

Which issue does this PR close?

Closes #2161
Rationale for this change

Adding schema merging to ParquetFormat broke pruning since the existing implementation assumes that each file in the ListingTable has the merged schema. In the best case this just prevents pruning row groups, but in certain cases (such as #2161) it can cause runtime errors and possibly incorrect query results.
What changes are included in this PR?

Two changes:

When gathering column statistics during pruning, we need to find row group columns by name instead of the index in the merged schema.  2.
When collecting statistics during a ListingTable scan, we need to map file-level statistics to the expected schema of the tables merged schema.

Are there any user-facing changes?

No

Yes, in order to map the statistics to the merged schema, we need to pass the merged schema to FileFormat::infer_stats.

FYI @Cheappie

Thanks agian @thinkharderdev


change socket.emit to socketServer.emit for compatability with socket…

….io-adapters in cluster mode

Hey, there wouldnt that result in the execution result being broadcasted to any client?

Gonna close this due too missing feedback/clarification


Option for change the default keyboard shortcut

The default hotkey is conflict with another program...
Could you give an option to change it ?

I don't plan to add this in near future. PRs welcome.


[ASK] windows11 22H2

windows11 22H2 安装不了。

您所选择的体系结构与本地安装文件的体系结构不匹配，请重新选择体系结构，或不使用本地安装文件进行部署。

Have you previously downloaded "64位的" and selected "32位的"?
Go to the "安装文件" section and check the information. If necessary, delete the files (全部删除) or change (选择) the source.
In theory, the program should have chosen the correct bit depth, if you did not change it manually.

选择
选择安装文件时，请选择任意一个 CAB 文件。
体系结构和更新通道将自动匹配此安装文件。


How to change the size of a character (bf, opponent and gf) in a certain stage

Describe your problem here.
Does anyone know how to change the size of a character (bf, opponent and gf) in a certain stage?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

https://github.com/ShadowMario/FNF-PsychEngine/wiki/Lua-Script-API:-Object-Functions#scale-functions


Update azure pipeline scripts to support quick deployable samples

Purpose

Related to Quick Deploy Feature. Sample data are delivered by an azure cdn. This PR will modify the azure pipeline to support modification to be done to samples for the above feature.

Changes

Validate and add imageUrl field for QD samples.
Validate existence of Quick Deployable tag  QD services
Validate existence of endpoint.yaml for QD services
Validate existence of openapi.yaml for QD REST services

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Squash and merge


Add checkpointing for crash- and restart-resilience

The ingester will now checkpoint its unpersisted in-memory state to a checkpoint file (checkpoint.db by default) regularly and at shutdown, and it will recover from this checkpoint upon startup.
There's also a new flag that allows configuring whether the ingester should try to flush all unpersisted chunks to Chronix when shutting down orderly, or whether it should just dump them to its checkpoint. The checkpoint will be written out in both cases, but will be empty in case all chunks were flushed out successfully upon shutdown.

@FlorianLautenschlager @phxql

Great!

@FlorianLautenschlager GitBook and test setup both updated.


How to select test-id?

I want to migrate some of my unit tests from React Testing Library to RITEway.
I'm stuck with a particular one for a list of contacts. Each row in the list of contacts has a data-testid attribute like this const testId = `contact-${key}`;. Where key can be firstName, lastName etc.
<div data-testid={testId}>
  {contact[key]}
</div>

The tests look like this:
describe('ContactList', () => {
  describe('given a list of contacts', () => {
    const props = { contacts };

    it('displays the last name of all contacts', () => {
      const { getAllByTestId } = render(<ContactList {...props} />);

      const given = getAllByTestId('contact-lastName');
      const actual = pluck('textContent')(given);
      const expected = pluck('lastName')(contacts);
      expect(actual).toEqual(expected);
    });
  });
});

Where contacts is an array of objects (contacts). pluck is from ramda. As you can see, I already mimicked the given, actual and expected pattern of RITEway.
How can I query for test ids with RITEway? And can you query for multiple like the getAll selector?

How can I query for test ids with RITEway? And can you query for multiple like the getAll selector?

If you're talking about element ids, there should only be one result in the rendered output. HTML entity IDs should be unique per page.
You can select by id using: $('anElementID')

$.data('testid') will return the testid value.
$('div[data-testid="some-id"]' will select by a specific testid.

@ericelliott Thank you for the answer. Interesting, so you think there is no problem with having classNames scattered over the code to select elements  🤔That would also make working with RITEway and UI libraries like Material-UI easier.

you think there is no problem with having classNames scattered over the code to select elements

No problem at all. That's what className is for. HTML classes are the selector API of the web.

@ericelliott Thank you for your tips!


Support hostname in addition to public IP for zetaclient

Public IP is used in the zetaclient config file or the MYIP env variables. We should support DNS hostnames here as well or instead.
Asked for by BlockDaemon and other valdiators.

@lumtis bumping this. It would be helpful to get this done so we no longer have to rely on hard coded IPs in localnet.

There should be an option to have this all automatically detected via STUN


David/aks monitoring aad auth

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

N/A
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

aks

One thing I'm wondering about: The arguments --workspace-resource-id is registered for az aks create (here) but not az aks enable-addons (here), even though it's used for both commands.
Is this intentional or should I also add the argument to az aks enable-addons?

One thing I'm wondering about: The arguments --workspace-resource-id is registered for az aks create (here) but not az aks enable-addons (here), even though it's used for both commands.
Is this intentional or should I also add the argument to az aks enable-addons?

The parameters registered under az aks create are only for az aks create and az aks create's subcommands (if it has). You need to register this parameter under az aks enable-addons again~
But for the common properties of this parameter, you can configure it as CLIArgumentType and reuse it in those registered places.

I believe all comments are addressed. Please let me know if anything else needs to change before this PR is merged.