Update README.md

Coverage remained the same at 93.778% when pulling aa19a52b7590b8fdffa3918a9a8557a77dfc9614 on darlintonprauchner:master into d53dc9a22806f818dcce73e97db09777fd735a40 on SSENSE:master.

Coverage remained the same at 93.778% when pulling aa19a52b7590b8fdffa3918a9a8557a77dfc9614 on darlintonprauchner:master into d53dc9a22806f818dcce73e97db09777fd735a40 on SSENSE:master.


TODO: Change output dir structure

Should conform to pattern:

Output

Logs
Benchmarks
[Snakefile module]

[rule or rule group]

Fixed in #42


Google Cloud Storage: Getting metadata for a blob that has an entry with / in the key throws an exception

Environment details

Google Cloud Storage
OS type and version: Debian Stable 11.1
Java version: JDK 17
storage version(s): google-cloud-storage 1.113.9

Steps to reproduce

Upload a file to GCS
Add a metadata entry with / in the key, such as v1.namespace/width: 2560
Attempt to load the metadata via the GCS client resuls in

stream error: stream ID 5; PROTOCOL_ERROR; invalid header field name \"x-goog-meta-v1.namespace/width\"

even though it loads fine via gsutil ls -L
Stack trace
stream error: stream ID 5; PROTOCOL_ERROR; invalid header field name \"x-goog-meta-v1.namespace/width\"

Also, according to the docs any ASCII-character should be valid in the keys:

All fields and their values must consist only of ASCII characters, with the exception of values for x-goog-meta- fields, which may contain arbitrary Unicode values. Note that when setting metadata using the XML API, which sends custom metadata as HTTP headers, Unicode characters are encoded using UTF-8, then url-encoded to ASCII.

Hi @frekw Unfortunately I'm not able to reproduce the error you're seeing with the following code:
  @Test
  void createAndGetObjectWithSlashInMetadataKey() {
    String blobName = "someblob";
    Storage s = StorageOptions.getDefaultInstance().getService();
    BlobId blobId = BlobId.of(myBucketName, blobName);
    BlobInfo blobInfo = BlobInfo.newBuilder(blobId)
        .setMetadata(ImmutableMap.of(
            "v1.namespace/width", "2560"
        ))
        .build();
    Blob createResult = s.create(blobInfo, "Hello World!".getBytes(StandardCharsets.UTF_8));
    Blob getResult = s.get(blobId);
    assertEquals(createResult, getResult);
  }

In fact you can see the value present in the response body if you expand the following details.
Response
I've trimmed out the acls and owner, as they're just noise in this circumstance.
HTTP/1.1 200 OK
Content-Length: 3477
Content-Type: application/json; charset=UTF-8
Date: Mon, 08 Nov 2021 20:43:27 GMT
ETag: CPmcjdzQifQCEAE=
Vary: X-Origin
Vary: Origin
Expires: Mon, 08 Nov 2021 20:43:27 GMT

{
  "kind": "storage#object",
  "id": "my-bucket/someblob/1636404207767161",
  "selfLink": "https://www.googleapis.com/storage/v1/b/my-bucket/o/someblob",
  "mediaLink": "https://storage.googleapis.com/download/storage/v1/b/my-bucket/o/someblob?generation=1636404207767161&alt=media",
  "name": "someblob",
  "bucket": "my-bucket",
  "generation": "1636404207767161",
  "metageneration": "1",
  "contentType": "application/octet-stream",
  "storageClass": "STANDARD",
  "size": "12",
  "md5Hash": "7Qdih1MuhjZehB6Sv8UNjA==",
  "crc32c": "/mzx3A==",
  "etag": "CPmcjdzQifQCEAE=",
  "timeCreated": "2021-11-08T20:43:27.770Z",
  "updated": "2021-11-08T20:43:27.770Z",
  "timeStorageClassUpdated": "2021-11-08T20:43:27.770Z",
  "metadata": {
    "v1.namespace/width": "2560"
  }
}

Are there any other details missing compared with your code?

Sorry, my bad, this was actually a RPC error that was being bubbled up. It's actually the Go client that's generating the error. I'll try to reproduce it and file an issue there. Super sorry about the noise!

Thanks for confirming, good luck in your investigation with your Go code. If you do still run into issues the best place to open an issue would be over at the googleapis/google-cloud-go repo.


fix: ignore buf without file path

Fix for completions errors on buffers without an actual file on the filesystem
Fixes #262

 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.


Preloading scenes slows down editor

Windows 8 Godot 3.0 stable
When i used preload to load in my scenes to my main scene (i had 6 preload scenes) every time i went to edit my main scene script it would lag. I manage to fix my problem by changing the preload to load but i dont think i should have been lagging in the editor if my scenes were set to preload. Maybe preload is trying to load the scene while in the editor.

So it is trying to load my preload scenes my script, note that the scene is not playing I'm just in the script editor, doesn't that seem unnecessary. I mean there no reason to load the scene while in script editor.

@PotatoNato Can you (or anyone else) still reproduce this bug in Godot 3.2.1 or 3.2.2beta4?

Closing due to lack of response. Please comment if you can still reproduce this bug.
PS: If no minimal reproduction project was included in the original bug report, please upload one as well to ease troubleshooting.


[zh] sync pods-and-endpoint-termination-flow.md

Add zh text to this page:
content/zh-cn/docs/tutorials/services/pods-and-endpoint-termination-flow.md

See preview please.

Why is the CI always failed....

/approve


Correct unimplemented exercises link in CONTRIBUTING.md

The description for the link says:

to get a list of all the exercises that can be ported to a track
for example here is the list of exercises that have not yet been implemented for the Ruby track

This clearly indicates that we want to go to the url which shows list of exercises that are present correctly at relative path /todo not /contribute. In fact, /contribute link redirects to /todo link for the list of exercises still unimplemented.
So, we can avoid this always needed redirect for ease of use.

Thanks :smile: @ErikSchierboom @stkent


Create labs measure for nitrofurantoin, per Quality Premium scheme

This would probably be a labs measure, initially
See discussion in #382

Here's the mockup from the linked conversation:


added windows 11 enterprise , server 2019

as per user report #6068, so i added windows 11 enterprise and windows server 2019

@RAJU2529 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


fix(versions): update Activiti/activiti-dependencies versions into develop

UpdateBot pushed maven dependency: org.activiti:activiti-core-dependencies to: 7.1.71

UpdateBot commands:
updatebot push-version --kind maven org.activiti:activiti-core-dependencies 7.1.71 --merge false


Collector pathfinding

Some ways that Collectors could be improved in relation to their pathfinding:

Every worker loop (only called at the worker's speed vs every frame like the normal update loop), check if the target tile (that the Collector is headed toward) still has items to pick up.

Shouldn't be very processing expensive at all since it's just checking a single tile one or two times a second.

Every worker loop, check if any other Collectors are going to the same place. One of said Collectors should cancel their job.

Not sure how's best to decide which one cancels.

All but the closest to the target cancels.
Tie-breaker: Whichever worker has the highest digit at the end of their ID (e.g. tiles63525354234 vs tiles6534634535: the second one would win).

These improvements could possibly help out other worker types as well but particularly Collectors.

This should also resolve #4


[bug] REST getutxos is not returning the same data as RPC

While reworking the documentation for the REST interface that I spotted to be not ported with #2770, I found that calling the endpoint /rest/getutxos does not return the same results as calling the gettxout RPC endpoint. In fact, it looks like there is a bug with it.
Bug Report
Current behavior:
when querying the REST server for a non-mempool output, results are different than when using gettxout
$ dogecoin-cli gettxout 7694b4527f00024759a8f614deb0824072c5badcdadfd316f7f425d5eb8199ff 0
{
  "bestblock": "6e8da0b9bf517a428b3fa3e072cf8d723caf0fe810c691f98eda3847b896fde9",
  "confirmations": 3754209,
  "value": 4946744.34700000,
  "scriptPubKey": {
    "asm": "OP_DUP OP_HASH160 5f0d49feb9842f4ef958d1a2f69a776ce17f2808 OP_EQUALVERIFY OP_CHECKSIG",
    "hex": "76a9145f0d49feb9842f4ef958d1a2f69a776ce17f280888ac",
    "reqSigs": 1,
    "type": "pubkeyhash",
    "addresses": [
      "DDogepartyxxxxxxxxxxxxxxxxxxw1dfzr"
    ]
  },
  "version": 1,
  "coinbase": false
}

versus
$ curl -s localhost:22555/rest/getutxos/7694b4527f00024759a8f614deb0824072c5badcdadfd316f7f425d5eb8199ff-0.json |jq
{
  "chainHeight": 4108629,
  "chaintipHash": "a47774a7df49d4949c5f9d0c9adb39f498de1bd37445c66847d053f2dffca82b",
  "bitmap": "0",
  "utxos": []
}

Expected behavior
The REST endpoint returns the same utxo as the RPC method.
Dogecoin Core version: v1.14.5 (dogecoind, linux)
Configuration: txindex and high mempool expiry (2 weeks)

@victorsk2019 Yesssssss! Thank you! Want to do the PR?

@victorsk2019 I don't mind writing the PR if you don't want to; I think Patrick wants someone else to do it so he can review it. I'll give you full credit for it if I write it though.

I have it already. Just waiting on #2860 merge

Fixed with #2909


Unable to connect to server with error message on HoloLen 2

Hello,
After completing the chapter 2 in the tutorial Connecting multiple users and deploying my app to HoloLens 2, this message was displayed on HoloLens 2 when I launched the app.
Failed to connect to server after testing each known IP.

I follow the resolution of this issue #2212. But I have still the message.

My development environment is as follows.
Unity 2019.2.17f1
Visual Studio 2019 ( Version 16.6.2 )
How can I solve it ?
Some features of my project to help you

I have MSBuild enabled because I can not disabled it : I uncheck the box and I apply the setting, then I open a second time the MRTK configurator ans the Ms build is still checked.

I do not have the following message when I play my app in Unity :

PhotonLobby.OnJoinRoom()
Current room name: RoomNNNN
Other players in room: 0
Total players in room: 1

I have errors in the unity console cause  of the class HttpUtility :

Reference rewriter: Error: type System.Web.HttpUtility doesn't exist in target framework. It is referenced from RestSharp.dll at

System.String RestSharp.Extensions.StringExtensions::HtmlDecode(System.String).
UnityEngine.Debug:LogError(Object)

@martinwilter Can you assist here?

Hi @VinsonLeDahu,
I believe you might be able to resolve this issue by removing Windows 10 SDK build 19041 from your dev environment.
To do this, launch Visual Studio Installer, click the Modify button, and then, under the Individual components tab, search for 'windows 10 sdk' and make sure only build 18362 is selected:

then click the Modify button (in the bottom right corner) to apply the changes.
Regarding your other comments:

From what you write here:

I have MSBuild enabled because I can not disabled it : I uncheck the box and I apply the setting, then I open a second time the MRTK configurator ans the Ms build is still checked.

it sounds like MS Build is not enabled. If you are able to uncheck the option, it's not enabled. If the option is greyed out and you are not able to uncheck it, it's enabled.

I do not have the following message when I play my app in Unity :

PhotonLobby.OnJoinRoom()
Current room name: RoomNNNN
Other players in room: 0
Total players in room: 1

What message do you see instead? Please provide this information if the above suggestion did not resolve the issue.

I have errors in the unity console cause of the class HttpUtility

You can ignore these errors as long as Unity displays the "Build completed with a result of 'Succeeded' in X seconds" after completing the build process.

CC @hferrone

Hi @martinwilter
Thank you for your response,
I try to modify Windows 10 SDK visual studio, but Windows 10 SDK 10.0.18362 was already the only SDK selected :

when I play my app on Unity I have no message displayed

For MSBuilt, I try to disabled it on the configurator

then I press apply and unity want to reload the scene

But when I check the configurator it is still checked.

But when I do this a second there is not the windows to reload the scene.
Futhermore, I let the "enable MSBuild for Unity" box checked and I aplly the settings, there is a loading windows and at the end of this one, there is a MSBuild tool in the Unity menu.

Hi @VinsonLeDahu,
Thanks for checking the Windows SDK build version and for providing this additional information. I'm not familiar with the 'Kit' part of your Windows SDK, but assume this might just be some location specific naming, do you know?
Regardless, let's first see if we can get Unity to connect to Photon. For that, we shouldn't need to consider MS Build or the Windows SDK.
I should have mentioned this in my previous message, but can you share screenshot of your Console, just in case something has happened to your DebugWindow object so you simply can't see the message. Something like this would be great:

__
Here are a few more things you can do to help us debug this:

Run your project in Unity with the PUN App ID: 184dd3eb-7b34-496c-a803-a4b64d4f32f3, and let me know if that makes any difference? This is the ID we are using for testing, so we know it works.

Clone our repo and check out tag multi-user-capabilities-v<IP_ADDRESS>, then run the project in Unity using the App ID mentioned above, and let me know if you are able to connect to Photon from that project?

If you are able to share your Unity project with me, preferably via GitHub, I can take a quick look and see if I spot something unusual in your project.

Run the PUN demo to see if you can connect to Photon. You can access the demos from the Unity menu Window > Photon Unity Networking > Configure Demos (build setup), then enter game mode and load the Basic Tutorial. If successful, your Unity should look similar to this:

Hi @martinwilter
First I tried to uninstall and install Windows 10 SDK again, and it was the same name.
So this is the screenshot of my console when I use your PUN appID. I have the same console with my appID :

then I try to run your project, and I get this :

Finally I did not succeed to connect with the pun demo :

Hi @VinsonLeDahu, you don't really need to build now, since PUN itself is not working, I recommend first focusing on getting PUN to work in the Unity editor.
The screenshot of our project running looks correct except that PUN isn't called at all.
Can you show me the complete log for the two errors you receive when running the demo?
Since this issue (at least the first one that needs to be resolved), is a Photon PUN issue, I also recommend reaching out to their team for support https://forum.photonengine.com.

Hi @martinwilter
I found a talk where it says to uninstall all Windows 10 SDK except build 18362. So I did it and I have no more the console message :
Failed to connect to server after testing each known IP.
And I have the correct message on the HoloLens :
PhotonLobby.OnJoinRoom()
Current room name: RoomNNNN
Other players in room: 0
Total players in room: 1

But I still have any message on the game window of unity and the pun demo does not work with the console message :

I left a message on pun forum but I think it comes from my network : it is a secure one on my PC and I access the internet through my phone on hololens side. I will be able to test the app with two HoloLens soon so I could tell you.

Hi @VinsonLeDahu, thanks for the update. Glad to hear you were able to get it working on your HoloLens 2.

I access the internet through my phone on hololens side

Maybe you can try to connect your PC to your phone's hotspot?
I came across this thread where several different solutions for similar issue are suggested: https://forum.photonengine.com/discussion/12341/connecting-to-master-server-works-in-build-but-not-editor, maybe one of them will work for you.

@VinsonLeDahu Did this help fix your issue? I'm going to close this for now, but if you have any more problems please comment them and I'll reopen!


ZET Help menu still shows -n option

It looks like the help menu still show the old config option "n" - https://github.com/openziti/ziti-tunnel-sdk-c/blob/main/programs/ziti-edge-tunnel/ziti-edge-tunnel.c

Fixed


DOCS-265 - Fix for F5 BIG-IP

Purpose of this pull request
This pull request fixes steps here:
https://help.sumologic.com/docs/integrations/security-threat-detection/f5-big-ip-ltm/#collection-setup
Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)
DOCS-265

@carlos-castillo-jask, could you (or someone else on your team) check this PR and let me know if the steps look correct?

@kimsauce, could you take another look at this PR and approve if it looks okay?


feat: add out of the box support for Splitbee Analytics

New component that adds support for Splitbee Analytics (https://splitbee.io/).
I'm not affiliated with them but I have used that in my personal websites before so figured others could benefit too.

Hi @lirantal
Thank you very much for the contribution. I made some small adjustments to it, mostly to temporarily remove it from the default config because I think it would be a good idea to specify a more generic structure in the json structure to be able to include many more analytics tools. Soon I will upload update. And if you have needed something else when using this template, please do not hesitate to write, or contribute. Thanks.

Sounds good, will do.
Thanks for landing the PR :-)


Unexpected linker warnings for tests bench OPT build on Intel

Compiling "tests bench" on an Intel host (EC2 c7i instance, running Ubuntu 24.04, with gcc 13.2.0), running in the NIX environment, yields some unexpected warnings from the linker:
INFO  > Functional Test    Compile     (native,    opt) make CROSS_PREFIX= mlkem OPT=1 AUTO=1
/nix/store/q3sm4x963a996qc3d6baw54609ryifak-binutils-2.41/bin/ld: warning: shuffle.S.o: missing .note.GNU-stack section implies executable stack
/nix/store/q3sm4x963a996qc3d6baw54609ryifak-binutils-2.41/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
/nix/store/q3sm4x963a996qc3d6baw54609ryifak-binutils-2.41/bin/ld: warning: shuffle.S.o: missing .note.GNU-stack section implies executable stack
/nix/store/q3sm4x963a996qc3d6baw54609ryifak-binutils-2.41/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
/nix/store/q3sm4x963a996qc3d6baw54609ryifak-binutils-2.41/bin/ld: warning: shuffle.S.o: missing .note.GNU-stack section implies executable stack
/nix/store/q3sm4x963a996qc3d6baw54609ryifak-binutils-2.41/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

Are these of concern?

@rod-chapman Can you check that #592 resolves this for you?

@rod-chapman Does #592 solve your issue?


Trailing slash in the demo URL breaks static files

Going to https://quest.ms.mff.cuni.cz/rel2text/tabgenie/ (with the trailing slash) loads the page, but not CSS and JS files.
Probably needs to modify the Apache rewrite rules.

Solved using Apache rewrite rules in the virtual machine. Unfortunately a straightforward solution would remove rel2text so it has to be hardcoded:
RewriteEngine On
RewriteRule ^(.+)/$ rel2text/$1 [L,R=301]


Add pypy3 to travis testcases.

Well, that was a bit more involved than I thought it would be, but there it is. Failing tests seems to be failing on their own merit.

If you really want to test py26 & py33 you have to stick the pytest version. See pytest's changelog. But take into account that both are no longer supported, see release notes 3.3 and 2.6

I do not, I was just going off of what was already there.

Hi all, on the 2.0 branch, I already added pypy3. No new features will be added to the 1.0 (master) branch, so not sure whether this is worth merging.

Ahh, that's fair. But if I might suggest, it's a good idea to have the major development reflected in master. Consider making 2.0 master and 1.0 the branch. Makes the development status a lot clearer at a glance.

Thanks for the suggestion! I made 2.0 the default in GitHub. Probably, I'll switch the branch names later on.


Trying to integrate with devise-multi_email

devise_token_auth seems to ignore the emails provided by devise-multi_email. As you can see, it seems to error out in sessions_controller#create when it doesn't find the email field. In this case, I could probably hack the resource_finder concern and hardcode the emails table in, but I'd like to do it the right way - except I don't know either package well enough to do so and I'm not sure if that'd be sufficient anyway.
If you can guide me a bit, I can probably put together a PR for this. Am I on the right track? Where should I be expecting to make these changes?

Version:

devise_token_auth: 1.1.4
devise: 4.7.2
devise-multi_email: 3.0.0

Request and response headers:
Request URL: http://localhost:3000/api/v1/auth/sign_in
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: [::1]:3000
Referrer Policy: strict-origin-when-cross-origin
Content-Length: 1477
Content-Type: text/html; charset=UTF-8
X-Request-Id: 8c652be9-3dce-44dc-a996-189979a94f0c
X-Runtime: 0.530246
Accept: /
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,ko;q=0.8,he;q=0.7
Connection: keep-alive
Content-Length: 27
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Cookie:
_session_id=834a0a4e9a7243567f916f63dba41b90
Host: localhost:3000
Origin: http://localhost:3000
Referer: http://localhost:3000/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
x-kopernio-plugin-version: 0.12.18
X-Requested-With: XMLHttpRequest
email: dfgs
password: sdgfsfd

Rails Stacktrace:
Started POST "/api/v1/auth/sign_in" for ::1 at 2020-07-20 00:25:12 -0400
Processing by DeviseTokenAuth::SessionsController#create as /
Parameters: {"email"=>"dfgs", "password"=>"[FILTERED]"}
User Load (0.8ms)  SELECT users.* FROM users WHERE (BINARY email = 'dfgs' AND provider= 'email') ORDER BY users.id ASC LIMIT 1
Completed 500 Internal Server Error in 10ms (ActiveRecord: 6.1ms | Allocations: 3496)

ActiveRecord::StatementInvalid (Mysql2::Error: Unknown column 'email' in 'where clause'):
mysql2 (0.5.3) lib/mysql2/client.rb:131:in _query' mysql2 (0.5.3) lib/mysql2/client.rb:131:in block in query'
mysql2 (0.5.3) lib/mysql2/client.rb:130:in handle_interrupt' mysql2 (0.5.3) lib/mysql2/client.rb:130:in query'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:201:in block (2 levels) in execute' activesupport (<IP_ADDRESS>) lib/active_support/dependencies/interlock.rb:48:in block in permit_concurrent_loads'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/share_lock.rb:187:in yield_shares' activesupport (<IP_ADDRESS>) lib/active_support/dependencies/interlock.rb:47:in permit_concurrent_loads'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:200:in block in execute' activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_adapter.rb:722:in block (2 levels) in log'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_adapter.rb:721:in block in log'
activesupport (<IP_ADDRESS>) lib/active_support/notifications/instrumenter.rb:24:in instrument' activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_adapter.rb:712:in log'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:199:in execute' activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/mysql/database_statements.rb:41:in execute'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:210:in execute_and_free' activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/mysql/database_statements.rb:46:in exec_query'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/database_statements.rb:489:in select' activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/database_statements.rb:70:in select_all'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/query_cache.rb:105:in block in select_all' activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/query_cache.rb:122:in block in cache_sql'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/query_cache.rb:113:in cache_sql'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/query_cache.rb:105:in select_all' activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/mysql/database_statements.rb:12:in select_all'
activerecord (<IP_ADDRESS>) lib/active_record/querying.rb:46:in find_by_sql' bullet (6.1.0) lib/bullet/active_record60.rb:19:in find_by_sql'
activerecord (<IP_ADDRESS>) lib/active_record/relation.rb:821:in block in exec_queries' activerecord (<IP_ADDRESS>) lib/active_record/relation.rb:839:in skip_query_cache_if_necessary'
activerecord (<IP_ADDRESS>) lib/active_record/relation.rb:808:in exec_queries' activerecord (<IP_ADDRESS>) lib/active_record/relation.rb:626:in load'
activerecord (<IP_ADDRESS>) lib/active_record/relation.rb:250:in records' bullet (6.1.0) lib/bullet/active_record60.rb:46:in records'
activerecord (<IP_ADDRESS>) lib/active_record/relation.rb:245:in to_ary' activerecord (<IP_ADDRESS>) lib/active_record/relation/finder_methods.rb:527:in find_nth_with_limit'
activerecord (<IP_ADDRESS>) lib/active_record/relation/finder_methods.rb:512:in find_nth' activerecord (<IP_ADDRESS>) lib/active_record/relation/finder_methods.rb:120:in first'
/Users/micah/dev/devise_token_auth/app/controllers/devise_token_auth/concerns/resource_finder.rb:27:in find_resource' /Users/micah/dev/devise_token_auth/app/controllers/devise_token_auth/sessions_controller.rb:24:in create'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/basic_implicit_render.rb:6:in send_action' actionpack (<IP_ADDRESS>) lib/abstract_controller/base.rb:195:in process_action'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/rendering.rb:30:in process_action' actionpack (<IP_ADDRESS>) lib/abstract_controller/callbacks.rb:42:in block in process_action'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:112:in block in run_callbacks' react-rails (2.6.1) lib/react/rails/controller_lifecycle.rb:31:in use_react_component_helper'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:121:in block in run_callbacks' activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:139:in run_callbacks'
actionpack (<IP_ADDRESS>) lib/abstract_controller/callbacks.rb:41:in process_action' actionpack (<IP_ADDRESS>) lib/action_controller/metal/rescue.rb:22:in process_action'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/instrumentation.rb:33:in block in process_action' activesupport (<IP_ADDRESS>) lib/active_support/notifications.rb:180:in block in instrument'
activesupport (<IP_ADDRESS>) lib/active_support/notifications/instrumenter.rb:24:in instrument' activesupport (<IP_ADDRESS>) lib/active_support/notifications.rb:180:in instrument'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/instrumentation.rb:32:in process_action' actionpack (<IP_ADDRESS>) lib/action_controller/metal/params_wrapper.rb:245:in process_action'
activerecord (<IP_ADDRESS>) lib/active_record/railties/controller_runtime.rb:27:in process_action' actionpack (<IP_ADDRESS>) lib/abstract_controller/base.rb:136:in process'
actionview (<IP_ADDRESS>) lib/action_view/rendering.rb:39:in process' actionpack (<IP_ADDRESS>) lib/action_controller/metal.rb:190:in dispatch'
actionpack (<IP_ADDRESS>) lib/action_controller/metal.rb:254:in dispatch' actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/route_set.rb:50:in dispatch'
actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/route_set.rb:33:in serve' actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/mapper.rb:18:in block in class:Constraints'
actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/mapper.rb:48:in serve' actionpack (<IP_ADDRESS>) lib/action_dispatch/journey/router.rb:49:in block in serve'
actionpack (<IP_ADDRESS>) lib/action_dispatch/journey/router.rb:32:in each' actionpack (<IP_ADDRESS>) lib/action_dispatch/journey/router.rb:32:in serve'
actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/route_set.rb:834:in call' omniauth (1.9.1) lib/omniauth/strategy.rb:192:in call!'
omniauth (1.9.1) lib/omniauth/strategy.rb:169:in call' bullet (6.1.0) lib/bullet/rack.rb:15:in call'
warden (1.2.8) lib/warden/manager.rb:36:in block in call' warden (1.2.8) lib/warden/manager.rb:34:in catch'
warden (1.2.8) lib/warden/manager.rb:34:in call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in call'
rack (2.2.3) lib/rack/etag.rb:27:in call' rack (2.2.3) lib/rack/conditional_get.rb:40:in call'
rack (2.2.3) lib/rack/head.rb:12:in call' actionpack (<IP_ADDRESS>) lib/action_dispatch/http/content_security_policy.rb:18:in call'
rack (2.2.3) lib/rack/session/abstract/id.rb:266:in context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/cookies.rb:648:in call' activerecord (<IP_ADDRESS>) lib/active_record/migration.rb:567:in call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/callbacks.rb:27:in block in call' activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:101:in run_callbacks'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/callbacks.rb:26:in call' actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/executor.rb:14:in call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in call' actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/debug_exceptions.rb:32:in call'
web-console (4.0.4) lib/web_console/middleware.rb:132:in call_app' web-console (4.0.4) lib/web_console/middleware.rb:28:in block in call'
web-console (4.0.4) lib/web_console/middleware.rb:17:in catch' web-console (4.0.4) lib/web_console/middleware.rb:17:in call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/show_exceptions.rb:33:in call' railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:37:in call_app'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:26:in block in call' activesupport (<IP_ADDRESS>) lib/active_support/tagged_logging.rb:80:in block in tagged'
activesupport (<IP_ADDRESS>) lib/active_support/tagged_logging.rb:28:in tagged' activesupport (<IP_ADDRESS>) lib/active_support/tagged_logging.rb:80:in tagged'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:26:in call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/remote_ip.rb:81:in call' actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/request_id.rb:27:in call'
rack (2.2.3) lib/rack/method_override.rb:24:in call' rack (2.2.3) lib/rack/runtime.rb:22:in call'
activesupport (<IP_ADDRESS>) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in call' actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/executor.rb:14:in call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/static.rb:126:in call' rack (2.2.3) lib/rack/sendfile.rb:110:in call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/host_authorization.rb:82:in call' webpacker (5.1.1) lib/webpacker/dev_server_proxy.rb:25:in perform_request'
rack-proxy (0.6.5) lib/rack/proxy.rb:57:in call' railties (<IP_ADDRESS>) lib/rails/engine.rb:527:in call'
puma (4.3.5) lib/puma/configuration.rb:228:in call' puma (4.3.5) lib/puma/server.rb:713:in handle_request'
puma (4.3.5) lib/puma/server.rb:472:in process_client' puma (4.3.5) lib/puma/server.rb:328:in block in run'
puma (4.3.5) lib/puma/thread_pool.rb:134:in `block in spawn_thread'

Environmental Info:

I am attempting to convert an existing application that successfully uses Devise + OmniAuth (Google OAuth2) + devise-multi_email
I'm using the config.enable_standard_devise_support = true option, but I'd be fine with jettisoning this and going token-only to render it an API-only app.
The OmniAuth implementation of Google OAuth is pretty standard.

Custom Frontend:

I'm working to implement jToker. It seems to be functioning mostly OK but I cannot authenticate.

I could probably hack the resource_finder concern and hardcode the emails table in,

Yeah, you're in the right track, probably check if that gem is present so you can do a SQL query with multiple emails. Any PRs are welcome.

Thanks! I've got that in there and Guard works, but now I'm trying to track down a create error where it is throwing:
NoMethodError (undefined method 'case_sensitive?' for nil:NilClass)
I've been banging my head against this for 2 months and I think it's getting to the email attribute and trying to save it (or add it to the transaction) but since devise-multi_email has replaced that attribute with a method, it's getting a nil. However, I'm having a heck of a time trying to find where this is happening. Any pointers/guidance would be greatly appreciated...

@MaicolBen , I've gone ahead and submitted #1455 for this and I'm really eager to hear back from you. No new tests because I wasn't sure how. My test environment has become unstable (lots of machines moving around) and I don't want to hold off until I can dig in and figure out my issues. Hopefully you can run the existing tests and merge into the current code base.

@MaicolBen , I've gone ahead and submitted #1455 for this and I'm really eager to hear back from you. No new tests because I wasn't sure how. My test environment has become unstable (lots of machines moving around) and I don't want to hold off until I can dig in and figure out my issues. Hopefully you can run the existing tests and merge into the current code base.

@MaicolBen, #1469 offers much cleaner code, but I still need help with tests. I have not used minitest or guard before and I don't know how to set up the environment to dynamically load/unload the devise-multi_email gem and its initializers fully to prep for a run.
Can you help?

I saw the PR, we shouldn't have that dependency unless a big amount of people are using it. Sorry but I changed my mind and I think the code shouldn't be in the codebase, probable we should implement in house instead of having another dependency. Anyway, I hope you made it work for you and it might be usuful for future people (if there are a lot of 👍 , we can revisit adding this to the code).

Understood. I'll maybe package up my fork that does include multi-email.
Thanks anyway!


Image quality, Wi-Fi and GPIO issues - Hi3518EV200 w/ SC2235

Thank you for an amazing project! I've successfully flashed 1 out of 4 of my TonTon TC55B-2MP cameras. The original firmware had been using the N1 protocol (I don't really know what it is) with a Flash Player web frontend for video playback. Now the flashed camera is able to transmit a useful RTSP stream.
Unfortunately, the setup is not there yet. The flashed camera has the following issues:

Noisy camera image

This probably requires a lot more fiddling with the ISP's settings and IQ profile
The original firmware loaded a custom ISP configuration but it's entries don't exactly match up to any of the IQ profiles found in /etc/sensors/iq - here's the profile file: isp_cfg_sc2235_1.txt

Slower startup times

There are a lot of weird dmesg log entries for himci_control_cclk, himci_wait_cmd and himci_set_cclk

Wi-Fi chip present on the board but not available in OpenIPC

The original firmware logged the following:

RTL871X: module init start
RTL871X: rtl8188fu v<IP_ADDRESS>_19019.20160811
RTL871X: build time: Dec  9 2016 17:23:04
RTL871X: hal_com_config_channel_plan chplan:0x23
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=9c:a3:a9:5f:89:da
RTL871X: rtw_ndev_init(wlan1) if2 mac_addr=9e:a3:a9:5f:89:da
usbcore: registered new interface driver rtl8188fu
RTL871X: module init ret=0

It has an IR LED array, IR cut and PIR motion sensor

Is there a way to get the correct GPIO pin number for these things so that Majestic can work with them?
How would I know if I got them right?

It can get pretty hot

OpenIPC's temperature ticker can sometimes show values over 80°C. Is this normal?

Luckily, I've managed to obtain root access to the remaining cameras via Telnet. The remaining cameras are all on stock firmware so there's probably a way to get the OpenIPC one working right by sharing the good stuff. I'm not afraid to dig into it more myself but I'm out of ideas and lost, hence the GitHub issue.  Once the OpenIPC camera is at least on par with the rest, I'll flash the rest.
Again, many thanks for an amazing project.
Snapshot A - Original firmware

Snapshot B - OpenIPC

ipctool
chip:
  vendor: HiSilicon
  model: 3518EV200
board:
  vendor: OpenIPC
  version: <IP_ADDRESS>
  possible-IR-cut-GPIO: 1,2
ethernet:
  mac: "00:9a:32:8f:f8:c0"
  u-mdio-phyaddr: 1
  phy-id: 0x001cc816
  d-mdio-phyaddr: 0
rom:
- type: nor
  block: 64K
  partitions:
    - name: boot
      size: 0x40000
      sha1: 3be1edb5
    - name: env
      size: 0x10000
      sha1: a96b408d
      contains:
        - name: uboot-env
          offset: 0x0
    - name: kernel
      size: 0x200000
      sha1: 4e1407c1
    - name: rootfs
      size: 0x500000
      path: /,squashfs
      sha1: 7a9d7c58
    - name: rootfs_data
      size: 0xb0000
      path: /overlay,jffs2,rw
  size: 8M
  addr-mode: 3-byte
ram:
  total: 64M
  media: 32M
firmware:
  u-boot: "2010.06 (Nov 14 2022 - 19:23:46)"
  kernel: "4.9.37 (Mon Jul 31 01:09:25 UTC 2023)"
  toolchain: buildroot-gcc-12.2.0
  sdk: "Hi3518EV200_MPP_V<IP_ADDRESS> B060 Release (Mar 21 2018, 08:56:43)"
sensors:
- vendor: SmartSens
  model: SC2235
  control:
    bus: 0
    type: i2c
    addr: 0x60
  data:
    type: DC
  clock: 24MHz

ipctool reginfo
muxctrl_reg0 0x200f0000 0x1 GPIO0_4 [SENSOR_CLK]
muxctrl_reg1 0x200f0004 0 [SENSOR_RSTN] GPIO0_5
muxctrl_reg2 0x200f0008 0x1 GPIO0_6 [FLASH_TRIG] SFC_EMMC_BOOT_MODE SPI1_CSN1 VI_VS_BT1120
muxctrl_reg3 0x200f000c 0 [GPIO0_7] SHUTTER_TRIG SFC_DEVICE_MODE VI_HS_BT1120
muxctrl_reg4 0x200f0010 0x1 GPIO2_0 [RMII_CLK] VO_CLK SDIO1_CCLK_OUT
muxctrl_reg5 0x200f0014 0x1 GPIO2_1 [RMII_TX_EN] VO_VS SDIO1_CARD_DETECT
muxctrl_reg6 0x200f0018 0x1 GPIO2_2 [RMII_TXD0] VO_DATA5 SDIO1_CWPR
muxctrl_reg7 0x200f001c 0x1 GPIO2_3 [RMII_TXD1] VO_DE SDIO1_CDATA1
muxctrl_reg8 0x200f0020 0x1 GPIO2_4 [RMII_RX_DV] VO_DATA7 SDIO1_CDATA0
muxctrl_reg9 0x200f0024 0x1 GPIO2_5 [RMII_RXD0] VO_DATA2 SDIO1_CDATA3
muxctrl_reg10 0x200f0028 0x1 GPIO2_6 [RMII_RXD1] VO_DATA3 SDIO1_CCMD
muxctrl_reg11 0x200f002c 0x1 GPIO2_7 [EPHY_RST] BOOT_SEL VO_HS SDIO1_CARD_POWER_EN
muxctrl_reg12 0x200f0030 0 [GPIO0_3] SPI1_CSN1 VO_DATA0
muxctrl_reg13 0x200f0034 0x1 GPIO3_0 [EPHY_CLK] VO_DATA1 SDIO1_CDATA2
muxctrl_reg14 0x200f0038 0x1 GPIO3_1 [MDCK] BOOTROM_SEL VO_DATA6
muxctrl_reg15 0x200f003c 0x1 GPIO3_2 [MDIO] VO_DATA4
muxctrl_reg16 0x200f0040 0x2 GPIO3_3 SPI0_SCLK [I2C0_SCL]
muxctrl_reg17 0x200f0044 0x2 GPIO3_4 SPI0_SDO [I2C0_SDA]
muxctrl_reg18 0x200f0048 0 [GPIO3_5] SPI0_SDI
muxctrl_reg19 0x200f004c 0 [GPIO3_6] SPI0_CSN
muxctrl_reg20 0x200f0050 0 [GPIO3_7] SPI1_SCLK I2C1_SCL
muxctrl_reg21 0x200f0054 0 [GPIO4_0] SPI1_SDO I2C1_SDA
muxctrl_reg22 0x200f0058 0 [GPIO4_1] SPI1_SDI
muxctrl_reg23 0x200f005c 0 [GPIO4_2] SPI1_CSN0
muxctrl_reg24 0x200f0060 0 [GPIO4_3] I2C2_SDA
muxctrl_reg25 0x200f0064 0 [GPIO4_4] I2C2_SCL
muxctrl_reg26 0x200f0068 0x1 GPIO4_5 [USB_OVRCUR]
muxctrl_reg27 0x200f006c 0x1 GPIO4_6 [USB_PWREN]
muxctrl_reg28 0x200f0070 0 [GPIO0_0] IR_IN TEMPER_DQ
muxctrl_reg29 0x200f0074 0 [GPIO0_1] TEMPER_DQ
muxctrl_reg30 0x200f0078 0 [GPIO0_2] TEMPER_DQ
muxctrl_reg31 0x200f007c 0x1 GPIO1_0 [VI_DATA13] I2S_BCLK_TX PWM0
muxctrl_reg32 0x200f0080 0x1 GPIO1_1 [VI_DATA10] I2S_SD_TX UART1_TXD
muxctrl_reg33 0x200f0084 0x1 GPIO1_2 [VI_DATA12] I2S_MCLK UART1_CTSN
muxctrl_reg34 0x200f0088 0x1 GPIO1_3 [VI_DATA11] I2S_WS_TX UART2_RXD
muxctrl_reg35 0x200f008c 0x2 GPIO1_4 VI_DATA15 [VI_VS_SEN] I2S_WS_RX UART1_RXD
muxctrl_reg36 0x200f0090 0x2 GPIO1_5 VI_DATA14 [VI_HS_SEN] I2S_BCLK_RX UART1_RTSN
muxctrl_reg37 0x200f0094 0x1 GPIO1_6 [VI_DATA9] I2S_SD_RX UART2_TXD
muxctrl_reg38 0x200f0098 0x1 GPIO1_7 [SDIO0_CARD_POWER_EN]
muxctrl_reg39 0x200f009c 0x1 GPIO4_7 [SDIO0_CARD_DETECT]
muxctrl_reg40 0x200f00a0 0x1 GPIO5_0 [SDIO0_CWPR]
muxctrl_reg41 0x200f00a4 0x1 GPIO5_1 [SDIO0_CCLK_OUT]
muxctrl_reg42 0x200f00a8 0x1 GPIO5_2 [SDIO0_CCMD]
muxctrl_reg43 0x200f00ac 0x1 GPIO5_3 [SDIO0_CDATA0]
muxctrl_reg44 0x200f00b0 0x1 TEST_CLK [SDIO0_CDATA1] GPIO5_4
muxctrl_reg45 0x200f00b4 0x1 GPIO5_5 [SDIO0_CDATA2]
muxctrl_reg46 0x200f00b8 0x1 GPIO5_6 [SDIO0_CDATA3]
muxctrl_reg47 0x200f00bc 0 [GPIO5_7] EMMC_DATA6 I2S_SD_TX UART1_RTSN
muxctrl_reg48 0x200f00c0 0 [GPIO6_0] EMMC_DATA5 I2S_WS_TX UART1_RXD
muxctrl_reg49 0x200f00c4 0 [GPIO6_1] EMMC_DATA7 I2S_MCLK UART1_CTSN
muxctrl_reg50 0x200f00c8 0 [GPIO6_2] EMMC_DS I2S_SD_RX UART1_TXD
muxctrl_reg51 0x200f00cc 0 [GPIO6_3] EMMC_DATA1 UART2_RXD
muxctrl_reg52 0x200f00d0 0 [GPIO6_4] EMMC_DATA2 I2S_BCLK_TX UART2_TXD
muxctrl_reg53 0x200f00d4 0 [GPIO6_5] JTAG_TRSTN SPI1_CSN1 I2S_MCLK
muxctrl_reg54 0x200f00d8 0 [GPIO6_6] JTAG_TCK SPI1_SCLK I2S_WS_TX I2C1_SCL
muxctrl_reg55 0x200f00dc 0 [GPIO6_7] JTAG_TMS SPI1_CSN0 I2S_SD_TX
muxctrl_reg56 0x200f00e0 0 [GPIO7_0] JTAG_TDO SPI1_SDO I2S_SD_RX I2C1_SDA
muxctrl_reg57 0x200f00e4 0 [GPIO7_1] JTAG_TDI SPI1_SDI I2S_BCLK_TX
muxctrl_reg58 0x200f00e8 0 [PMC_PWM] GPIO7_2 PWM0
muxctrl_reg59 0x200f00ec 0 [PWM1] GPIO7_3
muxctrl_reg60 0x200f00f0 0 [PWM2] GPIO7_4 SPI1_CSN1
muxctrl_reg61 0x200f00f4 0 [PWM3] GPIO7_5
muxctrl_reg62 0x200f00f8 0 [SAR_ADC_CH0] GPIO7_6
muxctrl_reg63 0x200f00fc 0 [SAR_ADC_CH1] GPIO7_7
muxctrl_reg64 0x200f0100 0 [SAR_ADC_CH2] GPIO8_0
muxctrl_reg65 0x200f0104 0 [SAR_ADC_CH3] GPIO8_1

dmesg
It's pretty long so I attached it instead of inlining it.
dmesg.txt
logread
Also pretty long.
logread.txt

Hi - I found your thread and I have the same  himci_control_cclk, himci_wait_cmd and himci_set_cclk issues
I then found this thread which may help with boot speed : https://github.com/OpenIPC/firmware/issues/868


Improve overrideDerivation docs.

Motivation for this change
I, and others, have had problems when overriding packages. Hopefully improving the documentation of the overrideDerivation function removes its pitfalls by explaining antiquotation and evaluation order.
Things done
Successfully built using nix-build command in the "nixpkgs/doc" directory.

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[X] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Awesome :)

Thanks, @domenkozar! Your work as maintainer is much appreciated!


WIP: Harvester load balancer enhancement

Add ipam module(crd, controller, webhook)
Define two types of LB, one for the VM workload, the other for the guest cluster
Support changing the IPAM mode
Add load balancer converter webhook

Related issue:
https://github.com/harvester/harvester/issues/1762
https://github.com/harvester/harvester/issues/1580
design document:
https://github.com/harvester/harvester/pull/1913
Dependency:
https://github.com/harvester/harvester/pull/3776
https://github.com/harvester/webhook/pull/3

Need to update vendor after the dependency PRs merged.

close because replaced by PR https://github.com/harvester/load-balancer-harvester/pull/13.


how to build armeabi-v7a tensorflow-lite.a with ndk?

This is not Build/Installation or Bug/Performance issue. Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions. GitHub is mainly for addressing bugs in installation and performance. Thanks!


Wrap install buttons ins GA4 trackers

Describe the problem you're trying to solve
We need to wrap all of our buttons on KitOps in GA4 tags for tracking purposes. Most importantly the Install button
https://developers.google.com/analytics/devguides/collection/ga4/events?client_type=gtag

@javisperez can you send me over the details on the tracking tags you used?


General Question

People say they see flicking, is that the 'flick' command? with low fps? orrrr some other setting? bug??

iirc its 2 features in misc under taunt control. disable those 2 and it should be fixed

Fast accel

thank you, johnathon-walnut


bone fragment blacklisted from auto ML

i am farming strat using the autoloot settings, all white items get autolooted apart from bone frags, they arent on  my blacklist

i should clarify this is a bug with auto masterloot

Hey mate, will check it out.

@unfortunatehippo Blizzard API calls Bone Fragments a Quest Item... we ignore quest items. This is a bug with the Blizzard API.


Add a WebFlux starter

After Spring Web MVC configuration has been moved to a separate "starter" subproject in #47, add a second starter that auto-configures Spring WebFlux.

Resolved in https://github.com/spring-cloud/spring-cloud-cloudfoundry-service-broker/commit/9024981b6ca97de7f0377ee1b721f2e64e6cf682


How can i add headers to a request?

It's probably easiest to make your own ServerProxy descendant.
Look in lib/jsonrpc_client.dart
Around line 42 is where HTTP request headers are set.

Since 3.0.0, the example package:http client supports custom headers. https://github.com/jwashin/jsonrpc2-dart/blob/master/example/jsonrpc_http_client.dart.


How to disable Formatter

Basic informations

OS: [Windows]
VSCode version: Latest
Extension version: Latest

Question
I have checkbox Toggle the linter on or off, but doesn't see checkbox for Formatter.
This is very important, because I have an old project on github, and when I start working with this repository, when I save the file, it shifts all the lines, which is not favorable for a commit.
How to disable this feature?

Hi,
You probably have "editor.formatOnSave" set to true somewhere in your global settings.
Set it to false and you should be good to go.
See this SO thread for more details.
The extension only provides a formatter for VSCode to use. The extension does not control whether the formatter is enabled or not.


autocreate user if not using ldap groups

This addresses part of the issue in #13390 , and allows authentication
to succeed.

Just updated the PR description to remove the default template.

@abellotti @jvlcek  bump

Closing per @jvlcek comment. It can always be reopened if necessary.


Investigate Supporting GitHub Actions for Automation

Problem Statement
Automation across the Azure SDK repositories is performed by several different bots due to their capabilities and limitations.   Most prominent among them is the Fabric Bot from the One Engineering group.  This bot provides a good foundation for simple actions such as applying a label or responding to a customer comment.
However, its simplicity requires a strict set of constraints, preventing it from being used for more complex scenarios such as performing multiple branched actions base on other rules or using an else clause.  Another example of a limitation is the inability to apply glob or regex patterns to some rules, such as when to apply a label.   This results in the need to create individual clauses for every single subpath that should trigger the label and having to maintain them going forward.   This can result in having to maintain tens to hundreds of clauses in a monorepo as large as ours.
Fabric Bot also requires that some data be embedded in certain rule types, such as the accounts to mention when "Service Attention" is applied to an issue or the exact repository paths that should be associated with a label when a pull request is opened.   This prevents us from being able to centrally manage Fabric Bot rules via the tools repository and, instead, means that each Azure SDK repository has an individual copy of the rules - with each needing to be manually managed and kept up-to-date.
Possible Solution
GitHub Actions allows for a great deal of flexibility, with the ability to perform custom logic rather.  We believe that they will allow us to be able to replicate the existing Fabric Bot rules as well as other desired scenarios that Fabric Bot cannot currently handle.   Actions would also allow us to move repository-specific data into an external file and have a single authoritative copy of the Action definitions that is replicated across all repositories.  We also believe that the flexibility offered would enable us to migrate our ML Bot, removing the need for a separate custom implementation based on Functions and allow us to have a single unified implementation of all of our automation.
Scope of Work
Investigate whether or not it is possible to support GitHub Actions for the Azure SDK repositories at the scale that we would need and throttling would not be an issue due to the frequency of repository activities.   If the investigation indicates that the use of Actions is possible, understand the path forward for doing so.
Out of Scope
Replacing Azure DevOps; the build pipelines and associated validations and behavior will continue to exist as they do today.   The DevOps pipelines will continue to used for CI, scheduled test runs, and the release process.
Success Criteria

A determination has been made on the feasibility of supporting GitHub Actions across the Azure SDK repositories as the platform for our automation.

If supporting Actions is feasible, next steps have been identified and a plan for moving forward exists.

The outcome of this investigation has been communicated to stakeholders in some form.   Interested parties are @jsquire, @christothes, and @benbp.

BONUS: A general timeline for support is known.

//fyi:  @weshaggard

While GitHub Actions could potentially be used in lots of areas of the engineering system, I want to scope this issue to investigating whether they could replace some/all of the functionality we get from FabricBot.  Specifically, we think the most potential is in replacing the auto-labeling features of FabricBot.
Any other use of GitHub actions should be tracked in separate issues.

To clarify:  we know that Actions can be used to replace Fabric Bot from a functionality perspective.  We've been asked to not pursue that path until the engineering system team formally clears them for use.   My intent with opening this issue was to request that we perform whatever investigations are needed to feel comfortable granting that clearance so that we can port rules over.

@jsquire if this is only about EngSys feeling comfortable I think we are definitely comfortable with starting to use github actions in some contexts and I think replacing the FabricBot labeling functionally would be a great first step into using github actions. So it would be great to just get that ball rolling.

@jsquire isn't this already completed?

I'm closing this, it's completed.


Icon request: Oracle Linux

Website: https://yum.oracle.com/index.html
Icon: https://yum.oracle.com/layout/i/Penguin.png

Is that really the logo? Isn't Oracle Linux closed source? We use binary vectors, that picture is very complex, how is supposed to fit in a 2-char width glyph?

It is not closed source, it is a RHEL derivate, since 2006: https://en.wikipedia.org/wiki/Oracle_Linux
I also found this logo which is more flat:

how is supposed to fit in a 2-char width glyph?

This is a icon suggestion, not a PR. Of course someone would need to convert it to a proper icon...
Maybe like this (just threw it for some minutes into Gimp followed by a quick Inkscape convert):

There is not much left when used small. but that is true form more distribution icons:

I have no clue.

I have seen their stilized O letter as favicon in some Oracle sites, but not sure if could apply as minimal logo, @yumusb is your usecase on a terminal? Being so small only Tux is easily identifiable.

I happened to realize that the project was missing Oracle Linux related icons, but did not find any icons that would represent Oracle Linux. So submitted an issue instead of a PR. thanks for handling.

All in all I'm rather inclined to not address this (despite the fact that I did put some work in the outline icon above).
Where inclined to not address means close as not planned.


KBS deployment as microservices

Added the capability of running the kbs components into separate containers.
The containers are part of the same k8s deployment, hence running in the same pod.

@lmilleri possible to enable either all-in-one and multi-container deployment using a configurable option ?

@lmilleri possible to enable either all-in-one and multi-container deployment using a configurable option ?

Not at the moment, will have a look

@bpradipt I have split into 2 commits:

code refactoring
multi-container deployment with configuration option
Please review

Support for HTTPS would be needed as well, for the clients to verify the kbs server is what is claiming to be. Working in progress

Add support for HTTPS and volume mounts optimization

@lmilleri nice work. Some minor comments to address and it should be good to merge


Android Doc Issues

(moved from Mobile Services)
We now have the Android documentation (Javadocs) live at http://dl.windowsazure.com/androiddocs/, and while browsing it we can notice many issues with them. I'm listing many around here which I found in the package page alone, but we should perform a thorough scrubbing in the comments to make sure we have a good documentation for the SDK.
Package overview (http://dl.windowsazure.com/androiddocs/overview-summary.html)
No descriptions
Package com.microsoft.windowsazure.mobileservices:

Class / interface / enum definitions:

Missing documentation:

BuildConfig
Registration
MobileServiceException
MobileServicePreconditionFailedException
MobileServicePreconditionFailedExceptionBase

Wrong / bad descriptions:

MobileServicePush: "the notification hub client" --> not really
MobileServiceTable and MobileServiceJsonTable - same description. The description should tell the difference between them.
QueryOrder: "Sort order values". We could reword it better as something like "The possible values to determine sort ordering." or something similar.

Grammar / typos:

MobileServiceClient: Entry-point for Windows Azure Mobile... --> remove Windows, remove - (hyphen) between "entry" and "point"
Missing articles (many places): for example: GcmNativeRegistration: "Represents GCM native registration". It would be better as something like "Represents a native registration with GCM" or at least "Represents a GCM native registration"

@RickSaling we will need to regenerate java docs for the latest android sdk and put it at http://azure.github.io/azure-mobile-services/ or a new github.io belonging to mobile apps since the zumo content got deleted from http://dl.windowsazure.com/androiddocs/ as well. I remember you were the contact for java docs, please let me know if I should redirect to someone else. Thanks!

@RickSaling any updates on mobile services and mobile apps doc references?

@ysxu
Addresed the above comments in the this Pull request #50
Updated Java docs present here at http://azure.github.io/azure-mobile-apps-android-client/

Fixed the documentation where ever possible. Will keep an eye inaccurate documentation for future.


build error with esp-idf 5.1.1 for esp32-c3

m5stack/M5Unified/src/M5Unified.cpp:583:20: error: invalid conversion from 'int' to 'i2c_port_t' [-fpermissive]
583 |     In_I2C.setPort(-1, -1, -1);
|                    ^~
|                    |
|                    int
possible fix: https://github.com/bhuvanchandra/M5Unified/commit/8e4c4af5496a2b69f6c69e660b3da6bb7b1a6325

@bhuvanchandra
Thank you for your report !
The develop branch has been updated. This will be reflected in the next release.

I believe this issue has been addressed and resolved in the latest release.
Thanks for your contribution.


fixes partion name for devices like /dev/loop0

Related issue #711

jenkins test this please

jenkins test this please

@osixia up!

jenkins test ceph_ansible-luminous-centos7-cluster


MTC - CAN Message Handling

Also there is still a lot of weird files, delete them and commit the deletion pls, it'll make reading the pr much easier

Also there is still a lot of weird files, delete them and commit the deletion pls, it'll make reading the pr much easier

Sorted all this, apologies.


Feat/test parser

Changelog
New

adds test-parser
adds fixtures for test-parser tests
adds chai as assertion library
gets HTML from file

What is this?
This is the parser which parses the exportable tests.
This parser, with our exportable-test structure, is now confirmed to work with Jest (this repo) and Mocha. The exportable tests have been confirmed to work in Angular CLI environments.
Exportable test parser
This test parser is meant to create describe/it/expect test structures. If it's output was being printed out, it would look like any other describe/it tests:
describe('Runs fixture requirement tests' () =>{
  describe('Div is understandable and unique', () => {
    it('Standard div', () => {
      expect(actual.html, "I find said div's content").to.not.be.empty;
      expect(actual.content, 'said content includes text').to.not.be.empty;
      expect(actual.content, "said div's content is meaningful").to.not.equal(defaults.content.text);
    });
  });
});

Exportable test structure
Inside src/test-parser.js  is the breakdown of an exportable test object's available properties - documented in the scenario-test-object typedef JSDoc block.
The example in this repo via the fixture (see below) is a very basic example of a test.
Test fixtures
PR includes fixtures for the tests which are:

src/tests/fixtures/div--variant-one.html

this represents the HTML that would be tested. In real-world use, this would be the output from react/angular/hbs/vue for one demo (ie button--primary)

src/tests/fixtures/div-requirements.js

this outputs a function which returns an array. The array in this file contains one test
standardDiv is the one test. This test only checks the content of the HTML

the second parameter in the expect functions is why I added chai. Jest's assertion library doesn't allow that parameter out of the box

these tests are what would be imported by a framework to use in their specific test environment

src/tests/fixtures/div.feature

this is an example Gherkin file
You can see the text from the single scenario in this file reflected in div-requirements

How Jest runs the tests

Running yarn test triggers the tests inside src/__tests__/test-parser-test.js
Grabs HTML from div--variant-one.html
Converts HTML into a DOM fragment for testing
Creates tests using TestParser (the test parsing func) using document - which contains the DOM fragment
Runs tests after it creates them

Next steps
Real-world example
This PR only includes testing of a basic example-fixture.
@elizabethsjudd is working on an actual test for the accordion component which will include separate tests per user type. Her tests will show how to test changes to the DOM using this exportable test format.
Carbon POC
While we can get these tests running in this environment, we should also test that they could work within one of carbon-components-react/angular/vue.
Chai assertions / assertion library selection
The second parameter allows us to tie the expect statements to a specific scenario-requirement. But we don't want to mix the assertion types. The assertion library for these exportable tests should be something that would work in at least all four framework test environments, plus Selenium.
Confirming all requirements are met
We have tests which reads the Gherkin and the exportable tests and determines if there is a test for every requirement. I didn't want to include that in this PR so that we can focus on the exportable test structure

Thanks for submitting this @scottnath! Had a couple of questions going through it initially:

How would this work out if a team had a test environment that didn't support BDD style assertions through describe/it?
What is the best way for handling collisions for the expect library across test environments? Seems like in this case we are merging them together?

Also, it seems like chai may be overriding the Jest assertions in that:
      expect(TestParser).to.exist;
      expect(TestParser).to.be.a('function');
      expect(Itter).to.exist;
      expect(Itter).to.be.a('function');
      expect(GetDomFragment).to.exist;
      expect(GetDomFragment).to.be.a('function');

Would be written like this in Jest (I think):
expect(TestParser).toBeDefined();
expect(TestParser).toEqual(expect.any(Function));


Internal Transform Failure when using SQS as Serverless Function Event Source

Description:

I am trying to deploy an serverless function with SQS as the event source however I keep receiving an error message when attempting to deploy my template saying Transform AWS::Serverless-2016-10-31 failed with: Internal transform failure.. I've tried removing the event block from the template and it deploys fine so I've narrowed it down to the Event source definition.
I reattempted with the SQS template from the examples folder of this repo and faced the same issue. Is this feature supported yet? Also, what is this event source type setting up in the background so that I can replicate the functionality through ordinary CFN till this is resolved?
Steps to reproduce the issue:

Attempt to deploy the SQS example

Observed result:
Error message is received when attempting to run the deploy command
Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: Transform AWS::Serverless-2016-10-31 failed with: Internal transform failure.

Expected result:
Stack is deployed successfully

Is this feature supported yet?

I don't think SQS is a supported event source for Lambda. They announced it was coming but I haven't seen any announcement that it was now live.

Sorry for the confusion. This has been merged to the develop branch of this
repo in preparation for the Lambda feature launch. I'll update the GitHub
settings to use master branch add default. Once you see this land in
master, you'll be able to use SQS as an event source.
On Mon, Jun 4, 2018, 4:48 PM Rich Buggy<EMAIL_ADDRESS>wrote:

Is this feature supported yet?
I don't think SQS is a supported event source for Lambda. They announced
it was coming but I haven't seen any announcement that it was now live.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/serverless-application-model/issues/457#issuecomment-394535602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABy6l98b_xsLl4AiCNeaQk0hc7R7TZ16ks5t5cdmgaJpZM4UZb2R
.

yep using develop as the default branch caught me out. thanks!


Temperature offset Fahrenheit  YAFPP calibrate to 60, says 60.01 - minor

User calibrates to 60F, app acknowledges with 60.01

Likely caused by rounding from Celsius, which has not enough resolution for value.
@rinat-enikeev please check and comment can we add more accuracy on Celsius value for rounding case to improve this situation?

Changing calibration precision to 0.0001 did the job

QA passed


The order in which SVGO plugins are run should not be determined by the order in which the plugins are listed in svgo.json

Currently the order in which SVGO plugins are executed on an exported SVG depends on the order in which the plugins are specified in the svgo.json configuration file: https://github.com/BohemianCoding/svgo-compressor/blob/18d341102a6533bdc292a3962e81ecc4ff92aa18/src/plugin.js#L37-L86
The plugin execution order in SVGO is fixed in order to guarantee the highest possible optimized result. You can see the order in which SVGO executes plugins here: https://github.com/svg/svgo/blob/master/.svgo.yml. After parsing the plugins from the svgo.json config file, this Sketch plugin should sort the enabled plugins according to this predefined order before executing svgo on the exported SVG.
The reason why the order of SVGO plugins is important is discussed a bit here . (specifically the part where it mentions that every plugin "has a specific position in the plugins list"): https://github.com/svg/svgo/blob/ba07843565aa50cd9dfde0c8806921c14f532096/docs/how-it-works/en.md
Basically, SVGO plugins are designed to build on each other as they are executed one by one. For example, consider the below SVG:
<svg>
  <path d="M 0 0 L 100 100" />
  <g>
    <path d="M 200 200 L 300 300" />
  </g>
</svg>

Executing the mergePaths plugin before the collapseGroups plugin will result in the following SVG (first merge sibling paths, and then remove unnecessary groups):
<svg>
  <path d="M 0 0 L 100 100" />
  <path d="M 200 200 L 300 300" />
</svg>

Whereas executing collapseGroups before mergePaths will give much better results (first remove unnecessary groups, which increases the chances that there will be sibling paths that can be merged):
<svg>
  <path d="M 0 0 L 100 100 M 200 200 L 300 300" />
</svg>

IIRC the order of the default config of the plugin is the same as https://github.com/svg/svgo/blob/master/.svgo.yml exactly for the reasons you mentioned.
I don't think there is a reason for the plugin to force an order for the svgo plugins (you can also change the order of the plugins in svgo if you want to). If someone chooses to change it, there might be a good reason for it.

Good point, I agree. I think the default ordering used to be alphabetical but it seems like that must have been changed recently. :)


Add a difficulty selector

Before starting the quiz, we can show a page to select the difficulty of the questions.

Hey @Dharmik48.. i would like to contribute to this issue.

Alright! I will assign it to you Praveen.

Should the difficulty level be a new page or added as buttons in the
welcome screen itself ?
On Sun, Jul 31, 2022 at 8:54 PM Dharmik_403 @.***>
wrote:

Assigned #3 https://github.com/Dharmik48/quizzical/issues/3 to
@Praveen-0208 https://github.com/Praveen-0208.
—
Reply to this email directly, view it on GitHub
https://github.com/Dharmik48/quizzical/issues/3#event-7096464153, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AO5FF3WQO3BP2BSREGUM6K3VW2LDDANCNFSM55ENDD2Q
.
You are receiving this because you were assigned.Message ID:
@.***>

I think it should be after welcome screen and before the game so a new page. What do you think?

I think it should be after welcome screen and before the game so a new page. What do you think?

I think we can go with a new page, since we have to add the category as well in the later part

Yeah lets go with a new page, we have @arcetros working on adding the categories.
We might have a merge conflict but we'll figure it out.

Okay Dharmik

You can check out the Open Trivia Database API docs for information on how to change the difficulty of questions fetched.

Hey @Praveen-0208 @Dharmik48, What do you think of this?

Hey Dharmik. Could u verify and merge @arcetros 's PR, so that i can add on to that..?

Yup, I think it looks great!

Hey Dharmik. Pushed code for selector. Please review and merge PR

I reviewed your code and merged the PR.
Thanks for the contribution🚀


Fix #713 Monitor 2.0 overview plots overlap when resizing browser window

Included Flot's resize plugin to properly handle window resize.

Thanks for the contribution @cleroux !
If you would like to be added to the people page as a contributor, feel free to make a PR to the website:
https://github.com/apache/accumulo-website/edit/master/pages/people.md


Challenges are often kept as active despite having no tasks

see for example https://maproulette.org/browse/challenges/40603
https://maproulette.org/challenge/41154
https://maproulette.org/challenge/40667

Same for https://maproulette.org/browse/challenges/40496

may be caused by changing task state via API, not user interface?
Maybe I trigger it when last task is set to "disabled" not "fixed"?

I got report that it is still a problem. See
https://maproulette.org/browse/challenges/40109
https://maproulette.org/browse/challenges/42290
https://maproulette.org/browse/challenges/42119
which were given as examples.

It does look like this is caused by tasks that are Disabled, and that prevents the Challenge from being completed. For challenge 40109: I don't see anything in the UI that indicates disabled tasks; the GET challenge API call response shows a completionPercentage of 100 and yet the challenge remains active; then the GET challenge data shows 12 tasks, 9 fixed, 3 disabled, 11 deleted.
I bet there's some task completion logic that needs to be updated to account for disabled tasks, or perhaps it's intentional and should be more obvious in the UI.

Disabled tasks definitely should not keep a challenge open. If they do, what is the point of having them?
(in fact - what is the point of having both disabled and deleted?)

disabled may make sense to a challenge author, to have tasks that they temporarily want to have not included but for whatever reason they do not want to delete, because they may want to re-enable them later.
From an end user perspective this status really does not have any meaning.
So what we'll do is

On the front end, do not count the disabled tasks in the totals. So in the above example, the total task count that the user sees would be 9 and not 12 (separate ticket to be created for that)
On the backend, once a challenge has only deleted or disabled tasks left, we mark it as completed.


positionIndex can now return to 0

Fixes #26

I have the fix pending for #27 as well. I can push it over whenever.  Was holding off until this is approved.

Please break #27 into a separate PR

Thanks @bitsoflogic and @flexyford
@flexyford version when you're ready

@jasonmit I'm working on a virtual-each issue before versioning. Documentation to come later today hopefully

:+1:


add instance normalization

According to @ggsonic 's experiment result, instance normalization could lead to a better result.
This commit adds a norm_type parameter in hyperparams.py. If norm_type='bn', then use batch normalization, if norm_type='ins', then instance normalization is used.

Great idea!


Extract destroy from the PresenterHelper.

Currently, the PresenterHelper class requires the Activity in the takeView() method for the sole purpose of determining whether the presenter should be destroyed when dropView is called.
This logic, of deciding whether or not to destroy the presenter should be extracted from the PresenterHelper, completely freeing it from ties to the Activity.
I propose updating the dropView() method to something like dropView(boolean destroy).  This way, it's up to the container (ViewGroup, Fragment, Activity, View, Service, etc) to determine when the presenter should be destroyed.
This will better support things like single activity, fragment/view only setups, and ensure the PresenterHelper performs only it's very specific tasks.

Hi, what are PresenterHelper specific tasks? :)
For me this class looks like a collection of shortcuts to not bloat views.
This is why is keeps a reference to an activity.
Do you have a more clear definition for it?

My thought was that, aside from the activity reference, this class is a really easy drop-it-anywhere helper for managing a presenter instance.  User's can drop it in any type of class they want to have a managed presenter in, and all of the null safety checks and PresenterManager logic is abstracted.
The problem I see with helper keeping a reference to the activity and managing destroy based on that, is that that's the single piece of this class that prevents it from being general use.  As an example, some project I've inherited use a single Activity model, where all navigation is done using Fragment transactions.  The current PresenterHelper would be of no use there since if presenters were only destroyed when the Activity was finishing, they would never be destroyed until you leave the app.
What I would like to see is the activity.isFinishing() moved up to the Nucleus[Activity|Fragment|Layout] base classes as default functionality, thereby making the PresenterHelper a generally reusable class.
I think it's a fairly simple change, and I'm happy to make it if you agree, just wanted to open this ticket to foster discussion.

This change will bloat existing classes to some degree, but the ability to reuse the helper looks good. OK.


GenericEqualityER breaks if assigned

open Microsoft.FSharp.Core.LanguagePrimitives

type Age = | Years of double

[<EntryPoint>]
let main argv =
    let noAge = Years nan
    printfn "GenericEqualityER nan nan? %b" (GenericEqualityER nan nan) // true (good)
    printfn "GenericEqualityER noAge noAge? %b" (GenericEqualityER noAge noAge) // true (good)
    let isEq = LanguagePrimitives.GenericEqualityER
    printfn "isEq nan nan? %b" (isEq nan nan) // true (good)
    printfn "isEq noAge noAge? %b" (isEq noAge noAge) // false (bad)
    0

This seems to affect F# v3.x as shipped with VS 2013 Update 3, as well as F# v4.0 prerelease as shipped with the VS 2015 RC.

Nice find, thanks for reporting this.
What's especially distressing is that compiling with optimizations leads to a different result (the expected result).

Yes, definitely an inconsistency that we'd prefer to iron out. Is there a manifestation of this that doesn't require calls to an alias of something in Microsoft.FSharp.Core.LanguagePrimitives? I see that the only place we call GenericEqualityER is in generated calls in augmentations.

Not that I've come across. I only stumbled on the known manifestation because I was using this semi-private (?) API in some property based tests.

Per my last linkage; I don't think that is true now. I deleted the reference, but it still seems to be shown here; but please ignore.

I'm closing this as won't fix.  It's an inconsistency that we'd prefer to iron out but there is no known manifestation of this that doesn't require calls to an alias of something in Microsoft.FSharp.Core.LanguagePrimitives.  The cost/risk of a fix is too high to justify (unless a very simple and safe fix is found)


Show post body

I would like to be able to see the body content for post requests.
Would this be possible?

Just to check if I understand it correctly, when the proxy intercepts a request, you'd like to be able to see the body of the request that's going over the wire, correct? Would you also like to see the headers or just the body? What would you like to do with this information?

Yes, I would like to see the body when the proxy intercepts a request over the wire.
For my use case I think headers are not required just the body.
I am using PowerShell and Invoke-RestMethod with a post and body to a reporting endpoint this is working.
A colleague is using C# and the official Microsoft SDK.  He believes posting the same body but always receives 0 results.
I would like to compare the Body I am sending via PowerShell with the body that my colleague is sending via the C# library.
Hopefully this makes sense :)

Thanks for the further context @kiwinol but I wonder how readable this would be in the standard output.
My initial thoughts are to add a new option to configure the summary report output to include the body.
Any thoughts or ideas on this? @sebastienlevert @gavinbarron

It does @kiwinol, thank you for explaining. @garrytrinder, considering @kiwinol scenario and your suggestion of using the summary report, you'd need to do the following:

start proxy
start recording
execute the request
stop recording
open the report

In comparison, if we were to show the body directly in the output, it would be:

start proxy
execute the request

I fully agree that we'd need to consider readability and how to make it work in a terminal which doesn't have anchors and any other UI to indicate the beginning and end of each request. Let's look at possible solutions before we commit to a direction.

Let's look at possible solutions before we commit to a direction.

Absolutely.
If we were to consider adding the output to the terminal then it seems like exposing a new option --showBody and/or a configurable setting in m365proxyrc.json would be good candidates.
We could also enhance the ExecutionSummaryPlugin to respect this setting to return the body in the summary report should this be needed.

I've been thinking about this some more, and would like to suggest that we use the Chrome DevTools Protocol for this. It gives us a UI that's de facto market standard and allows us to present the necessary information without cluttering the terminal output. I'll see if I can create a POC to better understand how it would work.


i face a big broblem when i build my app

i face a problem when i use
flutter build apk
Compiler message:
/C:/Users/hisham/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.14.4/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor
that takes no arguments.
  PictureStream();
  ^^^^^^^^^^^^^
/C:/Users/hisham/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.14.4/lib/src/picture_stream.dart:192:16: Error: The superclass, 'Diagnosticable', has no unnamed constructo
r that takes no arguments.
abstract class PictureStreamCompleter extends Diagnosticable {
               ^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 28s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      29.7s
Gradle task assembleRelease failed with exit code 1

  info - 'headline' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is headline5. This feature was deprecated after
          v1.13.8. - lib\main.dart:39:17 - deprecated_member_use
   info - 'display1' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is headline4. This feature was deprecated after
          v1.13.8. - lib\main.dart:40:17 - deprecated_member_use
   info - 'display2' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is headline3. This feature was deprecated after
          v1.13.8. - lib\main.dart:41:17 - deprecated_member_use
   info - 'display3' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is headline2. This feature was deprecated after
          v1.13.8. - lib\main.dart:42:17 - deprecated_member_use
   info - 'display4' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is headline1. This feature was deprecated after
          v1.13.8. - lib\main.dart:43:17 - deprecated_member_use
   info - 'subhead' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is subtitle1. This feature was deprecated after
          v1.13.8. - lib\main.dart:44:17 - deprecated_member_use
   info - 'title' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is headline6. This feature was deprecated after
          v1.13.8. - lib\main.dart:45:17 - deprecated_member_use
   info - 'body1' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is bodyText2. This feature was deprecated after
          v1.13.8. - lib\main.dart:46:17 - deprecated_member_use
   info - 'body2' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is bodyText1. This feature was deprecated after
          v1.13.8. - lib\main.dart:47:17 - deprecated_member_use
   info - 'headline' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is headline5. This feature was deprecated after
          v1.13.8. - lib\main.dart:61:17 - deprecated_member_use

C:\ee>flutter doctor -v
[√] Flutter (Channel stable, v1.17.0, on Microsoft Windows [Version 10.0.18362.778], locale en-US)
    • Flutter version 1.17.0 at C:\flutter
    • Framework revision e6b34c2b5c (5 days ago), 2020-05-02 11:39:18 -0700
    • Engine revision 540786dd51
    • Dart version 2.8.1

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = C:\sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] Connected device (1 available)
    • SM A105F • R58M77VT79R • android-arm • Android 9 (API 28)

• No issues found!

Hi @hisham79
Try with the latest version flutter_svg 0.17.4 and if persists consider to file the issue in the plugin's repository https://github.com/dnfield/flutter_svg/issues.
Closing, since this is an issue with a 3rd party plugin,
if you disagree please write in the comments and I will reopen it

thank u it solved

warning: The include file package:pedantic/analysis_options.yaml in C:\Agora-Flutter-Quickstart-master\analysis_options.yaml cannot be found. (include_file_not_found at [agora_flutter_quickstart] analysis_options.yaml:1)
what should i do , i am new on flutter plz help me, thank you all.


Transitive Maven dependencies overriden but still detected by DependencyCheck

Hello,
I have a Maven project which transitively depends on jackson-databind 2.12.4. Some of my dependencies use jackson-databind themselves, but with a lower version (e.g. 2.11.4), so Maven picks the more relevant one (2.12.4) and only adds this one to the project classpath. Typically, a verbose Maven dependency tree displays the following:
[INFO]    |  |  +- (com.fasterxml.jackson.core:jackson-databind:jar:2.12.4:compile - version managed from 2.11.4)
However, jackson-databind 2.11.4 still appears in the DependencyCheck (Maven plugin) report because it is embedded in one of my dependencies' JAR:

so I end up with a report including a version of jackson-databind which is actually not in the classpath (I acknowledge this is the expected behaviour from DependencyCheck).
Is there a way to prevent that ? I guess it should not be easy to implement in any case, but given that the DependencyCheck Maven plugin is integrated within the Maven build process, do you think there is a way for it to be aware of the project classpath and filter out irrelevant dependencies?
Thanks for your suggestions.
Regards,

Sorry to let you know - in this case the report is correct. You might override the dependency for some uses - but because it is embedded in my-library-1.0.0.jar you have jackson version 2.11.4 in your project because it is embedded in my-library-1.0.0.

Hello,
The report is absolutely correct indeed, this is what I meant when I said

I acknowledge this is the expected behaviour from DependencyCheck

I would like to know if there is a way to filter out such dependencies that do not end up in the classpath of the project :) (either within DependencyCheck itself, or with any other workaround that you would have in mind).
Thanks !

No - I can't think of any good way... Maybe a suppression rule?

I could indeed use a suppression rule to filter out dependencies with file path containing strings such as 'BOOT-INF/lib' (I guess this is what you had in mind), but I was hoping there is a cleaner way to detect the classpath within the DependencyCheck Maven Mojo.
Thanks


Reduce memory allocations in index

Overview
This commit changes the index to point to index data in the shards instead of keeping it in-memory on the heap.
NOTE: This pull request is still missing dereferencing from the mmap when a shard is closed.
/cc @pauldix @jwilder
TODO

[x] Dereference mmap on close
[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated

Tested this quite a bit yesterday and memory usage after restarts drops about ~30-40%.  Objects in the heap was also reduced ~5-6x.  Startup times are also reduced quite a bit.
There is not much of a change if there is no restart.
If we can figure out a solution for @joelegasse concerns then this should be good to merge.

👍

cc @daviesalex @sebito91 This will be in tonights nightly.


Cannot fetch ACAPy wallet public did

I tried Verified Credential Access from keycloaks login page.
However, the following error was displayed in the browser.
{"error":"acapy_call_failed","error_description":"Cannot fetch ACAPy wallet public did"}

I checked if ACAPy wallet is running. It didn't seem to run.
$ docker ps -a
CONTAINER ID        IMAGE                                                         COMMAND                  CREATED             STATUS                      PORTS                              NAMES
7d1234ca71cf        vc-authn-oidc-controller                                      "/bin/bash -c ' echo…"   14 minutes ago      Up 14 minutes               5000/tcp, <IP_ADDRESS>:5000->80/tcp     vc-authn-oidc_controller_1
a50fa6c1dc65        bcgovimages/aries-cloudagent:py36-1.14-1_0.4.5                "/bin/bash -c 'sleep…"   14 minutes ago      Exited (0) 13 minutes ago                                      vc-authn-oidc_aca-py_1
70741c966d76        jboss/keycloak:7.0.0                                          "/opt/jboss/tools/do…"   14 minutes ago      Up 14 minutes               8443/tcp, <IP_ADDRESS>:8180->8080/tcp   vc-authn-oidc_keycloak_1
b69ee126607c        registry.access.redhat.com/rhscl/postgresql-10-rhel7:latest   "container-entrypoin…"   14 minutes ago      Up 14 minutes               5432/tcp                           vc-authn-oidc_keycloak-db_1
c1b7e4b3c00d        registry.access.redhat.com/rhscl/postgresql-10-rhel7:latest   "container-entrypoin…"   14 minutes ago      Up 14 minutes               <IP_ADDRESS>:5432->5432/tcp             vc-authn-oidc_controller-db_1
f6084ab97392        registry.access.redhat.com/rhscl/postgresql-10-rhel7:latest   "container-entrypoin…"   14 minutes ago      Up 14 minutes               <IP_ADDRESS>:5433->5432/tcp             vc-authn-oidc_wallet-db_1

When I checked the log, it was output as follows.
$ docker logs a50fa6c1dc65

. . .

2020-03-31 06:27:57,068 aries_cloudagent.config.ledger INFO Fetching genesis transactions from: http://<IP_ADDRESS>:9000/genesis
2020-03-31 06:28:01,133 aries_cloudagent.commands.start ERROR Exception during startup:
Traceback (most recent call last):
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/connector.py", line 924, in _wrap_create_connection
    await self._loop.create_connection(*args, **kwargs))
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/asyncio/base_events.py", line 794, in create_connection
    raise exceptions[0]
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/asyncio/base_events.py", line 781, in create_connection
    yield from self.sock_connect(sock, address)
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/asyncio/selector_events.py", line 439, in sock_connect
    return (yield from fut)
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/asyncio/selector_events.py", line 469, in _sock_connect_cb
    raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 9000)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/utils/http.py", line 51, in fetch
    response: ClientResponse = await session.get(url, headers=headers)
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/client.py", line 476, in _request
    timeout=real_timeout
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/connector.py", line 522, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/connector.py", line 854, in _create_connection
    req, traces, timeout)
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/connector.py", line 992, in _create_direct_connection
    raise last_exc
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/connector.py", line 974, in _create_direct_connection
    req=req, client_error=client_error)
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/connector.py", line 931, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host <IP_ADDRESS>:9000 ssl:None [Connect call failed ('<IP_ADDRESS>', 9000)]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/config/ledger.py", line 28, in fetch_genesis_transactions
    return await fetch(genesis_url, headers=headers)
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/utils/http.py", line 59, in fetch
    raise FetchError("Exceeded maximum fetch attempts") from e
aries_cloudagent.utils.http.FetchError: Exceeded maximum fetch attempts

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/commands/start.py", line 77, in init
    await startup
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/commands/start.py", line 27, in start_app
    await conductor.start()
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/core/conductor.py", line 144, in start
    await ledger_config(context, public_did)
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/config/ledger.py", line 43, in ledger_config
    ] = await fetch_genesis_transactions(context.settings["ledger.genesis_url"])
  File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/config/ledger.py", line 30, in fetch_genesis_transactions
    raise ConfigError("Error retrieving ledger genesis transactions") from e
aries_cloudagent.config.base.ConfigError: Error retrieving ledger genesis transactions

Shutting down

I checked the operation on macOS Catalina Version 10.15.3 .
The command I executed is:
$ cd docker
$ ./manage build
$ ./manage start
$ curl -X POST "http://localhost:5000/api/vc-configs" -H "accept: application/json" -H "X-Api-Key: controller-api-key" -H "Content-Type: application/json-patch+json" -d "{ \"id\": \"test-request-config\", \"subject_identifier\": \"email\", \"configuration\": { \"name\": \"Basic Proof\", \"version\": \"1.0\", \"requested_attributes\": [ { \"name\": \"email\", \"restrictions\": [] }, { \"name\": \"first_name\", \"restrictions\": [] }, { \"name\": \"last_name\", \"restrictions\": [] } ], \"requested_predicates\": [] }}"

Can you tell me if there are any mistakes in the steps I took?

This was my misunderstanding.
I Solved by starting VON Network.
https://github.com/bcgov/von-network#running-the-network-locally


reduce_by_key

Hello,
I'm looking for reduce_by_key algorithm. Is it somehow possible to obtain it using transform and reduce functions.
Kuba.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2227294-reduce_by_key?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github).

It can be closed, see https://github.com/boostorg/compute/pull/477.


docs: use ripper-tags as example value

Since the docs specifically provide an example for rubys file type.
ripper-tags provide excellent support for ruby.
This update emphasizes that ripper-tags should be
used as executable on ruby's filetype

I rebased your change so it looks like Github hasn't noticed, but it should now be merged! Thanks!


docs: add fixtures and i18n to project structure

Describe the changes you have made in this PR
Updated project structure
Link this PR to an issue
Fixes #2117
Checklist

[x] My code follows the style guidelines of this project and performed a self-review of my own code
[x] New and existing tests pass locally with my changes
[x] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

@bumi Can you check the description of the fields added to the project structure
│   ├── fixtures                # Reusable sample data for tests
│   ├── i18n                    # Translations for internationalization


Update config to allow showing secret values when marshaled

I have a deployment where a sidecar between the config-reloader and alertmanager loads and unmarshals a base configuration, extends it with more routes and receivers, and then marshals it back for the alertmanager.

However, the default Marshal implementations in the receivers hide all Secret and SecretURLs when marshaling the config back to a YAML. We have to duplicate all the receiver structs in our code to be able to switch them to plain strings and URLs.
I'd be helpful to be able to re-use the structs already here in the alertmanager.
This is already supported by some of the Prometheus common configs by using a global MarshalSecretValue here.
For now, I'm adding support for a MarshalSecretValue here as well. I think the Secret in this repo could also be replaced for the Secret in Prometheus common configs, but I'd like to try this first, as switching to the common Secret would be a longer PR.

I didn't notice that this was already discussed here: https://github.com/prometheus/alertmanager/issues/1985
I understand that the main blocker at the time was having consistency across all projects, but looks like this is something that can already be enabled in Prometheus configs


add script to download all remote layers

For use in production in case on-demand download turns out to be problematic during tenant_attach, or when we eventually introduce layer eviction.

Changes in the last few hours:

addressed review comments
added progress reporting (every 10 seconds)
added an option to configure the amount of concurrent download tasks created by the script

default: 1, since the download task inside the pageserver downloads all layers of a timeline concurrently

Thinking about that, do want to limit the concurrency inside the pageserver as well? If so, we'll need a PR for that.

@SomeoneToIgnore ?

Last thing that I'd like to add (not sure if worth the time investment):
the ability to feed a report JSON of a previous run as input into the script, so that it retries all tasks that previously failed. It would enable a fixpoint iteration like so:
- Suppose 20 out of 1000 tenants fail to download, we'd just want to run the script for those 20 tenants again.
- In the second run, 10 out of the 20 tenants succeed, 10 continue to have failures.
- Do a third run
- ...
- All tenants succeeded.
Why go through report json instead of a loop inside the script:

If user wants to change a knob, e.g. concurrency factor, they'd need to abort the current run, change the CLI argument, and resume. By going through the report.json, we can get that resume state.
If the script crashes mid-way, we can use the last report.json (=> guarantees forward progress)

So, do we want that feature in the script?

As discussed in Slack DMs, I'm handing this PR over to @LizardWizzard as he'll be the one who needs to use it in case on-demand download doesn't perform well enough after migrating the last pageservers to the new AWS account.
Work items left:

[ ] Address remaining review comments
[ ] Send concurrency limit value as request body, see https://github.com/neondatabase/neon/pull/3302#issuecomment-1384194674

The script won't work otherwise.

[ ] Merge this script into the repo after the migration project is done. We'll continue to have a maybe-need for this, at the very least until layer eviction is developed & stable.

I went through the list. Lets merge it even before migration completes. Otherwise it will be lost in the PR's list. It will be useful for some time as a runbook item in case problems with ondemand/eviction