How to change json version for prelaunchr?

Because currently, it requires JSON 1.7.7 Version. But that doesn't works with a recent version of Rails.
Please help..

The gemfile.lock is generated when you use bundle install. So whatever you change in there will be overwritten.


Make action button fixed position on web

Currently, on web you have to scroll to click action button if saved palettes are more. The library is not working as expected for the web.

https://github.com/croma-app/croma-react/pull/55


in combination with bevy_editor_pls it causes panic when game paused

Version
0.2.0
Operating system & version
Ubuntu 18.04
What you did
use leafwing_input_manager with bevy_editor_pls
run game
open bevy_editor_pls UI and pause game
What you expected to happen
game should pause and unpause without panicks
What actually happened
app panicked with the message:
thread 'Compute Task Pool (0)' panicked at 'The `Time` resource has never been updated!', /home/set/.cargo/registry/src/github.com-1ecc6299db9ec823/leafwing-input-manager-0.2.0/src/systems.rs:20:18

Additional information
I'm not sure should this be investigated here or on bevy_editor_pls side
here is a minimum gist that reproduces the problem https://gist.github.com/SET001/577880375132b6ebd76196af14f8e174

Fixed by #146 :D


[Bug]: Worker exits but jest process never finishes (continuation)

Version
29.4.3
Steps to reproduce

Clone my repo at git@github.com:juan-fernandez/test-jest-worker-killed-repro.git (thanks @gluxon for the inspiration!). See repo at https://github.com/juan-fernandez/test-jest-worker-killed-repro.
Run npm install
Run npm run test

Expected behavior
The process ends.
Actual behavior
The process hangs indefinitely
Additional context
This seems to be related to the bug described in https://github.com/facebook/jest/issues/13183 and fixed (maybe only partially) in https://github.com/facebook/jest/pull/13566. Also probably related to https://github.com/facebook/jest/issues/13864
The difference between https://github.com/juan-fernandez/test-jest-worker-killed-repro and https://github.com/gluxon/test-jest-worker-killed-repro (the original reproduction scenario) is that there are now more than one worker suddenly being killed.
From the looks of it, jest "runs out of workers" to run the suites and it just hangs forever:

Environment
  System:
    OS: macOS 13.2.1
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 16.17.0 - ~/.volta/tools/image/node/16.17.0/bin/node
    Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
    npm: 8.15.0 - ~/.volta/tools/image/node/16.17.0/bin/npm
  npmPackages:
    jest: ^29.4.3 => 29.4.3

Hey @juan-fernandez — This is a fantastic bug report. I was able to reproduce easily after cloning your repo.
Is this a new problem?
I was a bit worried I made things worse with my bug fix, but I do think this is an existing bug that the fix in https://github.com/facebook/jest/pull/13566 simply uncovered. Before the bug fix, the worker pool coordinator didn't recognize when child processes were killed at all.
Early hypothesis
The coordinator now does recognize killed workers and print an error message, but I think it's not performing any followup actions as a result. Specifically, I have a feeling it's not reassigning jobs that were delegated to the killed worker.
Setting maxWorkers=2
I noticed that there needs to be more tests present than the value of maxWorkers for the hanging to happen.
For debugging, I was able to simplify the repro by setting maxWorkers to 2 and running only 3 test files. As long as the killed worker runs first, I'm able to see consistent hanging. Similar to your theory @juan-fernandez, I think the simple-2.test.ts file below was assigned to run on the killed worker.

Possible Solutions
Assuming that hypothesis is correct, we need to either:

Spawn a new worker when one is killed.
Or more simply exit the entire test suite when any worker is killed.

I think option 1 makes more sense.
Timelines
I would like to come back and fix this, but need to wrap up a few other commitments first. If any Jest maintainers would like to take over, I'd definitely appreciate the help. Otherwise, I'll try to get a fix open as soon as possible.

seeing the exact same problem. In our scenario, the SIGKILL is sent by the linux OOMKiller, killing one of the jest child workers and jest will just hang forever

https://github.com/facebook/jest/pull/14015 fixes this, and seems like folks are okay with the approach.
I'll try to get it merged soon.

https://github.com/jestjs/jest/releases/tag/v29.6.0


Enhancement Request: Import from Google MyMaps

Google MyMaps has a KML download link, so it's already pretty easy to copy data from one to the other. But, you might want to consider making it even easier (just pasting in a URL like this: https://www.google.com/maps/d/u/0/viewer?mid=1mwyQdeN2QLa10fG2V82dKARKBnQ)

We're sorry, this project is not accepting feature requests.


Link closed workshop request to actual event

When a workshop request is accepted and becomes an event, the request is marked as closed.
If I go back to that workshop request, I get a notification that the request is closed.  I'd also like to see something like "This request was accepted as event (link/slug)."

There's a link between event request and event object, we should display it for accepted requests.


Create WorkExecutor.kt

move WorkService's execute function into a new class named WorkExecutor.kt

singleton
inject into WorkService

not doing this


Feature/scandisk on file

Please pull #112 first. this overlaps with some of it, so i've just put it on top of that.
Support ScanDisk on files.

Previously you needed to provide ScanDisk with a linux block device.
It would fail if provided a file.  Now, it will return a disk{}
structure that has AttachmentType of ATTACHFILE and DiskType
of DISKFILE.

All other information should be reasonably filled in.

@raharper  took your suggestion, ack?


Take frozen state into account when finishing trajectories.

Until now, the error response of an /finish_trajectory request for a
frozen trajectory was 'Trajectory ... is not created yet.'.
This is a lie. The new response is more accurate because the trajectory
is created, but it just can't be finished because it's frozen.

@wally-the-cartographer merge

Merge requested by authorized user cschuet. Merge queue now has a length of 2.


Map 961$i to vendor reference number

Map 961$i to vendor reference number with type of Internal vendor number.

https://github.com/folio-org/acq-models/blob/de612d54f94bca8eab6c637f7a7dcb67916b4ba7/mod-orders/schemas/composite_purchase_order.json#L118-L122
API Docs:
https://dev.folio.org/reference/api/#mod-orders
https://s3.amazonaws.com/foliodocs/api/mod-orders/p/order.html#orders_composite_orders_post
https://github.com/folio-org/acq-models/blob/de612d54f94bca8eab6c637f7a7dcb67916b4ba7/mod-orders/schemas/composite_po_line.json#L226-L230
composite-orders-schema
"vendorDetail": {
"description": "details related to the vendor of this purchase order line",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"instructions": {
"description": "special instructions for the vendor",
"type": "string"
},
"noteFromVendor": {
"description": "free-form notes from the vendor",
"type": "string"
},
"vendorAccount": {
"description": "the accound number on the vendor's end associated with this purchase order line",
"type": "string"
},
"referenceNumbers": {
"description": "Collection of reference number items",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Reference number item",
"type": "object",
"properties": {
"refNumber": {
"description": "a reference number for this purchase order line",
"type": "string"
},
"refNumberType": {
"description": "the reference number type",
"type": "string",
"enum": [
"Vendor continuation reference number",
"Vendor order reference number",
"Vendor subscription reference number",
"Vendor internal number",
"Vendor title number"
],
"javaEnums": [
"CONTINUATION_REF_NUMBER",
"ORDER_REF_NUMBER",
"SUBSCRIPTION_REF_NUMBER",
"INTERNAL_NUMBER",
"TITLE_NUMBER"
]
},
"vendorDetailsSource": {
"description": "the reference number type",
"type": "string",
"enum": [
"OrderLine",
"InvoiceLine"
],
"javaEnums": [
"ORDER_LINE",
"INVOICE_LINE"
]
}
},
"additionalProperties": false
},
"additionalProperties": false
}
},

MARC sample for this field: https://cornell.app.box.com/file/807448801003

This is an important change but not one we can implement until we have an Iris instance available to us (unless we want to test against a reference env), so let's set this aside for a bit. I'll assign to me until we can act on  it.

@fereira I discussed this with @starsplatter late yesterday and she confirmed that you can proceed now that cornell-training has been upgraded to Iris.
Calling your attention to this upstream commit in case you find it useful:
https://github.com/folio-labs/order-import-poc/commit/293deb5a3482aed0eb048641ab4624b27bacf1ab


[1.13] Ignore packet drops of type Failed to update or lookup TC buffer

First commit is a bit of a drive-by fixing some unwanted changes from https://github.com/cilium/cilium/pull/30010 in order to avoid conflicts with the second commit that ports https://github.com/cilium/cilium/pull/30202 to the downgrade scenario 1.13 -> 1.12.
cc @pchaigno

/test-backport-1.13

/test-1.16-4.19

(kicked a stuck vagrant)


Integrate SICK scanner into C# application

Hello,
We would like to use a LMS511-20100 PRO and integrate it into our Windows C# application. We have a few questions regarding the integration:

Is sick_scan_xd the recommended library or is there another SDK for C#?
Where can we find binaries of sick_scan_xd (x64 DLL)?
We plan to enable NTP in the scanner to get precise timestamps that can be synchronized with other sensors. What time base/format is the scanner using for the timestamps in the frames, how to convert them to C# DateTime structs in UTC timezone?

Any help pointing us in the right direction is appreciated.

Hello,
here some answers to your questions:

yes, sick_scan_xd is the recommended library. However, we currently do not provide explicit support for C#
we currently do not provide the library as pre-built binaries. But downloading the source code and building the DLL for Windows x64 should be straightforward with the instructions provided here: https://github.com/SICKAG/sick_scan_xd/blob/master/INSTALL-GENERIC.md
the time stamps provided by the driver follow the ROS format and are provided as seconds and nanoseconds since epoch

Thank you for your explanations.

Thanks for your feedback. I am closing the ticket for now. Please feel free to reopen the issue in case of further problems.


[test-triage] rom_e2e_boot_policy_valid_a_bad_b_good_test_unlocked0

Hierarchy of regression failure
Chip Level
Failure Description
Job chip_earlgrey_asic-sim-vcs_run_default killed due to: Exit reason: User job exceeded runlimit: User job timed out
Steps to Reproduce
GitHub Revision: 24fcee5a4
dvsim invocation command to reproduce the failure, inclusive of build and run seeds:
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i rom_e2e_boot_policy_valid_a_bad_b_good_test_unlocked0 --build-seed<PHONE_NUMBER> --fixed-seed<PHONE_NUMBER> --waves fsdb

Tests with similar or related failures

[ ] rom_e2e_boot_policy_valid_a_bad_b_good_test_unlocked0

This looks like the job just timed out - let's try this on a local system and then see if there is an underlying issue.

@luismarques - it might be worth getting an H cloud instance and seeing if you can re-run the tests. If it passes then it's purely a timeout issue and we will just need to increase the test timeouts. If there is a non timeout issue then this will need further investigation.

I've reproduced it. No termination at the 4 hour mark so far. Would it help if I shared the run.log or something else?

Fixed by https://github.com/lowRISC/opentitan/pull/18547


Test on Ubuntu 20.04

We dropped Ubuntu 20.04 when it was clear that libxml2 required a newer version of automake than available on Ubuntu 20.04 and it was just too much to handle at the time. As it turns out, that requirement is probably not a very hard requirement at all, likely the artifact of running autoupdate on a relatively new machine and voila, the required version is bumped to something quite new.
It seems to work just fine compiling and running after we rewrite the required version to what is available on Ubuntu 20.04.

@aagapi FYI, brought back Ubuntu 20.04 testing and added the necessary changes to our Makefile to get it to build...


[feat] rewind.ai data migration

basically transfer all data into screenpipe
probably doable, just need to reverse engineer their stuff, that'd be fun
https://kevinchen.co/blog/rewind-ai-app-teardown/

#400 #467 duplicates


expand test coverage - slurm compute resource

Codecov Report

Merging #45 (ffeec71) into main (23a1148) will increase coverage by 2.72%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
+ Coverage   83.36%   86.08%   +2.72%
==========================================
  Files          54       54
  Lines        3150     3148       -2
==========================================
+ Hits         2626     2710      +84
+ Misses        524      438      -86

Flag
Coverage Δ

unittests
86.08% <ø> (+2.72%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

python/dendro/compute_resource/_start_job.py
58.50% <ø> (+4.14%)
:arrow_up:

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Change to column-major loops and removing submodules

Hi Antoine,
I tried out your simulation and it is very impressive! (I also want to turn my simulations into open-source projects, and I took the chance to learn a bit from how you organise your simulation code.)
When playing around with the code, I found a nice way to speed up the simulation (without plots) by roughly a factor of ×1.6 (i.e. 4.79 sec → 2.79 sec on my computer). That's why I made this pull request in case you want to use it.

First change: The trick is to change the order of the for loops to access the arrays in column-major ordering. (The same trick could actually also improve the FORTRAN code).

There might be more places to do that change, so far I only focused on the file src/scheme.jl.

Second change: I also added the commands @inbounds and @simd, which made it just slightly faster. (Not sure if that is essential.)

The third change is less essential.
As far as I know, it is not necessary to add modules for each file, that just adds redundant compilations as included files are compiled several times.

One more change that might be useful: Avoiding the allocation for the flux_* variables reduces the number of allocations which is often helpful for long-running simulations.
Here are some timings (for short simulations)

# without plots:
# 4.795338 seconds (11.06 k allocations: 750.127 MiB, 2.11% gc time)
# + column-major (second commit):
# 2.790474 seconds (12.74 k allocations: 750.223 MiB, 2.09% gc time)
# + with cache (third commit):
# 2.458987 seconds (11.46 k allocations: 19.619 MiB)

Hi Steffen,
Thank you very much! This is indeed a very nice improvement. I know that Julia is colum-major ordering but I never realised that inverting the two loops could have such an influence, thanks for the tip. And you are right, it is important to reduce the number of allocations too.


Get channel_id from message.

Is it possible to get the channel from the incoming message according to https://api.slack.com/events/message ?
I want to filter actions on channels.

Currently, you can retrieve the channel id using
@listen_to('.+')
def catchall(message):
  print(message.body['channel'])

But please note it's the internal slack channel id, not the displayed name

This can probably be closed.


Question about text lowercase and remove punctuation

Hi @datquocnguyen ,
I'm using PhoBERT for finding semantic textual similarity between sentences. I'm wonder is it necessary to perform lowercase and remove punctuation in the input text before feeding to model?
Thank you so much.

Hi, I think you can try both strategies, with vs. without lowercasing and punctuational removal, to see which one provides better performance.


DCOS-51370: NodesTable: avoid re-renders

Testing

Open a nodes agents page with react dev tools and flash on rerender enabled and see that there are less then before this change
Trade-offs

Dependencies

Screenshots

Before
After
After - no render if no data change

I can't get the smoke test "displays one row on the table [00t]" to fail locally 🤔

:tada: This PR is included in version 2.78.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Adding new resource xSmaCredential

This change is

Review status: 0 of 5 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

DSCResources/MSFT_xSmaCredential/MSFT_xSmaCredential.psm1, line 26 [r1] (raw file):

    )

    $Set = $true

You are mixing Get-TargetResource and Test-TargetResource functions with this approach. I can see some value in refactoring the code but if that's the case, I propose a helper function. I was initially confused as what $set was supposed to do.

Tests/Unit/MSFT_xSmaCredential.Test.ps1, line 48 [r1] (raw file):

    It 'Get method returns set equal to false' {
        $result = Get-TargetResource @testParameters

Quoted 4 lines of code…
>             $result.name | Should Be $testParameters.Name
>             $result.WebServiceEndpoint | Should Be $testParameters.WebServiceEndpoint
>             $result.Set | Should Be 'False'
>         }

Right now, if the name is incorrect, we would not even test WebServiceEndpoint and Set values. To make the test count deterministic, you can put the Get-TargetResource call in the BeforeAll section of a Context block, and have three different It statements each testing one of the values.

Comments from Reviewable

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

Comments from Reviewable

Review status: 2 of 5 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

Comments from Reviewable

Thanks David.

Review status: 2 of 5 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

Comments from Reviewable

Reviewed 3 of 3 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

Comments from Reviewable

@dcrreynolds PSSA issues that are failing your tests have been fixed now in the dev branch. Can you please rebase/merge to pull in the changes from dev so that your tests will pass?

Their you go @kwirkykat, updated the issue in my test too.

@dcrreynolds It looks like the new xSmaCredential tests you wrote aren't getting run in AppVeyor because the file name is missing an 's' in Tests.
Can you please rename the file to MSFT_xSmaCredential.Tests.ps1?

Took care of all of the test. It seems I'm consistent about leaving the 's' off...

Reviewed 1 of 6 files at r1, 2 of 4 files at r2, 1 of 3 files at r3, 6 of 6 files at r4.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

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

Comments from Reviewable

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

Comments from Reviewable


Update image hash when Image file changes

When creating an Image for the first time, an ImageInfo object is created as well.
When an image is saved again, it does not update the ImageInfo object. This has the unintended side effect of not updating the image hash when an image file is changed.
This PR rectifies this by saving the associated ImageInfo object when the Image already exists.

👍


Add Music State change system

Temporary task, will update once template works.

Actual card now Issue #2.


Rgbscript test fix

Hello @mcallegari, I remember you raised a problem with old ECMAscript syntax like "let", "map", "Class" and inline functions. I couldn't reproduce it at that time, so we forgot about it and continued to develop mainly with v5 in mind.
Now, after the fresh 4.12.5 release, I wanted to test the scripts, but they did not show up, so I started to debug.
Finally, it brought me back to the ancient JS engine still used in v4 and I added a test in the rgbscripts_test.cpp to find the bad pieces. This patch now refactors the scripts, so they should work again in v4.
Sorry with the inconvenience in the surprising but well received v4 release that was just published.

Hi, thanks for this.
I just checked on v5 with Qt 5.15.2 and all the current scripts load correctly without this patch.
I think the problem was with v5 and Qt 5.14.2 but before your previous patches (maybe #1336 did the trick?)
I will include this patch too as it seems to help some more.


Styled-Components

Icon:
https://www.npmjs.com/package/styled-icons

would be great to be able to use this, as my project no longer uses .css files, rather .sc.js files.

I don't see an icon. Just an emoji:

Is that what you're referring to?

Yeah, would be great to be able to have icons to differentiate Styled-Components stylesheet from normal js files

Oooh, right. You want an icon for .sc.js files. 😄
Normally, I'd recommend you add this to your stylesheet instead, since it's just an emoji...
.icon[data-name$=".sc.js"]::before{
	content: "💅";
	font-family: inherit;
}

However, oddly enough, that exact graphic is used by their branding, so I guess it makes it more "official". I'll add a 2-colour version of it later. 😉


Add batch reverse geocoding task

Added a batch reverse geocoding task; works just like the batch geocoding one but checks for null address rather than lat and lon.

Thanks for this. However, a few things:

There is too much code duplication. A new .rake file is not needed and since the method does basically the same thing as the one that does forward geocoding, that code should be reused.
Your :not_reverse_geocoded scope hard codes the address column, which is not what everyone will be using to store addresses. Instead, look in the config to get the attribute name (like the :not_geocoded scope).

@alexreisner Good points, I threw this together last night to use it in a project of mine, I'll add a flag like --reverse instead.
Re: hardocoding column, I tried using geocoder_options[:address] but it returned null, even though it looks like the correct choice looking at the source code.

I believe it's :fetched_address (see: https://github.com/alexreisner/geocoder/blob/master/lib/geocoder/models/active_record.rb#L31)

Should look much better now. Added it to the README as well.


feat: [#8787] Update ARM deployment templates for generated samples to support Azure Bot resource

Description
This PR updates the ARM templates to use AzureBot instead of Bot Channel Registration to create resources. The changes include:

ResourceGroupId variable added in template-with-new-rg template.
WebAppService resource updated in template-with-new-rg template.
BotService resource updated in template-wit-new-rg and funcion-template-with-preexisting-rg templates.

Task Item
Fixes #8787
Screenshots
NodeJS EmptyBot working as expected using the template-with-new-rg template.

C# CoreBot working as expected using the template-with-new-rg template.

Function EmptyBot working as expected using the function-template-with-preexisting-rg template.

Coverage remained the same at 54.547% when pulling a2c8c7a23e99d9e910bf810225ca77d68af3393c on southworks/update/arm-templates-v2 into 9dfc18ebb2c7ffc5c683248d8d212b807a977912 on main.


LinAlgError - kriging

---------------------------------------------------------------------------
LinAlgError                               Traceback (most recent call last)
<ipython-input-17-913442dc464e> in <module>
      4
      5 ok_pred = model.ordinary_kriging(unknown_location=known_val[:-1],
----> 6                                  number_of_neighbours=16)
      7
      8 # Second - simple kriging

~.conda\envs\pyke\lib\site-packages\pyinterpolate\kriging\point_kriging\kriging.py in ordinary_kriging(self, unknown_location, number_of_neighbours, testanomalies)
     79         weights = np.r[predicted_with_ones_col, p_ones_row]
     80
---> 81         w = np.linalg.solve(weights, k)
     82         zhat = prepared_data[:, -2].dot(w[:-1])
     83

<array_function internals> in solve(*args, **kwargs)

~.conda\envs\pyke\lib\site-packages\numpy\linalg\linalg.py in solve(a, b)
    397     signature = 'DD->D' if isComplexType(t) else 'dd->d'
    398     extobj = get_linalg_error_extobj(_raise_linalgerror_singular)
--> 399     r = gufunc(a, b, signature=signature, extobj=extobj)
    400
    401     return wrap(r.astype(result_t, copy=False))

~.conda\envs\pyke\lib\site-packages\numpy\linalg\linalg.py in _raise_linalgerror_singular(err, flag)
     95
     96 def _raise_linalgerror_singular(err, flag):
---> 97     raise LinAlgError("Singular matrix")
     98
     99 def _raise_linalgerror_nonposdef(err, flag):

LinAlgError: Singular matrix

Quick fix (?):
https://stackoverflow.com/questions/10326015/singular-matrix-issue-with-numpy

I'll work on this issue. It is a good moment to implement the solution and logic behind it (tests and warnings).

[ ] Wrap-up the code within try: ... except: clause,
[ ] Check if the prediction matrix has only zeros (if so, then invoke warning but return 0 as a prediction and nan as a prediction error),
[ ] Use np.linalg.pinv to solve the problem.

User may control behavior and is able to use approximate solutions for the Kriging system. It should be analyzed further in the future, but for now, the issue can be closed.


Make descriptions possible

I would like to add a description to fields in the request.

Thoughts on how to implement?


feat: project search

We can now search projects using the q param to go through the following fields (easy to change using the GetSearchableFields queryable method):

name
weburl
pathwithnamespace
description

Closes #3

thank you @luccamendonca !


Parameterized JUnit test for issue #2876.

If there is a fix to be checked in for the issue, i think this PR should be merged.

To clarify: this test now passes when using Java-API-based-config [1: useXmlBasedConfig = false], and fails when using the same config sourced via XML [0: useXmlBasedConfig = true]. It's coded to fail at present when using XML-based config. Once the issue is fixed (& XML-based config implementation starts to work the same as Java-based one for disk persistence), the test will pass.
P.S. This is at present in the assertion at EhCacheProviderWithXMLOrJavaBasedConfigTest.java:46
(for > testEhCachePutAndGet[0: useXmlBasedConfig = true]). More assertions could be added in the future, but it makes the point i'm trying to make well enough at present.

The disk XML element takes a persistent attribute that defaults to false. It needs to be set to true for the cache to be persistent.

Makes sense: matches a method param in Java-API-based config. Thanks.


[KYUUBI #467] Set operation log root dir under target when running unit tests

Why are the changes needed?
When running unit tests, the operation logs should be placed under target.
How was this patch tested?

Will specify the operation log dir under target dir

thanks, merged to master for v1.2.0


why RTX3060 with Ampere architecture is not supported?

For ark v0.5.0, the file named docs/install.md shows all supported NVIDIA GPU include "Volta (CUDA >= 11.1) / Ampere (CUDA >= 11.1) / Hopper (CUDA >= 12.0)", but my RTX3060 (Ampere) with capability 8.6 cannot work with ark. Why? I also found below code in the file ark/ops/ops_common.cc, it means only GPU with capability 6.0/7.0/8.0/9.0 are supported, right?
pArchType op_arch_from_string(const std::string &arch) {
if (arch == "cuda_60") {
return OP_ARCH_CUDA_60;
} else if (arch == "cuda_70") {
return OP_ARCH_CUDA_70;
} else if (arch == "cuda_80") {
return OP_ARCH_CUDA_80;
} else if (arch == "cuda_90") {
return OP_ARCH_CUDA_90;
} else if (arch == "rocm_90a") {
return OP_ARCH_ROCM_90A;
} else if (arch == "rocm_942") {
return OP_ARCH_ROCM_942;
}
return OP_ARCH_UNKNOWN;
}

For different OPs, we have some manual tuned configurations to run these ops efficiently.  We only tune the configuration for some of the GPU architecture, others are not supported yet.


Support Naming

Add support for naming of tags and gateway.
This will help with displaying data in Grafana, as the name can be used as a tag.

Naming is now implemeneteed in main application v0.9.99.
To do:

[ ] Node-RED flows need to be adjusted to add name as tag.

Fully supported in v1.0.0


Added "TELLO, DONNA" party

Changes Unknown when pulling 39d3172d2a9ef572f292e8ef73ba36cbf091d113 on mbeveridge:patch-2 into ** on california-civic-data-coalition:master**.


openssl s_client starttls smtp connect -- need to be able to customize the EHLO domain

When using openssl to connect using SMTP TLS to a target server, openssl always uses the domain:
openssl.client.net
as the domain in the SMTP EHLO command (as seen by adding the -debug flag to openssl).  We are seeing email providers (e.g. fusemail) starting to reject STARTTLS and, indeed, SMTP connections in general when the EHLO domain name does not match the reverse DNS of the server that is connecting to them.  This is clearly against spec, but for anti-spam reasons.
We really need a flag for openssl where we can specify a custom domain name to use in SMTP EHLO commands.  We can pass this along and have these connections work properly.
Since it is a best practice to use the server hostname in EHLO and mail providers are being more and more strict about this and other facets of the connection to determine valid connections, the ability to customize this setting is needed.  At the very least, a flag that would cause openssl to use the hostname of the server instead of openssl.client.net would be perfectly fine -- as the hostname of the server is what is used by sendmail and postfix and other MTAs when acting as SMTP clients, anyway.

I noticed the same thing when I enabled the -debug flag but the hardcoded domain for me is different though -- it's mail.example.com.
Seems like it's possible to change it using the -name flag though according to the documentation at https://www.openssl.org/docs/manmaster/man1/s_client.html
I can confirm this works for me on OpenSSL 1.1.0g  2 Nov 2017 (distributed by Ubuntu 18.04.1 LTS as 1.1.0g-2ubuntu4.1)

This is already implemented as noted above. Closing.


[WIP] New theme

Replaced current theme with https://github.com/kippt/jekyll-incorporated adjusted to our needs.
Few screenshots:

Todo: find better cover photo.

the code block is not aligned with the text.

the previous theme was automatically putting a new line after the picture description. is it possible to have the same here?

@florina-muntenescu:

code is not aligned with a text by design - rather feature than a bug
new line after picture description added.


Solve N+1 problem And specs

In This Pull Request:🚀🎉💫
Make the N+1 problem solved when fetching all posts and their comments for a user.
Create specs for posts and users( index and show )
Before

After

STATUS: INVALID CODE REVIEW REQUEST 🛑 🛑
Hi @FuadNabi and @Loltolo-Lesapiti,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
Kindly remove this dummy text from your README.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

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


has_many :through broken

Serializing a has_many :through relation is currently broken and results in invalid SQL due to bad column references.
postgres_ext-serializers handles these like a normal has_many relations, but instead it needs to lookup the through_reflection and join the underlying join table to be able to lookup the proper ids.

This likely also affects has_and_belongs_to_many, which is just a special case of has_many :through.


easy-money case study showcase causing overflow

On some mobile/tablet resolutions, the showcase animation causes horizontal overflow
to reproduce, test the page on Chrome device mode, using "Nexus 7" resolution, in landscape mode (960px wide)

This is no longer an issue in the new version


Update core sources endpoints to use client pool

Short description
Following on from https://github.com/weaveworks/weave-gitops/issues/1600 and based on https://github.com/weaveworks/weave-gitops/pull/1556, this is to update the endpoints in core/server/sources to:

Pull a list of clients from the ctx
Loop over those and query each

Acceptance criteria
Everything which currently works should still work
I am off to make dinner now, feel free to flesh out if you want more.

blocked on #1777


Request for New badges Support in Version 2024.8！ Thanks！

Thank you for sharing this project, and the theme you've created is very elegant.！
I'm not sure if you've noticed, but in the HA 2024.8 update, new badges have been introduced.
Could you possibly add support for these badges?
Currently, when adding badges to your theme, the background does not become transparent.
Thanks,again!

Hi Iccox! I have fixed the background in Home Assistant:
https://github.com/home-assistant/frontend/pull/21667
The box shadow is also missing, but has been fixed by the HA team:
https://github.com/home-assistant/frontend/issues/21668
I'm not sure when these fixes will be released, but latest 2024.9 will have it.

Support was added in 2024.9. 2024.10 introduced some issues with the new headers, but I'm already working on fixing those.


Supporting archiving multiple services to one output folder

This involves having to do clean deduplicating/merging of archive folders.
I may want to add an info.json to each archive/12423423/ folder that contains the json link dump to aid deduplicating/parsing later on.

Done! Everyting now outputs to html/ instead of pocket/ or bookmarks/. https://github.com/pirate/bookmark-archiver/releases/tag/v0.0.3


Task17

Generate datatable from text file

@bhavi98
Task -17
Code verified.
Task -18
Code verified.


Full RasPi Support for CHIP

Needs

CHIP Stack Compilable on the RasPi
chip-tool running
chip-tool commissioning support
chip-tool cluster control support
Multiple Sample app Types (or easy ability to create them) for RasPi

Reasons
Our CHIP Certification Tool is going to be running on the RasPi.  We want to have simulated devices that are running on the RasPi.  We want to use chip-tool to do communication with them.

Some Related Issues:
#4061 #4062

Related:
#4334 - Deprecation of chip-tool

Related:
#4334 - Deprecation of chip-tool

Note: Need to somehow break this down into subtasks/projects.

Note: Need to somehow break this down into subtasks/projects.

Turned the initial list of Needs into subtasks.


added 2 attributes to database model

Made the following changes:

added 2 attributes like and dislike to database model
added corresponding code in serialize() and deserialize(), factory and some test cases

There are some test cases related to serialize() and deserialize in test_models.py
Could you please also update the new attributes into it, thanks!!

There are some test cases related to serialize() and deserialize in test_models.py Could you please also update the new attributes into it, thanks!!

Thank you for the reminder. I have added the corresponding test cases.

There are some test cases related to serialize() and deserialize in test_models.py Could you please also update the new attributes into it, thanks!!

Thank you for the reminder. I have added the corresponding test cases.

Merged. Thanks for the updates🙌


Missing apk packages in Dockerfile

Hello,
I got some errors building the image due to missing packages. After adding the following apk packages
alpine-sdk python3-dev libffi-dev
in Dockerfile
The image built fine (with some error though)

Hi gsaviane!
Interesting you needed to add those. Although there are some deprecation warnings, the image builds just fine without the dev-packages.
This line should install all the needed libs
RUN apk add --no-cache python3 py3-pip && ln -sf python3 /usr/bin/python
What OS/release are you using on your build host?

ARM Alpine image could indeed be the culprit. The x86 images build without problems.
I also noticed the persist function required some tlc, along with a few other bugs. This is my first Python project, learning as I go and did not expect someone other than me to actually use this tbh. So I bodged them and have them stashed in my local repo. Feel free to contribute though 👍.
My goal was to have this script running in a single light-weight container and don't require a hefty database to calculate the periodica consumption/production data. Once I started including metering logic, I quickly realised that it will become a huge mess of variables that will keep history for the various meters. Lots of copying of the same logic to read and write the latest reading, calculate the meter values, do rollovers and persisting the state in the json file in case the container got restarted.
As a result, I am overhauling the entire thing and structuring it in a class Meter, which has properties of custom type 'MeterPeriod' to keep track of the periodic consumption/production values.
class Meter:
    def __init__(self, name):
        self.name = name
        self.hour = MeterPeriod('{name}_hourly', 'H')
        self.day = MeterPeriod('{name}_daily', 'D')
        self.week = MeterPeriod('{name}_weekly', 'W')
        self.month = MeterPeriod('{name}_monthly', 'M')
        self.year = MeterPeriod('{name}_yearly', 'Y')

    def update_value(self, value):
        self.hour.update_value(value)
        self.day.update_value(value)
        self.week.update_value(value)
        self.month.update_value(value)
        self.year.update_value(value)

MeterPeriod will look something like this:
class MeterPeriod:
    def __init__(self, name, period, start_value=0):
        self.name = name
        self.period = period
        self.start_value = start_value
        self.counter = 0
        self.current_period = self.get_current_period(self)

    def get_current_period(self):
        date = datetime.now()
        period = self.period
        if period == 'H':
            rollover = date.hour
        elif period == 'D':
            rollover = date.day
        elif period == 'W':
            rollover = date.isocalendar()[1]
        elif period == 'M':
            rollover = date.month
        elif period == 'Y':
            rollover = date.year

        return rollover

    def update_value(self, value):
        period = self.get_current_period(self)
        if self.current_period != period:
            self.start_value = value

        self.counter = value - self.start_value

    def get_value(self):
        return round(self.counter, 3)

    def get_start_value(self):

Once a new telegram comes in, it then only needs to be set to the corresponding meter and all the historical data is automatically updated. At least, that's the theory. Still untested and might not even work.
I probably should create a separate branch for it.
Work and family leave very little time to work on this, hence this is still in development and not even ready for testing, let alone ready to push to the repo. Expect this to happen someday though.

dulfer,
my 2 cents. There were other projects in GitHub for reading from a P1 and
pushing into MQTT. The reason I chose yours is that the topics map closer
to what a smartgateway device does. Other projects are even lighter, they
just rely on systemd and python, no need of any container. But they had
their own custom mapping and you cannot find many ready-to-use chart
definitions for them (homeassistant or grafana). So far my system is pretty
stable. Daily reads are not working because of DatePersisten bug, but for
the other things I managed to make it work. One last note: are you sure
feeding so many topics where your agent performs differential calculation
is it worth the effort? Consider that grafana is quite good in doing
derivatives and so on a time series query. For instance, there is no need
to have the daily readings if you can query the time series over 1 day
buckets and produce the derivative. In my case I just use telegraf to feed
time series into influxDB and do the calc in grafana.
Kind regards
Giorgio
Il giorno mer 25 gen 2023 alle ore 17:29 dulfer @.***>
ha scritto:

ARM Alpine image could indeed be the culprit. The x86 images build without
problems.
I also noticed the persist function required some tlc, along with a few
other bugs. This is my first Python project, learning as I go and did not
expect someone other than me to actually use this tbh. So I bodged them and
have them stashed in my local repo. Feel free to contribute though 👍.
My goal was to have this script running in a single light-weight container
and don't require a hefty database to calculate the periodica
consumption/production data. Once I started including metering logic, I
quickly realised that it will become a huge mess of variables that will
keep history for the various meters. Lots of copying of the same logic to
read and write the latest reading, calculate the meter values, do rollovers
and persisting the state in the json file in case the container got
restarted.
As a result, I am overhauling the entire thing and structuring it in a
class Meter, which has properties of custom type 'MeterPeriod' to keep
track of the periodic consumption/production values.
class Meter:
def __init__(self, name):

    self.name = name

    self.hour = MeterPeriod('{name}_hourly', 'H')

    self.day = MeterPeriod('{name}_daily', 'D')

    self.week = MeterPeriod('{name}_weekly', 'W')

    self.month = MeterPeriod('{name}_monthly', 'M')

    self.year = MeterPeriod('{name}_yearly', 'Y')

def update_value(self, value):

    self.hour.update_value(value)

    self.day.update_value(value)

    self.week.update_value(value)

    self.month.update_value(value)

    self.year.update_value(value)

MeterPeriod will look something like this:
class MeterPeriod:
def __init__(self, name, period, start_value=0):

    self.name = name

    self.period = period

    self.start_value = start_value

    self.counter = 0

    self.current_period = self.get_current_period(self)

def get_current_period(self):

    date = datetime.now()

    period = self.period

    if period == 'H':

        rollover = date.hour

    elif period == 'D':

        rollover = date.day

    elif period == 'W':

        rollover = date.isocalendar()[1]

    elif period == 'M':

        rollover = date.month

    elif period == 'Y':

        rollover = date.year

    return rollover

def update_value(self, value):

    period = self.get_current_period(self)

    if self.current_period != period:

        self.start_value = value

    self.counter = value - self.start_value

def get_value(self):

    return round(self.counter, 3)

def get_start_value(self):

Once a new telegram comes in, it then only needs to be set to the
corresponding meter and all the historical data is automatically updated.
At least, that's the theory. Still untested and might not even work.
I probably should create a separate branch for it.
Work and family leave very little time to work on this, hence this is
still in development and not even ready for testing, let alone ready to
push to the repo. Expect this to happen someday though.
—
Reply to this email directly, view it on GitHub
https://github.com/dulfer/dsmr2mqtt/issues/1#issuecomment-1403888191,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5KCCXSGQJVCRPXDVHSH33WUFIF7ANCNFSM6AAAAAAUDHLJLA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Good comment and you are 100% right that other tools, like Grafana can do the calculations using time-series databases.
Heck, even the platform I am building this tool for (Home Assistant) is capable of keeping track of this data for me. And those tools are likely way better at it as well.
In this case, I am building something that works well with the Home Assistant DSMR Reader integration. Home Assistant visualises the data and also keeps track of historical values. I want to implement (most of) the sensors/topics defined in https://github.com/home-assistant/core/blob/dev/homeassistant/components/dsmr_reader/definitions.py.
My initial goal was to end with a scaled-down, single container, database less, variant on the DSMR Reader/Data Logger by sanderdw. I should keep is as simple as possible and just have it do the translation (and publishing) from DSMR to MQTT topics. But having it keep track of the basic periodic consumption data and publish it to MQTT will extend its usefulness. I definitely won't be keeping a full database, just the totals per time period and preserving the value at the start of a period to survive crashes and restarts.
🤔Perhaps it could use a switch or env var that signals to omit calculating, publishing and storing this period. That way the script will just convert and publish incoming telegrams to the mqtt broker.
I chose building it into a docker image as it fits the way I roll. For me, there are several benefits of running workloads in containers compared to manually installing and updating. With easy roll-back in case the update comes with unforeseen issues. The overhead of running docker is negligible and the advantages outweigh the drawbacks. In my case, I have this running on a 3-node k8s cluster.
Running the Py script directly on the host works fine as well of course, especially if you have a dedicated SBC like a pi available for this.

I pushed an update to consumption-tracking branch that uses the classes for keeping track of totals as described above.
Including a fix for the bug during data persistence to disk as well as some refactoring.
It also contains env vars that act as switches for publishing simple meter totals to mqtt. If time series data and periodic total calculations are done using another tool, this switch allows for less overhead in messages to the MQTT broker.
Is there anything specific I can add/remove for you?

Hello Dulfer,
sorry for the late reply, I got some days off. Thank you for asking,
however I changed direction and managed to start with a new agent more
suited to my use case. As I said, I prefer the agent to not take any
responsibility on persistence and run without a container. The agent that I
wrote is 100 Python lines in total, that fits better in my resource
constrained Raspberry pi. The agent takes only data from stdin as it is fed
through socat. In such a way it's even easier to test the module without a
serial connection.
One thing that you might find useful is to start the mqtt event loop in a
separate thread with client.loop_start(). Without it the reconnection
mechanism does not work, and if the broker is off for a while, your agent
cannot resume automatically once the broker shows up again.
Cheers!
Giorgio
Il giorno ven 3 feb 2023 alle ore 09:56 dulfer @.***>
ha scritto:

I pushed an update to consumption-tracking branch that uses the classes
for keeping track of totals as described above.
Including a fix for the bug during data persistence to disk as well as
some refactoring.
It also contains env vars that act as switches for publishing simple meter
totals to mqtt. If time series data and periodic total calculations are
done using another tool, this switch allows for less overhead in messages
to the MQTT broker.
Is there anything specific I can add/remove for you?
—
Reply to this email directly, view it on GitHub
https://github.com/dulfer/dsmr2mqtt/issues/1#issuecomment-1415391590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5KCCSUSH7QKFDRHQ33JVLWVTB2FANCNFSM6AAAAAAUDHLJLA
.
You are receiving this because you authored the thread.Message ID:
@.***>


backend.dockerfile # Install Poetry source not found

in backend.dockerfile # Install Poetry does not execute because
https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py
not found 404

as a workaround you can use the current installation script found under https://install.python-poetry.org/ as a replacement of the 'old' script (replace in Line 6 in backend.dockerfile and celeryworker.dockerfile).
After replacing it the backend was fine

Thank you @Pr0curo , i was having same issue, the workaround of updating backend.dockerfile and celeryworker.dockerfile with below works:
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python &&
cd /usr/local/bin &&
ln -s /opt/poetry/bin/poetry &&
poetry config virtualenvs.create false

thanks all, however, I'm getting this error when trying @pankajarm solution
  => [3/7] RUN curl -sSL https://install.python-poetry.org/ | POETRY_HOME=/opt/poetry python &&     cd /usr/local/bin &&     ln -s /opt/poetry/bin/poetry &&     poetry config virtualenvs.create false                     26.4s
failed to solve: executor failed running [/bin/sh -c npm run build]: exit code: 1

Try:
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/etc/poetry python3

in backend.dockerfile # Install Poetry does not execute because https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py not found 404

You need to change the link to (get-poetry.py  -> install-poetry.py ):
# Install Poetry
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | POETRY_HOME=/opt/poetry python && \
    cd /usr/local/bin && \
    ln -s /opt/poetry/bin/poetry && \
    poetry config virtualenvs.create false

See PRs https://github.com/tiangolo/full-stack-fastapi-postgresql/pull/524 and https://github.com/tiangolo/full-stack-fastapi-postgresql/pull/529 for the corrected files if you want to take a look.

Thanks! This was solved in https://github.com/tiangolo/full-stack-fastapi-postgresql/pull/480 🎉
And thanks @willingc! 🌯


QR designer options

Would be really great to have a QR designer option with basic forms. Similar to QRcode Monkey. But self hosted. Otherwise, great app. Just comments to boost it

I agree with you and I hope that you and other contributors can contribute to realize this feature!


Log Improvement: Rearrange Block cache stats dump in the log

Currently the Block cache entry stats are displayed per cf (in the log file).
In RocksDB, there are 2 identical lines displayed per CF. These report the aggregated block cache usage stats (these are not maintained per CF). However, they are duplicated for every CF in every DB stats dump. This may be misleading for users that may think the information is specific for a CF.
For example:
Block cache LRUCache@0x55977f0dd670#46392 capacity: 46.97 GB usage: 23.18 GB table_size: 8388608 occupancy:<PHONE_NUMBER> collections: 2 last_copies: 59 last_secs: 2.16855 secs_since: 240
Block cache entry stats(count,size,portion): DataBlock(5311394,20.48 GB,43.6113%) FilterBlock(1936,1.63 GB,3.46368%) IndexBlock(1934,553.03 MB,1.14985%) WriteBuffer(865,216.25 MB,0.449622%) Misc(1,0.00 KB,0%)

In Speedb, an additional lines is displayed (see #516 ). This third line contains data specific to the CF.
So, in Speedb's case, it would look like this:
Block cache LRUCache@0x55977f0dd670#46392 capacity: 46.97 GB usage: 23.18 GB table_size: 8388608 occupancy:<PHONE_NUMBER> collections: 2 last_copies: 59 last_secs: 2.16855 secs_since: 240
Block cache entry stats(count,size,portion): DataBlock(5311394,20.48 GB,43.6113%) FilterBlock(1936,1.63 GB,3.46368%) IndexBlock(1934,553.03 MB,1.14985%) WriteBuffer(865,216.25 MB,0.449622%) Misc(1,0.00 KB,0%)
Block cache [default]  DataBlock(1.76 GB) FilterBlock(140.59 MB) IndexBlock(46.68 MB)

This feature proposal is to have, per DB stats dump, a single, separate block cache stats section, that will look as follows (more or less, exact formatting will be determined later):
** Block Cache Stats **
Block cache LRUCache@0x55977f0dd670#46392 capacity: 46.97 GB usage: 1.74 GB table_size: 5216 occupancy:<PHONE_NUMBER> collections: 1 last_copies: 11 last_secs: 0.000739 secs_since: 0
Block cache entry stats(count,size,portion): FilterBlock(1500,1.31 GB,2.78624%) IndexBlock(1500,445.95 MB,0.9272%) WriteBuffer(1,256.00 KB,0.000519794%) Misc(2,4.06 KB,8.24868e-06%)
Block cache [default]  DataBlock(0.00 KB) FilterBlock(112.01 MB) IndexBlock(37.27 MB)
Block cache [column_family_name_000001]  DataBlock(0.00 KB) FilterBlock(112.12 MB) IndexBlock(37.32 MB)
Block cache [column_family_name_000002]  DataBlock(0.00 KB) FilterBlock(112.33 MB) IndexBlock(37.39 MB)
Block cache [column_family_name_000003]  DataBlock(0.00 KB) FilterBlock(110.72 MB) IndexBlock(36.84 MB)

So, the global data will be displayed once, followed by a single line per cf, and will replace the existing per-CF dump.

@udi-speedb Can I take this task if no one is working on it?

@udi-speedb Can I take this task if no one is working on it?

I apologize for the long delay in replying, I was away and now I am back.
As for working on this issue, you are welcome to take it. Thanks for that.

@udi-speedb Sorry for missing this issue. I'm not working on this issue for now, but I will do it soon.

Hi @udi-speedb I have a question about this. What if two columns are using the same block cache? should we print them twice? It may confuse users.

I am not sure I understand why there should be a confusion.
For example, in the following imaginary output I am showing 4 column families sharing the same cache:
** Block Cache Stats **
Block cache LRUCache@0x55977f0dd670#46392 capacity: 46.97 GB usage: 1.74 GB table_size: 5216 occupancy:<PHONE_NUMBER> collections: 1 last_copies: 11 last_secs: 0.000739 secs_since: 0
Block cache entry stats(count,size,portion): FilterBlock(1500,1.31 GB,2.78624%) IndexBlock(1500,445.95 MB,0.9272%) WriteBuffer(1,256.00 KB,0.000519794%) Misc(2,4.06 KB,8.24868e-06%)
Block cache [default]  DataBlock(0.00 KB) FilterBlock(112.01 MB) IndexBlock(37.27 MB)
Block cache [column_family_name_000001]  DataBlock(0.00 KB) FilterBlock(112.12 MB) IndexBlock(37.32 MB)
Block cache [column_family_name_000002]  DataBlock(0.00 KB) FilterBlock(112.33 MB) IndexBlock(37.39 MB)
Block cache [column_family_name_000003]  DataBlock(0.00 KB) FilterBlock(110.72 MB) IndexBlock(36.84 MB)

Today the last 4 lines (one per each cf) appear separated in the log.
The line just above these 4 lines is the one that shows the total for the block cache, and it appears once per (shared) block cache.

@udi-speedb Thanks for your explain. I misunderstood what issue described. Let me repeat your reply, correct if I was wrong.
For example, if CF0,CF1,CF2 are sharing the block cache B0 and CF3, CF3 are sharing B1, and what we want is:
Line 0: show the total for B0
Line 1: show CF0
Line 2: show CF1
Line 3: show CF2
Line 4: show the total for B1
Line 5: show CF3
Line 6: show CF4
And CF0+CF1+CF2 = Total size of B0, CF3+CF4 = Total size of B1
Is that right?

Hi,
Almost:

The Block cache may be shared by multiple db-s => cf0 + cf1 + cf2 will be the total size of B0 only if there isn't additional db-s in which cf-s are sharng B0.
There are 2 non-cf-specific lines per the entire block cache (B0 / B1 / ...):
there are actually 2 lines


Assertion Failed Wine Vulkan

Describe the bug
Fusion 360 Crashes when adjusting the window size.
To Reproduce
Steps to reproduce the behavior:

Setup Bottles with Fusion 360
Setup Identity Manager to sign into Fusion
Open a project
Adjust the window size by dragging a corner

Screenshots

Desktop (please complete the following information):

Version number of Autodesk Fusion 360: Default (Unknown as none of the menu items under profile opens)
Graphics card model + Graphics card driver: GA107M [GeForce RTX 3050 Ti Mobile]
Operating system: POPOS
Desktop environment: KDE Plasma
DXVK-2.4
Additional context
Everything else is a default setup on bottles

Is security boot disabled in your BIOS?
If not, then your NVIDIA drivers are not loading correctly and this is why such errors occur.


Work Package wp-ib.csv

Results of Phase 1
wp-ib-results.csv

Results of Phase 1
wp-ib-results.csv

I completed this work package.

Results of Phase 2
wp-ib-results.csv

Results of Phase 2
wp-ib-results.csv


Include arbitrary Actions and BuildParameters into the called Job.

Actions and BuildParameters can be added as additional parameters to the
build call.
Also added a convenience statement "withParam", which tries to map the
following statement to a BuildParameter (optionally with arguments).
Example: build("my-job", param1: "x", withParam.gitRevision)
Where git Revision is mapped to GitRevisionBuildParameters from
Git-Plugin.
This is especially useful to have the build-flow job as director, starting a whole chain of builds using the same revision.

@pauxus - using special map entries means those keys can conflict with actual job parameters.
however if we just forget syntax candy, why not overload the build method to accept a List of AbstractBuildParameters and Action ?
build("myjob",
  p1: "hallo",
  otherjob: job(build),
  [gitRevision, subversionRevision, new needFullBuildAction()]
)

@ndeloof - can you please elaborate on why varargs syntax would lock extensibility? What about method overloading?
Thank you.

Since I am currently looking for someone else to take over as a maintainer; I will not be the one merging this change. Please check http://jenkins-ci.org/pull-request-greeting.
Side note: I think introducing new features in this plugin is risky and takes away resources that could be better spent on the pipeline plugin.
For this reason I am closing this PR. Please feel free to reopen if you are interested in carrying on the flag.


Remove redundant Python 2.6 stuff

Same as https://github.com/requests/requests/pull/4326 but for the proposed/3.0.0 branch.
The good news is nearly everything was already in this branch from https://github.com/requests/requests/pull/4118, except for tidying up some OrderedDict compat stuff.
Also, pytest>=3.0.0 is required for the Python 3.3 build, otherwise:
py.test -n 8 --boxed --junitxml=report.xml
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.3.6/bin/py.test", line 11, in <module>
    sys.exit(main())
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/config.py", line 39, in main
    config = _prepareconfig(args, plugins)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/config.py", line 118, in _prepareconfig
    pluginmanager=pluginmanager, args=args)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/vendored_packages/pluggy.py", line 724, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/vendored_packages/pluggy.py", line 595, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/vendored_packages/pluggy.py", line 249, in _wrapped_call
    wrap_controller.send(call_outcome)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/helpconfig.py", line 28, in pytest_cmdline_parse
    config = outcome.get_result()
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/vendored_packages/pluggy.py", line 278, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/vendored_packages/pluggy.py", line 264, in __init__
    self.result = func()
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
    res = hook_impl.function(*args)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/config.py", line 861, in pytest_cmdline_parse
    self.parse(args)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/config.py", line 966, in parse
    self._preparse(args, addopts=addopts)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/config.py", line 927, in _preparse
    self.pluginmanager.load_setuptools_entrypoints("pytest11")
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/_pytest/vendored_packages/pluggy.py", line 501, in load_setuptools_entrypoints
    plugin = ep.load()
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/pkg_resources/__init__.py", line 2404, in load
    self.require(*args, **kwargs)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/pkg_resources/__init__.py", line 2427, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/pkg_resources/__init__.py", line 872, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (pytest 2.9.2 (/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages), Requirement.parse('pytest>=3.0.0'))

https://travis-ci.org/hugovk/requests/jobs/284048190
The other CI failures are related to cookies and also occur in latest master and fresh builds of proposed/3.0.0.

I've removed that commit and rebased onto current proposed/3.0.0 and update AUTHORS.rst on this branch.

We could also use a CHANGELOG entry stating that the OrderedDict import no longer exists in compat.py.

Is the changelog in https://github.com/requests/requests/blob/proposed/3.0.0/3.0-HISTORY.rst?

@hugovk yep, that'd be the place.

@nateprewitt CLI example updated and changelog added.

Alright, I think we're set here. Thanks for again for putting this together @hugovk!


Add new section with interesting articles and case studies

Project Name: N/A

Project URL: N/A

Project Description: N/A

Why it should be added to awesome-ble:

This PR contains suggestion to add new section with curated list of interesting articles and case studies related to BLE development as well as one of such articles.

[ ] At least 15 stars (if a GitHub project) N/A
[x] Updated README.md instead of README

thanks @fzy-github


Added functionalities to create policy and role

Added 2 files under the assets dir, which are the policy and iam role json files
Added the functionality or the creation of the policy and role
Added the role to instance profile

Was the script validated by running it?


perf(runtime-core): in defineAsyncComponent API，we should clear useless timer

What problem does this feature solve?
When we use defineAsyncComponent, when the resource is returned correctly, we can clear the delay timer and timeout timer.
That will reduce useless rendering
What does the proposed API look like?
When we go back to the correct resource or resource error, we should clear the delay timer and timeout timer

When we go back to the correct resource or resource error, we should clear the delay timer and timeout timer

When we go back to the correct resource or resource error, we should clear the delay timer and timeout timer

When reporting a bug always provide a reproduction https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro

When reporting a bug always provide a reproduction https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro


VW: Steer to zero, for large values of zero

Description
Resolves #30495.
Fix
Slightly increased Volkswagen default minSteerSpeed, from the effective global default of 0.3 m/s up to 0.4 m/s. Since we already considered 0.67 mph as "steer to zero", tweaked the doc generator to show the same for VW's 0.89 mph.
We could definitely do this only for the affected EPS rack-families, but we won't get EPS firmware for installs without comma power, and getting back 0.1 m/s doesn't seem worth adding any complexity. So, this will just apply to all VW.
Verification
Test-driven by affected users.
Route
Route: f39cf149898833ff/2024-02-15--17-27-50/0

jyoung8607 - I installed your branch with the fix in it last night and tested it, and it worked like a champ. Instead of causing the fault error when it pulls away from a stop and tries to turn, it displays "Steering unavailable under 1 mile per hour" or something similar and motors on.

Glad to hear it's functionally effective, but I intended for openpilot to stay silent (not alert about low speed) as well. There's one more alert I need to tweak. I'll try to push an update for that in the next couple days.

@dukeajuke Check for updates and try it again, it shouldn't display the low speed alert anymore.

@jyoung8607 I saw this PR and test this branch on my 2023 Kodiaq RS (Europe import to Taiwan). Kodiaq RS's EPS seems more critical than other VW cars. This it the route shared with you. thank you.
0bbe367c98fa1538/2024-02-19--06-44-48/0

@jyoung8607 I saw this PR and test this branch on my 2023 Kodiaq RS (Europe import to Taiwan). Kodiaq RS's EPS seems more critical than other VW cars. This is the route shared with you. thank you. 0bbe367c98fa1538/2024-02-19--06-44-48/0

This looks like a different set of conditions entirely. You were moving at nearly 6 km/h with a high steering angle, looks like the EPS refused to steer any further than the 130 degrees you manually steered it to and eventually faulted.
I'm sure we can deal with it somehow, but I'll need to see more examples to fully understand the triggering conditions. Can you open a separate issue, add this route to it, and then add some more examples as you're able to reproduce it?

@dukeajuke @Gyrohammer Have either of you tested the current version of this PR? Need your feedback to move forward.

@dukeajuke @Gyrohammer Have either of you tested the current version of this PR? Need your feedback to move forward.

Been testing for the past few days, everything seems to be working correctly.

Ready for review then!
The process_replay difference is expected, due to the updated minSteerSpeed parameter.
***** results for segment regen8BDFE7307A0|2023-10-30--23-19-36--0 *****
    controlsd
        ref: https://commadataci.blob.core.windows.net/openpilotci/regen8BDFE7307A0|2023-10-30--23-19-36--0_controlsd_7d25b1f7d0bd3b[506](https://github.com/commaai/openpilot/actions/runs/7922952955/job/21631686752?pr=31450#step:6:507)fa4e72ff893728894eb1a45.bz2
        new: /tmp/openpilot/openpilot/selfdrive/test/process_replay/fakedata/regen8BDFE7307A0|2023-10-30--23-19-36--0_controlsd_2d6a36ff6533c71bebd31bacc13c9f89f7286bfe.bz2

        carParams.minSteerSpeed: 2
    radard
    plannerd
    calibrationd
    dmonitoringd
    locationd
    paramsd
    ubloxd
    torqued

I did and responded with results. It fixed the problem but displays a message "Steering unavailable under 5 mph" when it tries to steer from a stop. Jason mentioned he may try to suppress the message.
Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------
From: Gyrohammer @.>
Date: 2/21/24 3:34 PM (GMT-05:00)
To: commaai/openpilot @.>
Cc: David Whapham @.>, Mention @.>
Subject: Re: [commaai/openpilot] VW: Steer to zero, for large values of zero (PR #31450)
@dukeajukehttps://github.com/dukeajuke @Gyrohammerhttps://github.com/Gyrohammer Have either of you tested the current version of this PR? Need your feedback to move forward.
Been testing for the past few days, everything seems to be working correctly.
—
Reply to this email directly, view it on GitHubhttps://github.com/commaai/openpilot/pull/31450#issuecomment-1957862411, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEJJEUF42QLEKG3RHM5YCVDYUZK47AVCNFSM6AAAAABDHWO5T6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJXHA3DENBRGE.
You are receiving this because you were mentioned.Message ID: @.***>

I did and responded with results. It fixed the problem but displays a message "Steering unavailable under 5 mph" when it tries to steer from a stop. Jason mentioned he may try to suppress the message.

We received that, and I pushed an update later that same day that should suppress it. Make sure you have the latest.

Good to review or still a WIP?

Functional and good to review. @sshane may have opinions on how the docs code was tweaked.

@jyoung8607 any higher and I think we'll have to show 1 mph in the docs :wink:


Rename variables in mogp_gpu to be consistent with the python implementation

I got some way towards this today, namely (no pun intended):

Ninput -> D
N -> n
xs -> inputs
ts -> targets
xnew -> testing

Possibly still to do (though also possibly not necessary):

update_theta -> fit
dloglik_dtheta -> logpost_deriv
invC -> invQ
invCts -> invQt


Add Rectangle

Rectangle is a fancy tool to move and resize widgets.

[x] Open Source
[x] Free Software

HI kyon45, You're definitely right. I use Rectangle every day. It's an awesome tool to use. Though there are other apps that accomplish the same thing, like Magnet, but Rectangle is free and open source.

has been added to the list
https://github.com/jaywcjlove/awesome-mac/blob/a5f53571c0d61c00cae76cfb46f539ddf3febe2c/README.md?plain=1#L971


Update config.yml

This is Kevin Downs, New Relic PMM. I updated this doc to change AWS VPC Flow Logs to Amazon VPC Flow Logs. I understand the URL/slug will remain the same.
Summary
A concise description of the changes being introduced. If you are submitting a PR for a
new quickstart please review the pre merge checklist section to validate this PR is ready for review.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you check your dashboard image quality? -  Do they look good?
[ ] Did you check that your alerts actually work?
[ ] Did you include an InstallPlan and Documentation reference?
[ ] Did you check your descriptive content for voice, tone, spelling and grammar errors?
[ ] Did you attach images of your dashboards to the PR so we can see them working?

Screenshots
Attach images of any visual changes, such as a dashboard here.

closing in favor of #1353


Some ledger stuff does not work anymore

PS F:> ark-client
C:\Users\Jarunik\AppData\Roaming\npm\node_modules\ark-client\index.js:222
async function populateLedgerAccounts() {
^^^^^^^^
SyntaxError: Unexpected token function
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:393:7)
at startup (bootstrap_node.js:150:9)

Interesting. Is async on the node_modules folder? Looks like no code has changed since 7th October. What node and npm version are you using? Could try another npm install

Oh well. Never mind. Might be just me.

Was it something I said @Jarunik? 😱 Was trying to help 😞

@alexbarnsley why you no help! 😞

i updated npm and nodejs and installed it again ... so now i have the same errors like in the still open issue.

Trying @boldninja 😞
Thanks @Jarunik I'll take a look at that issue later on today


Setting of Number of Threads for TFLite Interpreter API

System information

TensorFlow version (you are using): 2.4.1
Are you willing to contribute it (Yes/No): Yes

Describe the feature and the current behavior/state.
I am using TFLite  label image example - https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/examples/label_image/label_image.cc
In this example, We are setting number of threads at line number 238.
if (settings->number_of_threads != -1) {
    interpreter->SetNumThreads(settings->number_of_threads);
  }

Could you confirm whether the number of threads setting is needed or not ?
Do the user need to specify the number of threads compulsory ?
If not specified will it take max number of threads available ?
Will this change the current api?
No need of setting the number of threads in the workflow.
Who will benefit with this feature?
Users need not to manually set the number of threads if its set to max threads available.

If the number of threads are not specified then they will be implementation-defined and platform-dependent.
See https://www.tensorflow.org/lite/api_docs/java/org/tensorflow/lite/Interpreter.Options#public-interpreter.options-setnumthreads-int-numthreads


Error when loading the extension with the official duckdb binary!

When I follow the Readme to checkout and compile the extensions-template, I get binary of the quack extension under extension-template/build/release/extension/quack/quack.duckdb_extension. This extension can be successfully loaded and used with the duckdb build at the same time (extension-template/build/release/duckdb).
I currently build against the duckdb tag v0.9.1 (which is the default of the submodule currently). If I download the binary from https://github.com/duckdb/duckdb/releases/download/v0.9.1/duckdb_cli-linux-amd64.zip and use the duckdb binary used there I get the following error when I try to LOAD 'quack';:
D INSTALL 'quack.duckdb_extension';
D LOAD 'quack';
Error: Invalid Input Error: Initialization function "quack_init" from file "/home/jr/.duckdb/extensions/v0.9.1/linux_amd64_gcc4/quack.duckdb_extension" threw an exception: "INTERNAL Error: Missing DB manager"
D

I tried this with several Linux based build environments, and always have the same issue. I also have the same problem with a different custom extension. It works with the duckdb binary built at the same time with the extension, but does not work with the release version (most of the users have). This prevents distribution of the binary.
Any idea how to fix that?

hi @jrosskopf thanks for reporting. I can indeed reproduce this error.
The way DuckDB extensions are currently built means they are a quite sensitive to compiling with different toolchains / environments. For this reason, this repository includes preconfigured GitHub actions workflows to build your extensions with the same toolchain as DuckDB own distributed binaries: https://github.com/duckdb/extension-template/blob/main/.github/workflows/MainDistributionPipeline.yml.
These are actually run for every push to main branch of the extension template as you can see here https://github.com/duckdb/extension-template/actions/runs/6492558951. The results are uploaded to our nightly extensions bucket here. You can install this binary from all platforms using INSTALL quack FROM 'http://nightly-extensions.duckdb.org'; LOAD quack;
So to distribute your extension, we advise using the GH actions based CI defined in the template. Check out https://github.com/duckdb/duckdb_azure for an example of how we use it.
If you have any questions feel free to ping me directly on the duckdb discord

Thanks. I try that out, and give feedback.

@samansmink I changed my build process such that it resembles closely the process from template. Now it works for me with 0.9.2 as well as 0.91. I think we can close the issue.

@jrosskopf thats great to hear, thanks!


my bot not working any help ?

hello :D i try to install my discord bot but i have the same error token invalid i don't know why becose i put my discord token correct and y make 3 new discord token and new bot on devolopers site but say the same error any help ?

thanks for your bot ! :D

Hi @gabryah69,
It looks like you were trying to run the bot from this working directory:
C:\Users\gabri\Desktop\FS22-Discord-Bot-main\FS22-Discord-Bot\
But it looks like you were editing the .env.local in the directory above:
C:\Users\gabri\Desktop\FS22-Discord-Bot-main\.env.local
If you run the bot from C:\Users\gabri\Desktop\FS22-Discord-Bot-main\FS22-Discord-Bot\, you must edit C:\Users\gabri\Desktop\FS22-Discord-Bot-main\FS22-Discord-Bot\.env.local.
Similarly, if you run the bot from C:\Users\gabri\Desktop\FS22-Discord-Bot-main\, you must edit C:\Users\gabri\Desktop\FS22-Discord-Bot-main\.env.local.


Appservice doc nr

App serviced doc:
Under "More Resources", a link is added to help customers monitor the Azure Apps with New Relic.

@cephalin @rboucher

Can you both review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@rboucher Please let me know, if any additional information is required from me (for merging the PR).

HI Venkat.  The first changes have already been incorporated in another PR  (modifications of the partner article). The second changes to the appservice article.  I've communicated by email our policy to not include links to non-Microsoft material in core Microsoft docs unless it's core to the purpose of the article (required tool or migration articles for example.

#please-close


building-and-testing-ruby.md - remove wildcard, version, clarify x.0

Why:
The wildcard doesn't work in setup-ruby: https://github.com/ruby/setup-ruby/issues/251

What's being changed:
Docs on how to build and test with Ruby on GitHub Actions

Check off the following:

[ ] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Credits to @MSP-Greg for these changes!

@dentarg
Thanks so much for opening a PR! I'll get this triaged for review :zap:

Why:
The wildcard doesn't work in setup-ruby: ruby/setup-ruby#251
What's being changed:
Docs on how to build and test with Ruby on GitHub Actions
Check off the following:

[ ]  I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[ ]  For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ]  This pull request impacts the contribution experience

[ ]  I have added the 'writer impact' label
[ ]  I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Credits to @MSP-Greg for these changes!

Bangladesh

I also opened https://github.com/github/docs/issues/14764 to address this more generally

Please let us know if you are willing to make this change!

While I opened the PR I can't make those changes as the branch is owned by @MSP-Greg , but I'm sure he can make em'

Note that 2.10 will never exist as a Ruby version, and it's extremely unlikely there would be any X.10.Z version for Ruby.
So Float versions should just work for Ruby, and that's why I decided on this approach early on (it's also what TravisCI supported FWIW).
Unfortunately, the GitHub Actions YAML parser has this known bug https://github.com/actions/runner/issues/849 and there seems to be little effort to fix it.

@MSP-Greg are you able to do the requested change (https://github.com/github/docs/pull/13418#pullrequestreview-866701350)? If not, I can probably open up a new PR from my fork

@dentarg @skedwards88
I wrote this specifically directed towards Ruby users, and Ruby is often people's first coding language (bootcamps, Rails, etc).  Beginners are also unfamiliar with CI systems.  I didn't want to imply anything was wrong, just point out differences.
So, I'm happy with the PR.

@skedwards88 I made the requested changes in https://github.com/github/docs/pull/15240, please review that one instead

Closing in favor of https://github.com/github/docs/pull/15240


How to implement google and facebbok external providers in xamarin.android application using idsrv4

[ ] I read and understood how to enable logging

Issue / Steps to reproduce the problem
I am trying to implement external authentication in xamarin.android application using idsrv4, for that I have enabled google authentication in idsrv using this code -
app.UseGoogleAuthentication(new GoogleOptions
{
AuthenticationScheme = "Google",
SignInScheme = "Identity.External",
ClientId = xxx.apps.googleusercontent.com",
ClientSecret = "xxx"
});
But when I am trying to authorize using google It is giving me disallowed_useragent error.So how to cretae client id ,client secret for the android paltform in the google develper console and what is redirect url for android application.
I went through this link - https://github.com/IdentityModel/IdentityModel.OidcClient.Samples
but I am not getting how to set up that client.
Relevant parts of the log file
<log goes here>

Are you using an Android WebView to show the google login page? This might not be allowed anymore.
https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html
and
https://stackoverflow.com/questions/41801836/how-can-google-detect-a-request-is-from-a-webview

Thanks for the quick reply.
Is it possible to authenticate xamarin.android application using idsrv4 with google/facebook external login providers.
If there is any other way to do external authentication from xamarin.android using idsrv4 please suggest me.

You can't use a webview - use the system browser instead (Chrome custom tab).

Now I am using Chrome custom tab for log in using google.In that I am giving my machine IP address in the authority URL to connect my xamarin.android application to the idsrv4 project.
So my authority url is  - http://xxx.xxx.xx.xx:portnumber//
but when trying to open sign in page of the google it is giving me error -  Invalid_request
Invalid parameter value for redirect_uri:Raw Ip addresses not allowed:http://xxx.xxx.xx.xx:portnum/Signin-google.
My facebook login is working with web view If we have to use chrome custom tab for google authentication is it necessary to use same custom view for the facebook also ?

yes - read this spec please. This is not an IdentityServer issue:
https://tools.ietf.org/html/draft-ietf-oauth-native-apps-09


Is there a reason we do an explicit Mux compatibility check?

Bits.scala:788
  private[core] def typesCompatible[T <: Data](x: T, y: T): Boolean = {
    val sameTypes = x.getClass == y.getClass
    val sameElements = x.flatten zip y.flatten forall { case (a, b) => a.getClass == b.getClass && a.width == b.width }
    val sameNumElements = x.flatten.size == y.flatten.size
    sameTypes && sameElements && sameNumElements
  }

  private def doAggregateMux[T <: Data](cond: Bool, con: T, alt: T)(implicit sourceInfo: SourceInfo): T = {
    require(typesCompatible(con, alt), s"can't Mux between heterogeneous types ${con.getClass} and ${alt.getClass}")
    doMux(cond, con, alt)
  }

Is there a reason we have an explicit typesCompatible check, instead of just using connect semantics? I'm trying (once again) to refactor flatten/elements out of Data, because it really doesn't belong there.

Mux has to return (a new) something and the current implementation has to pick either con or alt to clone so it is simpler to explain mechanics if that arbitrary choice 'doesn't matter'.
Side note: Why is this in Bits.scala....

I can see why the type check is necessary now, but the element check seems like a case of bad abstraction boundaries (why does Mux get access to flatten?). It might make more sense to have a Aggregate.compatible(that) function (and something similar is probably already invoked in a strict connect check anyways).
Yeah, I think I'll try to move Mux out of Bits.scala.

Made consistent with everything else with the new clone supertype helpers.


I cannot get the modification time of the current file from the bottom status bar

What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
alacritty 0.13.2 (bb8ea18e)
yazi --debug output
Yazi
    Version: 0.3.3 (Arch Linux 2024-09-05)
    Debug  : false
    OS     : linux-x86_64 (unix)

Ya
    Version: 0.3.3 (Arch Linux 2024-09-05)

Emulator
    Emulator.via_env: ("xterm-256color", "")
    Emulator.via_csi: Ok(Unknown([]))
    Emulator.detect : Unknown([])

Adapter
    Adapter.matches: X11

Desktop
    XDG_SESSION_TYPE           : Some("wayland")
    WAYLAND_DISPLAY            : Some("wayland-0")
    DISPLAY                    : Some(":1")
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL              : Some("/usr/bin/zsh")
    EDITOR             : Some("nvim")
    VISUAL             : None
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None

Text Opener
    default: Some(Opener { run: "${EDITOR:=vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block  : Some(Opener { run: "${EDITOR:=vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : No such file or directory (os error 2)
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file             : 5.45
    ueberzugpp       : No such file or directory (os error 2)
    ffmpegthumbnailer: 2.2.3
    magick           : 7.1.1-38
    fzf              : No such file or directory (os error 2)
    fd               : 10.2.0
    rg               : 14.1.1
    chafa            : No such file or directory (os error 2)
    zoxide           : No such file or directory (os error 2)
    7z               : No such file or directory (os error 2)
    7zz              : No such file or directory (os error 2)
    jq               : 1.7.1

--------------------------------------------------
When reporting a bug, please also upload the `yazi.log` log file - only upload the most recent content by time.
You can find it in the "/home/yzl178me/.local/state/yazi" directory.

Did you try the latest nightly build to see if the problem got fixed?
No, and I'll explain why below
Describe the bug
I want to have a place where I can configure the information displayed in the bottom status bar. Thank you
Minimal reproducer
You can see it by opening yazi
Anything else?

Showing the filename at the bottom instead of the creation time is by design, but you can always change it yourself, there's some examples: https://yazi-rs.github.io/docs/tips
Closing as it's not even a bug

Thanks, I haven’t seen tips before


lxd crashes when attaching a HID device

Required information

Distribution: Ubuntu
Distribution version: Ubuntu 18.04.4 LTS
The output of "lxc info" - please see below.
Note: This is an install with lxd and lxc compiled from source tarball (https://linuxcontainers.org/downloads/lxd/lxd-3.21.tar.gz), following instructions on https://github.com/lxc/lxd/.

Kernel version: 5.3.0-40-generic #32~18.04.1-Ubuntu SMP
LXC version: 3.21
LXD version: 3.21
Storage backend in use: zfs

Issue description
lxd daemon crashes when a HID device (e.g. a mouse) is attached to the machine, either directly or by using a KVM switch. The deamon is restarted by systemd. Containers continue running unaffected.
Report of a very similar issue, likely the same bug, against lxd 3.20 in Funtoo:
https://bugs.funtoo.org/browse/FL-6991
User comment about this bug in lxd 3.21:
https://bugs.funtoo.org/browse/FL-6991#comment-44583
Steps to reproduce
Reproducible: always

Start lxd: systemctl start lxd
Plug a USB mouse into the machine
Look at /var/log/syslog (see below for a log excerpt)

Information to attach
/var/log/syslog
Mar  3 15:55:42 bear kernel: [372215.593162] usb 1-10: new low-speed USB device number 16 using xhci_hcd
Mar  3 15:55:42 bear kernel: [372215.745467] usb 1-10: New USB device found, idVendor=046d, idProduct=c077, bcdDevice=72.00
Mar  3 15:55:42 bear kernel: [372215.745472] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar  3 15:55:42 bear kernel: [372215.745475] usb 1-10: Product: USB Optical Mouse
Mar  3 15:55:42 bear kernel: [372215.745478] usb 1-10: Manufacturer: Logitech
Mar  3 15:55:42 bear kernel: [372215.751226] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:046D:C077.000F/input/input17
Mar  3 15:55:42 bear kernel: [372215.751363] hid-generic 0003:046D:C077.000F: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:14.0-10/input0
Mar  3 15:55:42 bear lxd[15027]: panic: strings: negative Repeat count
Mar  3 15:55:42 bear lxd[15027]: goroutine 103 [running]:
Mar  3 15:55:42 bear lxd[15027]: strings.Repeat(0x134d7d7, 0x1, 0xffffffffffffffff, 0xc42045e01c, 0x4)
Mar  3 15:55:42 bear lxd[15027]: #011/usr/lib/go-1.10/src/strings/strings.go:538 +0x1c7
Mar  3 15:55:42 bear lxd[15027]: main.deviceNetlinkListener.func1.2(0xc42045e032, 0x5, 0x4, 0xc42045e01c, 0x4)
Mar  3 15:55:42 bear lxd[15027]: #011/home/maciej/lxd/lxd-3.21/_dist/src/github.com/lxc/lxd/lxd/devices.go:256 +0x4c
Mar  3 15:55:42 bear lxd[15027]: main.deviceNetlinkListener.func1(0x800, 0x1b, 0xc4201e8960, 0xc4201dc540, 0xc4201dc5a0, 0xc4201dc600)
Mar  3 15:55:42 bear lxd[15027]: #011/home/maciej/lxd/lxd-3.21/_dist/src/github.com/lxc/lxd/lxd/devices.go:266 +0x844
Mar  3 15:55:42 bear lxd[15027]: created by main.deviceNetlinkListener
Mar  3 15:55:42 bear lxd[15027]: #011/home/maciej/lxd/lxd-3.21/_dist/src/github.com/lxc/lxd/lxd/devices.go:96 +0x226
Mar  3 15:55:42 bear systemd[1]: lxd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar  3 15:55:42 bear systemd[1]: lxd.service: Failed with result 'exit-code'.
Mar  3 15:55:43 bear systemd[1]: lxd.service: Service hold-off time over, scheduling restart.
Mar  3 15:55:43 bear systemd[1]: lxd.service: Scheduled restart job, restart counter is at 8.
Mar  3 15:55:43 bear systemd[1]: Stopped LXD - main daemon.
Mar  3 15:55:43 bear systemd[1]: lxd.service: Found left-over process 23654 (lxd) in control group while starting unit. Ignoring.
Mar  3 15:55:43 bear systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar  3 15:55:43 bear systemd[1]: Starting LXD - main daemon...
Mar  3 15:55:43 bear systemd[1]: lxd.service: Found left-over process 23654 (lxd) in control group while starting unit. Ignoring.
Mar  3 15:55:43 bear systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar  3 15:55:43 bear lxd[24959]: t=2020-03-03T15:55:43-0600 lvl=warn msg=" - Couldn't find the CGroup blkio.weight, I/O weight limits will be ignored"
Mar  3 15:55:43 bear systemd[1]: Started LXD - main daemon.
/var/log/lxd/lxd.log
Nothing interesting, these messages are from the restart after the crash. No messages from the crash itself.
t=2020-03-03T15:55:43-0600 lvl=info msg="LXD 3.21 is starting in normal mode" path=/var/lib/lxd
t=2020-03-03T15:55:43-0600 lvl=info msg="Kernel uid/gid map:"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - u 0 0<PHONE_NUMBER>"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - g 0 0<PHONE_NUMBER>"
t=2020-03-03T15:55:43-0600 lvl=info msg="Configured LXD uid/gid map:"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - u 0<PHONE_NUMBER>6"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - g 0<PHONE_NUMBER>6"
t=2020-03-03T15:55:43-0600 lvl=info msg="Kernel features:"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - netnsid-based network retrieval: yes"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - uevent injection: yes"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - seccomp listener: yes"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - seccomp listener continue syscalls: yes"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - unprivileged file capabilities: yes"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - cgroup layout: hybrid"
t=2020-03-03T15:55:43-0600 lvl=warn msg=" - Couldn't find the CGroup blkio.weight, I/O weight limits will be ignored"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - shiftfs support: yes"
t=2020-03-03T15:55:43-0600 lvl=info msg="Initializing local database"
t=2020-03-03T15:55:43-0600 lvl=info msg="Starting /dev/lxd handler:"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - binding devlxd socket" socket=/var/lib/lxd/devlxd/sock
t=2020-03-03T15:55:43-0600 lvl=info msg="REST API daemon:"
t=2020-03-03T15:55:43-0600 lvl=info msg=" - binding Unix socket" inherited=true socket=/var/lib/lxd/unix.socket
t=2020-03-03T15:55:43-0600 lvl=info msg="Initializing global database"
t=2020-03-03T15:55:43-0600 lvl=info msg="Initializing storage pools"
t=2020-03-03T15:55:43-0600 lvl=info msg="Initializing networks"
t=2020-03-03T15:55:43-0600 lvl=info msg="Pruning leftover image files"
t=2020-03-03T15:55:43-0600 lvl=info msg="Done pruning leftover image files"
t=2020-03-03T15:55:43-0600 lvl=info msg="Loading daemon configuration"
t=2020-03-03T15:55:43-0600 lvl=info msg="Started seccomp handler" path=/var/lib/lxd/seccomp.socket
t=2020-03-03T15:55:43-0600 lvl=info msg="Pruning expired images"
t=2020-03-03T15:55:43-0600 lvl=info msg="Done pruning expired images"
t=2020-03-03T15:55:43-0600 lvl=info msg="Pruning expired container backups"
t=2020-03-03T15:55:43-0600 lvl=info msg="Done pruning expired container backups"
t=2020-03-03T15:55:43-0600 lvl=info msg="Updating instance types"
t=2020-03-03T15:55:43-0600 lvl=info msg="Done updating instance types"
t=2020-03-03T15:55:43-0600 lvl=info msg="Expiring log files"
t=2020-03-03T15:55:43-0600 lvl=info msg="Done expiring log files"
Output of lxc info
config:
images.auto_update_interval: "0"
api_extensions:

storage_zfs_remove_snapshots
container_host_shutdown_timeout
container_stop_priority
container_syscall_filtering
auth_pki
container_last_used_at
etag
patch
usb_devices
https_allowed_credentials
image_compression_algorithm
directory_manipulation
container_cpu_time
storage_zfs_use_refquota
storage_lvm_mount_options
network
profile_usedby
container_push
container_exec_recording
certificate_update
container_exec_signal_handling
gpu_devices
container_image_properties
migration_progress
id_map
network_firewall_filtering
network_routes
storage
file_delete
file_append
network_dhcp_expiry
storage_lvm_vg_rename
storage_lvm_thinpool_rename
network_vlan
image_create_aliases
container_stateless_copy
container_only_migration
storage_zfs_clone_copy
unix_device_rename
storage_lvm_use_thinpool
storage_rsync_bwlimit
network_vxlan_interface
storage_btrfs_mount_options
entity_description
image_force_refresh
storage_lvm_lv_resizing
id_map_base
file_symlinks
container_push_target
network_vlan_physical
storage_images_delete
container_edit_metadata
container_snapshot_stateful_migration
storage_driver_ceph
storage_ceph_user_name
resource_limits
storage_volatile_initial_source
storage_ceph_force_osd_reuse
storage_block_filesystem_btrfs
resources
kernel_limits
storage_api_volume_rename
macaroon_authentication
network_sriov
console
restrict_devlxd
migration_pre_copy
infiniband
maas_network
devlxd_events
proxy
network_dhcp_gateway
file_get_symlink
network_leases
unix_device_hotplug
storage_api_local_volume_handling
operation_description
clustering
event_lifecycle
storage_api_remote_volume_handling
nvidia_runtime
container_mount_propagation
container_backup
devlxd_images
container_local_cross_pool_handling
proxy_unix
proxy_udp
clustering_join
proxy_tcp_udp_multi_port_handling
network_state
proxy_unix_dac_properties
container_protection_delete
unix_priv_drop
pprof_http
proxy_haproxy_protocol
network_hwaddr
proxy_nat
network_nat_order
container_full
candid_authentication
backup_compression
candid_config
nvidia_runtime_config
storage_api_volume_snapshots
storage_unmapped
projects
candid_config_key
network_vxlan_ttl
container_incremental_copy
usb_optional_vendorid
snapshot_scheduling
container_copy_project
clustering_server_address
clustering_image_replication
container_protection_shift
snapshot_expiry
container_backup_override_pool
snapshot_expiry_creation
network_leases_location
resources_cpu_socket
resources_gpu
resources_numa
kernel_features
id_map_current
event_location
storage_api_remote_volume_snapshots
network_nat_address
container_nic_routes
rbac
cluster_internal_copy
seccomp_notify
lxc_features
container_nic_ipvlan
network_vlan_sriov
storage_cephfs
container_nic_ipfilter
resources_v2
container_exec_user_group_cwd
container_syscall_intercept
container_disk_shift
storage_shifted
resources_infiniband
daemon_storage
instances
image_types
resources_disk_sata
clustering_roles
images_expiry
resources_network_firmware
backup_compression_algorithm
ceph_data_pool_name
container_syscall_intercept_mount
compression_squashfs
container_raw_mount
container_nic_routed
container_syscall_intercept_mount_fuse
container_disk_ceph
virtual-machines
image_profiles
clustering_architecture
resources_disk_id
storage_lvm_stripes
vm_boot_priority
unix_hotplug_devices
api_filtering
instance_nic_network
clustering_sizing
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
tls
environment:
addresses: []
architectures:

x86_64
i686
certificate: |
-----BEGIN CERTIFICATE-----
[redacted]
-----END CERTIFICATE-----
certificate_fingerprint: [redacted]
driver: lxc
driver_version: 3.0.3
kernel: Linux
kernel_architecture: x86_64
kernel_features:
netnsid_getifaddrs: "true"
seccomp_listener: "true"
seccomp_listener_continue: "true"
shiftfs: "true"
uevent_injection: "true"
unpriv_fscaps: "true"
kernel_version: 5.3.0-40-generic
lxc_features:
cgroup2: "false"
mount_injection_file: "false"
network_gateway_device_route: "false"
network_ipvlan: "false"
network_l2proxy: "false"
network_phys_macvlan_mtu: "false"
network_veth_router: "false"
seccomp_notify: "false"
project: default
server: lxd
server_clustered: false
server_name: bear
server_pid: 24959
server_version: "3.21"
storage: zfs
storage_version: 0.7.5-1ubuntu16.8

@brauner