Removed Drawer from NativeBase

Why this was removed?

@adaltavo react-navigation is part of react-native, default navigation

I don't think it should be removed, people like me like to use react-router-native and the removal of Drawer is definitely unfavored. Thankfully we still have root-two/react-native-drawer as an alternative, it should be well compatible.

I think it would be better to keep the drawer. The react-navigation drawer navigator is not as flexible as react-native-drawer.

The release note says Drawyer is deprecated - this is not a deprecation, but a complete removal with no warning. Changes like these cause undue burden on native-base users :(

Yeah this kind of sucks - you can't just remove a major component from the library without forewarning. Lots of people depend on this stuff or at least you need to give plenty of forewarning that you intend to so because of XYZ reason - that is fine - but not like this. Bad quality!

I am came to this at first I thought I am the only one facing this trouble. How can it be removed as it is part of an important UI features?

So what are you guys going to do about this? Just ignore this thread?
For now I will be stop using NativeBase for my apps since this seems to be an amateur project how it is handled. Not only the documentation is updates which still references these components. New users will be highly confused not to speak the plenty of apps that are relying on this feature.
Sorry guys but this is not really acceptable if you position yourself as an essential dependency.
As a remedy I created the native-base-legacy repo that collects these things here so you will still be able to compile your current app.
Head over to http://github.com/flyandi/native-base-legacy or just yarn add native-base-legacy
then
import { Drawer } from 'native-base-legacy'

and you should be good to go.

Everyone, we are very sorry about this. We are going to add it back!
There were issues with the Drawer component coming from a third party library. We are going to revert this change and fix the issues of react-native-drawer or provide an alternative solution.

Added Drawer back with 2.8.0

Thank you!

Thank you!


Remove the preference_tracking and preference_tracking_summary messages

These strings don't seem to be used anywhere.

Codecov Report

Merging #822 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #822   +/-   ##
======================================
  Coverage    6.79%   6.79%
======================================
  Files         103     103
  Lines        5166    5166
  Branches      468     468
======================================
  Hits          351     351
  Misses       4788    4788
  Partials       27      27

Continue to review full report at Codecov.

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


Added in tests for types compared in the IdentityComparer.

Resolves #675.

@mafurman,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:shipit:


feat: add publishPub config option

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


eslint-ignore comments should be replaced with biome equivalents when generating biome

Describe the bug
Generating a new repo with bati with the biome option selected outputs code files that may have eslint ignore comments which are not supported by biome. Instead biome equivalents should be conditionally used in place.
As a related issue which I'll note here vs. filing (I leave it to you to decide): there are some biome format
My $0.02 would be to run either eslint or biome lint+format with write (depending on what option the user selected) as a "post" step after scaffolding a new application. If lint errors might look scary re DX for new users then they could be output to a file or suppressed and the instructions displayed in the terminal (bullet list that starts with installing dependencies)
FYI biome has a biome check --write command where check includes both lint and format. I would kindly suggest also adding it as a "check" or "biome:check" script in package.json.
Bati is incredible work by the way, it is very ambitious. I hope you find me chipping in a few issues helpful related to my experience trying it out. Its a tough job to maintain something with so many different combinations and moving targets with all the deps in play.
To Reproduce
Run bati with biome option.
Use rg or find+grep to find estlint related comments, or try running lint/format.
Expected behavior
No mentions of eslint or eslint-specific suppression comments when generating with biome.

This is indeed something I want to fix, but I need to find a proper solution to solve this.

My $0.02 would be to run either eslint or biome lint+format with write

Remaining errors will mostly be non auto-fixable.
In IDE, code is checked through ESLint (because it supports more use case than Biome for now, like SolidJS). In generated code, it can be checked by ESLint or Biome, and would indeed need some kind of way to remove ESLint comments when necessary, but also add Biome ones if required.


Karton v4.4.0 isn't compatible with task cancelling

Since the update to set_task_status  removed the consumer argument, the dashboard can no longer cancel tasks.
This line here fails.
Would you mind updating this to support karton 4.4.0?

Hi! It will be fixed as a part of https://github.com/CERT-Polska/karton-dashboard/pull/56 (it triggered typing checks)


Formula processing

Fixes https://github.com/grantmcdermott/tinyplot/issues/191
I started to work on a completely revised formula handling to address the issue above. This is still leaner than employing the Formula package but uses a similar approach:

Auxiliary function tinyformula explicitly breaks up the formulas into separate formulas for x, y (if any), by (if any), and facet (if a formula) plus a full formula combining all elements (on the right-hand side).
Auxiliary function tinyframe to extract the variables from the different formulas from the overall model frame.
This allows for better sanity checking, e.g., that there is exactly one x and at most one y etc.

By and large things seem to work. However, I have apparently messed up the two-sided facet formulas. Grant @grantmcdermott if you have the time to look at this, this would be great. I'm not sure whether I fully understand how the attributes work...

Thanks so much for taking this on @zeileis!

By and large things seem to work. However, I have apparently messed up the two-sided facet formulas. Grant @grantmcdermott if you have the time to look at this, this would be great. I'm not sure whether I fully understand how the attributes work...

This week is tough for me due to work deadlines, but I'll try to take a deeper look over the weekend.

That's perfectly fine. I'll be on vacation for a bit more than two weeks. So I won't have a lot of time either but should be able to respond to smaller messages.
I hope that the new code is also reasonably easy to read and understand. Most of it works fine but I still didn't understand how the facet = a ~ b specification is processed correctly. Some cases I was able to handle correctly but others I didn't understand properly. BTW, in principle we would now also have the infrastructure to have facet specifications with multiple variables on both siders, e.g., a1 + a2 ~ b1 + b2 etc. But I didn't actually test this, yet, because I couldn't get even the simple case right.

Hi @zeileis. I finally had some time to review this and everything looks excellent. Thank you!
I only have two minor comments and then we can merge:

I didn't quite understand your comment about having "messed up two-sided formulas". Everything seems to be working as expected on my side and all the tests are passing. Is this comment outdated?
Do you mind editing your opening comment above, by adding "Fixes #191" as a standalone line? This should ensure that the original issue is automatically linked and closed when this PR is merged. See https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests

I hope I have correctly incorporated your second point.
And regarding the first point: When the number of rows and columns is different, then certain combinations of facet specifications do not work. For example, this looks as intended:
tinyplot(mpg ~ wt, facet = vs ~ gear, data = mtcars)

But this is messed up because the layout is still 2 x 3 rather than 3 x 2 and hence it is not surprising that the annotation is not correct:
tinyplot(mpg ~ wt, facet = gear ~ vs, data = mtcars)

If you have more variables in the facets that are then interacted, things can get even worse.

Ah, I see now.
Thanks, let me take a deeper look. Hopefully, the fix won't be too difficult...

Hi @zeileis. I've pushed a a few commits to your PR—hope that's okay—that seem to have plugged the problem areas. Quick examples...
pkgload::load_all("~/Documents/Projects/tinyplot")
#> ℹ Loading tinyplot
tpar(las = 1)

This was working beforehand and still does (2 x 3 arrangement):
tinyplot(mpg ~ wt, facet = vs ~ gear, data = mtcars)

This one wasn't working correctly beforehand, but now does (3 x 2 arrangement)):
tinyplot(mpg ~ wt, facet = gear ~ vs, data = mtcars)

And here's a more complicated example with multiple variables in the facet formula LHS , which used to trigger an error due to missing values in some facet windows, but now plots everything correctly.
tinyplot(mpg ~ wt, facet = gear:vs ~ cyl, data = mtcars, pch = 16, axes = "l", grid = TRUE)

Compare against equivalent ggplot2 call:
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  facet_grid(vs+gear~cyl, labeller = labeller(.multi_line = FALSE)) +
  theme_minimal()

Created on 2024-08-18 with reprex v2.1.1
Given that you're on a (well-deserved!) vacation, I imagine that it may be tricky for you to test on your side. But let me know what you think.

Wonderful, thanks a lot. I'll try to have a look tonight!

Very nice, thanks for these fixes! I've played around a bit and didn't find anything else. So IMO you can move forward and merge this.
Just one comment and one question:

Comment: Due to the new formula processing I think it's easier to use facet = gear + vs ~ cyl rather than facet = gear:vs ~ cyl. Both produce equivalent output but the former creates the interaction() internally rather than bothering the user with this. That's also what I would advertise in the examples.

Question: I noticed that in your last commit you used
if (is.factor(facet)) {
  facets = levels(facet)
} else {
  facets = sort(unique(facet))
}

rather than the more compact
facets = if (is.factor(facet)) levels(facet) else sort(unique(facet))

If the former is preferred, I can also adapt my code for this PR, e.g., https://github.com/grantmcdermott/tinyplot/blob/formula-terms/R/tinyplot.R#L1106 and https://github.com/grantmcdermott/tinyplot/blob/formula-terms/R/tinyformula.R#L23 but there are actually quite a few other constructs like this.

Agree with both! The if...{} else...{} construct is mostly a function of habit from my side. I'll revert to your concise suggestion and then merge.

Thank you @zeileis. This is great!


Revert "Move current version to stable"

Reverts vk-brain/kutana#8

This pull request introduces 3 alerts and fixes 1 when merging 3c22b3f07b28c25f378658aed3e90b0bfeeebc76 into 01a0d0b3da9ecc9c04b6671d9bb45ef5bedecebd - view on LGTM.com
new alerts:

3 for 'import *' may pollute namespace

fixed alerts:

1 for 'import *' may pollute namespace

Comment posted by LGTM.com


bug: Livereload via "ionic serve" does not work properly (loosing back button, state etc.)

Type: bug
Platform: desktop browser
Hey, guys.
I have faced an issue coupled with LiveReload via "ionic serve". Apparently, this is ionic refresh side-effect (seems that ionic looses state on refresh). Here is the one of many scenarios of how one can repro it.
Steps to reproduce:

Create the default tabs app (ionic start myApp tabs)
Start the app with LiveReload server (ionic serve)
Navigate to "Friends" -> "Scruff McGruff"
Open 'www/templates/friend-detail.html' in some editor
Add something inside  tag (e.g. Livereload breakage) and save changes
ERROR - "Back button" lost. "Friends" tab is broken (showing Scruff McGruff only)

Here is a short demo video - http://screencast.com/t/MibRQci9y

Greetings @ibuziuk!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

If the entire app is refresh, it'll no longer have a history of previous views, which is why the back button no longer shows.

@Ionitron I see. But is there are any way to perform 'smart' refresh (with history saving)?

A useful feature would involve being able to set a config variable that resets to specific state on livereload.  Depending on what you are trying to achieve when working through the application.  Sometimes I'm just working on a single page and the loss of history doesn't matter, but in other cases this function defeats the purpose of livereload since I have to go and change the URL back to my base domain, or to a specific state.

+1
it would be very useful to have this addressed

This would be an issue bring up on the cli repo, not the framework.

+1

+1


Further problem with multi-echo lists: TypeError: unhashable type: 'list'

What happened?
I was also running into the issue mentioned in #1282, which has been solved.
However, the problem of multi-echo lists resurfaces here
https://github.com/nipreps/mriqc/blob/04c1b90754b373f44e5a537b44df91fa46a330e4/mriqc/workflows/functional/base.py#L119
What command did you use?
singularity run -e /home/cprovins/singularity_images/mriqc_24_0_0.simg /data /out participant \
-B $DATADIR:/data:ro \
-B ${WORKDIR}:/work \
-B ${OUTDIR}:/out \
-B ${CODEDIR}/mriqc/mriqc:/opt/conda/lib/python3.11/site-packages/mriqc \
-w /work --participant-label sub-001 \
--nprocs 4 --mem 40G --omp-nthreads 8 \
-m bold --session-id 003 --no-datalad-get -vvv

What version of the software are you running?
24.0.0
How are you running this software?
Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Traceback (most recent call last):
  File "/opt/conda/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.11/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/lib/python3.11/site-packages/mriqc/cli/workflow.py", line 56, in build_workflow
    retval['workflow'] = init_mriqc_wf()
                         ^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/mriqc/workflows/core.py", line 48, in init_mriqc_wf
    workflow.add_nodes([fmri_qc_workflow()])
                        ^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/mriqc/workflows/functional/base.py", line 119, in fmri_qc_workflow
    if set(dataset) - set(full_files):
       ^^^^^^^^^^^^
TypeError: unhashable type: 'list'

Additional information / screenshots
No response

TypeError: unhashable type: 'list'

Python's set can only operate on 'hashable' types. A list is not 'hashable', so either you convert it to a tuple or you flatten the lists so all the elements are hashable. This fails for multi-echo because in both dataset and full_files multi-echo runs are merged into a list.
Do you want to give it a try or you want me to quickly fix it?

@oesteban please go ahead. I did not quickly come up with a fix.


Fix docstring in FirstLevelModel to correct where results are stored

As stated by @jeromedockes, in issue #369
this line in the docstring
https://github.com/nistats/nistats/blob/9fa2e0e7cd8a0deed5f57d9645d080b64e671de2/nistats/first_level_model.py#L117
should be fixed to state that by defaults results are stored as SimpleRegressionResults, not RegressionResults
Originally posted by @jeromedockes in https://github.com/nistats/nistats/issues/369#issuecomment-512987725

The original usse-filer has not indicated an interest in fixing this, so I will do it. @jeromedockes

Thx @kchawla-pi

Fixed in #371


Windows: WinForms and WPF assemblies are missing from the ARM64 builds

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Update: The problem is specific to Windows ARM64 builds, irrespective of installation method - see below
Whether the WinForms and WPF assemblies ship with PowerShell Core depends on the installation method:

YES:

MSI package [the only reason this worked is because I accidentally installed the x64 version, not the ARM64 one]

NO:

winget install Microsoft.PowerShell (Microsoft Store)
Installation via https://aka.ms/install-powershell.ps1

Thus, WinForms code breaks with the latter two installation methods with ARM64 builds, because~~ Add-Type -AssemblyName System.Windows.Forms fails due to the absence of the relevant assemblies.

Note:  The .NET Framework version in the GAC is not found, though loading it explicitly with Add-Type -LiteralPath C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Windows.Forms.dll does seem to work in practice.

Verify the presence / absence with:
Get-Item $PSHOME/System.Windows.Forms.dll

Is this a known / by-design? If so, it should at least be documented, with a detailed list of what's absent when not using the MSI installer.

Note that there's also technically distinct, but related problem (which also happens if the WinForms assemblies are present): the ability to load the WinForms assembly via  using assembly System.Windows.Forms has been broken since using  before v7..0:

see https://github.com/PowerShell/PowerShell/issues/11856

Expected behavior
The file should be present.
Actual behavior
The file is present only if PowerShell was installed via the MSI installer
Error details
No response
Environment data
PowerShell Core v7.3.1 (.NET 7.0.0)
PowerShell Core v7.4.0-preview.1 (.NET 7.0.1)
on Microsoft Windows 11 Pro (ARM 64-bit Processor; Version 22H2, OS Build: 22621.963)

Visuals
No response

Note: The .NET Framework version in the GAC is not found, though loading it explicitly with Add-Type -LiteralPath C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Windows.Forms.dll does seem to work in practice.

Dotnet will not check the GAC for you anymore which is why you need to use the full path.

Thanks, @jborean93, but if memory serves, PowerShell does its own GAC probing: https://github.com/PowerShell/PowerShell/blob/6b5d6a0075ea87577f658504b66a28464b362258/src/System.Management.Automation/CoreCLR/CorePsAssemblyLoadContext.cs#L331 (I've never looked at the details).

Hmm I might stand corrected sorry.

@mklement0 can not reproduce with my setup

This seems to be a win-arm64 specific problem.  The build script does an explicit check for win7-* runtime, but arm64 is win-arm64 so it gets excluded accidentally.  Fix coming.

Thanks, @SteveL-MSFT - good to know, and glad to hear a fixe is coming.
As a - somewhat moot, in this case - aside:
In the absence of the relevant .NET (Core) assemblies, can you shed light on what PowerShell does and doesn't look for in the (by definition .NET Framework-only) GAC?

Just to clarify: In the initial post I framed the problem incorrectly (since updated): this wasn't about installation methods, only about architecture; the only reason I didn't see the problem with the MSI package was that I accidentally installed the x64 rather than the ARM64 package.

@mklement0 I believe the GAC search is simply a fail over case.  If the assembly isn't found through the normal means ($PSHome, module, I think current path?), then it tries looking through the GAC.  There isn't an allowlist/denylist type model.  Many .NET Framework assemblies actually work in .NET (Core) so long as it's not using some API that isn't available in .NET (Core).  The absence of an assembly is no worse than trying to load a .NET Framework assembly that fails to load.

Thanks, @SteveL-MSFT, good to know, but it doesn't explain why - in the absence of .NET Core assemblies - the GAC version of System.Windows.Forms wasn't found with -AssemblyName, yet explicit loading it with -LiteralPath did work (Add-Type -LiteralPath C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Windows.Forms.dll).
Is there some architecture-specific aspect to the GAC fallback?

The GAC fallback tries MSIL first, then the architecture specific folder.  It looks like if you're on Arm64, it actually tries to look in FrameworkArm64 and not Framework64.  Looking on my win-arm64 system, there is a System.Windows.Forms.dll there so I would have expected that to have tried to load.

I use PowerShell 7.3.2 and the issue described is present. I see that it was marked as completed in #18859, but has the fix not been released yet? If not, how soon until it does?


Fix filepath.EvalSymlinks when symlink is at filesystem root

When a symlink is at filesystem root (such can be the case on OSTree systems where /root points to /var/roothome and /home points to /var/home) EvalSymlinks fails to follow it correctly. Instead of following it in the context of the root directory, it tries to follow it in the context of the current directory.
This is because when the last traversed directory is removed to concatenate the symlink target, "/home" contract to the empty string, and "var/home" is thus evaluated in the context of the current directory.
This commit fixes that by detecting if the last removed directory was a root directory, and does not remove the trailing path separator in that case.

Unfortunately, I don't have a google account to sign the CLA. I'll not retain copyright on that match anyway.

I'm closing this old PR, since it's been a while and the CLA wasn't signed. Feel free to submit another PR or Gerrit CL in the future, but please do sign the CLA if so.
In this particular case, if you think this is a bug, you should probably file it as one in the issue tracker before sending a patch.

I'm closing this old PR, since it's been a while and the CLA wasn't signed. Feel free to submit another PR or Gerrit CL in the future, but please do sign the CLA if so.
In this particular case, if you think this is a bug, you should probably file it as one in the issue tracker before sending a patch.


Skip to latest segment when renavigating to live video page

Repro:

Start a stream on Channel 1
Go back and start another stream on Channel 2, wait a few seconds
Go back to Channel 1's stream. It will be behind on the stream and not play correctly.

pipeline has changed substantially since this was opened - likely not an issue anymore


Updated to Swift 4.2, Xcode 10

Updated Lib + Sample App, Swift 4.2, Xcode 10 compatible project format.

Note: before merging this PR, the version of this Pod should probably be bumped.

Thanks @DimDL! I'll update the pod and release a new version


Add optional feature to use cache-key-url for parent selection

This feature allows more than one parent cache to be selected for ranges requested from the same URL.

@JBevillC you need to run clang-format.

Updated with clang-format

[approve ci]

Squashed and re-pushed.   Successful compile locally with devtoolset-7 on Centos7

[approve ci]

[approve ci]

I updated the branch to skip over arguments that shouldn't be parsed by the create_pluginconfig() function.

[approve ci]

Cherry-picked to 8.0.x


Swap the order of Features and Videos section.

Partially addresses #245.
/cc @gbaz

Friendly ping :)


[KOGITO-148] - Implementation of deploy command to CLI

See: https://issues.jboss.org/browse/KOGITO-148
This PR adds the option deploy to CLI, for example:
kogito deploy example-drools https://github.com/kiegroup/kogito-examples --context drools-quarkus-example --app kogito

The command above will deploy a new Kogito Service from https://github.com/kiegroup/kogito-examples in the context directory drools-quarkus-example. The OpenShift application will be named as example-drools and deployed in the namespace kogito.
Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

@bmozaffa @xiezhang7 @sutaakar  could you guys please review this PR? This should be the last feature added to the operator this week. We're now focusing on testing, bug fixing, build binaries and images for 0.3 release.
Thanks!!

Merging since we're about to launch 0.3


Data Storage Documentation

Signed-off-by: MoonkiHong<EMAIL_ADDRESS>Co-authored-by: Taewan Kim<EMAIL_ADDRESS>Co-authored-by: suresh-lc<EMAIL_ADDRESS>Co-authored-by: sun-sharma<EMAIL_ADDRESS>Description
Publish the Data Storage document and regarding images for those who will be interest in this feature after our Coconut release.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

@suresh-lc Build passed. Document updates for Data Storage. PTAL.


Feature Request - Help button hide on Terrain Summit

Can the help button be hidden on the Terrain Summit extension??

Thanks for letting me know. Which report is that happening on? I can't see it on my side. What browser are you using Chrome or Edge?

All good. On all reports, unfortunately. And I am using Chrome.

Do you think it could be this? or is this separate? it might be my table and interacting weirdly.

Correct, it is that help button.
Sorry for not being detailed enough

All good, I have added a new tool to be able to control some display settings in Terrain. The first item on the page is hiding the help button but I will add some more items as I have time like making some of the tables and forms display nicer and use less room. I will close this ticket assuming that this will sort out your issue. Please reopen if it does not help. It will be released in 2.4.0 in a few days.


Add Dist Tag How to npm

nirmalrizal:~/workspace (master) $ npm dist-tag add<EMAIL_ADDRESS>["npm-nodecamp"]
npm ERR! Linux 4.2.0-c9
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v4.5.0/bin/node" "/home/ubuntu/.nvm/versions/node/v4.5.0/bin/npm" "dist-tag" "add"<EMAIL_ADDRESS>"[npm-nodecamp]"
npm ERR! node v4.5.0
npm ERR! npm  v3.10.7
npm ERR! code E404
npm ERR! 404 missing : -/package/npm-codecamp/dist-tags
npm ERR! Please include the following file with any support request:
npm ERR!     /home/ubuntu/workspace/npm-debug.log

When you read the help you see npm dist-tag add <pkg>@<version> [<tag>] The [] in  means it's optional (it will tag latest)
Try instead
npm dist-tag add<EMAIL_ADDRESS>npm-nodecamp

I also tried adding via the following command and got the same error as the original poster.
sudo npm dist-tag add<EMAIL_ADDRESS>how-to-npm-tutorial
Using sudo as I haven't fixed the permission problem with npm.

Just read https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md if you have a global Node otherwise, just use NVM using this recipe

npm dist-tag add<EMAIL_ADDRESS>test_for_tag
npm ERR! 404 missing : -/package/easy_test/dist-tags
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/wdy/Documents/npmtest/npm-debug.log
the below is the content of npm-debug.log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/6.1.0/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'dist-tag',
1 verbose cli   'add',
1 verbose cli<EMAIL_ADDRESS>1 verbose cli   'test_for_tag' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose dist-tag add test_for_tag to<EMAIL_ADDRESS>5 silly mapToRegistry name easy_test
6 silly mapToRegistry using default registry
7 silly mapToRegistry registry http://localhost:15443/
8 silly mapToRegistry data Result {
8 silly mapToRegistry   raw: 'easy_test',
8 silly mapToRegistry   scope: null,
8 silly mapToRegistry   name: 'easy_test',
8 silly mapToRegistry   rawSpec: '',
8 silly mapToRegistry   spec: 'latest',
8 silly mapToRegistry   type: 'tag' }
9 silly mapToRegistry uri http://localhost:15443/easy_test
10 verbose request uri http://localhost:15443/-/package/easy_test/dist-tags
11 verbose request no auth needed
12 info attempt registry request try #1 at 9:46:25 PM
13 verbose request id 3d0d0fb0622bc8bf
14 http request GET http://localhost:15443/-/package/easy_test/dist-tags
15 http 404 http://localhost:15443/-/package/easy_test/dist-tags
16 verbose headers { 'content-type': 'application/json',
16 verbose headers   date: 'Sat, 08 Oct 2016 13:46:25 GMT',
16 verbose headers   connection: 'keep-alive',
16 verbose headers   'content-length': '19' }
17 verbose stack Error: missing : -/package/easy_test/dist-tags
17 verbose stack     at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12)
17 verbose stack     at CachingRegistryClient. (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14)
17 verbose stack     at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
17 verbose stack     at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:199:22)
17 verbose stack     at emitTwo (events.js:106:13)
17 verbose stack     at Request.emit (events.js:191:7)
17 verbose stack     at Request. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1036:10)
17 verbose stack     at emitOne (events.js:101:20)
17 verbose stack     at Request.emit (events.js:188:7)
17 verbose stack     at IncomingMessage. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:963:12)
18 verbose statusCode 404
19 verbose cwd /Users/wdy/Documents/npmtest
20 error Darwin 15.5.0
21 error argv "/usr/local/Cellar/node/6.1.0/bin/node" "/usr/local/bin/npm" "dist-tag" "add"<EMAIL_ADDRESS>"test_for_tag"
22 error node v6.1.0
23 error npm  v3.8.6
24 error code E404
25 error 404 missing : -/package/easy_test/dist-tags
26 verbose exit [ 1, true ]
could you give some advice?
I have tried all the methods,including the above two

#69 is the same issue. I'm not sure exactly what's wrong with it. But it's the both exercises on Dist Tag and hence Dist Tag Removal that can't be finished, and need to be updated.

Hello everyone,
I see this issue is still open, I manage to pass the two dist-tag exercises.
So first you want to got to your package.json file, then copy the name value (the name of module).
For example:
{
  "name": "@user/nameOfModule", //copy this line (it won't be same and only the value! without "name":)
  "version": "1.0.1",
  "main": "index.js",
  "scripts": {
    "test": "node test.js"
  },

After you copied the correct name to add the the tag too, use this command:
npm dist-tag add <copied named from<EMAIL_ADDRESS>beta

For the second exercise of dist-tag remove use this commands:
npm dist-tag rm <copied named from<EMAIL_ADDRESS>beta

And to point the "Latest" tag to a different version use this command:
npm dist-tag add <copied named from<EMAIL_ADDRESS>
I hope this helps :)

Thanks all for following up on this issue! I think the solution has been already posted on the above like @BrunoWilkinson posted. I will close this as resolved, and please do not hesitate to open it again if you still can't fix it!

{
"name": "@murtaza23/workspace",
"version": "1.0.2",
"description": ",-----.,--.                  ,--. ,---.   ,--.,------.  ,------.     '  .--./|  | ,---. ,--.,--. ,-|  || o   \  |  ||  .-.  \ |  .---'     |  |    |  || .-. ||  ||  |' .-. |..'  |  |  ||  |  \\  :|  --,      '  '--'\|  |' '-' ''  ''  '\ -' | .'  /   |  ||  '--'  /|  ---.      -----'--' ---'  ----'  ---'  --'    --'-------' `------'     -----------------------------------------------------------------",
"main": "server.js",
"dependencies": {
"@linclark/pkg": "^1.0.2"
},
"devDependencies": {},
"scripts": {
"test": "node test.js",
"start": "node server.js"
},
"author": "",
"license": "ISC",
"repository": {
"type": "git",
"url": "git://github.com/murtaza63/repository.git"
},
"bugs": {
"url": "https://github.com/murtaza63/repository/issues"
},
"homepage": "https://github.com/murtaza63/repository#readme"
}
I adding dist-tag with this command
$ npm dist-tag add<EMAIL_ADDRESS>beta
and verify with this command
$ how-to-npm verify
but terminal shows this
Uh oh, looks like you still only have a single dist-tag.
Use npm help dist-tag to learn how to add another one.
I am new back end please help me how to add  dist tag off free code challange

C:\NodeApp\howtonpm>npm ls
<EMAIL_ADDRESS>C:\NodeApp\howtonpm
`--<EMAIL_ADDRESS>copy '<EMAIL_ADDRESS>it works!!!
C:\NodeApp\howtonpm>npm dist-tag add<EMAIL_ADDRESS>beta
+beta<EMAIL_ADDRESS>


Deprecated configurations in kubei's - k8s yaml

The following warnings are shown while applying the kubei's yaml spec.
Warning: rbac.authorization.k8s.io/v1beta1 ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRole
clusterrole.rbac.authorization.k8s.io/kubei created
Warning: rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding

Sample:

@rmkanda thanks, api version was updated - changes already in master.


How to set timezone of field default value which type is time

Mixin time fields defined as below.
func (TimeMixin) Fields() []ent.Field {
	return []ent.Field{
		field.Time("created_at").Immutable().Default(NowOfGMT8),
		field.Time("updated_at").Default(helpers.NowOfGMT8).UpdateDefault(NowOfGMT8),
	}
}

func NowOfGMT8() time.Time {
	return time.Now().In(time.FixedZone("GMT", 8*3600))
}

Database is MySQL, ent driver is MySQL.
MySQL version is 8.0.
The fields created_at and updated_at default value are always UTC timezone datetime.
My computer and mysql server timezone are also GMT+8.

How can I solve this problem？

Hey @shallowman,
I think this is a MySQL driver configuration issue. Did you try using https://github.com/go-sql-driver/mysql#loc?

Hey @shallowman,
I think this is a MySQL driver configuration issue. Did you try using https://github.com/go-sql-driver/mysql#loc?

Thank you very much. Slove it now.


[Aio] Server-side streaming API

Make gRPC Async Server support streaming RPC calls, including unary-stream, stream-unary, and stream-stream: https://github.com/lidizheng/proposal/blob/grpc-python-async-api/L58-python-async-api.md#server-side

Implemented in https://github.com/grpc/grpc/pull/21517


click method returns nil with no after_hooks

With the changes to the after_hook code, a call to an element's click method will evaluate as falsey if it has no after_hooks.  This is in contrast to evaluating as truthy due to returning an empty array when the code was using run_checkers. This propagates to a hangup in a method which expects a return value when using the click method, namely when using wait_until in a test-helper gem which we use extensively for testing.
Please consider the minor change in my branch which adds a non-empty condition to running the after_hooks in an element's click call.

Why do you expect a return value for an action method?

Is that not intended behavior?  Previously, if run_checkers was not executed at the end of the click action, the value ok was returned.

Theoretically you should avoid expecting any particular return from a method that is only used for its side effects (taking an action). Can you give an example of the use case for which this matters?
The code already doesn't do anything if after_hook array is empty: https://github.com/watir/watir/blob/master/lib/watir/after_hooks.rb#L68-L72
I'm not sure I understand why the presence or lack of presence of after_hooks matters as far as that helper method.

Closing this due to inactivity.
Please, reopen if still an issue.


Fix rspec pattern to include nested directories

Fixes:
https://github.com/cantino/huginn_agent/issues/18

Thanks, did you figure out why the old pattern worked with one subdirectory but not with multiple nesting levels? Except for the huginn exclude the pattern look the same to me.

@dsander I think there are a couple issues at play here:

The argument to --pattern should be single quoted to prevent the glob from being interpreted by the underlying shell:

$ mkdir -p tmp
$ touch {a,b,c,d}.txt
$ ruby -e 'p system("ls #{ARGV.first}")' -- *
a.txt
true
$ ruby -e 'p system("ls #{ARGV.first}")' -- '*'
a.txt	b.txt	c.txt	d.txt
true

The `{[!huginn]} expression is actually a negative match on individual characters 'h', 'u', 'g', 'i', 'n' and not a negative match on the string 'huginn'

$ ruby -r rake -e 'p Rake::FileList["*.txt"]'
["a.txt", "b.txt", "c.txt", "d.txt"]
$ ruby -r rake -e 'p Rake::FileList["{[!ab]}.txt"]'
["c.txt", "d.txt"]

Since rspec is being called in Dir.chdir('spec/huginn') - it should be safe to include ../**/*_spec.rb and exclude ./spec/**/*_spec.rb

@mandrews Thanks for the explanation, I suspected the shell globbing but did not expect the old exclude pattern to work only by accident 😄
I will release a new version with your changes in the next days. Thanks for all your contributions!


Failing tests on Windows with node 0.12.7

related? https://github.com/mapbox/tilelive-bridge/issues/52
:x: There are failing tests with node 0.12.7:
https://ci.appveyor.com/project/Mapbox/tilelive-vector/build/1.0.191/job/2de40a9mp4sb0fve#L994

:white_check_mark: Same tests work ok with node 0.10.40
https://ci.appveyor.com/project/Mapbox/tilelive-vector/build/1.0.191/job/pevsqguap2wct5t0#L995

Same error on Linux:
https://travis-ci.org/mapbox/tilelive-vector/jobs/75961415#L627
Probably buf.writeUInt8 is faulty in 0.12., will investigate.
Used in function replacer:
https://github.com/mapbox/tilelive-vector/blob/master/test/backend.js#L172

@springmeyer @flippmoke
Test is failing with 0.12, because parameter value passed to function replacer is different than with 0.10.
Parameter value is created here via JSON.parse(JSON.stringify(vtile.toJSON(), replacer))
parameter value with node 0.10.40 (just an array)
[ 255, 216, ..., 255, 217 ]

parameter valuewith node 0.12.7 (an object)
{ type: 'Buffer',
  data: [ 255, 216, ..., 255, 217 ]
}

Still has to be determined what is responsible for that?

JSON.parse?
JSON.stringify?
vtile.toJSON?

Your turn, or my turn?

Dirty (works on my machine) hack would be in replacer:
if (node=0.12) value = value.data

My guess is that it has something to do with NanNewBufferHandle here: https://github.com/mapnik/node-mapnik/blob/master/src/mapnik_vector_tile.cpp#L1718 I will look into it more.

@flippmoke one question:
Your change fixes the tests, but shouldn't that be taken care of in the native code, so that the API is consistent across node versions?
Isn't that a breaking change for other modules, if the format of the GeoJSON changes?
Or better not fiddle with the new implementation of NanNewBufferHandle?
vtile.toJSON() 0.10
[
  {
    "name": "_image",
    "extent": 4096,
    "version": 1,
    "features": [
      {
        "raster": {
          "type": "Buffer",
          "data": [
            255,
            216,
            ...,
            255,
            217
          ]
        },
        "type": 0,
        "geometry": []
      }
    ]
  }
]

vtile.toJSON() 0.12
[
  {
    "name": "_image",
    "extent": 4096,
    "version": 1,
    "features": [
      {
        "raster": [
          255,
          216,
          ...,
          255,
          217
        ],
        "type": 0,
        "geometry": []
      }
    ]
  }
]


How to add gradient from left to right not from top to bottom

I need to achieve view like attached image. But gradient always takes place from top to bottom.But I need from left to right

Use the BackgroundGradientAngle property. It takes values from 0-360 to rotate the gradient.


Betterdiscord gets stuck

Describe the bug
When installing betterdiscord to ~/.var/app/com.discordapp.Discord/config/0.0.33, it pops up with this error and gets stuck:
Downloading asar file
❌ Failed to download package from the official website
❌ Status code did not indicate success: 403
Falling back to GitHub...```

**To Reproduce**
Steps to reproduce the behavior:
1. Start with Fedora 38 KDE spin

**Expected behavior**
It should install normally.

**System Information:**
 - OS: Fedora Linux 38 KDE
- Discord Version: Stable flatpak

Try again, this was being blocked by cloudflare.

Thanks!


Add path extraction(#>, #>>)operators to agtype

This PR is a part of a patch originally authored by Josh Innis for #282 . The tasks done here are:

Implemented the path extraction operators (#>, #>>) for agtype, similar to the one in postgres where this operator works with jsonb operands
Allowed using these operators inside cypher queries
Added regression tests

@Zainab-Saad @MuhammadTahaNaveed Good job!

Looks good to me~

@Zainab-Saad The PR is good; but it just needs a small update.
Could you credit the original author in the commit description please?

@rafsun42 Thanks for pointing that out. I have updated the commit description.


how to close tcp keep-alive  for  http.ListenAndServer

What version of Go are you using (go version)?

$ go version
go version go1.14 darwin/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN="/Users/xx/Documents/develop/go/workspace/bin"
GOCACHE="/Users/xx/Library/Caches/go-build"
GOENV="/Users/xx/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/xx/Documents/develop/go/workspace"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/usr/local/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7r/fpcvbc6d32j2lfls0lllcs240000gn/T/go-build785679791=/tmp/go-build -gno-record-gcc-switches -fno-common"
GOROOT/bin/go version: go version go1.14 darwin/amd64
GOROOT/bin/go tool compile -V: compile version go1.14
uname -v: Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64
ProductName:	Mac OS X
ProductVersion:	10.15.3
BuildVersion:	19D76
lldb --version: lldb-1<IP_ADDRESS>
Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1<IP_ADDRESS>)

What did you do?

edit main.go
`package main
import (
"log"
"net/http"
)
func main() {
addr := "<IP_ADDRESS>:8080"
http.HandleFunc("/agent", agentHandler)
srv := http.Server{
	Addr: addr,
}
srv.SetKeepAlivesEnabled(false)

err := srv.ListenAndServe()
log.Fatal(err)

}
func agentHandler(w http.ResponseWriter, r *http.Request) {
}
`
in terminal1
go run main.go
in terminal2
telnet <IP_ADDRESS> 8080
What did you expect to see?
http server not actively send a tcp  keep-alive to client
or i can change time of send tcp keep-alive
What did you see instead?
every 15s, http server actively send a tcp keep-alive to client

We generally do not use the issue tracker for questions.  You will get better and faster answers on a forum.  See https://golang.org/wiki/Questions.  Thanks.
The srv.SetKeepAlivesEnabled method applies to HTTP keep-alives.  What you are seeing is a different thing: TCP keep-alives.  TCP keep-alives are controlled by methods like
https://golang.org/pkg/net/#TCPConn.SetKeepAlive.  I'm not sure but I think you could probably set this by using ConnState in your http.Server.  Asking on a forum may get better advice.


New AWS account for Analytical Platform Development Data

Environment details
Application Name
analytical-platform-data
Github team slug
analytical-platform
Environments

[ x] Development
[ ] Test
[ ] Preproduction
[ ] Production

Tags

tag
value

application
analytical-platform-data

business-unit
Platforms

owner
"Analytical Platform<EMAIL_ADDRESS>

Networking options
Connectivity
Just Internet connectivity required
Additional features
Account-type: member-unrestricted
Other information
This account will be used to store development data for the Analytical Platform

Updated description with details clarified with Andy, this is the equivalent of their data account, their existing account is their management account so this should be a new json file analytical-platform-data.json


Add Layering system

To add support for Transparent models and Fonts and more.

Probably can add a vector of a vector of model bundles. Each representing a layer. Models from the last one will be drawn first and the first one last.


Screenshot for outrun-electric

@ema2159 outrun-electric needs a screenshot.  :)

This isn't DOOM, but it still looks nice, so feel free to use it.  It's Elisp code using https://github.com/alphapapa/prism.el.  Or feel free to decline if it's not quite what you're looking for.  I just think people should have a chance to see what they're missing by not using this theme!  :)

That's very nice! I've been a little bit lazy with the screenshots and I've postponed them for too long already so this helps a lot. Could you take another one showing a little bit of the UI? Like showing treemacs/nerd-tree or Ivy/helm? It would be great if you could do that!

Done! Updated all the screenshots from all themes (made them all equal because my OCD wouldn't let me do it any other way). Thank you for finally make me do it! I've postponed it for too long :sweat_smile:

https://www.reddit.com/r/emacs/comments/ezetx0/doomthemes_screenshots_updated_good_time_to_go/  :)

Thanks man! You're awesome!


No support for LOCK TABLES

Describe the bug
JSqlParser doesn't support LOCK TABLES and throws ParseException: Encountered unexpected token.
To Reproduce
SQL:
-- Other Parsable Statements;
LOCK TABLES `table` WRITE;
-- Other Parsable Statements;
-- UNLOCK...

Parsing:
        val file = File(path).bufferedReader()
        val parser = CCJSqlParser(file.readText())

Exception:
Exception in thread "main" net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "LOCK" <S_IDENTIFIER>
    at line 42, column 1.

Was expecting one of:

    "("
    ";"
    "ALTER"
    "BEGIN"
    "CALL"
    "COMMENT"
    "COMMIT"
    "CREATE"
    "DECLARE"
    "DELETE"
    "DESCRIBE"
    "DROP"
    "EXEC"
    "EXECUTE"
    "EXPLAIN"
    "GRANT"
    "INSERT"
    "MERGE"
    "REPLACE"
    "SET"
    "SHOW"
    "TRUNCATE"
    "UPDATE"
    "UPSERT"
    "USE"
    "VALUES"
    "WITH"
    <K_SELECT>

	at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:26538)
	at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:26377)
	at net.sf.jsqlparser.parser.CCJSqlParser.Statements(CCJSqlParser.java:511)

Expected behavior
Parse it into an AST.
System
Ref: https://dev.mysql.com/doc/refman/8.0/en/lock-tables.html

Is there a way to ignore such unparsable statements?

Look into StatementsTest. There are examples of parser.setErrorRecovery(true);. This skips unparsable statements.

See UnsupportedStatements as explain in #1945 (unless you will sponsor or provide a specific implementation of this feature.)


Feature Request: Job Timer

One thing I would like to do is time a job from start to finish and then log it with the file name of the G-Code so I know how long multiple jobs of the same part will take. Should be pretty simple... take the time code of when a job starts, take another time stamp when it finishes, calculate the time and then append the data to the file.
Heck you could probably add it to the G-code file as a comment.

GrblPanel presently displays elapsed time, that should give you the info you need.

I would not like to code anything that modifies the Gcode file.


Job Profiling

This PR adds individual job profiling to RAVEN's intrinsic abilities.  Since rough print-based timing schemes have been implemented by myself and several other developers separately at different times, it seems this is a common need for profiling job distribution.
In the future, this same profiling approach can be extended to BaseClass raven entities, and other timing statements can be added to jobs without significant effort.  Also, when a log file is implemented these timings could be useful there.
To use this feature, add profile="jobs" to the Simulation node, and on each job's deconstruction, it will print a summary of its timings.

This needs to rerun tests after #595 is merged.


Add support for Client Registration Model and InMemory Client Repository

Fixes gh-40

@jgrandja I have updated the PR with the changes suggested.

@anoopgarlapati Thanks for the quick response! I'll review this tomorrow.
I'm also thinking we should make this change to the Builder:
Instead of
public Builder clientAuthenticationMethods(ClientAuthenticationMethod... clientAuthenticationMethods)

public Builder clientAuthenticationMethods(Collection<ClientAuthenticationMethod> clientAuthenticationMethods)

Replace with
// additive
public Builder clientAuthenticationMethod(ClientAuthenticationMethod clientAuthenticationMethod)

public Builder clientAuthenticationMethods(Consumer<ClientAuthenticationMethod> clientAuthenticationMethodsConsumer)

This will make the Builder more fluent.
We would apply the same change to authorizationGrantTypes,  redirectUris, and scopes.
What do you think?

@jgrandja I like the idea of additive fluent setters as well. I'll make the necessary changes.

Awesome @anoopgarlapati and great work!

@jgrandja I've updated the PR with changes to Builder.

Thank you for the PR @anoopgarlapati. This is now in master!
And congrats as this is the very first implementation merged!
Let me know if you have free time to pick up another issue and I'll find you one.

@jgrandja Hey Joe, as discussed in meeting my team will reach out to you for further contribution on this project.
In the meantime, I can work on an issue if its available.

Sounds great @anoopgarlapati ! I will reach out to you offline.


idea: use turbo-json-parse

turbo-json-parse is a JSON parser by @mafintosh that can be a lot faster by relying on the structure of the JSON to be known before-hand. Except in error cases, with GraphQL, this is always true! What do you think about integrating this module into graphql-request, for a hopefully huge performance boost?

@juliangruber you could already use it:
const client = new GraphQLClient('/api/graphql', {
      async fetch(input, init): {
        const response = await window.fetch(input, init);
        response.json = async () => {
          const json = await response.text();
          return /*put your parser here*/
        };
        return response;
      },
    });

But it would be more sens to suggest this to https://github.com/dotansimha/graphql-code-generator since the generator you generate the matching parsers.

I don't think we want to bloat the package with additional dependencies, the idea of graphql-request is that it's a minimal library for calling GraphQL APIs. That said, nothing prevents you from implementing middleware that can do this for you.


About the major-mode-remap-alist variable

In the init-treesitter.el, the major-mode-remap-alist variable is set to nil at the beginning. However, this operation will overwrite the possible original value of this variable.
I notice this problem because of the recent update of AUCTeX. This package now uses this variable at the init process of emacs to take over the control of several built-in mode, like latex mode. However, with the current setting of init-treesitter.el, the value set by AUCTeX is overwritten completely. Is there a better way to deal with this variable?

Yep, fixed now. There was no need to set those vars to nil — it was just there from when I was originally writing that code and re-running it often.


ElasticSearch healthCheck at checkout

Hi All
Do you have any reason that VSINDEX Elasticsearch being called at checkout?
since this is admin module , it should be used at admin only and not frontend.
have you used any dependancy in frontend ?
please explain.

We are using magento 2 native indexers. Indexers are trigger on varient events: product save, category save, etc - you have take a look.
vsbridge_product_indexer index also depends from catalog_product_price and cataloginventory_stock

@afirlejczyk
I understand but native does many things which we should not using in VSINDEX,
people use storefront for admin data push and they would whitelist admin IP only.
i think this indexing and using magento native should be seggreagated totaly.

@afirlejczyk
why checkout or frontend would access elasticsearch because price or category save is for admin should reflect in admin.
but why frontend changes would push data to elasticsearch?
logically this is not right.


Webpack 4 doesn't support neither buildEnd nor writeBundle

Environment
Node 18.19.0
Unplugin 1.10.1
Yarn 1.22.19
Webpack 4.47.0
Reproduction
Using any plugin that uses either buildEnd or writeBundle hooks with webpack 4.
{
    buildEnd: () => {
        console.log('Hello from buildEnd');
    },
    writeBundle: () => {
        console.log('Hello from writeBundle');
    }
}

Describe the bug
It seems that webpack 4 doesn't call compiler.hooks.emit or compiler.hooks.afterEmit.
Because if I create this plugin:
{
    webpack(compiler) {
        compiler.hooks.afterEmit.tap('my-plugin', () => {
            console.log('Hello from afterEmit');
        });
        compiler.hooks.emit.tap('my-plugin', () => {
            console.log('Hello from emit');
        });
    }
}

No logs appear.
But if I use compiler.hooks.done for instance, it will work.
Additional context
I'm not sure how we can fix this, because both compiler.hooks.emit and compiler.hooks.afterEmit do exist, so we'd need to somehow know when we're in webpack 4 and use done instead maybe.
Also, I may be doing something else wrong maybe? But I've turned this around quite a bit already.
Logs
No response

Nevermind, I had a faulty entry that worked OOTB with webpack 5 but not with webpack 4, so nothing was actually emitted... 🤦


Doing first commit

First github contribution, requesting for approval.

@sureshjsweb, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

@Roshanjossey I felt this project is very useful for a beginner. My next step would be looking for an opt project to explore the open source contribution.

@sureshjsweb, I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com

@Roshanjossey Sure I will be joining there. Thank you for the direction.


implementação do bluetooth

Coloquei um novo commit com a data de hoje (15.09.22). Depois dá
uma olhada no GitHub, que agora tá atualizado.
Eu mudei a AmbienteActivity pra ver se dá certo rodar agora, mas eu não
sei fazer rodar com o arquivo vindo do GitHub. Então, se tu puder testar aí
pra ver se o que eu fiz tá rodando a AmbienteActivity e ajustar pra
BluetoothActivity, eu agradeço.
Acredito que só falta isso pro app ficar completamente pronto.
Em ter., 6 de set. de 2022 às 11:08, João Guilherme <
@.***> escreveu:

You can view, comment on, or merge this pull request online at:
https://github.com/AnaClara264/robo_cleaner_app/pull/1
Commit Summary

8a6c918
https://github.com/AnaClara264/robo_cleaner_app/pull/1/commits/8a6c918fc354acd76976accfdcec8fc99cbcd3a7
implementação do bluetooth

File Changes
(18 files https://github.com/AnaClara264/robo_cleaner_app/pull/1/files)

M COVID192/.idea/gradle.xml
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-0fb15e757cd89a666b36e9c707dfbd74345e209f0e8fad2ee3384afc4692fbe7
(1)
M COVID192/.idea/misc.xml
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-f4d8f438765732d64604cf1ba9f502aa489af78827d35385de0e09df32607278
(6)
M COVID192/app/build.gradle
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-1b567bafda48def94bf1027cd541e5b6a180afbf04eb1b4968077007887cf203
(5)
M COVID192/app/src/main/AndroidManifest.xml
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-a40c78ffec6fc2f4493aa8f2b6710dc1a27c6d25154d7e637d491b4c525ff8d1
(4)
M COVID192/app/src/main/java/com/example/covid192/AlertActivity.kt
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-74f6c77e277fe36c8e7b3c891627a333569f3a1bf8c8740be08b745c7445e188
(2)
M
COVID192/app/src/main/java/com/example/covid192/AmbienteActivity.kt
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-bb8e275bda6779b0f53afd7a4823f0c5f97db90c3871dc5b0775b85090d44295
(96)
M
COVID192/app/src/main/java/com/example/covid192/BluetoothActivity.kt
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-3755badb74196c27e6d6b99407c2d8b653a2fceb1515e5338b113a8221f3a620
(176)
D
COVID192/app/src/main/java/com/example/covid192/ControlActivity.kt
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-7edf6d04eda2edd2a1be06560af3f66fc49cdb780962a985080f6221f6416311
(4)
M COVID192/app/src/main/java/com/example/covid192/OpenActivity.kt
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-c50cd7d160d179993e440c02457a4cd0dd8bb3e1c8dbab00abe7d845d56d6eb1
(2)
M COVID192/app/src/main/java/com/example/covid192/TimerActivity.kt
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-571c861b2bd2e5b4e7b3f09c9c1e59aa8381cddc19394c72825320fda6f76c56
(163)
M COVID192/app/src/main/res/drawable/custom_button.xml
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-4f8ec9ac5752d87023ada91e25af5ddc268c0d1100b8da0c300740ca1417ed64
(3)
M COVID192/app/src/main/res/layout/activity_alert.xml
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-95dc28bdc05ce419e12e326411a086151a3b1f1a2bc159dd0e5ac03c990b95bc
(3)
M COVID192/app/src/main/res/layout/activity_bluetooth.xml
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-94690f067455ee926dad398c213fc8b3379d38dd5411f5b19d58d03d12bca94c
(42)
A COVID192/app/src/main/res/layout/activity_connected.xml
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-b3ff16f3407f85f84370847b6ad02fbfead556f8166b8db48e77428d2438b7b2
(20)
M COVID192/build.gradle
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-388e0888c1b50b25601bb09906ef50b541bd7ec5221dd69861e5c20eccdf6b56
(16)
M COVID192/gradle.properties
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-0dba910fa9608a886e8fef8bb1c33d62ce05c1c1461b5dcfe4c8e467781edd59
(2)
M COVID192/gradle/wrapper/gradle-wrapper.properties
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-13f4c496fbcc18d2d9263f7b60a5a45c11405ac26289daa0f0e8a753b0b23c02
(4)
M COVID192/settings.gradle
https://github.com/AnaClara264/robo_cleaner_app/pull/1/files#diff-0f5c78d27c9d3bf42d0cee36cfe64e315fada4eaad6226c21eed5d4f714c29dc
(4)

Patch Links:

https://github.com/AnaClara264/robo_cleaner_app/pull/1.patch
https://github.com/AnaClara264/robo_cleaner_app/pull/1.diff

—
Reply to this email directly, view it on GitHub
https://github.com/AnaClara264/robo_cleaner_app/pull/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVHFUV6465P7V7ENE7ICWPLV45F47ANCNFSM6AAAAAAQF3WUFU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Shell alerts

More and more folks will want a wider variety of alerts. The existing built-in alert channels are likely the most commonly desired, but there are probably many other less-used channels that users would like to use (in our case, it's slack, and I see other specific suggestions in the issues).
For our use case, and many similar cases, we could go through a generic shell alert. We would configure a shell snippet, and perhaps relevant cabot variables (e.g. names of check and service that are failing) could be passed in as environment variables. For our case, and likely most others, a curl 1-liner is all we need.
This would give users a ton of flexibility. Cabot would immediately be able to configurably  alert on vastly more possibly channels.
(Another similar path could be a generic HTTP hook channel, where users can construct HTTP requests as well as endpoints. However that would be probably be more work and would serve fewer use cases.)

I'm cleaning up some old issues
I don't think we're going to implement this due to security concerns


add more time to wheel

please let us add more time to the wheel..
spinningTime(15000)

that's a good one I will mark this issue as a new feature


Skip tied weights disk offload test

What does this do ?
This PR skips a flaky test. Not sure why it happens but the data_ptr() of compute2.weight is sometimes the same of compute1.weight. Hence it is using the same value as compute1 through self.tied_params_map and we get an assert error. I checked that the values are not the same but it gives the same address. This does not happen on my local machine and it passes sometimes on the CI. Maybe an issue with the hardware. We should have enough coverage with test_dispatch_model_tied_weights_memory_with_nested_offload_cpu, so I think it's fine if we skip it.
cc @fxmarty

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Fix css specificity issue on skip-button.

When attempting to open the navigation on mobile, I often end up revealing the hidden "skip navigation" accessibility button.

This is due to a CSS specificity issue with the new theme.  This PR increases the rule specificity to address the issue.
Before

After

It would happen when on mobile and I was attempting to tap the menu button.  If I tapped too close to the edge, I'd keep getting that button to show.  Here's a demonstration with the devtools:


Getting DLL manifest error when running npm start

Unclear how exactly I got into this position, but after a recent npm run build I started receiving this error. Specifically, every time I run npm start now this error appears:
➜  website.com git:(master) npm start

><EMAIL_ADDRESS>start /Users/me/Sites/website.com
> cross-env NODE_ENV=development node server

The DLL manifest is missing. Please run `npm run build:dll`

Running npm run build:dll completes successfully:
➜  website.com git:(master) npm run build:dll

><EMAIL_ADDRESS>build:dll /Users/me/Sites/website.com
> node ./internals/scripts/dependencies.js

Building the Webpack DLL...
Hash: 8ebe47e98f6adf281192
Version: webpack 2.1.0-beta.13
Time: 2439ms
                      Asset    Size  Chunks             Chunk Names
reactBoilerplateDeps.dll.js  2.8 MB       0  [emitted]  reactBoilerplateDeps
chunk    {0} reactBoilerplateDeps.dll.js (reactBoilerplateDeps) 2.5 MB [rendered]
  [646] dll reactBoilerplateDeps 12 bytes {0} [built]
     + 646 hidden modules

But I’m still unable to run npm start. Anyone seen this issue or know where to start?

Killing this issue. It was my own fault. I’d renamed the DLL and missed a couple of spots.


Use annotations for selectors

Use the new annotations:
@selector([1,1,2,5])
function foo() {}

Rather than:
function foo() selector=hex"01010205" {}

This removes the old syntax completely.

Sorry for having you go through another review cycle!

You found some real issues that I thought were covered by tests, thanks for the review


Mitigate Log4j2 Vulnerability

This adds environment variables that disable the message lookup functionality that led to CVE-2021-44228. It does not fix CVE-2021-45046, this requires an upgrade of Log4j2 itself. According to this blog post that upgrade lands in JMeter 5.5 and 6.0. Hence, we should upgrade asap once they are GA.

I'm fixing a workflow in other PRs...


Documentation Link does not work (Service Unavailable)

The link to the documentation given in the readme (https://developers.google.com/google-ads/api/docs/client-libs/dotnet) is not working. It gives a "Service Unavailable" error.

Seems like a temporary outage. Works now.


AMT is not using the self-signed certificate generated by RPC-GO local tls command for establishing the TLS connection

AMT is not using the self-signed certificate configured using RPC-GO local tls command for TLS connection.
Note:
On version AMT 16 and above, you can reproduce it by running the command once. Run the command twice to reproduce it on AMT 15 and below machines.
Steps to reproduce:

Make sure AMT is activated in ACM or CCM either using rpc-go local command
Configure TLS using RPC-GO local command, use the self-signed certificate option
sudo ./rpc configure tls -mode Server
Using MeshCommander, connect to AMT device using TLS option
Notice on MeshCommander that AMT is not using the self-signed certificated created by rpc-go.

Potential Fix:
If TLS is already configured, need to use a PUT TLSCredentialContext call instead of CREATE TLSCredentialContext https://github.com/open-amt-cloud-toolkit/rpc-go/blob/main/internal/local/tls.go#L182

Resolved in https://github.com/open-amt-cloud-toolkit/rpc-go/pull/604


Instructions for setting language pairs unclear

First of all thank you for making this! I'm excited to replace my current script that opens a google translate tab with my input. I translate a lot between one language at the moment but an having trouble setting the pair. I've brought up the script input in Alfred but when I type a pair I see the following:

When I press return nothing happens. Perhaps I'm missing something. Would love to help improve the documentation if so!

it seems like trc triggered the wrong workflow(alfred-google-translate instead of alfred-language-configuration).
And seems like you just changed the hotkey of alfred-google-translate, right?
Are you installed this workflow(alfred-language-configuration)?  If not, you need do this.

Ah you're totally right. I thought it had installed it but then must have gotten confused by the shared icon and old workflow!

Current archive isn't the latest version I think btw!

Still think I'm missing something though? Maybe once I understand I can help improve the README.

actually，there are two workflows. The alfred-language-configuration with trc (like trc en&nl ) to configuration, and the alfred-google-translate to translate with tr (like tr hello).

Ohhhh. Mind if it try to improve the README with that?

hi @warpling ，if you got the correct result as you expected. i'll close this issue.

Not sure what I’m doing wrong here but tr doesn’t trigger anything for me.

This is all I have? I feel like maybe there's supposed to be a separate `tr.workflow` file somewhere but I haven't been able to find it.

you also need to install this one.

Ohhhhhhhh—why are these separate repos??

just for use the different keyword for different functions. Alfred just supported one script filter in one workflow. so I separate those.

thanks for you participation. and I updated the readme to make it more clear. see the install paragraph.
and I'll close this issue if anything is right now.

Hope my PR helps too!

Awesome! thats a great PR. please help me update the alfred-google-translate README if you want.
thanks a lot.
and i closed this issue now.


No achievements find for EPIC

When I try to update Epic Games achievements , I receive the following message:

Playnite 10.33
SuccessStory 3.2

Worked well on some games from Epic Games like:

Grime
While True: Learn()
AER

12-08 20:40:02.087|INFO |SuccessStory#SuccessStoryDatabase:RefreshNoLoader(Horizon Chase Turbo - 344c942e-e794-4a27-8dd2-9c09d0f20d0a - Epic)
12-08 20:40:02.087|INFO |SuccessStory#SuccessStoryDatabase:Used SuccessStory.Clients.EpicAchievements for Horizon Chase Turbo - Epic - Epic - PC (Windows)
12-08 20:40:02.604|WARN |SuccessStory#EpicApi:Not find nameSpace for horizon chase turbo - mars-horizon
12-08 20:40:02.604|WARN |SuccessStory#EpicAchievements:No NameSpace for the Epic game Horizon Chase Turbo
12-08 20:40:02.604|INFO |SuccessStory#SuccessStoryDatabase:No achievements find for Horizon Chase Turbo - Epic - Epic - PC (Windows)
12-08 20:40:21.622|INFO |SuccessStory#SuccessStoryDatabase:RefreshNoLoader(The First Tree - 18502bc9-d55d-4912-bd77-3052850ddc6f - Epic)
12-08 20:40:21.622|INFO |SuccessStory#SuccessStoryDatabase:Used SuccessStory.Clients.EpicAchievements for The First Tree - Epic - Epic - PC (Windows)
12-08 20:40:22.167|WARN |SuccessStory#EpicApi:Not find nameSpace for the first tree - surviving-the-aftermath
12-08 20:40:22.167|WARN |SuccessStory#EpicAchievements:No NameSpace for the Epic game The First Tree
12-08 20:40:22.167|INFO |SuccessStory#SuccessStoryDatabase:No achievements find for The First Tree - Epic - Epic - PC (Windows)
12-08 20:40:38.182|INFO |SuccessStory#SuccessStoryDatabase:RefreshNoLoader(Death Stranding - 5f95b3fc-0b58-4eb1-9280-8906af864abe - Epic)
12-08 20:40:38.182|INFO |SuccessStory#SuccessStoryDatabase:Used SuccessStory.Clients.EpicAchievements for Death Stranding - Epic - Epic - PC (Windows)
12-08 20:40:38.816|WARN |SuccessStory#EpicApi:Not find nameSpace for death stranding - death-stranding
12-08 20:40:38.816|WARN |SuccessStory#EpicAchievements:No NameSpace for the Epic game Death Stranding
12-08 20:40:38.816|INFO |SuccessStory#SuccessStoryDatabase:No achievements find for Death Stranding - Epic - Epic - PC (Windows)

https://github.com/Lacro59/playnite-successstory-plugin/pull/494


Ceasium doesn't obfuscate

I want to obfuscate my application but i allways get this error:
message(5).txt

You're missing dependencies.


avoid 500 error when parsing

when ruleId=null or message=null, there is a 500 error. This avoid it

refer to #2734


Check the server state before dispatching the request

The puzzle 47-49dd145d from #47 has to be resolved:
https://github.com/Decision-Driven-Development/logic-checker/blob/b24e1165ee1fc73a9d3f3da94e65cbc9dbcab604/src/main/java/ru/ewc/checklogic/server/AllEndpoints.java#L56-L56
The puzzle was created by Евгений Терехов on 31-Jul-24.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 47-49dd145d has disappeared from the source code, that's why I closed this issue.


FR: Support compiling application bundles that compose can use to auto-update applications

There are several external libraries that allow Java applications to do auto-update with bundles (i.e. https://github.com/update4j/update4j ), but it seems that it's very difficult to use these currently with Compose in order to achieve the auto-updating functionality.
After messing around with the various options, it seems like the best solution is to have the Compose team provide something that would allow the compose desktop applications to update themselves when provided with a file bundle, or something of the sort.

it seems that it's very difficult to use these currently with Compose
what are the difficulties?

The owner of update4j proposed a solution last night. You can find the conversation here - https://github.com/update4j/update4j/issues/149
I got a bit lost in the update4j documentation but I'll try implementing the proposed solution this weekend.
Can someone comment on the name changes for the jars? i.e. animation-core-desktop-1.0.0-alpha2-779ffac333be01750e1babf4c38565e.jar What is the hash that's added to the end of the jar name?

I also foucus on it. I'm develop a application can install plugin. I think auto-update is a way about install plugin.

The owner of update4j proposed a solution last night. You can find the conversation here - update4j/update4j#149
I got a bit lost in the update4j documentation but I'll try implementing the proposed solution this weekend.
Can someone comment on the name changes for the jars? i.e. animation-core-desktop-1.0.0-alpha2-779ffac333be01750e1babf4c38565e.jar What is the hash that's added to the end of the jar name?

I found it generate by this
https://github.com/JetBrains/compose-jb/blob/1561b2736f1e62ad0d61214e8a96342fb841f0a6/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/internal/files/fileUtils.kt#L15

I think this should be something that the gradle plugin provides to us. Some thoughts I wrote down in slack:
It’s lots of simple problems to solve that are complex when combined together I think. Lots of smaller questions come up:

How does the app hook in and provide its own custom update UI?
How do you do this on windows?
How do you allow not only for the classes to be updated, but the JVM as well?

The solution I’ve played around with in my head is to download all the changed files from the previous version, and then downloading a small Kotlin Native executable for the specific platform, and then running that native executable, killing the current process, having the native executable swap out all the files, and then restarting the application.
It’s also theoretically possible though to live update the application without even killing the process if you are only updating classes. I’ve tried this though, and it’s much more complicated than I’d hoped.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Only the first and second subset runs are having non-skipped blocks

note: all the agents all on all trajectories seems to have the same balance and staked amount

hypothesis: the agent initial state is being carried over from the past runs


Cost of Reads and Writes

How is it that 1KB takes 1RU, and 100KB takes 10RUs not 100RUs?

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

ID: 27457010-fd1f-4a39-ca5e-93f118e4ac4e
Version Independent ID: 605a5b19-a4c8-4c30-ebb4-ce5175f1f4f8
Content: Optimizing the cost of reads and writes in Azure Cosmos DB
Content Source: articles/cosmos-db/optimize-cost-reads-writes.md
Service: cosmos-db
GitHub Login: @rimman
Microsoft Alias: rimman

@olufea Thank you for the detailed feedback. If the RU value scaled 1:1 with regard to item size, then the Cosmos DB PaaS would not be economical. There are also other considerations:

The read and write costs are applicable when using the default session consistency level. The considerations around RUs include: item size, property count, data consistency, indexed properties, indexing, and query patterns.

Is there something you are seeing that indicates otherwise?

It just seemed odd to me. Since the document does not mention that the cost/KB is non-linear, I was assuming 1KB>1RU, 10KB>10RU etc. So sounds like if I make 100 reads for a 1KB item, it will cost me 100RUs, but if I make 1 read for a 100KB item it will cost 10RUs. Factoring in the per-trip costs, the non-linearity makes sense.
Thanks for the clarification.

We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


[EnumRequest] Table 361 "Analysis by Dim. Parameters"

Please change "Line Dim Option" and "Column Dim Option" fields to Enum - with all related funcionalities

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


API Permissions Missing Permissions Error, and 400 Bad Request Error

Snekfetch version or commit hash: 3.6.4
Explaination of issue:
Issue with stack trace I get this error logged about every few minutes.
Example code to reproduce:
I do not know because the stack trace does not give any specific files but the snekfetch file.

[ ] Issue occurs in browser
[x] Issue occurs in node

this has nothing to do with snekfetch


fix(operator): adapt resource requests and limits

Closes #832
Signed-off-by: Florian Bacher<EMAIL_ADDRESS>

why don't you put the resource settings directly into the manifests instead of using the kustomize patch files?

no particular reason; i saw that those were also set in the patch for the rbac-proxy container and did it the same way for the manager - but i agree that it makes more sense to set them in the manifests directly.


About inference speed

Hello,
I notice that the FPS of Swin-T, Swin-S, and Swin-B are 7.8, 7.0, and 5.9 in Table 5, respectively. However, there FPS reported in original paper are 15.3, 12.0, and 11.6, respectively. Could you explain what make the difference between these two reported FPS? Thanks.

I think the inference time is much slower than the paper, but the mAP is great for my own task. I am using a slurm cluster with A100 GPU.


Better deal with nil attributes

When the tool finds an attribute that is set to "nil", it currently puts a value of "NaN" into the output table.  This does not inform the reader that the value is present but nil, nor does it relate the nilReason.  Furthermore, "NaN" is not an allowable value for ASCII tables in PDS4, and we would like these tables to be PDS4-compliant.
We should discuss and then implement a more informative and PDS4-compliant way to fill the table in such cases.

To add to this issue, there needs to be new default variables that are used in the event an attribute is nil. Values need to be determined not only each value type (integer, floating-point, dates, etc.) but also for each of the four nilReason values: inapplicable, anticipated, missing, and unknown.

Examples:

For integers, the default special constants might be -999, -998, -997, and -996 for the four possible nilReason values.
For dates, they might be 0001-01-01T12:00, 0002-01-01T12:00, 0003-01-01T12:00, and 0004-01-01T12:00.

Users should be able to redefine these special constants for each column, in case the default values are not clearly distinguishable from valid data.

The data types I currently have are: Strings, Date and Time, and Numeric (int and float). Do I also need to account for Boolean values?

Also what do people think of these values for strings and floats
Floats:
- -999.9, -999.8, -999.7, -999.6

Strings:
- “inapplicable”, “anticipated”, “unknown”, “missing”

These all look great.  No, I don't think special constants would be present in a boolean column.

These all look great.
Why don't you set the code to crash if you have a boolean variable that is nil.  We'd have to figure out what to do in such a case, but I'm not sure whether it will ever come up.


⚠ Bofrost.de has degraded performance

In 8fe2000, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 781 ms

Resolved: Bofrost.de performance has improved in 15762db after 8 minutes.


Not running in my iPhone

When  I try to run your project in  my iPhone. It says
My iPhone doesn’t match any of jotuiexample.app’s targeted device families. You can expand jotuiexample.app’s targeted device families to support your iPhone.
Any idea ?
Thanks

Just pushed up a commit on master that adds an iPhone UI :)

Worked :) 👍

Can you add more brushes please ?
Or can you tell me how to achieve other brush strokes apart from pen and marker ?
Your tool is really awesome.
Thanks

glad you're enjoying it! :)
I won't have time to add any new brushes in the near future, hopefully I'll get to it in the new year. To get started on your own brushes, take a look at the Pen, Marker, and Eraser classes in the jotuiexample project. Those are the classes that define the current behavior. Just experiment with those and you'll be able to come up with some interesting stuff :)


[feature branch] AST test infra

AST Tests
This driver enables testing of the AST generation that will be used in the server-side Snowpark implementation, starting with Phase 0.
All generated AST should be tested using this mechanism. To add a test, create a new file under tests/ast/data. Files look like the following example. The test driver sets up the session and looks at the accumulated lazy values in the resulting environment.
N.B. No eager evaluation is permitted, as any intermediate batches will not be observed. This can easily be changed if necessary, however.
## TEST CASE

df = session.table("test_table")
df = df.filter("STR LIKE '%e%'")

## EXPECTED OUTPUT

res1 = session.table('test_table')

res2 = res1.filter('STR LIKE '%e%'')

To generate the expected output the first time the test is run, or when the AST generation changes, run:
pytest --update-expectations tests/ast

Can we maybe avoid checking in the .jar file? It's 22MB which will make any changesets large...


Various USB fixes

Codecov Report

Merging #1390 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1390      +/-   ##
==========================================
+ Coverage   57.77%   57.81%   +0.04%
==========================================
  Files         131      131
  Lines       24851    24851
==========================================
+ Hits        14357    14368      +11
+ Misses       9825     9813      -12
- Partials      669      670       +1

Impacted Files
Coverage Δ

prog/any.go
87.98% <0%> (-0.71%)
:arrow_down:

prog/mutation.go
95.28% <0%> (+0.58%)
:arrow_up:

prog/target.go
62.14% <0%> (+7.14%)
:arrow_up:

Continue to review full report at Codecov.

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


Upgrade to new Spezi and SpeziFoundation frameworks

Upgrade to new Spezi and SpeziFoundation frameworks
:recycle: Current situation & Problem
This PR updates SpeziAccount to the latest changes of the Spezi and SpeziFoundation frameworks. Additionally, we migrate away from ObservableObject to the new Observable framework.
:gear: Release Notes

Upgrade Spezi to 0.8.0
Move to @Observable.

:books: Documentation
--
:white_check_mark: Testing
--
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

@PSchmiedmayer once approved you may merge the PR. Diff is off due to changes in the Previews.


[docs] Fix broken JSS links

[X] I have followed (at least) the PR section of the contributing guide.

@timkindberg It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!


Add confirmCardPayment

Added confirmCardPayment

please , Is this changes are available on the current npm package
I'm using : the version 0.3.2
Thanks

please , Is this changes are available on the current npm package
I'm using : the version 0.3.2
Thanks

No, the pull request is still pending. You can npm install with my forked github repository if you have to use confirmCardPayment

Fixed in #120


Instant support

New pull request sorry - original comment:
Would like to get your thoughts on this concept @Julieallan @johnkane1
The idea is that the user will go to google and the back button will be disabled. Thats the bit I was focussing on but think we could add the contact and support info here too so that its on every screen - what you think? Maybe even on pages such as police force or CRN we can add a bit of copy to say if you are unsure you can contact the police on 101 etc....?
Trying to keep this section as small and unobtrusive as possible though.
I've used a secondary button here that isn't in the design system but was one I used at DWP and looks like GDS are working on new secondary and tertiary buttons.
Also if we go ahead with this and test it in PB then MOJ would like to put it into their design system for other teams to use. Would need to be tested thoroughly though.

Both suggestions are good.

I saw the grey button but maybe as I was looking for it. Red would stand out.
There's a lot of content. When it's just links in blue it stands out better (current service). Is there anyway to make it smaller or put it in a box - we previously had a blue box (wrongly used for a warning!) but not sure if that's a recognised pattern?

It would be good to have a consistent approach to the Help and Support but in saying that we should go with what we have for now for and see what comes out of PB. That should give us some insights and tell us if users need it/use it. I'll add a ticket to the backlog for instant exit so it can be prioritised.

Thanks for your feedback guys - yeah the grey isn't right - I was just sharing the concept and still looking at the colours and where the button will be placed etc but wanted to get initial thoughts. There is zero guidance so really we can decide which is great.
I think red would be pretty scary. We arent supposed to use colour to denote meaning.
Ideally I think we should go with the grey so as not to distract the user from the primary task of completing the form and test its usability in PB - is that something we can do @Julieallan?
I doubt making the content scroll would be accessible? And at mobile I would like the button to appear along the bottom of the browser window at all times - it's too hard to show that in the prototype but I showed the idea to Stephen and he said it was doable.
This is the best example to show what I would like to do: https://www.victimandwitnessinformation.org.uk/
@Julieallan defo too much content - I wonder if theres a way to shorted it @johnkane1 do we need to put the opening times here? And agree the heading is too big. I think a h3 heading-s is enough.
I will merge and iterate on this.

Just talking to John about the red and we agree that wouldn't be the best idea - it would stand out and be the first thing that someone would see if they walked in when you were browsing!
I'll add a ticket to the backlog but would say it's down the priority list for PB.


FAM Logout Chain

As a FAM user * I want to logout of keycloak and siteminder  So That when I am required to authenticate every time I login to FAM*
Additional Context

Change the logout up the chain, so that a logout from cognito, log users out upstream: Keycloak and Siteminder.
-- See https://stackoverflow.developer.gov.bc.ca/questions/83/84 for Marco's take on this

Acceptance Criteria

[ ] When a user clicks "logout" on FAM, they no longer have an active session on Cognito, Keycloak, or SiteMinder
[ ] When a user starts a logout process for FAM (or any other app that shares SSO sessions at either Keycloak or Siteminder), the user must re-enter their credentials at Siteminder.
[ ] Having logged out of FAM, the next login attempt should route users to the CLP page for a re- authentication.

Definition of Done

[ ] Ready to Demo in Sprint Review
[ ] Does what I have made have appropriate test coverage?
[ ] Documentation and/or scientific documentation exists and can be found
[ ] Peer Reviewed by 2 people on the team
[ ] Manual testing of all PRs in Dev and Prod
[ ] Merged

Tests:

try using the cognito refresh token to obtain a new access token
try using the keycloak refresh token to obtain a new access token

We chain the logout back to siteminder is because the logout from cognito won't invalid the session from Keycloak and siteminder. So we have to chain back to actually invalid all the user sessions.

Chatted with Marco Villeneuve from Pathfinder team:

logout from Cognito won't log us out automatically from Keycloak, so we want to chain the logout url
the Keycloak logout redirect_uri parameter is deprecated, if the new Keycloak version v20 will not support it anymore, then we can't use it anymore, we have to change to the combination of post_logout_redirect_uri and id_token_hint
for now just test the Keycloak logout using redirect_uri, but it doesn't support multiple parameters in the url

Finally found a simpler solution for now:
Amplify library method Auth.signOut() can log the user out from Cognito, so we don't need to call the Cognito logout url anymore.
So the logout chain will just call the SiteMinder logout, chained to the Keycloak logout, then back to our application logout page. https://logontest7.gov.bc.ca/clp-cgi/logoff.cgi?retnow=1&returl=https://dev.loginproxy.gov.bc.ca/auth/realms/standard/protocol/openid-connect/logout?redirect_uri=http://localhost:5173
A small UI issue for this method is that, both "Auth.signOut()" and the logout chain will do a redirect to the application page, so it will do the redirect twice


Crash when Trading with kraken

Good morning,
this error message is almost happening every attempt gekko makes a trade.

/Users/decoye/gekko-develop/exchanges/kraken.js:199
if(!_.isEmpty(data.error))
^
TypeError: Cannot read property 'error' of null
at Trader.set (/Users/decoye/gekko-develop/exchanges/kraken.js:199:23)
at KrakenClient.bound (/Users/decoye/gekko-develop/node_modules/lodash/dist/lodash.js:729:21)
at Request._callback (/Users/decoye/gekko-develop/node_modules/kraken-api/kraken.js:155:23)
at Request.self.callback (/Users/decoye/gekko-develop/node_modules/request/request.js:186:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/Users/decoye/gekko-develop/node_modules/request/request.js:1081:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/Users/decoye/gekko-develop/node_modules/request/request.js:1001:12)
at IncomingMessage.g (events.js:291:16)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

Thanks will check it out. Does this happen a lot?

Hello !
Same here,
`2017-01-04 01:19:27 (INFO):     BUY order was not (fully) filled, cancelling and creating new order
/home/tycale/gekko/exchanges/kraken.js:139
if(!_.isEmpty(data.error))
^
TypeError: Cannot read property 'error' of null
at Trader.set (/home/tycale/gekko/exchanges/kraken.js:139:23)
at KrakenClient.bound (/home/tycale/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Request._callback (/home/tycale/gekko/node_modules/kraken-api/kraken.js:135:22)
at self.callback (/home/tycale/gekko/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at ClientRequest. (/home/tycale/gekko/node_modules/request/request.js:781:16)
at ClientRequest.g (events.js:291:16)
at emitNone (events.js:86:13)
at ClientRequest.emit (events.js:185:7)`

Same here, seems to be un problem when trying to sell and you have nothing to sell so value is empty

Hey Mike,
yes this happens every 2nd - 3rd real time trade..

I just experienced exactly the same error after real trading in Kraken for about 5 hours:
2017-05-28 16:10:07 (INFO):     Attempting to BUY 0.2957905250500333 ETH at kraken
/usr/src/app/exchanges/kraken.js:199
    if(!_.isEmpty(data.error))
                      ^

TypeError: Cannot read property 'error' of null
    at set (/usr/src/app/exchanges/kraken.js:199:23)
    at KrakenClient.bound (/usr/src/app/node_modules/lodash/dist/lodash.js:729:21)
    at Request._callback (/usr/src/app/node_modules/kraken-api/kraken.js:135:22)
    at self.callback (/usr/src/app/node_modules/request/request.js:188:22)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at ClientRequest.<anonymous> (/usr/src/app/node_modules/request/request.js:822:16)
    at ClientRequest.g (events.js:286:16)
    at emitNone (events.js:86:13)
    at ClientRequest.emit (events.js:185:7)

Same errors here....
2017-06-03 12:50:24 (INFO):     Attempting to SELL 0.30193115 XBT at kraken
C:\Users\myuser\Downloads\gekko-stable\exchanges\kraken.js:233
    if(!_.isEmpty(data.error))
                      ^

TypeError: Cannot read property 'error' of null
    at Trader.check (C:\Users\myuser\Downloads\gekko-stable\exchanges\kraken.js:
233:23)
    at KrakenClient.bound (C:\Users\myuser\Downloads\gekko-stable\node_modules\l
odash\dist\lodash.js:729:21)
    at Request._callback (C:\Users\myuser\Downloads\gekko-stable\node_modules\kr
aken-api\kraken.js:135:22)
    at self.callback (C:\Users\myuser\Downloads\gekko-stable\node_modules\reques
t\request.js:188:22)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at ClientRequest.<anonymous> (C:\Users\myuser\Downloads\gekko-stable\node_mo
dules\request\request.js:822:16)
    at ClientRequest.g (events.js:292:16)
    at emitNone (events.js:86:13)
    at ClientRequest.emit (events.js:185:7)

I am working on a reimplementation of the trader as we speak (that also supports the UI), that will def fix this as well.
Though it's a lot of work, progress can be followed here: https://github.com/askmike/gekko/pull/737

@askmike thanks for the huge amounts of work. I tried the new kraken exchange code as I was getting the exception on every run with kraken. This is the new problem with this new code
2017-06-29 03:59:43 (INFO):	Setting up Gekko in realtime mode
2017-06-29 03:59:43 (INFO):
2017-06-29 03:59:43 (INFO):	Setting up:
2017-06-29 03:59:43 (INFO):		 Trading Advisor
2017-06-29 03:59:43 (INFO):		 Calculate trading advice
2017-06-29 03:59:43 (INFO):		 Using the strategy: PPO
2017-06-29 03:59:43 (WARN):	Warning, trading method has no name
2017-06-29 03:59:44 (INFO):		The trading method requests 360 minutes of historic data. Checking availablity..
2017-06-29 03:59:44 (INFO):

2017-06-29 03:59:44 (INFO):		No usable local data available, trying to get as much as possible from the exchange..
2017-06-29 03:59:44 (INFO):		Preventing Gekko from requesting 360 minutes of history.
2017-06-29 03:59:44 (DEBUG):		Fetching exchange data since 240 minutes ago
2017-06-29 03:59:45 (DEBUG):		Available exchange data:
2017-06-29 03:59:45 (DEBUG):			from: 153 minutes ago
2017-06-29 03:59:45 (DEBUG):			to: 0 minutes ago
2017-06-29 03:59:45 (DEBUG):		Unable to stitch datasets.
2017-06-29 03:59:45 (INFO):		Not seeding locally available data to the trading method.
2017-06-29 03:59:45 (INFO):	Setting up:
2017-06-29 03:59:45 (INFO):		 Trader
2017-06-29 03:59:45 (INFO):		 Follows the advice and create real orders.
2017-06-29 03:59:45 (DEBUG):	getting balance & fee from kraken
2017-06-29 03:59:45 (INFO):

2017-06-29 03:59:46 (DEBUG):	kraken returned an error, retrying.. "no data"
2017-06-29 03:59:56 (DEBUG):	kraken returned an error, retrying.. "no data"

Sorry ignore previous message - did not have sufficient privileges on API keys

Actually I'm still having problems with Kraken. Despite full privileges this has happened twice now on the live trader on 2 different days. Have not had any successful trades recently.

On holiday currently so will try and give more debug info when I'm back, however because of a lack of exception handling, I would never be notified of such an occurrence which is actually another issue in its own right.

Hey @Ali1, I have upgraded all kraken integration as part of an updated trader (that works in the UI), details can be found here #737. These upgrades include fixes for these exact issues. I hope to have a new version ready very soon!

Hi,
I've exactly the same issues as described above. Does this mean you cannot trade on Kraken live until the new UI is released? has someone figured out a workaround maybe?

@jwijmans this should be fixed in an upcoming release. I just now pushed this fix to the develop branch: https://github.com/askmike/gekko/tree/develop
Can you download that one and try again?