ARO checklist - having incorrect reference URL & remove default access

I'm referring the ARO checklist item with excel row no. 25 (Whenever possible, remove the service state from inside containers. Instead, use an Azure platform as a service (PaaS) that supports multiregion replication.) which has reference URL for AADDS:
More info
Please update the right reference.

While we advocated to integrate AAD authentication for the ARO console, the default admin access will be still there. There needs to be another checklist item explicitly calling the admin access to be removed. Reference: https://docs.openshift.com/container-platform/4.1/authentication/remove-kubeadmin.html

cc: @msftnadavbh @naioja @erjosito

Good catches @infosatheesh2020 !


Add "Retry" Button to all Empty States

Going off of #144, we want to add a consistent empty state for all screens.
Current Screens

HomeViewController has No Network Connection with no button.
RouteOptionsViewController has No Routes without a button
AllStopsTableViewController (should) now have a Retry button.

The retry button should restart the network request and ideally show the user feedback that their button press did something (e.g. UIActivityIndicatorView). On failure, ideally the indicator would at least show for a second to show the system attempted a request and failed again. On success dismiss the empty state view, banner, and reload data properly.

Resolved in #168.


Unable to search phone number

I have been trying to follow the guide mentioned in the github project of truecallerjs node library and search a phone number without any success.
I have installed the npm package in my node environment that is running in an ubuntu machine. I have logged in using my phone number and otp well and got an installation Id too. But while doing search, I have been constantly getting 429 response code that said "ERR_BAD_REQUEST". Any idea why is this happening? Do I need to register my mobile number somewhere TC portal?
Below is the command and response sample.
truecallerjs -s +91 --json
{
"message": "Request failed with status code 429",
"name": "AxiosError",
"stack": "AxiosError: Request failed with status code 429\n    at settle (file:///usr/lib/node_modules/truecallerjs/node_modules/axios/lib/core/settle.js:19:12)\n    at IncomingMessage.handleStreamEnd (file:///usr/lib/node_modules/truecallerjs/node_modules/axios/lib/adapters/http.js:589:11)\n    at IncomingMessage.emit (node:events:530:35)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (file:///usr/lib/node_modules/truecallerjs/node_modules/axios/lib/core/Axios.js:45:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async runCLI (file:///usr/lib/node_modules/truecallerjs/dist/cli.js:236:35)",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": [
"xhr",
"http",
"fetch"
],
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, /",
"Content-Type": "application/json; charset=UTF-8",
"accept-encoding": "gzip",
"user-agent": "Truecaller/11.75.5 (Android;10)",
"Authorization": "Bearer a1i08--nlqKNu-5-gztqiQ-NQMDWOIX3XE-lbsYjqub9H1n5bdcClRX9T7KFvmFp"
},
"params": {
"q": "",
"countryCode": "IN",
"type": 4,
"locAddr": "",
"placement": "SEARCHRESULTS,HISTORY,DETAILS",
"encoding": "json"
},
"method": "get",
"url": "https://search5-noneu.truecaller.com/v2/search"
},
"code": "ERR_BAD_REQUEST",
"status": 429

Same

@sumithemmadi

Same

same issue

same. I think true caller API dead....

For me the error code is different, message: Request failed with status code 401, this means unauthorized access. So I guess Truecaller must have moved this api's access to it's business category only, and not to open public usage. Error code 429 means Too many request, so I guess some dev might have pushed it to prod, later they changed it to 401 for Unauthorized.
@sujoyg1982 would you try again to check the error code once.


-M option

-M: do not print "mounted on"

Hi Michiel,
I think that you mean
static void text_disp_ln_end(void);
/* ... */
static void
text_disp_ln_end(void)
{
        (void)printf("\n");
}

Instead of
static void text_disp_ln_end();
/* ... */
static void
text_disp_ln_end()
{
        (void)printf("\n");
}

And so on for every _disp_ln_end() export function.
(C != C++ :wink: )
LGTM otherwise.

Updated, tested and works.

I have a suggestion though: I think it makes sense to take into account this new "-M" option for the auto-adjust feature (see auto_adjust() in src/util.c), probably around the Tflag check.

Should be better now. There was supposed to be a \n

I think you mean to update update_maxwidth() for -M flag support instead of adding your checks with 0f5f77f44b61bd03887d6fa6219d354b22a01544.

Updated.

Thanks!


keep the engine running in case of errors

If the user makes a syntactic error, it should show and be fixed but it would be nice if that didn't kill the julia process which then takes 1-2s to re-start & be warm.
Better error handling would help with this.

This is actually the case now.


Terminal as a tab: cannot split panel

Here is my problem:

Activate the terminal with Ctrl+`
Drag the Terminal icon to the tab bar and the terminals becomes a tab.
Right-click the terminal tab title, and choose "Split Down"
The terminal panel doesn't split

Expected behaviour: the panel should split like any other panel.
It works, though, by splitting another tab and then dragging the terminal panel to the new area.

I can reproduce this.
with the dev tools open, i see the warning:
/Applications/Atom.app/Contents/Resources/app.asar/src/deserializer-manager.js:43 No deserializer found for

@pietrodn as a temporary work-around, i can get a split pane terminal by creating the split from a different file, then dragging the terminal tab into that pane, and moving the file I used back to my main pane:

+1 can also reproduce, but the suggested work around does work. An option to have terminals always be a tab would be nice. Or at least a "Make tab" option on an open terminal

An option to have terminals always be a tab would be nice. Or at least a "Make tab" option on an open terminal

+1


Adding supported python version to readme

Codecov Report

Merging #132 (e5d3426) into main (d09b3a8) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #132   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          184       184
=========================================
  Hits           184       184

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 d09b3a8...e5d3426. Read the comment docs.


Clean up Repo: Removed orphaned files.

Use the CleanRepo tool to find and delete orphaned markdown and media files for the AspNetCore.Docs repo.
The AspNetDocs repo is being cleaned first by gewarren, Follow her lead/recommendations on how to do this successfully after that is completed.
See AspNetDocs PR 462

@Rick-Anderson, why close?  We are no longer doing this?

See https://github.com/dotnet/AspNetDocs/pull/462

I saw gewarren closed 462.  I assumed she was going to open another PR after addressing the problems.  I'll assume then instead the project itself is canceled until I hear otherwise.


Evaluate which endpoints should be private-only, and relocate them

We should host extensions to CocoaBlocAPI for private endpoints on a private repository, so we'll need to go through them and figure out what makes sense to keep and remove.

This is seemingly not a possibility. Our API targets are enum cases, which must be defined all in one place.


Is this a valid use of 'yopq'?

I have a variable font that has several axes, including weight, and contrast (yopq?). I am trying to decide if my contrast axis should be categorized as 'yopq', or if it is something different.
The base typeface is low contrast. Adjusting the yopq/contrast reduces the thickness of the horizontals, making it a high-contrast sans (like Radiant or the like).
At the boldest end, my yopq functions as everyone expects. The minimum thickness is about 2% of the em, and the maximum is visually equal to the vertical strokes, about 24% of the em (compared to the vertical strokes being about 28-29%, so no visual contrast).
BUT... at the lightest end of the weight axis, there is no longer room for the yopq to have any effect. The vertical strokes are 2% of the em. That's nearly as thin as I want a stroke to be in this typeface, so at minimum yopq horizontals are about the same (well, 1.8%, close enough). But I don't want a circus-like reverse contrast effect, so at the minimum weight, the maximum yopq is the same as the minimum!
Is this a legitimate way to have the yopq axis work? Or do I need to label this axis something else?

Seems legit to me tphinney,
YOPQ is conceived independent of whether contrast exists stylistically, for optical purposes or not at all*, which are the main reasons for difference between x and y strokes, using that idea loosely to define what's heavier vs lighter in so many scrpts.
In Latin, Radiant is an example of stylistic contrast, Helvetica, (with it's slight differences in V stroke, e.g.), of optical contrast. In many Sans, you see a tendency for optical contrast to grow with weight, and shrink with width. To grow towards small sizes, and shrink as they get larger. So in a 3-d variable space, YOPQ is active and useful when properly implemented both in development and for minor adjustments during use, for like if white-writer of the original CT rise from the dead, or when planning pedestrian crosswalk signage.
And, e.g. if one only made a weight axis and YOPQ, and wanted to, they could program YOPQ to increase slightly as the point size reduced, to provide better rendering* or legibility for stylistically high contrast designs, as we demonstrate here:
https://variablefonts.typenetwork.com/topics/size/logo-example
Hope that helps!
Cheers,

Yes, thanks!  :)

Love this discussion. Thanks both!


Fix #2202: Prevent concurrent use of linker in sbt

We use sbt's tag mechanism to prevent concurrent execution.
The test failed 60 consecutive times before the change and succeeded 60
consecutive times after it on a 2 core machine.

Review by @sjrd

LGTM wow ... The things one can do with sbt :-p

Yep. To be honest I'm astonished this worked. But they use the tagging mechanisms to limit concurrent task execution internally themselves :)

Even gives readable output when "showing" (added line breaks):
[info] 	List(Limit all to 4, Limit forked-test-group to 1,
Limit uses-scalajs-linker-jetty9-compile-fastopt to 1,
Limit uses-scalajs-linker-jetty9-compile-fullopt to 1,
Limit uses-scalajs-linker-jetty9-test-fastopt to 1,
Limit uses-scalajs-linker-jetty9-test-fullopt to 1,
// snip
)

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2815/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3624/
Test PASSed.


add new !Cidr function

@dthielking I made the changes requested. However my very limited proficiency using git doesn't allow me to rebase to one commit. I failed in my attempts to squash it on my local machine.

@tyron thank you for fixing the documentation miss match. I squash merged this branch into master and will create new version.


Nils/readme log section

What does this PR do?
Update the read me with a log collection section
Motivation
With agent 6 it is possible to collect container logs so it should be documented.

We are currently in a process of re-writing our Docker documentation.
Will make new suggestion with the updated version.


Globals not editable if entry is missing in database

Bug description
Our goal is to keep globals definitions in the repository (driver: file) but store the global variables in a database.
When a new global set is added and deployed to a machine with a db that does not contain an entry in the global_set_variables table for it. Content manager have no possibility in the CP to edit, they only can access the edit page of the global set, the /cp/globals/{slug} page shows a 404.
The only way to make it editable seems to be running php please eloquent:import-globals but that overwrites all other variables in DB with data from the files which is undesired. There seem to be no way to populate only missing ones without overwriting data.
Am I missing something or do I use the driver in a wrong way?
How to reproduce
Standard config, with only variables stored with eloquent driver
    'global_sets' => [
        'driver' => 'file',
        'model' => \Statamic\Eloquent\Globals\GlobalSetModel::class,
    ],

    'global_set_variables' => [
        'driver' => 'eloquent',
        'model' => \Statamic\Eloquent\Globals\VariablesModel::class,
    ],

Create a global set
// delete item from table
php artisan migrate:fresh

Logs
No response
Environment
Application Name: Statamic
Laravel Version: 11.10.0
PHP Version: 8.3.8
Composer Version: 2.7.7
Environment: local
Debug Mode: ENABLED
URL: localhost
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Statamic
Addons: 1
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.8.0 Solo

Statamic Addons
statamic/eloquent-driver: 4.3.0

Statamic Eloquent Driver
Asset Containers: file
Assets: file
Blueprints: file
Collection Trees: file
Collections: file
Entries: file
Forms: file
Global Sets: file
Global Variables: eloquent
Navigation Trees: file
Navigations: file
Revisions: file
Taxonomies: file
Terms: file
Tokens: file

Additional details
No response

Yes unfortunately this is the case in single site setups as in file based mode the global and variables is one file.
We will take another look at it but it’s not easily solved to be honest.

Ok so if you create one through the CP it does automatically create a new entry, so for me this is a devops issue in that you need to write something to verify you have rows in your db (or make a migration/seeder) for any newly added globals. I don't think this is something we should be solving in this driver.

@rrelmy no, with your workflow it will affect all setups as you arent seeding the database with the new global variable row

It seems pretty niche so I’d be inclined to say no - your usage is not what the imports are intended for.
Can you not just make a seeder that gets any global (using the facade) then checks if a variables model for that handle exists and if not creates it?

The sync assets is a regular running task designed to keep a regularly updating store up to date, it's not quite the same as what you are wanting.
Something like this should do the trick - just run it on deploy. You'll see its quite different to the import command.
<?php

namespace Statamic\Eloquent\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Facades\Facade;
use Statamic\Console\RunsInPlease;
use Statamic\Eloquent\Globals\VariablesModel;
use Statamic\Facades\GlobalSet;
use Statamic\Facades\Site;

class SyncGlobalVariables extends Command
{
    use RunsInPlease;

    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'statamic:eloquent:sync-global-variables';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Create models for global sets that don\'t exist.';

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        $sets = GlobalSet::all();

        $this->withProgressBar($sets, function ($set) {
            if (VariablesModel::where('handle', $set->handle())->first()) {
                return;
            }

            $global->makeLocalization(Site::default()->handle())
                ->data([])
                ->save();
        });

        $this->newLine();
        $this->info('Variables synced');
    }
}


Error message if wrong url

Two different people told me that they were confused because the room they created didn't work. It turns out they used the second part of the url needs to be of exact 22 length or the crypto library throws.
Would be nice to have a visible error message.

Thank you. Yes, better error message would help. And maybe also clearly verbally stating length of characters required in the how to create page.

hi @lipis
I want to contribute and take this Issue as my first contribution towards excalidraw. Can you please assign it to me?

hi @lipis
I want to contribute and take this Issue as my first contribution towards excalidraw. Can you please assign it to me?

Is this still open? I've tried to open a random URL and I got a Window message like this:

If you are expecting some sort of different experience, which one would it be?

I think this can be closed.


Dotenv fix

Multiple Fixes
eslint

Ignores tests

App.jsx

Added RatingsAndReviews component

RatingsAndReviews

New component

Webpack

dotenv fixes

After installing the dotenv package and requiring it at the top of webpack we then pull the process.env object into webpack's process.env as a string.
first we use a new webpack object to create a custom plugin for webpack.
The custom script allows webpack to run its own process.env as a key  and get the JSON.stringified text as a value


Skim tcs

PR Description
The primary goal was to implement a Δ R selection between the trigger cells and gen-level particles in the skimming step. This greatly reduces the size of the stored arrays and should make running the reconstruction chain significantly faster, solving issue #29. In addition, this PR updates the production scripts to use the YAML configuration file in place of hardcoded paths, solving issues #32 and #34. Finally, a submission script was included that allows the user to perform the skimming step as jobs launched on HTCondor. Both should be easily generalizable to submit other jobs.
How has this been tested?
I have confirmed that the skimming test works well for both run possibilities (using the default path set in the YAML file and the --inpath command line option). They work equally as well as part of a job submission.
Breaking changes
The formerly required argument,--particles, has been removed from the production step in favor of inferring the particle type from the input file path. This obviously requires the particle name to be included somewhere in the path, or the code will throw an error. Similarly, if more than one particle type is present in the path the code will also throw an error.
Checklist

[X] I have performed a self-review of my code
[X] My code follows the naming convention of this project
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation

To help with another feature (running the cluster size study on HTCondor), I rewrote job_submit.py in terms of classes, as well as added a few general updates. You can see the updated version here. This update should allow for more flexibility and removes some duplication that was done in the previous version. Let me know if you would like me to integrate this version into this PR (I've confirmed that both versions run as intended), or if you would prefer to merge as-is now, and update in an upcoming PR.

To help with another feature (running the cluster size study on HTCondor), I rewrote job_submit.py in terms of classes, as well as added a few general updates. You can see the updated version here. This update should allow for more flexibility and removes some duplication that was done in the previous version. Let me know if you would like me to integrate this version into this PR (I've confirmed that both versions run as intended), or if you would prefer to merge as-is now, and update in an upcoming PR.

This PR was closed because the work performed was absorbed into a new branch which also contains an update to the Dash Application and the calculation of energy weights. A new PR will be opened from this branch once it's been properly cleaned up.


Sorry Operation error.

Sorry for the mistake.

Hmm, is this a PR?

No problem, PR = Pull request. :)


Convert Subscriptions Endpoint and other changes for subreddit headers

👓 @ajacksified

:fish: after the nit. I feel very strongly that a get subscriptions should be used rather than using mine as a sort in subreddits, but it can be done outside of this pr.


FE Enhance BPN user link with BPN allowed BPN (validation handling)

In the current implementation additional BPNs can get added to user account.
The solution does not verify/support to validate if the BPN is a valid BPN or if this BPN is really correctly added.
With one of the latest BPDM feature enhancements, this is now possible.
Endpoint supported by BPDM: GET /api/catena/legal-entities/\{bpnl}/sites
BPDM Pool Swagger

Details of the needed change:

FE Page:
"User Management" => "User List" (bottom of the page) => "Details"
Example URL from dev:
[https://portal.dev.demo.catena-x.net/userdetails/92548f6e-21e2-4796-9ad1-21599a3b69d7]
Example Screenshot

1 Rework of the overlay
As-is:

[ ] Update the overlay (screenshot above) by exchanging the input field with an dropdown field
[ ] The dropdown should display the BPNs which are responded when calling {GET /api/catena/legal-entities/{bpnl}/sites{color}
[ ] The user should be able to select multiple BPN(s)
[ ] Minimum one BPN need to get selected
[ ] Instead of "Close" the button on the overlay bottom should be called "Submit"
[ ] When hovering on the delete icon an tooltip should get displayed

de: Die Löschung ist sofort aktiv.
en: The deletion is active immediately.

[ ] The dropdown list which is generated withGET /api/catena/legal-entities/\{bpnl}/sites should not include those BPN(s) which are already assigned to the user
[ ] If the user clicks the "Submit" button, the endpoint POST /api/administration/user/owncompany/users/\{companyUserId}/businessPartnerNumber is called including all selected BPN(s) of the dropdown field in the request body
[ ] till the response is available, a load element is displayed
[ ] on success, the list of BPNs is getting updated and the dropdown list is updated (should not show the previous available BPNs anymore)
[ ] on failure, the error is getting displayed inside the overlay - please check the error handling in detail. Extended error handling is active/supported. There will be two scenarios

all BPNs have failed (system error) => display the error inside the overlay and keep the bpn selection active
a couple of BPNs have been successful and just a number of BPNs unsuccessful. In this case extended error response is needed which only displays the error BPN(s)

[ ] Between the dropdown and the dropdown header/title, a description is needed which is stating the following details

de: Die auszuwählenden BPNs richten sich nach den Unternehmenszugehörigen BPNs. Um diese zu ändern/zu erweitern nutzen sie bitte das Partner Pool Management.
en: The BPNs to be selected depend on the BPNs belonging to the company. To change/expand these, please use Partner Pool Management.

Linked Tickets:
Backend changes will get implemented as part of https://github.com/eclipse-tractusx/portal-backend/issues/901

@MaximilianHauer I've migrated this issue from jira, the backend part was previously assigned to Prasanna


pub2nix.generatePackageConfig: Use logical paths for pubspec.yaml

Description of changes
When using pub2nix with multiple packages that have path dependencies on each-other, linkFarm can be used to put them all in the same directory.
This confuses generatePackageConfig, though, as it resolves the parent directory of a linkFarm entry as its real parent (typically the Nix store directory) rather than the linkFarm root.
This PR changes generatePackageConfig to use realpath --logical when resolving other packages' pubspec.yaml files, in order to avoid this issue.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.
@NixOS/flutter

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

59 packages built:

dart-sass
dart-sass.pubcache
discourse
discourseAllPlugins
domine
domine.pubcache
expidus.calculator
expidus.calculator.debug
expidus.calculator.pubcache
expidus.file-manager
expidus.file-manager.debug
expidus.file-manager.pubcache
firmware-updater
firmware-updater.debug
firmware-updater.pubcache
flet-client-flutter
flet-client-flutter.debug
flet-client-flutter.pubcache
fluffychat
fluffychat-web
fluffychat-web.pubcache
fluffychat.debug
fluffychat.pubcache
flutter (flutter319 ,flutterPackages.stable ,flutterPackages.v3_19)
flutter313 (flutterPackages.v3_13)
flutter316 (flutterPackages.v3_16)
hover
intiface-central
intiface-central.debug
intiface-central.pubcache
jekyll
jsonnet
jsonnet.doc
localsend
localsend.debug
localsend.pubcache
protoc-gen-dart
protoc-gen-dart.pubcache
python311Packages.flet
python311Packages.flet-runtime
python311Packages.flet-runtime.dist
python311Packages.flet.dist
python312Packages.flet
python312Packages.flet-runtime
python312Packages.flet-runtime.dist
python312Packages.flet.dist
quarto
quartoMinimal
rstudio
rstudio-server
rstudioServerWrapper
rstudioWrapper
rustdesk-flutter
rustdesk-flutter.debug
rustdesk-flutter.pubcache
shopware-cli
yubioath-flutter
yubioath-flutter.debug
yubioath-flutter.pubcache

Result of nixpkgs-review pr 310059 run on aarch64-linux 1

2 packages marked as broken and skipped:

rstudio
rstudio-server

3 packages failed to build:

rustdesk-flutter
rustdesk-flutter.debug
rustdesk-flutter.pubcache

51 packages built:

dart-sass
dart-sass.pubcache
discourse
discourseAllPlugins
domine
domine.pubcache
expidus.calculator
expidus.calculator.debug
expidus.calculator.pubcache
expidus.file-manager
expidus.file-manager.debug
expidus.file-manager.pubcache
firmware-updater
firmware-updater.debug
firmware-updater.pubcache
flet-client-flutter
flet-client-flutter.debug
flet-client-flutter.pubcache
fluffychat
fluffychat-web
fluffychat-web.pubcache
fluffychat.debug
fluffychat.pubcache
flutter (flutter319 ,flutterPackages.stable ,flutterPackages.v3_19)
flutter313 (flutterPackages.v3_13)
flutter316 (flutterPackages.v3_16)
intiface-central
intiface-central.debug
intiface-central.pubcache
jekyll
jsonnet
jsonnet.doc
localsend
localsend.debug
localsend.pubcache
protoc-gen-dart
protoc-gen-dart.pubcache
python311Packages.flet
python311Packages.flet-runtime
python311Packages.flet-runtime.dist
python311Packages.flet.dist
python312Packages.flet
python312Packages.flet-runtime
python312Packages.flet-runtime.dist
python312Packages.flet.dist
quarto
quartoMinimal
shopware-cli
yubioath-flutter
yubioath-flutter.debug
yubioath-flutter.pubcache


Axios & initialData. data is different from the one came from initialData

Bug report
Description / Observed Behavior
While I'm using getStaticProps or getInitialProps and return the data to props and pass it to initialData, it give me object different from using useRequest directly in the page
const Index = ({ initialData }) => {
  const { data } = useRequest("/endpoint", { initialData })
  const { data: anotherName } = useRequest("/endpoint")

  console.log(data)
  // {
  //   status: 200,
  //   statusText: 'InitialData',
  //   headers: {},
  //   data: {someData: {firstName: "Maged", lastName: "Mohamed"}}
  // },

  console.log(anotherName)
  // data: {someData: {firstName: "Maged", lastName: "Mohamed"}}

  // UNWATED CHECK !
  const whatToRender = data.statusText === 'InitialData' ? data.data.someData : data.someData

  return (

{whatToRender.firstName}

{whatToRender.lastName}

  )
}

export async function getStaticProps() {
  const { data: initialData } = await axios("/endpoint")

  return {
    props: {
      initialData
    }
  }
}

export default Index

Expected Behavior
I was expecting the data came from initialData is identical to data came from useRequest without passing any initial data.
Is there any reason to make data different from
I think that is good to make data identical. otherwise I'm going to double check if data came from initialData or not to render it without any errors !
Solution / Code Example
Here is my solution for this issue.
import useSWR from "swr"
import axios from "axios"

export default function useRequest(request, config = {}) {
  return useSWR(
    request && JSON.stringify(request),
    () => axios(request || {}).then(response => response.data),
    { ...config }
  )
}

Additional Context
SWR version: 0.2.3

This is probably because revalidateOnMount is disabled when you pass initialData, try adding revalidateOnMount: true to force a revalidation, it will still use the initialData for a while until the revalidation finish.

@sergiodxa I don't think passing revalidateOnMount solves the problem. It still needs to double check otherwise it will throw an error while rendering.
Is there any need or benefit to structure initialData like this?
initialData: initialData && {
    status: 200,
    statusText: 'InitialData',
    headers: {},
    data: initialData
}

Fixed by configuring Global SWR
const swrConfig = {
  fetcher: async (query) => (await Axios.get(query)).data,
};

then
<SWRConfig value={swrConfig}>
  {/* ... */}
</SWRConfig>


AES 128-bit GCM from mbedtls library truncates randomly

Description

Type: Bug
Priority: Blocker

Bug
OS
ESP32
mbed TLS build:
Arduino OS version: 1.0.4
Additional environment information: Implemented from this library
Expected behavior
Original: I come from @ tribe 0f head-hunters, so ! will n3v3r need @ $hrink.
Encrypted: :t4i⸮⸮⸮⸮⸮*⸮q٬8>⸮⸮⸮J⸮⸮>⸮⸮[E⸮o⸮a⸮⸮:⸮_⸮lu⸮ۡ⸮jh2h@⸮⸮⸮⸮⸮6
Decrypted: I come from @ tribe 0f head-hunters, so ! will n3v3r need @ $hrink.

Actual behaviour
Original: I come from @ tribe 0f head-hunters, so ! will n3v3r need @ $hrink.
Encrypted: ⸮⸮⸮=_+<⸮⸮<EMAIL_ADDRESS>Decrypted: I come from @ tribe 0f head-hunters, so !

Arduino Code
// Reference for this:  https://tls.mbed.org/api/gcm_8h.html
#include "mbedtls/gcm.h"

mbedtls_gcm_context aes;
char * key = "cRfUjWnZr4u7x!A%";
char tag[17], tag2[17];

void setup() {
  Serial.begin(115200);
  while(!Serial);
}

void loop() {
  delay(2000);

  char *text = "I come from @ tribe 0f head-hunters, so ! will n3v3r need @ $hrink.";
  Serial.print("\n\nOriginal: ");
  Serial.println(text);

  char iv[13];
  for (uint8_t i = 0; i < 12; i++) {
    iv[i] = random(1,255);
  }
  iv[12] = 0;

  int ret = 0;

  char encrypted[256] = {0};
  mbedtls_gcm_init(&aes);
  mbedtls_gcm_setkey(&aes, MBEDTLS_CIPHER_ID_AES, (const unsigned char*) key, strlen(key) * 8);
  Serial.println(mbedtls_gcm_starts(&aes, MBEDTLS_GCM_ENCRYPT, (const unsigned char*) iv, strlen(iv), NULL, NULL));
  Serial.println(mbedtls_gcm_update(&aes, strlen(text), (const unsigned char*) text, (unsigned char*) encrypted));
  Serial.println(mbedtls_gcm_finish(&aes, (unsigned char*) tag, 16));
  //int ret = mbedtls_gcm_crypt_and_tag(&aes, MBEDTLS_GCM_ENCRYPT, strlen(text), (const unsigned char*) iv, strlen(iv), NULL, 0, (const unsigned char*) text, (unsigned char*) encrypted, 16, (unsigned char*) tag);
  mbedtls_gcm_free(&aes);
  Serial.print("Encrypted: ");
  Serial.println(encrypted);
  Serial.print("Tag: ");
  for (uint8_t i = 0; i < strlen(tag); i++){
    Serial.print(tag[i], HEX);
    Serial.print(",");
  }
  Serial.println();

  char decrypted[256] = {0};
  mbedtls_gcm_init(&aes);
  mbedtls_gcm_setkey(&aes, MBEDTLS_CIPHER_ID_AES, (const unsigned char*) key, strlen(key) * 8);
  Serial.println(mbedtls_gcm_starts(&aes, MBEDTLS_GCM_DECRYPT, (const unsigned char*) iv, strlen(iv), NULL, NULL));
  Serial.println(mbedtls_gcm_update(&aes, strlen(encrypted), (const unsigned char*) encrypted, (unsigned char*) decrypted));
  Serial.println(mbedtls_gcm_finish(&aes, (unsigned char*) tag2, 16));
  //ret = mbedtls_gcm_auth_decrypt(&aes, strlen(encrypted), (const unsigned char*) iv, strlen(iv), NULL, NULL, (unsigned char*) tag, strlen(tag), (const unsigned char*) encrypted, (unsigned char*) decrypted);
  mbedtls_gcm_free(&aes);
  Serial.print("Decrypted: ");
  Serial.println(decrypted);]
  Serial.print("Tag2: ");
  for (uint8_t i = 0; i < strlen(tag2); i++){
    Serial.print(tag2[i], HEX);
    Serial.print(",");
  }

}

Issue
I'm trying to use AES 128-bit GCM from mbedtls library for string encryption. The IVs are random but I noticed that some of the encrypted strings are truncated, even if I use the same text and key. I've tried looking into the ESP32 arduino mbedtls library but strangely I can't find the source code only header files?

Hi @ONLYstcm , strlen() works on \0 terminated strings, but might truncate binary data. You can calculate the ciphertext length from the length of the plaintext: it is the length of the plaintext rounded up to the next multiple of 16.

Hi @ONLYstcm,
You're using strlen on binary data: strlen(key), strlen(encrypted). But strlen can only work on text strings, not on binary data. When you pass it on binary data, it stops at the first null byte. Since each byte in the encrypted data has a 1/256 chance of being null, varying randomly depending on the IV, the call to mbedtls_gcm_update stops at some random position.
You need to keep track of the size of binary data. For GCM, the size of the output to update is equal to the size of the input. You need to remember this size alongside the encrypted data.
You need to fix the same issue with the key and IV, otherwise they may be truncated depending on the output of the random generator.
Note also that you should never use non-cryptographic randomness in cryptography code. Don't use the standard library random. Mbed TLS provides a random generator that's suitable for cryptography, see the knowledge base entry for how to use it.
I assume that this is just an example. In the real world, the key should be generated randomly as well, and then stored securely, not embedded in the code.
If you're learning how to write code that uses cryptography, I recommend the Cryptopals challenges. They're little programming exercises that let you discover things progressively. Start at the beginning and stop (or pause) when things go beyond what you need.


Not using index while trying to fetch next trigger to execute with Postgres.

Problem Statement:
Quartz is not using index available on qrtz_triggers while fetching next trigger to execute. Instead doing a sequential scan on the entire table. This is taking long (~2 sec) when there are around ~2.5M records in the table. This is causing lot of job to be misfired.
Log from Postgres
Slow logs from Postgres:
Query Text: SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'Scheduler' AND TRIGGER_STATE = $1 AND NEXT_FIRE_TIME <= $2 AND (MISFIRE_INSTR = -1 OR (MISFIRE_INSTR != -1 AND NEXT_FIRE_TIME >= $3)) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC
	Gather Merge  (cost=521557.74..551344.36 rows=255296 width=88) (actual time=1692.754..1692.760 rows=25 loops=1)
	  Output: trigger_name, trigger_group, next_fire_time, priority
	  Workers Planned: 2
	  Workers Launched: 0
	  ->  Sort  (cost=520557.72..520876.84 rows=127648 width=88) (actual time=1692.752..1692.754 rows=25 loops=1)
	        Output: trigger_name, trigger_group, next_fire_time, priority
	        Sort Key: qrtz_triggers.next_fire_time, qrtz_triggers.priority DESC
	        Sort Method: external sort  Disk: 7432kB
	        ->  Parallel Seq Scan on public.qrtz_triggers  (cost=0.00..497510.01 rows=127648 width=88) (actual time=1567.453..1651.449 rows=64368 loops=1)
	              Output: trigger_name, trigger_group, next_fire_time, priority
	              Filter: (((qrtz_triggers.sched_name)::text = 'Scheduler'::text) AND ((qrtz_triggers.trigger_state)::text = 'WAITING'::text) AND ((qrtz_triggers.next_fire_time)::numeric <= '1595503996000'::numeric) AND ((qrtz_triggers.misfire_instr = '-1'::integer) OR ((qrtz_triggers.misfire_instr <> '-1'::integer) AND ((qrtz_triggers.next_fire_time)::numeric >= '1595204009000'::numeric))))
	              Rows Removed by Filter: 2694520

Expected
Ideally the query for next fire time should use the idx_qrtz_t_next_fire_time index present on the table.
How to reproduce:
Create the database as per the suggested migrations
Enable slow logs on Postgres with explain analyse on using this. This should start logging the query plan of every query.
Then we should be able to see the above log of sequential scan instead of using index. Even when the table is quite large (2.5M records).
Cause
The selectTriggerToAcquire method is using setBigDecimal. According to the documentation of setBigDecimal sends the query to Postgres with datatype of next_fire_time as numeric.
Sets the designated parameter to the given java.math.BigDecimal value.
The driver converts this to an SQL NUMERIC value when
it sends it to the database.

But according to the suggested migration the next_fire_time is of type bigint in db. This is causing Postgres to skip using index. More details on this can be found here
If we do the following change in here
ps.setBigDecimal(2, new BigDecimal(String.valueOf(noLaterThan)));
ps.setBigDecimal(3, new BigDecimal(String.valueOf(noEarlierThan)));

to
ps.setLong(2, noLaterThan);
ps.setLong(3, noEarlierThan);

The query starts using Index. Log from Postgres after changes:
Query Text: SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'Scheduler' AND TRIGGER_STATE = $1 AND NEXT_FIRE_TIME <= $2 AND (MISFIRE_INSTR = -1 OR (MISFIRE_INSTR != -1 AND NEXT_FIRE_TIME >= $3)) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC
	Sort  (cost=131366.44..131538.06 rows=68647 width=88) (actual time=101.373..101.375 rows=25 loops=1)
	  Output: trigger_name, trigger_group, next_fire_time, priority
	  Sort Key: qrtz_triggers.next_fire_time, qrtz_triggers.priority DESC
	  Sort Method: external sort  Disk: 7432kB
	  ->  Index Scan using idx_qrtz_t_next_fire_time on public.qrtz_triggers  (cost=0.56..122565.21 rows=68647 width=88) (actual time=2.446..61.542 rows=64368 loops=1)
	        Output: trigger_name, trigger_group, next_fire_time, priority
	        Index Cond: (((qrtz_triggers.sched_name)::text = 'Scheduler'::text) AND (qrtz_triggers.next_fire_time <= '1595503996000'::bigint))
	        Filter: (((qrtz_triggers.trigger_state)::text = 'WAITING'::text) AND ((qrtz_triggers.misfire_instr = '-1'::integer) OR ((qrtz_triggers.misfire_instr <> '-1'::integer) AND (qrtz_triggers.next_fire_time >= '1595204009000'::bigint))))

Let us know if anything is missing. Else we can raise the PR for same.

We encountered the same problem. But instead of forking and building our own Quartz we just added specific indices for numeric to our database:
CREATE INDEX IDX_QRTZ_T_NEXT_FIRE_TIME2
  ON QRTZ_TRIGGERS (SCHED_NAME, CAST(NEXT_FIRE_TIME AS NUMERIC));
CREATE INDEX IDX_QRTZ_T_NFT_ST2
  ON QRTZ_TRIGGERS (SCHED_NAME, TRIGGER_STATE, CAST(NEXT_FIRE_TIME AS NUMERIC));
CREATE INDEX IDX_QRTZ_T_NFT_MISFIRE2
  ON QRTZ_TRIGGERS (SCHED_NAME, MISFIRE_INSTR, CAST(NEXT_FIRE_TIME AS NUMERIC));
CREATE INDEX IDX_QRTZ_T_NFT_ST_MISFIRE2
  ON QRTZ_TRIGGERS (SCHED_NAME, MISFIRE_INSTR, CAST(NEXT_FIRE_TIME AS NUMERIC), TRIGGER_STATE);
CREATE INDEX IDX_QRTZ_T_NFT_ST_MISFIRE_GRP2
  ON QRTZ_TRIGGERS (SCHED_NAME, MISFIRE_INSTR, CAST(NEXT_FIRE_TIME AS NUMERIC), TRIGGER_GROUP, TRIGGER_STATE);

The issue is still relevant. On master the selectTriggerToAcquire method still uses PreparedStatement#setBigDecimal which the JDBC driver will then translate to NUMERIC but the index on master is not suitable for NUMERIC i.e. the selectTriggerToAcquire doesn't use any index for it's queries.


LUA error when opening some recipes

I'm getting these whenever I select some recipes (so far, happened for Nitro Boosts and Goblin Glider):
2x CraftSim/Data/Classes/ResultData.lua:49: CraftSim: Enchant Recipe Missing in Data: 126392 Please contact the developer (discord: genju#4210)
[string "=[C]"]: in function error' [string "@CraftSim/Data/Classes/ResultData.lua"]:49: in function UpdatePossibleResultItems'
[string "@CraftSim/Data/Classes/ResultData.lua"]:36: in function new' [string "@CraftSim/Libs/classic.lua"]:66: in function ResultData'
[string "@CraftSim/Data/Classes/RecipeData.lua"]:137: in function new' [string "@CraftSim/Libs/classic.lua"]:66: in function RecipeData'
[string "@CraftSim/Main/CraftSim.lua"]:478: in function TriggerModulesByRecipeType' [string "@CraftSim/Main/CraftSim.lua"]:169: in function TriggerModulesErrorSafe'
[string "@CraftSim/Main/CraftSim.lua"]:202: in function <CraftSim/Main/CraftSim.lua:187>
[string "=[C]"]: ?
[string "=[C]"]: in function Init' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:287: in function SelectRecipe'
...
[string "@SharedXML/CallbackRegistry.lua"]:146: in function TriggerEvent' [string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeList.lua"]:125: in function <...fessionsTemplates/Blizzard_ProfessionsRecipeList.lua:112> [string "=[C]"]: ? [string "@SharedXML/CallbackRegistry.lua"]:143: in function <SharedXML/CallbackRegistry.lua:142> [string "=[C]"]: ? [string "@SharedXML/CallbackRegistry.lua"]:146: in function TriggerEvent'
[string "@SharedXML/Scroll/ScrollUtil.lua"]:383: in function SetElementDataSelected_Internal' [string "@SharedXML/Scroll/ScrollUtil.lua"]:348: in function SelectElementData'
[string "@SharedXML/Scroll/ScrollUtil.lua"]:388: in function `Select'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeList.lua"]:58: in function <...fessionsTemplates/Blizzard_ProfessionsRecipeList.lua:46>
Locals:
(*temporary) = "CraftSim: Enchant Recipe Missing in Data: 126392 Please contact the developer (discord: genju#4210)"

Happening for almost every old (non-Dragonflight) recipe for all professions. Very frustrating.

So it seems to be a problem with old world enchants as they are not mapped in CraftSim's Data yet

Added nitro boosts and goblin glider to enchant data 7.3+


feat: exclude files from bundle with .snyk

[x] Ready for review
[x] Linked to Jira ticket - https://snyksec.atlassian.net/browse/PUL-157

What does this PR do?
Adds the ability to exclude files from the analysis bundle when adding them under the exclude section in .snyk file
Where should the reviewer start?
Nothing specific
How should this be manually tested?
Adding entries to a repo's .snyk file under the exclude field (same as in the sample-repo inside under tests folder) and making sure they're not sent for analysis.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[sqlite] Updated to 3.32.1 to fix a security vulnerability

Security vulnerability highlighted during SVM

Feature has passed with the following triplets:

x86-windows
x64-windows
x64-windows-static

/azp run

Thanks for the PR!


NEXT-39641 - Add datepicker format datetime depending on the locale

What?
Add datepicker format datetime depending on the locale
Why?
To make the format to match the different languages and countries
How?
Using Intl to generate the format string for flatpickr
Testing?
Change the admin user language (between 'en-Us' nad 'en-Uk' for instance) and checking the format in any datepicker

Approved 👍 But the branch has conflicts and the checks didn't pass


map files not linked in dev build wrong path 404

Visual Studio debugging in IE no longer works. Need a step debug solution for the dev build.

Only in IE, not in Edge, Chrome or Firefox. Will not fix!


BTC support

This is #161 but rebased on dev

Ci failures:

issue under investigation (by ledger) with specific payload
Updating the app database https://github.com/LedgerHQ/ledger-app-database/pull/59
Warning from the BTC app codebase triggering the static analyzer

We can merge this :partying_face:


[5.6] Errors thrown at top level of plugin should be reported as diagnostics

This is the 5.6 cherry-pick of https://github.com/apple/swift-package-manager/pull/3957

@swift-ci please test


feat(styleguide): Allow component level links

Overview

Let's you specify component="Box" et al on our custom storybook internal link which sends you to our best guess story.  This may not work for components that are not directly specified as a component={X} on a stories' meta configuration.

Usage:
<LinkTo component="Box">Box</LinkTo>

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: ABC-123
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://61168c39020d0400d66535fb--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6116a4600b917d198d532042--gamut-preview.netlify.appDeploy Logs


AuthContextClassRef Update

I was able to use these instructions to setup our Webex Meetings for SSO via Azure AD SAML.  I immediately noticed some issues with Edge and IE clients, however.  They would fail to login with "Invalid SAML Assertion (13)" on the WebEx site.  Upon further inspection of the SAML claims I had to modify the directions in 3d for AuthContextClassRef.  This is what worked for me: urn:federation:authentication:windows;urn:oasis:names:tc:SAML:2.0:ac:classes:Password;urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport

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

ID: ee0d3d2c-71f4-9366-73a3-f0c910cf9073
Version Independent ID: 953ee878-2afd-d2b4-c5f0-a750ecd910a9
Content: Tutorial: Azure Active Directory integration with Cisco Webex Meetings
Content Source: articles/active-directory/saas-apps/cisco-webex-tutorial.md
Service: active-directory
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@jvplopper Thank you for your feedback . We will have this reviewed and engage the content team to further look into it .

Thank you for sharing the behaviour in your environment . The SAML element AuthContextClassRef defines the authentication methods which a Service provider (in this case cisco webex) requires the identity provider to use in order to setup Single sign-on. If PasswordProtectedTransport is specified in the request , the IDP(in this case azure AD) knows that it has to authenticatie the user using username/password method with the request being encrypted by SSL/TLS. In the section 3d, we have speciied that in case you are using Azure AD with MFA then you woudl need to provide PasswordProtectedTransport in the AuthContextClassRef class. Hence it depends on the kind of the setup you have and accordingly you can specify the related values on cisco webex side.
Hope the clarification helps. As of now we will close this issue. Should you have any further queries, feel free to tag me to your reply and we can continue the conversation .

@shashishailaj
@jvplopper
Hi both,
I ran into the same issue today, I followed the Microsoft Tutorial https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/cisco-webex-tutorial
and also received the ""Invalid SAML Assertion (13)" error like above.
The tutorial states you have to use the longer AuthContextClassRef if you are using Azure AD MFA (which we are), however neither the short or long one work.
The AuthContextClassRef from Webex themselves, doesn't work either.
The only one that works is the one I found on this page (or part of it, we don't use ADFS):

urn:oasis:names:tc:SAML:2.0:ac:classes:Password

Can you explain where you got this from, and why it's not mentioned anywhere?
Also, what does " modify the directions in 3d" mean exactly?
Thanks,
Walter


Added bibtex

Added a section including the citation to the arxiv paper
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue

How Has This Been Tested (if it applies)

Checklist

[ ] The documentation is up-to-date with the changes I made.
[ ] I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
[ ] All tests passed, and additional code has been covered with new tests.

Thanks @robertocalandra! I think it would also be useful to add a sentence with a link to the paper near the top, can you add it?


We generate the wrong type of certificate

Getting warning in the apache logs because we generated a CA cert
[Wed Apr 15 09:11:48.100128 2015] [ssl:warn] [pid 931:tid<PHONE_NUMBER>60512] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

Probably won't fix this because a) it's better than leaving the default alfresco certs in there and b) if you want proper certificates generate your own ;-)

won't fix, it's wrong but it's better than the default provided by alfresco


Determine accuracy of the numbers from the video file analysis as compared to the original run

The numbers of the centroid size appear to differ wildly with the initial run.  In fact, the first row is all zeros, which seems suspicious.
Validate that the analysis between the saved file and the live cam is done the same way and determine if the difference is due to compression.
Also determine:

if the compressed data needs to be altered to perform a proper analysis (e.g. convert the format)
if a different compression format will result in more accurate numbers
if the saved well positions are correctly applied to the recorded video

The first row was all zeros because the reference image in the reference stack was different in the live cam run compared to the recorded run.  That's now fixed.  Both use the same initial reference image.
The difference in the numbers is due to compression.  Running with archival (uncompressed) format yields the exact same numbers.
I tried setting the format of the returned frame from readFrame to 'native', but the result was the same.  That's the default and is described in the documentation as being the same format as before compression.
Explicitly setting the format from readFrame did not change the numbers.
I confirmed the well positions in the recorded video and in fact added the ability to tweak the saved well positions using Sudarshan's repositionCrosses method.


docs: update doc for tf.python.tools.saved_model_utils

fix wrong .pb file names

We will not be encouraging one liner changes as this is expensive process, thank you for your interest.
CC @mihaimaruseac

Let's take this one since documentation is wrong.


body pose model?

Hi, maybe this does not go here but is it possible to have something similar to 68 face landmarks but with full body or upper body? I am developing on unity and face detection is pretty much covered, however for body pose(my target is android) I haven't had any luck. I have tried ARcore(not compatible) AR foundation, OpenCV python, barracuda using an onnx model (not compatible) tried openpose, posenet, etc but I haven't found any pretrained body model similar to faces yet.
In this asset:
https://assetstore.unity.com/packages/tools/integration/opencv-plus-unity-85928
there is an example that use face recognition, and by using the face and eye haar cascades plus the 68 face annotation landmarks it creates a real time recognition example. I want to replicate this for a full body, or upper body using body annotations with the fullbody and upper body haar cascades, is it possible? my goal is to create a fitting room using AR for android
sorry if it's not okay to post it here, I've been researching about it for 2 weeks and it's driving me crazy.
it doesn't have to be that many landmarks, I'm ok with 13 or something
thank you

I was also facing a similar problem, I tried to train a shape predictor for pose estimation, but I couldn't make it work either, especially for weird poses (it turns out some humans are really flexible)
Dlib has this loss layer: loss_mean_squared_per_channel_and_pixel, which is what they use in this approach to estimate landmark heatmaps: Simple Baselines for Human Pose Estimation and Tracking.
When used with a ResNet50 backbone and an input size of 224x224, you can easily get inference times below 10 ms on a GPU, however, I don't think that would be suitable for an Android app, where there's no CUDA...

Thank for your reply, it is indeed difficult without cuda(I am using windows with an Intel chip which makes it even worse) I haven't dig too much in models but I tried to run some like the body25 from open pose, I am completely new to deep learning so I kind of need a lead, is it possible to create a rough body pose model within one week? what would you recommend? I know that unity supports nn files as well, should I dig on tensorflow maybe? (they gave me 3 weeks to make this app lol)

I am afraid I am not in a position to give you advice on how you should do your work.
However, I will say that, given the amount of time you have left, you'd be better off using some already trained solutions like this one: https://github.com/edvardHua/PoseEstimationForMobile

thanks so much! I will definetely give it a look. Another super noob question, the steps for training the model are there but, is it there like a generated file that can just drag to read it with opencv or similar? or do I have to compile something to generate that? I still don't understand how most pretrained models work


How to install

Hi! Thank you very much for developing this and making it available. I had a question concerning the installation instructions in the README:
https://github.com/gramster/docs2stubs/blob/9d238f1595ff399713cd11f7a358bc2b862a62b5/README.md?plain=1#L6-L10
When trying to run the command, I got the following error:
python -m pip install docs2stubs

ERROR: Could not find a version that satisfies the requirement docs2stubs (from versions: none)
ERROR: No matching distribution found for docs2stubs

I also wasn't able to find the project on https://pypi.org/ searching docs2stubs. Do you have any suggestions on how to proceed with the installation?

Hey @danibene, I've had the same experience. You can try to install it from source by cloning this repository and building it yourself:
git clone https://github.com/gramster/docs2stubs.git
cd docs2stubs
# Add missing dependencies (see below)
pip install flit
flit install

For flit to succeed you need to add a few missing dependencies, see https://github.com/gramster/docs2stubs/pull/2.


Replace dashes with dots in instrumentName usage

Type of issue
Typo
Description
I'm not sure if it's an issue because I'm on a mac, but all the instances of http-server-request-duration in the documentation need to be updated to http.server.request.duration (replacing dashes with dots) :
This is both for the dotnet-counter output (snippet from my local machine below):
Press p to pause, r to resume, q to quit.
    Status: Running

[Microsoft.AspNetCore.Hosting]
    http.server.active_requests ({request})
        http.request.method=GET,url.scheme=http                            0
    http.server.request.duration (s)
        http.request.method=GET,http.response.status_code=200,ht           0
        http.request.method=GET,http.response.status_code=200,ht           0
        http.request.method=GET,http.response.status_code=200,ht           0

...as well as when configuring builder.AddView (updated code below - with simplified buckets to easily show when applied successfully).
builder.AddView("http.server.request.duration",
            new ExplicitBucketHistogramConfiguration
            {
                Boundaries = new double[] { 0, 0.001, 0.01, 0.1, 1, 10 }
            });

I'm currently running dotnet version: 8.0.100-rc.1.23463.5
Page URL
https://learn.microsoft.com/en-us/aspnet/core/log-mon/metrics/metrics?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/log-mon/metrics/metrics.md
Document Version Independent Id
fc4aa26a-a037-2bd9-f313-e3073d6b8232
Article author
Rick-Anderson

@JamesNK  should I update this page with a MacOS tab replacing dashes with dots?

But surely if this is Mac specific there's bigger problems. Adding code such as builder.AddView("http.server.request.duration... should be cross platform, if you need to use dashes on some operating systems & dots on others then surely it means the code isn't truly cross platform?

Doesn't this suggest using dots as separators anyway. Any chance this was a refactor at some point and dots are being used consistently across platforms now?
https://learn.microsoft.com/en-us/dotnet/core/diagnostics/metrics-instrumentation#best-practices


Fix droppedAtBidding and multi-step XTX bidding

Summary
Fixes two issues that became apparent during bidding

adds getBondValue function, which either returns the latest bid or, if no bid is found, the max_reward. This removes the deadlock that a multi-step XTX would be initiated in. Before, bidding was not possible as a panic arose

adds try_dropped_at_bidding_refund, which takes care of refunding the executors that have bid on the SFXs of the dropped XTX. Before, they would be slashed which is incorrect.

There was another issue with an XTX not being removed from the timeout map. This resulted in the circuit trying to revert a confirmed transaction, which causes some issues, in this case, a panic that stopped block production. I've applied a fix that resolves the issue. Nothing to fancy, as we're rebuilding these parts anyways


New color Theme !!

Trying to add new theme in jquery.range.less. It didn't work.
what steps should i be following ?

You can simply add a new theme in jquery.range.less file. For an example you can see existing .theme-blue and .theme-green

Thanks for reply.
I did figure it out. But need to edit css file as well along with
jquery.range.less
Thanks again.
On 21/01/2015 8:07 PM, "Nitin Hayaran"<EMAIL_ADDRESS>wrote:

You can simply add a new theme in jquery.range.less file. For an example
you can see existing .theme-blue and .theme-green
—
Reply to this email directly or view it on GitHub
https://github.com/nitinhayaran/jRange/issues/13#issuecomment-70808821.

Well less is CSS pre-processor, it needs to be compiled to .css file. You won't have to do it manually.
to know more checkout http://lesscss.org/

Thanks Nitin,
LESS is very interesting. I will try to use it in future.
I want to disable slider so that it cannot be moved around with isRange: true.
if you can please help.

On 21 Jan 2015, at 9:13 pm, Nitin Hayaran<EMAIL_ADDRESS>wrote:
Well less is CSS pre-processor, it needs to be compiled to .css file. You won't have to do it manually.
to know more checkout http://lesscss.org/ http://lesscss.org/
—
Reply to this email directly or view it on GitHub https://github.com/nitinhayaran/jRange/issues/13#issuecomment-70817061.

So you'd like to disable to slider, that means it will be only for representational purposes. User won't be able to interact with it.
Currently this feature is not there, I'd add it in future releases.

Just to let you know I have added functionality to disable the slider.


Icons not shown

react-native, react and native-base version
react: 16.0.0-alpha.12
react-native: 0.47
native-base: 2.3.2
Expected behaviour
An icon should be shown when I use <Icon name="menu">
Actual behaviour
A substitute icon is shown.
Steps to reproduce (code snippet or screenshot)

The full source code is
export default class App extends React.Component {
    render() {
        return (
            <Container>
                <Header>
                    <Left>
                        <Button transparent>
                            <Icon name="home" />
                        </Button>
                    </Left>
                    <Body>
                        <Title>Termine</Title>
                    </Body>
                </Header>
                <Content>
                    <Text>Appointments...</Text>
                </Content>
            </Container>
        );
    }
}

Is the bug present in both ios and android or in any one of them?
At least on an Android device...

I tried the above code on the versions specified by you. But the home icon was displaying properly. Can you check these issues #76 & #138

@aloifolia You need to link the icons. run react-native link or react-native link react-native-vector-icons

set type attribute depend on Bundled Icon Sets(list below)
Example
Bundled Icon Sets
Entypo
EvilIcons
Feather
FontAwesome
Foundation
Ionicons
MaterialIcons
MaterialCommunityIcons
Octicons
Zocial
SimpleLineIcons
Nativebase use: react-native-vector-icons
See full docs here: https://github.com/oblador/react-native-vector-icons


Eddystone

Please add support for Eddystone protocol.
https://github.com/google/eddystone

Hi, recently we've added Eddystone support to nRF Master Control Panel app, where you can scan and read data. In nRF Beacon I'd use the Nearby API, I suppose. I'm not quite sure yet what are the features of this API. I think it's a matter of time before we will add it.

Please add support for configuration mode of Eddystone.

https://github.com/google/eddystone/blob/master/eddystone-url/docs/config-service-spec.md
https://github.com/google/eddystone/tree/master/eddystone-uid

Before we modify the nRF Beacon app you may use nRF Master Control Panel app. In order to assign a shortened URL we recommend using the Physical Web application which does it automatically.

Thank you for info

Will this allow me to make my generic beacons compatible with Eddystone?

hi has this been addressed in this app yet? Or are we to use the nRF Beacon for Eddystone app?

@nicholasalevras @purirohan Hi as of now this app will not support the eddystone configuration. Please use the nRf Beacon for Eddystone app for configuring eddystone beacons.


[RFC] restructure the layout of the source code

All source code moved to ./src (including include files)
Move bulk of the implementation into a ./lib directory
Move all test files under ./test
Remove some un-used files
Other minor tweaks like

/ping @ijc @avsm

I don't really expect this sort of thing to be reviewable but I had a poke through:
git fetch origin
git fetch origin pull/65/head
git diff -C -M origin/master FETCH_HEAD
git diff --stat -C -M origin/master FETCH_HEAD
gitk origin/master..FETCH_HEAD

Looks like src: move the bulk of the source code into ./src/lib also stripped some trailing whitespace, hopefully no actual semantic changes mixed in, but I wasn't about to actually read the diff to acpitbl.c ;-). Likewise src: move include files into ./src.
FWIW I tend to use build/opam as my local private opam, but I gather opam2 will pickup .opam automatically, so that's clearly a better choice in the long run.
Is dsdt.asl (secretly, and manually) the source to a bunch of the hard coded tables in acpitbl.c? I'm not really sure.
Anyway, nothing blocking here, so LGTM

ah, my git config has:
[apply]
    whitespace = fix

and must have fixed them up. I just reviewed the changes and they all look fine.
As for dsdt.asl I couldn't find any reference in the source. acpitbl.c was introduced with this patch. The commit suggests that with bhyve the DSDT is generated on  the fly on VM start (using iasl) and the patch introduced minimal mostly hard-coded tables. So we should be fine.

rebased onto #66


Make io.js work

Fixes #133

wohoo! Thx a lot!

@achambers can anyone cut a new release of this with the fix. I'd really love to deploy my app :+1:

Sure thing @cibernox. I'm in Spain at the moment but can do it next week
when I'm back. Otherwise, maybe @LevelBossMike can do it before then if you
need it urgently. It's definitely time for a release.
On Fri, 12 Jun 2015 at 16:35 Miguel Camba<EMAIL_ADDRESS>wrote:

@achambers https://github.com/achambers can anyone cut a new release of
this with the fix. I'd really love to deploy my app [image: :+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/ember-cli/ember-cli-deploy/pull/146#issuecomment-111513984
.

@achambers Lucky you! Eat properly on my behalf!

@cibernox I'll do the release this weekend. most likely today. thx for the ping.

@cibernox 0.4.2 has just been released to npm.

Thx. I was using it already from master and I confirm that works for me


Add Diaspora social media share Button.

Sharing buttons are now available only for proprietary and centralised social media, be able to have same kind of buttons for alternatives such as diaspora would be a nice improvement.

The social buttons come from the parent theme, Bootstrap Darkroom. I could add extra buttons here, but a) the config would get confusing, and b) sharing to diaspora in that case requires more than just a simple API-URL call, and therefore goes way beyond the scope of a simple social button. It would require a separate plugin.
Closing as wontfix.

See https://github.com/tkuther/piwigo-bootstrap-darkroom/wiki/Add-custom-share-buttons


Time picker is no longer there

These docs refer to a Time Picker, but that doesn't seem to show within the Azure portal :(

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

ID: c84c297e-d371-a8fe-416e-147b152d48d4
Version Independent ID: 1a46ae57-0d71-ba2c-fe71-f8bb2024e1ce
Content: Get Started with queries in Azure Log Analytics
Content Source: articles/log-analytics/query-language/get-started-queries.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

@RowlandShaw
Thanks for the feedback! We are currently investigating and will update you shortly.

@bwren I confirmed I don't see the picker as it exists in the screenshot, could you take a look?
https://docs.microsoft.com/en-us/azure/log-analytics/query-language/get-started-queries?toc=/azure/azure-monitor/toc.json#specify-a-time-range

It's next to the Run button.  Looks different, but it's still there.  We know that we're behind on updating screenshots, but this is on our list.

#please-close


Change background color

Please provide a way to change the bg color of Navbar!

will give in future

@agostinhodev please install 5.0.1 you can use CSS variables to change the main color, text color and main foreground color


Get rid of paramExists and headerExists endpoints

I'm not sure if these two endpoints are used by anybody so please speak up if your app relies on them.
These *exists endpoints complicate the evaluating logic quite significantly and, moreover, I'm not sure they promote a reasonable pattern. In my mind's eyes, paramOption and headerOption are better suited to handle optional values and the routing/matching should purely depend on the verb + path value.

I need to check whether we use the *exists methods and agree that the *Option methods are more functional.
However, why should routing only be done on method+path? It is powerful to be able to route to different endpoints based header values or the existence of a parameter.

@spockz Right. I'm just not sure routing by header/param is neither something people do - nor should be available out of the box. These are quite easy to implement in an ad-hoc manner yet they complicate lots of internal machinery when built in.

@vkostyukov I’m confused. If it is easy to implement as an endpoint by a application developer using finch without diving into internals, how can it complicate internals? Can’t we just offer that implementation the application developer would make?

I hear what you're saying. I'd be fine with decoupling those *Exist endpoints from the rest of the hierarchy I'm just not sure if it's worth it. I asked around on the Gitter channel and based on positive votes on this ticket, I think we're safe to remove them.
As a middle ground, I'd be open for a cookbook recipe that explains how to implement such endpoints. In my minds eyes, this would be way more valuable as it also educates users on a topic.


🚀 Feature: Add TechDocs button to the Group profile page

🔖 Feature description
We've got the TechDocs button on the catalog entity pages but we'd like to add it to the Group page as well.
🎤 Context
Our teams would like to maintain documentation pertaining to the team instead of keeping it somewhere else like Sharepoint.
✌ Possible Implementation
Is there a way to customize our local instance to add it there without fully forking the EntityGroupProfileCard?
I'm on v1.18.3 but looked through all the later changelogs and it doesn't seem like this was added.
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Hi @awanlin, Is there anyone working on this? If not, I'd like to give it a try.


refactor, chore(egen): Replaces K80 GPU with T4, kfp and tensorflow versoin updates, pre-built Docker container image for training and prediction update, other corrections from template

This PR consists of the following updates:

Replaces K80 GPU with Tesla T4 GPU.
Updates kfp to 2.7.0 and tensorflow to 2.15.1
Updates pre-built Docker container image for training and prediction to 2.13
Refactors the notebook according to the notebook template (removes boilerplate elements, renames REGION with LOCATION and re-structures the sections).
Adds link for Colab enterprise.
Removes the usage of future tense(will) according to the guidelines.
Cleans up the intermediates files created.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

/gcbrun

/gcbrun

/gcbrun


[Bug][starrocks] failed when run starrocks tasks: cached plan must not change result type

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
It report an error of cached plan must not change result type (SQLSTATE 0A000) when I using starrocks plugin to sync data from pg to starrocks.
What you expected to happen
Should not cause an error.
How to reproduce

Setup devlake with a new postgres database and a starrocks service.
Create pipeline with following plans:

{
    "name": "sync to starrocks",
    "plan": [
        [
            {
                "plugin": "starrocks",
                "options": {
                    "host": "starrocks-fe",
                    "port": 9030,
                    "user": "root",
                    "be_port": 8040,
                    "be_host": "starrocks-be",
                    "database": "lake",
                    "password": "password",
                    "batch_size": 10000,
                    "tables": [
                        "^[a-zA-Z].+$"
                    ]
                }
            }
        ]
    ]
}

Anything else
log
Version

Build based on release-v0.14 branch

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

starrocks the way of alter table need to update at func loadData().
such as the way of jira plugin:
https://github.com/apache/incubator-devlake/blob/main/plugins/jira/models/migrationscripts/20220716_add_init_tables.go
starrocks the way of alter table need to update at func loadData().
such as the way of jira plugin:
https://github.com/apache/incubator-devlake/blob/main/plugins/jira/models/migrationscripts/20220716_add_init_tables.go


Improve documentation of backend package

This adds some docstrings and explanations for the backend package.
Fixes #336

Not even a typo :+1:


Bullet damage dropoff - Range

A modifier that affects damageXunit

@timmybo5 Has this been implemented yet?

Not yet so busy atm, if you want to provide an implementation with a PR feel free :)


Add CMakelists

The CMake support is still in development. For more information, see mbed-os/cmake/README.md
Following ARMmbed/mbed-os#13566

https://github.com/ARMmbed/mbed-os-example-lorawan/pull/197

@paul-szczepanek-arm I assume this still can be merged or not anymore? If yes, this is ready to be squashed and merged.


About squared

Why the code at line 34 in  triplet_loss.py is "if not Squared"?
Should it be "if Squared", for the following codes are to calculate the squared euclidean distance matrix?

Oh, get it. It is my mistake. it is "Square" not "Square root".
Sorry to bother.


Medium Cryptic clue highlights all barbarians, not just males

The Medium Cryptic clue "The dead, red dragon watches over this chest. He must really dig the view" requires the player to kill a male barbarian to obtain the key, but the plugin incorrectly highlights all barbarians, including females.

Not fixable at the plugin's current state, as it uses npc names and not npc ids.

If desired, current names could be migrated by allowing both IDs and names until the names have been converted to IDs. Otherwise this might look like a big task.

when highlighting the npcs you could ignore those with the female IDs when this clue is active though this is probably not a clean solution and the hintarrow can still point at them.

This particular clue is no longer problematic as Jagex has updated it to drop the key from barbarians of either gender:

To coincide with the above change, Barbarian Village inhabitants of any gender can now drop Clue Keys - hurrah!

The more general issue of the clue scroll plugin highlighting the wrong NPCs (which have the same name), we'll continue tracking this in #5231.


Parameters: [authProviders,....] must have values |  after adding Admin UI

Before opening, please confirm:

[X] I have searched for duplicate or closed issues and discussions.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

JavaScript Framework
React
Amplify APIs
Authentication, GraphQL API, DataStore
Amplify Categories
auth, api
Environment information

  System:
    OS: macOS 11.3.1
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 140.09 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
    Yarn: 1.22.5 - ~/.yarn/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
  Browsers:
    Chrome: 90.0.4430.212
    Firefox: 87.0
    Safari: 14.1
  npmPackages:
    @testing-library/jest-dom: ^5.11.4 => 5.12.0
    @testing-library/react: ^11.1.0 => 11.2.6
    @testing-library/user-event: ^12.1.10 => 12.8.3
    @types/jest: ^26.0.23 => 26.0.23
    @types/node: ^15.0.2 => 15.0.2 (14.14.31)
    @types/react: ^17.0.5 => 17.0.5
    @types/react-dom: ^17.0.3 => 17.0.3
    @types/react-router-dom: ^5.1.7 => 5.1.7
    antd: ^4.15.4 => 4.15.4
    aws-amplify: ^3.4.0 => 3.4.0
    aws-amplify-react: ^4.2.32 => 4.2.32
    date-fns: ^2.21.3 => 2.21.3 (2.21.2)
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    react-router-dom: ^5.2.0 => 5.2.0
    react-scripts: 4.0.3 => 4.0.3
    typescript: ^4.2.4 => 4.2.4
    web-vitals: ^1.0.1 => 1.1.2
  npmGlobalPackages:
    @aws-amplify/cli: 4.51.0
    @sanity/cli: 2.1.0
    aws-launcher: 1.0.2
    npm: 6.13.4
    sourcemap-lookup: 0.0.5
    unimported: 1.4.0

Describe the bug
Since I added the Admin UI I am not able to push from the CLI. I did pull changes that were made after adding the Admin UI.
When initializing my project I added auth with Google Login and did provide the oauth client id + secret. The logs indicate that some configuration for Oauth seems to be missing.
Parameters: [authProviders, breakCircularDependency, thirdPartyAuth, adminQueries, userPoolGroups] must have values

Expected behavior
I would except a push with the CLI to succeed.
Reproduction steps
amplify push
Code Snippet
No response
Log output
Logs when running push

⠸ Updating resources in the cloud. This may take a few minutes...

UPDATE_IN_PROGRESS amplify-buka-dev-00426 AWS::CloudFormation::Stack Sun May 16 2021 10:17:51 GMT+0100 (Western European Summer Time) User Initiated
UPDATE_IN_PROGRESS authbukaa486502b       AWS::CloudFormation::Stack Sun May 16 2021 10:17:56 GMT+0100 (Western European Summer Time)
UPDATE_FAILED      authbukaa486502b       AWS::CloudFormation::Stack Sun May 16 2021 10:17:57 GMT+0100 (Western European Summer Time) Parameters: [authProviders, breakCircularDependency, thirdPartyAuth, adminQueries, userPoolGroups] must have values
⠸ Updating resources in the cloud. This may take a few minutes...

UPDATE_ROLLBACK_IN_PROGRESS amplify-buka-dev-00426 AWS::CloudFormation::Stack Sun May 16 2021 10:17:58 GMT+0100 (Western European Summer Time) The following resource(s) failed to update: [authbukaa486502b].
⠧ Updating resources in the cloud. This may take a few minutes...

UPDATE_COMPLETE authbukaa486502b AWS::CloudFormation::Stack Sun May 16 2021 10:18:03 GMT+0100 (Western European Summer Time)
⠦ Updating resources in the cloud. This may take a few minutes...

UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS amplify-buka-dev-00426 AWS::CloudFormation::Stack Sun May 16 2021 10:18:05 GMT+0100 (Western European Summer Time)
UPDATE_COMPLETE                              authbukaa486502b       AWS::CloudFormation::Stack Sun May 16 2021 10:18:06 GMT+0100 (Western European Summer Time)
UPDATE_ROLLBACK_COMPLETE                     amplify-buka-dev-00426 AWS::CloudFormation::Stack Sun May 16 2021 10:18:06 GMT+0100 (Western European Summer Time)
⠦ Updating resources in the cloud. This may take a few minutes...Error updating cloudformation stack
⠦ Updating resources in the cloud. This may take a few minutes...

aws-exports.js
/* eslint-disable */
// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.

const awsmobile = {
    "aws_project_region": "eu-central-1",
    "aws_cognito_identity_pool_id": "eu-central-1:fda85d32-dd61-4e1e-9c19-839573480cd0",
    "aws_cognito_region": "eu-central-1",
    "aws_user_pools_id": "eu-central-1_jj9rMK3BS",
    "aws_user_pools_web_client_id": "keffujaphvpfc48prunjoh96k",
    "oauth": {
        "domain": "bukaa486502b-a486502b-dev.auth.eu-central-1.amazoncognito.com",
        "scope": [
            "phone",
            "email",
            "openid",
            "profile",
            "aws.cognito.signin.user.admin"
        ],
        "redirectSignIn": "http://localhost:3000/",
        "redirectSignOut": "http://localhost:3000/",
        "responseType": "code"
    },
    "federationTarget": "COGNITO_USER_POOLS",
    "aws_appsync_graphqlEndpoint": "https://52gvze67fbc45o4kfl6fsa3wdy.appsync-api.eu-central-1.amazonaws.com/graphql",
    "aws_appsync_region": "eu-central-1",
    "aws_appsync_authenticationType": "AMAZON_COGNITO_USER_POOLS"
};

export default awsmobile;

Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response

@KeKs0r Can you email us your email us your amplify folder to<EMAIL_ADDRESS>To get you unblocked can you go through the auth configuration once more to make sure the appropriate parameters are written the parameter.json file

I also had issues, just updated to 4.51.0 and its resolved in my case.

@ammarkarachi I sent the files via email.

I also had issues, just updated to 4.51.0 and its resolved in my case.
I am already on 4.51.0  and the error still occurs

@KeKs0r Thanks got it!

@KeKs0r we just released a new version. Can you run an update auth and try pushing?

@ammarkarachi Thanks a lot that seemed to work.


Fix put_file when the server returns a redirect

I believe this fix only applies to tails file uploads at the moment. Previously, aiohttp would encounter an error because it closed the tails file after the first attempt.

I assume this addresses #1807 ? @frostyfrog , can you please take a look?
Looks like some tests are failing.

@swcurran  No, it doesn't fix that issue.


OpenGL error in Raspberry Pi 4B with tensorflow lite c++

System information

Raspberry Pi 4B 8GB
Tensorflow Lite v2.9.3
OpenGL 3.1

Standalone code to reproduce the issue
I insert delegate code in example code in Raspberry Pi 4B.
I also execute cmake .. -DTFLITE_ENABLE_GPU=ON on examples.
It can not find openGL in compile and occurs errors like below.
But OpenGL run well in other application.
How Can I use OpenGL with tensorflow lite in Raspberry Pi 4?
Any other info / logs
INFO: Created TensorFlow Lite delegate for GPU.
ERROR: clGetPlatformIDs returned -1001
ERROR: Falling back to OpenGL
ERROR: TfLiteGpuDelegate Init: OpenGL-based API disabled
INFO: Created 0 GPU delegate kernels.
ERROR: TfLiteGpuDelegate Prepare: delegate is not initialized
ERROR: Node number 1 (TfLiteGpuDelegateV2) failed to prepare.
ERROR: Restored original execution plan after delegate application failure.
Error at /home/user/workspace/minimal.cc:94

Hi @ww5862, have you tried the minimal example without any changes first? What happens in that case? Also please share your changes to the example code and the exact commands before your cmake command as well as the full cmake command. Thanks.

Thank you for reply.
I solve this problem with compile with bazel instead of cmake.
Thank you.

Hi @ww5862, awesome thanks -- if you have no more open items, please feel free to close the issue.


Add ddpg example

Hi,
I've added an example for ddpg.
I had to make a couple of changes so that it works with the pendulum environment which can probably be improved and I am very open to suggestions on that.
I hope that this is helpful to someone!
All the best,
Ben

That's a very nice addition, thanks for the PR. The code looks quite good to me (and the changes to Step are very reasonable).


GLB import albedo texture uses sRGB space for Windows export but linear space for HTML export (GLES3)

Godot version
3.4.4
System information
Windows 10
Issue description
I have a GLB model with an albedo texture.  For the GLB import, I have chosen Material Storage: Built-In.  When I export for Windows (or run in the editor) the albedo texture uses sRGB color space, but when I export for HTML the albedo texture uses linear color space.

Both of the above images use the texture below, which has a white/black checkboard pattern on half, and an 0.5 grey value on the other half.  In linear space they will appear to be the same brightness, but in sRGB space they will not.

Steps to reproduce
Import a GLB model with an albedo texture.  Don't change the material.  Notice that the Windows editor and Windows export interpret color values in the albedo texture as sRGB, regardless of the 'sRGB' checkbox being unchecked in the material's albedo texture.  Notice that the Web export will interpret the color values in the albedo texture as linear, because the 'sRGB' checkbox in the material's albedo texture is unchecked.
Minimal reproduction project
srgb_vs_linear.zip

Note that using GLES3 on HTML5 is not recommended due to long shader compilation times on some browsers. It's recommended to switch to the GLES2 renderer instead.

Note that using GLES3 on HTML5 is not recommended due to long shader compilation times on some browsers. It's recommended to switch to the GLES2 renderer instead.

Duly noted.  However, in the project where I encountered this issue originally, GLES2 was not possible due to needing texture atlasing from BakedLightmap.

Godot does not implement the gles3 srgb extension. See also https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB
I explored this but didn't get to the result. https://github.com/V-Sekai/godot/commits/web-srgb

Godot does not implement the gles3 srgb extension.

I don't know the Godot WebGL code, but I don't think that is the issue here.
Some additional information is that if I check the 'sRGB' checkbox on the albedo texture, the HTML5 and Windows exports have matching behavior, because then the HTML5 imports the albedo texture as 'sRGB' .  See image below.

From my viewpoint, it seems like the Windows build is in error by ignoring that 'sRGB' checkbox, and the HTML5 build is actually doing the right thing.
As a second issue, I believe the default value for that 'sRGB' checkbox should be True.  Albedo textures are usually stored on-disk as sRGB, not linear.  It is just the case today that nobody notices it is wrong, because the editor and Windows export ignore the checkbox and happily load the albedo texture as sRGB anyway.

Can you test this in Firefox? This could be related to https://github.com/godotengine/godot/issues/34062.

The result is the same in Chrome and Firefox.

To make it even more clear why I think it is the native / windows export / editor that is in error, I have created a texture where the word 'sRGB' will be shown when displayed in sRGB color space and the word 'Linear' will be shown when displayed in linear space:

Notice that the Godot editor is actually inconsistent about which space textures are displayed as in the UI:

When I change the 'sRGB' setting indicated, you can observe the behavior of the GLES3 HTML export actually change!  This is what I expect.
HTML export set to Linear:

HTML export set to sRGB:

However, when changing this setting and exporting a native Windows build, you see there is no different in display.
Windows export set to Linear:

Windows export set to sRGB:

Here is the project using this texture.  I hope that it is helpful and clear:
color_space.zip

Notice that the Godot editor is actually inconsistent about which space textures are displayed as in the UI:

Godot expects sRGB textures for 2D rendering and linear for 3D rendering. Therefore, the previews will look wrong for textures that are used in 3D.

This is still an issue with the 4.0 release.


Fix typo (double _)

Fix typo (double _). Delimiter between name and date is one _ char.
fixes #67

Stumbled about this issue and was glad that @slavonnet has proposed a bugfix.
I have applied his patch locally and can confirm that with RHV 4.4.10 it does address the issue mentioned in #67


Expression must be a value expression but is a method expression plugins.xhtml

In file plugins.xhtml eclipe IDE throughts an error "Expression must be a value expression but is a method expression	in plugins.xhtml"
<h:commandLink rendered="#{pluginsMBean.isActive(plugin)}" action="#{pluginsMBean.disable(plugin)}">Disable</h:commandLink>"

Putting parenthesis around the expression evaluates the method and then checks for null or empty.
<h:commandLink rendered="#{(pluginsMBean.isActive(plugin))}" action="#{(pluginsMBean.disable(plugin))}">Disable</h:commandLink>"

Pushed.


1.8.0 is too slow

npm version: 2.13.2

npm install<EMAIL_ADDRESS>docker tag:1.7
Error:

node ./lib/preinstall_npmcheck.js
Sails.js Installation: Checking npm-version successful
npm WARN deprecated<EMAIL_ADDRESS>use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
npm WARN deprecated<EMAIL_ADDRESS>DEPRECATED. See readme: https://github.com/gruntjs/grunt-lib-contrib
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible.  Linux 3.13.0-93-generic
npm ERR! argv "/usr/bin/iojs" "/usr/bin/npm" "install"<EMAIL_ADDRESS>npm ERR! node v2.5.0
npm ERR! npm  v2.13.2
npm ERR! fetch failed with status code 404

update docker
docker tag:1.8
npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>27.87s user 4.64s system 13% cpu 4:01.94 total

@langri-sha 1.8.0 slower than 1.7.0 too much

May be my network had an impact on the speed.
However, I still can't install<EMAIL_ADDRESS>in 1.7.0

I'll try updating to a newer release and switching over to Alpine Linux to bring resource usage down. In the meantime, I wish I had better advice, but try cleaning out containers, images and volumes that aren't being used anymore.

@langri-sha Any updates on this? Having an alpine variant would be great!


bug: lacework agent list percentage counter infinitely increases.

Describe the bug
When running lacework agent list the percentage counter continuously increases without returning any response
lacework agent list
/ Fetching list of agents [1000%]...

# few mins later
| Fetching list of agents [1127%]...

Expected behavior
I'd expect this counter to be relative to the total number of requests it needs to make, but it seems like that isn't the case.
Please complete the following information):

Operating System

ProductName:	macOS
ProductVersion:	12.3.1
BuildVersion:	         21E258

Lacework CLI version

lacework v0.35.1 (sha:03b51e125c6acc1ac3b7927bac71e9bff1702878) (time:20220610160628)

@getsec we apologize for the inconveniences, we are having issues with our backend service that handles pagination, we are actively working on a fix and we will notify you as soon as this gets resolved.

https://lacework.atlassian.net/browse/RAIN-32963
https://lacework.atlassian.net/browse/SEV-1310

@getsec we have fixed the problem in our last deployment, I have verified that there is no infinite loop myself, I am going to close this issue but if you experience something different, please feel free to reopen it.
Thank you for your patience!! 💯

@afiune Sorry for the late reply - After running again - it looks all good!


#162 - twister

This has overlap with Communist Manifesto (some of the reveal->board transitions).
Also, there is a Javascript bug when more than two cards are revealed from your score pile.  If you refresh the page, the cards are in the reveal area though.

Okay I rebased this with the latest version of main-dev (which included the Communist Manifesto changes), so before you continue working on this branch, you need to git pull first.
So in your proposed implementation, you are getting the player to select a color and then getting them to meld a card of that color. What do you think of doing this in one step instead of two? For the first card we meld, we let the player choose any color, and then for succeeding melds, we reduce the colors that they are allowed to choose.
What do you think of this idea? If you like it, I will add support to the 'color' option to work in this situation (right now the 'color' option is only used for choosing colors, not choosing cards).

I think that's a brilliant idea.  Much simpler.
Do we need to add anything?  We could even return the cards to the score pile you can't choose from (i.e. the colors that have been chosen already) so its not as confusing.

Alternatively, the user could choose a color, reveal just those colors and then choose from one of them.
That might limit the number of cards that need to be shown at a time (it could be a lot).

Okay, for simplicity, how about we reveal all cards from the score pile, and then each time the player chooses a color, we return the other cards of that color.
Please leave a TODO to improve this once we have a mechanism to dump out a list of cards to the log. I think that will be a better long-term solution. But it will also involve us adding support for filtering the cards by their color (which will be relatively easy to do).
How does that sound to you?

Sounds good.

Much simpler now!


DIGITS Torch not recognizing CuDNN or NCCL

I'm getting the following warnings when running a torch model training job via DIGITS:
2016-10-20 16:04:57 [20161020-160446-8964] [WARNING] Train Torch Model unrecognized output: Using CuDNN backend
2016-10-20 16:04:57 [20161020-160446-8964] [WARNING] Train Torch Model unrecognized output: warning: could not load nccl, falling back to default communication

I'm concerned, because I believe both CuDNN and NCCL will greatly speed up large jobs.
Background:  I have installed and compiled Caffe 0.14.0-rc.3 with NCCL and CUDNN flags on.  I am using DIGITS 5.0.0-rc.1.  I have run sudo luarocks install cudnn, and have installed the appropriate NCCL, following all instructions on https://github.com/NVIDIA/nccl.  I have installed CUDA 7.5.

It looks like you are already using cuDNN.
Did you install the Torch bindings for nccl?

luarocks install "https://raw.githubusercontent.com/ngimel/nccl.torch/master/nccl-scm-1.rockspec"
https://github.com/NVIDIA/DIGITS/blob/digits-5.0/docs/BuildTorch.md#extra-dependencies

Thank you for pointing me to the additional nccl torch bindings -- that solved the loading problem.
I took unrecognized output:  Using CuDNN backend to mean that DIGITS did not recognize CUDNN, and that therefore, CUDNN was not being used.  Am I misreading that line?

Note: I have libcudnn.so.5 in /usr/local/cuda/lib64, which is in my LD_LIBRARY_PATH.

I took unrecognized output: Using CuDNN backend to mean that DIGITS did not recognize CUDNN, and that therefore, CUDNN was not being used. Am I misreading that line?

Yes, you're misreading it. But I don't blame you because it's confusing :confused:
Torch is printing a little message telling you that it's using cuDNN. Then DIGITS parses the Torch output and looks for messages it recognizes like "loss = 2.0". We haven't added that message as an expected output, so we just print it in the log in case it's important.

That is very funny!  Thanks for explaining, @lukeyeager.


[Graph C API] Updating warning messages

This PR is a patch for Modular TensorFlow Graph C API.
It continues https://github.com/tensorflow/tensorflow/pull/47969 which was reverted.

Hi @penpornk @ezhulenev, please help to have a review. Thanks!

@Nirzak thanks for taking time to approve , please avoid reviewing PRs which are not assigned you as a reviewer , thank you so much.
cc @mihaimaruseac

@penpornk Any update on this PR? Please. Thanks!


[#5669] Cleanup HBaseTables class

cleanup for collector module

Codecov Report

Merging #5694 into master will decrease coverage by <.01%.
The diff coverage is 5.06%.

@@            Coverage Diff             @@
##           master    #5694      +/-   ##
==========================================
- Coverage   40.59%   40.58%   -0.01%
==========================================
  Files        2909     2910       +1
  Lines       87444    87474      +30
  Branches    11550    11550
==========================================
+ Hits        35497    35503       +6
- Misses      48872    48894      +22
- Partials     3075     3077       +2

Impacted Files
Coverage Δ

...collector/dao/hbase/stat/HbaseDirectBufferDao.java
0% <0%> (ø)
:arrow_up:

...nt/collector/dao/hbase/HbaseAgentLifeCycleDao.java
0% <0%> (ø)
:arrow_up:

...pinpoint/collector/dao/hbase/AbstractHbaseDao.java
0% <0%> (ø)

...npoint/collector/dao/hbase/HbaseAgentEventDao.java
0% <0%> (ø)
:arrow_up:

.../collector/dao/hbase/stat/HbaseTransactionDao.java
0% <0%> (ø)
:arrow_up:

...inpoint/collector/dao/hbase/HbaseAgentInfoDao.java
0% <0%> (ø)
:arrow_up:

...llector/dao/hbase/HbaseMapStatisticsCalleeDao.java
15.9% <0%> (-0.76%)
:arrow_down:

...or/dao/hbase/stat/HbaseDeadlockThreadCountDao.java
0% <0%> (ø)
:arrow_up:

...oint/collector/dao/hbase/stat/HbaseCpuLoadDao.java
0% <0%> (ø)
:arrow_up:

...nt/collector/dao/hbase/HbaseStringMetaDataDao.java
0% <0%> (ø)
:arrow_up:

... and 32 more

Continue to review full report at Codecov.

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


[staging] python3Packages.lxml: 4.4.1 -> 4.4.2

Motivation for this change
bumping packages I maintain
Things done

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

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

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

Notify maintainers
cc @

@GrahamcOfBorg build pythonPackages.lxml python3Packages.lxml python38Packages.lxml

staging-next landed in master, merging