What is the training performance and testing performance?

What's the datasets you train? And what is the fps and map on which GPU? xxxxdd

I use our company's dataset.
Train GPU:1080Ti
Test GPU: MX150
Accuracy:84%
Predict time:0.054s

Nice answer, thanks!


Segfault in value_integrity_test when compiling with Clang on macOS

As of #1302 the master branch generates a segfault in value_integrity_test when compiling with Clang on macOS. When run with AddressSanitizer enabled, it implies that a bad memory access is generated within libunwind afte a DivideByZeroException is thrown.
I haven't verified if this is unique to Apple's custom Clang release or manifests on normal Clang as well. My clang version is:
Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.5.0
Thread model: posix

Details on the segfault from AddressSanitizer are below:
ASAN:DEADLYSIGNAL
=================================================================
==11616==ERROR: AddressSanitizer: SEGV on unknown address 0x00013ae1b090 (pc 0x7fff599aac1a bp 0x7ffee05b6bb0 sp 0x7ffee05b6b50 T0)
==11616==The signal is caused by a READ memory access.
    #0 0x7fff599aac19 in libunwind::CFI_Parser<libunwind::LocalAddressSpace>::decodeFDE(libunwind::LocalAddressSpace&, unsigned long long, libunwind::CFI_Parser<libunwind::LocalAddressSpace>::FDE_Info*, libunwind::CFI_Parser<libunwind::LocalAddressSpace>::CIE_Info*) (libunwind.dylib:x86_64+0x1c19)
    #1 0x7fff599a9c56 in libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(bool) (libunwind.dylib:x86_64+0xc56)
    #2 0x7fff599aa24a in libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step() (libunwind.dylib:x86_64+0x124a)
    #3 0x7fff599a9a0d in _Unwind_RaiseException (libunwind.dylib:x86_64+0xa0d)
    #4 0x7fff5763125d in __cxa_throw (libc++abi.dylib:x86_64+0x1d25d)
    #5 0x1100700e8 in peloton::codegen::RuntimeFunctions::ThrowDivideByZeroException() runtime_functions.cpp:125
    #6 0x13ae1a036  (<unknown module>)
    #7 0x10f65b208 in peloton::test::ValueIntegrityTest_IntegerDivideByZero_Test::TestBody() value_integrity_test.cpp:157
    #8 0x10f7b7fba in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) gmock-gtest-all.cc:3562
    #9 0x10f6db0c2 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) gmock-gtest-all.cc:3598
    #10 0x10f6daa5d in testing::Test::Run() gmock-gtest-all.cc:3634
    #11 0x10f6debfa in testing::TestInfo::Run() gmock-gtest-all.cc:3810
    #12 0x10f6e2c4a in testing::TestCase::Run() gmock-gtest-all.cc:3928
    #13 0x10f7066b8 in testing::internal::UnitTestImpl::RunAllTests() gmock-gtest-all.cc:5799
    #14 0x10f7c78aa in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) gmock-gtest-all.cc:3562
    #15 0x10f70560c in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) gmock-gtest-all.cc:3598
    #16 0x10f7050ab in testing::UnitTest::Run() gmock-gtest-all.cc:5410
    #17 0x10f7f3990 in RUN_ALL_TESTS() gtest.h:20058
    #18 0x10f7f3904 in main gmock_main.cc:53
    #19 0x7fff59665014 in start (libdyld.dylib:x86_64+0x1014)

==11616==Register values:
rax = 0x000000013ae1b090  rbx = 0x000000013ae1a036  rcx = 0x00007ffee05b7368  rdx = 0x00007ffee05b73a0
rdi = 0x00007fff91c9ba99  rsi = 0x000000013ae1b090  rbp = 0x00007ffee05b6bb0  rsp = 0x00007ffee05b6b50
 r8 = 0xffffffff00004f00   r9 = 0x00007fff91c9b1e0  r10 = 0x0000500100004600  r11 = 0x0000500100000000
r12 = 0x00007ffee05b7848  r13 = 0x00007ffee05b73a0  r14 = 0x00007ffee05b7368  r15 = 0x000000013ae1b090
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (libunwind.dylib:x86_64+0x1c19) in libunwind::CFI_Parser<libunwind::LocalAddressSpace>::decodeFDE(libunwind::LocalAddressSpace&, unsigned long long, libunwind::CFI_Parser<libunwind::LocalAddressSpace>::FDE_Info*, libunwind::CFI_Parser<libunwind::LocalAddressSpace>::CIE_Info*)
==11616==ABORTING

Looks like a similar issue to what was discussed in #995.
Also, if I disable the prior test (IntegerOverflow) and run the failing test (IntegerDivideByZero) in isolation, it passes.

Interestingly, it wasn't trigger in #1335.  Here is the snippet of the log:
100% tests passed, 0 tests failed out of 177

As far as I know Travis still only builds with gcc, not Clang. My suspicion is this is manifesting a bug inside of LLVM's internal use of libunwind, since Peloton never uses the library explicitly. A similar bug has been reported recently to LLVM, and it visible all the way back to LLVM 3.7:
<EMAIL_ADDRESS>

But #1335 used clang to build on macOS. I don't think you can build peloton with gcc on macOS.

You're right. It was built with Clang (albeit an older version) than the one most of us are using. Bizarre.

Current master branch no longer manifests this issue, and I don't believe this is a bug in our control anyway.


Custom File Associations are not working

It seems that file icon associations are not being honored anymore.

false alarm... I don't know what I did but I swear that somehow it wasn't working for me... :relaxed:


Make groups management more fine grained

Address issue 85 (https://github.com/opscode-cookbooks/users/issues/85)

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

Hi,
Thank you for your contribution. I don't want to assume that you are still working on this, so let me know if you still would like to see this get accepted. A few things minimally that need some attention:

Make sure you sign the CLA.
Don't edit the CHANGELOG or metadata. The community engineering team does that when we are slating a release of the cookbook.
rebase your repo to the current state of master
update documentation on proposed changes
minimize changes to just be around the group management piece
as you're changing how groups work, add some tests. This seems like it would be a breaking change for folks, so might want to drop a discussion issue for this specific change. You've got Issue 85, but based on the limited discussion there, you don't propose the actual implementation for review.

I do think that groups needs a rehaul, so definitely want to have that conversation within the community.
Let me know what you think, I have more thoughts around the use of json versus array over an additional databag groups. I want to make sure that you're still interested in this issue before continuing though.
Thanks!
Jennifer

Closing as no response. We'd still love to have your contribution. If you take a look at my previous comment that will help get this going. Thanks!


docs(useCustomCompareEffect): Add story

What is the problem?
As noted in #352, no story exists for useCustomCompareEffect.
What changes does this PR make to fix the problem?
It adds the requested story
Checklist

[X] Is there an existing issue for this PR?

#352

Resolves #352

:tada: This PR is included in version 13.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


not able to build successfully

What happened?
when I clone the repo and run gradlew build check test, I get the following error

Environment
- OS: Windows 10 Pro
- Java:jdk1.8.0_351

Relevant log output
No response

Synthea requires a minimum of Java 11, you were using Java 8.


vuepress cms problem report

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

Netlify CMS version: [e.g. 2.0.4]
Git provider: [e.g. GitHub, BitBucket]
OS: [e.g. Windows 7]
Browser version [e.g. chrome 22, safari 11]

Node.JS version:

CMS configuration

Additional context

issues resport

What issue are you encountering? We need some details to help you out


Channels and users disappear from Categories after computer restart

I have my channels and users neatly organised in Categories in the sidebar, but every time I restart my laptop (it's a company-controlled Windows laptop, so I have to do it every 1-2 weeks), I lose all the channels and users that were assigned to the Categories (the categories themselves are still visible, there's just nothing assigned to them).

@nz-alex We did a bug fix for this in v5.32.0 release, and it was also backported to v5.31.1 dot release. Would you be open to upgrading to a more recent version?

Thank you so much for the quick response! Unfortunately updating our Mattermost version is very much outside my sphere of influence as it's owned by a large enterprise where I'm a contractor at the moment. Hopefully they'll apply the upgrade soon, looks like we're not far off in terms of versions!

Not sure if anyone will see this comment but our version of Mattermost got updated today and we're on 5.34.1 now, yay! :-)


Frequently Asked Question (FAQ) Proposal

Hello there, I'd like to contribute to your awesome project by writing a Frequent Asked Questions (FAQ) for users self-service. Would love to hear from you, thanks.

Have you started working on this

I have started working on this

Is this issue closed or implemented on the project? I would like to work on this new feature if is not  implemented yet.@olayhemy


[card] Clicking p2p-send if recipient is left null will transfer to 0x00000.. :(

Describe the bug
Logs after I think I just burnt some rinkeby $$$:
info: [ConditionalTransferController] Conditional transfer called with parameters: {
  "assetId": "0xFab46E002BbF0b4509813474841E0716E6730136",
  "amount": "10000000000000000",
  "conditionType": "LINKED_TRANSFER_TO_RECIPIENT",
  "paymentId": "0xa57b9b8c8ceed6d6d8e2c4aad1926fcb05516294b04776e56ad38fb3719dacab",
  "preImage": "0xd455a011ebb27f008b2167321e4063cbbbbc90d1e819eb6097f6f31046e22f3d",
  "recipient": null
}

We should guard against this at the UI level (obviously) but probably also at the client level too..

#437


Frozen rows are not redrawn when the vertical scrollbar is down

scenario:
200 rows with 3 frozen rows
200 columns with 3 frozen columns
move vertical scrollbar down
move horizontal scrollbar
Frozen rows are not redrawn (remains white)

Hi @tblohorn,
I try your change but it doesn't fixe the issue...


Change SharedFlow to StateFlow in the android SDK.

Description:
In the Android SDK there is a mistake that the authenticationStateFlow is exposed as a SharedFlow, this should be corrected as ShateFlow.

fixed with 0.1.4 version
https://central.sonatype.com/artifact/io.asgardeo/asgardeo-android


Editing run for the Relay Network post

@sibelius - this is the first half of editing, I ran out of time - will pick it up again soon
A lot of my work has been to try and provide a bit more context about why something is needed, or and how it comes together. Interestingly Brazilian Portuguese is my (rough) second language, so I recognize a bunch of the portuguese grammar in here 🇧🇷
If you think this is losing your voice, I'd love you to re-edit over some of this and make it feel right for you 👍

no problem at all, let's improve this

OK, this is now where I like it 👍

Just got the OK to ship this


Some reasonably detailed experiments

Enjoyed the original and tried a few things that eventually turned out quite nice IMO.
Pretty new to Rust and hadn't tried out No build tools Preact - should probably have switched to JSX.
All the best!

I think you forgot to link to your repository in the PR! (it just has description + image)

I went ahead and merged that manually :)


Atomic Loans Additions to CAL with LoanFund and Loan Provider

Description
Atomic Loans additions such as LoanFund Provider and Loan Provider
Introduce getMempoolBalance
Submission Checklist :pencil:

[ ] LoanFund Provider

@mattBlackDesign @monokh instead of hosting them separately, they can host it here and leverage our build system. If the changes are specifically made to their subpackages, we can let them merge it on their schedule and do a combine review when it is related to the common packages.
For now, the diff is very noisy because of unnecessary changes liquality to atomicloans. @mattBlackDesign can you first fix it? It will be easy to review then and we can quickly move forward.

Going to be quite blunt here because I think this can prevent a great deal of headaches in the future.
There is a clear separation of responsibility between the loan providers and the rest of the codebase. The current set of contributors shouldn't be concerned with maintaining or engaging in any real way with the loan related functionality. There are several areas where disagreements and conflict can and will occur in the future if this github project becomes a playground for every addition to the CAL:
Code access writes
Loans contributors shouldn't be required to go through approval to get code merged into the repo. Similarly, the other contributors shouldn't be distracted with changes that don't concern them, however small that may be.
Code responsibility
Every independent module of CAL should be free to tag, release, branch on their own schedule. This one repo system not only accumulates a lot of unrelated components, it also slows down the concerning teams with delivering.
What happens when a loan module fails the build? Who is responsible?
What happens when there is a new version release required immediately but core contributors are not there?
What happens when a non core contributor releases a version of the library which breaks certain things. Who is responsible?
Infrastructure responsibility
Infrastructure (building, deploying) has been setup on the repo for the project in a way that suits a given team. The build system and it's components (docs, releases etc.) may change with no notice to a party. At the same time, a party may want to customise these details, at which point, the infrastructure can become messy.
Discussion and content
Things like READMes, PRs, issues and github pages are unique content between loans and the rest of the project. Mixing it will make everything hard to find and organise.

@harshjv removed scope @atomicloans to reduce the number of diffs. This was in place temporarily to allow for those packages to be deployed to npm for atomic loans ui.
You have both brought up very good points, and I agree that the loan functionality really has nothing to do with the rest of CAL. This could technically be a completely separate module, in a completely separate repo that is used alongside CAL, however we would need to determine how we want to setup the @liquality/client module to accommodate for that.
We'll also need to think about how modules are published. I personally think that in the future all the modules will probably be their own repos, but I don't think we're at that stage yet.


TPC-C Failing on Not Found Error

Master currently fails on executing TPC-C with the following error format:
     [java] 07:17:50,739 (Worker.java:506) ERROR - Fatal error when invoking Payment/02
     [java] java.lang.RuntimeException: D_ID=2 D_W_ID=15 not found!
     [java] 	at com.oltpbenchmark.benchmarks.tpcc.procedures.Payment.run(Payment.java:202)
     [java] 	at com.oltpbenchmark.benchmarks.tpcc.TPCCWorker.executeWork(TPCCWorker.java:74)
     [java] 	at com.oltpbenchmark.api.Worker.doWork(Worker.java:386)
     [java] 	at com.oltpbenchmark.api.Worker.run(Worker.java:296)
     [java] 	at java.base/java.lang.Thread.run(Thread.java:834)
BUILD FAILED
/home/ubuntu/oltpbench/build.xml:126: Java returned: 255

Issue shows up in http://jenkins.db.cs.cmu.edu:8080/blue/organizations/jenkins/testing-team%2Fterrier-nightly/detail/support_server_cmd_test/22/pipeline (in raw output).
Related issue might be busy ramdisk. sudo rm -rf /mnt/ramdisk fails with “device or resource busy” but no open files exist when lsof +D /mnt/ramdisk is run.

The district index it should be using for this lookup doesn't change, so I'm less inclined to believe it's related to either the UPDATE changes in TPL2 or the destination of the WAL. If I had to guess, it's something to do with the index lookup code.

Just to add some detail to the RAM disk part. I was running the Jenkins job that you added to link to when you mentioned this. The Jenkins job starts and kills the DB repeatedly so its possible that when you did the rm -rf the RAM disk was in use and then when you ran lsof it may have been between tests so it was not in use. Just a theory.

I thought so too, but I tried to do rm -rf again after lsof but still said it was busy. All the commands I used were run after I killed the DB.

Have we tried to git bisect this to see when it broke? I'd try this commit:
https://github.com/cmu-db/noisepage/commit/d9d1c42cff40e687e9d62b84ac921f486b9a2c5d
which is when TPC-C got fixed after merging TPL2 and see if the bug is present. If it's not commence the bisecting.

First time I think I've seen it on the Item table/index:
http://jenkins.db.cs.cmu.edu:8080/blue/organizations/jenkins/terrier/detail/PR-1224/89/pipeline

Might get fixed in #1279 . This issue was introduced when we merge in TPL2, which is the first time we actually used SetIndexedUpdate in our codebase.


v0.20.6: eks get-token regression

With v0.20.6 I get the following error when attempting to use the kubectl with the recommended authentication configuration in ~/.kube/config:
E0108 09:50:23.809791  817786 memcache.go:265] couldn't get current server API group list: Get "https://<REDACTED>.gr7.us-east-2.eks.amazonaws.com/api?timeout=32s": getting credentials: decoding stdout: couldn't get version/kind; json parse error: json: cannot unmarshal string into Go value of type struct { APIVersion string "json:\"apiVersion,omitempty\""; Kind string "json:\"kind,omitempty\"" }

When running GRANTED_QUIET=true FORCE_NO_ALIAS=true assumego test --exec 'aws --region us-east-2 eks get-token --cluster-name default --output json' this is the JSON output I get with v0.20.6:
GrantedExec <REDACTED> None us-east-2 None false None None None None aws --region us-east-2 eks get-token --cluster-name default --output json

(clearly not json...)
Reverting to v0.20.3 works. This is what I get when running the same assumego command with v0.20.6:
{
    "kind": "ExecCredential",
    "apiVersion": "client.authentication.k8s.io/v1beta1",
    "spec": {},
    "status": {
        "expirationTimestamp": "2024-01-08T15:12:09Z",
        "token": "k8s-aws-v1.<REDACTED>"
    }
}

Is there not a unit test to catch basic stuff like this?

What happens when you use assume --exec -- instead of assumego --exec? I raised a similar issue in #573 but I think these are the result of a fundamental shift in usage brought on by #549

Also it seems the published docs are now broken, since they recommend calling assumego directly: https://docs.commonfate.io/granted/recipes/eks/ So from that standpoint, this is definitely a regression. At the very least the docs should change. cc @JoshuaWilkes

Yes, updating my ~/.kube/config with assume in place of assumego works. At this point the sudden breaking change is already done so maybe just update the docs? It would be nice to have a deprecated transition period for things like this in the future.

It would be nice to have a deprecated transition period for things like this in the future.

Agreed. At the very least I think this change warranted an updated minor version instead of just patch-level.

@nocnokneo and @jhuntwork, thank you for reporting this issue! We apologize for not updating the docs sooner; there was an oversight on our part. The necessary updates have been made to the community channel, our documentation, and we have taken internal note of this. Sorry again!


Pending Changes: Click to show diff

Would be awesome if you could click items in the list to bring up the diff-view as well.

Added in the new 4.3.23 release


Update nuget package to reference this repo

The Faker.Net nuget package currently references the repo located at https://github.com/oriches/faker-cs which is 15 commits behind this repo.  If this is the main repo can you update nuget to pull from this repo?

+1

+1

+1

Faker.Net.Portable might be an alternative?

@slashdotdash what's the status of this? I just created a PR for the @oriches fork but frankly I don't know which repo is more likely to be published in nuget. If you or @oriches are no longer maintaining this package, I'd be happy to take it over from you.

@michaldudak It was originally published to NuGet by @oriches so best to ask him as I don't think I can publish an update.

I've asked him already. Hopefully he'll reply.

If you are merging projects I would suggest reaching out to the author of https://github.com/bchavez/Bogus as it surpasses the functionality of faker in many ways, and is currently being updated.


PDF export of recipe cards

It's nice to share recipes with friends, and it seems possible to do better than just exporting the original markdown as PDF – this results in weirdness with thumbnails, properties missing, and wasted space where there could be a two-column view.

Didnt even think about this idea, awesome.

I was just about to put forward this idea when i saw this planned enhancement. This feature would make this plugin absolutely perfect! Thanks for all your work!


esp_ble_gattc_write_char_descr stops at 0x00

I have to write data like {0x47, 0xF2, 0xFC, 0x7B, 0x00, 0x20, 0x2D,....}
but function writes only those characters that come before first NULL character, so I can only write 0x47, 0xF2, 0xFC, 0x7B

um, data type issue. solved already.


dropna returning  ValueError but works in Pandas

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS 10.14 Mojave
Modin installed from (source or binary): binary
Modin version: Latest
Python version: Anaconda 2018.12 (Python3.7)
Exact command to reproduce: df.dropna(subset=[col_a, col_b])

Describe the problem
dropna call works if I run it in Pandas, but if I run it with Modin it throws a ValueError:  Length of Values does not match length of index
Source code / logs
Traceback (most recent call last):
File "file.py", line 551, in
cProfile.run("test()")
File "/anaconda3/lib/python3.7/cProfile.py", line 16, in run
return _pyprofile._Utils(Profile).run(statement, filename, sort)
File "/anaconda3/lib/python3.7/profile.py", line 53, in run
prof.run(statement)
File "/anaconda3/lib/python3.7/cProfile.py", line 95, in run
return self.runctx(cmd, dict, dict)
File "/anaconda3/lib/python3.7/cProfile.py", line 100, in runctx
exec(cmd, globals, locals)
File "", line 1, in
File "file.py", line 547, in test
dw.process_data()
File "file.py", line 86, in process_data
self.pipeline(chunk)
File "filepy", line 133, in pipeline
chunk.dropna(subset=["COL_A", "COL_B"], inplace=True) #drop rows that have either a null COL_A or null COL_C
File "/anaconda3/lib/python3.7/site-packages/modin/pandas/dataframe.py", line 542, in dropna
axis=axis, how=how, thresh=thresh, subset=subset
File "/anaconda3/lib/python3.7/site-packages/modin/data_management/query_compiler/pandas_query_compiler.py", line 1804, in dropna
compute_na = self.getitem_column_array(subset)
File "/anaconda3/lib/python3.7/site-packages/modin/data_management/query_compiler/pandas_query_compiler.py", line 2290, in getitem_column_array
0, getitem, numeric_indices, keep_remaining=False
File "/anaconda3/lib/python3.7/site-packages/modin/engines/base/block_partitions.py", line 705, in apply_func_to_select_indices
if self.partitions.size == 0:
File "/anaconda3/lib/python3.7/site-packages/modin/engines/base/block_partitions.py", line 68, in _get_partitions
for i in range(len(self._partitions_cache))
File "/anaconda3/lib/python3.7/site-packages/modin/engines/base/block_partitions.py", line 68, in
for i in range(len(self._partitions_cache))
File "/anaconda3/lib/python3.7/site-packages/modin/engines/base/block_partitions.py", line 66, in
if self.block_lengths[i] != 0 and self.block_widths[j] != 0
File "/anaconda3/lib/python3.7/site-packages/modin/engines/ray/pandas_on_ray/block_partitions.py", line 41, in block_lengths
if len(self._partitions_cache.T) > 0
File "/anaconda3/lib/python3.7/site-packages/ray/worker.py", line 2202, in get
raise value
ray.worker.RayTaskError: ray_worker (pid=26375, host=Macbook-10401.local)
ray.worker.RayTaskError: ray_worker (pid=26370, host=Macbook-10401.local)
File "/anaconda3/lib/python3.7/site-packages/modin/engines/ray/pandas_on_ray/axis_partition.py", line 84, in deploy_ray_func
return func(*args)
File "/anaconda3/lib/python3.7/site-packages/modin/engines/base/axis_partition.py", line 187, in deploy_axis_func
result = func(dataframe, **kwargs)
File "/anaconda3/lib/python3.7/site-packages/modin/data_management/query_compiler/pandas_query_compiler.py", line 172, in helper
return pandas_func(df, internal_indices=internal_indices, **kwargs)
File "/anaconda3/lib/python3.7/site-packages/modin/data_management/query_compiler/pandas_query_compiler.py", line 2334, in setitem
df[df.columns[internal_indices[0]]] = value
File "/anaconda3/lib/python3.7/site-packages/pandas/core/frame.py", line 3370, in setitem
self._set_item(key, value)
File "/anaconda3/lib/python3.7/site-packages/pandas/core/frame.py", line 3445, in _set_item
value = self._sanitize_column(key, value)
File "/anaconda3/lib/python3.7/site-packages/pandas/core/frame.py", line 3630, in _sanitize_column
value = sanitize_index(value, self.index, copy=False)
File "/anaconda3/lib/python3.7/site-packages/pandas/core/internals/construction.py", line 519, in sanitize_index
raise ValueError('Length of values does not match length of index')
ValueError: Length of values does not match length of index

Thanks @Jflick58!
What was the line run above this? It looks like it may have originated before this. Are you using df["COL_A"] = ... or something to that effect? That may be where the bug is originating.

The previous lines are:
df["COL_C"] = self.col_c #type int
df["COL_B"] = df["COL_B"].replace(r"(%20)", np.nan, regex=True)
df["COL_A"] = df["COL_A"].str.extract(r"(\d{4,16})", expand=True)

Thanks @Jflick58, I will dig into this. At a first glance, it appears that the expand on the extract call is creating a 1-column DataFrame, and Modin is failing to apply that column to the series. This should be a relatively straight-forward fix, thanks for the report!

@devin-petersohn  thanks for being so responsive. I'm looking forward trying Modin once this is fixed.

Btw I think a minimal reproduction of this bug is
df = pd.DataFrame({'A': list(range(10))})
df['A'] = pd.DataFrame(df['A'])
str(df)

Closing #541 via #545.


feat: 🎸 add getLegs to confidential transaction

Description
Add getLegs method for confidential transactions
Breaking Changes
None
JIRA Link
✅ Closes: DA-992
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 24.0.0-confidential-assets.1 :tada:
The release is available on:

npm package (@confidential-assets dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Simple cron program

Resolves #14.
Runs every day 0 0 * * *.
Changes

cf:serve task
cf:push task

Related: #17.


Add Github as a tool

Would be cool to have Github as a tool
You can connect your github repo, it should be able to read the code and then make pull requests to make edits to code

Closing this as this is done.


Erlang 19 compatibility

Elixometer now compiles and runs under Erlang 19.
@jparise @pguillory

Could you also add OTP 19.0 to .travis.yml so we can test this going forward?

Coverage remained the same at 91.339% when pulling 6152c7b957df715294485c87ef6be4a0618b5b81 on scohen:erlang_19 into a3a5bd52c8d52ad5e75c6da61f3b0dfc07946580 on pinterest:master.


Add way to crop image thumbnails

It's great that ngx_pagespeed allows you to resize thumbnails automatically. But it's useful to crop thumbnails into certain dimensions (i.e. square). It would be fantastic if something like this worked:
<img src="img.jpg" width=50 height=50 crop /> (or whatever the syntax is)
And the image would be a 50x50 thumbnail, cropped to fit.

What if the crop is in percentage?
I mean... this would be unfixable if the image has percent-based dimensions :|


BindPopup to Layer

Hi there
Thanks for the plugin. I've been testing it out and it works great.
I'm finding it difficult to add a popup to the layer using. Is this possible with the plugin.
Here is the code for my layer
var boundary = new L.WFS({
url: 'http://<IP_ADDRESS>/geoserver/nd_test/ows',
typeName: 'Boundary_region',
crs: L.CRS.EPSG4326,
geometryField:'geom'
},new L.Format.GeoJSON({crs: L.CRS.EPSG4326})
).addTo(map)
.on('load', function () {
map.fitBounds(boundary);
});

Hello.
WFS layer extends L.FeatureGroup layer and have all its methods and events. You can use .bindPopup or onclick event as in quick start guid. I check this and its work
var boundary = new L.WFS().addTo(map).bindPopup('I am popup')

or
var popup = new L.Popup();
boundaries.on('click', function(e){
  popup
    .setLatLng(e.latlng)
    .setContent('You clicked on boundary layer at '+ e.latlng.toString())
    .openOn(map);
});

Also you can use Leaflet.ToolBar plugin as we did in polygon example

Thanks for getting back to me.
I actually tried .bindPopup(features properties.name) but the console gave
an error saying feature is not available.
Is it possible to access features properties?
On 24 Jun 2015 8:30 pm, "kuzkok"<EMAIL_ADDRESS>wrote:

Hello.
WFS layer extends L.FeatureGroup layer and have all its methods and
events. You can use .bindPopup
http://leafletjs.com/reference.html#featuregroup-bindpopup or onclick
http://leafletjs.com/reference.html#featuregroup-click event as in quick
start guid http://leafletjs.com/examples/quick-start.html. I check this
and its work
var boundary = new L.WFS().addTo(map).bindPopup('I am popup')
or
var popup = new L.Popup();
boundaries.on('click', function(e){
popup
.setLatLng(e.latlng)
.setContent('You clicked on boundary layer at '+ e.latlng.toString())
.openOn(map);
});
Also you can use Leaflet.ToolBar
https://github.com/Leaflet/Leaflet.toolbar plugin as we did in polygon
example http://flexberry.github.io/Leaflet-WFST/examples/polygon.html
—
Reply to this email directly or view it on GitHub
https://github.com/Flexberry/Leaflet-WFST/issues/8#issuecomment-114987322
.

It appears not, as its a FeatureGroup and has a shared bindPopup method.
Is there a way of getting the data into a L.geoJson layer?

There is not way to get L.geoJson layer in this plugin. You can access to layer feature in onclick event:
 boundary.on('click', function (e) {
    popup
      .setLatLng(e.latlng)
      .setContent('You clicked at '+ e.layer.feature.id)
      .openOn(map);
  });

but now it's not work with "Multi" classes such as MultiCurve and MultiSurface

That's great thanks. Exactly what I needed.
On 25 Jun 2015 07:44, "kuzkok"<EMAIL_ADDRESS>wrote:

There is not way to get L.geoJson layer in this plugin. You can access to
layer feature in onclick event:
boundary.on('click', function (e) {
popup
.setLatLng(e.latlng)
.setContent('You clicked at '+ e.layer.feature.id)
.openOn(map);
});
but now it's not work with "Multi" classes such as MultiCurve and
MultiSurface
—
Reply to this email directly or view it on GitHub
https://github.com/Flexberry/Leaflet-WFST/issues/8#issuecomment-115126465
.

example at http://flexberry.github.io/Leaflet-WFST/examples/popup.html


PyInstaller build spec + JSON RPC interface for client

This PR adds a JSON RPC interface in front of the client CLI. It adds a new build spec to package the JSON RPC server into a binary. It also provides some example usage of the client via a JSON RPC client written in Python and Javascript.
Before merging this PR, I would like to finish:

[x] Adding new section to PlayPen README detailing process to build the binary and run sample clients

I decided to skip the VCR issue and I added PyInstaller as a requirement in the README, I don't think we need it as a dep to the main project yet.

fixes #336

@pranavgaikwad I tried running on MacOS arm64, below is what I saw.
Looked like I built the binary OK, didn't see any errors, but when I run I see an error.
$ cd dist
$ ls -larth
total 16160
drwxr-xr-x  11 jmatthews  staff   352B Aug 31 08:08 ../
-rwxr-xr-x   1 jmatthews  staff   7.9M Aug 31 08:08 cli*
drwxr-xr-x   3 jmatthews  staff    96B Aug 31 08:08 ./

$ ./cli
Traceback (most recent call last):
  File "rpc.py", line 14, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 378, in exec_module
  File "cli.py", line 34, in <module>
ModuleNotFoundError: No module named 'kai'
[PYI-56524:ERROR] Failed to execute script 'rpc' due to unhandled exception!

 $ python rpc-client.py ../kai/config.toml coolstore ../example/analysis/coolstore/output.yaml ../example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java
Traceback (most recent call last):
  File "/Users/jmatthews/git/jwmatthews/kai/playpen/rpc-client.py", line 10, in <module>
    from client import rpc as kaiRpcClient
  File "/Users/jmatthews/git/jwmatthews/kai/playpen/client/rpc.py", line 14, in <module>
    from cli import (
  File "/Users/jmatthews/git/jwmatthews/kai/playpen/client/cli.py", line 34, in <module>
    from kai.constants import PATH_KAI
ModuleNotFoundError: No module named 'kai'

More output here from what I tried:  https://gist.github.com/jwmatthews/3bf9d5bce931d1cd695e84ec987881e3

@jwmatthews did you have Kai installed using 'kai install -e .'

I don't believe I had kai installed in the venv I was running in, so tried to correct that in below
$ pip install -e .
Obtaining file:///Users/jmatthews/git/jwmatthews/kai
  Preparing metadata (setup.py) ... done
Installing collected packages: kai
  DEPRECATION: Legacy editable install of kai==0.0.1 from file:///Users/jmatthews/git/jwmatthews/kai (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457
  Running setup.py develop for kai
Successfully installed kai-0.0.1

$ python rpc-client.py ../kai/config.toml coolstore ../example/analysis/coolstore/output.yaml ../example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java
running get_incident_solutions_for_file() with params {'config_path': '../kai/config.toml', 'app_name': 'coolstore', 'report_path': '../example/analysis/coolstore/output.yaml', 'input_file_path': '../example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java'}
Traceback (most recent call last):
  File "rpc.py", line 14, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 378, in exec_module
  File "cli.py", line 34, in <module>
ModuleNotFoundError: No module named 'kai'
[PYI-67545:ERROR] Failed to execute script 'rpc' due to unhandled exception!

$ python
Python 3.12.2 (main, Feb  6 2024, 20:19:44) [Clang 15.0.0 (clang-15<IP_ADDRESS>.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print(sys.path)
[''<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>'/Users/jmatthews/git/jwmatthews/kai/env/lib/python3.12/site-packages', '/Users/jmatthews/git/jwmatthews/kai']
>>> exit()

Is the expectation that with the binary from pyinstaller at runtime it will need the python code accessible in PYTHON_PATH?

@jwmatthews no all of the deps get bundled into the binary along with the python interpreter itself with all of the paths baked in. You as a user is not expected to do anything.

@pranavgaikwad thank you, got this working.
The issue was that prior to building the binary I did NOT have the python path configured with 'kai'.
So I had to add Kai to the to the python path: pip install -e . in the main project folder, then rebuild the binary
full output
https://gist.github.com/jwmatthews/e7813daa5f1d5e1f2dd63ccde60edb2d
$ ls -larth dist/cli
-rwxr-xr-x  1 jmatthews  staff    79M Aug 31 10:11 dist/cli*

(env) [jmatthews] in ~/git/jwmatthews/kai/playpen (remotes/pranavgaikwad/kaiClient) $ python rpc-client.py ../kai/config.toml coolstore ../example/analysis/coolstore/output.yaml ../example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java
running get_incident_solutions_for_file() with params {'config_path': '../kai/config.toml', 'app_name': 'coolstore', 'report_path': '../example/analysis/coolstore/output.yaml', 'input_file_path': '../example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java'}
package com.redhat.coolstore.service;

import java.util.logging.Logger;
import jakarta.annotation.Resource;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import jakarta.jms.JMSContext;
import io.smallrye.mutiny.Multi;
import io.smallrye.reactive.messaging.Channel;
import io.smallrye.reactive.messaging.Emitter;
import com.redhat.coolstore.model.ShoppingCart;
import com.redhat.coolstore.utils.Transformers;

@ApplicationScoped
public class ShoppingCartOrderProcessor  {

    @Inject
    Logger log;

    @Inject
    private transient JMSContext context;

    @Resource(lookup = "java:/topic/orders")
    @Channel("orders")
    Emitter<String> ordersEmitter;

    public void  process(ShoppingCart cart) {
        log.info("Sending order from processor: ");
        Multi.createFrom().item(Transformers.shoppingCartToJson(cart))
            .subscribe().with(ordersEmitter::send);
    }

}

Received response successfully!


TypeError when using HTMLElement

I got an issue with the new vue-tsc version 0.2.2.
If I have this code:
const card = ref<HTMLElement | string>('');
const logCardInfo = (card: Ref<HTMLElement | string>) => {
  console.log(card.value);
}
logCardInfo(card); // This line gives a typescript error

I get the following typescript error:
Argument of type 'Ref<string | { accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 233 more ...; focus: (options?: FocusOptions | undefined) => void; }>' is not assignable to parameter of type 'Ref<string | HTMLElement>'.

I also creted a demo app with a repro:
https://github.com/slauzinho/vue-tsc-demo-app/blob/master/src/App.vue
vue version: 3.1.5
vue-tsc version: 0.2.2
typescript version: 4.3.5
Had no issues with vue-tsc 0.2.1

This is vue 3.1.5 ref type problem, vue 3.2 beta fixed it.


Crashes when roaming

App works well for me if I'm in Switzerland connected to Sunrise, but as soon as I cross the boarder to Austria evmap crashes short after starting/loading charging points.
I tried to work around by using a wifi hotspot from another phone, but still it crashes all the time when used outside Switzerland.
I'm using Android 9 on a Xiaomi Mi A1

Interesting. Have you checked if your mobile provider is doing any strange stuff to your internet connection when roaming, such as forwarding you to a certain website? Can you use the charger map on the Goingelectric website while roaming?

I installed the play store version and was able to report the crash report with some luck (the popup asking to send the report disappears after <1s -.-)
It seems to crash with an out of memory exception.
Not sure why this always happen while I'm in Austria, but not in Switzerland.

Hmm, I can't find your crash report in the Google Play console (nothing from a Xiaomi device with Android 9 in the last 7 days) 😞 There is an OutOfMemoryError that sometimes occurs with the Mapbox (OpenStreetMap) API, because it has problems deleting old icons from the cache. But that should only occur after using the app for a longer time.

As I'm in Austria again today I was able to test again and sent another crash report, hopefully it arrives this time :)
also took some screenshots this time, something is weird with the android mem management on my phone anyway, often can't switch between two apps without one kicked out of mem -.-
I think need a 64GB phone to use more than one app, brave new world 👴

Thanks!
Hmm, yeah, this seems to be the Mapbox OutOfMemoryError that I talked about. The problem is that when we animate the map icons, we have to pass all of these Icons to Mapbox and Mapbox seems to keep them forever instead of deleting them if memory is needed.
Still strange that this happens for you only when you are in Austria, and also strange that it happens on a phone with 4 GB RAM, which should be plenty (same as my Pixel 3a, on which the app works fine)...

One thing I could try is to use the deprecated Icon API of Mapbox instead of the new Annotation plugin for markers - it looks like that API is more similar to the one of Google Maps, so that icons don't need to be saved forever.

I've just uploaded a new release 0.8.3 to the beta channel on Google Play (should be available there in a couple of hours) and to F-Droid (may take a few days for their server to build it), which uses this different approach to create the markers on Mapbox - this might be more stable. Please reopen if you still notice the same crash after the update :)


add a translate util file

Info

Pull Request
Pull Request Checklist
Please follow the following steps before opening this PR.
PRs that do not complete the checklist will be subject to denial for
missing information.

[x] I have checked the pull request page for upcoming
or merged features/bug fixes.
[x] I have read JDA's contributing guidelines.

Pull Request Information
Check and fill in the blanks for all that apply:

[ ] My PR fixes a bug, error, or other issue with the library's codebase.
[x] My PR is for the commons module of the JDA-Utilities library.
[ ] My PR creates a new module for the JDA-Utilities library: ______.

This PR adds a simple, bare minimum, translation library. It accepts properties files of keys, with inputting a Discord Locale. It has some useful methods that work with the command translation arguments in commands. It supports supplying a locale for ephemeral responses, or a server for not.
Example
Discord Locale set to English

Discord Locale to German:

Code
Initializing
// Load locales
DiscordLocale[] locales = {DiscordLocale.ENGLISH_US, DiscordLocale.SPANISH, DiscordLocale.GERMAN};
for (DiscordLocale locale : locales) {
    Properties locProp = new Properties();
    locProp.load(new FileInputStream("src/main/resources/" + locale.getLocale() + ".properties"));
    TranslateUtil.addLocale(locale, locProp);
}

Referencing
t(event.getUserLocale(), "SCORE")

Properties File
# Score Command

SCORE_COMMAND_DESCRIPTION=Shows the score and match-ups of the current game

# Single Word Strings
SCORE=Score
INNING=Inning
SUMMARY=Summary
PITCHING=Pitching
BATTING=Batting
ON_BASE=On Base

@RoryHelper approve


docs(writing-a-plugin): added details about schema-utils

Added schema-utils in writing-a-plugin page for schema validation,
screenshot

cc @montogeek @EugeneHlushko

Thanks!

Thanks!


[CODE QUALITY] File to suppress

File to supress.
The file tasks/configure.yml is no longer used in the whole role. And its presence can be confusing with file tasks/core/configure.yml, which is now used.
We should delete it.

El archivotasks/configure.yml ya no es llamado en todo el role. Y se le puede llegar a confundir con tasks/core/configure.yml, que es el que ahora se usa.
Conviene suprimirlo.-

This is closely related to #5


[BUG] Unexpected EOF (ICSharpZip)

Unexpected EOF (ICSharpZip) exception when using the method CmLauncher.CreateProcess, may be cause while extracting natives from JAR file (I have my specific JAR file)

OS: Windows 11 Beta Insider 22H2
CmlLib.Core Version: 3.3.4
.NET version: .NET Framework 4.6.2

Bug was fixed when downgrading to 3.3.1

Older version just ignores exception when extracting native library is failed. On newer version, it throws exception to make it easier to find the cause when the launcher has problem. I recommend you to check if your native libraries are normal.

I'm not sure if my JAR has the natives, but where from and how does the old version gets the natives? Since when opening the game, a folder called natives with the DLL's inside it is created

In <game_directory>/version/<your_version>/<your_version>.json file, you can check all libraries on libraries property. In each object of array, if there is natives-windows property, it is native library.


gnome3: use vala_0_46

I forgot to do this when adding vala_0_46

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@jtojnar Should we even keep this alias?

IMHO we should move this into the aliases section and point it to pkgs.vala. GNOME should be always using latest.

IMHO we should move this into the aliases section and point it to pkgs.vala. GNOME should be always using latest.

Added an alias.

And we also need to remove the use of aliases. Not sure why does not borg catch it.

Don't know what's up with ofborg with merging. This works to staging just fine.


Error connection in Multiple thread

At first, I tried the recommended numbers of thread then it works well but when I try to increase a little bit number of thread then I got this error "error in connection" but the remaining two threads are well playing.
Attached photo for further verification of error

I am using residential proxy,

I am using residential proxy,

I was about to request issue and say same thing did you ever find a solution yet? And you using chrome or chromium?

I am still facing the issue, I guess the code is being develop. Let's just wait the new update of dev owner

CPU and ram specs of that machine?

CPU and ram specs of that machine?

4GB CPU/80GB DISK (Droplet)
4GB RAM/32GB LOCAL STORAGE (installed Windows)

If other threads are working just fine then you need more CPU because with this cpu you can't use higher threads... Test with more cpu to see if this still occurs

If other threads are working just fine then you need more CPU because with this cpu you can't use higher threads... Test with more cpu to see if this still occurs

I guess, the problem is in the code. I lower the number of thread but still I am facing the problem. Two threads were only working.

Why don't you just try with more CPU to see if the problem still persist or not

Why don't you just try with more CPU to see if the problem still persist or not It seems Your cpu can't handle more than 2 chrome running in parallel

Okay I will try to increase my CPU and I humbly request if you can open the premium version of ip in different type of it. Opening into socks5 is very much appreciated 🙏

You should request that feature to google chrome.. I can't do anything about it.. it's google chrome which doesn't support proxies with authentication other than https
You either use IP authentication for socks4/5 or use https instead of socks.. pretty much every proxy providers support this settings

You should request that feature to google chrome.. I can't do anything about it.. it's google chrome which doesn't support proxies with authentication other than https You either use IP authentication for socks4/5 or use https instead of socks.. pretty much every proxy providers support this settings

I dug your previous released version, and I found out that your project before was use to be supported in socks5 proxy but still we are grateful for having like you, we will always supporting your project.

yeah with selenium-wire..check issues opened that time as well... I had to give up selenium-wire due to several reasons.. concurrency issues, views getting deleted due to certificate issues, high CPU usage, and so on...


Add ALT attribute

Hi !
ALT attribute is mandatory in most cases. It would be great if you could add an empty add when you insert an image.

This extension is only for sketching. However, feature added.
Respect!


[QUERY] Does Spring Data Cosmos 3 support Sort?

Question
Does azure-spring-data-cosmos:3 support org.springframework.data.domain.Sort?
I'm trying to use it this way
@Repository
public interface UserRepository extends CosmosRepository<User, String> {
@Query("SELECT * FROM c WHERE c.name = @name")
List<User> query(@Param("name") String name, Sort sort);

Looks like it just ignores the Sort object.
Setup:

com.azure:azure-spring-data-cosmos:3.1.0

@mbhaskar - please take a look at this.

@Query("SELECT * FROM c WHERE c.senderId = @senderId")
Flux<Invitation> findBySenderId(@Param("senderId") String senderId, Sort sort);

fails for some reason with:
Caused by: com.azure.cosmos.CosmosException:
{"innerErrorMessage":"Gateway Failed to Retrieve Query Plan: Message:
{\"Errors\":[\"Invalid query. Specified parameter name '@' is invalid.
Parameter names should be in the format of symbol '@' followed by a valid identifier.

but without @Query
Flux<Invitation> findBySenderId(String senderId, Sort sort);

works for me. Thanks!

@sburlyaev  - please see how it is used here - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/integration/ReactiveRoleRepositoryIT.java#L57
And this is the annotated query method - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/cosmos/azure-spring-data-cosmos-test/src/test/java/com/azure/spring/data/cosmos/repository/repository/ReactiveRoleRepository.java#L20


Mylar - Not working

Hi!
I just encountered a bug where the current version will not connect to Mylar and it produces a 500 error.
I've tried putting "/home" or "/" or just nothing in the "base path" box but it doesn't help.
A weird thing is that it sometimes "passes" the connectivity test.  But almost always fails.
I tried the [getVersion] & [getWanted] URLs / Requests and I got successful replies from Mylar, so, Mylar is not the problem.

I'll have to install Mylar and test it myself. Thanks for the report.

I cant recreate your issue. Works fine here. Can you delete your log, enable debug logging. Restart htpc manager. Open the mylar tab then paste the log to a gist?

Give me a minute and I will do it.  In fact, I'll also restart the PC just to clear everything up too.

Yeah,i tested on windows

http://pastebin.com/V6pmznrr
Here's the log... if I'm not mistaken.  I copied the contents of C:\Program Files\HTPCManager\userdata\htpcmanager

Ah, crap, i forgot the test the right version.Thanks for the report ill fix it

No problem!  If I programmed in Python I would have helped... guess I'm going to start learning it.  Not many apps like this are created using PHP, which is the one I use for Web Apps.
Thank you very much!

update to the latest version :)

Awesome!  Thanks.


actually use zap correctly.

I had borked zap and removed the 111 again

I had loaded the sftp server and realized what I had done.

Ah good catch, whoops on my end too 👀


Clarify that 'ports' on egress network policies target pod ports, not service ports

This is a...

[ ] Feature Request
[ ] Bug Report
[x] Improvement

Problem:
The network policy documentation (website/docs/concepts/services-networking/network-policies.md) doesn't explicitly state that when defining policies between namespaces, egress policy port statements must list the ports of containers, not the associated service.
Proposed Solution:
Include an example like:
If a database were running in one namespace, and the database container exposed port 85432, and the corresponding database's service exposed port 5432 (which it forwarded to the container's port 85432), then to write a restrictive egress policy that permitted a webapp running in a different namespace to connect to the database, it would need an egress policy that targetted port 85432 (i.e. the pod's exposed port), not port 5432 (the service's port).
Page to Update:
https://kubernetes.io/docs/concepts/services-networking/network-policies/

I'd open a PR but can't sign the CLA, sorry...

+1.  The only comment I have is that port 85432 isn't a valid port number in your example.


The --solidarityFile doesn't work (in the current version published to NPM)

Currently you have 2.1.0 published to NPM, however the --solidarityFile flag does not work with this version (although it was corrected when that logic was extracted to the getSolidarityHelpers.ts file).
When will you be publishing what you have on Github to NPM so that this flag will work correctly?

If it's going to be awhile (looks like 6 months since your last release) perhaps you could remove that --solidarityFile from the Solidarity docs since it doesn't work?

I plan on releasing 3.0 soon :)  maybe a month or so, would that be good?

Yes that's fine. I'm trying to integrate solidarity into a forked version of react-scripts that will run before any build/start/test script is executed, and having a custom .solidarity per project would be ideal. For now I'm just doing a check if the engines prop from package.json that suffices

@arizonatribe - can you let me know if 2.3.1 fixed this?  I released that version today.


Can the balancing of the heap assignment be done in a simpler way?

Actually, I'm not sure about that. I don't think there is anything wrong with it.


Resource Manager

Create a resource manager to manage and access resources!
Move all resource management from Program to this new class, and encapsulate methods currently present inside of Program.

Implemented ResourceManager


No bind_transciever response from the simulator on reconnecting

Hello @ukarim I love this tool, I am testing it with my nodejs web application. Recently I have started working on a scenario when SMSC closes the session and how I can retry connecting to the SMSC. I implemented the reconnection like this:
    session.on('close', () => {
        console.log("Connection to SMSC closed, trying to reconnect...");
        save_smsc_status(0).then(() => {
            session.socket.setTimeout(1000);
            session.socket.on('timeout', function() {
              console.log('socket timeout');
              session.destroy();
            });
            session.connect();
        }).catch("Error saving SMSC connection status...")

    })

and to test this scenario, I stop the simulator in the middle after the first bind, and restart it while the application retries to reconnect. But the result is not what I was expecting. The simulator shows a bind request but no response, as a result, a function such as submit_sm won't processed as it waits for a successful bind_response.
Any ideas on this?
2024/03/02 15:05:41 bind request from system_id[0154146]
2024/03/02 15:05:51 enquire_link from system_id[0154146]
2024/03/02 15:06:01 enquire_link from system_id[0154146]
2024/03/02 15:06:11 enquire_link from system_id[0154146]

@elhananjair  for smscsim there is no difference between connect and reconnect. It just not wrote logs about response pdus. Added this additional logs in latest commit, you can use new version now.
It seems the problem is on the smpp client side

I dont know what library you are using, but it looks like you should call 'destroy' method, wait until completion, and only then call 'connect' methodSent from my Galaxy

@ukarim thank you for replying, I am using node-smpp nodejs SMPP library. I find it difficult to implement reconnecting to SMSC if the connection is closed from SMSC or if there is an issue.
I tried to implement running session.distroy() to clean up the mess but no luck, therefore I added a new variable to check if there is a reconnect request, and then based on that I will execute the next operations. There is no good example in this area. Let me share with you the code I am writing:
let isReconnect = false
...
  session.on('close', () => {
            console.log("Connection to SMSC closed, trying to reconnect...");
            save_smsc_status(0).then(() => {
                session.socket.setTimeout(1000);
                session.socket.on('timeout', function () {
                    console.log('socket timeout');
                    session.destroy();
                });
                setTimeout(() => {
                    session.connect();
                    session.resume();
                    isReconnect = true;
                }, 10000)
            }).catch("Error saving SMSC connection status...")

        })

@elhananjair  sorry, can't help with node-smpp. Hope you already found the solutions.
Closing this issue


fix(ONYX-191): padding in add artists you collect

This PR resolves ONYX-191
Description
Fix padding in add artists you collect

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

#nochangelog
Need help with something? Have a look at our docs, or get in touch with us.

Warnings

:warning:

✅ No changelog changes

  Generated by :no_entry_sign: dangerJS against 61399f8d9cfd92a324958201df208e4fe6b65b77

🚀


Make library Fable compatible

As discussed in #7 this library could be used in F# Fable projects (transpilation to javascript). This PR adds the required configuration (modify fsproj file to include fs source code and the .fsproj file itself in the nuget package) and bumps the version number to 0.5.2

Should a note on the explicit open statement be added to the README?

Hi! I have added the requested changes. If you want to change the wording or make any further changes please go ahead - I'll be unavailable now for two weeks. Thanks for your help, I really like this library and hope this change will be useful for others!

For testing with Fable I don't really have a good idea yet but I'll think about it. Should we track this in a new issue?


Allow hubs to be attached using UCSC_GOLDEN_PATH and ASSEMBLY_VERSION

Under the current code, a TrackHub can be attached using the value of UCSC_GOLDEN_PATH or ASSEMBLY_VERSION.  However, if UCSC_GOLDEN_PATH is defined for the species, the image config will not show any tracks from hubs using the ASSEMBLY_VERSION (even though the hub shows as correctly attached).  This change allows configuration of tracks where the ASSEMBLY_VERSION is being used in the hub.
This was causing a problem for C. elegans users where ce10 and WBcel235 are both commonly accepted assembly names (even though UCSC's ce10 assembly is considerably older than WormBase's WBcel235...), so users may be using either in their TrackHubs, but most likely to be using the (correct) WBcel235 value.

Hi Bruce,
We've been meaning for some time to support aliases for assemblies on hubs, and I should get on with it as it's hitting people. I'll add a configuration array to allow an arbitrary list of acceptable aliases in trackhubs.
By the way, do you have or know of a good list of correspondences between assembly names for worm?

Hi Dan
WBcel235 is the most commonly used assembly name.  This assembly has no corresponding UCSC name, as it is not hosted on their genome browser.
ce10 is the latest version available on UCSC, but this corresponds to an older assembly (WBcel220 IIRC), so is not a suitable alias.
Additionally, WormBase give each release an identifer.  The current version in Ensembl is WS245, which uses the WBcel235 assembly.

Ah that's great, thanks. I'm just writing the patch now. So, as I understand it, we should probably support aliases called WS245 and WBcel235 in hubs, and no UCSC name, as worm is currently released?

WS245 and WBcel235 should be fine as the aliases.

Fixed by allowing arbitrary aliases at ENSWEB-1284.

(Thanks for the patch, though. That definitely speeded up implementing the final fix).

Thanks for implementing this Dan.  Should solve the problems we've been having.


build: Add non-bazel images to push script

This should help us move away from bazel.
Also rename etcd-manager-minimal to etcd-manager-static, it is the image for the static configuration.

/lgtm


unable to access

Git has been working well, why is it not working these days?
This happened to both my company’s computer and my home computer. I guess it is a problem with the git server.

As you can see in the issue template, this repository issue tracker should only be used to report problems found on the git-scm website (https://git-scm.com/).
Git specific issues should be raised with the community (https://git-scm.com/community).
Git for windows problems should be raised in https://github.com/git-for-windows/git

furthermore, I'm able to clone the repo (mac os). So the problem can be on your network configuration, or in the git configuration


Can't reopen VS Code after it updates to 1.11.2

VSCode Version: 1.11.2
OS Version: OSX 10.12.4

Steps to Reproduce:

Auto Update to 1.11.2
Try to start VS Code

Get Window:
The Window has crashed
We are sorry for the inconvenience!  You can reopen the window to continue where you left off.
[Close]  [Reopen]
It doesn't matter which button I hit, the app still will not open.

p.s.   I've tried this many times now.  I can go back to old version but I can't stop the app from updating to the new version which crashes the app.

Same here. Trying to start from the command line and getting more information just gets stuck as well:
=> code --verbose -w -n --disable-extensions
[main 22:09:51] Sending env to running instance...

I ended up reinstalling old version, then following the instructions here to disable auto-update.  I had to reinstall old version once again after that in order for it to work though.
Not a fix but it got me going until latest version is stable.

@brentonhouse Where did you find the previous version?

I used brew cask install visual-studio-code.  It is still on a previous version.  Of course, that will only work on OSX.  On Windows you can probably use chocolatey.

Downloaded and reinstalled the latest version (1.11.2) from official site, and it started work again.

@brentonhouse Can you share a screenshot?

ping @brentonhouse

The latest 1.11.2 build now installs and runs fine for me.

Got it, thanks. Will close this.


New package: LocalAttributes v1.0.0

Registering package: LocalAttributes
Repository: https://github.com/arohatgi29/LocalSeismicAttributes.jl
Created by: @arohatgi29
Version: v1.0.0
Commit: 73b53ac9dcf42e0d81ddea6192a598b8f1a49f3a
Reviewed by: @arohatgi29
Reference: https://github.com/arohatgi29/LocalSeismicAttributes.jl/issues/1#issuecomment-2110742474

Closing in favor of https://github.com/JuliaRegistries/General/pull/106807


Improve input cleaning

On prompts that require user input, we should do a better job at cleaning whitespace and illegal characters.

This is done.  Reopen a new issue if we find edge cases.


Add support for env vars when deploying ECS service

Needed this to add the release version (i..e the first 8 characters of the commit hash being deployed) to the task definition when deploying alert matcher or raap.
A bunch of files were not added to this PR even though they were auto-modified by go/dep:

all the mock files since the mock version was upgraded to 1.6.0
go.mod
go.sum
Gopkg.lock
Gopkg.toml

Let me know if I should add any of these changes too.
go version: go version go1.16.3 linux/amd64

Opened this accidentally

@PaulMaddox @jpignata could you please delete this PR as admins since I meant to open it against my own fork. Apologies!


cpuid2cpuflags omits ssse3 for skylake intel cpu

On my vps cpuid2cpuflags does not list ssse3 even though it should support it according to wikipedia.
lscpu output:
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       40 bits physical, 48 bits virtual
CPU(s):              1
On-line CPU(s) list: 0
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel Xeon Processor (Skylake, IBRS)
Stepping:            4
CPU MHz:             2100.000
BogoMIPS:            4200.00
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            4096K
L3 cache:            16384K
NUMA node0 CPU(s):   0
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 arat
`

Could you unpack the sources, run the following and paste the output?
./configure
make x86-dump
./x86-dump

This will include the values from CPUID calls that are used to determine flags.

Also please include the actual output of cpuid2cpuflags.

Omg, I'm so dumb. I didn't knew that the cursor in tmux must be moved to the end of the output+1 char and didn't copied the last character of the output. Sorry for taking your time.

No problem.


add logo of old project

And refer to it.
Keep that untill at leat 2.0

Looks great! Can you get the text to flow around the CAW logo?
<img align="right" title="CAW" src="https://raw.githubusercontent.com/SciLifeLab/Sarek/master/doc/images/CAW_logo.png">

Previously known as the Cancer Analysis Workflow (CAW), Sarek is a workflow tool designed to run analyses on WGS data from regular samples or tumour / normal pairs, including relapse samples if required.

Not sure if GitHub will strip this out. Hopefully not as it's oldschool HTML instead of inline CSS.

Will try that ;-)

Nice!


Fix merchant shows "Expense" when merchant is filled then removed when creating expense

Details

The initial value of merchant is (none), but if we update it to any value and remove it, it becomes an empty string, so the BE defaults it to Expense. This PR fallback the empty merchant to (none).
Fixed Issues

$ https://github.com/Expensify/App/issues/41939
PROPOSAL: https://github.com/Expensify/App/issues/41939#issuecomment-2103907744
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Open any chat
Press the + button and choose Submit expense
Enter any amount and press Next
In the confirmation page, enter any merchant
Clear the merchant
Submit the expense
Open the transaction thread
Verify the merchant field stays empty

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/50919443/019c7dbd-ec64-4723-a364-a985e20e1d2f

Android: mWeb Chrome

https://github.com/Expensify/App/assets/50919443/c34d8c3f-d2bf-4868-ae19-8bce2ff521cf

iOS: Native

https://github.com/Expensify/App/assets/50919443/33af664b-7ec7-45fd-81e1-0631559772ee

iOS: mWeb Safari

https://github.com/Expensify/App/assets/50919443/3cf8abbe-ea4d-4ea1-a3a3-5b37bc35b926

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/50919443/04aff022-9846-42f1-8006-827d914098df

MacOS: Desktop

https://github.com/Expensify/App/assets/50919443/8abe160a-ee71-4426-9421-969362532606

🚀 Deployed to staging by https://github.com/dangrous in version: 1.4.75-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


thead and tbody classes do not appear in hugo_stats.json

What version of Hugo are you using (hugo version)?

$ hugo version
Hugo Static Site Generator v0.71.1-A301F6B2 windows/amd64 BuildDate: 2020-05-25T09:12:07Z

Does this issue reproduce with the latest release?
yes
It seems that when I add classes on a thead or tbody element, they are not added to the list of classes the appear in hugo_stats.json. Classes added to other elements are discovered as expected.
I could not find in the code where is defined the list of html elements that are navigated during parsing. Could it be that thead and tbody are missing from this list ?
I could not find an explanation to what I observe other than a special case regarding thead and tbody.
when html contains

only cl1 appears in hugo_stats.json

I have pushed a fix in a PR. My mistake, it seems that the net/html parser does not handle isolated thead elements etc. I have revised the strategy by just making everything a DIV (but storing the original element tag).

thanks for the quick response. In fact I was going to update the issue it seems it is not related to thead or tbody, but all elements inside table.
With

I also get only cl1

Yes, I saw that -- this should handle it: https://github.com/gohugoio/hugo/pull/7320


Inheriting same function from multiple interfaces requires override

Hey,
using an interface with the same functions from multiple interfaces works with plain Kotlin, but not with your plugin.
import kotlinx.coroutines.flow.*

interface A {
    fun foo(): Flow<Int>
}

interface B {
    fun foo(): Flow<Int>
}

interface C: A, B

Without your plugin: successful build.
With your plugin:
e: /Users/philipwedemann/Downloads/multiInterface/src/iosArm64Main/kotlin/Main.kt: (11, 1): Class 'C' must override public open fun fooNative(): NativeFlow<Int> /* = (onItem: (Int, Unit) -> Unit, onComplete: NativeCallback<NSError?> /* = (NSError?, Unit) -> Unit */) -> NativeCancellable /* = () -> Unit */ */ defined in A because it inherits multiple interface methods of it
Versions:
Kotlin 1.6.10
Coroutines: 1.6.0-native-mt
com.rickclephas.kmp.nativecoroutines: 0.11.3
multiInterface.zip

Fix has been published in v0.11.4

FYI for the plugin to generate the native function in interface C you must override foo: https://github.com/rickclephas/KMP-NativeCoroutines/blob/c9222ddee23054680d9744d0020a619cbb142674/sample/shared/src/commonMain/kotlin/com/rickclephas/kmp/nativecoroutines/sample/issues/GH51.kt#L19
There is no need to provide an implemention, just declaring the override is enough.
This is also true for abstract classes, though for those you will need to mark the override as abstract.


[k8s] External HPA - Multiple metrics odd behavior

Describe what happened:
While attempting to setup some custom HPAs using datadog external metrics we ran into a few weird conditions.  Specifically our use case is scaling up a StatefulSet when 2 or more rabbitMQ queues is above a threshold.
Failure 1
One HPA defined with 2 metrics with the same metricName but different metricSelector.
In this failure the cluster-agent sees both metrics when the HPA is created, but because the metricName is the same only one gets saved to the datadog-custom-metrics configmap.  Likewise when HPA attempts to poll the number it actually can't find either of them
HPA yaml:
---
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: test-multi
spec:
  maxReplicas: 10
  metrics:
    - external:
        metricName: rabbitmq.queue.messages
        metricSelector:
          matchLabels:
            rabbitmq_queue: kemcho-low-prio-queue
        targetValue: 500
      type: External
    - external:
        metricName: rabbitmq.queue.messages
        metricSelector:
          matchLabels:
            rabbitmq_queue: dpc-go-http-error
        targetValue: 500
      type: External
  minReplicas: 3
  scaleTargetRef:
    apiVersion: apps/v1
    kind: StatefulSet
    name: test-multi

Custom Metrics ConfigMap Output:
kubectl describe configmap/datadog-custom-metrics -n kube-system
Name:         datadog-custom-metrics
Namespace:    kube-system
Labels:       <none>
Annotations:  custom-metrics.datadoghq.com/last-updated: 2019-07-12T21:12:31Z

Data
====
external_metric-prod-test-multi-rabbitmq.queue.messages:
----
{"metricName":"rabbitmq.queue.messages","labels":{"rabbitmq_queue":"dpc-go-http-error"},"ts":1562965890,"hpa":{"name":"test-multi","namespace":"prod","uid":"3391b4bd-a4e8-11e9-b297-12235c4363da"},"value":469,"valid":true}
Events:  <none>

Likewise the cluster-agent status reports only 1 metric
  Custom Metrics Server
  =====================
    ConfigMap name: kube-system/datadog-custom-metrics

    External Metrics
    ----------------
      Total: 1
      Valid: 1
      hpa:
      - name: test-multi
      - namespace: prod
      - uid: 3391b4bd-a4e8-11e9-b297-12235c4363da
      labels:
      - rabbitmq_queue: dpc-go-http-error
      metricName: rabbitmq.queue.messages
      ts: 1.56296598e+09
      valid: true
      value: 469

datadog-cluster-agent is only pulling 1 of the 2 defined metrics
Failure/ish 2
Like Failure 1 this is a HPA with 2 metrics, the difference here is there is another HPA defined with a single metric with a shared metricName and matchLabels.  In this case the first HPA will actually work as long as the second HPA is defined.
HPA(s) yaml:
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: test-multi
spec:
  maxReplicas: 10
  metrics:
    - external:
        metricName: rabbitmq.queue.messages
        metricSelector:
          matchLabels:
            rabbitmq_queue: kemcho-high-prio-queue
        targetValue: 500
      type: External
    - external:
        metricName: rabbitmq.queue.messages
        metricSelector:
          matchLabels:
            rabbitmq_queue: dpc-go-http-error
        targetValue: 500
      type: External
  minReplicas: 3
  scaleTargetRef:
    apiVersion: apps/v1
    kind: StatefulSet
    name: test-multi
---
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: v3-15-1-celery
spec:
  maxReplicas: 10
  metrics:
    - external:
        metricName: rabbitmq.queue.messages
        metricSelector:
          matchLabels:
            rabbitmq_queue: kemcho-high-prio-queue
        targetValue: 500
      type: External
  minReplicas: 3
  scaleTargetRef:
    apiVersion: apps/v1
    kind: StatefulSet
    name: v3-15-1-celery

Note: kemcho-high-prio-queue is the shared metric between the two HPAs.  In this failure/ish both metrics required by the first HPA exist in the configmap.
Custom Metrics ConfigMap Output:
kubectl describe configmap/datadog-custom-metrics -n kube-system
Name:         datadog-custom-metrics
Namespace:    kube-system
Labels:       <none>
Annotations:  custom-metrics.datadoghq.com/last-updated: 2019-07-12T21:24:31Z

Data
====
external_metric-prod-test-multi-rabbitmq.queue.messages:
----
{"metricName":"rabbitmq.queue.messages","labels":{"rabbitmq_queue":"dpc-go-http-error"},"ts":1562966610,"hpa":{"name":"test-multi","namespace":"prod","uid":"e34eea57-a4ea-11e9-b297-12235c4363da"},"value":469,"valid":true}

external_metric-prod-v3-15-1-celery-rabbitmq.queue.messages:
----
{"metricName":"rabbitmq.queue.messages","labels":{"rabbitmq_queue":"kemcho-high-prio-queue"},"ts":1562966610,"hpa":{"name":"v3-15-1-celery","namespace":"prod","uid":"518a7de0-a4e1-11e9-b297-12235c4363da"},"value":55,"valid":true}
Events:  <none>

In this case both custom metrics are reported in the cluster-agent.
  Custom Metrics Server
  =====================
    ConfigMap name: kube-system/datadog-custom-metrics

    External Metrics
    ----------------
      Total: 2
      Valid: 2
      hpa:
      - name: test-multi
      - namespace: prod
      - uid: e34eea57-a4ea-11e9-b297-12235c4363da
      labels:
      - rabbitmq_queue: dpc-go-http-error
      metricName: rabbitmq.queue.messages
      ts: 1.56296691e+09
      valid: true
      value: 469
      hpa:
      - name: v3-15-1-celery
      - namespace: prod
      - uid: 518a7de0-a4e1-11e9-b297-12235c4363da
      labels:
      - rabbitmq_queue: kemcho-high-prio-queue
      metricName: rabbitmq.queue.messages
      ts: 1.56296691e+09
      valid: true
      value: 3

The "workaround" in my use case does not fix the problem.  I would have to define a secondary HPA to get my actual HPA to work and I have nothing for the secondary HPA to reference.
Describe what you expected:
I expected multiple-metric HPAs to work without having to need
Steps to reproduce the issue:
Define a HPA with 2 or more custom metrics that share the same metricName but different metricSelector
Additional environment details (Operating System, Cloud provider, etc):
Kubernetes Version: v1.12.9
Datadog-agent version: v6.10.1
Datadog-cluster-agent version: v1.2.0
Let me know if you need more details!

Hey @andysnowden, thanks for opening up the issue, and for your detailed investigation notes! At the moment, the cluster agent should support multiple unique metrics in a single HPA. But currentlydoes not support multiple metrics of the same name with different labels in a single HPA.
An alternative that should work similarly to this would be to use 2 separate HPAs to represent the same metric with different labels/tags. Of course, that would go against your case of not having to define a secondary HPA. Would you mind opening up a ticket with our support team to submit a feature request? It would be helpful to use to be able to track these cases.

Thanks @DylanLovesCoffee I've opened a support ticket as you suggested.  For now I'll try to use the work around for the few cases were I need multiple metrics.


Error connecting to PostgreSQL 8.3.4 database

Test Connection: Connection successful
On expanding data connection or running query bound to connection, the following error appears:
NpgsqlException - 42601: syntax error at or near ""TableCatalog""
Sniffed problematic SQL query:
SELECT table_catalog "TableCatalog", table_name "TableName"
FROM information_schema.tables
WHERE table_type='BASE TABLE' AND table_schema='public'

Suggested fix:
Change this line:
SELECT table_catalog "TableCatalog", table_name "TableName"

Into:
SELECT table_catalog AS "TableCatalog", table_name AS "TableName"

Probably more files could be 'fixed' this way?

I've applied the fix you suggested and tested it with PostgreSQL 8.3.23 and it seems to work fine. I've release a new version (0.1.1) containing the fix.
It would be great if you could verify whether this solves your issue.

Tested, issue is solved. Thanks.


+Add Gravity Sensor Option

Fermentrack has been working great. I've just made my first iSpindel and low and behold I have not got the option to +Add Gravity Sensor.
P.S. I am a novice at all this :-)

I'm guessing you disabled gravity sensor support when you set up Fermentrack. I believe you can update this by clicking the "gear" in the upper right hand corner of Fermentrack and editing Fermentrack's settings.

Thanks. Set up the iSpindel successfully, very easy actually, but can not get communication. Tried re-configuring to different networks, but no success at all. I know the iSpindel is working as it will communicate with Ubidots (when configured to do so). I'm obviously missing something. I've attached some logs that may help :-)
brewpi.local.txt
stderr.log.txt

Can you check the log for fermentrack, you should have an entry like this
<IP_ADDRESS> - - [05/Jul/2020 05:38:41] "POST /ispindel HTTP/1.0" 200 57
if there is communication between the iSpindel and fermentrack. You can also check if the file /log/ispindel_raw_output.log contains any data..
If you cant see these the issue must be in the ispindel configuration or network. Post a screendump of the ispindel config in that case.

Thanks
OK, check the fermentrack log. Nothings (as per above)
Checked the ispindel_raw_output (no data) It does say
Error opening /home/fermentrack/fermentrack/log/ispindel_raw-output.log logfile: [Errno2] No such file or directory. /home/fermentrack/fermentrack/log/ispindel_raw_output.log'

It looks like the ispindel cannot find or connect to fermentrack. I would skip the DNS name and only use IP. Your network connections seams to be low so try to place it closer to the router (at least for testing this part)
Try to update the path with the IP adress instead of DNS, i.e. http://<IP_ADDRESS>/ispindel

Tried IP address instead of DNS, no luck.
Even changed networks, (100% strength) still no luck

can you check if fermentrack is responding just to eliminate sources of error.
If you type in the URL in the web browser http://<IP_ADDRESS>/ispindel you should get this error message;
{
"status": "failed",
"message": "No JSON data was posted (are you accessing this manually?)"
}
This means that fermentrack is responding as it should. If this is OK, I would try to connect the ispindel to a serial console on a computer an check the output from the console for error.

OK, Fermentrack is responding as you suggested. I'm getting the exact msg.
Connected the ispindel to console and every thing seems to be working.

It looks like the iSpindel cant connect to the network. It parses the config but never sends anything, perhaps you can get some support from that project?
If it was sending ths data correctly, you should have the following in the log which does not appear i your screendump;
After waiting 1000ms, result 3
IP: <IP_ADDRESS>
calling HTTP
{"name":"iSpindel001","ID":14421487,"token":"fermentrack","angle":78.43537,"temperature":29.75,"temp_units":"C","battery":4.004171,"gravity":27.72735,"interval":30,"RSSI":-65}
HTTP API: posting code: 200
{
"status": "ok",
"gravity": 0.0
}
Final-sleep: 30s; RT: 2511

OK, now I'm  stuck. I increased the network strength, as a side thought &  "BINGO". One strike only. I got one reading and now only one,  temperature and gravity  reading are both set and do not move. I know when I set up to Ubidots there is no issue. Data was transmitted and received

Have you tried posting your problem om the ispindle project? The issues seams to be there and not with fermentrack.


npm isn't pulling CLI integration

@adleroliveira,  Hey There thanks for merging my PR, love the library. When you get the change can you update the npm package?

Hello @santi6291
Sorry for the delay. It is published. Thanks


cleanup(libsinsp): remove CYGWING_AGENT feature gate

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:
This removes an unused define.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: therealbobo
Once this PR has been reviewed and has the lgtm label, please assign andreagit97 for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.15.0

/unhold no schema bump needed.

LGTM label has been added.  Git tree hash: cf4e0d64c289312069b6e9f7bbbca14ec8e15cde

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, therealbobo
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, jasondellaluce, therealbobo
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/unhold


Consider Summarize implementation improvements

No change to language semantics , but consider some implementation improvements to help with maintainability & delegation.
[1] Comment the implementation
[2] In Summarize, line 1446, we do a uniqueness check:
var key = keyRecord.ToExpression();
This is not ideal.  We really shouldn't call ToExpression at runtime like this - I'm wondering if there are cases it could be unpredictable.
This overlaps with Distinct.  It would be good to compare how distinct does it.
[3] Consider a "Plan" design pattern.
At the source-level, grouping columns are identifiers.
Aggregate columns are 'As' nodes.
At the IR level,  we pass all this through a formulaValue[].
grouping columns are encoded as StringValues
aggregate columns are encoded as LambdaFormulaValue around a LazyEvalNode around a RecordNode , where that Record has 1 field, where the field's Name is the 'As' , and the field's vakue is the lambda to run the expression.    (phew, this is starting to get complex!)
This is kind of "hidden" contract between IR and interpreter - it's kind of arbitrary. But Delegation needs to be aware of this.
This is a pretty simple contract, so it's not a big deal. But it's super brittle- there's a log of arbitrary choices in here on encoding, and if we ever changed it, we'd break delegation.
Whereas a "Plan" object would make it an explicit contract.  Ie, imagine if the IR captures all of the key information in some structured C# class that it passed through.
Join has a similar thing as is more brittle.
A "plan" object, might look like:
// Eg: Summarize(t1, SalesDate, Sum(ThisGroup.Amount) As Total);
// Binder has guaranteed uniqueness of all column names
class SummarizePlan
{
	// The columns used to group. Ie "SalesDate".
       // This is unordered.
	IEnumerable<string> GroupingColumnNames {get;set; }
	// The aggregate columns computed on each group.
	// This takes in a 'ThisGroup' identifier specified via rule scope.
       // Key is column name (eg, "Total")
       // Value is the IR to run it,  (eg, Sum(ThisGroup.Amount))
	Dict<string, IRNode> AggregateColumns {get;set; }

       // Possibly extra FormulaType info if needed.
}

[1] Comment the implementation

Addressed at https://github.com/microsoft/Power-Fx/pull/2779


Player spawns at 0,0,0 on initial spawn (not the host)

The player's transform doesn't seem to update when changed (unless delayed by 1ms)
https://github.com/Facepunch/sbox-issues/issues/6022

Seems to be magically fixed :)


Use riscv32-unknown-elf-objcopy to generate Verilog memory init files instead of octal dump (od)

Octal dump might not be present in all Linux distributions, and my own code to generate the hex dump using it might not work in all cases. riscv32-unknown-elf-objcopy is a safer option and it is always present.

Hi @rafaelcalcada, this option -O verilog --verilog-data-width=4 is really very good. But does it generate the correct output file which can be read by $readmemh ?
I get something like this:
@00000000
00000097 00008093 00002137 00000297
01028293 30529073 0f80006f 00001297
...

I am using riscv32-unknown-elf-gcc (GCC) 11.1.0

This format is also accepted. I though there could only be one word per line, but more than one are allowed. And the lines starting with @ tell $readmemh the address where the data must be placed. I tested in Verilator and Vivado, both accept this format.

@rafaelcalcada  I've edited the comment a bit, please look at it again.


 Receiving of such legacy
handshakes is still supported, thus backwards compatibility is given.
Fixes https://github.com/paritytech/substrate/issues/7175.
Release note suggestion:

Stop sending noise legacy handshake payloads, i.e. length-prefixed protobuf payloads inside a length-prefixed noise frame. Receiving of such legacy handshakes is still supported, thus backwards compatibility is given to all clients running with libp2p >= v0.22.0. Clients previously running with libp2p < v0.22.0 should first update to previous Substrate versions, which support the new handshake format, before updating to this Substrate version.

This pull request has been running on kusama-sentry-ew1-1 since 2020-09-25.
The percentage of filled peer slots is unchanged.

The number of incoming connection errors has increased. While this change looks drastic on the graph below, it is below 100 incoming-handshake errors per 5 minutes. I assume that these errors are due to nodes running Polkadot < v0.8.19 that try to connect.

Dialing failures are unchanged.

With the above in mind, anyone objecting merging this into master?
//CC @tomaka @romanb

bot merge


asBlendColor node not working

Hi all
It seems that asBlendColor is not working properly, no matter what I change of Blending mode, all I get is the same effect:

I attach the file (you need to unpack the image to be able to see it).
asblend.zip
Thanks

This was tested under maya, all blend modes produce the expected results with 2 input colors, 1 tex 1 color, 1 color 1 tex, 2 textures. Whatever it is, it's not on the shaders. I cannot test on blender nor Max.

Confirmed to be working in Gaffer and Blender 2.79b.

Not working in Blender 2.80:


The default values of code and document are inconsistent

https://github.com/webpack/webpack/blob/10ad4e95b850bbe20019275fd1d364666c4b69ea/lib/optimize/SplitChunksPlugin.js#L594

webpack-5 and documentation

The defaults come from here:
https://github.com/webpack/webpack/blob/41db807b9cb20d0be77c0c3b1b5e5b1fd1d20b8e/lib/config/defaults.js#L894-L895

The defaults come from here:
https://github.com/webpack/webpack/blob/41db807b9cb20d0be77c0c3b1b5e5b1fd1d20b8e/lib/config/defaults.js#L894-L895

Thank you for your answer


Allow styling text in filled cells

@christopherdcunha
Thanks for PR and you can also use better implementation with better maintainability:  https://github.com/retyui/react-native-confirmation-code-field