Alt + Numpad keybindings insert characters into editor

VSCode Version: Code 1.10.2 (8076a19fdcab7e1fc1707952d652f0bb6c6db331, 2017-03-08T14:02:52.799Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

plantuml
jebbs
1.2.5

cpptools
ms-vscode
0.10.2

debugger-for-chrome
msjsdiag
2.6.0

language-vscode-javascript-angular2
nwallace
0.0.11

language-plantuml
qhoekman
0.0.3

nativescript
Telerik
0.6.1

Old schoold people like me, still want the numlock key disabled. This means that "ALT + arrows" (and using the arrows on the numpad of a desktop keyboard) results in inserting an ascii code instead in addition to the keyboard shortcut defined in VSCode.
Steps to Reproduce:

Open the editor with some text separated by newlines
ALT + Up arrow and ALT + Down arrow move the lines up and down
Now turn off the numlock on the keyboard
repeat the step at point (2):
ALT + Up Arrow (on the numpad) lead to inserting the character ◘
ALT + Down Arrow (on the numpad) lead to inserting the character ☻

I expect the behavior is consistent with Visual Studio where ascii characted are never injected on these keyboard combinations.
Thanks

+1

Not just up and down. left at least will insert a character.

Not just up and down. left at least will insert a character.

really irritating

It's been 6 years, any solution?

I use a workaround for this issue:

Install the MICROSOFT POWER TOYS (https://learn.microsoft.com/pt-br/windows/powertoys/).

Use the KEYBOARD MANAGER to remap each ARROW NUMPAD KEY to the PHYSICAL NUMPAD KEY:

Now ALT + NUMPAD ARROW is not inserting a character anymore.

I think this is Windows keyboard behavior.  So it cannot/should not be "fixed" by VSCode.
This is call Alt-code input. This is purposely used to input special characters using it code.
For those who reach here by searching the way to input Unicode characters, use Word or Wordpad, type [Alt+Character number] to input the character, then you can copy it to VSCode or other editors that support Unicode.

I think this is Windows keyboard behavior (Mac, Linux do have similar techniques). So it cannot/should not be "fixed" by VSCode.

This is true only if you have the numlock active. If you turn the numlock off, the behavior of VSCode is wrong.
In fact, if you repeat the same sequence on VS, it works as expected.


Add HTTP::Response#content_length

When converting an HTTP response object to an IO, I wanted that #size returns the value of the Content-Length header converted to integer, or nil if it's not present:
Integer(response["Content-Length"]) if response["Content-Length"]

I thought it would be nice to add this convenience method to HTTP.rb.

Thanks! Merged via fb1e90c2a22221ee15f93f537008c6466ab56fc3.

Perhaps a bit late, but I'm not a big fan of this method raising an ArgumentError when Content-Language has an unexpected value.
Can we rescue the exception and return nil instead in this case.
    context "with Content-Length not an integer" do
      let(:headers) { {"Content-Length" => "foo"} }

      it { is_expected.to be_nil }
    end

@britishtea I'm ok with this idea 👍

It's never too late. If you will send a PR - will merge it shortly - I'm on the side of this proposal too.

👍

@britishtea pushed fixed with your proposal.


[bug] Resolve k8s mode mapping is not available

What changes were proposed in this pull request
Issue Number: close #xxx

Brief change log

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (yes / no)

@wolfboys PTAL, thanks

cc @1996fanrui @lvshaokang


ReadTheDocs CI fails with 'python3.8: command not found'

I started seeing errors like this while working on https://github.com/fonttools/fonttools/pull/3053
E.g. https://readthedocs.org/projects/fonttools/builds/19855813/
The failing docs bot makes the whole PR checks red, which is a bit annoying.
Maybe we should somehow have the docs build not make the PR fail (like we did for codecov)
@chrissimpkins have you noticed this elsewhere? Can you please take a look?

Hm.. I changed from python3.8 to python3.10 but now I am getting a new error.. I'm confused.
Problem in your project's configuration. Invalid "python.version": expected one of (2, 2.7, 3, 3.5, 3.6, 3.7, 3.8, pypy3.5), got 3.10

https://readthedocs.org/projects/fonttools/builds/19856147/

I think it's because we are using a 'legacy' build configuration:
https://docs.readthedocs.io/en/stable/config-file/v2.html#legacy-build-specification
I'll try to switch to the latest recommended settings


Reflection controllers

Hello, it's me again. I tried to do reflection controllers, but I couldn't decide exactly where to keep them. Think this reflection can help you find all the controllers that inherit the base controller.
var allControllers = Assembly
                .GetEntryAssembly()
                .GetTypes()
                .Where(c => typeof(Controller).IsAssignableFrom(c)
                    && c.IsClass && c.Name.ToLower().EndsWith("controller"))
                .ToList();

Hope I helped with the lecture (:

Thank you for your code snippet. This functionality is now implemented!


Update Standard.md

Update line 40 to swap out jobs links from Upwork to Github.  When we moved to our Upwork Enterprise plan they made it a requirement to sign in to see our jobs.

Details

Fixed Issues

$ GH_LINK
Tests

QA Steps

Tested On

[ ] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

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

🚀 Deployed to staging by @ctkochan22 in version: 1.0.85-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Roll Flutter Engine from 965501a25d92 to 63898d56791a (10 revisions)

https://github.com/flutter/engine/compare/965501a25d92...63898d56791a
2023-08-24<EMAIL_ADDRESS>Roll Skia from 25fafff5b32c to 99a76ea8e1b2 (2 revisions) (flutter/engine#45083)
2023-08-24<EMAIL_ADDRESS>Revert "Turn on the skia_enable_optimize_size flag to save a bit of binary size" (flutter/engine#45082)
2023-08-24<EMAIL_ADDRESS>Roll Skia from d7d56885a49b to 25fafff5b32c (1 revision) (flutter/engine#45081)
2023-08-24<EMAIL_ADDRESS>[Impeller] Do not build scene unless 3d define is true (flutter/engine#45028)
2023-08-24<EMAIL_ADDRESS>Roll Skia from 177e8477faf9 to d7d56885a49b (1 revision) (flutter/engine#45078)
2023-08-24<EMAIL_ADDRESS>Reland: [Rasterizer] Make resubmit information temporary (flutter/engine#45037)
2023-08-24<EMAIL_ADDRESS>Add case checking to android sdk cipd upload script (flutter/engine#45063)
2023-08-24<EMAIL_ADDRESS>Roll Skia from<PHONE_NUMBER>89 to 177e8477faf9 (1 revision) (flutter/engine#45076)
2023-08-24<EMAIL_ADDRESS>Turn on the skia_enable_optimize_size flag to save a bit of binary size (flutter/engine#45029)
2023-08-24<EMAIL_ADDRESS>Roll Skia from b17ee34f3378 to<PHONE_NUMBER>89 (1 revision) (flutter/engine#45075)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Please adapt for Flutter3.10.5，Gradle8.0.1，Kotlin 1.5.20

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':platform_device_id' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

Please update this

I am having the same problem. An updated version would be very much appreciated.

Same.  Is there a workaround for this?

Yes, there is.
Fork this library, and the #42 to your fork, it fixes your issue. Then update your pubspec.yml to point to your git repo instead.

@tommysolsen 's idea worked like charm.


Visual Fix for DnD5e 3.X

Fix for issue #14

I don't know when the original author (jessev14) will pull in these pull requests in, so in the meantime, if you want to try out the fixes, you can load a preview build here:
Install Module - Manifest URL - https://github.com/kiloforce/health-monitor/releases/latest/download/module.json


Use hive instead of shared_preferences

Feature request
Is your feature request related to a problem? Please describe.
Currently, the way to store the user session is made by the plugin shared_preferences. It is not a secure storage, making the user info vunerable.
Describe the solution you'd like
Make use of a more secure storage solution, such as hive, since it's lightweight, fast and has encryption built-in. This is the storage solution used by firedart, the pure-dart firebase implementation.
Describe alternatives you've considered
Some other storage solutions, but they have some downsides:

shared_preferences: it's not secure, making the user info vunerable.
flutter_secure_storage: it doesn't support all the platforms, it's not lightweight and is slow.
sqflite: it's not fast and doesn't support all the platforms.

With all the downsides presented above, hive is the best storage solution to store the user session: it's fast, lightweight and has built-in encryption.

Hi @bdlukaa,
You raise a good point about hive being fast according to its bench mark test.
One question, and I do apologize if I am wrong, but doesn't hive also require additional secure storage if you want to make it secure?
https://docs.hivedb.dev/#/advanced/encrypted_box?id=encrypted-box

@dshukertjr it does, but it shouldn't be a big deal.
Flutter apps are encrypted by default (and it's very hard to reverse engineer it) and the key will likely not leak, specially if the app is obfuscated using the --obfuscate param is used when building the app. See https://flutter.dev/docs/deployment/obfuscate#obfuscating-your-app for more info

Note that the key, once defined, can't be changed. If so, it'll result in wrong user information


Payment.fns.formatCardNumber formats maxlength + 1

Thank you for this great port.
Payment.fns.formatCardNumber slices on maxlength + 1, this is causing card numbers to accept an extra input.

Noticing this, too. Pre-2.0.0 releases don't seem to have the issue (rolled back to 1.0.4 and it disappeared). For clarification, I can type beyond 16 numbers (19) into any field with formatCardNumber attached. Thanks in advance for any fixes :)

Thanks! Fixed in 2.0.3!


HelloSwitcher still relevant even for Windows 11

Just wanted to leave a comment in response to the note you have for Windows 11 users.  I have multiple USB cameras connected to the box, and this utility has been a god-send to manually choose the one Hello should be using.  Thanks again.

Also wanted to say the same.  I just purchased the new LG Gram which has a built-in camera that supports Hello.  I purchased a Logitech BRIO for Hello when I dock the laptop and use it in desktop mode.  I was very disappointed that it would not work and the only way I could get it to work was to manually disable the built-in camera.  But then whenever I undock, I have to re-enable the built-in camera.  I came across this project and was concerned when you stated that this tool was no longer supported.  I tried it anyways and it works great!!
Thank you so much and keep up the good work @emoacht 👍Hopefully this project will stay alive until MS issues a fix for Windows 11.

Just want to echo what everyone else is saying, just got an LG Gram & Logitech Brio and the native switching behaviour in windows is awful however, after setting up this program everything was solved! Thank you so much @emoacht!!


corrcoef_state - correlation query w.r.t xmap

Sir,
This is a general query about corrcoef_state  used in xmap (CCM).
(1) Is it correct to understand that the function corrcoef_state is used to find the correlation between source to target time series data inputs in xmap ?
(2) since CCM can work in non-linear data relationships, will corrcoef_state's correlation calculation work with time-series data under nonlinear relationships?
I also have a related generic CCM question after a cross-map prediction using nearest neighbors on X|Y(m) and Y||X(m), can we use Pearson correlation to finally arrive at the CCM correlation under an assumption that X and Y may have a nonlinear relationship?
Thanks in advance.

Hi @nsankar, corrcoef_state is a generic class used to calculate Pearson's correlation in parallel. It is nothing specific to EDM/CCM.

(1) Is it correct to understand that the function corrcoef_state is used to find the correlation between source to target time series data inputs in xmap ?

We do not calculate the correlation between the source and target time series; that would be just cross correlation. We calculate the correlation between the target time series predicted using cross mapping and the actual (observed) target time series.

(2) since CCM can work in non-linear data relationships, will corrcoef_state's correlation calculation work with time-series data under nonlinear relationships?

You can calculate the correlation between any linear or non-linear time series using corrcoef_state. However I assume what you want to do is CCM. In that case you need to use functions that implement the EDM algorithms (xmap, smap, etc.)
I did not understand your last question.

@keichi Thanks for the response. I think I got it. Primarily my doubt was since pearson correlation is meant for linear relationships , I was wondering if it is appropriate to use it for a cross mapped scenario. But as I understand, it can work on correlation between the target time series predicted using cross mapping and the actual (observed) target time series..

I will close this issue for now. Feel free to reopen if you have further questions.


removed hard-coded strings from IntroFragment.kt

Fixes #155
Strings migrated to strings.xml as:
<string name="intro_dialog_message">...</string>
<string name="intro_dialog_title">...</string>
<string name="intro_dialog_positive">...</string>
<string name="intro_dialog_negative">...</string>

Awesome! Thanks a bunch.
Just a quick fix: your commit message should follow the convention I'm using, which is:

Start with a tag, capitalized (in your case Refactor:)
Present-tense statement answering the question: "What does this commit do?", also capitalized

So for this one it would look something like this: Refactor: Move hard-coded strings from IntroFragment to strings.xml
Otherwise it's ready to merge!

If you need help with fixing the message and force pushing to the PR let me know!

Thanks for the suggestion, I hope it's alright now.

Yep thanks for the contribution, and welcome to Padawan!


[BUG]: Relations inferring incorrect table with non-default Postgres schema

What version of drizzle-orm are you using?
0.27.0
What version of drizzle-kit are you using?
0.19.2
Describe the Bug
I use the default Postgres Public schema with a Users table ("public.users") and an Auth schema with a Users table from Supabase ("auth.users").
Users can have many AuthUsers (aka multiple authentication methods to log in). This is represented via a join table Identities as I can't write to Supabase's auth.users table.
I've defined them as follows in the Drizzle schema:
// schema.ts

export const users = pgTable("users", {
  id: text("id").primaryKey(),
  // rest omitted...
});

export const authSchema = pgSchema("auth");

export const auth_users = authSchema.table("users", {
  id: uuid("id").primaryKey(),
 // rest omitted...
});

export const identities = pgTable("identities", {
  user_id: text("user_id").references(() => users.id).notNull(),
  auth_uid: uuid("auth_uid").references(() => auth_users.id).notNull(),
  // rest omitted...
}, (t) => {
  return {
    pk: primaryKey(t.user_id, t.auth_uid),
  };
});

// relationships

export const identitiesRelations = relations(identities, ({ one }) => ({
  user: one(users, {
    fields: [identities.user_id],
    references: [users.id],
  }),
  auth_user: one(auth_users, {
    fields: [identities.auth_uid],
    references: [auth_users.id],
  }),
}));

export const usersRelations = relations(users, ({ many }) => ({
  identities: many(identities),
}));

What I've found is that the types aren't being inferred correctly for the identity <> auth_user relation as seen here:

Where auth_user: One<"users", true> is inferring "users" instead of the "auth_users" table from the auth schema.

Running a relational query like this:
 const data = await db.query.users.findMany({
    with: {
      identities: {
        with: {
          auth_user: true,
        },
      },
    },
  });

Will result is an error:

Unhandled Runtime Error
Error: operator does not exist: uuid = text

Which is a Postgres level error – it seems this is because instead of comparing identies.auth_uid (uuid) and auth_users.id (uuid) it's comparing it to users.id (text)
Thanks for taking a look!
Expected behavior
I would expect the correct postgres schema + table combination to be used when doing a relational query.
Environment & setup
All environments.

Do you have a solution for this?

PostgresError: relation "authorization.user" does not exist
me bug

Similar issue when generating migrations with drizzle-kit -, the schema is never referenced in the SQL script's fk

I'm running into the same issue 😞 it'd be nice to get some more info from the error too if possible ie. where is this happening and what's causing it (what tables/fields).
- error node_modules/postgres/src/connection.js (771:25) @ postgres
- error PostgresError: operator does not exist: text = uuid
    at Socket.emit (node:events:513:28)
digest: "1620123906"

is what I'm getting back

+1 here


Support selecting key if more than one secret key exists

I have two GPG secret keys in my keyring.
I think the wrong one is listed first, so any 'encrypt' operations result in this:
/home/andy/.gem/ruby/1.8/gems/gpgme-2.0.2/lib/gpgme/ctx.rb:432:in `encrypt': General error (GPGME::Error::General)
    from /home/andy/.gem/ruby/1.8/gems/gpgme-2.0.2/lib/gpgme/crypto.rb:99:in `encrypt'
    from /home/andy/.gem/ruby/1.8/gems/gpgme-2.0.2/lib/gpgme/ctx.rb:67:in `new'
    from /home/andy/.gem/ruby/1.8/gems/gpgme-2.0.2/lib/gpgme/crypto.rb:90:in `encrypt'
    from /home/andy/.gem/ruby/1.8/gems/hiera-eyaml-gpg-0.2/lib/hiera/backend/eyaml/encryptors/gpg.rb:123:in `encrypt'
    from /home/andy/.gem/ruby/1.8/gems/hiera-eyaml-1.3.4/lib/hiera/backend/eyaml/actions/encrypt_action.rb:38:in `execute'
    from /home/andy/.gem/ruby/1.8/gems/hiera-eyaml-1.3.4/lib/hiera/backend/eyaml/CLI.rb:101:in `execute'
    from /home/andy/.gem/ruby/1.8/gems/hiera-eyaml-1.3.4/bin/eyaml:13
    from /home/andy/.gem/ruby/1.8/bin/eyaml:19:in `load'
    from /home/andy/.gem/ruby/1.8/bin/eyaml:19

I'm running Ruby 1.8 (for Puppet 2.7.x compatibility) on Arch Linux, with the following gems installed:

gpgme (2.0.2)
hiera (1.1.1)
hiera-eyaml (1.3.4)
hiera-eyaml-gpg (0.2)

Hello
I have exactly the same issue, I have 2 valid encryption subkeys in my GPG key (and 3 non-valid encryption subkeys). In order to use the 2 valid encryption subkeys and not the invalid ones I usually give the subkey ids followed by ! to gpg as recipient
$ gpg -e -r 0xSUBKEY_ID! < text
I've configured gpg_recipients_file and put both SUBKEY_IDs in gpg_recipients_file
Looking at the debug log (GPGME_DEBUG=9), i can see that gpgme (or hiera-eyaml-gpg, I really don't know) first list all the keys associated with the recipient is passed
$ eyaml encrypt -n gpg -s "A secret string to encrypt" --gpg-recipients '0x376920A4AE80E637!' 2>&1

GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: enter: path=0x5623e664a050, path=/usr/bin/gpg
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 0] = gpg
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 1] = --batch
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 2] = --no-sk-comments
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 3] = --homedir
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 4] = /home/gfa/.gnupg
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 5] = --status-fd
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 6] = 8
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 7] = --no-tty
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 8] = --charset
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[ 9] = utf8
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[10] = --enable-progress-filter
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[11] = --exit-on-status-write-error
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[12] = --display
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[13] = :0
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[14] = --ttyname
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[15] = /dev/pts/2
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[16] = --ttytype
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[17] = screen-256color
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[18] = --logger-fd
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[19] = 12
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[20] = --with-colons
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[21] = --list-keys
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[22] = --
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, argv[23] = 0x376920A4AE80E637!
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, fd[0] = 0x8
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, fd[1] = 0xa -> 0x1
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e664a050, fd[2] = 0xc

that resolves to the ID of my master key, which afterwards is used to encrypt the message
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: enter: path=0x5623e6860d00, path=/usr/bin/gpg
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 0] = gpg
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 1] = --enable-special-filenames
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 2] = --batch
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 3] = --no-sk-comments
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 4] = --homedir
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 5] = /home/gfa/.gnupg
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 6] = --status-fd
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 7] = 8
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 8] = --no-tty
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[ 9] = --charset
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[10] = utf8
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[11] = --enable-progress-filter
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[12] = --exit-on-status-write-error
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[13] = --display
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[14] = :0
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[15] = --ttyname
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[16] = /dev/pts/2
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[17] = --ttytype
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[18] = screen-256color
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[19] = --logger-fd
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[20] = 10
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[21] = --encrypt
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[22] = -r
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[23] = 1AE0322EB8F74717BDEABF1D44BB1BA79F6C6333
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[24] = --output
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[25] = -
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[26] = --
GPGME 2019-03-11 01:01:32 <0x70a8>    _gpgme_io_spawn: check: path=0x5623e6860d00, argv[27] = -&13

then it fails (fails in the sense is not encrypted with the key i want it to be encrypted) because gpg  now chooses whatever subkey it wants from my key instead of the configured ones
Maybe instead of using the first key key_to_use should be equal to --gpg-recipients if they start with 0x ?
let me know if i can help testing or providing more information, thanks for the backend :)


Adds armresources module with examples

This adds a handful of examples, more are required.  However I wanted to get an early read on the pattern used in the examples before I copy/paste more that end up needing to be reworked.  E.g. should we have the helper getDefaultClient(), or is it more valuable to duplicate this code so each example is fully self-contained?  I'm leaning towards the latter as this is what consumers will see in pkg.go.dev.
I'm also wondering about the usage of a "default client" that is fed into operation group-specific clients.  I feel like this is a little confusing/clunky.

I am more on the side of having each sample be self-contained because, as you mentioned, it will be shown more completely in pkg.go.dev. Also, it could make understanding and using each individual sample better for users, even if there is a lot of repetitive code.

@jhendrixMSFT two points of feedback here

besides samples we should have a high-level guide / quickstart of the SDK. (Including how to install, authenticate, use pattern). This can be done near the actual release date after we address all the things in the SDK
For existing samples, I see currently the code samples located under each API version. Do we plan to update those as new versions are released every time? We also need to configure and structure those samples in such a way so that it can show up on docs.microsoft.com. An example is this repo: https://github.com/Azure-Samples/azure-samples-python-management

/check-enforcer override


@conda-forge-admin, please add bot automerge

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/flask_request_id-feedstock#2.


Right to Left support

I could not find anything on RTL support.

hey @hadifarnoud, maybe you can help us implement RTL support?
Would love to see how we can do that or even better, a contribution from your side?

Sure! let me know where to begin and what to do.

We have no specific experience with RTL support; do you? We would love to benefit from someone's experience on this!

I do @ngarnier. It's easy to do with direction:rtl and text-align:right in CSS. just implement something and I'll help test and refine it :)

Hey @hadifarnoud, thanks for your answer!
RTL's not the priority right now as we're working on incremental improvements and new features (especially components) but we'll welcome any contribution to support it!

I can see how RTL would be useful especially for transactional messaging and B2C messages. Would be a great attribute to add to miml-text component direction="l2r" or "direction="r2l" with probably "l2r" being the default.
Would it be more useful to add it to the whole column? I can see that being useful but it may break other things where as adding it to the text should be safe.
@ngarnier We need an "MJML Labs" where we can see components that are in progress ;)

It could be used in column, text, invoice, button, hero, and table.
If someone does it for one of these, I can figure out how to do it for others.
On Thu, 02 Jun 2016 at 23:30 zrb0529
<
mailto:zrb0529<EMAIL_ADDRESS>
wrote:

I can see how RTL would be useful especially for transactional messaging and B2C messages. Would be a great attribute to add to miml-text component direction="l2r" or "direction="r2l" with probably "l2r" being the default.
Would it be more useful to add it to the whole column? I can see that being useful but it may break other things where as adding it to the text should be safe.
https://github.com/ngarnier
We need an "MJML Labs" where we can see components that are in progress ;)
—
You are receiving this because you were mentioned.
Reply to this email directly,
https://github.com/mjmlio/mjml/issues/230#issuecomment-223389167
, or
https://github.com/notifications/unsubscribe/AAj_8MiIcY52jZItqeOzDL6n7Ow9-irBks5qHyg_gaJpZM4IY4z_
.
https://github.com/mjmlio/mjml/issues/230#issuecomment-223389167

Indeed, the best way would probably to add a direction attribute that would be set to l2r by default to text components such as text and button (mj-attributes would then help setting it a default direction).
@zrb0529, one way to see what we're working on is to check the Work in Progress label :-)

I used the following as a workaround to generate an RTL template.
  <mj-head>
    <mj-style>
      * { direction: rtl; text-align: right !important; }
    </mj-style>
  </mj-head>

of course you can define more granular css rules if you want only some elements to be rtl.
In general - I would expect a direction="ltr" attribute to just add an inline style  direction:rtl; or a dir="rtl" attribute to generated html the element.
I don't know much about MJML (yet) as I just started using it today, but I would be happy to contribute in the future.

That's actually a very nice workaround, thanks for sharing @rubinsh! Just a quick note, you might want to add inline="inline" as an attribute to mj-style so it's inlined instead of added in the head.
  <mj-head>
    <mj-style inline="inline">
      * { direction: rtl; text-align: right !important; }
    </mj-style>
  </mj-head>

nice to have a workaround for now. still, would be cool to have rtl natively

this method overrides text align everywhere. even if I set align="center". any idea how to fix it?

@hadifarnoud did you try
text-align: center !important

I have but still the other one seems to be considered

When is this issue planed to be developed? Thanks!

Well the best workaround is to use mj-style with css-class as said earlier.
I don't think we can go deeper than this (adding an attribute on every component would be painful to manage ?)

I think adding RTL support is very important. without that this framework cannot be used in many big projects that have to support multiple languages. the current solution is a dirty fix. attribute is more clean way of doing it

Only issue is, an rtl attribute would conflict with most of align attribute i think ?
We might need a little help with starting a PR on this one and trying some implementation so we could discuss on it.

Is there a way to make direction="rtl" applied to a section, work in grouped columns too?
Right now it seems it doesn't work: https://mjml.io/try-it-live/SkXSfqCPE

@damianvila direction only applies on section's direct children, but for what you want you can set direction on mj-group

@kmcb777 That seems to be undocumented, right? It seems to work though. Thanks!

@damianvila, i was looking for support on this as well. I found out the only ~hack~ way is to add in the direction: bla bla property in the compiled html, instead of mjml directly.

any news on this?

you don't see the docs update? they added the support https://documentation.mjml.io/#mj-group

right to left text isn't the same as direction attribute on group/section as it's only here to control the display order on mobile/desktop.
No one in the team is experienced with RTL text support, so we're open on PR here. There's a chance that everything can be done exclusively in CSS with mj-style or with inline style but if there's anything that can be done to improve this for non LTR then let's go for it

Usually it's enough to introduce "logical" units instead of physical. Examples are start/end instead of left/right. Then this logical units might be swapped when you switch between rtl/ltr version. This is how actual web standarts handle this issue. CSS Logical Properties, also Flexbox and Grid avoiding any physical units in favor of 'flex-end/flex-start' etc.
I'm using mjml with a preprocessor, and implemented RTL this way:
<mj-head>
  <mj-style inline="inline">
      * { direction: <%~ it.dir %>; }
  </mj-style>
  <mj-attributes>
     <!-- Introduce Logical Start/End-->
     <mj-class name="align-start" align="<%~ it.dir == 'ltr' ? 'left' : 'right' %>"/>
     <mj-class name="align-end"   align="<%~ it.dir != 'ltr' ? 'left' : 'right' %>"/>
  </mj-attributes>

  <mj-body>
     <!-- Use logical units instead of physical left/right -->
    <mj-image  mj-class="align-start"  ...  />
  </mj-body>
</mj-head>

@thekip I like that approach.
Which preprocessor are you using?

I'm using Eta
Here is our snippet:
import * as Eta from 'eta';
import mjml2html from 'mjml';

async function renderFileToString(
  filePath: string,
  overrideFolder: string,
  data: unknown,
): Promise<string> {
  let mjmlFull: string;

  try {
    mjmlFull = (await Eta.renderFileAsync(filePath, data, {
      views: [overrideFolder, basePath],
    })) as string;
  } catch (e) {
    console.error('Error while parsing Eta template :', filePath, overrideFolder, e as any);
    process.exit(1);
  }

  const html = mjml2html(mjmlFull, {
    fonts: {},
    actualPath: filePath,
  });

  if (html.errors.length) {
    html.errors.forEach((error) => {
      console.error(error.formattedMessage + '\n');
    });

    process.exit(1);
  }

  return html.html;
}

Logic with "overrides" is related to our app, you can omit it.


tooltip.position function never gets point as parameter

C3 version: 0.6.8
D3 version: 5.7.0
Browser: Chrome 70.0.3538.77.
OS: MAC OS 10.13.6.
I'm trying to add a custom tooltip to a spline chart but I'm unable to calculate the position because the 'element' parameter of the function is always the 'c3-event-rect' and not the point that I'm hovering. I've tried to change the value of the 'grouped' option (as suggested here: https://github.com/c3js/c3/pull/833) but it doesn't change anything.
codepen:
https://codepen.io/antonvp/pen/PyrRBR
Please let me know if I'm doing something wrong.
The result I am looking for is something like this:

Is there any update to this? Seems like something really basic.


do not show to long string for keyboard layout name

What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[x] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Other: Replace this with a description of the type of this PR

Description

In my case layout name "macintosh_vndr/gb". It is too long,
"gb" is enough.
Documentation (check all applicable)

[ ] This PR requires changes to the Wiki documentation (describe the changes)
[ ] This PR requires changes to the documentation inside the git repo (please add them to the PR).
[x] Does not require documentation changes

I agree with @parmort, we shouldn't change existing behavior.
I don't know much about how the different parts of the keyboard layout name are structured and if there is even a defined structure. Maybe you have some more insight here than me.
But I would tend to prefer adding a new token for whatever we would call the thing after the slash instead of controlling it through a new config option.
@Dushistov let me know if you would want to work on something like that. If so, we would need to find a name for the thing after the slash and introduce a new token that contains everything after the slash.

Closing due to inactivity


create confirmation email frontend

Change the List so that the teacher can request a confirmation of the rent.

the signature field should be changed to a button "Bestätigung Anfragen" that should tell the server to send a confirmation mail to the student #39
When a request was sent the field should be changed to a status display of the confirmation_status of the rent.

when the status is declined the field should be clickable and bring up a box that explains that the rent was declined and show the confirmation_message as well as a button "Erneute Bestätigung Anfragen"

Create a page in the frontend that is linked from the mail and allows users to confirm or decline rents

changed tsconfig to compile new ts file
added simple display of rent to confirm or decline
changed status display to german

rest fuktioniert sehr gut :)


Multiple subscriptions not working correctly

Hello,
I use the graphl-java-generator with maven to generate the source code for client and the server.
I use the following versions
com.graphql-java-generator.graphql-java-runtime 1.12.2
com.graphql-java-generator.graphql-java-client-dependencies 1.12.2
com.graphql-java-generator.graphql-java-server-dependencies 1.12.2
io.reactivex.rxjava2.rxjava 2.2.20
The queries and the mutations are working quite well.
I have some problems with the subscriptions. If only one client do a subscription everything works well. If I add more than one subscription-client only the last client will be informed correctly.
After a small research it seems that there is a bug on the server side in the generated file 'WebSocketHandler.java'.
In this file the field subscriptionRef (Type: org.reactivestreams.Subscription) seems to be overridden by a new subscription. So only the last Subscription will work well. The previous clients will not informed correctly.
Maybe someone can have a look at this.
By the way. This is a cool project. Please keep working on it!!!!
Best regards.... Alex

By the way. This is a cool project. Please keep working on it!!!!

Thanks for that!
:)
(I spend a lot of time for this, so this kind of comment is always nice)
Don't worry about that. I'll keep working on this one. I maintained 10 yeats the last project I managed. And I only stopped it, when the technology was no more supported.
Which, I guess, is far from now, when speaking about GraphQL!
Thanks for the report and analysis. I'll check that.
Etienne

I confirm that there is an issue. As when I execute two times the current test, in the forum client project, the second one is a failure.
But if I execute two subscriptions in the same test, it works properly.
I wonder if there is a link with the way the subscription is closed.
I'll keep on searching for this one...

Hum, there is no direct link with the way the subscription is closed.
And about the WebSocketHandler:
This class is created only once, when Spring calls the registerWebSocketHandlers.
So the subscriptionRef field is created once. And it can not be overridden, as it is final.
So, yes, there is a bug somewhere.
But I can't manage to create a test that repeat it, yet.
Can you give me more details on how you've found (and repeat) this bug?

Hello Etienne,
How to reproduce the problem:
Subscribe two clients and initiate TWO events on the server side for this subscriptions.
Normally both clients should be informed twice. But that does not happen.
About the WebSocketHandler:
You are right. The WebsocketHandler is a singelton and the subscriptionRef is final. The subscriptionRef is only created once. But the content will be overridden for every subscription.
Look at the onSubscribe-Method below.
publisher.subscribe(new Subscriber<ExecutionResult>() {

	@Override
	public void onSubscribe(Subscription s) {
		log.debug("Executing subscription");
		subscriptionRef.set(s);
		request(1);
	}

....
}

I am not so familar with websockets and the rxjava2 stuff. As I understand the WebSocketHandler should handle every client connection. For every client the Methods 'afterConnectionEstablished' and 'afterConnectionClosed' is called. So the WebSocketHandler should handle more than one subscriptionRef.
I build a workaround for our system. I change the WebSocketHandler. I manage the multiple subscritionRefs based on the session. Maybe the code below will explain it a little bit better.
public class WebSocketHandler extends TextWebSocketHandler {

    private static final Logger log = LoggerFactory.getLogger(WebSocketHandler.class);

    GraphQLProvider graphQLProvider;

    // Key (String) is SessionId
    private final HashMap<String, Subscription> subscriptionRef = new HashMap<>();

    public WebSocketHandler(GraphQLProvider graphQLProvider) {
	this.graphQLProvider = graphQLProvider;
    }

    @Override
    public void afterConnectionEstablished(WebSocketSession session) throws Exception {
	log.info("Websocket connection established: {}", session.getId());
    }

    @Override
    public void afterConnectionClosed(WebSocketSession session, CloseStatus status) throws Exception {
	synchronized(subscriptionRef) {
	    Subscription subscription = subscriptionRef.remove(session.getId());
	    if (subscription != null) {
	        subscription.cancel();
	    } else {
	        log.error("Failed to find subscription");
	    }
	}
	log.info("Websocket connection closed: {} / Memorized session: {}", session.getId(), subscriptionRef.size());
    }

    @Override
    protected void handleTextMessage(WebSocketSession webSocketSession, TextMessage message) throws Exception {
	String graphqlQuery = message.getPayload();
	log.trace("Websocket said {}", graphqlQuery);

	QueryParameters parameters = QueryParameters.from(graphqlQuery);

	ExecutionInput executionInput = ExecutionInput.newExecutionInput().query(parameters.getQuery())
	        .variables(parameters.getVariables()).operationName(parameters.getOperationName()).build();

	Instrumentation instrumentation = new ChainedInstrumentation(singletonList(new TracingInstrumentation()));

	//
	// In order to have subscriptions in graphql-java you MUST use the
	// SubscriptionExecutionStrategy strategy.
	//
	GraphQL graphQL = GraphQL.newGraphQL(graphQLProvider.getGraphQLSchema()).instrumentation(instrumentation)
	        .build();

	ExecutionResult executionResult = graphQL.execute(executionInput);

	Publisher<ExecutionResult> publisher = executionResult.getData();

	publisher.subscribe(new Subscriber<ExecutionResult>() {

	    private final String sessionId = webSocketSession.getId();
	    private Subscription subscription;

	    @Override
	    public void onSubscribe(Subscription s) {
	        log.debug("Executing subscription");
	        synchronized(subscriptionRef) {
	            subscriptionRef.put(sessionId, s);
	        }
	        subscription = s;
	        subscription.request(1);
	    }

	    @Override
	    public void onNext(ExecutionResult er) {
	        log.debug("Sending new notification");
	        try {
	            Object data = er.getData();
	            String json = JsonKit.toJsonString(data);
	            webSocketSession.sendMessage(new TextMessage(json));
	        } catch (IOException e) {
	            e.printStackTrace();
	        }
	        subscription.request(1);
	    }

	    @Override
	    public void onError(Throwable t) {
	        log.error("Subscription threw an exception", t);
	        try {
	            webSocketSession.close();
	        } catch (IOException e) {
	            log.error("Unable to close websocket session", e);
	        }
	    }

	    @Override
	    public void onComplete() {
	        log.info("Subscription complete");
	        try {
	            webSocketSession.close();
	        } catch (IOException e) {
	            log.error("Unable to close websocket session", e);
	        }
	    }
	});
    }

}

You can check the 1.12.3 released today

Thanks, works like a charm!!
Alex

Great
:)


Consider removing hard dependency on owl

While I like owl, I think it's really nice when libraries like this have minimal dependencies. It comes in handy when working on projects where people scrutinize each dependency. Until you see how it's used here, it's a little surprising when a networking library pulls in a TUI library.
I have.a couple ideas that I wanted to run by you:

Make :owl an optional dependency. Users will get an error when running the TUI functions. This seems annoying, but not unexpected.
Break the TUI into another library. I don't know what your plans are for the TUI, but if you were thinking about extending it a lot, this might make sense regardless.
Rewrite the :owl parts. Erlang's IO formatting supports fixed width fields well. See https://www.erlang.org/doc/apps/stdlib/io.html#fwrite/3.

@fhunleth I started working on this in the linked PR


Add section on object literals

Although object literals are mentioned throughout the docs and release notes in various places (ex. pages/Type Compatibility.md, pages/Type Checking JavaScript Files.md), they are not explicitly documented anywhere (such as Object Types from the Flow documentation).
Would the TypeScript team be open to having these documented explicitly somewhere? Such as on the Basic Types page in the Object section?
Actually, come to think of it, it would be good to have a section on type aliases too... they are also mentioned often without their own area in the beginners material...

This is a good idea, it's worth checking the new handbook to see if that's still an issue: https://github.com/microsoft/TypeScript-new-Handbook

Ah wow, cool! The new docs are looking great. I'll use these as a reference for the course material I'm writing.
I suppose we can probably close this, since these are now both being documented:

Object Literals: (now called Object Types)
Type Aliases


Known issue guide

Hi,
Firstly thanks for writing this great book.
In the known issue part of readme, I found the resolution is not correct. Please correct it.
when trying out the examples then try updating apiVersion: extensions/v1beta1 to apiVersion: extensions/v1beta1 in your deployment.yaml file(s).

Thanks for catching this @flycoolman. Fixed in #23


About page update

📝 Changed routes:

/about

(view full size)

Commit 6ab4285e07f6fad1b9a2b3a7f7c7010c232784fa (https://thirdweb-jkzbcka5z.thirdweb-preview.com).


Add a button to reject all cookies

It is horrible User experience if you have to switch off every single site to disable all cookies.
This is also required by the EU GDPR as rejecting all cookies mustn't take longer than accepting them.
The GDPR also says that Users have to opt-in to use cookies. That means that checkboxes mustn't be pre turned on.

I agree, this is encouraging anti patterns

+1


Remove catch-all on TransactionReceipt and Block and use Rich

Component
rpc-types
What version of Alloy are you on?
No response
Operating System
None
Describe the bug
https://github.com/alloy-rs/alloy/pull/66 was expedited to unblock the providers migration on foundry. However, this introduces a catch-all that we'd rather not have. Once https://github.com/foundry-rs/foundry/pull/6219 is merged we should remove this catch-all field and instead use a wrapper type WithExtraFields<T> that can hold arbitrary values on the map, and the original type too.

closing as complete considering the any network now exists


how to show localport and processname from Get-NetTCPConnection at the same time

As mentioned in title:
how to show localport and processname from Get-NetTCPConnection at the same time

This takes an extra step. The output from Get-NetTcpConnection does have an OwningProcess property, but it only lists the ID. You need to calculate the ProcessName via Get-Process using Select-Object.
Get-NetTcpConnection | Select-Object -Property LocalPort, @{
    Name       = 'ProcessName'
    Expression = { (Get-Process -Id $_.OwningProcess).Name }
}

Will it possible to implement this feature (show them at the same time) within get-nettcpconnection in the later powershell version ?  just add one more parameter like -showprocessname to make it more convenient.


add list of models to avoid to TODO

Should we make a list of all hardware bugs/defects in those machines, such as deteriorating grounding/faulty backlight circuit in KOHAKU?

Yes, that was the plan


⚖ Register Validator:

Network Choice
nemeton-1
Who are you?
I'm Serkan, I'm from Turkey. I have been dealing with software for 12 years and cryptocurrencies for 8 years. Although my professional profession is medical doctor, I took part in testnet/devnet and genesis of more than 100 projects.
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"sevdet","identity":"KEYBASE_ID","website":"YOUR_WEBSITE","security_contact":"VALIDATOR_EMAIL","details":"VALIDATOR_DETAILS"},"commission":{"rate":"0.050000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"okp41h6hwjnmkmh32hdp6fhxe7kuptu8qkjmeyazez7","validator_address":"okp4valoper1h6hwjnmkmh32hdp6fhxe7kuptu8qkjme36jsul","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"sOEXT9g4NUqNVntUmVryh1e7opCT8EPdy0bJxBYbrcU="},"value":{"denom":"uknow","amount":"10000000000"}}],"memo":"a81ac5f7c4362871b1d2b2d7d185b3fbd25c3aba@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Aty5y96qRBmu+976O9v28xU2Avt6cz1fpmjm42q5cGMo"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["Da0wt7Fb4R1V6E8zTFe2+Q+pYu4AHF0MFVBJM1QdBMJ49ybXdtMGPsEsKrBmWaDTATxU/4wDElbWtO3ggZC+Ug=="]}

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/434


[BUG] - selectedKey prop throwing errors when assignment is done in autocomplete component

NextUI Version
2.2.9
Describe the bug
I am trying to use the same code as in example provided for autocomplete component in https://nextui.org/docs/components/autocomplete#fully-controlled.
type FieldState = {
    selectedKey: React.Key | null;
    inputValue: string;
    items: typeof users;
};

return (
  <Autocomplete
      className="max-w-xs"
      inputValue={fieldState.inputValue}
      items={fieldState.items}
      label="Favorite Animal"
      placeholder="Search an animal"
      selectedKey={fieldState.selectedKey}
      variant="bordered"
      onInputChange={onInputChange}
      onOpenChange={onOpenChange}
      onSelectionChange={onSelectionChange}
  >
      {(item) => <AutocompleteItem key={item.value}>{item.label}</AutocompleteItem>}
  </Autocomplete>
);

I am getting an error message on the selected prop Type 'Key | null' is not assignable to type 'Key | null | undefined'.   Type 'bigint' is not assignable to type 'Key | null | undefined'.ts(2322) selection.d.ts(19, 3): The expected type comes from property 'selectedKey' which is declared here on type 'IntrinsicAttributes & Props<{ label: string; value: string; description: string; }> & { ref?: Ref<HTMLElement> | undefined; }'
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Replicate this example https://nextui.org/docs/components/autocomplete#fully-controlled

Expected behavior
Component should not be throwing error against selectedKey prop
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Firefox

Duplicated #2182


Exporting metrics over JMX

This is not a bug report, instead a feature request.
Does/can openconsensus expose metrics over JMX? We have a homegrown metric system which has agents for reading metrics from JMX and exporting them. In fact, exposing metrics over JMX will help openconsensus integrate with a lot of legacy systems around the block.
Documentation is missing for writing Stats exporter for openconsensus in java, adding that would help for someone from community to contribute a JMX exporter.

+1 need this feature. JMX is basic & built-in solution without any extra dependencies in Java world. It would be a problem expanding the tags into hierarchal style.


Support directives without value

This closes #16.

This is looking good! Can you please add a test for this behavior?

Tests added.

awesome! Thank you!

v1.0.2 released with these changes


feat: Added custom query support for Oracle

feat: Added custom query support for Oracle(#502)

gcbrun

/gcbrun

/gcbrun

/gcbrun


SOAPAction header

Hi! I got an issue when trying to record a cassete with soap - it was always returning this message:
SoapFault: The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver.  Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
So i tweaked SOAPHook a bit:
//SOAPHook::doRequest from line 73

$vcrRequest->setHeader('Content-Type', $contentType . '; charset=utf-8;');
$vcrRequest->setHeader('SOAPAction', $action);
$vcrRequest->setBody($request);

... and it worked. What would you say about that? Maybe i should do a PR?

oh i see https://github.com/php-vcr/php-vcr/pull/133


Multiple videos on one website, howto get second video?

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
On the website https://tele5.de/mediathek/quatermain-und-der-schatz-des-koenig-salomon-teil-1-2/ two videos are provided but yt-yt-dlp only load the first of them. How will I get the second video?


inliner favors first property found, ignoring specificity of css selector

Hi,
sorry for the late reply. This bundle has no contains no inlining code, it uses Tijs Verkoyen's CssToInlineStyles, for inlining the css. If the problem still exists maybe he can help.


Create a Stack bar plot and cluster bar plot

consider the next example
plot := DCBarPlot new.
plot y: y.
"combined := DCCombinePlot new."
combined := DCStackBarPlot new.
combined := DCClusterBarPlot new.
combined add: plot.
plot := DCBarPlot new.
plot y: y2.
combined add: plot.
combined build.
combined show.

or this

In roassal this is the code to produce stacket bar plot
| c p p2 x y barSize y2 |
x := 0.0 to: 2 count: 10.
y := (x raisedTo: 2) - 2.
c := RSChart new.
p := RSBarPlot new  y: y.
c addPlot: p.

y2 := (x raisedTo: 3) - 2.
p2 := RSBarPlot new  y: y2.
p2 bottom: y.
p2 color: Color blue translucent.
c addPlot: p2.
c addDecoration: (RSHorizontalTick new
	doNotUseNiceLabel;
	integer;
	numberOfTicks: y size - 1;
	yourself).
c build.
c shapes @ RSDraggable.
c canvas.

for cluster we have this script:
| c p p2 x y barSize |
x := 0.0 to: 2 count: 10.
y := (x raisedTo: 2) - 2.
c := RSChart new.
p := RSBarPlot new  y: y.
c addPlot: p.
barSize := 8.
p barSize: barSize.
p barOffset: barSize / -2.

y := (x raisedTo: 3) - 2.
p2 := RSBarPlot new  y: y.
p2 color: Color blue translucent.
p2 barSize: barSize.
c addPlot: p2.
p2 barOffset: barSize / 2.
c addDecoration: (RSHorizontalTick new
	doNotUseNiceLabel;
	integer;
	numberOfTicks: y size - 1;
	yourself).
c

done


EXR Playback Performance

Hello!
I'm having issues with playing back a sequence of 2k EXRs (Scanline, ACEScg) from a fast local drive.
The playback rate never goes higher than 8FPS (using the HUD) even when the sequence is fully cached.
I tried Window, presentation and full modes.
System specs
MRV 1.10
Windows 10
AMD Ryzen Threadripper 3955WX 16Cores
NVIDIA RTX 5000
128Gb memory
In comparison, cineSyncPlay can playback the same sequence at 24FPS and makes a big use of the GPU.
I haven't tried xStudio or OpenRV yet.
I would love to rely on an OpenSource for these features
Open Source, OCIO2, Annotations, OTIO support, Python API
Thanks a lot

I'm having issues with playing back a sequence of 2k EXRs (Scanline, ACEScg) from a fast local drive. The playback rate never goes higher than 8FPS (using the HUD) even when the sequence is fully cached. I tried Window, presentation and full modes.

That's really strange, as your machine specs are really good and you said you cached the sequence, which was my first guess.

Can you show me the values of your Settings Panel?
How long is your sequence?
What are your OCIO settings (ie. Input Color Space, Display/View and Look)?
Are you using a custom config ocio file?  If so, can you post it here?

I would love to rely on an OpenSource for these features Open Source, OCIO2, Annotations, OTIO support, Python API

Most people are already using mrv2 without any issues, so I am puzzled what's wrong with your configuration.

Thanks for the quick answer

Find attached a screenshot of my Settings Panel
The sequence has 869 frames, but it also happens with shorter image sequences
OCIO transform : ACEScg -> sRGB Display / ACES 1.0 - SDR Video
I am using a custom OCIO config but the problem persists with the built-in configs

I apologize for the colors, as this was not ACEScg, just for testing.  Here's a sample of 2K EXRs playing at 60FPS with ACEScg on my Windows 11, NVidia RTX9800 a sequence of about 200 Frames:
https://github.com/ggarra13/mrv2/assets/6072843/97ba0115-9e48-4b69-99f8-31450ac46128

The sequence has 869 frames, but it also happens with shorter image sequences

Would it be possible for you to upload a portion of the sequence that exhibits the issue to some download service (ie. mega.nz, dropbox, etc) as a .zip file?  If the project is confidential, send me the link to<EMAIL_ADDRESS>instead of posting the link in public.
Also, I forgot to ask you:

Do you have any additional color corrections applied, by any chance, either gamma, gain or those in the Color Panel?
What does your System->Display Settings look like (not sure if this in the same on Windows 10)?
- Do you have HDR?
- Do you have Scale at other value than 100%?
- What is your Display Resolution / Orientation?
- What is the summary of Advanced display?
- Do you have multiple monitors?

Finally, one more thing:

Can you play 2K movie files at 24fps or do they also play at 8 FPS?

No color correction is applied in the Color settings

I have a single big monitor and resolution was set to 3840x2160 with a Scale of 150%.
I changed it to 1920x1080 at 100%, rebooted the machine and still got the issue

I also tried to play H264 clips at 1920x1080 and I got the same framerate performance (around 6FPS).
when playing the sequence/clip, both CPU and GPU are really low usage

I could share with you the exr sequence but I doubt that the problem comes from it
I do have access to a lot of workstations and have been trying on multiple machines without success.
Though I don't think I have tested Windows 11 yet
Thank you

I do have access to a lot of workstations and have been trying on multiple machines without success.
Though I don't think I have tested Windows 11 yet

Thank you for your patience.  I have isolated four things to test:

Under Windows 11, the shortcut icon in the Properties section, has a Compatibility section:

If Windows 10 has that too (I don't have Win10 to test against), make sure it has not been set to on, as it can have drastic performance issues.  mrv2 is compiled to be compatible with Windows 8.1, and perhaps Win10 sets the compatibility mode automatically.

Can you play without OCIO at 24 FPS (set ICS to None or Raw) or is that a problem too?  If you can't, we can rule out one more thing.

Keep the Desktop scale factor at 100% for the time being, as that can potentially decrease performance.

You have an 5000 RTX, which I thought had not been released yet.  Do you have other (older) graphic cards to test against?  I list this one last, as you said Cinesync Pro plays it fine and, AFAIK, it uses the same OpenGL core as mrv2.

Puzzled and without a clue,
@ggarra13 .

About the compatibility settings, Windows 10 is not on the list.
I'm not overriding the compatibility but when I run the Compatibility Troubleshooter, it does prompt be with this window.

I could test it under a 3090 Ti, would that help ?

It may help.  At least we would know it is consistant with Windows 10, as that card is almost like mine.

I'm not overriding the compatibility but when I run the Compatibility Troubleshooter, it does prompt be with this window.

That's BAD!!! You should not run it with Windows 8 compatibility.  It will make it really slow.  There has to be a way to override it.

About the compatibility settings, Windows 10 is not on the list.

In principle, it should not be on the list.  The default should be to be compatible with Win10 without you switching compatibility.   At least that's how it works on Win11.
If you get the same results with the 3090 Ti, I am blaming Win10.
I'll compile a version of mrv2 compatible with Win10 for you test then.  And I am going to c**rse Microsoft.

Weirdly enough,
I do have the exact same settings when checking the compatibility troubleshooter for cineSync Play
Thanks a lot for trying to compile on win10
Looking forward to it

Weirdly enough,
I do have the exact same settings when checking the compatibility troubleshooter for cineSync Play

Ok.  It gets weirder with every message.  Before you go, can you try mrv2 with the 3090 TI and see if playback is just as bad?

when playing the sequence/clip, both CPU and GPU are really low usage

One thing I noticed from your picture of monitoring your machine, was that your Ethernet was through the roof.  Are you running together with mrv2 some network demanding application like NVidia's Omniverse on the Cloud (ie. a good reason to test the RTX 5000)?

Thanks a lot for trying to compile on win10
Looking forward to it

First, I'll wait for you to tell me if you get the slowdown with the 3090 Ti.  The way I see it, we have three probable causes so far:

Windows 10 and its older GPU drivers.

NVidia RTX 5000 which is still in beta.  If the 3090 Ti plays it just as badly, we can rule out 2). If it doesn't we found the culprit.

Some OpenGL3 change in tlRender's source code that the RTX 5000 does not like.  You can rule out 3) by testing an older version of mrv2 like v0.6.3, which does not use OpenGL for the timeline just like CineSync.

I haven't had the chance to test 1/ and 2/ yet but I will soon
but did try mrv2 0.6.0 and still got the issue on Win10 + RTX5000

but did try mrv2 0.6.0 and still got the issue on Win10 + RTX5000

I appreciate your efforts.  We ruled out one more thing.
I've been going thru mrv2 code also and thought of two things that may confuse a graphics card (that cineSync does not do), which you might check with NVidia if you are beta-testing the RTX5000 with them:

Use of two PBOs to read from while playing.  This is a trick that allows you in mrv2 to select a large area of the screen and get the pixel values for the whole area really quickly.   This is the info:
https://www.songho.ca/opengl/gl_pbo.html

FLTK's unique use of OpenGL2 contexts even while OpenGL3 context is setup and drawing widgets on top of GL (working on all platforms, incredibly).  I am not too familiar on the details, but mrv2 uses this to render out fonts of all kinds, including Pango and International text.  For more info, have someone at NVidia talk to:
<EMAIL_ADDRESS>

For testing 2) if the OpenGL2 context is the culprit, here's two versions:
This one draws no text nor FLTK widgets on top of OpenGL.  If this does not work, don't bother with the next one.
.exe:
https://mega.nz/file/SC5iDR6I#ZEN6DWMXCVJQNhfTzxRD2filnjZT-vB4fUACh3vegKU
This one uses OpenGL3 to draw the text (only two fonts available) but it also draws FLTK widgets on top of it.
.exe:
https://mega.nz/file/GTp1CDaK#mLUV02EsmZf7vG8kf7vApau6WhMzck9KlNFb_zVY-xM

Hey @ggarra13
Still got the same results with mrv2-v1.1.1-Windows-amd64-NOTEXT.exe
You can rule that out

Finally making progress
GeForce 3090 Ti on Win10 > doesn't work, but slightly better than the RTX5000 (H264 is at 19fps) (EXRs are still at 7-8fps)
RTX5000 on Win11 > works at 24fps !!
It has to be something to do with Win10
Nvidia drivers are 528.24 on all my tests

It has to be something to do with Win10
Nvidia drivers are 528.24 on all my tests

Just FYI, my NVidia drivers on Win11 are 551.61.  They are not the latest ones, but close to.
It would suck if you could not upgrade your Win10 drivers without having to upgrade the OS itself.

Tried updating the nvidia drivers to 551.86 on Win10
does not fix the issue

Tried updating the nvidia drivers to 551.86 on Win10
does not fix the issue

Ok.  I'll compile an executable compiled with MSVC 2022 (I was using MSVC2019) targetting Win8.1 and if that does not work, I'll set one to target Win10.

Ok.  Here's a version of mrv2 v1.1.1 compiled under MSVC 2022 with the latest Win10 SDK:
https://mega.nz/file/XeBU0bgC#RD32_e87algOejym8eNVDEOAt-TN4XA-reVDpQztqs8

That build doesn't fix it for me on Win10
Thanks for going through the effort

That build doesn't fix it for me on Win10
Thanks for going through the effort

Oh well.  I'll see on the FLTK mailing list if some kind soul can do some testing on Windows 10 with NVidia or other graphic card.
If it does not work for them either, I'll see to try to reach out to someone at Microsoft, as this one goes beyond my knowledge.

With my C++ video player (mrv2), some users have reported bad performance with some NVidia graphic cards and latest drivers under Windows 10, albeit Windows 8.1 and Windows 11 do not show the issue (one user upgraded to 11 and then all worked fine under it).  In particular, one user had an NVidia RTX 5000 which played 2K video at 10 FPS, that when upgraded to Windows 11, started playing at 24 FPS just fine.
Here's the latest version of my program (it is open source):
https://github.com/ggarra13/mrv2/releases/tag/v1.1.1
There is a self contained .zip file, so you don't mess your machine's registry.
The problem shows up at resolutions of 2K or higher.  If you lack a list of images or movie files with that resolution, here's a 4K free movie file:
https://mega.nz/file/GXZXUKLJ#zWw4fsuUFkmYAZzROdONWAUsIqjR_rmcLb6b-Lvz_LY
You can check the FPS (Frames per Second) if you go to View->Hud and select FPS.  On any sort of decent graphic cards (released within within the last two years) you should be able to achieve 30FPS.  I am curious if you guys can also reproduce the slow down.  Unfortunately, I do not own Windows 10 to test it myself.
Can anyone at Microsoft have an explanation for the bad performance under Windows 10?

I'll see on the FLTK mailing list if some kind soul can do some testing on Windows 10 with NVidia or other graphic card.

I got two people testing mrv2 on the FLTK mailing list.  I had them test on Windows 10 a 30 FPS movie at 4K instead of 2K OCIO, as that would have been somewhat technical and harder to explain.  One reported 10 FPS, but with a graphics card from 2014.  The other reported 28 FPS with a GeForce GTX 1080 Ti, whose performance, albeit a tad bad, is normal due to the bandwidth of that card.
So, the results under Windows 10 are still inconclusive.
I also contacted Microsoft, who gave me the cold shoulder saying they don't deal with neither OpenGL nor NVidia issues.
I'll leave this thread open just in case someone else runs into the issue or wants to do some testing.

You will be glad to know I improved playback performance on v1.1.4 by about 120%.  It is mostly noticeable on macOS (which went from 15fps on 4K movies to 60fps without OCIO), but you should also see the benefits on Windows and Linux.  OCIO playback will not benefit as much, but should still see some benefits.

Great news, i'll make sure to try 1.14

Hello
tried v1.2.0 on Win 10 and a A5000RTX on an EXR sequence as well as an H264 clip and the FPS is now 24
Thanks a lot @ggarra13!!!
this issue is now resolved


Bump rocket, make possible to use published deps

Overriding SBT to sbt -DROCKET_USE_MAVEN ++2.12.4 causes build to ignore testchipip and rocket-chip, instead using published dependencies. If you don't override SBT, it uses the submodules as before
The build uses firrtl_black_box_resources.f to include blackboxes instead of hardcoded paths. This cleans up the build a bit, only including things you actually use

One caveat is that some blackboxes haven't been included correctly. This PR fixes the main one, and i want to clean up verisim/csrc a bit.

bootrom is moved into project-template- maybe it shouldn't be in testchipip? I think it makes more sense here
barstools is still a submodule. I would like to update it to use the new stages/phase stuff so it works nicely as a maven dep (also, we wouldn't need separate make targets to invoke barstools multiple times)
Oh, and I also update the example a bit to work with current rocket

My latest commit removes verisim/vsrc and all but a couple headers in verisim/csrc.
I made a transform based on the blackboxresource transform to attach some resources to the TestHarness. This adds the csrc. Ideally, I would conditionally include emulator.cc only if I know I'm building with verilator.
Headers are tricky because they should be included with the -include flag, which the blackboxresource annotation doesn't have a way of doing. I think it will need to stay more hardcoded in the Makefile, unfortunately. Still, I should be able to have TestHarness pull the headers from resources instead of having them copied into the repo.

@grebe what about something like this: https://github.com/ucb-bar/project-template/commit/f99ac28b4564723ecaccfdc510d1564d5a33cd65

Yeah, that's sort of what I'm thinking

We had bootrom in project-template initially, but eventually moved it to testchipip. I'd rather we keep it there.

@zhemao do you think it's OK to put bootrom in testchipip's src/main/resources? Symlinks could preserve the current layout for build scripts. If we're going to keep it in testchipip, it needs to end up in the jar somehow for use-cases that pull from maven.

Yeah, we could put it in src/main/resources.

Now bootrom/ is generated (along with the other necessary c++/verilog files) as a build rule before running the rocket generator. Bootrom gets put in the top level directory, and everything else winds up in $(build_dir). Now, all you need to do is source two .f files, one of which contains black boxes and the other of which contains files (and command line flags) that verilator needs.


Phython 3.10.12 venv install failure in Ubuntu 22.04

Hi @rrozario1968, I believe that venv is already installed in all recent distributions of python.  Please proceed with the command to create a venv:
python3 -m venv .venv

Note here that I named the venv .venv.
If that is working for you then please close this ticket.
Cheers,
JP

What install instructions are you following? I would recommend you follow the getting started instructions to the letter, in this case it would have you install python3-venv, which I think should get you past the error your having by trying to force a specific version.

What install instructions are you following? I would recommend you follow the getting started instructions to the letter, in this case it would have you install python3-venv, which I think should get you past the error your having by trying to force a specific version.

I can confirm that following the getting started instructions and using sudo apt-get install python3-venv succeeds on Ubuntu 22.04.
@rrozario1968 Please reopen this issue with further details if this does not work for you.

Hi,
I tried it in different ways but it would not install venv. I tried to follow the guide word for word and it did not work.
Best Regards,
Robert
From: Benjamin Cabé @.>
Sent: Tuesday, February 6, 2024 12:06 AM
To: zephyrproject-rtos/zephyr @.>
Cc: Rozario Robert (CSS SMD AMR SIS TM) @.>; Mention @.>
Subject: Re: [zephyrproject-rtos/zephyr] Phython 3.10.12 venv install failure in Ubuntu 22.04 (Issue #68580)
Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx.
What install instructions are you following? I would recommend you follow the getting started instructions to the letter, in this case it would have you install python3-venv, which I think should get you past the error your having by trying to force a specific version.
—
Reply to this email directly, view it on GitHubhttps://github.com/zephyrproject-rtos/zephyr/issues/68580#issuecomment-1928974166, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2NWJMLO2DZAORDVMP6BZJ3YSHP7FAVCNFSM6AAAAABC3AWUOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRYHE3TIMJWGY.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

As mentioned, please share more details (and actual text, not screenshots, please) if you want help. It is virtually impossible to troubleshoot your problem if all we know is that "[you] tried it in different ways but it would not install". Thanks!


Reads hue light ids in case the user did not supply any.

With newer bridges, the light ids are not automatically ordered anymore. Thus, the code queries the bridge for available light ids.

Thank you @ntim


Inviscam in first person doesn't ignore the character

When in first person the invisicam system doesn't ignore the character. This is due to a call to
local partsTouchingCamera = game.Workspace:FindPartsInRegion3(region3,nil,10)

which should be
local partsTouchingCamera = game.Workspace:FindPartsInRegion3(region3,Character,10)

Character is not ignored in first person with invisicam enabled causing an issue where in first person you can see your character's body as invisicam glitches out with the the TransparencyController not updating every frame.
This only happens when running or when the character is moved a bit from the camera origin.
As in first person it finds parts parented to the Character.
I have a pull request here to fix that.
See pull request: https://github.com/Roblox/Core-Scripts/pull/1014
Reproduction

Create a new place
Set camera mode to inviscam
Zoom in all the way
Look straight down
Walk around a bit

Expected behavior:
Arms, nothing else shows up. This is even worse with some animations I'm running on my character which makes invisicam unplayable.
https://github.com/Roblox/Core-Scripts/pull/1014

See See https://devforum.roblox.com/t/inviscam-doesnt-ignore-character-in-first-person/48365


Update versions

Update versions of packages in requirements.txt.

pyFAST==4.7.0?

Add django-bootstrap-icons to requirements if used. May remove it from the project instead

I can't find any older versions than pyfast==4.9.1


[WIP] allow distinction by parameter in InstructionDurations

currently the fields in InstructionDurations (name, qubits) are not enough to disambiguate in cases where say RX(pi/2) and RX(pi/4) are tuned up on the same qubits, with different durations. This adds a new field, params.

The broad strokes of this feel OK to me. The parsing logic does make one wish that we weren't receiving bare tuples from the backend to begin with...

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

40 of 56 (71.43%)  changed or added relevant lines in 2 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.02%) to 83.077%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/transpiler/instruction_durations.py
39
55
70.91%

Files with Coverage Reduction
New Missed Lines
%

qiskit/transpiler/instruction_durations.py
1
77.18%

qiskit/extensions/quantum_initializer/uc.py
2
88.65%

qiskit/pulse/library/waveform.py
3
89.36%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
51685

Relevant Lines:
62213

💛  - Coveralls

superseded by #7321


Fix incompatible types

I don't believe private final float f = "1.0f"; would compile. Floats and doubles can't be massaged from strings in Java.

Good catch. Thanks for the PR.


how to implement sub barrier transaction for this case, can you implement more?

how to implement for example in c#, can you implement more?

@khabt Thanks for your interest in this project.
Do you mean how to write code in branchBarrier.Call?
Here is a sample that you can follow:
https://github.com/dtm-labs/client-csharp/blob/c86f875882891f278f1a78b046de33d0065b15cf/tests/BusiGrpcService/Services/BusiApiService.cs#L217

Yeah, my project is using DTM to implement distribution transactions.
Thank you for your simple code.


Add .php_cs search and passing as --config-file

In the doc of PHP coding style fixer it says you can use the config file .php_cs "in the root directory of your project". However I assume php-cs-fixer itself only searches in the dir where the php file it checks is.
But as Atom can detect repos and open projects (directories) I think you could add a search for .php_cs (in the top-dir at least).

Oh, thanks for the tipp... Never heard/read about that before!

What does this closing mean? You do not implement it?
If not you should leave the issue open until it's implemented. (it would also confuse the milestone system otherwise)

no, i have implementier it! will Release the Update soon!

Ah so just the release wasn't out. Okay, so that's great. :+1:


Set up CI with Azure Pipelines

Coverage increased (+0.06%) to 72.4% when pulling b2a6de8992ae00c3d208c6c69caec9a102606649 on azure-pipelines into d60748e0cd22476eff36dbfd384dd273343b5bed on dev.

Codecov Report

Merging #948 into dev will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #948      +/-   ##
==========================================
+ Coverage   80.49%   80.51%   +0.01%
==========================================
  Files          25       25
  Lines        7758     7753       -5
==========================================
- Hits         6245     6242       -3
+ Misses       1513     1511       -2

Impacted Files
Coverage Δ

...phpdev/vc14/x86/php-7.1.26-src/ext/sqlsrv/stmt.cpp

...php-7.1.26-src/ext/pdo_sqlsrv/shared/core_sqlsrv.h

...php-7.1.26-src/ext/pdo_sqlsrv/shared/core_stmt.cpp

.../php-7.1.26-src/ext/sqlsrv/shared/core_results.cpp

...php-7.1.26-src/ext/pdo_sqlsrv/shared/core_conn.cpp

...4/x86/php-7.1.26-src/ext/pdo_sqlsrv/pdo_parser.cpp

...x86/php-7.1.26-src/ext/sqlsrv/shared/core_conn.cpp

...php-7.1.26-src/ext/pdo_sqlsrv/shared/core_init.cpp

...phpdev/vc14/x86/php-7.1.26-src/ext/sqlsrv/conn.cpp

...x86/php-7.1.26-src/ext/sqlsrv/shared/core_init.cpp

... and 40 more

Continue to review full report at Codecov.

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


Volume 14 and 15 update

When's it gonna be available for reading?

Just curious, and I try to push this question...
Anyway, have a good one!

We have an ETA now, but no promises.


delete duplicate data and rewrite

This PR relate to #209
closes #209

I updated your message above so that merging the PR closes the issue


CI for Node

✕ Contains the compiled JavaScript (5 ms)
✕ Initializes with two players (2 ms)
✕ Starts the game with a random player (1 ms)
✕ Sets the current player to be whoever it is not (1 ms)


New account can't login (Too many login attempts) Captcha loop?

For some reason a new account can't login...  I know the credentials are correct as I have gone over there a few times already.
Does the new acct maybe have to have a payment method prior to setup?
Logs:
Setting timezone: America/Phoenix
Setting cron schedule as 0 12 * * *
Incoming env vars:
RUN_ON_STARTUP: true
CRON_SCHEDULE:
RUN_ONCE:
Getting settings from JSON: /usr/app/config/config.json
Setting config variables
Run on startup: true
Run once: false

><EMAIL_ADDRESS>start /usr/app
> node dist/src/index.js

[2020-10-05 21:33:53.510 -0700] INFO  (32 on epicgames-causefx): Checking free games for newacctemail
[2020-10-05 21:33:53.511 -0700] DEBUG (32 on epicgames-causefx): Setting SID
    user: "newacctemail"
[2020-10-05 21:33:53.511 -0700] DEBUG (32 on epicgames-causefx): Refreshing CSRF
    user: "newacctemail"
[2020-10-05 21:33:54.157 -0700] DEBUG (32 on epicgames-causefx): Could not refresh credentials.  Waiting for Captcha to be solved
    id: "44796ae9-f543-4a1a-9f28-f078a96c7aa0"
[2020-10-05 21:34:55.357 -0700] DEBUG (32 on epicgames-causefx): incoming POST body
    body: {
      "sessionData": "725f7bf3eeb233a5.9824983102|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=82|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com",
      "id": "44796ae9-f543-4a1a-9f28-f078a96c7aa0"
    }
[2020-10-05 21:34:55.359 -0700] DEBUG (32 on epicgames-causefx): Attempting login
    user: "newacctemail"
    email: "newacctemail"
    captcha: "725f7bf3eeb233a5.9824983102|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=82|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com"
    attempt: 2
[2020-10-05 21:34:55.360 -0700] DEBUG (32 on epicgames-causefx): Refreshing CSRF
    user: "newacctemail"
[2020-10-05 21:34:56.896 -0700] DEBUG (32 on epicgames-causefx): Captcha required
    user: "newacctemail"
[2020-10-05 21:34:56.897 -0700] DEBUG (32 on epicgames-causefx): Go to https://captcha.myDomain.com?id=d86168e2-4876-464f-93e0-0d2f47705385&pkey=37D033EB-6489-3763-2AE1-A228C04103F5 and solve the captcha
[2020-10-05 21:34:58.214 -0700] DEBUG (32 on epicgames-causefx): Email sent.
    from: "myFromEmailAddress"
    to: "myToEmailAddress"
[2020-10-05 21:34:58.214 -0700] INFO  (32 on epicgames-causefx): Action requested. Waiting for Captcha to be solved
    id: "d86168e2-4876-464f-93e0-0d2f47705385"
[2020-10-05 21:35:15.045 -0700] DEBUG (32 on epicgames-causefx): incoming POST body
    body: {
      "sessionData": "1055f7bf40291eff1.8005694202|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=86|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com",
      "id": "d86168e2-4876-464f-93e0-0d2f47705385"
    }
[2020-10-05 21:35:15.046 -0700] DEBUG (32 on epicgames-causefx): Attempting login
    user: "newacctemail"
    email: "newacctemail"
    captcha: "1055f7bf40291eff1.8005694202|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=86|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com"
    attempt: 3
[2020-10-05 21:35:15.047 -0700] DEBUG (32 on epicgames-causefx): Refreshing CSRF
    user: "newacctemail"
[2020-10-05 21:35:16.272 -0700] DEBUG (32 on epicgames-causefx): Captcha required
    user: "newacctemail"
[2020-10-05 21:35:16.272 -0700] DEBUG (32 on epicgames-causefx): Go to https://captcha.myDomain.com?id=135251ae-fa37-4a4e-9461-540a72c939e8&pkey=37D033EB-6489-3763-2AE1-A228C04103F5 and solve the captcha
[2020-10-05 21:35:17.696 -0700] DEBUG (32 on epicgames-causefx): Email sent.
    from: "myFromEmailAddress"
    to: "myToEmailAddress"
[2020-10-05 21:35:17.697 -0700] INFO  (32 on epicgames-causefx): Action requested. Waiting for Captcha to be solved
    id: "135251ae-fa37-4a4e-9461-540a72c939e8"
[2020-10-05 21:35:18.362 -0700] DEBUG (32 on epicgames-causefx): incoming POST body
    body: {
      "sessionData": "4505f7bf406012cd1.2820457202|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=86|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com",
      "id": "135251ae-fa37-4a4e-9461-540a72c939e8"
    }
[2020-10-05 21:35:18.363 -0700] DEBUG (32 on epicgames-causefx): Attempting login
    user: "newacctemail"
    email: "newacctemail"
    captcha: "4505f7bf406012cd1.2820457202|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=86|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com"
    attempt: 4
[2020-10-05 21:35:18.363 -0700] DEBUG (32 on epicgames-causefx): Refreshing CSRF
    user: "newacctemail"
[2020-10-05 21:35:19.651 -0700] DEBUG (32 on epicgames-causefx): Captcha required
    user: "newacctemail"
[2020-10-05 21:35:19.652 -0700] DEBUG (32 on epicgames-causefx): Go to https://captcha.myDomain.com?id=6ae0e61e-c63e-47d5-86c5-95e5a61bd4d7&pkey=37D033EB-6489-3763-2AE1-A228C04103F5 and solve the captcha
[2020-10-05 21:35:20.922 -0700] DEBUG (32 on epicgames-causefx): Email sent.
    from: "myFromEmailAddress"
    to: "myToEmailAddress"
[2020-10-05 21:35:20.923 -0700] INFO  (32 on epicgames-causefx): Action requested. Waiting for Captcha to be solved
    id: "6ae0e61e-c63e-47d5-86c5-95e5a61bd4d7"
[2020-10-05 21:35:21.604 -0700] DEBUG (32 on epicgames-causefx): incoming POST body
    body: {
      "sessionData": "4185f7bf4092d3d18.3892724102|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=1|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com",
      "id": "6ae0e61e-c63e-47d5-86c5-95e5a61bd4d7"
    }
[2020-10-05 21:35:21.606 -0700] DEBUG (32 on epicgames-causefx): Attempting login
    user: "newacctemail"
    email: "newacctemail"
    captcha: "4185f7bf4092d3d18.3892724102|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=1|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com"
    attempt: 5
[2020-10-05 21:35:21.607 -0700] DEBUG (32 on epicgames-causefx): Refreshing CSRF
    user: "newacctemail"
[2020-10-05 21:35:23.030 -0700] DEBUG (32 on epicgames-causefx): Captcha required
    user: "newacctemail"
[2020-10-05 21:35:23.030 -0700] DEBUG (32 on epicgames-causefx): Go to https://captcha.myDomain.com?id=35dab0d1-dfdc-44f1-8256-9c5671bf784a&pkey=37D033EB-6489-3763-2AE1-A228C04103F5 and solve the captcha
[2020-10-05 21:35:24.265 -0700] DEBUG (32 on epicgames-causefx): Email sent.
    from: "myFromEmailAddress"
    to: "myToEmailAddress"
[2020-10-05 21:35:24.266 -0700] INFO  (32 on epicgames-causefx): Action requested. Waiting for Captcha to be solved
    id: "35dab0d1-dfdc-44f1-8256-9c5671bf784a"
[2020-10-05 21:35:25.253 -0700] DEBUG (32 on epicgames-causefx): incoming POST body
    body: {
      "sessionData": "2955f7bf40cd5d1c3.1779741402|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=100|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com",
      "id": "35dab0d1-dfdc-44f1-8256-9c5671bf784a"
    }
[2020-10-05 21:35:25.255 -0700] DEBUG (32 on epicgames-causefx): Attempting login
    user: "newacctemail"
    email: "newacctemail"
    captcha: "2955f7bf40cd5d1c3.1779741402|r=us-west-2|metabgclr=%23202020|maintxtclr=%23808080|mainbgclr=%23202020%3B|guitextcolor=%23808080|metaiconclr=%238a8a8a|meta_height=384|meta_width=340|meta=11|pk=37D033EB-6489-3763-2AE1-A228C04103F5|at=40|sup=1|rid=100|ag=101|cdn_url=https://cdn.arkoselabs.com/fc|lurl=https://audio-us-west-2.arkoselabs.com|surl=https://epic-games-api.arkoselabs.com"
    attempt: 6
[2020-10-05 21:35:25.256 -0700] DEBUG (32 on epicgames-causefx): Refreshing CSRF
    user: "newacctemail"
[2020-10-05 21:35:25.596 -0700] ERROR (32 on epicgames-causefx): Too many login attempts
    Error: Too many login attempts
        at Login.login (/usr/app/src/login.ts:91:13)
        at processTicksAndRejections (internal/process/task_queues.js:97:5)
        at Login.login (/usr/app/src/login.ts:118:11)
        at Login.login (/usr/app/src/login.ts:118:11)
        at Login.login (/usr/app/src/login.ts:118:11)
        at Login.login (/usr/app/src/login.ts:118:11)
        at Login.login (/usr/app/src/login.ts:118:11)
        at Login.login (/usr/app/src/login.ts:118:11)
        at Login.fullLogin (/usr/app/src/login.ts:178:7)
        at /usr/app/src/index.ts:19:7

After a load of digging, I finally found the change.

Before login, the reputation call returns a blob.
This blob needs to be sent to the captcha UI and added to the Arkose XHR request

The blob can be added to the URL as another param. I'll add this fix tomorrow.

thanks and sorry Charlie. :)
Sent from my iPhone

On Oct 6, 2020, at 9:23 PM, Charlie Laabs<EMAIL_ADDRESS>wrote:

After a load of digging, I finally found the change.
Before login, the reputation call returns a blob.
This blob needs to be sent to the captcha UI and added to the Arkose XHR request
The blob can be added to the URL as another param. I'll add this fix tomorrow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

No need to be sorry. My account usually just remembers login, so I don't encounter these login issues on my own.
Luckily, I had an alternate version of the Arkose captcha page already implemented, so I was able to use that which more closely models Epic Game's login page and easily supports the reputation blob data.


Problems running FSL on Sherlock

Hello Poldrack Lab,
I am trying to run FSL on Sherlock and am running into problems.
I logged in requested sdev, moved to the poldrack software directory, loaded modules "labs" and "poldrack," and then loaded "fsl/6.0.4" and then typed "fsl" to try to bring up the gui. I got this message:
DISPLAY is not set. Please set your DISPLAY environment variable!
Tried to fix this with:
export DISPLAY=localhost:0.0
But now I get these errors:
Application initialization failed: couldn't connect to display "localhost:0.0"
Error in startup script: couldn't connect to display "localhost:0.0"
while executing
"load /home/groups/russpold/software/fsl-6.0.4/extras/lib/libtk8.4.so Tk"
("package ifneeded" script)
invoked from within
"package require Tk"
invoked from within
"if { [  string match -nocase wish $MYSHELL ] } {
package require Tk
tk_focusFollowsMouse
#bind Button  { focus %W ; tk::ButtonEnter ..."
(file "/home/groups/russpold/software/fsl-6.0.4/tcl/fslstart.tcl" line 18)
invoked from within
"source [ file dirname [ info script ] ]/fslstart.tcl"
(file "/home/groups/russpold/software/fsl-6.0.4/tcl/fsl.tcl" line 71)
invoked from within
"source ${FSLDIR}/tcl/${origname}.tcl"
(file "/home/groups/russpold/software/fsl-6.0.4/bin/fsl" line 22)
Can you advise? Thanks!
PS I'm a postdoc at Stanford in psychiatry

Please check Sherlock's documentation https://www.sherlock.stanford.edu/docs/overview/introduction/ or email the maintainers.
The problem here is that you are probably attempting to bring up FSL's GUI on a headless login- or compute node. For that, I think you'll need to connect to Sherlock with X11Forwarding.
The fact that $DISPLAY is not set is just a confirmation that your session is headless (i.e., there's no screen where the Xorg server will be streaming windows).
The problem, therefore is not with the FSL module.


[STREAMLIT] Demo interface for applications

Users should be able to serve multiple demos for a range of applications in their deployment/ db. These demos should not
need to be prespecified at a set path, but should be "installable" in some sense.
Here is an example where we can toggle between multiple views in a single interface:
import streamlit as st

# Function for the first page
def page_one():
    st.title("Page One")
    st.write("Welcome to Page One!")
    st.write("Here is some content specific to the first page.")

# Function for the second page
def page_two():
    st.title("Page Two")
    st.write("Welcome to Page Two!")
    st.write("Here is some content specific to the second page.")

# Function for the third page
def page_three():
    st.title("Page Three")
    st.write("Welcome to Page Three!")
    st.write("Here is some content specific to the third page.")

# Main app
def main():
    st.sidebar.title("Navigation")
    page = st.sidebar.selectbox("Choose a page:", ["Page One", "Page Two", "Page Three"])

    # Display the selected page
    if page == "Page One":
        page_one()
    elif page == "Page Two":
        page_two()
    elif page == "Page Three":
        page_three()

if __name__ == "__main__":
    main()

In our implementation, the pages will come from the saved streamlit components/ applications. The functions will be saved as references and/ or artifacts in some way. This will mean that the main function needs to take db as a parameter.

[ ] #2406
[ ] #2407
[ ] #2408
[ ] #2578

Ideas of linking Template to Application to streamlit:

t = Template(
    'my-template',
    template=my_app,
    streamlit=Streamlit(
        'document-ai',
        demo_func=main,
    )
)

What is main? One option is to take the Application and/ or the template parameters  as input
def main(application, **template_params):

    def toggle_callback():
        # either use the `template_params` to get the thing you want to "show"
        model = db.load('model', f'{template_params['dataset-name']}-rag-model')

        # or use the `application`:
        model = next(c for c in application.components if c.identifier == 'rag-...')
        return model

    ... # build demo using these

    sg.run()


[Feature request] Turning directions

It would be great if you could automatically add turn-by-turn directions as waypoints when downloading. This simplifies the navigation, because e.g. Oruxmaps reads out these hints during the WP navigation. Therefore, you do not need to have the map constantly in view.

You can add turn-by-turn direction if you set the right turnInstructionMode:

Thank you very much! I have not seen this option.


Documentation: Update best practices and performance guide for DNS cache

Reference Issue: https://github.com/Azure/azure-cosmos-dotnet-v3/issues/3658
Reference articles:

https://docs.microsoft.com/en-us/azure/cosmos-db/performance-tips-dotnet-sdk-v3-sql
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/best-practice-dotnet

Update the reference articles to include the way to set the DNS PooledConnectionLifetime.

send PR