Razer Ornata not working

Hey,
i just bought Razer Ornata keyboard today and i went str8 up to Aurora webpage to download the software (and razer synapse one aswell). I installed it and open up a dying light from my steam account. I got no effects in game. Upon further inspection i noticed that in Aurora device manager Razer is listed as "not initialized".. I was looking for help in Aurora discord where i got a beta build link... i tried beta version and it still doesnt work... Any help?
Expected Behaviour
Starting up Aurora, connecting keyboard, opening game and having the effects work
Actual Behaviour
No effects in games
Reproduction steps
starting up Aurora
Frequency
Everytime
Aurora Version:
beta v0.8.1 +173
Previously an Issue?
New user
2021-12-29 20.35.21.log

I can't add anything to my chroma ornata either, even simple lightning and syncing with razer studio is impossible, it says it is installed but on trying to start it it does nothing

Even after trying to force start, refreshing, disable and enable again, refreshing, but still nothing.

I see a similiar issue.  The Chroma App installation apparently stops working on version of the Chroma SDK 3.25.01 and shows what @hugoalves6 has captured in their screen cap.  If you uninstall and reinstall Aurora, it simply can't initialize the Chroma SDK session (And in some instances, causes it to lock up).  It appears that Aurora can detect it and connect to it, but it can't initialize the connection.  When I look at the logs, I see this error every time I try to get it to connect to Chroma
[ERROR] 20:45:52: Razer device, Exception! Message:System.NullReferenceException: Object reference not set to an instance of an object.
at System.Object.GetType()
at Corale.Colore.Core.RegistryHelper.IsSdkAvailable()
at Aurora.Devices.Razer.RazerDevice.Initialize() in C:\projects\aurora\Project-Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 60

Same story here, on a Huntsman TKL on Windows 10. I likewise do not have the mentioned project folder. I had Aurora working on my previous keyboard, which was a Logitech G813. Aurora detects Synapse version 3.27.3 but is "Disabled", and I get the above-referenced error if I try to hit the "Start" button in Device Manager.

This repository is no longer maintained. Get the more modern version here:
https://github.com/Aurora-RGB/Aurora
Also the screenshot is "Chroma Grabber". It is related to getting keyboard data provided by games and the top "Disabled" is mostly fine.


add initial sticker images

https://maryshi.ro/ - done
https://thestickerarchive.tumblr.com/

T-Shirts: https://gitlab.com/XenGi/c_neidi-files/-/tree/master (MIT)

https://github.com/irimi1/cyberwehr-aufkleber

@irimi1 mayb I add your cyberwehr images? And what license to you prefer? (CC0-1.0?)

https://github.com/rixx/sticker

https://github.com/SFTtech/sticker

@irimi1 may I add your cyberwehr images? And what license to you prefer? (CC0-1.0?)

Yes please do, I don’t think the "Unlicense" (basically public domain) conflicts with CC0, so it should be fine.
You can also what I keep at https://git.sr.ht/~irimi1/stickers :)
I think I’ll use this opportunity to make a public domain compatible version of my "tuwat" sticker (with an open font): https://irimi.one/stickers/labernich/
I’ll let you know when I’m done :)

@irimi1 Awesome! I will add it later.
"Unlicense" is fine.

I added most of my designs already. Not all of them are “nerd stickers” though, feel free to choose yourself :)

My alias includes the 1 btw ;)

@irimi1 sorry about that. I will correct it.

@mwarning no worries, thanks <3


Better error handling

Badly formatted .cigar files cause errors. Fix.

Using preg_split in the parser instead now.


Release: NWPS-1645 - Cards width mobile bug

@smanivasag @FranciscoRuizHEE @sankar-shunmuga here is the fix for the tablet width bugs for hee-card components.
Thanks!

As discussed with @smanivasag, this will no longer be merged in with the tech debt work :+1:


Add RSS feed to this site

[Enter feedback here]
Several users have requested that add RSS feed to this site.
Is it possible to add RSS feed as like following site?
https://learn.microsoft.com/en-us/defender-for-identity/whats-new

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

ID: 89486ebd-f4fa-9d07-ee93-d04fd8d41027
Version Independent ID: 667019d9-aac6-f466-1605-651a800fc212
Content: What's new in Microsoft Purview risk and compliance solutions - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/whats-new.md
Service: o365-seccomp
GitHub Login: @robmazz
Microsoft Alias: robmazz

@robmazz Please help us in resolving this issue. Thanks

Hello, any update for this issue?

@kk-koji Thanks for your feedback! New issues and pull requests for this content are closed while we update this content to support upcoming feature improvements.


I need help creating a section

I have this:
index.php:
<?php require 'vendor/autoload.php'; $plantillas = new League\Plates\Engine('views'); $plantillas->addFolder('public', 'views/public'); echo $plantillas->render('public::header'); echo $plantillas->section('contenido'); ?>
views/public/header.php:
`

Hola esta es la plantilla

Hola
start('contenido'); ?>
Welcome!
stop(); ?>`
I get the following error:
Fatal error: Uncaught Error: Call to undefined method League\Plates\Engine::section() in C:\xampp\htdocs\plate\index.php:6 Stack trace: #0 {main} thrown in C:\xampp\htdocs\plate\index.php on line 6
Please help!

@mateoagudelo are you still having issues with this?

Closing this for now. If you still need help @mateoagudelo, please feel free to continue the discussion here.


Issue267 dummythermo

Add thermodynamics modules that do nothing.
This PR closes #267

As part of the dynamics integration and testing, we might want to run dynamics-only models, where the thermodynamics do nothing to the ongoing state of the ice.
Modules should be available so that the thermodynamics step does nothing to the state of the model, except for any ancillary data fields that might be necessary.

It looks fine ... except for the conflict, of course.


solo5-virtio-run fix for option passing

Reminder to cherry-pick aeb3af0 for 0.2.x.

There won't be another 0.2.x, so closing.


fix: export auth from connect

What this does
As discussed during a meeting today, we are going to export @stacks/auth from @stacks/connect so that people don't have to do this when building an app:
import { AppConfig, UserSession } from '@stacks/auth';
import { showConnect } from '@stacks/connect';

Instead, this is what devs can do:
import { AppConfig, UserSession, showConnect } from '@stacks/connect';

Previously we had it so you could import connect through @stacks/auth, but that created issues because tools like @stacks/cli and the Stacks Wallet depend on @stacks/auth but have no ability nor use of the connect related UI/dependencies.
This PR depends on a change in @stacks/auth, and once that is merged, we can merge this, and then merge this docs PR https://github.com/blockstack/docs/pull/945

Wait... so now @stacks/auth exports all of Connect, and Connect exports all of @stacks/auth. Also, Connect still uses blockstack.js under the hood. This is pretty messy.

Just to correct this:

@stacks/auth exports none of connect
@stacks/connect exports all of auth
@stacks/connect still uses blockstack.js under the hood, which it should not


Add custom eslint formatter

Replaces hacky code to format eslint errors by using custom loader.
I built this formatter on top of the default stylish formatter.
It omits warnings if there are any eslint errors as required in #2120 and errors and warnings looks the same as earlier.
Closes #2121

Any reason you closed?

While reformatting my code after testing I used absolute require in require ('formatter') instead of relative, like require('./formatter'). Trying to fix it without opening another pull request.

We probably don't want this formatter to live in react-scripts because we don't want to keep it in user code after ejecting. Let's move it to react-dev-utils?

Sure.

I have pushed to the branch I have sent pull request from. But the changes doesn't seem to be updated. Is it because I have closed the PR?
Sorry for the inconvenience, I am learning how this things work.

Yea, could you push to a new branch and open another PR please?

Okay doing it. Thanks.

See #2138


Remove Prisma Client specific env var section

Wasn't this just changed to load from only 1 specific location, but all the other ones still need to be done manually?


stdio.h error

Xilinx newbie, but I ran source  build_all.tcl and ended up with
Xilinx/Vivado_HLS/2016.1/include/etc/ap_int_sim.h:75:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^
1 error generated.
Failed checking during preprocessing.
    while executing
"source [lindex $::argv 1] "
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 { source [lindex $::argv 1] } "

child process exited abnormally

Is this just a C HDL thing.
Also in a new overlay build instance once I add the IP I have wrapped my HDL(verilog, ect.) code in to block design can I just throw down a ZYNQ IP block without making any modifications to the ZYNQ IP. And this is assuming that in the vivado project setup I specified the PYNQ-Z1 board files and added the PYNQ-Z1 constraint file.

This appears to be a problem with the Vivado environment which I've not seen before. Are you able to open Vivado HLS and create a design manually?

 Can you send me what TCL commands I need to have my Vivido project sent to you where I am doing the same workflow as the tutorial notebook Because I have had issues with generating the bitstream.
Thanks ahead of time for working on some tutorials for the fabric. Any work on lowering the learning curve/barrier to FPGA design work for the PYNQ are going to make it a game changer

HLS is included in the Webpack editions of Vivado so you should have access to it. What error are you getting when building the bitstream?

Finaily Got some time to get back to this
Started new HLS project , added the adder to project and specfied it as top cpp file
I run the sythn and ~Xilinx/Vivado_HLS/2016.1/include/ap_int.h:74
#include <stdio.h>

Could you just extract a Verilog file from HLs synth

Nevermind got it working. I am going to say three things:

if this helps me thank you
Always check an export like this on another machine
Over-abstraction is a bad thing. It's like math that doesn't show you have to calculate a number


codeql: 2.5.6 -> 2.5.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/github/codeql-cli-binaries/releases.
meta.description for codeql is: "Semantic code analysis engine"
meta.homepage for codeql is: "https://semmle.com/codeql"
meta.changelog for codeql is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/y1n6zsqz59bwsc76bb3893d2b3j9xxw5-codeql-2.5.7/bin/codeql passed the binary check.

0 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 2.5.7 with grep in /nix/store/y1n6zsqz59bwsc76bb3893d2b3j9xxw5-codeql-2.5.7

found 2.5.7 in filename of file in /nix/store/y1n6zsqz59bwsc76bb3893d2b3j9xxw5-codeql-2.5.7

directory tree listing: https://gist.github.com/fecd93770826c1a30fbdc884e9832e3f

du listing: https://gist.github.com/35ba025ee4a8631c9b292832c637920d

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

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
codeql

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y1n6zsqz59bwsc76bb3893d2b3j9xxw5-codeql-2.5.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y1n6zsqz59bwsc76bb3893d2b3j9xxw5-codeql-2.5.7
ls -la /nix/store/y1n6zsqz59bwsc76bb3893d2b3j9xxw5-codeql-2.5.7/bin

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

1 package built:

codeql

Maintainer pings
cc @jollheef for testing.

Result of nixpkgs-review pr 129202 at 0107c4d6 run on x86_64-linux 1

1 package built successfully:

codeql

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/tools/analysis/codeql/default.nix:42:3:
   |
42 |   installPhase = ''
   |   ^


RFTools Utility related dupe/deleting of items

So there i was playing ATM6, wanted to sort my inv (using inv tweaks) while i was in modular storage(rf tools) gui. I middle click
to sort, items from storage module got replaced with items in my inventory. As storage module was almost full (300 stacks) it deleted most of my items and module itself gave me half of inventory of ores also deleted storage module itself. When i tried to reproduce: if my inv isnt full it gives me items that were in storage module(if they all fit) including storage module, but doesnt remove items from module. So i get items to my inv and the same items are still in the module. Hope that covers it
Before sorting my inv

after i sorted

and ive put storage module back into modular storage

So inv tweaks is searching non player inventories and tries to sort them as player inv. Hope that helps to limit sorting to only player inventories.

The problem is that inventory tweaks is rearranging the storage module which is also part of this inventory but it shouldn't touch that. I'd like to figure out a way to resolve this


Fix for Netatalk's CNID database path issues

https://forum.openmediavault.org/index.php/Thread/17598-AFP-on-OMV3-crashing-all-system/?postID=150080#post150080
Proposed action: Wait until fixed upstream, then remove workarounds. I'll ping you when something happens.

Will be added so time to remove workarounds on our side since /var/lib/netatalk/CNID/ will be handled with next update of the flashmemory plugin :)

Yay!

https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-flashmemory/commit/a2e86978f31c41e80a4e41d545ef7d5824c18153 :)


Creation of dynamic property YiiRequirementChecker::$result is deprecated

Deprecated: Creation of dynamic property YiiRequirementChecker::$result is deprecated in /var/www/html/vendor/yiisoft/yii2/requirements/YiiRequirementChecker.php on line 77
What steps will reproduce the problem?
Run: http://localhost/requirements.php
What is the expected result?
All Ok
What do you get instead?

Additional info

Q
A

Yii version
2.0.47

PHP version
8.2

Operating system
Docker (library/php:8.2-fpm)

Property should be declared, yes.

Do you have time for a pull request?

seems to be fixed in 2.0.48

Indeed 👍🏻


remake constraints is not removing previous constraints

New Issue Checklist
🚫 If this template is not filled out your issue will be closed with no comment. 🚫

[X] I have looked at the Documentation
[X] I have read the F.A.Q.
[X] I have filled out this issue template.

Issue Info
Platform: iOS
Platform Version: 12.1.4
SnapKit Version: 4.2.0
Integration Method: cocoapods
Issue Description
I first make a view as such:
        expandableInfoView.snp.makeConstraints({make in
            make.bottom.equalToSuperview()
            make.left.right.equalToSuperview()
            make.height.equalTo(92)
        })

Later, there is a button the user can tap to expand this view.  Here is the code:
    @objc func willChangeState(){

        if state == .collapsed {
                state = .expanded
                self.expandableInfoView.snp.remakeConstraints({ make in
                    make.bottom.equalToSuperview()
                    make.left.right.equalToSuperview()
                    make.top.equalToSuperview().offset(42)
                })
                UIView.animate(withDuration: 0.8, animations: {
                    self.layoutIfNeeded()
                })
            }
       }

After doing this, the following conflict occurs:
<EMAIL_ADDRESS>Datt.ProfileCard:0x10eb9dac0.height == 566.0>",
<EMAIL_ADDRESS>UIView:0x1070d4800.bottom == Datt.ProfileCard:0x10eb9dac0.bottom>",
<EMAIL_ADDRESS>UIView:0x1070d4800.top == Datt.ProfileCard:0x10eb9dac0.top + 42.0>",
<EMAIL_ADDRESS>UIView:0x1070d4800.height == 92.0>"
So the mystery is, the height == 92 constraint was added in the initial layout.  According to SnapKit's documentation, remakeConstraints "will first remove all existing constraints installed by SnapKit".
So, why wasn't that removed before making the new constraints?
Additionally, I tried replacing .remakeConstraints with the following:
self.expandableInfoView.snp.removeConstraints()
self.expandableInfoView.snp.makeConstraints({ make in

Once again, I receive the same group of conflicting constraints with the height == 92 still existing.
EDIT: I have since updated to 5.0.1 and still see this behavior

I'm figuring out the same issue in SnapKit v5.0.1

I'm figuring out the same issue in SnapKit v5.0.1

@BossOz did you ever figure this out ?

I am also seeing this.

Same here. Any update on it?

Same here. Any news?

Same here. Any update?

Same here. Any update?

any update?

Has anyone found an update or workaround for this?

Any update for this? Having a very similar issue.

Same here. and I use view.snp.removeConstraints() and view.snp.makeConstraints() to instand of view.snp.remakeConstraints(), and sovled this warning issue.
Because remakeConstraints only remove the items within the block you passed in, it does not remove all previous constraints you added.
一样的问题. 我用view.snp.removeConstraints() 和 view.snp.makeConstraints() 替代了view.snp.remakeConstraints()解决了这个警告问题。
因为remakeConstraints 只会移除你传入的block包含的item，并不会移除之前所有添加的约束。
    // before make constraints
    gamePlayersView.snp.makeConstraints { make in
        make.top.left.right.equalTo(view)
        make.height.equalTo(360)
    }
    // after remake constraints, and the left constraints will not removed
    gamePlayersView.snp.remakeConstraints { make in
        make.right.equalTo(view)
        make.width.equalTo(70)
        make.bottom.equalTo(chatInputView.snp.top)
        make.top.equalTo(view).offset(8)
    }

    internal static func remakeConstraints(item: LayoutConstraintItem, closure: (_ make: ConstraintMaker) -> Void) {
        self.removeConstraints(item: item)
        self.makeConstraints(item: item, closure: closure)
    }

    internal static func removeConstraints(item: LayoutConstraintItem) {
        let constraints = item.constraints
        for constraint in constraints {
            constraint.deactivateIfNeeded()
        }
    }

I'm also having the same issue. The last version of the library was launched on 2019, and theres a bunch of pull requests with fixes open.. This library is extremely awesome and useful, but it's still being maintained?

我有一个发现。
// 会出现警告：类似 view1.top 和 view2.bottom 冲突之类的，但明明后面我有一句 view2.removeConstraints。
view1.remakeConstraints...
view2.removeConstraints...

// 不会出现警告
view2.removeConstraints...
view1.remakeConstraints...

根据上面的案例，我初步判断，这两句代码，总体上，如果一起执行完，是不会出现警告的。但如果先执行view1.remakeConstraints， view2 上面的约束还没去掉，这时候就造成冲突了，出现警告了。如果先执行view2.removeConstraints再执行view1.remakeConstraints，执行过程中都不会造成约束冲突。
所以，在重建约束的过程中，除了整体约束不冲突以外，还要保证任何执行单元在执行的过程中都不会造成冲突，这样就不会出现警告了。


Categories for products

use branch https://github.com/perminder-klair/gatsbyjs-ecommerce/tree/feature/categories

pull request found at https://github.com/perminder-klair/gatsbyjs-ecommerce/pull/21
merged


user_id and screen_name are optional for now

Solves #11
user_id and screen_name are optional until we implement a better solution in the future.

Merged  😎


Add integration tests for all the swagger generated SDKs

As we are constantly upgrading Flagr server, the client SDKs may experience unexpected changes from the server side. The integration tests should better include these SDKs instead of just simple CURL tests.
Specifically, we want to cover

https://github.com/checkr/jsflagr
https://github.com/checkr/rbflagr
https://github.com/checkr/pyflagr
https://github.com/checkr/goflagr

Hi @zhouzhuojie, I would like to work on this issue.


✨Contributed in README.md file

Added a section for Libraries used.

Hey @JOYBOY1O1
The most prominent libraries that are required are already listed in the Tech Stack section of Readme file and the full list with exact versions are already listed in the requirements.txt file.
Also, the section that you created for Discord Libraries are not really Libraries, rather classes and functions under the Discord library.
So unfortunately, I will not be able to merge your pull request.
Please create an issue first before making a PR next time so that you don't end up working on a redundant task.


Can't load Leaflet plugin using RequireJS

Hi, I need some help.
I am trying to load leaflet plugin using requirejs.
For example if I want to use the leaflet.AnimatedMarker, I do this:
require.config({
  paths: {
    'leaflet': './bower_components/leaflet-dist/leaflet',
    'leafletAnimatedMarker': './js/leaflet.AnimatedMarker/AnimatedMarker'
  },
  shim: {
    'leafletAnimatedMarker': {
        deps: ['leaflet'],
        exports: 'LeafletAnimatedMarker'
    }
  }
});

I use it in this way.
require(['leafletAnimatedMarker'],function(leafletAnimatedMarker)
{
  ...
});

If the code before is correct why it does not work.
When I verify if the plugin is loaded using console.log(leafletAnimatedMarker) is shows 'undefined' and I do not know if I'm doing something wrong or if leaflet do not support require yet.
Using the bower version - "leaflet-dist": "~0.7.2"

Hi @ssuarezbe. Thanks for using Leaflet!
However, this is an issue tracker, for reporting bugs with Leaflet. It's not a support forum. Please post to the forum, you are more likely to find help there.


Downloads from Crunchyroll break if certain Optanon cookies are present

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
US
Provide a description that is worded well enough to be understood
Apologies. Apparently I'm cursed to periodically find issues with Crunchyroll downloads.
Here's my (perhaps a little overzealously) redacted cookies.txt. You'll notice that the string yt-dlp breaks on is contained in some of those Optanon cookies. Deleting them from the file and retrying the download works, so I'm guessing it's just that. Still, a proper fix would be much appreciated.
# Netscape HTTP Cookie File
# This file is generated by yt-dlp.  Do not edit.

.beta.crunchyroll.com	TRUE	/	TRUE<PHONE_NUMBER>	OptanonAlertBoxClosed	2021-12-07T10:41:12.992Z
.beta.crunchyroll.com	TRUE	/	TRUE<PHONE_NUMBER>	OptanonConsent	isIABGlobal=false&datestamp=Fri+Dec+10+2021+02%3A20%3A35+GMT%2B0100+(Central+European+Standard+Time)&version=6.26.0&hosts=&consentId=-snip-&interactionCount=2&landingPath=NotLandingPage&groups=-snip-&AwaitingReconsent=false&geolocation=DE%3B
.beta.crunchyroll.com	TRUE	/	FALSE<PHONE_NUMBER>	OptanonControl	ccc=DE&otvers=6.26.0&reg=gdpr&pctm=Tue Dec 07 2021 11:41:12 GMT+0100 (Central European Standard Time)&vers=3.0.3
.crunchyroll.com	TRUE	/	TRUE<PHONE_NUMBER>	__cf_bm	-snip-
.crunchyroll.com	TRUE	/	TRUE	0	__cfruid	-snip-
.crunchyroll.com	TRUE	/	FALSE<PHONE_NUMBER>	ab.storage.deviceId.-snip-	-snip-
.crunchyroll.com	TRUE	/	FALSE<PHONE_NUMBER>	ab.storage.sessionId.-snip-	-snip-
.crunchyroll.com	TRUE	/	FALSE<PHONE_NUMBER>	ab.storage.userId.-snip-	-snip-
.crunchyroll.com	TRUE	/	FALSE<PHONE_NUMBER>	c_visitor	-snip-
.crunchyroll.com	TRUE	/	FALSE<PHONE_NUMBER>	etp_rt	-snip-
.crunchyroll.com	TRUE	/	TRUE	0	session_id	-snip-
.www.crunchyroll.com	TRUE	/	TRUE<PHONE_NUMBER>	OptanonConsent	isIABGlobal=false&datestamp=Tue+Dec+07+2021+11%3A52%3A31+GMT%2B0100+(Central+European+Standard+Time)&version=6.26.0&hosts=&consentId=-snip-&interactionCount=1&landingPath=https%3A%2F%2Fwww.crunchyroll.com%2Flogin&groups=-snip-
.www.crunchyroll.com	TRUE	/	FALSE<PHONE_NUMBER>	OptanonControl	ccc=US&otvers=&reg=ccpa&pctm=0&vers=3.0.3
beta.crunchyroll.com	FALSE	/	FALSE<PHONE_NUMBER>	_evidon_suppress_notification_cookie	{"date":"2022-09-24T18:38:07.351Z"}
www.crunchyroll.com	FALSE	/	FALSE<PHONE_NUMBER>	crunchyroll_beta_hide_banner	1
www.crunchyroll.com	FALSE	/	FALSE<PHONE_NUMBER>	initial_referrer	https%3A%2F%2Fwww.google.com%2F
www.crunchyroll.com	FALSE	/forumtopic-1068039	FALSE<PHONE_NUMBER>	initial_referrer	https%3A%2F%2Fwww.google.com%2F

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--cookies', '../crunchyroll.com_cookies.txt', '--write-subs', '--embed-subs', 'https://beta.crunchyroll.com/watch/G9DUEP2JW/pressure']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (pip) API
[debug] Python 3.10.7 (CPython 64bit) - macOS-12.6-arm64-arm-64bit
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.13.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.1
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [crunchyroll:beta] Extracting URL: https://beta.crunchyroll.com/watch/G9DUEP2JW/pressure
ERROR: Illegal key 'Time)&vers'
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1477, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1553, in __extract_info
    ie_result = ie.extract(url)
  File "/opt/homebrew/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 672, in extract
    ie_result = self._real_extract(url)
  File "/opt/homebrew/lib/python3.10/site-packages/yt_dlp/extractor/crunchyroll.py", line 814, in _real_extract
    api_domain, bucket, params = self._get_params(lang)
  File "/opt/homebrew/lib/python3.10/site-packages/yt_dlp/extractor/crunchyroll.py", line 723, in _get_params
    if self._get_cookies(f'https://beta.crunchyroll.com/{lang}').get('etp_rt'):
  File "/opt/homebrew/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 3645, in _get_cookies
    return LenientSimpleCookie(self._downloader._calc_cookies(url))
  File<EMAIL_ADDRESS>line 483, in __init__
    self.load(input)
  File "/opt/homebrew/lib/python3.10/site-packages/yt_dlp/cookies.py", line 1087, in load
    morsel.set(key, real_value, coded_value)
  File<EMAIL_ADDRESS>line 353, in set
    raise CookieError('Illegal key %r' % (key,))
http.cookies.CookieError: Illegal key 'Time)&vers'

@Grub4K Isn't lenient cookies supposed to handle this?

I would call this a bug imported from the CPython code, since it clearly allows usage of ) and & in its _LEGAL_KEY_CHARS which is used in the compiled regex but does NOT allow them while setting them in the morsel, since that uses _LegalChars.
As a workaround you can either remove all cookies that are not needed from the file (all except etp_rt) or try the following patch:
--- a/yt_dlp/cookies.py
+++ b/yt_dlp/cookies.py
@@ -1084,8 +1084,9 @@ def load(self, data):
             elif value is not None:
                 morsel = self.get(key, http.cookies.Morsel())
                 real_value, coded_value = self.value_decode(value)
-                morsel.set(key, real_value, coded_value)
-                self[key] = morsel
+                with contextlib.suppress(http.cookies.CookieError):
+                    morsel.set(key, real_value, coded_value)
+                    self[key] = morsel

             else:
                 morsel = None


CAMEL-19279: fix catalog

I also refactored the CamelCatalogJsonSchemaTest to provide nicer results using parameterized tests.


www.adorama.com is broken by filtering

@adguard-bot commented on Fri Oct 29 2021
Issue URL (Incorrect Blocking)
https://www.adorama.com
Comment

when AdGuard is on, www.adorama.com does not load or fails to respond. When ADGuard is off, www.adorama.com works normally.

Screenshots

Screenshot 1

Screenshot 2

System configuration

Information
value

AdGuard product:
AdGuard for Mac v<IP_ADDRESS>1 release

Browser:
Safari

Stealth mode:
disabled

DNS filtering:
disabled

Filters:
Ad Blocking:AdGuard BasePrivacy:AdGuard Tracking ProtectionSocial Widgets:AdGuard Social MediaAnnoyances:AdGuard Annoyances

Userscripts:
disabled

Other extensions used:
none

Broken even with these settings
Screenshot:

Looks similar to this issue - https://github.com/AdguardTeam/CoreLibs/issues/1518

Duplicate of https://github.com/AdguardTeam/CoreLibs/issues/1518


Improve OG images layout

Goal
Improve the layout of OG images

Add a gradient for the background
Adjust spacing
For project's details page, show project inside a card, adjust font size depending on the length of the project's name

How to test
Check the different OG images:

home page: /api/og/
tag search: /api/og/projects?sort=daily&tags=component&tags=react
list of all projects: /api/og/projects
project's page: /api/og/projects/react
hall of fame: /api/og/hall-of-fame

Screenshots

Iteration 2
Trying to get a better balance and make the most of the space by:

Centering vertically the main content
Moving the Best of JS logo to the top right, position absolute


Expose reversed option on scan

Useful scan functionality especially when a zero padded timestamp is part of a row key so that you can retrieve rows in reverse order.

Codecov Report

Merging #66 into master will decrease coverage by 0.33%.
The diff coverage is 15.38%.

@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
- Coverage   50.04%   49.71%   -0.34%
==========================================
  Files          21       21
  Lines        2246     2259      +13
==========================================
- Hits         1124     1123       -1
- Misses       1064     1077      +13
- Partials       58       59       +1

Impacted Files
Coverage Δ

scanner.go
86.95% <100%> (+0.08%)
:arrow_up:

hrpc/scan.go
29.65% <8.33%> (-1.93%)
:arrow_down:

rpc.go
68.61% <0%> (-0.93%)
:arrow_down:

Continue to review full report at Codecov.

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

I think this won't work over regions. The reason the test doesn't fail is probably because you only have one region. You might need to modify the next startrow to be the row before the current region's StartKey()?

You are correct; I pre-split a table and ran the test and it doesn't region change. To be honest, for our specific use case we are just trying to get the upper and lower bounds of known min and max ranges. I can use the NewGetBefore function for this. If I have time I'll look at re-opening this unless someone else feels like taking it over.

I actually have reverse scanner on my TODO list as hbase maintainers are planning to make GetRowBefore obsolete. I’ll spend some time soon on it, thanks for starting this though!

Alas I will have to have a look at this as the GetRowBefore returns nothing on our HBase cluster (1.3.1). Although I only need the last (first) row, it is possible that there would be a region split between my start key and the first value in the range.


BigQuery GeoViz query returns fewer results than standard BigQuery query

This issue may be related to #5
My dataset is an import of the US Census 2018 Coastline shapefile, which has 4258 rows. Each row has a non-null geojson field (all linestrings), from which I created a new geography field using the ST_GEOGFROMGEOJSON() function. My geography field is named g, and all of its values are of type LINESTRING.
In BigQuery GeoViz, when I run the query
SELECT g
FROM xxxxxxxxx.census_coastline2018;
I get 1496 results.
In standard BigQuery, when I run
SELECT COUNT(g)
FROM xxxxxxxxx.census_coastline2018;
I get back the 4258 as expected.
Looking at my logs, I see that the actual query that was passed to BigQuery from BigQuery GeoViz is
SELECT
ST_AsGeoJson(g) AS g
FROM (
SELECT
g
FROM
xxxxxxxxx.census_coastline2018 );
Finally, in standard BigQuery, when I run
SELECT
COUNT(ST_AsGeoJson(g))
FROM (
SELECT
g
FROM
xxxxxxxxx.census_coastline2018 );
I again get 4258.
In other words, the BigQuery GeoViz is omitting results that standard BigQuery returns.

If you open Chrome's Network Tab before running the query in Geo Viz, could you see how large the response is containing those 1496 results? I.e. how many megabytes?
This viewer has various limitations on how many results it can show at once, and the number on the page is how many are shown (or would be if the map were fully zoomed out), not necessarily how many rows the full result set contains.
At present the limit is determined by how much the BigQuery API is willing to send back in a single page of results. That's something like 10-20 MB I think, which might be 50K-100K points (depending on the number of other columns selected), or a smaller number of lines or polygons depending on their complexity. If you select fewer columns, you may see the number of results in the viewer increase.
Probably two changes are worthwhile here:

[ ] Messaging should be clearer about what the number of results means, and indicate when the full result set has been truncated.
[ ] Future performance work can be done to increase the number of results that can be shown at once, although of course an arbitrary BigQuery result set could always be larger than what can be rendered realtime in a browser.

@donmccurdy thanks for the reply.
Running the query in Chrome with the Network tab open, I see the following:
'queries?alt=json' transferred 2.5 MB   (no other entry is larger than 3 KB)
Along the bottom of the network tab:
2.5 MB transferred
9.8 MB resources
As a point of reference, BQ estimated the total query size to be 35.8 MB
When I ran this test, I opened the network tab just before executing the query (in other words, I'd already loaded the BigQuery Geo Viz page). Please let me know if you'd like me to perform it any differently.

Thanks! If you hover your mouse over that 2.5mb value, does it give separate "transferred over network" vs "resource size" values?

When I ran this test, I opened the network tab just before executing the query (in other words, I'd already loaded the BigQuery Geo Viz page). Please let me know if you'd like me to perform it any differently.

Exactly the way you tested it is perfect, thanks!

But yeah, I do think this has hit the issue above.

Yes indeed, when I hover over, the 2.5 MB value, I see "2.5 MB transferred over network, resource size: 9.8 MB"
Appreciate the quick diagnosis!


Update auth.interceptor.client.service.js

Added 400 and 404 error routes

@0xNacho What happened to this PR? It looks like it will solve #1504


option to add extra namespace for reading and writing

we should be able to add an extra namespace (URI and prefix) on the command line that should be used when reading and writing RDF.

see v1.4.0


Improving tooling and moving to typescript

It would be very beneficial to adopt typescript as it could simplify the validation logic in the setters very much and make the library way easier to use.
That would probably include an update in the tooling config involved. So, maybe also moving to rollup.js would make things easier to handle.

@hbmuller Hi, I would like to work on this

@dshubhadeep Sure thing. Go ahead. Let me know if you have any questions and just make sure to keep docs up to date if you make any significant changes.

Are there any specific tsconfig options that are required for the package or a generic one will do ?
I'm also getting an error due to this # symbol . We can use private fields in TS to resolve this.

I think a generic one is better. If there is any popular, well maintained one, even better.
About the "#" symbol, that is exactly the type of thing I was thinking TS would be good for. Feel free to replace it with a TS feature.


Add URL to post and Activate

Hey @TraceyOnim it appears that the links which are in of the form wanjiku.com, github.com are getting prefixed with http:// which is then posted as part of the post, see the attached image, check what is in the posting box vs what ended up being posted


Update DistTasks.yml

During my investigations I discovered this typo which was causing a problem:
mkdir: cannot create directory ‘serial-monitor_linux_arm_6’: File exists
task: Failed to run task "dist:all": task: Failed to run task "dist:Linux_ARM64": exit status 1

Thanks @umbynos! I see this typo has propagated to every project we used the taskfile in. However, I believe it is innocuous in the other projects since the go build command will just overwrite the existing contents of the {{.PROJECT_NAME}}_linux_arm_6 folder when the second task runs.
If so, we don't need to worry about there being problems with the artifacts produced by the releases that used the previous version of the taskfile in  those projects. Am I right about that?

That's correct. I stumbled upon this problem because I tried to create the dir this way before running the go build command (to avoid permission issues). But without the folder creation, everything works smoothly (that's why we never discovered the typo).


Performance optimization: Replace custom trait by FnOnce

Replace custom trait by FnOnce to avoid having to call option .take() methods

The benchmark shows no improvements and occasionally worse behavior so this change is not going to be merged


Update Network Graph to use URL parameters for search.

Description
This updates the Network Graph page to use URL parameters for search filters to match the functionality and conventions used on other pages. This does not store other Network Graph state in the URL; in order to keep the scope of changes small this has been extracted from the larger WIP PR https://github.com/stackrox/stackrox/pull/1532.
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
Test that applying a search filter correctly filters the graph display and tracks search filters in the URL.

Test that applying multiple search filters correctly filters the graphs and tracks entries in the URL:

Test that the back button correctly removes one filter at a time:

Test that global search correctly applies the search filters to the graph and URL when visiting via the "Filter On" link:
(Note that the selected cluster and namespaces will not change with these searches, and functions identically to master. Work to get context aware switching of clusters/namespaces is part of https://github.com/stackrox/stackrox/pull/1532)

Test that clicking a namespace or deployment within the graph correctly updates the URL and page state without clearing search parameters.

Here is an existing issue, found while testing, which might be outside the scope of this pull request.
If onSearch callback in NetworkSearch component closes search panel because search filter might exclude the currently selected deployment, then it seems more consistent to remove deployment id from page url instead.
Both master and branch have the following behavior:

Visit Network Graph

Select Namespaces: stackrox

Add Deployment: and scanner-db to search filter

Click scanner deployment in graph: side panel opens and url now has deployment id

Delete scanner-db from search filter

Add collector to search filter: side panel closes but url still has deployment id
Branch has the following additional behavior:

Go directly to original Network Graph in browser history: side panel is closed and search filter is empty (expected)

Go directly to last Network Graph in browser history: side panel is open for scanner because deployment id and search filter has Deployment: collector (expected according to code but inconsistent with step 6)

If onSearch callback in NetworkSearch component closes search panel because search filter might exclude the currently selected deployment, then it seems more consistent to remove deployment id from page url instead.

I agree, and I found that as I was working on #1532 that adding URL parameters to track state and the current URL structure could be a little confusing. With the deployment id as part of the URL, it seems the full URL path (without query string) should point to a definitive resource within the graph and open side panels, etc. that are appropriate. Right now from what I can tell, only a selected deployment is supported with a structure of
https://staging.demo.stackrox.com/main/network/<deployment_id>
Since users can also select a full namespace or external entities it might make sense in the future to migrate the base URL structure to something like:
https://staging.demo.stackrox.com/main/network/deployment/<deployment_id>
https://staging.demo.stackrox.com/main/network/namespace/<namespace_id>
https://staging.demo.stackrox.com/main/network/external/<external_entity>
...and possibly more if there are other use cases I missed. That way we could track the "selected" state and render appropriately along side whatever query string parameters are applied.
For this:

Go directly to last Network Graph in browser history: side panel is open for scanner because deployment id and search filter has Deployment: collector (expected according to code but inconsistent with step 6)

how exactly did you reproduce this issue?
If I go directly to the following URL on my branch: https://localhost:3000/main/network/966f30dd-a451-45bf-9a7e-7a5f505db7f0?s[Deployment]=collector, I get the following view:

If I go to the first Network Graph page in my browser's history though, and step through with the forward button to get to the above URL, I get the behavior you describe:

This makes sense (somewhat) because the side panel open state isn't really a declarative, derived state. From what I can tell, other state changes may trigger an action that sets the open/closed state on the panel but the panel state and the rest of the page state can get out of sync.
A possible enhancement for this in the future could be to have the panel state tied to a URL scheme like I suggested above, since it seems that is what the intended behavior is. Additionally we could easily tie in the selected panel tab with something like:
https://staging.demo.stackrox.com/main/network/deployment/<deployment_id>/flows
https://staging.demo.stackrox.com/main/network/deployment/<deployment_id>/network-policies
https://staging.demo.stackrox.com/main/network/deployment/<deployment_id>/details
Your suggested fix of clearing the selected deployment from the URL onSearch would be a good solution to the first issue, but I'm not sure that it will resolve the second.

Since users can also select a full namespace or external entities it might make sense in the future to migrate the base URL structure to something like

Yes, possible smaller and larger steps toward the goal for page url to become source of truth:

Include namespace in search query params. It seems worthwhile to explore cost and benefit of usual format s[Namespace]=namespaceId to hide implementation detail whether interaction is via combined or separate widgets (which might even change in the future).

Use nouns in url to represent selected item or interaction panel:

/main/network/deployments/deploymentId
/main/network/namespaces/namespaceId
/main/network/entities/TODO needs investigation what is the "id" for external entities
/main/network/blocks
/main/network/simulator
example of possible future: /main/network/policies/policyId

What are pro and con of singular versus plural nouns, which follows example of usual REST API endpoints?
Do any future concepts have tables of deployments, namespaces, or entities, corresponding to url without id?

@vjwilson @pedrottimark , for awareness since you already approved:
I found another issue after some exploration based on Mark's comments above that clears search parameters when the user clicks the CIDR Blocks or Net Policy buttons. Since those buttons push to the history stack we need to manually retain the search part of the URL.
The last commit I pushed addresses this and I added two screenshots to the test section on the PR.


Kannada language support not available for latest version

When attempting to use ka.microsoft I get this message: "The request is invalid. Details: definition : The field 'my_field' uses an analyzer 'ka.microsoft' which is unknown or not supported in the API version used in the request." My field definition looks like:
{"name":"my_field","type":"Edm.String","key":false,"searchable":true,"filterable":false,"facetable":false,"sortable":false,"retrievable":true,"analyzer":"ka.microsoft","indexAnalyzer":null,"searchAnalyzer":null,"synonymMaps":[]}

I tried with versions 2017-11-11-preview and 2017-11-11

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

ID: 13cff2b3-0aa9-ace4-8790-03fbf76c049a
Version Independent ID: 213946b2-b70c-43fe-5246-e1e552cad895
Content: Add language analyzers - Azure Search
Content Source: articles/search/index-add-language-analyzers.md
Service: search
GitHub Login: @Yahnoosh
Microsoft Alias: jlembicz

@ctstone Thank you for the question! I've routed this to the appropriate Team to investigate and update.

@ctstone  Hi Chris, I don't see "ka" as a language code.  There is "kn" for Kannada, and "ko" for Korean, but no "ka".

I forgot to add, if this unblocks you, could you close the issue??

Hi @HeidiSteen, it looks like this was already fixed in a recent PR #27759. Closing this issue.


Document all possible reponses of a single request in a single page

Hi!
Thanks for this great gem.
I would like to document all possible responses for a request in a single page for that request.
For example, in github :
the request
curl https://api.github.com
has three different responses for 3 cases,
Sending invalid JSON will result in a 400 Bad Request response.
HTTP/1.1 400 Bad Request
Content-Length: 35
{"message":"Problems parsing JSON"}

Sending the wrong type of JSON values will result in a 400 Bad Request response.
HTTP/1.1 400 Bad Request
Content-Length: 40
{"message":"Body should be a JSON object"}

Sending invalid fields will result in a 422 Unprocessable Entity response.
HTTP/1.1 422 Unprocessable Entity
Content-Length: 149
{
  "message": "Validation Failed",
  ...
}

Is there a way to document these in a single page? (Or may be an alternative way like making these nested, below the link for each page.)

I have also been thinking about how to best structure multiple response for one request.
I found an example  in the example documentation.
Looking at the source of the example app, it looks like you can just do multiple requests per example: https://github.com/zipmark/rspec_api_documentation/blob/master/example/spec/acceptance/orders_spec.rb#L47

@phansch  thank you for your response.
just like your example that was what i did.
i wrote multiple requests per example.
In each the requests were the same but the responses were different
( for example when creating order, if it had three responses 201, 403, 505, then the requests would be same, where as the responses would differ in status code, and body )
At that time i wish i could generate something like this:
https://help.shopify.com/api/reference/order#cancel
https://developer.github.com/v3/#root-endpoint
If rspec_api_documentation intendeds to use this issue as feature request, I have keep this issue open. Else I can close it, because my problem was solved the way @phansch mentioned.


[MixcloudBridge] switch to using API

Instead of parsing HTML (which apparently is no longer possible), make use of the public API.
Closes #1730

I don't understand what the api returns. Try this user: benpurpsoul (no items from api, even though the user seems to have items)
I get an error in RSS-Bridge for this username: công-nguyễn9

I don't understand what the api returns. Try this user: benpurpsoul (no items from api, even though the user seems to have items)

I have switched the bridge to use different API endpoints. The output should be better now.

I get an error in RSS-Bridge for this username: công-nguyễn9

I suspect this has something to do with how the getContents function is dealing with the special characters in that username. I'd need someone with more PHP knowledge to weigh in here. All I know is when I'm testing the API endpoints in Python (easier for me than PHP) there's no problem with querying the API with that particular username.


Increase readability when using variables in log messages

Is your feature request related to a problem? Please describe.
Currently a lot of 'inbetween' formatting is necessary to get a running sentence. For example:
https://github.com/ad3154/Isobus-plus-plus/blob/44a2941ca23f50f0a7ed07b4f74b460c91db0815/isobus/src/isobus_task_controller_client.cpp#L839-L847
I find this quite a bit harder to read than using formatting specifiers, and therefore also harder to maintain.
Describe the solution you'd like
A possibility would be to use the built-in std::snprintf to format messages. The same example from above would then look similar to:
CANStackLogger::debug("[TC]: TC Server supports version %uh with %uh booms, %uh sections, and %uh position based control channels.",
                      messageData[1], messageData[5], messageData[6], messageData[7]);

Though one downside would be that confusion may arise when figuring out which variables belongs to which specifier. But I feel like a more readable sentence outweighs that.
Additional information
I found an example on stackoverflow while gathering information that could be useful:
#include <memory>
#include <string>
#include <stdexcept>

template<typename ... Args>
std::string string_format( const std::string& format, Args ... args )
{
    int size_s = std::snprintf( nullptr, 0, format.c_str(), args ... ) + 1; // Extra space for '\0'
    if( size_s <= 0 ){ throw std::runtime_error( "Error during formatting." ); }
    auto size = static_cast<size_t>( size_s );
    std::unique_ptr<char[]> buf( new char[ size ] );
    std::snprintf( buf.get(), size, format.c_str(), args ... );
    return std::string( buf.get(), buf.get() + size - 1 ); // We don't want the '\0' inside
}

The code snippet above is licensed under CC0 1.0.

I also think our logging messages are a bit crunchy. Like, spdlog does it like this, which I really like: spdlog::warn("Text {} and {}", value1, value2); but uses C++ 20 I think to make that happen.
I worry a bit about using snprintf and things like it, since they rely on developer diligence to not cause overflows. Sonar may flag it as a security risk (and rightly so). So if there's alternate, safer ways to do it, that'd be nice. I also don't love the idea proposed by that string_format for a number of reasons...
Perhaps we could come up with some wrapper using string streams or something...? Like a recursive variadic function?


eventually-sled: new backend based on sled db

I brought up a possible backend implementation using the sled database, and danilo suggested I open a tracking issue to discuss it. (I'll post more specific thoughts later, just wanted to get this open for now so I didn't forget)

Hey @pwoolcoc,
thanks for opening the issue!
For a new backend implementation, you need to implement the following traits:

EventStore, for appending and streaming events on request
EventSubscriber, for opening event streams receiving all new events committed to the store from when the stream has been opened
(Optional) A persistent Subscription implementation (e.g. https://ar3s3ru.github.io/eventually-rs/eventually/postgres/struct.Persistent.html)

For now, let's only consider the first two traits.
For point 2. it seems pretty easy to implement using the reactive semantics offered by sled.
For point 1. we need to figure out how to store the events and how to stream them back. When storing and streaming, we need double indexing: one on a single aggregate level (aggregate id), and one on aggregate type level (aggregate type id).
Also for point 1., we need to figure out a way to use optimistic concurrency in the write operations, in order to prevent concurrent writes scenarios.
What do you think? @pwoolcoc

Hey @pwoolcoc, if you're still interested in adding this feature, you can check out #128 for reference: it adds support for Redis backend.

@ar3s3ru thanks! sorry I didn't respond to this thread earlier, but I'm definitely still interested in doing this and I appreciate the pointers and the reference!

Ok, initial thoughts, in no particular order:

Sled keys/values are all just bytes, so I'm planning on using serde + bincode instead of serde_json, in order to save some db space since the bincode format is a little more efficient than taking the bytes of a string of JSON
The EventStore implementation will take a sled::Db. From there, it will open sled::Trees as needed for each index.
sled has transactions, and can do transactions across trees, so we can be assured that we can write to both an aggregate tree and an aggregate type tree and stay ACID compliant
sled::Tree has a method to pull out keys that are greater than a specific value, so if we incorporate the sequence value into the key correctly when writing, we can use that mechanism to stream from a specific point.

@ar3s3ru quick question: I'm hoping to have a POC of this soon, should I open a PR and try to get it in-tree or should I just keep in my own repo?

Hey @pwoolcoc :wave:
Feel free to open a PR to have the CI tests run :smile:

Also, now that I've created an org for eventually, I was considering moving eventually-postgres and eventually-rust out in their own respective repositories in the org.
Maybe we can do the same with eventually-sled.
Issues #131 #132


Invalid Product ID error on IOS

Version of react-native-iap
"react-native-iap": "^0.3.24",
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
buying a product
Actual behavior
returns always invalid product Id error.
Tested environment (Emulator? Real Device?)
Emulator.
Steps to reproduce the behavior
I added my first in app purchase feature and i waited for a week but it always returns Invalid Product Id error.

@ilysorc That is expected behavior. You can't test the actual purchase in the simulator. Also refer to medium, your iap status should be Ready to submit.

@dooboolab thank for your reply. i checked medium now. first step says "You need to complete the Payments and Financial Reports" but i clicked this menu i only see reports. How can i configure these steps?

Oops. I meant you need to complete the Agreements, Tax and Banking. Sorry for that.

@dooboolab thank you. that is fixed problem.

I guess the issue was resolved. I am closing this issue.

I sill have this issue. Can receive consumable products and subscriptions without any problems. Even buying subscriptions is working pretty well. Only the RNIap.buyProduct('any sku even the ones from .getProducts()'); result in:
IAP: Error Error: Invalid product ID.
    at createErrorFromErrorData (NativeModules.js:123)
    at NativeModules.js:80
    at MessageQueue.__invokeCallback (MessageQueue.js:400)
    at MessageQueue.js:139
    at MessageQueue.__guardSafe (MessageQueue.js:316)
    at MessageQueue.invokeCallbackAndReturnFlushedQueue (MessageQueue.js:138)
    at t (RNDebuggerWorker.js:1)

Do you have any idea? Have no pending contracts, the in app purchases are "Ready to submit" and I am using a working sandbox account.


Run more than two commands

Describe the bug
I try to create a session with 1 terminal, and this terminal should run the 2 commands but only 1 is executed.
To Reproduce
"middlewareModule": [
{
"name": "terminalTest",
"autoExecuteCommands": true,
"icon": "pass-filled",
"color": "terminal.ansiGreen",
"commands": [
".\channelsEnv\Scripts\deactivate.bat",
"cd ..\myFolder"
]
}
],
Expected behavior
Run the above commands
Platform:

OS:  Windows 11
vscode version: 1.87.0
extension version: 1.1.14

Thank you, you are right!


1332 firebase auth integration

Purpose
Firebase Auth (https://firebase.google.com/products/auth) connector - access and update. Leverages the Firebase Admin SDK for integration.
Changes

Firebase connector config, dataset, test artifacts, etc. -- basic SaaS connector artifacts
Request overrides which define the integration functionality using the Firebase Admin SDK
Introduces the Firebase Admin SDK as a project dependency

Checklist

[x] Update CHANGELOG.md file

[x] Merge in main so the most recent CHANGELOG.md file is being appended to
[x] Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
[x] Add a link to this PR at the end of the description with the PR number as the text. example: #1

[ ] Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram.
If docs updated (select one):

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[x] Good unit test/integration test coverage
[ ] This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
[ ] The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket
Fixes #1332

this may need a few more iterations, but i wanted to get an initial cut in front of some of your eyes. @seanpreston i put you on this just to make sure everything looks OK with bringing in the new firebase_admin dependency.
@galvana / @earmenda  i've added test credentials to 1pw, could you help me add them to vault so that we can get the integration tests running on github?

the firebase test task is passing now, i'm getting an error with sendgrid that is almost certainly not related to these changes

now getting an error with braze in the saas tests, which i also doubt is related to the PR

@earmenda i think i've addressed all that we talked about. still outstanding questions on whether we'll need to handle the client_claims data and whether we want to default to update or delete, but per our discussion, we're not going to hold up merging on those and we can come back to them if/when needed.
i do still have one minor question (https://github.com/ethyca/fidesops/pull/1399/files#r985340851) that i'd like to clear up before merging. @galvana maybe you can confirm the general behavior there? or @earmenda if you know off the top of your head.


Auto scroll up after changing page

Hi,
I think it could be useful, if, in the case of a table containing several pages,  after changing the page, the table would scroll up automatically (thus showing the column headers). In my opinion, this will improve the ergonomics of the data visualization.
Another idea, on the same subject, would be having the page selector control on the bottom and on the top of the table as well to simplify the navigation between pages.

Thanks again for your awesome plugin

Hi,
These are 2 potential enhancements.
In some way, it is close to issue #170.
I think that fixed table header would fix your first suggestion.

Hi,
These are 2 potential enhancements.
In some way, it is close to issue #170.
I think that fixed table header would fix your first suggestion.


Update CONTRIBUTING.md

Previously, development branch contained outdated information about contribution policy. I updated it with actual information

Sign DCO

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Codecov Report

Merging #646 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #646   +/-   ##
========================================
  Coverage    43.45%   43.45%
========================================
  Files          301      301
  Lines        12022    12022
  Branches      6600     6600
========================================
  Hits          5224     5224
  Misses         724      724
  Partials      6074     6074

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 c1fdf6b...7eae843. Read the comment docs.


add hostname/domainname to EnvInfo

see openziti/ziti-sdk-c#537
a customer requested adding Hostname and Domainname to SdkInfo. EnvInfo part makes more sense me -- it should be ok as long as it can be looked up

Comment from Zendesk:

Zendesk: 10695 linked successfully.

                  Zendesk: #10695
By: Christian Mark Sioson<EMAIL_ADDRESS>


xlsx.core.min.js has snoman character instead of code \u2603 due to whihc xlsx generation on IE 11 browser fails

I am using alaql to generate an excel file. It fails in some IE11 browsers of my client due to snoman symbol in minified code of xlsx.core.min.js
xlsx.core.min.js has snoman character instead of code \u2603 due to whihc xlsx generation on IE 11 browser fails
Step to find this code : search for ^☃]*) in xlsx.core.min.js
the Fix for this issue is : simply replace ^☃]) by \u2603]) in xlsx.core.min.js
I dont have idea about the owner/github url of xlsx.core.min.js please inform that team about this issue.

https://github.com/SheetJS/js-xls

This was fixed in xlsx 0.10.6 -- bumping the dependency version would resolve the issue


Tall Cities - adjust explosion presets

Loos like the explosion presets are tuned for regular world gen/height only, so if you generate a "Tall Cities" variant, you end up with a lot of smaller looking holes always low to the ground.
The result are building that look like they shouldnt be standing or buildings with holes in them a la the 1990s Godzilla movie.
Godzilla walked through this!
Probably on your list of to dos, but thought I would mention it.

I'm tweaking values in the configs and will share some adjustements in case you want to use a different set.  Might be useful to have command that reloads configs without restart.

As I mentioned, here's some values I seem reasonably happy with.
explosions in the sky

Thanks. I'll include them for next version


Deps required for new urllib3 version + IP SAN support

Depends on:

New libcalico release with https://github.com/projectcalico/libcalico/pull/153/files
New felix release with https://github.com/projectcalico/felix/pull/1125

Currently, both are using my own forks.

@robbrockbank Assigned to you since you reviewed the libcalico change as well.

D'oh, this was causing the builds to fail so I checked in a fix for it already. I think the deps are in the wrong place in this PR anyway, so I'm closing it.


Fixed animation editor not moving to next frame of sprites when editing.

Fixed animation editor not moving to next frame of sprites when editing.
Fixed #22408 and fixes #19942

QoL restored.  X)
Very grateful for you tracking this one down.
I cherry-picked this on top of my build this afternoon, and I noticed some issue with clicking on the keyframes, they sometimes don't show in the inspector.  I've got another build going without the commit and will see if its even related.
@DualMatrix This might be a separate issue, let me know what you think.  I haven't spent too much time in this area lately.
Sometimes the values are shown in the inspector.

Sometimes they flicker and disappear when you click on the keyframe.

Checked a bunch of older builds, seems like the inspector flickering is a separate issue.  I will put something up for it.

@avencherus That flickering is odd indeed,wouldn't know what could be responsible for that. Thanks for testing dude, your help is really appreciated.

Thanks!


Sort key CSV prototype

Requires mapzen/TileStache#120.
Other half of the sort key prototype.
@rmarianski could you review, please?

:+1:


[Bug] Group Shifting Out of Artboard

Bug report
Expected behavior:
I name a 375pt wide background layer bg [16 16 16 16; width>=375], then place a text layer over the background layer. I move the text layer 16pt from the left edge of my 375pt wide artboard. I expect the text layer and background layer to stay where they are.
Actual behavior:
What happens instead is, the layer group shifts -135pts to the left, off of the artboard. When putting the background layer back to x:0, the text layer shifts into the center of the group.
Steps to reproduce:

Create a group
Add a background layer shape to the group
Add a text layer over the background layer in the group
Position the background layer to X:0, Y:24
Position the text layer to be centered in the background layer, and X: 0
Rename the background layer bg [16 16 16 16; width>=375]
The group shifts, the rearranging the layers results in an endless loop of moving stuff

GIF Demonstration

Ah cool. Thanks @chsWeb. Yeah I think I know what this is.
In a lot of cases where people would have minimum widths, they wanted the content to be centred. So I made sure that the content would centre itself. However that breaks it for cases like this. 🤔
Trying to think what the behaviour should be to work for everyone. Perhaps, if the group, in this case 'Top Bar' had alignment to the left e.g. Top Bar [l]; then it would know that when applying the padding to have the minimum width by keeping all the content to the left.
What's your thoughts?

this happened to me as well can we leverage sketch pining system? also, I think since minimum background width is 375 and padding is 16 minimum width of text layer will become 343 if the OP sets that to the text layer it will work and pining it to the left and right will increase the width of the bg layer automatically when the group resizes

Same issue here

@DWilliames if we could also apply alignment, with a width and padding, that would be ideal.
It would be great if we could use all of Paddy's attributes in any layer, separating them with a semicolon:
Layer Name [{variable};{variable};{variable};]
Layer Name [16 16 16 16; width>=375; left]

@Raghav789 i tried playing what your idea and got some strange results, rounding errors and not quite what I expected - see attached if you want to test it out.
paddyTest-appBar.sketch.zip

Strange, I made it work but, not sure why it wasn't working I swapped the font icon with a real icon, changed the text to auto and simplified the folder structure.take a look although for app bar I wouldn't use paddy anyway.
paddyTest-appBar_re.sketch.zip

@Raghav789 By thihs way we can't use text with auto size :(


It's not working with Vue 2.6.12 and ant design(1.7.2) table

It's not an issue of the component. You probably have to enclose <th {...restProps}>{children}</th> in round brackets.


Height is not working

Height for react player is not working
I am using the video height as
<ReactPlayer url="https://www.facebook.com/PrinceEa/videos/10156905097874769/UzpfSTEwMDAwMDM5NzE2NjM4MjoxODc0ODE5NDUyNTQxMjc1/" height='360px' width='640px'  controls />
But the size of the player exceeds according to size of video
And if I use another video from facebook https://www.facebook.com/nickcannonwildnout/videos/1798746903548304/
it is working fine without doing anything.
How can a get a video fitted into the same player container height i.e 360px and width 640px

The Facebook video player seems to not support a height parameter. The player window will always match the aspect ratio of the source video, according to the width passed in.


[New article]: Configuring, Referencing, and Resolving Endpoints in .NET Aspire

Proposed topic or title
Configuring, Referencing, and Resolving Endpoints in .NET Aspire
Location in table of contents.
App Host (Orchestration) → Networking Overview
Reason for the article
This article will provide an essential guide for developers to understand how Aspire endpoints are configured, referenced, and resolved. It will demystify APIs such as WithEnvironment and explain how endpoints behave in both run and publish modes. This understanding is crucial for developers to integrate and automate resources within Aspire seamlessly. Without this knowledge, users might face challenges connecting services or leveraging the full potential of the Aspire app model.
Article abstract
This article will explore the resource endpoints, covering configuration, reference mechanisms, and resolution rules of those endpoints. It will illustrate how to use APIs like WithEnvironment to ensure consistent connectivity between resources and how endpoints are resolved between run and publish modes. Examples will guide developers through typical workflows and edge cases, ensuring robust and reliable service integrations.
Relevant searches
"Aspire endpoint resolution"
"WithEnvironment API .NET Aspire"
"Configuring endpoints in Aspire"
"Aspire run mode vs publish mode endpoints"

This is a brain dump:

Prerequisite
This document assumes familiarity with endpoint definitions and the basics of networking in Aspire. Refer to the Networking Overview for an introduction to these concepts.

Understanding Endpoint Allocation and Resolution
What Does "Allocated" Mean?
An endpoint is allocated when Aspire resolves its runtime values (e.g., Host, Port, Url) during run mode. Allocation happens as part of the startup sequence, ensuring endpoints are ready for use in local development.
In publish mode, endpoints are not allocated with concrete values. Instead, their values are represented as manifest expressions (e.g., {redis.bindings.tcp.host}:{redis.bindings.tcp.port}) that are resolved by the deployment infrastructure.
Comparison: Run Mode vs. Publish Mode

Context
Run Mode
Publish Mode

Endpoint Values
Fully resolved (localhost:6379).
Represented by manifest expressions ({redis.bindings.tcp.host}:{redis.bindings.tcp.port}).

Use Case
Local development and debugging.
Deployed environments (e.g., Kubernetes, Azure).

Behavior
Endpoints are allocated dynamically.
Endpoint placeholders resolve at runtime.

Use the IsAllocated property on an EndpointReference to check if an endpoint has been allocated before accessing its runtime values.

Accessing Allocated Endpoints Safely
Aspire provides eventing APIs, such as AfterEndpointsAllocatedEvent, to access endpoints after allocation. These APIs ensure code executes only when endpoints are ready.
Example: Checking Allocation and Using Eventing
var builder = DistributedApplication.CreateBuilder(args);

// Add a Redis container with a TCP endpoint
var redis = builder.AddContainer("redis", "redis")
                   .WithEndpoint(name: "tcp", targetPort: 6379);

// Retrieve the EndpointReference
var endpoint = redis.GetEndpoint("tcp");

// Check allocation status and access Url
Console.WriteLine($"IsAllocated: {endpoint.IsAllocated}");

try
{
    Console.WriteLine($"Url: {endpoint.Url}");
}
catch (Exception ex)
{
    Console.WriteLine($"Error accessing Url: {ex.Message}");
}

// Subscribe to AfterEndpointsAllocatedEvent for resolved properties
builder.Eventing.Subscribe<AfterEndpointsAllocatedEvent>(
    static (@event, cancellationToken) =>
    {
        Console.WriteLine($"Endpoint allocated: {endpoint.IsAllocated}");
        Console.WriteLine($"Resolved Url: {endpoint.Url}");
        return Task.CompletedTask;
    });

// Start the application
builder.Build().Run();

Output

Run Mode:IsAllocated: True
Resolved Url: http://localhost:6379

Publish Mode:IsAllocated: False
Error accessing Url: Endpoint has not been allocated.

Core Primitives: .Property and ReferenceExpression
Endpoints must be handled differently in run mode and publish mode because their resolution mechanisms vary. While run mode provides fully allocated endpoints at startup, publish mode relies on manifest expressions resolved by the deployment infrastructure.
Aspire provides two essential tools to manage this difference:

.Property: Allows you to access individual endpoint components (e.g., Host, Port) dynamically.
ReferenceExpression: Enables deferred resolution of complex strings, such as URLs or connection strings.

Why .Property and ReferenceExpression Are Necessary
The Challenge

In run mode, endpoint values (e.g., Host, Port) resolve during startup.

Example: Host = localhost, Port = 6379.

In publish mode, endpoint values are placeholders (manifest expressions) like {redis.bindings.tcp.host}:{redis.bindings.tcp.port}.

Attempting to directly access endpoint properties (e.g., Host, Url) in publish mode will fail because their values are undefined.
The Solution

.Property defers resolution of individual components like Host and Port.
ReferenceExpression defers resolution of entire strings like URLs or connection strings.

Using .Property
.Property ensures that each endpoint component resolves dynamically based on the context.
Example: Building a Redis Connection String
var redis = builder.AddContainer("redis", "redis")
                   .WithEndpoint(name: "tcp", targetPort: 6379);

builder.AddProject<Worker>("worker")
       .WithEnvironment(context =>
       {
           var endpoint = redis.GetEndpoint("tcp");

           // Use .Property to dynamically access Host and Port
           var redisHost = endpoint.Property(EndpointProperty.Host);
           var redisPort = endpoint.Property(EndpointProperty.Port);

           // Construct the connection string
           context.EnvironmentVariables["RedisConnectionString"] =
               $"redis://{redisHost}:{redisPort}";
       });

builder.Build().Run();

Why .Property Works

Run Mode: Resolves to values like localhost and 6379.
Publish Mode: Defers to manifest expressions like {redis.bindings.tcp.host}:{redis.bindings.tcp.port}.

Using ReferenceExpression
ReferenceExpression allows deferred resolution of entire values, making it ideal for constructing URLs or connection strings.
Example: Constructing a Redis URL
var redis = builder.AddContainer("redis", "redis")
                   .WithEndpoint(name: "tcp", targetPort: 6379);

builder.AddProject<Worker>("worker")
       .WithEnvironment(context =>
       {
           var endpoint = redis.GetEndpoint("tcp");

           // Use ReferenceExpression for deferred resolution
           context.EnvironmentVariables["RedisConnectionString"] = ReferenceExpression.Create(
               $"redis://{endpoint.Property(EndpointProperty.Host)}:{endpoint.Property(EndpointProperty.Port)}"
           );
       });

builder.Build().Run();

Context-Based Endpoint Resolution
Aspire resolves endpoints differently based on the relationship between the source and target resources. This ensures proper communication across all environments.
Resolution Rules

Source
Target
Resolution
Example URL

Container
Container
Container network (resource name:port).
redis:6379

Executable/Project
Container
Host network (localhost:port).
localhost:6379

Container
Executable/Project
Host network (host.docker.internal:port).
host.docker.internal:5000

Example: Cross-Context Communication
Scenario
An API project communicates with:

Grafana: Requires a proper URL in both run and publish modes.
Keycloak: Uses ContainerHost for container network communication.

Code Example
var keycloak = builder.AddKeycloakContainer("keycloak");

// grafana
var grafana = builder.AddContainer("grafana", "grafana/grafana")
    .WithEndpoint(port: 3010, targetPort: 3000, scheme: "http", name: "http")

// api
var api = builder.AddProject<Projects.ProvisioningApi>()
.WithEnvironment(ctx =>
{
    if (ctx.ExecutionContext.IsRunMode)
    {
        ctx.EnvironmentVariables["Grafana__Url"] = grafana.GetEndpoint("http");

        // We want to tell grafana what the keycloak URL is, but we need to use the container host
        // so that it will resolve correctly from the container

        var keyCloakEndpoint = keycloak.GetEndpoint("http");
        var keycloakUrl = new UriBuilder(keyCloakEndpoint.Url)
        {
            Host = keyCloakEndpoint.ContainerHost
        };

        ctx.EnvironmentVariables["Keycloak__AuthServerUrl"] = keycloakUrl.ToString();
    }
    else
    {
        // In publish mode let the endpoint resolver handle the URL
        ctx.EnvironmentVariables["Grafana__Url"] = grafana.GetEndpoint("http");
        ctx.EnvironmentVariables["Keycloak__AuthServerUrl"] = keycloak.GetEndpoint("http");
    }
});

Great article!
I did not understand the last example. Why do we need to handle run mode differently? Why not let the aspire handle like in publish mode?

It’s missing some context. This is an edge case where the default resolution rules don’t work because you’re passing around an endpoint that you want to be resolve in a different context.
The above example shows an api project that is going to setup up grafana and keycloak, we need to give it the address for container to container communication even though the target resource is a project.
Now looking at the code sample though I think it refs an update


How to refresh Tabs scene every time i switch tabs?

Version
Tell us which versions you are using:

"react-native-router-flux": "^4.0.0-beta.28"
"react-native": "0.54.0",

onOpen:
In stack definition:
                    <Scene key="SomeView"
                           component={SomeView}
                           onEnter={this.onEnterSomeView}
                    />

In SomeView:
export default class SomeView extends Component {

  static onEnterExplore = () => {
    Actions.refresh({
      enterTime: new Date()
    });
  }

  componentWillReceiveProps (nextProps) {
    console.log(this.props.enterTime);
    console.log(nextProps.enterTime);   // for you to see what is happening
    if (this.props.enterTime !== nextProps.enterTime) {
      this.refreshData(); // a function that changes the state to re-render
    }
  }

What is going on here is that when you navigate to a View, onEnter is fired. This even works if you are going back and forth between tabs. The refresh line refreshes the view setting enterTime to that time. If there is a delta between enterTime and the and the next enterTime, it will fire whatever is in that function or whatever you put there.
This can be expensive if you are doing heavy lifting.
You also have to change the state (setState) of something that is rendered to trigger it. (someone could correct me here, but I'm 90% sure you have to change state of something rendered)

Thanks @asciifaceman for your help, but when i use this code i get warning "Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op."

What are you doing specifically?

You might be clicking too fast, I get that sometimes but usually works fine using the Actions.refresh method.

Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists


MSID: 91304 Version: 2 DOI: 10.1101/2<IP_ADDRESS>2131

MSID: 91304
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>2131
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=91304
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>2131

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/91304v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>2131
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/91304/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c99) has a publication-type='other'. Is that correct?


Use klass.connection instead to make sure we get the correct connection

... in case different models have different database connections.

cc @reidab

LGTM 👍

Awesome, I released your changes as 2.2.3 to get the MySQL fixes out there. Thanks again for doing this, that setup is definitely a huge step forward! Used it to quickly add Rails 6 testing, too.


model.fit() uses same chunk of validation data for all evaluation steps

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
2.9.2
Custom Code
Yes
OS Platform and Distribution
Linux - Google Colab
Mobile device
No response
Python version
3.8.16
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
model.fit() api uses the same validation data chunk to evaluate after every epoch. Ideally, the evaluation should happen on the subsequent iter of the dataset provided.

## watch val_mean_label in log output

Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np

train, test = tf.keras.datasets.fashion_mnist.load_data()
images, labels = train
images = images/255.0
labels = labels.astype(np.int32)

fmnist_train_ds = tf.data.Dataset.from_tensor_slices((images, labels))
fmnist_train_ds = fmnist_train_ds.batch(1)

model = tf.keras.Sequential([
  tf.keras.layers.Flatten(),
  tf.keras.layers.Dense(10)
])

def mean_label(y_true, y_pred):
  return tf.reduce_mean(tf.cast(y_true, dtype=tf.float32), name='mean_label')

model.compile(optimizer='adam',
              loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
              metrics=[mean_label])

model.fit(fmnist_train_ds.repeat(), epochs=10, steps_per_epoch=1,
          validation_data=fmnist_train_ds.repeat(), validation_steps=1, )

Relevant log output
Epoch 1/10
1/1 [==============================] - 1s 587ms/step - loss: 2.8061 - mean_label: 9.0000 - val_loss: 2.2545 - val_mean_label: 9.0000
Epoch 2/10
1/1 [==============================] - 0s 16ms/step - loss: 2.0885 - mean_label: 0.0000e+00 - val_loss: 1.8890 - val_mean_label: 9.0000
Epoch 3/10
1/1 [==============================] - 0s 19ms/step - loss: 2.0514 - mean_label: 0.0000e+00 - val_loss: 1.6198 - val_mean_label: 9.0000
Epoch 4/10
1/1 [==============================] - 0s 24ms/step - loss: 2.0949 - mean_label: 3.0000 - val_loss: 1.4125 - val_mean_label: 9.0000
Epoch 5/10
1/1 [==============================] - 0s 19ms/step - loss: 1.2432 - mean_label: 0.0000e+00 - val_loss: 1.2543 - val_mean_label: 9.0000
Epoch 6/10
1/1 [==============================] - 0s 17ms/step - loss: 2.9918 - mean_label: 2.0000 - val_loss: 1.1256 - val_mean_label: 9.0000
Epoch 7/10
1/1 [==============================] - 0s 17ms/step - loss: 1.5534 - mean_label: 7.0000 - val_loss: 1.0380 - val_mean_label: 9.0000
Epoch 8/10
1/1 [==============================] - 0s 14ms/step - loss: 3.4063 - mean_label: 2.0000 - val_loss: 0.9567 - val_mean_label: 9.0000
Epoch 9/10
1/1 [==============================] - 0s 18ms/step - loss: 2.6006 - mean_label: 5.0000 - val_loss: 0.8956 - val_mean_label: 9.0000
Epoch 10/10
1/1 [==============================] - 0s 14ms/step - loss: 3.0951 - mean_label: 5.0000 - val_loss: 0.8475 - val_mean_label: 9.0000
<keras.callbacks.History at 0x7fb8c13942b0>

@abinthomasonline
This issue seems to be keras issue.Please post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999.
Thank you!


[Insight] Unused use statement should be avoided - in src/AppBundle/…/Character/EditType.php, line 6

in src/AppBundle/Form/Type/Character/EditType.php, line 6

The class AppBundle\Entity\Character is declared but never used. You should remove the use statement.

<?php

namespace AppBundle\Form\Type\Character;

use AppBundle\Command\Character\EditCommand;
use AppBundle\Entity\Character;
use AppBundle\Enum\Gender;
use AppBundle\Enum\Role;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\CallbackTransformer;
use Symfony\Component\Form\Extension\Core\Type\BirthdayType;

Posted from SensioLabsInsight

Look at in src/AppBundle/Form/Type/Character/CreateType.php too.
And PHPCSFixer should have matched it...


[RFC] Scaffolding anywhere

Status: Open for comments

Need
Currently scaffolding happens in a separate create page. Templates are listed there, users pick a template, they get an input form and scaffolding starts. This covers the use case of 'starting from scratch', for instance to create a new Java project.
I want to propose another use case: 'Adding resources to an existing entity'.
Proposal
Imagine you already have a working service service-foo. We might show a 'messaging' tab showing all pub/sub topics that this service owns. If it does not yet own a pub/sub topic, it would be nice to have a Add topic button that allows users to provision a new topic right on that page. What would be the workflow?

The user clicks 'Add topic'
An 'add pub/sub topic' template form opens up on the current page
Since we were already on the service-foo page, the user does not need to select service-foo via an EntityPicker (this needs to be communicated somehow to the template)
The scaffolder runs as normal, doing some provisioning in the cloud to add the pub/sub topic
If successful, the data on the page may be reloaded so that the list of pub/sub topics is refreshed

In the current scaffolder set up this does not yet seem possible: TemplatePage is a separate page that redirects to a TaskPage showing scaffolding progress.
My proposal would be to:

Allow TemplatePage to be shown in a modal popup
Allow additional props to be passed in to TemplatePage as defaults for any form elements (in the above example it could pre-populate a hidden EntityPicker, for instance)
Once the scaffolding starts, the task progress is shown in the same popup
Once the scaffolding is completed, the popup can be closed

Alternatives
Instead of having the popup an alternative could be to redirect to the create page, and via a query string choose the template to use and pre-populate some form elements. Additionally, a redirect_url could be used to redirect the user back to where they came from, once scaffolding is complete. This feels simpler from a code point of view, but feels a bit disruptive UX-wise.
Doing the redirect to the create page also implies that people could run the "Add pub/sub topic" template directly from the create page. If so, the EntityPicker (which chooses which service to add the pub/sub topic to) should be visible. In the proposal I've mentioned this picker should be hidden.
Risks

Should there be a distinction between templates runnable from the create page versus templates that are runnable as part of any page? This seems messy, so perhaps the rule should be that templates should always be runnable from the create page as well.
In the above proposal and alternative the EntityPicker should be hidden in one case (the proposal) and not hidden in another (the alternative). This, too, seems like it could become unclear. It could be covered by some sort of 'hide/read-only if prepopulated' flag.

We have a similar idea that is centered around being able to leverage actions
anywhere. Much like this proposal, we were thinking of having either a modal or
a page be a means for kicking off the associated scaffolding tasks.
In terms of the UI involved, I'm wondering if it would be preferable to
redirect users to the /create page rather than have a modal to interact. An
advantage of the modal is that it keeps the user in the current page, so they
don't lose context so to say. A disadvantage is that the modal introduces a new
user interaction pattern that I don't believe exists elsewhere in Backstage. If
it does, please disregard. Otherwise, having this modal would not only increase
the scope of this work but could also require a bit of UX work to get right, as
it could be something that other parts of Backstage could utilize.


c_api.h Why GPU is slower than CPU

hello i tried the c_api .I have trained a lstm mode and i load the model in my c project to predict my data.I find the GPU is slowly than CPU.
gpu:nvidia TITAN X
CUDA：9.0
cudnn:7.0
cpu: intel E5
tensorflow: 1.11.0
i predicted about 200 data and every data call the function ：
TF_SessionRun(sess,
nullptr, // Run options.
&input_op, &input_tensor, 1, // Input tensors, input tensor values, number of inputs.
&out_op, &output_tensor, 1, // Output tensors, output tensor values, number of outputs.
nullptr, 0, // Target operations, number of targets.
nullptr, // Run metadata.
status // Output status.
);
every time GPU is slowly than CPU
Is my method wrong ?Is there a way to increase the speed? and can I enter data in batches for prediction?how to feed data in batches?
thanks

Nagging Assignee @azaks2: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

This question is better asked on StackOverflow

+1


Doesn't support angular AOT

Version(if relevant): 3.0.0
Environment(if relevant): Angular 4.3.3
Expected:
AOT to compile
Actual:
ERROR in Unexpected value 'Select2Component in [...]/node_modules/select2-component/angular.d.ts' declared by the module
'MainModule in [...]/src/app/main/main.module.ts'. Please add a @Pipe/@Directive/@Component annotation.

I never use this component with angular AOT feature before, I will investigate this later.

v3.1.1 ships with *.metadata.json, so this component should be angular AOT compatible now.

Working! thanks!


Let child ModelView components control their enabled status by default

Fixes https://github.com/microsoft/azuredatastudio/issues/13511
It's possible this is going to affect other components which are relying on this behavior always applying - but in general I don't think this is the best approach for this anyways. One problem we have with setting the enabled state like this is that it's not guaranteed to hold since components can update their own enabled state at any point.
But we can probably assume/rely on people setting the enabled state on either the parent container or the child components and not trying to do both in which case this should work fine.

@Charles-Gagnon  does this change fix the problem in ML extension too?

Pull Request Test Coverage Report for Build 379680438

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.0002%) to 41.213%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/browser/modelComponents/componentBase.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/browser/modelComponents/componentBase.ts
1
43.89%

Totals

Change from base Build 379580845:
0.0002%

Covered Lines:
21788

Relevant Lines:
48492

💛  - Coveralls

@llali Could you link the issue you're referring to again so I can see?

@Charles-Gagnon this is the bug: https://github.com/microsoft/azuredatastudio/issues/13476


Add telemetry

Description
Adds Google Analytics telemetry to the sample viewer. Requires coordination with DevOps to implement into deployed Sample Viewer. This is done with a GAnalytics singleton that can be invoked from any .qml file that has import Telemetry 0.1. The class sends events via HTTP Post to Google Analytics.
Type of change

[ ] Bug fix
[ ] New sample implementation
[x] Sample viewer enhancement
[ ] Other enhancement

Platforms tested on:

[x] Windows
[ ] Android
[ ] Linux
[x] macOS
[ ] iOS

Checklist

[ ] Runs and compiles on all active platforms
[x] Branch is up to date with the latest main/v.next
[x] All merge conflicts have been resolved
[x] Self-review of changes
[x] There are no warnings related to changes
[x] No unrelated changes have been made to any other code or project files
[x] Code is commented with correct formatting (CTRL+i)
[x] All variable and method names are camel case

@JamesMBallard and @GuillaumeBelz I'm inviting you to review these changes if you want because I'm sure you have valuable feedback to share, but neither of you should feel obligated to do so. All the same, thank you!