refactor: submitted transactions

Try out this version of the Hiro Wallet - download extension builds.

This PR removes submitted transactions from local storage which allows us to remove lots of code, including atomWithStorage and other deprecated atoms. This proposal gets us to one atom accountSubmittedTransactionsState. I need to make another pass thru to clean up the actual components further bc I mostly just moved/renamed/separated them, but wanted to get your feedback on this @kyranjamie at this point. I chose to go with the naming SubmittedTransaction rather than opting for the word 'local' which seemed confusing to me at times.
*I also left a comment to add all possible error reasons, which I would like to include here for better error handling.
EDIT: Possible move to redux here would be easy now.
cc/ @kyranjamie @fbwoolf

I addressed the basic code comments here, now I'm going to refactor to redux using createEntityAdapter as a separate commit.

@kyranjamie this has been refactored to use redux and is ready for review again, thx!

@kyranjamie can you circle back and check where I moved the logic from the removed useEffect hook? Let me know what you think ...I moved it to the mempool transactions query onSuccess.


pkgs-lib: allow paths in TOML, YAML and JSON

Motivation for this change
Without this PR, https://github.com/NixOS/nixpkgs/pull/98025 broke my config because I include a certificate as a path.
Paths to get automatically added to the store, as if they were interpolated. The INI generator currently chokes on paths, so it is not supported for now.
cc @Infinisil
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs 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/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I'm still using this patch to make my config work.

Looking good, but can you extend the test cases in pkgs/pkgs-lib/tests/formats.nix with this?

Ok, done.

Nice, thanks!

I believe this caused a weird conflict in my config:
I have a configuration which uses pkgs.types.yaml, and ends up merging two files like this:
{
   services.foo.config.bar = [ "/var/lib/foo" "/var/lib/bar" ];
  # another file..
   services.foo.config.bar = [ "/var/lib/baz" "/var/lib/quux" ];
}

This breaks due to types.path believing anything that is coercible to a string and starts with a / when coerced is a path. This includes: paths, strings, null, int, float, bool, lists of the previous, or having an outPath or a __toString. This works when there's only one definition (as merge doesn't actually cast the object to a path), but even so, it is quite obvious that a path type is not the right type for the entire option, as it breaks the behavior of lists being mergable.


can't eat each other

Hi,
we are using firefox on fedora and arch linux and we can not eat each other.
it does not matter who is larger, we can not eat the smaller one.
sometimes we can not even see each other

sometimes i can eat, sometimes i can't

eating foor is no problem

Hi, thank you for the report. I will check again.
But there are an untold rules in the source code :trollface:

You can't eat the newbie (who didn't eat any food)
Your mass (amount of food eaten) must be 5 food larger than victim's mass to eat him

May be that's why you can't eat :D

us-east / openshift

Closing it since it has been explained.


call the dragStart callback after setting up the variables

before
elements and pos variable was defining after the callback has been called.
After

first setting the variables.
Call the dragStart callback.

Thanks for this, @kuldeepaggarwal! Can you explain why you need the dragStart callback to be called after the element has been created? Thanks.

@Voles Fixed.

closiong in favor of #587


minting animation

show animation while uploading to ipfs and minting until success or error

global state added for network requests with status at absolute position with animated dots


v3 Allocator: globally optimizing allocation built on etcd v3 API

@rupertchen there's a lot here; let's chat briefly Monday on review strategy (after you've had a chance to skim the high-level) and anything you'd like to see here?

This change is

Partial feedback covers r1 and r2.

Reviewed 2 of 2 files at r1, 4 of 4 files at r2.
Review status: 6 of 20 files reviewed at latest revision, all discussions resolved.

Gopkg.toml, line 36 at r1 (raw file):

# bbolt is a transitive dependency from coreos/etcd. At this time, the current
# version of etcd (v3.3.2) has a dependency on this version of bbolt which is
# not part of etcd's Gopkg.toml.

Nit1: It's more accurate to say that that etcd doesn't provide a Gopkg.toml and this replicates what is in it's glide.yaml.
Nit2: The lock file is on v3.3.3.

Gopkg.toml, line 37 at r1 (raw file):

# version of etcd (v3.3.2) has a dependency on this version of bbolt which is
# not part of etcd's Gopkg.toml.
[[override]]

A constraint can be used if bbolt is added to the required list. This is preferable to using override.
See:

https://golang.github.io/dep/docs/FAQ.html#how-do-i-constrain-a-transitive-dependency-s-version
https://golang.github.io/dep/docs/Gopkg.toml.html#required

pkg/keyspace/key_space_test.go, line 116 at r2 (raw file):

but returned as an error.

Aren't key/value inconsistency logged, but not returned as an error?

Comments from Reviewable

closing in favor of v2/all.


Add checkpoint support

See https://dvc.org/doc/api-reference/make_checkpoint

This will be (partially) adressed in #223


Use native TextField and Native Button in Flash IDE and convert to starling native objects

Hello,
Flump is a really good tool but I think that it will be awesome if we could use Flash native TextField and native buttons in Flash IDE and add custom parameters in the Symbols.
I developed 2 years ago my own layout manager with Flash Components.
https://github.com/BenoitFreslon/benoitfreslon-layoutmanager
My lib converts the Components added in Flash IDE to Starling objects:

Button
TextField
Sprite
Image
Quad

You also can set the instance name in Flash IDE and the instance variable is automatically set in your Starling class.
Unfortunately my lib can't export textures, motion tween. And you need to work with component placeholders in Flash IDE only.

The reason this isn't a core Flump capability is because text handling varies so much from engine to engine, and text you create in Flash will likely not look the same in Flump. We want to keep the Flump core as basic as possible to keep it easy to port the Flump runtime to other engines/languages.
However, Flump is extensible - you can definitely develop on top of Flump to add custom capabilities like this!

OK thanks!
Do you have the API Reference somewhere?

Just the code itself, though I'm happy to provide pointers if you need help tracking something down!

I think it could be worthwhile re-discussing this as a potential feature. I think at the very least runtime creators, or even library users, should somehow be able to attempt to make a reproduction of the text fields, even if there isn't complete consistency with how it appears in the Flash IDE. If the runtime itself does not display the text fields I think it should still provide the textfield data to the library users so that they can make choices as to how it is displayed.
In a given runtime, perhaps a delegate implementing in interface called ITextFieldCreator can be set in the Library which is called when a TextField is to be built.
Alternatively, just having the textfield data available in the library.json would be immensely useful and give the library users the capacity to handle displaying text themselves for their own particular use-case.

I've come around to this point of view and agree that exposing this sort of thing by default is the right way to go. I'm (still!) busy trying to ship my damn game, though :) - so I'm unlikely to take a look at this for a while at least.


Move Spinner to Officially Implemented section

In Tailwind 1.6.0, support for animations, including spin, was added. Here's an official example: https://tailwindcss.com/docs/animation/#spin

Good looking out, thank you!


Array/callback support (Feature request)

Maybe a nice feature is making the ability to pass in an array with values on which the value of the input filed gets checked. If the value is in the array then the container should show. Whereas now it only accepts one value per field.
It could look like so

Or you could even make it a callback.

Having a Iterable field i was able to solve this by updateting the NovaDependencyContainer.php to show:
`    public function resolveForDisplay($resource, $attribute = null)
{
parent::resolveForDisplay($resource, $attribute);
    foreach ($this->meta['dependencies'] as $index => $dependency) {

        if(array_key_exists('notEmpty', $dependency) && ! empty($resource->{$dependency['field']})) {
            $this->meta['dependencies'][$index]['satisfied'] = true;
        }

        if (is_iterable($resource->{$dependency['field']})) {

            $filtered = $resource->{$dependency['field']}->filter(function ($value, $key) use (&$dependency) {

                return $value->id == $dependency['value'];
            });

            if (array_key_exists('value', $dependency) && $filtered->isNotEmpty()) {
                $this->meta['dependencies'][$index]['satisfied'] = true;
            }
        } else {

            if (array_key_exists('value', $dependency) && $dependency['value'] == $resource->{$dependency['field']}) {
                $this->meta['dependencies'][$index]['satisfied'] = true;
            }
        }
    }
}`

I was not able to fix the VUE part :)
On Mon, Dec 10, 2018 at 7:27 PM dtannen<EMAIL_ADDRESS>wrote:

What is the corresponding change to FormField.vue to make this work on the
front end also?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/epartment/nova-dependency-container/issues/20#issuecomment-445900105,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGNQNQUQYO2iFM1-5cunf3dX0TGTF2kbks5u3pmJgaJpZM4XIHvT
.

--
Valentin Ceaprazaru
CodingHeads.com
http://codingheads.com/?utm_source=emailClient&utm_medium=email

Maybe PullRequest https://github.com/epartment/nova-dependency-container/pull/56 can help as it accepts values in an array.

I hope that this feature request is still active. I too could really use a different mechanism for value comparison.
The most dynamic I can imagine, is by accepting a callback, as @ghost already suggested.

@aedart no it's not active, I'm currently working on different solutions. Callback is not possible, this just will not work.

@wize-wiz, ok. Thanks for your quick reply :)


meta: Use balenablocks images instead of balenaplayground

Use production images at balenablocks dockerhub org.
Change-type: patch
Signed-off-by: Tomás Migone<EMAIL_ADDRESS>

@balena-ci I self-certify!

i just wanted to approve and i realized the CI can do that. Would that not be a security risk if users can do this command?

I think you need to be part of the balenalabs org for the CI to approve on your behalf. You might be able to do it because of your contributor status, but regular users can't.

Usually docs changes and simple stuff feel free to approve this way. For more complex changes we should still have at least someone else review before approve/merge.


Resolve Dependencies beforehand

This greatly increases the installation process, as composer install / composer require does not run up to 4 times, but just once. This also means, that running the initialize script can be added to the post-root-package install command or whatever gets executed after composer install, so the user could in theory run either composer install (when php8 or 7.4 is already available on the system), or ./initialize.

Codecov Report

Merging #11 (641a43a) into main (b4ace6e) will decrease coverage by 1.58%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #11      +/-   ##
============================================
- Coverage     70.39%   68.80%   -1.59%
- Complexity      244      249       +5
============================================
  Files            90       91       +1
  Lines           868      888      +20
============================================
  Hits            611      611
- Misses          257      277      +20

Impacted Files
Coverage Δ

...mains/Composer/PackageVersionToInstallResolver.php
0.00% <0.00%> (ø)

...ateProjectForm/Components/StarterKit/Jetstream.php
0.00% <0.00%> (ø)

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 b4ace6e...641a43a. Read the comment docs.


linear regression support

Add support for regularized linear regression. Cf. http://stackoverflow.com/questions/27476933/numpy-linear-regression-with-regularization
This would be a nice shortcut even though we don't want to support more complex machine learning algorithms.

http://openclassroom.stanford.edu/MainFolder/DocumentPage.php?course=MachineLearning&doc=exercises/ex5/ex5.html
Note that the regularization formula changes depending on whether or not the constant feature is present. If there is a constant feature, you need to write a 0 at [0, 0] in the identity matrix. Otherwise, you can use the identity matrix with no changes.

have you started work on this?

yes. I'm having trouble getting test data to verify that I have the correct equation, though.
https://github.com/aisthesis/pynance/blob/linreg/pynance/learn/linreg.py
I think the formula is right, but I can't find adequate unit tests for non-zero regularization.


workflow_call's github context event_name ambiguity

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_call
What part(s) of the article would you like to see updated?
The paragraph for the "workflow_call" event is somewhat ambiguous with the mixing terms of "webhook payload" and "event payload", and says;

the event payload in the called workflow is the same event payload from the calling workflow

But there is a distinction in naming between the "webhook" payload and the "event" payload across the rest of the docs. When reading this description, it implies that there would be a webhook payload associed with the workflow_call event, perhaps one mentioned on https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads (although there is none) that would simply have the same github.event payload as calling workflow, but that the other generic "webhook" payload fields would be equivalent to others.
For example, I assumed upon reading it that the github.event_name field, being not in the github.event payload, would equal workflow_call, and was surprised to discover that the event name was also the same as that of the "webhook payload" that initiated the callee workflow.
This description could be made more clear by saying that it adopts the "webhook" payload of the callee, rather than just the "event" payload.
Additional information
No response

@Skenvy
Thanks so much for opening an issue! This needs a technical review, I'll triage this for the team to review :eyes:

Thank you. 👍

Vào 20:50, T.5, 24 Th3, 2022 Nathan Levett @.***> đã
viết:

Code of Conduct

I have read and agree to the GitHub Docs project's Code of Conduct
https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md

What article on docs.github.com is affected?
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_call
What part(s) of the article would you like to see updated?
The paragraph for the "workflow_call" event is somewhat ambiguous with the
mixing terms of "webhook payload" and "event payload", and says;
the event payload in the called workflow is the same event payload from
the calling workflow
But there is a distinction in naming between the "webhook" payload and the
"event" payload across the rest of the docs. When reading this description,
it implies that there would be a webhook payload associed with the
workflow_call event, perhaps one mentioned on
https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads
(although there is none) that would simply have the same github.event
payload as calling workflow, but that the other generic "webhook" payload
fields would be equivalent to others.
For example, I assumed upon reading it that the github.event_name field,
being not in the github.event payload, would equal workflow_call, and was
surprised to discover that the event name was also the same as that of the
"webhook payload" that initiated the callee workflow.
This description could be made more clear by saying that it adopts the
"webhook" payload of the callee, rather than just the "event" payload.
Additional information
No response
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/16515, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXTWXQKVQIOMDKGBFHVUAKDVBRXLNANCNFSM5RRHFA4A
.
You are receiving this because you are subscribed to this thread.PowerMessage
ID: @.***>

@Skenvy Thanks so much for your patience. I spoke with the team and we are not going to accept this contribution :yellow_heart:. We really appreciate your time and interest in improving GitHub docs 💖 .

In other parts of the docs, the webhook payload's fields are synonymous with the github.* fields (and the webhook event payload is synonymous with the github.event field). The only place this distinction appears to be ambiguous is on the description of the workflow_call event. It asserts that the webhook event payload, not the entire webhook payload is the same as that of the callee (where it appears from dumping the contexts during the called action, that the entire webhook payload is the same). Either the description is not wholly unambiguous (not sure why an ambiguity would be ok anyway), or the implementation of the pass-through of the webhook payload | webhook event payload is wrong (which I assume is not the case). Alternatively the terms are mis-conflated between the events-that-trigger-workflows and webhook-events-and-payloads pages. Again, not sure why an ambiguity like that is accepted, wilfully so if it's assumed that the names for the payloads across both events-that-trigger-workflows and webhook-events-and-payloads pages are equivalent and correct.

I had exactly the same confusion and this issue appears to be the only documentation on this issue. Please reconsider clarifying what context values are in the case of workflow_call

I found this issue and a discussion at https://github.com/actions/runner/discussions/1884
I have a workflow test that's being dispatched from the ui.
It calls another workflow create-test-db.
When create-test-db is called from the test workflow, github.event_name is workflow_dispatch instead of workflow_call.
I assume this is because test was dispatched from the ui, but this is very confusing.
I followed the "solution" in the linked discussion.
My create-test-db workflow now has an extra input in the on.workflow_dispatch.inputs
name: create-test-db

on:
  workflow_call:
+    inputs:
+      is_workflow_call:
+        description: 'Ugh'
+        required: true
+        type: string
+        default: 'true'

  workflow_dispatch:

jobs:


glob is out of sync

https://github.com/cowboy/node-findup-sync/blob/master/package.json#L31

:+1:


Add badges maintenance label

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
The badges should also show the maintenance mode, currently it is shown as Down
✔ Solution
Add a maintenanceLabel=
❓ Alternatives
No response
📝 Additional Context
No response

There is already a bug report for this behavior: #2456


Expose grpc status code via attributes

@douglas-reid , I'm not 100% sure what's required in the body of this ticket could you help me with the labels and administrative stuff?
We should support a way to plumb the grpc status code into attributes.
Possible attributes:

Overwrite response.attribute
response.grpc_status_code
response.status_code

In some situations a grpc client will set the status code. In this case any metric that is generated using Mixer will not accurately reflect what a client sees.

What happened to this? I'm testing some grpc services in Istio now, and even though my services returns non-OK codes.Error grpc error codes they doesn't show up in the Prometheus metrics. There all the istio_requests_total entries for these services has response_code 200.

@torbjornvatn new attributes were added at some point, including response.grpc_status. That should make it possible to edit the configuration for Mixer such that istio_requests_total either includes an additional field, or the response_code derivation is overridden when gRPC is used.  Does that help?

That was my first intuition to, but I'm having a hard time figuring out how to reconfigure the Mixer.
I tried editing the istio-1.0.3/install/kubernetes/helm/istio/charts/mixer/templates/config.yaml to include these attributes, but then it seemed like I didn't get any istio_requests_total metrics in Prometheus at all.
Isn't it a bit strange that the official helm chart doesn't expose pass these attributes? Since they're mentioned here: https://istio.io/docs/reference/config/policy-and-telemetry/attribute-vocabulary/

Aha, I found this: https://github.com/istio/istio/commit/07a6b84cd969e5b6158b6c60a23a8b8b641448f6
Seems like these attributes will be added in 1.1.0, but I guess I can just copy that config.yaml and get them now

@douglas-reid I'm interested in helping address this.
Do I understand correctly that now the attributes are available, and the remaining thing to do is to modify various config yaml files to use these?

@djazayeri that's correct. I'll respond offline to your email, and we can update here when we've sorted it.

Stepping back, can we confirm the behavior we want to support here?
I propose:
(for logs)

protocol => should be grpc for grpc traffic
logicalResponseCode => new field (for all supported protocols, map response to the closes matching HTTP status)

e.g. context.protocol == "grpc" ? grpcToHttp(response.grpc_status) : response.code

responseCode => do not change (literal http response code)
grpcStatus => do not change

(for metrics)

request_protocol => no change (this already supports grpc)
response_code => no change (literal http response code)
logical_response_code => new field (for all supported protocols, map response to the closes matching HTTP status)

e.g. context.protocol == "grpc" ? grpcToHttp(response.grpc_status) : response.code

@djazayeri I'm not sure that we want a new label on the metrics. Do you mind writing up a small one-page doc on the options, which I see as follows:

Add logical_response_code
Update the expression for response_code to support grpcToHttp conversion in grpc cases

I just would like to see the pros/cons laid out there. Then we can discuss at the next P&T.


incorrect indent list items

text:
1. item1
  1. item1.1
  1. item1.2
1. item2
  1. item2.1
  1. item2.2

example markdown:

item1
item1.1
item1.2
item2
item2.1
item2.2

Notice: This plugin is no more maintained and it has been removed from Jetbrains plugins repository. There is a Markdown plugin officially supported by Jetbrains.


Upgrade the module and distribution versions

Purpose
Related to - https://github.com/ballerina-platform/ballerina-standard-library/issues/2503
Examples
N/A
Checklist

[x] Linked to an issue
[ ] Updated the changelog
[ ] Added tests

@ayeshLK  Please apply the diff of the automated PR also into this PR? The reason is that, we need to bump the dependencies also into the latest timestamped version. Please delete the **/Ballerina.toml again after the change and build the module.


mwc-dialog add shadow part to content element

Is your feature request related to a problem? Please describe.
mwc-dialog provides some customization with CSS custom properties but is quite limited.
Describe the solution you'd like
If part="custom-part-name" was added to the content element where it renders in the shadow DOM, a lot more style capability would be available, such as styling scrollbar (when overflow-y), custom margin/padding on the card, etc.

Example based on current (screenshot above) modified with shadow part...

...

Describe alternatives you've considered
Another solution would be exposing more CSS custom properties but would be more effort than shadow part.

Hey @dave52 thanks for submitting
Our CSS Custom Properties listed in our our docs support certain theme-ing options.
Unfortunately, we don't currently plan on exposing more properties

Hey @dave52 thanks for submitting
Our CSS Custom Properties listed in our our docs support certain theme-ing options.
Unfortunately, we don't currently plan on exposing more properties

Would you kindly reconsider adding this as a feature :)
By adding the shadow part to the mark up like this:

...

It opens the door to lots of style changes on this specific element, without being locked down to exposed CSS custom props, and it is a very low risk change.
Element styling:
mwc-dialog::part(foo) {
  // CSS to hearts content
  background: hotpink;
  margin: 4rem;
}

...and scrollbar styling:
mwc-dialog:part(foo)::-webkit-scrollbar {
  width: 1em;
}

mwc-dialog:part(foo)::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

mwc-dialog:part(foo)::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

Would you kindly reconsider adding this as a feature :)
By adding the shadow part to the mark up like this:

...

It opens the door to lots of style changes on this specific element, without being locked down to exposed CSS custom props, and it is a very low risk change.
Element styling:
mwc-dialog::part(foo) {
  // CSS to hearts content
  background: hotpink;
  margin: 4rem;
}

...and scrollbar styling:
mwc-dialog:part(foo)::-webkit-scrollbar {
  width: 1em;
}

mwc-dialog:part(foo)::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

mwc-dialog:part(foo)::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}


[Ahub] Fix AnalysisHub defects

Changes proposed in this PR:

Fix uninitialized class members in the constructor
Fix potential uninitialized data
Add try-block to catch exceptions

Self-evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test:   [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2369. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Fix incorrect LCOV exclusion markers

Fix #446

Aha, the -9% coverage on src/adiar/zdd/expand.cpp is due to this fix uncovers that the empty hit_existing(const zdd::node_t &/*n*/) function is not excluded. This can be done similar to zdd terminal right above it.
Would you be so kind to additionally fix that? :slightly_smiling_face:

The -9% coverage on src/adiar/zdd/expand.cpp is due to this fix uncovers that the empty hit_existing(const zdd::node_t &/*n*/) function is not properly excluded. This can be done similar to zdd terminal right above it.
I know that was not part of the issue, but would you be so kind to also fix that? slightly_smiling_face

Fixed


PDF View with Draggable Scrolllbar

Is your feature request related to a problem? Please describe.
I have a requirement whereby the users need to be provided with a draggable scrollbar. So dragging the scrollbar movement should synchronize page number in view. I tried using a draggable scrollbar plugin https://pub.dev/packages/draggable_scrollbar .
The above works in a way that DraggableScrollbar should be the parent widget of the underlying list (or pdf page in our case). The scrollable scrollbar provides a controller which needs to be passed to underlying list widget for maintaining synchronization of list position with the scroll bar position.
Since Cached_PdfView doesn't provide such controller property to which a scrollbar controller can be assigned.
Please provide a solution to the requirement which is an urgent business need. Alternatively, if there is already a solution, please direct me to the available resource to refer.
Describe the solution you'd like
The solution to the Draggable Scrollbar requirement which is integrated & synchronized with pdf view is needed.
Describe alternatives you've considered
No clear alternative found. Although I did try unsuccessfully to force-fit and integrate the 2 components that didn't work.
Additional context
NA

Hello Support Team,
Could you please check this issue and advise possible solution.
Thanks,
Manish


After installing M365LP version <IP_ADDRESS> our custom contents became hidden

Category

[ ] Question
[x] Bug
[ ] Content

Question / Expected or Desired Behavior
After installing M365LP version <IP_ADDRESS> our custom contents became hidden and some cannot be shown anymore.
Observed Behavior
All our custom contents (playlists and assets) lost their values for the "level" and "audience" fields.
After retyping the values, most of them are visible again.  But some still remains hidden:

1 whole custom playlist
2 custom assets added to a MS playlist (Microsoft Teams product)

For the custom assets, we deleted and recreated them => new items are now visible.
But by doing so I guess that the links to the underlying assets have changed => bad work-around.
Any idea how to make the custom playlist to appear again ?

This is a known bug that will be fixed as soon as possible. Basically the playlists "Level" and "Audience" fields are now required, which was an unintentional change. Because of this, the playlists that don't have those values set are not showing up.  If you set a value for them it will fix the problem.

We had values before the upgrade but they were deleted when upgrading.
But real problem is than adding the value back does NOT solve the issue for all the item contents.
For most of them they show again but see my initial note: one whole playlist and two assets are no more showing up, even after retyping the values for the "level" and "audience" fields.

The recent version 3.0.1 release no longer requires audience and level for custom playlists.
With regard to your issue of some things are "not showing up" I need more detail to help you fix the issue. Not showing up where would be a good start. Can you see them in teh admin web part but not the viewer web part or they're not showing up in the admin web part either?


Teams search does not include content on Sharepoint pages/news added as tabs in a Team

Hi, I use a Sharepoint site page in my Teams as a team Home page as a tab, and also a separate News feed tab. However, the Teams search function does not include content on these pages.

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

ID: 5346de0f-d09a-86ce-8390-5a33d8139bfb
Version Independent ID: 5052193b-fd71-d1fe-e64c-f2c47218531c
Content: Use Content Search in Microsoft Teams - Microsoft Teams
Content Source: Teams/content-search.md
Service: msteams
GitHub Login: @markjjo
Microsoft Alias: markjjo

@jeffmparker It's unclear what you mean by "Teams search function" and how you're configuring the search. In the content search tool, you can search all sites in your org (include sites associated with a Team) by turning on the sites toggle on the "Modify locations" page when you're configuring a search. Alternatively, you can try to use the "path:" or "documentlink: property:value pair in the keywords box. Not sure what/if news feeds items are searchable. Otherwise, would suggest you open a ticket with MS Support.

Hi, thanks, I mean from the search box at the top of the desktop app. When I do this, content from SPO pages that are accessible within Teams is not displayed.
I don’t see an option to “modify locations” in search. The app says I have Microsoft Teams Version <IP_ADDRESS>866 (64 bit).
From: Mark Johnson - MSFT<EMAIL_ADDRESS>Sent: Friday, 11 December 2020 3:46 AM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: jeffmparker<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Teams search does not include content on Sharepoint pages/news added as tabs in a Team (#6329)
@jeffmparkerhttps://github.com/jeffmparker It's unclear what you mean by "Teams search function" and how you're configuring the search. In the content search tool, you can search all sites in your org (include sites associated with a Team) by turning on the sites toggle on the "Modify locations" page when you're configuring a search. Alternatively, you can try to use the "path:" or "documentlink: property:value pair in the keywords box. Not sure what/if news feeds items are searchable. Otherwise, would suggest you open a ticket with MS Support.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/6329#issuecomment-742681879, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIZMRGAHEWBU4V7RFYLTJRDSUECNPANCNFSM4UUOY7HA.

@jeffmparker The article that you logged this github issue against about using the content search eDiscovery tool to search for Teams content. This is an admin tool that is located in the Microsoft 365 compliance center that requires that you're assigned permissions to access/use it. That's what I assume you were referring and therefore my reference to "modifying" the content locations that you are searching. So I completely misunderstood your question/problem, which seems to be about using the search box in the Teams client. Unfortunately, I can't help with that and don't know if it's possible to search the tabs you're referring to.
I did a quick search and found this topic about using the client to search Teams: https://support.microsoft.com/en-us/office/search-for-messages-and-more-in-teams-4a351520-33f4-42ab-a5ee-5fc0ab88b263 Though you may have already found this.

Thanks @markjjo. I see now that the page I asked about is indeed in the compliance area. I stumbled upon it google searching the problem I described. Perhaps the page could benefit from something at the top that highlights that its content relates to compliance, eDiscovery, etc. and not generally about searching in Teams, which is what I thought it did.
Besides this though, my problem still exists, and I'm wondering where/how it might be most suitably raised?

@jeffmparker It's possible the tab isn't searchable. Otherwise, you can open a ticket with MS Support.


namespace implementation

According to #173, implement namespace syntax and semantic

[x] add keyword namespace
[x] parse namespace syntax
[ ] resolve namespace scoping when type checking
[ ] support multiple file input

Some experiment structures:
struct Package<'a> {
  definitions: Vec<Top>,
  namespaces: HashMap<String, Namespace<'a>>,
}

struct Namespace<'a> {
  package: &'a Package,
  definitions: Vec<Top>,
}

To resolve namespace we can use fold naming to get a flatten AST, a related issue is we don't want to have cross files duplicate imports or alias so have to replace alias in block scope rather than in namespace scope.


Fixed PostStartHook execution

I noticed factory.New().WithPostStartHooks(foo) does not do anything useful.
The hooks must be copied to newly created Controller, so the Controller can actually find them when their time comes.

/lgtm


Support the reading mode of classpath.

When I use the shiro-casbin, I think import model or policy file by using the classpath mode is more convenient. So I add the reading mode of classpath.

sounds good!


Status of some layout constraints when not owned

[x] can LAYOUT_BORDER pixel be changed?  yes
- when not owned too? no
- what does the subrect operation does to the constraint? => it keeps the constraint

[x] can LAYOUT_TRAILING pixels be changed?  yes
- when not owned too? no
- what does the subrect operation does to the constraint? => it keeps the constraint

[x] can LAYOUT_MULTIPLICITY pixel be changed? yes
- when not owned too? => no
- what does the subrect operation does to the constraint? => it removes the constraint because subrect

[x] can bytes between scanlines in LAYOUT_SCANLINE_ALIGNED be changed? yes
- when not owned too? => no
- what does the subrect operation does to the constraint? => it removes the constraint because subrect

[x] is LAYOUT_GAPLESS preserved by subrect => it removes the constraint

OK, documented.


Test identifier work

see syndesisio/syndesis#5584
see syndesisio/syndesis#5585
added test ID to top menu user dropdown
added test IDs to the about dialog
i18n'd AboutModalContent

build fails

PR Storybook available here


Added request body to parameters of ACL context extraction custom fun…

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.956%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
520

Relevant Lines:
592

💛  - Coveralls


Downgrade to C# 8 compatible code

With the modifications in this PR, it should be sufficient to build Google.OrTools.csproj for C# 8.0 language version. This should ensure that or-tools reliably can be built for legacy target frameworks, such as .NET Framework 4.6.1 and later or .NET Standard 2.0.
Prior to forwarding this PR, I have successfully build the project for .NET Framework 4.6.1, .NET Core 3.1 and .NET 6 with C# language version set to 8.0.
The code changes are also compatible with .NET Standard 2.0, although another issue on that target framework requires separate handling. The fixes to fully support .NET Standard 2.0 will be issued in a separate pull request.
This PR corresponds to the discussion in issue #3503.
Before providing this PR, I have signed a personal CLA.

Closing the PR. We have a working solution.


V0.21.1 merge to master

Gordian knot merge to master.
cc @eparis. (Amazingly, it worked!)

This worked better than I hoped, and looks exactly like I'd expect. I've verified that the tag (which is at 906122a279abbfa7f54e8dbf3ea06aac3bf89fac) is reachable in that pile, which is the goal of this monstrosity.

This release is published. Self-merging so master has the correct tag.


add to .git ignore doesn't add new line

Steps to Reproduce:

open a workspace with a .gitignore or add a .gitignore to the workspace
make sure there is no blank line at the end of the file. mine looks like this:

make a change to a file, open the SCC viewlet, right click on a file and use the command "Add File to .gitignore"

Result: .gitingore file is opened, but the file you added is appended to the last line in the file, not on a new line.

@joaomoreno, @bpasero  I think https://github.com/Microsoft/vscode/pull/30164 will fix this issue. Please take a look.

I would not make this a candidate @kieferrm, doesn't seem that critical.


Combining all Calculus related topics into one

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

All calculus related topics have been moved to one folder and a repeated topic has been deleted

What is the purpose of deleting all those files?  Why not keep them separate?

I haven't deleted any file except one which was a copy of another file but with a different name. All other files have just been renamed i.e. I have changed their paths to the newly created folder

@RandellDawson One file for partial-derivatives was duplicate so I've added it to the other one

You still have some merge conflicts on this PR which need resolution.

@RandellDawson Updated

There are several PRs against the old file names which need to be reviewed/merged/closed first.  I will do that now and then you may have to fix some other merge conflicts.

I reviewed 3 PRs which had files with changes, but I closed them due to changes not needed (duplicate) and/or changes which did not add any value to the content.
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Automated cherry pick of #2082: fix: get openstack all customize storage type

Cherry pick of #2082 on release/2.9.0.
#2082: fix: get openstack all customize storage type

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.9.0@395c19f). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff               @@
##             release/2.9.0   #2085   +/-   ##
===============================================
  Coverage                 ?   7.68%
===============================================
  Files                    ?     336
  Lines                    ?   53997
  Branches                 ?       0
===============================================
  Hits                     ?    4148
  Misses                   ?   49462
  Partials                 ?     387

Flag
Coverage Δ

#aFlag
7.68% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/storages.go
1.09% <0%> (ø)

pkg/compute/guestdrivers/openstack.go
8.92% <0%> (ø)

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 395c19f...bb837d7. Read the comment docs.

/lgtm
/approve


Keylogging/Screenshots not working on Server 2008 R2

Empire Version
1.5.0
OS Information (Linux flavor, Python version)
Linux kali 4.4.0-kali1-amd64 #1 SMP Debian 4.4.6-1kali1 (2016-03-18) x86_64 GNU/Linux
Python 2.7.11+
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Agent created on fresh Server 2008 R2 DC using lateral_movement/invoke_wmi. Neither keylogging nor screenshots work. Screenshot results in the error below.
Screenshot of error, embedded text output, or Pastebin link to the error
utput saved to ./downloads/SBPELKREUVLLSKXY/error running c/2016-04-14_12-43-47.omman
Any additional information

I've run into the same issue on a number of occasions.

Interesting, let me get a 2008r2 box up and I will test this.
Thanks!

No problem - I'll be poking around in the lab today so if you need any more information.

I've seen this before a few times but am not sure of the exact issue, we'll try to chase it down.

I am still working on getting my server 2008r2 box updated (curse windows updates!). I should have this tested today.

If you have a 2008r2 box you can get to, does someone mind running this and pasting the output?
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse |
Get-ItemProperty -name Version,Release -EA 0 |
Where { $_.PSChildName -match '^(?!S)\p{L}'} |
Select PSChildName, Version, Release, @{
  name="Product"
  expression={
      switch($_.Release) {
        378389 { [Version]"4.5" }
        378675 { [Version]"4.5.1" }
        378758 { [Version]"4.5.1" }
        379893 { [Version]"4.5.2" }
        393295 { [Version]"4.6" }
        393297 { [Version]"4.6" }
        394254 { [Version]"4.6.1" }
        394271 { [Version]"4.6.1" }
      }
    }
}

Sure thing. I'm out of town right now but will give this a go Tuesday or
Wednesday.
On Mon, Apr 25, 2016, 6:01 AM Matt Nelson<EMAIL_ADDRESS>wrote:

If you have a 2008r2 box you can get to, does someone mind running this
and pasting the output?
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse |
Get-ItemProperty -name Version,Release -EA 0 |
Where { $.PSChildName -match '^(?!S)\p{L}'} |
Select PSChildName, Version, Release, @{
name="Product"
expression={
switch($.Release) {
378389 { [Version]"4.5" }
378675 { [Version]"4.5.1" }
378758 { [Version]"4.5.1" }
379893 { [Version]"4.5.2" }
393295 { [Version]"4.6" }
393297 { [Version]"4.6" }
394254 { [Version]"4.6.1" }
394271 { [Version]"4.6.1" }
}
}
}
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/PowerShellEmpire/Empire/issues/187#issuecomment-214305511

PSChildName                                       Version        Release Product

v2.0.50727                                            2.0.50727.5420
v3.0                                                       3.0.30729.5420
Windows Communication Foundation   3.0.4506.5420
Windows Presentation Foundation        3.0.6920.5011
v3.5                                                       3.5.30729.5420

From what I have seen on ops, the ".omman" extension typically means the box doesn't have anyone interactively logged on (thus no way to grab screenshots/keystrokes). When getting this, are you able to verify that there is an interactive session (RDP, direct login) on the box?

Yes there was as I was testing the key logging. I'll try again later this
morning to be sure.
On Wed, Apr 27, 2016, 6:00 AM Matt Nelson<EMAIL_ADDRESS>wrote:

From what I have seen on ops, the ".omman" extension typically means the
box doesn't have anyone interactively logged on (thus no way to grab
screenshots/keystrokes). When getting this, are you able to verify that
there is an interactive session (RDP, direct login) on the box?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/PowerShellEmpire/Empire/issues/187#issuecomment-215060924

Interesting, I setup a 2008r2 server with those exact .NET versions and was unable to reproduce. Any security products or anything like that installed? I'm just grasping for straws at this point.

It's a fresh VM installed as a DC. A colleague had the same problem; I've
asked him to verify as well.
On Thu, Apr 28, 2016, 5:57 AM Matt Nelson<EMAIL_ADDRESS>wrote:

Interesting, I setup a 2008r2 server with those exact .NET versions and
was unable to reproduce. Any security products or anything like that
installed? I'm just grasping for straws at this point.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/PowerShellEmpire/Empire/issues/187#issuecomment-215401387

Just tested this again (same victim, same attacking machine/Empire version) and everything is working fine. I'll have more of an opportunity to test this in the coming weeks and will see if I can replicate.

Cool, let me know if you are able to replicate. I have been unable to replicate this on a fully updated 2008r2 box.
Thanks!

Will do!

Hey @leesoh,
I'm going to go ahead and close this. If you are able to replicate again, let me know and we can go from there.
Thanks!

I definitely will. Should be playing around with it more in the coming
weeks. Cheers and thanks for all the work you've done on this excellent
project!
On Fri, Jun 3, 2016, 6:55 PM Matt Nelson<EMAIL_ADDRESS>wrote:

Hey @leesoh https://github.com/leesoh,
I'm going to go ahead and close this. If you are able to replicate again,
let me know and we can go from there.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PowerShellEmpire/Empire/issues/187#issuecomment-223726278,
or mute the thread
https://github.com/notifications/unsubscribe/ABN67qy2vUodnlBUHL30C1Q-e85ZvUdfks5qIM0TgaJpZM4IHrLr
.

This may be asking for a giant troubleshooting headache. If that's the case, tell me to take a hike. I have this issue en masse across two different kali machines (latest version of Empire, rolling) created by two different people and about 50 different endpoints. Is there somewhere in Empire I can go to get more information about what the agent is doing? Would love to get to the bottom of this.

A bit more info - my colleague said that if he copied the ps1 over and ran it, it was successful.

@enigma0x3 Just realized you may not be checking old closed tickets for updates.

We definitely know it's an issue but we can't get an exact reproducible set of steps. We'll leave this open for additional information/comments as we try to work through it.

I'm happy to help any way that I can. Will hopefully have some time to experiment more with this in the coming weeks. Will post any new information here.

Sounds good! I'll re-stand up a 2008 box and re-test this to make sure I didn't miss something.

I just tested it on a couple of lab machines at my home, no problem. Building a new domain from scratch over the next week so they'll all be fresh as well.

@enigma0x3 Replicated. Here's what I did:

Built a brand new box for Empire (Linux namehere 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux)
Built a new 2k8r2 template using fresh MSDN media
Set up a http listener
Tested a launcher but couldn't get an Empire agent working on the standalone server
DCPROMO on server, reboot, logon as domain admin
Able to get an agent going with both Invoke-WMI from a non-domain-joined Win7 box and with the launcher
Interact with agent, usemodule collection/screenshot, execute
Output saved to ./downloads/MGK242U4NBCL3NLD/error running c/2016-07-17_11-01-11.omman

Output of the previously requested GCI:

PSChildName
Version
Release
Product

v2.0.50727
2.0.50727.5420

v3.0
3.0.30729.5420

Windows Communication Foundation
3.0.4506.5420

Windows Presentation Foundation
3.0.6920.5011

v3.5
3.5.30729.5420

Just to add to the strangeness, I realized that I'd forgotten to sysprep my 2k8r2 template before deploying. Turfed the old VM, sysprepped, recreated server and DC, then fired up a launcher to the same Empire box/listener. Screenshot and keylogger works just fine.

So everything appears to be working now?

On that particular machine, yes, but generally no. I was just pointing out that an almost identical machine with the same Empire listener/stager had different results.

Do you have any ideas as to what could possibly be causing intermittent screenshot/keylogging results? I have stood up 6-7 separate 2k8r2 boxes and am unable to get the issue to occur.

I have no idea. Especially since it doesn't appear to be tied to a specific version of Windows or even a specific instance of a VM. In my testing, I used the same base image and deployed two VMs from it. One worked, the other didn't. Antivirus wasn't in the mix, nor was any additional software. Just a fresh out of the box server. Are you building your test VMs from an image, or from media? Is this the first module you run? My testing has been focused on this single issue, so it's build from media > launch stager using launcher > test functionality.
On a recent engagement, a colleague and I had two Kali instances and ~90 endpoints compromised. These were production machines with your usual endpoint stuff on them (antivirus, etc.) and none of the ones we attempted worked. Meterpreter worked fine on the same machines.

Perhaps @mubix can share his experiences?

A comment from another issue got me thinking. @enigma0x3 How are you testing this? On VMs I'm assuming? Are there any components in the module or the agent/server communication that are sensitive to time skew? I've had problems with this VM to VM (same hypervisor) and VM to physical (completely different time sources).
Bit of a hail mary, but thought it worth mentioning.

Screenshots need to be taken in the context of the user you want to screenshot.


deploy a cdQA REST API and getting error: AttributeError: 'QAPipeline' object has no attribute 'fit'

Describe the bug
When I try to deploy a cdQA REST API by running code "FLASK_APP=api.py flask run -h <IP_ADDRESS>", I got error as below. Does anyone know why?  Thanks!
File "/App/cdQA/api.py", line 21, in
cdqa_pipeline.fit(X=df)
AttributeError: 'QAPipeline' object has no attribute 'fit'
To Reproduce
Steps to reproduce the behavior, just follow below instruction:
https://github.com/cdqa-suite/cdQA#Deployment

Hi @morningstar899 ,
Thanks for pointing this out.
We merged some changes yesterday that changed the name of the method fit to fit_retriever. We had forgotten to update app.py to take this change into account.
I have just fixed it, so please update your version of cdqa.

Hi @morningstar899 ,
Thanks for pointing this out.
We merged some changes yesterday that changed the name of the method fit to fit_retriever. We had forgotten to update app.py to take this change into account.
I have just fixed it, so please update your version of cdqa.

Hi, Andre       Thanks for the quick fix!


Editor / parts that can be refactored

Hi,
I’ve made a basic Apple eco-system niimbot stack (https://github.com/talaviram/libreniim)
My higher goal is to make reusable web canvas (based on vanilla html5/js fabricjs) to be used for the Apple side and the Web (Chrome/WebBLE) side.
Today I’ve pushed my current state. (https://github.com/talaviram/libreniim/tree/labeleditor/web/labeleditor)
As I’m looking for a web-based permissive (MIT) Niimbot web-stack I’ve got here and wasn’t able to find a way to contact except issue and telegram.
So far I’ve implemented some areas that might be useful also for your project. (hacky QR support, buggish object-alignment)

Hello!
I looked at web/labeleditor (started dev server). The functionality so far is similar to what I did and there's no solid reason to think about integrating it into this project.
What about web stack, there is no released library yet (it will be released with MIT license), but you can try to use it now. Source code is here at the moment, but it is very unfinished: https://gitee.mmote.ru/MultiMote/niimblue-nightly
niimblue is frontend, niimbluelib is printer interface. There is no documentation yet. Some sort of usage example you can find in niimblue/src/stores.ts, niimblue/src/lib/PrinterConnector.svelte and niimblue/src/lib/PrintPreview.svelte.
Stay tuned 😁

I didn’t see QR at least running from
https://dev.mmote.ru/niimblue/
(I have QR approach which works if needed)

QR Code feature is now here (done by @xfqz86).
If needed, I'll re-open this issue later.


ISO Grub option to install to disk

Is your feature request related to a problem? Please describe.
I would like the ISO to make it easier to install to disk. Currently, I need to log in as rancher user and then type sudo k3os install.
Describe the solution you'd like
I would like a separate Grub option to automatically launch the installer, e.g.:

k3OS LiveCD & Installer
k3OS Installer only
k3OS Rescue Shell
Presumably you would still want to make #1 the default (to prevent breaking any packer builds)?
After selecting "K3OS Installer only", it would automatically login as rancher and run sudo k3os install and present me with the installation wizard.

Describe alternatives you've considered
Modifying the live mode and forcing inittab to bypass the rancher user login entirely. It seems hacky.
Additional context
ISO installers (such as Ubuntu) start with the installer and allow the user to 'drop down' into the OS. I would prefer this but suspect that packer builds wouldn't appreciate this step.
CC @dweomer because we were talking about this feature in Rancher Slack #k3os channel

I manually edited the "LiveCD & Installer" Grub entry to k3os.mode=install and it worked as I wanted.
I've created a branch for this change but I should understand how to test this before making a PR.
https://github.com/philipsparrow/k3os/tree/grub-install-option

@philipsparrow please submit this as a PR as I would like to include your changes in the next release.

@philipsparrow please submit this as a PR as I would like to include your changes in the next release.

Thanks, done: https://github.com/rancher/k3os/pull/507

Fixed via #507


Game request: Xonotic

Module Request
Game Information:
Game Title: Xonotic
How to obtain: https://dl.xonotic.org/xonotic-0.8.2.zip
Suppoted OSs: linux, windows & macos
Supports RCON/Console input? YES
I confirm:

[x] that I have searched for an existing module request for this application.
[x] that the server is an official server distributed by the games publishers/developers.
[x] that the server is available to the general public.
[x] that the server can be run headless (without a GUI).
[x] that my checkboxes above look like the one on the left (remove this line when done)

Would really like to get Xonotic running on AMP, it is much fun and very lightweight. If anyone has knowledge on making a module for Xonotic, please do so. I do not know enough about the internal working of Xonotic, maybe someone do?

This is no longer the right place to request applications, you can do so here: https://github.com/CubeCoders/AMPTemplates

@FAFDK this is probably doable. The only issue that I see is that it has the user directory by default outside AMP's datastore (such as ~/.xonotic on Linux). But there is a comment from someone else in the AMP Discord ages ago saying that they found out how to change the location by asking in the Xonotic IRC - if you can figure out what is needed to do that, I can put together the template.
Maybe you can ask on their forum? I see you posted on these a week or so ago.

@Greelan thank you for your answer.
It is possible to change the user directory.
https://gitlab.com/xonotic/xonotic/-/wikis/custom-user-directory
Custom user directory
Sometimes you want to have several different configurations of Xonotic or want to separate client and server configurations. Xonotic allows you to do that by adding -userdir  command line argument. For example, to force Xonotic server to use /home/user/Games/Xonotic/Server directory use this:
$ xonotic-linux64-dedicated -userdir /home/user/Games/Xonotic/Server


Add BlockDevice trait.

Fixes #56.

Shouldn't BLOCK_SIZE be an associated constant?

Shouldn't BLOCK_SIZE be an associated constant?

I tried that but unfortunately it doesn't work, as Rust doesn't allow associated constants to be used in the types of trait methods. We can make it a trait parameter though.
In practice the crates I've checked so far both use 512 byte blocks. virtio-drivers uses 512 byte blocks for VirtIO block devices (as required by the VirtIO specification), embedded-sdmmc uses 512 blocks for SD cards and FAT32. Implementing block devices with other block sizes is less useful, as they won't be able to be used with filesystem drivers which expect 512 byte blocks. (On the other hand filesystems which work with larger blocks can be implemented just fine against a device which has 512 byte blocks, as they can just read or write multiple blocks at once if needed.)

Any further comments on this? Can it be merged?

I'm fine with just adding Block in the first instance, which is a [u8; 512] and then having the BlockDevice trait not be generic over block size. The set of things that don't need have 512 byte blocks (especially in an embedded context) is very small, and most of those will simply be a [u8; 4096], which we can add as a LargeBlock or Block4K.

@thejpster What do you think of the current approach of the block size being a const parameter to the trait? I think this is is a decent compromise, as the default value makes the usual case easy, while still keeping the flexibility to implement other block sizes if required. It also means that users of the trait can choose to be generic over the block size if they want to.

It's a shame to loose BlockIdx and BlockCount that embedded-sdmmc had, and to go back to raw u64 values that you can easily get mixed up.
I think I'd also prefer to use 32 bit values for the count and the index, which lets you have 2**32 sectors, which is 2 TiB. That seems fine for almost any value of 'embedded'.

BlockIdx and BlockCount seem like unneccessary extra complexity to me, but I can add them here if you really want.
I do definitely think we should use u64 for block indices though. Other places where I'd like to use this trait already use u64 for block indices, such as the virtio_drivers VirtIO block device driver. I disagree that 2 TiB is enough; embedded doesn't just include microcontrollers, it also includes things like writing a bootloader for a storage server, writing a new desktop OS kernel, or writing a unikernel to run in a VM.

OK, so I'll accept u64 as long as we have BlockCount(u64) and BlockIdx(u64).
The reason for those two types is the same as for having std::time::Instant and std::time::Duration - to stop you adding two Instants together by accident.

Done, and updated https://github.com/rust-embedded-community/embedded-sdmmc-rs/pull/162 to match.

Looking good.
Please can we put the arguments the other way around, like they were in embedded-sdmmc? Just to reduce the diff.
Also - should we require that BlockDevice::Error: Debug? It would reduce a bunch of trait bounds needed by anyone who wants to be able to print or unwrap the error. Maybe optionally require defmt::Format too?

I've swapped the order of parameters. I'd rather not constrain the error type in the trait, as I've seen a fair few embedded driver crates whose error types don't implement Debug. Consumers of the trait can require the error type to implement Debug if they really need that, but I don't think it's necessarily required and I'd like to keep the trait as broadly applicable as possible.

Shouldn't BLOCK_SIZE be an associated constant?

What about devices, such as SPI where these parameters are probed. I would argue that none of the parameters should be associated constants.

Wait, what SPI device requires you to probe for the sector size? This is an abstraction for hard disks, floppy disks, SD Cards and NVMe devices, and all use either 512 bytes or maybe sometimes 4096 bytes as the sector size - and on an embedded system you will know in advance which one you want to deal with.

@MabezDev points out that https://docs.rs/block-device-driver/0.2.0/block_device_driver/trait.BlockDevice.html exists (it's an async version of basically this trait). We should either bring the async version over here, or we should scrap this and send a sync version over there. It doesn't seem to make sense to have the two versions in two different crates.

OK, here's a proposal. Because some implementations of the BlockDevice trait might want to do DMA (especially ones that use an SDMMC Host Controller rather than an SPI bus), we should copy MabezDev's idea of using 'aligned'. Then we should merge this, and then we should add an async version of the trait to this crate. Then all your embedded storage needs are covered, all together and in once place.

Well, I tried adding alignment but I don't know if I love it. The syntax is a bit messy because Rust won't let be create type Block = ...; as an alias.


Site support request: downloads.khinsider.com

Checklist

[x] I'm reporting a new site support request
[x] I've verified that I'm running youtube-dl version 2019.07.02
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that none of provided URLs violate any copyrights
[x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Playlist: https://downloads.khinsider.com/game-soundtracks/album/sonic-robo-blast-2-ost

Description

WRITE DESCRIPTION HERE

I can  find an album id for each playlist, but each individual track does not seem have an id. What should I do in such a case when making the extractor? For testing/building purposes I am using the track title as the id.


Improve sealed class state support

Addresses: https://github.com/orbit-mvi/orbit-mvi/issues/191
This is not going to turn Orbit into a state machine, but it adds some quality-of-life improvements to working with a sealed class state.
The code in the block is only executed if and while the state is of a given type and matches the predicate. Once either of those conditions becomes no longer true after a state update, the block is cancelled.

I like the quality of life improvement. I really liked both of the options in #197. I can't help but notice that you didn't go with either of those. Is there a reason for that? I think the reason I prefer the original API options is that I preferred the generic parameter better than passing the actual class.


Accessibility: Simplify aria-label text

Description

No ARIA is better than bad ARIA and I believe that having a different aria-label with excessively long text in the date picker when it already has a label is regressive and not standard.
It's also likely a waste of time for the screen reader to read out "Go to" on a button where that is already implied. We've used the simpler pattern in other places so lets make it consistent. For examples look at other sites like github, youtube, etc.
The date picker is missing some attributes like role, colindex, aria-selected etc but the code is so convoluted I'm not going to be able to add those. See https://mui.com/x/react-date-pickers/date-picker/ for a similar example
How Has This Been Tested?

Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[ ] I've added relevant tests.

@meenzen Do I need to do anything special to edit the language resources?

@meenzen Do I need to do anything special to edit the language resources?

No, this is fine. Once I pull the updated resx Weblate will prompt the translators to update the translations.

No, this is fine. Once I pull the updated resx Weblate will prompt the translators to update the translations.

But what will happen with other languages? Will it invalidate the translation because now the English and other languages are not really in sync, Go to next and Next is kind of different.

We have to be extra careful now with changes of already translated localizable strings, it causes a need for revisiting them in all the langauges

Changing the wording is not an issue because Next and Go to next still mean the same thing. Weblate will notice that the source string changed and request a retranslation of the string. The old translation will be used until a new translation is available.

This is how it looks in the Weblate UI:


MADR decision record for moving cross-database macros into dbt-core + adapters

This is a:

[X] documentation update
[ ] bug fix with no breaking changes
[ ] new functionality
[ ] a breaking change

All pull requests from community contributors should target the main branch (default).
Description & motivation
See ADR-0002 for details.

I like the DACI table at the top of the page 😍


Remove BasePlugin#boot; and plugins docs updates

Removes BasePlugin#boot
Docs updates for BasePlugin and ScenePlugin

In particular, only global plugins use init(), start(), stop() and only scene plugins use boot(), scene, systems (#4471).
I removed BasePlugin#boot since Phaser never calls it for global plugins, as far as I can tell. That could be a breaking change if someone has made a scene plugin by extending BasePlugin only and their plugin class doesn’t define its own boot() method. But I expect most people are extending ScenePlugin.
Should I remove BasePlugin#scene and BasePlugin#systems as well?

👍


Simplify parquet filter predicate test, fix Page Filtering Incorrectly Handles Pages with Different Row Counts

Which issue does this PR close?

Closes #4744
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

I'm looking into the other test failures, I'm hoping the tests are wrong


chore(ci): add type checking for<EMAIL_ADDRESS>

In this PR, we add a missing job for type checking with TypeScript v5.2. Since by default we use the latest<EMAIL_ADDRESS>

Thanks @vscav, LGTM 💫


WebGLTileLayer setStyle uses band 1 instead of alpha band, different behavior than TileLayer({style: ...})

Describe the bug
When setting a WebGLTileLayer's Styling with setStyle, I get a different result than setting the same Style at construction of the TileLayer.
When using setStyle the alpha band is not considered, even though the styling uses ["!=", ["band", 2], 0], and instead the first band is queried for this expression line. So erveywhere where the first band is 0 the styling for NoData is used. This is a bug.
When using the same style definition while creating the TileLayer, the result is as expected.
To Reproduce
I created a minimal reproducible example on Sandbox
Open this and go to line 46 in main.js. If you comment out this line, there won't be a hole inside the layer. If the line is active, there will be a hole where the first band is 0, even though only the
Here is the style set to my TileLayer:
const style = {
  color: [
    "case",
    ["!=", ["band", 2], 0],
    ["color", 147, 68, 144, 1],
    ["color", 0, 0, 0, 0],
  ],
};

The TileLayer has only 1 band and no nodata, but -9999 set as nodata value. So the alpha band is allways be 255.
On Top of the map is the actual pixel value at the pointer, showing that the alpha band is 255 in the hole as it should be.
Expected behavior
The map styling with setStyle should be the same as using TileLayer({style:...}).
Using tileLayer.setStyle with a styling line ["!=", ["band", 2], 0], should query against band 2 and not against band 1.

It seems to be related to calling setStyle() before the source is ready.  If called after await tifLayer.getSource().getView() it works as expected.

#16006 should protect against this happening, although I suspect there could be other situations such as calling setSource() to update to newly created source which is not ready where a similar issue might occur, but I have not been able to reproduce any.

const tifLayer = new TileLayer({
  style: style,
});

tifLayer.setSource(source);

does have the same issue, but #16006 also fixes that.


Edits to generic_programming

Thanks @XiaojunGuan, looks great. Had to revert the change on the link because the escaping is actually required


is This API Support MultiThreading?

I want get order book and tickers at the same.
When I start functions in different thread, Application Crashed.

Libwebsockets does not support multi-thread, so, probably the ans is no.


Correct Typo in the Lexer

This should have been a CR, but was instead checking for ". This appears to be a typo.
Fixes #780
rdar://99804977

@swift-ci test


Slash does not work as keyboard shortcut key

From<EMAIL_ADDRESS>on 2010-11-30T12:51:04Z
What steps will reproduce the problem?

Assign Ctrl as Mod3 and Slash as Key for comment What is the expected output? What do you see instead? The shortcut does not work, and in the Edit menu, the shortcut for Comment is showing as "Ctrl+" What version of the product are you using? On what operating system? 2.0.1, openSUSE X64

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=478

From pierre.raybaut on 2011-01-31T01:15:23Z
issue #539 has been merged into this issue.

From pierre.raybaut on 2011-05-16T01:18:07Z
Labels: Cat-Miscelleneous

From pierre.raybaut on 2011-05-16T01:20:15Z
Labels: -Cat-Miscelleneous Cat-Settings

From ccordoba12 on 2014-08-23T13:08:41Z
Status: HelpNeeded

From<EMAIL_ADDRESS>on 2015-01-17T08:57:41Z
Hello. I am very much used to commenting code via Ctrl+/, so I've looked into this.
The problem occurs because shortcut strings end up containing names for keys which correspond to printable characters, for example "Ctrl+Slash" instead of "Ctrl+/". This ends up in QKeySequence, which only translates name-to-keycode for non-printable keys0. Attached is a patch which fixes this for me.
Attachment: printable-shortcut.patch

The way to enter keyboard shortcuts is being reworked right now. When it's done, it'll be much easier to enter any kind of shortcuts.


Typo "Azure Synapse analytics"→"Azure Synapse Analytics"

https://learn.microsoft.com/en-us/azure/synapse-analytics/machine-learning/synapse-machine-learning-library
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/synapse-analytics/machine-learning/synapse-machine-learning-library.md
#PingMSFTDocs

Looks good. Thank you, @hyoshioka0128


fix broken pager: now range_tracker knows nr_phys_pages info

Fix the broken pager in  2ee3401d6fce0ce0ab7fc937b80e31601588487c
Reason:

NUM_PAGER_PAGES(128) is hardcopied in pmem unit_test
requested a pmem of 512 pages

fixed

ranger tracker will check for such invalidation.

update:
There are three important "size"s:

the slab size exposed to application, the "slab size" in _pmem->open("integriheckBlock", slab_size, NUMA_NODE_ANY, reused, (void*&)p);
the number of physical pages the pager maintains Simple_pager_component::_nr_pages
the number of blocks in the block device (region)  (where data is being swapped out into)

Some of the concerns:

Currently, 1 cannot be larger than 2(as described in the last comment). However I am assuming we actually want expose a larger memory illusion to the application (that means 1 most likely will be larger than 2..)
should the design be more like this: 1=3>>2 ?(current implementation implies "1<2=3" )

If you try the patch in 0c1b798a470f270cd9659ec3a56f2c8b414b7032,  the two PLOG function will ouputs the same number(64). The access between the two PLOG won't trigger any faults!

Yes we want to have 1=3 >>2


mobile app and Insights

Hello.
We are using open edx mobile app and Insights.
But I understand that the actions on mobile app related with video or board are not reflected on Insights.
So is there any plan to fix it?
I am always grateful for your works.

Insights ?

Insights an edX analytics tool (https://insights.edx.org/) for authors and their courses.
@marcotuts may have any answer.

Mobile events should be emitted over to the data-analytics pipeline just like our web analytics events. I can confirm this tomorrow, and if so I'll mark this as closed. @uoneway - Are you referring to any specific events or just a way to view mobile specific / mobile-only event data in Insights as a dedicated view?

Oh.. sorry for late reply.
When user see a video or write a post on mobile app, Insight values related to them (like "Learner Engagement" or "Learner Activity") are not changed even after update.
(But the event on web browser are well updated)
*We use Eucalyptus ver. insights and mobile app

Thanks for the report on this @uoneway. A quick check with the team internally and we believe this should be working. In case it is not I have created a JIRA ticket and will mark this android issue closed. You can provide additional details or watch the ticket here: https://openedx.atlassian.net/browse/DE-371


Not Getting the Score

I ran the score collector and in the logs it shows as
2018-07-07 22:25:00,023 INFO  c.c.d.collector.CollectorTask - Running Collector: Score 2018-07-07 22:25:00,130 INFO  c.c.d.collector.CollectorTask - ----------------------------------- 2018-07-07 22:25:00,167 INFO  c.c.d.collector.CollectorTask - Score 2018-07-07 22:25:00,184 INFO  c.c.d.collector.CollectorTask - ----------------------------------- 2018-07-07 22:25:00,524 INFO  c.c.d.collector.CollectorTask - Score collector id = 5b40e7040564221ec8606f92 2018-07-07 22:25:01,079 INFO  c.c.d.collector.CollectorTask - No of dashboards with score widget=0 2018-07-07 22:25:01,187 INFO  c.c.d.collector.CollectorTask - Finished                         0s
Below is my properties file configuration:
`
Database Name
spring.data.mongodb.dbname=dashboarddb
Database HostName - default is localhost
spring.data.mongodb.host=localhost
Database Port - default is 27017
spring.data.mongodb.port=27017
Database Username - default is blank
spring.data.mongodb.username=dashboarduser
Database Password - default is blank
spring.data.mongodb.password=dbpassword
Collector schedule (required)
score.cron=0 0/5 * * * *
Max score to display as 5
score.maxScore=5
If value is equal or less to 0 show alert for the widget
score.widgetAlert.value=0
If widget is not found, set value as no score to ignore widget in score calculation
score.criteria.noWidgetFound.scoreType=zero_score
If widget has no data, score would be 0 for it
score.criteria.noDataFound.scoreType=zero_score
Weight for github widget
score.scmWidget.weight=50
Weight for build widget
score.buildWidget.weight=50
score.buildWidget.numberOfDays=14
score.scmWidget.numberOfDays=14
`

Have you added the score widget for any dashboards?

nope I haven't added any score widgets to any dashboard...!! am i missing any configuration?

Yes when you create a dashboard there is an option to add the score and there is also and option to add the score widget when you edit a dashboard.

@Sbrenthughes : sorry I misread your first question. apologies for that. Yes while configuring the dasboard I checked to "Enable Score" option and selected "Display on header". Then I started the score collector with above properties but it still show as "NA"

any help on this would be appreciated!!

Does the collector still show that it is not able to find dashboards with the score enabled?

as previously mentioned I have checked "Enable Score" option and selected "Display on header". Then I started the score collector with above properties and it shows as "NA"

Closing due to no response. Please reopen if you are still having issues.

I am also facing the same issue getting in logs No of dashboards with score widget=0
but we have enabled the score as shown below.

Facing same issue as stated by awanish3 . Can any one help on this ?
Thanks in advance .
Prateek


[library usage] Implement library token provider

This pull request is part of the changes for #373
In this pull request, we implemented the library token provider instance and options settings. To allow reusing the environment variables, we introduced a new package internal/env for holding all environment variables.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7564350) 64.26% compared to head (6bb5f1c) 65.65%.

:exclamation: Current head 6bb5f1c differs from pull request most recent head aef75af. Consider uploading reports for the commit aef75af to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #380      +/-   ##
==========================================
+ Coverage   64.26%   65.65%   +1.38%
==========================================
  Files          25       27       +2
  Lines        1830     1904      +74
==========================================
+ Hits         1176     1250      +74
  Misses        579      579
  Partials       75       75

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add xmplite 4.4.1

MIT license.
Lightweight version of libxmp that supports MOD, S3M, XM and IT modules.
Patch 0001 fixes a linker error when DEBUG is defined
Patch 0002 fixes incorrect symbol names used in xmplite (already in upstream)
Signed the CLA
About "file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)". How do I fix this properly in the CMakeLists?

 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.:x: Ghabry sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Strange, I signed the CLA 1 hour ago.

Thanks for the PR!
I added a commit that adds an INSTALL_HEADERS cmake macro which avoids the header install entirely while in debug mode.


QnAMakerScorable: PrepareAsync will always return a response

With the current implementation, there is almost no chance for the QnAMakerScorable to return false in the PrepareAsync  method.
Since the QnAMakerService will always return a QnAMakerResult with a score of 0 when the answer from the QnA service has a lower score than the threshold and because the answer of that QnAMakerResult will be the default message that cannot be null or empty either as in the QnAMakerAttribute is being replaced with the default message from the resource file, this logic in the QnAMakerScorable makes the method to always return a response.
We are looking to use the Scorable as part of a bigger solution and we want to allow to continue the execution through other dialogs when the threshold is not met.
A possible way to fix this could be allowing the default message to be null/emtpy and in the QnAMakerService return null when the default message is not provided instead of QnAMakerResult with a default message and an score of 0.

You might also consider splitting the scorables into two parts - one that produces a score of QnAMakerResult and one that projects that QnAMakerResult to a normalized 0 to 1 score.  It makes it easier to compose other parts like Where and WhereScore on top of your pieces.
See these for an example:
https://github.com/Microsoft/BotBuilder/blob/develop/CSharp/Library/Microsoft.Bot.Builder/Scorables/Actions.cs#L203
https://github.com/Microsoft/BotBuilder/blob/develop/CSharp/Library/Microsoft.Bot.Builder/Scorables/Actions.cs#L187
@msft-shahins do you think you'll release the latest bot builder soon with the scorable fixes?

From what I'm seeing, the normalization is happening at the QnAMakerService.
So, I'm understood OK what you are suggesting, the QnAMakerService will return the result as is (this line), without doing any processing (meaning without checking the threshold and without returning an QnAMakerResult with the default answer) . Then we will have two scorables:

one that just normalize the score returned by QnAMaker and use it; eg. to check agains the threshold and return true or false based on that.
and the other one that does something custom, based on the QnAMaker score, to project a new score

Is that what you meant? I assume that for our solution we should use the first scorable in that case, right?

@ejadib yes, that decomposition is what I meant, so that you can have access to the full QnAMakerResult if you want.
But I agree, it would be better for the service not to manipulate the results in its implementation in favor of preserving as much information as possible.

Thank you for opening an issue against the Bot Framework Cognitive Services repo. As part of the Bot Framework v4 release, we’ve moved all the Luis and QnA work to platform SDK repo. We will continue to support and offer maintenance updates via this repo.
From now on, https://github.com/Microsoft/botframework-sdk repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.
As part of this restructuring, we are closing all tickets in this repo.
For defects or feature requests, please create a new issue in the Bot Framework repo found here:
https://github.com/Microsoft/botframework-sdk/issues
For product behavior, how-to, or general understanding questions, please use Stackoverflow.
https://stackoverflow.com/search?q=bot+framework
Thank you.
The Bot Framework Team


HTTP::Client body is empty

0.11.1 is ok, but in master i get:
crystal eval 'require "http/client"; res = HTTP::Client.get("https://www.google.ru/"); p({res.status_code, res.body.size})'
{200, 0}

bisect it to 96c08295b047c2d2a2b0f08a3aa827eee48b15a8

@kostya Thank you! When I rewrote that class I totally missed that case. Can you confirm this fixes it?

fixed

I wanted to add a spec but I couldn't make it fail, it only failed when I did the http request...


Don't throw an exception in genNoteNameOnly when opts are passed

Fixes #122

Don't throw an exception in genNoteNameOnly when called from outside of a note if opts.overrides.domain is passed.
Call DendronClientUtilsV2 rather than VSCodeUtils when creating a journal or scratch from LookupController

 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.

This looks great. Can you also add an test here to assert that no errors are thrown when the asOwnDomain flag is set?

Yes! Slammed tomorrow but will do this weekend :)

well, now i have to find another good first issue for folks. thanks for the pr, will go out in the next release :)


Key code of dynamic sampling

Hi, thanks for your awesome work about contrastive learning in semantic segmentation.
I notice that the decoder_contrast.py does not contain the code of dynamic sampling, can you provide the full code of your paper? :-)

i have the same question.我看代码里的区域中心特征的生成只是普通的平均而已


Update concept-authentication-passwordless.md

Correcting grammar/punctuation error.

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

#sign-off


Entered code not carried over to next challenge, then reappers in the following challenge.

Issue Description

In the "Change Text Inside an Element Using jQuery" challenge the code from the previous lesson "Disable an Element Using jQuery" is not carried over.
Specifically:

$("#target1").prop("disabled", true);
Continuing to the next lesson: "Remove an Element Using jQuery" and the code reappears
Browser Information

Version 48.0.2564.109 m (64-bit)
Windows 10

@efaryna Although the HTML and jQuery challenges have a common theme,
Every Challenge is unique with its own sample code in the editor and test cases.
IMHO, this behavior of the code doesn't affect solving the challenge.
Closing. Please feel free to comment if you feel this needs to be improved.


Add a moving overlay magnifier

Attach (recommended) or Link to PDF file here: ROZPORZĄDZENIE MINISTRA CYFRYZACJI
Configuration:

Web browser and its version: Firefox Release 87.0
Operating system and its version: openSUSE Tumbleweed [20210420]
PDF.js version:
Is a browser extension: no

Steps to reproduce the problem:

Tell the reader to use a moving magnifier.

What is the expected behavior? (add screenshot)
The magnifier should magnify a rectangular area around the pointer in an overlay.

What went wrong? (add screenshot)
There is no such tool.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

The magnifier should magnify a rectangular area around the pointer in an overlay.

Something like that, besides being an edge-case with a disproportionate implementation/maintenance overhead, would result in somewhat unsatisfactory performance overall given that it would lead to rendering starting/stopping a lot when in use. (Thus tying up resources better spend on pre-rendering actual pages.)
Please note that since the PDF.js library renders onto <canvas> elements, we cannot simply magnify an existing page but would need to actually render a partial page instead.

I'd suggest WONTFIX here, for the reasons listed above; and (essentially) duping this to issue #1260 which is somewhat related.

The magnifier should magnify a rectangular area around the pointer in an overlay.

Something like that, besides being an edge-case with a disproportionate implementation/maintenance overhead, would result in somewhat unsatisfactory performance overall given that it would lead to rendering starting/stopping a lot when in use. (Thus tying up resources better spend on pre-rendering actual pages.)

I am not sure how you judge "disproportionate" and "better spent" but being able to actually read a page detail would be a huge bonus.  I am afraid your evaluation is influenced by the fitness of your eyesight.

Please note that since the PDF.js library renders onto <canvas> elements, we cannot simply magnify an existing page but would need to actually render a partial page instead. (Otherwise the result would in many/most cases look blurry.)

That is what PSView and xdvi do.  The page should be rendered in the background onto a canvas of a higher resolution and project a view of that bitmap onto the overlay.

I'd suggest WONTFIX here, for the reasons listed above; and (essentially) duping this to issue #1260 which is somewhat related.

This one is more dynamic because you can scroll.

The page should be rendered in the background onto a canvas of a higher resolution and project a view of that bitmap onto the overlay.

Rendering all pages at e.g. double their actual size, just to support an edge-case, would affect both overall performance and memory usage negatively; hence why this wouldn't really be a good idea.
Please also note that it's already possible to zoom-in/out around the current cursor position, by using "normal" zooming with:
Ctrl+mouse wheel

The page should be rendered in the background onto a canvas of a higher resolution and project a view of that bitmap onto the overlay.

Rendering all pages at e.g. double their actual size, just to support an edge-case, would affect both overall performance and memory usage negatively; hence why this wouldn't really be a good idea.

Double rendering would be required only when the magnifier tool is active.

Please also note that it's already possible to zoom-in/out around the current cursor position, by using "normal" zooming with:
Ctrl+mouse wheel

This affects the whole page rather than the nearest neighbourhood and interferes with scrolling.  While you can scroll with the hand tool, you see less of the page when the whole page is zoomed.


Double Clicking on Folders

What's the Problem?
Double Clicking on Folders can be unreliable
Solution/Idea
Double clicking on folders thru the file system is still a bit unreliable.
While not strictly a bug because it does work, it just doesn't work as well as the native explorer.
Can result in either not registering on the odd occasion or if not timed correctly, can end up with a Rename cursor prompt.
Alternatives
The work around is to change over to Single Click but that's a fairly large compromise for the double clickers amongst us.
Priorities

Capability
Priority

| This proposal will allow developers to accomplish Y | Could |
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.19043.1237
Additional comment
No response

This should be resolved in the latest preview build. https://files.community/download/preview


ycmd update

Motivation for this change
There is more recent development on ycmd.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg build ycmd vimPlugins.youcompleteme


make annotations-optional a KMP library

With this ForScope and SingleIn can be used with both Dagger and kotlin-inject. All targets have the kotlin-inject annotations and the jvm target has the javax.inject annotations like before (I've also added jakarta while I was at it).

Ah, it looks like kotlin-inject with mingw_x64 support doesn't have a release yet. I could revert the last commit and we go with just making the annotations available in KMP.

yeah just revert the windows support for now. Can add it back when kotlin-inject gets around to another release

Can you add a note to the changelog too?

Removed windows and added changelog 👍

looks like one issue left on CI: https://github.com/ZacSweers/anvil/actions/runs/11616049123/job/32348084558?pr=81#step:5:324

6be98de should fix it

All green now. I'll open a small follow up after this is merged to make the publishing setup slightly nicer.


Add Foreach D-Man

@WalterBright was so kind to create another beautiful D-Man! :tada:

https://twitter.com/WalterBright/status/747034938931765253
@stonemaster As we hopefully find more of such images, I moved them into their own folder. Also I put a larger image as source there. If we ever want to optimize our tour, we can add a build chain that resizes the images into different resolution, but thus we preserve the original image ;-)

I'd merge it, but I don't have pull privileges here. Whoever does, please merge!

@WalterBright allright. Let's go.

I don't have pull privileges here.

btw in case you are unfamiliar with #36, see it for details.


add basic auth with configurable username and password

I add the basic authentication with configurable username and password in config.php file.

@joturako can you please fix your tab width and commit again. Besides we do not have config.php any more and it is renamed to config.dist.php in 46c11309129accd78de6f168ef1eb15a1c5fd7df

Ok I'm working on it.

@sasanrose please check again, I've tried to fix the spaces.

@joturako Please see the following diff:
catdiff --git a/config.dist.php b/config.dist.php
index ae63ff6..793f3cd 100644
--- a/config.dist.php
+++ b/config.dist.php
@@ -7,7 +7,7 @@ $config = array(
     'timezone'           => 'Europe/Amsterdam',
     'auth' => array(
 	    'username' => 'admin',
-        'password' => 'admin'
+        'password' => password_hash('admin', PASSWORD_DEFAULT)
 	),
     'log' => array(
         'driver'    => 'file',
diff --git a/public/index.php b/public/index.php
index e05732f..14a9b72 100644
--- a/public/index.php
+++ b/public/index.php
@@ -16,31 +16,34 @@ function __autoload($class)
     }
     include_once($path.$dir.'/'.(strtolower($class)).'.php');
 }
+
 if (isset(App::instance()->config['timezone'])) {
     date_default_timezone_set(App::instance()->config['timezone']);
 }

-$username = null;
-$password = null;
+$authenticated = true;
+
+if (isset(App::instance()->config['auth'])) {
+	$username = null;
+	$password = null;

-$auth = array(
-    'username' => App::instance()->config['auth']['username'],
-    'password' => App::instance()->config['auth']['password']
-);
-// mod_php
-if (isset($_SERVER['PHP_AUTH_USER'])) {
-    $username = $_SERVER['PHP_AUTH_USER'];
-    $password = $_SERVER['PHP_AUTH_PW'];
-  // most other servers
-} elseif (isset($_SERVER['HTTP_AUTHORIZATION'])) {
-    if (strpos(strtolower($_SERVER['HTTP_AUTHORIZATION']), 'basic') === 0)
-        {
-			list($username, $password) = explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));
-		}
+	$auth = App::instance()->config['auth'];
+
+	// mod_php
+	if (isset($_SERVER['PHP_AUTH_USER'])) {
+		$username = $_SERVER['PHP_AUTH_USER'];
+		$password = $_SERVER['PHP_AUTH_PW'];
+	  // most other servers
+	} elseif (isset($_SERVER['HTTP_AUTHORIZATION']) && strpos(strtolower($_SERVER['HTTP_AUTHORIZATION']), 'basic') === 0) {
+		list($username, $password) = explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));
 	}
-
-if($username == $auth['username'] && $password == $auth['password'])
-{
+
+	if ($username != $auth['username'] || !password_verify($password, $auth['password'])) {
+		$authenticated = false;
+	}
+}
+
+if ($authenticated) {
     $error = new Error();
     Router::instance()->route();
 } else {

I fixed some coding styles and if blocks
I made 'auth' optional
I used password_hash and password_verify, so people can put the hash generated from their passwords in the config file instead of a plain text password (We should probably do the same thing in the future for other passwords presented the in config file)

@sasanrose I've updated the code based on your diff. Btw, do you have a guide on coding styles? I let my IDE format it for me so I never know what's appropriate.

@joturako No unfortunately. However, maybe we can use something like https://github.com/FriendsOfPHP/PHP-CS-Fixer in future

@sasanrose I see, also should I write the documentation for setting up this optional authentication?

@joturako That would be appreciated


gpu decoding

Hi
Dear Nickolay
In Kaldi implemented GPU based decoding https://github.com/kaldi-asr/kaldi/pull/3114, any planning to use GPU decoding with WebSocket?
best regards

No, there are no plans for that.


error: failed to download python-####

I encountered this problem on mac. after some digging I found out it had to do with curl not being able to find the certificates. Because I have a custom build curl I can't just reinstall. I have therefore modified python-build with (starting at line 320):
  http() {
  local method="$1"
  local url="$2"
  local file="$3"
  [ -n "$url" ] || return 1

  if type aria2c &>/dev/null; then
    "http_${method}_aria2c" "$url" "$file"
  elif type curl &>/dev/null; then
    if [ $NO_CURL ]; then
       if type wget &>/dev/null; then
          "http_${method}_wget" "$url" "$file"
       else
          echo "error: please install \`aria2c\` or \`wget\` of remove \'-n\' from arguments and try again" >&2
          exit 1
       fi
    else
       "http_${method}_curl" "$url" "$file"
    fi
  elif type wget &>/dev/null; then
    "http_${method}_wget" "$url" "$file"
  else
    echo "error: please install \`aria2c\`, \`curl\` or \`wget\` and try again" >&2
    exit 1
  fi
}

and added unset NO_CURL on line 1765 and
    "n" | "no-curl" )
    NO_CURL=true
    ;;

to the section starting at 1777
In file pyenv-install I added unset NO_CURL before line 69 and
     "n" | "no-curl" )
    NO_CURL=true
    ;;

starting at line 96
now all I have to do to ignore curl is using pyenv install -n #.#.#

Closing due to inactivity


Sync stats cache while task finished, doesn't need to query column_statistics table. (#30609)

Before, when analyze job finished, the last finished task will query column_statistics table to get the latest stats for each column and update the stats cache in all FEs. Query for column_statistics could be slow and unnecessary.
This pr remove the query logic, move the update cache logic to each task. When the task finished, it already have the latest stats for that column in memory, simply update cache use the data in memory.
backport https://github.com/apache/doris/pull/30609
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall