Pinning all cores and eating all RAM when in 'Error:  source: "announcer", msg: "No trackers left to try"' cycle

I was downloading a torrent from a private tracker and it may very well have been implemented badly, but it works with other clients and I thought why not try haze?
Immediately there is one error, followed by thousands of lines of the same error:
[Error 2019-05-11 08:20:01.126440067 UTC], source: "announcer", error: AnnounceWarning "Invalid passkey (0 - )"
[Error 2019-05-11 08:20:01.126443861 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126457111 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126457245 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126457405 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126457541 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126457666 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126457792 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126457911 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126458027 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126458142 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.12645826 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126458376 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126458496 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126458607 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126458724 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126458834 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126458944 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126459054 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126459164 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126459273 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126459387 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126459496 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.12646 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126460121 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126460231 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126460345 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126460455 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126460564 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126460678 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126460789 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126460904 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126461013 UTC], source: "announcer", msg: "No trackers left to try"
[Error 2019-05-11 08:20:01.126461121 UTC], source: "announcer", msg: "No trackers left to try"

This goes on all the while all CPU cores are pinned and it will eat all available RAM. IT managed to eat 10+ GBs of my 32 in no time and the only thing actually stopping it after leaving it for a bit was a power cycle.
Probably it could be valuable to check what happens in this cycle and minimize allocation, maybe turn off successive logging of this error in some circumstance, etc.

Yeah error logging can easily cause memory leaks because of it's unbounded nature.
I don't think that this error should be triggering in a loop though, so that can be addressed first.
A good improvement would be to improve the logging system to prevent excessive logging from eating up memory or locking things up.
(Sorry for not noticing this issue, it didn't pop up in my dashboard for some reason)

Oh, and I don't think the program will work with private trackers. It still shouldn't loop once it has no trackers left to try though.

Ok, this specific bug should now be fixed :) thanks for bringing this up!
Feel free to open another issue for private tracker support if that still interests you; I haven't been very lucky in finding much info about it though :thinking:

That's great. I will probably not really have a reason to test it out being that private trackers don't work, but it's nice that it's fixed.


AddFluentValidationAutoValidation doesn't offer an extension to IMvcBuilder like [deprecated] AddFluentValidation

FluentValidation.AspNetCore version
11.2.1
FluentValidation version
11.2.0
ASP.NET version
.NET 6
Summary
before AddFluentValidation was deprecated I called the following:
// controllers
builder.Services.AddControllers()
// fluent validation on requests coming in
.AddFluentValidation();
Doing so would require the IMvcBuilder extension. When I converted over to the recommended method .AddFluentValidationAutoValidation() it only allows it to be used on the IServiceCollection interface.  I assume I could do this:
builder.Services.AddFluentValidationAutoValidation().
However, will this not work properly as the other one worked against controllers or "after" controllers were added and an IMvcBuilder was constructed?
Steps to Reproduce
Just follow the Summary.

It doesn't need to be chained in order to work. Just call them sequentially: https://github.com/FluentValidation/FluentValidation.AspNetCore#automatic-validation

The last note I would make is that I also registered the validators from an outside assembly like so:
.AddFluentValidation(options => options.RegisterValidatorsFromAssembly(typeof(Library).Assembly, includeInternalTypes: true));
I do not see an equivalent call when using the recommended extension:
.AddFluentValidationAutoValidation( builder => builder.??

Registration is now a separate method so it can be used outside of ASP.NET applications. Can I suggest you take a look at the project readme? This is all covered in there.
services.AddMvc();
services.AddFluentValidationAutoValidation();
services.AddValidatorsFromAssemblyContaining<Library>(includeInternalTypes: true);


请问一下运行finetune的时候，这个问题怎么解决呢？

/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at  ../aten/src/ATen/native/TensorShape.cpp:2894.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
Traceback (most recent call last):
File "./tools/train_net.py", line 335, in
args=(args,),
File "/meta/cash/llm/OV-DINO/ovdino/detectron2-717ab9/detectron2/engine/launch.py", line 79, in launch
daemon=False,
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 240, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 198, in start_processes
while not context.join():
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 160, in join
raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:
-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/transformers/utils/hub.py", line 429, in cached_file
local_files_only=local_files_only,
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/huggingface_hub/file_download.py", line 1286, in hf_hub_download
"Cannot find the requested files in the disk cache and"
huggingface_hub.utils._errors.LocalEntryNotFoundError: Cannot find the requested files in the disk cache and outgoing traffic has been disabled. To enable hf.co look-ups and downloads online, set 'local_files_only' to False.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
fn(i, *args)
File "/meta/cash/llm/OV-DINO/ovdino/detectron2-717ab9/detectron2/engine/launch.py", line 126, in _distributed_worker
main_func(*args)
File "/meta/cash/llm/OV-DINO/ovdino/tools/train_net.py", line 320, in main
do_train(args, cfg)
File "/meta/cash/llm/OV-DINO/ovdino/tools/train_net.py", line 210, in do_train
model = instantiate(cfg.model)
File "/meta/cash/llm/OV-DINO/ovdino/detectron2-717ab9/detectron2/config/instantiate.py", line 67, in instantiate
cfg = {k: instantiate(v) for k, v in cfg.items()}
File "/meta/cash/llm/OV-DINO/ovdino/detectron2-717ab9/detectron2/config/instantiate.py", line 67, in
cfg = {k: instantiate(v) for k, v in cfg.items()}
File "/meta/cash/llm/OV-DINO/ovdino/detectron2-717ab9/detectron2/config/instantiate.py", line 83, in instantiate
return cls(**cfg)
File "/meta/cash/llm/OV-DINO/ovdino/detrex/modeling/language_backbone/bert.py", line 99, in init
self.tokenizer = BERTTokenizer(**tokenizer_cfg)
File "/meta/cash/llm/OV-DINO/ovdino/detrex/modeling/language_backbone/bert.py", line 40, in init
self.tokenizer = AutoTokenizer.from_pretrained(tokenizer_name)
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/transformers/models/auto/tokenization_auto.py", line 659, in from_pretrained
pretrained_model_name_or_path, trust_remote_code=trust_remote_code, **kwargs
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/transformers/models/auto/configuration_auto.py", line 944, in from_pretrained
config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/transformers/configuration_utils.py", line 574, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/transformers/configuration_utils.py", line 641, in _get_config_dict
_commit_hash=commit_hash,
File "/home/ahs/anaconda3/envs/py37/lib/python3.7/site-packages/transformers/utils/hub.py", line 453, in cached_file
f"We couldn't connect to '{HUGGINGFACE_CO_RESOLVE_ENDPOINT}' to load this file, couldn't find it in the"
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like bert-base-uncased is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

The same issue, refer to the issue #18.


Api Key for Apollo Engine

Hi all,
I am trying to integrate Apollo Engine with Nuxt and I need to add the API key, but I don't know how can I do that. I see that in nuxt.config it is a part for Apollo Engine, however, I don't know where I should specify the Apollo Engine API key.
Thanks

This question is available on Nuxt community (#c171)

@ardian-c:
As far as I know you cannot use Apollo Engine from within apollo-client (and all projects that use apollo-client under the hood like vue-apollo or nuxt-apollo).
Apollo Engine is used within apollo-server (so the server side of your GraphQL stack). All metrics gets transmitted by the server to Apollo Engine.

@tha80, I see, so in my server (Elixir/Absinthe) I'll need to add something like this package, to allow tracing. Thanks!


Tensor.bytes()

🚀 🚀 Pull Request
Checklist:

[ ]  My code follows the style guidelines of this project and the Contributing document
[ ]  I have commented my code, particularly in hard-to-understand areas
[ ]  I have kept the coverage-rate up
[ ]  I have performed a self-review of my own code and resolved any problems
[ ]  I have checked to ensure there aren't any other open Pull Requests for the same change
[ ]  I have described and made corresponding changes to the relevant documentation
[ ]  New and existing unit tests pass locally with my changes

Changes
https://activeloop.atlassian.net/browse/AL-1474

tensor[i].bytes() returns original compressed bytes

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


Display In Sync Replicas (ISR) by Partition on Topic overview

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
Highlight non-synced replicates partition with bold red.
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[x] Manually (please, describe, if necessary)
[ ] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

@armenuikafka 0.6

@BulatKha could you please take a look, seems we need to have more than 1 broker locally to check this

@winnie-chiu thank you


refactor: clean up swap widget

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Introduce til/mutex.h and til/throttled_func.h

Summary of the Pull Request
This commit introduce 2 new til features:

"til/mutex.h": A safe mutex wrapper, which only allows you access to the protected data after locking it. No more forgetting to lock mutexes!
"til/throttled_func.h": Function invocation throttling used to be available as the ThrottledFunc class already. But this class is vastly more efficient and doesn't rely on any WinRT types.

This PR also adds a til::ends_with string helper which is til::starts_with counterpart.

References

PR Checklist

[x] Closes #10393
[x] I work here
[ ] Tests added/passed

Validation Steps Performed

Scrollbar throttling still works as it used to ✔
No performance regressions when printing big.txt ✔

I've rebased this PR to resolve:

The merge conflict with the main branch
The race condition I found in my ThrottledFunc implementation (not to be confused with til::throttled_func^^)

No further changes were made.

make sure you're adding tests for the til things you're adding 😄 wherever easily possible of course

@DHowett In hindsight I should've made this a draft. I'm sorry. 🤦 I'll add some for sure before I merge this!
Especially in case of til::throttled_func it must be ensured that you can invoke the func from inside the callback. Something like this basically:
til::trailing_throttled_func<bool> func;
func = til::trailing_throttled_func<bool>(100ms, [&](bool reschedule) {
    std::cout << "invoked\n";
    if (reschedule) {
        func(false);
    }
});
func(true);

^ This needs to print twice no matter what.
The til::shared_mutex will be a bit hard to properly test, but some basic tests ("does the guard correctly drop the lock?") should be possible for sure!

@DHowett Unit tests added! ✔


[Feature Request] Scroll bar/buttons

This one, I understand, will be very niche, but... I don't have a scroll wheel on my mouse!
Do you think it'd be possible to make the default scrollbar toggleable in the options? (Appearing only on mouseover, of course!)
It would help tremendously with accessibility, and I promise that with this and my other request (text alignment), I will almost definitely stop poking you for new features!!
Thank you again! :D

For the love of holy cow, include details like that whenever you make feature request. Specific usecases when described help a lot to understand the cause of the issue. This request went from "wtf? 🤨" to "hmmm, makes sense, I'll think about... 🤔"

Ah, sorry! I noted that it was because I lacked a scroll wheel, but I wasn't sure if it would be necessary to detail exactly why. Like I said, I'm probably the only user of the addon that has this issue, so if it's not an easy addition, please don't worry about it!

Nah, this request + #6 made me consider adding toggles for re-enabling some default chat elements. I'll prob reskin them so that they don't look out of place, but it's now something I may add later.

Finally got around to working on glass. With the next update I'll add optional scroll up and down buttons above the scroll to bottom button.


Change to absolute imports in search script, update readme

Fix for #4  - use absolute imports in search script.

Looks good to me. Thanks, Tom!


Rename stage field in the configuration to deploymentId

We're using the stage field to distinguish between deployments anyway so we should make it official. The change is pretty much just the rename of the field but we should mention in the documentation that it is used to distinguish between the deployments and should be unique for each Airnode/deployment.
Slack discussion

This should be blocked by the cloud resource naming rework (because the assumption for this issue was that stage needs to be temporally unique, which may not be the case)

Hi, the new configs now show the change and the validator complains if you rename it back. Working well.


Drop Fedora 33 CI and update to Go 1.16

This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

Blocked on #2163

Surpassed by #2177


ExecuteScriptMarkLogic should route to FAILURE on error

When something goes wrong in an ExecuteScriptMarkLogic processor, it just calls logErrorAndRollbackSession. The flow file remains in the queue and is retried after a penalty period. Because there's no way to route to the FAILURE relationship, there's no way to build the flow to notify someone about the error -- it just keeps trying the same thing over and over.
I'd like to see errors routed to FAILURE. I think this is as simple as changing this:
        } catch (final Throwable t) {
            this.logErrorAndRollbackSession(t, session);
        }

to this:
        } catch (final Throwable t) {
            session.transfer(originalFF , FAILURE)
        }

and moving the declaration of originalFF outside of the try:
        FlowFile originalFF = nulll;
        try {
            originalFF = session.get();
            if (originalFF == null) {
                return;
            }

Even better -- create a new ERROR relationship. If the code throws an error, route the flow file to error. Other problems (such as network interruptions) can continue to go to the FAILURE relationship. This way we can do retries on failures, but alert on errors.

@dmcassel I'm wondering about catching FailuredRequestException and treating that as an "error" and everything else as a "failure". I did some testing of various errors:

A bad script produces an FRE
An invalid username/password produces an FRE
A bad host or bad port produces a MarkLogicIOException
Basic auth instead of digest auth produces an FRE

So an FRE captures both script errors and authentication errors. So that wouldn't meet your goal of "if the code throws an error".
What would do the trick is to call checkConnection on the DatabaseClient before proceeding. If that fails, we can route the FlowFile to an e.g. "connection failed" relationship. If that succeeds, we execute the script and if that fails, we route the FlowFile to a "failure" relationship.
If that sounds good, I'd rather do that as a separate ticket and apply that across all the processors. I'm not sure yet that we should do it though, because various connection failures can differ in whether a retry is going to matter - i.e. a failed password is unlikely to change on a retry, but an IO exception due to the host being temporarily unavailable may succeed on a retry. Adding new relationships also has the downside of requiring users to configure those relationships on an upgrade, regardless of whether they care about them or not.
In any event, for the scope of this ticket, I just want to fix the original issue and have it behave like ExtensionCallML - i.e. route the failed FlowFile to the "Failure" relationship so it can be addressed there. It will have the error message in it, so worst case, you could apply logic to determine whether to route it back for retry.


transform-object-rest-spread missing in devDependencies present in .babelrc

Hi, just generated basic application with
max$ grommet version
3.0.1

running yarn dev produces exception
max$ yarn dev
yarn dev v0.21.3
$ cross-env NODE_ENV=development grommet pack
[grommet:pack]: Running webpack...
/Users/max/src/comae/porosity-web/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180
          throw new ReferenceError(messages.get("pluginUnknown", plugin, loc, i, dirname));
          ^

ReferenceError: Unknown plugin "transform-object-rest-spread" specified in "/Users/max/src/comae/porosity-web/.babelrc" at 0, attempted to resolve relative to "/Users/max/src/comae/porosity-web"

interesting. the basic template does not have the rest spread transform:
https://github.com/grommet/grommet-cli/blob/master/templates/basic/.babelrc
I'm assuming you executed grommet new porosity-web --type basic ?

Sorry, that's my bad, I know what's happened, I generated with --type app, then removed rm * though it did not delete .babelrc, then regenreated --type basic .babelrc should have stayed.


Not rendering in Shiny

Hi - I am a newbie to Shiny and I am trying to use the d3TreeR HTML Widget
Sample Data:
Trader Dashboard Data Prep Sample.xlsx
I used the following code and it ran perfectly in R:

    library(readxl)
    budget_map <- read_excel(path = 'Trader Dashboard Data Prep Sample.xlsx',sheet='v2',col_names = TRUE)
    library(treemap)
    budget_treemap <- treemap(budget_map,index=c("Sales Agency","Agency","Advertiser"),vSize="Booked Revenue Net",vColor="Sales Agency",palette = "Set1",type="categorical",title="Australia Budget Map",fontsize.title=22)
    library(d3treeR)
    d3tree2(budget_treemap)

I'm trying to get it to render in Shiny and am using the following code:
    library(shiny)
    library(readxl)
    library(treemap)
    library(htmlwidgets)
    library(data.tree)
    library(d3treeR)
    budget_map <- read_excel(path = 'C:/Users/rahul/Desktop/30k foot view/Trader Dashboard Data Prep Sample.xlsx',sheet='v2',col_names = TRUE)
    budget_treemap <- treemap(budget_map,index=c("Sales Agency","Agency","Advertiser"),vSize="Booked Revenue Net",vColor="Sales Agency",palette = "Set1",type="categorical")

    ui <- fluidPage(
      d3tree2Output("au_budget_map")
    )

    server <- function(input,output){
        output$au_budget_map <- renderD3tree2({budget_treemap})
    }

    shinyApp(ui = ui, server = server)

Not sure why it isnt rendering - any help will be greatly appreciated!

My bad - figured that the input for the renderD3tree2 would have to be d3tree2 so, the code should have been:
output$au_budget_map <- renderD3tree2({d3tree2(budget_treemap)})

No problem.  Glad you are using.  Should probably add S3 for treemap.

Thank You for responding!
P.S: Sorry but didnt get that bit  - as in, the bit on adding S3 for treemap?


Flux vector has no attribute irreversible attribute

Traceback (most recent call last):
  File "/home/sthiele/miniconda3/envs/cnapy/lib/python3.7/site-packages/cnapy-0.0.5-py3.7.egg/cnapy/gui_elements/mcs_dialog.py", line 321, in compute
  File "/home/sthiele/miniconda3/envs/cnapy/lib/python3.7/site-packages/cnapy-0.0.5-py3.7.egg/cnapy/gui_elements/mcs_dialog.py", line 487, in compute_legacy
  File "/home/sthiele/miniconda3/envs/cnapy/lib/python3.7/site-packages/cnapy-0.0.5-py3.7.egg/cnapy/gui_elements/centralwidget.py", line 243, in update_mode
  File "/home/sthiele/miniconda3/envs/cnapy/lib/python3.7/site-packages/cnapy-0.0.5-py3.7.egg/cnapy/gui_elements/centralwidget.py", line 252, in update
  File "/home/sthiele/miniconda3/envs/cnapy/lib/python3.7/site-packages/cnapy-0.0.5-py3.7.egg/cnapy/gui_elements/modenavigator.py", line 50, in update
AttributeError: 'list' object has no attribute 'irreversible'
zsh: abort (core dumped)  python cnapy

This happened because I used an old .npz file that did not contain the irreversible attribute. Something like this always happens when one tries to open an invalid file. We should have a special error message for that.


Custom themes system

Can you elaborate?

User will can upload custom CSS or (maybe) change the CSS via the app.
Also a "pre-installed" list with custom CSS/skins for the player.

The description of this issue has been updated.


Matching years marked wrong

I had two cards from 1893, I placed the new one prior to the existing 1893 on the timeline and it was marked wrong.
If the matching matches on dates beyond the year, then the "wrong" display should include month and date so I can learn the differences. If it doesn't compare dates beyond year, then this is a bug.

Duplicate of https://github.com/tom-james-watson/wikitrivia/issues/8


WireGuard peer configuration generator does not save instance

Bug
The WireGuard peer configuration generator lets you select an instance. But if you press "Store and generate next" the entry in the peer list does not have an instance configured.
To Reproduce
Steps to reproduce the behavior:

Go to VPN / WireGuard / Peer generator
Generate a peer
Click "Store and generate next"
Check the respective entry in the peer list for the instance

Expected behavior
The peer entry should have the selected WireGuard instance configured. For reference and in case it matters: In my case only one instance was configured.
Environment
OPNsense 24.1.5 (amd64).

Peer was adde, but not assigned?

Exactly. The peer was added like expected, but the instance field was blank.

It does.
Thank you for that patch and for your great work on OPNsense in general. Much appreciated!


Fetch images?

Hi!
First of, great package. Works like a charm!
One thing I'm missing is fetching image links. It would be nice it the package did this.
Like this one:
https://i.imgur.com/lEzmnXr.jpg
I would like it because it somehow expected when posting and image in e.g. a feed (where I use this) that it would be fetched. Thoughts?

the way the package works is by fetching the detected url and looking into the internal html for the properties that are important, I'm not really sure about image fetching however, this seems something you could test with a regex, if it was to be implemented the shape of the response would be the same.
What would be the expected output of https://i.imgur.com/lEzmnXr.jpg?

Hey, sorry it is a little late, but I really had no time to look into this, I just tested the link your provided and the response I get from the library is:
      title: 'Imgur: The magic of the Internet',
      description: 'Post with 393 views.',
      mediaType: 'article',
      images: [ 'https://i.imgur.com/lEzmnXr.jpg?fb' ],
      videos: [] }```

Seems to me this is working as intended, I think handling more logic to check for bigger sizer images is out of the scope of this library, so I won't be spending more time on this, however if you feel you can solve this in an elegant manner feel free to submit a pull request.


Black lines in the rgb-d image

Hi,
once successfully completed the calibration, when I see the rgb-d images with the ROS viewer they present some unexpected black lines as you can see in the picture
Does anybody know why this happen?

I think it's the normal effect of point clouds visualized with PCL.
You can zoom in or out with mouse and black lines will disappear.


2.1 Missing translation template

Operating system or device, Godot version, GPU Model and driver (if graphics related):
win64 godot2.13
Issue description:
Missing translation template "Make Unique".
This phrase cannot be translated automatically.

Can't be fixed by #11285.
editor/translation/editor.pot and all *.po files missing "Make Unique" msgid

Translation template will be updated eventually.


"R Session terminated" because of dfRowToList

When I try to run the API, my R session terminates.
It is caused by this line:
https://github.com/mboecker/lookup-server/blob/master/docker/omlbotlookup/rest_api.R#L40
Is this the same bug as #36 ?

I'm trying rest_estimate_performance(3, "classif.ranger",'{"mtry":5}'), but since this doesn't appear while trying #38, it could be caused by using a single parameter.

Can you give an example API call that produces this error?
It does not happen for me at the moment.


Core: Seeing unexpected exception during upload to GCS with Java client

Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":

Search the issues already opened: https://github.com/googleapis/java-storage/issues
Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform

If you are still having issues, please include as much information as possible:
Environment details

Specify the API at the beginning of the title. For example, "BigQuery: ...").
General, Core, and Other are also allowed as types
OS type and version: Linux x64 docker container unsure of specifics
Java version: 11
version(s): GCS Library version 2.38.0

Steps to reproduce

Happens intermittently on upload.

Code example
        final long ret =
                isArchive ? uploadFile.length() : FileUtils.sizeOfDirectory(uploadFile);
        if (isArchive) {
            BlobId blobId = BlobId.of(s3BucketName, s3Path);
            BlobInfo blobInfo = BlobInfo.newBuilder(blobId)
                    .setStorageClass(infrequentAccess
                            ? com.google.cloud.storage.StorageClass.NEARLINE
                            : com.google.cloud.storage.StorageClass.STANDARD).build();
            storage.createFrom(blobInfo, uploadFile.toPath());
        } else {
            try (Stream<Path> stream = Files.walk(uploadFile.toPath())) {
                forkJoinPool.submit(() ->
                        stream.parallel().filter(x -> !x.toFile().isDirectory())
                                .forEach(filePath -> {
                                    try {
                                        uploadFile(filePath.toFile(), s3BucketName,
                                                Path.of(s3Path, uploadFile.toPath()
                                                                .relativize(filePath)
                                                                .toString())
                                                        .toString(),
                                                infrequentAccess, true, sse);
                                    } catch (Exception e) {
                                        throw new RuntimeException(e);
                                    }
                                })).get();
            }
        }
        return ret;

Stack trace
com.google.cloud.storage.StorageException: Client side data loss detected. Attempt to append to a resumable session with an offset higher than the backend has
|> PUT https://storage.googleapis.com/upload/storage/v1/b/prd-us-psc-lc-shared-infra-indexes-gcs-green/o?name=class%3Ddefault/org%3DN88FD8JR/partition%3Dd/type%3Draw_current/tstamp%3D0/size%3D0/partition-55&uploadType=resumable&upload_id=AD-8ljvvtif0xx7yz_pwkGcUQbPSH3b96EmAPBDcvZNDJHFHoZOTV6D9F5vM6qeP29LraFm2k5T2_APXqhM8V3ctwROvtRb6F4ALqoQ_L6mZD-Qd2A
|> content-range: bytes<PHONE_NUMBER>-2090235391/1086748160
|> x-goog-gcs-idempotency-token: e5ebfb44-2ad2-4a60-a45a-9e4c121af017
|
|< HTTP/1.1 400 Bad Request
|< content-length: 37
|< content-type: text/plain; charset=utf-8
|<
|< Failed to parse Content-Range header.
|
  at com.google.cloud.storage.ResumableSessionFailureScenario.toStorageException(ResumableSessionFailureScenario.java:305) at com.google.cloud.storage.ResumableSessionFailureScenario.toStorageException(ResumableSessionFailureScenario.java:133)
  at com.google.cloud.storage.JsonResumableSessionPutTask.call(JsonResumableSessionPutTask.java:210)
  at com.google.cloud.storage.JsonResumableSession.lambda$put$0(JsonResumableSession.java:81)
  at com.google.cloud.storage.Retrying.lambda$run$0(Retrying.java:102)
  at com.google.api.gax.retrying.DirectRetryingExecutor.submit(DirectRetryingExecutor.java:103)
  at com.google.cloud.RetryHelper.run(RetryHelper.java:76)
  at com.google.cloud.RetryHelper.runWithRetries(RetryHelper.java:50)
  at com.google.cloud.storage.Retrying.run(Retrying.java:99)
  at com.google.cloud.storage.JsonResumableSession.put(JsonResumableSession.java:68)
  at com.google.cloud.storage.StorageImpl.createFrom(StorageImpl.java:272)
  at com.google.cloud.storage.StorageImpl.createFrom(StorageImpl.java:235)

External references such as API reference guides

?

Any additional information below
Case 53758543 opened with support, they suggested I also open an issue here.
Following these steps guarantees the quickest resolution possible.
Thanks!

That's great thank you.


Reference Tag Colors [UX]

On the users' references page, the tags should be a neutral color for optimal information hierarchy. The colored tag creates an unnecessary pop-out effect even though the tags naturally pop out.
Before

After

Corner Radius: 4px
Fill: Light Gray (E9E9E9)
Text: Ubuntu / Bold / 12
Text Color: Almost Black (27282C)

Hi, I'd like to work on this issue!

Let me know here or via email if you have any questions!

I was about to dive into working on this but am seeing it requires Docker. My machine (late 2009 iMac running macOS 10.11.6) is old and incapable of running Docker. Is there any workaround for this? I'm looking into it and hoping to find a way.

Yes, you can run the frontend locally without docker by pointing it to the test instance at https://next.couchershq.org/. Just install the dependencies (with yarn) then
REACT_APP_API_BASE_URL="https://dev-api.couchershq.org" yarn start

thank you!

Every time I try to install the dependencies I get this error: Unexpected end of JSON input. I navigated to the app and frontend subfolders. I tried removing the package.json in my home directory as I read that could be what's causing this to occur. Any ideas on how to get yarn working past this?

Could you post the full error message?

error An unexpected error occurred: "/Users/alex/Desktop/Projects/package.json: Unexpected end of JSON input".
info If you think this is a bug, please open a bug report with the information provided in "/Users/alex/Desktop/Projects/couchers/app/frontend/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Alex-Curtis-Sleps-iMac:frontend alex$

Ok maybe I need to delete the file in that directory that is a package.json!

Fixed!

Thanks

When I ran the app with command you mentioned earlier I got this error:
Failed to compile.
./src/AppRoutes.tsx
Module not found: Can't resolve './proto/pages_pb' in '/Users/alex/Desktop/Projects/couchers/app/frontend/src'

You need to generate the API code. The easiest way is to download the generated code from our CI pipelines. There are instructions here: https://github.com/Couchers-org/couchers/tree/develop/app/frontend#option-2-target-the-preview-api-and-backend

I've looked at the codebase and some of the docs but am not totally sure where the changes need to be made. I found the right fill color already listed in theme.ts. I also see the ReferencesView.tsx file. How can I pull up a users' references page on a local copy of the project? I login with my account but it never works unless I use the actual site.

Looking some more it seems like the changes need to happen in ReferenceListItem.tsx. Does anyone have any tips for me? Thanks in advance.

Ok, I did that but only on the actual website, not in my local version of the app (each time I try to login it says couldn't find that user). Not sure if local or production version makes a difference, does it? I found the component and was able to change it from within dev tools, but not sure where to target that in the codebase. I couldn't find the render function, could you expand on what you mean by that? I included a screenshot of React dev tools for the component.

If you're using the local version with docker, sign-up and login emails are
printed in the backend container logs. You can also use the user "aapeli"
with password "Aapeli's password"
On Mon, 30 Aug 2021, 03:56 Alex Curtis-Slep, @.***>
wrote:

Ok, I did that but only on the actual website, not in my local version of
the app (each time I try to login it says couldn't find that user). Not
sure if local or production version makes a difference, does it? I found
the component and was able to change it from within dev tools, but not sure
where to target that in the codebase. I couldn't find the render function,
could you expand on what you mean by that? I included a screenshot of React
dev tools for the component.
[image: Screen Shot 2021-08-29 at 9 53 36 PM]
https://user-images.githubusercontent.com/49458917/131274705-3c2551a9-7edd-4625-81e4-efacee6a3587.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Couchers-org/couchers/issues/1524#issuecomment-907950151,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHUPIP6HHBFENRC5PQC2QALT7LQNNANCNFSM47NBNAYA
.

I cannot run Docker on my machine due to its age (maybe it could work through virtualization I'm not sure). I generated my API code to run the frontend. I tried the login you provided and no dice probably because it's not used with Docker. Is there a way to login without Docker?

Aapeli's password

I see! In that case you can target the live development api server instead of the local server by running REACT_APP_API_BASE_URL=https://dev-api.couchershq.org yarn start instead of yarn start. You can sign up with an account and real emails will be sent - but the links in the emails will be something like https://next.couchershq.org/login/ABCDE123 which you obviously need to change to http://localhost:3000/login/ABCDE123

Thanks, I've been using that command but didn't understand about changing the links when signing up. I'm on my account with the local server but can't find a user with references. I've sent friend requests in hopes of being able to leave references and get a better sense of where I need to make changes. Am I missing something here? I've looked at the docs to try and see if there's a way to remedy this but can't find a solution.

I have made changes I'd like to push to my own branch. When I push in my terminal I get this message:
git push origin frontend/refactor/reference-tag-colors
remote: Permission to Couchers-org/couchers.git denied to AlexVCS.
fatal: unable to access 'https://github.com/Couchers-org/couchers.git/': The requested URL returned error: 403

If you know the way to get past this (I'm trying different ways) please let me know :)

Pretty sure I figured this one out!

I have been trying to clean up the merge conflict but am stuck. I tried to pull down changes, rebase and search for what could be a good step for solving the issues. Here's my repo if you've got any advice for how to remove the conflicts (see the screenshot for conflicted files). https://github.com/AlexVCS/couchers/tree/frontend/refactor/reference-tag-colors/app

Sorry! We just moved everything that was in app/frontend to app/web. Probably the easiest thing would be to apply your changes on a new branch.


Request command equivalent to the most used events

Hi, it would be nice to have a command equivalent to the most used events.
Today, many developers use the MVVM pattern and features such as Xamarin forms behavior
to handle the case where a type does not implement the command equivalent of an event.
This property contribute to keep our code neat while using the MVVM pattern.
Thanks

You can use EventToCommandBehavior that provides Event to Command comversion.
I agree to you but I hope keep clean in X.F.GoogleMaps.
I'm debating to add fully binding supports.

I understand that you want to keep the GoogleMaps namespace clean. Today, who work with
Xamarin forms and doesn't use the MVVM pattern ? It would be nice to poll developers for this.

ref #9

This discussion has been moved to #9 .


Moving an element up causes the element before it to be overwritten with current one

Found it when working on #2
Describe the bug
When I move element #2 up, element #1 (which is now #2) gets overwritten with element #2 (which is now #1)
To Reproduce
Steps to reproduce the behavior:

Create 2 buttons
Click 'move up' button on element #2
Select element #2 (which was #1)
See that the properties are the same as #1's properties; which means #2 is lost and is the same as #1

Expected behavior
#2 should have the same properties as when it was #1
Screenshots

Desktop (please complete the following information):

OS: Windows 10 1809 LTSC
Browser: Brave 1.18.75 (Chromium 87.0.4280.101) (also happens on Firefox 85)
Version: From latest commit (b77634e)

This bug is because elements.selectedElement is not changed when the selected element moves, and it confuses the app.


[Bug]: sensor_plus exception when terminating app with stream subscription (sendOnChannel after flutter terminate)

Platform
iOS 15.5
Plugin
sensors_plus
Version
1.3.2
Flutter SDK
3.0.4
Steps to reproduce

Subscribe to sensor stream (accelerator or gyro)
Terminate app from UI (i.e. swipe up close on iOS)

Code Sample
No response
Logs
*** Assertion failure in -[FlutterEngine sendOnChannel:message:binaryReply:], FlutterEngine.mm:998
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Sending a message before the FlutterEngine has been run.'
*** First throw call stack:
(0x1e377d288 0x1fc477744 0x1e500a360 0x10b9da804 0x1086967c8 0x108696c9c 0x1e4f29c1c 0x1e4f3bf94 0x1e4f14214 0x1e4f255dc 0x1e4f28c68 0x1e4f36e10 0x1e33f3830 0x1e33e4a30 0x1e33e7eec 0x1e33e75f0 0x1e33f6164 0x1e33f696c 0x25503c080 0x25503be5c)
libc++abi: terminating with uncaught exception of type NSException
* thread #7, queue = 'NSOperationQueue 0x1095b2600 (QOS: UNSPECIFIED)', stop reason = signal SIGABRT
    frame #0: 0x000000021b312b38 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x21b312b38 <+8>:  b.lo   0x21b312b58               ; <+40>
    0x21b312b3c <+12>: pacibsp
    0x21b312b40 <+16>: stp    x29, x30, [sp, #-0x10]!
    0x21b312b44 <+20>: mov    x29, sp

Flutter Doctor
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-arm, locale en-AU)
    • Flutter version 3.0.4 at /Users/anthonyhunter/devTools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (11 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/anthonyhunter/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.69.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

I am also seeing this behavior.
To confirm this was not implementation specific, I tested this in a new flutter app with the example code from pub.dev, and the same exception occurs when terminating app.
❯ flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-x64, locale
    en-US)
    • Flutter version 3.0.5 at /Users/sean/Documents/dev/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (6 days ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/sean/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.69.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.4 21F79 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

+1

same

@followthemoney1 yes problem solved

Still getting exception on terminate with 1.3.3
On Fri, 29 Jul 2022 at 9:40 pm, Cenk YAĞMUR @.***>
wrote:

@followthemoney1 https://github.com/followthemoney1 yes problem solved
—
Reply to this email directly, view it on GitHub
https://github.com/fluttercommunity/plus_plugins/issues/956#issuecomment-1199179877,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQI367KKZWWTGMOZRMYDVYTVWO7MDANCNFSM53JP4ADQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Cheers,
Anthony
0403 135 840

Still getting exception on terminate with 1.3.3
On Fri, 29 Jul 2022 at 9:40 pm, Cenk YAĞMUR @.***>
wrote:

@followthemoney1 https://github.com/followthemoney1 yes problem solved
—
Reply to this email directly, view it on GitHub
https://github.com/fluttercommunity/plus_plugins/issues/956#issuecomment-1199179877,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQI367KKZWWTGMOZRMYDVYTVWO7MDANCNFSM53JP4ADQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Cheers,
Anthony
0403 135 840

Strange, right now we added a close streams code and wrap messages which we send to flutter engine throught catch block in case sensors want to send data unexpected

I tried it, it didn't give any errors anymore, I took it live, lots of users are using it, still no error

@followthemoney1 apologies, I saw the assertion but realise it is now been handled and is not throwing a crash notice on iOS. I agree this is resolved.


Error: Cannot find module '@generated/type-graphql'

Describe the issue
When we set NODE_ENV to production on heroku we get this error
Error: Cannot find module '@generated/type-graphql'
we can see from our logs that it's generated already and seems to be removed after the build
how to tell we want to keep this folder in production? or we better change the generation outside node_modules?

or we better change the generation outside node_modules?

yes


npm start command not working

npm command not working for me, getting following error.
Error

Debug logs

The pull request #20 should fix this issue. In the interim please run npm run build before you do npm start

When I run 'npm run start' ->  It doesn't hot-reload, doesn't show warnings in console.
When I run 'npm run dev'-> It hot-reloads, shows errors/warnings in console.


Add Instagram in-app browser

Browser now is able to recognize Instagram in-app browser.

Merged via #386 due to conflicts.


RuntimeError: invalid multinomial distribution (sum of probabilities <= 0)

Hi, when I runned the Retrieval.py, I met this issue. How could I repair it?
Traceback (most recent call last):
File "Retrieval.py", line 382, in
main(args, config)
File "Retrieval.py", line 305, in main
train_stats = train(model, train_loader, optimizer, tokenizer, epoch, warmup_steps, device, lr_scheduler, config)
File "Retrieval.py", line 51, in train
loss_ita, loss_itm = model(image, text_input,alpha=alpha, idx=idx)
File "/home/ma-user/anaconda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/ma-user/anaconda/lib/python3.7/site-packages/torch/nn/parallel/distributed.py", line 619, in forward
output = self.module(*inputs[0], **kwargs[0])
File "/home/ma-user/anaconda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/ma-user/modelarts/user-job-dir/ALBEF/models/model_retrieval.py", line 130, in forward
neg_idx = torch.multinomial(weights_t2i[b], 1).item()
RuntimeError: invalid multinomial distribution (sum of probabilities <= 0)

Hi, I have updated line 120-121 of models/model_retrieval.py, which should solve this issue.
Thanks!

Hi, I have updated line 120-121 of models/model_retrieval.py, which should solve this issue.
Thanks!

Hi May I ask why this error happened ? because I think softmax() earlier man guarantee that the sum of probabilities = 1.

I get the same error. None of the suggested remedies seem to work.

怎么解决呢


API: /competitions/{id}/results does not work

When trying to use that URL, using an auth token of my user which is definitely the user that created that competition (johannpetrak):
curl -X GET "https://www.codabench.org/api/competitions/2744/results/" -H  "accept: application/json" -H  "Token: [TOKEN]"

I get the response: {"detail":"You are not a competition admin or superuser"}
Trying the same from python I just get a server error code 500 response.
Using the token works for other protected API calls e.g. downloading the submissions.
However other API calls also do not work as expected e.g. /api/competitions/2744/get_files/ which returns: {"detail":"You don't have access to the competition files"}

get_files api is working on my side
https://www.codabench.org/api/competitions/2744/get_files/

https://www.codabench.org/api/competitions/2744/results/ gives 500 error which needs to be checked but the error You are not a competition admin or superuser is correct. Only admins can access this


feat(can): Node IDs for left and right pipette

When there are two pipettes attached, they need to have different node
IDs so they can both talk on the bus. The thing that makes them
different from each other is which mount they're on. We therefore can
use a different node id depending on the mount, which can be sensed from
a voltage expressed by a resistor net split between pipette and head
boards.
This commit only creates the new IDs and switches to using them. The pipette
application firmware and bootloader listen to left, arbitrarily.
The next step is to bring up the ADC to sense the voltage on the
resistor net and store its value so we know who we are.

Will the simulators be getting split in this PR?

Will the simulators be getting split in this PR?

Simulators (and firmwares) will not be split. One firmware will determine which mount it's on when it starts, and the simulators I suppose will need a parameter. I'll add it to the simulator when adding it to the firmware.


Remove eBPF probe bundling

What does this PR do?
Removes the ability to bundle eBPF probes within the system-probe binary.
Motivation
This is no longer used, as we cannot do this due to licensing restrictions.
Checklist

[x] A release note has been added or the changelog/no-changelog label has been applied.

We would prefer to keep it as we use it a lot for local testing, is there any problem with this ?

We would prefer to keep it as we use it a lot for local testing, is there any problem with this ?

The bundling already doesn't take into account the .c files for runtime compilation. It also is a completely different method of loading from the released agent which has to load the .o files from the file system. The agent dev VM sets up a symlink to have the built object files (from inv system-probe.build) in the correct location, so system-probe reads them by default. Have you tried that?

symlinks work locally, but we are using the bundle thing a lot with the functional tests. We build them locally the functional test binary and we copy it on multiple machines.

Could we make it easy to build a tarball to copy to other machines for testing? Would that solve your use case?

@brycekahle I am afraid of losing a couple hours just to figure out that the .o are not up to date. Right now, I simply have a static testsuite binary with everything inside that I can copy on multiple VMs

@safchain @lebauce PR updated to keep bundling for runtime-security.


lib/meta: add getLicenseFromSpdxId function (resumed)

Motivation for this change
Similar functions are implemented by yarn2nix and poetry2nix to search for the spdxId match in lib.licenses
It is worth it to be part of the standard library, so that we don't have to reinvent the wheel.
Breaking changes: Renaming from yarn2nix-moretea.spdxLicense to yarn2nix-moretea.getLicenseFromSpdxId is a breaking change that only affects people who call the function directly.
Resume #141221
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[X] (Package updates) Added a release notes entry if the change is major or breaking (function renaming)
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

@WilliButz @Infinisil Would you like to take a look?

@WilliButz @Infinisil Would you like to take a look?

@SuperSandro2000 could you help take a look?

This is useful for buildDotnetModule as well, id love to see it get merged ☺

@IvarWithoutBones Is the "UNLICENSED means unfree" specification also apply to buildDotNetModule?
If so, we may consider moving that variant from yarn2nix_moretea to lib/meta.

@IvarWithoutBones Is the " UNLICENSED means unfree" specification also apply to buildDotNetModule ?

As far as I know, no. https://NuGet.org only accepts licenses approved by the FSF, and we don't fetch dependencies from any other place.

What should I do in response to the branch-off of 21.11?

Regarding 21.11, I don't feel like this change needs to be backported. I also don't think we need a release note if the change is backwards compatible.


v0.8.0

Coverage decreased (-0.03%) to 79.084% when pulling d9d2d7ee65d5f55ec1bbf6a3361317111f2d38ba on eatonphil:release-0.8.0 into 0020d6c5b9dae081b14cb6a8c80c301ddf89f80f on linode:master.

Coverage decreased (-0.03%) to 79.084% when pulling d9d2d7ee65d5f55ec1bbf6a3361317111f2d38ba on eatonphil:release-0.8.0 into 0020d6c5b9dae081b14cb6a8c80c301ddf89f80f on linode:master.

Coverage remained the same at 79.117% when pulling 19390ac9ccd6d14ad720c0466e3d28047188d2ea on eatonphil:release-0.8.0 into f725738b0def1ce5470a22998e9e4a8692bbede9 on linode:master.

thank you!


Scrutinizer Auto-Fixes

@thedavidmeister requested this pull request.
It consists of patches automatically generated for this project on Scrutinizer:
https://scrutinizer-ci.com/g/thedavidmeister/radiant-brook/

Current coverage is 86.55%

Merging #40 into 34 will not affect coverage as of 09928b8

@@               34     #40   diff @@
=====================================
  Files          25      25
  Stmts         595     595
  Branches        0       0
  Methods       129     129
=====================================
  Hit           515     515
  Partial         0       0
  Missed         80      80

Review entire Coverage Diff as of 09928b8

Uncovered Suggestions

+2.35% via ...SnapshotBitstamp.php#27...40
+2.02% via ...eBitstampCommand.php#15...26
+1.51% via ...tstampTradePairs.php#77...85
See 7 more...

Powered by Codecov. Updated on successful CI builds.


[FEATURE]: Notification on server finished running

Scope
Web
Feature Description
When the server has finished running make a sound on the browser as a notification.
Use Case
No response
Proposed Solution
No response
Additional Info
No response

This is technically easy to do, but I predict that a massive number of users would hate it, which means I would need to add some way to enable/disable it, which means i would have to do some UI work and a way to store that (cookies?!).
Although I totally could see myself enjoying this feature, i think that's a no go for this request, unless a significant number of people ask for it.
Thanks for the suggestion though :)


Updates from Kafka upstream.

Haven't had a chance to review upstream release notes. Looks like there are some superficial breaking changes in terms of how fields are named, etc. Not sure about how we should handle these kinds of changes in the future. E.g., name -> topic_name is a pretty minor breaking change, easy fix, but also a little annoying for our consumers of the crate. In the past, most of these changes I've integrated have been for internal broker messages for the new Raft stuff, and not really relevant to the public API. Even though the format is supposed to be fully backwards compat, it might make sense to track one or two branches instead of always building these off the tip of upstream master. Thoughts?

It might be good to make the generated structs #[non_exhaustive] and add #[builder(default)] where appropriate. That way at least you can tolerate field additions without it being a breaking change. For things like name -> topic_name I'm not sure there's much to be done other than publishing a new major version when that happens. (Although you should probably only track the latest kafka release rather than their development master)

Thanks, this is good feedback. I've pinned the messages to the latest Kafka release and clarified our versioning strategy in the readme. Also marked all exported items as #[non_exhaustive], and added a convenience trait for retrieving builder instances.


Limited Ad serving warning

code snippet
import 'dart:async';
import 'dart:io';

import 'package:dotted_decoration/dotted_decoration.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class BannersAd extends StatefulWidget {
  const BannersAd({Key? key}) : super(key: key);

  @override
  _BannersAdState createState() => _BannersAdState();
}

class _BannersAdState extends State<BannersAd> {
  BannerAd? banner;
  bool loaded = false;

  String bannerAdUnitIdHome = Platform.isAndroid
      ? "******"
      :  "******"

  @override
  void initState() {
    WidgetsBinding.instance!.addPostFrameCallback((_) {

      initBanner();

    });

    super.initState();
  }

  @override
  void dispose() {
    super.dispose();
  }

  initBanner() {

    banner = BannerAd(
      adUnitId: bannerAdUnitIdHome,
      size: AdSize.mediumRectangle,
      request: AdRequest(),
      listener: BannerAdListener(
        // Called when an ad is successfully received.
        onAdLoaded: (Ad ad) {
          print('banner loaded');
          loaded = true;
          setState(() {});
        },
        // Called when an ad request failed.
        onAdFailedToLoad: (Ad ad, LoadAdError error) {
          // Dispose the ad here to free resources.
          ad.dispose();
          print('Ad failed to load: $error');

          Future.delayed(Duration(seconds: 1), () {
            initBanner();
          });
        },
        // Called when an ad opens an overlay that covers the screen.
        onAdOpened: (Ad ad) => print('Ad opened.'),
        // Called when an ad removes an overlay that covers the screen.
        onAdClosed: (Ad ad) => print('Ad closed.'),
        // Called when an impression occurs on the ad.
        onAdImpression: (Ad ad) => print('Ad impression.'),
      ),
    );
    banner!.load();
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        SizedBox(
          height: 10,
        ),

        Row(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Expanded(
              child: Container(
                margin: EdgeInsets.fromLTRB(10, 0, 10, 0),
                decoration: DottedDecoration(
                  color: Colors.white,
                  strokeWidth: 1,
                  shape: Shape.line,
                  linePosition: LinePosition.top,
                ),
              ),
            ),
            Text(
              "AD",
              style: TextStyle(color: Colors.white),
            ),
            Expanded(
              child: Container(
                margin: EdgeInsets.fromLTRB(10, 0, 10, 0),
                decoration: DottedDecoration(
                  color: Colors.white,
                  strokeWidth: 1,
                  shape: Shape.line,
                  linePosition: LinePosition.top,
                ),
              ),
            ),
          ],
        ),
        SizedBox(
          height: 10,
        ),

        (banner == null)?
        GestureDetector(
          onTap: () async {
            // My web site
            const url = 'https://www.myweb.com';
            if (await canLaunch(url)) {
              await launch(url);
            } else {
              throw 'Could not launch $url';
            }
          },
          child: Container(
            height: 450.r,
            width: 500.r,
            decoration: BoxDecoration(
                color: Color(0xff3399FF),
                borderRadius: BorderRadius.all(Radius.circular(10)),
                image: DecorationImage(
                  image: AssetImage('assets/image/ad.jpg'),
                )),
          ),
        ):Container(
            width: 500.w,
            height: 450.h,
            alignment: Alignment.center,
            child: AdWidget(ad: banner!)) ,
        SizedBox(
          height: 10,
        ),

      ],
    );
  }
}

I got limit from admob

It says I ：
Ads are modified: Publishers may not change the behavior of Google ads in any way. These include resetting the size of the ad frame to be part of the ad or hiding the "Advertising Words Provided by Google".
this is how it looks like：

Hi @sunjianan9900
Thanks for filing the issue, it doesn't look like specific to medium size ad but more common issue, that is worth investigating as i can't reproduce this warning

Hi @sunjianan9900
Thanks for filing the issue, it doesn't look like specific to medium size ad but more common issue, that is worth investigating as i can't reproduce this warning

I Change it to AdSize.smartBannerPortrait and submit review...
And reject as same reason today....
any suggest for new version?

@sunjianan9900 are you still facing this issue ?? or have you solved it ??

problem still persists :@

im also facing like this error when im uploading to google play console.

Don't use Admob

We’re closing this issue due to inactivity. If you’re still impacted, please create a new issue via the Developer Forum.


?after is not an accepted variable name

The domain data-network from last IPC (IPC 2018) is rejected with "Problem in domain definition". After lots of debugging, I figured out that the problem is that ?after seems not to be a valid variable name. I can only assume that "after" has a special meaning in other contexts, but nevertheless, this domain file should be accepted as valid PDDL in my opinion.
data-network-domain.tar.gz

Thanks for this observation - you are right that "after" has been adopted as a keyword in the language, but unofficially, and it really should not prevent the use in this context. I will fix it.

Thanks for this observation - you are right that "after" has been adopted as a keyword in the language, but unofficially, and it really should not prevent the use in this context. I will fix it.

This one should be fixed, now.

Hi @DerekLong101  and all,
we just tested this because we wanted to update the Fast Downward build instructions to use a more recent version of VAL. We still observe the issue, also when building from scratch from the tip.

It's true, "after" is a keyword in the PDDL dialect VAL supports. I need to take a look at the parser, I guess, to see whether I can easily avoid the lexer returning a token when the context wants a string.
Cheers
Derek

From: Gabi Roeger @.>
Sent: 10 October 2023 10:27
To: KCL-Planning/VAL @.>
Cc: Derek Long @.>; Mention @.>
Subject: Re: [KCL-Planning/VAL] ?after is not an accepted variable name (#48)
Hi @DerekLong101https://github.com/DerekLong101 and all,
we just tested this because we wanted to update the Fast Downward build instructions to use a more recent version of VAL. We still observe the issue, also when building from scratch from the tip.
—
Reply to this email directly, view it on GitHubhttps://github.com/KCL-Planning/VAL/issues/48#issuecomment-1754808290, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB2KOVBKPEH2GM7A6B3DOKTX6UIIXAVCNFSM4O52RPV2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZVGQ4DAOBSHEYA.
You are receiving this because you were mentioned.Message ID: @.***>


package does not have null safety support yet

Hey,
The package you created is amazing because of you I have been able to use amazing bottom navigation UI in my app.
But I would like to request you that the package doesn't have null safety support yet.
I would like you to add null safety support .
Thank you
Your sincerely
Ashish tom

Hello, thanks for your support :D
At this moment, i don't have time to do this.
Feel free to open a PR :D
Thanks.

I have added null safety support to this package. Can you accept my pull request
https://github.com/jeaanlucas/circle_bottom_navigation/pull/6#issue-684543891


Does it use fused locations ?

Does it use fused locations ?

Fused Location Provider API
The fused location provider is a location API in Google Play services that intelligently combines different signals to provide the location information that your app needs.

Yes,
https://github.com/timfpark/react-native-location/blob/master/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java#L50


Why 8.0 free plan remove "Native Git Sync" ??

Expected Behavior
"Native Git Sync" it should be free to use !
Actual Behavior
This is a very unique feature that can be used without even having to log in to an account, which is very protective for individual users’ data security.  Too disappointed !
Reproduction Steps
No response
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
8.0.0
What operating system are you using?
macOS
Operating System Version
macOS Ventura
Installation method
auto upgrade from 5.7
Last Known Working Insomnia version
No response

same here, I don't know why this bad decision, I use for 2 years this feature and now is paid

Yeah. Bad.

Very bad decision. I think this is the death of the app and community

Git Sync does not incur any server cost, no idea why it went behind the paywall.
Because of MIT license, I hope someone forks it and fixes it.

In 8.0 we are shipping Organizations with Git sync, which is the old way to manage multiple people working together: https://konghq.com/blog/product-releases/insomnia-8-0
When using Git sync, your data will stay in the repository but you will need an account. Exactly how you need an account to comment on GitHub.

In 8.0 we are shipping Organizations with Git sync, which is the old way to manage multiple people working together: https://konghq.com/blog/product-releases/insomnia-8-0
When using Git sync, your data will stay in the repository but you will need an account. Exactly how you need an account to comment on GitHub.

We understand that some features should be paid as the part of teams with synchronization with the cloud and the part of ai, but the part of git has nothing to do because we are using another service that for us makes sense. @subnetmarco, some of us uses for own use and won't shares with a company

Bad, Too disappointed!

this screen is a big problem

In 8.0 we are shipping Organizations with Git sync, which is the old way to manage multiple people working together: https://konghq.com/blog/product-releases/insomnia-8-0
When using Git sync, your data will stay in the repository but you will need an account. Exactly how you need an account to comment on GitHub.

I know, I know ......
But can you tell us how to use git sync function in free plan? Does it mean you can only spend money to upgrade? Thanks

git features shouldn't be a paid thing, wth
this isn't okay

Agreed. I understand the desire to make money here, but removing an essential feature from the free and open source client is a sure-fire way to kill enthusiasm from the open source community.
Git is free and open source, hosting isn't paid for by Insomnia/Kong, and this worked before without a paywall. In the short term this is an opportunity cost, in the long term this is a dwindling user base cost. Please, please reconsider.

You could switch to https://github.com/ArchGPT/insomnium and avoid problems like this.

switch to bruno to use git sync

Just installed Insomnia for a new project, looked for Git Sync, realised product direction, No place for Insomnia in my setup any more.
Uninstalling.
Bye bye Insomnia.

We had a great time together. Goodbye Insomnia! 😞

Very unfortunate. I just noticed this on my new machine. We were actually considering upgrading earlier this year to have the team collaboration stuff. I understand we don't have the right to tell people how to run their business and we appreciate the application being available all these years, but we do not appreciate the way it was done. We are definitely going to consider a different solution tomorrow.
They could have limited the number of repos as free and anything over x would have to be paid subscription. Again, as the others has well put it, Farewell Insomnia!

any alternative ?

@joaodematejr recommend Hoppscotch

Yeah hoppscotch is a wonderful alternative.


Portfolio: Desktop version finish.

[ ] Added desktop based html
[ ] Added desktop based css design

@huseyinbiyik Dear code reviewer I have made all the necessary changes you wanted me to.
It was a great experience unfortunately I am having technical problem with my Git so I couldn;t push it earlier.
Hopefully I do not have to repeat this module again for technical fault in git hub. 🥲
Made cards both parts 50 & 50%
Languages, Frameworks and Skills headings' font-size, font-weight and font-color fixed.
fix font-weight, font-size and font-color of the language.
DONE.
Fixed the font color and size of your h2 element here.
Fixed the font-size of this text in About Myself.


When to unfold logical connectives?

None of these are trivially normalized-away. The first one also includes a hasEq int which is expected, but the rest should be normalized away. (Maybe the hasEq int too if we add some support for that.)
module Bug1482

#set-options "--no_smt"
let _ = assert_norm (1 = 1)
let _ = assert_norm (1 == 1)
let _ = assert_norm (1 === 1)

examples/bug-reports/bug1482.fst(4,0-4,27): (Error 298) Q = (*Subtyping check failed; expected type Prims.eqtype; got type Type0*) Prims.hasEq Prims.int /\
(forall (any_result: Type0).
    Prims.int == any_result ==>
    (forall (any_result: Prims.bool).
        true == any_result ==>
        (forall (any_result: Prims.logical).
            Prims.l_True == any_result ==> x: Prims.unit{Prims.equals true true})))
A query could not be solved internally, and --no_smt was given
examples/bug-reports/bug1482.fst(5,0-5,28): (Error 298) Q = Prims.auto_squash (x: Prims.unit{Prims.equals 1 1})
A query could not be solved internally, and --no_smt was given
examples/bug-reports/bug1482.fst(6,0-6,29): (Error 298) Q = Prims.auto_squash (x: Prims.unit{Prims.h_equals 1 1})
A query could not be solved internally, and --no_smt was given
Verified module: Bug1482 (8 milliseconds)
3 errors were reported (see above)

Dumping some thoughts.
This happens since the equality connectives (==, and ===) get unfolded to their definitions as squashes of inductive types, and we don't have rules to simplify them. In general, we don't want that unfolding to occur, since it messes up not only this but the SMT encoding and intelligibility of the terms as well. In Meta-F*, we explicitly disable them (cf. the tac_opaque) attribute. Why not always? We could opt-in to unfolding them when needed.

This was recently fixed by 3a21716e14736fe04d368c00567f703e814c4ce5


Suggestion: Add Nether Bedrock Addon for skyvoid_worldgen_structures

Maybe you should create a addon to allow generating the Bedrock Ceiling and Floor in the Nether so Ghasts can Spawn.

What do you mean by this? Ghasts can spawn regardless of the bedrock ceiling.

Oh, maybe they can only spawn on, then that is the reason why they started to spawn in my test. My bad.


[wip] fix(libscap,libsinsp): correctly manage memfd and pidfd in scapfiles

What type of PR is this?

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

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

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

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap-engine-udig

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:
New scap_fd_type were introduced but their parsing logic was not added to scap_savefile.c, breaking captures. Moreover the correspondents were missing in libsinsp.
Which issue(s) this PR fixes:

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

NONE

Great catch!

LGTM label has been added.  Git tree hash: f726290ee2eb911e854f8ea7494dca8f271339e0

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

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

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

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

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

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


Using llama3 for causes never ending response.

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Ubunutu 22.04
- Continue:0.8.24
- IDE: VScode 1.88.1
- Model: Llama 3 8b:instruct

Description

I think the llama3 version that Ollama uses has a different stop string than continue is expecting.  As seen in the screenshot, it outputs an <|eot_id|>, but then continues. I have seen this go on until no more token can be generated.
To reproduce
use llama3 8b as a chat model and ask it anything.
Log output
No response

As mentioned this should be solved in pre-release, but if you are still having the problem it can be fixed by adding the stop token to your config.json manually:
{
  "title": "Llama 3",
  "provider": "ollama",
  "model": "llama3",
  "completionOptions": {
    "stop": ["<|eot_id|>"]
  }
}

This is now long past merged, so closing the issue : )
I do believe that Ollama has also patched the problem, but if anyone sees it again don't hesitate to re-open


Add ci, add readme badges

[x] analysis with codacy
[x] travis ci
[x] jacoco + codecov coverage report
[x] jitpack

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a7f969d). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   62.29%
  Complexity        ?       15
=========================================
  Files             ?        2
  Lines             ?       61
  Branches          ?       10
=========================================
  Hits              ?       38
  Misses            ?       16
  Partials          ?        7

Continue to review full report at Codecov.

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


misc bugfix:

这个 PR 实现什么功能/修复什么问题:

fix dirty server start
fix disk fromat  empty
snapshot add expire cron job
qemu args: make pvpanic and isa serial configurable, openwrt use native usb dev
add user cache
glance: disable probe iso
add loadbalancer cluster distinct field

是否需要 backport 到之前的 release 分支:
release/2.11
/cc @swordqiu @yousong

/area region host

/area image

Codecov Report

Merging #3188 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #3188      +/-   ##
=========================================
- Coverage    7.15%   7.14%   -0.01%
=========================================
  Files         478     478
  Lines       77222   77133      -89
=========================================
- Hits         5524    5512      -12
+ Misses      71235   71158      -77
  Partials      463     463

Flag
Coverage Δ

#aFlag
7.14% <0%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/disks.go
0.69% <0%> (ø)
:arrow_up:

pkg/cloudcommon/db/usercache.go
4.54% <0%> (-2.73%)
:arrow_down:

pkg/compute/models/keypairs.go
6.56% <0%> (ø)
:arrow_up:

pkg/cloudcommon/db/opslog.go
1.94% <0%> (ø)
:arrow_up:

pkg/cloudcommon/db/tenantcache.go
1.32% <0%> (+0.01%)
:arrow_up:

pkg/cloudcommon/db/fetch.go
0% <0%> (ø)
:arrow_up:

pkg/compute/models/guest_actions.go
0% <0%> (ø)
:arrow_up:

pkg/compute/models/snapshots.go
1.66% <0%> (-0.1%)
:arrow_down:

pkg/compute/models/loadbalanceragents.go
2.31% <0%> (-0.07%)
:arrow_down:

pkg/hostman/system_service/sysv.go
36.66% <0%> (-10.56%)
:arrow_down:

... and 20 more

Continue to review full report at Codecov.

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

/lgtm

/approve


What's the meaning of "stride" in FPN and  ResNet?

class FPN(nn.Module):
    def __init__(self, features):
        super().__init__()

        self.stride = 128

class ResNet(vrn.ResNet):
    def __init__(self, layers=[3, 4, 6, 3], bottleneck=vrn.Bottleneck, outputs=[5], groups=1, width_per_group=64, url=None):
        self.stride = 128

If it's the size rate between input size and each output layer, why it is a constant?

what do you mean it is a constant? It is calculated from the simple formula: Input_size / pyramid level resolution, there are 5 pyramid levels: P3 to P7
3 means that P3 has resolution 2^3 lower than the input resolution. Does that answer you question?

@yashnv :

That stride is never used in code after initializing ResNet from torchvision.

It seems to be used  to influence how the input images are padded.  Could you please elaborate on why 128 is chosen to pick this padding?

The feature pyramid levels are in scales of 2^3, 2^4, ..., 2^7. The smallest downsampled level being the one corresponding to the last level, i.e., image input width/height being divided by 128. So 128 being used as stride in padding ensures that the input width/height to the network are divisible by 128.


First draft of developer's guide to KUDO

What type of PR is this?
/kind documentation
What this PR does / why we need it:
First draft of developer docs. I'll follow up with more in-depth stuff when we get this one in.
Which issue(s) this PR fixes:

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

NONE

Maybe we can end this doc with a link to kudo.dev/docs/testing.md? That doc is aimed at operator developers.

@justinbarrick yeah, I like that idea! there's still a lot of content missing from this doc from my point, testing should be definitely one of them. I'll add it to my notes, thanks

just to state it one more time - this is not the full docs, more in-depth explanation of the files will come. I think it is normal to get people started with something super-simple and then follow up with more zoomed-in in depth explanations. That is my plan with this and this is just first iteration.

could we merge this and I can continue with next PR or you want me to write the whole thing here before you accept @kensipe ?


My Code matches the example, yet I'm not getting a pass.

Challenge Accessing Objects Properties with Bracket Notation has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

// Setup
var testObj = {
  "an entree": "hamburger",
  "my side": "veggies",
  "the drink": "water"
};

// Only change code below this line

testObj["an entree"];   // Change this line
testObj["the drink"];    // Change this line

@wlawler Please read the instructions and try again. If this does not help, try resetting the challenge, you might see something that will help you out. :+1:
If you are still stuck, please try the Help button just under the Run tests button, or our forum.
GitHub issues are for issues with freecodecamp as a service, not for help with your code.
Closing this issue as it is for code help
Happy coding :+1:


Error in sync

Version: 2.0.0-417b63b-x86_64-linux-gnu
0: sp_panic_handler::set::{{closure}}
1: std::panicking::rust_panic_with_hook
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:626:17
2: std::panicking::begin_panic::{{closure}}
3: std::sys_common::backtrace::__rust_end_short_backtrace
4: std::panicking::begin_panic
5: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllPallets,COnRuntimeUpgrade>::final_checks
6: tracing::span::Span::in_scope
7: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllPallets,COnRuntimeUpgrade>::execute_block
8: <porta_runtime::Runtime as sp_api::runtime_decl_for_Core::Core<sp_runtime::generic::block::Block<sp_runtime::generic::header::Header<u32,sp_runtime::traits::BlakeTwo256>,sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic<sp_runtime::multiaddress::MultiAddress<<<sp_runtime::MultiSignature as sp_runtime::traits::Verify>::Signer as sp_runtime::traits::IdentifyAccount>::AccountId,u32>,porta_runtime::Call,sp_runtime::MultiSignature,(frame_system::extensions::check_spec_version::CheckSpecVersion<porta_runtime::Runtime>,frame_system::extensions::check_tx_version::CheckTxVersion<porta_runtime::Runtime>,frame_system::extensions::check_genesis::CheckGenesis<porta_runtime::Runtime>,frame_system::extensions::check_mortality::CheckMortality<porta_runtime::Runtime>,frame_system::extensions::check_nonce::CheckNonce<porta_runtime::Runtime>,frame_system::extensions::check_weight::CheckWeight<porta_runtime::Runtime>,pallet_transaction_payment::ChargeTransactionPayment<porta_runtime::Runtime>)>>>>::execute_block
9: std::panicking::try
10: sp_externalities::scope_limited::set_and_run_with_externalities
11: sc_executor::native_executor::WasmExecutor::with_instance::{{closure}}
12: sc_executor::wasm_runtime::RuntimeCache::with_instance
13: <sc_executor::native_executor::NativeExecutor as sp_core::traits::CodeExecutor>::call
14: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute_aux
15: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute_using_consensus_failure_handler
16: <sc_service::client::call_executor::LocalCallExecutor<B,E> as sc_client_api::call_executor::CallExecutor>::contextual_call
17: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt>::call_api_at
18: sp_api::runtime_decl_for_Core::execute_block_call_api_at
19: sp_api::Core::execute_block_with_context
20: sc_service::client::client::Client<B,E,Block,RA>::prepare_block_storage_changes
21: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
22: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
23: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
24: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
25: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
26: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
27: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
28: <sc_service::task_manager::prometheus_future::PrometheusFuture as core::future::future::Future>::poll
29: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll
30: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
31: <tracing_futures::Instrumented as core::future::future::Future>::poll
32: std::thread::local::LocalKey::with
33: futures_executor::local_pool::block_on
34: tokio::runtime::task::core::Core<T,S>::poll
35: <std::panic::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once
36: tokio::runtime::task::harness::Harness<T,S>::poll
37: tokio::runtime::blocking::pool::Inner::run
38: tokio::runtime::context::enter
39: std::sys_common::backtrace::__rust_begin_short_backtrace
40: core::ops::function::FnOnce::call_once{{vtable.shim}}
41: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9
std::sys::unix::thread::Thread::new::thread_start
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17
42: start_thread
43: clone
Thread 'tokio-runtime-worker' panicked at 'Storage root must match that calculated.', /root/.cargo/git/checkouts/substrate-7e08433d4c370a21/70ef0af/frame/executive/src/lib.rs:462
This is a bug. Please report it at:

Please report this to the chain you are using.


[ADP-2367] Orthogonal changes concerning finalitySlot

Overview
This pull request extracts a couple of changes from #3673 that are of independent interest and can be merged as is. These changes are:

Computation of the finalitySlot as 3*k/f with appropriate types.
Remove of the field firstSubmission from the LocalTxSubmissionStatus type.

Issue Number
ADP-2367

fixed a warning

bors r+

Looks like there is a genuine bug in here. Will fix.

bors merge

bors r+


Add a logo for the organization :-)

I might have to dust off my Inkscape skillz if noone else is interested. Ideas for logos appreciated!

Idea: A dove?

Like the idea with an animal! Dove or an owl maybe.
I like for example the name (and also the software) of https://octopus.com/ where features in the software have something to do with the name, they have their "tentacles"-concept which is part of an octopus.

@eripe970 Here is a bird (dove?) that clearly migrates. 😄 What do you think of it as a logo? Should be safe to use.
Other alternatives:

https://openclipart.org/detail/166986/dove
https://openclipart.org/detail/182180/flying-dove
https://openclipart.org/detail/166985/dove-with-branch

I also searched or Owls on the same website, but neither of them were flying. Migration is about moving, not sitting still on a branch!

I like for example the name (and also the software) of https://octopus.com/ where features in the software have something to do with the name, they have their "tentacles"-concept which is part of an octopus.

If using the above proposal, do you you think it would be connected to the name "any-migrate"? Or should we find a better name for this project?

@eripe970 You snooze, you loose! We now have a logo! See https://github.com/any-migrate.


groups: fix for jumping/mis-ordered admin channel list

Fixes #1035 by reloading group state (await useGroupState.getState().start()) when moving a channel. Incorrect list will flash briefly (a few milliseconds) before correct one is shown.

good idea, just added the method.


Can't see Redis host1 or host2 name for Redis operations for web transactions

Description
We use 2 separate Redis instances using Redis Enterprise Cloud.
Redis host1 and Redis host2.
When distributed tracing is enabled then to identify slow Redis operations coming from different Redis hosts we can do:
Open APM & Services -> (choose your app) -> Transactions -> (select something from Top 20 transactions, for example select a background sidekiq worker) -> on the Transaction traces table select one of slow transactions -> select the Database queries tab -> In the Database instance column you can see host name (i.e. Redis host1 or host2).
This is expected. We see that Redis operation is against host1 or host2 for background sidekiq workers.
But if you selected API endpoint instead of background sidekiq worker then Redis host name is not visible. It's just showing web.1 for Heroku dyno name. Not sure why it's showing correctly Redis host name only for background sidekiq workers.
Expected Behavior
Show Redis host1 or host2 for API endpoint transactions. Similarly like for background workers.
Your Environment

Distributed Tracing is enabled (this is default).
newrelic_rpm (9.5.0)
We use NewRelic Heroku add-on
We use Heroku for hosting the Rails app.
Ruby 3.2.2

# config/newrelic.yml
#
# This file configures the New Relic Agent.  New Relic monitors Ruby, Java,
# .NET, PHP, Python and Node applications with deep visibility and low
# overhead.  For more information, visit www.newrelic.com.
#
# Generated September 19, 2015
#
# This configuration file is custom generated for<EMAIL_ADDRESS>#
# For full documentation of agent configuration options, please refer to
# https://docs.newrelic.com/docs/agents/ruby-agent/installation-configuration/ruby-agent-configuration

common: &default_settings
  # Required license key associated with your New Relic account.
  # license_key: example
  # key is in config/initializers/newrelic.rb

  # Your application name. Renaming here affects where data displays in New
  # Relic.  For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
  app_name: App name API

  # To disable the agent regardless of other settings, uncomment the following:
  # agent_enabled: false

  # Logging level for log/newrelic_agent.log
  log_level: info

# Environment-specific settings are in this section.
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
# If your application has other named environments, configure them here.
development:
  <<: *default_settings
  app_name: App Name API (Development)

  # NOTE: There is substantial overhead when running in developer mode.
  # Do not use for production or load testing.
  developer_mode: true

test:
  <<: *default_settings
  # It doesn't make sense to report to New Relic from automated test runs.
  monitor_mode: false

staging:
  <<: *default_settings
  app_name: App Name API (Staging)
  monitor_mode: true

production:
  <<: *default_settings
  app_name: App Name API (Production)
  monitor_mode: true

Additional context
Issue extracted from:

https://github.com/newrelic/newrelic-ruby-agent/issues/2290#issuecomment-1793396879

Thanks, @ArturT. We'll investigate (after RubyConf 2023 at least) and see what can be done in either the agent code or back-end UI for improving this experience. We'll give updates here as they become available.


APIServer doesn't work from scratch?

Expected Behavior

According to the documentation, perform:

kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.28.2/manifests/tigera-operator.yaml
kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.28.2/manifests/custom-resources.yaml

And every resource should look fine.
Current Behavior

k get apiservice v3.projectcalico.org renders:
NAME                   SERVICE                       AVAILABLE
v3.projectcalico.org   calico-apiserver/calico-api   False (MissingEndpoints)

Also k describe apiservice v3.projectcalico.org
Status:
  Conditions:
    Last Transition Time:  2024-10-15T18:24:16Z
    Message:               endpoints for service/calico-api in "calico-apiserver" have no addresses with port name "apiserver"
    Reason:                MissingEndpoints
    Status:                False
    Type:                  Available
Events:                    <none>

Possible Solution

I suppose fix this in manifest/chart, but I don't understand this error message.
Steps to Reproduce (for bugs)

kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.28.2/manifests/tigera-operator.yaml
kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.28.2/manifests/custom-resources.yaml

Context

I first tried to deploy it with manifests, then integrate it to ArgoCD.
Then converting manifests to use Helm Chart.
Now I'm facing this error on freshly created pods, and cannot create another:
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "4da05aafb33d0c35b6a2d7fbe270698c25fc10716bba96e582ebf9b03ad0b0c5": plugin type="calico" failed (add): cannot find a qualified ippool

Your Environment

Calico version 3.28.2
Calico dataplane (iptables, windows etc.) ?
Orchestrator version (e.g. kubernetes, mesos, rkt): Kubernetes v1.31.1
Operating System and version: Debian baremetal
Link to your project (optional): https://github.com/Pyrrha/home-cluster/tree/main in component-config/{calico,tigera-operator}

Was a missconfiguration of IPPools that led to this issue.
Reinstalling cluster and calico was sufficient to fix the issue.