Usage question

How would I go about using this tool from the shell?
python --version
Python 3.9.5

echo -e 'alfa' | ./base45 --encode
Traceback (most recent call last):
  File "/home/c0rn3j/.local/bin/./base45", line 8, in <module>
    sys.exit(main())
  File "/home/c0rn3j/.local/lib/python3.9/site-packages/base45/cli.py", line 25, in main
    sys.stdout.write(b45encode(data))
TypeError: write() argument must be str, not bytes

cat cert | ./base45 --decode
Traceback (most recent call last):
  File "/home/c0rn3j/.local/lib/python3.9/site-packages/base45/__init__.py", line 32, in b45decode
    buf = [BASE45_CHARSET.index(c) for c in s]
  File "/home/c0rn3j/.local/lib/python3.9/site-packages/base45/__init__.py", line 32, in <listcomp>
    buf = [BASE45_CHARSET.index(c) for c in s]
ValueError: substring not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/c0rn3j/.local/bin/./base45", line 8, in <module>
    sys.exit(main())
  File "/home/c0rn3j/.local/lib/python3.9/site-packages/base45/cli.py", line 28, in main
    sys.stdout.buffer.write(b45decode(data.decode()))
  File "/home/c0rn3j/.local/lib/python3.9/site-packages/base45/__init__.py", line 45, in b45decode
    raise ValueError("Invalid base45 string")
ValueError: Invalid base45 string

cert contents
HC1:NCFOXN%TS3DH3ZSUZK+.V0ETD%65NL-AH-R6IOO6+IUKRG*I.I5BROCWAAT4V22F/8X*G3M9JUPY0BX/KR96R/S09T./0LWTKD33236J3TA3M*4VV2 73-E3GG396B-43O058YIB73A*G3W19UEBY5:PI0EGSP4*2DN43U*0CEBQ/GXQFY73CIBC:G 7376BXBJBAJ UNFMJCRN0H3PQN*E33H3OA70M3FMJIJN523.K5QZ4A+2XEN QT QTHC31M3+E32R44$28A9H0D3ZCL4JMYAZ+S-A5$XKX6T2YC 35H/ITX8GL2-LH/CJTK96L6SR9MU9RFGJA6Q3QR$P2OIC0JVLA8J3ET3:H3A+2+33U SAAUOT3TPTO4UBZIC0JKQTL*QDKBO.AI9BVYTOCFOPS4IJCOT0$89NT2V457U8+9W2KQ-7LF9-DF07U$B97JJ1D7WKP/HLIJLRKF1MFHJP7NVDEBU1J*Z222E.GJF67Z JA6B.38O4BH*HB0EGLE2%V -3O+J3.PI2G:M1SSP2Y3D38-G9C+Q3OT/.J1CDLKOYUV5C3W1A:75S4LB:6REPKM3ZYO4+QDNDLT2*ESLIH

Fixed in 4f19df4a4434c4fdb138142bb5d84a7029623bdb.
This now works: echo "foo" | base45 --encode | base45 --decode

Please keep in mind that it is only the data after HC1:" that is base45 encoded, not the HC1:` preamble.

Thanks!
There's still a small issue - the tool can't handle dealing with a final newline in a file
echo "foo" | ./base45 --encode > /tmp/test && echo >> /tmp/test && cat /tmp/test |  ./base45 --decode

Ah, I've fixed so it will strip the string before parsing. The CLI is just a tool, if one want more features direct library use is recommended.


Dev/string

Implement String class for text manipulation.
Implement compile-time parsing format for Python, Rust-like string formating.
Implement File class for file IO.

fmtlib/fmt is C++ and no STL.
Need to fork the library and port for efp::String


training log

Could you please provide the training log or part of the training log information? I want to know how long it takes for a training session. Thank you!

Detection training takes 35 hours and segmentation takes 25 hours, both on 8 NVIDIA A6000 GPUs.


Opening list in ComboBox causes layout side effects

Describe the bug
When clicking in a ComboBox in order to display list of choices, any immediately adjacent control to the right "disappears" until a selection is made when it reappears.
Steps to reproduce the bug
I assumed the adjacent control didn't disappear, but was just hidden. If I examine the ComboBox ActualWidth property while no list is showing it's 321.6. If I then click the list, the ActualWidth is reduced to 64. After making a selection, the ActualWidth is once again 321.6 so clearly the size is changing and thus causing the adjacent control to be hidden behind the ComboBox while list is open.
Create a Grid with two Auto width columns: column 0 is a ComboBox and column 1 is a ToggleSwitch. Set the source of the ComboBox to show a list of strings each of maybe 20 characters. When run, you can see the ComboBox on left and ToggleSwitch on the right. Now click in ComboBox. List will appear overlaying the combo box, but the ToggleSwitch cannot be seen. It appears to be happening because the width of the ComboBox is being reduced while the list is open, thus affecting the layout.
Expected behavior
Clearly displaying the combo box list shouldn't affect layout.
Screenshots
No response
NuGet package version
No response
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
Windows 11 (21H2): Build 22000
Additional context
No response

@gwalschlager I would try adding a MaxWidth to the ComboBox to avoid this behavior

This behavior is present in WinUI 2.x as well. This should not require any changes from the user to avoid it.


Broker randomly is unable to connect to etcd svc

Bug:
What happened:
I am seeing some apbs unexpectedly gone, previously I saw all the apbs, but after sometime they disappear, and after sometime again they come back.
Some logs from the apb pod
[2018-05-11T07:58:24.69Z] [ERROR] - Something went real bad trying to delete batch specs... - client: endpoint https://asb-etcd.ansible-service-broker.svc:2379 exceeded header timeout
[2018-05-11T07:58:24.69Z] [ERROR] - Failed to bootstrap
[2018-05-11T07:58:24.69Z] [ERROR] - client: endpoint https://asb-etcd.ansible-service-broker.svc:2379 exceeded header timeout

After this log mostly, some apb disappear for a while
What you expected to happen:
No to disappear randomly
How to reproduce it:
Not reproducible in a pattern, but occurs randomly from time to time

I think this is related to https://github.com/openshift/ansible-service-broker/issues/876
Workaround is:
oc annotate route -n ansible-service-broker asb-etcd --overwrite haproxy.router.openshift.io/timeout=300s

Closing this and we'll continue to track in #876.  Feel free to reopen if you disagree.


Flyover: update delegate method

Use new delegate method to update the transformation matrix.
2 reasons:
This allows us to switch from reality kit to ARKit easily with this code:
//typealias ARViewType = RealityKit.ARView
typealias ARViewType = ARSCNView

And it also allows our draw method to rely on frame state that is passed directly to the delegate method instead of querying it from the session.

The transform needed to be rotated for the interface orientation. I've fixed that. Please review

closing in favor of #443


[FLINK-15012][checkpoint] Introduce shutdown to CheckpointStorageCoordinatorView to clean up checkpoint directory.

What is the purpose of the change
Even we enable ExternalizedCheckpointCleanup.DELETE_ON_CANCELLATION, current job level checkpoint directory and its sub-directory shared and taskowned would still left on job cancellation.
Introduce shutdown to CheckpointStorageCoordinatorView to clean up these checkpoint directories which created by itself.
Brief change log

Introduce new inerfaces ofsetCheckpointProperties and shutdown to CheckpointStorageCoordinatorView.
Make some getters in CheckpointProperties as public.
Add documentation to warn users not to set savepoint target directory as the same as the checkpoint directory.

Verifying this change
This change added tests and can be verified as follows:

Added testShutDownStorageOnNeverRetain, testShutDownStorageOnRetainWhenCanceled and testShutDownStorageOnRetainWhenFailed to AbstractFileCheckpointStorageTestBase

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? docs

@StephanEwen @pnowojski Can some some one take a review? thanks.

@carp84 Really thanks for your kind review!
I have accepted most your comments. After I think for a while, I decided to not discard checkpoint directories on SUSPENDED job status which is only local terminal status. We could refer to job-status doc to know that:

Consequently, a job which reaches the suspended state won’t be completely cleaned up.

@carp84 , after reading FLINK-5007 which introduce discardOnSuspended, I think we would not allow to discard checkpoint for HA case and could discard them on suspened for non-HA cases. However, current checkpoint storage only know whether it could support high available but not know whether it serves high availability now.
To not discard checkpoints by mistake, I will not let checkpoint storage to discard on job suspended, and I think we would introduce HA related information to checkpoint storage in another story to handle this situation better.

I am not sure whether we should make it the responsibility of the checkpoint storage to understand when checkpoints can be deleted and when not. Meaning, evaluating the combination of JobStatus and CheckpointProperties. I would think that this is responsibility of the checkpoint coordinator, and the storage simply removes directories when told so. Otherwise, each storage would either implement the same logic (duplication) or have leftover data in different scenarios (inconsistency).

Should we make the directory cleanup NON recursive? That might be the safer option.
Given that we only want the parent/container directories removed, non-recursive delete should be fine.
If something is still in those directories, it may be unsafe to delete them. Maybe a retained checkpoint from a previous job? Maybe an incremental safepoint in the future? It may be dangerous to assume that at shutdown time, all data in these directories can be deleted.
If we see left-over data because checkpoints failed to clean up properly, then the shutdown part may not be the right place to clean this up, because it has too little information to know if this truly safe to be deleted. For that we need some "cleanup safety nets" that understand which shared files are still referenced, which checkpoints have been discarded (up to which point).

@StephanEwen , I think it could be okay to delete directories with JobStatus and CheckpointProperties as current implementations of checkpoint store and checkpoint id counter all have their own responsibility to decide whether to discard checkpoints. In my point of view, checkpoint storage should have similar responsibility ownership compared with checkpoint store. I prefer each storage could have their own implementation to discard its directories to offer agility.
When talking about cleanup without recursive. I think your assumptions might not happen in real environment as previous job would always have a different job-id sub-directory which is definitely not the same as current job. We would only at most clean up the parent directory at job-id level and I think we would not cleanup other or previous jobs.
Moreover, for HDFS (or non-object storage), the directory could only be discarded if empty. However, we often come across problem that checkpoint coordinator deletes files not so fast which lead the sub-directory is not exactly empty. In the end, we cannot ensure the directory could be cleaned up as expected.
To make cleanup more safer, we could add documentation to not set savepoint target location under the job-id sub-directory. What do you think?

@StephanEwen , I think it could be okay to delete directories with JobStatus and CheckpointProperties as current implementations of checkpoint store and checkpoint id counter all have their own responsibility to decide whether to discard checkpoints. In my point of view, checkpoint storage should have similar responsibility ownership compared with checkpoint store. I prefer each storage could have their own implementation to discard its directories to offer agility.

I don't agree here. This really sounds to me like both making abstractions harder for the future and inconsistencies waiting to happen.
Can there be a case in which different storages behave differently? Can it be that a storage would retain data when "Job=Canceled" and "Properties=NeverRetain", but delete them when "Job=Canceled" and "Properties=RetainOnFailure"?
About the "checkpoint id counter": That one has a pretty clear life cycle: exactly that of the job, no ZK data should be left when the job finishes/cancels/fails. No retention policies or so. The JobStatus there is only to differentiate between shutdown-without-delete (suspend = lost leadership) and shutdown-with-delete. Arguable, that should actually be a boolean flag, not passing the JobStatus.

When talking about cleanup without recursive. I think your assumptions might not happen in real environment as previous job would always have a different job-id sub-directory which is definitely not the same as current job. We would only at most clean up the parent directory at job-id level and I think we would not cleanup other or previous jobs.

That sounds exactly right, we should not try and clean up data from a previous job. That risks data loss in certain setups, when users configure the setup in an "unconventional way".
Moreover, for HDFS (or non-object storage), the directory could only be discarded if empty. However, we often come across problem that checkpoint coordinator deletes files not so fast which lead the sub-directory is not exactly empty. In the end, we cannot ensure the directory could be cleaned up as expected.
To make cleanup more safer, we could add documentation to not set savepoint target location under the job-id sub-directory. What do you think?
I am not quite convinced here as well. This sounds again like risking data loss when users make a setup error. "Fixing by documentation" is often not preventing these things.
What about "incremental savepoints" in the future? They would leave data in the "shared" directory.

Refactor this PR with two commits:

Introduce shutdown to CheckpointStorageCoordinatorView to clean up checkpoint directory.
Introduce cleanup-storage-directories-recursively option to CheckpointConfig.
We would not delete files recursively be default. However, as we might often meet "not empty" exception due to orphan or not-ready-to-discard files, we should provide option for users to remove directories recursively.

@flinkbot run azure

@flinkbot run travis
@flinkbot run azure

It seems the flinkbot command triggers build against old commit 2139ea4... Let's issue no more command to see whether the build against latest commit 31d15b2 could be scheduled successfully.

Thanks for making another pass over this.
Making the cleanup behavior configurable is a compromise, I guess. If many others in the community find this a valuable feature, I am okay with having this, even though I am personally a bit skeptical about features that can lead to "tricky surprises".
What I would push for is having very clear docs for this, as part of this PR, so we can be sure we don't forget about them:

A section on the checkpointing docs describing the cleanup behavior, with a big warning that recursive cleanup can lead to problems if

you have savepoints in the same directory as checkpoints
you start a new job with retained checkpoints of another job

The description for the config option should link to the documentation.

There are a few code changes I would suggest:
(1) Whether cleanup is recursive or now is a feature specific to the file checkpoint storage. The CheckpointCoordinator is oblivious to the existence of directories.
The division of responsibilities should be as follows:

The CheckpointCoordinator descides whether to clean up (compare JobStatus with CheckpointProperties) and calls storage.shutdownAndCleanup() if necessary.
The AbstractFsCheckpointStorage has the notion what that cleanup means, meaning it has the isCleanupRecursievFlag.
The config option should also be scoped to FS storage, not to checkpoints in general. Something like 'state.backend.fs.cleanup.recursive'.

(2) The cleanup is an I/O operation and one that can take very long, so we cannot run it in the main RPC threads.

Especially recursive cleanup can take long, because for many FileSystems/ObjectStores this does effectively mean enumerating all files/objects under the directory/prefix and issuing a separate delete call. Those can be 100s or 1000s, taking many seconds to even minutes.
We could need to run somewhere else, like the I/O executor. Passing an I/O executor to the "shutdown" methods would be a start.
We then have the issue that shutdown does not wait for the operation to be finished, so the Checkpoint Coordinator becomes a component that shuts down asynchronously (shutdown method returns a CompletableFuture<Void> that completes when shutdown is complete). That needs to be integrated with JobMaster shutdown.
Alternatively, we can try and move the shutdown of the CheckpointStorageLocation to the shutdown of the JobMaster which already supports asynchronous shutdown.

@StefanRRichter Thanks for your review and suggestions!
The reason why I still want to introduce the option to let checkpoint directories could be deleted recursively is observed from actual job-running results. We cannot ensure all the files in the checkpoint directory has been removed before we just to remove the directory, FLINK-17073 describes a user case in which those older checkpoints have not been subsumed in time.
I agree to move the configuration into checkpoint storage scope, and I prefer to name that as state.checkpoints.cleanup.recursive as checkpoint directories are not only used in fs state backend.
I'll update this PR to make the IO operation asynchronously recently, and thanks for your review again!

@StephanEwen , I planed to complete requests by introducing async discard in checkpoint storage first in the past days, however, a very urgent and unexpected internal deadline breaks my previous schedule. Sorry for not creating promised commits in the past days.
When talking about next changes, after discussed with @zhuzhurk offline, it was not so clear for me to move the shutdown of the CheckpointStorage to the shutdown of the JobMaster. We thought it was refer to current implementation of Dispatcher#cleanUpJobData, and I would add new interface to expose CheckpointStorage within CheckpointCoordinator outside to ScheduleNG and then to JobMaster, which might like current ScheduleNG#stopWithSavepoint to expose actions in CheckpointCoordinator outside. Any hints or suggestion is welcome.
Since our internal deadline will end today, I plan to implement and offer commits to let directories could be discarded asynchronously tomorrow.

@StephanEwen , I have created and rebased with latest code several days ago. From my point of view, it seems a bit large change to involve storage#shutdownwith Dispatcher#cleanUpJobData. My current implementation behaves like CheckpointStore#shutdown which would delete files asynchronously but not care about the returned future, and I think involving to Dispatcher#cleanUpJobData could be next stories. What do you think?


Add logo option to Endroid's provider

I know you suggested more constructor arguments, but after implementing and trying to use, I saw it wouldn't make much sense... Also, I understood you wanted to keep the original constructor as-is, with the logo being a deliberately and rare optional choice.
Thus, the method suits just fine, keeping everything at the same place, being less verbose and less bloated (otherwise a common call + logo would need to skip-guess all the default parameters, such as colors, margin, correction level...).

P.S.: I'd suggest creating a new release! The two external providers are only available in master.

The crux of my suggestion, though, was to inherit/extend instead of change. I'd really prefer that actually.

The crux of my suggestion, though, was to inherit/extend instead of change. I'd really prefer that actually.

Will do, then. But why do you think yet another class is better, just to tweak a property of the existing QR Code generator? Not to mention the verbosity of the class name...

Will do, then. But why do you think yet another class is better, just to tweak a property of the existing QR Code generator? Not to mention the verbosity of the class name...

But why do you think yet another class is better

Because most people won't need that functionality

just to tweak a property of the existing QR Code generator?

Because it makes using the class more complex than needed (though, granted, it's not rocketscience)

Not to mention the verbosity of the class name...

As I said, I'm open to better names ;-)

But why do you think yet another class is better

Because most people won't need that functionality

just to tweak a property of the existing QR Code generator?

Because it makes using the class more complex than needed (though, granted, it's not rocketscience)

Not to mention the verbosity of the class name...

As I said, I'm open to better names ;-)

There's definitely no better name than EndroidQrCodeWithLogoProvider, since it follows the current pattern.
But most people won't change the background color from white (or shouldn't, as that affects readability), yet it's the first parameter on the constructor. That's the reason I added it as a method - who needs it, call it, who doesn't, just ignores it. Or are you concerned about an extra method in the class's memory?
But there's one practical side-effect I'm not sure how to deal with, without making the code more complex - check code comment.

There's definitely no better name than EndroidQrCodeWithLogoProvider, since it follows the current pattern.
But most people won't change the background color from white (or shouldn't, as that affects readability), yet it's the first parameter on the constructor. That's the reason I added it as a method - who needs it, call it, who doesn't, just ignores it. Or are you concerned about an extra method in the class's memory?
But there's one practical side-effect I'm not sure how to deal with, without making the code more complex - check code comment.

There's definitely no better name than EndroidQrCodeWithLogoProvider, since it follows the current pattern.

Maybe. Not sure.

Or are you concerned about an extra method in the class's memory?

No, I'm weighing YAGNI and possible confusion for a method or constructor arguments that does something pretty uncommon.

How would you suggest to add this piece of code in an extended class? Create another protected method to instantiate the basic object, then use it in getQRCodeImage()?

I'm not sure I understand the question but that may be because it's 4:20AM over here currently. I'll look into it this week and get back to you.

There's definitely no better name than EndroidQrCodeWithLogoProvider, since it follows the current pattern.

Maybe. Not sure.

Or are you concerned about an extra method in the class's memory?

No, I'm weighing YAGNI and possible confusion for a method or constructor arguments that does something pretty uncommon.

How would you suggest to add this piece of code in an extended class? Create another protected method to instantiate the basic object, then use it in getQRCodeImage()?

I'm not sure I understand the question but that may be because it's 4:20AM over here currently. I'll look into it this week and get back to you.

Gotcha. I guess we can agree to disagree in this situation :)
And definitely, that's not a good time to review code :joy: I'll submit my best suggestion and you can check later. Good night!

Gotcha. I guess we can agree to disagree in this situation :)
And definitely, that's not a good time to review code :joy: I'll submit my best suggestion and you can check later. Good night!

Gotcha. I guess we can agree to disagree in this situation :)

Don't get me wrong, your effort and feedback is appreciated, and you do make a point!

Good night!

Thanks!

Gotcha. I guess we can agree to disagree in this situation :)

Don't get me wrong, your effort and feedback is appreciated, and you do make a point!

Good night!

Thanks!

Yep! I was wondering if you were being stubborn, but in the end, it's just different ways to program :) That's why I opened the issue initially. Not to mention I never had a PR replied THAT FAST. I'm used to being stuck with custom branches on my composer files :sweat:

Yep! I was wondering if you were being stubborn, but in the end, it's just different ways to program :) That's why I opened the issue initially. Not to mention I never had a PR replied THAT FAST. I'm used to being stuck with custom branches on my composer files :sweat:

I was wondering if you were being stubborn

I'm not denying that 😇
I'm off to bed now. Will get back to you! Again, thanks! 👊

I was wondering if you were being stubborn

I'm not denying that 😇
I'm off to bed now. Will get back to you! Again, thanks! 👊

I ended up including some extra stuff in the same PR. Let me know if you prefer a second PR with the unrelated details :)

I ended up including some extra stuff in the same PR. Let me know if you prefer a second PR with the unrelated details :)

Great PR @igorsantos07
I will use it right now!

Great PR @igorsantos07
I will use it right now!

@RobThree / @willpower232 I was wondering if this got stuck because it was just forgotten or because of the discussions whether extra providers will be separated into their own packages. Or maybe if I need to do something else (other than maybe fix the conflicts, but I guess maintainers would be better at this?)

it would indeed be good to get a steer from @RobThree about whether the bacon and endroid providers should be evicted to their own repos and where those should be. IAlso  need to push a lot of docblocks and a couple of fixes I've spotted.

I think moving to separate libraries would be a 2.0 move, unless someone disagrees?

makes sense but what should happen to the ones already merged :sweat_smile:

I understand we wouldn't be including extra providers until v2, at which point all providers would have their own, separate repos.
However, I don't think this "extraction" move should hinder improvements on the current providers. Otherwise, they'll just get stalled "waiting for the perfect moment". That sort of how I killed an open-source project I adopted a couple of years ago - I was holding on extra external changes and fixes while I was preparing to write tests for it... The tests never came, and the package just felt into disrepair.

I understand we wouldn't be including extra providers until v2, at which point all providers would have their own, separate repos.
However, I don't think this "extraction" move should hinder improvements on the current providers. Otherwise, they'll just get stalled "waiting for the perfect moment". That sort of how I killed an open-source project I adopted a couple of years ago - I was holding on extra external changes and fixes while I was preparing to write tests for it... The tests never came, and the package just felt into disrepair.

You are absolutely right. However, I'm currently very busy and I really need the little rest I get. Maybe @willpower232 will be able to help out or, with his OK, I can add you as contributor too.


Remove global variable sex value

Summary
The global variable isn't needed at all.

Thank you for refactoring.


Crash after Melee use

Fedoraware Version Date: Thursday, June 30, 2022, 3:42:38 PM
Config used:
https://files.catbox.moe/iwiv1t.fw
Description:
Whenever you use melee with the cheat, the game will crash after using it. This happens very often and needs to be fixed.
Steps to reproduce:

Go into a casual match
Take out your melee
Kill someone/people with it
Crash

Video recording:
https://youtu.be/EWTp2Db3-yk

could be a duplicate of #398 please check :D

after seeing this I am sure it is a duplicate of issue #398


Fix: Breadcrumb and Checkbox require cycles warnings

Summary
Some circular requiring were causing this warning to appear:

Changelog

[General] [Fixed] - Fixed Pressable requiring in Breadcrumb component
[General] [Fixed] - Fixed Box requiring in Checkbox (SizedIcon) component

Test Plan
The warning disappears.

Will this eventually be merged?

Thx for the PR - I suggest applying these changes as well:
diff --git a/node_modules/native-base/src/components/composites/Transitions/Slide.tsx b/node_modules/native-base/src/components/composites/Transitions/Slide.tsx index 7e63779..3e589fa 100644 --- a/node_modules/native-base/src/components/composites/Transitions/Slide.tsx +++ b/node_modules/native-base/src/components/composites/Transitions/Slide.tsx @@ -4,7 +4,7 @@ import { useThemeProps } from '../../../hooks/useThemeProps';  import type { ISlideProps } from './types';  import PresenceTransition from './PresenceTransition';  import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; -import { Overlay } from '../../primitives'; +import { Overlay } from '../../primitives/Overlay/Overlay';
I was getting another dip cycle with the latest version from npm as well


veth: retry import device when activating new veth peer

NetworkManager takes some extra time on creating the device object for
the new veth peer. Trying to activate an interface without importing the
device will end up on NetworkManager trying to create a new device for
the interface and that will end up on an error.
In order to fix this, Nmstate will retry to import the device up to 5
times with an interval of 0.5 seconds. If the device is not imported
during this time, then nmstate will try to activate it anyway.
Signed-off-by: Fernando Fernandez Mancera<EMAIL_ADDRESS>

@cathay4t This is removing the random error. Veth support is fully working now! Yay! :-)

@cathay4t This is removing the random error. Veth support is fully working now! Yay! :-)


Formatting the datatable in home page

🛠 Fixes Issue #1185

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

Fixes Issue #1184


Make command structure and naming convention more intuitive

The current command structure is a mess, and it needs to change.
Command group for server settings is nice, maybe mirror that with user settings?

@Nykoload can you assign this to yourself?

Maybe we should start from pget, plist, pset etc and then further specify server, global, "me"?


loss problem

I'm doubt that why generator loss is defined as gen_loss = K.mean(fake_output), maybe should it be gen_loss = K.mean(real_output) to confuse discriminator?

The generator can't influence the results of the real outputs (they come from the dataset itself), so it wouldn't make sense to use gen_loss = K.mean(real_output) as the gradients wouldn't flow through the generator. Generator losses are typically formulated as a function of D(G(z)) i.e. in terms of fake_output, such as -D(G(z)) in hinge loss or -log(D(G(z)) in non-saturating loss.


"Date Modified": Format, translation and other things

I had already mentioned this recently, but I want to talk about it in more detail here:
Date modified:
I have seen that the files modified before 7 days, are shown in X seconds ago, X minutes ago, X hours ago and X days ago.
Some files I interacted with hours ago are not displaying correctly, it shows that it was modified 7 minutes ago for example, or seconds.
1. Time is not displayed correctly, especially in seconds
2. Strings need to be added to translate, the problem is that in some languages when translating "2 days ago", they have words before the number, like in Spanish: "Hace 2 días". can this be solved?
Considering this:

3. What if instead of showing as "X hours ago" the normal date is displayed? Like 04/25/20 18:35 or depending on how you configure the date format in the app, It would be more simple.

me too


[BUG] Creating persona from text got stuck

Description
After being possibly confused by how different personas should use different prompts and losing a system prompt, I tried creating a persona for the first time. I didn't need a YouTube video or text, so I instructed the model to use the text as the system prompt:

Device and browser
Chromium 124
Screenshots and more
After clicking "Create", it's been 10+ minutes and the creation apparently hasn't finished

Willingness to Contribute

[ ] 🙋♂ Yes, I would like to contribute a fix.

Hi, @dandv this shows some confusion in our UI. The personas from text are meant to be created from a bunch of email data or X tweets or similar, and not directly imputed. The Advanced/customization was added because someone requested it, but probably that's confusing too and we shouldn't have. Keeping this open as I'm sure it's a common concern.


Set input pattern triggering Deoplete's completion

input_pattern was copied from deoplete-clang
Fixes #524

LGTM!


Terminology needs "Inception Server" description

http://docs.cloudfoundry.org/bosh/terminology.html
On the terminology page for BOSH, under Jumpbox, it says "Note: An Inception Server can be used as a jumpbox.", but there is no description of what an "Inception Server" is.

"Inception server" is no longer used anywhere.


CLA.md updated

Signed-off-by: imprakharsachan<EMAIL_ADDRESS>
What type of PR is this?
documentation

What this PR does / why we need it:
CLA.md updated grammarly.
What is the testplan for the PR:

N/A
Which issue(s) this PR fixes:

Fixes # N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

Additional documentation:

ok to test


Re-add "no-exceptions" for export templates builds with ICU.

ICU requires only RTTI, exceptions and STL are not used.

We continue to not use the Standard Template Library (STL) in ICU library code because its design causes a lot of code bloat.  ICU does not throw exceptions, and ICU code is not exception-safe.
Memory management: STL uses default new/delete, or Allocator parameters which create different types; they throw out-of-memory exceptions. ICU memory allocation is customizable and must not throw exceptions.
Non-polymorphic: For APIs, STL classes are also problematic because different template specializations create different types. For example, some systems use custom string classes (different allocators, different strategies for buffer sharing vs. copying), and ICU should be able to interface with most of them.

We have started to use compiler-provided Run-Time Type Information (RTTI) in ICU 4.6. It is now required for building ICU, and encouraged for using ICU where RTTI is needed.

https://github.com/unicode-org/icu/blob/main/docs/userguide/dev/codingguidelines.md

Thanks!


Auto correct when recovering seed

Describe the bug
The autocorrect in iOS is proposing the next seed words when recovering my seeds for several times. It learns more every time I retype the seeds it seems.
To Reproduce
Steps to reproduce the behavior:

start new wallet and recover
type existing seed
if you type seed several times autocorrect will "know" your seed and tell you the next words.

Expected behavior
Don't store any sensitive data.
If more information is needed I can clarify in more detail.

I have same feeling and don’t know how really a problem is but yes I think it’s better to define this form as direct input don’t know if and how iOS manage this.

good feedback, thanks. 🙌
fixed


Issue with running finished code

Describe the bug
when i run source prepared with administrator it doesnt effect the server it just doesnt do anything the bot is offline also
To Reproduce
Steps to reproduce the behavior:

i don’t know how to replicate this issue

Expected behavior
the .exe should run and open the thing in discord, and play the malware of the victims computer
Screenshots
No error therefore no need for a screenshot
Desktop (please complete the following information):

OS: [Windows 11]
Python Version: [ 3.11.4]

Additional context
Add any other context about the problem here

Did you have any errors while compiling, and did you check that all of your settings (token, names, IDs) are correct and working? Have you tried running it on a different machine? Did you check whether the folders etc got created and whether the process is running?

Did you have any errors while compiling, and did you check that all of your settings (token, names, IDs) are correct and working? Have you tried running it on a different machine? Did you check whether the folders etc got created and whether the process is running?

the proccess ran without issue, maybe you could create it with my settings and send it, just in case?

hit me up in dms on our discord then


user model gone / not recognizing

hi all I've test all model and it works great except the user model, when I go to
xxxx/coverage/index.html the user model not there. how can I solve this?
Thanks before :)

hi @anggainlippox, this most likely isn't an issue with RSpec. I'd suggest filing this with whatever coverage gem you're using, as most likely it's an issue with that gem.

thank for fast respond @samphippen :+1:


There is an error in the official document details

There is a detail error in the screenshot in the document. It should be "wechat Mini program" instead of "wechat"

@leo220yuyaodog plz fix it


Feature/autoware rider

ADD STR and DRV buttons.
STR button only enables automatic steering.
DRV button only enables automatic driving.

I applied any changes of automatic driving experiment of March 11, 2017.


Running Nanopolish from fastq file

Hello,
What I got from the sequencing platform were fastq files of the reads.
It seems nanopolish only accepts compressed .gz fasta files. Am I right?
To produce fasta files I did:
seqtk seq -a reads.fastq | bgzip -c > reads.fasta

and then I used those reads to run Nanopolish with this command:
python /proj/b2014286/private/tools/nanopolish_test/nanopolish/scripts/nanopolish_makerange.py reads.fasta | parallel --results nanopolish.results -P 8 nanopolish variants --consensus polished.{1}.fa -w {1} -r reads -b aligment.bam -g draft_genome.fasta -t 1 --min-candidate-frequency 0.1

However, it doesn't seem to work. Although it runs, it produces fasta files with exactly the same sequence as the draft genome and it does no find any SNP.
I'm wondering if the problem is related with how I transform the reads from fastq to fasta file.
Thanks a lot for your help,
/Sergio

Hi Sergio,
Please see the instructions here:
https://github.com/jts/nanopolish#analysis-workflow-examples
You need to run nanopolish index on your fastq file (using the command in the README). Also, the input into nanopolish_makerange.py should be the genome file, not the reads file.
Jared

Hello Jared,
Thanks a lot for your help.
Yes my fold, I got confused when I read the instructions the first time.
Sorry for the basic questions. However, I'm still having problems. the instructions say:
# Only run this if you used Albacore 2.0 or later
nanopolish index -d /path/to/raw_fast5s/ albacore_output.fastq

and then
# Only run this if you used Albacore 1.2 or later
nanopolish extract --type template directory/pass/ > reads.fa

My data were produced with albacore-1.2.6, in given case I understand I should use nanopolish extract, but it seems I also need signal files that I don't have (I only have the fastq files).
If I use nanopolish index, it produces the fa.gz as expected, but running nanopolish variants doesn't seem to produce any output.
I'm running:
/proj/b2014286/private/tools/nanopolish_test/nanopolish/nanopolish index reads.fastq

draft_genome=$1
reads=$2
bam_file=$3
output_vcf=$4

python /proj/b2014286/private/tools/nanopolish_test/nanopolish/scripts/nanopolish_makerange.py $draft_genome | parallel --results $output_vcf.nanopolish.results -P 8 /proj/b2014286/private/tools/nanopolish_test/nanopolish/nanopolish variants --consensus $output_vcf.polished.{1}.fa -w {1} -r $reads -b $bam_file -g $draft_genome -t 8 -o $output_vcf.vcf --min-candidate-frequency 0.1

It produces fasta files with the fragments of genome, but the vcf files is completely empty. The job is still running, and I wonder if there is point on keep waiting. should the output be produced as it progresses? or it is only shown in the VCF file at the end of the run.
Thanks a lot for your help,
/S

Hi,
The signal files are always required to run nanopolish. You'll need to get these if you want to proceed.
Jared


snooze: init at 0.4

Things done

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

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

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

$ nix-build . -A snooze
$ nix path-info -S ./result
/nix/store/sg3lv6j0bmbfdya48qbbgy80mw43dy6v-snooze-0.4    32991032

@ryantm Can you merge, please?

Result of nixpkgs-review pr 96698 1

1 package built:
- snooze


ssh keys and server ip are unavaiable

The ssh keys and server IP for what?

for the ubuntu server, for which this conf was created.


Implement IPC as an alternative option to SecureConnection

An IPC channel (UNIX socket) between KMS and a tendermint validator node should serve the use case where validators deploy the KMS next to a validator node on the same host.

Supporting Unix domain sockets should be relatively simple on the KMS side


Model associations specs

I was wondering if there was any chance of you fitting some associations into your spec examples somehow/somewhere so that we can see how best to handle specs for associations (has_many etc).
Thanks

Check out shoulda-matchers ActiveRecord matchers:  http://matchers.shoulda.io/docs/v2.8.0/Shoulda/Matchers/ActiveRecord.html#have_many-instance_method

Ah ok. Thanks @leesmith


README.md file issues

"convinient" should read "convenient".

.collect(joining("\n")) should read .collect(Collectors.joining("\n")).

Thanks! I fixed the typo. Regarding joining, it is a matter of which code style you prefer. I added a line at the bottom explaining the difference.

Indeed, it may be a matter of style to just write joining(...). But the reason I suggested the fully qualified form in the example is that if someone new to this code plops it into an IDE, joining will be highlighted as wrong, with little clue as to how to remedy it. Eclipse's quick fix suggests creating a new method called joining. I'm quite familiar with the streams API but don't use it every day, but for a moment I was stumped -- I couldn't remember what I had to import, or how I should qualify it.
So, especially in examples, you want to give the user the best shot at being successful in running the example. In this case, it should read Collectors.joining(...) since the code snippet does not include the static import statement.  The IDE would have a better chance of generating the necessary import statement.
The note you added is sufficient to help those interested in exploring your framework.

That is good to know. I primarily use NetBeans and it's quick-fix resolves statically imports. Since the big majority of java developers use Eclipse it could be a good idea to make it as easy as possible for them.


🐛 [BUG] - Glitch in Contact Us Page

🐛 Bug Report Form

Description
There is an alignment issue in the Contact Us form, which affects user experience.

Reproduction URL
Please provide your GitHub URL to reproduce the issue: https://github.com/abhi03ruchi

Screenshots
I want to fix this issue.

Plz assign me this task under gssoc'23.

🌐 Browsers
Which browsers are you experiencing the problem on? (Select all that apply)

[ ] Chrome
[ ] Firefox
[x] Safari
[ ] Microsoft Edge
[ ] Opera
[ ] Brave

💻 OS
What is the impacted environment (operating system)? (Select all that apply)

[ ] Windows
[ ] Linux
[x] Mac
[x] iOS
[ ] Android

📝 Sections Completed
Check the box of the sections you have completed:

[x] Description
[x] Reproduction URL
[ ] Reproduction Steps
[x] Screenshots
[ ] Logs
[x] Browsers
[x] OS
[ ] Additional Context

🔍 Priority
Please select the priority of the bug:

[ ] High
[x] Medium
[ ] Low

📜 Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct:

[x] I follow Contributing Guidelines of this project.
[x] I have checked the current issues for duplicate problems.
[x] I have read the readme.

Hey @abhi03ruchi  did you try it in chrome

@abhi03ruchi Once clear your browser cache and then check


Add Terraform for the relation embedder

Part of https://github.com/wellcomecollection/platform/issues/4830

I think we also need a change of the works id minter terraform to read the denormalised index rather than merged.

we also need a change of the works id minter terraform to read the denormalised index rather than merged

Done.

ECR repo came separately to unbreak the build.


Reduce the acceptable line length from 160 -> 153

Hi @ham1 ,
Thanks for this PR, but:

Is this change needed ? Do 7 chars less per line change something ?
It impacts lot of files for IMO rather very low value and could make regression analysis more complex knowing we have already changed a huge amount of code

I find your last contributions to tests enhancements great and don't want to discourage further ones, but  I don't feel comfortable with this new rule and its impacts on code.
Just my 2 cents


Mention possibility of other strain function names

Also added just a little more exlanatory text.

Excellent, thank you.


Recommended Orm Relational Access

I'd like to know what's the recommended way to access pivot tables and related records with the ORM, if there is one and if not the recommended way of doing so in the most performant way as intended by drogon.

Drogon has no particular abstraction about PivotTables, but I think it might be a good idea to implement PivotTables through View + ORM.
Of course, considering performance, writing SQL directly and executing it will be faster.

@nemesis567 , For creating REST controllers for the generated models, I made a PR #244 . After some very simple tests, it seems to be feasible. Please take a look, thank you.

Pulled the restful branch compiled but it doesn't seem to be generating the controllers with dg_ctl create model ./models

You should modify the model.json.
    "restful_api_controllers": {
        "enabled": false,// set this option to true to generate controller source files.
        // resource_uri: The URI to access the resource, the default value
        // is '/*' in which the asterisk represents the table name.
        // If this option is set to a empty string, the URI is composed of the namespaces and the class name.
        "resource_uri": "/*",
        // class_name: "Restful*Ctrl" by default, the asterisk represents the table name.
        // This option can contain namespaces.
        "class_name": "Restful*Ctrl",
        // filters: an array of filter names.
        "filters": [],
        // db_client: the database client used by the controller. this option must be consistent with
        // the configuration of the application.
        "db_client": {
            //name: Name of the client,'default' by default
            "name": "default",
            //is_fast:
            "is_fast": false
        },

the option above can be obtained by creating a new project by the latest version of dg_ctl.

{

    "rdbms": "mysql",
    "host": "<IP_ADDRESS>",
    "port": 3306,
    "dbname": "xx",
    "user": "xx",
    "passwd": "xxxxxxxxxx",
    "tables":[

    ],
    "restful_api_controllers": {
        "enabled": true,
        "resource_uri": "/*",

        "class_name": "URest*Ctrl",
        "filters": [],
        "db_client": {
            "name": "default",
            "is_fast": false
        },
        "directory": "controllers"
    }
}

Did you run 'cmake ..'?
There are some new template files (for generating restful controllers) added to drogon.

Yes, I did:
cmake -DCMAKE_BUILD_TYPE=Release ..
make && make install

table name:array_test
create a http restful API controller:URestArrayTestCtrl
file name: URestArrayTestCtrl.h and URestArrayTestCtrl.cc
table name:camera_group
create a http restful API controller:URestCameraGroupCtrl
file name: URestCameraGroupCtrl.h and URestCameraGroupCtrl.cc
table name:camera_group_info
create a http restful API controller:URestCameraGroupInfoCtrl
file name: URestCameraGroupInfoCtrl.h and URestCameraGroupInfoCtrl.cc
table name:camera_info

The output in my system.
run dg_ctl -v to check its version

Git commit:6f75787083d3d3af52012503b4957b13828b5cbf```

It looks all right. Let me check. sorry for that.

Sure no problem, let me know if you need more information.

@nemesis567 Please check the latest commit. thanks.
currently, I've not added subclass of controllers yet.

Very good work, no doubt. :clap: :clap: :clap:
It generated all controllers without issue, I'll be using this and figure out if there any major issues persists. Did you have any idea yet regarding relationships?

Thank you ^.^
I think it is necessary to add subclasses for customization. I will add them today.
Do you think if it is useful to add fields parameter when using GET method on a REST resouce? like this:
GET /cars?fields=manufacturer,model,id,color

Regarding relationships, I tried to create some Joiner (what name is appropriate?) class templates for them. There are some details to consider, and I think it will be done in a week or two.
If you have any idea about drogon, please be free to let me know, thanks and welcome any PR on drogon :)

For rest, yes, I agree that's important.
It's also important:

Sorting by fields :heavy_check_mark:
Partial updates  :heavy_check_mark:
Field validation for non null fields on create :interrobang:
Field filters(what you said) :interrobang:
Maximum, Minimum per field(does the orm already have this feature?) ⁉
Between per field(basically WHERE v < max and v > min SQL selection) ⁉

For rest, yes, I agree that's important.
It's also important:

Sorting by fields ✔
Partial updates  ✔
Field validation for non null fields on create ⁉
I'll add this right now.
Field filters(what you said) ⁉
I'll add this right now.
Maximum, Minimum per field(does the orm already have this feature?) ⁉
Currently, the meta data of this is not traited into model classes, I'll add this later.
Between per field(basically WHERE v < max and v > min SQL selection) ⁉
I'll add this.
Thank you very much.

Let's take the following tables:

Carts
CartsProducts
Product
Sku
Reviews

With the following relationships:
1. One product has one sku. One sku belongs to one product. The sku has a foreign key to product id.
2. One cart has many products and products belong to many carts. One CartProduct belongs to one cart and one product. The CartProduct has a foreign key to cart_id in the carts table and another to product_id in the Products table.
3. One product has many reviews. Each review belongs to one product. The reviews table has one foreign key to the product id in the products table.
Regarding relationships, have you considered this:
In the model.json add a new array called relationships.
Possible syntax:
So if I have a product, I should have product->getSku() automatically mapping to a select sku where
There should be another configuration that holds the table names of any pivot tables.
For models that have a foreign key in a pivot table,

Thank you very much, there are many good ideas in your comments, I will implement them step by step.
So much work to do ;-) I am afraid that it will take a lot of time to implement all.
So, as what you said, we prefer to use model APIs for queries instead of using Mapper templates? For now model classes are just data abstractions (All queries are executed by Mappers), so there are a lot of work related to model generation.
Maybe we can provide some methods, such as Product::findBy(...., bool withSku=false) to avoid multiple queries, what do you think?
BTW: I value performance very much, all the reflections are done in the initial phase of drogon applications. Did you see the letast tfb benchmark result?

I agree with the static methods for the model classes. I am talking on the model level, not questioning whether the underlying query building happens in a different class as long as it's low overhead. Basically, what the static relationship classes I was talking about earlier would do is provide an abstraction similar to the Mapper. Now I am not entirely sure how the mapper works yet so I'll have to look into it before going further.
Yes, I have seen the benchmark, and while interesting I'd rather see how this would behave in production.

can you add this type of api?
auto user = User.admin().first() will give first admin.
on User model we defined a scope:  scope :admin, -> { where(admin: true) }(not c++)
this makes finding users by different scopes very easy.
you can use a function to read data part from file, before writing new content to the file.
<%= get_part_comman(dest_file, "// PartScope") %>
std::string get_part_comman(std::string dest_file_name, std::string word){
//use the regex to read the part.
/(.*word(?m:.*?)word)/
// https://rubular.com/r/qINLri3ddLxlMP
}

Now all operations are executed with the Mapper template, model classes haven't queries-related methods. You should do this by using findBy() method :
mapper.limit(1).findBy(Criteria(Users.Cols._admin, true) ... );

@an-tao Please check e-mail.

@nemesis567 I have added the request validations and field selections to the REST APIs.

@nemesis567 I added hasOne relationship in ORM.


Repair Stream Vector Topology - 'No such file or directory' error

Hello!
I am having issues running the repair_stream_vector_topology tool. I've been able to run many of the raster tools (ex. breach_single_cell_pits, d8_pointer, slope, etc.) with no issues (even with the same settings.json error as what you will see in the below screenshow), but for some reason I get this error when trying the repair_stream_vector_topology tool: thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', whitebox-vector/src/shapefile/mod.rs:238:56
As you can see the working directory is set to the proper location where I have all permissions (I did also test it on 2 other locations to no avail).

I also tried 3 different shapefiles, which gave me the same error.
Here is the shapefile in ArgGIS:

And here is the shapefile found in the directory where the code fails:
flows.zip
With regards to the settings.json error, we found the directory WBT was installed in with whitebox.file, and changed the permissions there, but that didn't resolve the permissions error. It hasn't stopped me from using other tools, such as those mentioned above, but it is worth mentioning in case it has anything to do with the 'No such file or directory' error.
Thank you,
Claudia

This is odd. I just ran the tool on your data set, using your same parameters, in the Whitebox Runner and it worked fine. It must therefore be something in your Python script. Can you share your script in its entirety please?

Error.zip
Here's the JupyterLabs notebook with the basic code that produces the error. I can copy the code in a reply if that's better. Thanks!

Here is the full error with backtrace on:
./whitebox_tools --run="RepairStreamVectorTopology" --wd="/home/sauroc/Project/functions/Shapefiles/flows" --input='flows.shp' --output='flows2.shp' --dist=1 -v --compress_rasters=False
Could not create output settings.json file. WBT is likely installed somewhere without write permission.

Welcome to RepairStreamVectorTopology *
Powered by WhiteboxTools              *
www.whiteboxgeo.com                   *

thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', whitebox-vector/src/shapefile/mod.rs:238:56
stack backtrace:
0:     0x7f3085910efa -
1:     0x7f3085943fae -
2:     0x7f308590e625 -
3:     0x7f3085910cc5 -
4:     0x7f308591234f -
5:     0x7f308591208b -
6:     0x7f3085912a59 -
7:     0x7f30859127f9 -
8:     0x7f30859113ac -
9:     0x7f3085912502 -
10:     0x7f30858c3f23 -
11:     0x7f30858c4373 -
12:     0x7f30858db63d -
13:     0x7f30858d714b -
14:     0x7f30858d006a -
15:     0x7f30858cea8f -
16:     0x7f30858c98b3 -
17:     0x7f30858c5979 -
18:     0x7f308590ad12 -
19:     0x7f30858d5965 -
Failure to run plugin subprocess.

I'm sorry but the attached file does not have contain a *.ipynb file that has any code in it...

Oops sorry about that! Here's the code:
`import pandas as pd
pd.options.display.max_columns = None
pd.options.display.max_rows = 40
pd.options.mode.chained_assignment = None
pd.options.display.max_colwidth = 500
import plotly.graph_objects as go
import os
os.environ['USE_PYGEOS'] = '0'
import geopandas as gpd
import whitebox
wbt = whitebox.WhiteboxTools()
print(wbt.version())
print(os.listdir("/home/sauroc/Project/functions/Shapefiles/flows/"))
Set the working directory
wbt.set_working_dir("/home/sauroc/Project/functions/Shapefiles/flows/")
os.environ['RUST_BACKTRACE'] = 'full'
wbt.repair_stream_vector_topology("flows.shp", "flows2.shp", dist="1")`

This script worked for me:
import whitebox

wbt = whitebox.WhiteboxTools()
wbt.set_verbose_mode(True)
print(wbt.version())

print(os.listdir("/Users/johnlindsay/Downloads/flows/"))

# Set the working directory
wbt.set_working_dir("/Users/johnlindsay/Downloads/flows/")

os.environ['RUST_BACKTRACE'] = 'full'

wbt.repair_stream_vector_topology(i="flows.shp", output="flows2.shp", dist="1")

Could be because you didn't use the function parameter names (i and output). I'd also set verbose mode if you'd like more output from the function directly.

@jblindsay Could the "No such file or directory" error be result of no settings.json file being available to read in the install location?
@ClaudiaSauro wrote above (emphasis added):

Here is the full error with backtrace on:
./whitebox_tools --run="RepairStreamVectorTopology" --wd="/home/sauroc/Project/functions/Shapefiles/flows" --input='flows.shp' --output='flows2.shp' --dist=1 -v --compress_rasters=False
Could not create output settings.json file. WBT is likely installed somewhere without write permission.
...

@brownag Yes, I had not noticed that, but that certainly could be the case.


Removes the copying of yhs.yml from the Dockerfile #32

closes #32

@sudiptob2 Does this branch need a refresh-merge from main? I see some Golint warning on things that I fixed in my now-merged event-statistics branch.

Rebased ✅

I have some questions about this. I saw that this yhs.yml file is needed for YHS to run. Why is it removed from the Dockerfile?


Fix the version number of PHP

Hi. I've added a new variable to define the version number of PHP.

Oh sorry I've not updated my local branch. My fault.

Not a problem at all, thanks for submitting a fix for it anyways :)
On Thu, 11 Jun 2020 at 12:52, Mozi<EMAIL_ADDRESS>wrote:

Closed #94 https://github.com/mattrayner/docker-lamp/pull/94.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mattrayner/docker-lamp/pull/94#event-3433799454, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2XGNU3GGA37J7IVFVVMFTRWDAPZANCNFSM4N3KVTOA
.

--
Matt Rayner
http://www.mattrayner.co.uk/


Fixed Appveyor build issue [PHP_SECURITY_FLAGS]

Refs: https://github.com/tideways/php-profiler-extension/pull/12

@beberlei Could you please take a look.
I hope this will fix Appveyor build issue.

Hi,
Any reason I'm in cc?

I'm sorry 😐
Cc by mistake

@beberlei
I would like to draw your attention that despite the fact that I fixed the AppVeyor build, the extension does not compile as NTS at all. For example note that despite the fact that you specify explicitly RELEASE_FOLDER as Release it always stored in Release_TS.
I spent a lot of time to figure it out. It was not easy, given the fact that I have no Windows machine.
Nevertheless, I've managed how to do for our extension. You are free to borrow any part of it.
Best regards,

@sergeyklay thank you :-) The windows build is still in alpha, certainly because i have never worked on a windows extension before and all this build related stuff is very hard to get into.


+5 Icons

Description

I've been trying lawnchair and then lawnicons. i was amazed by how simple yet incredible the apps are. so i tried making so much icons, turns out the guideline is outdated. so i remake some of the icons and make a new one
Icons addition information

Added
Get Current Wallpaper (dk.appdictive.getcurrentwallpaper)
PC Remote (com.monect.portable)
Quizizz (com.quizizz_mobile)
Milk Choco (com.gameparadiso.milkchoco)
Screen Dimmer (com.github.ericytsang.screenfilter.app.android)
Contributor's checklist

[x] I made the icons following the Lawnicons Guidelines (upd. Jan 2024) and will make changes if someone suggests. I will also make sure that Lawnicons builds correctly.

This is my first time contributing. What are the checks not successful about?. I've run the app and it runs completely fine

done commit on the screen dimmer :))


DOC: Document name properly [skip azp] [skip actions]

Closes #10446
Once this is merged, I plan to start the 1.0 release process

@hoechenberger feel free to review and approve if you're happy
Also, I really like that on conda-forge I can just add a automerge label to PRs when reviewing and have them go in when green. I'd like to do the same thing at some point, probably using bulldozer. There are a few times per month (sometimes per week?) where I approve a PR and want to merge, but have to wait for CIs, so I leave the tab open and wait for the yellow dot to turn green (or close the tab and come back later). This would allow me to just add the automerge label and move on.

Thanks @larsoner!

Also, I really like that on conda-forge I can just add a automerge label to PRs when reviewing and have them go in when green. I'd like to do the same thing at some point, probably using bulldozer.

Maybe we can also see what conda-forge uses and use the same thing here? Not sure how much magic is involved there though!
Otherwise: yes, +10 on having automerge!
Another thing I configured for mne-tools/mne-installers is auto-deletion of PR branches on merge. Always saves me a few clicks. Would it make sense to activate this here too?

I always delete my branches, but @agramfort never does as far as I have seen.

Maybe he needs help from an auto-delete action! 😁😅👍


Multiplus II affected: max charging current 10 A, SOC missing

My installation:

3 phase Multiplus II 5000/48: Firmware 500
4 battery banks (each LiFePo4 with eve 280Ah) with JK BMS : B2A24SP15-CAN
Cerbo GX: VenusOS 2.93
Lynx Shunt
MPPT RS 450/200

Motivation to install the BMS driver:

get alarms if the batteries are not working well,
but the BMS should be just act as an measuring device.
Lynx shunt sees the sum of current and the overall SOC

I followed the very simple installation (thanks) and did not see any issue
After installing the BMS driver:

All 4 BMS show up, and I can access all information, but …

charging current of the Multiplus is limited uncontrollable to 10A by something,
regardless the settings in the driver (CCL) or the DVCC (or ESS) in the Cerbo.

Communication to Multiplus seems to be affected,
as SOC is not showing up any more.

disabling the driver leads to „Low Battery Voltage Alarm“ from the Multiplus,
and the charging current is still limited to 10 A, even with the DVCC is set to 100A.

in the VRM, I see 5 JKs and not 4, as installed

Q: Can I debug the system to see what is going wrong here?
Q: Is there a way to complete remove the driver?
Q: Is the only way to get the charging current of DVCC is to reinstall VenusOS?
Thanks for any help

Hello,
sure you can debug. Check out the wiki https://github.com/Louisvdw/dbus-serialbattery/wiki/Troubleshoot
In the wiki you find also how to disable the driver https://github.com/Louisvdw/dbus-serialbattery/wiki/How-to-install#disable-the-driver

Did you set the 100 A Limit in DVCC?
What do you see under SerialBattery -> Parameters on each battery?

Hi.

Yes, 100 A limit in DVCC
s.b. the MPPT is kicking in with 1000W, so I got higher currents no

Set per util-file is: CCL 50A and DCL 60 A
Voltages are all 53.62 - 53.64 V
Bank 1: CCL 50 A, DCL 60 A SOC 90%
Bank 2; CCL  5 A,  DCL 60 A, SOC 98% <- SOC is not correctly estimated from the BMS
Bank 3: CCL 50 A, DCL 60 A, SOC 89%
Bank 4: CCL 25 A, DCL 60 A, SOC 94%
That looks for me, that the method which reduces the current is working.
BTW: I see higher currents than 5 A in Bank 2. Could be that I set CCL used to False. I‘ll check later.

... And I think the multiplus will use Max Charge current of the lowest battery. I had this issue some days aswell.
Tjlhats why I whish to hide All Single batterys from System and want to only present a Aggregated battery with multiple "modules".

you can do the aggregated battery with
https://github.com/arrow1800/Victron-VirtualBattery
works quite well and you can adjust all parameteres in node red...

you can do the aggregated battery with https://github.com/arrow1800/Victron-VirtualBattery
works quite well and you can adjust all parameteres in node red...

Thats a nice idea!
If you prefer to feed a virtual (aggregated) battery over MQTT you can also use the driver: dbus-mqtt-battery
You can also get the data via Node-RED from Venus OS and then send it to a topic you decided in the config.ini. If there is a value missing that you need, I can add it to the driver.

Great New rldriver, will give it a try!
I just need a Parameter non the serialBattery driver to only sent the data to the mqtt, without registerin it as a stand alone battery in VenusOS.

I have all three batteries in venusOS: 2 real and one virtual. The virtual is assigned in ESS to be used, the other 2 are just info...

Great New rldriver, will give it a try! I just need a Parameter non the serialBattery driver to only sent the data to the mqtt, without registerin it as a stand alone battery in VenusOS.

Right now the driver can't send the data over MQTT without registering as battery, but you can try to select the MQTT battery as battery monitor under Venus OS GUI -> Settings -> System setup ->Battery monitor .
I don't know, if this direction (to only send data without registering) is intended, since this would complicate thing unnecessarly in my eyes.

Of course I did so. But there are some Problems with this:

venusos gets really slow when 3 or more batterys are connected
venusos seems to select the lowest charging current, regardless which device is selected there

What does the CPU load say? Could you check with the top command?
That would make sense, since all batteries are sharing the current which is limited by the charger/inverter.
You can try to disable all current control management options from the serialbattery, BUT pay attention. In this case you have to manage this by yourself with Node-RED and the virtual battery driver. In the worst case, the BMS should interact.
In utils.py set all variables to False that end with _ENABLE

Just to remember: When using multiple batteries in parallell, you can't tell which battery should charge with which current.

I have to change it back to test. Currently I have a secondary rpi to send the battery data to mqtt.
ok, I test this on weeckend. I can charge over 1000A, having several batterys in parallel, so this is not dangerous in my current setup. But that is why I dont care if a Single cell Blocks charging.

@pos-ei-don your setup sounds interesting. Do you have some more details? :)

as this bug is not fixed until now, you have to change to v14.0
https://github.com/Louisvdw/dbus-serialbattery/issues/421
in 14.3 Charge current control management referring to cell-voltage is not running

All.
Thx for comments so far. I have all current control disables in utils.py.
However the I do not get higher currents from my 3 x Multiplus 5000/48/70.
 3.5 A per battery bank.

So where do the Multiplus get this current limitation from? They should use the DVCC, right?
And, I still do not see a SOC in the tab of the Multiplus, as shown above.

Ok, I solved it. The MultiPlus need to have a restart. Now charge current from the Multiplus is controlled via DVCC settings.
The virtual battery is interesting to me. Are all individual voltages of cells listed here as well?
Can I set alarms for the virtual battery?

The virtual battery doesn't list all cell voltages. Check the full JSON structure to see which values you can feed. I think it would not make many sense, if you see already all batteries in the GUI and then a battery again the same data. Maybe do you have an example to understand the use case?
The driver dbus-mqtt-battery has following alarms at the moment, based on the configuration from the config.ini:

LowVoltage
HighVoltage
LowSoc

In the dbus documentation you can find the possible alarms.
I can add other alarms that can be triggered over MQTT, if you need them.

I just released a complete new version of the dbus-mqtt-battery driver. Now it supports also cell voltages and all warnings can be set over MQTT.

@ mr-manuel
Hello,
has the error from #421 been repaired in your version of the driver?
I think Louis doesn't have that much time to keep the driver up to date at the moment.
I'm currently running Waldemarfrech 0.14.3 because it works. but would love to have all the new ads from you too :-)
Does the Bluetooth version also now run without crashes?

@Bonzai10 no, I did not address https://github.com/Louisvdw/dbus-serialbattery/issues/421 yet.
I will check the differences to Waldemarfrech 0.14.3.
The BLE driver in my repo has implemented an additional workaround to prevent problems. It restarts the Bluetooth service every 12 hours via cronjob.

@Bonzai10 please check https://github.com/Louisvdw/dbus-serialbattery/issues/421 to test the fix.

Hello,
Thanks. i will test it tonight. can you offer a complete download of your installation? or do I have to install 14.3 from Louis first and then copy your files into it?
Sorry, I'm not a hero in this regard :-(

You can just follow https://github.com/Louisvdw/dbus-serialbattery/issues/421#issuecomment-1465329297. It downloads the whole driver from the branch of my fork and install it.

@Maxwell27321 was your issue solved? If not which issues still persist?


[test] Results of testing MapLibre android-v9.4.0 & ios-v5.11.0

Summary

Testing results of MapLibre android-v9.4.0 & ios-v5.11.0 released on Mar 12, 2021
Android tested on the Emulator with the AWS Location sample from https://github.com/aws-samples/amazon-location-samples/pull/11
iOS tested on Devices & Simulator with the AWS Location sample from https://github.com/aws-samples/amazon-location-samples/pull/10
iOS tested on Devices & Simulator with the Geography Class sample from https://github.com/roblabs/openmaptiles-ios-demo/commit/7b1a711b80167c76a73bb7dbbb441ac0738ea31a

Detailed Notes
Android Tests for Release
Using release — https://github.com/maplibre/maplibre-gl-native/releases/tag/android-v9.4.0
AWS Location Tests for MapLibre android-v9.4.0

[x] Upgrade MapLibre for iOS from android-v9.2.1 to android-v9.4.0 in the project https://github.com/roblabs/amazon-location-samples/tree/main/mapbox-gl-native-android
[ ] Wireshark network traffic for telemetry on various tile sets

Geography Class Tests for MapLibre android-v9.4.0

[x] Upgrade MapLibre for iOS from android-v9.2.1 to android-v9.4.0 in the project https://github.com/roblabs/osm2vectortiles-android

---
iOS Tests for Release
Using release — https://github.com/maplibre/maplibre-gl-native/releases/tag/ios-v5.11.0

[x] Using Xcode Server Bots, build the test app iosapp for Simulators & local Wireless devices
[ ] Wireshark network traffic for telemetry on various tile sets

Geography Class Tests for MapLibre ios-v5.11.0

[x] Upgrade MapLibre for iOS from 5.10.0 to 5.11.0 in the project https://github.com/roblabs/openmaptiles-ios-demo
[x] Deploy Geography Class.app to a device
[x] While adding MapLibre in Swift Packages to your project, use Up to Next Major:  5.11.0.  Or something appropriate for your project

maplibre-gl-native-distribution/issues/3 is still an open issue (but very minor)

[x] Verify in the Swift Packages Manager that MapboxEvents has been removed

[x] Long press on the Info Button and note down its response, "Mapbox Maps SDK for iOS 5.11.0"
[x] Verify Readme.md as it is shown in Xcode

While adding MapLibre in Swift Packages to your project, use Up to Next Major:  5.11.0.

Verify in the Swift Packages Manager that MapboxEvents has been removed

Geography Class running MapLibre 5.11.0 on an iPhone SE

AWS Location Tests for MapLibre 5.11.0

[x] Upgrade MapLibre for iOS from 5.10.0 to 5.11.0 in the project https://github.com/roblabs/amazon-location-samples/tree/main/mapbox-gl-native-ios
[x] Upgrade CocoaPods, as there may be references to MapboxEvents.  It's a good idea to clear the pod cache, see pod -h for guidance.  There may be build issues if you do not clear the pod cache.
[x] While adding MapLibre in Swift Packages to your project, use Up to Next Major:  5.11.0.
[x] Verify in the Swift Packages Manager that MapboxEvents has been removed
[x] Enable the Info button, since this project disables it:  mapView.attributionButton.isHidden = true
[x] Long press on the Info Button and note down its response, "Mapbox Maps SDK for iOS 5.11.0"
[x] Deploy Amazon Location Service Demo.app to a device

After: MapLibre 5.11.0 Swift Package in AWS

Before: MapLibre 5.10.0 Swift Package in AWS

While adding MapLibre in Swift Packages to your project, use Up to Next Major:  5.11.0.

Verify in the Swift Packages Manager that MapboxEvents has been removed

AWS Location running MapLibre 5.11.0 on an iPhone SE

@roblabs can we close this one?


Feature enhancements

Hello VentureDrake team,
I created a feature enhancement for the css. This enhancement adds a css.php configure file to Config. folder in the larvel-crm project. Than the configuration uses the env file for its variables to set the css, favicon, and fonts of the app.blade.php. If the env files does not have variables set than it fails back to the defaults. I would like to share the enhancement. How would I support the enhancement to the repo for review ?
Thanks
Here is a screen shot of my enhancement.

This is a nice idea.
First you should create this issue in the actually laravel crm package, this project is an example of using that package. I should actually disable issues on this repo for that reason.
Secondly what you want to do is to create a pull request for your enhancement, we would then review it and merge into the master branch.
Now on the topic of being update to change design style, this might be better handled using the settings table, and adding fields to the settings section of the UI. We actually have plans for this already, open for discussing.

I have worked on a project before where the css was store in the database. The project would used 'state'. State does not always work currently and I found I spent a lot of my time logging, debug and tracking done the issue. For me I would prefer to use env variables with a css.php config file. To querying a database to get css values is not a good idea in my opinion. That is just my opinion
Here are some thinking to think of

Performance: Querying a database for CSS values for every page load can introduce additional overhead and slow down the rendering process. Retrieving data from a database typically involves network latency and additional processing compared to reading data directly from a file.

Maintainability: CSS is typically considered part of the presentation layer and is best kept separate from the business logic and data storage. By storing CSS values in a database, you mix the concerns of data management and presentation, which can make your codebase more complex and harder to maintain.

Flexibility and Scalability: CSS files are designed to be easily editable and modular. By storing CSS values in a database, you lose the ability to easily make changes to the stylesheets and take advantage of the browser's caching mechanisms. Additionally, as your project grows, managing a large number of CSS records in a database can become cumbersome and less scalable.

Code Readability: Embedding CSS values within database queries can make the code harder to read and understand. Separating HTML, CSS, and JavaScript into their respective files and keeping them together allows for better organization and clarity.

Another thing that my team brought up is how people will use your project. If a stand alone project, yes css in database not that bad. What if someone is using your project as a composer package? That where things get hairy. We are using your project as a composer package. I know that your using Spadie and a permission.php file is made
'teams' => env('LARAVEL_CRM_TEAMS', false),
and I saw this and thought this could work. Please let me know what you think and if I should continue the steps of sending you the code.

Hello VentureDrake team, just checking in. Does your team want to move forward with me submitting the issue and code ? My lead on the project said if your team wanted to schedule a meeting he would be more than happy to answer any questions. Please let me know. Thank you

Yes, but please submit this on the package repo


Protect watcher from double close

Fixes #49961

Eg. in the tsserver log there were some exceptions that could result in projects being in incorrect state

Well, at least in the case of #49961, if the error in the log before this one was in fact #49310, then I at least have a fix for that already.
But, I think in the context of this code, it feels like we should at least either make the watcher potentially undefined and conditionally close it, or make it always required and remove the undefined! and allow close to proceed if it's called a second time. (Both of which are type safe.)


Bug: Windows installation

I got this message when trying out vllm with windows;
No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin'
Cuda is installed and available in the directory. Does vllm support windows installation now? Thanks for great work

Unfortunately, vLLM does not support Windows at the moment.

vLLM can run on Windows WSL as in #188. Please try it out.


"Invalid lineage in group, verify the contents of the group call"

What happened?
Using the query from https://github.com/PRQL/prql/issues/3490#issuecomment-1712962873, I get an "Invalid lineage" message with the Playground (PRQL 0.10.1)
Is this still a victim of #3111 ?
PRQL input
from inv=invoices
join item=invoice_items (==invoice_id)
join t=tracks (item.track_id==t.track_id)

group {inv.billing_country, t.name} (
  aggregate (c=count t.name)
)

group {billing_country} (
  aggregate (
    sort (-c)
    take 1
  )
)

SQL output
Playground shows:

"Invalid lineage in group, verify the contents of the group call"

Expected SQL output
N/A

MVCE confirmation

[x] Minimal example
[X] New issue

Anything else?
No response

I don't think this is related to #3111, but it does look like a bug. Here's the example minimized:
from invoices

group {billing_country, customer_id} (
  aggregate (c=count invoice_id)
)

group {billing_country} (
  aggregate (
    sort (c)
    take 1
  )
)

Woah, this is a really bad error, as it does not give much information. It would be better if we panicked here.

Using main, this query now generates "pipeline expected type [{*..}], but found type func infer -> infer"


Update README file with test plan configuration instructions

Aim
Improve installation steps clarity by providing additional instructions on defining environment variables when using test plans.
Description
If you define the environment variables in a 'Run' action of a scheme that uses test plans, they will not transfer to the 'Test' action as they did before. The checkbox with the label 'Use the Run action's arguments and environment variables' is not present in this case so you have to specifically define them in the configuration(s).

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Mind rebasing?


Unity editor pauses for a significant amount of time when ending Play mode in a scene when using MRTK 2.7

Describe the bug
The Unity Editor freezes for a significant amount of time when ending Play mode in scene. This appears to be caused by the "Windows Speech Input" and "Windows Dictation Input" data providers.
This issue was originally reported in 2019 and supposedly fixed, but still occurs in Unity 2020.3.34f1 / MRTK <IP_ADDRESS>.
See #4261, #4439, #3949, #8210
To reproduce
Steps to reproduce the behavior:

Create a new project configured for the HoloLens 2
Create a new scene. Go to Mixed Reality > Toolkit > Add to Scene and Configure...
Start the scene.
Stop the scene.
Notice that the Editor stops responding for a very long time (30 seconds+ on my PC)

Expected behavior
Scene stops immediately and Unity Editor continues to function as normal
Your setup (please complete the following information)

Unity 2020.3.34f1
MRTK <IP_ADDRESS>

Target platform (please complete the following information)

HoloLens 2

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


RocksDB implementation of the MemStore

First refactor storage provider via configuration so that for example NoopStorage can be used in tests and KafkaStorage for runtime, then add RocksDBStorage

https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide


[nrf fromlist] tests: bluetooth: tester: refactor CSIP btp command

Note: The corresponding changes from this are already in our auto-pts repo, so this should fix a discrepancy...
Refactor CSIP btp commands by removing the 'count' parameter from set_coordinator_lock and set_coordinator_release functions. If we want to support lock/release procedure on subset of set members in the future, 'count' param doesn't indicate a specific set member. Instead, introduce 'address_count' and 'addr' array params, although their usage is not yet implemented.
Upstream PR: https://github.com/zephyrproject-rtos/zephyr/pull/71059

Recreated https://github.com/nrfconnect/sdk-zephyr/pull/1971 due to merge-conflicts in the automatic manifest-update test branch on the old PR.


[Issue]: Visualization runs laggy. Are there any ways for me to improve the frame speed?

Contact Details
<EMAIL_ADDRESS>What was the issue?
Dear Administrators,
I just (successfully) installed TOPAS on my Windows system. I ran some examples' files and the rundemos.csh. I noticed that the visualization (animation) runs slightly slow and laggy. Is this normal/expected for WSL users, or are there any ways I can improve this?
Thank you for your help.
Kind regards,
Diaza
Version
4.0
What Operative System (OS) are you running on?
Windows (WSL)
Relevant log output
No response
Code of Conduct

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

Attestation

[X] I testify that I have fully read the bug reporting guideline beforehand.

Greetings Diaza,
I personally have not used TOPAS on WSL but during the initial testing of the installation I don't think we encountered any problems with visualization, unless of course you're simulating a huge number of particles, in which case it is normal that things are laggy.
Could you point to one specific example where this occurs for you and I'll try find a windows system to test on.
All the best,
Thongchai

Dear Thongchai,
Thank you very much for responding to my query. I was trying some of the example files. I attached a screenshot of what I ran and a link containing a short 15-second video of how the visualisation looked. As the video will show, it feels very laggy, with some flickering. Is that expected on a Windows system?
Kindly,
Diaza

Video capture of my screen:
https://streamable.com/g834wc

From what I can tell the flickering does unfortunately seem to be a WSL specific issue. If the animation/graphic is important to you I would recommend, for the moment, using the Debian/Mac versions of OpenTOPAS in which you'll see that the animation is much smoother.
All the best,
Thongchai


setup AWS  Rosa  Cli

Setup AWS RedHat OpenShift Service (ROSA)  Client  on the cli to work with ROSA install and configuration

Rosa cli available in v1.4.0


No sound at all after install

I just installed a free version of eqMac to test it out. It just cuts the sound altogether when it starts. Quitting eqMac restores the sound. Tried with internal speakers, bluetooth, USB. Clicking the "reload" icon to the left of the output device selection you hear a fragment of sound for a fraction of a second. Tried restarting audio via Terminal, nogo. No other apps running. I also tried the previous version of eqMac (1.5.1), same thing. The driver is there and looks fine. Just no sound and nothing moving in the eqMac panel.
Macbook pro 2012, 10.12.6 and iMac 10.13.6 both give same result

Hi, as I am not able to replicate this issue in the latest version of eqMac, I would be closing this issue for now. If you are still having this issue, please reopen this issue and leave a comment. Note that the no audio issue could still happen in the latest version really rarely. If that happens, either reboot your Mac or run the command below, which would attempt to restart the macOS audio service, although it might not actually do it.
sudo launchctl kickstart -k system/com.apple.audio.coreaudiod


Update SluggableTrait.php

New Feature findBySlugOrFail
Thank you for helping to make this package better!
Please make sure you've read CONTRIBUTING.md
before submitting your pull request, and that you have:

[ ] provided a rationale for your change (I try not to add features that are going to have a limited user-base)
[ ] used the PSR-2 Coding Standard
[ ] added tests
[ ] documented any change in behaviour (e.g. updated the README.md, etc.)
[ ] only submitted one pull request per feature

Thank you!

Thanks for the contribution.  I'm not really maintaining the 2.x branch anymore as it's for Laravel 4.x which is getting out-of-date.
That said, I would merge this if you clean up the code a bit.  I also think you could do the same thing much more simply:
// * untested
public static function findBySlugOrFail($slug)
{
    $slugs = static::getBySlug($slug);

    if ($slugs->count() === 0) {
        throw (new ModelNotFoundException)->setModel(new static);
    }

    return $slugs->first();
}

Or even better:
public static function findBySlugOrFail($slug)
{
    if ($model = static::findBySlug($slug)) {
        return $model;
    }

    throw (new ModelNotFoundException)->setModel(new static);
}

Also, please add a test to go with this new method.  Thanks!

Closing due to no response.  Feel free to re-open or comment if you are still having issues.


SR-9033: handle EPOLLHUP on Linux

If epoll_wait() reports EPOLLHUP, we must respond immediately and
unregister the event or else Dispatch will go into a spinloop.
This makes dispatch_io_pipe_close (#476) pass on Linux with identical
output to Darwin.

cc @compnerd @ktopley-apple @MadCoder

@swift-ci please test

Maybe add the test from Johannes PR to this? Then we have the test and impl together?

@gottesmm - I don't think that matters if we commit them at the same time.  They should remain individual commits to retain the authorship information.

@compnerd you can keep the authorship information the same and have a different committer. @adierking Can you just cherry-pick that commit into this PR and do a test and merge. Lets get this in.

I created a combined PR for this to get this going. I am going to close this to eliminate confusion.

Thanks - I've been busy and I haven't been able to update this.


Change command format to "/name" style

For better clarity of prefixes and more natural UX, the fields are mentioned in full such as "/name" instead of "/n" and the slash is at the front of a field instead of being at the end.
No change to existing fields used.
Error message for duplicate prefixes changed to follow natural ordering such that the prefixes displayed is consistent.

Looks good to me!


Feature request: Latency monitoring

Problem
In our current tool (Cacti) for trending SNMP metric data every device has a connectivity check that also stores the latency between the system and the polled device.
I'm currently missing that functionality SC4SNMP.
Latency is an important metric for us, but also a good first indicator that if no connectivity exists then thats the reason for failing SNMP polls.
It's also easier in Splunk to raise an alert for a event that fails with a message than a search that evaluates if data is missing.
Wanted feature
Be able to poll host using either PING or SNMP connect and store the latency to Splunk
Perhaps this could also be used to prime the poller - i.e Do not attempt a poll/walk if connectivity test fails.

How would you calculate latency based on UDP?
Currently I get 9 hits on Splunkbase if I search for PING - perhaps one of them would suit your need.
Also realise that PING is a totally different protocol (ICMP) and actually only tells you that power is on the NIC. It says nothing about the services behind. If you need a check on that, I'd suggest doing synthetic checks every X seconds/minutes.


Feature/Dependency Upgrades [OSF-8936]

https://openscience.atlassian.net/browse/OSF-8936

More breaking changes than I originally thought. Need to work on this more.


[docker] fix docker release image

Summary
This PR addresses the issue of our previous approach to only publish the latest version of devbox with :latest tag in dockerhub. It achieves 2 things:

fixes the previously broken github action to release a docker image after every tag creation.
updates the dockerfile so that devbox binary doesn't automatically upgrade to latest version upon first use. This allows docker pulls have fixed versions.

How was it tested?
Already tested on releasing 0.10.7 version to dockerhub as test.

docker pull jetpackio/devbox:0.10.7
docker run jetpackio/devbox:0.10.7
confirm output shows devbox version 0.10.7 and doesn't upgrade to latest version.
same for devbox-root-user

Updated the PR based on huddle discussion with @mikeland73
The new approach is to set latest tag to false and remove replacing the launcher logic. In a follow up PR I'll add a job to update latest tag as well.


404 resources serve 200 status code

I think this should be handled better.
Now 404 resources return a 200 status code with empty gif. I think it should return a 404.

I initially do this to help things to just work; but you are right, I find that many sites rely on the error code and use image.onerror to load default image.   Of course, it wasn't really critical to have it on the default config because you should have your own server config.  But it provide a good example config so  I've made change in latest code.


channels.history v2api not work

Description
channels.history of v2api not work
I tryed channels.history api as follows
import slack

slack_token = os.environ["SLACK_API_TOKEN"]
sc = SlackClient(slack_token)
res = sc.api_call("channels.history", json={
        "channel": "CEB1BL1MM",
    })

but, I got error like this
slack.errors.SlackApiError: The request to the Slack API failed.
The server responded with: {'ok': False, 'error': 'channel_not_found', 'warning': 'missing_charset', 'response_metadata': {'warnings': ['missing_charset']}}

With the same settings(token, scope...),  I got correct result in v1 api client .
So, I think this is a bug of v2 api .
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Reproducible in:
slackclient version: more than 2.0.0
python version: 3.6.5
OS version(s): macOS 10.14.4

Hi @GentaObata, Thanks for trying v2. To run this same code utilizing our new client I'd structure it like so:
from slack import WebClient

slack_token = os.environ["SLACK_API_TOKEN"]
sc = WebClient(slack_token)
res = sc.channels_history(channel="CEB1BL1MM")

Can you try this and let me know if you receive the same error message?

I was working on this and there are two things that I noted in my testing. 1) the "channel:history" permission needs to be granted in the slack API web interface. This is not a programmatic thing, this is an app configuration thing; 2) The "Bot" token cannot be granted permission to this scope, and therefore the regular non-bot token should be used. in your code.
So grant permission and swap to the other token - That might fix it.


Whatsapp not opening in full-screen on Chromium

@rpotter12 @xandao6 @priyansh19
While running whatsapp-play if due to some command WhatsApp opens in chromium it is never opening in full screen.
Is it some kind of bug or intended feature?
If it's a bug I would like to work on it so, please direct me to the associated file in codebase so, I can give it a try.
SS of issue

Expected view

It's not a bug .. In the main code file the dimensions are intentionally added .. If you want your window to be a full screen then you can change the dimensions on your end 🙂


Android implementation JailBreak Root detection

Hello i try to implement the detection of jail break and rooted device, when i launch on iOS it's works but android there is a crash with "Could not check the device's Jailbreak or Root status. See inner exceptions for further details".
Implementations :
private async void CheckJailBreakRoot()     {         IJailbreakDetector _jbDetector = App.Services.GetRequiredService<IJailbreakDetector>();         if (_jbDetector.IsSupported())         {             if (_jbDetector.IsRootedOrJailbrokenAsync().Result)             {                 MainPage = new BlankShell();                 return;             }         }     }
Following information :
dot net maui 7
Android Api lvl 33 and 34 (pixel 8)
Could you please help me to debug ?

Try to await the method on OnAppearing.


InstancePosition is still lurking about in JustSaying

What is InstancePosition? Is that something internal to JustEast ?

That's correct - It was added before the library was open source.
Payman Labbaf Senior Developer
------------------------------JUST EAT Group - Fleet Place House, 2 Fleet
Place, London EC4M 7RF, UK
WEB www.just-eat.comMOB +44 (0)<PHONE_NUMBER>SKYPE payman_labbaf
------------------------------
Payman forgets his tag but manages to sneak past John #minifistpump
On 6 June 2015 at 22:48, Darius Damalakas<EMAIL_ADDRESS>wrote:

What is InstancePosition? Is that something internal to JustEast ?
—
Reply to this email directly or view it on GitHub
https://github.com/justeat/JustSaying/issues/7#issuecomment-109653197.

--

This is an e-mail from the company JUST EAT plc. This e-mail may contain
confidential information and/or privileged or personal advice. This e-mail
is intended for the addressee(s) stated above only. If you receive this
e-mail by mistake, please return it to JUST EAT plc without producing,
distributing or retaining copies hereof. Thank you.

Thanks. I was also interesting in the reasoning behind having JustSaying.Models assembly. I thought base Message class could live well in JustSaying.Messaging assembly under JustSaying.Messaging namespace. Any reason for having Message defined in a separate assembly?