transform error with validation data.

using gluonts version 0.6.0 on linux. when i try to use a validation dataset with my model, it throws this error

Exception: Reached maximum number of idle transformation calls.
This means the transformation looped over GLUONTS_MAX_IDLE_TRANSFORMS=100 inputs without returning any output.
This occurred in the following transformation:
gluonts.transform.split.InstanceSplitter(dummy_value=0.0, forecast_start_field="forecast_start", future_length=9, is_pad_field="is_pad", lead_time=0, output_NTC=True, past_length=166, pick_incomplete=True, start_field="start", target_field="target", time_series_fields=["time_feat", "observed_values"], train_sampler=gluonts.transform.sampler.ExpectedNumInstanceSampler(num_instances=1.0))

the validation and train data are being split across time series over the time dimension (i.e. the last n observations for each time series are the val, the ones before are train)
this is the specific code which loops over the data for each time series:
    val_df = full_group[(full_group['timeIndex'] > train_until) & (full_group['timeIndex'] <= test_until)]     val_dicts.append({'start': val_start, 'target': val_df['Volume']})
where train_until is also the end point for the training data, train_until < test_until so val_df is not empty, and the pred is defined as:
prediction_length = test_until - train_until
and this constructs the dataloader afterwards:
val_data = ListDataset(     val_dicts,     freq = freq     )
after which the model is trained
estimator_15 = DeepAREstimator(freq=freq, prediction_length=prediction_length, trainer=Trainer(epochs=15)) predictor_15 = estimator_15.train(training_data=training_data, validation_data = val_data)
which is where the error occurs, at the line with the predictor
THE REASON I'M BRINGING THIS HERE is that when I apply an overlap in the val and train data, if seems to fix the issue. which is strange unless i'm missing something about prediction_length.
overlap = 1
val_df = full_group[(full_group['timeIndex'] > train_until - overlap) & (full_group['timeIndex'] <= test_until)]
and the error is fixed in a probabilistic manner. in that an overlap of 1 almost always still results in the error, while an overlap of 13 observations almost always avoids the error. just from an eye test it seems like overlaps closer to 1 still have a higher chance of throwing this bug, which drops off with a larger overlap.
i just wanna monitor val data loss to prevent overfitting, which is not really possible if the model is training on a section of the val dataset

This is not a bug, but the expected and intended behavior.
You need to use
val_df = full_group[(full_group['timeIndex'] <= test_until)]

i.e. include the full training time range validation data set. This will do exactly what you want, namely evaluate only on the last prediction_length time steps of the validation data set.
The reason for this is that in GluonTS the train/validation/test data sets do not have to contain the same time series, so GluonTS does not assume that the i-th series in the validation set corresponds to the i-th series in the your training set. Because of this, you need to provide the full series in the validation set, so it can use the data before the last prediction_length points as context for making the prediction.

@jgasthaus thank alot. this makes sense. i guess i was right when i said "which is strange unless i'm missing something about prediction_length". my understanding about this was just incomplete. this is successfully closed


Update test-pr.yaml

fix: update actions to the latest versions to avoid warnings
See: https://github.com/actions/setup-node

Hi @cre8. Thank you for contributing :)


Ask contributor to open cherry-pick PR if needed

How to categorize this PR?

/area dev-productivity open-source
/kind enhancement
What this PR does / why we need it:
Add a note in the PR template and dev process that the contributor should open cherry-pick PRs for bug fixes and major improvements.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Thanks for the PR. The change in docs/development/process.md lgtm, but I would vote to drop the note in .github/pull_request_template.md. The PR template is already long and quite a lot of similar notes can be added there, for example:

if you are contributing a new feature, make sure that you contribute docs about it as well
make sure that the knowledge is distributed
etc.

As I said, I would vote to keep the PR template short and simple without such notes. WDYT?

I added it to the pr template because I doubt everyone reads docs/development/process.md regularly.
But you are right, the template is overloaded even today and I am open to remove it.
Let's keep this PR open as it is now to collect more feedback from @gardener/gardener-maintainers.

Thanks!
Can we specify what

still supported versions

means exactly? The latest three releases?
I think we should not maintain the same information in the PR template and the process.md. But we could link from the PR template to

the process page
the PR checklist
as a mandatory resource to follow. Then we would also have a link to the information @ialidzhikov  pointed out above, like adding documentation.

Can we specify what

still supported versions

means exactly? The latest three releases?

This already done, see https://github.com/gardener/gardener/blame/master/docs/development/process.md#L30

It seems there is no further feedback, shall we merge it?

It seems there is no further feedback, shall we merge it?

I mean in the above communication, I and @BeckerMax clearly stated that we would like to keep the PR template clean and maintain similar notes only in docs/development/process.md. So no need from the change in .github/pull_request_template.md IMO.

I have removed the change in the PR template.


[DOCFIX] Explain HDFS superuser is required to run Alluxio

Update doc about HDFS superuser requirement.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13225/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.master.MasterFaultToleranceIntegrationTest.workerReRegister
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13226/
Test PASSed.

LGTM


I can't install Adonis V4.x on Ubuntu 16.04/VirtualBox, I got npm ERR

sudo npm i -g @adonisjs/cli
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/@adonisjs/cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! path /usr/lib/node_modules/@adonisjs/cli/node_modules/mustache/bin/mustache
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/lib/node_modules/@adonisjs/cli/node_modules/mustache/bin/mustache'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

I tried to find the solution for 2 days long, at last I got it. This errors came from npm cache, so we just clean it. I was using:

npm cache clean
or if it is not success try to use:

npm cache clean --force
now I can install @allanfreitas donisjs-cli as shown below:

Love nodemon? You can now support the project via the open collective:

https://opencollective.com/nodemon/donate

npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/@adonisjs/cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

<EMAIL_ADDRESS>added 379 packages in 34.906s

Thank you to
https://alicoding.com/how-to-fix-error-enoent-lstat-npm-when-trying-to-install-modules/
https://stackoverflow.com/questions/17990647/npm-install-errors-with-error-enoent-chmod


[BUG] k3ai up yields version `GLIBC_2.28' not found error

Describe the bug
After following the installation instructions, the following error is reported:
k3ai: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by k3ai)`
To Reproduce
Steps to reproduce the behavior:

curl -LO https://get.k3ai.in | sh -
k3ai up

Expected behavior
It should have spun up the cluster!
OS: Ubuntu 18.04

Implemented in v1.0.1 - The new installer should work automatically.

Implemented in v1.0.1 - The new installer should work automatically.

Should this issue be fixed in v1.0.1 @alefesta  ? Tested it with this release and Ubuntu 18.04, but still got the same error.

Implemented in v1.0.1 - The new installer should work automatically.

Should this issue be fixed in v1.0.1 @alefesta  ? Tested it with this release and Ubuntu 18.04, but still got the same error.

It should I've compiled this version against a 18.04 Ubuntu box.. next week I'll take a look again, in the meantime I'll reopen this bug.
Thanks for reporting and happy new year!

@daniel-vera-g this should be fixed now, Just re-download the k3ai binary and overwrite the older one.
 curl -sfL https://get.k3ai.in | sh -

should do everything for you automatically

I'll leave this open for a while just to double-check this is fixed correctly.

I'll leave this open for a while just to double-check this is fixed correctly.

Thanks! Works as expected now 👍


Processing Array won't accept glass

Mod Version: 1.4.2+1.21

This is because the glass tag changed from forge:glass to c:glass_blocks in neoforge 1.21. I made the swap for everything to the common namespace, but I missed this one tag change. I'll have a fix for this in a few minutes once I get to my desk :p

Fixed in 1.4.3

awesome, thanks!


hyper-rustls 0.27.1 build failed

Crate name
hyper-rustls
Build failure link
https://docs.rs/crate/hyper-rustls/0.27.1/builds/1185949
Additional details
No response

Hi,
it looks like the issue is with aws-lc-fips-sys, which tries to write to the / root directory.
I'm on the jump and from the top of my head I'm not 100% certain which directories are writable in the container, apart from cargo's OUT_DIR, my guess is that /tmp is probably a better bet for caches than /.cache.
( I'll leave this issue open and try to find some time to test / research this for our documentation )

See https://github.com/rust-lang/docs.rs/issues/1303 & https://github.com/rustls/rustls/pull/1827

We published 0.27.2, and the build completed okay. Impressive how fast the build got done!


feat: introduce audit for broken backlinks SITES-18417

PR Status
This PR implements the audit worker for SITES-18417.
Relates to https://github.com/adobe/spacecat-audit-post-processor/pull/37

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

v1.7.0
GitHub release

Your semantic-release bot :package::rocket:


Downloading only semantics dataset

If I'm interested only in the semantic segmented parts of the dataset.
Which dataset should I download?
Where is the format specification? (I guess it's just a PNG with color encoding according to what is specified in semantic_color.hpp?)

As of now semantic channel is supported for Stanford 2D-3D-Semantics dataset and Matterport3D (see here for how to access them). We'll release semantics for the rest of the data later.
Please see here and here for instructions on using the semantic channel.

Thanks.
I now can see the semantic.obj file in the 2d3ds_for_gibson<area>\semantic.obj folders.
Could you please refer me to its' format description?

This repo should clarify. Please scroll down to 3D Modalities" and "3D Semantic Mesh".

As of now semantic channel is supported for Stanford 2D-3D-Semantics dataset and Matterport3D (see here for how to access them in Gibson). We'll release semantics for the rest of the data later.
Please see here and here for instructions on using the semantic channel.

Hi  Thanks for the great work. I was wondering what is the status of releasing the semantic segmentations of Gibson dataset.

@kowshikthopalli we have a paper on that under review. We're planning on releasing the data once we get the acceptance notification.


Added force save in single shape mode

Motivation and context

How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[x] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

Summary by CodeRabbit

New Features

Enhanced the SingleShapeSidebar component to include an option for forced save during frame completion. Users can now control the saving behavior more precisely when working within the sidebar.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.62%. Comparing base (2a720f4) to head (898b942).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #8070   +/-   ##
========================================
  Coverage    83.62%   83.62%
========================================
  Files          383      383
  Lines        40439    40439
  Branches      3815     3815
========================================
  Hits         33819    33819
  Misses        6620     6620

Components
Coverage Δ

cvat-ui
79.60% <ø> (ø)

cvat-server
87.30% <ø> (ø)


Translations support

Hey! Very nice mod! 😃
I would be even better if there is a way to make translations for it..
If you make support for language files I would love to help you with translations 😄

Yes! I will get to work on that right away and inform you when I have it implemented.

@xYundy I have just updated the repository with the new language file support code.
Thank you for offering to add translations! 😄

Thank you very much!


Avoid redundant builds of OSX with xcode7.3

xcode7.3 is now the default OS X version in TravisCI, so we're building the project twice with the same configuration.
The second build was added in #2595, when xcode6.1 was the default. It doesn't make sense anymore.
I'm currently working on the project's build matrix for a long-term solution - I'll probably explicitly state each OSX version -, but this should speed builds up in the mean time.
https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version now says:

Travis CI uses OS X 10.11.6 (and Xcode 7.3.1) by default .

How useful has building on both xcode versions been? Has it caught any bugs? Would be useful to know for #3721.

(BTW, from the docs, we're redundantly building twice with xcode7.3 for 5 months)

@RX14 i don't recall any bug catched. I think it's fine to merge this and later increase the matrix if needed.
I do think we should support older macs though.

I restarted the hung OSX job on Travis.

Merging, as nothing broke


wRPC binary serialization with data structure versioning support

This PR implements support for "wRPC serialization versioning".
This is accomplished using a set of primitives and macros added to workflow-rs (workflow-serializer crate) that implements Serializer trait and a helper Serializable<T>(T) struct (https://github.com/workflow-rs/workflow-rs/tree/serializer/serializer/src).
wRPC calls require BorshSerialize and BorshDeserialize.  These traits have been removed form RK RPC data structures.  Instead they now implement Serializer trait to perform binary serialization.  The Serializable<T>(T) where T: Serializer struct implements BorshSerialize and BorshDeserialize and is #[repr(transparent)], effectively converting data structures that implement Serializer trait to BorshSerialize and BorshDeserialize invocations.
Each RPC (and related) data structure that opts-in for versioning now manually serializes it's fields, where the first field is always a version number (currently u32).  By checking the version number on deserialization, structures can opt-in to deserialize old or new binary layouts.
This is a "future compatible" implementation that allows newer clients/nodes to understand older requests, but will not allow older clients/nodes to understand newer requests. (each structure can implement forward compatibility internally if desired by pre-buffering and storing the size of the binary payload and ignoring (while skipping) additional data;  this is not really a common approach as it poses other issues where field types can change, breaking serialization).
By augmenting Kaspa wRPC client and server interfaces with these traits, the constraints on these interfaces change requiring all RPC data structures to implement the Serializer trait, which is now implemented for each such struct.
The implementation of serialization is done beside each RPC data structure.  A new rpc/core/src/test.rs file implements serialization unit tests designed to catch basic data misalignments.
IMPORTANT:  When this PR is merged, we will need to make a new node release as well as the corresponding WASM SDK and KNG releases as this will break wRPC Borsh encoding compatibility (this PR addresses that very problem, allowing us to perform protocol upgrades in the future without breaking such compatibility).

Merged into #506


Suggestion: Remove need for a seperate menu

i just thought it might function a lot nicer if the added slots would instead be added to the normal inventory screen instead, that way you dont have to fumble around with seperate menus

i just thought it might function a lot nicer if the added slots would instead be added to the normal inventory screen instead, that way you dont have to fumble around with seperate menus

agreed. i feel iffy placing items in seperate inventories as it is.

A problem i might see popping up however is how it will affect other mods and potentially the way textures of the inventory will work. Mostly tho im thinking about, if the inventory would still be centered, things like tabs buttons in the inventory from other mods might be misplaced as a result of shifting the inventory around

i see. Maybe another inventory tab, clickable at the top? I used to see a lot of mods like Baubles give you the option to scroll through inventory tabs.

Maybe you could get away with adding the additional slots to the bottom of the inventory without moving it around. Tho it might cause a problem if the gui scale is set to a bigger setting, this might be the best option as i rarely see other mods add functionality to the bottom of the screen. Other than that, a scroll bar might also do the trick i guess. Maybe both of those ideas could even be fused together, dynamically enabling a scroll bar whenever the expanded inventory wont fit the screen


iOS Seems buggy at best

I installed this and it works flawlessly in a desktop browser. As soon as I try it on my iPhone 6+ it was was very particular on where I pressed in order to make it work. Clicking directly nudges things 1px and then back again. If I click on the very edge of the button it seems to mostly work. I thought this might be just something I did wrong, however looking at the plugin site yields the same results. Is anyone else having this issue and figured out how to solve it? Is this something I have to get use to on mobile devices? Let me know, thanks!

Hey @nate8684 check out the latest version (0.6.0). It seems to be working pretty well on my iPhone 6. Let me know if you are still having issues on the 6+.

That's much better, should've tried that before posting an issue. Thanks for the heads, great plugin!

:+1: excellent!


AnimatedSize clipping the widget

I'm creating a bottom navigation bar. When the app launches, the default selected navigation tab extends as seen in the gif.
The issue is when AnimatedSize starts the animate, borders cuts off. Therefore, the container's border-radius doesn't look good. I don't think I'm clipping the view.
Stackoverflow question

https://github.com/NBK-Group/ss_bottom_navbar/blob/ef3daf99193f65833b8f78d2e9744a482bce4eaa/lib/views/slide_box.dart#L39-L58
https://github.com/NBK-Group/ss_bottom_navbar/blob/ef3daf99193f65833b8f78d2e9744a482bce4eaa/lib/ss_bottom_navbar.dart#L159-L174

Thanks to Mobina, she came up with up a solution in this answer. Will PR soon.


Building master branch fails

Hi,
first of all thanks for the great work.
I've tried to build the project by my own on a windows env, but this fails without editing pom.xml.
When I add UTF-8 to the maven-compiler-plugin the project can be build successsfully.
When running the jar  a exception is thrown:
Exception in thread "main" java.lang.IllegalAccessError: tried to access class javax.faces.component.StateHolderSaver from class com.redtimmy.Richsploit
        at com.redtimmy.Richsploit.createStateHolderSaver(Richsploit.java:240)
        at com.redtimmy.Richsploit.exploit2(Richsploit.java:174)
        at com.redtimmy.Richsploit.main(Richsploit.java:92)

Some comparison between your jar and my built one shows up, that javax.faces.component.StateHolderSaver.class exists twice.
Are you building with some special parameters?
Thanks in advance.

Hi,
Because the original javax.faces.component.StateHolderSaver class from the JDK is not declared Public, it is not possible to instantiate objects with it. Therefore we have redefined it. For me, building with maven will pick the redefined class, but looking at the exception thrown, it seems for you it picked the original class. I'm not sure why this happens, and if it is possible to force Maven to use one class over another.

What did it for me was to add this plugin in pom:
<plugin>     <groupId>org.apache.maven.plugins</groupId>     <artifactId>maven-shade-plugin</artifactId>     <version>3.4.0</version>     <executions>         <execution>             <phase>package</phase>             <goals>                 <goal>shade</goal>             </goals>             <configuration>                 <relocations>                     <relocation>                         <pattern>javax.faces.component.StateHolderSaver</pattern>                         <shadedPattern>com.redtimmy.StateHolderSaver</shadedPattern>                     </relocation>                 </relocations>             </configuration>         </execution>     </executions> </plugin>


Update DatePickerRangeExample.vue

There was a bug when selecting dates in range mode

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
There is a bug in the documentation, when in range mode there it should be v-model.range.
📝 Checklist

[ ] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

No this is actually correct, you can see it working here: https://ui.nuxt.com/components/date-picker#daterangepicker


Plugin doesn't work properly with TS config file

Plugin doesn't work properly (shows all default props instead defined ones) when I use tailwind.config.ts, but works fine with tailwind.config.js
There is a very simple config, just for a test
export default {
  theme: {
    colors: {
      night: '#132137',
      navy: '#1D2A30',
      sand: '#EEECE6'
    }
  }
}

tailwind.config.ts

tailwind.config.js

it looks like we should to replace
workspaceConfig = transpile.outputText;
https://github.com/kalimahapps/vscode-tailwind-config-viewer/blob/e35d2ed3133c32e4bbcf481d71d0a2da4867c96a/src/tailwind-config.ts#L125
with something like this
workspaceConfig = (await requireFromString(transpile.outputText)).default;

Thanks for the question and the solution. This is resolved in latest version.


Quicksilver stuck after attempting to run multiple deferred actions

Steps to reproduce:

launch quicksilver
hit '.' to enter text mode
type any text
hit <TAB>
hit Ctrl+Enter to turn it into a deferred action
hit Shift+Tab
hit ',' (comma)
select any other quicksilver item you want, and press <TAB>
Attempt to hit Ctrl+Enter again. Nothing will happen, but when you leave quicksilver, you won't be able to open it again via the global shortcut...

I'm unable to reproduce this now. It appears it was fixed by #555


Suggest possible solutions to failing requires

See https://github.com/crystal-lang/crystal/issues/5291

Maybe this could also display CRYSTAL_PATH to show the locations where the compiler can discover a lib.

@straight-shoota that's not really useful information, it's just an implementation detail that shards and crystal have to agree on. Providing that information might lead users to stop thinking about shards and miss the solution to their problem.

Yes, it depends on how close the coupling between the compiler and shards is supposed to be. It is obviously the preferred tool and strongly recomended for Crystal development, but in fact, the compiler can do very well without shards. You can just install libraries manually in the lib path or use some other manager for this. I'm not sure if the compiler should just assume everyone uses shards.
Currently, the only reference to shards in the compiler is crystal deps (which should probably be deprecated) and crystal init creates shards.yml (but also a bunch of other, opinionated config files).

The compiler should assume everyone uses shards, and it shouldn't confuse users by suggesting otherwise until there is an otherwise.
Helping new users far outweighs theoretics about alternate package managers.

rx14 is right here

crystal is shards ♪
shards is crystal ♫

please sing with this song: https://www.youtube.com/watch?v=7er_xx7Wmg8

The compiler supports lookup paths like lib/foo.cr which cannot possibly be populated by shards install. It clearly does not declare shards to be the only way to use libraries.
That's why I don't think the error message should assume someone want's to require a shard just because require contains a non-relative path. It could also be very likely refer to a misspelled file in the stdlib or one that is not available in the current version of Crystal.
I'd suggest to reword this to not reference "shard" explicitly. Maybe require a library?
It should certainly mention to try shards install, missing that is probably a very common source of error.
There should also be a list of the places where the compiler tried to locate that file.
The path in the error message is confusing: For require "foo" it says can't find file 'foo' relative to '/current/path/src'. While this is correct in principle, without a deeper understanding of the require mechanism this can lead to wrong assumptions. An unknowing user could read this as it would resolve to  /current/path/src/foo.cr. But if you put a file there, it won't be found because it's not a path-relative lookup and src is not in the crystal path.
It should better state that it can't find the file in CRYSTAL_PATH.
Users could identify possible issues easier if the compiler showed the actual paths where it looks for the file. Maybe shards install was run, but it was not done correctly (for example some directories got mixed up) or shards had some failure. If the paths are shown, a user may spot such issues easier.

The error message no longer contains "relative to" if it's not a relative require.
I also changed the wording to say "If you're trying to require a shard".
I'm not going to list the paths it searched because the 0.1% of users who ever do library management manually without shards will surely have read the docs. I contend it's actively confusing to users to receive a humongous list (can easily be 10+ entries long) of places the compiler has searched for a file. Users don't care where the file is, just how to get it there.

@ysbaddaden I actually don't think it matters what impression of the implementation details this message gives the users, I think it matters if it helps them solve their problem. Defining the project root as "the same directory as shard.yml" is a good easy way for new users to find the directory.


Mounts fail on Fedora and probably with SELinux=enforcing in general

e.g.:
$ docker run --rm   -v ${PWD}/example:/data korap/kalamar:latest-conv   tei2korapxml   --inline-tokens '!cmc#morpho'   --input /data/dck-part1.i5.xml > dck.zip
[2022-05-29 07:46:38.68411] [1] [info] Mode is production
[2022-05-29 07:46:38.80974] [1] [info] API expected at https://korap.ids-mannheim.de/api/v1.0/
File '/data/dck-part1.i5.xml' could not be opened.
File '/data/dck-part1.i5.xml' could not be opened. at /usr/local/bin/tei2korapxml line 166.

It now also works with podman on Fedora.


Configure software/hardware offloading

https://github.com/NixOS/nixpkgs/issues/141802

https://forum.banana-pi.org/t/new-netfilter-flow-table-based-hnat/12049/25

https://github.com/openwrt/openwrt/issues/9854

Jul 28 11:27:31 surfer kernel: mt7986-wmac 18000000.wifi: attaching wed device 0 version 2
Jul 28 11:27:31 surfer kernel: platform 15010000.wed: Direct firmware load for mediatek/mt7986_wo_0.bin failed with error -2
Jul 28 11:27:31 surfer kernel: platform 15010000.wed: failed to attach wed device
Jul 28 11:27:31 surfer kernel: usb 1-1: new high-speed USB device number 2 using xhci-mtk
Jul 28 11:27:31 surfer kernel: hub 1-1:1.0: USB hub found
Jul 28 11:27:31 surfer kernel: hub 1-1:1.0: 4 ports detected
Jul 28 11:27:31 surfer kernel: platform 15010000.wed: failed to disable wed-wo


getAttribute is dropping characters under a certain condition

Environment:

Angular 2 RC1
Protractor 3.2.2

While performing a myEl.getAttribute('href'), I noticed that a character was being dropped from the result. Unfortunately, I am unsure how to provide code for reproduction.  Here is my specific case.
The resulting html from the angular2RC1 is as follows:
http://mysite.com/
Yes, I know the href is in error above, I've logged that ticket to my dev team. However, performing a getAttribute on that element:
$('a').getAttribute('href').then(function(text) { console.log("link href = " + text); });
results in the following (notice the missing colon in the second http://):
link href = http://http//mysite.com/
I am noticing this in elementExplorer as well.

I've discovered a way to reproduce the issue.  Use the quickstart guide as the base.
Modify app/app.component.ts to be:
import { Component } from '@angular/core';

@Component({
    selector: 'my-app',
    template: 'http://www.google.com'
})
export class AppComponent { }

Run the server locally,
Then using elementExplorer protractor --elementExplorer
type $('a').getAttribute('href')  and note the result.
Also, try the following spec test spec.js
'use strict';

describe('Protractor Demo App', function() {
	it('should test hyperlink\'s href attribute', function() {
		browser.get('http://localhost:3000');
		expect(element(by.css('a')).getText()).toEqual('http://http://www.google.com');
	});
});

Thanks for the repro steps! I just did this with Protractor 4.0.3 and Angular 2-rc5, and am not able to reproduce the problem. I'm willing to bet this was fixed either with recent changes to webdriver or Angular 2 - both have been under a lot of flux recently.


Inference time decreasing after a certain delay using GPUBuffer packets

Plugin Version or Commit ID
0.10.3
Unity Version
2021.3.9f1
Your Host OS
Windows 10
Target Platform
Android
Description
Hello,
I'm experiencing a weird behaviour by using GPUBuffer packets for pose tracking.
After a certain delay (could be several seconds or even one to two minutes), inference time decrease and depending the smartphone I use, it can decrease a lot.
For example on a Xiaomi Redmi Note 10 Pro I can have an inference time of 45/50ms and after some dozen of seconds, inference take about 12ms (On Samsung S20Fe 5G, inference time is about 35/37ms and decrease to 27/28ms after some delay).
I've tried to profile GPU usage through Unity Profiler in order to check if there was some delay for the GPU to really start working effeciently after some delay.
On Xiaomi Redmi Note 10 Pro, I can see some traffic on GPU usage during the phase where inference time is high and when inference time decrease I see that GPU usage is quite stabilize.
On Samsung S20 Fe 5G, everything seems stabilize but I can clearly see the gap on GPU usage between when inference is about 35ms and when it's about 27ms.
Redmi Note 10 Pro:

S20 Fe 5G:

I thought it could be due to pose detection phase but it seems very long for this phase only.
Not sure how I could interpret this behaviour but I've some theory in mind:

either GPU needs to deal with some data first and put them in GPU cache before well processing inference
or MediaPipe is processing first on CPU and then processing on GPU when GPU is fully ready
or there is some parameter to pass when launching the app on Android for using full power of GPU and CPU (I already check battery saver options and they are not enabled).

Maybe you'll have some ideas about this behaviour ?
Thanks!
Code to Reproduce the issue
No response
Additional Context
No response

Can you reproduce this behaviour with the latest Pose Landmark Detection scene?

Thanks for your quick answer!

Can you reproduce this behaviour with the latest Pose Landmark Detection scene?

I tried and I didn't reproduce the issue but inference rate seems clearly less important than the prototype project I use so not sure I can really compare (I explain a bit below the context of my prototype project).
Not sure also where I could add a Stopwatch in this example using GLContext, could you point out where GPUBuffer packet is sent to the input stream and which callback will be triggered ?
For a bit more context of how I send packet through your API, I'm not using FlowLimiter node and I send GPUBuffer packet as soon as previous frame as been processed by MediaPipe (as soon as the callback has been triggered) without waiting the end of the current frame => I'm not using coroutine nor MainThread to send Packet to MediaPipe, I'm running a Task that launch a async function who's in charge of waiting for camera to deliver a fresh new image (different from previous one) and waiting for last frame to be processed by MediaPipe, then prepare and send a new Packet to MediaPipe.

Can you reproduce this behaviour if you disable the segmentation?

By setting "enable_segmentation" to false I still have this delay before having improvement in inference time.
Just to be sure, if not explicitly set to true, isn't it disabled by default ?
Above is the result I have on GPU usage on Redmi Note 10 Pro, difference is less important between where inference time is important (45/50ms) and where inference time is clearly improved (~12ms), it corresponds to the red line approximatively.
Thanks a lot!

I tried and I didn't reproduce the issue but inference rate seems clearly less important than the prototype project I use so not sure I can really compare

I'm sorry, could you clarify what you mean by "less important"?

For a bit more context of how I send packet through your API

If it's not that you can reproduce the issue with the sample scene of this project, then I can't answer the question since I can't investigate the issue.
Furthermore, if you want to know how MediaPipe works internally, please ask the MediaPipe developer.

By "less important" I meant that the inference rate I had with the sample project you shared seem lower than the one I can have on the prototype onwhich I'm working on.
I've done some profiling with Snapdragon Profiler on Redmi Note 10 Pro and it seems that the issue come from when the GPU allocate "full" clock speed to the app process:

I'll try to check how from a Unity project I could say that the app need as many GPU resources as possible from the beginning of the app or from a specific point at runtime.
If I don't find more informations about this, I'll start a discussion with MediaPipe developers indeed.
Would you like me to share a link to the discussion here if I start one about this topic maybe ?
Thanks for your help!

Would you like me to share a link to the discussion here if I start one about this topic maybe ?

In the scope of what I wanted to know, I've understood the cause, so you don't need to let me know, thanks.

I thing the GPU is operating only at boost clock, so I will close this issue.


Implement faster joint space inertia mat computation for RobotModelKDL

KDL does not provide explicit computation of the joint space inertia matrix for the entire robot tree. The method we use here currently uses the KDL inverse Dynamics for each row of the inertia matrix, which is very slow.

KDL model will not be supported in future, so this becomes irrelevant


A blocking process freezes entire ide.

VSCode Version:1.5.1
OS Version:ubuntu 16.4

Steps to Reproduce:

execute a script with long for or something blocks the process
in a native terminal the loop will not freeze the terminal  and stream the output of the loop however in vscode this process freezes the entire ide not even just terminal so you cannot even terminate the terminal without terminating entire vscode which can cost serious data loss in an unsaved workspace

@NikosEfthias is this only happening with a large amount of output? I believe this is due to a perf regression when the scroll bar was introduced.
If this is like the past performance issue then the keystrokes probably are being sent to the terminal, it's just taking too long for the renderer to catch up.

this is only happening with a large loop without any pause doing something something like
a=1
while [[ true ]]
 do echo $((a++))
done

this will freese the entire ide however in xterm it does not have any issue printing values and receiving interrupts

xterm seems so snappy because it syncs the renderer with the shell process. A PR done to xterm.js (https://github.com/sourcelair/xterm.js/pull/146) to do this, however the a side effect of it was that it took an enormous amount of time to print all the output due to each page of data having to be replicated in the DOM and displayed. Improvements to performance are still being explored in https://github.com/sourcelair/xterm.js/issues/134 and https://github.com/sourcelair/xterm.js/issues/150

can't puttting small delay between each node creation help something like 10 ms is difficult to feel as a user i think

@NikosEfthias currently I think there's max 30 updates to the DOM per second, but all that text still needs to be processed. So the scroll bar added in 30 scroll events a second in addition to everything else which I'm guessing was enough to lock it up.

Should be fixed by https://github.com/sourcelair/xterm.js/pull/438 :fireworks:

Fixed with all the performance improvements made this version, Insiders should be silky smooth. https://github.com/Microsoft/vscode/issues/17875


Error w latest version

fingscan Error
Traceback (most recent call last):
File "plugin.py", line 2738, in checkTriggers
AwayTime[nDev] 	= timeNowm2-float(evnt["secondsOfLastOFF"][nDev])
KeyError: '12'
fingscan Error
Traceback (most recent call last):
File "plugin.py", line 2738, in checkTriggers
AwayTime[nDev] 	= timeNowm2-float(evnt["secondsOfLastOFF"][nDev])
KeyError: '12'

Restart.  If still error: This means dev 12 does not exist. Please check the idevice variable and the fing devices KarlOn 15.12.2023, at 18:27, David Achterberg @.***> wrote:
fingscan Error
Traceback (most recent call last):
File "plugin.py", line 2738, in checkTriggers
AwayTime[nDev] 	= timeNowm2-float(evnt["secondsOfLastOFF"][nDev])
KeyError: '12'
fingscan Error
Traceback (most recent call last):
File "plugin.py", line 2738, in checkTriggers
AwayTime[nDev] 	= timeNowm2-float(evnt["secondsOfLastOFF"][nDev])
KeyError: '12'
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Allow getting the policy of a bucket

The struct used to deserialize the response content is very limited, has only the version and id fields, but it's a good start nevertheless.
Threw in two other small commits, please review each commit separately. Thanks!

Is this of interest?

Done


Remove Circe dependency

It is currently used here, to automatically derive a Serializer when a circe Encoder/Decoder are in scope. I added this for convenience.
https://github.com/armanbilge/fs2-dom/blob/443ca6b4fcb3427d78ca7f1fe53b810e771304b7/dom/src/main/scala/fs2/dom/Serializer.scala#L52-L59
While this is convenient, it is not a good long term solution. Namely:

Circe Json represents only a subset of serializable data structures. For example JS ArrayBuffer is serializable, but there is no way to express this in Json.
Circe Json also models stuff we can't serialize. For example, a JsonNumber maybe be arbitrarily large; however JavaScript-native numbers must be representable as Double.
Circe is still unstable, 0.15.x is currently in the works.

It's annoying, but what we need is our own infrastructure for deriving Serializers from data classes. We can use shapeless 3, and maybe take inspiration from Dynosaur.

This appears to be implemented in https://github.com/getshaka-org/native-converter. h/t @lolgab.


Cancelling export reports from UI doesn't actually stop cancel the api call

User Story
when the export reports button on the compliance tab of the UI is depressed, a modal window is displayed, giving the user feedback that the export is underway and also, offering an opportunity to close the modal window with the normal close button.  When the modal is closed, the api request for export should be cancelled but is not.

should it be cancelled?  i never thought that was the intent...
@jonong1972 what do you think?

Fair point @vjeffrey. The problem with the way it operates now is that that, once the modal is closed, the download stream continues to do its work.  The user has no idea that the work is continuing and may do what is so common which is to continue to try over and over again to invoke export by repeatedly pressing that export button, resulting in many simultaneous duplicates of this expensive operation.
I think that the modal dialogue window should have two buttons on it:
1 - Run in Background
2 - Cancel
If we have add these two buttons, then we may remove the close button as both buttons will close the modal box after invoking their respective action.
It would be nice to also have a progress indicator somewhere on the screen.

Agreed on button options!
Progress indicator would be nice someday too -- let's talk with jon in standup


Minor translation improvement

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉

Thank you for your contribution to the page!
We're happy to accept these changes, and look forward to future contributions.

Glad I could help! The translation had some really confusing points so I decided to fix it for a better understanding.


Label wraps text in component table

In a specific screen, the label reports its size not correctly and wraps. Check internal ticketing for more info

this is probably also fixed by https://github.com/sibvisions/reactUI/commit/466fdae3203575d34fdad70ce2c6b0721e666d0c
There was a similar break issue in the internal test app with numbered labels which is also gone and was caused by the browser internal floor on the width.


Type getSignalQuarity()

I found a typo.
Name of getSignalQuarity()  is seems to wrong. Quality is correct. (L)
https://github.com/sakura-internet/SakuraIOArduino/blob/master/src/SakuraIO.h#L26

OMG 😱

Fixed in v1.0.3. Thanks a lot.
Old function getSignalQuarity() was left for compatibility. 😭


Remove pokedex exmple from coverage tracking

Remove coverage tracking until it gets its own tests

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


site: add icon guidelines

https://pluralsight.invisionapp.com/boards/AS3F9BE6VTMPX

icon-guideline-svgs.zip
Graphic assets attached ^


New Workspaces do not provide Usage Metrics

Being able to pull usage metrics for reports is no longer an option with the new workspaces as a SharePoint site is not automatically created anymore. What can I do to enable this feature again? I have to be able to pull usage metrics.

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

ID: 11357d2a-97f6-c5d6-2a62-0d5cae1a1c3d
Version Independent ID: 51900b79-f5ed-25b8-ee89-9078129bdb15
Content: Create the new workspaces (preview) - Power BI - Power BI
Content Source: powerbi-docs/service-create-the-new-workspaces.md
Service: powerbi
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi maggiesMSFT, your comment is 2 months old - anything new regarding this feature?
I used it a lot.

I certainly hope that usage metrics will be incorporated before forced migration out of classic workspaces.


Refresh editor when reloading file to avoid scroll area getting out of sync

This is a possible fix for #9632. My suspicion is that without this refresh, CodeMirror's idea of the scroll area size gets out of sync somehow if the text has a significantly different number of lines. It's not clear why this should be necessary - there might be some bug in CodeMirror - but it seems like a fairly straightforward workaround.
With this change in place I haven't seen the bug in #9632 at all today, whereas it shows up pretty often for me on master. It seems like a relatively harmless change, although it could add some small delay when switching documents.
@peterflynn any thoughts?

I've been running with this for the past few days and haven't seen the scrolling problem, and I also haven't seen any other issues with it, so I think it's a good fix.

Tested and seems to fix the issue, merging.


Concatenate raw text forecasts

Write something to (quickly) concatenate all the text forecasts into one file, complete with end of file indicators after each forecast, to test the quality of an unconstrained network - could be used as a control.

Written a monolithic version which does it all at once using xargs, may try and do something nicer later on.


What does it mean Trackable objects?

According to the read me, it says

Trackable objects and TensorFlow functions are represented as nodes in the trackable object graph, and each node in the graph stores information about their python properties. Since many attributes in Keras Layers/Models are not Trackable objects or tf. functions, these attributes are wrapped as trackable objects/tf.

By this, I understand one thing that, it represents a node in the tf graph. But this information is not enough. What does it mean exactly?

@innat
This question is more suited for Stack Overflow rather than here. Still, I will try to answer it.
Trackable objects are, in my opinion, objects that are kept on check by the TensorFlow runtime. This includes things like trainable variables. They need to be updated after every epoch, right? Also, things like losses and metrics have states, which are managed by the runtime.

You find a definition in https://www.tensorflow.org/api_docs/python/tf/train/Checkpoint?hl=es-419#used-in-the-notebooks_1

@bhack I don't see a definition on that page. All I see is the following, which gives examples of trackable objects without defining them.

TensorFlow objects may contain trackable state, such as tf.Variables, tf.keras.optimizers.Optimizer implementations, tf.data.Dataset iterators, tf.keras.Layer implementations, or tf.keras.Model implementations. These are called trackable objects.

Am I missing something?

You can find something more in https://www.tensorflow.org/guide/checkpoint#object_tracking


Crouton Install Utopic Fails

Hi,
just tried to install crouton ubuntu utopic on my Acer C720 (i3, Intel HD, 4 GB RAM,32 GB). The installation fails with the following error:
Setting up rsyslog (7.4.4-1ubuntu11.2) ...
The user `syslog' is already a member of `adm'.
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: initscript rsyslog, action "restart" failed.
dpkg: error processing package rsyslog (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up sudo (1.8.9p5-1ubuntu2.1) ...
Setting up cpio (2.11+dfsg-2ubuntu1.1) ...
Setting up libcgmanager0:amd64 (0.32-4ubuntu1.4) ...
Processing triggers for libc-bin (2.19-10ubuntu2.3) ...
Processing triggers for initramfs-tools (0.103ubuntu8) ...
Errors were encountered while processing:
 rsyslog
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to complete chroot setup.

Any help would be appreciated...
best

@promanczuk You should search the precious issues to find solutions before filing the report... See https://github.com/dnschneid/crouton/issues/1391#issuecomment-72538256
This is the invoke-rc.d problem to be caused that rsyslog's post.install script had tried to start itself via upstart init system at the final stage of installation. You should see: /var/lib/dpkg/info/rsyslog.postinst
Then an alternate method:

Open crosh shell and do sudo enter-chroot (decline to run the preparation script)

Edit /var/lib/dpkg/info/rsyslog.postinst like this:

--- rsyslog.postinst	2015-07-22 06:51:57.838053672 +0900
+++ rsyslog.postinst.new	2015-07-22 06:33:48.459031739 +0900
@@ -110,7 +110,7 @@
 	else
 		_dh_action=start
 	fi
-	invoke-rc.d rsyslog $_dh_action || exit $?
+	invoke-rc.d rsyslog $_dh_action || exit 0
 fi
 # End automatically added section
 # Automatically added by dh_installinit

Do sudo dpkg --configure rsyslog to force finishing dpkg.

Do sudo exec /prepare.sh

Finally the crouton installation process would finish normally...
Regards.

Sorry, I actually searched the issues, but probably got the keywords wrong.
But Thanks a lot for your help!
best


Update wkhtmltopdf libraries to 0.12.5 and fix a callback was made on a garbage collected delegate bug

Great work on this, thank you, but not sure if this project is now dead? Thought I'd make another PR since my last one anyway, with a couple of updates and fixes:

Updated macOS and Linux wkhtmltopdf to 0.12.5 in addition to Windows in the last PR, removed 0.12.4 and updated nuget build
Fixed (I think!) 'A callback was made on a garbage collected delegate' issue - PdfTools should now hold a reference to any delegates in managed code so the GC doesn't collect them, thought this was probably best done in PdfTools rather than in the BasicConverter, so any other consumers of PdfTools shouldn't have to worry about this issue, but I could be wrong...
Added licence link to nuget package meta-data

If it's useful to anyone, I've published this as a nuget package at https://www.nuget.org/packages/RndUsr0.DinkToPdf/
It's only been tested on Windows, but any feedback gratefully received...

Thanks for updating this library! Your version works very well for me. I only get Qt: Could not initialize OLE (error 80010106) in the output window after I convert a file - conversion is successful. Can you tell me if I can ignore this error or what it means?

Has this solution been merged or reproduced in latest releases?
I've been facing this problem on 0.12.6-1 version


Fixed issue that caused the Monitoring tab to redirect to /401 wh…

…en the user didn't have privileges for sys.cluster or sys.jobs_log.

Codecov Report

Merging #448 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #448   +/-   ##
=======================================
  Coverage   38.03%   38.03%
=======================================
  Files          20       20
  Lines        1680     1680
=======================================
  Hits          639      639
  Misses       1041     1041

Impacted Files
Coverage Δ

app/scripts/services/sql.js
82.95% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Proposal: Split this project into 2 parts - jdbc-exporter and simple monitor

Currently this project hosts both JDBC exporter (highly tied to H2 db) and web app simple monitor which uses this H2 db to show information about instances, workflows and upload new workflow.
Good idea is to create robust, tested JDBC exporter so other people can use it without bundled webapp, for example, hooking it up to https://github.com/metabase/metabase.

I'm not sure if it makes sense to extract the exporter because it is closely connected to the simple monitor. It is not designed as a generic JDBC exporter. Instead, it has a specific schema which contains the data that is needed by the monitor.
However, if you think the schema is generic enough then feel free to create a new project for a JDBC exporter. I like the idea in general.


[Feature][Bin] Seatunnel bin file support windows.

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Our current script cannot be used on the Windows platform, and a .bat script needs to be provided.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

mark

I download seatunnel for my window pc , but I can't run SeaTunnel Application with git bash. It seems like start up script not support on windows. Is there a way to fix this?

How did you run? And what's the command you execute?

I download seatunnel for my window pc , but I can't run SeaTunnel Application with git bash. It seems like start up script not support on windows. Is there a way to fix this?

How did you run? And what's the command you execute?

I download seatunnel for my window pc , but I can't run SeaTunnel Application with git bash. It seems like start up script not support on windows. Is there a way to fix this?

How did you run? And what's the command you execute?

first execute ./bin/install-plugin.sh with git bash ---- success
then execute ./bin/seatunnel.sh --config ./config/v2.batch.config.template -e local ---- fail
错误: 找不到或无法加载主类 org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient
原因: java.lang.ClassNotFoundException: org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient
guess the diff java command
then execute java  -Dhazelcast.client.config=/d/soft/apache-seatunnel-2.3.3/config/hazelcast-client.yaml -Dseatunnel.config=/d/soft/apache-seatunnel-2.3.3/config/seatunnel.yaml -Dhazelcast.config=/d/soft/apache-seatunnel-2.3.3/config/hazelcast.yaml -Dlog4j2.configurationFile=/d/soft/apache-seatunnel-2.3.3/config/log4j2_client.properties -Dseatunnel.logs.path=/d/soft/apache-seatunnel-2.3.3/logs -Dseatunnel.logs.file_name=seatunnel-starter-client-1692955317755 -Xms1g -Xmx1g -XX:+HeapDumpOnOutOfMemoryError -cp /d/soft/apache-seatunnel-2.3.3/lib/*;/d/soft/apache-seatunnel-2.3.3/starter/seatunnel-starter.jar org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient --config ./config/v2.batch.config.template -e local ---- fail
错误: 找不到或无法加载主类 D:.soft.apache-seatunnel-2.3.3.lib.seatunnel-transforms-v2.jar
原因: java.lang.ClassNotFoundException: D:.soft.apache-seatunnel-2.3.3.lib.seatunnel-transforms-v2.jar
bash: /d/soft/apache-seatunnel-2.3.3/starter/seatunnel-starter.jar: cannot execute binary file: Exec format error
can't run st

I download seatunnel for my window pc , but I can't run SeaTunnel Application with git bash. It seems like start up script not support on windows. Is there a way to fix this?

How did you run? And what's the command you execute?

first execute ./bin/install-plugin.sh with git bash ---- success then execute ./bin/seatunnel.sh --config ./config/v2.batch.config.template -e local ---- fail
错误: 找不到或无法加载主类 org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient 原因: java.lang.ClassNotFoundException: org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient guess the diff java command
then execute java -Dhazelcast.client.config=/d/soft/apache-seatunnel-2.3.3/config/hazelcast-client.yaml -Dseatunnel.config=/d/soft/apache-seatunnel-2.3.3/config/seatunnel.yaml -Dhazelcast.config=/d/soft/apache-seatunnel-2.3.3/config/hazelcast.yaml -Dlog4j2.configurationFile=/d/soft/apache-seatunnel-2.3.3/config/log4j2_client.properties -Dseatunnel.logs.path=/d/soft/apache-seatunnel-2.3.3/logs -Dseatunnel.logs.file_name=seatunnel-starter-client-1692955317755 -Xms1g -Xmx1g -XX:+HeapDumpOnOutOfMemoryError -cp /d/soft/apache-seatunnel-2.3.3/lib/*;/d/soft/apache-seatunnel-2.3.3/starter/seatunnel-starter.jar org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient --config ./config/v2.batch.config.template -e local ---- fail
错误: 找不到或无法加载主类 D:.soft.apache-seatunnel-2.3.3.lib.seatunnel-transforms-v2.jar 原因: java.lang.ClassNotFoundException: D:.soft.apache-seatunnel-2.3.3.lib.seatunnel-transforms-v2.jar bash: /d/soft/apache-seatunnel-2.3.3/starter/seatunnel-starter.jar: cannot execute binary file: Exec format error
can't run st

Ok, I got it. I'll replicate it locally.

PR #5445  merged.


customize upload button style

Hi, I need to change the button color, I am using Nextjs and couldn't figure out how to achieve that through component props. In the docs, it is all about using Uploacare with vanilla JS.

Hey @Ali-Hussein-dev, it could be achieved with CSS. Do you need some examples? How do you write your styles? styled components, css modules?

Hey @nd0ut, I use Tailwindcss I tried to add classes but it didn't work!

Hey @nd0ut, I use Tailwindcss I tried to add classes but it didn't work!

Yeah, Tailwind classes won't work. But you can use theirs @apply directive or theme() function to create custom css classes.
/* widget.module.css */

.wrapper :global(.uploadcare--widget__button) {
  @apply border border-gray-300 rounded;
}

import { Widget } from '@uploadcare/react-widget';
import st from './widget.module.css';

<div className={st.wrapper}>
  <Widget publickey="" />
</div>

Thanks for the example, I also miss sth which is replacing the label "upload" with an "upload " icon, which is not possible, but I am not sure about it, can confirm that?

Thanks for the example, I also miss sth which is replacing the label "upload" with an "upload " icon, which is not possible, but I am not sure about it, can I achieve that?

To replace label with icon, you can use custom localizations. See https://uploadcare.com/docs/uploads/file-uploader/#localization
There is no html escaping, so you can replace text with html/svg whatever else.
In react-widget, you can pass UPLOADCARE_LOCALE_TRANSLATIONS through localeTranslations prop, i.e.
<Widget localeTranslations={yourTranslations} />

Hi @nd0ut i faced difficulties to override widget css/style such a button and copy text. I am using NextJS v13.2.4 and mui v5. i've tried some methods:

Using import css module
Using styled from mui/material/styles

But seems methods above is not responding. Do you have any example how to override widget style and localisation using NextJS & material UI?


COOK-56 Create directory for dfs.domain.socket.path

Create directory for dfs.domain.socket.path if configured, as it has no default. This ensures that the file can be created on DataNode startup, no matter the configuration.

LGTM 👍


Extract LRU logic to a separate class

LRUCache and CacheTagArray share a quite common implementation of LRU policy. It would be nice to re-use LRUCacheInfo class. It should be placed to infra/lru, and have some unit tests,

What's the progress? With current tempo. you won't finish all three tasks in April.


Added extract_custom_artifacts function in utils.py

Created a new function extract_custom_artifacts that extracts artifacts based on a yaml file.

[database_servers.yaml](https://github.com/ForensicArtifacts/artifacts/blob/main/data/database_servers.yaml) is available through ForensicArtifacts.
This workaround is no longer required. Closing this pull request.


Import Error 'get_desktop'

Installed Larch 0.9.81 for Windows, but can't find a way to launch it. When typing "larix" in Anaconda Prompt, getting the following error:
ImportError: cannot import name 'get_desktop' from 'pyshortcuts' (C:\Users<username>\AppData\Local\xraylarch\Lib\site-packages\pyshortcuts_init_.py)

This should be fixed with pip install --upgrade pyshortcuts

@Daria-Boglaienko Great, and sorry for the trouble!!


Analyzer should not allow JS-Interop classes to be extended.

For a JS-Interop class wrapper e.g.,
@anonymous
@JS()
class Chart {
  external factory Chart();
  external String get label;
  external set label(String v);
}

then
class MyChart extends Chart {
...
}

should report an error and suggest MyChart implements and not extends a JS-Interop class.

Unfortunately, correctly using Chart e.g.,
@anonymous
@JS()
class MyChart implements Chart {
    external set domain(String v);
    external set measure_pct(String v);
    external set measure(String v);
}

will cause the following analyzer error:
package:ads.awapps2.infra.chart.directives/chart_directive.dart:19:
[WARNING] Missing concrete implementation of
setter 'HovercardTemplateFormatters.domain',
setter 'HovercardTemplateFormatters.measure' and
setter 'HovercardTemplateFormatters.measure_pct'
[NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_THREE]

ERROR: please check Dart analyzer errors and warnings above. They are breaking the build.

This requires me to add the abstract keyword to all @JS() classes e.g.,
@anonymous
@JS()
abstract class Chart {
  external factory Chart();
  external String get label;
  external set label(String v);
}

@anonymous
@JS()
abstract class MyChart implements Chart {
    external set domain(String v);
    external set measure_pct(String v);
    external set measure(String v);
}

This shouldn't be necessary.

The latter is a language issue; analyzer is correctly doing what is required by the language specification. Please open a separate issue for this and assign it to area-language.

Thanks Brian I've added https://github.com/dart-lang/sdk/issues/26969 to track the abstract issue.

Not convinced we need this - the check that won't be needed in the future.


check if command is installed sooner

Currently, the check to see if the command (e.g. 'black') is installed is deferred to after the notebooks have been parsed. IMO it should happen sooner - as soon as possible, really, to give fast feedback

actually, it already happens before parsing notebooks, sorry for the noise


Switch to stable dns for docker internal network

Use the stable internal network dns that docker provides instead of hand defining ip addresses for the services. I've only tested this on OSX but generally speaking docker internal host dns is cross platform.
This change was required because docker networking overlay works poorly on OSX due to the virtualization required to run Docker itself. This greatly limits the flexibility of ip tables and network configuration which resulted in a broken docker-compose startup on my M1 machine.

Alternative changes were made by @diptanu that solves this underlying issue and obviates these changes.
For posterity, if you're having issues with Docker network setup on a M1 machine, it may mean that your Docker needs to be updated or clean installed (it can't hurt at least). Please file an issue if the problem persists after that.


When no methods, the methods section still shows up

Description
When generating documentation for a component that has no methods, the methods section should not appear.
Same for props, events and slots.

https://github.com/f3ltron/vuepress-plugin-docgen/pull/14


Add WriteToParquet.

@gtopper i think its a good start, need to add the notion of partitioning by time as we discussed, also option to upload data into object like v3io/s3/.. (there is a method for it in mlrun)


improved help page

Description
See title

Should we mention that if it's a general programming question to go ask elsewhere and point them to where?

Eh let's wait to see what kind of people find this page an act on it.

Thanks for the feedback @sckott, this is ready for further review.

icons for each bullet to visually signal? feel free to say nah i'm all set


MB Arabic content: Format & bold titles

In the section Housing and Household waste management, I see a different format in the Arabic version; the Recycling paragraph is a bullet point which is not the same format in English version. The recycling paragraph should not be listed as a bullet point.

Not Fixed.

The text with ** should be bold


Fix input type for IE 9

IE9 does not accept input type number

Are there any plans to merge this? Or do something similar  to fix IE9?


Add GitHub links for Provider API docs

I didn't realize that Provider already is using the viewcode Sphinx extension for current docs, so we didn't need to make any change to that repository to get GitHub source links working.
This change was 100% generated automatically by running npm run gen-api -- -p qiskit-ibm-provider -v 0.7.3 -a https://github.com/Qiskit/qiskit-ibm-provider/actions/runs/7330787504/artifacts/1135354934.

Hm, this has a legit broken link! Let's wait to merge this. Good job link checker :)


Create password recovery view

New view page

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Chore (documentation, packages, or tests updates, nothing that affect the final user directly)
[ ] Release (new version of the application - only for production)

Description
Creation of the password recovery screen, for the person to be redirected when they click on the link that will be sent by email or SMS
Screenshots
Nothing for now
Checklist

[x] I have performed a self-review of my own code
[x] I requested evaluations from other people to have an outside view and help validate

Dependencies
This issue has no dependencies

This issue was closed in the following commit:
bfec49030964a844e577f09ba8af25e280c7c9aa


Why does this package slow down my UI thread?

I'm trying to develop a Pyqt application with this face recognition package. To keep the UI responsive, I did move a worker with the face recognition to another QThread. However, the UI is still extremly sluggish and lagging. To check, whether I made a mistake implementing multithreading, I did then replace the face recognition part with a long active waiting loop, like this:
Original face recognition code:
face_recognition.face_locations(frame, model="hog")

Replaced with active waiting loop:
for x in range(59999999):
    pass

However in this case, the UI was very responsive. So the relevant part is indeed on another thread. But why is the UI thread lagging when I replace it with the face recognition?
I also did try to set the priority of the UI thread to QThread.TimeCriticalPriority (highest) and the priority of the worker to QThread.IdlePriority (lowest) but this did not really have an effect.
Also see: my StackOverflow question for a minimal example.

It seems the issue here was Pythons GIL. With separate processes instead of threads the program works like expected and the UI stays responsive.


stuck at 100%

Zap version: 0.7.3-beta
Operating System and version: MacOS lateste

ZAP 0.7.3-beta

any ideas

Same problem for me:
Zap version: 0.7.3-beta
Operating System and version: Windows 10

they stopped development on this project. RIP.... was a good nice wallet :(

@AndreiD Which directory will I find my BTC?  I'd like to get my BTC out of this wallet.  Its not much but its something

Can someone give me an answer?  It appears someone has updated the app 7 days ago.

@progone Zap wallets are actually LND wallets so you will only be able to restore your wallet with LND and nothing else. If you have your recovery seed you should be able to restore it using LND.

i have the same issue, is there a way to recover my btc? i only have a backup file
zap 0.7.2
W10

option 1) learn to do it yourself. option 2) hire a trustworthy developer


Edit collection - assign roles groups

This PR adds functionality to create/delete an admin group for a collection.
This is added to the ‘Edit roles’ tab of the edit collection page by the CollectionRolesComponent.
New ComcolRole instances have been added, along with the relevant messages:

'collection_admin' (community admin role has been renamed to 'community_admin')
'submitters'
'item_read'
'bitstream_read'

The workflow roles are retrieved by the CollectionRolesComponent from the collection links starting with 'workflowGroups/'.
I couldn't find a way in the front-end to link the workflow steps to the workflow roles, so the page is a bit different from the DSpace 6 equivalent because it displays the workflow roles by the role rather than by the step.
For example:

DSpace 6: 'Edit Metadata Step'
DSpace 7: 'Reviewers'
The functionality doesn't change however.

The ComcolRoleComponent has been altered to support Anonymous groups.
This PR is dependent on
https://github.com/DSpace/dspace-angular/pull/632

Rebased on https://github.com/DSpace/dspace-angular/pull/632

Hi Tim,

You're right about the descriptions, my bad, I fixed them in my latest commit
I'm following the order of the 'workflowGroups/...' links in the collection REST response. I've checked with the backend, and apparently in DSpace 6 the order is rather random. Perhaps this could be fixed but it doesn't seem related to this PR to me (the front-end shouldn't determine the order imo)
Regards,
Samuel

@samuelcambien : Thanks for the updates.  I agree with you that the front-end shouldn't reorder what is coming from the backend. So, this PR can be moved forward now as-is.

Merging as this is at +2 and the backend was just merged.  Thanks @samuelcambien !


spotlight-downloader: init at 1.5.0

Adds package spotlight-downloader. Website. Installs command SpotlightDownloader.
I didn't use buildDotnetModule because I need to use msbuild.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 351095 run on x86_64-linux 1

1 package built:

spotlight-downloader

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/2109


[Feature Request]: Implement Self-RAG

Is there an existing issue for the same feature request?

[X] I have checked the existing issues.

Is your feature request related to a problem?
No response
Describe the feature you'd like
Self-RAG is a strategy for RAG that incorperates self-reflection / self-grading on retrieved documents and generations.
Describe implementation you've considered
No response
Documentation, adoption, use case
No response
Additional information
No response

duplicate with #1069


Add Orchestation to CODEOWNERS

They are taking on maintenance from SSE

@huwd This is showing as invalid as the team doesn't have access to this repo explicitly. Would you be able to make orchestation-leads an admin and I can set up orchestration-team with write? Thanks!


redefinition of 'SurfaceData' error for StylizedSurface and StylizedSurfaceOutline shaders

Describe the bug
We just upgraded our Unity version to 2020.3.0f1 (from Unity 2020.1.11f1 ) and are having an issue with the StylizedSurface and StylizedSurfaceOutline shaders both giving the following error
redefinition of 'SurfaceData' at /Users/redacted/Documents/Git/redacted/Library/PackageCache/com.unity.render-pipelines.universal@10.3.2/ShaderLibrary/SurfaceData.hlsl(5) (on d3d11)
To Reproduce
Steps to reproduce the behavior:

Upgrade from Unity 2020.1.11f1 to Unity 2020.30f1
Load Unity
Notice StylizedSurface and StylizedSurfaceOutline  shaders have Errors
Notice materials using those shaders appear unity pink

Expected behavior
No errors and materials appearing correctly using those shaders
Screenshots

Unity details:

Flat Kit version: 2.1.5
Unity version: 2020.3.0f1
Graphics Pipeline:  URP
URP version (if applicable): 10.3.2
Development OS: Windows

Build platform:

Platform: PC
Test device: Windows 10

Removing and Reimporting FlatKit has resolved this issue :)


[WIP] Added support for Django 1.11, 2.0, 2.1, 2.2 and removed support for Django < 1.11

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@338ed01). Click here to learn what that means.
The diff coverage is 88.88%.

@@            Coverage Diff            @@
##             master      #20   +/-   ##
=========================================
  Coverage          ?   80.83%
=========================================
  Files             ?        5
  Lines             ?      120
  Branches          ?       28
=========================================
  Hits              ?       97
  Misses            ?       12
  Partials          ?       11

Impacted Files
Coverage Δ

aldryn_sites/models.py
100% <100%> (ø)

aldryn_sites/apps.py
100% <100%> (ø)

aldryn_sites/utils.py
75.36% <100%> (ø)

aldryn_sites/conf.py
90% <100%> (ø)

aldryn_sites/middleware.py
83.33% <66.66%> (ø)

Continue to review full report at Codecov.

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


Add workaround for “Error 65” on CI

We consistently keep getting “Error 65” on CI. It seems like it’s the simulator timing out or in other ways stops responding.

@jklausa suggested to me on Twitter that using Xcode 8.2 has helped their team avoid this issue. Maybe we can try running only our UI tests on Xcode 8.2 and see if it helps?

Bumping to Xcode 8.1 seem to have helped a lot (fingers crossed). Let's keep track of it for a week or so, and hopefully we can close this ticket.

In Xcode 8.2 Apple is supposed to have re-worked how the simulator is launched. Making things better.
However it seems to be a problem of CPU congestion. Which is very common when running on virtual machines, which is an issue that’ll persists even when upgraded to 8.2. We’ve been in contact with other companies that run on dedicated hardware instead and they haven’t experienced “error 65” at all (more or less). One workaround, suggested by an Apple iOS simulator engineer, for the issue seems to be wait for 30-60 seconds. We’re currently waiting for around 10 seconds so might bump that.

Still lots of problems with 8.2 unfortunately :cry:
Different problems, but problems nonetheless.

Just to add my two cents, again: I haven't looked closely at our CI in a while (heads down on a different project), but I've heard even with 8.2 it's gotten somewhat worse over last weeks.
Pet theory is that the improvement we've seen in 8.2 can be chalked up to the VMs being spun on a different set of HW, where we didn't have as many other projects to contend with — so things were just slightly faster, but slightly faster enough :(
(we're using bitrise, fwiw)

The Hub Framework is being phased out at Spotify, and therefore we will not be maintaining it further.


Allow variant option to test script, improve option handling

Extended test_single.sh script with possibility to pass on a --variant option and fixed some "hidden" bugs.

Hi @mdeweerd !
Having this support is good.
But I'll suggest you to take a look at tests/tests_kicost.py you can control all the options from there and add permanent tests that will run on every github commit.

Historically I added this test script to the setup.  I saw 'test_kicost.py' but I could not get it running ("easily") in my environment.
Just added support for variant names in the output - apparently our naming is on par for this.
So adding another pull request for that.

test_kicost.py runs using pytest.
At the root of the project you just run the pytest or pytest-3 command. That's a very common testing mechanism.


Add starter project for Blog article - Azure App Service On Linux

add starter project code for blog article

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


Walls cast shadows towards the light

Trying to design a point source which has shadows cast away from the center of the map. Doing that, I encountered the following situation which looks wrong:

Can you right click on the scene in the scenes tab, click Export Data, and then upload that JSON here? Also, what are your light configuration settings?

fvtt-Scene-ruins-of-caradoon-GnbM07rna6pUdhiW.json

do you need anything else?

A few thoughts:

Yes, I would expect some trouble with the Limits module. Technically, Elevated Vision doesn't mess with lights per se, just shadows. But I am sure there are some interaction issues, because Elevated Vision has to meddle quite a bit with lighting and token vision.

Does it look better in v0.5.10? I killed some bugs that might have made a difference. When I display your scene with just Elevated Vision, Wall Height, and libWrapper enabled, it looks pretty decent. (This is without any terrain elevation set, just using the limited-height walls for the shadows.)

You might also using a directional light instead of the 1000' light. Depends a lot on what you are going for, but directional lights were made for this sort of elongated shadow effect. The directional shadows will create parallel shadows (because the light is assumed to be infinitely far) and more closely mimics shadows from sunlight. Note the differences in this screenshot, where the sun is set to be overhead slightly southwest, causing all the shadows to go northeast.

it looks like some directional issue (normals, signs etc):
source is bottom right of walls -> correct shadows

source is top left of the walls -> failing shadows

but another player couldn't recreate the issue in their browser 🥲

Closing as I cannot fix graphics driver bugs, which is what this sounds like.


Prevent lookup errors in PartialEvaluator.hasBlendModes from breaking all parsing/rendering of a page (issue 11678)

The PDF document in question is corrupt, since it contains an XObject with a truncated dictionary and where the stream contents start without a "stream" operator.
Fixes #11678

/botio test

/botio-linux preview

Thanks!
/botio makeref


Add jupyerhub and reflex false positive samples

This PR contains clean samples from these critical, false positive PRs:

https://github.com/wolfi-dev/os/pull/29762
https://github.com/wolfi-dev/os/pull/29784

Once this merges I'll update the commit SHA in https://github.com/chainguard-dev/malcontent/pull/475/.


Move block height check after error checking, fixed unit tests

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Matthieu Vachon seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Global fixes

what
Currently for a secondary cluster with this module you get the following error:
Error: error creating RDS cluster: InvalidParameterCombination: Cannot specify user name for cross region replication cluster

This cannot be worked around as admin_user has a default of "admin", this sets the default to an empty string
why

So can have a global cluster

references

N/A

/test all

/rebuild-readme

No worries, was able to set admin_user=""


Error while running delete_host.py

Hi,
I'm trying to run "delete_host.py" script like this:
./delete_host.py -n myhost
But I'm getting this error:
Traceback (most recent call last):
File "./delete_host.py", line 26, in
'output': ['name', 'hostid']
TypeError: do_request() takes exactly 2 arguments (3 given)
Could you please help?

This problem could not be reproduced in my environment.
# python -V
Python 2.7.16
# pip freeze | grep py-zabbix
py-zabbix==1.1.3

# python3 -V
Python 3.6.8
# pip-3.6 freeze | grep py-zabbix
py-zabbix==1.1.5

The spec of py-zabbix's do_request() method seems different from what I know. Try updating your Python and libraries using OS package manager and PIP. Also check that installed library is correct. This program needs py-zabbix.
In addition, make sure that py-zabbix works alone.

Thanks for your reply.
After checking everything you mentioned and all was good. I re-cloned your repository and tried. It worked. It seems I forgot that I modified your python script a little bit which it rendered it broken.
My apologies for the noise and thanks a lot for your help.
Cheers.


watermark_buffer_test: Break up contiguous memory allocation to avoid bad alloc exception

Commit Message: Running this test in CI on Windows we have seen bad alloc exceptions, to combat this and reduce memory overhead, break up large string allocation into smaller segments.
Additional Description: N/A
Risk Level: Low
Testing: Modifies unit test
Docs Changes: N/A
Release Notes: N/A

Once this is merged, please rekick https://github.com/envoyproxy/envoy/pull/12417 CI, which should then be ready for final approval and merge.

cc @antoniovicente

/assign @adisuissa

May I point out that this patch fixes the CI breakage of a test sucking 2GB of heap. If it can be improved by the original author, a third PR would be most appropriate. Another fine alternative is to revert the broken commit.

May I point out that this patch fixes the CI breakage of a test sucking 2GB of heap. If it can be improved by the original author, a third PR would be most appropriate. Another fine alternative is to revert the broken commit.

cc @adisuissa
This test was introduced in 436732f1dd which was merged 2 months ago.  I think that at this point it is appropriate to fix forward.
@adisuissa could you look into ways to improve this test?

This test was introduced in 436732f which was merged 2 months ago. I think that at this point it is appropriate to fix forward.
@adisuissa could you look into ways to improve this test?

One way this can be addressed is by setting a threshold data member (defaulting to the current size) and a setter that will only be used as part of tests. The threshold then can be much lower, and the test will consume much less memory.
I'll push a PR on this soon, but other ideas are welcome :)

Note that a single 2GB malloc is constrained by the test machine's setup. As we bounce between AWS, GCP and Azure, this is the sort of thing that flakes more often on the change of CI test box provisioning. As we worked out, there was never a need to initialize a 2GB heap space and add it twice when you could divide it into a much smaller segment and append that same segment zero-copy to trigger a high water mark. The +10 overflow was preserved from the previous test, this patch should be an effective delta of zero for the desired failure.
If it is not 100% the same test we are more than willing to correct it. I'm very much opposed to leaving CI blocked for enhancements.

I think the idea was, cumulatively, we have to watch for failures in the signed/unsigned 32 bit int range and beyond. The test wasn't necessarily a bad question, only the implementation which is trivially fixed as proposed.

Note that a single 2GB malloc is constrained by the test machine's setup. As we bounce between AWS, GCP and Azure, this is the sort of thing that flakes more often on the change of CI test box provisioning. As we worked out, there was never a need to initialize a 2GB heap space and add it twice when you could divide it into a much smaller segment and append that same segment zero-copy to trigger a high water mark. The +10 overflow was preserved from the previous test, this patch should be an effective delta of zero for the desired failure.

uint32 max is 2^32-1.  Allocating 32 buffers of size uint32 max / 32 results in an allocation of 2^32 - 32.
When divided 2 ways we end up with an allocation of 2^32 - 2.
The later exceeds uint32 max when 10 is added to it as intended by the test.  The same is not true when the buffer is divided 32 ways.

If it is not 100% the same test we are more than willing to correct it. I'm very much opposed to leaving CI blocked for enhancements.

The changes requested in the first 2 comments are relatively small.  I asked @adisuissa  to look into improving this test.

That's a problem, we will address it Tuesday, thanks! We meant to leave the original test undisturbed, our bad.

Note that a single 2GB malloc is constrained by the test machine's setup. As we bounce between AWS, GCP and Azure, this is the sort of thing that flakes more often on the change of CI test box provisioning. As we worked out, there was never a need to initialize a 2GB heap space and add it twice when you could divide it into a much smaller segment and append that same segment zero-copy to trigger a high water mark. The +10 overflow was preserved from the previous test, this patch should be an effective delta of zero for the desired failure.
If it is not 100% the same test we are more than willing to correct it. I'm very much opposed to leaving CI blocked for enhancements.

IMO, the proposed fix preserves the intent of the original limit, while requiring less initialized memory (just need to verify that the allocated buffer size passes the uint32_t max value).
That said, I think there might be future issues with machines that are constrained by resources (e.g., mobile envoy).
For now I'm good with the proposed fix modulo @antoniovicente comments.

/waiting

SGTM, thanks for fixing this.

@antoniovicente, @adisuissa, @dio please expedite review so we can restore Windows CI on PR's and master. Thanks in advance!


react-native-hms-availability 404 Not Found

Description
receive email about not compliant with Google Play Policies due to Huawei Mobile Services SDK
so try upgrade @hmscore/react-native-hms-availability 5.2.0-300 to 6.4.0-303
Expected behavior
success upgrade to 6.4.0-303
Current behavior
error An unexpected error occurred<EMAIL_ADDRESS>Request failed "404 Not Found"".

The related version has been released. You are advised to install it using npm:
https://www.npmjs.com/package/@hmscore/react-native-hms-availability

i try
npm i @hmscore/react-native-hms-availability
npm update @hmscore/react-native-hms-availability
yarn add @hmscore/react-native-hms-availability
yarn upgrade @hmscore/react-native-hms-availability
still 404 in 6.4.0-303

hi@ahyong87 Please try upgrade to  6.4.0-304 version.

Hi @Xuejiao-Shi working fine now. thank


Pancake sort

pancake sorting
I see this not in sorting directory.
I can work on this.

@ShahAnuj2610 is this issue still open ? can i work on this ? I am looking for my first open source contribution !

Yes
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Vasanth Kumar @.>
Sent: Sunday, August 22, 2021 10:19:50 PM
To: trekhleb/javascript-algorithms @.>
Cc: Subscribed @.***>
Subject: Re: [trekhleb/javascript-algorithms] Pancake sort (#748)
@ShahAnuj2610https://github.com/ShahAnuj2610 is this issue still open ? can i work on this ? I am looking for my first open source contribution !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/trekhleb/javascript-algorithms/issues/748#issuecomment-903430502, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABP2P6FG4DB5MS7A5KQ3EELT6HD6NANCNFSM5BVMQFGQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.


Form for Discord Linux entry

What is your username and discriminator?
Pedro Guille #3027
Why did you join Discord Linux?
I just want to learn about linux, specially Ubuntu
Where did you hear about Discord Linux?
I just google it.
What is the passphrase that was assigned to you by the bot?
527668546637977183

From simonizor#0420 :
That is not your passphrase. Please read the message that mentions you in the welcome channel to find your passphrase.

From simonizor#0420 :
That is not your passphrase. Please read the message that mentions you in the welcome channel to find your passphrase.

the id ?

From simonizor#0420 :
That is not your passphrase. Please read the message that mentions you in the welcome channel to find your passphrase.

sudo -i apathetic-parade-bust-gender

From simonizor#0420 :
Looks good. I've given you a temporary role so that you can enter the passphrase in the welcome channel.


Offline Music

Hi,
Is it possible to download Songs to play them offline. (Like in the Spotify app)
BR,
Nico

In case this lib/API is still alive


if expression with opaque types and availability.

Description
SE-0360 introduced a possibility to return different types under #available condition. But I found that it doesn't work with if expressions introduced in SE-0380
Steps to reproduce

protocol P {}
struct S1: P {}
struct S2: P {}

// Compiles fine
func f1() -> some P {
  if #available(macOS 99, *) {
    return S1()
  } else {
    return S2()
  }
}

// error: Branches have mismatching types 'S1' and 'S2'
func f2() -> some P {
  if #available(macOS 99, *) {
    S1()
  } else {
    S2()
  }
}

Expected behavior
f2 compiles and behaves exactly as f1
Environment
swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-<IP_ADDRESS>.108 clang-15<IP_ADDRESS>)
Xcode 15.0

I agree this does seem a little surprising from a user perspective. It should however be noted that:
func f2() -> some P {
  if #available(macOS 99, *) {
    S1()
  } else {
    S2()
  }
}

is implicitly:
func f2() -> some P {
  return if #available(macOS 99, *) {
    S1()
  } else {
    S2()
  }
}

not:
func f2() -> some P {
  if #available(macOS 99, *) {
    return S1()
  } else {
    return S2()
  }
}

i.e there's actually only a single return here

Hello, I'm interested in working on this issue. Is anyone else already working on this, or am I ok to continue?

I'm going to park this issue on myself for now as I'm not yet sure what we want to do about it. If we do decide to fix it, we need to decide whether it's something we should special case for function decl returns, or whether it's something we should support more broadly in e.g closure returns and opaque bindings. It's possible this may need some Swift evolution discussion since as illustrated in my previous comment, the current behavior does align with what was proposed in both SE-0360 and SE-0380.

As I understand, #available is working now through some special runtime type, that lazily computes it's memory layout based on os version:
func f1() -> some P {
  if #available(macOS 99, *) {
    return (S1() as _f1_some_special_type)
  } else {
    return (S2() as _f1_some_special_type)
  }
}

Why not just to "cast" it in expressions too?
func f2() -> some P {
  return if #available(macOS 99, *) {
    (S1() as _f2_some_special_type)
  } else {
    (S2() as _f2_some_special_type)
  }
}

It's most likely not as simple as that, but there don't seem to be any fundamental complexities.

the current behavior does align with what was proposed in both SE-0360 and SE-0380.

Strictly speaking – yes, but from developer point of view it's very confusing. There are now three options what if can represent – simple old statement, function builder statement or expression. In two of them #available with some P is supported, but, for some obscure reason, not in expressions. Simple codestyle rule

functions with single if statement should be converted to expression form

becomes much more complex, and almost impossible to automate.


Compile Error with MSVC and std::min

Hello,
The following code example does not compile. I use the MSVC\14.29.30133 compiler.
main.cpp
#include <glog/logging.h>
#include <algorithm>

int main()
{
   LOG(INFO) << std::min(1, 3);
   return 0;
}

CMakeLists.txt
cmake_minimum_required(VERSION 3.5)

project(WindowsExample LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_subdirectory(third_party/glog)

add_executable(WindowsExample main.cpp)

target_link_libraries(WindowsExample glog)

The problem with this setup is the include of windows.h. It contain macros for min and max. Defining NOMINMAX before the include of glog/logging.h solves the problem.
If I define NOMINMAX before the include of windows inside the logging.h.in, the example above compiles as expected.
What I am not aware of, is it possible to move the include of windows.h and the coressponding implementation into the cc file? This would solve this and similar issues.

There's no way around defining NOMINMAX.

@sergiud shouldn't this be done inside glog though? As it is right now, users/consumers of glog can easily trigger strange compilation errors just by including glog/logging.h in specific files, or when upgrading glog from older versions. If glog does not depend on the macros being set-up, it should not leak them, especially quietly.
Some places like glog/src/base/mutex.h already do prevent leaking it (albeit still leaks changes to the user's code by leaking "NOMINMAX" macro if it wasn't set, which could potentially break someone's project as well) but not all of them (windows/dirent.h, windows/dirent.h).

No, definitely not. The default behavior when including windows.h is that the header defines min/max as macros. Therefore, a library cannot be responsible for preventing such definitions since consumers may rely on this behavior. This is also the reason why the macros are defined unless suppressed using NOMINMAX.
Preventing the use of windows.h in headers is certainly a good idea and you are welcome to submit a PR with the corresponding modifications. However, realistically I don't see this happening because other windows.h definitions are used in glog headers.


Fix some bugs identified by code inspection

A missed error return in the Reconcile loop if Delete() fails.
Incomplete error path coverage in the unit test driver.

Adding unit test for the former entailed beefing up the fake controller-runtime client to allow overriding behavior for specific calls without mocking the whole thing. For this I stole/adapted a solution from 2020 Eric.

/assign @akhil-rane


Help Locating Files

Where do i find the jar file that I need to execute I've found the config files but can not locate the jar file could you help please?

https://github.com/ErdbeerbaerLP/Curseforge-Bot/releases
Get the jar there.
Config file will be generated after first launch.
I recommend executing it from command line so you get log output (java -jar jarfile.jar )