Clean up the benchmarking backend code

Right now the benchmarking code creates a mlagility_cache directory on the target machine, for both the local and remote benchmarking. This mlagility_cache does not mirror the layout of the official mlagility cache described in the user guide. It also creates some unnecessary file replication in the local case.
All of this code could be cleaned up by unifying these cache structures, and by allowing local benchmarking to use the local mlagility cache.
We could potentially clean up even further by having the remote benchmarking python environment simply pip install mlagility, which would save us from transferring files around (versioning could be a pain though).

cc @ramkrishna2910


Flatpak build

Please, consider supporting Flatpak and publishing DJV on Flathub.

Hi, sorry for the delay; I don't know much about Flatpak/Flathub but it looks like an interesting way to distribute software. Do you have experience adding support for Flathub?

This would be great, and would make it easier for people to discover and install DJV.
Flathub is probably the biggest Linux app hub right now, with over 2,000 apps available and over 700,000 downloads every day. And newly-added apps show up at the top of the home page, in the "New Apps" section.
Additionally, Linux-related blogs and vlogs often advertise apps newly-added to Flathub, which could further promote DJV.


Fix no workspace message bug

Issue that this pull request solves - This is PR solves the bug that the "No Workspace Found" message was still appearing even when the user had created a new workspace.
Closes: #286
Proposed changes - The  "No Workspace Found" message now only appears when the user has searched for a workspace that is not present.
Brief description of what is fixed or changed - The dashboard.component.ts is changed in which some checks have been added to prevent the bug behavior.
Types of changes - bug fix
Put an x in the boxes that apply

[ x ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[ x ] My code follows the style guidelines of this project
[ x ] I have performed a self-review of my own code
[ x ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ x ] My changes generate no new warnings
[ x ] My changes does not break the current system and it passes all the current test cases.

Screenshots
Please attach the screenshots of the changes made in case of change in user interface
Other information
Please mention if any other changes are required in the PR.

I will make the necessary changes and open a fresh PR for this issue.


[SPARK-46070][SQL] Compile regex pattern in SparkDateTimeUtils.getZoneId outside the hot loop

What changes were proposed in this pull request?

Compile the regex patterns used in SparkDateTimeUtils.getZoneId outside of the method, that can be called for each dataset row..
Why are the changes needed?

String.replaceFirst internally does Pattern.compile(regex).matcher(this).replaceFirst(replacement). Pattern.compile is very expensive method, that should not be called in a loop.
When using method like from_utc_timestamp with non-literal timezone, the SparkDateTimeUtils.getZoneId is called for each loop. In one of my usecases adding from_utc_timestamp increased the runtime from 15min to 6h.
Does this PR introduce any user-facing change?

Performance improvement.
How was this patch tested?

Existing UTs
Was this patch authored or co-authored using generative AI tooling?

No

+1, LGTM. Merging to master.
Thank you, @tanelk.


Will there be an update to latest commit without flash-attn?

Hi!
Can you make the latest update without requirement of flash-attn?
On 1 x RTX4090 I can't run with flash-attn.
Thanks!

I built a WHL for flash-attn to help installing it on Windows.
https://huggingface.co/datasets/Softology-Pro/VoC/resolve/main/flash_attn-2.6.3-cp310-cp310-win_amd64.whl


Fix SILCombine of unchecked_bitwise_cast

This change ensures the insertion point is after any copies/borrows that OSSA rauw may create.
Before this fix we could end up creating invalid SIL where operands do not dominate its instruction.
Similar to https://github.com/apple/swift/pull/64533. Found by inspection.

@swift-ci smoke test

It seems difficult to use the RAUW utility correctly in this respect. It's not obvious from reading the code why you need another builder. Is there any reason for prepareReplacement to be inserting fixup code for the incoming value after the old value instead of before the old value? I would either expect prepareReplacement to insert before the old value or to use the same insertion point as SILCombine. If they both use the same insertion point, then the instructions should be inserted in the correct order.

@atrick Right, thank you! There isn't any reason for prepareReplacement to be inserting after the oldValue. I updated the api and now all uses of OSSA RAUW api can consistently expect the new instructions to be inserted before oldValue.

@swift-ci smoke test


New features

I would love to keep contributing to this project, but I have no idea what to do next.
Does anyone have an idea for a useful feature or something else?

I'd like see rest server helper. That would be nice.

Volter9 you said:
The only thing that comes me to mind is to simplify existing features, or fix something. The only thing is bugging me in SMVCF is Database class. The Database class is bad structured, on each model creation there's new instance created. Imagine yourself having 10 models, each model creates another connection to database, so that's lead to over duplicating of the database. It should be fixed!
I don't believe this to be true, The database is only loaded when a call to it is made.  It's not like you have 10 models making calls all at once.  Other frameworks also have multiple models and make calls to the database wrapper when needed.  Also all these models aren't all loaded until you call for something in the controller.

What do you think about creating widgets as a new feature?
NO NO NO NO NO NO NO.  If you really want that junk go to yii framework.

@jimgwhit I changed my mind long ago. Partial views are better.

Considerate replace get function with this one in Language.php, result usefull for me, to create .resx files style.
 /**
 * Get element from language array by key
 * @param  string $value
 * @param  int $index
 * @return string
 */
public function get($value, $index = NULL)
{
    if (!empty($this->array[$value])) {
        if (!isset($index)){
            return $this->array[$value];
        }
        else {
            $return =$this->array[$value];
            return $return[$index];
        }
    } else {
        return $value;
    }
}


Fixes dnn-react-common build

Closes #3455
This is an alternate solution for PR #3456
What was done:
Problem 1 - linking
The main issue here was that the npm package for dnn-react-common was pulled even though we though it used the local package thanks to lerna and yarn workspaces, so local changes to the common components would not reflect in the modules that consumed it. I found out that when lerna uses yarn workspaces, it only uses the local dependencies if they are requested using their specific version and that version is higher than the npm published version. So the build scripts where updated to both set each package.json version to the current Dnn version and also sets all modules that load dnn-react-common to specifically request that exact version. This made the modules actually consume the local package. I also commited the package.json and yarn.lock with those new versions to avoid confusing and to prevent a future issue where we may have the same local version and published version, the version is FullSemVer which garatees we can never have the same version, as soon as the is any code change commited, the version can never be the same. Don't worry about the unstable version number, when we get to RC, this will automatically become something like 9.5.0-beta-1 and when we merge into master and tag v9.5.0 it will become simply 9.5.0 without anything else. Then back into the development branch (after releasing 9.5.0) it will become automatically 9.5.2-unstable-xxx
Problem 2 - parallelism
lerna --parallel option builds all packages in parallel ignoring all local dependency tree. I found out that the --stream option first build the dependency tree and then builds dependees first followed by the ones that nobody depends on in parallel. This previously caused some intermittent issues because of faster/slower build times on first try vs subsequent tries, it looks fine to me now with the --stream option.
Problem 3 - svg
raw-loader was updated between now and the last time the package was published to npm, we never noticed this but the way to load svgs inline has changed with that version and .default needed to be appended to each svg import declaration.
Problem 4 - odd stuff
There was two strange issues with not finding the cluster package (which we don't even use) and another one that I cannot remember now for the life of me. This was solved by @mtrutledge with a couple changes to targets and node-resolution changes also integrated into this PR.
To test this PR, I changed the Button common component by adding a test css class, ran build.ps1 installed a new site and notice by inspecting in the browser devtools that buttons do have that new test css class. I reverted that change to not commit it but just a quick way to ensure this now works.

Oh and for whoever merges this, please do squash and merge, I had to try a lot of commits before we got it right.

@valadas Which of these PR's should we take?

@valadas Which of these PR's should we take?

I would go with this one that includes the build fixes of the other one + automates versioning and fixes an svg issue.

Ok, this was now rebased as per #3456 being merged and above comments.
Notes:

In the dnn-react-common package.json, the version scripts where removed we will handle publishing in CI since this should not be done locally. We also tag manually now that we have merged this into the main project.
Removed the packages definition in lerna.json, this is not needed when using the useWorkspaces option, lerna uses what is defined in the workspace, this would just duplicate the definition and not by DRY.
In the main package.json, reordered packages alphabetically, this was not the reason of the issue, the reason was --parallel was overriding normal tree building to build everything in parallel no matter the dependency tree. That option was replaced by --stream which is what we should have used in the first place.

Small note, although #3456 did fix the issue for in-browser, this was still not a solution for npm consuming, this can be double-checked by running yarn workspaces info as stated above. In other words we would not have code completion, props validation, etc. but it would still have worked in the browser. What is important here (the actual fix) is that for packages to consume the local code, they need to reference a specific version that matches the local version without ^ or ~ and so on, the version needs to be exactly the same. It also does not work by requesting "latest", etc.
@mtrutledge @donker @bdukes if you want to re-approve or merge, thanks.


Add the section on Windows to USE.md

Page Link
https://github.com/kurosakishigure/katharsis/blob/canary/USE.md
What is the documentation issue?
The documentation is missing a tutorial on how to use Katharsis in a Windows environment.
Is there any context that might help us understand?
We should add the relevant tutorial and make it as concise as possible.

We also need to label the section in the diagram as optional, as it might mislead users:


Rail footer looking strange in storybook

Describe the bug
https://brightlayer-ui-components.github.io/angular/?path=/story/components-drawer--with-a-nav-rail
The Eaton logo in the footer is ridiculously small

What is the expected behavior?
making it 40px wide for dense variant, and 48px for regular variant

We wont be fixing old storybook issues.


Fix deprecations

Treadle had several hundred deprecation warning
This PR reduces those warnings to < 30.
There should be now functional changes here.

@chick, could you also add the -deprecation flag to the build.sbt?
This way it should be easier to avoid introducing new warnings in the future.

@ekiwi Good idea. Done. Probably should be done in a number of other projects.


[Enum Request]: table 5841 "Standard Cost Worksheet" field(3; Type; Option)

Describe the request
table 5841 "Standard Cost Worksheet"
field(3; Type; Option)
OptionMembers = Item,"Work Center","Machine Center",Resource;
Could you make this an enum?
Additional context
An Enum says it all why. We like to reuse it to enhance the "Standard Cost Worksheet" functionality. StockKeepingUnit "Standard Cost" are not handled as well as it should.
Internal work item: AB#524417

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 18482.


Docker ELK Quickstart: Elasticsearch, Logstash, Kibana

Hi,
I'm using the ELK stack with Docker and I think adding some Install and setup steps would be helpful for those also interested to use Docker.
I've actually gone ahead and done this already and posted it to my blog.
If you like, we could use that content (modified anywhere you deem appropriate) and add it here.
I'd be happy to put the content together and create a pull request - or not, it's up to you really.
The content I've used in my blog is just a single markdown file and 3 images.
Here's a link to the blog post HTML you can review:
http://rudijs.github.io/2015-10/docker-elk-quickstart/
Here's a link to the markdown source
https://raw.githubusercontent.com/rudijs/rudijs.github.io/master/_posts/2015-10-05-docker-elk-quickstart.markdown
There's some jekyll tags that'd be stripped out, perhaps just the content from Overview to Summary could be used here.
Anyways, let me know if you're interested and I'll help to prepare it.
Cheers.

Hi there @rudijs,
We would love to add this example to the repo. Please create the content and submit a pull request for review. We can iterate as needed from there. Looking forward to seeing your submission.
Asawari

@asawariS OK great .. pull request sent.
I'll close this issue for now, any further discussion can be done in the pull request.
Thanks.


Unknown word (CssSyntaxError) when stylelint configured via VSCode setting.json or *.code-workspace

This stylelint-config-recommended-vue works well when stylelint is configured via .stylelintrc.json in project root. But due to bug https://github.com/stylelint/vscode-stylelint/issues/328 stylelint configuration must be moved into VSCode .vscode/settings.json or .vscode/*.code-workspace. Stylelint in that case works well but stylelint-config-recommended-vue does not. In VUE files it shows Unknown word (CssSyntaxError) Stylelint (CssSyntaxError) next to <template> and <style> tags. Was this plugin please tested via VSCode settings.json or *.code-workspace for stylelint?
UPDATE: the same is appropriate for https://github.com/ota-meshi/stylelint-config-html

Fixed by setting stylelint.configBasedir in vscode-stylelint extension

Fixed by setting stylelint.configBasedir in vscode-stylelint extension

Fixed by setting stylelint.configBasedir in vscode-stylelint extension


sandbox: cleanup sandbox if creation failed

This includes cleaning up the sandbox on disk resources, and closing fds opened when preparing the hypervisor.

/test

Can we squash the 2 commits in one? I guess the second one fixes a build issue introduced by the firt one...

@sameo The first one builds without issues. The second one was spotted when testing the first one by hand. Anyway, I've squashed them into one since they kind of fix the same problem.

/test

/test


how use uws with cross domain

the uws works fine with the same domain
However, when I  uws with cross-domain, the following error will appear

Your HTTP server needs to expose CORS headers in response to OPTIONS requests. More info: http://www.html5rocks.com/en/tutorials/cors/

Whatever settings you apply to your HTTP server will be used if you pass {server: youHTTPServer} as options to uws.Server constructor.

Does it differ from how ws behaves?

Now, I use the sub domain of the same domain , then everything is ok


why no releases with cu92- why only cu80??

@yajiedesign why are latest releases compiled with cuda 8.0 and not 9.2? can these be released going forward?
thanks

Actually have cu92, but it's difficult to upload at the moment. I'm trying to solve the problem.

I think if CUDA 9.2 is installed, you don't have to copy it in any specific folder. I have tested with CU90 and CU92, it will pick up automatically. Just had the following dlls in the build folder, copied rest of the deps from 3rd Party folder:

Added the build folder to the Environment Variable path, don't have to copy into the .NET project since they are like 1.2GB. The code will pick it from the env variable for both MxNet and CUDA deps.


Jan 14, 2021 release notes

To go along with the updates in #564

Codecov Report

Merging #565 (e3e6e41) into next (3d9c553) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             next     #565   +/-   ##
=======================================
  Coverage   51.25%   51.25%
=======================================
  Files          30       30
  Lines        1163     1163
  Branches      148      148
=======================================
  Hits          596      596
  Misses        563      563
  Partials        4        4

Codecov Report

Merging #565 (e3e6e41) into next (3d9c553) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             next     #565   +/-   ##
=======================================
  Coverage   51.25%   51.25%
=======================================
  Files          30       30
  Lines        1163     1163
  Branches      148      148
=======================================
  Hits          596      596
  Misses        563      563
  Partials        4        4

Looks like everything is working as expected. The one thing I wasn't really sure about is what the expected logger output should look like. Check the last screencap to see what the output looks like with the new logger.
Screencaps of install flows here.

Bigquery export install flow: https://screencast.googleplex.com/cast/NDgzMDg1NTE1MzMxOTkzNnw3MGVlMTA0Zi04OA
Storage resize images install flow:
https://screencast.googleplex.com/cast/NTc2OTQ4Nzc3NTE3MDU2MHw1Zjg0Y2E2MS00Yg
Triger email install flow: https://screencast.googleplex.com/cast/NjIzMzQ0ODc2NTE5NDI0MHw1ZTU5MjI5MS0yMg
Delete user data install flow: https://screencast.googleplex.com/cast/NTE5Mjk4MTI5NDM1MDMzNnxjYjQ5MzhhYi03Ng

Screencaps of testing the actual extension business logic changes.

Delete user data code change works: https://screencast.googleplex.com/cast/NTE2Nzg4OTgyNjk3MTY0OHw1NGUzOTk0Yi1hYQ
Example of using the new logger in firestore-send-email: https://screencast.googleplex.com/cast/NTY5MTczODM5ODEzMDE3NnxlMWE2MjM1Mi1iNw

Looks like everything is working as expected. The one thing I wasn't really sure about is what the expected logger output should look like. Check the last screencap to see what the output looks like with the new logger.
Screencaps of install flows here.

Bigquery export install flow: https://screencast.googleplex.com/cast/NDgzMDg1NTE1MzMxOTkzNnw3MGVlMTA0Zi04OA
Storage resize images install flow:
https://screencast.googleplex.com/cast/NTc2OTQ4Nzc3NTE3MDU2MHw1Zjg0Y2E2MS00Yg
Triger email install flow: https://screencast.googleplex.com/cast/NjIzMzQ0ODc2NTE5NDI0MHw1ZTU5MjI5MS0yMg
Delete user data install flow: https://screencast.googleplex.com/cast/NTE5Mjk4MTI5NDM1MDMzNnxjYjQ5MzhhYi03Ng

Screencaps of testing the actual extension business logic changes.

Delete user data code change works: https://screencast.googleplex.com/cast/NTE2Nzg4OTgyNjk3MTY0OHw1NGUzOTk0Yi1hYQ
Example of using the new logger in firestore-send-email: https://screencast.googleplex.com/cast/NTY5MTczODM5ODEzMDE3NnxlMWE2MjM1Mi1iNw


Add divider component

This PRs adds a divider component (which is a line of 1px height with a neutral150 background color)
https://design-system-git-divider-strapijs.vercel.app/?path=/story/divider--base

So cool we can see the components in the Storybook now :D
LGTM too :)


tools/ci: migrate some ci build configurations to CMake

Summary
tools/ci: migrate some ci build configurations to CMake
cmake: fix CMake build break
drivers/sensors: fix build warning on GCC-12
cmake/menuconfig: keep comment to original style to avoid unnecessary refreshes
Impact
Depends on: https://github.com/apache/nuttx-apps/pull/1832
Testing
ci-check

@anchao should we remove the project built by CMake from the Makefile testlist?

@raiden00pl could you add arm boards you have converted to cmake build list?

@xiaoxiang781216 I'll add them soon


Note: Be sure to have "image_dim_ordering": "th" and "backend": "theano" in your keras.json file.

how to have "image_dim_ordering": "th" and "backend": "theano" in your keras.json file?

check
home/youname/.keras/keras.json


Attach to an existing tab while using NewRemoteAllocator instead of creating a new one

What versions are you running?
chromedp version = v0.5.3
Google Chrome 83.0.4103.97
go version go1.14.3 linux/amd64
What did you do? Include clear steps.
allocatorContext, _ := chromedp.NewRemoteAllocator(context.Background(), wsURL)
ctx, _ := chromedp.NewContext(allocatorContext)
     if err := chromedp.Run(ctx, chromedp.Navigate(URL)); err != nil {
	return err
}

What did you expect to see?
This opens up a new Tab which is expected, but I need a way to open it on the existing tab in the browser. The browser used here just has one initial tab open. I found Target.getBrowserContext in the chrome DevTools Protocol documentation but couldn't figure out how to use it here. Is there a way I can initialize my ctx with the preexisting tab as the desired target.

replace with real wsURL

how can I get replace with real wsURL

@aohanhongzhi It depends on how your running browser is started.
For example, if you start a browser like this, it will print the wsURL:
$ google-chrome --user-data-dir=/tmp/c10 --no-first-run --no-default-browser-check --remote-debugging-port=0

DevTools listening on ws://<IP_ADDRESS>:45051/devtools/browser/21acfdd7-d8cb-430d-85b3-07c8cd9c9bbb

@aohanhongzhi It depends on how your running browser is started.
For example, if you start a browser like this, it will print the wsURL:
$ google-chrome --user-data-dir=/tmp/c10 --no-first-run --no-default-browser-check --remote-debugging-port=0

DevTools listening on ws://<IP_ADDRESS>:45051/devtools/browser/21acfdd7-d8cb-430d-85b3-07c8cd9c9bbb

I want to use chromedp to get the wsURL,and manager it .


Flaky servlet test causing sporadic build failures

When I submitted https://github.com/open-telemetry/opentelemetry-auto-instr-java/pull/225 I saw that the jdk13 test failed.  Looking through the test logs it appears it was due to
Exception in thread "http-nio-38139-exec-1" java.lang.IllegalStateException: Attempted arrival of unregistered party for java.util.concurrent.Phaser@3a132f23[phase = 0 parties = 2 arrived = 2]
	at java.base/java.util.concurrent.Phaser.doArrive(Phaser.java:383)
	at java.base/java.util.concurrent.Phaser.arriveAndDeregister(Phaser.java:644)
	at java_util_concurrent_Phaser$arriveAndDeregister$1.call(Unknown Source)
	at TestServlet3$Async$_service_closure1.doCall(TestServlet3.groovy:102)
	at TestServlet3$Async$_service_closure1.doCall(TestServlet3.groovy)

Looking deeper I think that the logic in TestServlet3.groovy (Aysnc) is the cause here; my hypothesis is that the async work races the service() code, and arrives twice before the service code arrives even once.   I am unable to get this to reproduce for myself with ~10 tries, but when I adjust things so that the async piece looks like
       def context = req.startAsync()
       context.start {
         try {
-          phaser.arrive()
+          phaser.arriveAndAwaitAdvance()
           HttpServerTest.controller(endpoint) {
             resp.contentType = "text/plain"
             switch (endpoint) {

everything still passes.  Hopefully, this should properly keep the service and the async context in sync across two phases (initialize and finish) and fix this flaky test.

Thanks, I just hit re-run on those failures (which I have to do fairly often 😄). Any help improving flaky tests is greatly appreciated.


BT sink integration + failed sd card initialization

Hi,

Is it possible to integrate the recording feature to a BT sink?
I'm currently working on integrating this to a BT sink, where instead of the I2S mic, the audio data will be coming from a BT source.

However I'm still having a hard time on making your code work on my esp32 board, I still got problems with initialization of the sd card.

I'm using a microSD card reader module with SanDisk Ultra (16GB) MicroSD HCI formatted as FAT32.
2. Do you have any idea/tips on how to debug this?
I tried using the SD card with other sound recording code and it worked, still puzzled on why I can't initialize the SD card using your code.
Warm regards,
rmond

Have you updated config.h to match the pins you are using for your SDCard?
// sdcard
#define PIN_NUM_MISO GPIO_NUM_4
#define PIN_NUM_CLK GPIO_NUM_14
#define PIN_NUM_MOSI GPIO_NUM_15
#define PIN_NUM_CS GPIO_NUM_25

Yes, I have updated config.h to match the pins used in my SD card.

I think the problem is that you've got pins used for the SD card that are also used for the I2S amplifier.
// speaker settings
#define I2S_SPEAKER_SERIAL_CLOCK GPIO_NUM_19
#define I2S_SPEAKER_LEFT_RIGHT_CLOCK GPIO_NUM_27
#define I2S_SPEAKER_SERIAL_DATA GPIO_NUM_18

You'll need to move the I2S_SPEAKER_SERIAL_CLOCK and I2S_SPEAKER_SERIAL_DATA to different pins.

I also changed them beforehand and made sure that no pins are used more than once.  I'm actually using UDA1334A decoder instead of an I2S amplifier.

Is there a difference in using a breakout microsd card adapter (what I'm using) and using a sd card adapter with soldered pins (the one that you used in the video)? I'm thinking if my breakout board is the culprit of the failed sd initialization but it works fine on other code.

It's possible, but I don't see why there would be any difference. SD Cards do seem to be very finickity. There's no reason why you couldn't modify my code to use the standard SD.h which is what is being used in the example you linked to.
Or I would just use the code that works as it looks like it does a very similar thing to this repo.

I tried soldering pins to an sd adapter and used it, finally the SD card worked.

However, the .wav file doesn't have any sound, now I'll try to debug this. Thank you for answering my questions!

That's interesting - what was the SD card adaptor you were using?
To answer your other question - that's a bit outside the scope of this demo repository. I would suggest reading through the current code to see how samples are written to the SD Card. If you have a callback with a set of samples then you should be able to take it from there.

Here is the SD adapter that I soldered that worked:

Here is the breakout board that didn't worked:

Some level shifting SD card adapters won't work according to this.
I'll study your code more on how you write to the SD card, thank you very much again!


[🤗] - Check for truncation and out of range in input

[ ] Modify input function to check for truncation
[ ] Use long to check range then cast back down to appropriate int

Consider replacing scanf with fgets and an isdigit check


Cannot get youtube-dl to do anything

[x] I've verified and I assure that I'm running youtube-dl 2019.02.08

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Issue Description
I am trying to run yt-dl on a fresh Windows 10 install. I cannot get it to do anything; there's no output at all from the tool.

I am learning Windows Sysadmin and was playing around with Get-ExecutionPolicy and Set-ExecutionPolicy. I don't remember what I changed (from which defaults), but maybe that has something to do with it. The current values are as follows:
PS C:\Apps\yt-dl> Get-ExecutionPolicy -List

        Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process       Undefined
  CurrentUser       Undefined
 LocalMachine       AllSigned

Thanks in advance!

PS C:\Dev\youtube-dl\master> .\youtube-dl.exe --help
Usage: youtube-dl.exe [OPTIONS] URL [URL...]

Options:
  General Options:
    -h, --help                       Print this help text and exit
    --version                        Print program version and exit
    -U, --update                     Update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)
...
<cut>
PS C:\Dev\youtube-dl\master> .\youtube-dl.exe --version
2019.02.08

I was able to solve my issue and am posting here in case it helps someone else.
Running youtube-dl.exe in PS quit the tool silently without errors, as shown in OP. Running it in cmd gave me the missing msvcr100.dll error. I then installed  Microsoft Visual C++ 2010 Redistributable Package (x86) and all was fine.

Try running it in Command Prompt.


Ubuntu eoan strable has no containerd.io package

File: install/linux/docker-ce/ubuntu.md
I had to add the nightly repository in order to install containerd.io.

The containerd.io package has now been added for Eoan. So I think this issue can be closed.

Thanks; yes, a regression was found in the containerd.io 1.2.12 version, and we had to temporarily roll back those packages; unfortunately no prior releases of the package were done for Ubuntu Eoan, so there were no packages for it during that time.
containerd.io 1.2.13 is now up, so closing this


Mirror does not work when using an overlay camera

If a base and overlay camera are being used in the scene the mirror will not work as expected.

A quick fix:
In Mirror.cs after line 287 add:
var camData = camera.GetUniversalAdditionalCameraData();
if (camData.renderType == CameraRenderType.Overlay)
         return;

A multisampled texture being bound to a non-multisampled sampler. Disabling in order to avoid undefined behavior. Please use Texture2DMS in the shader.
UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera)
kTools.Mirrors.Mirror:RenderMirror (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera) (at Library/PackageCache/com.kink3d.mirrors@79b0526e5d/Runtime/Mirror.cs:261)
kTools.Mirrors.Mirror:BeginCameraRendering (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera) (at Library/PackageCache/com.kink3d.mirrors@79b0526e5d/Runtime/Mirror.cs:236)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
a base and overlay camera are being used in the scene the mirror will not work as expected.

sampler2D _ReflectionMap;
float4 _ReflectionMap_ST;
        v2f vert (appdata v)
        {
            v2f o;
            o.vertex = TransformObjectToHClip(v.vertex.xyz);
            o.uv = TRANSFORM_TEX(v.uv, _ReflectionMap);
            o.screenPos = ComputeScreenPos(o.vertex);
            return o;
        }

        half4 frag(v2f i) : SV_Target
        {
            float2 uv = i.screenPos.xy / i.screenPos.w;
            half4 col = tex2D(_ReflectionMap, uv);
            return col;
        }

unity 2021.2.3


clean unpacking of wikipedia and wikidata for deeptype

After lots and lots of unpicking and testing, it looks like the segfaults within get_wikiname_to_wikidata are coming from the t2 running out of memory while trying to turn the id list into a full marisa_trie. It's just dumping out a generic message, but I'm hoping that it is a memory overallocation issue, and that bumping the t2 to a 2xlarge temporarily will get us over this hump. The next stage (unpacking the relation types) seems to work smoothly with an incomplete but correctly formatted wikidata_ids_inverted.marisa, so I'm hoping we'll be okay from here onwards

looks like the block has been resolved 👍
going to modify the open()s in convert_category_links_to_wikidata and get_redirection_category_links and  leave the full_preprocess running overnight


Cache fails when updating AppImage (issue from reddit)

Describe the bug
Is anyone having issues when updating the nvim nightly binary? I use appimage, and after the update (just replace the appimage with new one), I can't start nvim, it throws the error below. However, after deleting the cache in ~/.local/state/nvim/lazy/cache, nvim starts normally. Is it a bug or my update process is not supported?
Which version of Neovim are you using?
Gui(specify which GUI client you are using)? Nightly? Version?
To Reproduce
Make sure to read https://github.com/folke/lazy.nvim/wiki/Minimal-`init.lua`-to-Reproduce-an-Issue
Steps to reproduce the behavior:

Expected Behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

repro.lua
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  -- do not remove the colorscheme!
  "folke/tokyonight.nvim",
  -- add any other pugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

-- add anything else here
vim.opt.termguicolors = true
-- do not remove the colorscheme!
vim.cmd([[colorscheme tokyonight]])

Log
Please include any related errors from the Noice log file. (open with :Lazy log)

Lazy log

Failed to source `~/.local/share/nvim/lazy/nvim-lspconfig/plugin/lspconfig.lua`
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:189: Vim(source):E5113: Error while calling lua chunk: ....local/share/nvim/lazy/lazy.nvim/lua/lazy/core/cache.lua:106: cannot open /tmp/.mount_nvimsFlaRO/usr/share/nvim/runtime/lua/vim/lsp.lua: No such file or directory
stack traceback:
[C]: in function 'error'
....local/share/nvim/lazy/lazy.nvim/lua/lazy/core/cache.lua:106: in function <....local/share/nvim/lazy/lazy.nvim/lua/lazy/core/cache.lua:86>
[C]: in function 'require'
vim/_init_packages.lua: in function '__index'
...ocal/share/nvim/lazy/nvim-lspconfig/plugin/lspconfig.lua:1: in main chunk
[C]: in function 'cmd'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:189: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:188>
[C]: in function 'xpcall'
.../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:78: in function 'try'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:188: in function 'source'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:182: in function 'source_runtime'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:153: in function 'packadd'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:137: in function 'load'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:59: in function 'startup'
...ceanh/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:58: in function 'setup'
~/.config/nvim/init.lua:153: in main chunk

Can you give me more details on this issue?

Thanks @folke , below is the steps to reproduce. Please let me know if you need anything else.
To reproduce:

Prepare 2 different nvim appimage binaries and repro.lua as in here.
I included everything in this google drive link

Let's call the 2 binaries nvim and nvim_old. Open nvim with the first binary: ./nvim -u repro.lua. This should start lazy syncing.

Open again with nvim_old: ./nvim_old -u repro.lua. This gives the error as mentioned. The one I got with the reproduce:

Error detected while processing ~/Downloads/repro/repro.lua:
E5113: Error while calling lua chunk: ~/Downloads/repro/repro.lua:35: Vim(colorscheme):E5113: Error while calling lua chunk: .../repro/.repro The one I got with the reproduce:
//plugins/lazy.nvim/lua/lazy/core/cache.lua:106: cannot open /tmp/.mount_nvimyQpiIn/usr/share/nvim/runtime/lua/vim/diagnostic.lua: No such file or directory
stack traceback:
        [C]: in function 'error'
        .../repro/.repro//plugins/lazy.nvim/lua/lazy/core/cache.lua:106: in function <.../repro/.repro//plugins/lazy.nvim/lua/lazy/core/cache.lua:86>
        [C]: in function 'require'
        vim/_init_packages.lua: in function '__index'
        .../.repro/plugins/tokyonight.nvim/lua/tokyonight/theme.lua:692: in function 'setup'
        ...o/.repro/plugins/tokyonight.nvim/lua/tokyonight/init.lua:23: in function 'load'
        ...o/.repro/plugins/tokyonight.nvim/lua/tokyonight/init.lua:15: in function '_load'
        ...pro/.repro/plugins/tokyonight.nvim/colors/tokyonight.lua:1: in main chunk
        [C]: in function 'cmd'
        ~/Downloads/repro/repro.lua:35: in main chunk
stack traceback:
        [C]: in function 'cmd'
        ~/Downloads/repro/repro.lua:35: in main chunk
Press ENTER or type command to continue

Thanks. I'm able to reproduce this. Looking into it. Something is defintely wrong there. Thank you for reporting!

Fixed!

 Thanks a lot @folke 😄

This'll prevent anything in VIMRUNTIME from being cached since the appimage mounts itself into tmp each time.

Yeah I know. Might add some special handling for this...


Fix for the weekend days issue in elasticsearch.py

Fix for the weekend days issue in elasticsearch.py

Hello @Quenbir,
Could you please resolve conflicts?
Thank you!

The "weekdays issue" has been solved by simply adding a dict into the file. The issue was that importing elasticsearch.weekdays function, it wasn't working properly
We can consider this issue as solved


have added item table and book table and have edited the authors table

Have added item table
Have added books table
Have edited the author table

@OnlyUnknown
Your pull request is complete! There is nothing else to say other than... it's time to merge it.
Congratulations! 🎉
Highlights
✔ Good commit history
✔Linters are passing
✔Very professional README
✔Correct Git flow
✔Descriptive PR
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


Create steam util lib for DAI/H2O3 access

Related to #54 - Based on discussions with the team, we will create separate issues to track each utility feature.
The first util function that would be a basic requirement for app developers is to have a unified UI and way to connect to HAC Steam instances like DAI. This feature would allow users to create a menu for steam access and use connected engines for downstream tasks like training in DAI via the client.
We can reuse the work done by @srini-x  for big data recipe and @tkmaker for the original steam/mlops app that supported this.
Features expected:

[ ] Allow app devs to use a few lines of code to create a Steam Menu to look at their DAI/H2O3 instances
[ ] Allow instance stop/restart/ new instance creation
[ ] Return a DAI python client object based on user selection that can be used for downstream tasks like training etc.

via @srini-x
here is some work i did to unify the api between dai/h2o3 steam engines
https://github.com/h2oai/h2o-automl-with-driverlessai/blob/20a47c95d8a234d7bf0539e[…]16f1e03729/h2o_automl_with_driverlessai/wave_steam/steam_lib.py
if you go to the base api, you will see that to perform basic operations like create, start, stop, get status, the api keeps changing.
The idea is to create abstraction on top to unify the api
and eventually, once we like the api, it can be ported to steam/turbine so we don't need so much code in wave-ml

Added baseline code based on work done by Srini for big data recipe. Code was decoupled and different utils part of other helper functions were consolidated.

The lib would be used like this. The expectation is for the user to implement 3 pieces:

init_steam_lib - To initialize the library
Based on some user defined action (eg click on steam tab):
a) Define the box to show the menu
b) Show the steam menu via the steam_menu(q)
Implement the handling of dai_engine_connected once a user selects an engine. The user will have access to the dai engine and the h2oai dai client object to do downstream tasks.

An example of the 3 steps is here:
https://github.com/h2oai/wave-ml/blob/tk/steam_utils/examples/steam_utils_demo.py

Just FYI, there are two util functions already live: list_dai_instances and list_dai_multinodes.
Check https://github.com/h2oai/wave-ml/blob/main/h2o_wave_ml/utils.py
I don't know whether you want to deprecate this and use a new structure altogether or just add to this structure. Please confirm with @geomodular and let me know as well because I have added examples to Wave Tour and those will break (if breaking changes). I / We can update those examples, not a problem, but need to know.

Opinions
So I have several problems with this contribution:

Proposed solution don't really align with the codebase. Right now, it feels like a completely separate package. The ideal solution would be to integrate Steam and MLOps seamlessly into the Wave ML package itself. e.g. h2o_wave_ml.utils.list_dai_instances(), h2o_wave_ml.utils.save_autodoc(model) - there is no mention about Steam and MLOps; we are merely giving self-explaining options to a programmer.

It hits the idea constraint set for a Wave ML. Wave ML is not a UI component library but API:

Allow app devs to use a few lines of code to create a Steam Menu to look at their DAI/H2O3 instances

I'm not saying it's not useful, but it's not in the scope. We either need to change the scope or not doing it. Currently, Wave ML is independent of Wave (no dependency).
Another idea clash:

Return a DAI python client object based on user selection that can be used for downstream tasks like training etc.

Wave ML integrates its own routines for training, that's one of the goal. We talked, however, about accessing the client directly but that's not possible in the current Wave ML workflow and is a topic for a future work.

Wave ML follows the Wave requirements for Python set for 3.6.1. The code introduced in the branch needs an overhaul.

Conclusion
This whole really feels like you are proposing a completely new package. If that's the case, let's create another repo and push utils there. We can call it Wave Cloud Utils or similar with these goals in mind:

MLOps, Steam UI integration - UI component like QDB.
Access to DAI and H2O-3 python clients.

It might be a complete solution for a user that doesn't want Wave ML but wants to work with DAI, H2O-3 directly. It can provide a UI component that will output a direct client.
Discussion is welcome.
cc @lo5 @mtanco @mmalohlava

@geomodular I think having a separate repo for wave utils might be the way to go. I can see how it would be good to differentiate a lib that would  be used solely for ML purposes and is an API vs something that has a lot of helper functions for different tasks including making UI development a lot easier.
I think there is consensus on the need for a wave utils like lib - This would prevent multiple app devs trying to rewrite the same thing in different ways resulting in different UI experiences and also having this lib makes it a lot easier/faster to develop apps. I can see how this util lib might not just be limited to steam/mlops utils for HAC - We could add wrapper utils for different things like creating a table from a dataframe for example.
We could simply call the lib Wave Utils and there would be different components in it specific to cloud/hac dev, generic utils etc.
cc @vopani @srini-x


fix isssue csv-259

fix isssue csv-259 https://issues.apache.org/jira/browse/CSV-259
printWithEscapes gets StringIndexOutOfBoundsException when value is Reader

@dota17
For this PR to be properly validated, you will need to add a test that fails without the change in main.

@garydgregory add a testcase

Coverage increased (+2.1%) to 95.323% when pulling 546b95b8754f8743410f2c77ae85d9c0548f657e on dota17:FIX_CSV259 into e503c568a10ae42364a94695b8505bcb4db28969 on apache:master.

@garydgregory hi, gary, is still any questions about this pr? I can fix this pr.
And I have add a new testcase and fix some codes for CSV246 with some changes for pom.xml too . So I couldn't create a new pr wihtout this merged.

The link to https://issues.apache.org/jira/browse/CSV-259 is broken so here is a real one.


FLEX-2899 ~ Added enum variable

 You should sign our Contributor License Agreement in order to get your pull request merged.

All is well.


Wrap file structure in a code block in docs

Wraps file structure in the docs in a code block, improving readability.

alternative view:
├── my_picker
    ├── static
        └── wagtail_content_import
            └── MY_PICKER.js
    ├── templates
        └── wagtail_content_import
            └── MY_PICKER_js_init.html
    ├── __init__.py
    ├── apps.py
    ├── utils.py
    └── wagtail_hooks.py

Merged in f3e2af251c1e14cfb6e1f8b8b6465a41e452a56e


added keypress handler to rename input

Added keypress handler on rename input according to #260

Solid. Thanks for looking at this @renxzen
🚀


set/get_date_time

follows #20
date,datetime -> YYYY-MM-DDT00:00:00Z

Parsing is implemented by #51

Parsing is implemented by #51

https://github.com/sbcgua/ajson#auto-format-datetime


add ssml and continuous speech recognition

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.CallAutomation


uavcan module: extracted public module header for inclusion from othe…

…r components
The module has some interfaces, that need to be known by external components (e.g. the IOCTL bases and device paths). These were defined in uavcan_main.hpp, which contains to much internal knowledge to be includable from other components.

Thanks!

Rebased and applied.


Improve build

Add support for miniconda

I'm sorry, I've mistakenly added unrelated changes too...


Auto generated defined_tags result into recreation of resource

module: policies
resource "oci_identity_policy" "operator_instance_principal_dynamic_group" {
 provider       = oci.home
 compartment_id = var.tenancy_id
 description    = "policy to allow operator host to manage dynamic group"
 name           = var.label_prefix == "none" ? "operator-instance-principal-dynamic-group-${substr(uuid(), 0, 8)}" : "${var.label_prefix}-operator-instance-principal-dynamic-group-${substr(uuid(), 0, 8)}"
 statements     = ["Allow dynamic-group ${var.dynamic_group} to use dynamic-groups in tenancy"]
 count          = (var.oke_kms.use_encryption == true && var.operator.bastion_enabled == true && var.operator.operator_instance_principal == true) ? 1 : 0}

as name in the resource is using a uuid function, results into new uuid every execution and shows a diff  in plan even when nothing has changed in configuration.

Hi,
Sorry for the delay. We'll log a bug in the operator module.

Closed in #332


Not a pratical README file

Your README file can use some changes.  It should be clear if people need to pay to use this project or not.  Do not include any trolling installation instructions, looks very unprofessional. If anyone wanted to use this project they wouldn't feel safe about using it. I suggest making your README file more professional and user-friendly and update it if you still working on this project. I would like to see if you have made any changes to it. Thank you.

Sorry about that. This repo has been unmaintained since late 2015, as I didn't have enough experience in the fields project was trying to emulate. As such, I wasn't able to make a realistic simulation environment. In retrospect, it would have been worthy of archival shortly after the last commit, but that feature didn't come around until November 2017.


chore: release 0.0.2-SNAPSHOT

:robot: I have created a release *beep* *boop*
Updating meta-information for bleeding-edge SNAPSHOT release.

This PR was generated with Release Please.

This one is wrong.


update?

any update is on the way?

Hi @halukmy. Which specific version of the AltBeacon library are you curious about seeing an update for?

Thanks for quick reply,
i use your 2015 version, last android release is not update, and i guess there is something wrong.. it updates so slowly near and away .. there were a dude was create for glass too, its library use only 1 beacon but i guess its faster find than alt, i will be so happy if you can update latest altbeacon release for us friend,
greetings

The current version of AltBeacon is at 2.9.1 while this Nuget package is at 2.7.0. It includes multiple bugfixes.

Hi @chrisriesgo. I am interested too to know if you have some plans to update the library to 2.9 version. Thanks.

i'll love to see an update!
PLEASE!

Please update the component dependencies!
Current AltBeacon native lib is now two years old (v2.7, actually v2.9)
The last version fixes major issues under Android 7.
We are doing indoor tracking and Android is now limiting the number of times BT scan to 5 times / 30 sec, V2.9.2 avoid the issue by not stopping scans between cycles.
(See https://github.com/AltBeacon/android-beacon-library/commit/7bfc78e044f7ea7db3b8514bcbcf51f4071524a7 for more info)
Thanks you.

It's very important for me too; limit of times BT scan to 5 times / 30 sec is a handycap for us.
I did not know this limitation, and now I understand why the behavior of the app.
In the past we used the other library: Android iBeacon Service, and I think this limitation wasn't exist (it was another native lib)
Thanks @chrisriesgo !

I've started updating the library! It's not done yet, but I just published a first-look alpha release of 2.10.0.
Download the attached .DLL, try it out, and let me know if you have any issues.

Closing this issue. Please track progress on the 2.10.0 update on Issue #25.


Zoom and show all the markers

Option to create a LatLngBounds to be able to zoom automatically to show all markers in map?

First get the bounds of all your markers (https://github.com/2amigos/yii2-google-maps-library/blob/master/LatLngBounds.php#L357), then get the center of the coordinates to set center your map (https://github.com/2amigos/yii2-google-maps-library/blob/master/LatLngBounds.php#L124) and also your zoom (https://github.com/2amigos/yii2-google-maps-library/blob/master/LatLngBounds.php#L189) you can later initialize the map and will show all your markers.

@tonydspaniard solution with code:
$marker1 = new Marker([
    'position' =>  new LatLng(['lat' => 0.53, 'lng' => 2.47]),
    'title' => 'Test',
]);

$marker2 = new Marker([
    'position' => new LatLng(['lat' => 0.88, 'lng' => 5.32]),
    'title' => 'Test',
]);

First get the bounds of all your markers:
$latlng = LatLngBounds::getBoundsOfMarkers([$marker1, $marker2]);
Then get the center of the coordinates to set center your map:
$center = $latlng->getCenterCoordinates();
And also your zoom:
$zoom = $latlng->getZoom(300);
$map = new Map([
    'center' => $center,
    'zoom' => $zoom,
]);

// Here add markers to map and display map


Anonymous functions are not working in Jupyter Notebook: Sorry, the type [closure@src/lib.rs:192:9: 192:46] cannot currently be persisted

Hi,
I'm new to Rust and evcxr, so I've been playing with various code snippets to grasp the language concepts. The concept I'm on now is "closures," but they do not seem to work in my jupyter notebook. For example, the following snippets of code result in a strange error:
let a = |x: i32, y| if x > y { x } else { y };
assert_eq!(a(1, 2), 2);

The error message is "Sorry, the type [closure@src/lib.rs:192:9: 192:46] cannot currently be persisted"
let a = 1;
let f = |x| x + a;
assert_eq!(f(2), 3);

Here the message is slighly different: "Sorry, the type [closure@src/lib.rs:193:9: 193:18] cannot currently be persisted"
I'm using anaconda on windows 10.
Does anyone know why this is happening?

Update: Anonymous functions work if they enclosed in another function.
For example, the following works:
fn main(){
let a = |x: i32, y| if x > y { x } else { y };
println!("{}",a(1, 2));
}

main();

Why can't anonymous functions standalone?

Unfortunately it's a limitation of the way Evcxr works that it cannot persist variables with types that cannot be named. If you can give a type to your variable, then you can persist it. To give a name to a type like a closure, you'll probably need to box it. For example:
let a: Box<dyn Fn(u32) -> u32> = Box::new(|x| x + 1);

Yes, thank you @davidlattimore, Your example works perfectly. Have a great day.

If you don't need to persist the variable containing the closure, then instead of wrapping everything in a function, you can wrap everything in braces. For example:
{
  let a = |x: i32, y| if x > y { x } else { y };
  println!("{}",a(1, 2));
}

This will make the variable a go out of scope, so evcxr won't try to persist the variable


Installing modules

I've successfully managed to run a simple "Hello.py" program and importing numpy (PIP), but whenever I try to import matplotlib or pandas (PIP) I encounter error "AttributeError: partially initialized module ""module name"" has no attribute ""attribute name"" ( most likely due to a circular import )" where both ""module name"" and ""attribute name"" varies depending on unknown factors.
E.g. AttributeError: partially initialized module 'numpy' has no attribute 'version' (most likely due to a circular import). Did you mean: '_version'
Thus I've tryied using P4D-Data-Sciences libraries but, while able to compile, every time i right click to install the .bpl file Delphi freezes completely.
Procedure used to install P4D :

I've tryied both using the installer (in the install folder) and the Getit package manager and both end up in the same issue.
While doing a manual install of the environment/wrappers I encounter the same problem I mentioned above.

I will try it.

@OOkamisamachan I just wrote a highly detailed tutorial on installing all this stuff ('cos it's far from simple) - you can find it on https://peardox.com/mixing-python-and-delphi-made-easy/
Basically I'm trying to make a start on useful documentation for this suite

@peardox , We shall collaborate on this to create this useful documentation for the whole suite. I'm basically doing the same for Python side. But, let's create the official wiki pages in the repositories on various useful topics..


Transpile with Babel prior to publishing to npm

This enables Node environments to use require('formsy-react') instead of
having to transpile it themselves
Fixes #220
Should not really have any affect on callers - transpiled code is functionally equivalent

FYI I wrote this on react-0.14 because that's the branch I am using. This should apply without issues to master, too.

:+1:  please merge this

If anyone wants to use this now - I've forked your fork with the ./lib built and checked in. https://github.com/tomatau/formsy-react/tree/react-0.14
you can:
"dependencies": {
 "formsy-react": "tomatau/formsy-react#react-0.14"

Thanks @tomatau
Ideally we'd configure the .npmignore so it doesn't include ./src files, but only ./lib files - that way people who download the package don't have extraneous files

Precisely!  But we don't want to create an npm module copy of formsy-react just whilst waiting for this merge :)

Great, thanks!
New version will be released this weekend, with latest version of React 0.14

@christianalfoni :beers: :+1:


NME - Remap does not display evaluated value if input node is not a float

Bug
When connecting an input to the Remap node that is not a float, the value from the connected node is not evaluated when displaying the range on the node. Any type of math node that computes a value will display a "?" instead of a value.

We do not preview values. We must wait for the 4.2 preview mode


multipartXml containing special characters not encoded properly

Describe the issue
When the multipartXml sessionKey is used and a name contains special characters, they are not being encoded properly.
With the xslt we populate the xml and store it in the sessionKey multipartXml :
<xsl:attribute name="name">ëAantonen eigen middelen ter hoogte van € 190_265,00.jpeg</xsl:attribute&gt
This is being returned as :

Reporter
Richard van der Stel

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
In Ladybug you can see the value is still ok :

But in the response you will see :

Configuration

Input
Environment
FF! 7.6-RC3-20210707.181814: Ibis4Titan 395-f87fcaf1-master
Running on srazzapp0476.insim.biz using IBM WebSphere Application Server/8.5
Java Version: Java(TM) SE Runtime Environment (<IP_ADDRESS> - pxa6480sr6fp25-20210115_01(SR6 FP25))
Heap size: 767M, total JVM memory: 1536M
Free disk space: 9GB, total disk space: 10GB
Up since: 2021-09-08 07:01:05 (9h)
Additional Environment

DBMS: [e.g. Oracle, MSSQL, MariaDB, MySql, PostgreSQL]
Browser: [e.g. Chrome, Safari, Edge, Firefox]

Additional Context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

Could you provide a ladybug report to analyze this?

Pipeline GetDocumentAndAttributesStreaming_4.zip
ladybug report

In the ladybug report the message appears to be OK until the last checkpoint. This suggests that the problem is in the Receiver/Listener (that is not covered by ladybug). Could you provide the configuration of the Receiver and possibly your test-setup ?

Configuration receiver:

The test is with SoapUi (raw) :
Request :
POST https://srazzapp0476.insim.biz/ibis4titan/services/GetDocumentAndAttributesStreaming_4-WS HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: multipart/related; type="application/xop+xml"<EMAIL_ADDRESS>start-info="text/xml"; boundary="----=_Part_0_22813351.1631264661558"
SOAPAction: "GetDocumentAndAttributesStreaming_1"
Authorization: Basic ...
MIME-Version: 1.0
Content-Length: 1491
Host: srazzapp0476.insim.biz
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Response:
HTTP/1.1 200 OK
Date: Fri, 10 Sep 2021 09:04:22 GMT
X-Powered-By: Servlet/3.0
Set-Cookie: LtpaToken2=aikSURsrqUAUDi130otde3QfRHrCAlbn+5ov7ipdlRbyuJC1SH3q9X+estVncwU6txtIKWLvYkckjMz1KDzDVepbp6pBnIbGw5/e5b7SVgqL/xWJIC7AYObfezHIKElSMZKFzpylmRWa2sT3xCYvrat5GdN/9HygBC2DowNPotQNfMzKZWkLdSSiHYSl8fIV3o3yzIjGhjSRSvbXLPLsv5/nJspg4EnnFqNA1Pj3vtauWBRQdG7NM72aoYrA6F0Ank78iWYEOE5PlyF/ysmqf17MVmqti/rE4dAbFMoM8aO3tkMTjiu3A2OGPN4BT/l1OCH3okFlaH7QkaqnjqUy1So16qyeWlfncFlagMvg4ymq7f/dftq1/lt8ZHa3gjze; Path=/; HttpOnly
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie, set-cookie2"
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:0c7e3be1-0355-448e-9662-07974fa69667"<EMAIL_ADDRESS>start-info="text/xml"
Content-Language: nl-NL
--uuid:0c7e3be1-0355-448e-9662-07974fa69667
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID<EMAIL_ADDRESS><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Header

Ibis4Titan

ESB.Archiving.BS.Document.Ibis4Titan.4.GetDocumentAndAttributesStreaming.4.Response

n/a
rn09ce.itc.intranet_0a408cbc-3dd5b281_13cee52a0e4_-7081
srazzapp0476.insim.biz_0ace10a7--3eb85434_17bc3c6c85f_7a2d
rn09ce.itc.intranet_0a408cbc-3dd5b281_13cee52a0e4_-707f
2021-09-10T11:04:24

Document
Ibis4Titan

Response
GetDocumentAndAttributesStreaming
4

</soapenv:Header>soapenv:Body<GetDocumentAndAttributes_Response xmlns="http://nn.nl/XSD/Archiving/Document/4/GetDocumentAndAttributesStreaming/1">
NN_Hypotheken_Regulier
2021-08-11T09:21:42.836
2021-08-06
HDN
b1425af2-9d5b-444a-bca3-3b308143067e
RNNSURSNEN_75240115

2021-08-06
2021-08-11T09:21:42.836
HDN
Verstrekken
Aanvrager
Ã«Aantonen eigen middelen ter hoogte van â‚¬ 190.265,00
1053027670
In
Hypotheken Regulier
Onbeveiligd

NN
Nederlands
Lening
1
HDN
2021-09-08T11:15:43.627
Richard.Stel

Ã«Aantonen eigen middelen ter hoogte van â‚¬ 190_265,00.jpeg

15750
image/jpeg

OK

</GetDocumentAndAttributes_Response>
</soapenv:Body></soapenv:Envelope>
--uuid:0c7e3be1-0355-448e-9662-07974fa69667
Content-Type: image/jpeg
Content-Transfer-Encoding: binary
Content-ID: <Ã«Aantonen eigen middelen ter hoogte van â‚¬ 190_265,00.jpeg>
ÿØÿà

After sending a Post request to the adapter everything goes fine and the response that is displayed in soap-ui has some weird characters? Could it be then the response encoding problem of soap-ui? Could you also try to send the same request with postman? Or try to change the encoding in soap-ui maybe.

You can close this issue.....
I have modified the file : SmartBear\SoapUI-5.4.0\bin\ SoapUI-5.4.0.vmoptions and added the line:
-Dfile.encoding=UTF-8
Now we see in the raw response:
Content-ID: <ëAantonen eigen middelen ter hoogte van € 190_265,00.jpeg>
I have also tested it with postman, which gave the correct result as well:
Content-ID: <ëAantonen eigen middelen ter hoogte van € 190_265,00.jpeg>


docs: broken links and typos

This is a minor contribution while I was working on making some badges.
Fixes a minor typo, it's "GitHub" not "Github".
In the API documentation the README is displayed.
However, relative links are kept relative, so they break as they should be linking to github.com, not contributing.shields.io.
This is resolved by using absolute URLs instead of relative URLs.

Messages

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

:book:
:sparkles: Thanks for your contribution to Shields, @SethFalco!

  Generated by :no_entry_sign: dangerJS against 31690a345cf44de0f64b2402b4759ac6c86d783e

Thanks @SethFalco! The changes seem reasonable at first blush, though I do recall we had to make some tradeoffs with our documentation links because it wasn't possible to have them work everywhere. I'm unable to find the specifics because my GitHub search skills are failing me at the moment, but @chris48s do you recall the details/know if these proposed changes could have any potential unintended side effects?

https://github.com/badges/shields/issues/4139 still stands but there is nothing here that makes anything worse.
It is on my "if I suddenly have a pile of spare time.." list to have a look at other ways to generate contributing.shields.io but that is.. yet to transpire


fix dead lock in volume store dereference

fix #19777
Signed-off-by: Pei Su<EMAIL_ADDRESS>

ping @cpuguy83

LGTM

LGTM
Nice catch!
Did you run into this deadlock? I can't imagine it actually being possible.

re @cpuguy83 ,

Did you run into this deadlock? I can't imagine it actually being possible.

No, I don't. I found this when I read docker source code.
Maybe this code snippets will never cause a dead lock.
I send this PR just in case.


fix: operators to behave like the underlying type's

Potentially addresses #215.

"This branch cannot be rebased due to conflicts"


Finetune for 2D classification task

Hi, This is an interesting work. Can you also provide the code for fine-tune on 2d image classification tasks? The hyper-params are missing for these downstream 2d tasks. Thanks a lot.

For "fine-tune" in the paper, does it mean freeze the encoder and only train a linear classifier or train them together?

ean freeze the encoder and only train a linear classifier or train them

"fine-tune" means training both encoder and linear classifier together

Hi, This is an interesting work. Can you also provide the code for fine-tune on 2d image classification tasks? The hyper-params are missing for these downstream 2d tasks. Thanks a lot.

We have provided the code for fine-tuning 3d classification task and will provide the code for fine-tuning 2d tasks later.

We have provided the code for fine-tuning 2d tasks.


Issues decoding hex string

Hello,
I'm trying to start encoding/decoding CBOR messages and I'm running into issues trying to decode.
I have the following hex data - 9f1b00000164a8e830608b1905340069302e332e302d64657669302e332e302d64657665342e302e326f38363631393130333136343936343373383933353130313831313534323038323534376b4d393546415230324130387641584e5f322e33325f333333375f313530313038303103008719057608f6f6f6f6f6831905600701ff
which is not decoding correctly according to cbor.me. Here is my code. I guess I'm converting it wrong?
Can you provide some help? thank you
       let info3:[UInt8] = Array(Data(hex: "9f1b00000164a8e830608b1905340069302e332e302d64657669302e332e302d64657665342e302e326f38363631393130333136343936343373383933353130313831313534323038323534376b4d393546415230324130387641584e5f322e33325f333333375f313530313038303103008719057608f6f6f6f6f6831905600701ff"))

        let decoded = try! CBOR.decode(info3)
        print(decoded)

Please explain what exactly "not decoding correctly" means.
(Also from what I could find, the hex: constructor is on Array, not Data: Array<UInt8>(hex: "9f1b0..."))

I'm sorry that's not what I meant. What I meant is the issue is somehow I'm not converting the hex string to [UInt8] correctly.
Also  passing Array<UInt8>(hex: "9f1b0...")) it causes an exception inside the decoder.
When converting to Uint8 like UInt8 it returns a result but it's not the expected one.
So my question is how should the hex string be converted/used to pass as parameter to the decoder?
Thanks

an exception inside the decoder

Please show the exception.
(I hope you've tried it with your actual hex string, without the ... :))

Yes of course :)
But its possible to be using the decoder with a string like this? because in all your test examples you are using CBORDecoder(input: [0x7a, 0x00, 0x00, 0x00, 3, 0x41, 0x42, 0x43]).decodeItem()

Creating an Array with the hex: argument literally decodes "7a00…" into [0x7a, 0x00, …]. The decoder just needs an array of bytes, it doesn't care about where it came from, how you decoded it or whatever.
The exception is a breakpoint. You have breakpoints set on lines 74 and 75, have you tried removing them?

Yeah no breakpoints are active, the exception is still the same

Update: removed code optimization and the exception is the following   - Fatal error: Not enough bits to represent a signed value

Ooh, that looks a lot more helpful.
I noticed on the screenshot, you have an old version of SwiftCBOR. This code has changed. Try current git master.
Also, here is a hex decoder that works. I'm not sure why the built-in one is not available for me (on Linux). Is there a built-in one? idk.

Thanks for the help and noticing the code was old ( I installed the cocoa pods version btw) just added the version from master and it just worked still same solution
        let strinx  = Array<UInt8>(hex:  "9f1b00000164a8e830608b1905340069302e332e302d64657669302e332e302d64657665342e302e326f38363631393130333136343936343373383933353130313831313534323038323534376b4d393546415230324130387641584e5f322e33325f333333375f313530313038303103008719057608f6f6f6f6f6831905600701ff")

        let decoded = try! CBOR.decode(strinx)
        print(decoded)

Thanks for the help and sorry for the trouble :)

Yeah I guess I should make a 0.3 release already…


add support for touch events

This adds support for SFML touch events in Haskell, and also adds a demo program to show the use of touch events.
I tested this using the Raspberry Pi Touch Display in conjunction with my pull request to sfml-pi, but presumably this would also be relevant to other platforms that support SFML touch events (i. e. phones).

Cool, thanks!


Put MariaDB before MySQL

MariaDB has taken over for MySQL; therefore MariaDB probably should come first.

Thank you for the pull request. I would like to leave this for now though since this change would also require documentation and guide screenshot changes. We can revisit for the next major version.


chore: update .gitignore (#215)

As requested by @lance, this update to the .gitignore should be put in a separate PR.

/assign @lance

/lgtm
/approve


[BUG] Uncaught (in promise) Error: Duplicate script ID 'contentsPlasmoMain'

What happened?
I'm trying to compile the sample code "with-main-world", but reports the following error after loading：
Uncaught (in promise) Error: Duplicate script ID 'contentsPlasmoMain'
dependencies:
"plasmo": "0.69.0",
"react": "18.2.0",
"react-dom": "18.2.0"
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contact Details
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Fixed in 0.69.2


Add a configuration item to display / hide dot files.

How does this look?

Wow. Lots of PRs :tada:
Looks like @houndci has gone nuts too.
Looks good to me.


Implementation of PatchHDCELoss

Hi, thanks for your great work!
I have a question about the PatchHDCELoss implementation in the Single-modal setting.
In models/hDCE.py,
class PatchHDCELoss(nn.Module):
   ...
   ...
        diagonal = torch.eye(npatches, device=feat_q.device, dtype=self.mask_dtype)[None, :, :]
        l_neg_curbatch.masked_fill_(diagonal, -10.0)
        l_neg = l_neg_curbatch.view(-1, npatches) # [npatches, npatches]

        logits = (l_neg-l_pos)/self.opt.nce_T # [npatches, npatches]
        v = torch.logsumexp(logits, dim=1)    # [npatches]
        loss_vec = torch.exp(v-v.detach())    # [npatches] all elements are 1.0

        # for monitoring
        out_dummy = torch.cat((l_pos, l_neg), dim=1) / self.opt.nce_T # [npatches, npatches+1]
        CELoss_dummy = self.cross_entropy_loss(out_dummy, torch.zeros(out_dummy.size(0), dtype=torch.long, device=feat_q.device))

        loss = loss_vec.mean()-1+CELoss_dummy.detach()

        return loss

I can't understand your intentions in this implementation.
Which equation in your paper did you implement?
I cannot match this loss to a equation in the paper.
I think I missed something. Please give me some explanation.
Thank you!

It is from Decoupled infoNCE(DCE) loss, which has same form of FlatCLR. Please refer the Code in  https://github.com/Junya-Chen/FlatCLR

class PatchHDCELoss(nn.Module):
   ...
   ...
        diagonal = torch.eye(npatches, device=feat_q.device, dtype=self.mask_dtype)[None, :, :]
        l_neg_curbatch.masked_fill_(diagonal, -10.0)
        l_neg = l_neg_curbatch.view(-1, npatches) # [npatches, npatches]

        logits = (l_neg-l_pos)/self.opt.nce_T # [npatches, npatches]
        v = torch.logsumexp(logits, dim=1)    # [npatches]
        loss_vec = torch.exp(v-v.detach())    # [npatches] all elements are 1.0

        # for monitoring
        out_dummy = torch.cat((l_pos, l_neg), dim=1) / self.opt.nce_T # [npatches, npatches+1]
        CELoss_dummy = self.cross_entropy_loss(out_dummy, torch.zeros(out_dummy.size(0), dtype=torch.long, device=feat_q.device))

        loss = loss_vec.mean()-1+CELoss_dummy.detach()

        return loss

Hi, I don't understand 'loss = loss_vec.mean()-1+CELoss_dummy.detach()', which seems to output the same results of 'CELoss_dummy.detach()'. Because 'loss_vec = torch.exp(v-v.detach())' is a tensor with all values of 1, I think  ‘loss_vec.mean()-1’ is a tensor with all values of 0. I don't know if this loss is same with infoNCE?


WIP: Placeholder for 1.31 KEP-4460 docs.

KEP-4460 is currently targeting 1.31 for alpha
KEP issue# https://github.com/kubernetes/enhancements/issues/4460
KEP PR: https://github.com/kubernetes/enhancements/pull/4462
/sig api-machinery

Hello @tkashem :wave: please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before Tuesday July 16th 2024 18:00 PST. Thank you!

Hi @tkashem, a gentle reminder that tomorrow is the deadline for having your Docs PR ready for review. Please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before tomorrow, Tuesday, July 16th, 2024 18:00 PST.

I'm closing this PR because this KEP did not make the code freeze.
/close


Pilot distribute SdsSecretConfig to envoy

Pilot distribute SdsSecretConfig to envoy
Node Agent will communicate with envoy through secret discovery service(SDS) to distribute key cert pair(to replace secret-mount files today). In order for envoy talks to Node Agent, pilot need to distribute SdsSecretConfig to envoy.
change need to be made -

places to construct CommonTlsContext in pilot includes listener, cluster, authN plugin, gateway(gateway probably isn't necessary since key/cert are passed from Gateway customer defined yaml file now)
may need to add a flag in meshConfig to indicate to use sds or secret-mount files

SdsSecretConfig example -
secretName should be service account in Spiffe format.
    filter_chains:
      tls_context:
        common_tls_context:
          tls_certificate_sds_secret_configs:
          - name: "SPKI"
            sds_config:
              api_config_source:
                api_type: GRPC
                grpc_services:
                - google_grpc:
                    stat_prefix: test
                    target_uri: unix:/tmp/uds_path
                refresh_delay: 60s

/cc @wattli @diemtvu

TODOs
1.integration shows that stat_prefix in sds_config is required, otherwise envoy fails to start, need to add stat_prefix
          sds_config:
            api_config_source:
              api_type: GRPC
              grpc_services:
              - google_grpc:
                  stat_prefix: test
                  target_uri: unix:/tmp/uds_path
              refresh_delay: 60s

update repo's dependence's sha (https://github.com/istio/istio/blob/master/Gopkg.lock#L1232) to take in https://github.com/grpc/grpc/pull/15909 then remove distribute dummy cert logic

looks like https://github.com/grpc/grpc/pull/15909 is now in https://github.com/grpc/grpc/releases

            sds_config:
              api_config_source:
                api_type: GRPC
                grpc_services:
                - google_grpc:
                    stat_prefix: test
                    target_uri: unix:/var/run/sds/uds_path
                    channel_credentials:
                      ssl_credentials:
                        root_certs:
                          filename: /etc/istio/nodeagent-root-cert.pem
                    call_credentials:
                      google_compute_engine: {}
                refresh_delay: 60s

root cert is required

"Failed to load file","file":"external/com_github_grpc_grpc/src/core/lib/iomgr/load_file.cc","file_line":71,"filename":"/usr/share/grpc/roots.pem","referenced_errors":[{"created":"@1532121739.338159947","description":"O

common name is required in cert by gRPC

[{"match":{"prefix":"/service/1"},"route":{"cluster":"local_service_tls"}}]}],"name":"local_route"},"stat_prefix":"ingress_http","codec_type":"auto"}
E0720 23:50:50.471758021       8 ssl_transport_security.cc:251] Could not get common name of subject from certificate.
[2018-07-20 23:50:50.472][8][trace][grpc] external/envoy/source/common/grpc/google_async_client_impl.cc:46] completionThrea

latest discussion -
https://github.com/envoyproxy/envoy/issues/3939
https://github.com/grpc/grpc-go/issues/2235

This is done


Audio/Video Support Library Not Viable Long Term

Not really a problem per se, but the Xuggler Audio/Video library that we use to read in audio and video is no longer being actively developed by the owners.
Short term, this isn't too big of a deal, but long term it is.  Eventually we may need to move to another library.  Sadly, my research hasn't really turned up any good contenders, the Xuggler library is just really clean and easy to use.  VLCJ is another option that may work.

Found another Java wrapper for libav that could be an option:
https://code.google.com/p/jlibav/

Another option is https://code.google.com/p/gstreamer-java/

Another interesting library might be http://www.jcodec.org/

More Options:
https://github.com/artclarke/humble-video
https://github.com/hoary/JavaAV

Closing as version 3 relies on JavaFX media capabilities which are far more robust.


[BEAM-4501] Update website contribution and release docs

This also includes BEAM-4498 (which was accidentally closed).

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


Tiny blocks

I tried the newest release (0.3.1, though I haven't treid 0.3.0 yet) on my Quest 2 and the blocks are very tiny, about the width of the sabers.

that's odd, I've been working with master and it is ok, may be a release build specific bug?

I just tried again with the apk from the release section and do not have this problem (but I only have a Quest 1); can you maybe try to uninstall and reinstall the game?

For what it's worth, I have seen this bug as well. It was only on a specific song though... I wish I still had the song installed, or could remember what it was.

Oh, I've only tried it with one song so far.  Most of my songs are unzipped
(I made the initial version of the external song loader work that way
because it was unzipping each file multiple times, impacting performance,
and it was simpler to implement and test it without decompression first,
leaving decompression to be added later.  Since that has occured I presume
the performance issue has been fixed.) and I haven't had time to put zipped
versions of all my custom songs on yet.  Actually I thought I didn't have
any zips on there at all but I think a few old ones might have been in a
folder I forgot and slipped through.  The point is I don't have many maps
on at the moment.
Anyhow the map it was giving me small cubes on is this one:
https://bsaber.com/songs/7c09/
I'll have to try some other maps and see if there's a pattern to the
problem.  Perhaps it's because it's a 360 map?
On Mon, May 3, 2021 at 10:30 AM Daniel Hankewycz @.***>
wrote:

For what it's worth, I have seen this bug as well. It was only on a
specific song though... I wish I still had the song installed, or could
remember what it was.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NeoSpark314/BeepSaber/issues/14#issuecomment-830969836,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJQFGKXH7IA7UR55OFVO5LTLXVDTANCNFSM43J2IDBQ
.

I tried a different song which was also a 360 map and it did not have tiny blocks.

https://user-images.githubusercontent.com/26260718/118558591-77209480-b72c-11eb-9abe-7fff7751528a.mp4
tried it with that song and indeed it happens, colliders seems to be ok so i suspect that the problem is with the spawn animation no running (since it uses the song speed it may be setting itself at 0), ill take a look to the song file, we could also set a minimum spawn animation speed to prevent this (1 can be minimum since that code it's only intended for very fast songs where u could miss the notes before they end the spawn animation)

yea im pretty sure thats the problem, i think the code uses "_noteJumpMovementSpeed" to set the spawn animation, witch may not be the right value to use since in that song it is 0
regular map:

this map:

it should be pretty easy to fix

https://user-images.githubusercontent.com/26260718/118565235-69244100-b737-11eb-90a9-7d05e1099d29.mp4
added a fix on https://github.com/NeoSpark314/BeepSaber/pull/13 :D

aha, that makes sense
On Tue, May 18, 2021 at 8:44 AM leandrodreamer @.***>
wrote:

https://user-images.githubusercontent.com/26260718/118565235-69244100-b737-11eb-90a9-7d05e1099d29.mp4
added a fix on #13 https://github.com/NeoSpark314/BeepSaber/pull/13 :D
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NeoSpark314/BeepSaber/issues/14#issuecomment-842690237,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJQFGJDKVBMR2773WLLODDTOGL6TANCNFSM43J2IDBQ
.


*** stack smashing detected ***: python terminated

I think there are memory leak issues. I get
*** stack smashing detected ***: python terminated
when importing tensorflow_fold.

I get the same issue running an AWS ami with id: ami-a195cfb6 and region: US East (N. Virginia).
Python 2.7.12 :: Anaconda custom (64-bit)
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcurand.so locally
I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:925] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
I tensorflow/core/common_runtime/gpu/gpu_device.cc:951] Found device 0 with properties:
name: GRID K520
major: 3 minor: 0 memoryClockRate (GHz) 0.797
pciBusID 0000:00:03.0
Total memory: 3.94GiB
Free memory: 3.91GiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:972] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:1041] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GRID K520, pci bus id: 0000:00:03.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:1041] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GRID K520, pci bus id: 0000:00:03.0)
*** stack smashing detected ***: /home/icarus/anaconda2/bin/python terminated

for now I have been using python 3 for those who need some sort of solution.

Have anyone solve this question? I meet the same issues when I run demo program.

Have anyone solve this question? I meet the same issues when I run demo program.
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
2017-12-24 17:23:59.039496: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2017-12-24 17:23:59.127157: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2017-12-24 17:23:59.127582: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce GTX 860M major: 5 minor: 0 memoryClockRate(GHz): 1.0195
pciBusID: 0000:01:00.0
totalMemory: 1.96GiB freeMemory: 1.62GiB
2017-12-24 17:23:59.127608: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 860M, pci bus id: 0000:01:00.0, compute capability: 5.0)
>>> sess.run(hello)
*** stack smashing detected ***: python3 terminated
[1]    4215 abort (core dumped)  python3


landing-page: localize EDTF dates

[ ] EDTF dates are not localised
[ ] Display human-readable labels when needed

splitting the human-readable labels on a case by case basis so they are actionable.

@mb-wali Can I ask you to verify this ticket?
In principle this should have been fixed via this: https://github.com/inveniosoftware/marshmallow-utils/blob/master/marshmallow_utils/fields/babel.py#L119

@mb-wali Can I ask you to verify this ticket?
In principle this should have been fixed via this: https://github.com/inveniosoftware/marshmallow-utils/blob/master/marshmallow_utils/fields/babel.py#L119

So far I can see it's localized the strings, not the numbers. I am not sure if we are targeting the numbers also or not.
Some screenshots
English

German

Farsi

Thanks a lot. I'm closing since as discussed in thechat Babel doesn't support number formatting :-(


OCPBUGS-44655,OCPBUGS-43083: Fix IPv6 Disconnected HCP deployments

The issue with the MultiArch check is that it's recovering the manifests without passing through ImageMetadaProvider. I've added a new method to that which recovers the requested manifest and adds it to a new LRU Cache.
To pass the ImageMetadataProvider to the RegistryClient, implies to fall in a import cycle issue, so a new interface was created called ManifestProvider, which implement the same GetManifest methods as the original does.
Which issue(s) this PR fixes:
Fixes:

OCPBUGS-44655 - HO issue determining the cluster payload arch does not checks the ICSP/IDMS
OCPBUGS-43083 - Pods cannot connect to apiserver in IPv6 disconnected hosted cluster

Issues Solved

[x] Detecting MultiArch cannot get the right manifest (original GetManifests is not using the ImageMetadataProvider)

Implemented GetManifests method inside of ImageMetadataProvider

[x] ImageMetadataProvider does not understand the IDMS with only the domain (exact match works fine

Patched GetOverrideImages to understand IDMS namespace wildcards

[x] CVO is being override by a EnvVar and not getting the digest from OCP release

Implemented GetDigest method inside of ImageMetadataProvider

[x] CVO deployment’s payload-script does not contain EOF
[x] IPv6 does not work, nodes cannot join the KAS

The IsIPv4 function now accepts IPAddresses instead of only CIDRs.

/retest

/hold a bit

/retest

/hold cancel

/retest

/retest

/jira refresh

/retest

/test e2e-aws

/retest

/retest

/retest

/test e2e-aws

Still hitting quota :( - NatGatewayLimitExceeded: Performing this operation would exceed the limit of 100 NAT gateways

/lgtm

/test e2e-aws

/retest

/retest

/lgtm

Rebase from main to fix Public only clusters conditions in TestClusterCreateV2

/hold cancel

/retest

/lgtm

/retest

/retest

/retest

/hold cancel

/hold cancel

/retest

/retest

I have present that I need to add the unit tests for discoverCVOReleaseImages new function included in the PR. I will do it in a follow up PR because I need this PR merged for code freeze.

/retest

/lgtm

/retest-required

/hold cancel

/cherry-pick release-4.18


MAINT: move things in numeric.pyi to the top-level __init__.pyi

In gh-38 some stubs were added for core/numeric.py. The problem is
that these stubs are not picked up at all, as can be tested with
import numpy as np

reveal_type(np.ones_like)

which on master gives
Revealed type is 'Any'

The issue is that the NumPy main repo importing from numeric doesn't
automatically mean the type stubs do. We could add the relevant
imports on the stubs level too, but there is no need for the structure
of the stubs to mimic the structure of NumPy unless they are being
used to type-check NumPy itself (which we aren't doing yet), and
indeed having them mimic the internal structure just causes extra pain
of trying to keep up with internal refactors that don't affect the
public API. In fact, we already ignore NumPy's internal structure by
defining ndarray in the top-level __init__.pyi, when it is
actually exported by numeric.
So instead, just fix the issue by moving the numeric stubs into the
top level __init__.pyi (plus some minor bug fixes). On master the
above script now correctly gives:
Revealed type is 'def [_ArrayLike] (a: _ArrayLike`-1, dtype: Union[numpy.dtype, None] =, order: builtins.str =, subok: builtins.bool =, shape: Union[builtins.int, typing.Sequence[builtins.int], None] =) -> numpy.ndarray

Note that these functions still have no tests (which is how this didn't get caught originally); I didn't try to fix that in this PR.

So instead, just fix the issue by moving the numeric stubs into the
top level __init__.pyi (plus some minor bug fixes).

makes sense to me

Ok, fixed the pyflakes error.

LGTM, merged. Thanks @person142


Allow missing expert curves in discrimination calibration curves

...as encountered in internal Beacon project.

thanks for fixing the legend failure!

...I added a couple more plots to percy, but no other changes; realized we weren't plotting the discrimination plots in isolation yet, like we do the others.


lock the SCC schedule to daily to workaround provider bug

Description

The SCC DA in version 1.4.1 of the stack does a daily scan. However the latest SCC DA defaults to Monthly. Because of this, terraform tries to do an update in place, however it fails due to this provider bug: https://github.com/IBM-Cloud/terraform-provider-ibm/issues/5718
The fix for now is to lock the scan back to daily in the stack definition so no update is required

Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

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

GitHub release
v1.5.0

Your semantic-release bot :package::rocket:


Add metric definitions endpoint/flag

Return general/specific definitions of metrics if requested

General: "DIR means this, mathematically"
Specific: "The DIR of x computed for your model means x for the selected group"

Required components

[ ] : exp-core functions to generate definitions
[ ] : integration into endpoints to serve definitions


Avg rate improvements

Describe the bug
Avg rate sensors should:

save state to survive a restart
Be renamed to sensor.avg*
Include a unit of measurement, this allows proper graphing
Create with the current days averages if tomorrow's aren't available on first start.

Aha, this would be great, I have an RGB light indicator and being able to switch the colour based on whether the current rate is above or below average would be perfect.


Concerning NDesk.Options Key Value paired arguments

Hello, and so sorry to post in this forum, but there is literally no way to contact you otherwise that I could find. What is the value of providing a key/value paired action that is not already a System.String? i.e. that is, informed by the option name itself? Can you show that via an OptionSet initializer example, for instance, please? Cheers, and again, apologies for the cross-post.

I couldn't tell you! I am not the author of NDesk.Options, I merely mirrored it to GitHub since I use it in many of my own projects.
I've never given much thought to how NDesk.Options is implemented outside of how I've always used it.

I also went ahead and enabled issues for my own code, but as I've stated, not the original author.


types.installAllDependencies not found

I just installed the package from the store and the command is not found via the console.
Also, no changes are made when saving the package.json, either editing directly and saving or via npm / yarn install with save option.
Any idea what could be possibly doing this?

Can you give these details please?

Operating system
Version of npm/yarn
Version of VS Code

Are you getting any errors in the developer console (Help > Toggle developer tools)? I've tested this with vscode version 1.15.1 and am not having any issues.

@jvitor83 The stack trace is saying Cannot find module 'lodash' which I used in my last PR.
Would you be able to run npm install to install all the new deps and then publish it again to see if it works?

My fault, I think I put lodash into the wrong section of package.json. I'll fix this now.

The strange thing is I pulled from the repo, and debugged it, and the repo worked perfectly fine =)
Anyway glad to see it fixed.
Thank you for the quick reply =)

Yes. I tested it, and it worked at debugging too.
Anyway, i will merge and release this fix today.


Cleanup and Enhancements to UI

See my version here: https://alcadesign.github.io/CommunityClouds/
General Changes

Simplified the CSS and the HTML
Removed the need for FontAwesome
Removed the libraries in favor of minified version from a CDN
Simplified the custom_ui.js code to remove unnecessary setters/getters with capitalized properties and "private" properties to just be regular properties
Removed border-radius to match both forms
Clicking the selection now toggles the dropdown
The chevron animates
The dropdown fades in
The list is sorted
The list is grouped with some nice padding (basically just to pin "random" to the top)
The dropdown won't overlap the name form unless there's not enough height available (try resizing the vertical length of your browser with the list open)

Nice work @AlcaDesign!


My osu opens, shows a window, and closed immediately. Won't open

[box=Report]
Version 11.2.1 (Build 20D74)
Engine: WS11WineCX20.0.2
Wineskin <IP_ADDRESS>-rc4
Release: Stable40
Quarantine attribute is absent (bundle)
Quarantine attribute is absent (wrapper)
Execute flag is present
Detect Direct3D is disabled
Game user configuration is absent
System Integrity Protection is disabled
Engine version is supported
Razer Synapse is absent
[Warning] Errors in: update.log
2021-02-23T08:17:26: _pending\osu!.exe => osu!.exe: FAIL
No errors in: runtime.log
[/box]

@Techno-coder

Please do not report installation issues here. People have reported it working successfully on M1 processors but support is still fairly flaky. Click on Other > Update osu!. If you're still facing issues, post an issue in the help forum, not here.


Fix for #54 - allow regexes when matching expected message text

Is it really still "WIP"?

I suppose it could be merged now, but there are a couple of things we might want to add. Firstly, the template idea from #54, and secondly, some way of making a single expectation a regex rather than the whole test. What do you think?
Re #45, I think this PR works for that use case, though in a slightly different way.

a single expectation a regex rather than the whole test

Maybe we can use NR: .*regex.*, where R suffix means regex?

I'm not sure the template idea belongs in this PR, so I think it's ready to go AFAIC.

Thanks a lot for your help!


add PowerShell commands for acquiring access token

The "Acquire access token in Cloud Shell" section looks like it is using bash commands.  These should be labeled as such, and also include a PowerShell commands example.
$access_token= ((Invoke-WebRequest -Uri "$env:MSI_ENDPOINT`?resource=https://management.core.windows.net/" -Headers @{Metadata='true'}).content |  ConvertFrom-Json).access_token
echo ("The MSI access token is " + $access_token)

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

ID: c28975cb-d05c-26d1-0ae5-fc796a53a58b
Version Independent ID: cb2d1aca-cb19-ad9a-5df5-2f3f8ec8e575
Content: Use managed identities for Azure resources in Azure Cloud Shell
Content Source: articles/cloud-shell/msi-authorization.md
Service: azure
GitHub Login: @maertendMSFT
Microsoft Alias: damaerte

@hakanson , Thanks for raising the issue. We will investigate and update you.

@barclayn Can you take a look at this?


got: ssh not found

Describe the bug
got clone doesn't work with ssh because it rely to find ssh in /usr/bin/ssh which doesn't work on nixos
Steps To Reproduce
Steps to reproduce the behavior:

nix-shell -p got
got clone git@github.com:github/docs.git
Connecting to<EMAIL_ADDRESS>got: execv /usr/bin/ssh: No such file or directory got-fetch-pack: unexpected end of file got: unexpected end of file

Expected behavior
Clone the repository to disk
Additional context
Add any other context about the problem here.
Notify maintainers
@wahjava
@afh
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.32, NixOS, 24.11 (Vicuña), 24.11.20240607.051f920`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/3dr5pyja36lvvrszhzffww1jwyrx6i09-source`

Add a :+1: reaction to issues you find important.

Thanks for raising this, @SZanko, there is a conversation about this already going on in #297154. What's your take on this?

Fixed with #322600


Remove accidentally added debugging code in install.sh

Summary of proposed changes:

Remove accidentally added debugging code in install.sh which broke ./install.sh -icd

The CI failure came from one uncompleted configured  CI node. All other tests on other nodes are fine.