SuSo-F-001: Verify full and incomplete solutions

It should be possible to verify an existing solution.

Verify whether the solution is a valid square
Verify that there are no duplications in

the rows
the columns
the inner squares

Full and incomplete solutions should be supported
It should be possible to return the positions in the sudodu where there a duplications, so that this can later be displayed in a UI

https://github.com/julia-jordan-712/sudoku-solver-angular/pull/2


Add rocm extra to pyproject.toml

So that the extra is included for the published package

@Mergifyio backport release-v0.5


Scroll Problem

Hi,
Thank you for your quick response. I have one problem with this library when I swipe the screen from right to left view pager change but when the next page is out of the screen title list of pages doesn't scroll. how can I fix this?
Thanks,
Vafa

Hi,
Can you provide the steps for recreating this issue. Also i have pushed new code and didn't find any of the above mentioned issue. Please check it out once
Thanks

Hi, i have pushed new code in master branch with swift 3 support. Please check it out . This issue is not present in current swift 3 code. I have checked for the issue in previous code and couldnot recreate it. Also the code has been updated in viewpager-swift2.2 branch for previous project. Thus closing this issue for now.

Hi,
How to change the image on current selected tab?

Hi @nrlnishan, I have this same issue. This happens when "isTabIndicatorAvailable" is set to false and "isTabHighlightAvailable" is set to true. When "isTabIndicatorAvailable" is set to true, the tabContainer scrolls.
I found another issue. I shall report it as a new bug( #21 )

Thanks for the quick update.


Add GPGKey GenericKey gpg cli wrapper

Use it for GPG provision so secret key does not have to
be imported into keybase to provision.
r? @maxtaco

Users still need the option to provision via import. It is actually very useful for users to import their secret key into keybase.  Otherwise they can't decrypt or sign.
The answer is that this is a choose your own adventure.  Need to prompt if they want to provision via import into keybase or via signing.
Sorry for now communicating this more clearly but this is a pretty important usability thing.

PTAL


Designs of Beginner Friendly Repos and Open source program are not looking good

Category

[ ] Documentation
[ ] Resource Addition
[ ] Codebase
[x] User Interface
[ ] Feature Request

Description
The Design of Beginner Friendly Repos and Open Source Programs are not looking good , i want to improve both these pages.
Please assign me this issue under JWOC'24.

@Sriparno08 I would love to work on this issue under JWOC. Please assign this issue to me

@Sneha123-zudo You're assigned.

@Sriparno08 I have the experience to create beautiful UI designs, Can you assign this issue to me so I contribute to this project?

@harshvardhan614 This issue is closed. So, it can't be assigned to you or anyone else.


debug and trace option do nothing with prebuilt binaries

Hi @bluenote-1577,
Maybe it's on purpose, but the debug and trace option do not generate a different output.
Yet, I am interested by some statistics such as the number of deduplicated reads.

Hi @fplaza,
I wonder what's going on here... can you show me the exact steps you do to recreate the problem? I tried and was able to get it working with the prebuilt binary.

My bad.
I was using one hyphen (-debug) instead of two (--debug) so the sketches were written in the "ebug" directory


parsing aliases with = inside them fails with ValueError: too many values to unpack

resholve fails to parse aliases with = chars in their definition because aliases are split with .split('=') here, this breaks derivation realisation whether or not solutions.default.fix.aliases is set to true.
example alias that triggers the issue:
ssh_prod='ssh $(AWS_REGION=us-east-1 ssm-machine jump)'

error emitted during evaluation:
>   File "/nix/store/bmnmsvgqamwdcvybicmw5hkv1lanihnh-resholve-0.10.5/bin/.resholve-wrapped", line 3509, in handle_builtin_alias
>     alias, definition = word.strip("\"='").split("=")
> ValueError: too many values to unpack

patching resholve as follows to only split on the first occurrence of = fixed it for me, I'm willing to create a PR for this if you don't mind.
diff --git a/resholve b/resholve
index c163fa9..e0581bc 100755
--- a/resholve
+++ b/resholve
@@ -3506,7 +3506,7 @@ class RecordCommandlike(object):
             if word.ok:
                 # not dynamic; more examples in tests/aliases.sh, but:
                 # 'd', 'echo $SOURCE_DATE_EPOCH'
-                alias, definition = word.strip("\"='").split("=")
+                alias, definition = word.strip("\"='").split("=", 1)
                 # TODO: maybe below deserves an explicit API
                 cmdlikes[alias].alias = True
                 commandlike = definition.split()[0]

Thanks for the patch and PR offer.
I think you can hold off on the PR for now while I see if I can turn around a more general fix for my own corner-cutting.


vs code icon is not displayed in the taskbar

this was happened when i was uninstalled vs code first time and reinstall it
after that vs code icon is not displayed in the taskbar and i try to
reinstall vs code for severel times but it didn't work out.help me to fix this

Can you try out our insider release?


How to profile IPEX-llm application to turn performance from top to bottom

I'd  like to use VTune to profiel IPEX-llm application focusing on GPU. e.g. the performance/all-in-one benchmark to get a full picture of bottleneck.
My questions are:

General guide to use VTune to profile IPEX application.
Which OS shall I choose for most profiling details? Whether Windows have some limitation like "layers level profiling is not available".
How to map the source code with the possible profiling bottleneck result.

hi @lucshi

I'd like to use VTune to profiel IPEX application focusing on GPU. e.g. the performance/all-in-one benchmark to get a full picture of bottleneck. My questions are:

General guide to use VTune to profile IPEX application.

You may refer to this doc https://www.intel.com/content/www/us/en/docs/oneapi/optimization-guide-gpu/2023-0/gpu-analysis-with-vtunetm-profiler.html and their cookbook of gpu https://www.intel.com/content/www/us/en/docs/vtune-profiler/cookbook/2024-2/profiling-dpc-application.html

Which OS shall I choose for most profiling details? Whether Windows have some limitation like "layers level profiling is not available".

Both linux and window are ok. If you want a "layers level profiling", how about a torch profiler?

How to map the source code with the possible profiling bottleneck result.

In theory, you can refer to this to do it. You can give it a try.
https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2023-0/viewing-source.html


Drag And Drop Replaces Contents

Dragging anything a webView accepts causes the editor to be replaced with the dragged item.
Drag and drop operations should be either disabled or overridden to accept only text files and set the content of the editor instead of the webView.

https://github.com/faceleg/ACEView/pull/37

I'm going to leave this open as I think being able to drop files into the view and have them replace the ace editor content would be useful.
Thanks for te PR!


Unhandled 'error' event terminates node.js process

After stopping a kafka instance (I have 2 running instances under normal conditions), node prints the following output and then terminates the process:
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: connect ECONNREFUSED <IP_ADDRESS>:9093
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1081:14)

I attached 'error' event handlers on all the Client, Offset and Consumer objects that I've manually instantiated.
If I setup a global error handler, then the process doesn't terminate and the consumer happily continues receiving messages from the remaining broker.
process.on('uncaughtException', (err) => {
  console.log('whoops! there was an error', err.stack);
});

In Client#fetchLatestOffsets (the app is invoking this method) there are the following lines:
https://github.com/SOHU-Co/kafka-node/blob/master/lib/offset.js#L91
      var offset = new Offset(client);
      offset.fetch(payloads, callback);

So, it creates an internal new Offset object, that newly offset has not attached an 'error' event handler, so when Client emits an error it aborts the process because the offset re-emits the event but no one is listening to it.
https://github.com/SOHU-Co/kafka-node/blob/master/lib/offset.js#L18
var Offset = function (client) {
  var self = this;
  // ...
  this.client.on('error', function (err) {
    self.emit('error', err);
  });
};

The solution seems to be to not create a new Offset and just invoke self.fetch(...), or don't re-emit Client error events forcing the user to handle those events with Client#on.
This problem does not occur if I don't invoke Offset#fetchLatestOffsets. I'm using v1.0.7
Any thoughts?

I would lean towards using the self.fetch but I'm not sure why a one time instance of Offset is created. Maybe @CharlesWall recalls?


Export Mass Properties

Export all the mass properties for all or a selection of parts in the assembly tree to an excel file.

This feature is available in CAD+


Update incorrect link - release 0.1

Proposed changes
Problem: Link to latest release points to kubernetes-ingress repo.
Solution: Update link to point to this repo.
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that all unit tests pass after adding my changes
[x] I have updated necessary documentation
[x] I have rebased my branch onto main
[x] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

@lucacome could you also merge this and #872, please?


How to increase size of bgfx::InstanceDataBuffer

When experiments with draw more than 80.000 instances bgfx::getAvailInstanceDataBuffer  panic:
BX_CHECK(_num == _idb->size / _stride
			, "Failed to allocate instance data buffer (requested %d, available %d). "
			  "Use bgfx::getAvailTransient* functions to ensure availability."
			, _num
			, _idb->size / _stride
			);

Try to divide object to  several program(shader) call, but recieve the same BX_CHECK. Question: how to empty allocated buffer or delete it and allocate new?

You can increase transient vertex buffer during initialization: https://bkaradzic.github.io/bgfx/bgfx.html#_CPPv4N4bgfx4Init6Limits15transientVbSizeE


xraylib: now on maven central

Hi @luttero,
I am wrapping up development of a new xraylib release, and have recently put a lot of work in the Java implementation that you are using. One of my improvements is creating proper sources and javadoc jars, and managed to get them available on Maven Central.
I was wondering if you could give this a try and confirm that this is all working properly... It does here but confirmation would be nice :-)
Many thanks in advance,
Tom

Thanks Tom,
I will give it a try for sure. I am working these days on a new implementation of Maud specific for an XRD+XRF project in which I am shifting more of the calculations to the xraylib. It will be good to test it there. Actually we have another project in which one of my collaborators is working with the C/C++ implementation of xraylib directly. It is a further development of our FPSM program/method for the search-match.
It seems we are using more and more the xraylib library. Thanks for the development and making it available, it is really a high valuable library for us and I hope Maud and FPSM users will start to use also the XRF part in the future (some have already started, we have a lot of inquires on how to use it).
Best regards and thanks for the info,
Luca

On 6 Sep 2019, at 10:26, Tom Schoonjans<EMAIL_ADDRESS>wrote:
Hi @luttero https://github.com/luttero,
I am wrapping up development of a new xraylib release, and have recently put a lot of work in the Java implementation that you are using. One of my improvements is creating proper sources and javadoc jars, and managed to get them available on Maven Central https://search.maven.org/artifact/com.github.tschoonj/xraylib/3.99.2/jar.
I was wondering if you could give this a try and confirm that this is all working properly... It does here but confirmation would be nice :-)
Many thanks in advance,
Tom
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/luttero/Maud/issues/1?email_source=notifications&email_token=ABTRK3FYZ3MTJZUGTCGBKYLQIIHZTA5CNFSM4IUGLPKKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJXZ75A, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTRK3EGSBWWIISC5SNE7JTQIIHZTANCNFSM4IUGLPKA.

4.0.0 has just been released and is now available from Maven Central


Version gap in Fabric React and its documentation

Category

[ ] Question
[ ] Typo
[X] Bug
[ ] Additional article idea

Expected or Desired Behavior
I'm trying to use the TextField component from Fabric React. It works ok, but clearly the version bundled with SPFx 1.5.1 is a number of versions back. @juliemturner tells me it is 5.83, while the current version of Fabric React is 6.49.2.
Observed Behavior
We ought to be able to use the onChange event, but it doesn't fire. The onChanged event does fire, however, though it is deprecated.
The newer onChange event passes the event and the value, so we can use it with multiple TextField elements, which is preferable.
Steps to Reproduce
The onChange event be.low never fires.

            <TextField
              name="matterSearch"
              prefix={ this.props.matterContext }
              onChange={ this._onTextfieldChange }
              value={ this.state.matterSearch}
            />

the onChanged even below does fire.

            <TextField
              name="matterSearch"
              prefix={ this.props.matterContext }
              onChanged={ this._onTextfieldChange }
              value={ this.state.matterSearch}
            />

Submission Guidelines
Since it's difficult to tie the version of  @microsoft/sp-office-ui-fabric-core to the version of @microsoft/office-ui-fabric-core (no sp-),  and the Fabric React docs give no indication of when methods or properties have changed, it feels like SPFx is broken. This kind of thing causes friction and a loss of faith in the product. That is a bad dev UX, which I consider a bug. I'm hoping the bundled version
"@microsoft/sp-office-ui-fabric-core": "1.5.1",
for 1.6.0 is closer to current.
Thanks for your contribution! Sharing is caring.

This issue also wasted some of my time. I found the documentation is unclear. I found the onChange has been fixed in the latest build Fabric React 6.x.x but SPFx 1.6 is not working with 6.x.x version yet (I updated to the latest version to test but later had to downgrade). The following two issues explain the core problem:
https://github.com/OfficeDev/office-ui-fabric-react/pull/5764
https://github.com/OfficeDev/office-ui-fabric-react/issues/6126
For the current solution I am building, I also need the onChange event and might have to use native HTML .

This is a timing and versioning challenge between the packages. Office UI Fabric react is already supporting React 16 and SPFx with SP UIs have not yet been updated to React 16 version. This means that you cannot use the Fabric 6 version yet. Unfortunate timing, but... we are working internally on trying to do a better job on the versioning. Feedback noted, but there's nothing we can do for this now.

I totally get what he issue is, but since we're suggesting people us Office UI Fabric and some things simply don't work due to the version mismatch, the "broken" might stick to SPFx, where it shouldn't.
I'd love to see documentation versioned right along with the code. The way AngularJS give a link for the errors is awesome, too. Heading in those directions would make SPFx more robust and usable.


Update default.nix

Replace new download server.

Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

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

[ ] Fits CONTRIBUTING.md.

@Birdthatcantfly Welcome! The commit name must start with the package you edited. It should be something like adom: fix download url. PR name should be same too.

You are targeting the wrong branch.

Actually you should get adom from steam or something else. I think we should remove this package.


Add first version of Themes

So it works like this:

Themes are stored in src/constants/themes.js
When a site is requested, it loads in with extra
Default theme is "default", automatically selected, when "currentTheme" isn't stored in LocalStorage

Please review and give feedback.
Let's hope this doesn't break.

themes and packs can be open at the same time

i forgot that. ok, gimme a moment.


Modernized ChainStorage Sync: Enable Chainstorage consuming ChainNode/ChainStorage block as backfill source

ChainNode as data source: Unlike normal node providers, Chainnode uses header to capture security token (yes, safer!) but currently Chainstorage doesn't seem to support this way to authenticate with a block provider.
ChainStorage as data source: Enable ChainStorage use another ChainStorage Blocks to sync can be 100x of the syncing performance (Assume 100 trx for each block)

Cc @jiezhang
#P1

Improve replicator workflow by introducing mini batches and continue workflow as new to prevent timeout: https://github.com/coinbase/chainstorage/pull/94


HOU TO TRAIN???

@lfydegithub Hello,
You can reference this repo.
https://github.com/kaka-lin/yolov2-tf2


[SuperEditor][SuperTextField][iOS] Make caret word snapping less aggressive (Resolves #2152)

[SuperEditor][SuperTextField][iOS] Make caret word snapping less aggressive. Resolves #2152
On iOS, the caret snaps to the edges of a word. However, this shouldn't happen when the user taps at the caret position.
This PR changes SuperEditor and SuperTextField to avoid snapping the caret when tapping at the caret.
Some required adjustments:

The check for a tap over the caret was using the snapped position instead of the tap position. Modified to use the exact tap  position.
The check for a tap over the caret was expanding the caret 24px in all directions. This causes an issue, because tapping on a line below (or up) can be interpreted as a tap on the caret. Modified to expand only horizontally.

We still have a problem in SuperEditor regarding showing the toolbar when tapping at the caret. We have this code:
if (didTapOnExistingSelection && _isKeyboardOpen) {
  // Toggle the toolbar display when the user taps on the collapsed caret,
  // or on top of an existing selection.
  //
  // But we only do this when the keyboard is already open. This is because
  // we don't want to show the toolbar when the user taps simply to open
  // the keyboard. That would feel unintentional, like a bug.
  _controlsController!.toggleToolbar();
} else {
  // The user tapped somewhere else in the document. Hide the toolbar.
  _controlsController!.hideToolbar();
}

However, _isKeyboardOpen uses the bottom view insets. This doesn't work if there are any Scaffolds in the tree without resizeToAvoidBottomInset set to false. Maybe we can check for an ancestor KeyboardScaffoldSafeArea and if we don't find one, we don't do the _isKeyboardOpen check.

@matthew-carroll
There are three failing tests that I'm not sure what to do:

SuperEditor robot taps to place caret at a non-linebreak offset with different affinities (on iOS)
SuperEditor text affinity upstream and downstream positions render differently at a line break (on iOS)
SuperEditor text affinity upstream and downstream positions render the same if not at a line break (on iOS)

All of these tests place the caret at a specific position, then try to place again in the same position, but with different affinity. So, the taps are being considered to be over the caret, and we are not changing the selection.
On Android, it seems we change the selection even when tapping at the caret.
Should these tests attempt to clear the selection before trying to set the new selection?

@matthew-carroll I modified also "SuperEditor text affinity upstream and downstream positions render the same if not at a line break (on iOS)" because it also uses the same document position with different affinities.
If this isn't ideal, then we probably should modify the checks to instead of looking at the document position look at the current caret rect.

@matthew-carroll I pushed a change that I forgot to push before.


Native Client Performance

This issue will focus on Native Client specific performance slowdowns and attempting to fix them.

I spent some time playing around with some generic userspace centric programs to get native client timing issues. I found a few interesting things.
I ran the following programs in both Lind and natively.

nothing.c - this was an attempt to basically do nothing and see what times I would see.

#include <stdio.h>
#include <time.h>

int main(int argc, char * argv[])

{
     int i;
     i += 1;
}

busywait.c - This was an attempt to make the program do nonsense but take up a decent chunk of time.

#include <stdio.h>
#include <time.h>

int main(int argc, char * argv[])

{

    clock_t start, end;

    int wait = 10000;
    long long i = 0;

    start = clock();

    while (i < (wait * CLOCKS_PER_SEC)){
        i += 1;
    }

    end = clock();
    long long total_time = end - start;
    printf("Clocks per sec %d\n", CLOCKS_PER_SEC);
    printf("Busy loop time %lld \n", total_time);

}

Some stats:
nothing.c
Native time: 2ms
Lind time: 22ms
Lind Safeposix Time: 3ms
Flamegraph
What's strange here is that we have 19 ms unaccounted for here. The FlameGraph (ignoring PythonInit and PythonFinalize which occur before/after our program timer) seems to suggest that the majority of time is being spent In NaClTextDyncodeCreate which utilizes the Validator. This occurs while mapping the program and libraries.
I had some weird results with busywait.c
Native time - Total time 10.639s / Inner program loop time 10.637s
Lind time - Total time 1.569s Busy loop time 1.548s
System call time: 3.3ms
[FlameGraph](file:///home/rennergade/developer/nyu/lind/busywait.svg)
Here we're seeing that additional penalty between the total time and inner loop time, presumably also due to the validation which we can see in the FlameGraph. But what's weird and immediately striking here is that the program runs about 7x faster in NaCl. I don't really have a clue why this is happening, except it being some compiler optimization. Though it is really surprising that would be happening in nacl-gcc and not actual gcc.

As far I can tell the above discovered validator penalty along with the overhead we still have from fork (which was improved from ~1000x slower to 100x slower) are the only notable sources of inefficiency in NaCl.

Apparently that weird time difference was because nacl-gcc compiles long longs to just longs because it defaults to c89 if c99 isn't specified. Weird and good to know.
Now that I have more accurate timing of userspace code, it looks like nacl gives about a ~5% performance penalty for userspace code.

NaClSysDyncodeCreate is apparently its own system call with its own table number. I believe the compiler does this for nacl programs and loading.


There is a problem with the display on macos

The same jar package code, when displayed on MACOS, there will be a visual bug.
When I drag and drop on MACOS, it looks like this: the feature works, but it doesn't appear as complete as it does on Windows.
java <IP_ADDRESS> 2022-08-18 LTS
Java(TM) SE Runtime Environment 18.9 (build <IP_ADDRESS>+1-LTS-1)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build <IP_ADDRESS>+1-LTS-1, mixed mode)

It is displayed normally on windows
java 11.0.12 2021-07-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)

Unfortunately, I don't own a Mac and don't have access to one. I did recently rework how the sizes are chosen for the overlay and floating frame. Maybe that will fix the issue. I'm going to be publishing a 0.6.0 soon (possibly today).

Unfortunately, I don't own a Mac and don't have access to one. I did recently rework how the sizes are chosen for the overlay and floating frame. Maybe that will fix the issue. I'm going to be publishing a 0.6.0 soon (possibly today).

The new 0.0.6 code will still have this problem

You may try jdk 19. I have seen a lot of issues in jdk 11 & 17 with swing for some reason, but jdk 19 seems to fix all but one that I have come across

I'm now seeing a similar on JDK 17 with 4k displays, also the drop locations are not correct. I think this may be a java issue. I will test with JDK 19 on the same displays and see how it behaves.

I do recall there being some dpi issues with an older version. I will see if I can reproduce the issue with some older versions and display settings.

So, on windows, with JDK 20, with two different screens, there are strange issues with rendering the drop points.
Tested Screens
3840x2160
5120x1440
The drop overlay renders in a strange blue color, and does not even necessary overlap with the entire app. Instead it is in the upper left of the app. The actual look of the overlay looks nothing like what it should, and instead is just a rectangle or two that is light blue. But on my super wide monitor, it correctly renders the overlap with the correct blue shading, but it does not size correctly.

Wow, that is very strange. I'll see if I can get it to do that. So far, I have tried it out on Java 9 with 150% scaling and I see an issue there with the position when floating a dockable. The overlay has looked ok though.

So, on windows, with JDK 20, with two different screens, there are strange issues with rendering the drop points. Tested Screens 3840x2160 5120x1440
The drop overlay renders in a strange blue color, and does not even necessary overlap with the entire app. Instead it is in the upper left of the app. The actual look of the overlay looks nothing like what it should, and instead is just a rectangle or two that is light blue. But on my super wide monitor, it correctly renders the overlap with the correct blue shading, but it does not size correctly.

I wonder if it is confused about which window your mouse is over. At least in that first image, the highlight looks to be the perfect size to fit in the top half of the other frame.

Wow, no. That's the dockable that's floating, not another frame. Forget what I said (It has been too long of a day).

for (GraphicsDevice screenDevice : env.getScreenDevices()) {
    System.out.println("scale for: " + screenDevice.getIDstring() + ": " + screenDevice.getDefaultConfiguration().getDefaultTransform().getScaleX() + ", " + screenDevice.getDefaultConfiguration().getDefaultTransform().getScaleY());
}

@tlf30 Hey, could you tell me what this code outputs on your setup?
I believe most of this boils down to me not using the scaling properly. Essentially that makes almost all the positioning wrong. Funny enough, the center docking handles are the only things I use the scale for. That's why they appear huge in the original screenshot in this issue.
I did more testing on 150% and the drag position was way off. I scaled the mouse position using the above code and the position was fixed. However, that only works on the 150% monitor. I need to figure out how you tell which monitor you're on and using the scaling for that. This might take some time.

Absolutely, here is the output
scale for: \Display0: 1.25, 1.25
scale for: \Display1: 2.0, 2.0

I'm now seeing a similar on JDK 17 with 4k displays, also the drop locations are not correct. I think this may be a java issue. I will test with JDK 19 on the same displays and see how it behaves.

I tested it on macos jdk19 and found the same problem.

When I try to drag, the component behind the background temporarily disappears.

Hard to see, but it looks like the DockingUtilsFrame where the handles are drawn isn't being hidden. This frame is set as undecorated (this part looks to be working) and the background is set to new Color(0, 0, 0, 0) to make it transparent. This must not work properly on macOS. I'll see if the internet has any suggestions.

@Richard-Tang It turns out that transparency works a little different on macOS. I have committed a change to use the client property "Window.alpha". Apparently you have to set that to 0.0f instead of using setBackground(new Color(0, 0, 0, 0));
If you're able to try it out, that would be great. I am still investigating the other scaling issues.

@Richard-Tang It turns out that transparency works a little different on macOS. I have committed a change to use the client property "Window.alpha". Apparently you have to set that to 0.0f instead of using setBackground(new Color(0, 0, 0, 0));
If you're able to try it out, that would be great. I am still investigating the other scaling issues.

This time it is indeed transparent, but without ModernDocking layout display!

The original layout component is no longer displayed.

@Richard-Tang Interesting. We're learning something! I've been doing some research about translucency/transparency in Java Swing. I've added a new test class to basic-demo. Could you run TranslucentTest.java  and comment here with what the output is.
For example, when I run it on my Windows 11 machine it outputs the following.
Is uniform translucency supported: true
Is per-pixel translucency supported: true
Is shaped window supported: true

I suspect that macOS doesn't support the per-pixel translucency and that's what we're seeing here. Either way, this looks like something I need to consider and have a backup solution for when the transparency tricks won't work.

For example, when I run it on my Windows 11 machine it outputs the following.

> Task :TranslucentTest.main()
Is uniform translucency supported: true
Is per-pixel translucency supported: true
Is shaped window supported: true

Well, there goes that theory. I guess macOS supports it but it doesn't work the same.

@Richard-Tang Undid the previous change and set the background color of the content pane to be transparent. I have my fingers crossed that does something, if you wouldn't mind trying.

I made another change based on what was discovered in Issue #68 that might be related to this issue as well. I am publishing a 0.6.1 right now which should be available on maven central later this morning.

#68 This solves the translucent issue on MacOS
But in the latest code, instanceof JComponen，Actually getContentPane() is a JPanel
try {
	if (getContentPane() instanceof JComponent) {
		((JComponent) getContentPane()).setOpaque(false);
	}
}
catch (IllegalComponentStateException e) {
	// TODO we need to handle platforms that don't support translucent display
	// this exception indicates that the platform doesn't support changing the opacity
}

It currently works on MacOS ((JComponent) getContentPane()).setOpaque(false);

A JPanel is a JComponent. getContentPane() returns a JComponent so I didn't want to make assumptions.
Looks good. Something still seems a little off with the handles, but at least they're rendering with transparency.

@Richard-Tang Could you try out the latest? I wrote issue #72 related to this issue. Turns out, the special RepaintManager that I use to check for EDT violations breaks the transparency on Linux and I suspect the same happens on MacOS. I modified the demo to have this off by default.
This would also be a problem for apps derived from my example code if they kept the FailOnThreadViolationRepaintManager.install(); line.

--laf=light
--laf=light --enable-edt-violation-detector=true

--laf=dark --enable-edt-violation-detector=true

Now the test situation is that the add --enable-edt-violation-detector, Will have display problems.

I'm a little confused. Is there a missing screenshot there with the detector off?

--laf=dark --enable-edt-violation-detector=false
--laf=light --enable-edt-violation-detector=false

Damn :( I had taken out a few of the other changes I made. Maybe that was a bad idea.

@Richard-Tang Getting back to this again. What does it display with --laf=dark --enable-edt-violation-detector=false?
I noticed that before when it was working you were running my Example.java and now when it wasn't working again you were using the basic demo MainFrame.java. I wonder if it's some issue with those look and feels on MacOS.

I came across this FlatLaf MacOS transparency issue last night (https://github.com/JFormDesigner/FlatLaf/issues/705) that has a very similar issue. I will try the suggested workaround for 0.7.2.

0.7.2 has the workaround in it now.

Closing. I believe this has been resolved.


Straight has dirty worktree

Whenever I pull straight, I get this:

Not hard to fix manually, but a bit annoying. Does look like straight doesn't play too well with submodules?

Yes, looking at the merge handling it doesn't look like there's any code to account for submodules. It would be a very welcome addition.

I've never really used git submodules, so I'm not entirely sure what the best approach would be.
Would running git submodule update after merge if .gitmodules is present in the repository be an acceptable handling?

Sorry, I don't have extensive experience with submodules either. However I think we would want to use flags
git submodule update --init --recursive

and you don't have to check if .gitmodules exists (the command is a no-op if it doesn't).
I think submodules have to be updated every time we perform a checkout or reset of any sort, honestly. It may therefore make sense to abstract the code into a function that can be called all over the place.

´´´
git submodule update --init --recursive
´´´
:+1:

and you don't have to check if .gitmodules exists (the command is a no-op if it doesn't).

Well, I think checking for a file to save a process invocation is worth it.

I think submodules have to be updated every time we perform a checkout or reset of any sort, honestly. It may therefore make sense to abstract the code into a function that can be called all over the place.

Agreed.

Well, I think checking for a file to save a process invocation is worth it.

If you want to, I have no objections, but this is not performance-critical code since it's part of repository management. (On the contrary, anything that's run during startup would be very much subject to this sort of optimization.)


[BUG:] kick-message-with-time: show {reason} at the end of the phrase

Bug: [kick-message-with-time: show {reason} at the end of the phrase]

kick-message-with-time: "§cBaneado por un administrador{line}§dMotivo: §7{reason}{line}§bTermina el dia: §a{time}{line}§6Apelaciones: §5discord.gg/x3a3wjsdTT"

Informations
BetterBan Version: 1.4.1
Server-OS: Ubuntu
PHP Version: 8.0
PocketMine-MP Version: 4.2.3
Error
X
readjustment instructions
[I've done...]
[1. Ban a player with a random time (1 minute, 3 hours, whatever you prefer)]
[2. Set a random reason such as AAAAAAAA]
[3. When the player has been banned, the reason will appear at the end of the ban even if you have not put it there.]
fix suggestions [optional]

Thank you for report. This bug will be fixed soon.


Add AOT compatibility for SDK

Fixes #25

This pull request includes significant changes related to the CI/CD workflows, project structure, and codebase of the SwaggerMerge SDK. The most significant changes are the addition of new CI workflows, removal of an old CI workflow, the addition of AOT compatibility tests, and various modifications to the SDK's codebase.
Continuous Integration and Deployment:

.github/workflows/ci-aot.yml: A new CI workflow has been added to check for AOT (Ahead-of-Time) compatibility. This workflow runs on the main branch and on any pull requests targeting main. It checks the src, tests, build directories, and the workflow file itself.
.github/workflows/ci-sdk.yml: Another new CI workflow has been added, which seems to be a more general CI workflow for the SDK. It also runs on the main branch and on any pull requests targeting main. It checks the same directories as the AOT workflow.

AOT Compatibility:

build/Test-AotCompat.ps1: A new PowerShell script has been added to test AOT compatibility. The script accepts a target .NET framework version as a parameter, runs the AOT compatibility tests, and checks for any warnings.

Codebase Modifications:

src/SwaggerMerge.SDK/Common/Extensions/CollectionExtensions.cs: A new extension class has been added to the SDK that provides additional methods for collections.
src/SwaggerMerge.SDK/Configuration/Input/SwaggerInputConfiguration.cs: The File property in the SwaggerInputConfiguration class has been made nullable.
src/SwaggerMerge.SDK/Document/SwaggerDocument.cs: Several changes have been made to the SwaggerDocument class, including making some properties nullable, modifying the OnDeserialized and OnSerializing methods, and adding new constructors to the SwaggerDocumentDefinitions class.

Project Structure:

SwaggerMerge.sln: The solution file has been modified to include a new test project for AOT compatibility. The project configurations have also been updated accordingly.
Directory.Build.props: The StyleCop.Analyzers package reference has been removed from the project file.

PR checklist

[x] Code styling has been met on new source file changes
[ ] Contains NO breaking changes

Other information

hi @jamesmcroft do you have any news ? :)

Hi @guillaume-chervet, apologies for the long delay!
I've been working on this again today to resolve the AOT compatibility issues which I believe are now resolved by migrating from Newtonsoft to System JSON libraries.
I'll validate this and publish a preview of this package soon.


CSS Selector Bridge failed with error 0

Details
Type: HttpException
Code: 0
Message: cURL error Connection timed out after 10001 milliseconds: 28 (https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://kamuilan.sbb.gov.tr/
File: lib/http.php
Line: 154
Trace
#0 index.php(49): RssBridge->main()
#1 lib/RssBridge.php(57): DisplayAction->execute()
#2 actions/DisplayAction.php(72): DisplayAction->createResponse()
#3 actions/DisplayAction.php(111): CssSelectorBridge->collectData()
#4 bridges/CssSelectorBridge.php(94): getSimpleHTMLDOM()
#5 lib/contents.php(162): getContents()
#6 lib/contents.php(83): CurlHttpClient->request()
#7 lib/http.php(154)

Context
Query: action=display&bridge=CssSelectorBridge&home_page=https://kamuilan.sbb.gov.tr/&url_selector=a.xx&url_pattern=&content_selector=&content_cleanup=&title_cleanup=&limit=&format=Html
Version: 2023-09-24 (git.master.6eaf0ea)
OS: Linux
PHP: 7.4.33

CURLE_OPERATION_TIMEDOUT (28)
Operation timeout. The specified time-out period was reached according to the conditions.

I found the problem. The site (https://kamuilan.sbb.gov.tr) can't be accessed from outside of Turkey. Is there any way to bypass region block?

there is a proxy config option


remove deprecated grpc connection option

Current Behavior

MeshClient creates a grpc connection with deprecate option
Expected Behavior

instead use WithTransportCredentials and insecure.NewCredentials() because it will be supported throughout 1.x.
Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Platform: Docker or Kubernetes
Meshery Server Version: stable-v
Meshery Client Version: stable-v

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

/assign


Create MCQA for call(), apply() and bind()

Please create an MCQA to be added as question number 36.
The multiple choice question should be on the topic "call, apply and bind". The difficulty level should be "Medium/Hard"
Tasks:

[ ] add your code to 036 folder under code
[ ] add your question to 36 in README.md file
[ ] create a video explanation and upload on YouTube (optional)

Explanation:

call, apply and bind changes context of a function
call and apply executes fn immediately while bind returns a fn
Note: we can not assign object to this operator directly in JS. that's why we have to use call, apply or bind method
Practical applications of call, apply and bind:

chain constructors for an object
function borrowing, Ex: borrow filter fn from array prototype for arguments

hi @kirandash I would like to work on that please assign it to me..

hi @kirandash I would like to work on that please assign it to me..

Thanks @RahulRana701  🙏 for showing your interest! I have now assigned the task to you.
If you need any help, you can comment here or reach me on discord at:
https://discord.gg/62VR3MMCVm
And if you like this project, please do show your support by leaving a star ⭐ for more visibility

Thanks for your contribution @RahulRana701 🙏


WIP: Docgen next

To try out:
> git checkout docgen-next
> npm install
> node make docs -w

open localhost:5550/doc/

Configuration is done via https://github.com/substance/substance/blob/89848c63458e6c27bc9483e13aa85eb7861948ed/.docgenrc.js
Right now everything is done on-the-fly, but we could certainly use the same code as a site generator.

Saugeil! Der build is verdammt schnell.
Makes it a lot more readable to have individual pages for classes, components etc. Only drawback that I now realize.. you can not search for any method name anymore.. so at some point I guess we need a search field and feed it with a static search index (just a json of name to url mappings should do). Or provide a everything on one page mode.
Issues:

Deep linking to method names is currently not working
E.g. in Component docs there is a link that resolves to: index.html#ui/Component#didUpdate

Questions:

More a question: do we want to eliminate the folder prefix and and change @link statements to the flat address? I'd start doing that in new docs then.
To do development, I have to npm link substance-docgen? Can you provide instructions?
Does it make sense to use docgen for the whole substance.io site? E.g. the about page, could be what we currently have on the start page. That would require to implement a custom component, instead of providing a markdown as content source. Also no sections in the sidebar. This is more future, just thinking how it would affect the design of the generator.

To specify a custom page as component:
{ type: "page", id: "about", title: "About", src: $$(AboutPage) },

How could the design of the overall page be customized? E.g. maybe i don't want a top bar? Maybe a custom component could be provided here too.. and then there are only all needed props available... the pages information etc. (which page is active etc.) then you could render stuff however you want. Well, and we would have something like Jekyll but based on Substance Components ;)
Probably future.. this good what have so far. Will do css tweaks fill in more docs.
Is this mergable? (just needs small rebase because of daniels fix to index.es.js)

Will rebase and merge this now.

Yeah, a lot to discuss.
I was also thinking to do the site-layout in a more Component.js way.
Let's see where we get, and would be good to collect some more ideas.


MP Productions Status Page Version Bug

Oh no the bug bot strikes again.
We've taken much time to scare off those bug bots, but sadly this one outsmarted us.
No need to panic though, as we're resetting the traps and will get rid of this bug within the next couple of hours.
So how does this affect you?
All this means is that when you click the what's new button, you won't see the version number next to the V:
But don't you worry, we've got a net and we're running after those runaway numbers.
Thanks! - MPM 👍

We found those pesky numbers again!
Case closed, now we can rest again! - MPM


Fix protection level in standalone template

Set Program class and his Main method as public in standalone project template #472

Thanks @fileman! This is now merged into dev.


resources: Move WSServer Logic to Separate File

Moving the WSServer logic out of common.js and into its own file since
the IIFE is immediately invoked (shocking), making the code within
common unable to be tested given the current import structure of the
JavaScript code.

There's a more straightforward fix to simply exit early if running locally.


how to use exit codes

Bump, is this going to be improved any further?

@willr3 is there any more to add to this doc?


Impossible to delete after 1 day Tchat conversations in Teams Rooms

[Tapez vos commentaires ici]

Détails du document
⚠ Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

ID: f55c52a5-5841-b9c9-1607-2013dc3f2e20
Version Independent ID: 16d93458-5e01-646f-dac5-31306cc7f3fb
Content: Stratégies de conservation dans Microsoft Teams - Microsoft Teams
Content Source: Teams/retention-policies.md
Service: msteams
GitHub Login: @cabailey
Microsoft Alias: cabailey

In 365 security and compliance, there is nothing to delete conversations in a resource account like Rooms Teams.
After a call opened in the support, it is confirmed.
So, to respect RGPD is it possible to dev' this option as soon as possible?

In 365 security and compliance, there is nothing to delete conversations in a resource account like Rooms Teams.
After a call opened in the support, it is confirmed.
So, to respect RGPD is it possible to dev' this option as soon as possible?

Hi @lyonelf  Thank you for this feedback.  I have some information to add to the documentation that I think will cover this, so you can leave this update with me.  However, for your request to change the product, please post this to UserVoice (https://microsoftteams.uservoice.com/) or raise this with your standard support channels.

Hi @lyonelf  Thank you for this feedback.  I have some information to add to the documentation that I think will cover this, so you can leave this update with me.  However, for your request to change the product, please post this to UserVoice (https://microsoftteams.uservoice.com/) or raise this with your standard support channels.

The mailbox types supported are now documented here, which we link to for more technical information: https://docs.microsoft.com/en-us/microsoft-365/compliance/retention-policies-teams#whats-included-for-retention-and-deletion

The mailbox types supported are now documented here, which we link to for more technical information: https://docs.microsoft.com/en-us/microsoft-365/compliance/retention-policies-teams#whats-included-for-retention-and-deletion

Thanks for this link but room mail box are not supported by the retention.

Thanks for this link but room mail box are not supported by the retention.

Yes, "RoomMailbox" is not one of the RecipientTypeDetails listed as supported for retention policies for Teams - which explains the issue you reported.

Yes, "RoomMailbox" is not one of the RecipientTypeDetails listed as supported for retention policies for Teams - which explains the issue you reported.

So can't delete chat in room account cause a problem with GPRD rules in Europe.

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Allow running E2E test from forked repos

Currently, users are getting a "403 Forbidden" error while running E2E test, even if we allow those test to run, this is due external organization user doesn't have write permissions on the packages.

PR: #429

The correct behavior finally I understand is

contributor create a pr from fork repository to cnpg repository
maintainer review the pr and approve to run test.
maintainer issue /ready-to-test command in pr comments to trigger the label ready-to-test been added to pr, which then
will trigger the pull_request_target event in continuous-delivery workflow file and run the test.

add a ref in checkout build meta pass https://github.com/cloudnative-pg/cloudnative-pg/runs/7451048607?check_suite_focus=true

403 happens for the above ci in build and push action with 403 error

build container step pass for workflow run in repository , now need make e2e-matrix-generator.py support pull_request_target
https://github.com/cloudnative-pg/cloudnative-pg/runs/7495742882?check_suite_focus=true

finally got e2e run with push_request_target event on enpg repository
https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/2731161502

Some verify result now:
Success trigger an e2e run in folk repository, which is triggered by workflow_dispatch event.
continuous-delivery · Tao-TL/cloudnative-pg@fff9ffe
In fork pull request,  /test is not permited to trigger e2e by contributer
test: remote branch run e2e test  · cloudnative-pg/cloudnative-pg@3d62df7
In fork pull request , /test is allowed to run e2e test by maintainer
continuous-delivery · cloudnative-pg/cloudnative-pg@0bcd903
In fork pull request, add ready to test label can trigger e2e test run, test workflow is triggered by pull_request_target event.
test: remote branch run e2e test  · cloudnative-pg/cloudnative-pg@f1db2dd


Sidenotes do not avoid each other when called inside definition

Description
When adding two sidenotes too close to each other, kaobook manages to place them so that they avoid each other. However, if they are placed inside a definition, it seems the floating behaviour is disabled.
Minimal Working Example

\documentclass{kaobook}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{kaobiblio}
\usepackage[framed=true]{kaotheorems}
\usepackage{kaorefs}

\begin{document}
\begin{definition}
Some text\sidenote{Hello}\sidenote{World}
\end{definition}
\end{document}

Expected behavior:
I would expect Hello and World not to overlap.
Actual behavior:
Hello and World actually overlap.

Turns out it is linked to the mdframed environment, it works as expected with framed=false.

Yep, normally the sidenotes avoid each other because they are so-called "floating". However, we turn the floating off when they are inside other floating environments (such as figures and tables) or tcolorbox environments. There is some context in #39, however I think that issue dates back to the mdframed era, that is, before we moved to tcolorbox. We should indeed check whether the "floats lost" issue of #39 still occurs with tcolorbox..


feat(server): bub-mdt compatibility

Pull Request Description
Added support for bub-mdt dispatch. (Not tested in-game)
Major Changes

Added compatibility for bub-mdt.

Modifications done:

[x] 🍃 New Feature
[ ] ♻ Refactor
[ ] 🐛 Bug Fix
[ ] 🎨 Design
[ ] 🔥 Optimization
[ ] 🎒 Other

Hi Lion,
Thanks for your contribution, however when lookign through the source code for bub mdt I noticed that the event you've integrated doesn't seem to be the recommended method to create calls, it rather gets scripts to create calls using a server export.
I'll add a quick structure and test it to your branch that will provide support to handling exports for that ressource.

I'll let you resolve the last comment and update the README and it should be good to merge.

I’ve made the necessary changes and updated the README as requested.
Apologies for any mistakes. I'm still learning how pull requests work. Thanks for your patience!

All good, everyone has to learn one way or another !


V0.0.3

implements changes in cis_proc that handles the new BIDSification singularity image and output data structure for MRIQC

LGTM. Let me know what it's been tested and we can merge then.

Im going to merge this for now, and the additions associated w/ updated config file, absolute/relative paths, etc., can be included in either 0.0.4 or 1.0.0 if we think its going to be a major overhaul.


Support overtime results in post

Support overtime results in post and output it as a graph

Being addressed in 1.5.0


Rethink months used in Extended Data Fig. 5

From our discussion in issue #122 it became apparent that the current version of EDF5 is not appropriate:

It was always May for HF from what I remember, but we get similar results for April tmax. EDF5 is all May now, because SCBI DOY25 was weird for April tmax.

We had all April in the submitted version: https://github.com/EcoClimLab/growth_phenology/issues/82.
Originally posted by @teixeirak in https://github.com/EcoClimLab/growth_phenology/issues/122#issuecomment-1063309270
We need to rethink this.

First, some context: I went back and saw that we don't actually individually cite the results shown in EDF5, but we do cite the figure along with EDF4 a few times.
And here's what we currently have in methods:
To ensure that patterns were robust under an alternative definition of CTW, and to parallel the monthly time windows used in our tree-ring analysis (detailed below; Fig. r tree_rings, r EDF_tree_ring_figs), we also ran analyses where we fixed the CTW to be the month of April.
This was consistent with the periods identified by climwin for ring- and diffuse porous species groups at both sites, all of which included all or part of April (r  EDT_phenology_parameters).

Given that RP starts growing earlier than DP, and SCBI starts before HF, it doesn't make much sense to force them all into one month. Rather, I'd propose that for each group, we could select the month with the most days within each critical window:

So, SCBI RP=March, DP = April, HF RP=April, DP=May.
Alternatively, we could use climwin on a monthly time scale, but that would be more work and doesn't seem necessary.

This is done!


Update version of compass and sass gems

I had to update the sass and compass gems on my machine to be able to compile the sass files for Moztrap. I found the following suggested version numbers via a blog post [1], and they seem to work for me on OS X 10.10.
I don't know much about ruby or sass, so I don't know whether these are the best versions, or if every environment would be happy with them, but I figured I'd put this out there for consideration.
@camd You could give these a try and see if they resolve the issues you were having.
[1] http://www.andyy.me/compass-style-error-on-osx-yosemite/

MozTrap EOL


Untouch FieldArray error

Are you submitting a bug report or a feature request?
Both
What is the current behavior?
Error is thrown when calling untouch on a FieldArray
Steps to reproduce:
jsFiddle: https://jsfiddle.net/j7bdhL6s/7/

Open console
Click 'Add Member'
Put cursor in any of the empty text fields
Click 'Untouch fields'
Observe following error

Uncaught Error: Cannot delete non-numerical index from an array     at deleteInWithPath (https://cdnjs.cloudflare.com/ajax/libs/redux-form/6.2.0/redux-form.js:4615:14)     at deleteInWithPath (https://cdnjs.cloudflare.com/ajax/libs/redux-form/6.2.0/redux-form.js:4608:39)     at deleteInWithPath (https://cdnjs.cloudflare.com/ajax/libs/redux-form/6.2.0/redux-form.js:4608:39)     at deleteIn (https://cdnjs.cloudflare.com/ajax/libs/redux-form/6.2.0/redux-form.js:4633:28)     at https://cdnjs.cloudflare.com/ajax/libs/redux-form/6.2.0/redux-form.js:3528:24     at Array.forEach (native)     at https://cdnjs.cloudflare.com/ajax/libs/redux-form/6.2.0/redux-form.js:3527:13     at reducer (https://cdnjs.cloudflare.com/ajax/libs/redux-form/6.2.0/redux-form.js:3574:24)     at https://cdnjs.cloudflare.com/ajax/libs/redux-form/6.2.0/redux-form.js:3590:21     at https://cdnjs.cloudflare.com/ajax/libs/redux/3.6.0/redux.min.js:1:5926
What is the expected behavior?
Bug
I guess nothing should output in the console.
Feature request
Recursive untouch, meaning if I send untouch on 'members', it will untouch all fields in all rows of the fieldArray.
For example untouch('members') would remove touched status of all the following fields:
members[0].firstName members[0].lastName members[1].firstName members[1].lastName members[2].firstName members[2].lastName
And untouch('members[0]') would remove touched status of all the following fields:
members[0].firstName members[0].lastName

Would you mind updating this into an issue each for the bug and feature? (Update this and raise a new?) Will be easier to track :).

Moved feature request to #3314


Respect ARIA label specified in the tree component options.

During accessibility testing it was discovered that tree view in our wizard reads "Tree Node tree view" instead of the proper label that is specified. It turned out to be the problem with the tree component, where ariaLabel was hardcoded to "Tree Node", instead of the one provided in the options.
This change addresses the problem by passing through ariaLabel from the options object to the underlying tree control. I also removed the default Tree Node hardcoded label, as it didn't make much sense. This does mean that all tree views that do not explicitly specify their aria-label will now get an empty label (announced as just the "tree view"). I think this is better than having unrelated, unlocalized Tree Node.
I'm also worried about changes to the ariaLabel property after the component was initialized. I updated the code to propagate the value to the underlying tree view in the setProperties override of the tree component and hope that it will take care of this.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 41.565%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
26992

Relevant Lines:
58915

💛  - Coveralls


Add the ability to speak to Juju controller or JaaS for provisioning CDK clusters (Ubuntu)

Hi all,
I'm looking to create an issue here to add the ability to Rancher to make it talk to Juju for spinning up new Kubernetes Cluster's based on Canonical's Distribution.
Rancher versions: 2.X
server
Infrastructure Stack versions:
N/A
Docker version: (docker version,docker info preferred) N/A (latets)
Operating system and kernel: (cat /etc/os-release, uname -r preferred) Ubuntu 16.04+
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO) All
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB) All
Environment Template: (Cattle/Kubernetes/Swarm/Mesos) All
Steps to Reproduce:
Install Rancher and attempt to provision new cluster.
Results:
Rancher should be able to speak to Juju to spin up new Kubernetes clusters based on Canonical's Kubernetes distribution (CDK).

Please assign this task to me and I will work on it in early June.

@CalvinHartwell I'm going to close this issue but if you are still trying to add a "cluster driver", we've added support for pluggable ones and here is an example:
Cluster Drivers in Rancher: https://rancher.com/docs/rancher/v2.x/en/admin-settings/drivers/cluster-drivers/
Cluster Driver
https://github.com/rancher-plugins/kontainer-engine-driver-example
Custom UI
https://github.com/rancher-plugins/ui-cluster-driver-skel


Implemented the explanation page as designed.

Added the actual explanation about sGonks project and how to play the game. Please let me know if you think I'm missing something.
This is how the page looks like.

Everything is fixed in 1f6045e0d879d9617db7811a27802ab77864a969 @roonil-wazlib

Everything is fixed in 1f6045e0d879d9617db7811a27802ab77864a969 @roonil-wazlib

Would it be possible to downsize the headings a bit so the text is not bigger than the logo's text?

Would it be possible to downsize the headings a bit so the text is not bigger than the logo's text?

also would it be possible to move "How does it work" section and the back button up like 10% so there's less space in the middle and more space at the bottom?

also would it be possible to move "How does it work" section and the back button up like 10% so there's less space in the middle and more space at the bottom?


Add rsync requirement for HypriotOS support

Hypriot lacks rsync by default, makes sense to assert its presence

Seems reasonable to add on since it won't affect anything on existing installs.


CLI to add custom ssl certificate?

First off, THANK YOU so much to @jc21 for doing this project. It has made life sooooo much easier! I also recognize that there are over 400 issues on this project, so this may never be addressed, but figured I would try.
I use GoDaddy for my DNS, and unfortunately GoDaddy is not currently supported today. So instead, I'm using the dehydrated application to generate my SSL certificates that I need. It auto renews and everything is great.
But, every time my cert expires, I have to manually pull the generated certificate, upload it to nginx proxy manager, and then update the proxy host to use that SSL cert. I see that I can manually place the certificate in the custom_ssl/npm-x folder, where x is the number of the certificate. However, simply adding the file here doesn't do me anything other than getting it onto the filesystem. I also need a way to tell nginx proxy manager that the cert has been added here, so that it can actually be uploaded to the database. Is there any way that I can tell it from the cli to add the new cert to the database? If so, I can then script this up the proper way, hopefully.

If you have the certs in the local file system you can maybe use this: https://github.com/jc21/nginx-proxy-manager/issues/87#issuecomment-742831838 as a workaround for now.

This will work for now! I'll close this out since it seems to be a dupe of #87. Thanks for the pointers.

Would love this too!

I had to declare absolute paths within the include lines. Otherwise the proxy hosts went offline:
include /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf;


New INCDIR support not working

for CRTSQLRPGI INCDIR(''UNKNOWN_FILE_TYPE'')
for CRTBNDRPG INCDIR('UNKNOWN_FILE_TYPE')
for CRTBNDCLD INCDIR('')
causing compile failures

A number of fixes developed in branch fix/issue141
But these issues remain

entries in INCDIR for CRTSQLIxxx are not quoted
For CL the INCDIR won't work because we can't get the quoting to work through the shell call to crtfrmstmf (which is required for CCSID support)
have to fully qualify include files specified as dependencies in Rules.mk  - see valueAddedTax/Rules.mk

fixed by pull 142


(WIP) Adding decimal literals

fixes #90
TODO:

test generated bytecode on geth

NOTE:

An ordinary decimal literal is assumed to to be of type uint256. To write a uint8 literal one must add the suffix u8, as in 5u8.

I am working on automated gethtests in another branch.
I'll test various functions which use decimal literals on a local blockchain and then include those tests and the script to run them in separate PR. The feature-automated-geth-testing branch is in the very early stages, but it should be ready by the end of the week. I'll be confident about the correctness of this decimal literals PR by Thursday.

Did you have a look at src/exec/endToEnd.ml?  It uses eth to test the compiled bytecode.

The changes in this PR look good so far.

@pirapira src/exec/endToEnd.ml looks good, but I have issues running make endToEnd.
ocamlbuild -use-ocamlfind -Is src/basics,src/ast,src/parse,src/lib,src/codegen -package batteries -package cryptokit -package rope -package rpclib -package rpclib.unix -package unix -package rpclib.json -package ppx_deriving -package ppx_deriving_rpc -package hex -use-menhir src/exec/endToEnd.native
Finished, 0 targets (0 cached) in 00:00:00.
+ /Users/aupiff/.opam/system/bin/ocamlfind ocamldep -package batteries -package cryptokit -package hex -package rope -package hex -package ppx_deriving_rpc -package ppx_deriving -package rpclib.json -package unix -package rpclib.unix -package rpclib -package rope -package cryptokit -package batteries -modules src/exec/endToEnd.ml > src/exec/endToEnd.ml.depends
ocamlfind: Package `ppx_deriving_rpc' not found
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
make: *** [endToEnd] Error 10

I'll write my own geth tests in bash for now and report on their results in a comment. Afterwards, I'll figure out how to compile add automated tests to endToEnd.ml

Did some manually testing with geth, everything seems to work as expected. The contract below refers to A() from 025_declit_numeric.bbo
> contract.multiply5.call(2)
10
> contract.multiply7.call(3)
21
> contract.multiply7.call(30000)
210000
> contract.s.call()
true
> contract.ggg.call()
7.771213812919199999999e+22
> contract.g.call(324234)
10
> contract.f.call(1000)
false
> contract.f.call(4)
true
> contract.f.call(5)
false
> contract.gg.call(23)
12138138405817283711

The compilation error about endToEnd can be solved by this line: https://github.com/pirapira/bamboo/blob/master/.travis.yml#L40
Oh, now I notice (WIP) is gone.  I'll have a look.

@pirapira just fixed some silly bugs and got endToEnd to compile, thanks for letting me know what deps I was missing.

Documentation is missing about endToEnd.

I created an issue #210 about the documentation.

I'll deal with my own comments.


Get relative path without the domain

I am using the Standalone button  integration on my project. When I select an image it returns the path.
The issue is the file path includes the domain name. My local, staging, and production have different domains, so when I try to use the production database on my local, none of the image paths work.
I believe this is a bug! if this behavior can be changed from the config please let me know. Without a relative path, I will not be able to use this package at all!
Expected Behavior
A relative path will be returned, without the domain name.
Actual Behavior
The package returns a filepath including the domain name.

I believe this can be accomplished by changing stand-alone-button.js or codes in Javascript Integration document.
Take javascript integration document as example, the default integration looks like this (notice items.map):
var lfm = function(id, type, options) {
  let button = document.getElementById(id);

  button.addEventListener('click', function () {
    var route_prefix = (options && options.prefix) ? options.prefix : '/laravel-filemanager';
    var target_input = document.getElementById(button.getAttribute('data-input'));
    var target_preview = document.getElementById(button.getAttribute('data-preview'));

    window.open(route_prefix + '?type=' + options.type || 'file', 'FileManager', 'width=900,height=600');
    window.SetUrl = function (items) {
      var file_path = items.map(function (item) {
        return item.url;
      }).join(',');

      // set the value of the desired input to image url
      target_input.value = file_path;
      target_input.dispatchEvent(new Event('change'));

      // clear previous preview
      target_preview.innerHtml = '';

      // set or change the preview image src
      items.forEach(function (item) {
        let img = document.createElement('img')
        img.setAttribute('style', 'height: 5rem')
        img.setAttribute('src', item.thumb_url)
        target_preview.appendChild(img);
      });

      // trigger change event
      target_preview.dispatchEvent(new Event('change'));
    };
  });
};

By changing how urls are handled, we can remove the domains from image urls:
var file_path = items.map(function (item) {
  var file_url = new URL(item.url);
  return file_url.href.substring(file_url.origin.length);
}).join(',');

The reason why domain part is left in the url, is that I think it is simpler to use javascript to remove domain, rather than to append the domain afterward.
Please let me know it this solves your issue.

var file_path = items.map(function (item) {
  var file_url = new URL(item.url);
  return file_url.href.substring(file_url.origin.length);
}).join(',');

This works. Thank you. The issue was solved partially.
When i use the file laravel-filemanager with WYSIWYG Editor it includes the domain in the content.
Do you have any plan to control this via config? In my case, I am not using this filemanager for a standalone file server. So this is a big problem for me, as it impacts the development of the application in the local and products.

Understood. Current solution is not valid with WYSIWYG editors.
In that case, the following workaround should do the trick:
Around the line https://github.com/UniSharp/laravel-filemanager/blob/master/public/js/script.js#L722 of script.js
Replace:
var url = items[0].url;

With:
var url_to_parse = new URL(items[0].url);
var url = file_url.href.substring(file_url.origin.length);

The previous workaround for stand-alone button should be discarded with this workaround.
Thanks for the notice of these two use cases. New configuration for relative path seems good. Since this package involves both frontend and backend, I will take some time thinking about how to organize the new configuration with older ones.


Add completed tasks

Add completed tasks to check if preceding tasks are completed or not.
There is an old logic in workflow.py:
if len(join_task.preceded_by) == len(join_list):
It is used to check if current task is blocked or not, but there is an exceptional case when removing a subtask before a join point, original len(join_task.preceded_by)-len(join_list)=1, after removing a preceding task, the two length will be equal which result in wrong logic.
This patch add a completed tasks and check if preceding tasks names are in completed tasks instead of checking the length.
Change the tests' task names in test_waiting_branches.py as context.done will be affected by tests in test_waiting.py.
Some minor flake8 issue as well.
JIRA: RHELWF-7410

Can we keep this backwards-compatible and migrate existing in-progress states? Maybe also adding wfepy_version attribute would help.

Can we keep this backwards-compatible and migrate existing in-progress states? Maybe also adding wfepy_version attribute would help.

I don't understand. Do you mean we don't change it in wpefy?

Can we keep this backwards-compatible and migrate existing in-progress states? Maybe also adding wfepy_version attribute would help.

I don't understand. Do you mean we don't change it in wpefy?

No, better to fix this here. But what about the tasks executed with previous wfepy version we want to resume? These do not contain the completed_tasks in stored state.

Can we keep this backwards-compatible and migrate existing in-progress states? Maybe also adding wfepy_version attribute would help.

I don't understand. Do you mean we don't change it in wpefy?

No, better to fix this here. But what about the tasks executed with previous wfepy version we want to resume? These do not contain the completed_tasks in stored state.

Ah, Ok. Good point, I got it. Maybe we can construct them according to the state.json file.


UnsupportedDatabaseFormatError occurs when parsing arxml file

After upgrading to the latest release version, there is an index error occurring as below：

The using test arxml file is listed:
test_GEE.zip

in case you can not see the error snipping,  I copy the error text as following:
Exception has occurred: cantools.database.UnsupportedDatabaseFormatError
ARXML: "SW-BASE-TYPE at /BaseTypes/Perc4_2 does not exist."
File "D:\cantestpython\d\cantools\database_init_.py", line 336, in load_string
raise UnsupportedDatabaseFormatError(e_arxml, e_dbc, e_kcd, e_sym, e_cdd)
File "D:\cantestpython\d\cantools\database_init_.py", line 247, in load
strict)
File "D:\cantestpython\d\cantools\database_init_.py", line 179, in load_file
strict)
File "D:\cantestpython\d\temprun.py", line 13, in
dbcbf2 = cantools.database.load_file("test_GEE.arxml","arxml")

With the latest version (32.11.2) the error is error: ARXML: "SW-BASE-TYPE at /BaseTypes/Perc4_2 does not exist.", not yours. The ARXML-file is probably incomplete, the BaseTypes package is missing.


resizing a shared RectangleShape2D using the editor gizmos doesn't propagate the position offset this change often introduce

Godot version
4.0.rc1
System information
linux
Issue description
simplescreenrecorder-2023-02-13_00.08.43.webm

since 4.0 (I think?), the gizmo allows one to set the edge position rather than the rect size.
As you can see, resizing the shape resource actually moves the CollisionShape2D node to compensate for this.
this position offset isn't propagated to the other users of the resource, making them extend or shrink in both directions.
imo, this is unwanted behavior. If the positions were corrected automatically, the worst that could happen is the CollisionShape not being rotated in the direction the user expects. The current behavior just feels wrong to me, and tedious to work around.

Steps to reproduce
(see mrp)

add 2 CollisionShapes2D that share the same RectangleShape2D resource
resize one of them
notice that on the other node, the shape's edges grow in both direction

Minimal reproduction project
mrp_resize_rect.zip

Introduced by https://github.com/godotengine/godot/pull/37760, cc @KoBeWi.
I do like the way it works for a single rectangle, I wonder how we could preserve this functionality while still fixing this bug.

If you hold Alt, the shape resizes in both directions and the position is preserved.
I don't think there is reasonable way to affect position of other shapes. Just don't use this on shared shapes xd

I don't think there is reasonable way to affect position of other shapes. Just don't use this on shared shapes xd

The problem with this reasoning is that shapes ARE shared by default


os_timer question

Hi,
What is the following code doing ?
os_timer_disarm(&channelHop_timer);
os_timer_setfn(&channelHop_timer, (os_timer_func_t *) channelHop, NULL);
os_timer_arm(&channelHop_timer, CHANNEL_HOP_INTERVAL_MS, 1);
Is this an optimization?

Read the code comments in line 138, is the channel hoping.
Changes the Wifi channel to listen every CHANNEL_HOP_INTERVAL_MS milliseconds.
https://github.com/kalanda/esp8266-sniffer/blob/85d946b8ed414706acd8c10cb04fe7feb61e4c73/src/main.cpp#L138-L141


INTERNAL PAGE ERROR: After Installing Bazarr

LOG:
Enter the option and press [ENTER]: 12
Setting up bazarr..
s6-svc: fatal: unable to control /run/s6/services/bazarr: No such file or directory
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ppa.launchpad.net/elementary-os/daily/ubuntu focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu focal InRelease
Hit:6 http://download.mono-project.com/repo/ubuntu focal InRelease
Hit:7 http://ppa.launchpad.net/jcfp/ppa/ubuntu focal InRelease
Hit:8 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal InRelease
Hit:9 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu focal InRelease
Hit:10 https://apt.sonarr.tv/ubuntu focal InRelease
Hit:11 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:12 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Ign:13 https://mkvtoolnix.download/ubuntu focal InRelease
Hit:14 https://mkvtoolnix.download/ubuntu focal Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
222 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://download.mono-project.com/repo/ubuntu focal InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't support architecture 'i386'
W: Skipping acquire of configured file 'deb-src/binary-i386/Packages' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'deb-src' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'deb-src/binary-amd64/Packages' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'deb-src' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'deb-src/dep11/Components-amd64.yml' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'deb-src' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'deb-src/dep11/icons-48x48.tar' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'deb-src' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'deb-src/dep11/icons-64x64.tar' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'deb-src' (component misspelt in sources.list?)
W: Skipping acquire of configured file<EMAIL_ADDRESS>as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'deb-src' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'deb-src/dep11/icons-128x128.tar' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'deb-src' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'https://mkvtoolnix.download/ubuntu//binary-i386/Packages' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'https://mkvtoolnix.download/ubuntu/' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'https://mkvtoolnix.download/ubuntu//binary-amd64/Packages' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'https://mkvtoolnix.download/ubuntu/' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'https://mkvtoolnix.download/ubuntu//dep11/Components-amd64.yml' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'https://mkvtoolnix.download/ubuntu/' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'https://mkvtoolnix.download/ubuntu//dep11/icons-48x48.tar' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'https://mkvtoolnix.download/ubuntu/' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'https://mkvtoolnix.download/ubuntu//dep11/icons-64x64.tar' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'https://mkvtoolnix.download/ubuntu/' (component misspelt in sources.list?)
W: Skipping acquire of configured file<EMAIL_ADDRESS>as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'https://mkvtoolnix.download/ubuntu/' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'https://mkvtoolnix.download/ubuntu//dep11/icons-128x128.tar' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'https://mkvtoolnix.download/ubuntu/' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'focal/binary-i386/Packages' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'focal' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'focal/binary-amd64/Packages' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'focal' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'focal/dep11/Components-amd64.yml' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'focal' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'focal/dep11/icons-48x48.tar' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'focal' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'focal/dep11/icons-64x64.tar' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'focal' (component misspelt in sources.list?)
W: Skipping acquire of configured file<EMAIL_ADDRESS>as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'focal' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'focal/dep11/icons-128x128.tar' as repository 'https://mkvtoolnix.download/ubuntu focal InRelease' doesn't have the component 'focal' (component misspelt in sources.list?)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
git is already the newest version (1:2.25.1-1ubuntu3.1).
python3-distutils is already the newest version (3.8.10-0ubuntu1~20.04).
python3-distutils set to manually installed.
The following packages were automatically installed and are no longer required:
fprintd libfprint-2-2 libpam-fprintd
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python-pip-whl
The following packages will be upgraded:
python-pip-whl python3-pip
2 upgraded, 0 newly installed, 0 to remove and 220 not upgraded.
Need to get 2036 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3-pip all 20.0.2-5ubuntu1.6 [231 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python-pip-whl all 20.0.2-5ubuntu1.6 [1805 kB]
Fetched 2036 kB in 0s (17.4 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 160882 files and directories currently installed.)
Preparing to unpack .../python3-pip_20.0.2-5ubuntu1.6_all.deb ...
Unpacking python3-pip (20.0.2-5ubuntu1.6) over (20.0.2-5ubuntu1.5) ...
Preparing to unpack .../python-pip-whl_20.0.2-5ubuntu1.6_all.deb ...
Unpacking python-pip-whl (20.0.2-5ubuntu1.6) over (20.0.2-5ubuntu1.5) ...
Setting up python-pip-whl (20.0.2-5ubuntu1.6) ...
Setting up python3-pip (20.0.2-5ubuntu1.6) ...
Processing triggers for man-db (2.9.1-1) ...
Cloning into 'bazarr'...
remote: Enumerating objects: 4816, done.
remote: Counting objects: 100% (4816/4816), done.
remote: Compressing objects: 100% (4043/4043), done.
remote: Total 4816 (delta 575), reused 3895 (delta 492), pack-reused 0
Receiving objects: 100% (4816/4816), 29.79 MiB | 12.62 MiB/s, done.
Resolving deltas: 100% (575/575), done.
Updating files: 100% (4369/4369), done.
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (45.2.0)
Collecting gevent>=21
Downloading gevent-21.8.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.5 MB)
|████████████████████████████████| 6.5 MB 25.6 MB/s
Collecting gevent-websocket>=0.10.1
Downloading gevent_websocket-0.10.1-py3-none-any.whl (22 kB)
Collecting lxml>=4.3.0
Downloading lxml-4.6.3-cp38-cp38-manylinux2014_x86_64.whl (6.8 MB)
|████████████████████████████████| 6.8 MB 38.9 MB/s
Requirement already satisfied: numpy>=1.12.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 5)) (1.17.4)
Collecting webrtcvad-wheels>=2.0.10
Downloading webrtcvad_wheels-2.0.10.post2-cp38-cp38-manylinux2010_x86_64.whl (85 kB)
|████████████████████████████████| 85 kB 1.5 MB/s
Collecting greenlet<2.0,>=1.1.0; platform_python_implementation == "CPython"
Downloading greenlet-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (150 kB)
|████████████████████████████████| 150 kB 52.2 MB/s
Collecting zope.event
Downloading zope.event-4.5.0-py2.py3-none-any.whl (6.8 kB)
Requirement already satisfied: zope.interface in /usr/lib/python3/dist-packages (from gevent>=21->-r requirements.txt (line 2)) (4.7.1)
ERROR: flexget 3.1.131 has requirement greenlet==1.0.0, but you'll have greenlet 1.1.1 which is incompatible.
Installing collected packages: greenlet, zope.event, gevent, gevent-websocket, lxml, webrtcvad-wheels
Attempting uninstall: greenlet
Found existing installation: greenlet 1.0.0
Uninstalling greenlet-1.0.0:
Successfully uninstalled greenlet-1.0.0
Successfully installed gevent-21.8.0 gevent-websocket-0.10.1 greenlet-1.1.1 lxml-4.6.3 webrtcvad-wheels-2.0.10.post2 zope.event-4.5.0
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
Bazarr starting...
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
grep: /home/appbox/appbox_installer/bazarr/data/config/config.ini: No such file or directory
Session terminated, killing shell...s6-svc: fatal: unable to control /run/s6/services/bazarr: supervisor not listening

Just noticed the same thing. How to resolve?

Just noticed the same thing. How to resolve?

I didn't find a solution. This coder response when he wants too. It's obvious he has no desire to support his own code. I guess the only solution is to install it manually. But, I lost interest after a while.

Got it to work. Baseurl is wrong in installation, it should be /bazarr. Edit: sudo nano /APPBOX_DATA/apps/ubuntu.peikko.appboxes.co/appbox_installer/bazarr/data/config/config.ini, then restart bazarr and nginx.

Got it to work. Baseurl is wrong in installation, it should be /bazarr. Edit: sudo nano /APPBOX_DATA/apps/ubuntu.YOURSERVERNAME.appboxes.co/appbox_installer/bazarr/data/config/config.ini, then restart bazarr and nginx.

Is bazarr working for you? The baseurl is correct for me but I cannot modify any settings. It keeps loading when clicking save.

Yeah, for me the config.ini first lines are:
[general]
ip = <IP_ADDRESS>
port = 6767
base_url = /bazarr

Had to restart couple of times with sudo s6-svc -r /run/s6/services/bazarr/. If sudo tail -f /var/log/appbox/bazarr/current shows it running correctly, it should work.

Sorry what I wanted to say is that starting bazarr is fine but I cannot modify any settings in the GUI. It keeps loading when saving. I tried modifying permission for the config.ini but it is still the same issue. If everything is working fine for you it is me on my side. Trying to get a feedback.

Oh, OK. I don't have those issues.

 You've got some nerve, you unstable f**k! I can see you got real customer service skills.

 You've got some nerve, you unstable f**k! I can see you got real customer service skills.

Wow... Just wow.  Your comment speaks for itself.

 Yet, you make me the bad guy..  People only see what the want to see on the internet.

 You've got some nerve, you unstable f**k! I can see you got real customer service skills.

 I made it because I used it myself and thought it would be cool for other people to contribute.

Submit some code and fix it yourself dude!

 You've got some nerve, you unstable f**k! I can see you got real customer service skills.

 I made it because I used it myself and thought it would be cool for other people to contribute.

Submit some code and fix it yourself dude!

 If the roles were reversed, you would have taken every opportunity to vilify me.  Common sense, you don't leave people hangin' for almost two months, and try to use the excuse "I'm just doin' it as a favor," or whatever. It's not like you get thousands of posts a week. After a week, out of courtesy you should have at least said you were busy or something. When people use your script, it's inevitable we will need help. So, if people are eager to use something, that's tied in to the seedbox we're paying for, of course we're gonna get a little upset. If you don't have people skills, or you know you're not a people person, or don't know how to handle people in certain situations, perhaps you shouldn't offer your skills to the general public.

 We don't need you here and your negativity. You obviously don't know what it is to be volunteer open source developer. It is because of people like you that many developer are getting more and more frustrated. You don't know who is coder8338 so GTFO.

 You've got some nerve, you unstable f**k! I can see you got real customer service skills.

 I made it because I used it myself and thought it would be cool for other people to contribute.

Submit some code and fix it yourself dude!

 If the roles were reversed, you would have taken every opportunity to vilify me.  Common sense, you don't leave people hangin' for almost two months, and try to use the excuse "I'm just doin' it as a favor," or whatever. It's not like you get thousands of posts a week. After a week, out of courtesy you should have at least said you were busy or something. When people use your script, it's inevitable we will need help. So, if people are eager to use something, that's tied in to the seedbox we're paying for, of course we're gonna get a little upset. If you don't have people skills, or you know you're not a people person, or don't know how to handle people in certain situations, perhaps you shouldn't offer your skills to the general public.

 We don't need you here and your negativity. You obviously don't know what it is to be volunteer open source developer. It is because of people like you that many developer are getting more and more frustrated. You don't know who is coder8338 so GTFO.

No, REAL volunteers are helpful.

I care because developer are valuable resources and deserve appreciation for the work done. Stop bitching and appreciate what you have. People have life outside internet. I will stop feeding the troll now.

You must be a teenager/generation X. You guys have no clue as to what respect means.  How about I start calling you a dick? Then again, in this day and age, you'd probably like it.


Source Data download

hi~, the dataset seems can not be visited through your shared link. How to download it? Thx :grimacing:

owner deleted dataset " file is in owner's trash"

@Mollylulu @gsainicse  You can download dataset here which author used in this code - https://www.mediafire.com/folder/h14iarbs62e7p/shared

thank you for your reply!


email export not working

Describe the Bug
After running npx create-email@latest
I had to install a few package to make the project working (I think there is some PR taking care of that)
    "react": "^18.2.0", (because not working otherwise )
    "next": "^14.1.0", (because vercel deploy is not working otherwise)

But I've run into another issue, when I run:
pnpm export

I am getting :

~/Code/shotgun/react-emails main
❯ pnpm export

><EMAIL_ADDRESS>export /Users/ababol/Code/shotgun/react-emails
> email export

✔ Preparing files...

✖ failed when rendering vercel-invite-user.js
TypeError: component.default is not a function
    at /Users/ababol/Code/shotgun/react-emails/node_modules/.pnpm/react-email@2.0.0_eslint@8.56.0/node_modules/react-email/cli/index.js:778:75
    at step (/Users/ababol/Code/shotgun/react-emails/node_modules/.pnpm/react-email@2.0.0_eslint@8.56.0/node_modules/react-email/cli/index.js:186:23)
    at Object.next (/Users/ababol/Code/shotgun/react-emails/node_modules/.pnpm/react-email@2.0.0_eslint@8.56.0/node_modules/react-email/cli/index.js:127:20)
    at asyncGeneratorStep (/Users/ababol/Code/shotgun/react-emails/node_modules/.pnpm/react-email@2.0.0_eslint@8.56.0/node_modules/react-email/cli/index.js:12:28)
    at _next (/Users/ababol/Code/shotgun/react-emails/node_modules/.pnpm/react-email@2.0.0_eslint@8.56.0/node_modules/react-email/cli/index.js:30:17)
 ELIFECYCLE  Command failed with exit code 1.

It correctly generate the .js file but you can see it's not working afer that.
My vercel-invite-user.tsx is the same as the one created after running npx create-email@latest
=> see https://github.com/resend/react-email/blame/canary/packages/react-email/src/cli/commands/export.ts#L65
Which package is affected (leave empty if unsure)
react-email
Link to the code that reproduces this issue
https://github.com/resend/react-email
To Reproduce
Just run email export
Expected Behavior
Generate my template html file
What's your node version? (if relevant)
2.0.0

I've fixed the issue! Let's close this
See PR https://github.com/resend/react-email/pull/1248

Let's close this one once we get it merged so that others aren't confused

Any timeline on when this fix will be available?

Any timeline on when this fix will be available?

We already have it out on canary<EMAIL_ADDRESS>Stable release soon.


Can't change settings in the filter.

I can't seem to turn off "Normal only" filter in TBC or change any other settings for that matter. I click on them, go out of the program and when I check nothing's changed.
https://gyazo.com/a853944ac7817bee53a117ae3a5784d7
I'm on V2.62, fresh and updated.
I've tried both removing it and redownloading it upon new and reinstalling it through curseforge but it won't work, please help.

related to #200


Oscillator fixes for older Safari browsers

2 fixes in 1:

In some older Safari browsers the parameter for the oscillator's stop/noteOff-function is mandatory (if this isn't set an error occurs and the oscillator won't stop). So I set it to 0 which is the default case in other browsers.
Some older Safari browsers have a noteOff- instead of a stop-function for the oscillator (similar to the noteOn-case which is already implemented). I've added this and use a tenary operator to select the right function instead of copying it.

Nice, thanks!


Round instant unstake fee up instead of down

Reference issue:
https://github.com/code-423n4/2022-06-yieldy-findings/issues/9

I think this attack is super trivial. In the current implementation if the amount = 1, the amountMinusFee will be 0 which, afaict has no ill effects really.
Just trying to confirm there are no edge cases that can break this, otherwise I think the fix LGTM

I agree, I just think rounding the fee up vs down does make sense in case this does get exported to a L2 with 0 fees.  We could hold off merging if we wanted as this will have no benefit on the ETH blockchain


Add NodeJS script to request a GAME_MASTER version

This PR adds a new feature, which adds easier support for 3rd party applications to request a specific or latest version of a GAME_MASTER-version using NodeJS.
Example:
const gameMaster = require('pokemongo-game-master');

gameMaster.getVersion('latest', 'json').then(console.log); // Returns as object: { itemTemplates: [ ... ], timestampMs: '1512514949791' }
gameMaster.getVersion('0.83.3', 'protobuf').then(console.log); // Returns as string

I'm currently thinking whether this feature should be a part of this repository, or create a new one. Your thoughts?
Todo:
[ ] Documentation in README.md
[ ] Publish to NPM
[ ] Add .npmignore file
[ ] (Typings)

I think this repo is fine since we aren't publishing these files anywhere
currently.
On Mon, Dec 11, 2017, 3:55 AM Livio Brunner<EMAIL_ADDRESS>wrote:

This PR adds a new feature, which adds easier support for 3rd party
applications to request a specific or latest version of a
GAME_MASTER-version using NodeJS.
Example:
const gameMaster = require('pokemongo-game-master');
gameMaster.getVersion('latest', 'json').then(console.log); // Returns as object: { itemTemplates: [ ... ], timestampMs: '1512514949791' }gameMaster.getVersion('latest', 'protobuf').then(console.log); // Returns as string
I'm currently thinking whether this feature should be a part of this
repository, or create a new one. Your thoughts?
Todo:
[ ] Documentation in README.md
[ ] Publish to NPM
[ ] (Typings)
You can view, comment on, or merge this pull request online at:
https://github.com/BrunnerLivio/pokemongo-game-master/pull/29
Commit Summary

Add NodeJS script to request a GAME_MASTER version

File Changes

M package-lock.json
https://github.com/BrunnerLivio/pokemongo-game-master/pull/29/files#diff-0
(373)
M package.json
https://github.com/BrunnerLivio/pokemongo-game-master/pull/29/files#diff-1
(8)
A src/index.js
https://github.com/BrunnerLivio/pokemongo-game-master/pull/29/files#diff-2
(44)

Patch Links:

https://github.com/BrunnerLivio/pokemongo-game-master/pull/29.patch
https://github.com/BrunnerLivio/pokemongo-game-master/pull/29.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BrunnerLivio/pokemongo-game-master/pull/29, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAX4gN-QerRwIo_p477GZ0JEQc121MzPks5s_Rg7gaJpZM4Q9RsW
.