variable 'j' set but not used

Building cryptopp-cmake v8.9.0 with cmake v3.22.1 under Android Studio on Windows 10 produces the following warning:
C/C++: ninja: Entering directory `[...]'
C/C++: [...]/cryptopp-cmake/cryptopp/validat1.cpp:1053:31: warning: variable 'j' set but not used [-Wunused-but-set-variable]
C/C++:  1053 |             for (unsigned int j=0; !source.AnyRetrievable(); ++j)
C/C++:       |                               ^
C/C++: 1 warning generated.

This issue should be logged in the crypto++ project itself as this project only deals with cmake build and not the implementation of the library.

Oh, you're right. Sorry for bothering.


TypeError: Cannot read property 'on' of undefined

# Install vue-cli and scaffold boilerplate
npm install -g vue-cli
vue init simulatedgreg/electron-vue my-project

# Install dependencies and run your app
cd my-project
yarn # or npm install
yarn run dev # or npm run dev

┏ Electron -------------------

  webpack:///./node_modules/electron-debug/index.js?:74
  	app.on('browser-window-created', (e, win) => {
  	    ^

  TypeError: Cannot read property 'on' of undefined
      at module.exports.opts (webpack:///./node_modules/electron-debug/index.js?:74:6)
      at eval (webpack:///./src/main/index.dev.js?:2:84)
      at Object../src/main/index.dev.js (/Users/hans/Documents/labs/my-project/dist/electron/main.js:494:1)
      at __webpack_require__ (/Users/hans/Documents/labs/my-project/dist/electron/main.js:21:30)
      at eval (webpack:///multi_./src/main/index.dev.js_./src/main/index.js?:1:1)
      at Object.0 (/Users/hans/Documents/labs/my-project/dist/electron/main.js:517:1)
      at __webpack_require__ (/Users/hans/Documents/labs/my-project/dist/electron/main.js:21:30)
      at /Users/hans/Documents/labs/my-project/dist/electron/main.js:85:18
      at Object.<anonymous> (/Users/hans/Documents/labs/my-project/dist/electron/main.js:88:10)
      at Object.<anonymous> (/Users/hans/Documents/labs/my-project/dist/electron/main.js:632:3)

┗ ----------------------------

Full code will help


Reject lease modifications that specify wrong ETA

This prevents a worker that does not currently hold a lease from updating the task lease. Without this check, it may shorten the lease for another holder.
This also fixes a bug where task ETAs were being encoded with the wrong precision for protobuf responses.
Resolves #2819.

https://ocd.appscale.com:8080/job/Daily Build/5180/


Vnet peering vs VPN gateway vnet to vnet

First of all thanks for the detailed explanations of the content. I believe azure networking blog is very detailed everytime and contains all the possible queries. but have one more...
VPN gateways and peering with no regional / subscription / Tenant boundaries. Why would we use one over the other?

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

ID: cc20a64a-096f-7e72-1fb5-436e3366fbd5
Version Independent ID: d1ba1c1b-5d36-71eb-5442-cf17de18a13b
Content: Azure Virtual Network peering
Content Source: articles/virtual-network/virtual-network-peering-overview.md
Service: virtual-network
GitHub Login: @anavinahar
Microsoft Alias: anavin

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

@aquibqureshi26 If you are connecting 2 Azure VNETs, peering is the better option. Peering does not require a gateway, it is faster, and cheaper than using a VPN connection.
Please let me know if you need any additional information.

I know it's cheaper but there should be something for which we've to consider the VPN gateway. may be bandwidth would be the factor to consider?

@aquibqureshi26 Bandwidth should be faster with peering, but if you would like to see, you can configure both and test the traffic across each.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Thanks, Anavi, Please update on this thread once you publish the blog, I anyways check Azure Announcement and Azure Update blog.

Hey @aquibqureshi26, I will publish a blog about how to make this choice easier soon, stay tuned!

@anavinahar Please post the link here once available ! 👍

https://azure.microsoft.com/en-us/blog/vnet-peering-and-vpn-gateways/


Upgrade to ncollide 0.20, nphysics 0.12

This is a substantial rewrite in many ways. Some logic is no longer necessary while the management of new constructs is required.

#23

fixed


Remove redundant function 'create_browser' & update gemspec

Removing redundant function as per discussion #11
Also add 'csv' to gemspec as per issue #12

1.7.4 has been released including these changes


Tried to register two views with the same name ARTSurfaceView

Version:
"react-native-progress": "^4.0.3",
"react-native": "^0.61.5",
build:Android

Seeing the same error after upgrading from 3.6 to 4.12 also on react-native 0.61.5.

See #176 for a solution. This is not a problem with this package. I think this issue should be closed.


Sum of Hashes: only first case recognised?

I was experimenting with sums and hashes this evening:
require 'dry-types'
require 'dry-struct'

module Types
  include Dry::Types.module

  Vehicle = Types::Hash.schema(wheels: Types::Strict::Int) | Types::Hash.schema(wing_length: Types::Strict::Float)
end

class Transport < Dry::Struct
  attribute :vehicle, Types::Vehicle
end

puts Transport.new(vehicle: Types::Vehicle[ wing_length: 40.0 ]).inspect # => { vehicle: {} }
puts Transport.new(vehicle: Types::Vehicle[ wheels: 4 ]).inspect         # => { vehicle: { wheels: 4 } }

If I reorder the Vehicle type definition, suddenly wing_length works and wheels doesn't; it seems to be order-dependent.
I saw https://github.com/dry-rb/dry-types/issues/81 previously, and I'm guessing this is possibly meant to be supported, but I'm not really sure. Either way, it's currently a silent failure.
Versions (libraries installed a few hours ago without version bounds):

Ruby 2.2.3
dry-types 0.9.0
dry-struct 0.1.0

Thanks, seems to be a bug. I'll look into this.

Thanks. 😄
Another case to consider, in case it's helpful:
T = Types::Hash.schema(x: Types::Strict::Int) | Types::Hash.schema(x: Types::Strict::Int, y: Types::Strict::String)

(Currently fails in the same way.)

I think this comes from Dry::Try::Sum#try:
   54:         result = left.try(input) do
   55:           right.try(input)
   56:         end
   57:         byebug
   58:
=> 59:         return result if result.success?
   60:
   61:         if block
   62:           yield(result)
   63:         else
(byebug) input
{:wing_length=>5}
(byebug) left.try(input)
#<Dry::Types::Result::Success input={}>

Result of left.try(input) is success (even if empty) and right.try(input) is never executed. Not sure what is the best way to fix this (if a bug).
@damncabbage BTW your example will work with strict schema:
2.3.1 :001 > Vehicle = Types::Hash.strict(wheels: Types::Strict::Int) | Types::Hash.strict(wing_length: Types::Strict::Float)
 => #<Dry::Types::Sum ...>
2.3.1 :002 > Vehicle[ wing_length: 40.0 ]
 => {:wing_length=>40.0}
2.3.1 :003 > Vehicle[ wheels: 4 ]
 => {:wheels=>4}

Huh. Got it. 😄   (Thanks for digging into this.)

Types::Hash#schema is not strict in terms of key presence, so when it's used with an empty hash object, it just returns it back, so the sum returns its result back already without looking at its right side type, that's why using strict works here because left side fails, so it tries the right side.
So, yeah, it's not a bug. We gotta document this properly, so I'm leaving this open as a reminder.

actually...I reported an issue under dry-rb.org repo as that's the place where we gather doc-related todos. Closing this one after all

Understood; thanks again. :)


Can't get Requirements Nor Insert API Key

I'm running in a conda environment. I don't know why I'm having such a difficult time but but you've changed things and it's not straightforward to run the requirements anymore i'm not even sure if they're necessary if that's why you've taken out the text file. And I'm getting an error that I need to install my api key but I can't seem to find where to put it.
I feel like I must be missing something straightforward here but can someone please explain.

Okay I was able to get requirements going using pip install -e .
I didn't realize the period at the end was required :)

export : The term 'export' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

export OPENAI_API_KEY=[sk-w2J4G9uXjEUYsUnNr2bvT3BlbkFJBhexm5wWZ0jfpXP ...

  + CategoryInfo          : ObjectNotFound: (export:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

This is the error message I'm getting when I try to use export OPENAI_API_KEY=[your api key]
Of course having replaced between the square brackets with my own API key

$env:OPENAI_API_KEY="[your api key]" on powershell
OK I'm not sure but I think this one might have worked because it immediately went back to the main folder address prompt. I guess I'll try running a project now and see if it doesn't give me the api error

As specified in the README:

Alternative for Windows
set OPENAI_API_KEY=[your api key] on cmd
$env:OPENAI_API_KEY="[your api key]" on powershell

You also don't need to include the '[' and ']'.

Cool closing


upgrade ROCm version  to 5.0.0

Thanks for your contribution! Unfortunately, tensorflow/runtime is currently not
accepting contributions. Please see the
Contribution Guidelines for
more information.
@chsigg @hanbinyoon @deven-amd

@weihanmines
we should also include the corresponding third_party/hip/*.inc files (generated from ROCm 5.0.0) as part of this PR


A failing test for slice

I found a bug and added a test for it.
It occurs when slicing an array of 33 items from 32 to 33.
Unfortunately I'm not familiar enough with the implementation to fix it altogether.

Thank you for this :)


ref #1338 -- deprecate get_preview and destroy some tags

Ticket: #1338

Coverage increased (+0.004%) to 93.198% when pulling 283eef61ee3914c69b4189ddaa206cb976d76df3 on 1338/post_preview_tag_destroy into 1561ad8eb6a84f7ed6c3ef67302a1ab389755009 on master.

Codecov Report

Merging #1411 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1411      +/-   ##
============================================
+ Coverage     93.74%   93.77%   +0.03%
  Complexity     1406     1406
============================================
  Files            45       45
  Lines          3391     3392       +1
============================================
+ Hits           3179     3181       +2
+ Misses          212      211       -1

Impacted Files
Coverage Δ
Complexity Δ

lib/Post.php
93.54% <100%> (+0.26%)
202 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Coverage increased (+0.004%) to 93.258% when pulling face447cd516b409023b9e7d17854023ee36255c on 1338/post_preview_tag_destroy into 2dd629729a98b72ff185b891d9255eb2fc7f281a on master.


Add topological sort in init.py

Without it, if op1 depends on op2's output, the runtime here may evaluate op1 first which causes failure

This should be fixed in commit dad67cb2eb.


region one unavailable on some clients, use NYC 2

I could look around later for a default region generator that would look at what that regions subroutine lists, and then pick one of those by default, instead? Then tugboat won't show an error if that region code doesn't exist, because it won't have set it to that.

Hi @Thetoxicarcade! I think I'll use https://github.com/pearkes/tugboat/pull/147 for this as it has passing specs, but thanks! :+1:

Closed in favour of https://github.com/pearkes/tugboat/pull/147


Realm: all-to-all communication is slow

For the past few months I've been working on a program that needs all-to-all exchanges and Realm doesn't seem to perform distributed all-to-all communication efficiently. To understand what an efficient implementation would look like, I rewrote the all-to-all exchange code using NCCL and compared it with the Realm-based implementation. It turned out that Realm's all-to-all exchange on a DGX-1V cluster (where each node has 4 IB NICs) is at least an order of magnitude slower (14X-16X) than NCCL's. Realm in its current shape would definitely not match NCCL in terms of the performance of collective operations, as it only maintained a window of DMA requests and didn't have a global understanding of the client's communication pattern. (Plus, GASNet is preventing it from using GPUDirect, which is key to multi-node performance with GPUs.) Nevertheless, the achieved bandwidth usage with Realm is somewhat underwhelming; the aggregate bandwidth usage was approximately 2.3 GB/s (37.24 GB/s with NCCL / 16.51X), which seems pretty low even for a single NIC whose peak bandwidth is 12.5 GB/s. (I didn't see any noticeable difference from enabling multi-rail support in GASNet.) This seems to suggest that Realm's inter-node communication needs some serious improvements.

Also here is a Realm-only benchmark that proves that it is slow:
https://gitlab.com/StanfordLegion/legion/-/blob/master/test/realm/alltoall.cc


fix: Fix core-command crashes error

Close: #3611
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.
What is the current behavior?

Issue Number: #3611
What is the new behavior?
Use KindServerError instead of the KindClientError to prevent panic error from the HTTP lib
Does this PR introduce a breaking change?

[ ] Yes
[x] No

New Imports

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information

Opened PR to remove the KindClientError https://github.com/edgexfoundry/go-mod-core-contracts/pull/646 to prevent panic error.

Codecov Report

Merging #3622 (86f6abf) into main (32cc8ec) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #3622   +/-   ##
=======================================
  Coverage   47.27%   47.27%
=======================================
  Files         111      111
  Lines        9048     9048
=======================================
  Hits         4277     4277
  Misses       4401     4401
  Partials      370      370

Impacted Files
Coverage Δ

internal/core/command/application/command.go
31.25% <0.00%> (ø)

Continue to review full report at Codecov.

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


Added a warning note in tf.where documentation for 'NaN' gradient issue #38349

@googlebot I fixed it.


Update-Database with -Script and -ConnectionString args falls back to default connection when provided connection string is invalid

Description
I have a code-first Entity Framework 6 project that uses migrations to deploy changes.  The migrations work as expected against my local development database using the Update-Database  command.
When deploying changes to the testing environment, I use the Update-Database command with the -Script and -ConnectionString argument so the I can validate the changes that will be made.
Update-Database -Script -ConnectionString "[OMITTED]" -ConnectionProviderName System.Data.SqlClient

After running the above command, I was getting the entire migration history rather than just the delta migrations from the previous release.  After days of investigation, I found that the Update-Database command fails silently when it has an issue connecting the specified database and seemingly falls back to the default connection (whatever that may be).  Since that default connection does not exist on my computer, the script produced includes the entire migration history (it tries to create the database from scratch).
In my case, the issue was that the password to the testing database has a special character in it that must be causing the connection string to be parsed improperly.  But the issue also occurs if you simply mistype your password or the password changes.  I was able to overcome my issue by surrounding my password with single quotes.  Doing so allowed the Update-Database command to connect to the testing database and produce the correct change script.
I found this to be extremely confusing and I hope that this helps anyone else that may run into this issue.
Further technical details
EF version: 6.2.0
Database Provider: System.Data.SqlClient
Operating system: (e.g. Windows 10)
IDE: Visual Studio 2019 v16.4.0

EF Team Triage: This issue is not something that our team is planning to address in the EF6.x code base.  This does not mean that we would not consider a community contribution to address this issue.
Moving forwards, our team will be fixing bugs, implementing small improvements, and accepting community contributions to the EF6.x code base. Larger feature work and innovation will happen in the EF Core code base (https://github.com/aspnet/EntityFramework).
Closing an issue in the EF6.x project does not exclude us addressing it in EF Core. In fact, a number of popular feature requests for EF have already been implemented in EF Core (alternate keys, batching in SaveChanges, etc.).
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


Download with xslt transform

On the download dictionary page add option to add xslt transform to download page. This option allows user to upload an xslt script, which is the applied to xml before download.
Changed files: ops.py, templates/download.tpl
Added files: widgets/download.js
Reason: I want a different xml structure when using it in our custom editor as opposed to downloaded xml.
Is this acceptable?

Ok, so I am gonna leave a commit here (c1b8873 could fix the issue) and then merge it in a couple of days if no objections are raised.

Fixed in 8e001bb8caaf4be58c992d39ad356a859115125c


Graphic templates for release notes and jobs in blog

create graphic templates for release notes and jobs posts in blog
ideas
similar to home page icons

circular / release tag with version number

Release notes template is done. Image placeholder for jobs should be opened in a separate issue.


Fixed support of cython 3.0.0b1

This PR makes silx build with cython3.0.0b1 regarding the support of power **.
This PR makes direct use of the pow function from libc.math since this looks to work across different versions of cython (0.29.x and 3.0).
Some background information for the record:
See https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html#power-operator
Also cython 3.0.0b1 introduced a cpow compiler directive to use the C pow function for **... but this directive is not available in previous versions of Cython.

Details of different behaviors from cython.cpow doc

Type of a
Type of b
cpow==True
cpow==False

C integer
Negative integer compile-time constant
Return type is C double
Return type is C double (special case)

C integer
C integer (known to be >= 0 at compile time)
Return type is integer
Return type is integer

C integer
C integer (may be negative)
Return type is integer
Return type is C double (note that Python would dynamically pick int or float here, while Cython doesn’t)

C floating point
C integer
Return type is floating point
Return type is floating point

C floating point (or C integer)
C floating point
Return type is floating point, result is NaN if the result would be complex
Either a C  real or complex number at cost of some speed

LGTM


Testing, please ignore. (dwsgcz)

Bug bounty test - please ignore.... Please DO NOT APPROVE THIS! (dwsgcz)

Closing spam PR.


Scheduler component do not provide UI option to set scheduling frequency

Hi Team,
I was trying to develop an integration or api which has a scheduler and run a flow with fixed frequency. When I added scheduler and look for UI option set frequency it doesn't provide me any option.
As well as on XML when space pressed it is not giving auto populate  for scheduling frequency .

@macrocks  There are examples for how to configure the scheduling strategy here:
https://docs.mulesoft.com/anypoint-code-builder/acb-component-scheduler
Configuration is not yet available in the UI, but will be in a future release.

I'm closing this issue. If the issue isn't resolved, please re-open and add more specific details about the documentation issue you are encountering. This repository is for reporting issues with the documentation (not the software).


FR: Inlay hints on error types in function signatues

I don't know if this would be in the scope of the project or if it's just a bad idea but it would be great to have inlay hints on error types in function signatures. I see this being useful because often I want to quickly see what the type of a particular error type being returned by a function from a library is so that I can forward it out myself but the function signature usually only has typed out Error. So I then have to search for the use statement in the file and then inspect it and see exactly which error type that it is. This also might be too specific of a use case but I figured I'd ask to open the discussion.

Can you be a bit more specific with what you mean by "only has typed out error"?

We offer type links on hover that you can click to get to the types in signatures, we do this for return types as well now so I think we can close this.


MetricsPage: Seed Open Source Observer website with analyses

What is it?
Please comment on this issue with pre-made analyses that could be interesting (okay to try and cull later)
To get it started:

Ordered list of projects that are most productive (e.g. GitHub issues closed or PRs merged) with funding spent (e.g. expenses)
Ordered of projects that are most underfunded (e.g. most downloads with least amount of total funding)
Ordered list of projects with highest growth in downloads per unit dollar funded

We want to implement a top-level metrics page, where we can see leaderboards based on particular metrics.
We are close to implementing this.

Current a draft in the Plasmic OSO App project.
Things I'm still waiting for:

timeseries_metrics_by_project. This is necessary to wire up MetricsDataProvider, which we can then use to feed a barlist.
metrics_v0 to be populated with display_name so that it shows up in Algolia properly

Should be <1 hour to finish wiring up when those prereqs are done

Refreshing Hasura metadata here
https://github.com/opensource-observer/oso/pull/2209


Error: No input files were specified when mono Binaries/Boogie.exe

Hello, I am trying to run Boogie but meet this error.
Environment
Ubuntu 18.04+mono
Z3
Successful steps(installation+build)
$ dotnet tool install --global boogie
$ nuget restore Source/Boogie.sln
$ msbuild Source/Boogie.sln
Error
yue@ubuntu:~/boogie$ mono Binaries/Boogie.exe
*** Error: No input files were specified.
Sorry that I m not that familiar with how mono works. I am not sure whether it is the right way to run Boogie.
I would appreciate it if you could give me any hints about the solution to this bug. Thanks for the help!

You missed the Boogie input file (in .bpl).
mono Binaries/Boogie.exe <.bpl file>  is right.

You missed the Boogie input file (in .bpl).
mono Binaries/Boogie.exe <.bpl file>  is right.

It works. Thanks a lot!


Various visual changes

[ ] Home page title is now individual from post/page titles
[ ] Reduced the font size of the footer
[ ] Also added some more content at the about section


alibabacloud recommends against using Sarama?

I saw from alibabacloud that Sarama library is not recommended by them. Do we have a repair plan for these three problems?
source:
https://www.alibabacloud.com/help/faq-detail/266782.htm
Quote：

The following known problems exist with the Go client that is developed with the Sarama library:

When a partition is added to a topic, the Go client developed with the Sarama library cannot detect the new partition or consume messages from the partition. Only after the client is restarted, it can consume messages from the new partition.

When the client subscribes to more than two topics at the same time, the client may fail to consume messages from some partitions.

If the policy for resetting consumer offsets of the Go client developed with the Sarama library is set to Oldest(earliest), the client may start to consume messages from the earliest offset when the client breaks down or the broker version is upgraded. This is because the out_of_range class is implemented in the client.

@KeenCN this is the first time I have seen this document, and I'd have to search to see if whoever is responsible for it ever raised any issues for these problems, but it seems somewhat out-of-date and it's unclear for the other two what is being described.
RE: 1., I believe that issue was fixed in Version 1.24.1 (2019-10-31) under #1525
RE: 2, I'm not sure what issue they are referring to here, I'm assuming they saw some behaviour where the fairness of message consumption between topics wasn't as balanced as they would like? It's not something I've personally seen before, but we could investigate if someone can put together a functional test or example that reproduces whatever they were seeing.
RE: 3., again I'm not sure exactly what they are describing here. If the broker is restarted and truncates a partition such that the consumer gets an out of range error, then the broker consumer will stop due to the ErrOffsetOutOfRange and if Consumer.Return.Errors is set then it will return that error to the user to decide what to do. Then when they reconnect the offset reset configuration should only be used in the event that their consumer group didn't have a committed offset on the __consumer_offsets topic that is still valid post-truncation.

I can confirm that Sarama can detect new partition(s). But it happened after a metadata refresh, which by default happened in a 10 minutes interval. Could be the cause of the misunderstanding of the first issue.

I can confirm that Sarama can detect new partition(s). But it happened after a metadata refresh, which by default is by a 10 minutes interval. Could be the cause of the misunderstanding of the first issue.

Yes, you're right. And we should notice, in that case(eg. detect new partitions), the session will exit, so users should always retry the Consume method. Here explained detailly

我可以确认 Sarama 可以检测到新分区。但它发生在元数据刷新之后，默认情况下间隔为 10 分钟。可能是对第一个问题的误解的原因。

你是对的。我们应该注意到，在那种情况下（例如检测到新分区），会话将退出，因此用户应该始终重试 Consume 方法。这里有详细解释

When this oldTopicToPartitionNum already changed , and subsequent checks based on the changed number, then cannot trigger the rebalance

@KeenCN this is the first time I have seen this document, and I'd have to search to see if whoever is responsible for it ever raised any issues for these problems, but it seems somewhat out-of-date and it's unclear for the other two what is being described.
RE: 1., I believe that issue was fixed in Version 1.24.1 (2019-10-31) under #1525
RE: 2, I'm not sure what issue they are referring to here, I'm assuming they saw some behaviour where the fairness of message consumption between topics wasn't as balanced as they would like? It's not something I've personally seen before, but we could investigate if someone can put together a functional test or example that reproduces whatever they were seeing.
RE: 3., again I'm not sure exactly what they are describing here. If the broker is restarted and truncates a partition such that the consumer gets an out of range error, then the broker consumer will stop due to the ErrOffsetOutOfRange and if Consumer.Return.Errors is set then it will return that error to the user to decide what to do. Then when they reconnect the offset reset configuration should only be used in the event that their consumer group didn't have a committed offset on the __consumer_offsets topic that is still valid post-truncation.

When this oldTopicToPartitionNum already changed , and subsequent checks based on the changed number, then cannot trigger the rebalance

PR https://github.com/IBM/sarama/pull/2563 is also relevant here

the 2 happens to me, we use sarama consumer group, 1 groupID and 4 topic
we have 3 pods, each pod have the same config for consumerGroup & topic
When deploying, we often encounter that a certain topic cannot be consumed normally.
the kafka meta shows that this topic doesn't have any consumer, and we think there is no exit from Consume function, the sarama just stuck
another question is that when we deploy service, it takes a long time to wait for the Consume function exit, even if the context is canceled, we doubt that this may be one of the reasons for not consume
is there any help, i will be grateful


Config file not created

I'm using Linux Mint 20, and I installed this application using the latest deb. Everything works fine, but I cannot configure the shortcuts without a configuration file. In ~/.config/ there is no .todoist-linux.json as described in the README. There is a Todoist directory, but it doesn't contain any json files.
One hint might me the following: echo $XDG_CONFIG_HOME gives no output.

hey @NicoWeio,
Thanks for the report!
The app should fallback to ~/.config if there is no $XDG_CONFIG_HOME env variable defined. Could you run the app from your terminal and see if any permission related errors are showing up?

Already did that, although not on the very first start. I see absolutely no output there.

Oops, my fault. I don't know what exactly went wrong, but it seems like I just overlooked the file. Will close once its functionality is confirmed.

whew

I'm having a similar issue; just installed in ubuntu 19.04 and there is no config file. Runing the app from the command line shows no permission errors:
todoist
SNAP env is defined, updater is disabled

There is no todoist folder or .todoist... file in ~/.config. F
echo $XDG_CONFIG_HOME is empty.


feat(caasmapper): support image maps

Could you also try to add a test case for recursively defined formdata?


Add sync command

Just an initial implementation of sync command (#8).
Resolves #8

[ ] Add docs to command
[ ] Add --no-preview flag
[ ] Add description to README

Opinions, wishes and remarks are welcome!
/cc @Snake4Life

How to try this on your computer:
cd $GOPATH/src/github.com/bogem/
rm -rf nehm
git clone -b sync https://github.com/bogem/nehm nehm
cd nehm
go install


API change: pushPromiseHandler now takes the initial headers

Closes #25 .

Seems to have found no regressions using the scripts/collect.sh mechanism. In particular, feels like it works well on cloudflare's homepage full of pushed MP4 files.


Multiline chained function invocations confuse the interpreter/debugger

Given:
Foo = {}
Foo.f = function(arg)
    return self
end function

Foo.f(1). // this is line 6
    f(2).
    f(3).
    f(1, 2). // wrong arg count
    f(3)

An error is reported to be on line 6. If you use testlib to automatically go into the debugger, it also is confused and doesn't see the attempt to invoke the function as the error.

Thanks for reporting. I lately did some fixes related to function args maybe something broke. I'll take a look.

Well technically it is correct since the statement starts at 6 and that's what the debugger shows at least that's how the current implementation works.
For the future I can take a look if there is any way to improve this logic to actually show the line of invocation and not the statement.

Well, it's a little bit strange because, for example, if it forms part of the return statement, the top of the stack in the debug window says it's the return statement that's the issue, but I'd have expected it to be the evaluation of the function invocation.
Either way, pretty minor, just thought I'd let you know.

With the new interpreter introduced with 2.1.0 the line in the stacktrace should be much more accurate.

incredible, closing this one out.


Get rid of CRS

This PR is part of the initiative to get rid of CRS from the website. Some non-code content still exists on the website which refers to the CRS, which can be reworded/deleted with the content team's help. Most of these live in the "Case Studies" and "Glossary" sections.

 Remove CRS from Tools Page


Add setInterval?

See https://github.com/bellard/quickjs/issues/186#issue-1786629541
It'd be nice to add setInterval to go along with the existing setTimeout function in quickjs-libc.c.

Not opposed to it, are to send a PR?


Mismatched validation error text in Submit Listing form

From @arw180 on August 12, 2015 14:47
Create a new listing with only a title and click Save. You get a validation error under Listing Type (because it is required) that says "One category is required" - it should say that the Listing Type is required.

Copied from original issue: ozone-development/ozp-center#354

Pass test in all 4 browsers.  The correct text is displayed now.

Tested in staging


[DOC-7183] Document CC on Azure Limited Access cluster creation

[DOC-7183] Document CC on Azure Limited Access

FAQs
Limitations
Cluster creation

Previews
cockroachcloud/architecture.md
cockroachcloud/authentication.md
cockroachcloud/cloud-api.md
cockroachcloud/cluster-management.md
cockroachcloud/cmek.md
cockroachcloud/cockroachdb-dedicated-on-azure.md
cockroachcloud/connect-to-your-cluster.md
cockroachcloud/create-a-serverless-cluster.md
cockroachcloud/create-your-cluster.md
cockroachcloud/egress-perimeter-controls.md
cockroachcloud/export-logs.md
cockroachcloud/frequently-asked-questions.md
cockroachcloud/managing-cmek.md
cockroachcloud/network-authorization.md
cockroachcloud/pci-dss.md
cockroachcloud/private-clusters.md
cockroachcloud/provision-a-cluster-with-terraform.md
cockroachcloud/security-overview.md
cockroachcloud/use-managed-service-backups.md
Tests

[x] Tested cluster creation using the procedure
[x] Linkcheck
[x] Local build

Reviewers, I believe I've addressed all open comments. Please take a last look so we can get this merged into the azure-docs branch and begin building on it.


Include OS release and package metadata in Typha images

Description
Without operating system and package details in the Docker image after starting with a FROM scratch statement in the Dockerfile, security scanners like Trivy won't be able to find vulnerabilities in the image. This PR fixes that by adding the necessary COPY commands to include this info in the final image. This way, Trivy and other scanners can identify vulnerabilities in the Typha images.
Related issues/PRs
fixes ISSUE 8051
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/sem-approve

Looks sensible to me, asking @Behnam-Shobiri to take a look

@duffney looking at this again, I'm not entirely sure this is the right change.
Generally, this change would have us adding additional code to our images that isn't required for it to function. Generally I would call this a limitation of the scanning tool rather than a problem with the image itself.
Will still wait on @Behnam-Shobiri to comment as well.

Thank you for the PR @duffney.
I also don't think this would be the right change. Our images have been specifically built to include only libraries that they need for successfully running the code by copying only what's needed to scratch. This will significantly reduce the attack surface. If we include metadata from the building phase, it will create false positives and unnecessary CVE in our image (not all the libraries in the building phase are needed in the final image).
I think as @caseydavenport  mentioned this is more a limitation of the scanning tool and it would be a good feature for the scanner that you are using to add.

Thank you for the PR @duffney. I also don't think this would be the right change. Our images have been specifically built to include only libraries that they need for successfully running the code by copying only what's needed to scratch. This will significantly reduce the attack surface. If we include metadata from the building phase, it will create false positives and unnecessary CVE in our image (not all the libraries in the building phase are needed in the final image). I think as @caseydavenport mentioned this is more a limitation of the scanning tool and it would be a good feature for the scanner that you are using to add.

Totally understand. Pulling in all the package metadata is overkill, will bloat the image, and create false positives. I hadn't thought about all the other implications. However, if you'll humor me :)
Would you be open to including the package metadata for the dependencies like lib64 that are pulled into the image?

@duffney I think if we can only include the metadata for libraries that we are using, it should be fine. But I'm not sure how feasible that is (and how easy it is to maintain).

@duffney I think if we can only include the metadata for libraries that we are using, it should be fine. But I'm not sure how feasible that is (and how easy it is to maintain).

Looking more into it, it's not. lol For example, with Trivy it looks at the package library and there isn't anyway I could figure out to decouple say lib64 from the rest of the packages that existing in the base image.
I'll go ahead and close the PR. Since the only way to address it is to rebuild the image from a different base without the packages or update the scanner to be more targeted in its search.


Test results

Hello! I have tested your neuronet and reached this results. They are so good!
But no kidding, it's a good idea.

thank you a lot for brilliant feedback @alekseishaklov !
in demo used only one (!!!) generative image. It is only for reducing the queue.
I suppose you own python skills, you can try to make better generative images using colab with more attempts (also see here, opeanai generated 512!)

if you would like to share pictures without any suggestions for improving code, you should use instagram, you can tag our official page ;)


Associate test compilations with main source set for all Kotlin libraries

This PR makes it possible to access Kotlin internal members from testFixtures, test and integTest source sets.
This only changes how we build Gradle itself.
It also tightens the visibility of non-Gradle-public-api members of :kotlin-dsl that were public only to be used in tests.
See https://kotlinlang.org/docs/gradle-configure-project.html#associate-compiler-tasks

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

I've triggered a build for you.


Sore and restore splitter positions

The splitter posititon between staged and unstaged files is not stored / restored (dynamic content, a fixed splitter position might be annoying)

@stefanknotzer can you rebase?

Actually I can't rebase (and Gittyup can't either), never done that before.
Solved the merge conflicts online.


Delete common model objects when connection is deleted

right now we don't have FK from, say, crm_accounts to connections, so when we delete a connection, the associated records are not deleted. should we implement FK, or some way to reap the old records?

Migrated to internal project management tool.


REFACTOR-#3684: remove compression check in '_read_csv_check_support'

Signed-off-by: Anatoly Myachev<EMAIL_ADDRESS>
What do these changes do?

[ ] commit message follows format outlined here
[ ] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] signed commit with git commit -s
[x] Resolves #3684
[ ] tests added and passing
[ ] module layout described at docs/developer/architecture.rst is up-to-date

What if we use pyarrow to read (or some other library) which might be supporting less potential compressions than pandas?..

Modin deals with the issue of opening archives itself(we use fsspec for this), so pyarrow or some another library will work with unpacked data.

It just came to me - what about OmniSci?

It just came to me - what about OmniSci?

OmniSci has it' own version of _read_csv_check_support function: https://github.com/modin-project/modin/blob/9498b927ab0e1fd31b20ebc3b79dc41dff00fae0/modin/experimental/core/execution/native/implementations/omnisci_on_native/io/io.py#L409


ci: investigate some problem with E2E

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Code style update
[x] Build or CI related changes
[ ] Documentation content changes

Ready for review!


Add support for different bash test frameworks

What are your opinions on Rerun being able to use other testing frameworks other than Roundup?
Some options might include BATS, shunit2, ts, and others from awesome-shell's bash dev tips.

Consider the “rerun stubs:test” code is about 20 lines of bash code, it would be easy enough to add a “—framework” option defaulting that to roundup.  Which one do you like?

On Sep 9, 2015, at 4:29 PM, Seth Goings<EMAIL_ADDRESS>wrote:
What are your opinions on Rerun being able to use other testing frameworks other than Roundup?
Some options might include BATS, shunit2, ts, and others from awesome-shell's bash dev tips https://github.com/alebcay/awesome-shell#shell-script-development.
—
Reply to this email directly or view it on GitHub https://github.com/rerun/rerun/issues/216.

Specifically I'd like to see BATS added. See referenced issue.

BATS love the looks great. Sent from Yahoo Mail for iPhoneOn Sep 10, 2015, 9:24:50 AM, Seth Goings wrote:Specifically I'd like to see BATS added. See referenced issue.
—Reply to this email directly or view it on GitHub.

On second thought...  Might be a better idea to run anything that ends in "-bats.sh" with BATS and keep anything that ends in "-test.sh" run with roundup.  That might be cleaner.

The add-module command can take a flag to set the preferred test framework.


The "Share this Window" Option is Missing from the Taskbar

This button is present in the classic version of Teams while participating in a Team's call, but it is missing from the new version. There was an entry on the "Known Issues" page saying that this feature would return in an October update, but October is gone and so is that entry.

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Can't import wallet when password contains spaces?

Heyo! Trying to import an old dogecoin wallet, one worked (woo!) but the other one with spaces in the password gives this error:
Error: Error parsing JSON:can
(can is the worst word in the password, something like can so and so do this and that yadda yadda is the actual password)

Hey there. This is a pretty common bug with the RPC parser for most coins. It uses space as a delimiter so your password gets truncated, but the box where you input the password doesn't.
A few people that have had this issue were able to use this python script to decrypt their wallet and dig their clams, however I've never used it. It looks like you can run something like pywallet --passphrase="password"... Check it out: https://github.com/jackjack-jj/pywallet


feat: run benchmarks for ACIR proving

Resolves #6060
I'm adding some proving benchmarks so we can track how long it takes to prove various ACIR programs using bb.
I'm just adding a single benchmark for now and can follow up with building out the full suite once this is shown to be working.

Ok, I'm pretty confused on why I'm unable to see the AWS secrets here. The e2e benches don't seem to need to do anything special so what would need to be done for noir? @spalladino do you have any ideas?

@TomAFrench it seems like you're running the builder_command: cd noir && ../scripts/earthly-ci +bench-barretenberg-acir-benches-bb in the failed run of acir-bench here, and that one does not include the --secrets for earthly.

Benchmark results
Metrics with a significant change:

batch_insert_into_append_only_tree_32_depth_ms (512): 315 (+18%)
batch_insert_into_append_only_tree_32_depth_ms (1024): 612 (+21%)
batch_insert_into_append_only_tree_32_depth_ms (2048): 1,191 (+20%)
batch_insert_into_append_only_tree_32_depth_ms (4096): 2,368 (+21%)
batch_insert_into_indexed_tree_20_depth_ms (512): 456 (+21%)
batch_insert_into_indexed_tree_20_depth_ms (1024): 894 (+21%)
batch_insert_into_indexed_tree_20_depth_ms (2048): 1,781 (+21%)
batch_insert_into_indexed_tree_20_depth_ms (4096): 3,559 (+21%)
circuit_witness_generation_time_in_ms (public-kernel-tail): 916 (+89%)
circuit_witness_generation_time_in_ms (base-rollup): 8,998 (+18%)
circuit_witness_generation_time_in_ms (merge-rollup): 108 (-31%)
circuit_proving_time_in_ms (public-kernel-tail): 933 (+119%)
node_history_sync_time_in_ms (5): 18,366 (+19%)
node_history_sync_time_in_ms (10): 33,821 (+19%)
l2_block_processing_time_in_ms (8): 1,600 (+18%)
l2_block_processing_time_in_ms (32): 6,049 (+19%)
l2_block_processing_time_in_ms (64): 12,053 (+20%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.
| Metric |  |
| - |  |
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
740
740
740

l1_rollup_calldata_gas
6,692
6,692
6,680

l1_rollup_execution_gas
586,877
586,877
586,865

l2_block_processing_time_in_ms
:warning: 1,600 (+18%)
:warning: 6,049 (+19%)
:warning: 12,053 (+20%)

l2_block_building_time_in_ms
25,023 (+6%)
98,305 (+6%)
195,838 (+5%)

l2_block_rollup_simulation_time_in_ms
24,851 (+6%)
97,689 (+6%)
194,650 (+5%)

l2_block_public_tx_process_time_in_ms
10,081 (+6%)
39,703 (+7%)
78,890 (+7%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
:warning: 18,366 (+19%)
:warning: 33,821 (+19%)

node_database_size_in_bytes
22,913,104
39,411,792

pxe_database_size_in_bytes
29,868
59,425

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes
circuit_witness_generation_time_in_ms
circuit_proving_time_in_ms
circuit_proof_size_in_bytes

private-kernel-init
129 (+3%)
18,212
41,446
N/A
N/A
N/A

private-kernel-inner
360 (+2%)
66,727
41,446
N/A
N/A
N/A

private-kernel-reset
616 (+3%)
210,456
41,446
N/A
N/A
N/A

private-kernel-ordering
354 (+1%)
61,368
55,522
N/A
N/A
N/A

base-parity
8.23 (+5%)
128
64.0
292 (+6%)
12,665 (-5%)
2,208

root-parity
51.3 (+6%)
27,064
64.0
254 (+12%)
157,738 (-13%)
2,720

base-rollup
715 (+8%)
111,094
925
:warning: 8,998 (+18%)
136,869 (-15%)
3,104

root-rollup
72.6 (+13%)
11,454
789
201 (+6%)
15,161 (-9%)
3,424

public-kernel-app-logic
135 (+4%)
68,697
59,431
295 (-12%)
509 (+2%)
73,024

public-kernel-tail
470 (+5%)
174,138
7,691
:warning: 916 (+89%)
:warning: 933 (+119%)
10,112

public-kernel-setup
110 (+4%)
68,697
59,431
318 (+8%)
485 (-2%)
73,024

public-kernel-teardown
113 (+4%)
68,697
59,431
313 (+8%)
392 (-6%)
73,024

merge-rollup
6.84 (+6%)
2,696
925
:warning: 108 (-31%)
3,403 (-8%)
3,104

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
13.1 (+19%)
21.4 (+20%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.8
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.767 (+19%)
0.661 (+20%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
62.2 (+20%)
97.4 (+19%)
:warning: 315 (+18%)
:warning: 612 (+21%)
:warning: 1,191 (+20%)
:warning: 2,368 (+21%)
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.639 (+21%)
0.603 (+19%)
0.573 (+18%)
0.572 (+21%)
0.567 (+21%)
0.566 (+21%)
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
73.5 (+20%)
144 (+21%)
:warning: 456 (+21%)
:warning: 894 (+21%)
:warning: 1,781 (+21%)
:warning: 3,559 (+21%)
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
106
208
692
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.645 (+20%)
0.646 (+21%)
0.620 (+21%)
0.616 (+21%)
0.618 (+21%)
0.619 (+21%)
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
80.6 (+20%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
108

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.709 (+21%)

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
58,427
1,049,033

Transaction size based on fee payment method
| Metric |  |
| - |  |
Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
2,637 (+4%)
2,800 (+6%)
7,119 (+7%)

Metric
0 public data writes
1 public data writes
2 public data writes
4 public data writes
8 public data writes

tx_sequencer_processing_time_ms
709 (+4%)
995 (+6%)
1,056 (+7%)
1,960 (+7%)
1,250 (+8%)

As mentioned above, this PR is set up to track regular Noir programs to benchmark against circom rather than testing performance of proving for the purposes of the Aztec network so it's testing a different case to the other proving benchmark PRs.
This PR is just to show the benchmarks are hooked up correctly, I'll follow up with another PR which fills out the suite of programs we want to test.


Add option to prevent the form to be submitted when hitting ENTER

Goal: add an option to avoid the form to be submitted when hitting
ENTER on the places autocompleter
New property preventSubmit added. Set to false by default to not change
the default behavior.
Add a new keyDown event handler to prevent the ENTER key to submit the
form if the option is enabled and we have a location.
Let me know if you need more information.

@lionelrudaz Thank you! Could you add tests to this new functionality and update the readme with its proper explanation pls.

@esbanarango sure I'd love to help. I commit an update of the README.
I have troubles with tests. Tests don't complete locally. Check the screenshot below:

Then, since I'm a bit of a newbie when it comes to testing, what do you think I should add? A Unit test? An Acceptance test?
Thanks for your advice

@lionelrudaz thanks a lot for your contribution. It has been almost a year since this is open, I think this is a useful option to add. It would be nice if you can rebase against the master branch  so I can merge it.
Best regards,
Daniel.

@dmuneras I'm sorry, but I don't have much time at the moment... :( Can you do it without me?

Hey @lionelrudaz and @esbanarango, I am going to do an small/quick rebase/rewrite of this, due to the ember upgrade that I did couple of days ago. Thanks a lot @lionelrudaz for doing this.

🙏👌

@lionelrudaz  I am going to close this PR in favor of this one: https://github.com/dmuneras/ember-place-autocomplete/pull/66
I forked from your branch, but I had to create another branch to be able to merge.
is that ok?
Best regards,
Daniel.


Coiled Functions Executor

Coiled has released a pseudo-serverless offering called Coiled Functions.
It seems like we could use it in a similar way to Modal stubs, but executing tasks in a similar way to the Dask Delayed Executor (#241). This might give a nice pseudo-serverless option which would benefit from the lower costs (of spot instance pricing vs serverless), but also not require the user to manually manager their Coiled cluster.

This looks great!


Quick Reply Tweaks

This is inspired by the QRR addon by @ahrasis done in a 2.0 fashion.  It moves the quick reply area to the bottom of the message list and makes it look like a post area.  See picture.

Codecov Report

Merging #3597 (c29dfc7) into development (c7674e9) will decrease coverage by 0.23%.
The diff coverage is 71.83%.

:exclamation: Current head c29dfc7 differs from pull request most recent head 8d034a0. Consider uploading reports for the commit 8d034a0 to get more accurate results

@@                Coverage Diff                @@
##             development    #3597      +/-   ##
=================================================
- Coverage          30.24%   30.01%   -0.24%
- Complexity         15673    15682       +9
=================================================
  Files                418      418
  Lines              73584    73610      +26
=================================================
- Hits               22259    22094     -165
- Misses             51325    51516     +191

Impacted Files
Coverage Δ

sources/ElkArte/Themes/Templates.php
29.18% <59.52%> (+5.79%)
:arrow_up:

themes/default/Display.template.php
52.52% <88.88%> (+2.09%)
:arrow_up:

sources/ElkArte/AbstractModel.php
100.00% <100.00%> (ø)

sources/ElkArte/Controller/Display.php
76.73% <100.00%> (ø)

sources/ElkArte/Database/Postgresql/Result.php
0.00% <0.00%> (-62.17%)
:arrow_down:

sources/ElkArte/Database/Postgresql/Query.php
0.00% <0.00%> (-59.17%)
:arrow_down:

sources/ElkArte/Database/Postgresql/Table.php
0.00% <0.00%> (-16.97%)
:arrow_down:

sources/ElkArte/Database/Postgresql/Search.php
0.00% <0.00%> (-12.25%)
:arrow_down:

sources/ElkArte/Database/AbstractResult.php
86.36% <0.00%> (-9.10%)
:arrow_down:

sources/ElkArte/Database/Postgresql/Dump.php
0.00% <0.00%> (-8.40%)
:arrow_down:

... and 7 more

Continue to review full report at Codecov.

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

Pretty sweet!!

🆒 glad you like it!


Comments break test generation

I just started using elm-doc-test and it feels wonderful! :heart_eyes:
I tried to explain the test cases with inline comments, and found that this case isn't really covered.
Input:
    -- when pressing no arrows
    >>> arrows []
    { x = 0, y = 0 }

    -- when pressing the left arrow
    >>> arrows [ ArrowLeft ]
    { x = -1, y = 0 }

Output (excerpt):
            \() ->
                (arrows [])
                |> Expect.equal ({ x = 0, y = 0 } -- when pressing the left arrow),

Prepending the single line comment with >>> resolves the issue, but this still means we can't do things like the following:
Input:
    >>> arrows [] -- no arrows
    { x = 0, y = 0 }

Output:
            \() ->
                (arrows [] -- no arrows)
                |> Expect.equal ({ x = 0, y = 0 }),

I just started using elm-doc-test and it feels wonderful! 😍

❤ glad you like it. Sorry for the late answer, I was on paternity leave.
I think there is an easy fix for this, will fix it as soon as I got time. A PR would be really welcome though 😄

No problem at all!
I might have some time tonight or this weekend to make a PR. :) (I like that people put up issues before making PRs.)

I might have some time tonight or this weekend to make a PR. :)

That would be awesome!

I like that people put up issues before making PRs.

Totally.
Also, we can discuss doc-tests more in person at elm-europe, if you're going as well.

I am :+1:

@stoeffel Is it okay if I use elm-format@exp for the formatting? It adds some blank lines to the comment blocks, shifts in block contents and orders imports alphabetically.

yes, please. just switched as well.
On Fri, Jun 2, 2017, 13:56 Ossi Hanhinen<EMAIL_ADDRESS>wrote:

@stoeffel https://github.com/stoeffel Is it okay if I use elm-format@exp
for the formatting? It adds some blank lines to the comment blocks, shifts
in block contents and orders imports alphabetically.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stoeffel/elm-doc-test/issues/18#issuecomment-305766149,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABKUkYIhZQyy-WrqYYcqfditWH9YpG2Bks5r__h1gaJpZM4NQ6Yo
.


Add features required by rusty-machine.

See #498.

@jswrenn I believe the convention is for the iterator type to have the same name as the method returning it. In our case the methods are row_iter(), row_iter_mut() etc, hence the RowIter, RowIterMut, etc names.
I didn't call those methods rows and rows_mut in the first place because those names are already used for slicing the matrix.

I forgot about those methods! You're right about the convention. The name conflict is unfortunate.

I'm merging this for today's release.
#499 is not fully fixed yet so we will open another PR to continue the work.


container2wasm: init at 0.4.0

Description of changes
https://github.com/ktock/container2wasm

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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

container2wasm


remove runtime dependency on Mix

I was playing with exrm releases earlier today and noticed that my app was blowing up when I tested a release locally because Mix.Utils.camelize was undefined. I asked about it in irc and tristan__ & scrogson let me know that ExAws shouldn't be using be using mix functions at runtime. The issue could be resolved by adding :mix to my applications so it would get bundled in the release but the consensus seemed to be that mix is a build tool and shouldn't need to be bundled at runtime.
I've ported the Mix.Utils.camelize function to ExAws.Utils to remove the need for mix at runtime.

:+1:

Ah yeah shoot I knew to avoid Mix.env but you're right it's broader than that. Good catch thanks. camelize needs to sit in the String module IMHO.


Support shared network

It would be useful to have a shared network like lima:shared via socket_vmnet.
Requirements:

Host can access VM via VM IP (without port forwarding)
VM can access other VMs
Good performance

Use case: create multiple k8s clusters for testing managed by OCM. This can be used to test application running on OpenShift and ACM on a laptop. This is possible with minikube and libvirt driver on Linux, and we want to make it possible to do the same using new vfkit driver in minikube.
Looks like gvisor-tap-vsock cannot provide this: https://github.com/containers/gvisor-tap-vsock/issues/383
It seems that the key to get this working is using VZBridgedNetworkDeviceAttachment which is not exposed by vfkit. I understand that his requires code signing with com.apple.vm.networking entitlement, so it may not work for pre-built executables, but can we get this working by building and code signing the executable locally? Our use case is developers and building and code-signing can be automated.

Thanks! I think this code is valuable even if it does not work for github build. Can we integrate it with a build option, so it is possible to build a version with bridge support?

Yes we can add it so that people with the right entitlement can enable it. I'd prefer to get confirmation the code works though before merging it, but I don't have the required entitlement :(

I know that UTM (at least when installed from the app store) have such entitlement, so this is not impossible to do. I think this will the best way for long term.
We can document that bridge network is experimental.

I know that UTM (at least when installed from the app store) have such entitlement, so this is not impossible to do.

I'm trying to get this entitlement for vfkit, let's wait a few weeks to see how this works out.

I'm trying to get this entitlement for vfkit, let's wait a few weeks to see how this works out.

This did not work out so well, either I did not file my request in the right place, or they did not understand what I was asking for :-/

See https://github.com/Code-Hex/vz/issues/180#issuecomment-2521836954
lima is using a root vmnet helper to be able to use this without an entitlement.

See Code-Hex/vz#180 (comment) lima is using a root vmnet helper to be able to use this without an entitlement.

Yes, I mentioned socket_vmnet it in the description. There are 2 issues with this solution:

It does not work for vfkit
Poor performance

socket_vmnet supports now only the qemu socket device (-net socket,fd=). This uses unix stream socket to forwarding length prefixed packets (4 bytes length, packet payload) This is not compatible with VZ file handle, using unix datagram socket forwarding actual packets. To work with VZ, you need to convert the length prefix packets to standard packets when reading from socket_vmnet, and convert the packets from VZ to length prefixed packets when writing to socket_vmnet. This is done by Lima, creating this pipeline:
socket_vmnet <-unix-> lima <-unixgram-> vz

Instead of:
socket_vmnet <-unixgram-> vz

This leads to poor performance and high cpu usage since every packet is copied twice, once over the unix socket, and again over the unixgram socket.
Lima packet forwarding:
https://github.com/lima-vm/lima/blob/56405610b99ddca5c15f75e5aa0554c4c7ad312f/pkg/vz/network_darwin.go#L65
This is even worse because socket_vmnet is implementing a virtual hub instead of a virtual switch. It forwards packets to all vms connected to the daemon, so every packets is duplicated N times.
You can check the issue here:
https://github.com/lima-vm/socket_vmnet/issues/58
Even if socket_vmnet fixes the issue with multiple vms, it is still 10 times slower than VZBridgedNetworkDeviceAttachment.
I tested this configurations:

configuration
throughput
tool

running iperf3 server and client locally in macos 14.7.1
59.4 Gbits/s
iperf3

VZBridgedNetworkDeviceAttachment using UTM bridged network
40.0 Gbits/s
iperf3

Coping packets between processes over unix datagram socket
21.0 Gbits/s
custom

Copying packets from vmnet to VZ datagram socket with vfkit
8.5 Gbits/s
iperf3

socket_vmnet 1 lima vm
3.5 Gbits/s
iperf3

socket_vmnet 3 lima vm
1.2 Gbits/s
iperf3

We use lima with socket_vmnet and 3 vms and it is good enough for testing DR flows locally, but we don't have much choices.
So the best solution is using the entitlement. This many work only if vfkit is installed via the app store, but I think this is good enough. I'm not sure Apple will be happy with this but we should try.
If this is not possible we can use a helper to connect the a unix datagram socket to vmnet network, or socket_vment if https://github.com/lima-vm/socket_vmnet/issues/77 is implemented.

try this: https://github.com/njhsi/macos-virtio-net.git
no entitlement needed..


[FIXED] issue #423

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

What issue does this fix?
Summarize what this PR fixes:-
Fixes visibility of Social Media Icons in Dark mode.
What issue is it attached to?
Fixes #423
Checklist
(Add an x between the brackets to check the items)

[x ] I have summarize what this PR fixes above
[ x] I have provided the issue ID/URL above
[ x] I have not added Bootstrap or jQuery and used correct styling guide.
[ x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[ x] I was the first one to claim the issue or I created the issue

I don't think it's your issue, but dark mode is currently broken. I'll merge this and create an issue.


EncodedField and EncodedMethod have no method '_reload'

Describe what you wanted to do
I wanted to call the method set_name() on an EncodedField, and later on an EncodedMethod, to set the in-memory name for a method that had been set to a single-letter, presumably by ProGuard.

is this error specific to a single file?
Yes, andguard/core/bytecodes/dvm.py

if possible give a minimal working example where the error happens
Presuming you have an APK loaded as a, the DEX loaded as the DalvikVMFormat d, and that the APK has a class ExampleClass with field a

d.C.LExampleClass.F.a.set_name('new_name')

Describe what you expected
The field referred to as d.C.LExampleClass.F.a is now referenced as d.C.LExampleClass.F.new_name and shown as new_name whenever the field is used, such as when calling str() or looking up the Xrefs
Describe what actually happened
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-36-5f433d2fe809> in <module>()
----> 1 d.C.La.F.a.set_name('new_name')

C:\Android\re_tools\AndroguardMaster\androguard\core\bytecodes\dvm.pyc in set_name(self, value)
   2786     def set_name(self, value):
   2787         self.CM.set_hook_field_name(self, value)
-> 2788         self._reload()
   2789
   2790     def get_obj(self):

AttributeError: 'EncodedField' object has no attribute '_reload'

System Information

Androguard Version: master
Python Version: 2.7 Anaconda
Operating System: Windows 7 64-bit Home

Further Log Files and Output

please report logs, tracebacks and other useful information
if possible report the files you tried to analyze!

commit 9d519eaae6542 changed the call from self.reload() to self._reload()  EncodedField and EncodedMethod still have reload methods.  This same commit added _reload() methods to other classes in the file, such as FieldIdItem and MethodIdItem.  However, EncodedField and EncodedMethod did not have their reload functions changed.

@cdkorzen can you check if the PR resolves the issue for you?
thanks in advance!


Update CI to use dind approach for jobs needing daemon access

Some CI jobs/tasks require access to a Docker daemon.  As of today, they access the K8s node/host daemon.  We should revisit and pursue a Docker-in-Docker approach (as opposed to this Docker-on-Docker approach, which is usually regarded as less favorable).
Example: https://github.com/brigadecore/brigade/blob/master/brigade.js#L52-L67 courtesy @krancour
Note: We may need look for/produce an image with the add'l various tools these targets rely on -- golang, az -- in addition to the dind setup.

Note: We may need look for/produce an image with the add'l various tools these targets rely on -- golang, az -- in addition to the dind setup.

Generally (on other projects) we have not had to do this. Let's put our heads together tomorrow.

Completed with https://github.com/deislabs/porter/pull/421


Can not compile ES7 code.

I am learning React Router V4. There is a sample code:
class Login extends React.Component {
  state = {
    redirectToReferrer: false
  }

  login = () => {
    fakeAuth.authenticate(() => {
      this.setState({ redirectToReferrer: true })
    })
  }
  // ...
}

After create-react-app compiled , errors occurred:
./src/App.js
  Line 62:  'state' is not defined  no-undef
  Line 66:  'login' is not defined  no-undef

How to resolve this problem? Thanks a lot.

This looks to me like your installation is broken. One common cause is when people try to install eslint manually in their project, and install an incompatible version. If you did that, please remove esilnt from your dependencies, delete node_modules, and run npm install again.
Otherwise we‘ll need a reproducing project.

Yes, I re-created a project using create-react-app, the problems disappeared.
Thank gaearon very much.


Update federater server documentation link

Update "Open documentation" link to: https://docs.ai4eosc.eu/en/latest/user/howto/train/federated-server.html

Applied in https://github.com/ai4os/ai4-dashboard/issues/227


[ffigen] Variadic arguments with function types.

@dcharkes is there a way to do variadic arguments that are functions? trying to generate libcurl bindings
CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...);

and a version of the function accepts a
static size_t curl_callback(char *data, size_t size, size_t nmemb, void *clientp)

 functions:
    variadic-arguments:
      curl_easy_setopt:
        - [ 'long' ]
        - [ 'char*' ]
        - [ 'curl_off_t' ]
        - [ 'size_t curl_callback(char *data, size_t size, size_t nmemb, void *clientp)' ] <- this is what i want to somehow represent

Originally posted by @kingwill101 in https://github.com/dart-lang/native/issues/238#issuecomment-2439845973
@liamappelbe I suppose we don't support defining new types yet?
Now that we're starting to move into the visitor-world instead of yaml-config-world, could we conceivably add something for that?
@kingwill101 A possible work around would be to make a typedef for the function type in a separate header file, and add that header file to your FFIgen config, and use the typedef name as the type.

@kingwill101 A possible work around would be to make a typedef for the function type in a separate header file, and add that header file to your FFIgen config, and use the typedef name as the type.

I believe I tried that approach and it didn't work. Will give it another shot

@liamappelbe I suppose we don't support defining new types yet?
Now that we're starting to move into the visitor-world instead of yaml-config-world, could we conceivably add something for that?

Yeah, that's doable. It's not a small feature though. I'm not sure when I'll have time to work on it.


HHH-12295 Restore compatibility with Java 6 on branch 5.1

https://hibernate.atlassian.net/browse/HHH-12295
N.B. this PR is for branch 5.1 only.

@vladmihalcea , could you have a look please? I removed the Pattern.UNICODE_CHARACTER_CLASS flag in your regex but I'm not sure I understand the implications.
Pattern.UNICODE_CHARACTER_CLASS is not available in Java 6, while ORM 5.1 should still be compatible with Java 6, so this flag has to go. Maybe we need a different replacement?

@Sanne I remember that I added the UNICODE_CHARACTER_CLASS after someone complained that his Java Constants written with Chinese Glyphs were not caught by that Regex.
If all tests pass just fine ReflectHelperTest#test_getConstantValue_constant_digits passes just fine, then no worries.

thanks Vlad. I'll merge this then.

ah no.. forgot this is 5.1.
I'll let Gail merge it so she can check it all.

@gbadner ? I thought this was urgent, and should be trivial to check. Just looking for your ACK.

@Sanne , ReflectHelperTest#test_getConstantValue_constant_digits is failing.
@vladmihalcea , any suggestions?

@gbadner the issue here is that the pattern is requiring class with 2 uppercase letters and the test class contains only one. So the solution can be to update test data. Something like that: https://github.com/rstancel/hibernate-orm/commit/f0806b67515d0ab1a1c461ed5ebd25f99aabd51f

@rstancel, IIUC, you've just change the test code. The bug remains.

@gbadber I don't understand. Sanne has fixed the issue itself but his fix was failing one test. So I took his fix and added also a fix for this test. Is there something else which should be fixed?


Use mongoose model statics object to add method

by adding static methods to mongoose's schema object it will show how to take advantage of the mongoose.model function even more.
using the function:
function model<T extends Document, U extends Model<T>>

this would require us to create a static method and another type
export type UserSchema = mongoose.Model<UserModel> & {
  someStaticMethod: (arg1: string) => void;
}

and then at the end:
const User = mongoose.model<UserModel, UserSchema>("User", userSchema);

Is it possible to achieve the same with just JSDoc using @typedef and @type annotations? I can't seem to force vscode to understand that I want to use  the overridden form of mongoose.model that has two type parameters.
/**
 * @typedef {mongoose.Model<UserModel> & {someStaticMethod: (arg1: string) => void;}} UserSchema
 */

/**
 * @type {UserSchema}
 */
const User = mongoose.model('User', userSchema);


HiDPI background image detected failed

HiDPI background image can not auto detected, because the following code
https://github.com/al45tair/dmgbuild/blob/93fde0d01950d8ad43a3720c0dae75a26ed3b2d5/dmgbuild/core.py#L468

I don't think you wrote all of what you wanted to write here, but it looks to me as if the code there should work. The image needs to have the same name as the base image, but it needs an @x in it. e.g. if the base image is called background.png, the code looks for<EMAIL_ADDRESS><EMAIL_ADDRESS>and so on.
Maybe you can describe what you were doing, what you expected and how dmgbuild's behaviour differed from your expectations, so that I can understand why you filed this ticket?

Closing as there was no reply and I think this works.


How dynamically import in loop?

Hi, can I dynamically import icons by name in a loop?

Hi
I didn't understand what do you mean exactly
but as long as global option of plugin is true, you should be able to load the icons dynamically without any problem

Hi I didn't understand what do you mean exactly but as long as global option of plugin is true, you should be able to load the icons dynamically without any problem

I mean when I need to display different icons in a component depending on the data from the API.
Like this
<Card
    v-for="item in data"
    :key="item.id"
  >
    <Icon :name="item.iconName" />
    {{ item.title }}
</Card>

Hi
you have to treat the icons as components
I assume your svgo component icon name is "Icon", and your icon names are kebab case, and global option is set to true for nuxt-svgo (default is true):
<Card
    v-for="item in data"
    :key="item.id"
  >
    <component :is="`lazy-icon-${item.iconName}`" />
    {{ item.title }}
</Card>

though make sure to build the app and see if it still works on production, but that should do it

I disabled global in the project
Now I solved it this way, maybe there is a better solution
<script setup>
import IconOne from '~/assets/icons/one.svg'
import IconTwo from '~/assets/icons/two.svg'

const icons = {
  category1: IconOne,
  category2: IconTwo,
}
</script>

<Component :is="icons[item.iconName]" />

well I don't think there is a better solution. the global option ensures each icon get it's own chunk and that you can load them dynamically in production from what I understand. so it cannot be done without that, because there isn't any guarantee which items are needed at any point in time.
but, I use the same solution as you have mentioned, it works well when you have stuff that don't come from an API and doesn't change often

as a bonus, you can import your icons like this for less verbosity:
import {IconOne, IconTwo} from #components"


build.rs does not always work

on fresh installs we need to add a forge install step so that the Hyperdrive dependencies (openzeppelin, etc) are installed. When running make build on a fresh ubuntu environment it fails because this step is missing.
the need_to_build function also does not always work correctly. When doing a LOCAL_DEVELOPMENT=true build I was frequently getting unresolved import errors:

which are happening because it's not building. I could consistently fix the problem by forcing need_to_build to always return Ok(true).

the --root flag should be helpful in the script (forge install --root path/to/hyperdrive)


Make wrapper for MAP-MRI

The plan is to use MAP-MRI as the baseline reconstruction method. To run it with the positivity constraint active, it is necessary to use CVXOPT.  There are two issues with this

CVXOPT is licensed under GPL
CVXOPT in Windows only supports Python 2.7 and 3.4. Linux is better.

The plan is to solve this by wrapping the MAP-MRI prediction as a separate function that saves the predictions to disk. That way it could be run on a Linux system and later be loaded on a Windows system (solving 2). The wrapping function would have to be licensed under GPL.

Requires dipy >= 0.12

Closed by #78


Known issue: https://github.com/openshift/installer/issues/3028

Hello!
I wanted to share that your scripts seems to be working well. However, I am stuck with what appears to be an upstream OCP Installer problem. https://github.com/openshift/installer/issues/3028.
I wanted you to know in case you see any way to solve for it.
Thank you!

Sorry my friend, I have installed OpenShift a dozen times in the past two months testing and never was unsuccessful. The message does show up for a good amount of time till the masters are up and in a good shape to form the etcd quorum with bootstrap but the installation moves forward.
I am sorry but I have to close this issue as it cannot be duplicated on my end (and other colleagues who have been testing this repo with me)

I let the first cluster run for 15 hours overnight. I rebuilt a second time and it's two hours with no changes. Guess I'll keep pursuing this through the OCP Install team. Have a good weekend!

This is an issue with the install script. What happened is that the DHCP server had given out the wrong lease to a node. Thus, the machine configs applied no longer matched the vm\dns names. This caused the whole install to fail.
The corrective step was to delete the dhcp lease, and then restart the dhcp service. Then, reattempting the install succeeded.
I suggest you consider lowering the DHCP service timout to 60 seconds in the future.

Still can’t understand why the issue is raised with this repo. As mentioned
earlier, I have run both repos countless times in my homelab and not once I
have run into this issue. This repo isn’t responsible for anything DHCP. If
you have set the MAC/IP correctly and matching with what helper has you
should never run into this issue.
Vijay Chintalapati


process-compose info to show currently running config

Feature Request
Use Case:
I want to know what config is used to run current process compose to run down command
Proposed Change:
process-compose info to output currently running config path
Who Benefits From The Change(s)?
nix users which have path built and shored in hashed nix/store where final config hard to to find manually to call down
Alternative Approaches
manually find out

Hi @dzmitry-lahoda
Will something like this work for you:
> ./process-compose project state
# ouput:
Hostname:          somehost
User:              someuser
Version:           v0.69.0
Up Time:           2m7s
Processes:         13
Running Processes: 11
File Names:
         - /path/to/process-compose.yaml
         - /path/to/process-compose.override.yaml

Done in v0.75.1


Outlook 2010: edited for clarity

added Outlook version and a link to helpful article

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Outlook-VBA/articles/updating-earlier-code-for-commandbars.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Outlook-VBA/articles/updating-earlier-code-for-commandbars.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


add  prettier codestyle

add .prettierrc codestyle on code repo.
https://prettier.io

Thanks for submitting this idea! 💡
At this point, though, we're planning to stick with populist-style (the successor to common) since that's been in place for years.
Prettier looks rad, though. 😄


Component not mounted again on route change in choo

I am experimenting microcomponent with choo. Not sure whether I am missing something or not. However, a component inside a route is not visible after one or more route changes.
Reproduce

Gist
Change route to /about
Change route back to /
Component is gone

hey @yoshuawuyts, sorry to bother... but any suggestions on this?
best!

@dbtek seems like an issue with nanocomponent...
When a new view is rendered, nanocomponent's _element is not being unloaded causing nanomorph to not rerender the component itself...
a "hotfix" for this, (that worked for me, by now...) would be:
function createComponent () {
  var component = microcomponent({
    name: 'plaincomponent'
  })
[...]
  function unload () {
    this._element = null;
  }
}

best

@rafaelamorim Thanks for workaround. I'll try it!

We released a new version of nanocomponent yesterday (nanocomponent@next) -
it's got a slightly different API, but we've tried solving all issues that
were plaguing previous versions - perhaps you could give that a try? Cheers!
On Wed, Jul 19, 2017 at 10:28 AM İsmail Demirbilek<EMAIL_ADDRESS>wrote:

@rafaelamorim https://github.com/rafaelamorim Thanks for workaround.
I'll try it!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/microcomponent/issues/22#issuecomment-316312004,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleh4naxTUNON8DKPVuZQLJb8bxJ53ks5sPb4bgaJpZM4N5QQ0
.


Error	CS0234: System.Speech / Microsoft.Speech and System.Windows.Media missing

Hi.
I got the below errors, I tried to add References from the Assembly / Framework, but nothing is appearing there.
I installed fresh edition of VS comunity 2015 yesterday, on the lates updated Windows 10 build (updated yesterday too)
Error	CS0234	The type or namespace name 'Speech' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
and
Error	CS0234	The type or namespace name 'Media' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)

Which sample is exhibiting this problem?

Hm, I believe the Microsoft.Speech namespace is used as part of the Microsoft Speech Platform SDK 11 (https://msdn.microsoft.com/en-us/library/dd266409(v=office.14).aspx) which is not what we've used in the UWP Speech sample. The Microsoft Speech Platform SDK 11 API set is targeted at classic win32 c#/c++ applications, and isn't usable in UWP. I believe it's a separate download, not part of any edition of VS2015

The issue you are running into is not about a sample in this repo. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.

the [http://aka.ms/storesupport] is a paid support :(


Add support for mongoDB

Use for example https://www.npmjs.com/package/@joshdb/core to support more database types

agreed


Can not deploy a nginx ingress controller with a specified ingress source?

Say I have two ingress resources, how can I create two nginx ingress controller deployment with each one of them use a different ingress resource?

@newmanwang you could do this with the annotation kubernetes.io/ingress.class
https://github.com/kubernetes/ingress/blob/a3c8f6c141e52877bc22542d7445292835300339/docs/faq/README.md#how-do-i-run-multiple-ingress-controllers-in-the-same-cluster


[SQL][SPARK-37717] Improve logging in BroadcastExchangeExec

What changes were proposed in this pull request?
The logging and errors from inside
override lazy val relationFuture: Future[broadcast.Broadcast[Any]] = {   SQLExecution.withThreadLocalCaptured[broadcast.Broadcast[Any]](     session, BroadcastExchangeExec.executionContext) {         try { .....      }
are hard to relate to the right join in a plan with lost of Broadcast joins.
Spark UI displays
BroadcastExchangeExec.runId
but it's not in the logs.

Why are the changes needed?

Does this PR introduce any user-facing change?

Logs will now look like
2021-11-13 21:14:59,028 INFO [broadcast-exchange-6-e20800a6-5204-40c5-82d8-40662affc244] [tenant:] [app: ] [appID:application_1627787411812_5950609] [executor:driver] [cid: ] [prid: ] TaskMemoryManager: org.apache.spark.memory.TaskMemoryManager.acquireExecutionMemory(TaskMemoryManager.java:238) - null (TID 0) acquired 16.0 KiB for org.apache.spark.unsafe.map.BytesToBytesMap@33bfacf0
instead of
2021-11-13 21:14:59,028 INFO [broadcast-exchange-6] [tenant:] [app: ] [appID:application_1627787411812_5950609] [executor:driver] [cid: ] [prid: ] TaskMemoryManager: org.apache.spark.memory.TaskMemoryManager.acquireExecutionMemory(TaskMemoryManager.java:238) - null (TID 0) acquired 16.0 KiB for org.apache.spark.unsafe.map.BytesToBytesMap@33bfacf0
How was this patch tested?
Existing tests

Can one of the admins verify this patch?

@ekoifman please update the pr title [SQL][SPARK-37717] ->[SPARK-37717][SQL].


Update homepage in setup.py

The setup.py file still lists http://launchpad.net/parsley as the project's homepage, which means PyPI does as well. I think it should point to this github page, since everything on the launchpad.net page is for 1.1 and earlier.
The launchpad.net page should also be updated to indicate that the project has moved. I nearly fell under the impression that parsely might be abandoned because PyPI only contains a link ot the old page and the old page's repository hasn't been updated in ages.

The PyPI version doesn't work with python 3, either.


Complete 100% code coverage.

We need 100% code coverage w/ real unit tests before moving on to new development.

This is complete.


#34: Animations not working with custom placeholders. (closes #34)

Closes #34
Test Plan
tests performed
temporarily modified the example to use one of our built-in placeholder:

the animation works 🎉
tests not performed (domain coverage)

At times not everything can be tested, and writing what hasn't been tested is just as important as writing what has been tested.

An example of partial test is a field displaying 4 possible values. If 3 values are tested, with screenshots, and 1 is not, then it should be mentioned here.}

Thank you!


Some Menu's text is white dispite light theme

Some Menus, like the search results as well as the one that pops up when a song is selected have text that isn't dynamic.
This means that it is white, even when the theme is light, making it very hard to read.
Example:

(The text would be completely unreadable if my terminal wasn't partially transparent)

Thanks for the report!
It looks like I am explicitly colouring the block panels in the browser and header, and the text in the search suggestions and key entry modal.
It was not noticeable in my terminal with a dark theme.
I'm hoping to add theming in a future release, but for now, this should be simple to fix.

Fixed in https://github.com/nick42d/youtui/commit/de5ac77baa6a48aa825dabbde4768fc65c8c9607


MIC-827: Enable Moorlands only in pre prod until bug is fixed

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.70%. Comparing base (fd16882) to head (0ff8a22).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #221   +/-   ##
=========================================
  Coverage     91.70%   91.70%
  Complexity      728      728
=========================================
  Files           132      132
  Lines          2194     2194
  Branches        161      161
=========================================
  Hits           2012     2012
  Misses          120      120
  Partials         62       62

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


remove duplicate requires of "net/http"

Thanks!

Не варто подяки!

that's suppose to be "you're welcome" in Ukrainian :-)

The translation is correct, O'Rpag.


Add tutorial.

I'm going to go ahead and merge this. Its far better than the "todo" we currently have, and the docs are far easier to review once built and online anyhow.


Add a Monitor Class

The monitoring of endpoints is reasonably complex, so lets make a Monitor class (both Core and API) that helps the user create and use model monitoring.

done and documented :)


Adds Literal.durationValue method

xsd:duration is one of the basic XSD datatype. It probably makes sense to add a Literal.durationValue() method that would returns a javax.xml.datatype.Duration object.
Between other things, it would ease the implementation of issues #184 and #185

I'd suggest a slight change: instead of adding this to the Literal interface (which places a burden on third party implementations) we could provide this as a utility method in the org.eclipse.rdf4j.model.util.Literals class: Literals.getDurationValue(Literal).

@Tpt a Pull request is up for this, see #588. Feedback welcome.


Updating topic and contents directive style

In the Jupyter docs I noticed that the in-page {contents} directive was producing some slightly off output. So this PR updates the contents directive to be styled more consistently with our other directives.
Here's what the in-page contents looks like now:

I'll plan to merge this one in since I think it's pretty uncontroversial and improves an element we don't really have styling for right now


Fix train.py for MSE sorting

Performance metrics history dictionary (perf_scores_history) was being sorted wrt MSE value in reverse order and the largest one was being selected as best. However, for the MSE case (for regression problems) lowest MSE should be selected.
Top1 score is replaced with 1-MSE for regression problems for correctly selecting and saving the proper model.

Would continuing to log the regular MSE, but only changing the two associated sorting lines, by setting "reverse=False" also work? Logging "1-MSE" seemed counter-intuitive to me.

Would continuing to log the regular MSE, but only changing the two associated sorting lines, by setting "reverse=False" also work? Logging "1-MSE" seemed counter-intuitive to me.

Indeed seems more counter-intuitive however, when sorting not only MSE is used but coupled with other keys that seems to need to have higher values for a better case.

Would continuing to log the regular MSE, but only changing the two associated sorting lines, by setting "reverse=False" also work? Logging "1-MSE" seemed counter-intuitive to me.

Indeed seems more counter-intuitive however, when sorting not only MSE is used but coupled with other keys that seems to need to have higher values for a better case.

Ah, you're right. Perhaps we could do multi-pass sorts like below, although that's very elegant.
            # Sort by MSE as main sort key, then sort by epoch
            perf_scores_history.sort(key=operator.attrgetter('epoch'), reverse=True)
            perf_scores_history.sort(key=operator.attrgetter('top1'), reverse=False)
            if args.sparsity_perf:
                # Sort by sparsity as main sort key
                perf_scores_history.sort(key=operator.attrgetter('params_nnz_cnt'), reverse=True)

Would continuing to log the regular MSE, but only changing the two associated sorting lines, by setting "reverse=False" also work? Logging "1-MSE" seemed counter-intuitive to me.

Indeed seems more counter-intuitive however, when sorting not only MSE is used but coupled with other keys that seems to need to have higher values for a better case.

Ah, you're right. Perhaps we could do multi-pass sorts like below, although that's not very elegant.
            # Sort by MSE as main sort key, then sort by epoch
            perf_scores_history.sort(key=operator.attrgetter('epoch'), reverse=True)
            perf_scores_history.sort(key=operator.attrgetter('top1'), reverse=False)
            if args.sparsity_perf:
                # Sort by sparsity as main sort key
                perf_scores_history.sort(key=operator.attrgetter('params_nnz_cnt'), reverse=True)

That also makes sense. Btw top1 is used for accuracy like performance metrics throughout train.py and we also have an objective loss. For the regression case, they are reported as equal. I guess, for some similarity 1-MSE was being in use for some logging purposes.
I agree with both versions. Lets get some more votes on this and I can implement accordingly.

2022.11.14-191711.log
I tried this fix with the faceID model, and it seems working as intended. You may find the log file attached. However, my vote is for the multipass solution as it's less confusing for the users.

Dear all,
All above and the latest comments are addressed in the last commit

top1 score is assigned to MSE directly (instead of -MSE or 1-MSE)
sequential sorting implemented in perf scores history
1-MSE parts totally removed


Feature/monitor scraping

Added polling function that calls all monitoring functions and returns result as dict
added monitoring function for

Memory
processes
network
disk
battery
cpu

Looks good


With*() Query does not work with Count()

store.Count(model.NewDeviceQuery().WithCustomer()) results in pq: Spaltenverweis „id“ ist nicht eindeutig
Is this intended, or should the With* part be ignored during Count()

Can you paste the output changing store.Count by store.Debug().Count? It's definitely not by design.

Just tried this and it worked for me. Maybe it's because it's trying to do COUNT(identifier). Changed it to COUNT(alias.*) and now it should work. I'm gonna make a new release. Tell me if that solves it for you.
Note that adding With* to a query does not change the result of the Count since this is a left join and the result will always be the number of devices in your case no matter if they have a customer or not.


Clear service worker cache and disable it

it seems that the service worker in the landing page is caching the site - thus preventing us from switching to another home page by means of DNS.
We need to approach this carefully - and understand what's the correct way to update the service worker for existing users - with code that will change its caching strategy.
The end result is that new visitors will see a new home page (hosted in unbounce), returning user will get this old homepage, and then their cache will be cleared and they will be able to be redirected to the new site.

here are a few resources to help do a POC for this:
https://vite-plugin-pwa.netlify.app/guide/periodic-sw-updates.html
https://vite-plugin-pwa.netlify.app/guide/prompt-for-update.html#setup
https://stackoverflow.com/questions/41903097/how-to-force-service-worker-to-update
https://web.dev/learn/pwa/service-workers/#updating-a-service-worker
https://laracasts.com/discuss/channels/javascript/how-to-clear-a-service-worker-cache-for-indexhtml-page


Refine client recv

Codecov Report
Attention: Patch coverage is 50.00000% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 94.23%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #281   +/-   ##
=======================================
  Coverage   94.23%   94.23%
=======================================
  Files         123      123
  Lines        8891     8884    -7
=======================================
- Hits         8378     8372    -6
+ Misses        513      512    -1

Files
Coverage Δ

include/async_mqtt/client.hpp
100.00% <ø> (ø)

include/async_mqtt/impl/client_impl.hpp
93.22% <50.00%> (+0.42%)
:arrow_up: