Events are not getting distributed among multiple consumers(Only a single consumer receives events from all the partitions)

Bug Report

import path of package in question, e.g. .../services/compute/mgmt/2018-06-01/compute
SDK version e.g. master, latest, 18.1.0

Specify the exact commit if possible; one way to get this is the REVISION
column output by go list -m <module>, for example go list -m github.com/Azure/azure-sdk-for-go/sdk/azcore.

output of go version

What happened?
What did you expect or want to happen?
How can we reproduce it?
Anything we should know about your environment.

Hey folks , i am using this azure sdk in golang for testing the received events from eventhub according to partitions with multiple consumers running parallely, but events were not getting distributed as per partitions.
I am using this azure sdk currently: github.com/Azure/azure-event-hubs-go/v3
Suppose there is running multiple consumer running parallely, so events should have get distributed to each consumers but now it is distributed to single consumer.
Please take a look into this.
Thanks in advace.
Happy Go.

Does Go version of Eventhub Receiver Library supports automatic load balancing when there are multiple consumers. Do multiple cusumers get lease for unique Eventhub's Partition. So that they could receive events parallely from eventhub.

Hi @devak8,
This repository is for the github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs package. The package you're mentioning (https://github.com/Azure/azure-event-hubs-go) is deprecated.
With that said, in Event Hubs the way that it works is that consumers are associated with partitions. So if more events are being sent to a single partition then only one consumer will be able to actually read events.
Have your sending patterns changed, with events no longer being distributed evenly across partitions?

@PremSahooESL - yes, both the package in this repo (github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs) and the deprecated package use a checkpoint store to ensure load is distributed.
As I mentioned above though, we don't receive in parallel on a single partition.

@richardcho-msft please consider the case below:
With 5 partitions and 5 consumers, in Go Version of SDK only one consumer keeps receving data from all 5 partitions, even though we have another 4 consumers, they are just idle. Which is wrong. In this case each consumer should receive from a dedicated partition (the way JAVA Version SDK works).

@PremSahooESL, to clarify - are you and @devak8 working together? I want to make sure we're only troubleshooting one problem at a time.
Also, I'm assuming @richardcho-msft was tagged accidentally and you meant to tag me (@richardpark-msft ), correct?

I just ran a test version of this and it all seems to work the way you'd expect - a single processor dominates for a short period of time until it balances out and I see that all processors are receiving events.
Can you give me some more details about your application? Do all of these processor instances use the same storage container?
Also, can run the application with this tracer it'll surface some more diagnostic information:

Copy the contents of this file into your application somewhere (you'll need to adjust the package to something appropriate) stderrTracer.go
In your application register the tracer:

tab.Register(&stress.StderrTracer{NoOpTracer: &tab.NoOpTracer{}})

Now what we should see is output like this, where each 'eph' instance reports what partitions it has acquired:
2023/10/04 15:44:13 DEBUG: eph "9dd37e11-d3a5-4c4c-b73a-aff16f52b2ba": acquired: [{"partitionID":"2","epoch":1,"owner":"9dd37e11-d3a5-4c4c-b73a-aff16f52b2ba","checkpoint":null,"state":"available","token":"a077a32c-556a-48da-bcd2-4bf6e0b1ba47"} {"partitionID":"1","epoch":1,"owner":"9dd37e11-d3a5-4c4c-b73a-aff16f52b2ba","checkpoint":null,"state":"available","token":"c45ea84d-1685-4dd2-ba03-eec172d50c94"} {"partitionID":"3","epoch":1,"owner":"9dd37e11-d3a5-4c4c-b73a-aff16f52b2ba","checkpoint":null,"state":"available","token":"ce312d0f-dc9a-4176-9d18-4eee2988155d"}], not acquired: [{"partitionID":"0","epoch":0,"owner":"","checkpoint":null,"state":"available","token":""} {"partitionID":"4","epoch":0,"owner":"","checkpoint":null,"state":"available","token":""}]

There will also potentially be ERROR messages and others as well.
If you can run your program with this enabled and add the output here (suitably anonymized if there's anything you don't want shown) it'll give me a spot to start.

@PremSahooESL, to clarify - are you and @devak8 working together? I want to make sure we're only troubleshooting one problem at a time.
Also, I'm assuming @richardcho-msft was tagged accidentally and you meant to tag me (@richardpark-msft ), correct?

Sorry for tagging wrong user.. it was supposed to be you (@richardpark-msft )
Correct... me and @devak8 are working together..

Can you give me some more details about your application? Do all of these processor instances use the same storage container?
Just to answer your question above.
Yes, all our processor instances use the same Storage Container. We will crosscheck this part and share the result here.

Consumer: 1
2023/10/06 15:46:14 DEBUG: eph "8ca2238d-3751-441d-9fb4-9f8673f2d999", partition "2", epoch 8: lease renewed
2023/10/06 15:46:16 DEBUG: eph "8ca2238d-3751-441d-9fb4-9f8673f2d999", partition "1", epoch 7: lease renewed
2023/10/06 15:46:17 DEBUG: eph "8ca2238d-3751-441d-9fb4-9f8673f2d999", partition "4", epoch 7: lease renewed
Consumer: 2
2023/10/06 15:45:47 DEBUG: eph "e3f7cb86-2e03-4304-967d-20ff50119509", partition "0", epoch 8: lease renewed
2023/10/06 15:45:50 DEBUG: eph "e3f7cb86-2e03-4304-967d-20ff50119509", partition "3", epoch 9: lease renewed

In our previous test. we were using GoLang based consumer and Python based consumer. So the partition lease was not accurate. As they were using different Storage container for checkpointing.

Thanks for your support @richardpark-msft

Thanks for your support @richardpark-msft Richard Park (DEVDIV) FTE

Just want to check - you're saying this issue can be closed?
Also, second check - was it intentional that you run both languages side-by-side? Just curious about the setup - was the idea that you incrementally upgrade/change out the language? Or just an accidental configuration?

This issue can be closed.
Just to answer your second check, please see below.
It was the test setup initially to run 2 consumers with 2 different languages. The expectation was both cosnumers should equally distribute the data from partitions. Is it that , even though consumers are of different languages, still they must use the same storage container for checkpoint? then only the distribution of eventhub partitions will work properly?
Intentionally, we were trying to run 2 different consumers with 2 different languages but it was accidentally with 2 different Storage Checkpoint containers.


[Frontend][Keras] Fix Dense with 3d inputs

Squeeze takes a list of ints, but keras frontend had a case where it used a single int which caused the following error:
TVMError: In function relay.op._make.squeeze: error while converting argument 1: [18:39:52] /home/ubuntu/incubator-tvm/include/tvm/runtime/packed_func.h:1618: ----------------------------------
-----------------------------
An internal invariant was violated during the execution of TVM.
Please read TVM's error reporting guidelines.
More details can be found here: https://discuss.tvm.ai/t/error-reporting/7793.
---------------------------------------------------------------

  Check failed: type_code_ == kTVMObjectHandle: expected Object but got int

@siju-samuel @jwfromm @mbrookhart @leandron Could you please review?

Thanks for the review @mbrookhart @leandron
The tests are passing now.

Thanks @trevor-m @leandron


Add Carthage support

Add pre-built framework to repository.
IBDesignable will not work with Carthage!

Please release a version (tag-version) since it is requirement for Carthage. maybe 1.0.1

Thank you


How to use?

How do you use the merger with redux-storage?

+1

digging through code I found this:
https://github.com/michaelcontento/redux-storage/blob/master/src/reducer.js
looks like the merger can be passed to the storage.reducer function.
import immutableMerger from 'redux-storage-merger-immutablejs'; const reducer = storage.reducer(rootReducer, immutableMerger);

Nice!! Thanks

Added to the README in 7125950b28816e04cff0d1717058249f8d28106c


What is the progress bar beneath each file for?

What is the progress bar beneath each file for?

Its the time for the next announce.


:sparkles: Validation for command-line flags

What kind of change does this PR introduce?
feature
(Is it a bug fix, feature, docs update, something else?)

[x] PR title follows the guidelines defined in our pull request documentation

What is the current behavior?
What is the new behavior (if this is a feature change)?**

Included validation for command line flags.
[x] Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes
https://github.com/ossf/scorecard/issues/1693
Special notes for your reviewer
Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

Included validation for command line flags.

@naveensrinivasan in our last sync you mentioned this PR needs more work. Let us know when this is ready for review.

@naveensrinivasan in our last sync you mentioned this PR needs more work. Let us know when this is ready for review.

It is ready fo review.

Not stale.


Hide peer detail view if multiple are selected

Currently if multiple peers are selected the peer detail view shows the first new selected peer.
With this PR the peer detail view is hidden when multiple peers are selected. It is also a slight refactor to simplify and remove duplicate code.

This was done while reviewing #6, @hebasto maybe you could take a look too.

Concept ACK.

Strange, in macos that didn't happen. Was that on startup? On opening peers tab?

Strange, in macos that didn't happen. Was that on startup? On opening peers tab?

On startup.

@hebasto should be fixed now, selectionModel() can return nullptr.

@hebasto should be fixed now...

Testing right now.

selectionModel() can return nullptr.

The Qt docs keeps silence about nullptr :)

Right, I saw qabstractitemview.cpp where it also has the check.

@promag
How about the following patch which fixes the problem described in the OP:
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -593,7 +593,7 @@ void RPCConsole::setClientModel(ClientModel *model)
         ui->peerWidget->verticalHeader()->hide();
         ui->peerWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
         ui->peerWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
-        ui->peerWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
+        ui->peerWidget->setSelectionMode(QAbstractItemView::SingleSelection);
         ui->peerWidget->setContextMenuPolicy(Qt::CustomContextMenu);
         ui->peerWidget->setColumnWidth(PeerTableModel::Address, ADDRESS_COLUMN_WIDTH);
         ui->peerWidget->setColumnWidth(PeerTableModel::Subversion, SUBVERSION_COLUMN_WIDTH);

?

Multiple selection is enabled and used when you use the context menu.

tested  https://github.com/bitcoin-core/gui/commit/76277cc77dea39b53e09ee1c440cd37270826201 on debian and lubuntu VM's on top of master and other changes so far LGTM

@promag
Due to this connection
https://github.com/bitcoin-core/gui/blob/76277cc77dea39b53e09ee1c440cd37270826201/src/qt/rpcconsole.cpp#L626
not sure if added in the latest push updateDetailWidget(); is required at all.

@hebasto right, I've added it just to be sure view is updated. I also thought of blocking signals to prevent unnecessary updates because of that signal. Another thing we could do is to add const CNodeCombinedStats* m_current_node_stats, this way we can skip unnecessary work in updateDetailWidget.

Weak Concept NACK
My mail program also shows the most-recently-touched message when selecting multiple, so the current behaviour isn't too weird. I'm not sure there's a benefit from hiding it?

@luke-jr

Weak Concept NACK
My mail program also shows the most-recently-touched message when selecting multiple, so the current behaviour isn't too weird. I'm not sure there's a benefit from hiding it?

But the GUI shows not the most-recently-touched peer details rather the first-touched one's. Therefore, this pull is an improvement, I think.

Either hide or show last selected looks good to me.

Tested ACK 76277cc77dea39b53e09ee1c440cd37270826201.
Should this be considered a bugfix?

Thanks.


Fix noexcept specification on swap

See this commit of akrzemi1/Optional and its issue 56.

Fixed in d9d8cbed0a7e051e91b8d246355b2e7f4545abad


Siddhi 5.1.0 release not yet synced in maven central

Description:
Siddhi 5.1.0 release has not yet been synced with maven central. Hence it's under WSO2 Releases.
Affected Siddhi Version:
Siddhi v5.1.0

Raised this to mvn central team. Let's see..
https://issues.sonatype.org/browse/OSSRH-48087?focusedCommentId=749478&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-749478

It is synced now..


Fixed CORS And Options for Login

when calling the MeController.Login method from Angular it was erroring
for PreFlight Options.  Had to move the CORS configuration to the start of the
service configuration to fix this issue
https://github.com/HTBox/allReady/issues/1097

I am going to pull this in so as to unblock any of the mobile app work but of course @stevejgordon @MisterJames let me know if you have any review comments for follow up issues


NTR: 1,4-dioxin --- and general classification of dioxins

CHEBI has no class with a label or synonym 'dioxin'. Perhaps not surprising given this is a broad term.
WP has a broad class: https://en.wikipedia.org/wiki/Dioxins_and_dioxin-like_compounds
But it also has the 'canonical' dioxin:
https://en.wikipedia.org/wiki/1,4-Dioxin
This doesn't appear to be in CHEBI
Then there is
https://en.wikipedia.org/wiki/Polychlorinated_dibenzodioxins
Which does exist in CHEBI
CHEBI:36682 ! polychlorinated dibenzodioxine
However, this has no direct role associated with it. It should be classified as an environmental contaminant.
I'm not exactly sure what the best course of action is, perhaps

add 1,4 dioxin
add 'dioxin' as a BROAD syn to this term AND/OR as a syn of CHEBI:36682
assign role to CHEBI:36682
consider a very broad class grouping dioxin and dioxin-like compounds?

add 1,4 dioxin Now done (CHEBI:134044)
add 'dioxin' as a BROAD syn to this term AND/OR as a syn of CHEBI:36682 Done (for both)
assign role to CHEBI:36682  Done [has_role persistent organic pollutant (CHEBI:77853)]
consider a very broad class grouping dioxin and dioxin-like compounds? _Done.

have created polychlorinated dibenzodioxines and related compounds (CHEBI:134045) with child terms polybromobiphenyl (new; CHEBI:134049), polychlorobiphenyl (CHEBI:53156), polychlorinated dibenzodioxine (CHEBI:36682), polychlorinated dibenzofuran (new; CHEBI:134046).

Let me know if there are any terms or relationships missing.
Best regards,
Gareth


Doesn't work with Steam

I set up keyd using the Quickstart config file to swap Esc with CapsLock.
It works except for Steam games.
When I am on a Steam game, pressing CapsLock does nothing at all, while pressing Esc shows the popup that informs me that CapsLock is on/off.
I have tried doing it at the display server level with:
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:swapescape']"

but I obtained the exact same result.
Do you know why?

My guess would be the game is accessing the input devices directly. This is unusual behaviour for most programs, but in the case of steam games all bets are off. The output of journalctl -fu keyd after reproducing the problem (running a game) might yield some clues to help confirm this.

So the response is that the "Esc" key works (it means, it acts as CapsLock), but CapsLock does not work (it does nothing).
There is nothing in that log, except that the daemon started and the devices is managing (I don't understand why it's managing also my mouse and my Yubikey)

Sorry, I misread your original post. If escape is functioning as capslock then keyd still has control the keyboard. What is your full config? Bear in mind that if you are using overload then an extraneous <control down> <control up> event will be emitted, which some games may not like.

I don't understand why it's managing also my mouse and my Yubikey

Presumably because those things can emit key events (so keyd treats them like keyboards). You will probably want to explicitly blacklist the corresponding ids. If you still have problems please open a dedicated issue.

My /etc/keyd/default.conf is:
[ids]

*

[main]

# Maps capslock to escape when pressed and control when held.
capslock = overload(control, esc)

# Remaps the escape key to capslock
esc = capslock

Bear in mind that if you are using overload then an extraneous   event will be emitted, which some games may not like.

I don't know what overload is

In this case it allows capslock to behave as control when held and escape when tapped. In order to achieve this it emits control as soon as capslock is held and releases it when capslock is released, if no other keys have been struck in the interval it will emit escape. In most cases this isn't an issue, but most games will probably map control to something important. Try using just capslock = esc instead.

Yes! It works with capslock = esc! Thank you very much!
Do you by any chance know why it doesn't work at the display server level with:
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:swapescape']"

?

The game is likely using evdev directly, which bypasses the display server's input mechanism. The advantage of keyd is that it operates at a lower level and avoids this problem. In general I would avoid mixing keyd and display server input logic.

I've been running into this problem as well. Removing the overload does indeed work, but I would like to keep the tap/hold functionality because I use both often. Is there a better workaround for this?

I ran into this in Hades (the Windows version running through Proton), can confirm changing the capslock binding from overload(control, esc) to esc works as expected.
I tried using the included application mapper script to set capslock = esc for the window class steam_app_<appid> (as reported by xprop) but it doesn't seem to do or log anything (I'm running plasma on x11 and it seems to have a few implementations of its functionality for different desktops though so YMMV).
interception-tools with its caps2esc plugin doesn't have this issue but requires more configuration than I'm comfortable with to get escape to act as control when used in combination with a mouse input so I'll be sticking with keyd for now.

Might this not be related to https://github.com/rvaiya/keyd/issues/732? Ie the game doesn't register keyup-keydown events that happen instantaneously? To confirm, I would expect capslock = macro(esc) to also not work.
If so, the solution would be the same as there: allow configurable time between keyup and keydown.


Update seeds fix field name, acts_as_list bug

@scytacki These are upadates we made yesterday to allow rake db:setup to run without errors.
1: AuthClient field name is actually client_type
2: acts as list insert_at() was throwing errors, and is not needed.
[#176802061]

Looks good to me. I'll wait to see how the tests work out before approving.
We were wondering why this issue didn't break the travis builds. From what I can tell the travis builds don't use db:setup, so they don't run seeds.rb.
Instead they do
https://github.com/concord-consortium/rigse/blob/c0ba1faca08978b0b8f6c895ad7e14024c18cd7f/rails/script/travis_before_script#L17-L20
Which doesn't load the seeds.


Invalid policy setting for /api/dogs: inRole("dogs") does not correspond to any of the loaded policies.

Node version: 10.15.-
sails: ^1.2.3,
sails-hook-orm: ^2.1.1,
sails-hook-sockets: ^2.0.0,
sails-mysql: ^1.0.1
Development environment

Any clue about this Error:
Invalid policy setting for `/api/dogs`: `inRole("dogs")` does not correspond to any of the loaded policies.

I have a file /api/policies/inRole.js that looks like this:
module.exports = (role) => (req, res, next) => {
  if (req.user && req.user.inRole(role)) {
    next();
  }

  res.status(403).json({message: `No access to the endpoint ${req.path}` });
};

And in the file config/policies.js I have this:
module.exports.policies = {
  '/api/dogs': 'inRole("dogs")'
};

I don't understand what I am doing wrong that would produce this error.

@intervalia AFAIK there is no support for expressions when setting policies for controllers/routes.  So instead of:
'/api/dogs': 'inRole("dogs")'

you'd need to define a separate policy, e.g. /api/policies/inDogsRole.js:
module.exports = (req, res, next) => {
  if (req.user && req.user.inRole('dogs')) {
    next();
  }

  res.status(403).json({message: `No access to the endpoint ${req.path}` });
};

and reference it like so:
'/api/dogs': 'inDogsRole'

Obviously you could create a shared library for the generic inRole(role), but still a little fiddly.

I understand your way of doing things but we have several endpoints that can take one of several roles. So we need to be able to define these roles in a group (Array) And your current system makes that difficult.
What I would really like is the ability to do this:
In the file file /api/policies/inRole.js:
module.exports = (roles) => {
if (!Array.isArray(roles)) {
roles = [roles];
}
return (req, res, next) => {
if (req.user && req.user.inRole(roles)) {
next();
}
res.status(403).json({message: `No access to the endpoint ${req.path}` });

};
}
And in the file config/policies.js:
module.exports.policies = {
'/api/dogs': 'inRole(["dogs","cats","birds"])'
};

I agree this would be a useful improvement to how sails handles policies.
Looking at the source code at https://github.com/balderdashy/sails/blob/master/lib/hooks/policies/index.js, you might achieve what you want by assigning functions directly in the policy mapping, e.g.
module.exports.policies = {
  'mycontroller/action': (req, res, next) =>
      hasAnyRole(req, res, next, 'dog', 'cat', 'bird'),
  ...
};

function hasAnyRole(.. // implement role lookup and confirmation as appropriate

These functions are almost certainly ExpressJS middleware (https://expressjs.com/en/guide/writing-middleware.html).
You could then clean up the policy definitions by generating the policy functions themselves:
module.exports.policies = {
  'mycontroller/action': hasAnyRole('dog', 'cat', 'bird'),
  ...
};

function hasAnyRole(...roles) {
  return (req, res, next) => _hasAnyRole(req, res, next, ...roles),
}

function _hasAnyRole(.. // implement role lookup and confirmation as appropriate

I've made an example project at https://github.com/alxndrsn/sails-function-based-policies, so you can see what this might look like.  Policies are defined in https://github.com/alxndrsn/sails-function-based-policies/blob/master/config/policies.js.  Note that this example uses client-provided headers in place of roles retrieved on the server-side.
Reading https://sailsjs.com/documentation/concepts/policies, applying functions as policies like this doesn't seem to be a documented feature.  OTOH this is a reasonably safe bet, as according to the commit history it was implemented in 2016.  Maybe one of the sails team can tell us how dependable this feature is for future sails versions.

Hey, @intervalia!
@alxndrsn is correct in saying that policies don't currently allow the passing in of dynamic data to be evaluated and verified. When we have a situation like yours, we either create multiple policies to cover our various permission cases, or—where permissions vary a great deal—we handle permissions verification in the action itself.
As for assigning functions in the policy mapping, since this isn't a documented feature, we can't make any guarantees regarding its longevity as a solution.

FYI: I am no longer on this project and have no way of validating if this is working or not. I still think it would be a good feature. Others will have to validate if it works.

For anyone coming to this issue, you may want to take a look at https://github.com/luislobo/sails-hook-rbac.


System unavailable: Jenkins master

System is not restarting properly. Comes up but then stops responding. Unclear if it was related in any way to the work being done for https://github.com/AdoptOpenJDK/openjdk-build/issues/2455 this morning
Final entry in the log at the time of the most recent failure was:
2021-02-09 10:38:21.766+0000 [id=65]	INFO	o.j.p.P.u.DropCachePeriodicWork#doRun: begin schedule clean...
2021-02-09 10:38:32.075+0000 [id=65]	INFO	o.j.p.P.u.DropCachePeriodicWork#doRun: end schedule clean...
2021-02-09 10:40:15.423+0000 [id=1255]	INFO	hudson.slaves.ChannelPinger$1#onDead: Ping failed. Terminating the channel test-macstadium-macos1015-x64-1.
java.util.concurrent.TimeoutException: Ping started at<PHONE_NUMBER>077 hasn't completed by<PHONE_NUMBER>291
	at hudson.remoting.PingThread.ping(PingThread.java:134)
	at hudson.remoting.PingThread.run(PingThread.java:90)

Reboot did not resolve. I'm wondering if we've hit a memory limit ...

Switched back from an OpenJ9 VM to HotSpot (despite it running ok for about two months) and it's managed to start up again. Reason unclear, but I'll close this unless it recurs.

Didn't last long. CPU was still sitting at 100% (all 8 cores) more or less constantly.
Have adjusted JVM startup options to be -Xmx16g -Xms8g and it's now started and feeling more responsive. CPU load still high but not critical.


Docker yields black scan only

Using your docker compose suggestion.

Can you please provide the pdf as input that you used?
Cristián Lehuedé

El 26 abr 2022, a las 7:41, magnus @.***> escribió:

Using your docker compose suggestion.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.


Note: For a limited period through June 30th 2018, backup charges and IO charges are free of charge.

The Note information in the following link is obsolete.
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-faq#how-does-the-vcore-based-usage-show-up-in-my-bill

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

ID: c6183de3-cebc-e546-a5c8-3bd41878bbfd
Version Independent ID: f90294c3-9236-2332-01bc-78fd0adb9374
Content: Azure SQL Database FAQ
Content Source: articles/sql-database/sql-database-faq.md
Service: sql-database
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

@kazshi Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@Mike-Ubezzi-MSFT please assign to anosov1960

@kazshi Updated the note to reflect current reality

#please-close

@CarlRabeler I see it's changed to "For a limited period" - does it mean that the charges are still free and no specific period?

@kazshi still free until further notice - and advance notice of any charges will be provided

#please-close

Got it. Thank you for the update.


No generation TLO files

I want to build a library for android. As I found the information, I execute:
mkdir -p build_native
cd build_native
cmake .. -DTD_DIR=${TD_DIR} || exit 1 #is OK
cmake --build . --target prepare_cross_compiling || exit 1 #is OK
cmake --build . --target tl_generate_java || exit 1 #crash width
cd ..

However, when executing target prepare_cross_compiling, I see this
Scanning dependencies of target tl_generate_json
[ 95%] Generate JSON TL source files
[ 95%] Built target tl_generate_json
Scanning dependencies of target generate_common

But at the next target:
+ cmake --build . --target tl_generate_java
[ 50%] Built target tdtl
Scanning dependencies of target td_generate_java_api
[ 50%] Building CXX object td/td/generate/CMakeFiles/td_generate_java_api.dir/generate_java.cpp.o
[ 50%] Building CXX object td/td/generate/CMakeFiles/td_generate_java_api.dir/tl_writer_java.cpp.o
[ 75%] Linki
ng CXX executable td_generate_java_api
[ 75%] Built target td_generate_java_api
Scanning dependencies of target tl_generate_java
make[3]: *** No rule to make target '/mnt/c/Users/aurum/Documents/clean-build/td/td/generate/scheme/td_api.tlo', needed by 'CMakeFiles/tl_generate_java'.  Stop.
make[2]: *** [CMakeFiles/Makefile2:395: CMakeFiles/tl_generate_java.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:402: CMakeFiles/tl_generate_java.dir/rule] Error 2
make: *** [Makefile:164: tl_generate_java] Error 2
+ exit 1

I want to clarify that when I build version by tag v1.7.0, this problem does not arise and everything works correctly.
This problem occurred to me on v1.8.0 and master.
fullLog.txt

I fixed the problem by changing the address in my CMakeFile:
set(TD_API_TLO_PATH "${TD_DIR}/td/generate/scheme/td_api.tlo") ->
set(TD_API_TLO_PATH "${TD_DIR}/td/generate/auto/tlo/scheme/td_api.tlo")

You did it right. td_api.tlo path was changed, so the build scripts need to be modified accrodingly.


Fix failFast bug:   When a node in the middle fails, the entire workflow will hang

The dependencies are as follows :
step1：      A
          /     \
step2：  B       C
         |
step3：  D
         |
step4：  E

If node D is failed, the workflow will hang forever.
Test case is here:

dag test case
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: dag-primay-branch-
spec:
  entrypoint: statis
  templates:
  - name: a
    container:
      image:  docker/whalesay:latest
      command: [cowsay]
      args: ["hello world"]
  - name: b
    retryStrategy:
      limit: 2
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["sleep 30; echo haha"]
  - name: c
    retryStrategy:
      limit: 3
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["echo intentional failure; exit 2"]
  - name: d
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["echo intentional failure; exit 2"]
  - name: e
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["sleep 30; echo haha"]
  - name: statis
    dag:
      failFast: false
      tasks:
      - name: A
        template: a
      - name: B
        dependencies: [A]
        template: b
      - name: C
        dependencies: [A]
        template: c
      - name: D
        dependencies: [B]
        template: d
      - name: E
        dependencies: [D]
        template: e

Name:                dag-primay-branch-lp5pl
Namespace:           default
ServiceAccount:      default
Status:               Running
Created:             Wed Jul 10 18:28:16 +0800 (1 hour ago)
Started:             Wed Jul 10 18:28:16 +0800 (1 hour ago)
Duration:            56 seconds

STEP                        PODNAME                             DURATION  MESSAGE
 ✖ dag-primay-branch-lp5pl
 ├-✔ A                      dag-primay-branch-lp5pl-3094159288  7s
 ├-✔ B(0)                   dag-primay-branch-lp5pl-3061932104  38s
 ├-✖ C                                                                    No more retries left
 | ├-✖ C(0)                 dag-primay-branch-lp5pl-4091940749  8s        failed with exit code 2
 | ├-✖ C(1)                 dag-primay-branch-lp5pl-1206440544  6s        failed with exit code 2
 | ├-✖ C(2)                 dag-primay-branch-lp5pl-3890315131  10s       failed with exit code 2
 | └-✖ C(3)                 dag-primay-branch-lp5pl-3420688894  5s        failed with exit code 2
 ├-✔ D                      dag-primay-branch-lp5pl-3178047383  4s
 └-✔ E                      dag-primay-branch-lp5pl-3161269764  3s

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

@jessesuen Pls help review this, thank you .


Cleaning out former members

Please let me know if you all see any additional former members that should be part of this clean-up PR
CC @sabre1041

Yea if you don't want it merged please leave as draft but really I think it might be better to do in smaller goes in case we have revert anything if someone accidentally gets removed that shouldn't


Bug in onReadable

It looks like this function doesn't exist in 2.0?
However, this affects Aerys with php-uv reactor.
In native:
Amp\onReadable( $this->socket, function ( $watcherId, $socket ) use ( &$data ) {
  $data[2] .= @fread( $socket, 1024 );
  . . .

That will work, even if the fread doesn't read all the data in one go, it will still call the function on the next tick. With php-uv, it will not. It appears that it has to wait until new data hits the socket. This means that a programmer would have to know the maximum buffers of the socket in the target environment, or risk missing the tail end of a transaction.

The reason here is that the default chunk size is 8192. If you read less than that, PHP may have locally buffered data, which just stream_select() is aware of. (Other backends like libevent aren't aware of it either.)
If you use any multiple of 8192 in fread, you won't occur such an issue.
Or you have to explicitly lower the stream chunk size for that stream via stream_set_chunk_size().
It's not per se a bug, but one does have to be aware of that behavior and needs to be documented accordingly.
p.s.: In Amp v2.0 we currently recommend using \AsyncInterop\Loop::onReadable() directly.

@bwoebi Could you add a PR to async-interop/event-loop regarding that?

@bwoebi  Should probably be stream_set_read_buffer() instead of stream_set_chunk_size()? Or does stream_set_chunk_size() set the size for read and write?


Keep pages DRY

Originally posted by @chalin in https://github.com/DarikshaAnsari/in-toto-docs/pull/11#discussion_r1704757062

@DarikshaAnsari - I believe that you copied this from the README of the demo repo. We don't want the same information in two places, so either the README will need to be shortened, and a link added to this page (once it becomes a part of the official site), or we can find a way later to fetch the page a build time.
I'll let @lukpueh comment on his preference here.

@lukpueh also commented in the following:
https://github.com/DarikshaAnsari/in-toto-docs/pull/11#pullrequestreview-2235385362

I like that the buttons and links on the landing page navigate to subpages inside docs. Maybe we can make this more consistent. That is, we map all buttons/links on the landing page to subpages . E.g. we could make "demo" and "friends"   subpages in docs, to which "Try the demo" and "Explore integrations" point to. Those pages can then contain a short description of demo and friends repos and pointers to those repos. I think that might be a less disruptive experience, compared to when the user is directed to external pages right away on the landing page.

By short description I meant a paragraph or so and not the complete README from the demo and friends repos. Replicating all of this content on the website means that we have to either maintain it in two places, or remove it in its original place. Both of which does not seem desirable.

https://github.com/DarikshaAnsari/in-toto-docs/pull/11#issuecomment-2295845188:

Hey @lukpueh, you're right, but I believe the friends section looks nice on the website rather than residing in the README of any GitHub repository. Additionally, for the demo, it's beneficial for all the contributors and integrators of the project to have the demo on one website instead of having to jump to another link placed on GitHub. I think you get my point. I've taken reference from many CNCF documentation websites that do exactly the same, including OpenTelemetry,KCL and many more.

Okay, I'm still not happy of maintaining the exact same content in two places, but I won't insist. Let's have other in-toto project maintainers weigh in, when we merge this upstream.

We should not have the same content in two places. A solution will need to be found. We could pull in the sources from the other repo's at build time, or you could simply write a short description as @lukpueh originally intended.

From https://github.com/DarikshaAnsari/in-toto-docs/pull/11#issuecomment-2307669617:

@chalin @lukpueh I’m thinking of keeping the Adopters and Integrations page because it looks great on the website. Instead, I will update the README content for Friends on GitHub and link it to our website after deploying.

Closing in favor of:

https://github.com/in-toto/in-toto.io/issues/75


local universe build fails

Attempting to build a local universe with make local-universe fails on line 78 attempting to make the docker_artifacts temp folder.  Stacktrace is below.  The temp folder is already created from line 70.  Renaming the docker_artifacts folder resolves the issue.

make local-universe
rm -rf certs &&
rm -f local-universe.tar.gz || 0
python3 /root/universe/docker/local-universe/../../scripts/local-universe.py
--repository /root/universe/docker/local-universe/../../repo/packages/
--include="marathon-lb,zeppelin" &&
docker save -o local-universe.tar mesosphere/universe:latest &&
gzip local-universe.tar
Start docker registry.
cd37c01c3a1d5c68b93c8044e5b8c73dbd9e2a4f03eb593669b31ef55c3ce977
Stopping docker registry.
registry
Traceback (most recent call last):
File "/root/universe/docker/local-universe/../../scripts/local-universe.py", line 333, in
sys.exit(main())
File "/root/universe/docker/local-universe/../../scripts/local-universe.py", line 78, in main
os.makedirs(str(docker_artifacts))
File "/usr/lib64/python3/os.py", line 241, in makedirs
mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/tmp/tmpslp2u9cr/registry'
make: *** [local-universe] Error 1

Apparently the same as https://github.com/mesosphere/universe/issues/907

This should be fixed. Please let me know if you are still seeing this issue.


Communicate with the CosmosDB emulator

Feature Request
Microsoft provides a CosmosDB emulator, and it is possible to talk to this emulator with the .NET Azure SDK. The page even has samples on how to do it.
In the Azure SDK for Go, it seems that the Azure subscription identifier is a mandatory part for creating a database client. The CosmosDB emulator does not seem to have such a concept, only a hard-coded account name (localhost & port number) and the hard-coded primary key.
Is it possible to use the Azure SDK for Go to talk to the CosmosDB emulator? If so, how to accomplish it?
My final goal is (a probably futile attempt) to create a Terraform provider that is capable of reading the database & container configs from a HCL file intended for Azure deployment, and allow creating similar resources into the CosmosDB emulator. Using either the Azure SDK for Go, or the REST API of the emulator directly seem to be the alternatives.
Writing a HCL parser in any other language than Go adds a dependency that must be maintained and monitored, and the idea of this tool is to be as maintenance-free as possible. I am also aware of the CosmosDB free tier account, and the possibility of defining the CosmosDB resources in a JSON file instead of a HCL file, so they could be read by a C# application. These are also potential options.

As an update to the matter, our team decided to put the CosmosDB resource definitions into a JSON file. So, fixing this issue is no longer any priority for us. But perhaps other Golang users might be interested in getting this feature?


Tweak Cassandra driver settings.

Ping @ssprang, verified in test....

F.Y.I, @adamvoncorswant and @progre55...

PR in purchase-service will come...

👍

Wow, nice, throwing 🍠  at @x1a0 ! :)

Great 👍  @xiaodong-izettle and thank you @ssprang !
@xiaodong-izettle I am curious about how did you verify it in test, will this fix the Cassandra issue we have in prod?
(I think I will try to read driver state and push to influxdb/grafana for purchase and cash-register service see if that helps)

I'm not sure actually whether this could anything in prod... But I think it worth trying... :)

@xiaodong-izettle I see. Let's try then :)

When I said verified in test, I meant this did not break anything...

F.Y.I, @adamvoncorswant and @progre55, I'll try this in the evening today around 21:00 in prod...

https://github.com/iZettle/purchase-service/pull/772
This is the other part in purchase-service...

roger, thanks for the heads-up, @xiaodong-izettle

@xiaodong-izettle : Just curious about how the pooling option worked in the previous default configuration. Do you know?

@adamvoncorswant, if you meant the default configuration for datastax Cassandra driver, it's 1 for both core and max size, no matter it's local or remote... (At PoolingOptions::DEFAULTS, if you want the source code)
The driver uses Netty underlying, so I assume the default does make sense...
It's just we are having issues, so I want to tweak this setting...
Hope I made myself clear... :-)

Cool, thanks @xiaodong-izettle . Looks good to me!

Thanks for merging... :)


Support for scala 3.1

Although one can build almond with scala 3.0.1, trying to update the mill files to build with scala 3.1.0 leads to several problems.
First, due to the binary incompatibility between scala 3.1.x and scala 3.0.x, we cannot include both versions of scala3, we have to choose one or the other.
Second, if we include scala 3.1.0, then we cannot cross-build with scala 2.13 and 2.12.; in that case, we can only use scala 3.1.0 and scala 2.13.
Third, in scala 3.1, macros require using the @experimental annotation; this affects the almond Logger that uses logging macros.
Fourth, minor nitpick w.r.t. folks who are trying to build almond on windows; some paths need to be adjusted according to the OS.
Finally, even after resolving all the above (see for example my fork: https://github.com/NicolasRouquette/almond), there are errors that leave me clueless about what is going on:
🕙[ 15:04:16 ] ❯ .\mill.bat -i jupyter 3.1.0
[109/396] shared.channels[3.1.0].compile
[info] compiling 11 Scala sources to<EMAIL_ADDRESS>...
[error] error while loading package, class file<EMAIL_ADDRESS>is broken
[error] (class scala.tools.tasty.UnpickleException/TASTy signature has wrong version.
[error]  expected: {majorVersion: 28, minorVersion: 0}
[error]  found   : {majorVersion: 28, minorVersion: 1}
[error]
[error] This TASTy file was produced by a more recent, forwards incompatible release.
[error] To read this TASTy file, please upgrade your tooling.
[error] The TASTy file was produced by Scala 3.1.0.)
[error] error while loading LoggerContext, class file<EMAIL_ADDRESS>is broken
[error] (class scala.tools.tasty.UnpickleException/TASTy signature has wrong version.
[error]  expected: {majorVersion: 28, minorVersion: 0}
[error]  found   : {majorVersion: 28, minorVersion: 1}
[error]
[error] This TASTy file was produced by a more recent, forwards incompatible release.
[error] To read this TASTy file, please upgrade your tooling.
[error] The TASTy file was produced by Scala 3.1.0.)
[error] C:/opt/local/github.me@com/almond/modules/shared/channels/src/main/scala/almond/channels/zeromq/ZeromqConnection.scala:27:27: almond.logger.LoggerContext does not take parameters
[error]   private val log = logCtx(getClass)
[error]                           ^
[error] C:/opt/local/github.me@com/almond/modules/shared/channels/src/main/scala/almond/channels/zeromq/ZeromqSocketImpl.scala:32:27: almond.logger.LoggerContext does not take parameters
[error]   private val log = logCtx(getClass)
[error]                           ^
[error] four errors found
1 targets failed
shared.channels[3.1.0].compile Compilation failed

I am submitting a PR with all the above changes, not expecting it to be merged but to document the problems that I've ran into and what I tried to fix them.

See https://github.com/almond-sh/almond/pull/918


Platform 'core' does not support dynamic modules

I am trying to compile Blink an LED example for Core with firmware 0.4.5. The console output is empty and in run.log is this:
processing  /workspace/build
processing  /workspace/core_firmware_1447171963844.bin
processing  /workspace/relay.ino
makefile:30: *** "Platform 'core' does not support dynamic modules".  Stop.
arm-none-eabi-size: '/workspace/target/workspace.elf': No such file
Finished in: 0.156344 seconds

The online compilation works.

0.4.5 didn't support dynamic modules on Core. They do work from 0.4.6 and above.

Thanks

When using 0.4.6 with Core I get an empty bin file and this:
processing  /workspace/build
processing  /workspace/relay.ino
../build/module-defaults.mk:95: *** Recursive variable 'TARGET_PATH' references itself (eventually).  Stop.
arm-none-eabi-size: '/workspace/target/workspace.elf': No such file
Finished in: 0.109069 seconds

With 0.4.7 with Core I get a timeout as state in #6.
Photon works with all versions.

How to get SDK 0.4.7? I'm stuck at 0.4.6.

@rei-vilo when you click version in status bar, what are the versions available?

Here's the list:

Updating firmware versions should help (it's possible this was interrupted).

I've just another Update firmware. After a while, the blue window closes down but the higher release is still 0.4.6.

Hmmm, you could try fetching it manually:
$ eval "$(docker-machine env default)"
$ docker pull particle/buildpack-particle-firmware:v0.4.7

Thanks. It worked. Version 0.4.7 now appears on the SDK list.
Maybe the explanation relies on Status: Image is up to date for particle/buildpack-particle-firmware:v0.4.7 docker.io/particle/buildpack-particle-firmware: this image was pulled from a legacy registry.    Important: This registry version will not be supported in future versions of docker.

SDK 0.4.7 not supported because it fails agains Core as per #6?

makefile:20: *** "Platform 'core' does not support dynamic modules".  Stop. still failing on latest branch

We're reworking the Docker buildpacks so until we finish this may persist.


做静态代码分析时，也有好几个 Memory error,影响吗？

做静态代码分析时，也有好几个 Memory error,影响吗？

Originally posted by @zhangtibin in https://github.com/alibaba/coobjc/issues/2#issuecomment-468194137

Logically, there will be no impact, but in order to avoid confusion,  I will fix it.


Desktop Wallet

I know nothing about Android stuff, but can this codebase be somehow reused to make a light desktop wallet?

Yes, it can. No need to change core LN logic but would still require a lot of UI related desktop-specific work.
Also, I'd probably recommend to use Eclair for this purpose since my implementation is absolutely minimal, for example routing stuff is not implemented at all since it's not feasible on mobile, but may be usable on desktop.

@fiatjaf why not just set up a full lightning node and remote RPC to a full Bitcoin node.

@fiatjaf

Routing and stuff is done by Olympus servers, right?

I mean functioning as a routing node to transfer payments from third parties, that stuff is not present in code.

Oh, right.
But exactly, I wanted an app that would work just like BLW for Android, without routing, relying on Olympus servers for a lot of stuff, everything a light, beginner user would want, but in his desktop instead of on Android. I wanted an app my mother could use without caring too much.

@d4amenace I do that for myself, but I'm thinking about normal people here, and I can't offer my node to everybody (even less if I tell them it crashes sometimes). I also don't think Eclair will do well with a remote bitcoind (will it?), lnd doesn't like it a lot, but lightningd does. I'm also not thinking about offering this as a service (although I'm interested in running an Olympus server in the future).

Well, anyway, this wallet has everything you could wish for a nocoiner to being using Lightning, you can even lose your phone and recover everything later with just the mnemonic seed!
Well, now that I know it is possible to run this code as a desktop app I'm inclined to learn Scala just to fork it, but since will take a lot of time for me, I'm asking and waiting to see if someone likes the idea and goes ahead with before :P


ground truth example fails to copy open-images-dataset

The ground_truth_labeling_jobs/from_unlabeled_data_to_deployed_machine_learning_model_ground_truth_demo_image_classification demo fails to copy data from the open-images-dataset because of signed requests.
Workaround is get/put copies.

@rudpot can you copy and paste the error you saw? I was able to successfully download the data set, and upload it to S3. Did you check that the AWS role or user you were using has permission to copy to S3 - namely s3:GetObject and s3:PutObject?

I also could not reproduce the error @rudpot saw, s3.copy worked for me even though I didn't tell the client to use unsigned requests.
I'll close this for now, feel free to reopen @rudpot if the error still occurs for you.


passing in a unknown string as 'version' causes an error

nvm allows you to install the latest node with nvm install node. Current master has an out of bounds error when you try to install with node or use any random string for version.
Added a length check so will not have the error, and another check so it will print the appropriate error in that case. Also added the option to install latest with nvm install node like nvm does.

This was ultimately handled a different way, but thank your for the contribution.


The SDK is on v1 but the API has gone up to v3?

I noticed this while trying to get a larger size of the profile picture.
This SDK uses the v1 API, but the venmo website (and API documentation) uses v3. Is this SDK just really out of sync with the rest of the company or is it on v1 for a specific reason?

v1 is the current version of the Venmo developer API, as seen in our documentation here. This SDK, while maintained in sync with the API, may not always map directly to versions of the Venmo developer API. Any changes to the supported Venmo developer API will be handled by changing to a new major version here, to signify a breaking API change.


[tracking] Change team name in insights-results-aggregator repository

Change team name in insights-results-aggregator repository

Updated via https://github.com/RedHatInsights/insights-results-aggregator/pull/1076


when lock to branch update does not work!

i use Neobundle 'userName/pluginName',''

i use Neobundle 'userName/pluginName','branchName'
then NeobundleUpdate does not work

I have tested the feature, and it works.
I think your usage/check is wrong
Please create minimal .vimrc less than 50 lines and upload reproduce ways from Vim starting.

thank you  i find why
the plugin shows i am not on a branch


Added check for when data was assigned before load

Even if a 'before' middleware assigns to a Resource's data and calls complete() the resource will still load from the network. This prevents cache style middleware from functioning correctly.
Added a check for the existence of data during load and call complete if it exists.
Fixes #57

After this change, I feel like this line will cause issues now:
https://github.com/englercj/resource-loader/blob/master/src/middlewares/caching/memory.js#L9
Don't think Resource is OK with complete being called twice.

It's that example that I'm trying to make work!
The problem with complete() is all it does is raise the complete event, it doesn't actually signal the resource that it doesn't need to load the resource, thus the memory middleware example doesn't work anyway.
Calling complete removes any data or xhr event listeners and raises the complete event. Worst case is complete is raised twice to any listeners, which is an issue when creating an instance of Resource directly but impossible if using the Loader (only the middlewares could attach a listener to the events)
Sent from my iPhone

On 26 Jul 2016, at 18:06, Chad Engler<EMAIL_ADDRESS>wrote:
After this change, I feel like this line will cause issues now:
https://github.com/englercj/resource-loader/blob/master/src/middlewares/caching/memory.js#L9
Don't think Resource is OK with complete being called twice.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Apolgies I didn't see the last part of your comment in the email (on my phone currently). Yes the complete call should be async (if it's called at all) my mistake

The problem with complete() is all it does is raise the complete event, it doesn't actually signal the resource that it doesn't need to load the resource, thus the memory middleware example doesn't work anyway.

Oh totally, your fix is cool. I was just wondering if we should also remove the complete() call from the memory module with this change.

Yeah that's the kind of approach I thought would be better but this was a quicker fix and suited my needs for the moment.
I think tracking completeness of the resource via complete() makes more sense as you'd expect calling complete() externally (via middlewares for example) would mark the resource as loaded to prevent loading (or error if the error member was populated by the caller)

What do you think of #62?

@englercj perfect! Thanks for all the help!


made nutrition card more compact

Description
bootstrap / css / html changes to make the nutrition card more compact
Change Status

[ ] Complete, tested, ready to review and merge
[x] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

Looks good! 🎉


logs to fluentbit or another UDP TCP server

How can we have log collector ?
Specially for timeouts and errors?
I have centralized  log like ELK or Fluentd or FluentBit ... in need special method or config to pass data into log server. JSON is preferred.

Also if log file based on syslog rfc we can use with fail2ban for block unauthorized requests

To keep it simple, I have no plan for it.


Add simple filesystem backend

- Do you want to request a feature or report a bug?
New feature.
- What is the current behavior?
Currently there is no backend which uses the filesystem. This would be useful for local work and testing.
- What is the expected behavior?
There should be a backend available which calls a simple API that allows reading and writing from the filesystem. Netlify CMS should allow you to spin up a local filesystem-backed instance via an npm task.

Hey guys, I'm really interested in developing this feature. I'd like to know some of the tools you use when working with this project so I can have a similar setup.
I'm on MacOS and I'm familiar with Sublime, Atom, Intelli-J (or Webstorm). If you guys use linters or plugins for your editors to ease development, I'd like to know.
If nobody is already working on it, I'd gladly do this.

Well I just found that: https://github.com/netlify/netlify-cms/blob/master/CONTRIBUTING.md
And you address linting, so this should help!

Just realized that from the browser you don't have much access to the FS, how would you proceed?

Would be an awesome contribution!
My thought was to create a cli tool within the cms to start a small server from your project folder that would expose the needed api....

@daddykotex yeah, our plan was to create a small Node server which would provide a simple API which would connect to the filesystem. You'd be able to start that locally and connect the CMS to it for both testing purposes and editing local files. For now we were thinking this would have the same functionality currently supported by the in-memory test backend (so no editorial workflow to start with, which should make that simpler).
I'd be happy to help out if you have any questions about or want any input on implementing this issue. Feel free to ping me here or on the Gitter at https://gitter.im/netlify/NetlifyCMS.

Ok, so this afternoon I started playing with it. I have a branch here: https://github.com/daddykotex/netlify-cms/tree/issue-329/filesystem
Of course, paths are hardcoded, but basically I can retrieve the posts via a small node server like you suggested:
#tab 1
npm run start
#tab 2
npm run fs

Note that I used require because I don't know much about webpack and it was holding me back.

@daddykotex are you still working on this? Let me know if you need any help, or if you want me to start tackling this myself. Thanks for your work so far!

Well, I don't know if you have looked but I wrote a small Node web server to list the files and fetch their content. The commit is there: https://github.com/daddykotex/netlify-cms/commit/1664265a53b0294f57d52b1455e08f0a170dfb4c
I just want to know if I'm heading in the right direction and and if not, what do you want me to change. I have problem running npm run lint on master. I don't know if it's expected or not but before I start polishing my MR I want to make sure I'm on the right track.

@daddykotex I have checked this out - it seems like a solid start. The npm run lint problems are known - @josephearl and I are working on that issue. I like the direction this is going, though it's obviously not finished yet. I was just checking in in case you didn't think you'd be able to continue with that work, as in that case I'd pick up this branch.

So far I have:

A webserver that allows listing and reading of files
A file-system backend implementation that uses the webserver
An example hugo static site along with it netflify-cms configuration

From my point a view, here's what's missing:

Use of webpack for the webserver implementation (I'm really short here)
Saving files via the webserver
Error handling in both the webserver and the file-system backend

Do you need anything else?
#tab 1, i've updated webpack-dev.conf to use fs-example
npm run start
#tab 2
# give the web root directory
npm run fs -- -d ~/workspace/netlify-cms/fs-example/ss-hugo/

Just found netlify and it's really something similar to what i've had in mind myself (started hacking a bit on a clientside-CMS but it's nowhere near completion).
@daddykotex Is the listing/reading/etc following REST semantics?
One suggestion i think might be considered (that i thought as a starting point for my own project) would be to add a "blob" backend also, with a single HTTP(S) endpoint that uses Basic Auth and only supports GET/PUT operations for a JSON data blob. It might not be as flexible (and won't allow concurrent editing) but would be perfect for people starting to build applications since they wouldn't need to implement more than the bare basics in terms of communication and could then just render an application from the blob data.

You can check it yourself: https://github.com/daddykotex/netlify-cms/commit/682b4977fc4d7e45ce45de28eb3a034ccc96b793#diff-968972ca44958c715aa87a512b507ee9
There are only 2 endpoints and I completely forgot about this PR to be honest.
There is two GET endpoints. One to fetch entries, one to fetch a file content. There is one POST endpoint to create file (BLOB) as you suggested. It's missing a lot of validation though.

@daddykotex I forgot about this PR too, glad @whizzter commented.
This would definitely still be a great add! Took a quick look at the branch, here's a few considerations:

The existing example still needs to run on yarn start, it's still the cheapest way to test the CMS itself from a static deployment. Probably drop the example altogether, good documentation should fill the gap.
We have to validate and restrict fs operations heavily, eg., ensure that the server can't read or write above it's own parent directory. The CMS cannot be responsible for data loss, even in case of user error.
Accept arguments like -d/--directory via the config instead of hardcoding to the cli.
We originally expected to continue using git, probably via node-git, but I'm not against starting with straight read/write.
Editorial workflow won't work as is, but again, that can be an improvement.

https://github.com/netlify/netlify-cms/pull/3217 resolves this


Is the keras model's constructor placed in a wrong place?

I found that, your code placed the model=tf.keras.model.sequential inside the K-fold level. I really think it results that it will generate too many new model every time your code go into K-fold, rather than one model for one traits.

I found that, your code placed the model=tf.keras.model.sequential inside the K-fold level. I really think it results that it will generate too many new model every time your code go into K-fold, rather than one model for one traits.

In my opinion, the code is correct. Every trait has 2467 samples, then use K-fold to divide 2467 samples into K datasets, K-1 as train dataset, and the rest one as test dataset. Through K times training, we could get K models for one trait, then get average acc or loss from K models' results.

I found that, your code placed the model=tf.keras.model.sequential inside the K-fold level. I really think it results that it will generate too many new model every time your code go into K-fold, rather than one model for one traits.

In my opinion, the code is correct. Every trait has 2467 samples, then use K-fold to divide 2467 samples into K datasets, K-1 as train dataset, and the rest one as test dataset. Through K times training, we could get K models for one trait, then get average acc or loss from K models' results.

Thanks @warrior-yyyan!


Fix scrolling when wrapping is involved

With a wrapped display mode the current display is bugged. If some
queries are wrapped before the line we put the focus on. It's possible
that the said line is out of the screen.
With this patch, the line with the focus is the always the first one.
When a the focus is on a selected line, the text is now bold with a
lighter brand of cyan. It is otherwise difficult to see if the first
ligne of the display is selected since it always has the focus.

There is something wrong when scrolling with arrows: the list of processes decreases until it gets restored when getting empty.

The active line is always on the top of the screen.
In a way, pressing "down" moves all the line up. (it's ugly but I don't see how to do it otherwise with the current @limit machinery.)
When all line are exhausted, we go back to the first line. (we could remove this.)

Replaced by #268


Implement add/remove function.

Implemented Add and remove functionalities in the To-Do-List project.

Hi @coker2019,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that is invalid because the README file is missing a relevant header (Show your support). The only optional heading in the recommended template is the FAQ, all the others are required. All try and customized it and remove all placeholder texts
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Freeplay Crash Out of Nowhere

Describe your bug here.
So today I went to Psych Engine to test my charts in my mod. When I like changed the icons that doesn't have charts or characters in the song just empty, it makes the Freeplay not playable, just crashes my game. I don't think it's my pc because it was working for a long time since August. So can someone help me, I have the script that tells me what was wrong, but I don't know how to go the Freeplay script. So, help Please. I don't know why Freeplay crashes for no reason
states/FreeplayState.hx (line 72)
flixel/FlxGame.hx (line 642)
flixel/FlxGame.hx (line 729)
flixel/FlxGame.hx (line 682)
flixel/FlxGame.hx (line 556)
openfl/events/EventDispatcher.hx (line 444)
openfl/display/DisplayObject.hx (line 1400)
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I edit the icons and my character positions, but I Don't think it's my character because it works in story mode so it something with icon but I changed them back and it still crashes so I don't know

@TooManyFactoryResets I fixed it. I just accidentally put added my character in the weeks. I wasn't paying attention to the files that I'm putting in.
Thank you for responded anyway!


DDC function type typeTest throws

DDC in some cases generates code where a typeTest throws rather than returning false when the subtype relationship does not hold. The program is accepted by dartanalyzer --strong n016.dart with no issues.
class A {}
class B extends A {}
class C extends B {}

typedef B F(B b);

C foo(A a) => null;
A bar(C c) => null;

main() {
  print(foo is F); // 'true'.
  print(bar is F); // Throws!
}

When compiling and executing the program using dartdevc.dart from 5982ace, 2017-06-15 14:18:09, ddc n016.dart, the resulting output is as follows:
true

/usr/local/google/home/eernst/devel/dart/work/sdk/pkg/dev_compiler/lib/js/common/dart_sdk.js:9877
          throw e;
          ^
Strong mode is-check failure: (C) -> A does not soundly subtype F((B) -> B)

I would expect bar is F to evaluate to false rather than throwing.

This is a dup of #28988 - note, it's currently working as intended.  Once dart2js implements strong mode, intent is to of course return false.


Fix d-p-l.org Makefile

According to @andralex in this post, DDox currently fails to build with the following output:
Error executing command build: Failed to invoke the compiler .stable_dmd-2.066.1/dmd2/osx/bin/dmd to determine the build platform: {
  "compiler": "dmd",
  "frontendVersion": 2066,
  "compilerVendor": "Digital Mars D",
  "platform": [
/tmp/dub_platform_probe.d(43): Error: template std.array.join cannot deduce function from argument types !()(string[], string), candidates are:
/Users/aalexandre/code/d/phobos/std/array.d(1395):        std.array.join(RoR, R)(RoR ror, R sep) if (isInputRange!RoR && isInputRange!(Unqual!(ElementType!RoR)) && isInputRange!R && is(Unqual!(ElementType!(ElementType!RoR)) == Unqual!(ElementType!R)))
/Users/aalexandre/code/d/phobos/std/array.d(1460):        std.array.join(RoR, E)(RoR ror, E sep) if (isInputRange!RoR && isInputRange!(Unqual!(ElementType!RoR)) && is(E : ElementType!(ElementType!RoR)))
/Users/aalexandre/code/d/phobos/std/array.d(1519):        std.array.join(RoR)(RoR ror) if (isInputRange!RoR && isInputRange!(Unqual!(ElementType!RoR)))
/tmp/dub_platform_probe.d(11):        called from here: determinePlatform()
/tmp/dub_platform_probe.d(11):        while evaluating pragma(msg, "    " ~ determinePlatform())
  ],
  "architecture": [
/tmp/dub_platform_probe.d(87): Error: template std.array.join cannot deduce function from argument types !()(string[], string), candidates are:
/Users/aalexandre/code/d/phobos/std/array.d(1395):        std.array.join(RoR, R)(RoR ror, R sep) if (isInputRange!RoR && isInputRange!(Unqual!(ElementType!RoR)) && isInputRange!R && is(Unqual!(ElementType!(ElementType!RoR)) == Unqual!(ElementType!R)))
/Users/aalexandre/code/d/phobos/std/array.d(1460):        std.array.join(RoR, E)(RoR ror, E sep) if (isInputRange!RoR && isInputRange!(Unqual!(ElementType!RoR)) && is(E : ElementType!(ElementType!RoR)))
/Users/aalexandre/code/d/phobos/std/array.d(1519):        std.array.join(RoR)(RoR ror) if (isInputRange!RoR && isInputRange!(Unqual!(ElementType!RoR)))
/tmp/dub_platform_probe.d(14):        called from here: determineArchitecture()
/tmp/dub_platform_probe.d(14):        while evaluating pragma(msg, "    " ~ determineArchitecture())
   ],
}
/Users/aalexandre/code/d/phobos/std/range/primitives.d(325): Error: static assert  "Cannot put a string into a Appender!string."
/Users/aalexandre/code/d/phobos/std/format.d(3120):        instantiated from here: put!(Appender!string, string)
/Users/aalexandre/code/d/phobos/std/conv.d(113):        instantiated from here: formatValue!(Appender!string, void*, char)
/Users/aalexandre/code/d/phobos/std/conv.d(912):        instantiated from here: toStr!(string, void*)
/Users/aalexandre/code/d/phobos/std/conv.d(287):        ... (4 instantiations, -v to show) ...
/Users/aalexandre/code/d/phobos/std/uni.d(2331):        instantiated from here: FormatSpec!char
/Users/aalexandre/code/d/phobos/std/uni.d(1855):        instantiated from here: InversionList!(GcPolicy)

make: *** [dpl-docs] Error 2

As I understand, this is the current blocker towards the goal of replacing DDoc with DDox. Andrei doesn't have time or experience to fix such problems, so it would be best if someone familiar with Dub or DDox looked at this.

Using a newer version of dub (v0.9.22) avoids the problem.

<EMAIL_ADDRESS>

Thanks for looking into this. I think the problem is actually with dlang.org's makefile.

(or was, I just saw new work on it)


FindNearby Project Readme Update.

Hello,
We had an issue where the Find Nearby App was not working on Salesforce Offline Mobile App.  On a call with Salesforce it was determined that the documentation was incomplete.  Step 6 in the readme file on the Find Nearby Project mentions to add a Trusted URL for "maps.a.forceusercontent.com".  This needs to be updated to add a Trusted URL for "maps.a.forceusercontent.com" AND "maps.b.forceusercontent.com".
More Discussion on this can be found here:
https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T2PQ9SAN

FYI @rotem-hen-sf Please review this issue & the suggested solution. Thx

Thanks @maliroteh-sf, I added this info, and also fixed an indentation issue.
Please approve the PR: https://github.com/forcedotcom/LWC-Mobile-Samples/pull/121


Geometry elements should be able to work in fitContent parents

container := BlElement new.
container layout: BlLinearLayout horizontal.
container constraintsDo: [:c |
		c vertical fitContent.
		c horizontal fitContent ].
lineElement := BlLineElement new
		fromAnchor: (BlAbsolutePositionAnchor position: 0 @ 0);
		toAnchor: (BlAbsolutePositionAnchor position: 200 @ 100);
		border: (BlBorder paint: Color red width: 4);
		yourself.
container addChild: lineElement

The parent should be of the size 200@100, but it is 50@50

We won't fix this.


docs: Added basic outline for codebase docs

@dwelle

There might be some missing thing, so feel free to add new sections

Should there be a section for i18n stuff?

Renaming to Contributing Guide and moving all contributing-related docs to it is an interesting idea, and it makes sense.
I think we should also dedupe the Development and Contributing docs, and move it to contributing section as well.
/cc @ad1992


feat(CategoryTheory): Cat-valued functors induced by passing to Over/Under categories

This PR redefines but does not rename the natural isomorphisms mapId and mapComp for the composition functors associated to over or under categories. Originally these were defined using isoRefl. Now instead these are defined using eqToIso applied to equalities between the appropriate functors, which are also added here. These equalities are also used to define functors T ⥤ Cat and Tᵒᵖ ⥤ Cat sending an object X to Over X and Under X respectively.

The advantage of defining the natural isomorphisms this way is that the data is easier to use (read: easier to get rid of) in the context of the Beck-Chevalley isomorphisms using for instance coherences involving Mates. In particular, in a future PR, I plan to redefine the corresponding isomorphisms to the pullback functors as conjugateEquiv of the natural isomorphisms here. The reason this is not done now is those definitions are currently in the process of being moved by #14519. I thought it best to keep the two PRs independent, but if there is a better practice please let me know.
Finally, should anything here be tagged with "simp"? I still don't get how that works.

If you're happy making the suggested changes, you can merge afterwards. If you'd like more review, just remove the delegated label.
bors d+

bors r+


[Models] Add feature importance estimation

Description
Add estimation of the importance of exogenous covariates,  integrating explainability algorithms such as SHAP or LIME.
Use case
No response

I have the same proposal as this brother

Hello,
I want to use the hyperoptimized parameter values when calculating SHAP values. Is there any update on the above?
Many thanks!


Imported Components do not work

Issue:
Which version are you using?
"storybook-react-router": "^1.0.5",
Are you using storybook-router with a react based project or a vue one?
React
Please describe the problem:
We are importing a React component from another library that uses links and a switch.  In its basic form it looks like this:
const TabGroup : React.FunctionComponent<{match: string}> = ({match}) =>{
    const path = match;
    return(

              <Link to={`${path}`} className="link">Profile</Link>
              <Link to={`${path}/comments`} className="link">Comments</Link>
              <Link to={`${path}/contact`} className="link">Contact</Link>

                 <Switch>
                    <Route path={`${path}`} exact component={Profile} />
                    <Route path={`${path}/comments`} component={Comments} />
                    <Route path={`${path}/contact`} component={Contact} />
                </Switch>

    )
}

However it seems as though StoryRouter is completely unable to understand this component as my console is filled with invariant errors complaining that Link and Switch should not be used outisde of a Router.
Our story looks like this:
import * as React from 'react';
import { storiesOf } from '@storybook/react';
import StoryRouter from 'storybook-react-router';
import { TabGroup } from '@draftit/ui-library';

const stories = storiesOf("Components", module);
stories
    .addDecorator(StoryRouter())
    .add(
        'Tab Group', () => <TabGroup match="/hr-expert" />
    );

The example all include the components within the story file itself so its hard to determine what is causing this.  I have also tried disabling all other storybook extensions that were not relevant to this without avail.   Can this plugin not support typescript or external components?

See over in #37 ... this might be caused by storybook-router having a problem with imports from 'react-router-dom'.  (You didn't show your import in your top file... but I'm guessing that's what you did, since that is what react-router's docs recommend.)

In my case, react-router imported by storybook-react-router is different of react-router imported by my own package.
The solution is create an alias inside babel config to resolve react-router* packages:
{
  "presets": [...],
  "plugins": [
    ...
    [
      "babel-plugin-module-resolver",
      {
        "alias": {
          "react-router-dom": "./node_modules/react-router-dom",
          "react-router": "./node_modules/react-router"
        }
      }
   ],
  ]
}

And use this babel config in Webpack loader (configured inside .storybook/main.js file):
  webpackFinal: (config) => {
    config.module.rules.push({
      test: /\.jsx?$/,
      use: [
        {
          loader: 'babel-loader',
          options: {
            configFile: path.resolve(__dirname, '.babelrc'),
          },
        },
      ],
      ...
    });

    return config;
  }


Use StringEnumConverter if applicable in C#

It doesn't support arbitrary naming of enum values, so we can't use it in the general case.
https://www.newtonsoft.com/json/help/html/T_Newtonsoft_Json_Converters_StringEnumConverter.htm
This might also be applicable:
https://msdn.microsoft.com/en-us/library/system.runtime.serialization.enummemberattribute(v=vs.110).aspx

Me too.  I tried to paste the following code -- which I obtained here, into Quicktype.io:
{
    "errorTypes": [
        {
            "error": "MissingRegistration"
        },
        {
            "error": "InvalidRegistration"
        },
        {
            "error": "NotRegistered"
        },
        {
            "error": "InvalidPackageName"
        },
        {
            "error": "MismatchSenderId"
        },
        {
            "error": "MessageTooBig"
        },
        {
            "error": "InvalidDataKey"
        },
        {
            "error": "InvalidTtl"
        },
        {
            "error": "Unavailable"
        },
        {
            "error": "InternalServerError"
        },
        {
            "error": "DeviceMessageRateExceeded"
        },
        {
            "error": "TopicsMessageRateExceeded"
        }
    ]
}

Fully expecting that it would be converted into
public class SampleEntity
{
    [JsonProperty("error")]
    [JsonConverter(typeof(StringEnumConverter))]
    public ErrorCode Error { get; set; }
}

with a produced enum
public enum ErrorCode
{
    InvalidRegistration,
    NotRegistered,
    MessageTooBig,
    MissingRegistration,
    Unavailable,
    MismatchSenderId,
    InvalidDataKey,
    InvalidTtl,
    InternalServerError,
    InvalidPackageName,
    DeviceMessageRateExceeded,
    TopicsMessageRateExceeded
}

but instead, it was transformed into
public partial class Errors
{
    [JsonProperty("errorTypes")]
    public List<ErrorType> ErrorTypes { get; set; }
}

which was not what I wanted.
Now, I do not know if that is the JSON is correct to yield an enum or not, but the goal remains the same.


⚠ Bofrost.lu has degraded performance

In 33e75ca, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 3427 ms

Resolved: Bofrost.lu performance has improved in bf8e4d5.


contact form

implement the contact form that allows users to send email to admin

The contact form has recently been updated on the old Cantus. The CAPTCHA is replaced by a security question. This needs to be implemented.


Children

I realize that it may be too early for any good data to exist to base an estimate on, but how would you recommend assigning the person risk for a non-teenager child who goes to school in-person? Simply as "an average person in your area"?

Duplicate of #191


checkov: 2.0.906 -> 2.0.908

Motivation for this change
https://github.com/bridgecrewio/checkov/releases/
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 162338 run on x86_64-linux 1

1 package built:

checkov

Change looks good to me.

Result of nixpkgs-review pr 162338 run on x86_64-linux 1

1 package built:

checkov


Adding LSTM from Scratch

Description
This change involves adding Long Short-Term Memory (LSTM) with SGD and log loss implementation from scratch to the codebase.
Type of change
Note: Please delete options that are not relevant.

[ ] New layer/algorithm

Implementation details
(only for New layer/algorithm)
Packages used :

numpy
os
matplotlib

Checklist

[x] I have performed a self code_review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have added tests that prove my fix is effective or that my feature works.

:-]


Choose a name for the project

nickel-nix is descriptive, but not that cool of a name. It would be great to rebrand before reaching the MVP.
Some first ideas:

Nixel (the name of the very first prototype)
Ni-Mh – your batteries included shell with Nickel inside
Ni-Cd – same as Ni-Mh, but less pronounceable and doesn't conflict with nim

Settled on “organist”. The repo is now renamed, and #112 will take care of making that visible everywhere


Fix When a rowset is cooled down, it is directly deleted. This can result in data query misses in the second phase of a two-phase query.

Proposed changes
related pr #20732
There are two reasons for moving the logic of delayed deletion from the Tablet to the StorageEngine. The first reason is to consolidate the logic and unify the delayed operations. The second reason is that delayed garbage collection during queries can cause rowsets to remain in the "stale rowsets" state, preventing the timely deletion of rowset metadata, It may cause rowset metadata too large.
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 55.23 seconds
stream load tsv:          503 seconds loaded<PHONE_NUMBER>9 Bytes, about 141 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>3 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712113957_clickbench_pr_176842.html

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 56.99 seconds
stream load tsv:          501 seconds loaded<PHONE_NUMBER>9 Bytes, about 142 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.7 seconds inserted 10000000 Rows, about 336K ops/s
storage size:<PHONE_NUMBER>0 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712114009_clickbench_pr_176840.html

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 49.89 seconds
stream load tsv:          450 seconds loaded<PHONE_NUMBER>9 Bytes, about 158 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          56 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
insert into select:          26.1 seconds inserted 10000000 Rows, about 383K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712035601_clickbench_pr_176839.html

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 54.1 seconds
stream load tsv:          503 seconds loaded<PHONE_NUMBER>9 Bytes, about 141 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>5 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712170729_clickbench_pr_177058.html

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 53.46 seconds
stream load tsv:          504 seconds loaded<PHONE_NUMBER>9 Bytes, about 141 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>9 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712170930_clickbench_pr_177059.html

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.38 seconds
stream load tsv:          454 seconds loaded<PHONE_NUMBER>9 Bytes, about 157 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          56 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          29 seconds loaded 861443392 Bytes, about 28 MB/s
insert into select:          26.2 seconds inserted 10000000 Rows, about 381K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712091244_clickbench_pr_177057.html

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 54.07 seconds
stream load tsv:          506 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.4 seconds inserted 10000000 Rows, about 340K ops/s
storage size:<PHONE_NUMBER>9 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712204407_clickbench_pr_177299.html

run buildall

I have a problem about this, please correct me if I'm wrong, if a rowset was added to both _unused_rowsets and _querying_rowsets, its use_count should be 2, then in my understanding it will stay in _unused_rowsets forever and could not be gc anymore?

this pr could cause unused rowset not gc, fixed in #30904


HUM-153 Refactor GetAccountInfo GetContainerInfo

These now return info, err instead of relying on the caller to remember
that they're supposed to check for nils. Of course, they can still
forget to check for err != nil, but that's more of a idiomatic Go thing
so hopefully easier to remember.

Going to redo this since it immediately had conflicts.


4.2 tag is confusing

There is an issue with the 4.2 tag. It points to an older commit that does not include improvements for gRPC support.


Merge QueryStatus and CreateHandler calls to make them atomic

Requires fewer lock acquisitions and provides stronger guarantees because we check status before creating handler.

Seems like in the debug build, tests exited preemptively.


Ambiguous or omitted information on VnV plan

[ ] section 4.6 You have mentioned "pytest",  I think it should be written in the first letter capitalized: Pytest.  Also, it will be good if you provide a two-word introduction for Pytest. For example, Pytest is a library of python.
[ ] Table 1: you have mentioned the Drasil team in the table and in the text, But I couldn't find extra information about the Drasil team members in your VnV plan. For example how many people are on Drasil's team? how many of them have responsibilities and roles related to Chemcode?
[ ] Section 5.1.1 I think the input/output of the T1 test should be explicitly mentioned as you did for T2.
[ ] All functional tests, include valid equations. What will happen if someone inputs a non-valid equation? what output will be generated? It is good to think about new test cases when the input data has the wrong format and the software should respond properly with an error message.

I am closing this issue for the following reasons:

"pytest" is actually spelled all lowercase (source) and is common enough in the field of software testing that most people reading the VnV plan will know what it is; if they don't, a source for it has been added where more information can be found.
As mentioned in #9, part of the ambiguity around "the Drasil team" is intentional, since I don't know how many of us will be involved in ChemCode.
Since T1 is a static test, there isn't any code being run, so it doesn't have any inputs or outputs.
Since the SRS lists the assumption that all equations are formatted correctly, this is out of scope of this project. While I agree that ideally these kinds of considerations would be made, the input/output format hasn't even been decided in any formal context, since I didn't write an MG or an MIS!


Patch Zygote incompatibility with warning

Fixes #32.
@avik-pal want to take a look?
Also I couldn't get it working with errors. I tried something similar with marking the throw(e) with @ignore_derivative but no luck.

coverage: 100.0%. remained the same
when pulling b1237fec41a7bea69a5efb23328b2c50faedc62f on patch-zygote
into 7e37b7f9105d57bfb819b04bbe3ad80d5037fe87 on main.

Thanks for the help!


enableFileListsIndexing added to RpmRepositorySettings

Fix added https://github.com/JFrogDev/artifactory-client-java/pull/136


Adding support to check if blob exists and adjusted some error messages

Thanks for creating this package, it's been very useful for me!
Noticed it was missing a function to check if a blob exists that my project will need.
I also adjusted a couple error messages to be more clear.

Thanks @AlanBarber
Really appreciate the PR, I'll have a look at it tonight


Update delegate.md release with hotfix 812 version

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

@acasian-harness Is this hotfix still in progress, or can we close this PR?

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6583092ee78d1925fcc17f5d--harness-developer.netlify.app


multiple crosslinking sites

Hi Guys,
Is it possible to configure a novel crosslinker to act on multiple sites?
Cheers,
David,

yes, this is one feature people like. Open MetaMorpheus -> Data -> Create New Crosslinker;
If one side of the crosslinker reacts with two or more site such as Lysine or Arg, just input 'KR' in Crosslinker Amino Acids. If the other side of the crosslinker reacts with the same sites, input the same string. Otherwise if different, such as Asp or Glu, just input 'DE'.

Thanks!