Permissions/Roles

Is it possible to show that some collections can be accessed only by user which has same permissions/roles?

Thanks for your question! The concept of access permissions exists at the layer of business logic and is not intrinsic to GraphQL itself. I think your best bet here may be documenting any constraints that in description fields in the schema, where they will then be shown in the GraphiQL documentation explorer.


Add missing Traversable instances for Bifunctor kit?

E.g Flip currently has a Bitraversable instance but not a Traversable instance.

Sounds good to me!

Can't actually add Bifoldable p => Foldable (Flip p b), we'd get a import cycle 😄
But I'm currently adding the others.
I'm wondering if we could/should reverse the dependency and have bifunctors depend on foldable-traversable instead?

Completed by #56


Add os hints tests

Issue Number: N/A
Type

[ ] feature
[ ] bugfix
[ ] dev (no functional changes, no API changes)
[ ] fmt (formatting, renaming)
[ ] build
[ ] docs
[x] testing

Description
Adds new unit tests to crates/starknet-os/hints/os.rs
Breaking changes?

[ ] yes
[x] no

It looks great 💪


fix: send websocket command result when removing user

Making remove have a response the same way userfile adds
consistancy, and I need it to help with a script to update the user list
from a CSV.

Makes sense, thanks!


[Question] Adjoint of a Symplectic solver

Hello Patrick
Quick question on the adjoint methods
If I use a Symplectic solver is there a way to just do a reverse integration ?
With symplectic solvers, running back the steps adheres to the discritize then optimize strategy because we can follow back the same path (if I understood correctly)
Is using diffrax.BacksolveAdjoint enough?
Thanks

I think right now Diffrax doesn't support reverse integration through symplectic solves.
This kind of behaviour may improve in the future though... #528 :)

Hello,
Thank you for your answer
I am extremely interested in a backsolve that works for Symplectic Solvers
I created my own LeapFrog solver that is specific for Particle Mesh simulations, and I need to do the BackSolve process which is trivial (on paper) since I will be using only Constant Step Size
The way to do is is to run the adjoint terms in reverse (so perhaps have an adjoint step in the solver?)
If this is part of https://github.com/patrick-kidger/diffrax/pull/528 then great !!
If not I would be more than happy to help
1 - Either remove the error NotImplementedError: diffrax.BacksolveAdjoint is only compatible with solvers that take a single term. and allow us to implement our own adjoint solvers
2 - Or have an adjoint step in the solver that runs AdjointODETerms in reverse
I would find the first solution better for me (and easier) but the second is perhaps cleaner

So I think in the short term the simplest best thing to do would be for you to define a custom adjoint method (subclass AbstractAdjoint and fill in your own behaviour). Indeed you could probably use the existing BacksolveAdjoint for inspiration, although I won't guarantee that it's exactly what you need.
In the long term I think we'll keep this use-case in mind as part of the reversible backprop work, in which case hopefully it will 'just work' at some point in the future.

Thank you very much for you answer :pray:
Before clossing the issue, I have a related question
I am trying to use use the BacksolveAdjoint with an ODETerm that contains a custom primitive function.
I will only need a reverse autodiff so I implemented a custom_vjp
the AdjointTerm evaluation is failing here
Because I do not have a diff rule for my primitive ..
So I did this MWE that simulate the issue
from jax import core
import jax
import jax.numpy as jnp
from jax._src.lib.mlir.dialects import hlo
from jax.interpreters import mlir
from jax import custom_vjp , custom_jvp

square_prim_p = core.Primitive("multiply_add")  # Create the primitive

def square_prim(x):
  return square_prim_p.bind(x)

def square_impl(x):
  return jnp.power(x, 2)

def square_abstract_eval(x):
  return core.ShapedArray(x.shape, x.dtype)

def square_lowering(ctx , xc):
  return hlo.MulOp(xc, xc).results

@custom_vjp
def square_vjp(x):
  return square_prim(x)

def square_vjp_fwd(x):
  return square_prim(x), x * 2

def square_vjp_bwd(res, g):
  jax.debug.print("res: {res}, g: {g}",res=res, g=g)
  return g * res ,

@custom_jvp
def square_jvp(x):
  return square_prim(x)

@square_jvp.defjvp
def square_jvp_impl(primals, tangents):
  x, = primals
  x_dot, = tangents
  primals_out = square_jvp(x)
  tangents_out = 2 * x_dot * x
  return primals_out, tangents_out

square_vjp.defvjp(square_vjp_fwd, square_vjp_bwd)

square_prim_p.def_impl(square_impl)
square_prim_p.def_abstract_eval(square_abstract_eval)
mlir.register_lowering(square_prim_p, square_lowering)

vjp_grad = jax.jit(jax.grad(square_vjp))(jnp.array(3.0)) # works
jvp_grad = jax.jit(jax.grad(square_jvp))(jnp.array(3.0)) # works

print(f"vjp_grad: {vjp_grad}")
print(f"jvp_grad: {jvp_grad}")

def _fn_vjp(x):
  dy , vjp = jax.vjp(square_vjp, x)
  return vjp(dy)[0]

def _fn_jvp(x):
  dy , vjp = jax.vjp(square_jvp, x)
  return vjp(dy)[0]

jax.grad(_fn_jvp)(jnp.array(3.0)) # works
jax.grad(_fn_vjp)(jnp.array(3.0)) # fails

So I can safely say that custom_vjps are not compatible with the BacksolveAdjoint method?

For your example here, you can fix this via:
@@ -25,7 +25,7 @@ def square_vjp(x):
   return square_prim(x)

 def square_vjp_fwd(x):
-  return square_prim(x), x * 2
+  return square_vjp(x), x * 2

 def square_vjp_bwd(res, g):
   jax.debug.print("res: {res}, g: {g}",res=res, g=g)

Note that as you are performing second-order autodifferentiation then the internals of your first-order autodiff rule must themselves be autodifferentiable.


RE: /installing-airbrake/installing-airbrake-in-an-angular-2-app

can i trigger an error once i'm done with these instructions? Just a quick, manual test?

You know, I tried that window.onerror() from the console yesterday but it
gave me an error saying it wasn't a thing. Tried in Chrome, safari and
opera.
I'll try the in-code version now.
On Wed, Jul 18, 2018, 2:29 PM Thom Cassady<EMAIL_ADDRESS>wrote:

Hey @toddrothe https://github.com/toddrothe you can either
intentionally cause or throw an error in your code like this:
// Manually notify for caught errortry {
throw new ReferenceError("This is a reference error");
} catch (err) {
airbrake.notify(err);
}
// Throw uncaught errorthrow new ReferenceError("This is a reference error");
Or if you just want to trigger a new error in the JS console, you can do
that by using window.onerror like this:
window.onerror("this is just a test");
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/airbrake/airbrake-docs/issues/274#issuecomment-406080350,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKxDs9x-qM-Odd16YzAJ8zjKY9UeK1mks5uH6iogaJpZM4VVOyT
.

You know, I tried that window.onerror() from the console yesterday but it
gave me an error saying it wasn't a thing. Tried in Chrome, safari and
opera.

That's odd. I just tested it before I suggested it here. That said, I was using a Javascript demo app and not specifically an Angular one. Perhaps that is why.
Let us know if you have any other questions or continued issues.

I'm closing this issue @toddrothe but please let us know if you any further questions or issues either here or at<EMAIL_ADDRESS>


Cannot define a normal transactional method

Description:
$title.
Steps to reproduce:
type Foo client object {
    remote transactional function baz() {  // no error
    }

    transactional function qux() { // error: .::zxa.bal:5:19: invalid token 'transactional'
    }
};

Affected Versions:
Current master (slp3-SNAPSHOT)

Needs to be fixed along with #24221

Fixed with #25078


uniqBy has an incorrect type

function uniqBy(xs: ReadonlyArray, uniqFn: (_1: A) => A): ReadonlyArray

instead of
function uniqBy(xs: ReadonlyArray, uniqFn: (_1: A) => B): ReadonlyArray

hey @user753 👋 thanks for reporting! it's been fixed in https://github.com/mobily/ts-belt/commit/07cf8138215e4f907daa555932af7d223d36fe02 and published in v3.0.1


Wrong timestamps recorded in the configuration file (vpn_server.config)

SoftEther version: latest
Component: [Server]
Operating system: [Windows]
Architecture: [64 bit]
Description
In a forensic case, I noticed that the timestamps recorded in the configuration file (vpn_server.config) for the Hubs and users (uint64 CreatedTime, uint64 LastLoginTime and uint64 UpdatedTime) were incorrect and also incompatible with the data given records in the Log files (directory server_log).
For example:
In the Log file (vpn_20230107.log), I noticed that the user's last login time was recorded correctly, presented in UTC-3:
2023-01-07 21:01:16.703 [HUB "HUBNAME"] Connection "CID-3-XXX": Successfully authenticated as user "USER".
However, the value stored in the configuration file (vpn_server.config - uint64 LastLoginTime<PHONE_NUMBER>703), corresponded to the time 2023-01-07 12:01:16.703 (UTC-3), nine hours behind the correct time.
The same happened for the Hub creation time and other configuration file timestamps.
Steps to reproduce
Just log into a VPN server via Azure hostname. The server was configured with UTC-3 timezone.
Then just observe data recorded in the configuration file.

This is by design.
Config files are not supposed be read by users. Only time shown in vpncmd and server manager is relevant.


Bug/science public init

Codecov Report

Merging #8 into master will decrease coverage by 3.56%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   77.77%   74.21%   -3.57%
==========================================
  Files           4        4
  Lines         153      159       +6
==========================================
- Hits          119      118       -1
- Misses         34       41       +7

Impacted Files
Coverage Δ

Sources/Scientist/Scientist.swift
100% <100%> (ø)
:arrow_up:

Sources/Scientist/Experiment.swift
77.61% <0%> (-7.47%)
:arrow_down:

Sources/Scientist/Result.swift
61.29% <0%> (-6.46%)
:arrow_down:

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 39c11f1...ffd2ba0. Read the comment docs.


now transit duration can just be gotten from the database nice

Codecov Report
Attention: Patch coverage is 30.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 34.53%. Comparing base (bb0c10f) to head (152f63f).

Files
Patch %
Lines

src/scope/io.py
25.00%
6 Missing :warning:

src/scope/calc_quantities.py
50.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
- Coverage   34.83%   34.53%   -0.30%
==========================================
  Files          11       11
  Lines         804      811       +7
==========================================
  Hits          280      280
- Misses        524      531       +7

Flag
Coverage Δ

unittests
34.53% <30.00%> (-0.30%)
:arrow_down:

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

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


supabase-cli: init at 1.15.0

Description of changes
Adds the Supabase CLI, nice tool for local development with supabase projects.
Supersedes https://github.com/NixOS/nixpkgs/pull/179624
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@NixOS/ofborg build supabase-cli

@ofborg build supabase-cli

@ofborg build supabase-cli

@ofborg build supabase-cli


[VSCode] Add option to hide unfocused elements' styling properties

I believe it'll help reading markups with a bunch of styling properties.
I'm imagining something like vscode-iconify's inline icon feature, but without the icon. (displaying something like UnoCSS logo or the number of collapsed proferties also sounds good)

Sorry I didn't get your question, can you explain more?

Many people are struggling with reading markups with a bunch of styling properties, especially when they're not trying to touch the styles. The idea comes from there: would it be helpful to hide those styling properties when we're not editing styles? So I'd like to have an option for hiding styling properties.
I have these ways in my mind to expose the feature:

Provide users a VSCode command to hide/reveal styling properties (Then users will be able to bind hotkeys for it)
Add an option to collapse styling properties by default. Show full list of styling properties when cursor located (something like vscode-iconify is doing for the inline icon feature - showing the icon only by default and revealing the whole icon name when cursor located)

I expect to have some tricky points when implementing the feature:

How would we group the styling properties? (I guess checking for whitespaces/tabs/linebreaks would be enough, but adding a regex option to handle edge cases would be also a viable option)
Should we hide all the styling properties, even the ones inside normal source code, like we're currently underlining those? If not, how would we detect those to prevent hiding random strings inside any kind of normal source code? (I have no experience in VSCode extension development, so I have no idea whether VSCode has APIs to let extensions access to something like LSP semantic analysis information)

It'd be very appreciated if you could work on the feature, but I'm also interested in implementing it by myself, although I'm not sure I can do that (since I have no experience in VSCode extension development, as mentioned)

I think my extension can do that
by the way there's no such API for inline folding I'm just using decorators, so expect some limitations at the moment although I guess it already has the features you mentioned.

@moalamri that looks cool! Although I see some points that can be improved with UnoCSS-specific integration, that extension seems mostly enough for classic class-based atomic CSS frameworks.
One of the problems I see is that I mainly use Attributify mode and that requires either using a unique prefix for attributes or integrating the UnoCSS engine. Since that's very UnoCSS-specific, I guess it should be implemented by the UnoCSS VSCode extension.
Other features I suggested - like semantic analysis to prevent hiding strings in source code - is also missing, although I guess the feature itself will be somewhat tricky to implement.

I see. I personally not a fan of this feature, but I am open to contributing if someone needs it. As a reference, windi's extension does offer such feature: https://github.com/windicss/windicss-intellisense


Log changes made to the security configuration

Whenever the searchguard index is updated log the changes. Can be done by registering a ConfigChangeListener which does this.

I think this belongs more to the audit log module. While I second the feature request, I propose to move it over to the audit log module and schedule it for SG6.

this will be part of the upcoming compliance edition
https://floragunn.com/elasticsearch-compliance-preview/


Update README.md

Changed Code Climate Badge from PNG to SVG and Changed Code Blocks to use bash syntax highlighting

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@tcyrus

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.


Fix porch release images builds

The path changed in Dockerfiles and the location, so that has to be reflected in Prow's configuration

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind bug

/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Which issue(s) this PR fixes:

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

/lgtm
/approve

/approve


docs: export/import commands

:tada: This PR is included in version 2.0.0-beta.12 :tada:
The release is available on:

GitHub release
npm package (@beta dist-tag)

Your semantic-release bot :package::rocket:


Example for how to use Coordinator with TabBar

Hey there,
I have enjoyed using this project in my app. Today, I encountered the situation of using this project with an app of mine that uses a UITabBarController. After some experimenting, I came up with a solution.
I wanted to leave a link here for reference if anyone encounters the same issue. Since there are many ways to implement the Coordinator design pattern, I felt the need to share how I implemented a TabBar with this Coordinator project specifically.
Link to the project
Some ideas that I had for how to help others with this same issue:

Close this issue as a reference someone can find later
Link to the project in the readme of this project
Include an example of using a TabBar in this project's code base

Thanks!

Hey @levibostian,
Sorry again for the late response, but thanks for posting! Always appreciate a contribution to the community.
Just a thought on this -- an alternative to your approach could also be something like this:
final class AppCoordinator: PresentationCoordinator {

    var childCoordinators: [Coordinator] = []
    var rootViewController = AppRootViewController()

    private let boringCoordinator = BoringCoordinator()
    private let stackingCoordinator = StackingCoordinator()

    init(window: UIWindow) {
        window.rootViewController = rootViewController
        window.makeKeyAndVisible()
    }

    func start() {
        [boringCoordinator, stackingCoordinator].forEach {
            addChildCoordinator($0)
            $0.start()
        }

        let viewControllers = [boringCoordinator.rootViewController, stackingCoordinator.rootViewController]
        rootViewController.setViewControllers(viewControllers, animated: false)
    }

}

At least in my own projects, I like to ensure coordinators keep reference to view controllers, but never the other way around :)
Anyhow, I'm going to close out this issue but happy to reopen if you or anyone would like to continue talking about approaches to UITabBarControllers and coordinators. Thanks again for contributing 👍


python312Packages.types-pillow: <IP_ADDRESS>40106 -> <IP_ADDRESS>40206

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.types-pillow is: Typing stubs for Pillow
meta.homepage for python312Packages.types-pillow is: https://github.com/python/typeshed
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found <IP_ADDRESS>40206 with grep in /nix/store/f28dqmi2r9irk6gg2y1lkm7qgivvmxwl-python3.12-types-pillow-<IP_ADDRESS>40206
found <IP_ADDRESS>40206 in filename of file in /nix/store/f28dqmi2r9irk6gg2y1lkm7qgivvmxwl-python3.12-types-pillow-<IP_ADDRESS>40206

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
python311Packages.layoutparser
python311Packages.pdfplumber
python311Packages.types-pillow
python312Packages.types-pillow

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f28dqmi2r9irk6gg2y1lkm7qgivvmxwl-python3.12-types-pillow-<IP_ADDRESS>40206 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.types-pillow https://github.com/r-ryantm/nixpkgs/archive/47c4149589821a7e7b4f591084b2f6bc2b8fb5d3.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/47c4149589821a7e7b4f591084b2f6bc2b8fb5d3#python312Packages.types-pillow

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f28dqmi2r9irk6gg2y1lkm7qgivvmxwl-python3.12-types-pillow-<IP_ADDRESS>40206
ls -la /nix/store/f28dqmi2r9irk6gg2y1lkm7qgivvmxwl-python3.12-types-pillow-<IP_ADDRESS>40206/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

python311Packages.layoutparser
python311Packages.pdfplumber

2 packages built:

python311Packages.types-pillow
python312Packages.types-pillow

Maintainer pings
cc @arjan-s for testing.

Result of nixpkgs-review pr 286667 run on x86_64-linux 1

8 packages built:

python311Packages.layoutparser
python311Packages.layoutparser.dist
python311Packages.pdfplumber
python311Packages.pdfplumber.dist
python311Packages.types-pillow
python311Packages.types-pillow.dist
python312Packages.types-pillow
python312Packages.types-pillow.dist


Video in Android - 'Pause' jumps the video back (sometimes several minutes)...

In Android (only) when the 'pause' button is clicked, the video skips back -- sometimes several minutes.
This is frustrating when you are watching a video and it loses your place every time you pause.
Is there any workaround or fix for this?  Or has anyone else seen this?

@jbhorsewriter7 Closing old issues. If you'd like to reopen this, let us know. Thanks!


Fix IOU members page shows empty page

Details

The IOU members page shows no user because they are 'hidden'. This PR fixes it by showing all users even if they are 'hidden'.
Fixed Issues

$ https://github.com/Expensify/App/issues/44040
PROPOSAL: https://github.com/Expensify/App/issues/44040#issuecomment-2179881186
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Open a DM chat
Request money in the chat
Press the display name header of the money request preview
Verify the IOU members are shown at the Members page

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/325afa4c-e022-4a22-868a-11a1c5496cb3

Android: mWeb Chrome

https://github.com/user-attachments/assets/ba456251-e90e-4d0d-970d-c5084cc7aa46

iOS: Native

https://github.com/user-attachments/assets/21d84c5f-efb9-4011-b6df-978717efeedd

iOS: mWeb Safari

https://github.com/user-attachments/assets/e5534645-4fe8-4b5d-910c-10d26bc535d3

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/a3bb3f04-6454-41f0-b8b1-2ee5b2ef6a6e

MacOS: Desktop

https://github.com/user-attachments/assets/6d528522-b6a2-4d88-8c4a-cab1d15a7dad

@allgandalf Done

🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.0.7-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 9.0.7-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


fix bug: cast decimal256 to other decimal with no-safe

Which issue does this PR close?

it's just minor fix
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

I think we can probably simplify this method to make use of type generics, now that they are both primitives, I will add it to my list


HttpHeaders.GetValues(String, Array of [Text]) is missing the var keyword in front of the second argument

The method HttpHeaders.GetValues(String, Array of [Text]) is missing the var keyword in front of the second argument in the documentation.

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

ID: 3493020e-c73c-e651-7358-bdd348695276
Version Independent ID: 09c9dce8-5eb9-2977-e9aa-c4cca270d8bb
Content: HttpHeaders Data Type - Business Central
Content Source: dev-itpro/developer/methods-auto/httpheaders/httpheaders-data-type.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hello, thanks for your feedback. This content is auto-generated from the code base, so regarding the syntax it is reflecting the code base and cannot be fixed. Thanks.

Hi @SusanneWindfeldPedersen,
are you able to elaborate on how you are auto generating the documentation? It would be really helpful for our own code base.

Hi, I can definitely understand it would be helpful, but these tools are - at least for now - only internally available. Thanks.


Add interactive netlist plotting

Implemented with pyvis on top of networkx
Closes #198

You can do stuff like this

Amazing,
thank you Niko!


Update license years

Additional Notes
Script (Python 3 only)
import os
import re

CORE_DIR = r'C:\Users\ofek\Desktop\code\integrations-core'
BLACKLISTED_DIRS = ('.git', '.tox')
LICENSE_INDICATOR = re.compile(br'# \(C\) Datadog, Inc\. (.+)$', re.IGNORECASE | re.MULTILINE)

def main():
    for root, dirs, files in os.walk(CORE_DIR):
        dirs[:] = [d for d in dirs if d not in BLACKLISTED_DIRS]

        for f in files:
            if not f.endswith('.py'):
                continue

            file_path = os.path.join(root, f)
            with open(file_path, 'rb') as fd:
                file_contents = fd.read()

            match = LICENSE_INDICATOR.search(file_contents)
            if not match:
                continue

            full_match = match.group(0)
            year_match = match.group(1)
            first_year = year_match.split(b'-')[0]
            replacement = full_match.replace(year_match, b'%s-present' % first_year)
            file_contents = file_contents.replace(full_match, replacement)

            with open(file_path, 'wb') as fd:
                fd.write(file_contents)

if __name__ == '__main__':
    main()

GitHub was having issues, this is merged https://github.com/DataDog/integrations-core/commit/018422d84b0adca92b427b17cf731f546bf63892


Edit prefixes

Codecov Report
Base: 52.82% // Head: 52.62% // Decreases project coverage by -0.20% :warning:

Coverage data is based on head (7bb5346) compared to base (d97fc12).
Patch coverage: 52.77% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #128      +/-   ##
============================================
- Coverage     52.82%   52.62%   -0.21%
  Complexity      708      708
============================================
  Files           159      159
  Lines          3182     3202      +20
  Branches        388      394       +6
============================================
+ Hits           1681     1685       +4
- Misses         1356     1370      +14
- Partials        145      147       +2

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

.../commands/consultation/AddConsultationCommand.java
85.71% <ø> (ø)

...commands/consultation/EditConsultationCommand.java
0.00% <ø> (ø)

...ss/logic/commands/reminder/AddReminderCommand.java
100.00% <ø> (ø)

...s/logic/commands/reminder/EditReminderCommand.java
0.00% <ø> (ø)

...ss/logic/commands/tutorial/AddTutorialCommand.java
85.71% <ø> (ø)

...s/logic/commands/tutorial/EditTutorialCommand.java
0.00% <ø> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
54.83% <0.00%> (+1.71%)
:arrow_up:

...er/consultation/EditConsultationCommandParser.java
0.00% <0.00%> (ø)

...gic/parser/reminder/EditReminderCommandParser.java
0.00% <0.00%> (ø)

... and 9 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Long initial loading times on Android

Hi there,
I am experiencing long loading times of the tutorial apps on Android. Reading and trying out different posts on SO and github did not really solve the problem.
Specifically when I just take the meteor create test app and deploy it, it loads in about 2 seconds, adding just the necessary meteor- and npm-packages for angular-meteor from the socially tutorial (angular 1.5) will yield a loading time of 8-12 seconds on Android 5.
Also the meteor-angular2.0-socially app takes 8 seconds without the launch-screenpackage that lengthens the loading time.
On an iPhone it seems to be more user friendly, only 4-7 seconds.
Also this probably leads to the deviceready has not fired after 5 seconds. log-output.
Is it because the packages (angular and angular-meteor npm and pbastowski:angular-babel and urigo:static-templates) need longer loading time or some initialization delay?
Can anyone help me with this issue?
Also other sources (e.g. https://forums.meteor.com/t/meteor-cordova-startup-time/6266/3 or https://forums.meteor.com/t/ridiculously-slow-startup-time-on-meteor-ios-cordova-application-localmarket/22718) could not help.
I posted here since the loading times slowed down when I added angular.

Any words on this one? We have the same problem. Our angular2+meteor prokect load time on android os around 15s! It is impossible to use it.

There should be lazy loading and asynchronous Imports now in meteor 1.5 but
we switched to react native actually.
Eg oclazyload etc
Miloš Micić<EMAIL_ADDRESS>schrieb am Sa. 6. Mai 2017 um 14:22:

Any words on this one? We have the same problem. Our angular2+meteor
prokect load time on android os around 15s! It is impossible to use it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Urigo/angular-meteor/issues/1559#issuecomment-299636328,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwdRyIEjaCW7k_ZcUqs78utX7L1iAwQks5r3GYPgaJpZM4L5KFq
.

no solution ?? same boat

Check out the new examples for using lazy loading the dynamic imports here -
https://github.com/Urigo/angular-meteor/tree/master/examples/MeteorCLI
https://github.com/Urigo/angular-meteor/tree/master/examples
we've also published new angular-compilers  package.
It supports:

Typescript compilation
Assets compilation (HTML, styles)
Angular's AoT compilation
Rollup's bundling with Tree Shaking

Please open a new issue if you encountered one.


Install

Add guide to install drivers to show the COM port
Add guide to see Port (COM) if not shown in device manager
Fix the idf.py flash part ( only mentioning the ports and not baud rate) as it was giving error on some devices

lgtm, cc - @gautam-dev-maker


Checkout COGDumper

👋 @geospatial-jeff
The subject looks interesting 😄
Not sure what's your idea but if we want to go full async maybe we can use some of the code from https://github.com/mapbox/COGDumper to go GDAL Free ...
COGDumper is not smart and doesn't do any spatial stuff but if we add pyproj we might be able to do;

get geospatial info from the COG
fetch only the internal tile (and overview tiles) for a specific .read request.

GDAL Free ...

This is basically the idea.  Don't want to over engineer too much to start off since GDAL does a lot of nice things, but I'm definitely interesting in seeing if it's any faster to make all of the network requests to access a COG tile async.

COGDumper is not smart and doesn't do any spatial stuff

I wasn't aware of COGDumper.  We can definitely reuse a lot of that code,  thanks for pointing it out!

but if we add pyproj we might be able to do;

get geospatial info from the COG
fetch only the internal tile (and overview tiles) for a specific .read request.

I was thinking about something similar to a rasterio windows.
I'm going to break this up into multiple issues.

Closing in favor of #2 #3


Tab name appends the currently executing batch file, and when terminated, it remains as part of the name

Environment
Windows build number: 18362.175
Windows Terminal version: 0.2.1703.0

Steps to reproduce

Run a batch file in a cmd shell.
While it is running use ctrl+c to break and then terminate the batch job.
Repeat to continue growing the tab name.

Expected behavior
The tab text will return to just the shell executable name, like C:\WINDOWS\system32\cmd.exe
Actual behavior
The name appends the name of the batch file it is running, but when you terminate and break that process, it doesn't remove the name of the batch file. This causes it to keep appending with each execution.

Does this happen when you do the same thing in traditional conhost?

It does... Should I log a bug against that through Feedback Hub?

I think there’s one in the CMD backlog for that. I’ll warn you, though, that CMD is probably not going to be changed unless you’ve managed to find something of significant, stop-the-world business impact.

Understandable.


fix: typo in event_parameter

While writing the textobject queries for helix editor, I noticed a spelling mistake in event parameters.

I merge main, but the CI needs approval to run

Hey @JoranHonig , any chance we could merge my two PRs soon? I would love to submit a PR to helix taking benefit from these changes.

Already in helix master :) https://github.com/helix-editor/helix/pull/10318


Kosovo is not included in the Country List

https://en.wikipedia.org/wiki/Kosovo
It is partially recognized, can it be added? It has a ISO 3166 code of XK

Ahh need to be added to the counties gem, will follow up there. Thanks.


make import defaults affect the import settings in Sprite2D props

Currently if I select "only visible layers" in the aseprite importer default settings, it'll still be disabled in this menu:

It'd be nice if there was a way to configure the default settings of the options there. Or maybe there is one and I've missed it?

Yeah, I don't think there is a default option for that. That was deliberate as I wouldn't recommend relying too much on that option. But each person has a different pipeline, so I guess there is no harm on adding the default settings. It's a straight forward change. I'll add it to the next release. Thanks.

Included in the latest release (7.2.0 Godot 4, 6.3.0 Godot 3). Already available in the branch and release page. It takes a few days for it to be available in Godot's asset lib. Cheers.


ntb_badged cause of space on layout

when i use ntb_badged on xml layout, that cause of set free space on top of tabs, how can i fix that?

You cant change this. NTB set space for badges.


Async support for helpers that are merged from opensearch-dsl-py

Description
Async support for helpers that are merged from opensearch-dsl-py
Issues Resolved
Closes #320
Closes #194
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@saimedhi can you resolve conflicts?


Partitioned jobs tracking: limit/throttle upstream requests

When tracking partitioned jobs, a large number of status/poll requests go to the upstream back-ends.
It might be necessary to limit or throttle this a bit

let's first start with logging how many requests are actually happening


A strange shadow forms

Operating system or device - Godot version:
Godot 2.1
Steps to reproduce:
Add a light above the cube, activate the shadow.
Link to minimal example project (optional but very welcome):

Would be likely fixed with the new gles-3 shadowmapper and renderer

Is caused by dual paraboloid shadow mapping.

"GODOT'S NEW RENDERER, PROGRESS REPORT 2" mentioned about it.
https://godotengine.org/article/godots-new-renderer-progress-report-2

Cubemap shadow mapping is available in the new renderer (which will be in Godot 3.0), but it isn't the default option right now.


Fix #4748: Optimize JS methods

TODO (before or after this PR): Give JSPropertyDefs a hash.

Diff on the test suite: https://gist.github.com/gzm0/e208b870c4342c9d7795ba15f1d7e786

Note to self: JS ctors are optimized but the optimized version is not used.

The CI failures are because the thisType calculated is wrong: For JS classes, it uses ClassType(...) instead of AnyType.
This was not a problem before, because JS classes have no other instance methods.

Version that appears to be working.
Diff on the test suite: https://gist.github.com/gzm0/5bf6365459c3b09cca02d235bd9063fa
most notable (IMO): It seems we're able to fully remove unused outer pointer fields from JS classes.

The diff sure looks nice! :)

updated: don't use auto-application (in IncOptimizer)

Rebased

I believe I have addressed all the comments.


esp_wifi_get_tsf_time takes between 0 and 120 us  to return (IDFGH-5515)

Environment

Development Kit:      ESP32-DevKitC ( Azdelivery Amazon board )
Kit version
Module or chip used:  ESP32-WROOM-32
IDF version 4.3
Build System:         |idf.py
Compiler version xtensa-esp32-elf-gcc.exe (crosstool-NG esp-2020r3) 8.4.0
Operating System:     Windows10 PowerShell
Using an IDE?: VS code
Power Supply:   USB

Problem Description
ESP32 in station mode without traffic or heavy computation on any of the cores.
When using esp_wifi_get_tsf_time to get a timestamp, the function takes between 0 and 120 microseconds to return, making the timestamp useless for anything that needs < 100 microsecond accuracy.
While I would love the function to return quickly, having a more constant return time would probably be just as beneficial.
Expected Behavior
Have esp_wifi_get_tsf_time return in the same number of microseconds each time.
Actual Behavior
timer_set_counter_value returns in about 60us with big variance from 0 to 120us, some outliers in the 400us range.
Steps to reproduce

run this code multiple times
    int64_t tsf0 = esp_wifi_get_tsf_time(WIFI_IF_STA);      int64_t tsf1 = esp_wifi_get_tsf_time(WIFI_IF_STA);  printf("%lld;%lld:%lld\n", tsf0, tsf1, tsf1-tsf0);

take a look at the monitor
178652272007;178652272117:110<PHONE_NUMBER>02;178652372108:106<PHONE_NUMBER>02;178652472112:110<PHONE_NUMBER>21;178652572131:110<PHONE_NUMBER>34;178652672024:90<PHONE_NUMBER>52;178652772065:113<PHONE_NUMBER>81;178652872087:106<PHONE_NUMBER>41;178652972050:109<PHONE_NUMBER>92;178653072098:106

run this code multiple times
    GPIO.out_w1ts = GPIO_OUTPUT_0_INT;  int64_t tsf0 = esp_wifi_get_tsf_time(WIFI_IF_STA);      GPIO.out_w1tc = GPIO_OUTPUT_0_INT;

see this on your scope

Code to reproduce this issue
https://gist.github.com/leragequit/2c398e91d13649e1d106a8f46429116e
sorry for the mess, didn't have the time to clean it all up

hi @leragequit
Because we use the task scheduling mechanism internally, there will be inconsistent delays in function calls. But the time obtained by esp_wifi_get_tsf_time is accurate according to you want to synchronized.

@mhdong @leragequit I think the time is not correctly provided.
AP have a TBTT time to send beacon which is times beacon interval, for instance TBTTn=n*102400, n = 0,1,2,3,...
However, AP can't send the beacon in time, for instance sent at TSF, which is TSF.
Station receive the beacon at local time T0, which is record by the hardware.
If you can get TSF,T0, and your now the current time, then you can sync time among the stations connected to the same AP.

TBTT=TSF - TSF%Beaon_interval
T1 - T0 + TSF%Beaon_interval means time since AP TBTT
If you want to make TBTT corresponding to T2, then current time should be T2+T1-T0+TSF%Beaon_interval
then the delta is  T2-T0+TSF%Beaon_interval, you need increase your local time by T2-T0+TSF%Beaon_interval
all devices connect to the same AP should have same time

hi @leragequit
How did you achieve the wireless timing sync finally? Did you get the exact tsf?

Bumping this issue. I also want to use the TSF time to get synchronization across different devices.
Also, from this post https://esp32.com/viewtopic.php?t=21119 it seems that esp_mesh_get_tsf_time is faster. Are they consistent?

@sherinds @linhz0hz sorry for the long silence. I did my initial investigation, did a proof of concept that worked great. for the real application the long delay and jitter will be an issue and I will invest some time the moment the project becomes hot again. I will report back maybe end of 2023.

Hi @leragequit, could you please share the latest status of this issue? Thanks.

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates.
Thanks for using our Espressif product!

@sherinds @linhz0hz sorry for the long silence. I did my initial investigation, did a proof of concept that worked great. for the real application the long delay and jitter will be an issue and I will invest some time the moment the project becomes hot again. I will report back maybe end of 2023.

Hello. Is there any news on this topic? Did you manage to get a ready-made mechanism for synchronizing time between several devices? Please share an example


Enable logging of HTTP request lines by default

Adds a RequestLogging middleware for http4s and enables it by default to log HTTP request lines.
#sdbe-325 Done

@wemrysi Can you show me a sample log line output by this?

@edmundnoble Sure
without headers
GET /foo/bar/baz?param=value&param=value HTTP/1.1

with headers
GET /foo/bar/baz?param=value&param=value HTTP/1.1 | Accept: */* | Host: localhost:8080

Nice.


cide: remove

Motivation for this change
I am not longer maintaining this project and there are much better tools that exist now in the docker ecosystem. Look at buildah for example
Things done

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

[ ] 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 nix-review --run "nix-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)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@nicknovitski are you still using this project?


Responsiveness of about page for tablet version

Steps to recreate the issue :

Go to about page.
Reduce the screen size less than 1024px .

I would like to work on this issue.

Hey @im-vedant, assigned!


Analyzer is analyzing packages in ".gitignored" packages

When working in the Flutter repository, I have some packages in the //bin/cache/pkg that are generating hundreds of analyzer warnings.  These packages are gitignored and ideally won't log errors.
/cc @devoncarew

Example error:
The library '"dart:_internal"' is internal and cannot be importedbin/cache/pkg/sky_engine/dart_sdk/async/async.dart, line 95

I shouldn't be finding them. Is this when you're opening atom at the top level of the flutter repo? I'll try and repro.

(can repro)


fixed typos in README.md

Signed-off-by: Cary Phillips<EMAIL_ADDRESS>

Crazy idea: Somebody should write an extension to clang-format that spell checks all the prose text (comments, .md, and .rst files), and also understands the source well enough to not flag as misspelling any class or symbol names from the source that are mentioned in the prose. Then we could turn spelling into a CI check.
(On my mind because on OIIO I just had somebody send a patch that corrected a couple embarrassing spelling errors on my part that had propagated very widely by being in a comment block that got cut and pasted very extensively.)


[entry update] Impossible to set a value to None

Due to #113, setting the value of an entry to none isn't possible. This is an issue for installations for instance where the end_ts can be pushed back.

So after thinking about it long, here are my thoughts:
The situation

when creating an entry, there are some default fields. If the payload doesn't include them, the defaults are taken
when updating an entry, we wanted to be able to update only some fields. Since the update payload needs to be the same for a single route, we said we'd update only fields that aren't none. The problem is that this means we cannot possibly update a field value to "None", and this is critical

The proposition

while it is less handy to have to specify the full payload, I'd argue we need to specify everything for an update
the schema should be modified to make all fields mandatory, otherwise the default value from entry creation will be used.

I'll implement this last idea shortly :+1:


⚠ SceneTime has degraded performance

In c3a8d9a, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2610 ms

Resolved: SceneTime performance has improved in e80d930 after 8 minutes.


Add forward method

Expose a forward method to make replication with LookupN possible.

yep lgtm. in general though, we should be careful to expose the best (programmatic) API that we can. I'm not sure there's a better place to expose forward() right now though.


Update index.md

[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.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Also, please use PR titles which explain what you are changing. If it is a translation, please also indicate translation: language name.  This let's the reviewer quickly know what kind of contribution you have made.
Thank you

LGTM
Close/Reopen to clear Travis Error


[Package Request]: Code.Org Maker App

Package Requested

[X] I would like someone else to build the manifest.
[X] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not a script file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: code.org
Publisher Url: code.org
Package Name: Code.org Maker App
Description: Browser specifically designed for Code.Org that allows you to connect physical stuff
Package Version: 1.1.9
Installer URL: https://downloads.code.org/maker/Code.org Maker App-1.1.9-win.msi (silent installer)
Current Package Identifier (for new versions):
N/A

I'm not sure this would be a good fit for winget - since the package is going to be deprecated in a few months anyways
https://support.code.org/hc/en-us/articles/11304760762125-Deprecating-the-Maker-App-and-Chrome-Serial-Extension

did it!


fix(Dockerfile): setup gnupg correctly for nobody

Thanks for submitting a PR! Please check the boxes below:

[ ] I have run pre-commit to check linting
[ ] I have added information to docs/ if required so people know about the feature!
[ ] I have filled in the "Changes" section below?
[ ] I have filled in the "How did you test this code" section below?
[ ] I have used a Conventional Commit title for this Pull Request

Changes

Make nobody owner of .gnupg
pass gnupghome to GPG

How did you test this code?

By deploying in staging and verifying that the data in influx is available

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

Comparison is base (9c475e4) 96.11% compared to head (ca6146e) 96.11%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3167   +/-   ##
=======================================
  Coverage   96.11%   96.11%
=======================================
  Files        1058     1058
  Lines       31918    31919    +1
=======================================
+ Hits        30677    30678    +1
  Misses       1241     1241

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


meteor dependency

I was reading up on this project, and it looks great but I was wondering what your plans are to move off meteor?
I used to use it myself a lot but since MDG have divested the project, it seems dead. that would limit others from putting in work to this project I think...

We're progressively moving to a std graphql stack, but Meteor was acquired recently and development has restart

ok thanks for the info. I guess it doesn't matter so much for the authoring tool (and meteor was revolutionary in it's time).


Refactoring

Add comment code present twice

done by @oharrison72  (thx btw)

Btw @oharrison72 this can't work for several reasons

The jquery selector is still on the button and not on the field
If you just change the selector then every key creates a new task

I'll tell you tomorrow how I fixed it ;)

Refactoring strategy

[ ] 1. Write the function independently
[ ] 2. Call it for enter key if hit within the field
[ ] 3. Call it for click on the plus button


Vision feature

https://platform.openai.com/docs/guides/vision
To groom

As I figured out recently in an alike project picture handling feature is required an external file hosting with both https and direct links support.
So yet I dunno how to make it client side at all, nothing to say about how to make it with low effort.

Got looked twice and found that it's actually handles the server less way to pass images there (by base64 encoding them) https://platform.openai.com/docs/guides/vision/uploading-base-64-encoded-images
So now this is quite straightforward, while not the highest priority.

Implemented for particular models


iCloud feeds auto-refreshing despite refresh feeds 'Manually only' setting on macOS

Hello all! I've noticed a possible bug where my iCloud feed auto-refreshes despite my Refresh Feeds being set to "Manually only".
macOS: 13.3.1
App version: 6.1.2 (6114)
I have two feeds in my setup: On My Mac and iCloud. The only one that seems to be ignoring the manual refresh setting is iCloud. The On My Mac feed seems to obey the setting.
Historically, I've had Feedly feeds and didn't experience this issue then either. I've only recently started using iCloud feeds recently and noticed this issue right away.

Some additional context: Background App Refresh for NetNewsWire was enabled on my iPhone. Once disabled on my iPhone, the feeds stopped auto-updating on my Mac as well.
Once I open the app on my iPhone, it auto-refreshes, and the app on my Mac immediately reflects the updated unread count. Still, feeds are set to manually update only on my Mac despite this behaviour.


Visual regression tests 👁🗨

Following #13, we concluded it's worth adding visual regression test to this library as well as testing behavior in an actual browser so that we can refactor and update features with an extra level of confidence.
Cypress seems a good candidate for tooling, we already use it extensively in some products at Zopa and we're quite happy with its features and developer experience.
Any other suggestions welcome ❤

Also, investigate if we could use https://github.com/styleguidist/snapguidist for this


Installation

Thanks a lot for the package, I know I will appreciate it.
But for the time being, It is not clear to me how should I install your fork since I already have the Babel package installed on my ST3.
Should I uninstall it completely and reinstall? Is merged to the official Babel package?
I tried just downloading your repo from the main webpage and swapping your files in the Babel package. Didn't work, nothing happened.
Any tips are welcome!

Yeah, currently the master branch on this got rolled back to the original babel-sublime package. To get the styled-components changes, download from here instead. Hopefully the update for the official babel-sublime package will get released soon, so you can start using that.

Does this work? I can't get it installed...

It's been merged into the official babel-sublime repo since february, can you please open an issue there and request a new version to be officially released? Otherwise you can install that repo from the source, this repo is deprecated


Manual-merge check will close and mark merged PRs that are reset to master

Gitea Version: 1.11.0+dev-497-gc0f879546 c0f879546
If a PR's branch is reset to the content of the base repo's master, the PR will be closed and marked as merged by the manual-merge detection routine. This at least seems to be what's happened to https://gitea.com/gitea/go-sdk/pulls/203 (which incidentally was created from a master branch).

code ref

I guess if we just change these two lines to be Closed instead:
https://github.com/go-gitea/gitea/blob/b983ff447387d40700ad8c0a56f90052878fec98/services/pull/check.go#L156-L158

https://github.com/go-gitea/gitea/blob/b983ff447387d40700ad8c0a56f90052878fec98/services/pull/check.go#L142-L146
and these too.

But is it correct to close the PR? It can't be merged anymore, but the PR itself could receive further commits that change that.

It should be marked as merged but not closed if it's correct. But that's not the issue.
In fact the detection if it has been merged is not right I think.

It's actually quite difficult - by the time ManualMerge is called we've lost the previous SHA.
In Pushtobaserepo we have both and can do the check but there's no state we can choose which says don't mark as merged

So maybe we should disable that currently to avoid making confuse.

Fixed by #12543


Add Tinkerbell RTOS image env var to quick E2E tests

Fix missing env var error in quick E2E tests by adding Tinkerbell RTOS image env var.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


Hello world example for channels is broken

The example as provided on docs.rs does not actually work:
use crossbeam_channel::unbounded; // BUG - this use will not work!

// Create a channel of unbounded capacity.
let (s, r) = unbounded();

// Send a message into the channel.
s.send("Hello, world!").unwrap();

// Receive the message from the channel.
assert_eq!(r.recv(), Ok("Hello, world!"));

Not that it is a major issue, but may take a while for someone to figure out they are not going insane and the correct use is
use crossbeam::channel::unbounded;

Not a major issue but given that this is literally the "Hello World" example it may not project the best image to a new user=)

Duplicate of https://github.com/crossbeam-rs/crossbeam/issues/529.


Profile for Khmer

I've created a profile for Khmer: http://danielnaber.de/tmp/km.zip. Here's what I did:

exported 72,000 sentences (14MB) from Wikipedia dump
remove sentences with traditional ASCII chars: egrep -v "[a-zA-Z]+" => 37,000 sentences, 9MB
created the profile with a minimum frequency of 20

ZIP file updated to contain training data, minimum frequency increased to 50 to make the profile smaller.

ZIP file updated to contain training data, minimum frequency increased to 50 to make the profile smaller.

Thanks!


support run specified unit test (#488)

What type of PR is this?
enhancement

What this PR does / why we need it:
support run specified unit test (#488)
Example:
make test TEST_TARGET=TestServer_getLoggerLevel

Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/lgtm
/approve


Risk using async trigger behind a sync SaveChanges() call?

Hey! We've still got plenty of sync SaveChanges() calls in our codebase that we're slowly getting rid of but it did make me wonder whether there's a risk to writing an async trigger behind a sync call.
Before we dive in fully we might need to eliminate all our legacy sync SaveChanges() calls.

cc: @anthonykeller

Thanks @koenbeuk , good to know. I think I might make a concerted effort to async all our things to be sure.
It might be worth linking this issue from a disclaimer on the readme/docs if you think it warrants it.

@benmccallum I'm open for that. Would you mind issuing a PR?


Forward all events with use:forwardEvents from SMUI

In #229 it was mentioned that all events couldn't be forwarded with on:* because the svelte team will take a long time to merge the prs implementing the functionality. In one of the prs, it was mentioned that in SMUI, the problem was solved with a use action. It seems to still work with events from DOM elements.
Would you accept a PR which adds that action to components like Button?

i second this pr

pr based


[REG2.066] Issue 13415 - '-inline' causes wrong enclosing scope pointer for nested function called from templated struct

https://issues.dlang.org/show_bug.cgi?id=13415

This pull request introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=14588

Any update?


Add more stubs for Meteor CollectionHooks cols

CollectionHooks builds Collections with a hijacked constructor.
They "take over" most collection methods,
but StubCollections will stub them... no problem (before this commit).
Though Collectionhooks would make a direct object and allow access to
the "pre-hooked" (normal) methods for the Collection.
Until this commit, that meant that all "Stubbed" collections
worked as a "stub" for normal methods like MyCol.update(),
but would use their "non-stubbed/real" methods when used like
MyCol.direct.update()
Now we are "stubbing" both set's of methods.
TODO: It would be really nice if we could make Collectionhooks still run
it's functionality on the stubbed collection :/ -- I have not been able
to figure out how to accomplish this yet.
re #11 (again)

Any feedback on this?

Wow, sorry for the large delay on this @zeroasterisk - I'll definitely get this reviewed shortly. Thanks!

Thanks for submitting this @zeroasterisk - this all makes sense, and looks good. I'm prepping a new release for tomorrow, and will get this merged in shortly. Thanks again!


README confusion... also, "/d/e"?

README glosses over an important option. When publishing, you are given the ability to publish as webpage, csv, tsv, etc. Which should we select?
Based on seeing "/pubhtml" on the end of the example URL, I assumed webpage was the only option as one point and this lib is based on that, so went with that. Should it be updated to handle a newer format, though? Or am I missing something entirely?
Next: I'm only getting a link with "/d/e" in it. Refreshing isn't solving that. It feels pretty crazy to see a comment in the instructions just say "that's bad--just try refreshing", with no explanation of what's going on, or no knowledge that refreshing will help eventually, or ever, or what in the world is going on.
It seems like there are other ways besides that URL that would be less ambiguous, like using an ID copied from the URL itself. I haven't gotten that far yet, but... maybe that'd be a better strategy for the readme demo, to avoid this /d/e weirdness?
I guess my point is, this readme intro isn't given me a strong lead as a new user here.
Thanks for the library, though, I'm glad it exists. Seems like lots of great work.
Cheers.

had looked here, but looking a second time it looks like there are some solutions--using the share (instead of publish) url, and grabbing the id from the viewing url and copying onto a url of a specific format.
I've used the second option--seems to work when putting it into the address bar, so that's promising.
That gets me a successful ping to google, and I see in the network that it's finding the right spreadsheet because the response has the correct author field (the person who shared the document with me), but it's empty--the callback just logs an empty array, unfortunately. :/
will post when I resolve.

next problem was due to inconsistent internet--I had read the bit that you cannot have blank rows. the spreadsheet I had had blank rows beneath the first row. I had tried fixing that by adding 'ignore' to the blank rows in one column, but that save hadn't propogagted to google sheets because of a glitch on the page it seems.
What is interesting is that even that first row didn't show up in that case. Weird.

I'm having the same problem.  I used the sharing link and its just not working.  Anyone else figure this out?

yeah, I did figure it out. Do you still need help?
I ended up using this method:
loadGSheet = () => {
	Tabletop.init({
		key: '1dsdqf0vmAv_389X9anXP7_XN78Xv9EbN3p9yNxU-1kw',
		simpleSheet: true,
		callback: (data, tabletop) => m.redraw(), // console.log("finished loadGSheet", data)
		postProcess: row => rowHandlers[row.type](row),
	});
}

Notice the 'key'? that's just an id taken out of the url. That's all you have to pass in. iirc, I guess the documentation is a little fallen behind.

Thanks for your help, but this didn't work either for some reason.
I'm sorry to be a bother, but is something out of order or do I need to
remove something? Is that why its not running?

// pull data from google spreadsheet
$(document).ready(function() {
var spreadsheet_url = "
https://docs.google.com/spreadsheets/d/1Oe_C2GkBJKnD5lm0TwOtP3oXasjtEnMiqxt2ScH13pc/edit?usp=sharing
"
Tabletop.init({
key: spreadsheet_url,
callback: writeTableWith,
simpleSheet: true,
debug: true
});
})
function writeTableWith (data) {
console.log("Read in", data)
loadGSheet = () => {
Tabletop.init({
key: '1Oe_C2GkBJKnD5lm0TwOtP3oXasjtEnMiqxt2ScH13pc',
simpleSheet: true,
callback: (data, tabletop) => m.redraw(), // console.log("finished
loadGSheet", data)
postProcess: row => rowHandlersrow.type,
});
}
function writeTableWith (data) {
console.log("Read in", data)
}
// create table headers
function createTableColumns(){
/* swap out the properties of mDataProp & sTitle to reflect
the names of columns or keys you want to display.
Remember, tabletop.js strips out spaces from column titles, which
is what happens with the More Info column header */

var tableColumns =   [

{"mDataProp": "citation", "sTitle": "Citation", "sClass": "center"},
{"mDataProp": "generaldescription", "sTitle": "General Description",
"sClass": "center"},
{"mDataProp": "applicability", "sTitle": "Applicability", "sClass":
"center"}
];
return tableColumns;
}
// create the table container and object
function writeTableWith(dataSource){
jqueryNoConflict("#demo").html("
");
var oTable = jqueryNoConflict("#data-table-container").dataTable({
    "sPaginationType": "bootstrap",
    "iDisplayLength": 25,
    "aaData": dataSource,
    "aoColumns": createTableColumns(),
    "fnRowCallback": function(nRow, aData, iDisplayIndex) {
        console.log(aData);
        $("td:eq(2)", nRow).html("Website");
return nRow;
},
"oLanguage": {
"sLengthMenu": "MENU records per page"
}
});
};
//define two custom functions (asc and desc) for string sorting
jQuery.fn.dataTableExt.oSort["string-case-asc"]  = function(x,y) {
return ((x < y) ? -1 : ((x > y) ?  0 : 0));
};
jQuery.fn.dataTableExt.oSort["string-case-desc"] = function(x,y) {
return ((x < y) ?  1 : ((x > y) ? -1 : 0));
};
On Sun, May 20, 2018 at 3:17 PM, Kyle Baker<EMAIL_ADDRESS>wrote:

yeah, I did figure it out. Do you still need help?
I ended up using this method:
loadGSheet = () => {
Tabletop.init({
key: '1dsdqf0vmAv_389X9anXP7_XN78Xv9EbN3p9yNxU-1kw',
simpleSheet: true,
callback: (data, tabletop) => m.redraw(), // console.log("finished loadGSheet", data)
postProcess: row => rowHandlersrow.type,
});
}
Notice the 'key'? that's just an id taken out of the url. That's all you
have to pass in. iirc, I guess the documentation is a little fallen behind.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jsoma/tabletop/issues/157#issuecomment-390504596, or mute
the thread
https://github.com/notifications/unsubscribe-auth/All0JuprjDjKJDHRpxqZh-aBJkHets20ks5t0cEsgaJpZM4Tesf9
.

your 'publicSpreadsheetUrl' looks completely wrong... Not only does it ignore what I said in my last post, it just looks like a broken link altogether.
I think that's because you didn't post it as code, but as text, so github tried to turn it into a link. Please use markdown to indicate it is text.
Did you just paste an old version, or what? Because in my example, I showed how to not use the URL at all and just use the key... To be even more explict, take everything after the /d/ and before the /edit, and just use that for the key...

Can't help you man. Not going to read and work on your code for you... Not sure why you have three init statements, but it's asking too much to expect me to decipher that. You need to provide small, tightly organized code samples if you want help, not just a wall of code.
Also, please use markdown properly to display code in a readable format.

ah, got it.  Sorry, I was in a rush and think I accidentally highlighted
everything and sent it out. But I see the issue now, so thanks!
On Mon, May 21, 2018 at 2:17 PM, Kyle Baker<EMAIL_ADDRESS>wrote:

Can't help you man. Not going to read and work on your code for you... Not
sure why you have three init statements, but it's asking too much to expect
me to decipher that. You need to provide small, tightly organized code
samples if you want help, not just a wall of code.
Also, please use markdown properly to display code in a readable format.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jsoma/tabletop/issues/157#issuecomment-390738041, or mute
the thread
https://github.com/notifications/unsubscribe-auth/All0JjJF3yghi6w219z9kdCdGkNXsFGHks5t0wS3gaJpZM4Tesf9
.

@kylebakerio thanks! You saved my day.


Fix protocol violation error happening due to Const node under append node

Description
Previously, certain driver was running into an protocol violation error when Const node in target list appears under Append node. This was happening because resolve_numeric_typmod_from_exp was not implemented to handle Const node properly for decimal data types. This commit fixes that issue by properly handling decimal data type for Const node under Append node.
Task: BABEL-5086
Signed-off-by: Dipesh Dhameliya<EMAIL_ADDRESS>Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 73.206%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
42886

Relevant Lines:
58583

💛  - Coveralls


Observable of generic

Observable of generic does not work.
type of v is any instead of T
  const o$ = observable<T>();
  let v = o$.get();
  o$.set(0);

type of v is (T[] extends ImmutableObservableBase<infer t>[] ? t[] : T[]) | undefined instead of T[]
  const oa$ = observable<T[]>();
  let va = oa$.get();
  oa$[0].set(0);

https://stackblitz.com/edit/vitejs-vite-4ncwra?file=src%2FApp.tsx

useSelector returns complex type:

Type of Promise with undefined

This is the strange type of value:

Type returned from useSelector includes extra:
(instead of only Notifications in this example)

Type of value extracted from obserable of  Promise with  Not undefined data -  should still include undefined because observable of Promise first extracts undefined before any value resolved:

When type of observable is `string | string[]', set  requires parameter to be a callback


az login fails with "NotImplementedError: APIVersion 2019-06-01 is not available"

This is autogenerated. Please review and update as needed.
Describe the bug
Whenever I try to execute az login the command fails due to error below.
Command Name
az login
Errors:
APIVersion 2019-06-01 is not available
Traceback (most recent call last):
python3.7/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
    raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 659, in _run_job
    six.reraise(*sys.exc_info())
...
azure/cli/core/_profile.py, ln 836, in find_through_interactive_flow
    result = self._find_using_common_tenant(token_entry[_ACCESS_TOKEN], resource)
azure/cli/core/_profile.py, ln 867, in _find_using_common_tenant
    tenants = client.tenants.list()
mgmt/resource/subscriptions/subscription_client.py, ln 122, in tenants
    raise NotImplementedError("APIVersion {} is not available".format(api_version))
NotImplementedError: APIVersion 2019-06-01 is not available

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az login

Expected Behavior
I am logged in
Environment Summary
Linux-5.4.19-100.fc30.x86_64-x86_64-with-fedora-30-Thirty
Python 3.7.6

azure-cli 2.1.0 *

Additional Context

add to S169

It looks like the azure-mgmt-resource package installed is not the latest version.
May I know how Azure CLI is installed? If via pip, could you check the version of azure-mgmt-resource?
> pip list | grep azure-mgmt-resource

azure-mgmt-resource                   8.0.1

Sure:
pip3 list | grep azure-mgmt-resource
azure-mgmt-resource                             8.0.1

That's a little bit weird. Looks like the path in the callstack is truncated: mgmt/resource/subscriptions/subscription_client.py.
The 8.1 SDK does have:
        elif api_version == '2019-06-01':
            from .v2019_06_01.operations import TenantsOperations as OperationClass

I can partially reproduce it by removing these two lines from my local SDK file D:\cli\env38\Lib\site-packages\azure\mgmt\resource\subscriptions\_subscription_client.py:
> az login
You have logged in. Now let us find all the subscriptions to which you have access...
Not able to launch a browser to log you in, falling back to device code...
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code HT8Q8A88U to authenticate.
The command failed with an unexpected error. Here is the traceback:

APIVersion 2019-06-01 is not available
Traceback (most recent call last):
  File "d:\cli\knack\knack\cli.py", line 215, in invoke
    cmd_result = self.invocation.execute(args)
  File "d:\cli\azure-cli\src\azure-cli-core\azure\cli\core\commands\__init__.py", line 625, in execute
    raise ex
  File "d:\cli\azure-cli\src\azure-cli-core\azure\cli\core\commands\__init__.py", line 689, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "d:\cli\azure-cli\src\azure-cli-core\azure\cli\core\commands\__init__.py", line 682, in _run_job
    six.reraise(*sys.exc_info())
  File "D:\cli\env38\lib\site-packages\six.py", line 703, in reraise
    raise value
  File "d:\cli\azure-cli\src\azure-cli-core\azure\cli\core\commands\__init__.py", line 659, in _run_job
    result = cmd_copy(params)
  File "d:\cli\azure-cli\src\azure-cli-core\azure\cli\core\commands\__init__.py", line 324, in __call__
    return self.handler(*args, **kwargs)
  File "d:\cli\azure-cli\src\azure-cli-core\azure\cli\core\__init__.py", line 531, in default_command_handler
    return op(**command_args)
  File "d:\cli\azure-cli\src\azure-cli\azure\cli\command_modules\profile\custom.py", line 142, in login
    subscriptions = profile.find_subscriptions_on_login(
  File "d:\cli\azure-cli\src\azure-cli-core\azure\cli\core\_profile.py", line 202, in find_subscriptions_on_login
    subscriptions = subscription_finder.find_through_interactive_flow(
  File "d:\cli\azure-cli\src\azure-cli-core\azure\cli\core\_profile.py", line 844, in find_through_interactive_flow
    result = self._find_using_common_tenant(token_entry[_ACCESS_TOKEN], resource)
  File "d:\cli\azure-cli\src\azure-cli-core\azure\cli\core\_profile.py", line 877, in _find_using_common_tenant
    tenants = client.tenants.list()
  File "d:\cli\env38\lib\site-packages\azure\mgmt\resource\subscriptions\_subscription_client.py", line 138, in tenants
    raise NotImplementedError("APIVersion {} is not available".format(api_version))
NotImplementedError: APIVersion 2019-06-01 is not available

Could you check this file on the local machine and see it is corrupted somehow? If so, try pip install --force-reinstall azure-mgmt-resource

If you still see this issue after updating, please let us know.


Graph generators

Implement graph generators using well-known models like:

Barabási–Albert
Erdős–Rényi
Watts and Strogatz

Ring graph; Watts and Strogatz are implemented in SNAPSHOT


YOLOv4 TensorRT model detection results are None

Hi, I've been working with your old codebase for YOLOv4 TensorRT model conversion and stuff. I just pulled the codebase for the latest commits and tried to convert YOLOv4 tiny 288 to TensorRT with exact steps described and do inference with it but the model is not detecting anything. After that, I checked outputs of the TensorRT runtime model and the inferred NumPy array turns out to be just zeros.
[array([0., 0., 0., ..., 0., 0., 0.], dtype=float32), array([0., 0., 0., ..., 0., 0., 0.], dtype=float32), array([0., 0., 0., ..., 0., 0., 0.], dtype=float32)]

Is there any fix to it? I've been trying to deploy the YOLOV4-tiny-288 TensorRT model on Jetson Nano 2GB.

Do you see the same problem if you start with a clean copy of the latest tensorrt_demos code?

Have you tested other models, say, yolov3-tiny-288 or yolov4-288?  Are you seeing the same problem too?

Hi, sorry for the late reply.

To be extra sure, I cloned a new repository in a different directory and followed the steps as described in the YOLOv4 and YOLOv3 section but it is still the same. No detected results or whatsoever.
I tried for all of YOLOv3 and YOLOv4 variants but the result is still the same.

What platform/GPU are you using?  Jetson or x86_64?
Which version of TensorRT?

Hi,

I am running on Nvidia GTX 1070. But I haven't tested it yet on Jetson Nano so I will try it soon. I tried on another machine with Nvidia GTX 2070 but it works on that machine so I am not sure about what is the error here.
TensorRT 7.1 (GTX 2070 machine has the same TensorRT version.)

Nvidia GTX 1070

Try update NVIDIA driver on this machine.

Has this issue been resolved?

@jkjung-avt , I am sorry for the late reply. I haven't updated the Nvidia driver on my machine because I am kinda afraid of breaking things so I tested on Jetson Nano 4GB and it works fine as expected. I get around the same performance as you reported in YOLOv4 performance table section when I test with yolov4-288.trt . However, when I try to do inference with yolov4-tiny-288.trt on Nano, the performance is only around  ~9FPS compared to the performance on the table, 36.6FPS. That's a pretty big difference. Jetson Nano is flashed with Jetpack 4.4 and trt_yolo.py is run on a container from NGC. I followed every step that's mentioned on README so I am not sure what is causing this performance difference.

If you set up your Jetson Nano the same way as how I did it, you should get similar results as mine.  I documented how I set up my Jetson Nano DevKit with JetPack-4.4 in the JetPack-4.4 for Jetson Nano blog post.  In particular, the versions/configurations of OpenCV and "protobuf" might affect the result.  And there could be certainly other stuffs which cause differences.

Hi,
The same problem happened in my setting, "Tesla K40m, TensorRT-<IP_ADDRESS>,        Driver Version: 418.39       CUDA Version: 10.1". Thanks for your reply

The same problem happened in my setting, "Tesla K40m, TensorRT-<IP_ADDRESS>, Driver Version: 418.39 CUDA Version: 10.1". Thanks for your reply

Referring to TensorRT Release 7.x.x, "Kepler" (CUDA Compute 3.x) has been deprecated in TensorRT 7.x.  Please test with a more modern GPU.

The same problem happened in my setting, "Tesla K40m, TensorRT-<IP_ADDRESS>, Driver Version: 418.39 CUDA Version: 10.1". Thanks for your reply

Referring to TensorRT Release 7.x.x, "Kepler" (CUDA Compute 3.x) has been deprecated in TensorRT 7.x. Please test with a more modern GPU.

Sorry，I have no more modern GPU, maybe I should try TensorRT 6.x or TensorRT 5.x.
By the way, I checked the caffe samples in "TensorRT-<IP_ADDRESS>/samples/python/introductory_parser_samples", the results seems to be ok.

By the way, I checked the caffe samples in "TensorRT-<IP_ADDRESS>/samples/python/introductory_parser_samples", the results seems to be ok.

I think yolov4 model uses some layers which are not present in the "introductory_parser_samples" (resnet50).  If you don't have a newer GPU for testing, I think you should verify the result with TensorRT 6 instead.

@jkjung-avt ,  Anyone solved? I felt this project is the most friendly tutorials of trt use, but I found that I have tested on Ubuntu18.04 x86-64 gtx1060, trt <IP_ADDRESS> + cuda11.0 + cudnn8. almost the latest GPU environments, but it still no result shown QAQ.

I would still suggest to update your NVIDIA driver.  I use the following versions on my RTX-2080 Ti and GTX-1080 and it works.

NVIDIA driver: 450.80.02
CUDA: 10.2
cuDNN: <IP_ADDRESS>
TensorRT: <IP_ADDRESS>

@jkjung-avt Amazing! it works, thanks a lot~


Recommended value for camundaReportingIntervalInSeconds

We were thinking of using this plugin in production.
According to this thread https://forum.camunda.org/t/performance-of-act-ru-meter-log/15722, current value of 5 sec is creating troubles by inserting lot of rows.
So what value is recommended ?
Also on a side-note, camunda stores all its metrics in table ACT_RU_METER_LOG. What is the relation of this plugin with that table? As I see in code, we are overriding metric reporter frequency.

The link you provided is using the plugin, but did not configure the plugin for their needs.
Camunda metrics is https://docs.camunda.org/manual/7.9/user-guide/process-engine/metrics/#built-in-metrics.
The Prometheus plugin for Camunda is providing a capability to run queries that report the query results to a Prometheus API.  See the scripts defined in the yaml config.

Thanks @StephenOTT, that cleared some doubts.
But you didn't answer recommended value for camundaReportingIntervalInSeconds .
Is 5 sec alright ?
We have couple of instances of camunda running behind a load balancer in a kubernetes cluster.
Since these values are fetched from db, I am assuming we dont have to scrape all pods. We can just scrape any one of the pod behind the service.

@t0il3ts0ap  the camundaReportingIntervalInSeconds value is a override on this:
https://docs.camunda.org/manual/7.9/user-guide/process-engine/metrics/#metrics-reporter
The default 15 minutes that camunda applies.
In practice, in my experience everyones needs seem to be quite different, so the specific value you want to apply would be based on your setup and business processes.
You can ~likely apply the default 15 min duration (or longer) (rather than something like 5 seconds) as the default metrics are very generic: https://docs.camunda.org/manual/7.9/user-guide/process-engine/metrics/#built-in-metrics.

Also: The Camunda Metrics: https://docs.camunda.org/manual/7.9/user-guide/process-engine/metrics/#built-in-metrics are actually from each node / engine / "pod".  They are stored in map, and sent to the DB on the camundaReportingIntervalInSeconds value.  So you require each node in your cluster to report the metrics if you want a true count.  Off the top of my memory, The default Camunda Metrics do not count from a DB query, rather than count from in-memory running count that is per node in the cluster, and committed to DB on the camundaReportingIntervalInSeconds value (or the default 15 min value: https://docs.camunda.org/manual/7.9/user-guide/process-engine/metrics/#metrics-reporter )

@t0il3ts0ap note for production use i would recommend that you setup a standalone engine connected to the db.  This engine would have its job executor disabled, It would only be used for running the prometheus checks.  This way you do not create any performance hits on the cluster's processing power


Highlight currently active page in PageSelector

There is currently no indication in PageSelector which top level page is currently active. This could be implemented by highlighting the selected page item in the drawer by using a suitable background color.

+1 it's expected behaviour especially when no icons used

The PageSelector has been removed in Tabris.js 2.


Unable to download webpage: HTTP Error403: Forbidden (caused by HTTPError())

Checklist

[ ] I'm reporting a broken site support
[ ] I've verified that I'm running youtube-dl version 2020.12.09
[x] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

I tried to download a video from crunchyroll.


Cannot load css module files

I imported a css module file like so:
import styles from "./style.module.css";

this is how I use the imported styles in case it is relevant but I doubt it is:
    <Component
      className={cx({ // cx is an alias for the "classnames" package
        [styles["email-input-success"]]: valid,
      })}
      // Other props
    >
      {/* Children */}
    </Component>

and I got these errors:

this is the content of the css module file:
.email-input-success input {
  @apply !border-green-500 !shadow-none; /* I am using tailwindcss */
}

I do not know anything else, I provided all the information I considered relevant. Feel free to ask for more information if you have a clue on why this is happening!

@ferretwithaberet This is high in my TODO list.

I am currently using css modules within my keycloakify app with no problems.
What is described in the issue above I think is a limitation of CRA not being able to use custom postcss configs (necessary in order to use @apply). Ref, which also a feature I would like to see 😄

Fantastic thanks!


Runners report maximum Java heap size, not available system memory

On the Queue page, the runners report their "max RAM", but this does not appear to be the amount of RAM actually present in the system.
It looks like the runners use Runtime.getRuntime().maxMemory() to get this number (see https://github.com/IPDSnelting/velcom/blob/abe30dd4c19e7e8aa09128407bdda5ac6e2c64c7/backend/runner/src/main/java/de/aaaaaaah/velcom/runner/state/RunnerStateMachine.java#L65). But according to the Java documentation (https://docs.oracle.com/javase/8/docs/api/java/lang/Runtime.html#maxMemory--), this method only returns "the maximum amount of memory that the Java virtual machine will attempt to use", which sounds like the max-heap setting to me.
The runners should instead report the amount of RAM present (or better yet free) in the system.

That's correct. As the runner only needs to run on Linux and a dependency on JNA/OSHI seemed a bit heavy, the runner will likely use the procfs (/proc/cpuinfo and /proc/meminfo) to figure out the environment it runs in.
This, however, is not cgroup aware. If that is needed, we will have to adapt and either read from the correct place in procfs (seems to be /sys/fs/cgroup/memory/memory.limit_in_bytes) and adjust the figures accordingly or do fall back to calling native tools/bundle OSHI)
CPU info is lovely as well. A given environment might have multiple CPUs (server motherboards), multiple physical cores and multiple virtual cores (e.g. due to hyperthreading). While the implementation above exposes all of them, the virtual core count is probably what the user expects, but I am not quite sure yet.


Tesseract to new Evidence JSON.Parse exception

Context: I have Python Lambda Function that uses Tesseract to OCR uploaded image evidence.
Want: After I extract the text, I want to add a new codeblock evidence object.

The Python Lambda examples have all the code necessary to achieve this, it would seem, however - it looks like there is an issue wither either 1. that way I am calling the functions or 2. how the JS is parsing the JSON after a successful upload as I get a JSON.parse exception within the web UI.
def prepare_evidence(f) -> CreateEvidenceInput:
    return {
        "notes": "image ocr",
        "content_type": "codeblock",
        "file": f
    }

def prepare_file_data(ocr_string) -> FileData:
    return {
        "filename": None,
        "mimetype": "application/octet-stream",
        "content": ocr_string.encode("utf-8")
    }

# Get image bytes from Ashirt
data = ashirt_svc.get_evidence_content("operation_name","e60f9e98-73f2-4f37-8c41-f09b12d2da58")
nparr = np.fromstring(data, np.uint8)
img_np = cv2.imdecode(nparr, cv2.IMREAD_COLOR)

# Tesseract OCR
custom_config = r'--oem 3 --psm 6'
ocr_string = pytesseract.image_to_string(img_np, config=custom_config)

# Prepare function objects and add new evidence
file_data = prepare_file_data(ocr_string)
evidence = prepare_evidence(file_data)
evidence_results = ashirt_svc.create_evidence("operation_name", evidence)

# The value of evidence_results:
d = {
  'uuid': 'd7414d29-7c41-4ba8-92ba-6d1670f9829c',
  'description': 'image ocr',
  'occurredAt': '2023-03-08T01:50:32.07159269Z',
  'operator': {'firstName': '', 'lastName': '', 'slug': ''},
  'tags': None, 'contentType': ''
   }

The code above works however, the content (OCR text data) does not present itself within the code block of the new evidence object and we get a JSON.parse Node exception:

I think this might be an issue with how you're sending the codeblock. I need to spend a little time looking into this, but the codeblock format looks like this:
{
  "contentType": "codeblock",
  "contentSubtype": "The language of the codeblock. For example 'javascript'.",
  "content": "here is where your json content would go. This means you'll need to escape it",
  "metadata": {
    "source": "Where you acquired this codeblock, if it's relevant. I believe metadata is optional."
  }
}

So, here's some probably-broken python code that might help illustrate what you might need to do:

# From above...
ocr_string = pytesseract.image_to_string(img_np, config=custom_config)

file_as_codeblock = to_codeblock(ocr_string, 'javascript')  # encode the data as a codeblock

# Then, from above again...
# Prepare function objects and add new evidence
file_data = prepare_file_data(file_as_codeblock)
evidence = prepare_evidence(file_data)
evidence_results = ashirt_svc.create_evidence("operation_name", evidence)

def to_codeblock(content: str, lang: str):
  import json  # obviously, this could be better placed
  codeblock = {
    "contentType": "codeblock",
    "contentSubtype": lang,
    "content": json.dumps(content)
  }
  return codeblock

Let me know if this works for you. Also, if this does work, please let me know where you might want to see this information added (maybe in the python or javascript templates?)

Never mind, I got it. Here is the solution:
def prepare_file_data(codeblock_file_data) -> FileData:
    return {
        "filename": None,
        "mimetype": "application/octet-stream",
        "content": json.dumps(codeblock_file_data).encode("utf-8")
    }

def prepare_evidence(file_data: dict) -> CreateEvidenceInput:
    return {
        "notes": "image ocr",
        "content_type": "codeblock",
        "file": file_data,
        "content": file_data,
        "body": file_data
    }

def to_codeblock_file_data(content: str, lang: str) -> dict:
    codeblock = {
        "filename": "test",
        "mimetype": "text/plain",
        "content_type": "codeblock",
        "content_subtype": lang,
        "contentSubtype": lang,
        "content": content,
    }
    print(f"CODEBLOCK:\n{codeblock}\n")
    return codeblock

data = ashirt_svc.get_evidence_content("operation_name","8f32eb08-0aff-4e8f-9566-bb572f060049")
nparr = np.fromstring(data, np.uint8)
img_np = cv2.imdecode(nparr, cv2.IMREAD_COLOR)

# Adding custom options
custom_config = r'--oem 3 --psm 6'
ocr_string = pytesseract.image_to_string(img_np, config=custom_config)

codeblock = to_codeblock_file_data(ocr_string, 'text')    # Create the Codeblock Object
file_data = prepare_file_data(codeblock)
evidence = prepare_evidence(file_data)

evidence_results = ashirt_svc.create_evidence("operation_name", evidence)
print(evidence_results)

Edit: You sniped me a bit. It looks like you might still have some errors with your keys. Take a look at the dictionaries I'm populating below to double check your values.
--- original below --
I think there are some subtle errors in your code. Let me propose a small refactor:
def prepare_evidence(file_data: dict) -> CreateEvidenceInput:
    return {
        "notes": "image ocr",
        "contentType": "codeblock",  # should be contentType, not content_type
        "file": file_data,
        # Removed extraneous fields
    }

def to_codeblock_file_data(content: str, lang: str) -> dict:
    codeblock = {
        "contentType": "codeblock",
        "contentSubtype": lang,
        "content": json.dumps(content).encode("utf-8"),
        # Removed extraneous fields
    }
    print(f"CODEBLOCK:\n{codeblock}\n")
    return codeblock

data = ashirt_svc.get_evidence_content("operation_name", "8f32eb08-0aff-4e8f-9566-bb572f060049")
nparr = np.fromstring(data, np.uint8)
img_np = cv2.imdecode(nparr, cv2.IMREAD_COLOR)

# Adding custom options
custom_config = r'--oem 3 --psm 6'
ocr_string = pytesseract.image_to_string(img_np, config=custom_config)

codeblock = to_codeblock_file_data(ocr_string, 'text')    # Create the Codeblock Object # <-- I'm not sure iif text is right, but if it's working for you, great.
evidence = prepare_evidence(codeblock)

evidence_results = ashirt_svc.create_evidence("operation_name", evidence)
print(evidence_results)

You should be able to see an example of codeblock evidence (that we use for seeding/testing) here
That is directly sent to the frontend for parsing (and why you might have been getting a JSON.parse error earlier)


Diagnostic interaction for Instruments.app

Instruments has a CLI, that allows attaching to an already running process.
It would be great if we could leverage this to automate profiling the app, then view the data after the interaction.

I'm thinking a better solution is using fbsimctl as a wrapper script that can be used with xargs or subshell expansion for providing a UDID to an external process.