Adelphel second dash incorrect sometimes

See: https://www.twitch.tv/videos/1475385585?t=2h12m5s
(cc @valarnin)

Additionally, this adds a trigger for left/right movement depending on boss movement (the logic on this could use a double-check).

Emphasis added. Probably I got left vs right backwards on some cases, since I didn't have all 8 possible mechanic combinations handy. I don't think I even had a pull for each of N/E/S/W starting positions, it was almost always two of the four (west KB and south KB) for my groups.
Should be as simple as inverting the heading comparison on whichever ones aren't calling out properly, but I don't go back in again to get more logs for a bit.
          case 1: // East
            if (heading < -1.57)
              return output.left!();
            return output.right!();

Yeah, I think the logic on West is backwards.  However, I'm not sure that heading is reliable here.
62E9 is the Grinnaux jump to the middle, so this finds the first 62CE line after a 62E9 and gets its x, y, heading.  I did confirm that 100.00|122.00|3.14 exists in a log as the first heading in a set of dashes, so I think this needs to be converted to getCombatants, perhaps?
$ grep "|\(62CE\|62E9\)|" *.log | grep 62E9 -A 1 | grep 62CE | cut -d'|' -f 41,42,44 | sort | uniq

100.00|122.00|2.36
100.00|122.00|-2.36
100.00|122.00|3.14
100.00|78.00|0.00
100.00|78.00|0.79
100.00|78.00|-0.79
122.00|100.00|-0.79
122.00|100.00|-1.57
122.00|100.00|-2.36
78.00|100.00|0.79
78.00|100.00|1.57
78.00|100.00|2.36

As this trigger got removed, this isn't an issue anymore. I don't think I'm going to get around to adding this, and so I'm going to close this issue for now.  (If anybody wanted to add this, it would be welcome, but I'm unlikely to be in DSR again any time soon.)


"Unauthorized" responses when make API Request

Hi everyone,
My (own) admin panel has a push send functionality connected to AppCenter, I have 2 types of push, immediate and scheduled... In the immediate push, a message is sent at registration and everything works perfectly... Scheduled push, registers a message to be sent in the future through a Timer Trigger Function that every hour consults the pending messages and sends them according to the established time.
When sending via Function that triggers an Endpoint from my API to send the messages using AppCenter, the AppCenter API requests return "Unauthorized" status, but I am using the same web panel token (used in immediate way).
This is intermittent, not every time AppCenter API calls gives error, sometimes it fires correctly.
Any information about?
Tks

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

ID: 45dd71a0-a249-a87b-e4eb-e4da0a20472f
Version Independent ID: 450c26f5-ab13-8df5-d45a-6086f5391b23
Content: App Center Support - Visual Studio App Center
Content Source: docs/general/support-center.md
Service: vs-appcenter
GitHub Login: @blparr
Microsoft Alias: blparr

@balivo have you discussed this issue with our support team? What did they tell you?  The token should work in both cases and I'm assuming you compared the requests to ensure they're both the same?  To connect with App Center support, use the blue chat button in the lower-right corner of any app center page; that connects you with our dedicated support team

Hi... We investigating yet....
Tks!

@balivo I'm assuming you have this issue addressed. In case you missed it: We announced yesterday in a blog post that we’re retiring the Push service later this year and recommending customers transition to Azure Notification Hubs instead. The good news is that the same team operates both App Center Push and Azure Notification Hubs, so all customer feedback and feature requests have been transferred to the Azure Notification Hubs roadmap.

Yes @jwargo, and I moving to new services... Tks!


Trouble with glTF animations.

See attached glTF.
Here's the code that fails:
let anims: RArray[ModelAnimation] = loadModelAnimations("resources/JoeSkinTexcoordDisplacerKickUpdate2Export.gltf")
let a = anims[0]
Joe.zip

I think we solved that issue on discord


How do debug when password-less mount does not work

Hi,
I am having problem mapping container volume with ssh key. With password it works fine.
So any way to debug what is happening? I have installed the plugin with DEBUG=1
docker: Error response from daemon: error while mounting volume '/var/lib/docker/plugins/9431f8f717678b6c65310fb91fbc134eb0edb2c0351440d8ae638227657e927e/propagated-mount/b985d198195b0d1c1adea1ce6f9db68d': VolumeDriver.Mount: sshfs command execute failed: exit status 1 (read: Connection reset by peer
).
ERRO[0000] error waiting for container: context canceled

Please note sshfs itself works without password from the host machine.

I'm having the same issue with the current master branch.
To elaborate:

ssh works w/o password
sshfs works w/o password
sshfs docker volume plugin works with password
sshfs docker volume fails with "Connection reset by peer" w/o password (tried to specify the key explicitly or use the default one - the result is the same)

Built next based on the following commit:
1e0cd2f - (HEAD -> master, origin/master, origin/HEAD) switch to 1.10 (4 months ago) Victor Vieux

At the risk of supplying a ME TOO, I'm seeing the same behaviour:
time="2018-09-18T07:38:18Z" level=error msg="time=\"2018-09-18T07:38:18Z\" level=error msg=\"sshfs command execute failed: exit status 1 (read: Connection reset by peer\\n)\"" plugin=59220d566c3baed5e3945b2435bd0db04df16994fd1724256b7df4042dceca21
time="2018-09-18T07:38:18.780214317Z" level=error msg="Handler for POST /v1.36/containers/create returned error: VolumeDriver.Mount: sshfs command execute failed: exit status 1 (read: Connection reset by peer\n)"

I am using Boot2Docker 18.02.0-ce (TCL 8.2.1); HEAD : 99245f4 - Thu Feb  8 17:43:39 UTC 2018 as my host on a VMware Fusion VM on an iMac.
I can ssh with and without password. Paths exist.
$ docker plugin install vieux/sshfs
Plugin "vieux/sshfs" is requesting the following privileges:
 - network: [host]
 - mount: [/var/lib/docker/plugins/]
 - mount: []
 - device: [/dev/fuse]
 - capabilities: [CAP_SYS_ADMIN]
Do you grant the above permissions? [y/N] y
latest: Pulling from vieux/sshfs
52d435ada6a4: Download complete
Digest: sha256:1d3c3e42c12138da5ef7873b97f7f32cf99fb6edde75fa4f0bcf9ed277855811
Status: Downloaded newer image for vieux/sshfs:latest
Installed plugin vieux/sshfs

$ docker volume create -d vieux/sshfs -o sshcmd=onno@zulu.local:tmp -o IdentityFile=/home/docker/.ssh/onno.pem test-vol
test-vol

$ docker run -it -v test-vol:/home busybox ls /home
/usr/local/bin/docker: Error response from daemon: VolumeDriver.Mount: sshfs command execute failed: exit status 1 (read: Connection reset by peer
).
See '/usr/local/bin/docker run --help'.

$ docker volume inspect test-vol
[
    {
        "CreatedAt": "0001-01-01T00:00:00Z",
        "Driver": "vieux/sshfs:latest",
        "Labels": {},
        "Mountpoint": "/mnt/volumes/0e9fcfedbffb7418d77464c74c73bd7d",
        "Name": "test-vol",
        "Options": {
            "IdentityFile": "/home/docker/.ssh/onno.pem",
            "sshcmd": "onno@zulu.local:tmp"
        },
        "Scope": "local"
    }
]

I've also tried:

Enabling DEBUG=1 in the plugin
Enabling sshcmd debug options with -o LogLevel=DEBUG
Adding the key directory to the plugin installer (both /home/docker/.ssh and /root/.ssh)
Using sshcmd options to locate the key
putting the ssh-key in /root/.ssh
manually creating and adding the ssh key within the docker host

@ITmaze , I have the same problem.
I found a reason not to work with -o IdentityFile.
When installing the plugin, sshkey.source is required.
README Using an ssh key
$ docker plugin install vieux/sshfs sshkey.source=/home/<user>/.ssh/

Even if it is already installed, you can change it with plugin set command.
$ docker plugin set vieux/sshfs sshkey.source=/home/<user>/.ssh/

Inspect the vieux/sshfs plugin
$ docker inspect vieux/sshfs
...
    "Mounts": [
     ...
        {
            "Description": "",
            "Destination": "/root/.ssh",
            "Name": "sshkey",
            "Options": [
                "rbind"
            ],
            "Settable": [
                "source"
            ],
            "Source": "/home/<user>/.ssh/",
            "Type": "bind"
        }
    ]
...

sshkey.source=/home/<user>/.ssh/ is mounted /root/.ssh inside volume container.
-o IdentityFile path points to the path inside the volume container.
Therefore, the path to IdentityFile should start with /root/.ssh/ inside the volume container.
$ docker volume create -d vieux/sshfs \
-o sshcmd=<user@host:path> \
-o IdentityFile=/root/.ssh/<key> \
<volume name>


is 'plant water delivery method' multivalued or not?

Package item
Definition
Expected value
Value syntax
Example
Requirement
Preferred unit
Occurrence

plant water delivery method
Description of the equipment or method used to distribute water to crops. This field accepts termed listed under irrigation process (http://purl.obolibrary.org/obo/AGRO_00000006). Multiple terms can be separated by pipes.
AGRO_00000006
{termLabel} {[termID]}
drip irrigation process [AGRO:00000056]
C

1

Need to change occurrence value to 0-n.


ibm_sherbrooke optimization_level=3

Environment
IBM Quantum Lab
What is happening?

This is what optimization_level=3 does to a 54-qubit GHZ on ibm_sherbrooke.
How can we reproduce the issue?
I tried multiple circuits and they all had similar results, so it should happen with any large GHZ state.
What should happen?
Many qubits are shown to not have multi-qubit operations, but all 54 participated in at least one multi-qubit operation.
Any suggestions?
This is from experimentation after the IBM Quantum Spring Challenge. The circuit produced sheer noise, so I wanted to see if optimization_level=3's mapping feature would improve qubit selection and improve the results.

One of them was:
qc.h(q[0])
for i in range(0, 6):
    for j in range(0, 2**i):
        if ((2**i)+j) == 54: break
        qc.ecr(q[j], q[(2**i)+j])

followed by:
qc_list = transpile([qc]*20, backend, optimization_level=3, layout_method='sabre', routing_method='sabre', approximation_degree=0)
best_depth = [circ.depth() for circ in qc_list]
best_idx = np.where(best_depth == np.min(best_depth))[0][0]
qc_transpiled = qc_list[best_idx]
'''

Ok, thanks - this looks likely to be some problem being introduced by approximation_degree; I can reproduce your results with it set, but not without it.  Setting that to "0" is telling the unitary resynthesis algorithms to use maximal approximations (maybe backwards to what you'd expect), so there are likely various 2q collected blocks that are getting approximated at some intermediate stage to identities, and consequently removed.

As an extension of this issue, I carefully crafted a 54-qubit GHZ with 1 Hadamard and 53 ECRs. The transpiled circuit has 53 ECRs, but it adds a bunch of Hadamards everywhere, tripling the depth of the circuit from 12 to 34 using optimization_level=1, the shallowest of the 4 presets. The results are sheer noise. The results are the same from the QASM editor. The depth was slightly worse with CX, which I also tried. If I did all the hard work manually of selecting qubits and connecting them, why is the transpiler adding so much noise?
chmscrlnopt07g4g0pk0
chmri0hike34bjj1nql0

The ecr gate isn't symmetrical, and Sherbrooke implements ecr only in the native direction of each link.  The extra y rotations and hadamards are most likely the transpiler "flipping" your gates so they can run on the hardware.

The result with CX was worse. I think the least depth was 44 with CX vs 34 with ECR and optimization_level=1.

Yes, Sherbrooke doesn't support cx natively at all.  If you're trying to do hardware-specific optimisations by hand, you might want to examine the .target attribute of the particular backend; you can find all the information about the supported gates and their directions in there.


Tooltip is not showing when using custom components as Slot

Bug report
Describe the bug
When using the as prop and passing a custom component inside a tooltip, the tooltip is not visible when hover the component
To Reproduce

Go to https://codesandbox.io/s/heuristic-pine-nulv0?file=/src/App.tsx
hover on the link with the content "custom link"

Expected behavior
the custom tooltip should be visible after the proper delay
You can see the expected behaviour in the button on the right side
Screenshots

System information

OS: [e.g. macOS, Windows]
Browser (if applies) Brave
Version of Stitches: 0.1.4
Version of Node.js: ?

Additional context
maybe the Link component needs to be wrapped with forwardRef? or the box should be implemented differently?
thanks in advance!

 You need to wrap Link in React.forwardRef 🎉
It's something that has to be done consumer-side.

Yep that's correct. This is an annoying one because we can't really guide you through DX.
However, React already will throw an error for you to let you know that you have a functional component and something is trying to attach a ref to it.
See the log in your case:

indeed wrapping the component with forwardRef does the trick!
import { forwardRef } from "react";
import { Link as RouterLink } from "react-router-dom";

const Link = forwardRef(({ to, children, ...props }, ref) => {
  return (
    <RouterLink to={to} {...props} ref={ref}>
      {children}
    </RouterLink>
  );
});

🎉💪🏼


java.util.List android.hardware.camera2.params.OutputConfiguration.getSurfaces()' on a null object reference

I met a NullPointerException during monkey test.（I used alpha06）
java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.hardware.camera2.params.OutputConfiguration.getSurfaces()' on a null object reference

Thanks for opening this issue. A few questions that can help us fix it:

What device are you seeing this in?
What sample are you trying to run?
Did you modify the sample in any way?

1.Redmi 6 Pro with Android 9
2.I run the CameraXBasic sample
3.I didn't make any changes

Thank you for the additional information. Can you provide us with a more complete stack trace and reproduction steps?

This is log file of monkey test. Hope it can help you.
https://drive.google.com/file/d/1lXUamIDO4cRPK14pU6ifKxbuxenvKbxs/view?usp=sharing

any fix ? need to release to production waiting for this fix

@Sun-Shuai I was not able to find any references to the null pointer exception in the bugreport provided. I am still unable to reproduce the issue performing manual testing.

So i managed to keep the whole camera in a fragment and detach it everytime i go out of the screen then attach it onResume which seems to be working

I am seeing this same issue (with Record Stop/Start repeatedly) with Camera2.

This issue occurred in CameraX 1.2.1.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Surface android.hardware.camera2.params.OutputConfiguration.getSurface()' on a null object reference
at android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onCaptureErrorLocked(CameraDeviceImpl.java:1925)
at android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onDeviceError(CameraDeviceImpl.java:1693)
at android.hardware.camera2.legacy.CameraDeviceUserShim$CameraCallbackThread$CallbackHandler.handleMessage(CameraDeviceUserShim.java:299)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)

I see this crash occurring at a high rate with CameraX version 1.2.3.
NullPointerException: Attempt to invoke virtual method 'java.util.List android.hardware.camera2.params.OutputConfiguration.getSurfaces()' on a null object reference
What can I do to stop this from crashing my app? What Can I do to stop this from happening? My camera implementation closely resembles the CameraX code lab.

Thank you for reporting this crash. We're aware of the issue, and it seems like it might stem from an underlying camera HAL problem that can vary depending on the device manufacturer and chipset. While we work as expected, unexpected camera HAL issues can sometimes trigger this error in CameraX.
We're actively investigating to improve the situation. Potential solutions might involve adjustments like delays to mitigate the impact of camera failures. Unfortunately, reproducing the issue reliably in our lab has been difficult.
Could you help?  If you're encountering this crash frequently, could you please provide:
Full device logs leading up to the crash (if possible).
Device model and Android version.
This information would be immensely valuable in our troubleshooting efforts.
Thanks for your patience as we work on this!

Hi @wenhungwww I have faced that issue.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.hardware.camera2.params.OutputConfiguration.getSurfaces()' on a null object reference
at android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onCaptureErrorLocked(CameraDeviceImpl.java:2121)
at android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onDeviceError(CameraDeviceImpl.java:1804)
at android.hardware.camera2.legacy.CameraDeviceUserShim$CameraCallbackThread$CallbackHandler.handleMessage(CameraDeviceUserShim.java:306)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
   Device model : TC25
  Android version : 8.1.0

I have reported a similar issue in another post... https://github.com/android/camera-samples/issues/495   I would love to resolve this issue, so anything I can do to assist with fixing it please DM me.

Hi,
Thank you for reporting this crash. I've been able to reproduce the issue, and it seems to stem from an unhandled CameraDevice error during CameraCaptureSession configuration. This can lead to the legacy Camera2 framework being unable to retrieve the OutputConfiguration, causing the NullPointerException.
We're working on a workaround to mitigate this crash. Due to the variable timing of camera errors, the goal is to cover as many scenarios as possible. I'll keep you updated on our progress and let you know once the changes are ready.
Thank you for your patience and for helping us improve CameraX!

wenhungwww Can you advise if the solution you're working on is specific to CameraX or if it's with the underlying Camera2? Might your solution be applicable to my post https://github.com/android/camera-samples/issues/495 as well? I had considered reworking my project with CameraX, but my understanding was that CameraX is just a wrapper for Camera2, and thus I'd likely still encounter the same issue. Am I wrong in this thinking?

samohd Thanks for your question! Here's the latest on my workaround and how it could apply to your situation:
I'm making the change within CameraX code. The root problem lies in the legacy Android Camera2 framework, which legacy devices are unlikely to get updates for.
You're correct that CameraX is built on top of Camera2. While the core issue remains, using CameraX (once the fixed version is released) could resolve it for you.
If you're using Android Camera2 directly, here's the workaround idea:
The issue seems to occur specifically when opening a second CameraCaptureSession. The first session often works fine.  My recommendation is to close the camera device completely after your first CameraCaptureSession, and then reopen it before your second session.
Steps:

Open CameraDevice
Open CameraCaptureSession (1st)
Close CameraDevice (wait for the 'onClosed' callback)
Reopen CameraDevice
Open CameraCaptureSession (2nd)

This forces a reset of the legacy camera's internal state, which can prevent the getSurface() null issue.
Important Notes:
This isn't a perfect solution. Other errors are possible, and device-specific changes by manufacturers could affect its success.

wenhungwww The root problem lies in the legacy Android Camera2 framework, which legacy devices are unlikely to get updates for.
Does this suggest that a newer camera device might already have a fix for this, and thus if I use a newer device it might already work as is? Or do newer devices still have the same Camera2 base?
My process is essentially this:
Camera_Open / Transform
loop:
previewSession Create
MediaRecorer configure
MediaRecorder.Start
MediaRecorder.StopRepeating
MediaRecorder.AbortCaptures
MediaRecorder.Stop
MediaRecorder.Reset
previewSession Close
goto loop
The crash consistently happens after MediaRecorder.Stop which seems unrelated to the previewSession being closed and reopened, which it doesn't get to. Usually it gets thru several loops before it fails - sometimes many loops. I rarely see it fail at only the second loop.
MediaRecorderJNI] stop
[Binder] Caught a RuntimeException from the binder stub implementation.
[Binder] java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.hardware.camera2.params.OutputConfiguration.getSurfaces()' on a null object reference
I'm not sure what the relationship is between MediaRecorder.stop and getSurfaces(). I never call getSurfaces() in my code. Perhaps it's rebuilding the onscreen preview without the recording portion.
So, I'm not sure if your solution can resolve how I see it play out... as it is going to crash on the MediaRecorder.stop call... so I can't get back to a point where I close the camera and open it again for the next record session.

Also note that, what I've observered is that the idea of opening a camera app, starting a recording, stopping a record, and repeating that endlessly... never causes a crash on any of the device's native camera apps. Which suggests there's a way for this to work with Android Camera code... or that the manufacturers are not using the Android Camera code to do this.
Thoughts?

What is your sceneraio in which you are Opening a CameraCaptureSession multiple times, to result in it crashing? Are you also doing recording?

I also can't try/catch the crash and work around it (close and reopen camera), as try/catch misses it (likely because it's not my code that's crashed, but underlying Camera2 code.
When I run debug from Visual Studio, it will halt at "cameraDevice.CreateCaptureSession(surfaces, new CameraCaptureStateCallback(this), backgroundHandler);"
With the error:
Android.Hardware.Camera2.CameraAccessException
Message=CAMERA_ERROR (3): waitUntilIdle:1701: Camera 0: Error waiting to drain: Connection timed out (-110)
But this code halt occurs AFTER the crash that gets shown in the Output log in Visual Studio, following the STOP. And thus this error at the debug code halt is occurring when it's already moved on to be ready before the next record stop. Which is to say, the debugger isn't even aware the crash error has happened either,  just as with try/catch not kicking in.

samohd Here's a breakdown to clarify the situation:

Legacy Camera Code:
You're correct that newer devices might have fixes in their Camera2 implementation. You can check this using the INFO_SUPPORTED_HARDWARE_LEVEL property (https://developer.android.com/reference/android/hardware/camera2/CameraCharacteristics#INFO_SUPPORTED_HARDWARE_LEVEL).
Legacy Camera2 code exists across multiple Android API levels, even on devices receiving updates.
Root of the Issue:
The core problem starts within the camera hardware abstraction layer (cameraHAL). There could be multiple triggers (capture pipeline instability, sensor issues, memory issues, etc.).
When the camera device reports an error, the legacy framework layer sometimes encounters a null pointer issue when trying to find the output configuration. This often surfaces when configuring a second CameraCaptureSession.
My workaround is preventative: closing the camera device fully between capture sessions aims to reset the camera's state and avoid this null pointer scenario.
Issue Frequency & Workarounds:
The issue is low probability but persists. Two approaches to mitigate it:
Prevention: Ideally, prevent the initial camera device error. This is difficult, as causes can be device-specific and hard to pinpoint.
Workaround: Proactively clearing the output configuration mitigates the null pointer issue, which is the focus of my workaround.
Exception Handling:
You're right, the null pointer occurs in a background camera thread, making try/catch ineffective. Thread.setDefaultUncaughtExceptionHandler is an option, but not ideal for this.
Ongoing Challenges
My focus is on preventing the null pointer crash. The camera device error itself may have other roots. We'd need a separate discussion focusing on the causes of that initial error, which could be incorrect operations, device instability, and more.

wenhungwww

The Galaxy S9 I was/am developing on reports back as INFO_SUPPORTED_HARDWARE_LEVEL_3 which appears to be the highest feature set. I have also tested on S10 and Pixel 4, which both have the same crash.

I was endeavoring to keep the hardware cost down on this project, with consideration that I need 6-10 devices for each implementation, and at least 240fps capture. There's aso a potential of damage to the cameras in the process of the use. Which is to say, I don't ideally want to just go out and buy the latest camera each year, in hopes that I'll finally finally a model that works reliably.
With all that in mind, are you aware of any 240fps capable devices on which this crash does not happen?

Do you think that this process could potentially work around the crash:
loop:
Camera_Open
previewSession Create
MediaRecorder.Start
MediaRecorder.Stop
previewSession Close
Camera_Close
goto loop

This could involve a fair amount of rework of the code to get it to the point of testing if the Camera_Close/Reopen works.
Note that when I was actively developing the project, two years ago, in my testing I very rarely saw the crash. But, other testers who were testing on multiple devices at once, saw it in almost every iteration on at least one of the devices. It wasn't until I wrote in some test code to loop record start/stop endlessly, that I was able to repeatedly see it. For our record start/stop in a loop scenario, it happens regularly.

"Proactively clearing the output configuration"... I presume you mean by doing Camera_Close after recording.

Given that, as of this point, I've had to abandon the project completly, after putting a ton of work into it. I'd love to get the project up and running again. So, if there's an issue that'll require fixes beyond what I can do in my code, I'm certainly interested to participate in that exploration. If you want to take this discussion off github, I'm happy to do that as well. I don't see anyway on github to even private message you.


add pad_tokens helper

Codecov Report

Merging #64 (85d79f3) into main (61bd880) will decrease coverage by 0.18%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
- Coverage   94.08%   93.90%   -0.19%
==========================================
  Files          46       47       +1
  Lines        2013     2017       +4
==========================================
  Hits         1894     1894
- Misses        119      123       +4

Impacted Files
Coverage Δ

src/hearth/text/utils.py
100.00% <100.00%> (ø)

src/hearth/vision/ops.py
93.33% <0.00%> (-6.67%)
:arrow_down:

src/hearth/vision/utils.py
93.75% <0.00%> (-6.25%)
:arrow_down:

src/hearth/callbacks/monitors.py
94.59% <0.00%> (-2.71%)
:arrow_down:

src/hearth/callbacks/learning_rate.py
97.67% <0.00%> (-1.17%)
:arrow_down:

Continue to review full report at Codecov.

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


An error dialog pops up when clicking 'Show in Folder' next to 'Download All' in a non-root directory activity log against file shares

Storage Explorer Version: 1.37.0-dev (103)
Build Number: 20241212.7
Branch: main
Platform/OS: Windows11/Windows11
Architecture: x64/arm64
How Found: From running test cases
Regression From: Previous release (1.36.2)
Steps to Reproduce

Expand one storage account -> File Shares.
Create a file share -> Create a folder -> Upload one file to the folder.
Select the file -> Click 'Download -> Download All...'.
Select one folder for download.
Click 'Show in Folder' next to the download activity log.
Check whether the file explorer opens.

Expected Experience
The file explorer opens.
Actual Experience
An error dialog pops up.

Additional Context
Nothing happens when clicking 'Show in Folder' on Linux Ubuntu 22.04/MacOS Sequoia 15.1(Apple M1 Pro).

I merged a fix for this bug.

Verified this issue on the rel build 20241214.2. Fixed. No error dialog pops up and the directory is highlighted.
So, we are going to close it.


What all the funcations available with your plugin?

Please provide us a wiki page that describes about all available functions to use.

This project is a wrapper for the https://github.com/Happyr/LinkedIn-API-client
The methods available are the same as the package above.
The unique difference is how you call the methods.
Instead of new Happyr\LinkedIn\LinkedIn('app_id', 'app_secret'); you can call Linkedin::methodname.
The laravel container will inject the credentials from the config file and return a fresh instance for you


Add missing iTunes tags

Adds the ability to have season and episode tags as described in the iTunes specification.
This adresses item/itunes:episode of #96.

Missing tags according to #96 (plus season tag):

[ ] channel/itunes:type
[ ] item/itunes:title
[ ] item/itunes:episodeType
[X] item/itunes:episode
[X] item/itunes:season

Hi, this has been lying around for a while now, is there something stopping you from merging it?

From my side no, but I would level a guess that @lkiesow hasn't had time to look at it

Would be great to see this merged and published. WIthout this, one can't implement the full podcast RSS spec using feedgen and must explore other options. Is this project still maintained?

Would be great to see this merged and published. WIthout this, one can't implement the full podcast RSS spec using feedgen and must explore other options. Is this project still maintained?

Hey @joeyrobert, maybe not exactly what you'd like, but I have been using pip install git+https://github.com/olikami/python-feedgen for the moment being. Not perfect but works!

Hey @joeyrobert, maybe not exactly what you'd like, but I have been using pip install git+https://github.com/olikami/python-feedgen for the moment being. Not perfect but works!

I’m using the same at the moment unfortunately. Would really like to see @lkiesow take a look at this. I’m also wondering if this project is abandoned.

I’m using the same at the moment unfortunately. Would really like to see @lkiesow take a look at this. I’m also wondering if this project is abandoned.

Thanks @olikami, I'll use your fork for the time being. Appreciate this PR!

Thanks @olikami, I'll use your fork for the time being. Appreciate this PR!


Mapping Practitioners and AAD accounts for RBAC

User story
Hey guys, love your work.
I'm aware of the current plans to improve the Authorization story in the service with more a powerful RBAC story.
However, our current user story is using this API service in Azure to do a triage decision aid tool that maps to directly to the FHIR API, for a clinical trial. What we would like to have is The Clinicians logging in using their @nswhealth.gov.au logins using federated access (this is solved), but these logins are mapped to their respective practitioner objects. We then would also like to use PractitionerRole objects to control access to patients and organization objects.
We don't mind doing some leg work here, obviously, it would be much better if we could leverage the PaaS solution, but I get that solution will have to wait for future releases.
We are looking for direction on how we could modify the solution to change Authorization policies, and add query filters to enforce this authorization
Acceptance criteria

AAD 1:1 with Practitioner

we would prefer that the practitioner is provisioned on the DDT Tool first. As Health Orgs don't like to sync up.

Filter query results Based on this relationship.

Resource -> organization -> PractitionerRole -> Practitioner

All resources that we are looking to use can be tied to a practitioner or organization in some way.

restrict resource action based on PractitionerRole.  Clinician | Researcher | Admin

3 is not so much of an importance for the initial trial, but will become more of an issue as the trial sites grow.
I saw someone saying that we could leverage a management API to trivial filter query results, by appending filters as a proxy. But we still need to map the PractitionerId with the ADD.

We are very much interested in these scenarios. I think this one might require getting on a call to sort out some of the details. Can you email me mihansen AT microsoft.com we will try to find some time. Please add as much detail as possible in your email.
We will keep this issues open to track RBAC scenatios.

Done, and done. Yea, the call should hopefully be a short one, the RBAC solution we hope to be simple.

We have recently released RBAC in the Azure API for FHIR and will continue to make updates there. For now, closing this as won't fix in the open source FHIR Server.


Add code coverage for subprocesses

@shahzebsiddiqui Looks like code coverage works now. Check this - https://app.codecov.io/gh/buildtesters/buildtest/blob/coverage_subprocesses/buildtest/buildsystem/checks.py

@shahzebsiddiqui Looks like code coverage works now. Check this - https://app.codecov.io/gh/buildtesters/buildtest/blob/coverage_subprocesses/buildtest/buildsystem/checks.py

@prathmesh4321 great job. Yeah i see there is a big change in coverage +5.6% that huge.


Does this library work with graphql yoga?

Hello,
I've been trying to get this library to work with a graphql yoga server, but this error keeps popping up
"TypeError: validationContext.getDocument is not a function"
Any help? or alternatives it's not supposed to work?

Okay, I found out how:
server.start(
  {
    playground: "/playground",
    validationRules: [depthLimit(3)],
  },
  () => console.log("Server is running on http://localhost:4000")
);

But I noticed that errors don't get accurately sent back to playground, it just shows bad request 400 as if there was no Graphql errors returned.
Also, the depth is NaN sometimes. I'll send a PR if I ever find the reason why.


Add bundle binstubs to the main man page

Fixes #5560. Hope I understood correctly, I only added a reference because the full man page was already there.

Perfect 👌🏻
@bundlerbot r+


YouTube importing doesn't work at ALL

Every time I try to use a YouTube video, it returns error 400. This doesn't seem to occur with audio files.

This happens because the YouTube downloader gets out of date. I just updated it and was able to download a video afterwards. Post here if you still have issues, thanks.

It works now, but it still shows error 400 if enough remixes are made repeatedly.


Make ockam project show (no args) interactive by asking the user to choose from a list of projects to show (tuify)

Current behavior
When a user runs ockam project show without any arguments, currently they are shown an error & some help text. Here's a screenshot of this.

Desired behavior
Change the behavior of this command so that it becomes interactive with the user when no arguments are passed. Note that this can only be allowed to happen if:

the terminal is interactive, and,
the --no-input or --quiet flags have not been passed, and,
no arguments have been passed in to the command.

This what the user flow should look like in interactive mode.

Use the tuify crate's select_from_list() function to ask the user to select from a list of project names. They should be able to make multiple selections. If there are none, then simply display a message saying that none exist (not an error) and exit.

Once the user has made their selection(s), then run show for each selected project, and display the results of the show command for each project that they've selected.

They should be able to make a single selection.
If they have made no selections then exit by displaying a message to the user letting them know they did not make any selection.

The following is a video showing a generic user flow that shows the user experience when a user is asked to choose a from a list of "things". Then an action is performed on each "thing". Finally status information is reported for each action that is performed on each "thing". Please note that this flow is not specific to this issue.

https://asciinema.org/a/612547

Implementation details

Please use the functions select_multiple, and confirm_interactively in this file.

Here's a similar PR to get some ideas from: https://github.com/build-trust/ockam/pull/6480

You can learn more about how to use the select_from_list() in the tuify crate here. Here is an example that is very similar to the steps you might have to take for this issue.

Here's a file you can look at to detect when a terminal is interactive or not.

Here's a file you can look at to see where the ockam project show command is implemented.

We love helping new contributors! ❤
If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.

Can you please assign this to me?

@Tashuuuu I've assigned https://github.com/build-trust/ockam/issues/6460 to you and not this one. I noticed that you currently have 5 PRs (at least) in review. Good job on taking the initiative. However, once you've landed the open PRs (and have gone through the review process), then it would be a good time to take on another new issue 👍🏽

May i take this too please?

@Darioazzali That's awesome, this is all yours. Also, please checkout the tui.rs file that Adrian added to help you implement this: https://github.com/build-trust/ockam/pull/6884
Please let us know if you have any questions as you explore. You can also ask questions on the contributors discord https://discord.gg/RAbjRr3kds


parameter about 'dec_cluster_n'

When I run run_SEDR_DLPFC_all_data.py, I found the default value of dec_cluster_n  is 10,  in my opinion, the value of dec_cluster_n is 7(or 5),which is equal to the true number of layers of DLPFC. Could you give some suggestions about this value?

Dec_cluster_n is not necessarily to be the same as the one used in final clustering step. The DEC (deep embedded clustering) method is used to remove batch effects and enhance the compactness of latent representation.


[Bug] [spark-hive-connector] failed to setting hive.metastore.uri if not setting spark.sql.hive.metastore.jars

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the bug

start two hive metastore, <IP_ADDRESS>:9083 as hive1 and <IP_ADDRESS>:19083 as hive2
start spark SQL client, setting default hive metastore address to hive2,  and the hive metastore address of hive_catalog  to hive1

./bin/spark-sql -v \
--conf spark.sql.catalog.hive_catalog="org.apache.kyuubi.spark.connector.hive.HiveTableCatalog" \
--conf spark.sql.catalog.hive_catalog.hive.metastore.uris=thrift://<IP_ADDRESS>:9083 \
--conf spark.sql.catalog.hive_catalog.hive.metastore.port=9083 \
--conf spark.hadoop.hive.metastore.uris=thrift://<IP_ADDRESS>:19083

run spark sqls, after using hive_catalog, show databases retrives the database from hive2 not hive1.

Affects Version(s)
1.8.1
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?

[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
[X] No. I cannot submit a PR at this time.

DON'T use spark-sql to test the hive-related stuff, there are a lot of tricky inside, is it reproducible with spark-shell

The main reason is if not specify spark.sql.hive.metastore.jars,  HiveClientImpl will use a shared SessionState to create a Hive client, and the shared SessionState is initiated by spark_catalog catalog first in which the hive client is hive2 in this case.

  // `isolationOn` is true  if `spark.sql.hive.metastore.jars` is `buildin` and SessionState is CliSessionState
  def isCliSessionState(): Boolean = {
    val state = SessionState.get
    var temp: Class[_] = if (state != null) state.getClass else null
    var found = false
    while (temp != null && !found) {
      found = temp.getName == "org.apache.hadoop.hive.cli.CliSessionState"
      temp = temp.getSuperclass
    }
    found
  }

  // create or reuse session state according to the `clientLoader.isolationOn`
  val state: SessionState = {
    if (clientLoader.isolationOn) {
        newState()
    } else {
       SessionState.get
    }
  }

 // get conf from session state
  def conf: HiveConf = {
    val hiveConf = state.getConf
  }

 // create Hive client from conf
  private def client: Hive = {
    if (clientLoader.cachedHive != null) {
      clientLoader.cachedHive.asInstanceOf[Hive]
    } else {
      val c = getHive(conf)
      clientLoader.cachedHive = c
      c
    }
  }

DON'T use spark-sql to test the hive-related stuff, there are a lot of tricky inside, is it reproducible with spark-shell

It can't be reproduced with spark-shell

KSHC does not work well with spark-sql is a known issue, we don't have a plan to fix it on the Kyuubi side, because we treat it as a Spark side issue.
Kyuubi is a full drop-in replacement of spark-sql.
spark-sql ==> beeline => kyuubi => spark driver (client or cluster mode)

Close as not planned


Add support for monitor deletion

@pashap Please take a look

Looks good @jhaals, thanks for fixing the errback indentation too.


If a user un-installs Chrome, the cached auth token still exists

After a user un-installs Chrome from Drive, the App will still think it has an oauth token, because the token is cached.  So Chrome App will not prompt the user to re-install.
This is a minor bug since we don't expect people to uninstall.

This version of colaboratory is no longer supported, please switch to https://colab.research.google.com.


i can't edit in Visual Studio Code

Type: Performance Issue
i can't edit in Visual Studio Code anything I do visual studio Code show me you cannot edit
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.22635
Modes:
Connection to 'tanuj' could not be established  WebSocket close with status code 1006

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 x 1190)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.77GB (2.49GB free)

Process Argv
--crash-reporter-id 1eb96276-ddf8-45cf-9ff6-e2247f61287a

Screen Reader
no

VM
0%

Connection to 'tanuj' could not be established  WebSocket close with status code 1006

Process Info
CPU %	Mem MB	   PID	Process
    0	    94	 14268	code main
    0	   135	  2744	   gpu-process
    0	    38	  6664	   utility-network-service
    0	    96	  8440	shared-process
    0	    93	  9308	window [2] (Issue Reporter)
    0	    26	 10524	   crashpad-handler
    0	    74	 11928	fileWatcher [1]
    0	   101	 14184	extensionHost [1]
    0	   160	 14552	window [1] (Welcome - Visual Studio Code)
Connection to 'tanuj' could not be established  WebSocket close with status code 1006

Workspace Info

Connection to 'tanuj' could not be established  WebSocket close with status code 1006;

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30880073
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
89544117:30613380
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialog:30887143
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixtcf:30871695
pythonregdiag2:30871582
pyreplss1:30886140
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30885898
pythontbext0:30879054
dsvsc016cf:30886111
dsvsc017cf:30886113
dsvsc018cf:30886115
aa_t_chat:30882232

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


More security options is not an option

Unlinking GItHub account says to select "More security options" but this is not an available option.
[Enter feedback here]

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

ID: 1d9c21c0-7587-fb94-2ef7-9abd48fcad2b
Version Independent ID: 970392f5-4e9a-6cd9-c450-4e2e00699775
Content: Signing in to Visual Studio subscriptions with your GitHub account
Content Source: subscriptions/sign-in-github.md
Product: visual-studio-family
Technology: vs-subscriptions
GitHub Login: @evanwindom
Microsoft Alias: v-evwin

@peter-bain -- thank you for your feedback.
@evanwindom -- please look into this issue.
cc @TerryGLee for awareness

@peter-bain -- Thanks for pointing this out.  It looks like the UI on the account management page has changed a little bit.  The option you're looking for if you want to unlink a GitHub account is "Advanced support options" instead of the "more support options mentioned in the FAQ.  I've submitted an appropriate change.  Thanks again for the report.

#please-close


Unix build file template: symlink "simple" to "full" shlib selectively

On Unix-like platforms where the shared library comes in a form with
and a form without SO version number, the one without is symbolically
linked to the one with.
However, we have Unix-like platforms where we don't deal with SO
version numbers, and where the "simple" shlib thereby ends up being
symbolically linked to itself.  A simple check of the two shlib file
names is enough to ensure that we only do the symbolic link when
actually necessary.

Interestingly enough, this is done correctly albeit a little differently in 1.1.1.  It seems that when changes happened in master, this particular check was dropped along the way...  so this is a restauration PR

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.


Filter out GIF

based on #123 and @tilltue reply, I was trying to filter the GIF type media as i don't want to show them to the users.
I use the following code for that:
        var config = TLPhotosPickerConfigure()
        let options = config.fetchOption ?? PHFetchOptions()

        options.sortDescriptors = [NSSortDescriptor(key: "creationDate", ascending: false)]

        if #available(iOS 11.0, *) {
            options.predicate = NSPredicate(format: "playbackStyle != %d", PHAsset.PlaybackStyle.imageAnimated.rawValue)
        } else {
//        options.predicate = NSPredicate(format: "uniformTypeIdentifier == %@", kUTTypeGIF as String)
        }
        config.fetchOption = options

Unfortunately for lower than iOS 11 i cannot find the solution to filter out GIF medias as i cannot use NSPredicate(block:) and via NSPredicate(format:) i cannot fetch the value for key "uniformTypeIdentifier".
Is there anyone who has a solution for that?
PS: NSPredicate(block:), can't be used because the library append other String format predicate after the block predicate which mess up the block predicate

@omerCoosto
As I know it, can't filter the gif file.
https://github.com/tilltue/TLPhotoPicker/issues/145


Live Reload on IOS emulator

Hi,
some problems with live-reload on my iphone simulator:
I follow your
https://github.com/caiobiodere/cordova-template-framework7-vue-webpack#warning-for-linux-and-mac-os-users

WARNING (For Linux and Mac OS users):
For live-reload i can't find easy way to do fixed version of this. But you can develop your app with this way: cordova platform add ios browser (browser needs for development in live-reload mode.)
cordova run ios -- --lr (wait till app opens in your ios emulator or phone. it will close console output after publish, so live-reload will not work. don't close the app and go to next step.)
cordova run browser -- --lr (you can use live-reload in your phone-emulator and browser at same time. you can edit your files in live-reload mode now.)

but when I start "cordova run browser - --lr" obviously the answer is as follows:
"Error: listen EADDRINUSE <IP_ADDRESS>:8081".
Can you help me please. I would need the live reload also in the emulator.
Thanks and regards.

I tried this way:

phonegap run ios -- --lr
cordova run browser -- --lr

it seems to work.

This is probably because you already had one listener with 8081 on your list like they said to you (EADDRINUSE).
You could use this guide when that happens:

(Find out the process ID (PID) which is occupying the port number (e.g., 8081) you would like to free)
sudo lsof -i :8081

Kill the process which is currently using the port using its PID
sudo kill -9 PID

Hi, I'm experiencing pretty much the same issue. I understand the nature of the error etc.
In my case, every call to cordova run will setup a dev server listening on :8081. However, the command exits after running the selected environment (is this normal?) and the only option I can think of to stop the server process is the one listed above - killing through it's PID. When working on npm/webpack projects it is rather common to have a live process bound to cli after running npm run dev that you can terminate through e.g. ctrl + c.


fix: populate default values for contract_metadata

Add #[darling(default)] attribute for link and version to make it possible to derive them from env:
#[near(contract_metadata(standard(standard = "nep141", version = "1.0.0")))
struct Contract {}

As current implementation returns an error:
error: expected an expression
 │   --> src/lib.rs:49:1
 │    |
 │ 49 | / #[near(
 │ 50 | |     contract_state,
 │ 51 | |     contract_metadata(standard(standard = "nep141", version = "1.0.0"))
 │ 52 | | )]
 │    | |__^
 │    |
 │    = note: this error originates in the attribute macro `near` (in Nightly builds, run with -Z macro-backtrace for more info)
 │
 │ error[E0425]: cannot find value `CONTRACT_SOURCE_METADATA` in this scope
 │   -->src/lib.rs:49:1
 │    |
 │ 49 | / #[near(
 │ 50 | |     contract_state,
 │ 51 | |     contract_metadata(standard(standard = "nep141", version = "1.0.0"))
 │ 52 | | )]
 │    | |__^ not found in this scope
 │    |
 │    = note: this error originates in the attribute macro `::near_sdk::near_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)

/compare

/compare

Hey, first of all, thanks for the contribution.
Please provide example to see how it helps. It would be nice to have a test repo with test contract to make review faster

@mitinarseny can you add a unit test, demonstrating how parsing changes prior and after the change? It appears that both with darling(default) and without it a missing link or version are parsed as None, so there's not much changed with this pr. A unit test would help to clarify this


Readme, removed dead link to testing

I was looking for docs on testing.. This looks like there were testing docs once, what happend 😅 ?
Anyway, I was running into problems testing my app since mainStore is a global.. I'll search stackoverflow in the meantime

Codecov Report

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

@@          Coverage Diff          @@
##           master   #280   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         153    153
=====================================
  Hits          153    153

Continue to review full report at Codecov.

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

Oh, good catch! Thanks! Search the Issues tab here where we've covered some test questions in the past, or come to the Gitter chat!

Oh, good catch! Thanks! Search the Issues tab here where we've covered some test questions in the past, or come to the Gitter chat!

Thanks! Lets continue in the chat https://gitter.im/ReSwift/public?at=598a1f5b45fc67074607c02a


Deactivate Ehrenamtskarte beantragen in App

Is your feature request related to a problem? Please describe.
Since the implementation of the application process is not finished yet. The possibility to make an application inside the app should be disabled for now.
Describe the solution you'd like

Hide the "Ehrenamtskarte beantragen" button

I think for now to  just comment it out with a comment and issue id to readd it would be sufficient

This can also be done in the WebApps, for quicker deployment.

Good idea! We could also simply redirect /beantragen to https://www.lbe.bayern.de/engagement-anerkennen/ehrenamtskarte/antraege/index.php

open pr here : https://git.tuerantuer.org/DF/salt/pulls/56


Repeated password C loop, unable to connect to bitcoind: -28: Loading block index

I've tried searching and it seems there are others with similar issues, but I haven't been able to use their posts to solve my own issue. Using a Pi4 with 4GB, samsung T5 1TB SSD, official raspi 3A PSU, 32GB sandisk microSD. Took about 10+ days to DL the blockchain and associated lightning bits, so hoping I don't have to DL again.
The output for ./XXdebugLogs.sh is visible at this link
The display on the Pi says bitcoind is not running, loading block index. In the error logs, I'm suspicious of the following line, but I don't know how to remedy my situation:
LTND: unable to create chain control: unable to connect to bitcoind: -28: Loading block index...
Thanks for your help and insight!

Your node is reindexing (rolling forward). Will work when gets to the tip of the chain.

Thanks for your reply; In the meantime, I've done a proper shutdown via ./XXshutdown.sh to the white screen and then pull the plug. Is it simply a matter of waiting for this to catch up to the latest blocks? I've noticed this morning that the NOT RUNNING' screen now simply says LND IS LOCKED' or something to that effect. Will try restart now.

Ok, seems to be up and running now. Wasn't really clear that I simply needed to keep waiting. Thanks for the help!


Frontend server closing directly

When trying to serve the docs (from serve.jl generated with PkgTemplates) I get the following:
[ Info: Starting initial build...
[ Info: Starting frontend dev server at http://localhost:3000
[ Info: Done.
[ Info: Starting server...
✓ LiveServer listening on http://localhost:8000/ ...
  (use CTRL+C to shut down)
[ Info: Stopped frontend dev server

localhost:3000 returns nothing and 8000 shows this

The output of npm dev is hidden by the command; this is probably throwing an error. You can try going to the Pollen.FRONTEND_DIR directory and running npm dev manually to see if an error is shown.

I just had the same error.

The output of npm dev is hidden by the command; this is probably throwing an error. You can try going to the Pollen.FRONTEND_DIR directory and running npm dev manually to see if an error is shown.

When I follow these instructions, this is the result. I'm not sure what the next step is.
$ npm run dev

><EMAIL_ADDRESS>dev
> vite dev

file:///home/sethaxen/.julia/scratchspaces/c88717ad-5130-4874-a664-5a9aba5ec443/frontend/node_modules/vite/bin/vite.js:7
    await import('source-map-support').then((r) => r.default.install())
    ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
    at async link (internal/modules/esm/module_job.js:42:21)

In case it's useful, I did get some error upon the first run of servedocs:

julia> servedocs(ArviZJuliaDocs)
[ Info: Loading project configuration from /home/sethaxen/projects/ArviZJuliaDocs/docs
  Activating project at `~/projects/ArviZJuliaDocs/docs`
┌ Info: Downloading stork executable for Ubuntu 20.04. If you're using a different
└ Linux distribution, it may fail.
[ Info: Starting development server...
[ Info: Starting initial build...
[ Info: Cloning Pollen.jl frontend code from https://github.com/lorenzoh/pollenjl-frontend...
Cloning into '/home/sethaxen/.julia/scratchspaces/c88717ad-5130-4874-a664-5a9aba5ec443/frontend'...
remote: Enumerating objects: 2339, done.
remote: Counting objects: 100% (432/432), done.
remote: Compressing objects: 100% (253/253), done.
remote: Total 2339 (delta 229), reused 353 (delta 168), pack-reused 1907
Receiving objects: 100% (2339/2339), 6.97 MiB | 14.87 MiB/s, done.
Resolving deltas: 100% (1627/1627), done.

Already on 'main'
Your branch is up to date with 'origin/main'.
[ Info: Installing Pollen.jl frontend dependencies...
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
[ Info: Done.......] - extract:esbuild-linux-riscv64: sill extract<EMAIL_ADDRESS>extracted
[ Info: Starting server...
✓ LiveServer listening on http://localhost:8000/ ...d-numberformat: sill extract @formatjs/intl-unified-num
  (use CTRL+C to shut down)[            ......] - extract:@formatjs/intl-unified-numberformat: sill extract [            ......] | extract:esbuild-darwin-64: sill extract<EMAIL_ADDRESS>extracted to /home
npm WARN lifecycle The node binary used for scripts is /usr/bin/node but npm is using /home/sethaxen/.julia/artifacts/6460883d771aad2be8082172187a886c663a8a80/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

><EMAIL_ADDRESS>postinstall /home/sethaxen/.julia/scratchspaces/c88717ad-5130-4874-a664-5a9aba5ec443/frontend/node_modules/esbuild
> node install.js

><EMAIL_ADDRESS>postinstall /home/sethaxen/.julia/scratchspaces/c88717ad-5130-4874-a664-5a9aba5ec443/frontend/node_modules/svelte-preprocess
> echo "[svelte-preprocess] Don't forget to install the preprocessors packages that will be used: node-sass/sass, stylus, less, postcss & postcss-load-config, coffeescript, pug, etc..."

 Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!
  Activating project at `/tmp/jl_s3Vw4c`

julia> ^C

julia> servedocs(ArviZJuliaDocs)
[ Info: Loading project configuration from /home/sethaxen/projects/ArviZJuliaDocs/docs
  Activating project at `~/projects/ArviZJuliaDocs/docs`
[ Info: Starting development server...
[ Info: Starting initial build...
[ Info: Starting frontend dev server at http://localhost:5173
[ Info: Done.
[ Info: Starting server...
✓ LiveServer listening on http://localhost:8000/ ...
  (use CTRL+C to shut down)
[ Info: Stopped frontend dev server
^C[ Info: Shutting down server...
  Activating project at `/tmp/jl_s3Vw4c`

julia> servedocs(ArviZJuliaDocs)
[ Info: Loading project configuration from /home/sethaxen/projects/ArviZJuliaDocs/docs
  Activating project at `~/projects/ArviZJuliaDocs/docs`
[ Info: Starting development server...
[ Info: Starting initial build...
[ Info: Starting frontend dev server at http://localhost:5173
[ Info: Done.
[ Info: Starting server...
✓ LiveServer listening on http://localhost:8000/ ...
  (use CTRL+C to shut down)
[ Info: Stopped frontend dev server

It's funny I was just trying running this again starting from scratch. Aaaand I still have the same issue...


New route on network-planner.md

On Teams admin portal, the route of configure Network planner is changed to Planning>Network planner

[x] Content fix

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@LolaJacobsen PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

This was fixed in a different PR. Thanks for contributing!


Link official Debian package instead of openSUSE

Full disclosure: I'm the maintainer for the Debian zsh-antigen package.
Would it be possible to link to the official Debian package instead of the one from openSUSE build service?
It is not the latest version (1.3.4) in the stable release but I try to keep it up to date in the unstable branch of Debian.
Installation is as easy as running sudo apt install zsh-antigen.

Though it was being unmaintained. Gonna add it to the README together with openSUSE build service.
Thanks for the work maintaining the package!

Done. Updated README.md, added wiki page for Installation options, including Debian package. Thanks for the work maintaining it!
This is gonna be release tomorrow as v2.2.1


backup: do fill in the file size of each SST file in the response

What have you changed?
In the backup service, the BackupResponse contains the metadata of every SST file being archived. One of the metadata is the file size, but it was not filled in. This PR added this back.
What is the type of the changes?

Bugfix (a change which fixes an issue)

How is the PR tested?

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No
Does this PR affect tidb-ansible?
No
Refer to a related PR or issue link (optional)
pingcap/br#163
Benchmark result if necessary (optional)
Any examples? (optional)

PTAL @overvenus @5kbpers

PTAL @fredchenbj , thanks!

@overvenus The size field doesn't exist in release-3.1's kvproto.
https://github.com/pingcap/kvproto/blob/release-3.1/proto/backup.proto#L48-L62

Could you cherry-pick it into kvproto release-3.1?


Don't set system_qt option in build script

The build.ps1 script used to set the system_qt setting when calling
conan install. That's wrong because this settings should be set by
the conan profiles.
This change removes the settings which solves a problem when building
for Stadia on Windows.
@pierricgimmig : FYI, that's the fix to the problem you had as well.

Lgtm, thank you!

Thanks a lot for the quick review!


Support dynamic model names in the schema via env()

I need to make dynamic collection names based on project environment.
For example "local_users", "staging_users" or "live_users"
my schema.prisma code as follows:
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["filteredRelationCount"]
  binaryTargets   = ["debian-openssl-1.1.x", "rhel-openssl-1.0.x", "rhel-openssl-1.1.x", "native"]
}

datasource db {
  provider = "mongodb"
  url      = env("DB_URL")
}

model User {
  id         String   @id @default(auto()) @map("_id") @db.ObjectId
  name       String   @default("")
  email      String   @unique
  enabled    Boolean  @default(true)
  created_at DateTime @default(now())
  updated_at DateTime @default(now())

  @@map(env("USER_COLLECTION_NAME"))    // <====== here i unable to use env
}

when i run npx prisma generate i have got the following error:
> npx prisma generate;

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error: Schema validation error - Error (query-engine-node-api library)
Error code: P1012
error: Expected a string value, but received functional value `env("USER_COLLECTION_NAME")`.
  -->  schema.prisma:25
   |
24 |
25 |   @@map(env("USER_COLLECTION_NAME"))
   |

Validation Error Count: 1
[Context: getDmmf]

Prisma CLI Version : 4.6.1

Hi @bozlurrahman, dynamically renaming model names is not a feature Prisma supports at the moment, and is currently not in our planning. May I suggest an alternative approach that would work with the current version of Prisma? How about keeping the @@map'd model name static (e.g., user_collection), and preparing 3 different databases (one for local development, one for staging, one for live usage)? This way, you could keep the Prisma schema static, and you'd only need to update the DB_URL environment variable value in the datasource block.
Please let us know whether the proposed solution works for you, so we can close this issue :)

OK.
no problem
Thank you for your support with alternative planning.


Unsigned repo

Following Ubuntu instructions shows an unsigned repo so breaks on apt update etc..
Looking forward to using in either case thanks..

	Hi @cconstab

I'm currently working actively towards a better distribution of the binaries. The Ubuntu repository solution was always a bit unsatisfactory as the service I use for it is pretty cumbersome.
In the meantime, you should download the binaries directly from the GitHub releases. Sorry for the inconveniences, but once again, it's only temporary.
As I'm working actively on refactoring the user interface, features and code, I would advise using the 4.0.0 or 4.0.1 versions in the near future.
	Obtenez Outlook pour iOS

On Sun, Sep 8, 2019 at 11:34 AM +0900, "cconstab"<EMAIL_ADDRESS>wrote:
Following Ubuntu instructions shows an unsigned repo so breaks on apt update etc..
Looking forward to using in either case thanks..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Windows Support request

Please add support for windows
Or could someone build this project for windows?

I don't think there is anything in the code that would be platform-specific. You need to be more specific about your problem.

Please add support for windows
Or could someone build this project for windows?

see here： https://github.com/llychao/m3u8-downloader


How to work with generic handlers?

public class ListItemsRequestHandler<T> : IAsyncRequestHandler<ListItemsRequest<T>, ReadOnlyCollection<T>>
{
	public Task<ReadOnlyCollection<T>> Handle(ListItemsRequest<T> message)
	{
		return Task.FromResult(new ReadOnlyCollection<T>(new T[] { }));
	}
}

Then,
var message = new ListItemsRequest<UserGroup>();
var model = await Mediator.Send(message); // model is a ReadOnlyCollection<UserGroup>

Hmmmmm....I think this will depend on your container. What are you using?

.net Core, but it is bugged =\ The handler is being initialized twice =\ (https://github.com/jbogard/MediatR.Extensions.Microsoft.DependencyInjection/issues/3 )

@jbogard, @JCKodel
Any updates on this or https://github.com/jbogard/MediatR.Extensions.Microsoft.DependencyInjection/issues/3?
AFAIK .NET Core container untill 1.X could not work with that. What is the recommended approach nowadays?

The handler getting instantiated twice? That's been fixed in 4.0.

@jbogard Oh, sorry, I should have been clearer - I'm talking about generic handlers.
My perception is that in the end is about the container support. Since I couldn't find reliable information on the current state of this I wanted an quick update.

Oh sure! https://github.com/jbogard/MediatR/wiki/Container-Feature-Support

@jbogard I'm aware of this table 😄.
What is the feature on the table that translates to generic handler support though?

It's not really in the tests, but that's a partially closed generic type.
That isn't supported in ASP.NET Core DI, where you have to dig into the
generic parameters to close them first, then walk back up.
On Thu, Mar 1, 2018 at 10:25 AM, Thiago Majesk Goulart <
<EMAIL_ADDRESS>wrote:

@jbogard https://github.com/jbogard I'm aware of this table 😄.
What is the feature on the table that translates to generic handler
support though?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jbogard/MediatR/issues/131#issuecomment-369646990,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGYMtWKErMuW4_fOtHK6tirqUkrdselks5taCDegaJpZM4LyBVp
.


Basic responsive behavior

Basic responsive behavior
Added responsive behavior for the website. There's still some fine-tuning here and there, but the basic is there. I'll enhance the responsiveness later when working on other pages.
Responsive:
/Home, / Services, /search-engine-optimization and Mobile navigation
Note: To fix the carousel responsive I update the carousel width with the windows innerWidth, but I don't think it's the best way to do it. So I'll find a better way eventually! I'm pretty sure you have a better way, so let me know!

This one is probably my bad because I think I told you otherwise, but the mixins in _responsive.scss are actually mobile first. Can you rewrite your mobile adjustments as mobile first please? Would look like:
// Old code (desktop first)
h2 {
    font-size: 3.4375rem;
    line-height: 1.27em;
    margin-bottom: 4rem;
    @include breakpoint(sm-down) {
        margin-bottom:  2.8125rem;
        font-size: 2.1875rem;
    }
}

// New code (mobile first)
h2 {
    font-size: 2.1875rem;
    line-height: 1.27em;
    margin-bottom:  2.8125rem;
    @include breakpoint(sm) {
        font-size: 3.4375rem;
        margin-bottom:  4rem;
    }
}

I can take care of those changes also, no problem. Just let me know!

This one is probably my bad because I think I told you otherwise, but the mixins in _responsive.scss are actually mobile first. Can you rewrite your mobile adjustments as mobile first please? Would look like:
// Old code (desktop first)
h2 {
    font-size: 3.4375rem;
    line-height: 1.27em;
    margin-bottom: 4rem;
    @include breakpoint(sm-down) {
        margin-bottom:  2.8125rem;
        font-size: 2.1875rem;
    }
}

// New code (mobile first)
h2 {
    font-size: 2.1875rem;
    line-height: 1.27em;
    margin-bottom:  2.8125rem;
    @include breakpoint(sm) {
        font-size: 3.4375rem;
        margin-bottom:  4rem;
    }
}

I can take care of those changes also, no problem. Just let me know!

No problem, I'm on it!


Add update command

Fixes #116.

Codecov Report

Merging #117 into master will decrease coverage by 0.32%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
- Coverage   52.06%   51.73%   -0.33%
==========================================
  Files          52       53       +1
  Lines        1888     1900      +12
==========================================
  Hits          983      983
- Misses        879      891      +12
  Partials       26       26

Impacted Files
Coverage Δ

commands/command.go
65.45% <ø> (ø)
:arrow_up:

commands/update.go
0% <0%> (ø)

Continue to review full report at Codecov.

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

Thanks, appreciated :)


PaperUIManager: Make lazifyViewManagerConfig() less side-effecty

Summary:
Rationale
Functions that are less side-effecty are easier to reason about, and understand.
Now, the only side-effect lazifyViewManagerConfig does is mutate the viewConfig argument.
Changelog: [Internal]
Reviewed By: dmytrorykun
Differential Revision: D51987204

Closed as abandoned internally


Base64 encoded return data on wasm raw query REST endpoint

Closes #283

There are no REST tests...
Before I release, I will do a manual test. That is what I did last time (and did see this as json object, which I thought was good)

After one more patch, this works. Thanks for requesting the manual test
$ curl http://localhost:1317/wasm/contract/cosmos18vd8fpwxzck93qlwghaj6arh4p7c5n89uzcee5/raw/636f6e666967?encoding=hex
{
  "height": "114",
  "result": "eyJ2ZXJpZmllciI6Ii9hdXUybVRQdFFRbG1xTW9MQkNmYTlNK2NwST0iLCJiZW5lZmljaWFyeSI6ImV1RThBbXRmdkhNR3kvTnB4MStmVVBHL3lwZz0iLCJmdW5kZXIiOiJ2dHZHaENMR1VLOENIQWVmNWNrSEhaRXZJcGM9In0="
}```


Update Dockerfile

Update alpine version to 3.19 as 3.15 is no longer available, which breaks build. Tested build on arm64 to confirm it works.

Thanks for the PR but this is now obsoleted by https://github.com/jesseduffield/lazydocker/pull/561
Closing


Add Generic Terraria module

Adds a generic terraria module that has more configuration options than the builtin one

Related issue: https://github.com/CubeCoders/AMP/issues/592

I'm going to close this one since the feature request was declined. Of course, we can reopen if things change in that field.


fix: Make the InputWidget to validate with default text on page load

Description
Makes the input validation ignore the isDirty property if the default value is present. The goal was to do the validation against Default Text on page load.
Makes the defaultValue validation return string type value even if it is a number.
Fixes #7675
Fixes #8012
Fixes #7899
Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?
Manually tested:

Insert an InputWidget.
Add some validation logic
In the Default Text field, type some invalid value

Checklist:

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

Test coverage results :test_tube:
:white_circle: Total coverage has not changed
// Code coverage diff between base branch:release and head branch: fix/input-default-value-validation

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
app/client/src/widgets/InputWidget/widget/index.tsx
61.76 (0)
42.47 (0.8)
68.18 (0)
63.92 (0)

Closing this PR since the issues will be addressed as a V2 of input widget in #9119


Federated Modules: harmony import a package Miss ["default"] if the package shared

Bug report

What is the current behavior?
I installed a package named redux-register , and I just import it and print it, like this:
import Register from 'reudx-register'

alert(typeof Register); // function

Register is a function and Look at src_index_js.js that webpack created:
var redux_register__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux-register */ "./node_modules/redux-register/lib/index.js");
alert(typeof redux_register__WEBPACK_IMPORTED_MODULE_0__["default"]);

Because of redux-register was a esm package, therefore webpack add ["default"] automatically.
But, If i shared the package like this:
new webpack.container.ModuleFederationPlugin({
    runtime: 'test',
    shared: {
        'redux-register': {
            singleton: true,
        },
    },
}),

Register will be a object Module. because ["default"] was missing:
var redux_register__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux-register */ "webpack/sharing/consume/default/redux-register/redux-register");
alert(typeof redux_register__WEBPACK_IMPORTED_MODULE_0__ );

If the current behavior is a bug, please provide the steps to reproduce.
Reproducing repository: https://github.com/dexbol/module-federation-test .
npm install && npm run start

What is the expected behavior?
Whether or not using Module Federation shared package, the Register should be a function.

Other relevant information:
webpack version:  v5.82.0
Node.js version: v20.0.0
Operating System: MacOS
Additional tools: -

Duplicate of https://github.com/webpack/webpack/issues/16125, PR welcome


QQ shows version 0.15.0 when using 0.1.6

Hello and congrats on making such a useful tool!
In the cli there's still the older version. Maybe you forgot to bump it?

Yeah, I’m going to adjust it in next patch to more clearly link the version to release no. so I don’t make a mistake there again. 🤦

Going to bundle in a version fix and some form of mgmt of it w. an actual feature change

Hi @fermuch that is awesome thanks so much I'll need to give the AUR package an install sometime! I can link this in the readme re. the AUR package install or also feel free to make a pr regarding instructions if you want. PKGBuild looks good to me too.


context_processors: Extract keys from zulip_default_context for login.

These keys will be moved to login_context and then this method will
be called as required by views which render login.html or accounts_home.html
Closes #11929.
I'm not 100% sure if I did the partitioning of keys the right way and/or if the login_context was used everywhere it should have been. But I think that this is good enough to submit for a review now. I have reviewed it myself, but I can't shake a particular feeling of uncertainty.

One more thing I'd like to add is that there is this one url:
url(r'^accounts/login/', login, {'template_name': 'zerver/login.html'},
    name='django.contrib.auth.views.login'),

I didn't use the login_context here despite it using the zerver/login.html template.
Mainly because I'm not sure what {'template_name': 'zerver/login.html'} is doing there. I took a look at the Django source code and the function declaration and call/usage/invocation don't seem to add up. Any comments on this? I feel like I would need to pass the login_context here as well but I'm not sure of how...

A couple notes:

I think you can move require_email_format_usernames and password_auth_enabled as well.
I think we can move these;

'latest_release_version': LATEST_RELEASE_VERSION,
'latest_major_version': LATEST_MAJOR_VERSION,
'latest_release_announcement': LATEST_RELEASE_ANNOUNCEMENT,

to just the templates/zerver/hello.html context.
I think it's fine to not use login_context there.  For background, I think that code is a hack  to make the reverse() calls here still take you to /accounts/login, or something.
(zulip-py3-venv) tabbott@zaset:~/zulip$ git grep django.contrib.auth.views.login
templates/zerver/login.html:                                  action="{{ url('django.contrib.auth.views.login') }}?next={{ next }}">
templates/zerver/reset_done.html:
{% trans login_url=url('django.contrib.auth.views.login') %}Please log in with your new password.{% endtrans %}

zerver/views/auth.py:    login_url = reverse('django.contrib.auth.views.login')
zerver/views/registration.py:            return HttpResponseRedirect(reverse('django.contrib.auth.views.login') + '?email=' +
zerver/views/registration.py:                return HttpResponseRedirect(reverse('django.contrib.auth.views.login') + '?email=' +
zerver/views/registration.py:    login_url = reverse('django.contrib.auth.views.login')
zproject/urls.py:        name='django.contrib.auth.views.login'),

I'm pretty sure if we just changed all of those to reverse('zerver.views.auth.login_page') we could delete that urls.py entry; try doing that as it'd be a nice cleanup.

reverse() is the Django mechanism for looking up a URL by function name, so you can change URLs without having to touch all the code that accesses it.

I'm suspect if we just changed all of those to reverse('zerver.views.auth.login_page') we could delete that urls.py entry

Attempting to do this would result in:
Running zerver.tests.test_auth_backends.GitHubAuthBackendTest.test_social_auth_invalid_realm

======================================================================
FAIL: test_social_auth_invalid_realm (zerver.tests.test_auth_backends.GitHubAuthBackendTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zulip/zerver/tests/test_auth_backends.py", line 585, in test_social_auth_invalid_realm
    self.assertEqual(result.url, "/accounts/login/?subdomain=1")
AssertionError: '/devlogin/?subdomain=1' != '/accounts/login/?subdomain=1'
- /devlogin/?subdomain=1
?  ^^^
+ /accounts/login/?subdomain=1
?  ^^^^^^^^^

----------------------------------------------------------------------
Ran 11 tests in 0.516s

FAILED (failures=1)
Destroying test database for alias 'default'...

It seems like I could just update some of the tests a bit, but if it's not too important I'd rather leave it untouched.

@timabbott This should be ready for another round of review now :slightly_smiling_face:

Nice, I checked this pretty carefully and merged it as 8239a3514a6edccbb5c5b0f60412a31957dbd5fe, thanks @Hypro999!

BTW just to follow up on our discussion of the urls.py entry, I pushed 54915b76c70b0c094579197bc6a89bdb858aefd5 clarifying the comment.  I think a reasonable follow-up project would be to change all references to django.contrib.auth.views.login and then remove that second URL.


Issue with setting up using Docker

Hello Prof. Nguyen,
Below is the setup error I got using Docker:
PS C:\Users\yulez> git clone --depth 1 https://github.com/dynaroars/dig.git
Cloning into 'dig'...
remote: Enumerating objects: 789, done.
remote: Counting objects: 100% (789/789), done.
remote: Compressing objects: 100% (652/652), done.
remote: Total 789 (delta 174), reused 544 (delta 119), pack-reused 0
Receiving objects: 100% (789/789), 13.01 MiB | 34.08 MiB/s, done.
Resolving deltas: 100% (174/174), done.
PS C:\Users\yulez> cd dig
PS C:\Users\yulez\dig> docker build . -t='dig'
[+] Building 212.3s (19/23)
=> [internal] load build definition from Dockerfile                                                     0.1s
=> => transferring dockerfile: 3.12kB                                                                   0.0s
=> [internal] load .dockerignore                                                                        0.1s
=> => transferring context: 2B                                                                          0.0s
=> [internal] load metadata for docker.io/library/debian:buster                                         1.4s
=> [ 1/20] FROM docker.io/library/debian:buster@sha256:e6fb8b88b411285ac71590459aa8d0a376acc86a3d17adf  5.9s
=> => resolve docker.io/library/debian:buster@sha256:e6fb8b88b411285ac71590459aa8d0a376acc86a3d17adfe4  0.0s
=> => sha256:e6fb8b88b411285ac71590459aa8d0a376acc86a3d17adfe45e806f522c54cc3 984B / 984B               0.0s
=> => sha256:1487e24b974ca8b859de513d40c7f30606949c1fa1e4057df81b2dc1915edc6a 529B / 529B               0.0s
=> => sha256:528ac3ebe42095912dc3c246715e7544a939c974532e2da1b93d2557a41c4567 1.46kB / 1.46kB           0.0s
=> => sha256:620af4e91dbf80032eee9f1ff66a8b04119d7a329b2a13e007d69c8a0b337bf0 50.45MB / 50.45MB         3.2s
=> => extracting sha256:620af4e91dbf80032eee9f1ff66a8b04119d7a329b2a13e007d69c8a0b337bf0                2.1s
=> [internal] load build context                                                                        2.4s
=> => transferring context: 31.65MB                                                                     2.3s
=> [ 2/20] RUN apt-get update -y                                                                        3.6s
=> [ 3/20] RUN apt-get install -y build-essential git software-properties-common emacs ocaml ocamlbu  131.9s
=> [ 4/20] RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh               6.1s
=> [ 5/20] RUN bash ./Miniconda3-latest-Linux-x86_64.sh -b                                             13.3s
=> [ 6/20] RUN /root/miniconda3/bin/conda install sympy pip -y                                         12.0s
=> [ 7/20] RUN /root/miniconda3/bin/pip3 install z3-solver                                              7.4s
=> [ 8/20] RUN /root/miniconda3/bin/pip3 install beartype                                               2.5s
=> [ 9/20] COPY . /dig                                                                                0.2s
=> [10/20] WORKDIR /dig/EXTERNAL_FILES                                                                  0.0s
=> [11/20] RUN unzip develop.zip && mv cil-develop cil                                                  0.9s
=> [12/20] WORKDIR cil                                                                                0.0s
=> [13/20] RUN ./configure && make                                                                     26.1s
=> [14/20] WORKDIR /dig/src/ocaml                                                                       0.0s
=> ERROR [15/20] RUN make clean; make                                                                   0.6s

[15/20] RUN make clean; make:
#19 0.584 rm -f *.cmo *.cmi *.d *.cmx *.dx *.o instr.exe
#19 0.586 rm -rf *.pyc *.pyo
#19 0.590 Makefile:1: *** Recursive variable 'OCAML_OPTIONS' references itself (eventually).  Stop.

executor failed running [/bin/sh -c make clean; make]: exit code: 2

Hi,
I received the following error while docker building CIVL on Ubuntu 22.04.1 LTS x86_64.
Best,
~ Ferhat
docker build . -t='dig'
[+] Building 146.8s (18/22)
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 2.96kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/debian:buster                                                                                2.0s
 => [internal] load build context                                                                                0.3s
 => => transferring context: 31.64MB                                                                                0.3s
 => [ 1/19] FROM docker.io/library/debian:buster@sha256:233c3bbc892229c82da7231980d50adceba4db56a08c0b7053a4852782703459                         3.3s
 => => resolve docker.io/library/debian:buster@sha256:233c3bbc892229c82da7231980d50adceba4db56a08c0b7053a4852782703459                           0.0s
 => => sha256:acfe79482c3a2cbce0cecfec8f89b5121ab14597d882b38ef76b70efca7b2ac0 1.46kB / 1.46kB                                                   0.0s
 => => sha256:b2404786f3febb4866f85b0c8f52b0b0b94dfdb6543e94cd65f961c68f325ff7 50.45MB / 50.45MB                                                 1.6s
 => => sha256:233c3bbc892229c82da7231980d50adceba4db56a08c0b7053a4852782703459 984B / 984B                                                       0.0s
 => => sha256:b589ffbcc03bb272c9e0c0e699aedb2271a1ca65b2a3447057cbfd80d9eff9bf 529B / 529B                                                       0.0s
 => => extracting sha256:b2404786f3febb4866f85b0c8f52b0b0b94dfdb6543e94cd65f961c68f325ff7                                                        1.5s
 => [ 2/19] RUN apt-get update -y                                                                                3.1s
 => [ 3/19] RUN apt-get install -y build-essential git software-properties-common emacs ocaml ocamlbuild ocaml-findlib wget openjdk-11-jdk unz  86.3s
 => [ 4/19] RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh                                                       1.6s
 => [ 5/19] RUN bash ./Miniconda3-latest-Linux-x86_64.sh -b                                                                                6.8s
 => [ 6/19] RUN /root/miniconda3/bin/conda install sympy pip -y                                                                                7.8s
 => [ 7/19] RUN /root/miniconda3/bin/pip3 install z3-solver beartype                                                                             3.9s
 => [ 8/19] COPY . /dig                                                                                0.1s
 => [ 9/19] WORKDIR /dig/EXTERNAL_FILES                                                                                0.0s
 => [10/19] RUN unzip develop.zip && mv cil-develop cil                                                                                0.6s
 => [11/19] WORKDIR cil                                                                                0.0s
 => [12/19] RUN ./configure && make                                                                                30.8s
 => [13/19] WORKDIR /dig/src/ocaml                                                                                0.1s
 => ERROR [14/19] RUN make clean; make                                                                                0.4s
------
 > [14/19] RUN make clean; make:
#0 0.372 rm -f *.cmo *.cmi *.d *.cmx *.dx *.o instr.exe
#0 0.374 rm -rf *.pyc *.pyo
#0 0.378 Makefile:1: *** Recursive variable 'OCAML_OPTIONS' references itself (eventually).  Stop.
------
Dockerfile:33
--------------------
  31 |
  32 |     WORKDIR /dig/src/ocaml
  33 | >>> RUN make clean; make
  34 |
  35 |     ## CIVL
--------------------
ERROR: failed to solve: process "/bin/sh -c make clean; make" did not complete successfully: exit code: 2

Thanks for reporting.  I was able to reproduce this problem and fix it, but there are other issues arise mainly with Ocaml and Cil. Will try to find a work around as soon as I can.

Hi
I received the following error while building on Ubuntu 20.04.5 LTS x86_64.
docker build . -t='dig'
File "common.ml", line 1, characters 5-15:
Error: Unbound module GoblintCil
make: *** [Makefile:16: common.cmx] Error 2
Complete trace (rerun)
Sending build context to Docker daemon  32.24MB
Step 1/19 : FROM debian:buster
---> acfe79482c3a
Step 2/19 : RUN apt-get update -y
---> Using cache
---> bf5758f1e511
Step 3/19 : RUN apt-get install -y build-essential git software-properties-common emacs ocaml ocamlbuild ocaml-findlib wget openjdk-11-jdk unzip
---> Using cache
---> 88adb1373189
Step 4/19 : RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
---> Using cache
---> d32b696dbdbe
Step 5/19 : RUN bash ./Miniconda3-latest-Linux-x86_64.sh -b
---> Using cache
---> 267d6b9c313d
Step 6/19 : RUN /root/miniconda3/bin/conda install sympy pip -y
---> Using cache
---> b0bd83605887
Step 7/19 : RUN /root/miniconda3/bin/pip3 install z3-solver beartype
---> Using cache
---> 3c89e250ddf1
Step 8/19 : WORKDIR /
---> Using cache
---> bd611e606b6f
Step 9/19 : COPY . /dig
---> Using cache
---> 185f31231660
Step 10/19 : WORKDIR /dig/EXTERNAL_FILES
---> Using cache
---> 5583a67f244b
Step 11/19 : RUN unzip develop.zip && mv cil-develop cil
---> Using cache
---> 36c09313b91a
Step 12/19 : WORKDIR cil
---> Using cache
---> 19be1a7d7c33
Step 13/19 : RUN ./configure && make
---> Using cache
---> 4f9a4775ba3a
Step 14/19 : WORKDIR /dig/src/ocaml
---> Using cache
---> a001ab9d14ab
Step 15/19 : RUN make clean; make
---> Running in 44dec943d187
rm -f *.cmo *.cmi *.d *.cmx *.dx *.o instr.exe
rm -rf *.pyc *.pyo
ocamlopt                        -I /usr/lib/ocaml/goblint-cil/ -I /usr/lib/ocaml/zarith/  -c common.ml
File "common.ml", line 1, characters 5-15:
Error: Unbound module GoblintCil
make: *** [Makefile:16: common.cmx] Error 2
If there are some prospective fixes I can try on my end, please let me know.
Regards
Aniket

Issue should be fixed with https://github.com/dynaroars/dig/commit/d5caabcbef2f3e561ac78a92629b5e1c527b0c5a


adjusted repo type to support json input

fixed issue with repo_origin and any fields with_not populating with createRepo

Looks good


Bug with arguments in call stack

Basically you get wrong argument values, when you need more then 6 of them. I am not sure, that this is exact condition, but in code it looks like it.
I will try to solve it, but may not fix it, so i will create issue in here.

Btw that typo wasnt it, i thought it was in compiler.visit_call_expr in reverse if more then 6 args

Ok. i think we not even using call stack bruh. We only have registers

@darealvenum Ok, it ust generates wrong asm, fix it


[ECS] Refactored from json.RawMessage to ECSTargetGroup struct

What this PR does / why we need it:
Internal refactoring.
For pipectl init command and ECS redesigning, it's more convenient to have struct than json.RawMessage.
Which issue(s) this PR fixes:
no
Does this PR introduce a user-facing change?:  no

How are users affected by this change: no
Is this breaking change: no
How to migrate (if breaking change): no

/review

I don't have a strong opinion about this change. The current implementation uses json.RawMessage is due to the fact that we would keep it changeable. But since we're redesigning the whole ECS configuration, maybe changing this doesn't make too much sense 🤔 wdyt? @t-kikuc cc @ffjlabo

@khanhtc1202
IMO, I agree to refactor it.
It looks like it is for the implementation of pipectl init. Maybe a concrete type is needed when creating config file, right? @t-kikuc

@khanhtc1202

It looks like it is for the implementation of pipectl init. Maybe a concrete type is needed when creating config file, right?

Yes!  Thanks @ffjlabo
We can decide the ECSTargetGroupObject's fields as the doc below, and we can modify if needed in the future.
https://pipecd.dev/docs-v0.45.x/user-guide/configuration-reference/#ecstargetgroupobject
Besides, I would not modify the ECSTargetGroupObject itself soon for redesigning ECS.


Use type-level programming instead of macros for adc

The existing adc modules use macros to be generic over the ADC
peripheral. Update the code to use type-level programming techniques
instead, but do so in a backwards-compatible way.
Checklist

[ ] CHANGELOG.md for the BSP or HAL updated
[ ] All new or modified code is well documented, especially public items
[ ] No new warnings or clippy suggestions have been introduced (see CI or check locally)

If you want to get more aggressive with the refactor, I see a lot of areas where this module could be cleaned up and simplified. But for now, I wanted to keep everything backwards-compatible.

@wembly, it sounds like you were able to get something working for thumbv6m. If so, feel free to make a PR to this branch on my repo, and I'll merge it in. Then we can get a review fromsomeone else for the whole package.


.gd files  changed unexpectedly on running a project

Godot version
3.4.2
System information
Windows 10 GLES3
Issue description
I'm learning Godot and I downloaded an example project from GitHub
https://github.com/CadanoX/Godot-Slot-Machine
After I run it it gives me the error: "mixed tabs and spacing in indentation." And it does not start.
I see that the original files from GitHub are indented using spaces only.
When I RUN the project it seems that Godot adds some tabs under the ifs autonomously.
I think that a program don't have the rights to change files autonomously but only to give errors if the file is not correct..
Steps to reproduce
1)Download the Github project as a zip
https://github.com/CadanoX/Godot-Slot-Machine
2)Open SlotMachine.gd with notepad++ and enable "display Spaces and tabulations"
As you can see the file is paced indented only, leave it opened
3) Import the project in godot
4) Run it
5) Project don't start but gives "Mixed tabs and spacing in indentation" error
6) Notepad++ states that the files have been modified and ask to reload it
7) Reload the file and you can see that Godot modified the file..
According to me Godot should only tell the User that something is wrong but should not touch the files on loading.
I tried fixing the files but Godot keeps changing them. It only likes tabs indentation and in that case it leaves them untouched..
Minimal reproduction project
https://github.com/CadanoX/Godot-Slot-Machine

This happens because Godot's default Editor Settings are:

text_editor/indent/convert_indent_on_save: enabled
text_editor/indent/type: Tabs
text_editor/indent/size: 4

So it automatically converts 4 spaces to one tab.
You can solve it by disabling convert_indent_on_save, or by changing the indent type to 2 Spaces to match that project's convention.

@Paulb23 Do you think we could make Convert Indent on Save cleverer in such cases to avoid breakage?
Or should we disable it by default (and maybe add a "Strip Trailing Whitespace" instead that could be enabled by default).
Also related: https://github.com/godotengine/godot-proposals/issues/3525, which would make Convert Indent on Save mostly irrelevant (never got to finish my implementation)

Or should we disable it by default (and maybe add a "Strip Trailing Whitespace" instead that could be enabled by default).

This option already exists, but it's disabled by default. Enabling it by default makes sense, but it can reduce productivity due to https://github.com/godotengine/godot-proposals/issues/3229.

Juist got bitten by this after installing 3.5 from 3.4.5...
I'm at a loss here: shouldn't it convert ALL spaces to tabs, or ALL tabs to spaces? Why some tabs (default) are apparently randomly added/replaced but only on some lines, if the setting is called convert_indent_on_save?

Adding to this issue, this is breaking .github/workflows/*.yml files when saving / reloading / opening projects.
The yml indentation is broken by godot as it doesn't not allow you to select "preserve original", it's only spaces or tabs.
Additionally this would be a lot easier to handle if we had a "ignore files of type: x,y,z" where you can instruct godot on a project base to ignore files of X types completely.


Added shortcuts to move cursor to editor groups

This change adds keyboard shortcuts to jump cursor to 1st, 2nd and 3rd editor groups.
On all 3 platforms, this makes the shortcut ctrl+<number> where <number> is 1-3. Based on docs, that's already the default on windows and linux so it felt redundant but I added mappings for those anyways.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: psalaets sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

LGTM


Add invalid register highlighting

This is a very minor change / feature that displays a register as an Error type if an incorrect register index has been used, (e.g. x82 or x04)
If you like the addition, I'll implement this for the other register types too, but no worries if not.

Hi! Thank you for this MR and I apologize for the delay in responding. I would greatly appreciate this kind of highlighting! Thank you so much for the draft and I look forward to merging the complete MR!

Fantastic, I've now implemented this for the other registers too, so everything should be good to go.