Error trying to move an image from eastus2 to westeurope

Describe the bug
Command Name
az image copy Extension Name: image-copy-extension. Version: 0.2.1.
Errors:
Command '['C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\python.exe', '-m', 'azure.cli', 'snapshot', 'create', '--name', 'devopsVS2017-image-20191005203740_os_disk_snapshot', '--resource-group', 'AzureDeOps-rg', '--source', '/subscriptions/6f335c6c-6850-40da-a64c-37021daaa4c6/resourceGroups/AZUREDEOPS-RG/providers/Microsoft.Compute/disks/devopsVS2017_OsDisk_1_bf58f98dc70144cab32b31b4630d8a61', '--output', 'json', '--tags', 'created_by=image-copy-extension']' returned non-zero exit status 1.
Traceback (most recent call last):
pip-install-rg707cll\knack\knack\cli.py, ln 206, in invoke
cli\core\commands\__init__.py, ln 603, in execute
cli\core\commands\__init__.py, ln 661, in _run_jobs_serially
...

To Reproduce:

az login
az account set -s {}
az image copy --source-object-name {} --source-resource-group {} --target-resource-group {} --target-location {} --debug

Expected Behavior
Expected result is a successful move of the VM image to the new location in order to recreate the VM in the targeted resource group and location.
Environment Summary
Windows-10-10.0.18995-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.73 *

Extensions:
azure-devops 0.12.0
image-copy-extension 0.2.1

Additional Context

@nemrism please provide the debug output by running the command again with the --debug flag

Here we go, with a fresh new image:
https://1drv.ms/u/s!Attz0_FK8eIXhss1LGmY8xK-zAOhZw?e=Q8dFSf

Thank you.
The error indicates that the OS disk of the VM used to create the image is missing. Are you aware that this is a requirement for the extension to be able to copy the image? If you are aware, please confirm that you see the disk in your subscription.

Indeed, I've checked the resource URI / ID and can access it without any problem in my subscription

/subscriptions/6f335c6c-6850-40da-a64c-37021daaa4c6/resourceGroups/AzureDevOps-rg/providers/Microsoft.Compute/disks/devopsVS2017_OsDisk_1_bf58f98dc70144cab32b31b4630d8a61

Can you try and run the failing step "by hand":
az snapshot create --name devopsVS2017-image-20191019202000_os_disk_snapshot --resource-group AzureDevOps-rg --source /subscriptions/6f335c6c-6850-40da-a64c-37021daaa4c6/resourceGroups/AZUREDEVOPS-RG/providers/Microsoft.Compute/disks/devopsVS2017_OsDisk_1_bf58f98dc70144cab32b31b4630d8a61 --output json --tags created_by=image-copy-extension

Of course, and if it succeeds, how do I continue the move please?
I'll post the result in a few

@tamirkamara, got the exact same problem, which is quite coherent ^^
https://1drv.ms/u/s!Attz0_FK8eIXhss27eacjNCycJ-tcA?e=99wmSB

Yes... so it looks like not something specific to the extension since the native command also fails.
I would do the following:

try to snapshot the disk on the azure portal to see if it works or not
with the result, open a support ticket to have their help get to the root of the problem

Ok, thanks for your help @tamirkamara
I already have an open ticket for the overall operation but have no solution yet...

Actually just tested, and it works using Azure Portal
https://photos.app.goo.gl/NDDS8TAzpivEPXJi7

I would add the information above to help the support engineer focus on the actual issue...

@tamirkamara
Could you tell me what are the other steps the extension is wrapping under the image copy command?

Hi,
Have a look in the code here. This is the step which fails for you to create the snapshot.
If you follow along you'll find a bunch of commands getting issues from that custom.py file as well as create_target.py.
I hope that helps.

@tamirkamara
I've been told by the support that azure cli does not support moving image between those regions for the moment.
They are guiding me to make it through Powershell which is the only way to do it right now.
It should be interesting to document that limitation in the extension wiki/help if it is not already the case!

Hi,
While support is right, this isn't exactly what I wanted their help with. Granted that the cli doesn't have builtin support for copying images, which is exactly why the extension exists. The 2 regions aren't related. The extension worked great for the last 2 years between those two regions (and many others).
You have a somewhat special case for a reason we don't yet which causes a problem to create a snapshot of the disk through the CLI. I believe there're a couple of other issues from other users that look very similar to yours, and I wanted to get support help in finding out the root cause so we could potentially fix the issue.
Would it be possible for you to ask support a very simple question:

Why does the following command fail: az snapshot create --name devopsVS2017-image-20191019202000_os_disk_snapshot --resource-group AzureDevOps-rg --source /subscriptions/6f335c6c-6850-40da-a64c-37021daaa4c6/resourceGroups/AZUREDEVOPS-RG/providers/Microsoft.Compute/disks/devopsVS2017_OsDisk_1_bf58f98dc70144cab32b31b4630d8a61 --output json

Thanks,
Tamir

Hi Tamir,
I would answer to you like this:

Welcome to my wonderful real world with MS support ^^

While I'm quite aligned with you and would like to understand the root cause of the problem, I was wondering if there is a way for me to copy you directly in my mail thread with those guys.
Moreover, I'll stay in touch with them until I got a full solution. As it will probably also fail using the Powershell commands, which also rely on the Azure API, I'll keep you updated with this.
Best,
Aymeric

Sure. My email - firstname.lastname at microsoft.com

Hi @tamirkamara
As expected (or not), I had the session with L2 support engineer which was unsuccessful using Powershell too...
I don't know exactly why but you weren't cced in the emails we exchanged during this unsuccessful session. I'll forward you the latest summary and asked them to get in touch with you or at least look at the work with done together using this Github thread.

@tamirkamara things are still ongoing. I'm about to start the 3rd debugging session with support engineers tomorrow. We are currently trying to perform this move using a shared image library, after it failed to perform it with Powershell! (2x)
I've tried to ask them if we could investigate the failing az cli command, but it seems they are bigger fans of Powershell. Anyway, I'll keep you posted at the end of the support ticket.
Do you want to join us, at some times, in one of our Teams session?

hi @tamirkamara
I'm closing this issue as MS support won't investigate further and finally gave me a workaround as it was impossible to perform the move via AzCLI or PS... We finally used a distributed shared image accross regions!


Handle multiple results sets

When running Simplecov, the key that the resultset is placed on is set using SimpleCov.command_name
This replaces the hardcoding of 'RSpec' with a dynamic loading of all the results in the resultset file.
I've updated the fixtures to have 2 keys 'RSpec' and 'Minitest' as an example.

@kzkn I'm not sure if you are still maintaining the repo since the last commit on main was in 2020, but I'm pinging you as a heads up.

@jeromecornet
Thanks.
I do not already use it and do not have maintenance active. If this pullreq is useful to you, I will merge it.

@kzkn thank you. I've been using my fork but you can merge it into main so others can benefit from this.
With Codecov changing their pricing recently, I suspect that there will be a deeper interest in this project.


Outer locals should not propagate automatically through multiple levels of function scopes

I absolutely loathe that I have to report this, because frankly, the way Greybel does it should be the way MiniScript does. In fact, keeping this behaviour through some sort of flag or setting for anyone who's just writing Greybel-specific code wouldn't be a bad thing at all.
Given:
a = function
	foo = {"bar": 123}
	b = function
		c = function
			print foo.bar
		end function
		c
	end function
	b
end function
a

An error should be thrown when the inner-most function attempts to print foo.bar.
In order for the code to run correctly, it would need to look like this:
a = function
	foo = {"bar": 123}
	b = function
                locals.foo = foo // or of course locals.foo = outer.foo
		c = function
			print foo.bar
		end function
		c
	end function
	b
end function
a

In essence, at any given scope level, a scope's outer is always that of the parent scope's locals and never any higher. Exposure to child scope(s) requires explicitly creating an entry in the current scope's locals.
Special caveat
If, instead of locals.foo = foo you were to write foo = foo, MiniScript will issue a deprecation warning, but nonetheless it will behave as if you wrote locals.foo = outer.foo - more precisely, it will do a walk to find the rhs operand, then evaluate the lhs and, since locals lacks the key foo, put it there. This also means that foo = foo; foo = foo would be the equivalent of locals.foo = outer.foo; locals.foo = locals.foo

Couple of additional cases that might be related (or not):
self never participates in implicit lookup
Foo = {"a":123}
Foo.a = function
  locals.self = self // Without this line, the current scope is considered to be "self-less" and should never work.
  b = function
    print self.a // should fail
  end function
  b
end function
Foo.a

The print should fail because self would need to be referenced using outer.self.a or, of course by setting locals.self = outer.self
Function has implicit self where none should exist
Foo = {"a":123}
Foo.a = function
	locals.self = self
	b = function
		print locals.hasIndex("self") // should be false
	end function
	b
end function
Foo.a

0 should be printed. I also noticed while testing that there seems to be a tree inside locals where you can walk each depth which I imagine is what makes this happen. Essentially, each scope is disconnected and has its own independent tables. A shame since your way would make the language much better.

Very helpful thank you.

I absolutely loathe that I have to report this, because frankly, the way Greybel does it should be the way MiniScript does. In fact, keeping this behaviour through some sort of flag or setting for anyone who's just writing Greybel-specific code wouldn't be a bad thing at all.

But probably people might be confused then why it works in greybel and not in MiniScript/GreyScript so probably best to remove the capability.
The "fix" should be available as soon https://github.com/ayecue/greybel-vs/pull/102 is merged.

self should never participate in implicit lookup

Interestingly when I tested that code in the online MiniScript editor it just crashes with a timeout. Anyway with https://github.com/ayecue/greybel-vs/pull/102 merged it will throw unknown path.

Function has implicit self where none should exist

Interesting I wasn't aware of that. With https://github.com/ayecue/greybel-vs/pull/102 merged it should be fixed though. I also added test cases now for this specific case checking globals, locals, outer, self and super.
I'll give an update once it's merged.

The fixes addressing these issues should be merged now. Please check if it works for you as well.

Broke a few things that were supposed to be broken so I'm calling it goooooood!

Dang, gotta reopen it - this started failing:
TEST_SETUP function()
    globals.mockGlobals = MiniMock.build({})
    toMock.forEach function(key)
        globals[key] = mockGlobals.define(key, 1) // This line
    end function
    globals.mockRouter = MiniMock.build({})
    mockRouter.define("firewall_rules", 0)
    mockRouter.define("local_ip", 0)
    mockRouter.define("devices_lan_ip", 0)
    mockRouter.define("device_ports", 1)
    mockRouter.define("used_ports", 0)
end function

Runtime error: Unknown path globals.
Globals should always be in scope :)

This seems to be specifically related to using globals with the [] operator. if I print globals within the same scope, it outputs the map just fine.

I've implemented some optimizations when it comes to globals, outer, locals and self lookups. The interpreter usually pre builds certain parts that are not dynamic but it seems like I forgot to test certain cases such as globals["test"]. I have a fix in the pipeline. Hopefully that will resolve the issue.

Okay fix should be available in a bit.


Update InactiveRecipientError to Handle New Message Format

This adds a pattern to InactiveRecipientError's parse_recipients to handle the error message that comes back from Postmark which looks like this:
"You tried to send to recipient(s) that have been marked as inactive. Found inactive addresses<EMAIL_ADDRESS>Inactive recipients are ones that have generated a hard bounce, a spam complaint, or a manual suppression."

See also #89

Would be nice to have this one merged asap

Please merge this! 🙏


Confidence regions for 1D posteriors

Is your feature request related to a problem? Please describe.
I would like to be able to plot shaded regions under a 1D posterior corresponding to 68% and 95% confidence intervals using anesthetic. See example graph attached below where I have just used np.random.normal to generate some gaussian distributed "samples".
Describe the solution you'd like
I have written a code that can do this and could submit this as a pull request. The code is in the form of a function that takes in an axis to plot onto and the samples to produce the 1D posterior. I think it would fit in to the "plots.py" code in anesthetic as it is similar to the function "fastkde_contour_plot_2d". It will need documenting, flake 8 testing ect. if this sounds good?
Additional context

Many thanks @htjb. It would be good to see some detail of your implementation before having a think about where is best to incorporate this. In an ideal world, it would be great if we could give this as an option for all of the density-based plots (e.g. the scipy and fastkde ones), and you are also welcome to add your own new one (Kalepy #131 also still needs to be added).

Hi @williamjameshandley, thanks for the response. It would definitely be possible for the function I have written to take in an axis, a set of x data points and a corresponding posterior from any KDE implementation (eg scipy, fastkde, kalepy or KDEpy as I am using) as arguments and plot the filled regions. You could then call the function from inside fastkde_plot_1d and kde_plot_1d based on a kwarg.
I can adapt the function to do this (straight forward change) and provide a  working example code if this helps?
Since, depending on the form of the posterior, finding the points along the posterior that = [0.68, 0.95] can involve interpolating a non montonic function the method I have divides the posterior up around turning points and interpolates it in sections.

It would be good to see a minimal working example (feel free to submit a PR, where we can discuss the implementation there). There might be a faster way to achieve this without the interpolation in a manner that is more consistent with the 2d contour plotting techniques.
The relevant code to have a look at here are the {fast,}kde_contour_plot_2d, where the levels are first computed using anesthetic.utils.iso_probability_contours{,_from_samples}, and then plotted using a relatively straightforward masking/levelling scheme.


Can't render the site with latest Hugo for Windows

This is what the console gives me if I try to serve the example files.
Something to do with minification I guess.

Building sites … ERROR 2018/10/02 13:14:37 Error while rendering "page" in "projects\\design\\": template: projects\single.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "page" in "blog\\": template: blog\single.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "page" in "projects\\writing\\": template: projects\single.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "page" in "projects\\photography\\": template: projects\single.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "taxonomy" in "": template: _default\taxonomy.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "section" in "blog\\": template: blog\list.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "taxonomyTerm" in "": template: _default\terms.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "section" in "projects\\": template: projects\list.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "home" in "": template: index.html:108:11: executing "index.html" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "404" in "": template: 404.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
Total in 382 ms
Error: Error building site: logged 10 error(s)

This theme doesn't work with Hugo 0.49 due to a bug https://github.com/gohugoio/hugo/issues/5269. Switching to Hugo 0.48 should resolve this issue.

Thanks. :)

Thanks for the lightning-fast reply :-) Is this rather "currently doesn't work, but we're working on it" or "doesn't work, and won't be fixed soon"? I'd offer to lend a hand, but my Hugo-fu is extremely limited (just started looking into it some days ago)?


Pull git-sync image from registry.k8s.io

Hello,
This is just a PR to change the git-sync registry from k8s.gcr.io to registry.k8s.io as per: https://kubernetes.io/blog/2023/02/06/k8s-gcr-io-freeze-announcement/

My team is working on removing all k8s.gcr.io references from our environment and discovered this registry reference today. @slok this PR appears to cover all of the renaming needed. Is the PR able to be merged in?


Gradle not passing stdin to subprocess

Expected Behavior

Gradle should pass the standard input stream associated with gradle to a subprocess (e.g. batch script or other application) so that the subprocess can read the user's input from console.
Current Behavior

If a gradle task (gradle 5.0 and above) starts a new process, and the process wants to read the user's input from console, it can't do it as its input is not associated with the input of the gradle process. The subprocess (e.g. batch script) doesn't wait for user's input und terminates. It did work however with gradle 4.7 and isn't working anymore since gradle 5.
Context

I want to start a new process (batch script) from a gradle task, which reads user's input from console and returnes it to the gradle process (it did work with gradle 4.7).
Steps to Reproduce (for bugs)

I have a batch script InputHelper.bat at C:\progs\InputHelper.bat with the following content:
@echo off
set /p @temp=
echo output from user input '%@temp%'
Then i execute the following gradle task: gradlew foo
task foo {
  doLast {
    ProcessBuilder pb = new ProcessBuilder("cmd", "/C", "C:\\progs\\InputHelper.bat")
      .redirectErrorStream(true)
     .redirectInput(ProcessBuilder.Redirect.INHERIT);
      Process p = pb.start();
      p.waitFor();
	  InputStream tInputStream = p.getInputStream();
	  StringBuilder tOutput = new StringBuilder();
	  int tReadByte;
     while ((tReadByte = tInputStream.read()) != -1)
     {
      tOutput.append(new String((char)tReadByte));
    }
    println  "Subprocess output='" + tOutput.toString() + "'"
  }
}
Using gradle 5.1.1 -> the batch script (started as subprocess) doesnt wait for user's input and terminates. I get the following output in gradle 5.1.1 for this task:

Task :foo
Subprocess output='output from user input ''
'

But using gradle 4.7 the batch script (started as subprocess) waits for user's input. If i input e.g. 'my input' in the console and press enter, i get the following output in gradle 4.7 for this task:

Task :foo
Subprocess output='output from user input 'my input'
'

Your Environment

gradle 5.1.1 (problem) vs. gradle 4.7 (no problem)
Windows 10
Java 8 (gradle 5.1.1 has the problem also with java 11, so it is not a java problem)

The problem doesn't exist anymore in gradle 5.6.3


Undo/Redo calling history() throws "TypeError: Cannot read property '_history' of undefined"

Current behavior
  const {
    undo,
    redo,
    canUndo,
    canRedo,
    history,
  } = useUndo({
    nodes,
    edges,
    onUndoRedo: (state: UndoRedoEvent) => {
      console.log('Undo / Redo', state);

      setCanvasDataset({
        nodes: state?.nodes || [],
        edges: state?.edges || [],
      });
    },
    maxHistory: Infinity,
  });

  console.log('Undo / Redo history', history());

It seems this is undefined.
    history() {
        return this._history;
    }

The other features and functions works correctly, though. Only history() is affected.
Expected behavior
Should return the history.
Version
reaflow 3.0.13

Can you make me a codesandbox to debug?

I can make a dedicated branch with instructions. Would that work for you?

@amcdnl I've encountered the same bug while working on adding component tests for useUndo hook.
Calling console.log('history', history()) yields:
 FAIL  src/helpers/useUndo.test.tsx
  helpers/useUndo.ts
    ✕ should allow to undo/redo (56 ms)

  ● helpers/useUndo.ts › should allow to undo/redo

    TypeError: Cannot read property '_history' of undefined

      21 |   });
      22 |
    > 23 |   console.log('history', history())
         |                          ^

I'll comment the history() for now. See https://github.com/reaviz/reaflow/pull/69

@amcdnl
up, same problem with count()

fixed with #117


Filter merge commits

From the README.md:

If you create merge-commits against your release/target branch, then changes to files in your release/target branch become part of the commit also. Those currently won't be filtered out. I'm not sure if there is a way to detect/filter out those files in a commit that are caused by the merge while keeping the "actual" changed files.

I'm not sure I'm understanding correctly the problem, are you asking if there is a way to filter out merge commits when creating a PR ?
If so, then the answer is yes:

Using git https://git-scm.com/docs/git-log#Documentation/git-log.txt---no-merges
See following code for an example of a bash function checking if there are any changes in a specific folder (in this example HEAD_TO_COMPARE_WITH should be set to the latest hash of the remote branch and local_sha to the local branch hash):# To call this function `has_changes_to_be_pushed $project_folder`
# Returns 0 (success) if the given folder was modified (comparing with origin/master).
# @param The path of the folder to check for changes.
has_changes_to_be_pushed() {

  local path_to_check=$1

  # Prints the changeset (filename only) between your local branch and $HEAD_TO_COMPARE_WITH.
  # Filters the changeset on the 'path_to_check' argument and counts the results.
  # See https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---diff-filterACDMRTUXB82308203 for filter details
  count=$(git log --pretty=format: --no-merges --first-parent --name-only --diff-filter=ACMRT $HEAD_TO_COMPARE_WITH...$local_sha | grep --invert-match '^$' | sort | uniq | grep "^$path_to_check" | wc -l)

  # Returns success if changes were found.
  (( $count > 0 )) && echo "" && echo " - Found changes in $1" && echo "" && return 0

  # Returns failure if no changes were found.
  return 1
}

Using github API https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#list-pull-requests-files
Although I didn't test it, I'm pretty sure Github automatically hides merges when comparing 2 commits (at least in PRs it has this behaviour).

Thanks for the input! I'll take a look to see if I can use this to improve change detection.


Update Accumulo to build and run with Java 11

Configure Maven to build with Java 11
Remove animal-sniffer (unnecessary with new javac release flag)
Add exceptions to spotbugs to avoid false positive bug
(https://github.com/spotbugs/spotbugs/issues/756)
Update Travis to use OpenJDK11

This is a much more conservative change than my initial. The build is broken, but it's much easier to do this incrementally. Eventually, all the build tests will be fixed, but this is a necessary starting point.

I am not a big fan of the move away from the Guava Immutable utils for two reasons.

The very clear intent that it was meant to be immutable is lost

I agree. This is one of the things I didn't like about it either. However, the modernizer-maven-plugin catches a lot of these, and unless we believe that plugin to be not worth running at all, they will need to be changed. I think we can try to make some of the intent more clear with inline comments, and possibly utility classes that wrap Java internals.
Regardless of what modernizer-maven-plugin says, there's still value in at least trying to use Java internal stuff, to reduce our use of external libs that could be subject to change between versions. This improves our compatibility/interoperability with other code bases. This change alone won't eliminate the use of Guava, but it could reduce future potential incompatibilities.

A lot of the replacement code is sometimes immutable, but not always.

I will have to take a look at the specific cases a bit more closely. This is still a Draft :smiley_cat:

This PR was updated to do only the minimal to compile and package with Java 11. Tests are not currently passing, but that will come later.


Pin babel-eslint to version that works with flow

This makes my linting useful again, removing error  'ERROR_TYPE' is defined but never used               no-unused-vars for flow types.
Do we want to do this and keep an eye on babel-eslint issues (e.g. this) for a happier solution?

Not sure I like going back - it'd be good to figure out why this works for me, and not you?

Problem was with IDE rather than eslint/babel. Solved my issue by updating my workspace settings.


we can't change and getList,not work!

first,set and get SetWorkingDirectory   GetListing  to "/work/
and down load files finish ,
then set and get SetWorkingDirectory  to GetListing  "/work/Folder/"
it's not work the result of,  conn.GetListing(targetFolder, FtpListOption.ForceList | FtpListOption.Recursive)
is 0? but I have 3 files inside it!
how to get All files include folder/child folder ,
it's seem these api not work!
conn.GetListing(targetFolder, FtpListOption.ForceList | FtpListOption.Recursive);

ftp=Response: 550 Failed to change directory.
UnityEngine.Debug:Log(Object)


Swift Compiler Error on Xcode 13 - the pod does not build

[x] I have read the wiki page and cheat sheet, but there is no information I need.
[x] I have searched in existing issues, but did not find a same one.
[x] I want to report a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
What
The Kingfisher does not compile for Xcode 13. The compiler has 1408 issues with it.
Stack:

installed with CocoaPods (1.11.2)
Xcode Version 13.0 (13A233)
macOS Big Sur 11.6
minimum target: iOS 13.0

What I already tried:

Running both on simulators, and devices.
Cleaning Derrived Data
Cleaning Pods Cache
Reinstalling Pods
Clean builds
Restarting Xcode, and the whole system
Deleting workspace and generating it from scratch

Reproduce
Try to build any project with Kingfisher using the newest Xcode, and the stack I listed above.
Just to show you the magnitude of the problem I'm attaching the screenshot with files all red in errors.

@onevcat Thank you for your reply, unfortunately, this doesn't help. I'm running it using Kingfisher (7.0.0) (installed using CocoaPods), and my minimum version is set to iOS 13.
The project runs in Xcode 12 with no errors. Upgrading ti Xcode 13 broke the thing.


nexus: Add support for generating chipdbs

I don't think this is going to pass CI, because we aren't installing prjoxide, but I'm not sure what the best way to proceed there is? Either we can try and get a conda package for prjoxide going, or add a rule to build prjoxide manually like we do in the nextpnr CI.
cc @acomodi

@gatecat I believe that a submodule with prjoxide and a build step in the Makefile is a good solution, at least to land the nexus support and get the tests running.
I guess we could add also a conda package in the near future, so to avoid the compilation step each time CI runs.

Hmm, I guess that as another solution for the failing CI we might just use the build_capnp function from nextpnr.

Hmm, I guess that as another solution for the failing CI we might just use the build_capnp function from nextpnr.

This finally seems to be going green! It doesn't feel ideal but hopefully we can get prjoxide packaged for conda at some point (idk if Rust is going to be an issue here) as a better solution longer term.

Great! I have opened a PR to package prjoxide in conda here, and as soon as it gets merged and the package uploaded we can use that instead.


How to disable or get around sandboxing for custom taps

Please always follow these steps:

[x] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at https://github.com/Homebrew/homebrew-core/issues/new
[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed all issues and retried your prior step?
[x] Ran brew config and brew doctor and included their output with your issue?

At Box we have our own custom tap so that users use to install various internal tools. Two of our formulas just broke in brew v1.3.0 because of https://github.com/Homebrew/brew/commit/fb310c57b18c3835ed69e25e653cddc3570f64ac. The first formula installs credentials in the user's home directory. The second installs a LaunchAgent in ~/Library/LaunchAgents. Neither of those work now because the brew install can't write to the user's home directory because of the sandbox.
I have read https://github.com/Homebrew/brew/issues/2994. I think allowing me to whitelist certain file paths would be ideal because then I can maintain my formula's current behavior and still get the added security of the sandbox.
If that is not possible, I would accept the ability to turn off sandboxing for my custom tap (as suggested in  https://github.com/Homebrew/brew/issues/2986).
Could you reconsider reopening either of these issues? Or advise on the proper way of writing to the user's home directory?

The sandbox has been fully enabled in homebrew/core for quite a while. The purpose of the latest change is precisely to enable it in third-party taps as well. Allowing whitelisting would defeat the purpose.

Or advise on the proper way of writing to the user's home directory?

There isn't one. You can use configuration files in /usr/local/etc, though.
For plists, you should define def plist and use brew services. See postgresql for an example:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/postgresql.rb#L118-L144

The second installs a LaunchAgent in ~/Library/LaunchAgents.

brew services is the appropriate way of doing this and brew bundle (https://github.com/Homebrew/homebrew-bundle) can be told to automatically (re)start services and therefore install the plist for you.

The first formula installs credentials in the user's home directory.

We have no suggested workaround for this within a formula. Instead consider an external Homebrew command (e.g. https://github.com/github/homebrew-bootstrap/blob/master/cmd/brew-bootstrap-nodenv-node) or a project setup script (e.g. https://github.com/github/scripts-to-rule-them-all/blob/master/script/setup)


Build failure with 0.10.3 on aarch64

I've bumped into a build issue with Aerospike's early alpha module. It's happening on aarch64 only, x86_64 builds fine. It used to build fine for both archs with php-rs version earlier than 0.10.3.
https://github.com/aerospike/php-client/issues/9
I'm pasting the same output from the ticket above here:
   [...]
   Compiling ext-php-rs v0.10.3
   Compiling aerospike-sync v0.1.0 (https://github.com/aerospike/aerospike-client-rust.git?branch=php-rs#56a13d54)
error[E0308]: mismatched types
   --> /builddir/build/BUILD/php-client-0.2.0-vendor/vendor/ext-php-rs/src/types/object.rs:149:17
    |
147 |             let res = zend_hash_str_find_ptr_lc(
    |                       ------------------------- arguments to this function are incorrect
148 |                 &(*self.ce).function_table,
149 |                 name.as_ptr() as *const i8,
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`
note: function defined here
   --> /builddir/build/BUILD/php-client-0.2.0-vendor/NTS/target/debug/build/ext-php-rs-522d80dcff97b12d/out/bindings.rs:3:12213
    |
3   | ...estroy (ht : * mut HashTable) ; } extern "C" { pub fn zend_hash_str_find_ptr_lc (ht : * const HashTable , str_ : * const :: std :: os ...
    |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
  --> /builddir/build/BUILD/php-client-0.2.0-vendor/vendor/ext-php-rs/src/zend/function.rs:55:47
   |
55 |             let res = zend_fetch_function_str(name.as_ptr() as *const i8, name.len());
   |                       ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
   |                       |
   |                       arguments to this function are incorrect
   |
   = note: expected raw pointer `*const u8`
              found raw pointer `*const i8`
note: function defined here
  --> /builddir/build/BUILD/php-client-0.2.0-vendor/NTS/target/debug/build/ext-php-rs-522d80dcff97b12d/out/bindings.rs:3:41473
   |
3  | ...val , pub prev : zend_vm_stack , } extern "C" { pub fn zend_fetch_function_str (name : * const :: std :: os :: raw :: c_char , len : u...
   |                                                           ^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
  --> /builddir/build/BUILD/php-client-0.2.0-vendor/vendor/ext-php-rs/src/zend/function.rs:68:21
   |
66 |                 let res = zend_hash_str_find_ptr_lc(
   |                           ------------------------- arguments to this function are incorrect
67 |                     &ce.function_table,
68 |                     name.as_ptr() as *const i8,
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
   |
   = note: expected raw pointer `*const u8`
              found raw pointer `*const i8`
note: function defined here
  --> /builddir/build/BUILD/php-client-0.2.0-vendor/NTS/target/debug/build/ext-php-rs-522d80dcff97b12d/out/bindings.rs:3:12213
   |
3  | ...estroy (ht : * mut HashTable) ; } extern "C" { pub fn zend_hash_str_find_ptr_lc (ht : * const HashTable , str_ : * const :: std :: os ...
   |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0308`.

Searching for the error, I came across https://users.rust-lang.org/t/expected-const-i8-found-const-u8-for-c-function-pointer-waiting-for-a-const-char/2441 which mentions that std::ffi::CString could be the correct structure to us for cases like this.

It seems to me that the issue might have been introduced in 064ef747c1988d2749d346ac3ec7b8ea1b962536 by @danog.

Should be all good now!

It built fine now, thanks a lot!


Estimation?

So what's the estimation for the completion of this update?

I'm not sure now. With the current change of plan (see #45), it could be at least another month, probably longer.
That said, the migrations will be compatible with v2 schema, so unless you change any existing columns, you do have the option of upgrading once 3.0.0 is released.

im stalling on development until ur update is done.

There's nothing to stop you from using 2 until 3 is ready.

i suppose

How would i use the policies?

You would override the policy classes you want to override and change the classes referenced in forum.integration.policies. If you override any models, you can also change the ones used by the policies there.
That setup may change before 3.0.0 is released, but I doubt it.

well the setup is okay but the delete parameters are non existent since the api was removed.

That's because it's not finished.
On Sep 24, 2015 00:12, "Christian"<EMAIL_ADDRESS>wrote:

well the setup is okay but the delete parameters are non existent since
the api was removed.
—
Reply to this email directly or view it on GitHub
https://github.com/Riari/laravel-forum/issues/51#issuecomment-142757144.

#45 updated. Work on this will resume this week.

@Riari Sorry to comment on this old issue, I just didn't wanted to open a new issue for this quick question :
I see you were talking about an upgrade guide from 2.x, any update on that ? I'm really looking forward  to it :)

Hey,
The upgrade is actually pretty simple now (I hope), depending on how much you changed your views in 2.x. I'll document this properly later, but for now, I would do the following:

Move any published laravel-forum config and views out of your project to ensure you get the new versions.
Update laravel-forum to 3.0 via composer: composer require riari/laravel-forum:~3.0
Install laravel-forum-frontend (unless you want to write your own): composer require riari/laravel-forum-frontend:~1.0
Publish files with artisan vendor:publish
Run new migrations with artisan migrate

That should bring your schema up to date. You can then go through the published views and config to bring them in line with whatever you had before.
Let me know if you run into any issues with that :)


Footnotes get user-content-user-content ids and do not work

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Affected package
<EMAIL_ADDRESS>Steps to reproduce
Hello,
when using the following sequence of plugins (shortened), I get issues with the footnotes.
	const vfile = await unified()
		.use(remarkParse)
		.use(remarkToc, { maxDepth: 2, tight: true, prefix: 'user-content-' })
		.use(remarkGfm, { singleTilde: false, clobberPrefix: '' })
		.use(remarkSupersub)
		.use(remarkRehype)
		.use(rehypeSlug)
		.use(rehypeAutolinkHeadings, { behaviour: 'wrap' })
		.use(rehypeSanitize, {
			...defaultSchema,
			attributes: {
				...defaultSchema.attributes,
				// The `language-*` regex is allowed by default.
				div: [
					...(defaultSchema.attributes.div || []),
					[
						'className',
						/^language-./,
						'math-inline',
						'math-display',
						'grid-left-right',
						'img-right'
					]
				],
				span: [
					...(defaultSchema.attributes.span || []),
					['className', 'line', 'math-inline']
				],
				SvelteComponent: [
					'componentname',
					'data',
					'xSelector',
					'file',
					'dpr',
					'inertia'
				]
			},
			tagNames: [...defaultSchema.tagNames, 'SvelteComponent']
		})

At the remarkRehype stage already the footnotes have a user-content- prefix and rehypeSanitize adds another one on top of it. Before remarkSanitize it works fine. So in order to not have the footnotes already come with a user-content prefix, I wanted to supply the remarkGfm with a clobberPrefix of "" but it does not trickle down to the footnote plugin.
Is there a way to inherit this?
Probably here? https://github.com/micromark/micromark-extension-gfm/blob/d64834e03d5b15afc76ec290265d1903013e5327/lib/index.js#L40
Thanks,
Michael.
Actual behavior
Footnote  ids get a user-content-user-content prefix.
Expected behavior
I'd like the footnotes before remark-sanitize have NO user-content- prefix
Runtime
<EMAIL_ADDRESS>Package manager
pnpm
Operating system
linux
Build and bundle tools
Vite

The example of footnotes not working is live here: https://michaelrommel.com/create/2022-01-25-markdown-sample#user-content-superscript--subscript
The sourcecode to that function is here: https://github.com/michaelrommel/blog/blob/main/src/lib/markdown.js

I think, now I solved it. I have set clobberPrefix in the sanitize schema to '' and added a prefix to the rehypeSlug.
I'll keep this open, so that you can share your thoughts on what should be the best way. Feel free to close it, I think (!) it works now. Need further testing...


properly handle options.signal passed in by clients

If a client sets options.signal, and triggers an abort this way, we need to respect this and not continue retrying.
See these contributions from @Ravelle in his fork:
https://github.com/riff-tech/node-fetch-retry/pull/1
https://github.com/riff-tech/node-fetch-retry/pull/2

Hey, thanks for the mention! I did consider PRing this fork but I neglected an edge case and didn't have time to fix it:
https://github.com/riff-tech/node-fetch-retry/blob/b9a2e826612e880c8f619ba05bf72e347f9c35a0/index.js#L221
Basically I would prefer that instead of directly overriding the calling appication's onabort handler, we extend it, that way it further avoids colliding with the expected functionality for abort signals.


Mouse Support: Minimap scrollbar

This is tracking adding mouse support for the minimap scrollbar:

Click to move thumb immediately
Drag to scroll

We might be able to re-use some of the implementation in the slider: https://github.com/revery-ui/revery/blob/99d3a7a9ebed3ef7813b5646cbaabd1b5d4a82fa/src/UI_Components/Slider.re#L121

I'd like to take a swing at this. I have a solid background in React however no ReasonML experience. I'm extremely excited about Oni2 and would like to contribute as much as possible.

I'll close this off since #240 was merged


[Modrinth] Remove invalid project dependency

on Modrinth all versions from 0.0.3 refer to a project as a dependency that is invalid. this breaks mod installation feature in launchers such as PrismLauncher as it tries to install all the dependencies and in this case runs into an error.
removal of the invalid dependency should fix such issues.
thanks :)

That's weird. I've been able to use the installation feature in Prism just fine. Which project does it refer to that breaks it?

That would be Litematica. The dependency can not be resolved by Modrinth because Litematica is not on Modrinth yet. Prism/Minecraft should be able to resolve it just fine.
Have you added Litematica to the mods too?
Also, if there's any errors, could you copy and paste them here?

here is the log part
and here is how it looks like
prismlauncher_mod_download_error.webm

Could you see if it helps if you download Litematica and Malilib first?
Malilib can now be found on Modrinth. Litematica is still on CurseForge.

I think this might be a bug on Prism's side, where they handle dependencies incorrectly, but I'm not sure.

Could you see if it helps if you download Litematica and Malilib first?
Still the same, no matter from where Malilib was downloaded

What version of Prism are you on? (I'm on 7.2)
8.3, on Fedora Linux if that matters

a bug on Prism's side, where they handle dependencies incorrectly
well... if an project has an inexistent project listed as a required dependency, any mod downloader with dependency checks is totally expected to fail to resolve this imo

The mod does exist though. Only not on the same platform. I can't remove the dependency, because Minecraft itself needs to know about it. This mod adds a small little feature to Litematica so it needs the dependency.
But I might be wrong so I'm asking around on the Prism discord right now.

so the dependencies on Modrinth are automatically generated? well in that case it is really not your issue
i develop plugins and i have to manually add dependencies to projects on Modrinth

This also fails on modrinth app:

I think the dependencies are configured by mc-publish, which I use to publish to Modrinth.

@KruASe76 I removed the dependency from Modrinth. It should work now!


OP-15420: filterBy in gate

https://devopsmx.atlassian.net/browse/OP-15420 : Application dashboard FilterBy updated
We prefer small, well tested pull requests.
Please refer to Contributing to Spinnaker.
When filling out a pull request, please consider the following:

Follow the commit message conventions found here.
Provide a descriptive summary for your changes.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Add inline code comments to changes that might not be obvious.
Squash your commits as you keep adding changes.
Add a comment to @spinnaker/reviewers for review if your issue has been outstanding for more than 3 days.

Note that we are unlikely to accept pull requests that add features without prior discussion. The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.

This PR  triggered this build in this execution, please wait for it  and child pipelines to succeed before merging:  https://isd.prod.opsmx.net/deck/#/applications/gcp-gitprtrigger/executions/details/01G3TWANR3NY0C0ZV5N92HXVW9

This PR  triggered this build in this execution, please merge to master only if this succeeds:  https://isd.prod.opsmx.net/deck/#/applications/gcp-gitprtrigger/executions/details/01G3TWAY6HWA3JXGV2KCBGRRPK

SUCCESSFUL RunTests RESULT: Tests run: 203, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 235.024 sec <<< FAILURE! Reviewers ,  this PR did not cause the failures in  https://jenkins.opsmx.net:8181/jenkins/job/Dev-run-tests-on-gitpr-parallel/ws/emailable-report-153.html


libheif: 1.18.0 -> 1.18.2

Changes:

https://github.com/strukturag/libheif/releases/tag/v1.18.1
https://github.com/strukturag/libheif/releases/tag/v1.18.2

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

It looks like there's a v1.18.2 now; it could be worth bumping straight to that!

It looks like there's a v1.18.2 now; it could be worth bumping straight to that!

Good catch! Updated to 1.18.2.


Update openapi-circe-yaml, openapi-model to 0.11.4

About this PR
📦 Updates

com.softwaremill.sttp.apispec:openapi-circe-yaml
com.softwaremill.sttp.apispec:openapi-model

from 0.10.0 to 0.11.4
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (0.10.0).
You might want to review and update them manually.
project/plugins.sbt

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.apispec" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.apispec" }
}]

labels: library-update, early-semver-major, semver-spec-minor, version-scheme:early-semver, old-version-remains, commit-count:1

Superseded by #470.


Dark Mode Not Working In Landing Page

Description

The dark mode is not working in landinf page

@codervivek5 Reivew it

@parasss19 i didnt find this issue the dark mode is working fine only

@parasss19 i didnt find this issue the dark mode is working fine only

Because it's resolved check the PR before commenting anything


Update in Spark Libraries?

Hey beefbowl!  I was looking to use this library in a project, but I see the one included in Spark Libraries is one of your first commits.  Unfortunately it will not compile.  Have you iterated on this enough that it will now compile?  If so I would love to see this pushed to the Spark Libraries.  Thanks!!

Hey beefbowl! I have the same problem as technobly. Please push the latest version to Spark Libraries.

i've found same problem, some missing files like WProgram.h

Harrison at Spark Core tech support is working on this. He is going to buy hardware after the big snow storm and post a correct community library. Yea Spark!!!
Sent from my Windows Phone

From<EMAIL_ADDRESS>Sent: 1/27/2015 7:51 AM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject: Re: [Spark_Adafruit_LEDBackpack] Update in Spark Libraries? (#1)
i've found same problem, some missing files like WProgram.h

Reply to this email directly or view it on GitHub:
https://github.com/beefbowl/Spark_Adafruit_LEDBackpack/issues/1#issuecomment-71670593

I've got 3 adafruit backpacks (8x8 bicolor matric, 7-segment and alhpa-numeric)  I'll see if I can fix this to work. It looks like it should pretty easy to finish porting.

Done! https://github.com/creationix/spark-adafruit-led-backpack
I've published my version to the spark.io cloud IDE as adafruit-led-backpack.  Search in the libraries tab.  I included examples for the three devices I own and can test, but the others should port quite easily.  Simple replace the 3 includes (wire, led, gfx) as the top with the single include for my library.


sensor state class 'total_increasing' is invalid for 'monetary' values

Describe the bug
The sensors dcc_sourced_smart_gas_meter_cost_today and dcc_sourced_smart_electricity_meter_cost_today are incorrectly defined within HA due to incompatibility between state 'total_increasing' and device class 'monetary'.
e.g.
Entity sensor.dcc_sourced_smart_gas_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'
To Reproduce
Restart HA, look at system logs.
Expected behaviour
DCC sensors should to be defined correctly within HA to operate correctly
Screenshots
From system logs (HA Core v2023.3.6)
Logger: homeassistant.components.sensor
Source: components/sensor/init.py:497
Integration: Sensor (documentation, issues)
First occurred: 10:00:36 (2 occurrences)
Last logged: 10:00:37

Entity sensor.dcc_sourced_smart_gas_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.dcc_sourced_smart_electricity_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Version
v1.0.3
HA Core v2023.3.6
Debug log
Not required
Additional context
Problem reported at startup of HA

Hey @Achronite, it looks like this is the same issue as #304. Feel free to follow that issue!
Duplicate of #304


Unsupported 16-bit application on Windows10

archive image (identical to the error message on my machine)
After using the Nuitka-generated executables for a few months without any problems, on the same machine, I now get this incompatibility error when running them. If until a few days ago they worked without problems, what could be the problem?

In the template, I have made it clear, that not filling out the issue template is not acceptable. I am closing this kind of report as invalid. The main reason is that I do not want to be left guessing. For you it's easy to erase the issue template and expect me to ask you questions only as necessary, but I cannot do that. I would much rather wait for you to create a new report, fill out the template, or wait for somebody with the necessary skill to do it.
In short: No issue template, no fun.


feat: close system panels on click outside

Windows 11 allows system panels (start, search and action center) to be closed by clicking outside.
This pull aims to add this behavior.
Report of changes made with this pull

created lib folder
added lib folder to "aliases"
added clickOutside.js to the lib folder
changed ActionCenter.svelte, Search.svelte and Start.svelte to add the "click-outside" behavior.

Hey @Bellisario thanks for this PR, should we add click outside to Widgets aswell (idk what the default Windows behaviour is as I don't have access to a Windows device)

Also would appreciate your thoughts on using https://github.com/ankurrsinghal/svelte-legos or https://github.com/vnphanquang/svelte-put vs a custom implementation for actions like click outside.

Thanks for the feedback!
I looked into the libraries you reported and found:

svelte-legos is very similar to the current implementation (won't solve this issue)
svelte-put implementation seems more "advanced" and has an option for event capturing (which allows it to fire before click), but trying it solved the problem only partially

So I decided to build a custom implementation:

exclusion of a certain element click (used with the bgLight class of the active application to prevent "unwanted" behavior)
check if the callback is a function (this is very strange but Svelte seems to destroy the callback before there is a switch to a new component, but the listener is still there for a fraction of time?!?! Also tried with Svelte built-in tick but it didn't work...)

With this implementation, I changed the following:

because each component showed has a bgLight class when it is "active", I made sure clickOutside didn't interact with it
added the bgLight class to Widget button because it was missing

Nicely done, thanks :)


Integrity constraint violation Column 'owner_id' cannot be null

First I am very new to Laravel and oAuth and never created even a client. But I am implementing this server. I am creating a webservice which will only  going to be called from Mobile Apps. (initially at least).
Second, Please help me to understand about the tables and what data they can possibly hold. I am working on password grant type and I am able to authenticate user in access_token step.
curl --data<EMAIL_ADDRESS>http://local.ampos.com/oauth/access_token
But this request reports an error {"error":"undefined_error","error_description":"SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'owner_id' cannot be null (SQL: insert into `oauth_sessions` (`client_id`, `owner_type`, `owner_id`, `created_at`, `updated_at`) values (linix_client_id, user, , 2014-02-28 15:27:35, 2014-02-28 15:27:35))"
Please tell me what's wrong with my code. I have gone through with the Docs of thephpleague / oauth2-server but not able to understand complete implementation for server.
I'll be very grateful if you can help me out with Basic Flow e.g.

This request needs client_id and client_secret If my App request a token for the first time then how I am suppose to have these values ?
What if user is trying to log in for the Second time (e.g. user has reinstalled the app)
In order to Make Auth server what values my table must have Initially, I mean before Even one request.
I need registration and token access both.

I am facing the same problem, The id is there in User table but still I'm getting this error. Any help?


⚠ GitLab Server has degraded performance

In f2d6531, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 7081 ms

Resolved: GitLab Server performance has improved in 19dfb81.


optimize imports

does this fix the issues for 1.1 support?

no, this is just a minor cleaning...


Cool Quartz Cricket  Hotspot using empty Hex Fake Location

Hotspot b58 Addresses
11Ydrcn2SBQkFftQLvC2PBun3ZWqCyk9ShL3bfSMXsMWwvAbTQ6
Discord Handle
No response
Reason(s)
The place where it is supposed to be installed is a parking lot and there are only federal government offices at a distance of 70 meters.

TBH i don't see any issue with this hotspot being some distances away from its actual location. All beacon RSSI/SNR looks normal. Of course just based on the helium data, I don't know the actual situation.


Probelm loading the model (ValueError: Unknown layer: FixedBatchNormalization)

import keras
keras.models.load_model('./model_frcnn.hdf5')

Using TensorFlow backend.
WARNING: Logging before flag parsing goes to stderr.
W1113 16:06:51.578105<PHONE_NUMBER>00640 deprecation_wrapper.py:119] From /home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py:517: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.

Traceback (most recent call last):
  File "/home/qendrim/solaborate/repos/solaborate/Solaborate.ML/scripts/solaborate_scripts/practice.py", line 2, in <module>
    keras.models.load_model('./model_frcnn.hdf5')
  File "/home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/engine/saving.py", line 419, in load_model
    model = _deserialize_model(f, custom_objects, compile)
  File "/home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/engine/saving.py", line 225, in _deserialize_model
    model = model_from_config(model_config, custom_objects=custom_objects)
  File "/home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/engine/saving.py", line 458, in model_from_config
    return deserialize(config, custom_objects=custom_objects)
  File "/home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/layers/__init__.py", line 55, in deserialize
    printable_module_name='layer')
  File "/home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/utils/generic_utils.py", line 145, in deserialize_keras_object
    list(custom_objects.items())))
  File "/home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/engine/network.py", line 1022, in from_config
    process_layer(layer_data)
  File "/home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/engine/network.py", line 1008, in process_layer
    custom_objects=custom_objects)
  File "/home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/layers/__init__.py", line 55, in deserialize
    printable_module_name='layer')
  File "/home/qendrim/anaconda3/envs/hello-ai/lib/python3.7/site-packages/keras/utils/generic_utils.py", line 138, in deserialize_keras_object
    ': ' + class_name)
ValueError: Unknown layer: FixedBatchNormalization

Could somebody help, how can i successfully load the model?

FixedBatchNormalization and RoiPoolingConv are custom layers, so you need to provide them to keras when you load the model as a standalone. Try this:
import keras
from keras_frcnn.RoiPoolingConv import RoiPoolingConv
from keras_frcnn.FixedBatchNormalization import FixedBatchNormalization

keras.models.load_model('./model_frcnn.hdf5', custom_objects={'RoiPoolingConv': RoiPoolingConv, 'FixedBatchNormalization': FixedBatchNormalization})

Alternatively, you could use load_weights instead of load_model.

Thank you. This worked.


fix studyright startdate / studystartdate in frontend

student 014317611 shows wrong start and enddates for two master programmes. start and enddates are correct in doo-oodi / oodi-oodikone db.

dates in doo-oodi:

first: 18.12.2020 - 31.07.2021
second / fourth: 31.07.2013 - 30.07.2014
third: 31.07.2014 - 01.09.2015

but check if these match with data coming from backend. If not, this is not just a front issue, but rather updater fakap

This is also broken on the courses of population page (noticeable when you check the Age stats at the start of the study)
Logic has been copied from the SQL query. Problem could be in either:

Source data
Logic of deciding the end date (possible since it could have easily gone unnoticed)
Frontend bug

It's something I tried fixing several times now and I'm fairly (but not 100% of course) sure the logic matches that of backend now. If we can rule out it's not 1) then probably a deeper dive is required to decide how the end date should actually be calculated. It would be the best if the backend just returns some actual_start_date & actual_end_date the front can use.

#2530 this is the root issue that might be related but it has been patched several times after that in various places.


[WIP] Reduce redundant module linking

Reduce compilation time by removing redundant module linking.  Avoid putting dependent module into global list of modules to link.  Observed 5x reduction of link_in calls for the "important" tests.

Codecov Report

Merging #3228 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3228      +/-   ##
==========================================
- Coverage    81.1%   81.09%   -0.01%
==========================================
  Files         386      386
  Lines       75675    75686      +11
  Branches     8488     8489       +1
==========================================
+ Hits        61373    61381       +8
- Misses      13003    13005       +2
- Partials     1299     1300       +1

@sklam: This PR needs to resolve conflicts with master now.

Thanks for the fix ups, this can be merged as convenient.


Expression 'undefined' used with directive 'ionSlides' is non-assignable!

The error started to appear when I switched from Ionic-1.0.0-beta.14 to Ionic-1.2.4. I was using ion-slide-box before and now switched to ion-slides.
    <ion-content class="has-header has-footer">
        <ion-slides change="slideHasChanged($index)" pager="false">
            <ion-slide-page ng-show="currentView === 'today'">
                <myDashboardOrder clientOrders="todaysOrders"></myDashboardOrder>
            </ion-slide-page>

            <ion-slide-page ng-show="currentView === 'upcoming'">
                <myDashboardOrder clientOrders="upcomingOrders"></myDashboardOrder>
            </ion-slide-page>

            <ion-slide-page ng-show="currentView === 'past'">
                <myDashboardOrder clientOrders="pastOrders"></myDashboardOrder>
            </ion-slide-page>

        </ion-slides>
    </ion-content>

Which Ionic Version? 1.x or 2.x
1.2.4
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 5.4.1
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS
Node Version: v0.12.4

Never mind, fixed it. I was not using the watcher on slider. Now struggling with removing pager and on-slide-change king of options.

@shahroon
Hi, have the same error happening on my side since I upgrade to 1.3.0. Can you tell me what you means by "not using the watcher on slider" and how you fixed it?
Thanks

@turbulence
Do something like this,
$scope.sliderOptions = {
effect: 'slide',
paginationHide: true,
initialSlide: 0,
onInit: function(swiper){
$scope.swiper = swiper;
},
onSlideChangeEnd: function(swiper){
// ....
}
};
and on template something like this,

// ....
Hope this will help.

@shahroon
Thanks so much, it works!
Here's what I add to my code:
$scope.options =
{
loop: false,
pagination: false,
onInit: function(swiper)
{
$scope.data.swiper = swiper;
},
...

And in my template file:
<ion-slides pager="false" options="options" slider="data.slider">

Thanks again

Glad it helped.

@shahroon
Thanks so much, it works!


Properly check for :normal running out of characters

<NL> should not quit the substitute prompt in the middle of :normal

Somehow does not work on CI


Malformed indent guides

Notice how the final indent guide on each blank line is ever so slightly misaligned with the rest.  Re-opening the file or reloading Atom does not fix the issue.
Atom 1.3.0-dev-69dfdd0, Windows 10 x64, safe mode.
/cc @nathansobo @as-cii

I've seen this as well. Seems like a combination of font and font size seems to trigger it. @50Wliu Try increasing the font size and see if that "resolves" it.
I'm hypothesizing that this is caused by issues with subpixel character width calculations; i.e. floating point round-off error.

Try increasing the font size and see if that "resolves" it.

Just tried this with the following results (the picture above is using 13px Consolas):
Setting the font to 12px messes up the third indent line, while setting it to 14 seems to fix it.

Yeah, there are definitely a few serious regressions I'm experienced on master now at least. I'm using the One syntax themes, and I'm getting incorrectly placed cursors on some lines; the cursor ends up being placed on top of a character for instance. Using a large font size (14px or higher) does seem to (mostly) resolve the problem, but using 12px or smaller does exhibit FP round-off errors :disappointed:

Maybe related to https://github.com/atom/atom/issues/9382 ?

FP round-off errors
This looks like one pixel out of 100...  that's way less than the normal float/double range. Is Atom summing up rounded numbers ? I have a hard time understanding how this relate to being off on blank line only.

Yup, but I can still repro this.

I'm trying out 1.4.0 and I'm seeing it with Monaco font at size 10 and then at 11 it went away.

I did what was suggested here regarding changing font-size, and the maligned tab guides just scaled with the changing size. Refer #11389

In Atom 1.8.0 on Windows 10, the misaligned indent guides happen fairly often (fonts: FiraCode, Hack, and the default font, all at size 12).
Increasing the font size to 14 corrected the issue Changing the font size from 12 to 14 corrected them. Changing the font back to 12 left them corrected, but they quickly misalign themselves again once I resume editing.

I do not see this problem anymore.


I was confused at the Last Steps -> RTC-DNWeathers.esp

Specifically at the step that says:
"Press F5 to refresh MO2 and if everything went correctly, the final plugin in MO2's right pane should be:
RTC-DNWeathers.esp"
This seemed like a visual mod so I didn't understood why I didn't have it. I had to ask and be told what it was before I realized it's related to one of the "spicy" overhaul mod. In other words, if this section could be reworked to be clearer that would be great. I'll go and try to make some suggestion but the "issue" if there is one is that the guide say "should" when it's really a "could". Then after that, how much info is too much info is of course subjective.

Since the suggestion to change from should to could was denied with good reason, I'll also note that said reason was that this was already explained in The Best Of Times. I will however note that while it was explained there, in practice, this was never actually relevant or learned as it never came up there, and still come up in the faq here. Feel free to close if that's still considered redundant though.


How to insert regular CMake commands in portfile.cmake ?

I'm trying to customize a lib installed through vcpkg with regular CMake commands.
The only thing I need is to tweak is enable a preprocessor, e.g., BUILD_WITH_THIS_OPTINAL_FEATURE.
With Visual Studio, it's pretty straightforward: Just add it to the C/C++ > Preprocessor property of the project. But with vcpkg, it's unclear how to mix it with its own functions.
Say if I have a portfile ready under
E:\_dev\vcpkg\ports\mylib\portfile.cmake

I'd really love to do the following right there
add_compile_definitions(BUILD_WITH_THIS_OPTINAL_FEATURE)

But doing so directly in portfile.cmake gives me
CMake Error at ports/mylib/portfile.cmake:38 (add_compile_definitions):
  Unknown CMake command "add_compile_definitions".

Anyone knows how?

Solved it myself.
I just need to add the following to vcpkg_configure_cmake's OPTIONS input arg
-DBUILD_WITH_THIS_OPTINAL_FEATURE=ON


Audio HIP PR1 - Non Silent Region HIP Support

Adds support for Non Silent Region in HIP Backend
Adds relevant qa tests and performance test support

@r-abishek
I have addressed all review comments

@r-abishek
I have addressed all comments and also removed the hipMalloc and hipFree for MMS buffer inside and used handle memory instead and it was working fine


Apache 2.0 License

I'd like to switch over to the Apache 2.0 License to encourage developers to clone, fork and potentially redistribute this project. Every developer who has contributed will need to approve this change in order for this to be merged.

Hey @CallumJohnson I'm pinging you because for some reason I wasn't able to add you as a reviewer.


GSNGM-826: Implement JWT + cognito helper function in the api

TODO: Actually use the Claims in the protected handlers.

This is now quite in line with the specifications of aws: https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-verifying-a-jwt.html


⚠ Bofrost.at has degraded performance

In 58d1d4c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1545 ms

Resolved: Bofrost.at performance has improved in 6e2bee4 after 6 minutes.


Relationship with Cloudfare?

Hi! It says on https://images.weserv.nl/ that "We're part of the Cloudflare community" but I was hoping you could elaborate on what that means exactly? Do you pay Cloudflare to use their CDN or do they provide you with free service? If you do pay Cloudflare, how do you support those costs without charging anything to use https://images.weserv.nl/? Also, do you have any kind of uptime guarantees between yourselves and Cloudflare? I hate to look a gift horse in the mouth because https://images.weserv.nl/ seems like an amazing service, but I guess it seems too good to be true in a way :)

We've started this service in 2007, used CloudFlare since early 2012, and are on the free-tier since 2015. Costs for the servers to support images.weserv.nl are really low. You can read more about that on our wiki. CloudFlare is based on the same principles to provide their services, as you can read here.
 We've had 99,993% uptime on average since 2007, all based on best-effort from all sides. Our service will not be the best fit for everyone: if you need more guarantees, anything besides best-effort, we encourage you to use our config and code as provided on this GitHub, and build your own solution. We're always happy to help with questions that may arise if you do so.

Fair enough. Thanks for the explanation Andries. We're going to give it a shot and see how it goes 🙌🏼


optimization of replacement refinement selection/loading: only request visible tile children

This commit implements part of the optimizations discussed in https://github.com/AnalyticalGraphicsInc/cesium/issues/3424#issuecomment-172064629.
The selectTiles function will now be slightly more expensive as we dynamically need to find out whether a tile is refinable every time it comes off the stack. Finding this out requires checking the current visibility of its children, as opposed to before when we merely kept count of how many children had their contents loaded.
@pjcozzi and @lilleyse please review.

@lilleyse can you please do the initial review?

Finding this out requires checking the current visibility of its children, as opposed to before when we merely kept count of how many children had their contents loaded.

Perhaps the visibility of the child can be cached so it can be used later in the tree traversal, e.g., so it is only ever computed once per frame just like we only compute the distance to the tile once per frame.
Perhaps we can optimize the additive refinement case?
Also, this reminds me of an optimization we want to try, but it will require some careful analysis (and may having varying performance depending on the dataset):

Performance idea: cull/LOD select with union of children bounding volumes instead of the tile's BV. Does the extra CPU overhead result in fewer tiles on average? Is it a performance win?

From #3241

I didn't notice I made these comments on the commit, one minute as I change them over.

Overall I agree with @pjcozzi that the more we can cache results and optimize the most common cases the better.
I've been trying to think of ways to cleanup selectTiles since I think it got a bit confusing since https://github.com/AnalyticalGraphicsInc/cesium/pull/3367.

@lilleyse I've addressed the issues, except for caching of visibleChildren. We could compute the visibility of children (traversing down the tree) in selectTiles but if we do it every time a tile comes off the stack the cost would be the same as it is now. Computing distanceToCamera seems easier because it doesn't need to take children further down into account. Any ideas on how caching of visibleChildren could be done? How do we know if the current values can still be trusted or are too old?

I believe this was added in #4287.
@lilleyse please let me know otherwise.


Memory reports do not work when Nordic proprietary LL is selected

Describe the bug
pdunaj@ubuntu:~/work/ncs/nrf/applications/nrf_desktop$ time ( B=nrf52840_pca20041; cd build-$B && ninja rom_report )
[1/2] cd /home/pdunaj/work/ncs/nrf/applications/nrf_desktop/build-nrf52840_pca20041/zephyr/cmake...hyr-eabi-nm -o /home/pdunaj/work/ncs/nrf/applications/nrf_desktop/build-nrf52840_pca20041/zephy
FAILED: zephyr/cmake/reports/CMakeFiles/rom_report
cd /home/pdunaj/work/ncs/nrf/applications/nrf_desktop/build-nrf52840_pca20041/zephyr/cmake/reports && /usr/bin/python3 /home/pdunaj/work/ncs/zephyr/scripts/footprint/size_report -F --objdump /opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-objdump --objcopy /opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-objcopy --nm /opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-nm -o /home/pdunaj/work/ncs/nrf/applications/nrf_desktop/build-nrf52840_pca20041/zephyr
Traceback (most recent call last):
  File "/home/pdunaj/work/ncs/zephyr/scripts/footprint/size_report", line 450, in <module>
    main()
  File "/home/pdunaj/work/ncs/zephyr/scripts/footprint/size_report", line 442, in main
    base + '/', None)
  File "/home/pdunaj/work/ncs/zephyr/scripts/footprint/size_report", line 181, in generate_target_memory_section
    symbols_paths = dict(load_symbols_and_paths(bin_nm, elf_file_abs, source_dir))
  File "/home/pdunaj/work/ncs/zephyr/scripts/footprint/size_report", line 35, in load_symbols_and_paths
    symbol, path = parse_symbol_path_pair(line)
  File "/home/pdunaj/work/ncs/zephyr/scripts/footprint/size_report", line 80, in parse_symbol_path_pair
    assert len(fields) >= 4
AssertionError
ninja: build stopped: subcommand failed.

To Reproduce
Steps to reproduce the behavior:

enable BT_LL_NRFXLIB
run ninja rom_report

Expected behavior
Should present a memory report.
Impact
annoyance - profiling tool is unusable
Screenshots or console output
check above
Environment (please complete the following information):
ncs master
Additional context
N/A

I am creating a bug upstream as it seems to me the problem may be with how symbols are obtained and not be specific to this library.

@SebastianBoe can you take a look at this bug report from Pawel?

Reproduced, will investigate.

Thanks @SebastianBoe


[ Travel Mate version 5.4.0 ]  In the Hotels booking call and location button are not working

Project Information

Repository    :  https://github.com/project-travel-mate/Travel-Mate
Project Name  :  Travel Mate
Publisher     :   Swati Garg

Expected behavior
I expected that in the Hotels booking when I click on the call button  the hotel's contact should be shown and when I click on the location button the hotel,s location show in google map
Actual behavior
after opening the Hotels booking tab when  I click on the call button and location button the both ( call and location )  button are not working properly. you can see in bug video properly
How to reproduce

Download and open the application
click on the  ( menu on the top left corner )
click on ( travel )
click on ( HOTEL BOOKING )
select the ( city Delhi )
click ( on Tab for more Details )
now click on ( call icon and location icon )
Note the Bug
Browser/App version:   5.4.0
Operating system:  8.0.0

Recording Of The Bug
https://youtu.be/hzfI1hujzDQ
GitHub Account
https://github.com/XAMIR555
Logcat
logcat.txt

hi @Swati4star i'd like to help u with this issue , however I'm facing the next trouble , when i try to create one account i see a message which says "invalid user name or password" I've checked if passwords are equal and they are , so what could be the error?

the passwords need to be alphanumeric with one special character. Can you check if these conditions are satisfied.

Length? Whatever ?
El sáb., 27 de abril de 2019 5:15, Swati Garg<EMAIL_ADDRESS>escribió:

the passwords need to be alphanumeric with one special character. Can you
check if these conditions are satisfied.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/project-travel-mate/Travel-Mate/issues/627#issuecomment-487273513,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALQAHMMXWAUVSALEEFB2IS3PSQRTBANCNFSM4HICOYYQ
.

https://github.com/project-travel-mate/Travel-Mate/blob/master/Android/app/src/main/java/io/github/project_travel_mate/login/LoginActivity.java#L434
Length >= 8

I guess , It's necessary to put a google maps key ,isn't it ? if yes, where can I find it's reference?

hi @Swati4star when I am in  HOTEL BOOKING and type Delhi , I just can see one image which says: Searching Network , We're sorry we could not connect, I don't know Why I can't reproduce the issue, help me please. I think what is expected is that when I type the name of the City, something should be shown but I am not getting any result.

Closing this since it seems fixed!
@XAMIR555  Feel free to reopen if it isn't fixed


Update set-up-your-development-environment.md

Category

[x] Content fix
[ ] New article

Related issues:

fixes #5571
partially #issuenumber
mentioned in #issuenumber

What's in this Pull Request?
Fixed broken nodejs links

Vesa has been updated the Node.JS version 10.20.1 - https://github.com/SharePoint/sp-dev-docs/commit/117e2d3c3bbb418dca55d831767da6a6bc976f2c,
I assume that we can close this PR

Excuse me for the delay here. I did not notice the comments from Andrew. Please, close this PR and sorry again for the delay.


Fix mypy errors and run mypy upon testing

Fixes typing errors and enforces correct typing by running mypy during test execution on TravisCI.

@CPBridge Could you kindly take a look at this PR?


Oxidized Error Handling in Axum

Current error handling is done by manually using match statements and stringifying error messages. It can be handled using oxidized ways. This will enable us to use ? operator and prevent unwrap() calls due to laziness.

Recommendation: Use color-eyre one of these. Eyre is a progression on anyhow. Both are excellent. But one is more beautiful 😍


Integration Test - Release - 2022/01/14 08:44:08

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1


Search stopped returning meaningful results

From jbellanca on January 29, 2014 05:33:42
What steps will reproduce the problem? 1. Add a comic to the queue
2. Use Search Online, Auto-Identify, or Auto-Tag (Search Online is best to see this problem though)
3. Wait several minutes
4. In the list of search results, notice that there's thousands and thousands of results, 99.9% of which aren't relevant, as if it's returning the entire database of series titles. What is the expected output? What do you see instead? Should return just the few comic series that match the search query. What version of the product are you using? On what operating system? 1.1.9beta Mac Please provide any additional information below. Been using ComicTagger 1.19beta on the Mac for a year or so now.  It's always worked great... a few minor bugs, like when it doesn't revert the mouse pointer back from the B&W pinwheel, but minor stuff.  Until, this week.  Now, whenever I search for a comic series, either using Search Online, Auto-Identify, or Auto-Tag, exactly like I always have, it searches for minutes at a time, and returns thousands of results... it looks like a list of every comic series ever.  You can manually scroll through the list and pick what you're looking for, but for some reason, the search functionality is totally broken all of a sudden.  I haven't done any updates or re-installs lately.  (Auto-Tag also only sometimes works now because of this.)  I've tried clearing the cache just in case, but it hasn't helped.  Is there any way I can post up some logs or something to help diagnose what's going wrong?
Original issue: http://code.google.com/p/comictagger/issues/detail?id=39

From jbellanca on January 28, 2014 20:38:11
Edit: Using OS X 10.9.1.  Try, for example, "The Dark Knight Returns" or "Legends of the Dark Knight"

From jbellanca on January 29, 2014 16:15:59
From the forums:
by anomander Yesterday at 7:54 am
It looks like the API has changed from AND to OR. So the longer the title you search for the more results you will get and its unlikely to ever get an exact match in the way it used to.
This needs a comictagger update to accommodate API changes but I have not seen the dev here since Aug 19, 2013 and the last code commit was one day before that.
To be fair in this period comictagger "just worked" so hopefull he will come back now it doesnt Smile
Update: Doesn't work was a bit harsh. In theory it should still work fine but its less than ideal when hundreds of results are presented and you have to manually eyeball the right one.

From loUrnaDoone on January 30, 2014 12:34:01
Exact same issue. Exact same results; i.e. no results but on Windows 7. I'll keep my fingers crossed for a fix.

From<EMAIL_ADDRESS>on January 30, 2014 18:21:02
This should fix it:
--- comictaggerlib/comicvinetalker.py~  2014-01-30 22:13:34.000000000 -0400
+++ comictaggerlib/comicvinetalker.py   2014-01-30 22:15:31.000000000 -0400
@@ -146,7 +146,7 @@
           original_series_name = series_name

          series_name = urllib.quote_plus(series_name.encode("utf-8"))

          series_name = urllib.quote_plus(series_name.replace(" "," AND ").encode("utf-8"))
          \#series_name = urllib.quote_plus(unicode(series_name))
          search_url = self.api_base_url + "/search/?api_key=" + self.api_key + "&format=json&resources=volume&query=" + series_name + "&field_list=name,id,start_year,publisher,image,description,count_of_issues"
          content = self.getUrlContent(search_url + "&page=1")

From jbellanca on January 31, 2014 17:04:06
Excellent, thanks!  The new version fixed it perfectly!

From<EMAIL_ADDRESS>on January 31, 2014 18:45:41
Status: Fixed


Unable to create subdomains

When creating subdomains, there is no resolver or controller set. Fees are waisted to delete and create subdomains that can not resolve to a name. The name should be elenisara.alexanderthegreat.eth but I get a hash instead of a name

Even after we set the proper resolver details. the issue persists!

Resolvers aren't currently automatically set when creating a subdomain. It doesn't look like you're setting a resolver on the subdomain, though - can you link to the transaction where you try to set it?

Here is a tx but evenm with the resolver updated the subsdonain is still an abstract number!
https://etherscan.io/tx/0xb4c83d670089a775125feef483d7f188c8f7cc05b24530e780c94f4de694fca7

You appear to have created the subdomain that way - by entering a hash into the field instead of a name.

Why this works fine on this subdomain?

with transaction https://etherscan.io/tx/0xfab4b69d5206029a5f3fcd3e8e16aea8f0841030cd8ebc928a8afd85b369c346

No I created the subdomain with elenisara.alexanderthegreat.eth the system does not add the name properly

Ah. Names are not stored onchain in plain text form, so if the name isn't in our list of known names, the app can't show it to you. If you enter the name into the search field, it will populate it correctly.

If you'd like further support, please come to our Discord!

Once again ETH waisted and now no subdomain created. the subdomain
https://etherscan.io/tx/0x778601d1c76d1efbaded98c3a3308be8054d5c45299a7796af7a44929115dd7a

how chating with 200 people will resolve the platform issues I am discussing? I hope this is not another waisted defunck idea!

As I said - the domains exist, we just can't show the plaintext name because it's not in our dictionary: https://app.ens.domains/name/elenisara.alexanderthegreat.eth
Discord is our support channel, and is where you're likely to get the most interactive help for any issues you're encountering.


Update language-c, java, javascript, and yaml

language-c updates this to be variable.language.this.c
language-java now tokenizes comments in enums and updates this to be variable.language.this.java
language-javascript fixes a major regression with const highlighting
language-yaml fixes more issues with multiline text blocks

:shipit:


Missing configure script

The quick install instructions metion I should start with ./configure
But that command is not yet present.
I have been away from installing from sources too long it seems so I need some guidance. What should be the next step after the git clone command?

Tried automake:
automake
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
configure.ac:360: error: required file './config.guess' not found
configure.ac:360:   'automake --add-missing' can install 'config.guess'
configure.ac:360: error: required file './config.sub' not found
configure.ac:360:   'automake --add-missing' can install 'config.sub'
automake: error: no 'Makefile.am' found for any configure output
So that does not seem to work. At least not on my PI.

It seems this works better:
git clone ....
autoconf
./configure

But the it fails on:
config.status: error: cannot find input file: config.h.in'`

The code isn't directly configurable from the git repository.  I suggest you download the latest release bundle (https://github.com/conserver/conserver/releases), which has all the autoconf steps performed and is at a release point.  If you really want to build from a clone, I suggest looking at/watching the .cirrus.yml file, as that is used to do automated builds.

Oh, and I forgot to mention https://github.com/conserver/conserver/tree/master/package.  That might be of some service.


PhysicsShapeQueryParameters3D's exclude array seems to be ignored in PhysicsDirectSpaceState3D intersect_shape func.

Tested versions
v4.3.beta.custom_build [e2fc6d38c]
System information
Godot v4.3.beta (e2fc6d38c) - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (nvidia; 535.183.01) - Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz (6 Threads)
Issue description
Explanation
I want to exclude a Node (self) from the collision test but it continues to be present. The MRP shows it all.
I have a RigidBody3D (a fish).
The fish has two CollisionShape3D nodes:
One is directly under the RigidBody3D (bumper) and is for collision with other fish.
The other is under an Area3D and is called 'ahead'. It is meant to look ahead and to the sides BUT NOT be part of the collisions with other fish.
I am using PhysicsDirectSpaceState3D and intersect_shape to get whatever 'ahead' may be overlapping. HOWEVER I do not want it to detect the fish itself, which it is doing.
I have tried various ways to exclude the RigidBody3D from the intersect process, but it just won't work.
Not sure if this is a bug or my own miscomprehension.
Some code
With a RigidBody3D that has two CollisionShape3D nodes that overlap and this code:
q = PhysicsShapeQueryParameters3D.new()
q.exclude.append(self.get_rid()) # is not working later
q.collide_with_bodies = true
q.collision_mask = 2
q.shape = %senses/ahead.shape # my fish's "eyes"
q.margin = 0

# nf is an Array. It should be empty but is not. The (ahead) "eyes" see the main bumper collider.
# ss is the space state.
nf = ss.intersect_shape(q, 2)

Steps to reproduce
Open the MRP, from Gitlab. Run the main scene. A fish will do a thing, but watch the output. The code is also commented. (issue.gd)
Minimal reproduction project (MRP)
https://gitlab.com/dbat/fishy/-/tree/issue?ref_type=heads

Does it work if you do get_rid outside of _ready?

Does it work if you do get_rid outside of _ready?
I tried that too. I did it just before using ss.intersect_shape() and it still had no effect.

I think the exclude is a replace-don't-edit type property. Does it work if passed a complete array?
q.exclude = [self.get_rid()]

That's indeed the case!

Well, good grief! That works. How weird though. Should this be a documentation thing or is it an Array bug?

It's a documentation thing, it's not a bug, it's because the data is copied:
https://github.com/godotengine/godot/blob/6a13fdcae3662975c101213d47a1eb3a7db63cb3/servers/physics_server_3d.cpp#L307-L315

I think the exclude is a replace-don't-edit type property. Does it work if passed a complete array?
Thanks! And love your apropos user icon :D

Will one of you bounce this over to the docs peeps, or must I do a thing?

It belongs here as it's for the class reference which is in this repo


[SPARK-45286][DOCS] Add back Matomo analytics

What changes were proposed in this pull request?
Add analytics to doc pages using the ASF's Matomo service
Why are the changes needed?
We had previously removed Google Analytics from the website and release docs, per ASF policy: https://github.com/apache/spark/pull/36310
We just restored analytics using the ASF-hosted Matomo service on the website:
https://github.com/apache/spark-website/commit/a1548627b48a62c2e51870d1488ca3e09397bd30
This change would put the same new tracking code back into the release docs. It would let us see what docs and resources are most used, I suppose.
Does this PR introduce any user-facing change?
No
How was this patch tested?
N/A
Was this patch authored or co-authored using generative AI tooling?
No

Merged to master/3.5/3.4/3.3


chiaki: init at 1.0.3

Motivation for this change
Chiaki is a new open source client for the PS4 remote play protocol.
Note: I put it in pkgs/games, it's not a perfect fit but other gaming-centric apps like steam are there already, so there's precedent (thought emulators are in misc... so there's also negative precedent).
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thanks @delroth and @jonringer :tada: