Fix arpeggio + vibrato in linear frequencies

In #27, we refactored xm_frequency to split arpeggio (note offset) from
vibrato (period offset). Unfortunately, we did test it properly only
for amiga frequencies.
It turns out the linear frequency implementation is wrong. The note
offset cannot be added to the period, but must be added to the note
itself. In case of linear frequencies, that's trivial to do once we
get the frequency, as we can simply scale it.
This fixes binary_world.xm and so finally...
Closes #1

Switched as draft as I found a regression in a module with this which I cannot understand.

Would you mind sharing the module that triggers the regression? (Or a stripped example if the module cannot be shared for licensing reasons.)

I think it's this one:
https://modarchive.org/index.php?request=view_by_moduleid&query=36595
After the intro, in the chorus there are some high pitch notes that sound distorted with my commit

Maybe two solutions:
first one
let orig_note = (64.0*12.0*10.0 - period) / 64.0;
let new_note = orig_note + note_offset;
let new_period = Self::linear_period(new_note);
xm_linear_frequency(new_period - 16.0 * period_offset);

second one (nicest)
Create char xm_inverse_linear_frequency(period) function to get orig_note

Maybe two solutions:
first one
second one

Ok forget me, it is the same as actual code after simplification. Maybe we lose information along the way, but...listening clearly proves that there is a problem somewhere. I have the same bug, obviously, in my xmrsplayer port.

I finally found it. This is an extra-tick at tick0. I'm not sure if this is the same problem on libxm. Indeed, the code has drifted a lot. But I'll leave you with the pointer to the patch in xmrsplayer in case someone has the courage to look :-)
Anyway, I have traced the code correctly and it is not a problem in calculating frequencies or periods. It's perfect.

Maybe this bug extract can help.
You can find here and  here the implementation. It would also be necessary to clip the notes with the highest frequency but I don't want that in my version. It's too horrible.

Maybe this bug extract can help.

You can find here and here the implementation. It would also be necessary to clip the notes with the highest frequency but I don't want that in my version. It's too horrible.

I don't see how implementing the historical FT2 arpeggio table overflow here helps, given that binary_world.xm has tempo 5, so there is no table overflow. Just in case, using this patch is enough to test:
diff --git a/src/play.c b/src/play.c
index 6f1b931..f35dc15 100644
--- a/src/play.c
+++ b/src/play.c
@@ -195,6 +195,7 @@ static void xm_tremolo(xm_context_t* ctx, xm_channel_context_t* ch, uint8_t para
 }

 static void xm_arpeggio(xm_context_t* ctx, xm_channel_context_t* ch, uint8_t param, uint16_t tick) {
+       if (tick > 14) printf("arpeggio tick: %d\n", tick);
        switch(tick % 3) {
        case 0:
                ch->arp_in_progress = false;

and the printf never triggers during binary_world.xm playback.

Hello rasky,
You right: it's only a part of the bug.
I look again and again and ... again because i want to fix this (maybe last) issue for my own code.
I found that.
It seems we must implement E3y effect (slide by semitones) for portamento and arpeggio to close this bug.
Original function is here.
Maybe this time we are close to the solution.
What do you think about that?

Do you see that effect used in binary_world.xm?
The problem I hear is in pattern order 7 (index 4), channels 8 and 9, which sounds out of tune with xmplay. The instrument being used is 9, which has autovibrato. In the pattern, effect 0 (arpeggio). So it is probably a bug in the combination of the two.

I realize that I have not detailed enough the elements that allow me to reach this conclusion. I started with binary_world.xm pattern number 7, channel 8. Like you, I noticed the instrument is 9. So I extracted this instrument with ft2-clone as well as the track to isolate it then I worked by gradually removing the effects on the instrument. You will also notice that it is the same sample in instrument 1 of my arp.xm example. I continued to compare the result between ft2-clone and players like libxm which do not work.
I too thought about the autovibrato, but it seems that it is a side effect since it changes the period "marginally" and that has an impact on the future.
By removing all the effects from the instrument, I found myself... without effects....I then started to play with the correction of the base frequency (C-4). II then did a basic track to highlight the problem that we see in arp.xm by listening to line 8 which should have increased by a semitone (B-5 -> C-6) which was not the case when listening via ft2-clone.
I then looked at the ft2-clone code. In particular this famous adjustPeriodFromNote() function which is systematically called during the tick!=0 of the arpeggio function. This function is also used for portamento only if the semitone increments flag is activated: the famous E3y effect (slide by semitones).
I'm sorry I didn't take the time to clarify my explanations in my last message.
I have the impression that we have a serious lead on these strange frequency changes.
Are my explanations clearer?

I have done a test here.

Hello,
As i expected binary_world.xm is now working correctly on my rust player. You can adapt code for libxm if you want using the code here.
I had to completely break the logic of managing current periods. In particular to work more comfortably with the non-linear periods of the Paula of the Amiga. To do this, I used a curve approximation function that I found using the curve_fit function of scipy.optimize. I don't hear any difference in sound on the few modules I have tried.
Looking back, I feel like there were some errors in notes 4 to 9 in the historical tables...
I'll add the last missing pieces (E3y and portamento) a little later. Finally, it's good to have May 1st in the rain...
Have a nice day.


Can't configure Always Encryption Columns - Looking for other ways to configure

I'm trying to setup Always Encrypted columns following the guide of this page, but each time, SSMS is failing with the following error message:

I am indeed in the correct wizard, as I am supposed to be:

But as soon as I click on "Sign In..." and that the sign in process is completed, the previous popup is showing up.
Is there other way to configure Always Encrypted Column other than using SSMS which is not working?
Thank you!

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

ID: ddcad97f-02c6-4307-7ed8-85ba7ae23ecc
Version Independent ID: 51a5e20b-c221-ee05-cb44-a479bfcf1a00
Content: Configure Always Encrypted by using Azure Key Vault - Azure SQL Database
Content Source: articles/azure-sql/database/always-encrypted-azure-key-vault-configure.md
Service: sql-database
Sub-service: security
GitHub Login: @VanMSFT
Microsoft Alias: vanto

Hi @DaveWut Thanks for your findings,We will investigate and update as appropriate

Hey @DaveWut - What SSMS version are you using?

Hello,
Here is my SSMS version:

Thanks!

Hey @jaszymas - Do you know if there are any issues with AE and SSMS 18.10? Can you help comment on the error? Thanks!

Hey @DaveWut - Can you please update to the latest SSMS, and try again? https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15

Hello @VanMSFT. It works now, thanks! :)


Error on install

When I run npm run build && npm start
I get
><EMAIL_ADDRESS>build /home/me/hackernews-react-graphql/hackernews-react-graphql
> npm run build-clean && yarn install --dev && babel src -d build/app --ignore '**/*__tests__','**/*__mocks__' && cp -R src/static build/app/static && next build build/app

><EMAIL_ADDRESS>build-clean /home/me/hackernews-react-graphql/hackernews-react-graphql
> rm -rf build/app

sh: 1: yarn: not found

npm ERR! Linux 4.4.0-127-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>build: `npm run build-clean && yarn install --dev && babel src -d build/app --ignore '**/*__tests__','**/*__mocks__' && cp -R src/static build/app/static && next build build/app`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script 'npm run build-clean && yarn install --dev && babel src -d build/app --ignore '**/*__tests__','**/*__mocks__' && cp -R src/static build/app/static && next build build/app'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the hackernews package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run build-clean && yarn install --dev && babel src -d build/app --ignore '**/*__tests__','**/*__mocks__' && cp -R src/static build/app/static && next build build/app
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs hackernews
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls hackernews
npm ERR! There is likely additional logging output above.

With npm-debug.log yielding
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'dev' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for predev, continuing
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/share/npm/bin/node-gyp-bin:/home/me/hackernews-react-graphql/hackernews-react-graphql/node_modules/.bin:/home/me/bin:/home/me/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
10 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/me/hackernews-react-graphql/hackernews-react-graphql
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'babel-node src/server.js' ]
12 info lifecycle<EMAIL_ADDRESS>Failed to exec dev script
13 verbose stack Error<EMAIL_ADDRESS>dev: `babel-node src/server.js`
13 verbose stack spawn ENOENT
13 verbose stack     at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:17:16)
13 verbose stack     at emitTwo (events.js:87:13)
13 verbose stack     at ChildProcess.emit (events.js:172:7)
13 verbose stack     at maybeClose (internal/child_process.js:821:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /home/me/hackernews-react-graphql/hackernews-react-graphql
16 error Linux 4.4.0-127-generic
17 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev"
18 error node v4.2.6
19 error npm  v3.5.2
20 error file sh
21 error code ELIFECYCLE
22 error errno ENOENT
23 error syscall spawn
24 error<EMAIL_ADDRESS>dev: `babel-node src/server.js`
24 error spawn ENOENT
25 error Failed at the<EMAIL_ADDRESS>dev script 'babel-node src/server.js'.
25 error Make sure you have the latest version of node.js and npm installed.
25 error If you do, this is most likely a problem with the hackernews package,
25 error not with npm itself.
25 error Tell the author that this fails on your system:
25 error     babel-node src/server.js
25 error You can get information on how to open an issue for this project with:
25 error     npm bugs hackernews
25 error Or if that isn't available, you can get their info via:
25 error     npm owner ls hackernews
25 error There is likely additional logging output above.
26 verbose exit [ 1, true ]

Hi baziz, I think you probably don't have Yarn package manager installed. You can read about it here and how to install https://yarnpkg.com/lang/en/


Uncaught Error: Target container is not a DOM element.

When running npm run dev-server this route:
http://localhost:9000/chart/add Leads to a React JS error: Uncaught Error: Target container is not a DOM element.
Which indicates that the Dom isnt available yet for the React Scripts to kick off.
This only happens when kicking off webpack-dev-server
It works just fine when running the app without webpack-dev-server.... so it must be a config issue, but not sure what it could be.
Any insight would be great on this.
Node: 12.14.1
typescript 3.8.3
Superset:  0.37.0 as of (2020/08/01 06:59 +00:00)

I too am getting this error. It does not happen all the time. I encounter this only when try to add a chart (on the page /chart/add). Adding a database, table or dashboard works fine.

Closing this as it should not be an issue in more current/supported versions. If anyone is seeing this in 1.5.x or 2.0.x, please say the word, and we'll re-open it!


Search Dismiss Keyboard on Play or SCROLL

Search should dismiss the keyboard upon playing a song or scrolling through results

fixed with commit: a3bbcacb62ce5e5e81df56c4046f9895169fa462


Extended JUnit output

Added the following to the JUnit XML output:

Location of test (path to file and line number)
Number of checks (assertions) in a test case

Initial added this while working on #967, but my daytime job is taking up a lot of my time and these changes have been requested in other issues too, hence the PR.
This should fix #120 and #903.

Coverage increased (+9.0e-05%) to 99.875% when pulling c09fc07d4c2162ff9af70afeeb66bd6127b4df06 on itavero:ojunit-update into 2ed186935eeecb7d366d367aa8d03fa09b78ddbe on cpputest:master.

I'd love to hear your opinions, @basvodde & @arstrube...

@basvodde Besides the changes I made to the unit tests (tests/JUnitOutputTest.cpp), do the other changes look good to you?

Coverage increased (+9.0e-05%) to 99.875% when pulling 7e14df2a72629dd260e6255abc2e83e5a5aca3f9 on itavero:ojunit-update into 2ed186935eeecb7d366d367aa8d03fa09b78ddbe on cpputest:master.

For some reason the Windows 64 MinGW build failed, but I do not really see why...

Every so often the install command fails, never really been sure why, seems like there's a network glitch occasionally that prevents the download or something.

@Andne, is there an easy way to restart the build without pushing a new commit?
And has an issue been created to make the build more reliable?

@itavero close and reopen the PR.

Coverage increased (+9.0e-05%) to 99.875% when pulling 7e14df2a72629dd260e6255abc2e83e5a5aca3f9 on itavero:ojunit-update into 2ed186935eeecb7d366d367aa8d03fa09b78ddbe on cpputest:master.

You have got to be kidding me.. now the 32bit Windows MinGW build fails... :worried:

Coverage increased (+9.0e-05%) to 99.875% when pulling 7e14df2a72629dd260e6255abc2e83e5a5aca3f9 on itavero:ojunit-update into 2ed186935eeecb7d366d367aa8d03fa09b78ddbe on cpputest:master.

Nice.


Android SDK 31 required?

The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.work:work-runtime:2.7.0.
AAR metadata file: C:\Users\corne.gradle\caches\transforms-2\files-2.1\7697b9cb5e1a55cf53fc61fd3c9a78ba\work-runtime-2.7.0\META-INF\com\android\build\gradle\aar-metadata.properties
Is there a reason androidx.work:work-runtime:2.7.0 needs to be used?  Just wondering because it requires the app to move to 31 instead of 30.

androidx.work:work-runtime:2.7.0 is included in Google Mobile Ads SDK from the version 20.5.0 it requires minCompileSdk should be 31. If you are not targeting 31, force androidx.work:work-runtime version to 2.6.0: Link

Thanks for the clarification as well as the work around option.


Windows procUsage implementation and test

Use the built-in typeperf.exe utility on windows to query performance counters and obtain equivalent data as that from the pcpu, rss and vsz flags in ps.  There are alternatives, but those require installing additional third party tools or mapping native windows APIs into GO.

Coverage decreased (-0.1%) to 79.941% when pulling be6416c8320a030e60cd7ea80cfc587a1cbe416b on win-pse into ce8d752395d4a94d8216b7a0cc48e666c056f5b4 on master.

Along with the recommended changes, I'll also increase coverage in the tests.

Coverage decreased (-0.1%) to 79.941% when pulling b40cb9704d1b90789f85e7c5d13dae9af3e6507a on win-pse into ce8d752395d4a94d8216b7a0cc48e666c056f5b4 on master.

LGTM - Ready to merge?

Yes - ready to merge.


Add setup details to README

Please take a close look at my changes, @gardnervickers, and make sure they match the spirit of how you want this README to work.

Thanks!


improve the launch performance of portable

For portable, use the unpack binary.

launch time
cold launch
hot launch

old
>14s
>10s

new
<5s
<1s

Looks good :+1:
I'll swap the target for zip to avoid users needing to have 7zip to unpack it.


Cosmitar publish setup environment

What does this PR do?
Adds the scripts on package.json to deploy on gh-pages.
Includes the script files.
Any background context you want to provide?
The gh-pages branch is in the subfolder ./page (ignored by GIT).
The proccess is

build: webpack creates /dist folder with the bundle inside.
copy: move index.html and /dist folder to /page folder
git: add, commit and push.

To deploy run npm run deploy
Any issue on Mac?

:shipit:


var prepareString = "a"[0] != "a"; fails to catch IE8's lack of accessing chars by index of String objects.

var prepareString = "a"[0] != "a"; fails to catch IE8's lack of accessing chars by index of String objects.
To catch IE8's issue it should be:
var prepareString = Object("a")[0] != "a";

Also Opera < 10.52 and Rhino (RingoJS, Narwhal) have index properties on strings but they fail the 0 in myStringObj check and myStringObj.hasOwnProperty('0'); // false

@bryanforbes I believe that’s your code. Can you confirm/fix?

I will confirm tonight.


dependent_fields in a formset

I am trying to use chained foreign keys in a model formset view (using ModelFormSetView from django-extra-views). The name of the fields is prefixed using 'form-0-', form-1-', etc.
The javascript code that selects the value of the chained field looks for the field name:
https://github.com/applegrew/django-select2/blob/7782e9bc3d5f51841b4184eaad494c098c348edf/django_select2/static/django_select2/django_select2.js#L20
This cannot find the field, as its name is prefixed with 'form-#-'.
Is there any way to append the prefix for formsets, so that the selector is something like this?
result[dependentField] = $('[name=' + prefix + dependentField + ']', $element.closest('form')).val()
Thanks for any info.

Hi @bc500 yes, it seems the feature does currently not support prefixes :/
check out the main ticket about this #439


Jeff Schaller: Watch stackbulls.com

Jeff Schaller requests the watch of the watch_keyword stackbulls\.com. See the MS search here and the Stack Exchange search here.

stackbulls\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Machavity in Charcoal HQ


Change Linux distro for CI

Try changing the Linux distro for the CI build to see if this makes it pass.

Looks like these are down on all distros currently: https://github.com/dotnet/core/issues/4122
Giving up.


Running tests with specs2 with nested "should" blocks fails

e.g.
class MyTest extends SpecWithJUnit {
  "trailing should" should {
    "nested" should {
      "fail the test" >> {
        success
      }
    }
  }
}

The test filter for this will only consider the inner "nested" block, and the runner will fail to find the test.
Also, seems that placing "nested should" should causes the runner to fail with error.

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


Make single quotes straight in wide version verbatim

In the wide (normal) width, display single quotes as
straight inside the verbatim environments.
Ideally we'd do that in the narrow case too, but we
can't be sure we have the right fonts.  So document
what WOULD do it, if we had the fonts, and let it be.
This at gives us straight single quotes in the
"normal" (wide) case, and I think that's an improvement.
Signed-off-by: David A. Wheeler<EMAIL_ADDRESS>

@nmegill - this is a formatting change so inside verbatim environments the single quote is straight.  I could only get this working in the "normal" width due to fonts not necessarily being available. But it's an improvement in that case, so I suggest we take what we can get.

I agree.


Fixing incremental auth in flask_util.

Flow is now stored in the session, ensuring that the scopes survive the round trip to the auth server.
The base credentials are now checked in required, solving an issue where it's possible to pass the check with the incremental scopes but without the base scopes.

LGTM. Tested it on my sample cases and it worked fine.

@dhermes anything holding this back from being merged?

I didn't really review this and don't have throughput to do it. I'll leave it to @nathanielmanistaatgoogle

I'll try to get to this sometime this week. Does it have time-sensitivity to it?

I don't think it's especially urgent (though not sure what Jon thinks), but it does fix some critical bugs with the extension and it's a somewhat small patch.

Not overly urgent as I doubt many people are using incremental auth at this point.
I would like to have this #326, #325, #323, and DictionaryStorage from #319 released together.

Thank you for that thorough review @nathanielmanistaatgoogle. I think I got everything.

Okay, moved _get_flow_for_token into a private module-level function, and ensured tests all pass. @nathanielmanistaatgoogle it's ready for another look.

I think I'm done with comments now. Fingers crossed.

Fingers crossed here too, thanks for the review. :)

Thanks!
On Wed, Oct 21, 2015, 5:04 PM Nathaniel Manista<EMAIL_ADDRESS>wrote:

Merged #322 https://github.com/google/oauth2client/pull/322.
—
Reply to this email directly or view it on GitHub
https://github.com/google/oauth2client/pull/322#event-442125612.


feat: manualLowercase

String#toLowerCase doesn't produce correct results in browsers with Turkish locale, for this reason we need to detect this case and redefine lowercase method with correct but slower alternative.

Coverage decreased (-71.43%) when pulling 8949776c7e1842c63fa69a947c5503d85abf4534 on gdi2290:patch-2 into cc03d8f307aaa881b641c2311016050aaae7ac7d on blakeembrey:master.

Should avoid doing the check in the main function and instead export the relevant function. However, this still won't work as expected since you are only catering for latin in the manual override. Do you have a link for documentation on this? I'd love to fix it properly.


Add a new method for expressing simulation execution options

Currently, there are a couple of dozen command line options are used.
As this is only going to expand, we need a new file based approach to specify all the options.
I am considering to use google prototex.

google's protocol buffer has been integrated, and applied to ssa_partition.cpp


Fix typo

Fixed typo in chainerx docs.

Thanks a lot!

jenkins, test this please.

Jenkins CI test (for commit f83943b5ea6f51142f2897c9969309022f40480b, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

jenkins, test this please.

Jenkins CI test (for commit f83943b5ea6f51142f2897c9969309022f40480b, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

CI failure is irrelevant.

LGTM!


Add support for newer models

Some new models have been released which are not supported yet by rppal:

c03114 	4B 	1.4 	4GB 	Sony UK
d03114 	4B 	1.4 	8GB 	Sony UK
c03130 	Pi 400 	1.0 	4GB 	Sony UK

See https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md

Added to the master branch. All currently available models are now recognized. Additional changes might be needed to support any new peripherals. If needed, those will be included in the 0.12.0 release.


add static property reference test case

This test case is used to test static property reference of class. Currently, the version of php7.2 and below has not passed the test.

@zhaoyanliang2 Thank you for the bug report. We'll take a look ASAP.

Fixed in the development branch. Feel free to open a new issue if the problem appears again. Thank you for the bug report.


Inaccurate stock item quantity post allocation

Hi there,
The issue I am encountering, is an inaccurate count of an available stock item in InvenTree. To demonstrate this issue, I'll walk through the example below.
First, I logged into the InvenTree demo account (https://demo.inventree.org/) with the username as admin and the password as InvenTree. Then, I created a new build order – in this case, a blue chair:

Looking at the “Allocate Stock” panel at the bottom of the page, we can see the required parts and the respective available quantities:

For this example, we’ll allocate the Leg (4) and Wood Screw (5) to the build:

Before doing this, we click on the Leg and Wood Screw links to see the available quantities pre-allocation:

In this case, there are 877 legs and 1679 wood screws currently available. We allocate by selecting the stock items from the appropriate batches:

After allocation, we see the following:

We see that the available quantities for the Leg and Wood Screw have decreased to 873 and 1674, respectively. This is also reflected in the individual pages for each part:

If we select the “Stock” tab on the left half of the screen, however, we see that the stock numbers are not updated. For instance, we allocated 4 legs from the batch of 100 (2022-5-23), but the batch is still listed at 100 rather than 96. The same is true for the wood screws, which are still listed at 1084.

We would need to click on the stock number to access the panel below, where we can see that despite there being 100 listed parts, 4 are already allocated to a build. In other words, we would need to do the computation ourselves to determine that there are 96 rather than 100 parts available for use in this batch. Having this number automatically updated, as the main part page is, would be very helpful.

Deployment Method

[ X ] Demo (Web)
[ ] Docker
[ ] Bare Metal

Version Information
0.7.0 dev

@palagap fair point, it would be useful  to be able to see the "available" quantity on the stock detail page!

Great, thanks! :)

@SchrodingersGat should this be 0.7.0 or be moved to 0.7.1?

@matmair I'll be able to squeak it in, will only be a very minor change

@palagap check out https://github.com/inventree/InvenTree/pull/3057


feat: improve connectors flow

UI Components

Improve dialog flows for, connect, disclaimer, install, bridge and switch network.
Refactor code around to ensure consistency

Hooks and Connectors

Add query options for customization of useNamedQuery on hooks. This can help to improve number of requests in cases of multiple checks like balances.
import { useBalance } from '@fuels/react';
const { balance } = useBalance({ address: '0x1234', assetId: '0x1234', query: { refetchInterval: 1000 } });

Add Networks configuration to FuelUIProvider to allow users to provide a list of supported networks with their repesctive bridges.

Add suggestBridge option to FuelUIProvider to enable/disable the bridge dialog for users flows.
<FuelProvider
uiConfig={{
    suggestBridge: true,
    networks: [
    {
        chainId: CHAIN_IDS.fuel.testnet,
        bridgeURL: 'https://app.fuel.network/bridge?from=eth&to=fuel&auto_close=true',
    },
    ],
}}>
</FuelProvider>

Add useIsSupportedNetwork hook to check if the current network is supported by the user.
import { useIsSupportedNetwork } from '@fuels/react';
const { isSupportedNetwork } = useIsSupportedNetwork();

Improve predicates setupProviders to remove delays by adding a new controlled flag hasProviderSuccessed.

Should it look like this on testnet?

Should it look like this on testnet?

Done, I improve this part in the way other DApps should also do, thanks for the comment.

add margin-top: 4px; to this el to fix spacing

after connecting to a account, then disconnection, then connecting to another account but without funds, the bridge popup didnt show eu

after connecting to a account, then disconnection, then connecting to another account but without funds, the bridge popup didnt show eu

This is expected, to avoid creep control, adding to change change the dismiss based on account can lead to blinking issues, I think is a good think to create another issue.


Heading for player and computer

removed section inside div with class "score container". added four divs, two for Player names- class- "score-name" for Player and class- "computer-name" for Computer. The remaining two divs are used for score with a class of "player-score" for Player and a class of "computer-score" for Computer. Created a score board with the divs in css using a grid, added Alfa Slab One as font family for the score board.


Update error reporting modal to include flavor in issue

The error modal provides a link to open an issue with some detail.  It should include the flavor if possible/relevant.

Hey, is anyone working on this one?

@stvtortora thanks for asking!  This isn't currently assigned to anyone. If you'd like to give it a try then I would be happy to review and ultimately merge your PR!
Also, please feel free to ask if you have any questions!

Can i work on this issue?


add json flag to output results as json

This commit adds the ability to output the check results as json data. This functionality is intended for scripting purposes. Therefore the binary will always exit with code 0. The threshold flag is also ignored when '-j' has been specified.
Closes #292.

@shawnps Is there a specific reason why this isn't being merged? I don't really understand why the CI build fails too. It doesn't even display an error message besides that make install failed.

Haha, thanks!


need to PreserveObject when calling rawvector?

follow up #6
When a R memory is referenced by a julia variable, It may be always necessary to execute PreserveObject when rawvector is called.

Not quite 'always'.  The R garbage collector is currently a generational mark/sweep design that examines the 'named' field in the sxpinfo 32-bit word at the beginning of an SEXPREC.  A value of 0 means that the object is not assigned to a name and is available for garbage collection unless it can be reached from another object.  I'm not clear on the distinction between values of 1 and 2 in that field.
The conservative approach is to call PreserveObject on every value from rawvector or to copy the values into Julia objects.  Copying would mean that you couldn't modify the object's value as seen by R, which you may want to do.  Also, it can result in unnecessary storage allocation.  Calling PreserveObject on the value results in its not being available for garbage collection in R and could mean excessive storage allocation.  If PreserveObject were to be called then the Julia object should have a finalizer that calles ReleaseObject.
Perhaps it would be best to have a discussion on the julia-stats list regarding the best strategy.  I'll start a thread.

Don't we always need to protect a R object from GC when we expose it to julia? My example in #6 clear shows that it is necessary.
I understand that PreserveObject  and ReleaseObject should be using as a pair. And that is precisely what Rif.jl and  RCalling.jl are actually doing.
It may not be desirable to call PreserveObject on every element of rawvector of a long vector.
From my experience in RCalling.jl, if the number of preserved objects is large, say 100,000. The time to execute the finalizers can takes up to 30 secs, which is of course not acceptable.
It would be beneficial to have a discussion on the julia-stats list.

There can cases where an R object does not need protection, if, for example, you are going to copy it into a Julia object immediately.  If you just want an R dataset you could retrieve it in R and immediately copy the contents to Julia vectors.  Evaluating a symbol in R returns an object that, by definition, has a named field of 2, and hence will not be garbage collected.

See the julia-stats thread

6f529c2


Change ProjMana.init()

So that anyone can use the base level project structure without having to also utilize RepoMana, WebMana, etc.  This will make it easier to manage projects individually, without having to create the entire framework aimed at FLASK.

@sdhutchins
Working draft1:  https://github.com/datasnakes/Datasnakes-Scripts/commit/a27e7223f4057f8f26fb61f157dc247f498a8f58

Instructions:

After cloning my branch into the desired path use the below code to update it and then install it

git -C ~/desired/path/Datasnakes-Scripts/ pull
python36 -m pip install --user ~/desired/path/Datasnakes-Scripts --upgrade

Use the following commands in a python console:

import os
os.chdir('path')
from Datasnakes.Manager.utils import ProjMana
ProjMana(repo=None, user=None, project='SDH-Test1', new_project=True, home=os.getcwd(), research='GPCR', research_type='comparative_genetics', new_research=True, new_app=True, app='r_shiny')

@sdhutchins

Looks good. I'll try it out in the am.

@sdhutchins Readme coming soon.

https://github.com/datasnakes/Datasnakes-Scripts/commit/176f88b55fe547165219be81308d98d0185ab030

basic project creation is also documented in the Mini Tutorial


[BUG] User Model Missing premium_type

Describe the bug.
When I print user._json, premium_type is not in there. However, in the docs, the user model should contain this value. This might be a Discord issue as it used to work. Might be an issue where Nitro classic has changed to Nitro basic.
List the steps.

Create any slash command
Get user model user = ctx.author.user
Print user.premium_type or check user._json

What you expected.
It should return an integer value of (0, 1, or 2). I expected premium_type to be in user._json, but it is not.
0 - None
1 - Nitro Classic
2 - Nitro
What you saw.
None
What version of the library did you use?
stable
Version specification
4.3.4
Code of Conduct

[X] I agree to follow the contribution requirements.

I remember talking about it on the Support server, and in fact the premium_type is not dispatched by the Discord API. Idk since when though.
Nothing on our end disallows the state to be passed, it just looks like Discord removed it.

That's not library bug. Discord doesn't provides premium_type field. I suggest to ask about it in the ddevs server.


[scarthgap] License issues checking by SPDX License.

Hi,
There are many license issues by filtered by SPDX license policy which would be added by scarthgap branch. I modified them manually but, I am not sure it is correct approach.
License issues by SPDX license , for example,  one of them :
NOTE: Executing Tasks
ERROR: apriltag-3.4.2-1-r0 do_create_spdx: Cannot find any text for license BSD
ERROR: Logfile of failure stored in: /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/apriltag/3.4.2-1/temp/log.do_create_spdx.1328371
ERROR: Task (/home/bchoi/nvidia-yocto-bsp/layers/meta-ros/meta-ros2-humble/generated-recipes/apriltag/apriltag_3.4.2-1.bb:do_create_spdx) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5984 tasks of which 5959 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/bchoi/nvidia-yocto-bsp/layers/meta-ros/meta-ros2-humble/generated-recipes/apriltag/apriltag_3.4.2-1.bb:do_create_spdx
Summary: There was 1 ERROR message, returning a non-zero exit code.

This error was from LICENSE = "BSD" which was not problematic for the previous branch, kirkstone.
Can you please let me know whether there is some way to turn checking SPDX license off or not?
My bitbake layer for ros2 and openembedded commit ids are :
meta-ros2-humble     = "HEAD:b96ba3d66488aca5868fa1a94643a7f52b2cfc07"
meta                 = "HEAD:bf3fe8c01c5cc00ada22049f4f0abb485e2a626f"

BR,
Mark

A simple workaround is:
poky/meta$ cp files/common-licenses/BSD-3-Clause files/common-licenses/BSD

The community removed the BSD license in Scarthgap, so this broad license cannot be used in the future
https://git.yoctoproject.org/poky/commit/?h=scarthgap&id=56fe6d575e184ed44807fe27e069233da36962ad
The correct solution would be to change the license to concrete names such as "BSD-3-Clause".
Not to rename the BSD-3-Clause to BSD...

The community removed the BSD license in Scarthgap, so this broad license cannot be used in the future https://git.yoctoproject.org/poky/commit/?h=scarthgap&id=56fe6d575e184ed44807fe27e069233da36962ad
The correct solution would be to change the license to concrete names such as "BSD-3-Clause".
Not to rename the BSD-3-Clause to BSD...

As i mentioned in #1208, there are multiple BSD variant used by ROS packages.  It's good to have a method to parse and use accurate LICENSEN in superflore process.

Please see https://github.com/ros-infrastructure/catkin_pkg/pull/296 https://github.com/ros/rosdistro/pull/26601 and https://github.com/ros-infrastructure/superflore/pull/279
I don't work on ROS anymore but it indeed needs to be fixed by ROS component owners and QA check in catkin was supposed to incrementally motivate them to update license when updating the version.


fix and add new prisma schema

Hi @yitongzhang
Here is the preview link: https://agora-next-27faik5mh-voteagora.vercel.app/.
It also solves an HTML error by which a button was a descendant of another button.
Thank you!

Hi is there any visual changes i should be checking out here? thanks


Bug on heise.de

Creates faulty object on https://www.heise.de/rss/heise-atom.xml
also on https://www.tagesschau.de/index~atom.xml

(description shows [object]...)

@HubertHuckevoll thank you for your report. This issue has been fixed with the last relsease 7.0.7


kW_connection measure should measure the number of connections of a certain type

This is the fixed (on number per year) connection fee that most customers have to pay for their connection to the network. The only thing that matters here is how many units of a certain connection type (given by its capacity) are associated with an end-point.
As mentioned shortly in https://github.com/quintel/etmoses/issues/219 and specifically https://github.com/quintel/etmoses/issues/219#issuecomment-122272705, I think this could work as follows:
The topology end-points have a capacity and a units attribute assigned to them (we'd have to warn the user if this is not the case). There are different measures (I also suggest to replace the name kW_connection by those below) for the different types of connection:

Number_of_3x25_connections
Number_of_3x35_connections
Number_of_larger_connections

These three measures could all be based on the same capacity and a units attributes.

Closing as we currently use the 'units' of the base-load profiles


pull request for e2e test at 01/27/2017 22:26:16

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Scaffold site using Docusaurus

Scaffold the initial documentation site using docusaurus and also publish to GitHub pages.

This was completed with #2


Flan compability

It seems this mod allows editing signs and opening chests through item frames within Flan claims. I would like to either see some integration for Flan permissions, or some other fix, since this is (in my opinion) quite a major problem

I'd welcome an MR with this functionality, but I don't personally use Flan.

So will you not fix this?

I might, but it's not a priority for me.

Oh ;-;

+1

This is now fixed in 0.8.5


Blank pages always appear at the end.

Converting the URL to PDF creates a blank page on the last page.
How do I prevent a blank page from being added?
		boolean success = HtmlToPdf.create() 				.pageSize(PdfPageSize.A4) 			    .object(HtmlToPdfObject.forUrl(url)) 			    .convert(pathPC);

Sorry. I found a solution.
There were no problems from the beginning.
My HTML document was the problem.
The last blank page was solved in the following way.
`
<c:choose>
<c:when test="${loop.index == totalPageSize }">
page ${loop.index } / ${totalPageSize}
</c:when>
<c:otherwise>
page ${loop.index } / ${totalPageSize}
</c:otherwise>
</c:choose>
`


Intellisense not working with OpenCV after update

When trying to see Visual Studio Code intellisense autocomplete for OpenCV ex: import cv2 I get the word 'Any' after any functions
Example: Hovering over cv2.rectangle yields rectangle:Any in intellisense window.
Tried changing settings.json to include python.analysis.extraPaths but it did not work. Original setting was python.autoComplete.extraPaths but neither works.
This was working prior to v2021.5.842923320
When I disable Pylance extension in VS Code I do not get any intellisense window at all.
I really need Intellisense for my business coding so any help would be appreciated.

Possibly similar issue 912

can enable tracing and upload "Python Language Server" logs from the "Output" window. more info here  https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue
you shouldn't have to set paths.
after installing opencv you probably have to restart though.

it should be fixed in 2021.8.2 released today (2021.8.19)


Move Dropdown to FileSelector

Dropdown component should be named something meaningful like FileSelector

Renamed to Selector in #118


add FUSE_LSEEK for SEEK_HOLE and SEEK_DATA support

See: https://github.com/zargony/fuse-rs/pull/152/commits/722be55519d8c9a5972903fde3a4f1ca4f0d52f4


Able to pinch + zoom Atom on touchpad on mac

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Able to pinch + zoom Atom Editor when user shouldn't be able to do this.
Steps to Reproduce

Open a project in Atom (1.17-beta2 or master)
Go to tree-view and pinch zoom like you would on chrome

Expected behavior: [What you expect to happen]
It should do nothing.  On stable 1.16 this works
Actual behavior: [What actually happens]
It zooms the atom editor
Reproduces how often: [What percentage of the time does it reproduce?]
100% of the time.
Versions
Atom    : 1.18.0-dev-643ba6e08
Electron: 1.3.14
Chrome  : 52.0.2743.82
Node    : 6.5.0
Additional Information
on Mac Sierra 10.12.4
Any additional information, configuration or data that might be necessary to reproduce the issue.

/cc @maxbrunsfeld @nathansobo @matthewwithanm Could this be related to docks changes?

/cc @as-cii

I can reproduce this too.  Just pinch-zoom anywhere on the window.  Works whether or not the tree-view is open.


App-switching issue and a bug in ND on consecutive words

NotificationDictionary (ND) is quite nice, but I experience often a bug and a UI issue (Google Pixel, stock android):

UI issue: In my book-reading app (and others), if I request to see the meaning of a word with ND, just before the notification shows I see an app-switching animation, as if its opening ND to the foreground for a second. This is a bit distracting, as I'm expecting only to trigger a notification. Perhaps this could be fixed? (I know an app that seamlessly does its logic in the background, "ScrambledExif", perhaps you can take a look at it if it helps)

Bug: If I consequently check another word and open the notification of the ND app, it lands instead on the word that I've  previously requested. If I try once again, the same old word is there, as if stuck, it keeps happening until I force-stop ND and start it again.

Thanks for the report. Please find my replies inline.

UI issue: In my book-reading app (and others), if I request to see the meaning of a word with ND, just before the notification shows I see an app-switching animation, as if its opening ND to the foreground for a second. This is a bit distracting, as I'm expecting only to trigger a notification. Perhaps this could be fixed? (I know an app that seamlessly does its logic in the background, "ScrambledExif", perhaps you can take a look at it if it helps)

I use room to attach to the db to fetch meanings. I see this transition for a second on fresh start of the app like first time of the day and after that I don't see it. I am using Samsung A54 4G model. There was a report of this but I am not sure if this is something known or some optimisation I am missing on launch.

Bug: If I consequently check another word and open the notification of the ND app, it lands instead on the word that I've previously requested. If I try once again, the same old word is there, as if stuck, it keeps happening until I force-stop ND and start it again.

If available can you please share a screen capture of this hiding personal details if any. I just tried "another" opened the app which showed meaning for "another". I kept the app open. I searched for "bug" and opening the app from notification showed meaning for "bug" . On each notification the app is opened with the word from notification so I am not sure if I am missing some race condition or edge case.

I understood how to reproduce the "search" bug now @tirkarthi
It's by using "share a word" to ND & "manually searching in app" together that triggers the bug for the next word. Example steps:

share word "hello" to ND: ND gets "hello" meaning, OK
now inside ND, search "friend": ND gets "friend" meaning, OK
share word "sad" to ND, bug: ND instead stays in previous word "friend"

Regarding the other bug I've mentioned in my previous first point about the small annoyance in the short black transition window between sharing a word and ND opening - sadly it always occurs to me, not only on fresh start. We're you able to find a way around it?
I have tested on a Google Pixel which has the most android stock (I am on 14. Can try later updating to 15 and letting you know as well).

Thanks for the detailed steps. I can understand the issue. Using share would not update the UI, once you click the meaning from the notification the app will take that as a receiver and update the UI with word and all its meanings.
This is how it works with just selecting meaning too. Searching on UI and using context menu/share are two different functions. I am not sure it will be possible to update the UI from the process text receiver though we update the entry in history table. It also depends on whether the app is open. It could also set the expectation over word from notification to be filled on opening the app directly when a notification is active. This might be a good to have UX and will see if this is possible.
Thanks


Remove any mention of "For all dataset selected..." in FAQ and different tutorials

With the new galaxy interface 23.0, when multiple datasets are selected the button is not "For all datasets selected..."  but "n of N selected" or "All N selected". So I changed it wherever I could find it.

Just a question/remark should we keep Operations on multiple datasets while the info box say Select Items?

Just a question/remark should we keep Operations on multiple datasets while the info box say Select Items?

no we should attempt to match the titles where possible


Add in list bench

Which issue does this PR close?

Closes #.
Rationale for this change

Adds benchmarks so that I can verify #4057 doesn't cause a regression
What changes are included in this PR?

Are there any user-facing changes?

I took the liberty of merging up from master and fixing a conflict


Additional configurable workflow steps: "Score review workflow"

From release plan spreadsheet
Estimate from release plan: 9 hours
Expressing interest: none

ScoreReviewStep

Add a component to enter the score.
Enforce that the score is a valid percentage
Add buttons to submit the score, or leave the step
Add a method to the appropriate submission service to send the score to the REST API
Assumes render workflow action dynamically is completed. UNCERTAIN

Closing, this was fixed in 7.5 in #2039


Shell prompt?

Hey, this might not be best way to ask this, but where can I find your shell prompt? It's amazing and I don't see it anywhere in your repositories.
Keep up great work!

You can check out my dotfile repository called igloo. My prompt plugin is located in the bash snowblock.


use of '@import' when modules are disabled

Pretty sure I'm an edge case, but based on some of the dependencies in my particular app, I wasn't able to enable modules and the recent change to using @import for core framework modules (fd192ba, love the check in message, haha) broke my build.
Xcode throwing the following errors all over the place when building:
use of '@import' when modules are disabled
I had to revert all
@import UIKit
@import Foundation

// to

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

I did have it close with modules enabled, but then I had a C++ file failing to compile and I still had three of the above error messages in some of the top level JSQMessages classes (even though modules where enabled everywhere). Not sure there are any advantages to the new style of import of than being more concise? Regardless, does anyone have any insight into the above problem? Thanks!

add C++ have a error, use of '@import' when modules are disabled , how to do


Add Describe + AlterConfigs

Thanks!

@Mongey It looks like you have everything for the terraform plugin for Kafka topics now. Great stuff really appreciate your work, if I can help you out in one way or another (code review or whatever), I would love too!


Error when saving hyperparameters with torch.dtype as parameter

🐛 Bug

When a torch.dtype object is passed into a LightningModule constructor, and then self.save_hyperparameters() is called, the code errors out with ValueError: dictionary update sequence element #0 has length 1; 2 is required.
To Reproduce
I have reproduced this issue in this BoringModel.

Create a LightningModule that takes in a  torch.dtype in it's constructor.
Add self.save_hyperparameter() within the __init__().
Create a trainer and run trainer.fit()

Expected behavior
The hyperparameters should be saved and the model should continue without error.
Environment
From the Collab:

CUDA:

GPU:

Tesla T4

available:         True
version:           11.3

Packages:

numpy:             1.21.6
pyTorch_debug:     False
pyTorch_version:   1.11.0+cu113
pytorch-lightning: 1.6.3
tqdm:              4.64.0

System:

OS:                Linux
architecture:

64bit

processor:         x86_64
python:            3.7.13
version:           No.1 SMP Sun Apr 24 10:03:06 PDT 2022

My own machine:

PyTorch Lightning Version (e.g., 1.5.0): 1.6.3
PyTorch Version (e.g., 1.10): 1.11.0
Python version (e.g., 3.9): 3.8
OS (e.g., Linux): Linux
CUDA/cuDNN version: 11.6
GPU models and configuration: GTX 1080
How you installed PyTorch (conda, pip, source): conda
If compiling from source, the output of torch.__config__.show():
Any other relevant information:
torchmetrics version: 0.8.2

Additional context
This seems to be a similar to Issue #9318, but that seems to be marked as solved.
This issue from metrics may also be related, but that issue has already been addressed and a patch merged.

Here is the trace from the collab, for reference.
[<ipython-input-6-66d757539e81>](https://localhost:8080/#) in run()
     14         enable_model_summary=False,
     15     )
---> 16     trainer.fit(model, train_dataloaders=train_data, val_dataloaders=val_data)
     17     trainer.test(model, dataloaders=test_data)

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in fit(self, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path)
    767         self.strategy.model = model
    768         self._call_and_handle_interrupt(
--> 769             self._fit_impl, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path
    770         )
    771

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _call_and_handle_interrupt(self, trainer_fn, *args, **kwargs)
    719                 return self.strategy.launcher.launch(trainer_fn, *args, trainer=self, **kwargs)
    720             else:
--> 721                 return trainer_fn(*args, **kwargs)
    722         # TODO: treat KeyboardInterrupt as BaseException (delete the code below) in v1.7
    723         except KeyboardInterrupt as exception:

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _fit_impl(self, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path)
    807             ckpt_path, model_provided=True, model_connected=self.lightning_module is not None
    808         )
--> 809         results = self._run(model, ckpt_path=self.ckpt_path)
    810
    811         assert self.state.stopped

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _run(self, model, ckpt_path)
   1220             self._call_lightning_module_hook("on_fit_start")
   1221
-> 1222         self._log_hyperparams()
   1223
   1224         if self.strategy.restore_checkpoint_after_setup:

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _log_hyperparams(self)
   1290                 logger.log_hyperparams(hparams_initial)
   1291             logger.log_graph(self.lightning_module)
-> 1292             logger.save()
   1293
   1294     def _teardown(self):

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/utilities/rank_zero.py](https://localhost:8080/#) in wrapped_fn(*args, **kwargs)
     30     def wrapped_fn(*args: Any, **kwargs: Any) -> Optional[Any]:
     31         if rank_zero_only.rank == 0:
---> 32             return fn(*args, **kwargs)
     33         return None
     34

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/loggers/tensorboard.py](https://localhost:8080/#) in save(self)
    264         # save the metatags file if it doesn't exist and the log directory exists
    265         if self._fs.isdir(dir_path) and not self._fs.isfile(hparams_file):
--> 266             save_hparams_to_yaml(hparams_file, self.hparams)
    267
    268     @rank_zero_only

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/core/saving.py](https://localhost:8080/#) in save_hparams_to_yaml(config_yaml, hparams, use_omegaconf)
    400         try:
    401             v = v.name if isinstance(v, Enum) else v
--> 402             yaml.dump(v)
    403         except TypeError:
    404             warn(f"Skipping '{k}' parameter because it is not possible to safely dump to YAML.")

[/usr/local/lib/python3.7/dist-packages/yaml/__init__.py](https://localhost:8080/#) in dump(data, stream, Dumper, **kwds)
    251     If stream is None, return the produced string instead.
    252     """
--> 253     return dump_all([data], stream, Dumper=Dumper, **kwds)
    254
    255 def safe_dump_all(documents, stream=None, **kwds):

[/usr/local/lib/python3.7/dist-packages/yaml/__init__.py](https://localhost:8080/#) in dump_all(documents, stream, Dumper, default_style, default_flow_style, canonical, indent, width, allow_unicode, line_break, encoding, explicit_start, explicit_end, version, tags, sort_keys)
    239         dumper.open()
    240         for data in documents:
--> 241             dumper.represent(data)
    242         dumper.close()
    243     finally:

[/usr/local/lib/python3.7/dist-packages/yaml/representer.py](https://localhost:8080/#) in represent(self, data)
     25
     26     def represent(self, data):
---> 27         node = self.represent_data(data)
     28         self.serialize(node)
     29         self.represented_objects = {}

[/usr/local/lib/python3.7/dist-packages/yaml/representer.py](https://localhost:8080/#) in represent_data(self, data)
     50             for data_type in data_types:
     51                 if data_type in self.yaml_multi_representers:
---> 52                     node = self.yaml_multi_representers[data_type](self, data)
     53                     break
     54             else:

[/usr/local/lib/python3.7/dist-packages/yaml/representer.py](https://localhost:8080/#) in represent_object(self, data)
    328             listitems = list(listitems)
    329         if dictitems is not None:
--> 330             dictitems = dict(dictitems)
    331         if function.__name__ == '__newobj__':
    332             function = args[0]

ValueError: dictionary update sequence element #0 has length 1; 2 is required

Hi!
This is a problem upstream. I suggest you open an issue in https://github.com/pytorch/pytorch:
import torch
import yaml

yaml.dump(torch.half)
# ValueError: dictionary update sequence element #0 has length 1; 2 is required

One improvement would be to also catch ValueError here: https://github.com/PyTorchLightning/pytorch-lightning/blob/dd475183227644a8d22dca3deb18c99fb0a9b2c4/pytorch_lightning/core/saving.py#L427 but It wouldn't get saved anyways

Same problem, and how to fix it?

One workaround I did was to provide a string and parse that string within __init__ to unpack the appropriate torch dtype. That way that parameter is still stored as a hyperparameter without yaml trying to dump that dtype.
Later, I discovered that pytorch lighting modules already have a self.dtype attribute that allows users to change the data type of all torch components within a module with a simple call to module_instance.to(dtype) instead of handling it myself. So in the end, I didn't actually need to pass in the dtype for my use case.
But if you really do need to pass in a torch.dtype, you can probably do something similar to the first workaround I tried.


Remove option to Purchase Skill Rank for Nemesis/Rival/Minion

The 3x adversary sheets Nemesis, Rival and Minion show the option to Purchase Skill Rank when right clicking a skill.
Can this be removed?
Also does the option Remove Skill need to be there?

Done, will be released in 1.810. Thanks for the report.


Upgrade k8s to 1.10.2

Bumped etcd version to 3.2.16 as recommended

ci check this

You need to change the shasum for kubeadm too

https://github.com/kubernetes-incubator/kubespray/blob/master/roles/kubernetes/master/templates/kubeadm-config.yaml.j2#L25
Has to be fixed too for > 1.10:
featureGates: {"SupportIPVSProxyMode":true}

In 1.10 Kube-Proxy is now a DaemonSet
Do we want to adapt it in this PR or create a new one?

Then all good. Provisioned dev cluster 4 times with this PR. No problems at all.
I can do a PR for the kube-proxy when this is merged.


Validate a collection of Entities

I'm working with two entities using zf-apigility-doctrine module: Venues and Products.
A venue can have multiple products. Therefor, I need to POST/PATCH a Venue with an array of products, like this:
PATCH /venues/1
{
    "products": [
        {"id":2},
        {"id":5}
    ]
}

This is the input_filter_specs I've configured:
            7 => array(
                'required' => true,
                'validators' => array(
                    0 => array(
                        'name' => 'ZF\\Apigility\\Doctrine\\Server\\Validator\\ObjectExists',
                        'options' => array(
                            'fields' => 'id',
                            'entity_class' => 'Db\\Entity\\Product',
                        ),
                    ),
                ),
                'filters' => array(),
                'name' => 'products',
            ),

But DoctrineModule\Validator\ObjectExists is being called with a single array with two values,
array(2) {
  [0]=>
  array(1) {
    ["id"]=>
    int(2)
  }
  [1]=>
  array(1) {
    ["id"]=>
    int(5)
  }
}

when only 1 is expected
array(1) {
  [0]=>
  string(2) "id"
}

So, I think the problem here is how to detect when a collection is being sent for a specific attribute, that attribute as a collection, and then try to validate each of the elements individually?

I've found that I can add is_collection to the input_filter_specs, removing the validations so the service works well with more than one object being sent in the PATCH payload.
            7 => array(
                'required' => true,
                'validators' => array(),
                'filters' => array(),
                'name' => 'products',
                'is_collection' => true,
            ),

The problem now is this isn't validating that they're all valid and already exists. So... kind of work for me now, but it would be great to control that and return an error message if the client is trying to add an unexisting object to the collection.

You have to setup an CollectionInputFilter. This allows you to point to an input-filter that will be used for each element in the collection. You do this by setting 'type' to 'Zend\InputFilter\CollectionInputFilter':
'products' => array(
    'required' => true,
    'count' => ... optional count ...
    'input_filter' => ... input filter or input filter config to use for each element ...
    'type' => 'Zend\InputFilter\CollectionInputFilter',
),

Check also the question on StackOverflow here:
http://stackoverflow.com/questions/28668444/zf2-apigility-how-can-we-validate-collections-in-json-data


/subs error with last code.

Another error when going to /subs (with the last commit available):

[error] 42#42: *323 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Argument 1 passed to App\TwitchHelper::getChannelData() must be of the type string, bool given, called in /var/www/twitchautomator/src/Controller/SubController.php on line 68 and defined in /var/www/twitchautomator/src/TwitchHelper.php:388

IIRC, this happens when the oauth is not correct, somewhere in the code it returns a boolean.

i think i fixed this

i think i fixed this


Update handler.py

Add SSH Agent key support.
Allows for SSH Agent use and key support if the local OS is setup for it thanks to Paramikos support of this.
Courtesy of this excerpt
https://github.com/paramiko/paramiko/blob/ae3d0febef17a8ece5268bbf6c210a30573ce800/demos/demo.py#L41-L59
and my mod adding "allow_agent=True, look_for_keys=True," to the string
ssh.connect(*args, allow_agent=True, look_for_keys=True, timeout=options.timeout)
This is working perfectly for me on Linux project and should work in Windows as well.
http://docs.paramiko.org/en/stable/api/agent.html
This will allow for easy switching of servers and key management for those embedding into custom apps.

Do you think it is really a good idea to enable these stuffs(allow_agent, look_for_keys) on your web server ?

This is being run from local host bound pyqt5 app as an embedded ssh terminal in my case and will be by the other people using it in the way I am.
That is great point of concern though. It would be a great option but probably should not be a default option that's enabled.
This could easily be added as  a command line option to wssh.
It's brings great flexibility to building apps with custom Ssh terminals. Just felt like sharing it upstream as a courtesy as I felt like others might also like that option.  I already have  a highly customized version of webssh with the more "extreme" mods like Ssh config file and key handling from sqlite3 db which is cool but not probably something most would ever use.
Sent from Nine

From: Shengdun Hua<EMAIL_ADDRESS>Sent: Tuesday, April 7, 2020 02:36
To: huashengdun/webssh
Cc: WhatTheServer; Author
Subject: Re: [huashengdun/webssh] Update handler.py (#144)
Do you think it is really a good idea to enable these stuffs(allow_agent, look_for_keys) on your web server ?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/huashengdun/webssh/pull/144#issuecomment-610202534


JSX return type and @typescript-eslint/no-unsafe-return

Before You File a Bug Report Please Confirm You Have Done The Following...

[X] I have tried restarting my IDE and the issue persists.
[X] I have updated to the latest version of the packages.

What version of ESLint are you using?
8.33.0
What version of eslint-plugin-astro are you using?
0.23.0
What did you do?

Configuration .eslintrc.json
{
  "env": {
    "browser": true,
    "node": true
  },
  "extends": [
    // ...
    "plugin:astro/recommended",
    "eslint:recommended",
    "plugin:jsx-a11y/recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:@typescript-eslint/recommended-requiring-type-checking",
    "prettier"
  ],
  // ...
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "project": "./tsconfig.eslint.json"
  },
  "overrides": [
    {
      "files": ["*.astro"],
      "parser": "astro-eslint-parser",
      "parserOptions": {
        "parser": "@typescript-eslint/parser",
        "extraFileExtensions": [".astro"],
        "project": "./tsconfig.eslint.json"
      },
      "rules": {
        // override/add rules settings here, such as:
        // "astro/no-set-html-directive": "error"
        // "no-plusplus": "off",
        "no-restricted-syntax": [
          "error",
          "ForInStatement",
          "LabeledStatement",
          "WithStatement"
        ]
      }
    }
    // ...
  ]
}

Configuration tsconfig.eslint.json
{
  "extends": "./tsconfig.json",
  "include": [
    "src/**/*.ts",
    "src/**/*.tsx",
    "src/**/*.js",
    "src/**/*.jsx",
    "src/**/*.astro",
    "test/**/*.ts",
    "globals.d.ts",
    "astro.config.mjs"
  ]
}

Example .astro file
---
	let cards = [
  {
    href: "https://docs.astro.build/",
    title: "Documentation",
    body: "Learn how Astro works and explore the official API docs.",
  },
  {
    href: "https://astro.build/integrations/",
    title: "Integrations",
    body: "Supercharge your project with new frameworks and libraries.",
  },
  {
    href: "https://astro.build/themes/",
    title: "Themes",
    body: "Explore a galaxy of community-built starter themes.",
  },
];
---

		<meta charset="utf-8" />
		<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
		<meta name="viewport" content="width=device-width" />
		<meta name="generator" content={Astro.generator} />
		<title>Astro</title>

  {
    cards.map((card) => (
      // next line has following error: Unsafe return of an `any` typed value. eslint(@typescript-eslint/no-unsafe-return)

{card.href}

    ))
  }

    {
      ["a", "b", "c"].map((tag) => (

Tag:{tag} This p tag triggers unsafe return of an `any` typed value.

      ))
    }

What did you expect to happen?
no error
What actually happened?
Unsafe return of an any typed value.eslint@typescript-eslint/no-unsafe-return
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-tekdct?file=src/pages/index.astro
Additional comments
run  npx eslint src/pages/index.astro on linked stackblitz example for error in action.
Referred to file issue here from Astro https://github.com/withastro/astro/issues/6280#issue-1589534043

stackblitz is not suitable for reproduction. I can't debug Node.js.
Could you provide it on GitHubRepo? Also include the lint command in your package.json.
I can debug Node.js using Codespaces.

Repo is https://github.com/david-abell/astro-jsx-no-unsafe
Script is lint in package.json
Let me know if there is anything else I can help with

I think it can be solved by adding a d.ts file like the following and including the d.ts file in tsconfig.eslint.json.
import 'astro/astro-jsx'

declare global {
    namespace JSX {
        type Element = HTMLElement
        // type Element = astroHTML.JSX.Element // We want to use this, but it is defined as any.
        type IntrinsicElements = astroHTML.JSX.IntrinsicElements
    }
}

This seems to be the solution.
Astro appears to not be importing the JSX types if no JSX framework is included in the project.
I tested out The official minimal React template  and it does not require importing and declaring the JSX namespace like this to work properly with eslint-plugin-astro
If others encounter this, the specific minimal setup that worked for me was the above recommended d.ts namespace declaration and the below configurations:
eslintrc.cjs
module.exports = {
  // The plugins and shared settings I was testing
  plugins: ["jsx-a11y", "@typescript-eslint"],
  extends: [
    // ...
    "eslint:recommended",
    "plugin:astro/recommended",
    "plugin:jsx-a11y/recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:@typescript-eslint/recommended-requiring-type-checking",
    "prettier",
  ],
 // This was needed because parser and parser options can get overridden by shareable configurations
  parser: "@typescript-eslint/parser",
  parserOptions: {
    project: "./tsconfig.eslint.json",
    extraFileExtensions: [".astro"],
  },
  //  This is needed for a cjs configuration file since the project type in package.json is set as "module"
  env: {
    node: true,
  },
  // This is the default recommended overrides for eslint-plugin-astro
  overrides: [
    {
      // Define the configuration for `.astro` file.
      files: ["*.astro"],
      // Allows Astro components to be parsed.
      parser: "astro-eslint-parser",
      // Parse the script in `.astro` as TypeScript by adding the following configuration.
      // It's the setting you need when using TypeScript.
      parserOptions: {
        parser: "@typescript-eslint/parser",
        extraFileExtensions: [".astro"],
      },
      rules: {
        // override/add rules settings here, such as:
        // "astro/no-set-html-directive": "error"
      },
    },
    // ...
  ],
};

tsconfig.eslint.json
{
  "extends": "./tsconfig.json",
  "include": [
    "src/**/*.ts",
    "src/**/*.tsx",
    "src/**/*.js",
    "src/**/*.jsx",
    "src/**/*.astro",
    "astro.config.mjs",
    ".eslintrc.cjs",
    "d.ts"
  ]
}


Add some method on a BufferReader to test how much buffer is left.

The non-BufferReader test changes are just a drive-by fix for a
problem I found when writing the BufferReader tests: some tests were
registering the wrong function.

Problem
There's no way to ask a buffer reader how much there is left to read.  I had thought this would not be needed, since the idea was to just try reading stuff and see whether it succeeds, but two things came up:

Some code wants to log the number of octets it's planning to work with, and it can't do that right now if it gets handed a buffer reader.
Some code wants to read out pascal strings, effectively (length, followed by a chunk of buffer) from the buffer reader.  We could expose an API for saying "I want a pointer to N uint8_t" or something, and have it fit with the overall reader API, but I'm not completely happy about making this pattern of reading out a pointer into the reader's internal buffer something we encourage.

Summary of Changes
Add two function: one that returns how many octets we have left in the reader, and one that takes a count and returns whether we have that many octets.

@saurabhst @BroderickCarlin @rwalker-apple please take a look?


Spelling Mistake

The datetimeOffset is typed as "dataTimeoffset"

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

ID: cd9eb58e-fa75-d6ad-e1d6-a3c4242b1157
Version Independent ID: c103e157-e34a-b636-8132-52c760f67e75
Content: Frequently asked questions about exporting Microsoft Dataverse table data to Azure Synapse Analytics and Azure Data Lake - Power Apps
Content Source: powerapps-docs/maker/data-platform/export-data-lake-faq.yml
Service: powerapps
GitHub Login: @sabinn-msft
Microsoft Alias: sabinn

Thanks for your comment, @dubeyneeraj22. This issue has been assigned to the doc author for review.

@dubeyneeraj22 - Thank you for your feedback. The article has been updated to reflect the correct data type syntax.
Closing issue.


Set custom size for your golden files

I want to set a custom size for my golden files. To simulate a "real" device with 1080x1920, portrait, landscape, ...
https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter#creating-a-new-golden-file-test
Placing a RepaintBoundry will decrease the resolution. But how can I set my own custom resolution for a golden file?

/cc @Piinks

Hi @vanlooverenkoen!
You can put a SizedBox around the RepaintBoundary to specify a custom size.

@vanlooverenkoen Did that answer your question?

No this does not work. This is my code
  testWidgets('test App Use', (tester) async {
    await tester.pumpWidget(SizedBox(height: 1920, width: 1080, child: RepaintBoundary(child: MyApp())));
     await tester.pumpAndSettle();
    expect(find.byType(MyApp), findsOneWidget);
    await expectLater(
      find.byType(type),
      matchesGoldenFile('img/$snapshotName.png'),
    );
  });

Hey @vanlooverenkoen, thanks for providing more info!

I can't use RepaintBoundary because there is not one repaintboundary in my widget tree

I am not sure what you mean here.
Have you tried without a RepaintBoundary? Typically, golden file testing is used to check individual components of your UI, rather than the entire composition. By passing in your entire app, there may be unexpected behavior, or a few extra steps to get the desired result. I would also try adding a Center widget, which has been successful in other tricky golden file tests that seek custom sizes. For example, this one from #42484, which has
Center -> SizedBox -> RepaintBoundary
to set the desired size:
await tester.pumpWidget(Center(
  child: SizedBox.fromSize(
    size: rect.size,
    child: RepaintBoundary(
      key: painterKey,
      child: CustomPaint(
        painter: GradientPainter(shader, rect) // or MyApp()
      ),
    ),
  ),
));
      await expectLater(find.byKey(painterKey), matchesGoldenFile(goldenName));

Let me know how this works out for you. 🙂

No that did not work. Can't figure it out

tester.binding.window.physicalSizeTestValue = Size(828, 1792); can be used to set a custom size. But it does not match a real iPhone 11. the size is a lot smaller. @Piinks

tester.binding.window.physicalSizeTestValue = Size(828, 1792); can be used to set a custom size. But it does not match a real iPhone 11. the size is a lot smaller. @Piinks

I don't think we have plans right now to support golden file testing for device-specific screen specifications. Golden files are intended to generically validate that the application is drawing what is expected.

And what if I expect it would draw something if the size is bigger the 900px?

Since this is not desirable or feasible for Flutter I'm going to close this issue for now.

Why is it not desirable or feasible?
I think it would make sense to create screenshots tests that actually look like your device screen. To prevent regression issues

As mentioned before, golden files are not meant for device-specific testing of your entire app screen. Physical device screenshot validation sounds like either an entirely new feature or something better suited as a plugin.

This package may have the features you are looking for: https://pub.dev/packages/golden_toolkit :)

:o @Piinks yes indeed. Thanks for taking an extra look


New content: tutorial on using C# Tuples

There are a lot of good uses for tuples and deconstruction that create more readable and concise code.  Consider:

constructors that assign multiple fields.
Assignment operators
Equality tests
GetHashCode implementations

There are likely others. This would show a few samples of the different techniques, and explain the pros and cons of each choice.
See #5390 - comment for discussion, and the start of a sample.

/cc @rpetrusha for your thoughts.
I'm re-thinking this as a tutorial.  Looking at the list of use cases, I think a tutorial would be more of a grab-bag of tips.
Instead, I think handling these use cases as part of #8206, making the "what's new" articles interactive with an "explore" article to try the features in different scenarios.

I don't really see use cases as particularly good tutorial material, so I agree with your decision to not make them tutorials. I also think that they would benefit from interactivity. But I don't see them as related to what's new -- I think that they require separate branding. Often, Developers learning new features are typically concerned with the basics of the feature and at most a few practical applications, Following that, use cases expand the use of the feature into new areas. So this is clearly an advanced topic. It's also one that I think will be really valuable. Perhaps something like an Applying series (Applying tuples) that focuses on how tuples (or some other feature) can be used in practical ways in application development?

I really like that idea @rpetrusha I've added that to my notes on validating the updated C# Guide TOC.
In the short term, I'll add these into the "what's new" section.
I can also see a future where older "what's new" content moves into an "applying" section.  (Just thinking out loud on that one).


Feature Request: dnscrypt-proxy support

AFAICT, dnscrypt-proxy can't use the hosts file as-is so I end up running a few seds on the hosts file.
Would you be open to adding a version readily consumable by dnscrypt-proxy?

Hi Lokesh @lsm5 thank you for this suggestion.
Can you share your sed commands so I can assess?  What format does dnscrypt-proxy require? Is it domain only, with a terminating period? One per line or is space-delimited okay too?

@StevenBlack thanks for the quick response and really appreciate your work.. And my bad, I wasn't aware dnscrypt already has a tool for this https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists .
I guess that tool is good enough for me and this issue can be closed. But I'll leave it open in case you wanna add it here, maybe in the form of a docs update.

I'll be happy to send a PR if it's worth adding to the hosts repo.

Lokesh @lsm5 I'm always happy to improve our docs.
If you make improvements to docs, they should go in the readme_template. This repo has 17 readme files, including the root readme, all of which are generated from the template.

@StevenBlack ack, thanks a lot! I'll go through it and send something maybe within the next couple of days.

Steve @StevenBlack this what they use in general:
 ######################################################
 #        Pattern-based blocking (blocklists)        #
 ######################################################

 ## Blocklists are made of one pattern per line. Example of valid patterns:
 ##
 ##   example.com
 ##   =example.com
 ##   *sex*
 ##   ads.*
 ##   ads*.example.*
 ##   ads*.example[0-9]*.com
 ##
 ## Example blocklist files can be found at https://download.dnscrypt.info/blocklists/
 ## A script to build blocklists from public feeds can be found in the
 ## `utils/generate-domains-blocklists` directory of the dnscrypt-proxy source code.

Looks like the very basic,without any wildcard blocking is just plain domains,no zeroes in the front 👍


Page loading indefinitely when attempting to create a ubuntu container on the grid

Seems to redirect me to the payment screen, but sometimes it's stuck on this page.

it would probably have giving you reservation failed to deploy in x time if you waited long enoug.
@ranatrk let's add a timer here that updates the time reiaming like we do during payments

Added showing loading of payment and deployment with the remaining time until it expires. If payment or deployment failed an error will be shown and if the expiration time show was finished then the deployment will be cancelled

Verified
Branch: development
libs: https://github.com/threefoldtech/jumpscaleX_libs/commit/268a841dc98a192c061139395a7a7f695cb49d1f
threebot: ddb70732c4e01fbd0c0773eb06c2b84a6adbbb94
Now there is a timer with the remaining time.


Introduce header revalidation to speed up Shelley block revalidation

Implements the plan described in #1520.
My block revalidation test went from 1m52s to 45s, which nicely matches the
expected speed-up: header validation took ~60% of the time.

Draft because https://github.com/input-output-hk/cardano-ledger-specs/pull/1789 hasn't been merged yet.

bors merge

LGTM! Merged in c-l-s as well

I'll update cardano-node next.


Add Subpages: Side menu layout of our official site

According to #149, I will take over this UI design part.

After discussion with @cwpeng , the side menu will be defined as a component, so open the #154 for this.

When I actually using the disable selected state of the radio button, found that the disable style is too light and hard to read, this color style will need to be updated later.
⤷ Related to #67

SUBTASK COMPLETE!

Finished the subpage of button.
And adding the design annotations.

⤷ Here's the currently file in Figma

SUBTASK COMPLETE!
✅ Device: Mobile Screen (360px)

Finished the subpage on the mobile screen page.
And adding some design annotations.

⤷ Here's the currently file in Figma


Stabilizer state handling

Added Clifford and Clifford+T capabilities, as well as example clifford doc
Finished last week just hadn't started pr - is there any other functionality we should add at this point? Or more examples/tests in the doc notebook?

I think it should be good to merge at this point, let me know if there is anything else you'd like me to add!


[feature request] get numlock caplock scrolllock state

for eg. currently we can not tell the difference between press numPad8 with numlock: false and press arrowUp

I've added function keys of numpad, but if you want to know state of numlock, capslock, scrolllock ask for it in upstream repository.

That solves my problem, thanks for your great work.


zxing3.6.0 / support:appcompat-v7 error...

Description of the problem:
I try...

Create New Project

target sdk version 28, min sdk version 19

compile sdk version 28

insert gradle dependencies :  implementation 'com.journeyapps:zxing-android-embedded:3.6.0'

implementation 'com.android.support:appcompat-v7:28.0.0' <-Error....

All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 25.3.1. Examples include com.android.support:animated-vector-drawable:28.0.0 and com.android.support:support-media-compat:25.3.1 less... (⌘F1)
There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion).
How can fix...??? T_T

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.example.yoonho.jitest"
        minSdkVersion 19
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:28.0.0'     // <-Error Here!!!
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

    implementation 'com.journeyapps:zxing-android-embedded:3.6.0'
}

Which library version are you using? E.g. 3.6.0.
**Which phone/tablet are you using, and which Android version does it run? ** galaxy s4
Does the same happen on other devices or an emulator? same happen on other emulator

Hi, I have the same error on my project, can someone help with this. Thanks.

implementation 'com.journeyapps:zxing-android-embedded:3.6.0@aar' <-- should remove the conflict

implementation 'com.journeyapps:zxing-android-embedded:3.6.0@aar' <-- should remove the conflict

Hi there Solusoftek. Your suggestion has certainly removed my error. Can you give me an idea what @aar actually does?

Hi, I think the @aar annotation implements a compiled binary, while without that annotation it drops a copy of the repository to be compiled with your project and that's where the error appears

The main library is an aar file anyway, even without the @aar annotation. I suspect that specifying explicitly does roughly the same as this:
implementation('com.journeyapps:zxing-android-embedded:3.6.0') { transitive = false }

Which basically says "use this library, but none of its dependencies".

So then we can conclude that it was the dependencies that were incompatible with my SDK 28.0 that was not allowing my gradle to sync correctly. Thanks for letting us know about the fix solusoftek and thanks for the explanation rkistner!

'@aar' didn't work for me.

Hi, I have the same error on my project, can someone help with this. Thanks.

Did you ever get a resolution?  Or did you switch to a different library?

implementation ('com.journeyapps:zxing-android-embedded:3.6.0@aar') { transitive = false }  should be zxing-android-embedded:3.6.0 witouth aar

implementation ('com.journeyapps:zxing-android-embedded:3.6.0') { transitive = false }
implementation 'com.google.zxing:core:3.3.2'
Still doesn't work for me. :(

I'm probably going to just go back to SDK 27 and forget about it.  Wasted too much of my time so far.

I'm probably going to just go back to SDK 27 and forget about it. Wasted too much of my time so far.

Im not an Expert on this library, but implementing the core its only necessary if you traied to add this for Minor SDK than 23,
I think you've got tangled up and I recommend you to do cleanup your project and sync again, or even invalidate cache, i use androidX SDK 28 and its work like a charm

I had a similar issue which was not quite like the first. Turning off the
transitive removed a lot of required dependencies. In fact - so much that I
couldn't get the project to compile.
I got past it by reverting my target SDK to 23, syncing, cleaning project
and rebuilding.
See if that works for you.
On Thu, Mar 21, 2019 at 6:46 AM SSK<EMAIL_ADDRESS>wrote:

I'm probably going to just go back to SDK 27 and forget about it. Wasted
too much of my time so far.
Im not an Expert on this library, but implementing the core its only
necessary if you traied to add this for Minor SDK than 23,
I think you've got tangled up and I recommend you to do cleanup your
project and sync again, or even invalidate cache, i use androidX SDK 28 and
its work like a charm
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/journeyapps/zxing-android-embedded/issues/442#issuecomment-475058311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYn5NcDGLCJlJ5yVbXlnNIPxE518O2b2ks5vYrpVgaJpZM4YsQz_
.

v4.0.0 uses SDK version 28, so there shouldn't be any issues. If you still run into issues after trying the suggestions in this thread, or upgrading to v4.0.0, open another issue with a small sample project showing the issue.


capi: Expose RDO lookahead frames

This was missed in 2db1f9c81f033fcd1eb421236b52036ee74b03f2.
Maybe we should have some sort of test or checklist for API changes, since this seems to get missed often.

Coverage remained the same at 81.716% when pulling e97565dc58d1f7fdb6879a9ea40fde3268f8259c on dwbuiten:rdo_capi into 2db1f9c81f033fcd1eb421236b52036ee74b03f2 on xiph:master.

What is the effect of missing this change? Is it only that the option is not configurable from the CAPI, or does it cause the CAPI to stop working? Sorry, I'm unfamiliar with the CAPI entirely. I agree some sort of test would be great to have.

@shssoichiro It just means it would not be accessible by the C API.


Multiple screens currently not supported

Right now, if you launch Kap and move the selection window to a second screen it ignores and records the entirety of the first screen instead.

click the selection button
drag the selection onto a second screen
hit record
hit done.
view the "kapture" -- it will be of the first screen, and of a different size than the selection (full height / width)

Yo @mmoutenot, thanks for the report. Will attempt to reproduce ASAP.
I believe this problem stems from not using Electron's Screen API to figure out the currently active display before recording.

Yeah that sounds about right. After testing again it seems like it might just be whatever screen you have Kap active. So the Screen API must default to that.

screen.getDisplayMatching(rect) seems like it could be useful, if not used already ;)

@mmoutenot Thanks for creating the issue! 😄
ATM, we're using Quartz's CGMainDisplayID(). TBH, I don't remember how it works, but seems that it returns the id of the display that contains the menubar.
Anyways, we definitely need to support multiple displays! I'm able to test it – I have a (shitty) external display lying down somewhere – so I can guarantee that we'll ship it in v1.0.0 😄

We've had a lot of issues with this recently. Priority bump? @matheuss @skllcrn @CodeTheory

@doot0 bumped to high

Related:

https://github.com/wulkano/kap/issues/728
https://github.com/wulkano/kap/issues/729


fzf: 0.49.0 -> 0.50.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/junegunn/fzf/releases.
meta.description for fzf is: A command-line fuzzy finder written in Go
meta.homepage for fzf is: https://github.com/junegunn/fzf
meta.changelog for fzf is: https://github.com/junegunn/fzf/blob/0.50.0/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.50.0 with grep in /nix/store/bzwdyd63ysqii3yqld2jlbyglvad15h4-fzf-0.50.0
found 0.50.0 in filename of file in /nix/store/bzwdyd63ysqii3yqld2jlbyglvad15h4-fzf-0.50.0

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

45 total rebuild path(s)

45 package rebuild(s)

First fifty rebuilds by attrpath
adl
ani-cli
arsenal
catcli
clerk
dra-cla
felix-fm
fishPlugins.fzf-fish
fontpreview
fzf
fzf-git-sh
fzf-zsh
gh-f
gh-notify
kakounePlugins.fzf-kak
kns
license-cli
lunarvim
mov-cli
navi
python311Packages.pyfzf
python312Packages.pyfzf
ripgrep-all
spacevim
sway-launcher-desktop
sysz
tmuxPlugins.extrakto
tmuxPlugins.fuzzback
tmuxPlugins.session-wizard
tmuxPlugins.t-smart-tmux-session-manager
tmuxPlugins.tmux-fzf
unipicker
vimPlugins.fzf-hoogle-vim
vimPlugins.fzf-lua
vimPlugins.fzf-vim
vimPlugins.fzfWrapper
vimPlugins.telescope-zoxide
vimPlugins.vim-fzf-coauthorship
vimPlugins.vim-zettel
vimPlugins.zoxide-vim
xmloscopy
yazi
ytfzf
zoxide
zsh-forgit

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/b2262771fdafb63b3b7e11c6c3b87ae1496d3d25#fzf

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

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

53 packages built:

adl
ani-cli
arsenal
arsenal.dist
catcli
catcli.dist
clerk
dra-cla
felix-fm
fishPlugins.fzf-fish
fontpreview
fzf
fzf-git-sh
fzf-zsh
fzf.man
gh-f
gh-notify
kakounePlugins.fzf-kak
kns
license-cli
lunarvim
mov-cli
mov-cli.dist
navi
ocamlPackages.fzf
ocamlPackages.magic-trace
python311Packages.pyfzf
python311Packages.pyfzf.dist
python312Packages.pyfzf
python312Packages.pyfzf.dist
ripgrep-all
spacevim
sway-launcher-desktop
sysz
tmuxPlugins.extrakto
tmuxPlugins.fuzzback
tmuxPlugins.session-wizard
tmuxPlugins.t-smart-tmux-session-manager
tmuxPlugins.tmux-fzf
unipicker
vimPlugins.fzf-hoogle-vim
vimPlugins.fzf-lua
vimPlugins.fzf-vim
vimPlugins.fzfWrapper
vimPlugins.telescope-zoxide
vimPlugins.vim-fzf-coauthorship
vimPlugins.vim-zettel
vimPlugins.zoxide-vim
xmloscopy
yazi
ytfzf
zoxide
zsh-forgit

Maintainer pings
cc @Br1ght0ne @Ma27 @zowoq for testing.

Result of nixpkgs-review pr 304134 run on aarch64-darwin 1

1 package marked as broken and skipped:

fontpreview

44 packages built:

ani-cli
arsenal
arsenal.dist
catcli
catcli.dist
dra-cla
felix-fm
fzf
fzf-git-sh
fzf-zsh
fzf.man
gh-f
gh-notify
kns
license-cli
lunarvim
mov-cli
mov-cli.dist
navi
python311Packages.pyfzf
python311Packages.pyfzf.dist
python312Packages.pyfzf
python312Packages.pyfzf.dist
ripgrep-all
spacevim
sysz
tmuxPlugins.extrakto
tmuxPlugins.fuzzback
tmuxPlugins.session-wizard
tmuxPlugins.tmux-fzf
unipicker
vimPlugins.fzf-hoogle-vim
vimPlugins.fzf-lua
vimPlugins.fzf-vim
vimPlugins.fzfWrapper
vimPlugins.telescope-zoxide
vimPlugins.vim-fzf-coauthorship
vimPlugins.vim-zettel
vimPlugins.zoxide-vim
xmloscopy
yazi
ytfzf
zoxide
zsh-forgit


Script Not working with Zip

Hi,
I tried using the code for comparing two zip files but it says the system cannot find the file specified.  Do we need to download the diff and javap in the same path. If yes, could you please provide the link to install these.

The script isn't meant to compare two arbitrary zip files. It's meant to compare two .jar files only. diff is a standard tool that's part of GNU utilities. javap comes from the Java JDK.


i want change the default file for directory request, not index.html

What's the problem this feature will solve?
i want change the default file for directory request, not index.html
Describe the solution you'd like
give me an option to set the file name
Alternative Solutions
or i can disable the feature, just list the files in my directory

Duplicate of #678, I've started a fix here which just requires some more testing / unit tests: https://github.com/chris--jones/http-server/tree/index-and-notfound

Catching up on this. Says closed as completed which was misleading at first. Is it not possible to close as duplicate?


thank you

it is not show in modsetting 。

settings for it are disabled in main menu, load your save and see

thank you  it is work


add crd kind/api version back into create

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
2017

Relevant Lines:
3598

💛  - Coveralls


Fix building of release-archive on earlier releases

[ ] Tests
[ ] Documentation
[ ] Release note

Fixes https://github.com/projectcalico/calico/issues/2777
We moved where the manifests are in v3.7 but didn't handle building patch releases of earlier versions.
None required

Deploy preview for calico ready!
Built with commit 3c0c7dd5da46004f233d6e74a1418ace3889d036
https://deploy-preview-2778--calico.netlify.com

Deploy preview for calico ready!
Built with commit c602368b076dff9b00889c0addeed96bf73ec780
https://deploy-preview-2778--calico.netlify.com


Global name change

Thought I needed this to fix the merge conflicts on #5 but it was just over zealous branch protection rules.


[Bug] Overflowing HP Bar in Night Battle

When an abyssal ship's HP reaches negative value upon entering Night Battle, it'll reset the other ships' HP bar to full, making its HP bar to full once again, regardless the situation:

Those who are exempted from this bug are only those who were sunk during the night battle.

ohh that's true


"Edit Profile" page (= also registration page)

[x] After signing up, we should ask users for what name to use on the app
[x] We should also ask them for additional info
[x] The name should be change-able (profile edit page)
[x] The contact info should be change-able (profile edit page)
[x] The account should be delete-able

Awesome job guys!
Just tested this feature thoroughly. @MJDeligan you did a great job. Thank you so much man.