v3: revised vindexes

@enisoc @ashudeep-sharma

Using md5 instead of 3des for hashing.
ToLower has been replaced with a unicode normalizer using Go's collation libraries. Reference is here: http://www.unicode.org/reports/tr10/#Multi_Level_Comparison. I'm using level 1, which should be at least as conservative as MySQL's utf8_unicode_ci collation.
Renamed the vindexes to be more precise.
Fixed []byte vs. string issue that was causing the new vindexes to fail.

@enisoc: This introduces a new dependency on golang.org/x/text. So, the docker images will need to be updated?

This change is

Review status: 0 of 13 files reviewed at latest revision, 3 unresolved discussions.

a discussion (no related file):
Changes looks good. I will test it out on my cluster.

go/vt/vtgate/router.go, line 365 [r1] (raw file):
Was this the code segment where you are converting byte array to string?

go/vt/vtgate/vindexes/binarymd5_test.go, line 27 [r1] (raw file):
This test input is the same as first one, i guess you intend to use all lowercase  letters ["test"].

Comments from Reviewable

Reviewed 13 of 13 files at r1.
Review status: all files reviewed at latest revision, 6 unresolved discussions.

bootstrap.sh, line 113 [r1] (raw file):
This is no longer the place for library dependencies. Please see the all-caps comment above. :)
In your case, I think these are the new dependencies you need:
$ govendor fetch golang.org/x/text/collate
$ govendor fetch golang.org/x/text/language
$ git add vendor/vendor.json

go/vt/vtgate/vindexes/unicodeloosemd5.go, line 74 [r1] (raw file):
Do you have a citation for why you think English is the right choice to match (or collapse at least as much) what utf8_unicode_ci does? I didn't see anything special mentioned about English in the godoc for the collate and language packages.

go/vt/vtgate/vindexes/unicodeloosemd5_test.go, line 30 [r1] (raw file):
Please add a test case with trailing space characters of various types (space, tab, newline, etc).

All MySQL collations are of type PADSPACE. This means that all CHAR, VARCHAR, and TEXT values in MySQL are compared without regard to any trailing spaces.
http://dev.mysql.com/doc/refman/5.6/en/char.html

I'm not sure what the collate package will do, but it's likely you'll need to change something to make it pass.

Comments from Reviewable

a discussion (no related file):
Verified that the []byte vs string bug has been fixed with these set of changes.

Comments from Reviewable

Review status: 10 of 13 files reviewed at latest revision, 5 unresolved discussions.

go/vt/vtgate/router.go, line 365 [r1] (raw file):
Yes.

go/vt/vtgate/vindexes/binarymd5_test.go, line 27 [r1] (raw file):
It's a repeatability test, to make sure that the same input produces the same output.

go/vt/vtgate/vindexes/unicodeloosemd5.go, line 74 [r1] (raw file):
The reference is here: http://www.unicode.org/reports/tr10/#Introduction. In short, unicode seems to define a universal (or default) order. But various locales have conflicting order, which they have the right to override.
Unfortunately, the Go library requires you to specify a locale. So, I chose English assuming that it won't override the Unicode universal order.  After all, the tyrant english speakers invented unicode :). But I couldn't find an easy way to verify this.
Also, the locale differences are not an issue for level 1, because the conservative comparison makes them all equal.

go/vt/vtgate/vindexes/unicodeloosemd5_test.go, line 30 [r1] (raw file):
Nice catch. Go is treating spaces as significant. Fortunately, MySQL seems to only ignore trailing spaces. Not tabs, etc.

bootstrap.sh, line 113 [r1] (raw file):
Done.

Comments from Reviewable

Reviewed 4 of 4 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

go/vt/vtgate/vindexes/unicodeloosemd5.go, line 74 [r1] (raw file):
Ok I would just suggest to include that comment you just wrote in the code then. The current comment makes it sound like you did verify that English is the same as the universal order, which may make it harder to debug if that later turns out to be untrue.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

go/vt/vtgate/vindexes/binarymd5_test.go, line 27 [r1] (raw file):
Done.

Comments from Reviewable

Review status: all files reviewed at latest revision, 2 unresolved discussions.

go/vt/vtgate/vindexes/unicodeloosemd5.go, line 74 [r1] (raw file):
Done.
This will show up in the next PR, which fixes another bug.

Comments from Reviewable


Issue 70 Adding inputs/outputs to job details

Adds "inputs" and "outputs" top-level list attributes to the job details view.
Each input or output consists of a name, type, and value. When a job has not yet run, the name and types of its inputs and outputs will always be defined, but the value may be null. A value can consist of primitives, a file, or an array of files. A file could be a basic scale file or a product file.
Deprecates the "input_files" and "products" attributes for future removal.
The serializer implementation is a bit of a hack because the value attribute can contain different types that must be handled dynamically.

LGTM


Changing the Language tab to the extension of file uploaded.

Is your feature request related to a problem? Please describe.
If we upload a file of extension eg .py, then the code appears in the block but the language tab is not changed.
Describe the solution you'd like
I would like to change the language tab also once the code uploaded file is having the extension of that particular file.
Are you willing to contribute to this issue? [Yes/No]
Yes
Describe alternatives you've considered
Creating a dictionary or array of languages and it's extensions to match the code file extension and language tab.
Additional context
I would like to work on this issue under GSSoC21

Hi @AmeyaJain-25, First of all, thank you so much for taking out the time to create this issue.
Definitely 🙌, Please go forward to work on this issue.


Extract common code into a global library

Signed-off-by: dblock<EMAIL_ADDRESS>Description
Extracts build, assemble, upload and notify into separate functions part of the global library, each now with tests.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This is at a good stopping point worth a merge, deploy and test. It accomplishes the extraction into vars (this folder name is called this way by convention in Jenkins libraries and cannot be changed), effectively reusing build, assemble and publish without any other changes, so we can use this model for test actions.


GH-36284: [Python][Parquet] Support write page index in Python API

Rationale for this change

Support write_page_index in Parquet Python API
What changes are included in this PR?

support write_page_index in properties
Are these changes tested?

Currently not
Are there any user-facing changes?
User can generate page index here.

Closes: #36284

@jorisvandenbossche Mind take a look? I'm not so familiar with Python part, so maybe make something wrong

@pitrou @westonpace Would you mind take a look? This patch support Python to write page_index.

Can this patch be merged? Or should I wait for other committers review?

@github-actions crossbow submit -g python

test-conda-python-3.10-spark-master
test-cuda-python
test-conda-python-3.8-spark-v3.1.2
test-conda-python-3.10-spark-master

These cases failed, how can I try to fix them?

@mapleFU Those are unrelated to this PR. Can you try to rebase?

test-conda-python-3.10-spark-master
test-conda-python-3.8-spark-v3.1.2
test-conda-python-3.9-spark-v3.2.0

Spark failures are known and have an issue opened.

test-conda-python-3.11-hypothesis

Hypothesis failure is a new one but I do not see how it could be related to this PR.

test-cuda-python

I have seen nightlies fail with this error today already, so this is not related to the PR either.

Hypothesis failure is a new one but I do not see how it could be related to this PR.

Hmm, that seems very similar to the one that I fixed last week (https://github.com/apache/arrow/issues/36349, but now with another unknown timezone). In any case, you can ignore it here.

@github-actions crossbow submit -g python

Still these failed, lol

@pitrou @jorisvandenbossche I've tried to fix the comment here. Would you mind take a look?

@github-actions crossbow submit -g python


Incorrect PUBX03 elev/azim handling in Sky View

PyGPSClient Bug Report Template
NB: Please raise any general queries in the pygpsclient Discussions Channels in the first instance.
Describe the bug
(Reported via email by Matti Öhman)
The Satellite (Sky) view oscillates between two different states when both GPGSV and PUBX03 (UBX03) are enabled:
This seems bad:

... while this looks OK:

The parsed data seems to be valid, so the problem is probably in the _process_UBX03() funcion (nmea_handler.py).
The function makes a dictionary of tuples:
gsv_dict[key] = (
gnss,
svid,
getattr(data, f"azi_{i+1:02}"),
getattr(data, f"ele_{i+1:02}"),
str(getattr(data, f"cno_{i+1:02}")),
now,
)
Later it moves the tuples around:
for key in gsv_dict:
self.gsv_log[key] = gsv_dict[key]
... and unpacks the tuples back into variables:
for key in self.gsv_log:
gnssId, svid, elev, azim, snr, lastupdate = self.gsv_log[key]
The 3rd and 4th fields are swapped, i.e. the elevation and azimuth have switched places!
It might be useful to have an assert statement to check that a satellite's elevation never exceeds 90 degrees.
Additional context
Add any other context about the problem here.
Additional context
Add any other context about the problem here.

probably also need to tweak SVID numbering for the PUBX03 message, which is not consistent with other NMEA or UBX SV messages


Angular 2 support

When angular 2 release nativescript will be ready with that ?

Yes, that's the plan -- support Angular 2 as it ships.


Update zh_CN translations

The translation looks good, mostly were changes from half-width characters to full-width characters.


Support typing.NoReturn and typing.Never

Fix #14558
Summary

Add typing.NoReturn and typing.Never to known instances and infer them as Type::Never
Add is_assignable_to cases for Type::Never

I skipped emitting diagnostic for when a function is annotated as NoReturn but it actually returns.
Test Plan
Added tests from
https://github.com/python/typing/blob/main/conformance/tests/specialtypes_never.py
except from generics and checking if the return value of the function and the annotations match.

I skipped emitting diagnostic for when a function is annotated as NoReturn but it actually returns.

This is correct to skip in this PR; there shouldn't be any special-casing of such a check, it will just fall out naturally from checking return type assignability in general, since nothing (except for Never) is assignable to Never.


I had made the CNN model for #98

Description
I had made a CNN(convolutional neural network )model that could predict ,
the disease of tomato plant by seeing its leaf
I am GSSOC'23 contributor
I had completed the issue assigned to me
kindly check and merge with the main branch
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

(Add x in the [] to mark as completed.)
Related Issues or Pull Requests
#98

I had linked the link of notebook in the readme correctly , I apologize for doing lot of mistakes as I am still new to git ,I am still learning ,I will not repeat my mistake : )
@khusheekapoor


[test] Fix sanity check for the OpenaccCudaCpp test

Fixes MAINT-107.
@ajocksch Strangely the test fails with PrgEnv-gnu with the following error:
 MPI test on CPU using           12 tasks
 Result : FAIL
 Expected value sum(f3):    110.000000     actual value:   55.0000000

The test is not passing even on Daint with PrgEnv-gnu. I guess sth has changed in the test files. I'm doing git bisect to locate the exact commit now.

This commit broke the test: 8623851d67462c8cb076a9eda0701515366feefa

@vkarak Merging #913 should bring the check back to its previous status

Thanks, @lucamar. We will merge this after then.

This PR is not needed anymore, since the problem is fixed in #913.


Disable dynamic position option?

Thank you so much for making this library, the material design fits really well into android apps. However I feel like the dynamic positioning is rather irritating. I feel like a user would expect a dropdown to appear at the same position every time. An option to turn this off would be splendid. The dynamic positioning also sometimes causes the drop down list to go underneath the status bar.
Sorry if this option is already present but I couldn't find anything about it in the docs. Alternatively if you can find a way to just prevent the dropdown from going under the status bar that would great as well.

Thanks for issue! Added new prop dropdownPosition with optional numeric value. Positive and zero values fix dropdown position on Nth item counting from top and negative values do the same from bottom.
Released in 0.4.0.


'url' prop in getBibTeXJSON and parseBibTeXJSON are inconsistent

Uppercase for parseBibTeXJSON and lowercase for getBibTeXJSON

Thanks for reporting this, by the way. I'll create a back-port release.

0.4.0-6 should work now.


What is value IG_PROXY in examples?

Hi, One question. Which is value of process.env.IG_PROXY ?

It's your proxy. You can use proxy if you need.


make instructions more clear for building c dll with Windows

To more explicitly show how to build Release build for c dll on Windows.

Hi @terryheo Can you please review this PR ? Thank you!

Closing, changes already committed here: https://github.com/tensorflow/tensorflow/commit/68c6031d03e2bce22e0b13da630171976c1ef65d


prevent runtime shutdown while foreground threads keep running

[x] hack code
[x] make GC_Scenarios._BinTree_thdtree_thdtree_._BinTree_thdtree_thdtree_sh, GC_Scenarios._BinTree_thdtreegrowingobj_thdtreegrowingobj_._BinTree_thdtreegrowingobj_thdtreegrowingobj_sh, GC_Scenarios._BinTree_thdtreelivingobj_thdtreelivingobj_._BinTree_thdtreelivingobj_thdtreelivingobj_sh green
I have issues with ./tests/runtest.sh release -coreclr Top200 either hanging on these three or exiting with 134 code.
When I run it manually by CORE_ROOT=./tests_downloaded/CoreCLR/Tests/Core_Root ./tests_downloaded/CoreCLR/GC/Scenarios/BinTree/thdtreegrowingobj/thdtreegrowingobj.sh everithing works fine. I guess I've introduced some threading issue to xUnit runners.
[x] find some tests for foreground threads in CoreCLR or make our own

Simplified logic adopted from CoreCLR with no additional states like m_UnstartedThreadCount, m_PendingThreadCount etc.

I guess we are done @jkotas

This repo is getting archived soon. Would you mind to resubmit this PR against https://github.com/dotnet/runtimelab/tree/feature/NativeAOT ? I would have to manually port it and fix it up otherwise.

The change looks great to me otherwise. Thank you!

Thanks for your feedback!

This repo is getting archived soon. Would you mind to resubmit this PR against https://github.com/dotnet/runtimelab/tree/feature/NativeAOT ? I would have to manually port it and fix it up otherwise.

Sure. I think it will be convenient if I address your recent comments here and submit PR to runtimelab once it "LGTM".

Yes, that's fine.

Superseded by https://github.com/dotnet/runtimelab/pull/235


how can i implement ts.CompilerOptions in a class?

class implements ts.CompilerOptions {
}

Add an index signature?

wasn't sure how to do it
found your comment to a different issue
class implements ts.CompilerOptions
[option: string]: ts.CompilerOptionsValue | undefined;

is this documented?

the signature itself  on a class hardly makes sense (because the implementation is missing) this is a bit confusing

We should add documentation about indexers and optional property declarations to https://www.typescriptlang.org/docs/handbook/classes.html


Another reason to not allow third party cookies

IndexedDB uses the same-origin principle, which means that it ties the store to the origin of the site that creates it (typically, this is the site domain or subdomain), so it cannot be accessed by any other origin.
Third party window content (e.g. content) can access the IndexedDB store for the origin it is embedded into, unless the browser is set to never accept third party cookies (see bug 1147821),
Reference: https://developer.mozilla.org/docs/Web/API/IndexedDB_API/Using_IndexedDB#Security
Thanks to: https://github.com/ChrisAntaki/disable-indexeddb/issues/1#issuecomment-311381692

https://www.fxsitecompat.com/en-CA/docs/2015/web-storage-indexeddb-cache-api-now-obey-third-party-cookies-preference/
This is not just IndexedDB, it's Cache API, Web Storage and Service Worker Cache. I think we could add a [NOTE] to 2701. :+1: or nits
/* 2701: disable cookies on all sites [SETUP]
 * blah blah
 * [NOTE] This also controls 3rd party Web Storage, IndexedDB, Cache API and Service Worker Cache access
 * [1] https://www.fxsitecompat.com/en-CA/docs/2015/web-storage-indexeddb-cache-api-now-obey-third-party-cookies-preference/ ***/

I know cookies and local dom have some sort of connection (see @RoxKilly 's issue with material angle io website) - but to be honest I was not sure if that was Cookie Controller or FF permissions. I never realized it controlled indexedDB etc in some fashion. I wonder if FPI covers indexedDB.

@Thorin-Oakenpants  What is FPI?

First Party Isolation - pref 2698 ... the one we have a sticky issue for, part of the Tor Uplift

Thanks

https://www.wilderssecurity.com/threads/firefox-and-indexeddb.395113/
current js content
/* 2404: disable JS storing data permanently
 * This setting WAS under about:permissions>All Sites>Maintain Offline Storage
 * [NOTE] about:permissions is no longer available since FF46 but you can still override
 * individual domains: use info icon in urlbar etc or right click on a web page>view page info
 * [WARNING] [SETUP] If set as false (disabled), this WILL break some [old] add-ons and DOES
 * break a lot of sites' functionality. Applies to websites, add-ons and session data.
 * [1] https://addons.mozilla.org/en-US/firefox/addon/disable-indexeddb/ ***/
user_pref("dom.indexedDB.enabled", false);

The problem - indexedDB is NOT controlled by site exceptions: i.e

urlbar info icon > right arrow > more information > permissions > maintain offline storage
on a site such as google or the new york times, an icon will appear in the urlbar after the info icon, which you can hover over and it will say "You have blocked data storage for this website" - click it and you an option to unblock it.

Can anyone confirm this for me, to confirm the original linked OPs test on New York Times (or use some other site). We will need to fix the description if this is the case.

I also used the second method above on google.com, clicked the icon, unblocked and it said to reload the page, so I did, and the icon did not reappear. So far so good. But the permissions tab (site info etc) is triple state (default, ask, block). So to reset it, I went in there, but it was already at "default" - and yet no icon appeared. So I set it to "block" and now it does appear. Now I have to use a site override (block) whereas before it was always default and google always had the icon come up. If I reset it to default, now I never get the icon. F**k.

What is this controlling? urlbar info icon > right arrow > more information > permissions > maintain offline storage
My default is "always ask". I have played with some settings. AFAIK, it's not

dom.storage.enabled (2705)
dom.storageManager.enabled (2706)
dom.indexedDB.enabled (2404) according to summerheat at the wilders security post. but my gut says this is what it is meant to control, or used to control. But my pref is "false", and yet my default in the permissions tab is "always ask"

What am I missing here. What is the pref that changes "Always ask" to "block" - that way I can have a default deny-all and assign site exceptions

What is the pref that changes "Always ask" to "block" - that way I can have a default deny-all and assign site exceptions

https://dxr.mozilla.org/mozilla-central/source/browser/locales/en-US/chrome/browser/browser.dtd#232
-> it should definitely be "indexedDB" if it says "You have blocked data storage for this website" as you wrote above
https://dxr.mozilla.org/mozilla-central/source/browser/modules/SitePermissions.jsm#532
-> looks like not all permissions can be set to "block" by default. Currently (nightly) it's only possible for image, cookie, popup and install. For me everything except popup and install is either defaulting to "allow" or "always ask" (I allow cookies and control them with uMatrix - everything else should match what you get) Maybe there's other code somewhere that I can't find that also looks at other prefs for that GUI but I think that's largely it.

@Gitoffthelawn wrote in the addons sticky and now needs to delete it to help keep that thread clean

Thorin-Smokinpants wrote:

Block all cookies by default (esp 3rd party as this has other ramifications with access to indexedDB, cache etc).

I previously created an issue (https://github.com/ghacksuserjs/ghacks-user.js/issues/159) regarding the ramifications with indexedDB.  What are the cache ramifications?

I have no idea regards "cache" - by that I assume you mean being able to clean indexedDB?
I actually think this Maintain Offline Storage pref is broken in some way. @zymase and I discussed something about this back at ghacks ages ago. I can't remember or find exactly what it was about, might have been dom storage or indexedDB. I think I may have seen some bugzilla tickets on it.

I have no idea regards "cache" - by that I assume you mean being able to clean indexedDB?

I was referring to "cache" in:

Block all cookies by default (esp 3rd party as this has other ramifications with access to indexedDB, cache etc).

the ink in the second post (https://www.fxsitecompat.com/en-CA/docs/2015/web-storage-indexeddb-cache-api-now-obey-third-party-cookies-preference/ ) .. it lists Cache API and Service Worker Cache among the items

Thanks.  He's implying that third party sites are not cached if third-party cookies are disabled.... yet the content is still loaded.  Interesting.

Who is implying? The fxsitecompat article? Article links to https://bugzilla.mozilla.org/show_bug.cgi?id=1145744

The Cache API should not be accessible in Window or workers for 3rd party iframes when the user has disable 3rd party cookies

This has nothing to do with it being downloaded, it is all about accessibility to to from 3rd parties AFAIK

I made an edit to be clear... sorry for the ambiguous words.
That's great that the cache API is not available when third-party cookies are disabled.
Yet another reason to disallow them.
Note that blocking with other tools (like uMatrix) will not have this benefit.

re-closing this - started a clean new issue #173


[ui] react native web & safari issues

in safari, text inputs lose focus while typing

setup screen, ssid affected

@rgov i had thought we fixed this issue. turns out native base reintroduced it.
https://github.com/GeekyAnts/NativeBase/issues/5111

so i had introduced this bug back in march when updating native base for other UI fixes. this is now addressed with a shim for select to workaround the safari bug
will be deployed in
https://github.com/spr-networks/super/pull/173


Feature/add check images command

Issue #, if available: #1979
Description of changes: Adding a new command "check-images" to check the existence of all required images
Testing (if applicable):
Test result with the default registry
❯ bin/eksctl-anywhere check-images -f cluster-config-management.yaml
✅ public.ecr.aws:443/l0g8r8j6/kubernetes-sigs/cluster-api/kubeadm-bootstrap-controller:v1.1.3-eks-a-v0.0.0-dev-build.2281
✅ public.ecr.aws:443/l0g8r8j6/brancz/kube-rbac-proxy:v0.8.0-eks-a-v0.0.0-dev-build.584
✅ public.ecr.aws:443/l0g8r8j6/bottlerocket-bootstrap:v1-21-12-eks-a-v0.0.0-dev-build.2412
✅ public.ecr.aws:443/bottlerocket/bottlerocket-admin:v0.7.4
✅ public.ecr.aws:443/l0g8r8j6/jetstack/cert-manager-acmesolver:v1.5.3-eks-a-v0.0.0-dev-build.912
✅ public.ecr.aws:443/l0g8r8j6/jetstack/cert-manager-cainjector:v1.5.3-eks-a-v0.0.0-dev-build.912
✅ public.ecr.aws:443/l0g8r8j6/jetstack/cert-manager-controller:v1.5.3-eks-a-v0.0.0-dev-build.912
✅ public.ecr.aws:443/l0g8r8j6/jetstack/cert-manager-webhook:v1.5.3-eks-a-v0.0.0-dev-build.912

Also tested with the customer registry in their network.
Result REDACTED

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/test eks-anywhere-attribution-files-presubmit

/approve

/approve


[Component] RadioButton (Single) UIKit. Added usage improvement from Polaris to SparkCore

The single radio button uses a binding.
In polaris, a wrapper was created to simplify the usage and not needing to use a wrapper.
This should be moved to the RadioButton implementation.

For testing:
I've added a single radio button to the demo. It is on the screen Radio Buttons and appears under the Radio Button Group.


Fix BeaconBlocksByRange RPC requests when count is 0

PR Description
We had an error processing RPC blocks by range request when count is set to 0
Unhandled error while processing request /eth2/beacon_chain/req/beacon_blocks_by_range/2/ssz_snappy","throwable":" java.lang.ArithmeticException: uint64 underflow
 tech.pegasys.teku.infrastructure.unsigned.UInt64.minus(UInt64.java:203)
tech.pegasys.teku.infrastructure.unsigned.UInt64.minus(UInt64.java:157)
tech.pegasys.teku.spec.datastructures.networking.libp2p.rpc.BeaconBlocksByRangeRequestMessage.getMaxSlot(BeaconBlocksByRangeRequestMessage.java:70)

We technically should be able to handle such requests even if they are deemed useless. We have requests limiting so we are not prone to DOS attacks.
Added tests for both blocks and blob sidecars to ensure they both work.
Fixed Issue(s)
N/A
Documentation

[X] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[X] I thought about adding a changelog entry, and added one if I deemed necessary.

@gfukushima after some discussion with team we changed the logic to be able to handle such requests, just letting you know


Another question about ads..

Its me again..
In the older versions, there was a mh.IsAdRunning() (MusicHandler)..
Where is it now in the version?

See #34


Different parse results with the same number

phone_number: ^1.0.0
When parsing a number with no regionCode, for example<PHONE_NUMBER>9 (An Egyptian number), sometimes it returns +201114377479, other times it fails to parse. Why would there be this inconsistency, how can i help?

This still an issue with last version on main branch?


Enforce Sendable conformance for LogHandlers Swift-Log, and make Logger Sendable

Enforce Sendable conformance for LogHandlers Swift-Log, and make Logger Sendable. See #216
Motivation:
Swift-Log is adopted in many libraries, and as the language has recently involved in exciting new directions, these new features have been the subject of improvement and innovation. Many libraries aim at implementing Sendable, which means that many types that carry swift-log's Logger will quickly see warnings pop up all over these projects.
As swift-log is a loved and essential part of the swift ecosystem, it too should adopt the new Swift standards.
Modifications:

Require LogHandler implementations to conform to Sendable
Conform Logger to Sendable
Updated tests to support the new Sendable requirements

Result:
Swift-Log supports Sendable. Requires iOS 13+, macOS 10.15+ and Swift 5.5+.
This'll obviously require a semver major.

That bot is very eager for a review!

@swift-server-bot test this please

Sendable conformance has been done in https://github.com/apple/swift-log/pull/218 in a more compatible way.
Thank you for the PR though!

Sendable conformance has been done in #218 in a more compatible way.
Thank you for the PR though!

Hello! I still get warning about Logger not being Sendable inside a Sendable-class. Is it a new feature in Xcode 15.3, or is it a bug?

Can you show your code? Are you storing it as var?

Can you show your code? Are you storing it as var?

Cannot show the code now.
I store it as a let inside a @MainActor-class

What version of swift-log have you resolved?

What version of swift-log have you resolved?

I do not use swift-log, I import OSLog and then use Logger inside a class like this:
import OSLog

@MainActor
protocol SomeProtocol {}

final class MyClass: SomeProtocol {
  private let logger = Logger(subsystem: "Subsystem", category: "MyClass")
}

An interesting moment: in one file it helped me to make @preconcurrency import OSLog, but in other file it does not work. I have strict concurrency check (complete) in my app build settings.

This repository is not for os log, it's for swift-log. Issues with os log should be taken to Apple's developer forums.


[REEF-522] Add missing Javadoc comments in Java code: reef-checkpoint

This adds missing Javadoc comments in reef-checkpoint project
and enforces more strict checkstyle rules.
JIRA:
REEF-522
Pull Request:
Closes #

This looks good, I will merge.


Errors with Add library

Hello,
I have this error when trying install library .whl  inside the cluster:
Invoke-RestMethod : {"error_code":"PERMISSION_DENIED","message":"User: SimpleUserContext{userId=1763010680948721,
2020-09-10T23:15:05.3716987Z name=......., orgId=......,
2020-09-10T23:15:05.3720575Z azurePrincipalTenantId=.......,
2020-09-10T23:15:05.3721120Z azurePrincipalObjectId=.........} is not authorized to access cluster"}
2020-09-10T23:15:05.3721684Z At C:\Program
2020-09-10T23:15:05.3722124Z Files\WindowsPowerShell\Modules\azure.databricks.cicd.tools\2.1.2915\Public\Add-DatabricksLibrary.ps1:102 char:5
2020-09-10T23:15:05.3722648Z +     Invoke-RestMethod -Uri $uri -Body $BodyText -Method 'POST' -Heade ...
2020-09-10T23:15:05.3723075Z +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-09-10T23:15:05.3723575Z     + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
2020-09-10T23:15:05.3724015Z    eption
2020-09-10T23:15:05.3724421Z     + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Does someone know why I have this error  even I use principal service with contributor role?
Thank you.

Sorry for the delay. So it looks like permissions, but your SP Contributor rights should be enough for workspace access, but I don't think that gives you MANAGE cluster rights by default. Can you try changing the cluster permissions?


fix: session clear was not working correctly on CLI sessions

Addresses https://github.com/googleapis/google-cloud-php/issues/5567.
Unfortunately, Google is unresponsive so we have to take care of it on our end.

Is there any reason why you didn't inherit from the Google\Cloud\Spanner\Session\CacheSessionPool and only overwrite the keepAlive method?
It is likely to leak when there is a change in the GoogleCloudCloudSpanner\Session\CacheSessionPool in the future.

Keepalive is not what we are overriding, its deleteSessions, which is a private method.

This requires that all projects that use it add the following lines to their composer.json.
https://github.com/cweagans/composer-patches#allowing-patches-to-be-applied-from-dependencies
This is not a good solution since it requires users to change their composer.json manually.

Cleaned up commits so diff is minimal

What about using cweagans/composer-patches to apply patches instead of copying the file?

I just noticed you also need to apk install patch which is not installed by default on alpine.
I think just copying the original is fine here since google hasn't updated CacheSessionPool in ages.


Fp fixes

Fixes Issue
Fixes #5153
Fixes #5155
Description of Change
Add FP suppressions for raised false positives that could not be handled by the automation and add all automatically generated FP suppressions up to now
Have test cases been added to cover the new functionality?
no

I hope the regex i used is correct. if not, thanks for updating this.

@jeremylong As I widened the regex I think it would be good that you review the updated suppression as well

@aikebah , there are also other rules related to Vaadin artifacts in the suppression, maybe we should remove those after the widened regex?

@ZheSun88 Would be fine yo remove those, feel free to adapt your PR further to remove them right away. If not done directly we can always remove them later on in a follow-up housekeeping on these rules.

sure, to this this PR clean enough, i will create another PR to remove those.

LGTM...


Is this project... abandoned?

Hi there,
Just wondering if the current version of TinyBirdNet-Unity is stable or if it's got any bugs/gotchas that need to be addressed? I also wanted to know if the project is still alive and kicking, because I really do like the idea of a UNET-like HLAPI that will plug directly into LiteNetLib rather than going through and having to manually write adapters, wrappers and all that painful things. However, the last commit date was a little concerning, so I thought I'd open a issue ticket and ask.
Cheers!

Hi,
I didn't receive any bugs complaints so far.
The commit date is because I'm reworking a lot of the internal stuff to add
things like a cycle buffer and server reconciliation.
Also I was polishing my game's pitch, and the game will use TinyBirdNet, so
no worries it will be abandoned.
On Fri, Oct 26, 2018, 04:13 Coburn<EMAIL_ADDRESS>wrote:

Hi there,
Just wondering if the current version of TinyBirdNet-Unity is stable or if
it's got any bugs/gotchas that need to be addressed? I also wanted to know
if the project is still alive and kicking, because I really do like the
idea of a UNET-like HLAPI that will plug directly into LiteNetLib rather
than going through and having to manually write adapters, wrappers and all
that painful things. However, the last commit date was a little concerning,
so I thought I'd open a issue ticket and ask.
Cheers!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Saishy/TinyBirdNet-Unity/issues/8, or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6zzH0DLJzfQ8cIlLGyc2awd9hxDIXcks5uorX9gaJpZM4X7qRj
.


Renaming remote does not update config

Testing on newest built : https://rclone.org/downloads/
If you've just got a question or aren't sure if you've found a bug then please use the rclone forum instead of filing an issue.
Rclone 1.36-windows
Windows 10 64bit
Google Drive
rclone config > Rename Remote
When naming a config to "gsuit Remote" then renaming to gsuitRemote
I was givng errors saying that
"2017/05/27 11:38:41 Failed to create file system for "gsuitRemote:test/": didn't find section in config file"
When checking, the names were correct
Name                 Type
====                 ====
gsuitRemote
But would not work,
After deleting the remote, and starting fresh with "qsuitRemote" to start, everything worked as expected.

I tried to reproduce this, but failed, by

running rclone config
renaming an existing remote
quitting rclone config
examining the config file to see if the change was correct - it was

What did you do differently to that?

I will check when I return home,
Did you try with a remote name containing a space?
I think that is where the issue is.

I just tried with a space too, but still worked!

This looks fixed. Closing out.


Revisit board pins reexport macro

The current incarnation of the board pins reexport macro is already quite successfull at abstracting the actual port pins into something that an application developer can comfortably work with.
However, when the need arises to actually name the pin types, it gets awkward:  Right now, the are no reexports in place at all so one needs to reference the type from the hal crate and lookup the real port names.  As a real-world usecase, consider a global variable holding a pin:
static mut GLOBAL_PIN: Option<atmega32u4_hal::port::portc::PC7> = None;

Of course, it would be much nicer if the actual pin name, as found in the generated Pins struct could be used:
static mut GLOBAL_PIN: Option<arduino_leonardo::pins::D13> = None;

I think it shouldn't be too difficult to add this: The macro needs to emit type aliases for each pin and reference those instead of the port pin types.  For this, it needs to grow more syntax to specify the new pin type identifiers.  A rough sketch:
// The macro will change from (L692)
pub $name:ident: $pinport:ident::$pin:ident::$Pin:ident,
// to e.g.
pub $name:ident: $Name:ident = $pinport:ident::$pin:ident::$Pin:ident,

// so call-sites will change from
pub d0: portd::pd2::PD2,
// to
pub d0: D0 = portd::pd2::PD2,

// the macro then generates type aliases like
$(
    $(#[$pin_attr])*
    pub type $Name<MODE>: $pinport::$Pin<MODE>;
)+
// and uses them in the struct (L714)
$(
    $(#[$pin_attr])*
    pub $name: $Name<$crate::port::mode::Input<$crate::port::mode::Floating>>,
)+

The generic pin type (port::Pin) should also be re-exported I suppose.


feat(release): automate release

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

npm package (@latest dist-tag)
GitHub release
Visual Studio Marketplace
0.2.0

Your semantic-release bot :package::rocket:


[Q] while pringting

is there any way i could use this while printing without M600 enabled?
i mean press pause in octoprint, then park and chanage filament and then press pause again to continue the print?

I doubt it would work out since the nozzle would not return to the correct position afterward. Might vary from printer to printer with that behavior, though. You could pause and then raise Z manually then unload/load and then lower Z the same amount, then try to resume. I don't have a lot of confidence in that working but if you try it out, let me know how it goes.

i ended up with just pausing and then changing the filament as fast i could
it kind of works, if the nozzle stops inside infill you will not see it, but if it does at an perimeter it will show but not much, the faster the change is the better
but my thought was that since octoprint is in control this plugin could do the pause, then park, and user can unload and load and then "unpause" and return to where it can from and continue the print

dont know about your firmware, but with klipper im obligated to home X and Y before continuing the print, so i pause, home those 2, change my filament and continue flawlessly give it a try!
also yeah, an all in one button would be really nice, might have to get into programming and make something like that, just use the octoprint pause, raise Z, home XY, unload, load and continue


UI bug: Navigation Drawer (Bookmarks)

Actual Behaviour
Bookmarks item in navigation drawer remains clicked if you try to open it and there are no bookmarks
Expected Behaviour
It should show the activity as clicked which the user is currently inside.
Steps to reproduce it
Make sure you have no bookmarks. Open Navigation drawer and click on Bookmarks. It will show the error dialog of "No Bookmarks Available". After disposing it, open navigation drawer and you'll find Bookmarks as clicked. But it should show the activity as clicked in which the user is currently viewing.
LogCat for the issue
Screenshots of the issue
screenrecorder.zip
Would you like to work on the issue?
Yes I would like to work on it.

@the-dagger Should I send a PR for this ?

@jodiwaljay
If your PR is solving a bug you need not wait for the approval.
If your PR is adding a new feature then you need for the maintainers approval.

Agree to what Murad says. Go forward and fix it and send PR
On Tue, Feb 28, 2017, 11:21 Murad<EMAIL_ADDRESS>wrote:

@jodiwaljay https://github.com/jodiwaljay
If your PR is solving a bug you need not wait for the approval.
If your PR is adding a new feature then you need for the maintainers
approval.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-android/issues/1174#issuecomment-282949176,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQ_ygVZfEYSULApVaFg8tj7gtaPnoeAks5rg7XbgaJpZM4MMZRy
.

Thanks @championswimmer @free4murad Will remember that. Sent PR for this.


Allow for customization of queries in the JdbcTokenStore

Enhancement Description
To allow users to work around problems outlined in #2409, the JdbcTokenStore could allow for the same flexible configuration as the JdbcEventStorageEngine does.
Current Behaviour
Queries in the JdbcTokenStore are fixed at the moment and cannot be changed by users of the framework.
Wanted Behaviour
Configurablity and tunability of queries in JdbcTokenStore to allow the token-store to fit your specific use-case.
Possible Workarounds
Using functional interfaces, as done in the JdbcEventStorageEngine, might provide the desired flexibility.

We do not envision having sufficient time to work on this before our intended release of 4.7.0. Hence, moving this issue to 4.8.0.

We do not envision having sufficient time to work on this before our intended release of 4.8.0.
Added, we aim to direct our attention to the following major release.
Due to this, it is unclear at this stage when the issue will be resolved.


FR: scroll such that it is on tab boundaries

It would be nice if there was a mode where scrolling was only done on tab boundaries. Ie, if I page to the right, then the tab that is shown first in the list should be completely visible. This would help a lot with the aesthetics of the control as people are interacting with it.

I went ahead and implemented this. It can be found @ gregveres/bootstrap-nav-tab-scrollable (forked from here).
I don't expect that you will want to do a pull request because I didn't change this to be an option, I just implemented it so that it worked this way rather than landing on partial tabs.
You may want to look at the code though. I did a few things that you may want to bring into your code:
There was at least one place where you used width() instead of outerWidth().
I capture all the jQuery selectors into variables so that I am not doing the jQuery finds all over the place - especially during the manual scroll and resize event handlers.
I added a debounce (shamelessly taken from: jmosbech/StickyTableHeaders) to the scroll and resize handlers.
Anyway, thanks for creating this in the first place.  This version works really well for my purposes.


replace qsort module

Replace the qsort module, which was a temporary workaround for lack of sort in the Solana library.

done in v2 branch


Admin settings missing after 3.3

I just recently performed the upgrade to 3.3, and the Teams admin center is showing the updated version.  I created the Teams app package and uploaded it.  When I go into Teams, I still see version 3.1, but now the Admin settings page is blank.  The map viewer is still mentioning setting it up via Bing Maps as well.  Do I need to uninstall the app and re-add it to Teams?

@asdraper27 , thank you for notifying us.
Could you confirm if you've updated the latest changes in the Azure App Service? If so, please check and let us know if the update was successful. Please follow below link for more information.
https://github.com/OfficeDev/microsoft-teams-emergency-operations-center/wiki/Upgrade-to-Latest-Version#6-sync-latest-version

Yes, I synced the App Service to the new version first, then created the app package and uploaded the new file to Teams Admin Center.

When I go to Teams to open the app, I can see the overview which states it is on Version 3.3:

But when I open the app itself, and go to Info, it shows here as 3.1:

The Admin setting menu option just presents me with a blank page in Teams, and the Map Viewer still has the message about needing to set up Bing Maps.

I am seeing the same thing. I notice in the web client the info (of the site not the Teams app) shows 3.3, but the teams fat app continues to show v3.2 -perhaps some sort of caching issue?

Hi @asdraper27,
This could be a caching issue. Please clear your cache and try again. Also check Teams in incognito browser to make sure.
Thanks.

Excellent, that worked for the browser-based app, but how do I clear cache for the desktop application?  And I have an Azure maps subscription - I pasted in the key and it said it was enabled, but I now have a blank map screen with my location pinned on it:

Hi @asdraper27,
Please check this for clearing cache: https://learn.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/clear-teams-cache
Can you please share screenshot of the Config Settings page and also share console logs from browser after opening the maps tab on the app.
Thanks.

I did the reset of the Teams app, and the updated version is now showing, thank you.  I don't love that our users have to blow away all their Teams settings to get the update, but we will certainly survive.
I had the Azure Maps Subscription key added, but it initially did not work.  I had to regenerate the key, and now the Maps are connected correctly.  Are you aware if there is a life span for that key, will we need to regenerate it on a schedule?

Understood.  Maybe not every user will have the same caching issue.  I have updated other apps without having to clear the cache.  Thank you for your help!


Automatically deploy from Travis

Issue https://github.com/ga4gh/server/issues/1569

+1 Thanks @dcolligan !


Term merge: GO:0039591 suppression by virus of host tapasin activity

Term to be merged: Provide GO ID and term label
GO:0039591 suppression by virus of host tapasin activity
Which term do you propose this term merge into? Provide GO ID and term label
Parent, GO:0046776 suppression by virus of host antigen processing and presentation of peptide antigen via MHC class I
Reason for merge
'GO:0039591 suppression by virus of host tapasin activity' represents a mechanism by which 'GO:0046776 suppression by virus of host antigen processing and presentation of peptide antigen via MHC class I' happens
Any other information

Hello @Antonialock @pmasson55
Since GO:0039591 suppression by virus of host tapasin activity has been merged into its parent,
UniProtKB-KW:KW-1108 and VZ:818 mappings need to be updated - is this an automated process?
Merge is into GO:0046776 suppression by virus of host antigen processing and presentation of peptide antigen via MHC class I, so you can update mappings accordingly.
Thanks, Pascale

I have remapped KW-1108
from GO:0039591
to GO:0046776
I don't know if it would have remapped post-processing without the manual fix!

@alexsign
Do you know if KW mappings get mapped automatically if there is a term merge or obsoletion+replacedby?
Thanks, Pascale

@pgaudet UniProt KW to GO IDs is a manual process. IEA annotations created out of this list and UniProt accessions to KW mapping is automated. The automated part is taking care of merges and obsoletions.

Thanks for the info @alexsign


Private cloud configuration not updated in sphere-stack.sh

After creating the account and the application in the douitsu service, the tutorial continues with ./sphere-stack.sh edit and ./sphere-stack.sh update application-table.
However, the first command will not update the app_XX and sk_XX values in  sphere-stack.sh and that will affect the ability of the second command to properly update the msyql DB.
I've worked around it by manually updating the script with the values I read from douitsu.

G'day Miguel,
The intent with ./sphere-stack.sh edit is to open editor on the relevant configuration file to allow you to define those variables. Did this not happen for you?

It did happen, and I did edit the files. However, then next two steps did not take the new values that replaced app_XX and sk_XX into account. In turn that made the cloud services unusable.
I fixed it by editing the ./sphere-stack.sh, adding those values in the generate()function, and re-running the two mentioned steps.

Ok, thanks for the info. I'll have another look at it.

Thanks for the report - should be fixed by 1a2bdfc.


fix(tools): correct dev server not serving lightdom.css files

What I did

Fix dev-server not serving lightdom.css files

Closes #2794
Testing Instructions

Follow instructions in #2794 ensure lightdom.css and lightdom-shim.css serve.
Launch dev server npm run serve

Notes to Reviewers

iirc there's a fix for this on staging/4.0.
Will check on Sunday

Thanks for filing this. I decided to put things in order a bit, so

I refactored the dev server plugin to import it's middlewares from purpose-oriented modules
I split the router middlewares out into small, directed functions, one per case.
Improved the inline documentation for the router functions, hopefully clarifying what each middleware does

I then tested with these steps:

add /elements/accordion/pf-accordion-lightdom.css which sets background to blue
add /elements/accordion/pf-accordion-lightdom-shim.css which sets border to pink
add<EMAIL_ADDRESS>copied from /brand
link to both stylesheets and the image from /elements/pf-accordion/demo/pf-accordion.html
link to both stylesheets and the image from /elements/pf-accordion/demo/bordered.html
build and run the dev server
ensure that in both the accordion and bordered demos, the css applies and the image loads
kill the dev server
copy (not npm link, but copy) the contents of tools/pfe-tools/dev-server to rhds repo's node_modules
replace the fully qualified urls in the avatar demos with local demos, and populate those images
run the dev server in the rhds directory
ensure that the avatar, avatar color context, table, and table color context demos render as expected


[WFLY-10139] Upgrade Artemis 1.5.5.jbossorg-011

Implement the PropertySQLProviderFactory methods required to support
HA in the JDBC Store. The feature itself is not exposed in the
messaging-activemq management model.

JIRA: https://issues.jboss.org/browse/WFLY-10139

@wildfly/mergers-full this Artemis upgrade does not provide a new feature.
I had to implement new methods in PropertySQLProvider but the corresponding feature is not exposed by the messaging-activemq subsystem.
The changes themselves comes from the Artemis 2.x integration branch in https://github.com/jmesnil/wildfly/tree/WFLY-9407_upgrade_artemis_2.4.0_with_prefix and have been QEd.


Help with observe functionality

Hi,
This isn't an issue but didn't find any online help on this.
I'm trying to implement observe functionality in my coap server.
So far, I've a coap server which gets data from sensors in cbor format with some payload.
Now I'm trying to implement observe functionality.so that, clients connecting to coap server will get notifications.
Are there any examples on how to achieve this?

Hi, @naveenkumarmarri! There are observe client and server example files in the examples folder.

@naveenkumarmarri please let me know if this doesn't solve your issue


Topic Modelling - concepts and working

create a notebook on theoretical concepts for topic modelling
create an initial notebook on how topic modelling works

no conflict with the base branch. Okay to merge.


Refactor threading layer priority tests to not use stdout/stderr

As title, this prevents output from e.g diagnostics being able to
influence the outcome of the tests.
Fixes #7458

Although the PR didn't touch this line, I would recommend to change:
env = os.environ.copy()

into
env = {}

Copying the entire environment is a bit dangerous. For tests, it is better to start with a clean slate to avoid whatever variables exist in the environment to leak into the test. May not become an issue in practice, but I believe it's prudent to make sure it really doesn't.

Although the PR didn't touch this line, I would recommend to change:
env = os.environ.copy()

into
env = {}

Copying the entire environment is a bit dangerous. For tests, it is better to start with a clean slate to avoid whatever variables exist in the environment to leak into the test. May not become an issue in practice, but I believe it's prudent to make sure it really doesn't.

Agree, am happy to make this change whilst editing these tests. It was, however, the env copy that actually triggered and demonstrated the problem with these tests in the first place!

Turns out that doing https://github.com/numba/numba/pull/7749#issuecomment-1022065489 leads to:
Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python
Python runtime state: preinitialized

on windows, probably because the sysroot is cleared. 1d7f47b puts back the copy of the env as it's likely the easiest way to obtain a suitable environment that doesn't require tracking required Python env vars.


tests fail, won't install

===> Testing: IO::Path::ChildSecure:ver('1.001004')

# Failed test 'when we die, error message tells us which Rakudo version needed'
# at t/01-operation.t line 116
# Looks like you failed 1 test of 12
===> Testing [FAIL]: IO::Path::ChildSecure:ver('1.001004')
Aborting due to test failure: IO::Path::ChildSecure:ver('1.001004') (use --force-test to override)

my environment:
uname -a
Linux ip-172-31-0-30 4.4.0-1031-aws #40-Ubuntu SMP Thu Aug 10 11:29:58 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

zef:
CONFIGURATION /home/brad/.rakudobrew/moar-2017.08/install/share/perl6/site/resources/6990DE8AD9FAF42BDD02C12CD44E608466701F18.json

rakudo/perl6:
perl6 --version
This is Rakudo version 2017.08 built on MoarVM version 2017.08.1
implementing Perl 6.c.

Thanks. Fixed in https://github.com/zoffixznet/perl6-IO-Path-ChildSecure/commit/a26e35f89135be439bf92494c8c9d350eb03e378


(PUP-10376) specify the full path for the schtask

Because this test was renabled in CI, tests are failing on 2008r2
because the task scheduler cannot find puppet in its PATH.
This commit  changes the test to explicitly specify the
full path for the scheduled task.

Tested with:
bundle exec rake ci:test:aio SERVER_VERSION=6.9.2 SHA=525b88bc94cd2154a863c9d80e46981035f39d60 TESTS=tests/windows/PUP-9719_windows_system_first_pa_run.rb TEST_TARGET=windows2019-64a-windows2008r2-64a OPTIONS='--preserve-hosts=always'

tests/windows/PUP-9719_windows_system_first_pa_run.rb passed in 54.39 seconds
      Test Suite: tests @ 2020-04-03 12:59:04 +0300

      - Host Configuration Summary -

              - Test Case Summary for suite 'tests' -
       Total Suite Time: 54.39 seconds
      Average Test Time: 54.39 seconds
              Attempted: 1
                 Passed: 1
                 Failed: 0
                Errored: 0
                Skipped: 0
                Pending: 0
                  Total: 1

      - Specific Test Case Status -


handle new jobs in new tokio tasks

coverage: 67.644% (-0.1%) from 67.77%
when pulling 8a19acd947b4880020620441289c9aaf5999db20 on handle_jobs_as_tasks
into 5922af60337e5672a82f3215c7cf6938652070f5 on main.


add solution 019 by sasa150

looks good!

looks good, this problem is tricky because of the dumb node.

Dum

good


Move hotmic to metrics.

This is a WIP to move hotmic to its new home as metrics.  We're also taking some time to flesh out more of the metrics-core support.
Open issue(s):

[ ] high tail latencies for sends, presumably due to histogram changes

@tobz we prob also want to move that benchmark to be a real one based on like criterion?


CalAcademy: add Human-centered design link

CalAcademy lists featured training. These are links descriptions on the Innovation Hub. We recently added a human-centered design course to the Hub.
This issue is to add a link to CalAcademy to the human-centered design course.

Update launched.


Camera Not ready

when i start camera for scanning ,camera gets started and when i exit from Pdf417ScanActivity it shows error "camera not ready.." when re selecting camera for scanning.

Hi
Could you please send us logcat with details?
Thanks!
Sasa
On Tue, Jan 6, 2015, 10:13 Shivaji-Netwin<EMAIL_ADDRESS>wrote:

when i start for scan camera is started and when i exit from
Pdf417ScanActivity it shows error "camera not ready.." dialog.
—
Reply to this email directly or view it on GitHub
https://github.com/PDF417/pdf417-android/issues/6.

We can't help without more info.


Escrow and debonding balances show 0

Hi,
Currently the API returns 0 for debonding/escrow even when there are indeed addescrow/reclaimescrow transactions :

Any idea what could be the reason ? I'm planning on possibly building a wallet and using this backend but haven't looked into the code just yet
Thanks

This is a temporary issue which we are aware of and will fix soon. Thank you for reaching out


Integrate the stellar-wallets-kit package

The stellar-wallets-kit package can abstract the work of integrating various Stellar wallets into an application. We should provide users the option to sign up and/or sign in with a wallet, using this package.

Please can I be assigned to this issue @ElliotFriend

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello I'll like to be assigned to work on this.
I'm a software Dev with over four years experience and have worked on a couple of projects here. Here's a link to my profile https://app.onlydust.com/u/raizo07

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a blockchain developer . please i will like to work on this issue
How I plan on tackling this issue
To approach this problem i will do the following :
1.Integrate stellar-wallets-kit Install and import the package into your application.
2. Create Sign Up/Sign In Function: Implement functions that use the package to handle wallet-based authentication for users.
3.UI Implementation: Design and add UI components for users to select their wallet and initiate the sign-up/sign-in process.
4. Test: Ensure that users can successfully sign up and sign in using their wallets without errors.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have experience in integrating blockchain technologies and wallet functionalities into applications. My knowledge of the Stellar ecosystem, combined with familiarity in working with wallet integration packages like stellar-wallets-kit, allows me to efficiently implement user sign-up and sign-in processes using various Stellar wallets.
How I plan on tackling this issue
Review the stellar-wallets-kit functionalities.
Design the UI for sign-up/sign-in.
Integrate wallet authentication methods.
Provide user feedback during the process.
Test across different wallets for functionality.
Document the implementation for clarity.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have experience on full stack development building an EVM explorer and indexer: https://github.com/walnuthq/op-scan
How I plan on tackling this issue
I will make sure to integrate this package in the project to allow any wallet connection.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello @ElliotFriend I am Joseph I am a Software developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchimebuka. This is my first time to contribute to this repo ill appreciate the opportunity to contribute.
How I plan on tackling this issue
To fix this, I will integrate the stellar-wallets-kit package into the application. This will abstract the process of handling various Stellar wallets. I'll then update the authentication flow to provide users with the option to sign up or sign in using their wallets, leveraging the package’s built-in functions for wallet management and authentication. Finally, I will test the integration to ensure users can seamlessly connect and authenticate with their Stellar wallets


chore(*) release 3.4.0

Summary
Changes local openssl_hmac = require "openssl.hmac" to
local openssl_hmac = require "resty.openssl.hmac".

Could we hold so we include #33? Thanks!

@bungle I just rebased your branch onto master to include #33.

Rebased once again to also include #34


"Specilized" menu option is a dead link

https://docs.ghielectronics.com/software/tinyclr/tutorials/specialized.html - returns 404.

Link works correctly now


sg2042: Documentation for SCP firmware (fip.bin) for SG2042?

The fip.bin is mentioned as the "SCP Firmware" for the SG2042:

https://github.com/sophgo/sophgo-doc/blob/e7f27be/SG2042/HowTo/bootflow.rst
https://github.com/sophgo/sophgo-doc/blob/215d2e6/SG2042/TRM/source/system.rst#bootrom

I see that the fip.bin is available here:
https://github.com/sophgo/bootloader-riscv/tree/64369b1/firmware
But I cannot find information about how fip.bin is generated or where it comes from.
Is the source for the firmware available?
Is there any information about how to re-implement a new custom fip.bin?

@silvanshade I think the milkv folks are downstream of sophgo and their pioneer board is a custom implementation that uses the sg2042 chip.  We need to ask milkv to provide the board specific details to initialise their board. I have asked them to provide or upstream their source for bootloader-arm64 here that compiles a fip.bin.

FWIW I also created an issue here to get developers' attention.


aix: Add ahafs autoconf detection and README notes.

The libuv filesystem events API on AIX requires the non-default IBM
bos.ahafs package to be installed.  The library should still compile
and work on systems without this package.  This patch adds proper
detection to configure.ac and makes the API return -ENOSYS at
runtime if the system does not support it.

LGTM
/cc @mhdawson?

@gireeshpunathil can you take look and comment.

@saghul I made the else cases match the Solaris behavior and updated the notes.

@apaprocki great! LGTM.

Thanks Andrew! Landed in bb2632b.

I see the change is already landed in, but providing my concurrence as well - the changes look good to me. Thanks!

Thanks! :-)


chore(main): release 1.2.1

:robot: I have created a release beep boop
1.2.1 (2023-10-12)
Bug Fixes

simplified the bin name (388f763)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/A7mooz/ts-gen/releases/tag/v1.2.1 :sunflower:


set :scm, :svn gives wrong deprecation warning advise

$ cap -v
Capistrano Version: 3.10.1 (Rake Version: 12.3.0)
I had in my Capfile:
set :scm, :svn
which resulted in in a deprecation warning (when run with --trace):
From reading the documentation,
I believe that Subversion is now again supported out of the box.
So this should not give warnings.
I actually got different deprecation warnings.
One of them is really wrong (but it must still be there somewhere in the sources)
   install_plugin Capistrano::SCM::Svnset :branch,svn info --show-item relative-url.chomp.sub(/^\^\//, '')
[Deprecation Notice] `set :scm, :svn` is deprecated.
To ensure your project is compatible with future versions of Capistrano,
remove the :scm setting and instead add these lines to your Capfile after
`require "capistrano/deploy"`:

    require "capistrano/scm/svn"
    install_plugin Capistrano::SCM::Svn

However using that advise in my Capfile results in:
NoMethodError: undefined method `Svnset' for Capistrano::SCM:Class
config/deploy.rb:9:in `<top (required)>'
/opt/local/lib/ruby2.5/gems/2.5.0/gems/capistrano-3.10.1/lib/capistrano/setup.rb:27:in `load'

Hi, thanks for the report.
I think the formatting of your issue may have gotten jumbled, because I am having a hard time figuring out exactly what deprecation message you are seeing.
This message is exactly what I would expect you to see, and the instructions it gives are correct:
[Deprecation Notice] `set :scm, :svn` is deprecated.
To ensure your project is compatible with future versions of Capistrano,
remove the :scm setting and instead add these lines to your Capfile after
`require "capistrano/deploy"`:

    require "capistrano/scm/svn"
    install_plugin Capistrano::SCM::Svn

However you also mention seeing (a different?) message that is "really wrong". Could you elaborate on that, please? Also include your deploy.rb if possible, as I suspect that may be part of the problem. Thanks!
Also, to clarify: svn is and has always been supported out of the box. Is there a part of the documentation that suggests otherwise? We can fix it.


Use vector icons for nearby-map markers #621

As described in the issue #621, replacing pngs like this:

With this svg:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="96px" height="96px" viewBox="0 0 960 960" preserveAspectRatio="xMidYMid meet">
<g id="layer1" fill="#000000" stroke="none">
 <path d="M407 801 c-187 -237 -249 -432 -181 -569 50 -101 135 -152 254 -152 119 0 204 51 254 152 54 109 28 253 -79 424 -56 90 -161 224 -175 224 -6 0 -38 -36 -73 -79z m138 -376 c19 -18 25 -35 25 -65 0 -56 -34 -90 -90 -90 -56 0 -90 34 -90 90 0 30 6 47 25 65 18 19 35 25 65 25 30 0 47 -6 65 -25z"/>
 </g>

</svg>

Drawer before the change (Nexus 5x)
Drawer after the change  (Nexus 5x)

Codecov Report

Merging #775 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #775   +/-   ##
=====================================
  Coverage     6.8%   6.8%
=====================================
  Files          94     94
  Lines        5073   5073
  Branches      460    460
=====================================
  Hits          345    345
  Misses       4700   4700
  Partials       28     28

Continue to review full report at Codecov.

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

Is it required for SVG graphics on Android to be stored in this kind of XML format? A real SVG would have the advantage that non-coders can easily edit the vectors. But overall I approve this change.

Sadly, Android doesn't support SVG directly.  You have to import the file using the Vector Asset Studio.  The "place" icon is one of the standard material design icons from Google (see https://material.io/icons/#ic_place) so I don't think there's a need to store an SVG in the git repo.

@psh I think you are confused. Using versions of Support Library higher than 23.2 allows you to use svg in Android. In fact, the app is already using svg for some of its icons.
True, Google offers a place icon svg we could use instead of the one I put into the PR. This means it would probably be better to put that svg into the app; but the svg (even if it comes from Google) has to be stored in the repo because it is not part of Android OS.
I will replace my svg code for the one provided by Google. If you know about a way to avoid adding the svg to the repo, could you please provide an example?


RedHat ojdk 17 exclusions

We are removing ECCurves on our version.
I'm not sure about proper exclusion syntax, pls feel free to point me to some source if exists. I guess it from the existing exclusions around.

@RadekCap can you sign the ECA?

Details on ECA: https://adoptium.net/docs/eca-sign-off/

Yes, I have signed an older version that required v3. I did it on Friday and re-ran the check. It failed again.
I have double-checked now and in my Eclipse Foundation I can see the following:
... The Eclipse Contributor Agreement 3.1.0 that you signed is valid for a period of three years from date of signing and is set to expire on 2026-02-23.  ....

I believe the ECA validation failure is related to the fact that it sees an email associated with this PR that is not the same as the email in the Eclipse profile you have set up and signed the agreement under:


GPU - unable minimize loss / CPU - behaves normal

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
2.13.0
Custom code
Yes
OS platform and distribution
OSX 12.4
Mobile device
No response
Python version
3.11.4
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
With all other factors the same, GPU does not minimize loss and CPU does.

Standalone code to reproduce the issue
link to ipynb: https://storage.googleapis.com/codyfalkosky/TensorFlowIssue/strange%20M1%20GPU%20Behavior.ipynb

Relevant log output
No response

@codyfalkosky Thank you for reporting the issue!
The  provided link for the code is not so could you please provide a gist or code snippet to replicate the issue?
Thank you!

#!/usr/bin/env python
coding: utf-8
import numpy as np
import matplotlib.pyplot as plt
import tensorflow as tf
#########
comment and uncomment the following line out after resetting the kernel to see different CPU/GPU behavior
tf.config.set_visible_devices([], 'GPU')
def run_test():
# Data
# data for model training
# a simple quadratic equation
x = np.linspace(-10, 10, 10).reshape((-1, 1))
y = 4*x**2 + 7

# model
model = tf.keras.models.Sequential([
    tf.keras.layers.Dense(16, activation='relu', input_shape=(1,)),
    tf.keras.layers.Dense(16, activation='relu'),
    tf.keras.layers.Dense(16, activation='relu'),
    tf.keras.layers.Dense(1)
])

# training objects
opt = tf.keras.optimizers.legacy.Adam(0.001)
los = tf.keras.losses.MeanSquaredError()
met = tf.keras.metrics.MeanAbsoluteError()

# compile
model.compile(optimizer=opt, loss=los, metrics=[met])

# train
x_len = len(x)
history = model.fit(x, y, epochs=5000, batch_size=x_len, verbose=0)

# predict
y_pred = model.predict(x, verbose=0)

# plot
plt.figure(figsize=(10,4))

# Model Output Graph
plt.subplot(1, 2, 1)
plt.plot(x, y, label='Actual Data')
plt.plot(x, y_pred, label='Model Output')
plt.title('Model Output vs. Actual')
plt.xlabel('x')
plt.ylabel('y')
plt.legend()

# Loss History Graph
plt.subplot(1, 2, 2)
plt.plot(history.history['loss'])
plt.xlabel('Epochs')
plt.ylabel('MSE Loss')
plt.title('Model MSE Loss History')

plt.suptitle('Mac M1 CPU Behavior')
for device in tf.config.get_visible_devices():
    if device.device_type == 'GPU':
        plt.suptitle('Mac M1 GPU Behavior')
        break

plt.subplots_adjust(wspace=.3)
plt.show()

run_test()

@codyfalkosky I tried to replicate the issue so could you please have a look at the gist and let me know if I am missing something?
Thank you!

link to corrected code:https://colab.research.google.com/drive/1gWu5QNv5lLdPRMzry4ISTOh6_TU0uwFW
This error is only when processing on a Mac M1 Max, so running in a colab will not duplicate the issue, as it is hardware related and must be run on an M1 Max MacBook Pro to duplicate the issue.

here is a repaired link to the original file if that is helpful: https://storage.googleapis.com/codyfalkosky/TensorFlowIssue/strange%20M1%20GPU%20Behavior.ipynb

@codyfalkosky ,
Could you please submit the exact link. Above links are not working. Thank you!

link:
https://storage.googleapis.com/codyfalkosky/TensorFlowIssue/strange M1 GPU Behavior.ipynb
Thank you,
Cody
On Thu, Oct 12, 2023 at 2:04 AM Surya @.***> wrote:

@codyfalkosky https://github.com/codyfalkosky ,
Could you please submit the exact link. Above links are not working. Thank
you!
—
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/61772#issuecomment-1759219981,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7EPYT4CV7IIZ3KWLUJSD5DX66XCTANCNFSM6AAAAAA4H4QVUY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @codyfalkosky ,
Apologies for the delay. I have tested the same code with TF2.15v and its working as intended.Please refer to attached snapshot below.

Could you please verify with TF2.15v and let us know if issue resolved for you also. Thanks!


glog-0.3.5 getting logging.h not found in iOS

When I tried to run the app from Xcode(10.1) then getting the following error.
logging.h not found.
It's working fine while running an app in Android.
  react: 16.8.3 => 16.8.3
  react-native: 0.59.8 => 0.59.8
  Node: 8.11.4
  Yarn: 1.16.0
  Xcode: 10.1

I have solved this problem because the downloaded glog and double-conversion are corrupted, delete the package under ~/.rncache, and then download the following files into this directory.

https://github.com/google/double-conversion/releases
https://github.com/google/glog/releases

Then recompile, Good luck!

The advice above is only for versions of RN prior to 58, you can also try removing: /users/youruserhere/Library/Caches/com.facebook.ReactNativeBuild or even better, just clearing node_modules and reinstalling. Feel free to reopen this issue if you still have trouble. The issue is indeed usually because of a corrupt install.

I have a similar issue folly-2<IP_ADDRESS>/folly/detail/RangeCommon.h:22:10: 'glog/logging.h' file not found
      react: ^16.8.6 => 16.8.6
      react-native: 0.59.9 => 0.59.9
    npmGlobalPackages:
      react-native-cli: 2.0.1

working fine in android but not in iOS

working well when on react-native: 0.55 but I need an update to 64Bit

what version should I start with and it will build correctly?

I have the same issue when running react-native run-ios.
This is my react-native info output.
info
  React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
      Memory: 2.04 GB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
      Yarn: 1.17.3 - /usr/local/Cellar/yvm/3.5.0/shim/yarn
      npm: 6.10.0 - ~/.nvm/versions/node/v10.15.3/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
      Android SDK:
        API Levels: 23, 24, 27, 28
        Build Tools: 27.0.3, 28.0.3
        System Images: android-23 | Google APIs ARM EABI v7a, android-23 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 3.3 AI-182.5<IP_ADDRESS>14842
      Xcode: 10.3/10G8 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: 0.59.5 => 0.59.5
    npmGlobalPackages:
      create-react-native-app: 2.0.2
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

I am blocked for many hours now. Can anyone help? Thank you very much in advance.

If xcode-select -p prints a path that contains spaces, I get a very similar problem. Check where Xcode.app and remove any space from its folder path.


Support for MySQL 8.0

I am using await on CI to wait for MySQL to be ready before starting the tests run.
Now trying to upgrade my app to support MySQL 8.0
I wonder if anything easy can be done for await to work with MySQL 8?

[2020-07-06T07:32:06Z] Waiting for mysql
--
  | [2020-07-06T07:32:06Z] await "mysql://root:root@db:3306/main"
  | [2020-07-06T07:33:06Z] 2020/07/06 07:33:06 Resource unavailable: this authentication plugin is not supported
  | [2020-07-06T07:33:06Z] 2020/07/06 07:33:06 Timeout exceeded
  | [2020-07-06T07:33:06Z] rake aborted!
  | [2020-07-06T07:33:06Z] Command failed with status (1): [await "mysql://root:root@db:3306/main"...]
  | [2020-07-06T07:33:06Z] /app/CI.rake:16:in `block (2 levels) in <top (required)>'

The solution here could to upgrade the MySQL Go driver to 1.4.0+ https://github.com/go-sql-driver/mysql/releases/tag/v1.4.0

interesting, but the lock I am seeing in https://github.com/betalo-sweden/await/blame/master/Gopkg.toml
seems to already be after 1.4.0
https://github.com/go-sql-driver/mysql/commit/bc14601d1bd56421dd60f561e6052c9ed77f9daf


Weather website using Next JS

WebMasterLog Repository (Proposing new issue)
:red_circle: Project Title : Weather website
:red_circle: Aim : Build a weather application using Next.js that fetches weather data from an API and displays it to the user.
:red_circle: Tech Stack Used : Next.js, React, API Integration
:red_circle: Category :  Next-JS

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be all the main components.

Cover image of the application, if project will be deployed in future, with the name of the folder in Kebab-Case (hypen-separated).
Main files in formatted state so that code will be readable.
Other Images - In seprate folder named Images used to form the application.

Inside the Project folder, the README.md file must be filled up properly, with proper visualizations and descriptions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Bishal Karmakar
https://github.com/Bishal-35
I want to work on it under JWoC'24

Pulkit Gupta
https://github.com/pulkit1417
Please assign me this issue I want to work on it under GSSOC'24.

@pulkit1417 Assigned to you. Follow the contributing guidelines carefully.


Adding names of source layer "place" makes my map go blank

I'm relatively new to the Maputnik-Editor and therefore not sure if this is a bug or just something I haven't figured out yet but I've followed the instructions of this https://youtu.be/XoDh0gEnBQo Youtube video and tried to add names of the source layer "place". Code looks something like this
{   "id": "Ortsnamen",   "type": "symbol",   "source": "openmaptiles",   "source-layer": "place",   "layout": {     "text-field": "{name}"   } }
I've also tried using code from the publicly available style "Klokantech Basic" which resulted with my map also going blank.
{   "id": "Ortsnamen",   "type": "symbol",   "source": "openmaptiles",   "source-layer": "place",   "maxzoom": 16,   "filter": [     "all",     [       "==",       "$type",       "Point"     ],     [       "==",       "class",       "city"     ]   ],   "layout": {     "text-field": "{name:latin}\n{name:nonlatin}",     "text-font": [       "Noto Sans Regular"     ],     "text-max-width": 10,     "text-size": {       "stops": [         [           3,           12         ],         [           8,           16         ]       ]     }   },   "paint": {     "text-color": "hsl(0, 0%, 0%)",     "text-halo-color": "hsla(0, 0%, 100%, 0.75)",     "text-halo-blur": 0,     "text-halo-width": 2   } }
I've also tried to change the "text-field" to "{name}", "name" "{name:de}" and "name_de" which didn't change the outcome.
If this doesn't belong here I'm sincerely sorry. I didn't know if I would get a good answer from StackExchange.

Hey @Raytlye it looks like SSL certificate for tilehosting.com's free font's is no longer working. Hence the typefaces just aren't loading.
If you change Style settings -> Glyphs URL to https://orangemug.github.io/font-glyphs/glyphs/{fontstack}/{range}.pbf you should be able to use any of the typefaces listed in this directory https://github.com/orangemug/font-glyphs/tree/gh-pages/glyphs (including the one your currently using Noto Sans Regular)
I hope that helps, also welcome to Maputnik!

There has been no activity on this issue in a while, I'm assuming the issue is resolved. Comment if it's not and we'll reopen.

For me, only Noto fonts worked from this link https://github.com/orangemug/font-glyphs/tree/gh-pages/glyphs


Fix css and aria

Changed visually-hidden to visuallyhidden to be inline with recent changes to assets-frontend. Added aria-hidden attributes to the toggle link, as only the table is displayed to visually impaired users.

Can someone take a look at this please?

Really sorry @creynolds86, this looks good.

@bradleywright No problem :)


User preference to automatically open the content warning (self-label) dialog when attaching media

Describe the Feature
TL;DR: Add a user preference checkbox that makes the content warning (self-label) modal dialog open automatically when media is added in the composer.
Motivation
Content creators and artists who often post adult or graphic content complain that they tend to forget to set labels before publishing their work. Because self-labels can't be applied after the post was published, the only way is to wait on moderation services to catch that mistake, adding extra load on the shoulders of the moderation team.
After discussing with the relevant users, they've expressed their desire to have a more aggressive reminder that could be enabled in the user preferences.
Proposed solution
I think the best way to address this is to make self-labeling part of the user flow when composing a post with media. I believe the best way to do that is to open the label selection dialog as soon as media is attached. Because this is opt-in, it shouldn't be annoying, especially for users who post a lot of media that needs self-labelling.
Attachments
https://bsky.app/profile/nasso.dev/post/3lbxtjqkdvc2i
https://github.com/user-attachments/assets/f1250f41-1cd3-427f-82c2-279543d7ca8e
Describe Alternatives

Show the dialog when clicking "Post". The dialog would need a "Cancel" button though, to go back to the composer. It's unclear whether "Cancel" would keep the label selection though.
Show a confirmation dialog when hitting "Post" if the post has media attached without any label.
Show a warning in the composer when the post has media attached without a label. This would be similar to the existing warning for missing ALT text, but without enforcing labels to be added. This is probably less effective.
Same as (3) but add a "safe" option in the label selection dialog form, and enforce it to be explicitly selected. This is Confusing™ and Weird™.

Additional Context
Related: https://github.com/bluesky-social/social-app/issues/5948, https://github.com/bluesky-social/social-app/issues/5628

Copying over from #5628
Just being able to set a default that I can override would be a large usability improvement, and from my experience on other social networks, NSFW artists would use the feature.
If I could set a default label, it would make posting on this network a lot less stressful, because if I post something SFW and accidentally forget to remove the label - oops, but no big deal. If I post something NSFW and forget to add the label, I have to wait for auto-moderation to catch it (if it even does), and in the meantime all of my followers get spammed with unlabeled porn. That's assuming I even notice the mistake.
In the meantime, because tensions on Bluesky are relatively high right now about NSFW art and labeling, I'm much more likely to get added to a bunch of "doesn't label their posts" blocklists if I ever make that mistake. >w<
Basically, this is a foot-gun waiting to happen. A default label that I can override or a more aggressive upload flow that I can enable doesn't fix all of the problems, but it fixes a lot of them without adding a lot of complexity. Nothing needs to be added to the protocol, it can be a purely clientside feature (although it would be nice to have the setting sync). It would reduce my stress and make the network safer.


Closing buffered stream in s3

Description
Adding close on buffered stream in s3 async upload for early cleanup of resources.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]

Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The failing tests are due to a node stats version issue
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/20_response_filtering/Nodes Stats filtered using both includes and excludes filters}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/30_discovery/Discovery stats}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/11_indices_metrics/Metric - _all}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=cat.allocation/10_basic/Node ID}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=cat.nodes/10_basic/Test cat nodes output}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/20_response_filtering/Nodes Stats with response filtering}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/20_response_filtering/Nodes Stats filtered using both includes and excludes filters}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=cat.allocation/10_basic/Node ID}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=cat.nodes/10_basic/Test cat nodes output}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/20_response_filtering/Nodes Stats with response filtering}

I am going to put up a PR for same in some time

All the failing tests are due to https://github.com/opensearch-project/OpenSearch/pull/10712/files not merged before this . Going ahead with the merge .


fix: bug (keploy#834)

Pull Request Template
Description
dropdownItemsAfter is used to add additional dropdown items. So earlier there were 2 version items in the dropdown plus an additional item added through dropdownItemsAfter with no label.
Fixes # (keploy/keploy#834)
Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] This change requires a documentation update.

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Additional Context (Please include any Screenshots/gifs if relevant)
...
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added corresponding tests.
[ ] Any dependent changes have been merged and published in downstream modules.

Hi,
I am sorry for committing the CI fixes in the same branch. I realized it after committing my changes :(
If you want I will split this PR into two and closing this one.
Akash Kumar

@AkashKumar7902 It would be better to keep separate PRs for different issues.


CASMSEC-383: Opa-gatekeeper namespace clean-up in the upgrade

Summary and Scope
Remove, Namespace, Custerroles and Rolebindings related to opa gatekeeper
Testing
ncn-m001:/tmp/pradeep/jan21 # ./gatekeeper.sh
Clusterroles related to Gatekeeper are present in the system.
gatekeeper-manager-role
Deleted the cluster role gatekeeper-manager-role successfully
gatekeeper-policy-manager-crd-view
Deleted the cluster role gatekeeper-policy-manager-crd-view successfully
cluster_rolebindings related to Gatekeeper are present in the system.
gatekeeper-manager-rolebinding
Deleted cluster rolebindings gatekeeper-manager-rolebinding successfully
gatekeeper-system namespace is present on the system
gatekeeper-system Active 128d
gatekeeper-system namespace deleted successfully
ncn-m001:/tmp/pradeep/jan21 #
Tested on:
MUG
Test description:
The commands which remove namespace, clusterroles, rolebindings are tested separately and they are working. These commands are integrated to upgrade.sh script.

gatekeeperNamespaceRemoval.txt
Test logs


Slab metadata vs. the C++ standard

Inheritance with non-static members is not considered Standard Layout, and so
the compiler is nominally free to shuffle things around in all kinds of unusual
ways.  Instead of inheritance, rely on pointer interconvertibility with first
members of classes.
Document what's going on with static_asserts and type_traits.  The actual test
we want, std::is_pointer_interconvertible_with_class(Class::member), is not
defined until C++20 and is at least not yet in Clang.  Gate it behind the
appropriate feature test macro.

See also the conversation at https://github.com/microsoft/snmalloc/pull/267#discussion_r552456019 .  I could go either way on this being included or not, and it's certainly severable from the rest of the CHERI work, so here 'tis as a separate PR.
Asking clang its opinions of the structure layouts before and after yields no significant difference; only the names of things change:

Before:

         0 | class snmalloc::Mediumslab
         0 |   class snmalloc::Allocslab (base)
         0 |     class snmalloc::Baseslab (base)
         0 |       enum snmalloc::SlabKind kind
         8 |     struct snmalloc::RemoteAllocator * allocator
        64 |   class snmalloc::Mediumslab * next
        72 |   class snmalloc::Mediumslab * prev
        80 |   uint16_t free
        82 |   uint8_t head
        83 |   uint8_t sizeclass
        84 |   uint16_t [63] stack
           | [sizeof=256, dsize=210, align=64,
           |  nvsize=210, nvalign=64]

         0 | class snmalloc::Superslab
         0 |   class snmalloc::Allocslab (base)
         0 |     class snmalloc::Baseslab (base)
         0 |       enum snmalloc::SlabKind kind
         8 |     struct snmalloc::RemoteAllocator * allocator
        64 |   class snmalloc::Superslab * next
        72 |   class snmalloc::Superslab * prev
        80 |   class snmalloc::Mod<64, unsigned char> head
        80 |     unsigned char value
        82 |   uint16_t used
        88 |   class snmalloc::ModArray<64, class snmalloc::Metaslab> meta
        88 |     class snmalloc::Metaslab [64] array
           | [sizeof=1152, dsize=1112, align=64,
           |  nvsize=1112, nvalign=64]

After:

         0 | class snmalloc::Mediumslab
         0 |   class snmalloc::Allocslab allocslab
         0 |     class snmalloc::Baseslab base
         0 |       enum snmalloc::SlabKind kind
         8 |     struct snmalloc::RemoteAllocator * allocator
        64 |   class snmalloc::Mediumslab * next
        72 |   class snmalloc::Mediumslab * prev
        80 |   uint16_t free
        82 |   uint8_t head
        83 |   uint8_t sizeclass
        84 |   uint16_t [63] stack
           | [sizeof=256, dsize=210, align=64,
           |  nvsize=210, nvalign=64]

         0 | class snmalloc::Superslab
         0 |   class snmalloc::Allocslab allocslab
         0 |     class snmalloc::Baseslab base
         0 |       enum snmalloc::SlabKind kind
         8 |     struct snmalloc::RemoteAllocator * allocator
        64 |   class snmalloc::Superslab * next
        72 |   class snmalloc::Superslab * prev
        80 |   class snmalloc::Mod<64, unsigned char> head
        80 |     unsigned char value
        82 |   uint16_t used
        88 |   class snmalloc::ModArray<64, class snmalloc::Metaslab> meta
        88 |     class snmalloc::Metaslab [64] array
           | [sizeof=1152, dsize=1112, align=64,
           |  nvsize=1112, nvalign=64]

So I am not sure about this still.  I find it hard to believe that a compiler could layout out the classes differently and not break everything.  By Standard layout do you mean
https://en.cppreference.com/w/cpp/named_req/StandardLayoutType
as this says

All non-static data members have the same access control

and

Has no non-static data members of reference type

So a lot of sensible code would be non-standard layout even without inheritance. Is this the thing you are worrying about.

So I am not sure about this still.  I find it hard to believe that a compiler could layout out the classes differently and not break everything.  By Standard layout do you mean
https://en.cppreference.com/w/cpp/named_req/StandardLayoutType
as this says

All non-static data members have the same access control

and

Has no non-static data members of reference type

So a lot of sensible code would be non-standard layout even without inheritance. Is this the thing you are worrying about.

Yes, that's what I mean.  I, too, am quite surprised by the degrees of freedom the C++ standard permits here; presumably early C++ compilers did many things and the standards committee wants all of them to still be within spec.

Yes, that's what I mean.  I, too, am quite surprised by the degrees of freedom the C++ standard permits here; presumably early C++ compilers did many things and the standards committee wants all of them to still be within spec.


[BUG]: Observable not added to table in output from edit model

Describe the bug
Use the prompt to create an observable in edit model. Look at the resulting model page: no observable in the table.
Screenshots

Issue already fixed, closing issue


Avoid redundant fromObject(value) calls in addObject methods

Motivation:
In the addObject and addObjectAndNotify methods, the fromObject(value) function is being called redundantly. This results in unnecessary computations, which could affect performance and reduce code readability. By removing the redundant calls to fromObject(value), we can improve the efficiency and clarity of the code.
Modifications:

Modified the addObject method to pass the original value directly to the addObjectAndNotify method without calling fromObject(value).
Updated the addObjectAndNotify method to perform the fromObject(value) call once, ensuring it is not called multiple times for the same value.

Result:

Improved code readability and maintainability.
Eliminated the redundant fromObject(value) calls, enhancing performance.

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


Navigation Menu problem with Webassembly Net 8

Side menu not showing.
When I inspect in MainLayout.razor , and go to definition of SidebarDataProviderResult, I found this info
Resolve: 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Found single assembly: 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
WARN: Version mismatch. Expected: '<IP_ADDRESS>', Got: '<IP_ADDRESS>'
Load from: 'C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.6\ref\net8.0\System.Runtime.dll'

please help...

@Judhianto Thank you for using BlazorBootstrap. Please provide the below information
.NET Version: [e.g. .NET 6, .NET 7, .NET 8]
BlazorBootstrap: [e.g. 2.0.0, 2.1.0, 2.2.0]
Blazor WebAssembly / Server: [e.g. WebAssembly, Server]
Blazor Interactive Render Mode: [e.g. Auto, Server, WebAssembly, None]
Blazor Interactivity Location: [e.g. Global, Per page/component]
Sample code / GitHub repo with minimal steps to reproduce the issue:

@Judhianto Feel free to create a new issue with a sample GitHub repository containing minimal steps to reproduce the issue. Closing for now.


fix(Project): Specify public access scope on package publication

Signed-off-by: James Hart<EMAIL_ADDRESS>PR summary
Attempt to fix E402 issue on publishing the module to npm
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[x] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


PostgreSQL Adapter

Hello,
are you planning to support PostgreSQL?
If not it seems like I would only need to implement another Adapter class beside the MySqlAdapter.php am I right or is there some other "mysql-only" logic in your script?
Best Regards

Hello,
MySQL is the only supported database system.
To be honest, PostgreSQL is not planned for the future.

@LudwigBr have you done any further in this?

@guilhermeaiolfi Sorry for my late answer. I have not pushed this further and instead went for a new implementation. It fit my needs back then but was not intended for public use. In case you want to take a look anyway: https://github.com/LudwigBr/postgres-migration