Remove Spring Boot 1 integration modules

Motivation:
Spring Boot 3 has been released and we added new modules for Spring Boot 3 #4574. Spring also stopped support for Spring Boot 1 a long time ago. https://spring.io/blog/2018/07/30/spring-boot-1-x-eol-aug-1st-2019 See #4651 for the details
Modifications:

Remove boot1-autoconfigure and boot1-starter modules

Result:

You no longer use Spring 1 integration with the latest Armeria version.
Closes #4651

Updated Spring Boot 3 version to 3.0.5


fix: update cache parameters to enable local model storage

updated cache parameters in loaders to reach model downloader
added custom demucs script to allow configuring cache dir
added /models/ to .gitignore to ignore downloaded models
fixes: #234, #218, #100

usage:
from audiocraft.models import MusicGen
from audiocraft.models import MultiBandDiffusion
import torch
USE_DIFFUSION_DECODER = False
CACHE_DIR = 'models'

# Using small model, better results would be obtained with `medium` or `large`.
model = MusicGen.get_pretrained('facebook/musicgen-small', cache_dir=CACHE_DIR)
if USE_DIFFUSION_DECODER:
    mbd = MultiBandDiffusion.get_mbd_musicgen(cache_dir=CACHE_DIR)

usage:
from audiocraft.models import MusicGen
from audiocraft.models import MultiBandDiffusion
import torch
USE_DIFFUSION_DECODER = False
CACHE_DIR = 'models'
Using small model, better results would be obtained with medium or large.
model = MusicGen.get_pretrained('facebook/musicgen-small', cache_dir=CACHE_DIR)
if USE_DIFFUSION_DECODER:
mbd = MultiBandDiffusion.get_mbd_musicgen(cache_dir=CACHE_DIR)
@0xlws  where is this located on the audiocraft? what folder, and whats the name of the file? do we need to replace a specific line there? or just add that?

Thanks. We would rather not add more complex behavior in the model API for now and these cache dir location can be controlled by environment variables:

The AudioCraft models can be downloaded at a custom location specifying the AUDIOCRAFT_CACHE_DIR as mentioned in the README.
For Demucs the download location can be controlled as any other model available through the torch hub, setting the TORCH_HOME variable.
Finally, for the other models imported from Hugging Face transformers library, you should refer to their documentation.

test

@JadeCopet @adefossez big Thanks for this amazing repo.
i just now tried using the global variable (i wasnt handy with Python env vars), and it works for the musicgen model,
but again the t5 lm still goes into the .cache.
in point 3 you mention 'other models', not sure but i guess you were referring to that t5 lm.
i went over the huggingface page and could not find anything clear related...
the way it was solved was by 'simply' passing in the cache_dir variable.

instead of passing it in at the root call we can also use the env var instead as such before these lines:
    if cache_dir is None:
        cache_dir = os.environ.get('AUDIOCRAFT_CACHE_DIR', None)

and pass it as such. this way the language model gets stored in the same specified folder.
id love to hear your thoughts

is this related to my problem @0xlws ?

@0xlws  where is this code located on the folder ?
if cache_dir is None:
cache_dir = os.environ.get('AUDIOCRAFT_CACHE_DIR', None)

please help

@nel1991

is this related to my problem @0xlws ?

yes but youre experiencing issues even after following the same instructions i used, which work in my case and still give errors in your case.

@0xlws where is this code located on the folder ? if cache_dir is None: cache_dir = os.environ.get('AUDIOCRAFT_CACHE_DIR', None)

as @JadeCopet mentioned the use of the env vars, i took the existing implementation from:
https://github.com/facebookresearch/audiocraft/blob/5ecdc68ef7a442ed81b6d316fc5029b5a2c16290/audiocraft/models/loaders.py#L44
actual function being on line 34.
so i would also advice you to use the env vars.
in the collab cell i ran:
import os

os.environ['AUDIOCRAFT_CACHE_DIR'] = 'models'
os.environ['TORCH_HOME'] = 'models'

which also created the models folder and stored the models, t5 model was still being written inside the .cache folder.
so in your case this may not be solved as it will still try to write to your unwritable .cache folder.
thats why i still propose to set the cache for the model in the function using the same env var instead.

under model/loaders.py

under demos\musicgen_app.py

is the code correct on the top?
im still getting an error:

@nel1991 i notice youre still using my repo, i may have opened a can of worms for you.
i just updated my repo to align again with the main repo, and using the env vars. i tested it and it works the same.
please make sure to update the latest changes, the ROOT = Path... ... (on lines 31 - 36) will be removed if updated.


Adjust gitea doctor --run storages to check all storage types

The doctor check storages currently only checks the attachment storage. This PR adds some basic garbage collection functionality for the other types of storage.
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

This is part of implementing garbage collection for LFS in #7045

Also related with #20514


NuttX work towards Werror

I got tired of all the warnings and unnecessary output that fly by ignored in a typical build. Fairly often I have to help someone locate the cause of a build failure, so I'm trying to make it as obvious as possible.
This PR syncs up the warnings of all nuttx-configs (nuttx-configs/PX4_Warnings.mk) and ignores the current warnings. If we merge https://github.com/PX4/NuttX/pull/70 Werror can be enabled and they can be slowly re-enabled if desired. There shouldn't be any actual changes to the resulting Firmware.

Can you touch a typical file (e.g. the FW controller) and share the incremental output of this vs. the current output?

Incremental is similar. This is mostly about the amount of distracting output on travis-ci with 6 NuttX builds and enabling Werror.
I'm using ninja and have GIT_SUBMODULES_ARE_EVIL=1
Fresh full build, incremental build with no work, then incremental with fw_att_control_main.cpp change.
This: https://gist.github.com/dagar/7e3ed448e3db61ad5766d79e1d453631
Master: https://gist.github.com/dagar/f23bb70f973b4faa767241b8db9a407d

The build for mindpx-v2 was broken, but no one noticed. One example of why little things like this can be important.

You can now use make check to build all the same configurations and run the same tests as travis-ci.

Thanks @nicolaerosia


Issue while adding custom blobstore client. bosh1 does not reognize the custom blobstore

Issue:   https://github.com/cloudfoundry/cf-release/issues/1224 while uploading the release using bosh2 even with out custom blobstore. bosh1 commands refuse to work with custom blobstore
I have added the new 'foo' cli in bosh (https://github.com/cloudfoundry/bosh/blob/master/src/bosh-director/lib/bosh/blobstore_client/client.rb) .
diff --git a/src/bosh-director/lib/bosh/blobstore_client/client.rb b/src/bosh-director/lib/bosh/blobstore_client/client.rb
index 4b26411..45c18da 100644
--- a/src/bosh-director/lib/bosh/blobstore_client/client.rb
+++ b/src/bosh-director/lib/bosh/blobstore_client/client.rb
@@ -1,13 +1,13 @@
module Bosh
module Blobstore
class Client
- PROVIDER_NAMES = %w[local s3cli gcscli davcli]
+ PROVIDER_NAMES = %w[local foocli s3cli gcscli davcli]
I have implemented 4 methods #create_file, #delete_object(id) , #object_exists?(id), #get_file(id, file) as mentioned in base.rb
as per http://www.rubydoc.info/gems/blobstore_client/1.3033.0/Bosh/Blobstore/SimpleBlobstoreClient
diff --git a/src/bosh-director/lib/bosh/director.rb b/src/bosh-director/lib/bosh/director.rb
index 973fec9..642c3fd 100644
--- a/src/bosh-director/lib/bosh/director.rb
+++ b/src/bosh-director/lib/bosh/director.rb
+Bosh::Blobstore.autoload(:FoocliBlobstoreClient, 'bosh/blobstore_client/foocli_blobstore_client')
s3cli and gcscli are based on cli commands . but I have not written any executable for this .
Hope that is fine as long as I am implementing those 4 methods.
I have provided the credential details in config/private.yml and config/final.yml as per http://bosh.io/docs/reference/blobs.html ,
I am confused to make the changes in jobs/director/templates/director.yml.erb.erb.
-- Any where can I see the changes how does it looks like for simpleBlobstoreClient for this erb file ?
-- Any missing piece ?
none of the bosh1 commands refuse to work. Errors out as
Cannot initialize blobstore: Unknown client provider 'foo', available providers are: ["dav", "simple", "s3", "local", "s3cli"]
bosh2 create-release for cf works but upload-release fails  . Erros out as
15:25:17 | Error: Missing template file 'newrelic.yml.erb' for job 'cloud_controller_clock'
So bosh1 does not recognize custom blobstore client . bosh2 does not upload release , whcih does not have to with the custom blobstore client . Even with out custom blobstore also bosh2 upload-release does not work.
-- How can I resolve this ?

We typically don't recommend implementing custom blobstores for either the CLI or for director. We provide several common providers with the expectation that they'll cover a provider that everyone can find access to. Custom CLI patches also make it very difficult for others to use the releases, and custom director patches make it difficult for maintenance. Additionally, blobstore providers should now be implemented in golang for portability and reusability.
If you need further information, you may find the following PRs useful where gcscli support was added to director and cli.
If you're intending on submitting these changes upstream, I'd be interested to hear more about the blobstore provider since we may not be able to support every provider which is out there.


[Event Request] Codeunit 90 "Purch.-Post" – Existing Event “OnAfterCheckPurchDoc”

Could we please have the existing publisher “OnAfterCheckPurchDoc” in Function “CheckAndUpdate”, Codeunit 90 "Purch.-Post”, be expanded by a new parameter?
    local procedure CheckAndUpdate(var PurchHeader: Record "Purchase Header")
    var
        GenJnlCheckLine: Codeunit "Gen. Jnl.-Check Line";
        CheckDimensions: Codeunit "Check Dimensions";
        ErrorContextElement: Codeunit "Error Context Element";
        ForwardLinkMgt: Codeunit "Forward Link Mgt.";
        SetupRecID: RecordID;
        ModifyHeader: Boolean;
        RefreshTempLinesNeeded: Boolean;
    begin
        with PurchHeader do begin
…
            if Invoice and PurchSetup."Ext. Doc. No. Mandatory" then
                CheckExtDocNo(PurchHeader);
*** start old code ***
            //OnAfterCheckPurchDoc(PurchHeader, SuppressCommit, WhseShip, WhseReceive);
*** stop old code ***
*** start new code ***
            OnAfterCheckPurchDoc(PurchHeader, SuppressCommit, WhseShip, WhseReceive, PreviewMode);
*** stop new code ***
            ErrorMessageMgt.Finish(RecordId);

            // Update
            if Invoice then
…
    [IntegrationEvent(false, false)]
*** start old code ***
    //local procedure OnAfterCheckPurchDoc(var PurchHeader: Record "Purchase Header"; CommitIsSupressed: Boolean;
    //WhseShip: Boolean; WhseReceive: Boolean)
*** stop old code ***
*** start new code ***
    local procedure OnAfterCheckPurchDoc(var PurchHeader: Record "Purchase Header"; CommitIsSupressed: Boolean; WhseShip: Boolean; WhseReceive: Boolean; PreviewMode: Boolean)
*** stop new code ***
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Cannot resolve module 'ReactJsonp'

any idea about this?
var React = require('react-native');
var {
    Platform,
    Component,
} = React;
var fetch = Platform.OS === 'web'? require('ReactJsonp'): require('ReactFetch');

Is HasteResolverPlugin not install right?

@yuanyan here is the js file:
webpack.config.txt
i believe there is no wrong config.

@sduqlsc @yuanyan , this issue was fixed in PR https://github.com/yuanyan/haste-resolver/pull/2 which is described as "the remaining react-web start error on Windows" in PR #174 when react-web start, and with #174 , react-web init also worked well on Windows.

@flyskywhy thanks for the reply. so exactly what should i do next?

for right now, because PR https://github.com/yuanyan/haste-resolver/pull/2 has not been merged, you need replace haste-resolver npm version by my git version:
npm install git+https://github.com/flyskywhy/haste-resolver

and replace
exclude: /(node_modules\/(?!react))/

to
exclude: [path.sep === '/' ? /(node_modules\/(?!react))/ : /(node_modules\\(?!react))/]

in react-web/local-cli/generator-web/templates/webpack.config.js ref to PR #174

@flyskywhy has done as above and update to react-web v0.4.1, but got following error:
E:\Project\Node\RN\node_modules\react-web\node_modules\promise\lib\done.js:10
throw err;
^
Error: Cannot find module './lib/'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (E:\Project\Node\RN\node_modules\haste-resolver\index.js:1:18)
at Module._compile (module.js:409:26)
at Module._extensions..js (module.js:416:10)
at Object.require.extensions.(anonymous function) [as .js] (E:\Project\Node\RN\node_modules\babel-register\lib\node.js:152:7)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (E:\Project\Node\RN\node_modules\haste-resolver-webpack-plugin\HasteResolverPlugin.js:9:16)
at Module._compile (module.js:409:26)
at Module._extensions..js (module.js:416:10)
at Object.require.extensions.(anonymous function) [as .js] (E:\Project\Node\RN\node_modules\babel-register\lib\node.js:152:7)

@sduqlsc , yes, I also met this Error: Cannot find module './lib/' on my Win7, and then I found it is also because @yuanyan has not merge PR https://github.com/yuanyan/haste-resolver/pull/2 and publish to npmjs.com a new haste-resolver version, so instead of the useless npm install git+https://github.com/flyskywhy/haste-resolver I guessed before, please:
cd \Project\Node\
git clone https://github.com/flyskywhy/haste-resolver
cd haste-resolver
npm install
cd ..\RN\
npm install denodeify throat

then copy \Project\Node\haste-resolver\lib\ to \Project\Node\RN\node_modules\haste-resolver\lib\

@flyskywhy thanks for the reply with the details. Will report later.

@flyskywhy succeed, you saved my time buddy, great job!


How can I read dbf that contain memo file?

I need to read a dbf but it wont work because I have and .fpt file with it. You know how to help me with that and read the archive for opening the dbf?
I have tried with memo_file but not work too. https://github.com/emmanuelmillionaer/node-memo-parser

Did you have some recommendation to me on how to do that until the project has this support?

Hi @raulvictorrosa I've made some updates to this library recently, but I haven't found enough info to implement memo support, and I need to move on to other things for now.
Probably the first step would be to find an open-source implementation in some other language that can used as a reference to port across to this library.

@raulvictorrosa sorry, I missed the link on your OP comment. That might be enough info to implement memo support here. Just need the time now....

@raulvictorrosa I've added experimental support for reading dbf files with memos. However it will probably need more work to support your case, since you mention an .fpt file extension which I guess is FoxBase? It seems there are differences between .dbt and .fpt file formats, but I only had a .dbt fixture to experiment with.
If you have a .fpt file I can look at and add to the test fixtures, that would help. Otherwise you could look at the latest source code and see if you can tweak it to work with your files (PR welcome).

Yes, I have the pait, .dbfand .fpt they are used together to open .dbf.

@tiredoftry I tried to reproduce your solution based on your pseudo code but I still get 0 records for DBF file having FPT memo file. I need to read DBFs v0x30 having memo fields but I don't care about the contents and you solution would be of a huge help for me! Can you please make a branch with your solution?

I don't have it working where some files have a memo file and some don't.  I will look at it more tonight and see if I can get it working reliably.

@dimitarhristovfluke .  Question - you said you don't care about the contents.  With this, you mean you need the contents of the DBF file, but not the FPT (memo), correct?

Good to know.  I have a bit of time this morning to look at it as well and have a start on reading memo's from FPT tables.  When I getting it working, I will see if I can submit a branch, but if not, I will document all my changes in detail here.

Closing this issue as it's pretty old and stale now.
@dimitarhristovfluke @tiredoftry if you have any updates on this, please open a new issue or PR.


Run make-autoformat on main

This was because of a different version of black installed locally than on github actions.


Bluetooth: controller: Fix conn RSSI initial value

On connection callback generated by host, application
reading the RSSI value by using HCI LE Read RSSI Command
received -127 dB as the first connection event has not
occured yet in order to measure the RSSI value.
Fix this by using the RSSI value of received advertising
PDU by the initiator, and using the RSSI value of the
received CONNECT_REQ PDU by the connectable advertiser as
the initial value at connection setup.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

As HCI APIs are not to be used by applications/samples hence removed the commit https://github.com/zephyrproject-rtos/zephyr/pull/18279/commits/f55e3eb77ec1e123b87846b47104b077c955a05b, that added HCI API calls to fetch connection RSSI, from this PR.


Cannot change size

I get the following error when trying to add a large amount of data, like a large blog:
could not get vector from remote: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (62741084 vs. 4194304)"}]}.
I am using self.client.data_object.update
Is there a way to increase the size? On the server I am using text2vect-contextionary. It is an 8gb Ram server (no gpu).
Also another server (with gpu) responds "Object was not updated." is there a way to get more information?

could you post a full example? The data_object call doesn't go through GRPC so I'm a bit confused on how that could happen.

Thanks! I was able to narrow down the issue... this error was actually passed along via weaviate itself erroring. It wasn't showing me the error before, but I put on debug logs and now I can see that's the culprit in one of the communications via docker. Great library btw. Thank you


[keras/applications] Standardise docstring usage of "Default to"

This is one of many PRs. Discussion + request to split into multiple PRs @ #17748

Need @qlzh727 review the "{mode}" thing for this PR.

@haifeng-jin Fixed: fastmod -Fepy '{mode}.' '


Add badges from shields.io

Q
A

Branch?
master

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

License
MIT

I added more badges to the README file and I chose shields.io because they provide SVGs that scale well on all monitor sizes. Would be possible to convert the file to Markdown? GitHub does not render reStructuredText files, but it does well with Markdown

I'd be open to converting to markdown. Going to merge this for now.


Tutor feedback: Done column

Feedback from Damith:
Is the Done column practical/useful? Will it be collecting all the done tasks in the last year? What if we just see the done tasks from 'yesterday'.

Can we just show this panel in the order of latest completed time

That's a good workaround.
Sent from my iPhone

On 19 Oct 2016, at 2:23 PM, fanwgwg<EMAIL_ADDRESS>wrote:
Can we just show this panel in the order of latest completed time
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

What are we going to do about archive?


Reset to highest priority next queue strategy ignores delayed tasks

When workers are defined to use RESET_TO_HIGHEST_PRIORITY next queue strategy, they are suddenly stop to recognize delayed tasks and execute all the tasks as immediate tasks

I've checked the issue and it appears that issue can be easily fixed by introducing small changes in WorkerImpl.java and workerScripts/fromMultiplePriorityQueues.lua:
WorkerImpl.java , pop():
    add Long.toString(System.currentTimeMillis() parameter to evalsha

workerScripts/fromMultiplePriorityQueues.lua:
local now = ARGV[1]
local firstMsg = redis.call('ZRANGEBYSCORE', queueName, '-inf', now, 'WITHSCORES', 'LIMIT' , '0' , '1')

PRs are welcome!


sketch riscv machine model that concurrently runs a cava-defined device

I'm trying to work on the following question: How could we prove that a Cava-defined hardware accelerator satisfies the assumptions that a bedrock2-defined source program makes about the Cava-defined hardware accelerator?
Right now, these assumptions are given as a state machine in eg AesSemantics.v, but if the Cava device really satisfies them, we should be able to state an end-to-end theorem where this state machine definition cancels out, so I tried to sketch what such a theorem statement would look like.
Since we're not attempting to verify the RISC-V processor, we need some kind of hybrid RISC-V machine model, where the processor is just a spec, but the devices are written in Cava.
The core of this sketch is to define a step of the combined hybrid system, system_step, as a nondeterministic choice between a step of the processor spec, processor_step, and a step of the Cava device, device_step.
I don't know if this makes sense without further explanations, I didn't write too many source comments, but it might be good to discuss this next week. Also, I don't know if this kind of concurrency is easy to deal with in proofs, I haven't done this before, so there's a risk that this sketch is a bad idea, and that we should take a completely different approach.
A note on terminology: I call the state of the Cava device "extra state", and I call communication between the processor model and the Cava device "internal MMIO", and don't record it in the event trace, and call communication with the external world (not currently present in this sketch) "external MMIO" and do record it in the event trace.

This is still very much WIP, but it might be good if @jadephilipoom and/or @blaxill already have a look at the interface between the RISC-V processor and the Cava simulator that I made up:
https://github.com/project-oak/silveroak/blob/82d4af8ca3a8fbf5d679c59930f985aa21f9478e/investigations/bedrock2/RiscvMachineWithCavaDevice/InternalMMIOMachine.v#L21-L62
And here's a very simple instantiation of this interface (with an increment device):
https://github.com/project-oak/silveroak/blob/82d4af8ca3a8fbf5d679c59930f985aa21f9478e/investigations/bedrock2/RiscvMachineWithCavaDevice/DetIncrMachine.v#L67-L78
And here's how the RISC-V processor model invokes the methods of the device class defined above:
https://github.com/project-oak/silveroak/blob/82d4af8ca3a8fbf5d679c59930f985aa21f9478e/investigations/bedrock2/RiscvMachineWithCavaDevice/InternalMMIOMachine.v#L110-L154
Do you think it will be possible to make an HMAC and/or AES Cava device conform to this interface? Any suggestions for changes? Also, I have not yet written any proofs involving this interface, so if you have a completely different interface/approach in mind, I'd by happy to try that too!

This is still very much WIP, but it might be good if @jadephilipoom and/or @blaxill already have a look at the interface between the RISC-V processor and the Cava simulator that I made up:

This looks reasonable to me so far, the device hardware side is general enough that we can fit anything to it and the software side fits my understanding.

Looks good to me! I think the interfaces make sense.

After the discussion in yesterday's meeting, I wanted to try if I can change the interface so that the Cava device does not have to remember the latest request, so here's a new interface with a run1 that includes the request as an argument:
https://github.com/project-oak/silveroak/blob/c6cfe1cc0429fa39d0b29f2bc23665b1419b6a6a/investigations/bedrock2/RiscvMachineWithCavaDevice/InternalMMIOMachine.v#L22-L52
This signature of run1 of the form state -> input -> state * output matches the Cava's step used in simulate, so that it fits more naturally with this sample implementation of IncrementWait:
https://github.com/project-oak/silveroak/blob/c6cfe1cc0429fa39d0b29f2bc23665b1419b6a6a/investigations/bedrock2/RiscvMachineWithCavaDevice/DetIncrMachine.v#L22-L68
In particular, I don't need to modify internal Cava state any more, but all interaction now happens over input/output of Cava's step.
And the RISC-V processor code invoking the methods of the device class defined above now looks as follows:
https://github.com/project-oak/silveroak/blob/c6cfe1cc0429fa39d0b29f2bc23665b1419b6a6a/investigations/bedrock2/RiscvMachineWithCavaDevice/InternalMMIOMachine.v#L106-L126
However, one caveat with this approach is that in order to get a response from the Cava device, you have to run it for at least one cycle (and after that, maybe a few more cycles until is_resp becomes true), that is, 0-cycle responses are not possible any more. @jadephilipoom @blaxill do you think that's a problem? And would you prefer the previous version or the new version of this interface?

I think I've reached a milestone where it would be good have this reviewed and merged soon.
This PR now contains an end-to-end theorem for the IncrementWait example spanning the whole stack, all the way down to a risc-v machine that executes the Cava simulator to serve the MMIO requests made by the bedrock2 driver program.
The IncrementWait_end2end_correct theorem is now almost admit-free: Besides the propositional & functional extensionality axioms, there are only three more admits, which all are uninteresting properties about words (naive_riscv_ok, incrN_word_to_bv and MMIOToCava.bv_to_word_word_to_bv).
Here's an overview of the different layers of specification:

High-level spec: scalar (word.of_Z output_ptr) (word.add (word.of_Z 1) input) in the separation logic predicate of the postcondition of IncrementWait_end2end_correct, saying that the output pointer points to input+1 (adding 1 to the input is all that this minimal demo does, but in the most complicated way I've ever implemented this operation :wink:)
bedrock2 weakest-precondition generator (invoking the state machine defined in IncrementWaitSemantics on external calls)
bedrock2 Inductive semantics (invoking the state machine defined in IncrementWaitSemantics on external calls)
a risc-v machine model compatible with the bedrock2 compiler (investigations/bedrock2/Riscv/MinimalMMIO.v and investigations/bedrock2/Riscv/MinimalMMIO.v), invoking the state machine defined in IncrementWaitSemantics on MMIO loads and stores
a risc-v machine model that executes the Cava simulator running the CavaIncrementDevice to serve MMIO loads and stores

And here's how each pair of two adjacent layers is bridged by a theorem:

1)-2): Lemma put_wait_get_correct in IncrementWaitProperties
2)-3): Lemma bedrock2.WeakestPreconditionProperties.sound_cmd
3)-4): The generic compiler correctness lemma compiler.Pipeline.compiler_correct, where the external calls compiler has been instantiated to Bedrock2Experiments.StateMachineMMIO.compile_ext_call, which compiles external function calls called MMIOWRITE to a single risc-v store instruction, and external function calls called MMIOREAD to a single risc-v load instruction, and is proven correct in the same file, and this external calls compiler correctness proof is passed to the generic compiler correctness lemma
4)-5): Lemma Bedrock2Experiments.RiscvMachineWithCavaDevice.MMIOToCava.stateMachine_to_cava proves that if all level-4 risc-v machine executions satisfy a postcondition, then all level-5 risc-v machine executions also satisfy that postcondition. This proof is generic over the state machine and Cava device, and takes a device_implements_state_machine hypothesis (defined in the same file), which is proven for the increment device in investigations/bedrock2/IncrementWait/CavaIncrementDevice.v.

In Bedrock2ToCava.v, a theorem spanning layers 2)-5) is proven generically for all possible state machines and related Cava devices, so that when we want to prove end-to-end theorems for other devices and their drivers, we can reuse this one and only need to write a driver, a Cava device, and a state machine against which we prove both the driver and the Cava device, but once we've done that, we should be able to obtain an end-to-end theorem for this new device, and it should only require a proof as short as the one in IncrementWaitToCava.v (less than 70 lines, and probably shrinkable further).

Great work! At a high level this all makes sense to me, but it's going to take me a few days to digest the code.


PyYaml Upgrade

``Hello,
I had a issue with the change:
https://github.com/tguisep/optscale/commit/99d8698cbee3a5ab5e0b870e5df2c8124177d582#diff-94de2f2a2862f02e0ef3cce9eaf6b29075c05fc3fd0a60ab23726aa7f7971ad4R2
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      running egg_info
      writing lib3/PyYAML.egg-info/PKG-INFO
      writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
      writing top-level names to lib3/PyYAML.egg-info/top_level.txt
      Traceback (most recent call last):
        File "/home/thomas/Documents/PRJ/optscale/optscale-deploy/.venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/home/thomas/Documents/PRJ/optscale/optscale-deploy/.venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/thomas/Documents/PRJ/optscale/optscale-deploy/.venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel

Fix: rollback on PyYAML==5.3.1

@tguisep please use Python 3.9 - it is the base for OptScale right now.
FYI - we are going to upgrade Python version to 3.12, just waiting while several third-party packages support it (for example - aliyun-python-sdk-core, aiohttp)


✨ Update CI badges with Metal3

Airship name from CI jenkins view have been deprecated

/test-v1a4-integration

/lgtm

Force merging this since there are two lgtms.


ci: 🎡 add gh-pages deploy

Should fix https://smarttokenlabs.atlassian.net/browse/TECH-294
Hi @nicktaras , this PR will deploy build-umd assets into github pages. Like: https://tokenscript.github.io/token-negotiator/negotiator.js
I've deleted the token-negotiator-dist directory and add token-negotiator-dist/ into .gitignore.
When push to main branch, will use build-umd & upload token-negotiator-dist/ into github pages.

But the root pages URL is 404 because no index.html in it. https://tokenscript.github.io/token-negotiator/
If you really need a directory index page, I'll consider generate a index.html about files under token-negotiator-dist/.


Provide more native configuration for secrets/keys in SecretProviderClass

Describe the solution you'd like
The current configuration feels a bit odd with the objects.array which is a mix of secrets & keys.
Example from README:
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
  name: azure-kvname
spec:
  provider: azure
  parameters:
    usePodIdentity: "false"         # [OPTIONAL for Azure] if not provided, will default to "false"
    useVMManagedIdentity: "false"   # [OPTIONAL available for version > 0.0.4] if not provided, will default to "false"
    userAssignedIdentityID: "client_id"  # [OPTIONAL available for version > 0.0.4] use the client id to specify which user assigned managed identity to use. If using a user assigned identity as the VM's managed identity, then specify the identity's client id. If empty, then defaults to use the system assigned identity on the VM
    keyvaultName: "kvname"          # the name of the KeyVault
    cloudName: ""          # [OPTIONAL available for version > 0.0.4] if not provided, azure environment will default to AzurePublicCloud
    objects:  |
      array:
        - |
          objectName: secret1
          objectAlias: SECRET_1     # [OPTIONAL available for version > 0.0.4] object alias
          objectType: secret        # object types: secret, key or cert
          objectVersion: ""         # [OPTIONAL] object versions, default to latest if empty
        - |
          objectName: key1
          objectAlias: ""
          objectType: key
          objectVersion: ""
    resourceGroup: "rg1"            # [REQUIRED for version < 0.0.4] the resource group of the KeyVault
    subscriptionId: "s

While it would feel more natural to be able to use this approach:
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
  name: azure-kvname
spec:
  provider: azure
  parameters:
    usePodIdentity: "false"         # [OPTIONAL for Azure] if not provided, will default to "false"
    useVMManagedIdentity: "false"   # [OPTIONAL available for version > 0.0.4] if not provided, will default to "false"
    userAssignedIdentityID: "client_id"  # [OPTIONAL available for version > 0.0.4] use the client id to specify which user assigned managed identity to use. If using a user assigned identity as the VM's managed identity, then specify the identity's client id. If empty, then defaults to use the system assigned identity on the VM
    keyvaultName: "kvname"          # the name of the KeyVault
    cloudName: ""          # [OPTIONAL available for version > 0.0.4] if not provided, azure environment will default to AzurePublicCloud
    secrets:
    - name: secret1
      alias: SECRET_1
      version: ""
    keys:
    - keys: key1
      alias: KEY_1
      version: ""
    resourceGroup: "rg1"            # [REQUIRED for version < 0.0.4] the resource group of the KeyVault
    subscriptionId: "s

Anything else you would like to add:
I'm not an expert in Kubernetes extensibility so it might be because of a technical limitation, but I would prefer the above proposal which is cleaner for people who are new to it.

you can't duplicate "secrets:" key. that's how arrays work in yaml, looks at "container" behavior.
but I do agree, key names are not obvious

Sorry, it was a copy paste mistake - I've updated the sample to use keys instead

Is there any way to consume all secrets/keys from a Key Vault? I think the solution where you need to specify secrets/keys one by one is not very viable.

Support prefix reference issue - #61

@aramase Any input on the structure as a whole?

Implementing the proposed format would also make kustomize manipulation possible.

Stumbled-upon same issue when using Kustomize. No way to patch the array of secrets. Would be awesome to have something like the proposed structure in place since it is similar to the approach taken for populating K8s secrets from KeyVault  (cf. Azure docs)


JAVA-2967: Support native_transport_(address|port) + native_transport_port_ssl for DSE 6.8

As of this writing this is still an in-progress PR.  The basic fix contained within seems to resolve the issue in my local repro case but no tests have been added yet for the new functionality.

Thanks for the very complete review @adutra !  I believe I've addressed all the points you raised so this should be ready for another pass.  If I missed something then by all means let me know.
Thanks again!


updated example instructions

Was setting up PVC in a new project and following the instructions in "Example, adding -[UIButton tap] to a spec target."  The build failed with the error,
  "_CGDataProviderCopyData", referenced from:
      -[UIImage(Spec) isEqualToByBytes:] in libUIKit+PivotalSpecHelper-StaticLib.a(UIImage+Spec.o)
  "_CGImageGetDataProvider", referenced from:
      -[UIImage(Spec) isEqualToByBytes:] in libUIKit+PivotalSpecHelper-StaticLib.a(UIImage+Spec.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)```

which is resolved if CoreGraphics.framework is imported in "Link Binary With Libraries"

Thanks!


[Bug] SCA sometimes errors on valid lexurgy change list

When processing lexurgy sound changes, sometimes the SCA decides to not apply any rule (and selecting any rule in the apply until menu raises a "no such rule" error (see image)

The sound changes work just fine on the Lexurgy SC website
Example of a change set that triggers the behaviour

We were not actually sending the sound changes, somehow. Fixed.


dns: cleanup and update mkcloud's crowbar entry in /etc/hosts

:-1: I would leave the old code as it could break hosts with multiple clouds. And if you have just one cloud, you dont often need to change your admin net and mkcloud itself always uses $adminip and never the crowbar name - it is just for convenience for the developer.

@bmwiedemann okay. thanks for the explanation. will close this then

I like the functionality, but it needs to be more specific :)

@tboerger the regex?
i have designed the regex not to destroy mkcloud.cloud.suse.de but if everyone has his own manual entries in a different way, then it will be difficult to find the right pattern :)


replace_plot() Script on Failed

I'm getting this error: "replace_plot() Script on Failed"
What does it mean?
Help pls.
ps i have mount points like
"/mnt/enclosure0/column0/drive0"
so it must work with condition
p.device.startswith('/dev/sd') and p.mountpoint.startswith('/mnt/enclosure') and p.mountpoint.endswith(drive)

I think that it means that your harvester is not set up correctly. On your harvester when you run ./drive_manager.py -rp manually, what do you get?

-rp "It might DELETE an old plot" hmm but i dont want to delete all plots. All my plots are nft and correct. Is there any other option without deletion?

If you do not need to replace old plots you should set your config to false for replacing plots, it will never run the replace_plot() script. That i ONLY run IF you tell the system you have old plots to replace. Since you have nft, this should be set to false.


skill issue problem

Even after installing this awesome finder I can't find a girlfriend. :(

Thank you for your feedback! Could you please expand on the issue by providing some additional details? Specifically:

Your Operating System
Your Terminal Emulator
Any error messages or unexpected behavior printed
The version of GoFind (gf --version)
If possible, any relevant journalctl logs ( preferably a photo )
Method of installation ( e.g. did you build from source or use a package manager? )

Note: gf may not work with certain file types such as: js, ts, jsx, tsx, json and possibly others. I'm aware of this limitation and am actively working on a fix.
This information will help me assist you more effectively. Thanks again, and I look forward to hearing from you!
As always, any PRs are welcome.
Cheers,
Julian

Hi!
The details of my usement of your GoFind are:

Arch GNU/Linux (no scripts)
Kitty
"could not find a girlfriend"
Its looking like version of my GoFind does't have a --version flag
like with the version I can't find any thing like journalctl logs
its build from sorce

For the note about not supported files I will say that I am not a wirdo.
Thank you so much for your help and I will be glad if this issue will be resolved.
hipo
xoxo
urs frvr :3 <3

Hi!
Is this issue still being investigated?


[JTC] Remove wrong description about specialized versions

This removes the wrong description from the docs.
We decided in the last WG meeting that we won't implement the specialized versions of JTC -> If the usage of JTC is not clear we should improve the docs instead of adding additional code.

Codecov Report

Merging #742 (91fd6a2) into master (e7f9962) will decrease coverage by 4.90%.
Report is 352 commits behind head on master.
The diff coverage is 25.91%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #742      +/-   ##
==========================================
- Coverage   35.78%   30.88%   -4.90%
==========================================
  Files         189        7     -182
  Lines       17570      832   -16738
  Branches    11592      505   -11087
==========================================
- Hits         6287      257    -6030
+ Misses        994      133     -861
+ Partials    10289      442    -9847

Flag
Coverage Δ

unittests
30.88% <25.91%> (-4.90%)
:arrow_down:

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

Files Changed
Coverage Δ

...ontroller/test/test_load_diff_drive_controller.cpp
11.11% <0.00%> (ø)

...ive_controller/test/test_diff_drive_controller.cpp
12.66% <7.81%> (ø)

diff_drive_controller/src/odometry.cpp
42.16% <11.11%> (ø)

diff_drive_controller/src/speed_limiter.cpp
46.55% <11.11%> (ø)

...iff_drive_controller/src/diff_drive_controller.cpp
47.13% <46.94%> (ø)

...de/diff_drive_controller/diff_drive_controller.hpp
100.00% <100.00%> (ø)

...troller/include/diff_drive_controller/odometry.hpp
100.00% <100.00%> (ø)

... and 189 files with indirect coverage changes


Connexion problem to DB

Describe the bug
I'm trying to install Parfumers Vault an I can't figure out what i'm doing wrong.
-First I tried on my Mac with Mac/Linux script just to see if the software would fit my needs but it doesn't work because the script didn't find Docker.
-I didn't want to debug since  my goa is to install this software on my Docker server.
-I tried to install it via Portainer on my docker LXC with the Default Docker Compose file, I only change the external port to 8080, the Stack deploy without any issue but when I tried to connect to the web site It always return the same error: {"error":"DB Schema Creation error. Make sure the database pvault exists in your mysql server ####, user pvault has full permissions on it and its empty."}
-Then I removed the Database settings in the Docker file and tried to connect directly to my MariaDB Docker, I received the same error and ironically the database is populate with all the table it required the installation script connect and prepare the database.
-I then thought it could be one of those Portainer tricks. and tried to install with the script directly on the Linux LXC which contain Docker, Docker Compose and portainer, the script return and error it can't find Docker... I tried on another LXC on another box, same problem.
-I return to my Mac debug and update Docker install wget and what need to run the script, it installed well but when I try to connect to the web server, same error: {"error":"DB Schema Creation error. Make sure the database pvault exists in your mysql server , user pvault has full permissions on it and its empty."}
-I noticed that version 11.5 was release only a day ago so I suspected a glitch, I installed version 11.4 with the vanilla Docker file. Same result:{"error":"DB Schema Creation error. Make sure the database pvault exists in your mysql server #####, user pvault has full permissions on it and its empty."}
To Reproduce
Steps to reproduce the behavior:
I would say that the easiest installation which have less variables is plain mac script:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/globaldyne/parfumvault/master/helpers/run_pvault.sh)"
Expected behavior
Be able to connect to http://localhost:8000/login.php without this error:
{"error":"DB Schema Creation error. Make sure the database pvault exists in your mysql server pvdb, user pvault has full permissions on it and its empty."}
Please complete the following information:

Docker
4.34.2 (167172)
Brave
Version 1.70.119 Chromium: 129.0.6668.70 (Official Build) (arm64)
PV Version
Perfumer's Vault Ver 11.5
-MacBookPro
Apple M1 MAX
Mac version
Sonoma 14.6

Additional context
Add any other context about the problem here, also provide details regarding your installation.

Seems like there's a bug affecting new installation for versions 11.4 and 11.5. This will be addressed 11.6
Meanwhile as a workaround, you can install 11.3 and then upgrade to 11.5


Getting HMAC error when inserting UTF-8 character "Ö" in Atom

Hi,
I've encountered this by mistake a few times as I switch between sv_SE and en_US keyboard layout.
Whenever I insert any Swedish character (by accident) I get.
Error: Bad Hmac
    at IncomingMessage.<anonymous> (/Users/fl0w/.atom/packages/TabNine/lib/handler.coffee:159:20)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

The plugin continues to work as expected if atom notification is ignored.

I get the same issue when I accidentally hit my § key*, in case that's useful for narrowing this issue down.
*My Kinesis Advantage2 keyboard has a key that produces this character. It's not actually a key that I use for anything, so this issue is not blocking me.

This happens for most uncommon characters, including ‘quotes’ and ”double quotes”. Quite annoying.


CI against ruby 2.3.3 and 2.4.1

Coverage decreased (-0.2%) to 97.321% when pulling dbd38721b45cf8ceb2c3bdf82c8ad9bf206b6527 on sue445-patch-1 into 6300eeb33d0c890a5912b93d0a40a8d7ca783202 on master.

Coverage decreased (-0.2%) to 97.321% when pulling dbd38721b45cf8ceb2c3bdf82c8ad9bf206b6527 on sue445-patch-1 into 6300eeb33d0c890a5912b93d0a40a8d7ca783202 on master.

Coverage decreased (-0.2%) to 97.321% when pulling dbd38721b45cf8ceb2c3bdf82c8ad9bf206b6527 on sue445-patch-1 into 6300eeb33d0c890a5912b93d0a40a8d7ca783202 on master.


Make it easy to make the remote state match a local state

Make a list of local task data
Make the remote match the local list with as few calls as possible, as quickly as possible. Parallel property calls? Use return values to populate task values? Throttle globally?

My implementation adds a dependency on pylistdiff


V1.4 - Changed folder structure to support best practices

Resolved GitHub issue #122 - Use all lowercase folders, URL References etc. to support best practices

@CTLocalGovTeam This pull request 1.4 is still using the 3.10 API. Could you please change it to 3.8?
the 2.0 pull request is correctly using the 3.8 API.

Now, using 3.8. API (not portal specific, removed tag)


Questionable Recomendations

Taking a brief survey over the "resources" enumerated in the source code, some issues keep emerging. Many of these provide no additional capability over an internet search, and possibly even more of them are primarily ads for their own service.
One particularly unusual selection is the Epic browser. Chromium is open-source, Firefox is open-source , you can do anything with Chromium and Firefox that Epic browser claims (TOR uses Firefox and it has much stronger standards, and it too is open-source). So why is Epic so evasive when it comes to publishing it's source code?
That's only one example. This entire list should be reevaluated.

I think this falls outside the scope of the goal of this tool. None of the tools have to be secure or private to fulfill the goal of performing passive reconnaissance.

Except it's primarily advertising. Anyone with some technical proficiency knows that these don't provide any unique capability. I cited the Epic browser as an egregious example as it is 1. obscure 2. Everything it claims is done better and in a verifiable way by much more notable browsers.
"None of these have to be secure or private to fulfill the goal of passive reconnaissance"
There is nothing passive about connecting to a website. In fact traceability is a common concern in the OSINT community, as subjects that can trace users can cut-off information access.
The critique here is that it is just a list of various websites and softwares, with no curation or evaluation of whether or not they are actually useful. Many of which are apparently useless, or even security risks.

It's a valid critique, made worse by the difficultly in keeping a few thousand sites up to date with busy schedules. I removed the Epic browser from the list and if you have other sites you believe need to be reevaluated, please let us know.


Add support for resuming index operations on Sql Azure

When using @TimeLimit on an @Resumable = 1 operation on Sql Azure, the previous operation is not resumed due to not meeting the @Version >= 14 condition for sys.index_resumable_operations, causing this error on next execution:
Cannot perform this operation on 'object' with ID<PHONE_NUMBER> as one or more indexes are currently in resumable index rebuild state. Please refer to sys.index_resumable_operations for more details.
The sys.index_resumable_operations feature is supported on Azure Sql Database and was added to the condition.

I'm seeing the same issue with resumable indexes not getting the RESUME keyword at the end because Azure is version 12.x.xxxx.x even though it is essentially 2019.  This would be very helpful to us, as right now we are using a customized version of the script and would like to be on the official version once this is in.

Hi @imyourdba , I've just started using these scripts and found this too, the indexes don't get the RESUME keyword and therefore try to do another rebuild, which fails.
How did you customize the script to handle this?
Would be great if it could be looked it

Take a look at the comments on this issue where I addressed it.
https://github.com/olahallengren/sql-server-maintenance-solution/issues/149


Fix the broken Travis CI:

Update the tock submodule to a version that includes
https://github.com/tock/tock/pull/2024, which fixes the OpenTitan BootROM
download code, as well as https://github.com/tock/tock/pull/2038, which fixes
a HiFive1 kernel bug.
Disable the callback test. HiFive1 doesn't have a working timer driver. The
callback test only worked before because of some other callback, which
doesn't seem to occur with the new kernel.

Fixes #225

ah, I guess I am not a codeowner for this repo.

ah, I guess I am not a codeowner for this repo.

You definitely are a code owner, feel free to merge manually. I'll look into the bors config, I have no idea why it is applying any sort of permissions (the config is only 1 line long).

Or, actually, since you already indicated you'd like to merge I'll go ahead and merge:
bors r+


[Feature] Discrete SAC

Description
Adding a discrete SAC example
Motivation and Context
Current SAC implementation only supports continuous action spaces. This PR will add the option to run a discrete SAC example based on the paper.
Convergence proof tested on CartPole-v1 (wandb)

[ ] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Remove all that do not apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[X] Example (update in the folder of examples)

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[X] I have read the CONTRIBUTION guide (required)
[ ] My change requires a change to the documentation.
[X] I have updated the tests accordingly (required for a bug fix or a new feature).
[ ] I have updated the documentation accordingly.

LGTM Before landing:

can we move the loss to sac.py? I'd rather have them all in the same place if that makes sense?
Can we add the loss to the doc?
Is this supposed to work with gSDE? gSDE is not tailored for discrete action spaces AFAICT

Do you mean discrete and continuous sac loss in one objective class or having both losses just in the same file?
I'd prefer to have them in the same class, what do you think? Will have a look at it in the coming days.
Will add it to the doc and also take off the gSDE :)

I'd prefer to have them in the same class
How much control flow would that entail?
Does it save a lot of code?

I was thinking of having them in the same file. If having them in the same class does not create a monster class I'm happy to consider it.
Will it work with v1 and v2?

I was thinking of having them in the same file. If having them in the same class does not create a monster class I'm happy to consider it.
Will it work with v1 and v2?

For now, I just added it to the sac.py file in objectives. As it only works with v2 it might get messy and as you said would probably create a monster class. Let me know what you think.
I also took off the gSDE from the loss and updated the description of the actor_network to be a TensorDictModule.
How can I update the docs?


Configure Server Does Not Work

This is something I ran into recently while trying to get Cacher working with a new 5.2 server. I've always just manually ran sudo serveradmin settings caching:LogClientIdentity = 1 and had no issues. This time I tried to use sudo Cacher --configureserver. This reports a success, but Cacher never finds any stats. I think this is because --configureserver tries to set this setting with "yes", rather than "1". After manually running the appropriate serveradmin commands, Cacher is working without issue.
Looks like this line is what needs changed: https://github.com/erikng/Cacher/blob/master/Cacher#L636

Interesting. I'll have to validate this but sounds like an easy fix.
On Feb 8, 2017, at 1:43 PM, TSPARR <notifications<EMAIL_ADDRESS>wrote:
This is something I ran into recently while trying to get Cacher working with a new 5.2 server. I've always just manually ran sudo serveradmin settings caching:LogClientIdentity = 1 and had no issues. This time I tried to use sudo Cacher --configureserver. This reports a success, but Cacher never finds any stats. I think this is because --configureserver tries to set this setting with "yes", rather than "1". After manually running the appropriate serveradmin commands, Cacher is working without issue.
Looks like this line is what needs changed: https://github.com/erikng/Cacher/blob/master/Cacher#L636
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/erikng/Cacher/issues/28, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFa_GHDRRpvK4HBFBERmLGrnPY7-1Fg5ks5rajW1gaJpZM4L7ZU0.

Actually, it looks like this isn't my root issue. If I run Cacher I receive Cacher did not retrieve any stats for 2017-02-08. If I manually run Cacher --targetdate "2017-02-8" I receive feedback.

I'm going through the issues right now, but according to https://help.apple.com/serverapp/mac/5.2/#/apd5E1AD52E-012B-4A41-8F21-8E9EDA56583A
caching:LogClientIdentity should be entered as yes/no statements as they are boolean values.
Here are the following examples and their results:
	<key>LogClientIdentity</key>
	<true/>

	<key>LogClientIdentity</key>
	<integer>1</integer>

	<key>LogClientIdentity</key>
	<string>true</string>

Comparing this result with another key that comes on all installations (LocalSubnetsOnly), it is clear that yes is the correct syntax to use.
	<key>LocalSubnetsOnly</key>
	<true/>

Forgot to say, but I did fix your other issue with the dates.
Fixed as of https://github.com/erikng/Cacher/commit/04a533c98f00faac60161933b08233a18e075aaa


Rename invisible_draft_taxons to invisible_taxons

This was renamed elsewhere, but looks to have been missed in these places.

Merging without the E2E tests, as we want this change sooner rather than later.


The class-signature rule wrong wrapping in 1.3.0.

In 1.3.0 version class-signature rule begin force unwrapping class signature with 1 parameter if ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 2. In 1.2.1 it didn't it.
It parameters count more than 2 it should force wrap it, but it seems, that this class has single parameter, so it could be either single-line or multi-line.
Expected Behavior
If I formatted this class as multi-line it should stay multi-line.
class TempData(
  val param: String,
)

Observed Behavior
As a result of formatting ktlint make class signature with 1 param a single line.
class TempData(val param: String)

Steps to Reproduce
Setup
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 2
Create any class with 1 parameter in the constructor.
Press option+command+L
Your Environment

Version of ktlint used: 1.3.0
Relevant parts of the .editorconfig settings
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 2
Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task): Android Studio Plugin
Operating System and version: MacOS Ventura 13.0

Sorry, this is not the way the rule works. Ktlint favors consistent formatting. So it will format all classes according to the same rule. When ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than is set to  2, all classes having 2 or more parameters will have their parameters wrapped on separate lines. At the same time, all classes having less than 2 parameter will be written as a single line unless the max_line_length is exceeded.

Ok, I see. Thank you for the answer.


[122] Save course after assigning program type

Context

This trello ticket

Changes proposed in this pull request

Added course.save after assigning program type to persist to DB

Guidance to review

Go into rails console locally (make sure you have a DB dump of TTAPI) and run the following:

> Course.find_by course_code: "L244"
> c = _
> c.program_type
~> returns "scitt_programme"
> c.funding_type = c.funding_type
~> returns "fee"
> c.reload
> c.program_type
~> returns "school_direct_training_programme"

Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 [Bug] Incorrect route being set


deis config:set SENTRY_DSN=""

I have a project where I'd like to set SENTRY_DSN="" as an environment variable.
The project starts fine with
docker run -e SENTRY_DSN=""
When I try to set that with
deis config:set SENTRY_DSN=""
or
deis config:set SENTRY_DSN=
I get the error
'SENTRY_DSN=' does not match the pattern 'key=var', ex: MODE=test
If I add it to an env file as SENTRY_DSN="", and do a
deis config:push -p .env-test
then my node app throws the error:
Error: Invalid Sentry DSN: ""
If I add it to the env file as SENTRY_DSN=
then I get the error:
'SENTRY_DSN=' does not match the pattern 'key=var', ex: MODE=test
How can I get the deis app to start the same as
docker run -e SENTRY_DSN=""

hmm, seems like you at least need to set a value. Would deis config:set SENTRY_DSN="1" work instead?

Though I agree that it's a workaround. We should be able to allow blank values as well.

I'd tried a few values, and they don't seem to work:
Invalid Sentry DSN: 1
Invalid Sentry DSN: .


Sample module doesn't demonstrate masking values logged to tblgatewaylog

Currently the return value for transactions shows as including the raw response from the payment gateway like this:  'rawdata' => $responseData,
However many gateways return a bunch of data so that the requesting system can validate the request. This return data often includes the credit card number. The sample module should show a sample line like this to indicate that the developer should use proper security practices prior to storing that response data in the tblgatewaylog:
/*Be sure to change the actual array value for the credit card number from CreditCardNumber to the correct value according to the gateway's API documentation */
$responseData['CreditCardNumber'] = '****' . substr($responseData['CreditCardNumber'], -4);

Copied response from https://github.com/WHMCS/sample-merchant-gateway/issues/10. For further discussion, please use that thread.
Hi there,
Thanks for taking the time to open an issue.
As I understand it, you are working with a payment gateway that is returning a full unmasked credit card number in the API response you receive to a payment request for capture.
I can't recall a time I've ever seen a payment gateway return sensitive information such as a full credit card number in plain text format. It would not only be very unusual to see something like this but also a significant security concern with the gateway itself. If you were to find a payment gateway API that was doing something like this, I would suggest contacting that gateway and reporting it to them as a security concern at the very least.
That said, if there is sensitive information contained within the response data, then masking it or removing it entirely would certainly be appropriate before passing it to logging. However from our experience, API response data containing sensitive data is rare and also very gateway specific, and that's why the sample code we provide does not cater to this at this time. We can consider adding some kind of inline note within the code, however, it would need to be something generic enough to make sense in all scenarios.
I will also add that it is always expected that our sample module code will be used in conjunction with our developer documentation where it is stated that any data returned will be logged (ref https://developers.whmcs.com/payment-gateways/merchant-gateway/).
Thanks,
Matt


xarray 0.18.0 raises ValueError, not FileNotFoundError, when opening a non-existent file

What happened:
In a Python environment with xarray 0.18.0 and python-netcdf4 installed, I called xarray.open_dataset("nonexistent"). (The file "nonexistent" does not exist.) xarray threw a ValueError: cannot guess the engine, try passing one explicitly.
What you expected to happen:
I expected a FileNotFoundError error to be thrown, as in xarray 0.17.0.
Minimal Complete Verifiable Example:
import xarray as xr
xr.open_dataset("nonexistent")

Anything else we need to know?:
This is presumably related to Issue #5295, but is not fixed by PR #5296: ValueError is also thrown with the currently latest commit in master (9165c266).
This change in behaviour produced a hard-to-diagnose bug deep in xcube, where we were catching the FileNotFound exception to deal gracefully with a missing file, but the new ValueError was of course not caught -- and the error message did not make the cause obvious. Catching ValueError is a workaround, but not a great solution since it may also be thrown for files which do exist but don't have a recognizable data format. I suspect that other codebases may be similarly affected.
xarray 0.17.0 was capable of throwing a ValueError for a non-existent file, but only in the (rare?) case that neither netCDF4-python nor scipy was installed.
Environment:
Output of xr.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:13:33)
[GCC 9.3.0]
python-bits: 64
OS: Linux
OS-release: 5.8.0-53-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
LOCALE: en_GB.UTF-8
libhdf5: 1.10.6
libnetcdf: 4.8.0
xarray: 0.18.0
pandas: 1.2.4
numpy: 1.20.2
scipy: None
netCDF4: 1.5.6
pydap: None
h5netcdf: None
h5py: None
Nio: None
zarr: None
cftime: 1.4.1
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: None
cartopy: None
seaborn: None
numbagg: None
pint: None
setuptools: 49.6.0.post20210108
pip: 21.1.1
conda: None
pytest: None
IPython: None
sphinx: None

Thanks for the report - I added that to the list of todos for the 0.18.1 patch release.

It's not a bug: filename_or_obj in open_dataset can be a file, file-like, bytes, URL. The accepted inputs depend on the engine.  So it doesn't make sense to raise a FileNotFoundError if the engine is not defined by the user or not automatically detected by xarray.

@aurghs Point taken, but in that case the xarray.open_dataset probably needs updating: currently it says ‘Strings and Path objects are interpreted as a path to a netCDF file or an OpenDAP URL and opened with python-netCDF4, unless the filename ends with .gz…’. In particular I find the behaviour with Path confusing: this type is unambiguously a filesystem path, but still results in a ValueError rather than FileNotFoundError. And in Python 3, str and bytes are distinct (though I suppose a str might still be a URL rather than a file).
In principle, though, I'd be OK with any selection of potential exceptions, as long as they're documented. The current practical problem for us (the xcube developers) is that the behaviour change from 0.17 to 0.18 means that we now have to audit our existing codebases for potential uncaught ValueErrors.

Ouch! I agree this is annoying. And yes, the open_dataset docs definitely need updating.
The general rule is that ValueError is too generic of an exception for it to be appropriate to catch in user code. So indeed, if you need to catch that error something has gone wrong :).
Given this use case, perhaps we should have a special exception type here, something like xarray.NoMatchingEngineError.

Actually, thinking about this a little more, you should get NoMatchingEngineError if you try to open a text file with Xarray.
But if you pass in a local filesystem path and try to open an entirely non-existent file, then FileNotFoundError would be appropriate.
In theory, one could write an open_dataset backend that interprets a local path in an arbitrary way, but that is not the intent of open_dataset, which is intended to handle things like files/directories, other URIs and file contents. If you want to interpret strings very differently you should write a new function for opening.

@shoyer and @pont-us my take is that engine=None is mostly and feature to help new users experiment with xarray. The logic for autodetecting the engine has always been extremely fragile and the result depends on what packages are installed on the system.
I think it is OK to add a dedicated xarray.EngineGuessingError, but I'd not try anything more complex and in general invite users to pass engine explicitly.
Examples of strings that identify a dataset when the right backend is installed, but are not paths and the FileNotFoundError  would sound confusing:

/vsizip/my.zip/my.tif with rioxarray
https://myhost/myfile.nc with netcdf4 and others

I think it is OK to add a dedicated xarray.EngineGuessingError, but I'd not try anything more complex and in general invite users to pass engine explicitly.

I'm reluctantly inclined to agree. (But "reluctantly" only because this means that we may have a lot of xcube code to check and update now.) If the engine is explicitly specified, the question of which exceptions to expect becomes a lot easier to handle, since it's now just between the caller and the engine.
Probably the open_dataset documentation should actively discourage reliance on engine guessing for anything but interactive use, and point out that callers need to check the documentation for the selected engine to determine which exceptions (other than EngineGuessingError) might be thrown.

I just accidentally tried to open myfile.h5.h5 (I meant to open myfile.h5) and was confused about the ValueError.

Should .h5 be added to the list of extensions that map to the NetCDF engine?
Could the error message for the ValueError (or any of the alternate exception classes discussed above) include text suggesting that an incorrect file path (or other URL?) could be the culprit?


Deploy with GH pages

This has been completed and can be accessed here: https://jamesmbaazam.github.io/mppr/. So, I'm closing this issue.


Add docs website

The only thing I see we have to do is to rewrite README.md so that it looks more like in Gesture Handler Repo, + need to add it to github pages

I think it will be cool if we split nodes for separated page and then group them in menu (see rn-paper)

Hey @osdnk I thought it might be cool to actually ship this thing xD do you think is ready? I think I can handle it as you are absent now 😄

xD


engine: add release notes for 19.03.8

Signed-off-by: Tibor Vass<EMAIL_ADDRESS>

Thank you @tiborvass and @thaJeztah.


UserInfo keys : Wiki doc updated + renaming suggestion

Hi there,
Just to let you know that I updated your "Core Data user Info Keys" wiki page to add some missing keys, especially the ones recently added by the recent merge requests.

I left some cells blank (…) because I am not sure about the aim of those keys (but at least we have an exhaustive list now), so feel free to complete the missing descriptions.

I also created a wiki article about using enums for attribute types. Don't hesitate to review and modify it if needed.

Also, for clarity and consistency reasons, I suggest that we rename every UserInfo key to be prefixed by "mogenerator.", like what you did for mogenerator.customBaseClass and mogenerator.readonly.

This ensures consistency and avoid potential conflicts with other tools that are usng those UserInfo keys as well (like MagicalImport or Groot)
We may also find better names for some, like attributeValueClassName and attributeValueScalarType could maybe be merged into one mogenerator.customType?
We may still accept the old names for retro-compatibility (e.g. result = [[self userInfo]<EMAIL_ADDRESS>?: [[self userInfo] objectForKey:@"attributeValueClassName"];)

Also related to #162 & #207

We are declaring pull request and issue 0 now that 1.3 is out. If this is still an issue you'd like to see address with 1.30 and going forward, please open a new issue so we can start a fresh discussion. Thank you!


Fix path slash failure in pickle updates jar

To validate this pull request against other sbt modules, please visit this link.


Update README.md

Remove brew linkapps step

Warning: Calling 'brew linkapps' is deprecated!

I too get the message that this command is deprecated, and that there's no replacement. However without it the app is not available in /Applications. What should users do instead?

How about not using brew and instead using the link mentioned above it? (http://macvim-dev.github.io/macvim/).
Was that option clear, or right now does it sound like you have to use brew?
We should make a custom bundling of MacVim bundled as VimBox where:

All plugins are installed separately from vim ~/.vimbox or something.
Fonts are installed by default.
Modern MacVim is ensured.
Icon is already placed on the app.
App installer that installs necessary fonts.

This way your original Vim/MacVim is also left untouched.

My intention with this PR is simply to keep users from even asking this question. Should I just remove any mention of brew in the docs? I could use some VIM practice with delete.

yeah, removing brew discussion would be a welcome change because at this point MacVim has really good/high quality releases - brew shouldn't be needed except for the few that actually know a lot about special MacVim builds and in that case, they don't need instructions.

Mentions of installing MacVim via brew have been removed.


Pull in updated verification server docker image (closes #1215)

Checklist

[ x ] Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
[ ? ] Make sure mvn -P integration-tests clean verify runs for the whole project and, if you touched any code for a service in the services folder, ensure it can be run with spring-boot:run

Description

Pulls in an updated docker image for the verification server to support the following additional endpoints:

/version/v1/registrationToken
/version/v1/tan
/version/v1/testresult

Each of them accepts a finite set of valid inputs as specified in the cwa-verification-fake code. See the comments up to line 53 of index.js.
This allows a client to complete all steps in the verification process for either TeleTANs or GUIDs, all the way through to receiving a test result.
The docker image is here for testing.
Note, I've also submitted the same changes as a PR to ole-lilienthal/cwa-verification-fake, but I didn't receive any feedback on my previous submission, so I'm not sure whether PRs are being accepted there.
Resolves #1215.

Hello llewelld,
thank you very much for your input and sorry you didn't get a response so far. We have been rather busy with implementing stuff, and it's only now we have a little more time on our hands.
Regarding your PR: We have another setup internally that we use to test the clients against. This is also the reason we didn't need that change. However, since you took the effort in creating this ticket and the PR, we at least didn't want to close it without giving you feedback—for which we didn't find the time.
Now I want to thank you in the name of the team of the CWA for your interest and your effort, even if won't come around to use it. I hope this doesn't discourage you from further participating here or in other open source projects.
Stay healthy!
Jeremias


"My Account" page Needs Attribute Set Name

I want attribute set name in "My Account" page (/account/edit_profile) as "View/Edit" page (dashboard/users/search/view/1).

As a supplement...
I'm also anxious that checkbox caption and the label is redundant.

@mikeda37 Can you close this issue ? Its been fixed in #7347

Yes, thank you for the fixing!


[FLINK-2059] Changed flink-compiler to flink-optimizer in the pom.xml

Thank you for fixing this.
+1 to merge.

Will merge this in my next batch...


Marker Bounds Box

Marker boundary box will display when a marker is selected.

Box dimensions are based off the datas Min/Max values

When viewport changes the box disappears.

Min/Max values are not part of the Marker's props like suggested. Instead the DriftMarker has an OnClick event that updates a state variable with the newest boundary box LatLng values to display.

I think the gridline stuff might just be an issue with a mismatch between different versions of zoomLevelToGeohashLevel - which I changed in the BM-semantic-fixture-data branch and recently merged into master IIRC.
Regarding the grey rectangles, is a more Marker-centric approach possible?
It seems that <Rectangle> elements can be children of the Marker (see below), so could they be tailored to appear/disappear based on mouse events of the parent Marker?  Might avoid some map-level state management?
<DriftMarker ...>
  <Tooltip>
    ...
  </Tooltip>
  <Rectangle bounds={[[bucket.ltMin, bucket.lnMax], [bucket.ltMax, bucket.lnMin]]} color="pink" weight={1} />
</DriftMarker>

I moved all of the bounds creation into the DriftMarker component. To do so I had to split the DriftMarker to its own component so I could use useState to track the hovering.


Run in simulator

Add support for running Bowser in the iOS simulator.

As of OpenWebRTC pod version 0.3.90, this is now possible.


Removes Jenkinsfile used for docs CI

The documentation has been migrated to docker/docker.github.io, so I'm removing this Jenkins file that was running docs-related CI and can start breaking the builds.
Signed-off-by: Joao Fernandes<EMAIL_ADDRESS>

LGTM
Thanks @joaofnfernandes !


Tables always appear to have changed when spaces occur between table tags

I noticed on the preview page that if the an HTML table has spaces between some of the tags it always flags the table as being different.
If you add a new unit test it demonstrates this.
[
  'table - with spaces',
  htmlToFragment('

 one

'),
  htmlToFragment('

one

'),
  '

one

',
  undefined,
],

Results in.
Expected: "

one

"
Received: "

 one

one

"

Even fails if both tables have same spaces:
[
  'table - with spaces',
  htmlToFragment('

 one

'),
  htmlToFragment('

 one

'),
  '

 one

',
  undefined,
],

results in:
Expected: "

 one

"
Received: "

 one

 one

"

In order to simplify the implementation (and avoid a performance cost),visual-dom-diff assumes inputs contain only relevant, normalized data. As a result, extraneous data, like redundant spaces between certain tags, leads to sub-optimal diffs. If it affects you, I'd recommend pre-processing your input documents to a format that visual-dom-diff can handle properly. I think it is preferable over bloating the library with workarounds and options to support special cases.


:sparkles: Update multi-dim schema

Update JSON schema to match multi-dim config type in owid-grapher.

Closing in favor of https://github.com/owid/etl/pull/3269


Add some plumbing to Hydrate the Data Lake UI (for dev purposes)

Closes #177
This PR also addresses allowing download (and all) scoped tokens to read/download any organization's data (card)

If this ends up looking good, might end up massaging the seed code a bit after we deploy this to prod and I use this with real production data (I could also deploy this branch and start trying it out before shipping if that seems warranted).


Clarification in the section Requiring user assignment for an app

Accordingly with the document in the section "Requiring user assignment for an App" regarding the the behavior when user assignment is required, we can see:
When user assignment is required, only those users you assign to the application (either through direct user assignment or based on group membership) are able to sign in. They can access the app on the My Apps portal or by using a direct link.
this appears to be contradicting itelf with the note:
When an application requires assignment, user consent for that application isn't allowed. This is true even if users consent for that app would have otherwise been allowed. Be sure to [grant tenant-wide admin consent (https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent) to apps that require assignment.
Can you please review and see if the first part needs to be clarified?

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

ID: 505a457a-6fd3-7fac-942f-f975883a495a
Version Independent ID: 97bc6852-8ce4-261d-473c-89949c152478
Content: Manage access to apps - Microsoft Entra
Content Source: articles/active-directory/manage-apps/what-is-access-management.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @eringreenlee
Microsoft Alias: ergreenl

@Cakoww
Thanks for your feedback! We will investigate and update as appropriate.

Hi @Cakoww , I believe the document is still correct.
Requiring user assignment will allow only the assigned users, groups, and apps a token to the application. It also allows users that are assigned to the application to see the application in the My Apps portal.
Separately, if an application wants to access resources on behalf of the signed-in user, the app could request for consent to access those resources. Depending on the consent policies of the tenant and the permissions requested from the app, a user may be able to consent for themselves. The idea of consent and assignment are distinct "gates" for the user to be able to access the application, and the application to access the required resources on behalf of the user.
However, requiring assignment on an application means that the user will not be able to consent for themselves, regardless of the policies or permissions requested. The app will always require an admin to do tenant-wide admin consent for the permissions. But allowing tenant-wide admin consent does not mean that the entire tenant will be allowed to sign-in to the application, since only the assigned users will be issued a token.
Does that explanation clear up the concern? If not, can you explain to me what is conflicting?

@Cakoww
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


strings update

@nighthawk this looks ok to me to merge.  can you check the french and italian updates and merge the request?

Time to merge this into master


Get release info for specific territory

How do I get information about releases, tracks and other files for individual regions? For example one track (although it can be both a file and a release) contains information for Worldwide and US regions, how to get the release for US?

Hello @GeorgNation.
You closed this issue so I guess you found a solution. I give an answer here for reference to other users.
Foreach Simple Entity, there is an access to a function getDetailsByTerritory($element, string $type, string $territory = "worldwide") where you can get information for a given territory (worldwide by default).
Note that you need to know the territory you are looking for. If the territory is missing for this element, an \Exception will be raised (in this case you can catch it and fallback on Worldwide if you wish).


DBZ-5152 LogMiner catch-up efficiency improvement

If startscn is 30min delayed from the current time.
Only the archive logs are loaded, during which a restart of LogMiner is not triggered until these archive logs are processed

@Naros
My modification has been running for a few days now. the connector will have a data loss problem when running on a rac cluster. I think it is caused by getMaxArchiveLogScn . Since my oracle log has two relatively independent archivelog threads and crossed scn ranges, This method, getMaxArchiveLogScn,  will cause the one of the log files to be lost a scn range. like this:

NAME
FIRST_CHANGE#
FIRST_TIME
NEXT_CHANGE#
NEXT_TIME
THREAD#
SEQ

+DATA/prod/archivelog/2_4460_1104612962.dbf
9273075693039
2022-05-29 23:59:31.000
9273075866240
2022-05-30 00:00:22.000
2
4460

+DATA/prod/archivelog/2_4459_1104612962.dbf
9273075628805
2022-05-29 23:58:34.000
9273075693039
2022-05-29 23:59:31.000
2
4459

+DATA/prod/archivelog/1_7504_1104612962.dbf
9273075533298
2022-05-29 23:57:31.000
9273075876853
2022-05-30 00:00:25.000
1
7504

+DATA/prod/archivelog/2_4458_1104612962.dbf
9273075527660
2022-05-29 23:57:28.000
9273075628805
2022-05-29 23:58:34.000
2
4458

Hi @elgca so in a RAC environment, it's normal for the various threads to have overlapping SCN values.  This is because the SCN assignment is global across all nodes in the cluster so one node may get SCN 1, another SCN 2, and then the previous node gets SCN 3.  This really all depends entirely on where the work is being performed on the cluster.
What I don't understand is the data loss comment, we have users using Oracle RAC today with no problem so I'm a bit confused on how you deduced that there will be some level of data loss?

Hi @elgca, can you check 1.9.7.Final and see whether or not this is still an issue?  We made some improvements with Oracle RAC and I'd like to know whether we need anything else regarding this?


Collection export

ability to export collections over to normal osu via collection.db change, just an idea ^^

is this the thing you wanted: https://github.com/ookiineko/CollectionDowngrader

this feature is really simple but this project is mainly about exporting beatmaps instead of collections i think

even though its still overcomplicated, something that would simply add the collections from lazer to stable would be sick since using that would need collection manager again

i dont know why you want to directly adding new collections from lazer to stable bcs what i use most is constantly overwriting the stable collection database with the one exported from lazer
since my use case is to download beatmaps right in the lazer client and add them to collections while playing all those in the stable client
but the feature u want is possible to implement, since we can already go through the lazer collection data, and it should be easy to parse the stable collection database, just append the new collection and basically it should be it (but some error checkings may be needed as well), but it will require some TUI or GUI and unfortunately i am not familiar with C# so... try to add this feature yourself
again i think my tool is simple and not overcomplicated, bcs what it does is very simple: downgrade the collection data and nothing else, one should use collection manager since they already support this.
one example is: use CollectionDowngrader to downgrade your collection database from lazer to a collection.db, open this exact file using CollectionManager, delete all the collections you don't want to add to your stable client collection database (you can do multi selection with ctrl or shift keys like you do in other gui apps), finally click file->open->osu! collection, this will load all the collections from stable but doesn't clear the collections you previously loaded from the downgraded collection.db (and not deleted manually after that) and now you just have to double check the result and save the collections to osu stable location (file->save->osu! collection)


fix(docs): amend exposition_formats.md broken relative links

Hi, and thanks! In this case, the existing links are actually already correct, since the content is meant to be viewed from the Prometheus website at https://prometheus.io/docs/instrumenting/exposition_formats/ (where you can see that they work). This repo here is just the content for the website. So closing this PR.

Hi, and thanks! In this case, the existing links are actually already correct, since the content is meant to be viewed from the Prometheus website at https://prometheus.io/docs/instrumenting/exposition_formats/ (where you can see that they work). This repo here is just the content for the website. So closing this PR.

Oops, my bad! 😄


Changing default gltf import settings fills project.godot with animation clip data

Godot version
3.4.4.stable.arch_linux
System information
Linux 5.16.16-arch1-1
Issue description
Changing the defaults for a scene import creates a large diff in the project.godot file, including a bunch of lines like:
+[importer_defaults]
+
+scene={
+"animation/clip_1/end_frame": 0,
+"animation/clip_1/loops": false,
+"animation/clip_1/name": "",
+"animation/clip_1/start_frame": 0,
+"animation/clip_10/end_frame": 0,
+"animation/clip_10/loops": false,
+"animation/clip_10/name": "",
+"animation/clip_10/start_frame": 0,
+"animation/clip_100/end_frame": 0,
+"animation/clip_100/loops": false,
+"animation/clip_100/name": "",
+"animation/clip_100/start_frame": 0,
+"animation/clip_101/end_frame": 0,
+"animation/clip_101/loops": false,
+"animation/clip_101/name": "",
+"animation/clip_101/start_frame": 0,
... many more ...

Would it be possible to only record non-default settings, or at least not record clip settings for clips > animation/clips/amount?
Relates to #20994, but this is not a file that can be gitignored.
Steps to reproduce

Open a new project in a git repository with a clean index
Add a gltf file
On the import settings, change materials/storage to "built in"
Click "Preset" and "Set as Default for Scene"
Check git status, see a large diff in project.godot

Minimal reproduction project
No response

This issue is a different symptom, but the same cause as #48189.
This does not occur in Godot 4.0 and later, only 3.x. As for fixing this in 3.x, it's a minor issue, and it's better to not change the behavior in 3.x which is supposed to be stable. Closing as fixed.


[flycheck] Allow disabling the --workspace argument through config

The check command for flycheck currently hardcodes the --workpace argument:
https://github.com/rust-analyzer/rust-analyzer/blob/60c8941097f3674ed4b583925603b5ec43833f0c/crates/flycheck/src/lib.rs#L198
This is problematic for workspaces whose crates require different targets. For example, a workspace for an embedded program might consist of crates that should be compiled for some ARM target and crates that should be compiled for the host architecture (e.g. cargo runner crates or xtasks).
For such workspaces, it is not possible to build all workspace crates for the same target, so there should be an option to disable the --workspace argument. This would make it possible to at least check one half of the crates configuring a default target and passing explicit --package arguments.
Ideally, there should be some way to specify target requirements at the crate/binary level, so that we could check everything in multiple passes (one for each target), but this seems like a larger task.

You can use "rust-analyzer.checkOnSave.overrideCommand": ["cargo", "check", "--message-format=json"].

Ah great, thanks a lot!


Explain Makefile

Write Makefile wiki to explain how to use our Makefile

@tjkemper
https://github.com/1701-jan09-java/interview-evaluations/wiki/Makefile
This is complete if it looks good to you.

lgtm


Include run_hlo_module in Tensorflow releases

Click to expand!
Issue Type
Feature Request
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
2.12.0
Custom Code
No
OS Platform and Distribution
Linux Ubuntu 22.04
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
tensorflow/compiler/xla/tools/run_hlo_module provides the ability to run HLO modules. Is it possible to include this in the TF releases so that we do not have to build from source?
Standalone code to reproduce the issue
This is what we have to do currently:

git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow
git checkout "r${TF_BRANCH}"
bazel build -c opt --config=cuda tensorflow/compiler/xla/tools/run_hlo_module

It's preferred that run_hlo_module is included as a binary in Tensorflow releases.

### Relevant log output

_No response_</details>

@tpopp @vam-google Would be very cool to have this - is it difficult to do?

Any updates on this?

I'm not the appropriate person for this, and I don't know who is.


Docker ECS - ARM support

Tell us about your request
As a user of the Docker ECS experience I want to be able to make use of cheaper Arm instances for my workload. This should include Net new creation of the resources based off a mapping in the Compose spec – Services, VPC, Security Group, etc and in certain cases, setting a reasonable default.
Which service(s) is this request for?
ECS CLI Experience
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
As a user I want to make use of cheaper resources for my service or have built a service to target Arm in particular. I cannot use the Docker ECS experience to deploy this currently
Are you currently working around the issue?
Use the existing ECS CLI tooling to complete my deployment

What does ECS stand for?

@aCandidMind https://docs.docker.com/cloud/ecs-integration/ https://aws.amazon.com/ecs/

Ah, not a fan of AWS. Lock-in supreme.
Much more thrilled for Mirantis embracing swarm (Kubernetes is overkill for most scenarios)
https://www.mirantis.com/blog/mirantis-will-continue-to-support-and-develop-docker-swarm/

In any case, thanks for the answer.

Is this feature now supported for Arm? I can't seem to find it on the roadmap.

Any news on the above?


How do we switch video/audio streams?

I'm disabling and re-enabling the stream
Calling producer close, then converting the transport to producer again with a new stream.
The other device seems to get the original stream, but when switching it becomes a grey screen.
I have also tried re-initializing the WebRTC render and consumers, no luck.
Can't seem to find it in the example (Provider would be better than Bloc 🙈)
Future<void> enableWebcam(BuildContext context) async {
  try {
    if (kDebugMode) {
      print("!--- enableWebcam");
    }

    RtpCodecCapability? codec;
    if (isWeb) {
      codec = device!.rtpCapabilities.codecs.where((element) => element.mimeType.contains("VP9")).toList()[0];
    } else {
      codec = device!.rtpCapabilities.codecs.where((element) => element.mimeType.contains("VP8")).toList()[0];
    }

    if (videoStream != null && sendTransport != null) {
      final self = rtcPeerProviderRead(context).selfPeer;
      await closeProducer(
        context,
        producerId: self.connections.producer!.id,
      );
    }

    videoStream = await createVideoStream(context);
    final track = videoStream!.getVideoTracks().first;

    // List what the device supports
    sendTransport!.produce(
      track: track,
      codecOptions: ProducerCodecOptions(
        videoGoogleStartBitrate: 1000,
      ),
      encodings: kIsWeb
          ? [
              RtpEncodingParameters(scalabilityMode: 'S3T3_KEY', scaleResolutionDownBy: 1.0),
            ]
          : [],
      stream: videoStream!,
      appData: {
        'source': 'webcam',
        'transportId': sendTransport!.id,
      },
      source: 'webcam',
      codec: codec,
    );
  } catch (e) {
    if (kDebugMode) {
      print("!--- Event: Failed to enable webcam");
      print(e);
    }
  }
}

I tried using
    await Helper.switchCamera(
       videoStream!.getVideoTracks()[0],
        videoInputDeviceId,
        videoStream,
    );

But it just freezes on the other devices.

I got it working but it shows a grey screen on the other devices. If they rejoin it works. Not sure what that could be, anyone help would be great.
Current code
final oldTrack = videoStream?.getVideoTracks().first;
      await oldTrack!.stop();

      // Throws PlatformException(mediaStreamRemoveTrack: Track is nil, null, null, null)
      // await videoStream?.removeTrack(oldTrack, removeFromNative: true);

      MediaStream newTrackStream = await getDeviceStream(getRootContext());

      final newTrack = newTrackStream.getVideoTracks().first;
      await videoStream!.addTrack(newTrack, addToNative: true);

      videoStream = newTrackStream;

      sendProduce(
        stream: newTrackStream,
        codec: codec,
        track: newTrack,
      );

I've logged a bug with Flutter Web RTC https://github.com/flutter-webrtc/flutter-webrtc/issues/1020