Floating graphics in semantic blocks

Floating graphics in semantic blocks cannot be typeset correctly. This results in a compilation error. Inline graphics work.
The easiest solution would be to change the corresponding articles. There are two options:

move the code of the thumbnail graphic out of the semantic block
change it into an inline graphic

However, it may be difficult for authors, because the latex error is quite cryptic.
An example is an exercise in Epsilon-Delta-Kriterium. See how Stetigkeit does not work, but Unstetigkeit does.

Solution: thumbnail graphics inside a sematic box shall be deleted...


IOrderedEnumerable triggers exception when sorting modified DateTimes

IOrderedEnumerable can't compare DateTimes after they've been modified with AddMinutes(), etc. It attempts to compare ticks that have been removed from DateTime instances (as a result of being modified by their adjustment methods).
Steps To Reproduce
https://deck.net/2a202202c30951cc29fb109379f42ee0
public class App
{
    public static void Main()
    {
        List<DateTime> times = new List<DateTime>();

        DateTime dt1 = DateTime.UtcNow;
        times.Add(dt1);
        DateTime dt2 = dt1.AddMinutes(-10);
        times.Add(dt2);

        times = times.OrderBy(dt => dt).ToList();

        Console.WriteLine(times[0]);
        Console.WriteLine(times[1]);
    }
}

Expected Result
12/12/2017 00:05:45
12/12/2017 00:15:45

Actual Result
System.Exception: TypeError: Cannot read property 'low' of null
    at o (https://deck.net/resources/js/bridge/bridge.min.js?16.5.0:7:119820)
    at i.n.compare (https://deck.net/resources/js/bridge/bridge.min.js?16.5.0:7:122194)
    at System.Int64.compareTo (https://deck.net/resources/js/bridge/bridge.min.js?16.5.0:7:128325)
    at Object.compare (https://deck.net/resources/js/bridge/bridge.min.js?16.5.0:7:17168)
    at Object.compare (https://deck.net/resources/js/bridge/bridge.min.js?16.5.0:7:16772)
    at ctor.<anonymous> (https://deck.net/resources/js/bridge/bridge.min.js?16.5.0:7:235941)
    at v.compare (https://deck.net/resources/js/bridge/bridge.min.js?16.5.0:7:361451)
    at https://deck.net/resources/js/bridge/bridge.min.js?16.5.0:7:360913
    at Array.sort (native)
    at https://deck.net/resources/js/bridge/bridge.min.js?16.5.0:7:360885

I think this might be because the OrderBy() clause doesn't call the DateTimes' comparison functions(?) It just does an integer comparison on DateTime.Ticks. The latter fails because of another issue: modifying a DateTime (such as with AddMinutes()) removes its Ticks member in javascript.


Unreviewed commit on master!

Unreviewed commit(s) COMPARE was merged to master by fahimahmedx.
Comment with appropriate number of :+1: to approve.

Reviewed requirements satisfied? No
Ancestors reviewed? Yes

Minimum Reviews
0/1

More info

👍

Minimum Reviews
1/1

danyalprout
1

Pull request is reviewed and can be merged to master!
More info


Argo Server Support TTL

Summary
Add a TTL setting for Argo Server
Motivation
Our company has a requirement of a 15 minute TTL for any web application. I would like to know if the Argo Server can support a TTL setting.
Proposal
Add a TTL option to the Argo Server YAML

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

Can you clarify? TTL for what? There is already a field to set TTL for Workflows, but I don't seem to understand what "TTL for any web application" means in this context

@simster7  My apologies - TTL for session timeout. User authenticate via bearer token; but are really never logged off the server. I would like to have a session timeout on the server.

Gotcha, I will bring this up with the team and get back to you

Hey @bpayt2 the bearer token is actually managed by K8s, we are just a pass through service and don't control its life cycle. If you want more control over auth, you can set up and use SSO with whatever preferences you'd desire.


When you click run tests before you start the project it shows that 1/17 tests have been completed.

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code / Link to Your Pen

Screenshot

@vishutdhar Please use our forum for debugging the code of your projects.  If the forum members determine there is nothing wrong with your code, you can request this issue to be reopened.  GitHub issues are meant for reporting bugs and not troubleshooting the code in your projects.
Thank you for understanding.


Change soundcloud or add to it Live Radio from real life stations with url

Would it be possible to change F7 from soundcloud or add it to play live radio like e.g. http://radioplayer.kissfmuk.com/live/ this radio station if someone has a link they can do it @JarnoVgr @AleksCore @EsDeKa

@f1madkiller When we talked in-game I thought you meant radio like on ffs server where playlist = songs bought by players :D
You can use /radio or just play it using player/site. Or you want play it for all players?

There's no need to tag us. We'll read it anyways. :)

Radio like FFS I think be better now like spend 5 GCs for songs or stuff for all players to hear and press e.g. X to turn it off

ye sounds cool but @AleksCore said "never" when I asked if we'll have ffs radio xd

We got better scripters than FFS so I am sure we can do better than there system


Error code (183)

Error occurred.
boost::interprocesscommunication error occured. Check MHUD2.log for details.
OK

How to fix the error?

This issue is a duplicate of issue #18


Improve on boarding

Hey, we did some tests with new users and some people got stuck on the way. I would like to improve that and hear what you think of the ideas first. :)

When deploying a program without having the playground wallet connected there is an error that sais pubkey not found. Would be cool if the wallet would auto connect when doing the first deploy and the wallet is not connected yet. Or add a little wizard which shows the important buttons like, connect, build and deploy.

When the airdrop fails new users are pretty much stuck. I added the possibility to open the web faucet with a pubkey and amount already set. Something like this: https://faucet.solana.com/?walletAddress=GsfNSuZFrT2r4xzSndnCSs9tTXwt47etPqU8yFVnDcXd&amount=2.5 So what we could do, if the automatic airdrop fails we could add a button to the UI which opens the web faucet with the playground wallet already set.
We could also add the link to the error message here:

It looks like playground is not using the newest web3.js? With the new Web3js ^1.92.1 the error messages should be way more telling what is actually wrong:

This is the correlated issue:  https://github.com/coral-xyz/anchor/issues/2980

When deploying a program without having the playground wallet connected there is an error that sais pubkey not found. Would be cool if the wallet would auto connect when doing the first deploy and the wallet is not connected yet. Or add a little wizard which shows the important buttons like, connect, build and deploy.

How do you reproduce this? I've recently changed it so that deployment works even if your wallet is not connected and the program is not built (see https://github.com/solana-playground/solana-playground/issues/233#issuecomment-2241072207).

2. When the airdrop fails new users are pretty much stuck. I added the possibility to open the web faucet with a pubkey and amount already set. Something like this: https://faucet.solana.com/?walletAddress=GsfNSuZFrT2r4xzSndnCSs9tTXwt47etPqU8yFVnDcXd&amount=2.5 So what we could do, if the automatic airdrop fails we could add a button to the UI which opens the web faucet with the playground wallet already set.
We could also add the link to the error message here:

Sounds great — we can add that link if our airdrop request fails.

3. It looks like playground is not using the newest web3.js? With the new Web3js ^1.92.1 the error messages should be way more telling what is actually wrong:

Yeah, it's not on the latest version currently.

Ohh true, that point one is already done awesome. \o/ I think i tested last week.

Nice. Should i add that?
You think we could update it to the newest version?

2. Nice. Should i add that?

Sure!

3. You think we could update it to the newest version?

Yeah, why not?

There seems to be a bug with the automatic airdrop request when deploying on master branch.
Same with the normal solana airdrop 5 command. Seems to have been introduced here: b4a3e2d

That should be fixed in https://github.com/solana-playground/solana-playground/commit/97e3ea2f16457694cf9f6df7eae197b30da009e1 but your fork's master branch is outdated.

Hey, what do you use to format the rust files in the wasm folder. Im getting tons of changes in these files when I format.

I disabled my formatting and created this PR: https://github.com/solana-playground/solana-playground/pull/264 :)


fix(DDI-1302): Changed the coloring of icons to the FormStepper inste…

…ad of icon

:tada: This PR is included in version 4.0.0-alpha.146 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.185 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-alpha.17 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.21 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Accessible help doesn't restore focus to individual hover part

Testing #217237 on Linux

Open a hover with multiple parts
Tab to focus one of the hover parts
Open accessible view/help
Esc to close it
Now the whole hover is focused, instead of the individual part I'd focused

Verified with GitLens's editor hover


When using the new LoRa view option, console shows an invalid file line and the preview image does not load

[EZ Tags] Invalid File: "L:\A1111\extensions\sd-webui-easy-tag-insert\cards\Cards\Grass.preview.png"
The preview image will only load if you click on the tools icon and click "Replace Preview." If you restart the webui you have to do it again.

Yeah, IDK why the preview isn't loading automatically...
I'mma try looking around.

Should be fixed now~

Issue fixed, appreciate it!


Try without OpenCL ICD

Checklist

[X] Used a fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Please don't do this. If you want, please create a meta package to create the symlink

Fair enough. Can you chime in https://github.com/openmm/openmm/issues/2401, where we are talking about this issue? Thanks!


Developer Signature Required on macOS build

Hi,
Just a heads up, I just tried to install this plugin on macOS 10.15 which requires executables to be signed with a developer certificate. I assume the way round this is to build the package from source for the moment.

Thanks for the plugin.

I gave a shot at building this but I get the message Can't find any collection named 'tasks'!. Maybe the project no longer uses invoke or there's a uncommitted file.

Hi, thanks for rising this up.
I cannot check how it works right now, but you can try to follow macos support instructions from https://support.apple.com/en-us/HT202491:

In macOS Catalina and macOS Mojave, when an app fails to install because it hasn’t been notarized or is from an unidentified developer, it will appear in System Preferences > Security & Privacy, under the General tab. Click Open Anyway to confirm your intent to open or install the app.
/img/
The warning prompt reappears, and you can click Open.*
/img/
The app is now saved as an exception to your security settings, and you can open it in the future by double-clicking it, just as you can any authorized app.

Sadly you will have to do this probably for many files.
Building from source - right, tasks.py file is missed. I'll commit this soon

@FriendsOfGalaxy, The update to the client now lets you search and install via the client. This seems to have got around the notarisation issue 🍾

@FriendsOfGalaxy sorry to comment on a closed issue, but I'm still having the issue here and would really like to be able to build & notarize myself, but I'm missing the tasks.py file. Any chance you could commit it to master or share it here?

@jasef for now I've added tasks.py in here (works only with my repo): https://github.com/bartok765/galaxy_blizzard_plugin


Deprecating repository

Hi
As synced with Jörg B., it's okey that I take over the extension and repo to continue maintaining the extension.
However, the VS Code extensions can not yet be migrated across publishers, therefor I placed a request within the issue here (https://github.com/microsoft/vscode-discussions/discussions/1#discussioncomment-8022245), where it should get handled.
I created a new extension based on the fork from this repo here.

https://github.com/SoulcodeAgency/vscode-unwanted-extensions
https://marketplace.visualstudio.com/items?itemName=Soulcode.vscode-unwanted-extensions

Please merge the PR I created ( #4 ) to make it more clear to the github repo as well.
I think that's all right now, otherwise I will let you know.
Thanks a lot

PR is merged!


More convenient to use

First of all, I have a very high interest in this project.
But Quick Start has put me off, it's too complicated.
I believe that many potential users will refuse to use it because of this.
Is it possible to implement a one-key demonstration environment? like docker-compose

Release v0.9.0 and related docs https://agola.io/tryit/ uses docker compose to setup the demo environment.
Of course, the demo is for users that want to try agola and know how git, ssh and a github/gitea tool works, or it won't make sense for them to use agola. Setting up the user, the remote source and project is up to the user (we cannot automate the ssh key adding).


Make chunks have the same number of dimensions as shape

I noticed this when working on #254 - Zarr v3 requires that shape and chunks both have the same number of dimensions. Zarr v2 doesn't, but there's no harm in setting the missing dimensions to a single chunk, and it's arguably clearer.

coverage: 98.811% (-0.08%) from 98.895%
when pulling ada71fa4a1acdd62a9de3a29adab29cc0357399e on tomwhite:chunk-ndim
into 69ee0e82c03933ff06369764610168a4c8694642 on sgkit-dev:main.


Hello

Hello
Originally posted by @ClintonOffor in https://github.com/araffin/sbx/issues/52#issuecomment-2254734457

I'm not sure what this issue is asking. Please use the issue templates when creating a new issue, or ensure your problem is clearly stated


Update README.md

:tada: This pull request is included in version 1.0.0-next.5 :tada:
The release is available on GitHub release :rocket:

:tada: This PR is included in version 1.0.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Determinate circular drawable is not yet supported

Are there any plans of adding determinate circular progress indicator?

Well, framework did not have the circular determinate progess drawable, and the spec of Material Design has only given one example on animating the indeterminate one to completion. In application It is not often seen in Material Designed apps as well. So I did not implement it.
If you have any thought on why it should be added, please write it down here.

Here is a circular determinate progress specification
You can also see it in the "Fit" application for a progress through the day.
It's more pretty to put determinate progress in circular style when using it in grid layout.

@Nolanus @zokipirlo Could you have a look if #51 fits your needs?

Thanks again @DreaminginCodeZH for cleaning up my implementation and releasing this. I just wanted to let you know that I successfully integrated MaterialProgressBar 1.4.1 and the determinate circular progress indicator into two projects:

dialogs-for-android using Android's ProgressBar and MaterialProgressBar's drawables
Kullo using MaterialProgressBar from xml without any Java code apart from setting Progress value


Validate configuration and update the status

When .github/config.yml is changed in other branches, it should check the config syntax and report any errors or warnings via the status API.

@bkeepers how would you want to check the status? What I am getting is that if  settings.yml is changed in other branches bot will do a test on it. Am i right?
What I am not getting is that how the checking will be done?
Please correct me and explain.
Thanks in advance.

@knrt10 whenever a push event is received that modifies .github/settings.yml, the app should validate the config file and set a commit status with the result.

@bkeepers I am successfully getting the contents of the file can you give me any idea how to check the validation of config file?
Thanks in advance.

@bkeepers Please review my PR and suggest changes if any.
Thanks in advance.


Allow CSS images optimization (for example background image)

Hello @Niels-IO,
Thank you for your efforts.  Good job!
The package itself works very well, but I've noticed a significant missing feature: optimization of images included in CSS, such as background images (refer to this link for details).
Have you considered this use case before?
Upon a quick review of the code, my initial idea would be to begin with the getImageUrl function (accessible here) and integrate it into an exported API interface. This way, developers could pass the necessary image and current viewport width, and receive an optimized image URL in return.
What are your thoughts on this approach? Does it seem viable to you? Do you have any alternative ideas for extending the package to support images used in CSS?
Best regards

Hi @pioso,
Thanks for the suggestion. The more I think about it, it may be possible using the approach you mentioned. Do you want to create an initial PR to test this idea?

I just read about this functionality in the Next.js docs:
https://nextjs.org/docs/app/api-reference/components/image#background-css


Shell based completion path selection

Basic selection logic to output the relevant shell completion command.
@skral, would this be of interest to #496 ?

@j0yu I don't see a relation between these PRs but I might be wrong. Do you see one?

Hello @skral,
Sorry, I'm still fairly new to setting up and tinkering with the backend of rez.
I was thinking of utilising the additional tests of various shells in #496 as this will output different texts to stdout based on different shells.
Then again in regards to tests, the changes I introduced would probably come under a test specifically for installation rather than the selftest?

@j0yu You're right there is no installation specific test yet. #496 makes sure all shells rez supports are available in the CI environment on Linux and OSX, installs rez and runs selftest. I think it would be great to have some installation specific tests to check the integrity of rez after the installation, I don't remember seeing any PR including that yet though.


in-cluster operator never break reconciling loop

Bug description
Deployed the in-cluster operator and create the operator CR, found that operator keep the reconcile, and the status are always RECONCILING
# kubectl get iop -n istio-system
NAME                        AGE
example-istiocontrolplane   9m29s
# kubectl get iop example-istiocontrolplane  -n istio-system -o yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"install.istio.io/v1alpha1","kind":"IstioOperator","metadata":{"annotations":{},"name":"example-istiocontrolplane","namespace":"istio-system"},"spec":{"profile":"demo"}}
  creationTimestamp: "2020-03-05T08:38:28Z"
  finalizers:
  - istio-finalizer.install.istio.io
  generation: 1
  name: example-istiocontrolplane
  namespace: istio-system
  resourceVersion: "4178"
  selfLink: /apis/install.istio.io/v1alpha1/namespaces/istio-system/istiooperators/example-istiocontrolplane
  uid: 4084d2b4-bf1e-4ff8-a2ee-dc7cd3d8b843
spec:
  profile: demo
status:
  componentStatus:
    AddonComponents:
      status: RECONCILING
    Base:
      status: RECONCILING
    EgressGateways:
      status: RECONCILING
    IngressGateways:
      status: RECONCILING
    Pilot:
      status: RECONCILING
  status: RECONCILING

Check the operator logs, looks like that the reconciling loop is always triggered by some others resources, maybe resources created by operator.
[ ] Configuration Infrastructure
[ ] Docs
[ X ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
How was Istio installed?
Environment where bug was observed (cloud vendor, OS, etc)

Fixed in https://github.com/istio/istio/pull/21780.


fix: Missing Illuminate Builder import in Order model

The Order model is missing an import for the Illuminate\Database\Eloquent\Builder, which causes the scopes to fail with the error: Argument #1 ($query) must be of type LemonSqueezy\Laravel\Builder, Illuminate\Database\Eloquent\Builder given
This PR adds the missing import.

Thanks!

Released as v1.3.3


runWasix fails, "memory import has 1 pages which is smaller than the declared initial of 17"

Attempting to run a WASIX program using runWasix(module, {}) on @wasmer/sdk 0.6.0 fails with ok: false.
Using initializeLogger('trace'); to enable logging reveals the following:
DEBUG run_wasix_inner: wasmer_js::runtime: Initializing the global runtime
DEBUG run_wasix_inner: wasmer_js::tasks::scheduler: Spinning up the scheduler thread_id=0
DEBUG run_wasix_inner: wasmer_js::tasks::scheduler: Sending message to scheduler current_thread=0 msg=SpawnWithModule { module: Module { name: None }, task: _ }
DEBUG wait: wasmer_js::streams: Pipe closed
DEBUG wait:close: wasmer_js::streams: close
DEBUG wait: wasmer_js::instance: Closed stdin
DEBUG handle{worker.id=1}: wasmer_js::tasks::worker_message: Sending a worker message current_thread=1 msg=MarkBusy
DEBUG handle{worker.id=1}:run: wasmer_wasix::fs: Initializing WASI filesystem
DEBUG handle{worker.id=1}:run: wasmer_wasix::fs: Attempting to preopen / with alias None
DEBUG wasmer_js::tasks::scheduler: Sending message to scheduler current_thread=0 msg=WorkerBusy { worker_id: 1 }
DEBUG handle{worker.id=1}:run: wasmer::js::module: imported shared memory MemoryType { minimum: 1 pages, maximum: None, shared: false }
ERROR handle{worker.id=1}:run: wasmer_wasix::state::env: Instantiation failed pid=1 error=RuntimeError: js: WebAssembly.Instance(): Import #16 module="env" function="memory": memory import has 1 pages which is smaller than the declared initial of 17
DEBUG wasmer_js::streams: EOF
DEBUG wasmer_js::streams: EOF
DEBUG handle{worker.id=1}:run: wasmer_js::instance: Process exited unexpectedly error=Instantiation failed error.sources=[RuntimeError: js: WebAssembly.Instance(): Import #16 module="env" function="memory": memory import has 1 pages which is smaller than the declared initial of 17]
DEBUG handle{worker.id=1}:run: wasmer_js::run: close
DEBUG handle{worker.id=1}: wasmer_js::tasks::worker_message: Sending a worker message current_thread=1 msg=MarkIdle
DEBUG handle{worker.id=1}: wasmer_js::tasks::thread_pool_worker: close
 INFO wait: wasmer_js::instance: close
DEBUG wasmer_js::tasks::scheduler: Sending message to scheduler current_thread=0 msg=WorkerIdle { worker_id: 1 }

Memory import in .wasm file:
(memory $env.memory (;0;) (import "env" "memory") 17 65536 shared)

Despite this being the only memory import, MemoryType { minimum: 1 pages, maximum: None, shared: false } is logged, and wasmer attempts to initialize the module with only 1 page of memory.
Code to reproduce:
use rayon::prelude::*;

const NUM_THREADS: usize = 10;

fn thread_entry_point(id: usize) {
    println!(" in thread {}", id);
}

fn main() {
    let threads: Vec<_> = (0..NUM_THREADS).collect();

    threads.into_par_iter().for_each(|i| {
        thread_entry_point(i);
    });
}

cargo wasix build -r

import { init, runWasix, Wasmer, initializeLogger } from '@wasmer/sdk';

await init();

initializeLogger('trace');

let module = await WebAssembly.compileStreaming(fetch('/rayon-threads.wasm'));

let instance = await runWasix(module, {});

const { code, stdout, stderr, ok } = await instance.wait();
console.log(`Wasix exited with ${code} (${ok}): ${stdout} ${stderr}`);

Hi @vexcat, this is a known limitation and happens because the browser doesn't expose a way for finding out how many pages a WebAssembly.Memory import requires.
You can find the full explanation, code sample, and solution in the docs: Instantiation Failed Due to Memory Import Mismatch.
The solution is to give runWasix() the *.wasm file's bytes and let it handle the module compilation.
const response = await fetch("/rayon-threads.wasm");
const wasm = await response.arrayBuffer();

const instance = await runWasix(wasm);
...

Hi, thanks for the response.
let wasmReq = await fetch('/rayon-threads.wasm');
let wasmArr = new Uint8Array(await wasmReq.arrayBuffer());

let instance = await runWasix(wasmArr, {});

This does not work either, failing with the same error. Maybe this is a recent regression?

@vexcat did you solve this? Getting the same problem

Unfortunately, I left Wasmer at the end of January and am no longer working on any Wasmer projects. @syrusakbary should be able to help you, though.

I ran into the same issue.  Building wasmer-js locally solved it for me.  Perhaps the package needs to be updated on npm?

Hey @vexcat, @argenisleon we are upgrading the SDK on this PR: https://github.com/wasmerio/wasmer-js/pull/424
Let me know if using wasmer-js from the branch solves things for you

It looks like I modified something in my cache at some point, which is why it appeared a local build worked for me.  I wasn't able to reproduce it.  The npm rc from yesterday still runs into this issue.
It looks like the problem is From<WebAssembly::Module> for Module removes type hints in wasmer here.
That's called from From<WebAssembly::Module> for crate::module::Module here, which is called when spawning a task with a module here.
runWasix spawns a task with a module here.
If you inspect module in src/run.rs on lines 43 and 50, you'll see the type hints and name after creating the wasmer::Module on 43, but not inside on the task on 50.


PlaybackDemo Tutorial Bug

Hello!
I've been following your tutorial to the point where we set the camera mode to DJICameraModePlayback inside the -(IBAction) changeWorkModeAction:(id)sender method. I go about testing it on a DJI Phantom 3 Standard platform and this is the error that I get:
Error Domain=DJISDKErrorDomain Code=-1000 "This feature is not supported in the SDK(code:-1000)" UserInfo={NSLocalizedDescription=This feature is not supported in the SDK(code:-1000)}
I checked the API for your guy's SDK but, it doesn't mention anything about compatibility. Does this really mean that playback mode is not supported on a DJI Phantom 3 standard?

Hi, currently, DJI Phantom 3 Standard does not support DJICameraModePlayback, you can use DJICameraModeMediaDownload to access the media data instead. Please check the following Enum in DJICameraSettingsDef.h file:
//-----------------------------------------------------------------
#pragma mark DJICameraMode
//-----------------------------------------------------------------
/**
 *  Camera work modes.
 */
typedef NS_ENUM (NSUInteger, DJICameraMode){
    /**
     *  Capture mode. In this mode, the user can capture pictures.
     */
    DJICameraModeShootPhoto = 0x00,
    /**
     *  Record mode. In this mode, the user can record videos.
     */
    DJICameraModeRecordVideo = 0x01,
    /**
     *  Playback mode. In this mode, the user can preview photos and videos, and
     *  can delete files.
     *
     *  Not supported by Osmo, Phantom 3 Standard or Phantom 3 4K.
     */
    DJICameraModePlayback = 0x02,
    /**
     *  In this mode, the user can download media to the Mobile Device.
     *
     *  Supported by Phantom 3 Professional, Phantom 3 Advanced, Phantom 3 Standard, X3.
     */
    DJICameraModeMediaDownload = 0x03,

    /**
     *  The camera work mode is unknown.
     */
    DJICameraModeUnknown = 0xFF
};

Great, that answers my question! Thanks!


Docs: add warning about custom commands with Click v7.x turning underscores to dashes

Starting Click v7.0 subcommands that are named by the function automatically have underscores replaced with dash (see the 4th item from the bottom for the changelog of Click v7.0 at http://click.palletsprojects.com/en/7.x/changelog/).
This caused the Custom Commands example in the documentation not working with Click v7.x, so I have added a warning for the Click v7.x users.

Thanks, but I'd rather get a release of Click that addresses that well before these Flask docs changes would ever be published.

I thought it is better to put in a warning instead of just changing the example to flask create-user admin , as I assume many are still using pre-v7.0 version of Click, where the underscores don't get replaced with dashes, so if the docs are updated simply stating that the command is now with dashes, then that wouldn't work for anybody still using Click 6.x (which I assume is still substantial number of users).
But if you prefer, I can make a PR just to having flask create-user admin instead of flask create_user admin without the warning for the Click version.
Thanks


Loading Data from tables with bytea columns fails due missing FromSqlRow implementation

Versions

Rust:
nightly-x86_64-apple-darwin (default)
rustc 1.25.0-nightly (bd98fe0c0 2018-02-06)
Diesel:
1.1.1
Database:
psql (PostgreSQL) 9.6.7
Operating System
MacOs High Sierra

Feature Flags

diesel: chrono, postgresql

Problem Description
I'm trying to load data from a postgresql table that contains a Bytea column. This fails due missing implementations for FromSqlRow, even if the targeted type doesn't contain a field for that column. Inserting, however works fine. This occurs for all tables that contain at least a bytea column.
What are you trying to accomplish?
Loading data from tables with columns of binary types. How to fetch Binary data?
What is the actual output?
error[E0277]: the trait bound `(i32, std::string::String): diesel::deserialize::FromSqlRow<(diesel::sql_types::Integer, diesel::sql_types::Text, diesel::sql_types::Nullable<diesel::sql_types::Binary>), _>` is not satisfied
  --> diesel-test/src/lib.rs:38:19
   |
38 |     let x = dummy.load::<Dummy>(conn);
   |                   ^^^^ the trait `diesel::deserialize::FromSqlRow<(diesel::sql_types::Integer, diesel::sql_types::Text, diesel::sql_types::Nullable<diesel::sql_types::Binary>), _>` is not implemented for `(i32, std::string::String)`
   |
   = help: the following implementations were found:
             <(A, B) as diesel::deserialize::FromSqlRow<(SA, SB), DB>>
             <(std::collections::Bound<T>, std::collections::Bound<T>) as diesel::deserialize::FromSqlRow<diesel::sql_types::Range<ST>, diesel::pg::Pg>>
   = note: required because of the requirements on the impl of `diesel::Queryable<(diesel::sql_types::Integer, diesel::sql_types::Text, diesel::sql_types::Nullable<diesel::sql_types::Binary>), _>` for `Dummy`
   = note: required because of the requirements on the impl of `diesel::query_dsl::LoadQuery<_, Dummy>` for `dummy::table`

Steps to reproduce
#[macro_use]
extern crate diesel;
#[macro_use]
extern crate diesel_codegen;
extern crate serde;
#[macro_use]
extern crate serde_derive;

use diesel::pg::PgConnection;
table! {
    dummy (id) {
        id -> Int4,
        name -> Varchar,
        image -> Nullable<Bytea>,
    }
}

#[derive(Queryable, Insertable, Debug, Clone)]
#[table_name = "dummy"]
pub struct Dummy {
    pub id: i32,
    pub name: String,
}

fn test(conn: &PgConnection) {
    use dummy::dsl::*;
    use diesel::prelude::*;
    use diesel::*;
    use diesel::dsl::*;
    use diesel::query_dsl::*;

    let insert_value = Dummy {
        id: 5,
        name: "".to_owned(),
    };

    insert_into(dummy).values(&insert_value).execute(conn);

    let result = dummy.load::<Dummy>(conn);
}

You're missing the image column in your Dummy struct.
Adding a image: Vec<u8> line to your struct should fix this.

Got it, thanks. Thought that diesel could omit the nullable field.
Guess I'll use tuple types if I don't need the image data.

You could also do that. But if you still want your structure, the common thing is two have two different structs, one that is Insertable and one Queryable.


Extension to add Global Error Handler/Response Handler

Idea:
Add an option to extend a internal global error handler and response envelope wrapper.
This basically wraps the response into a wrapper and automatically takes care of the error and how's it wrapped into json.
Like wise for success responses too.

    app.use(function(err,req,res,next){         if(err.name=='UnauthorizedError') { return res.status(401).send({status:'error',msg:'Authentication failed'}); } else{         else res.status(500).send({status:'error',msg:'Internal Server Error'}); }     })

Don''t worry i'm working on same. A package named exhancer you can check here... https://github.com/kisshan13/exhancer.js

Could you please provide some code sample so it helps people what is expected?
@UlisesGascon can we please add awaiting more info label here?

Sure, the basic idea is to have different error handlers for specific errors. Let's say someone is using mongoose they might get duplicate entry errors or things like that or someone using zod can get validation errors. So errors like this can be easily globally managed if we somehow make different error handlers.
A sample error handler.
export default function mongoError(error) {
    if (error instanceof mongoose.mongo.MongoServerError) {
        switch (error.code) {
            case 11000:
                const alreadyExists = Object.keys(error?.keyPattern);
                return {
                    status: 400,
                    message: `${alreadyExists.join()} already exists`,
                };

            default:
                return {
                    status: 500,
                    message: "Internal server error",
                };
        }
    }
}

Making a error handler middleware
export function errorHandler(handler) {
    let errMessage = "";
    let errStatus = 0;

    return (err, req, res, next) => {
        for (let i = 0; i < handler?.length; i++) {
            const result = handler[i](err);

            if (result?.message || result?.status) {
                errMessage = result?.message
                errStatus = result?.status
                break;
            }
        }

        res.status(errStatus || err?.status || 500).send({
            status: errStatus || err?.status || 500,
            message: errMessage || err.message
        })
    }
}

Adding it to express global error handler :
app.use(errorHandler([mongoError]))

So this is the basic idea which i have . : )

Hey @kisshan13 👋
What I normally do is have map for error and handlers; with an observer, I simply extend the default global error handler that express provides and react accordingly.
For a global error handler, shouldn't it be the last callback? Requesting your help to understand how a middleware fits in the design.


Package name conflicts with actual python-semver module

Short description: this package conflicts with the official python-semver module. when both are installed there is non-deterministic behavior in terms of which order of precedence loads which module (i.e. if node-semver was installed first, then python-semver will fail because the environment will try to load the node-semver implementation)
This occurs in an Ubuntu 18.04 environment with Conan installed.
Internally we implemented a python based version script for our CI. We were using the official python-semver library. This worked as expected.
Then went about integration with our pipelines. We use Conan as a package manager tool, Conan uses this "node-semver" python package: https://github.com/conan-io/conan/blob/develop/conans/requirements.txt#L9
I propose that the package is renamed to avoid the conflicting module issue. Perhaps the created should match with the pip name of the package.
i.e. this repo is intended to install via pip3 install node-semver. So it should produce a module directory of something like nodesemver.
Reproduction:
start with an environment with no conan and no semver libraries
pip3 install conan
pip3 install python-semver
run python3 interpreter an enter:
import semver
version = "6.6.6"
semver.parse_version_info(version)

This will likely fail stating the attribute "parse_version_info" does not exist (because it doesn't in this module)
Ultimately the solution should be to allow both implementations to exist in harmony on the same system.

+1 to this as being a major problem. I have a package with dependencies on  the real semver. Unbeknownst to me some indirect dependency drags in node-semver. I ended up getting a mysterious error when using "semver":
AttributeError: module 'semver' has no attribute 'parse_version_info'
I finally tracked this down to node-semver clobbering the real semver. And since the two are not compatible, sparks fly.
This is a general problem that is not OS specific.

I will rename "semver" to "nodesemver" in 0.9.0 version #45

And rename repository to https://github.com/podhmo/python-node-semver


Fix example 2 in training/10fcaaa3.json

Issue raised on kaggle: https://www.kaggle.com/c/abstraction-and-reasoning-challenge/discussion/130405
Example 2 in training/10fcaaa3.json output is missing a blue square fifth row, rightmost square
Before merge:

After merge:

Yes, you are right. Thanks for the fix.


Question

Is there any way I could make the program start without /spam needing to be typed into discord?

No you can't easily. You can make a simple script who spam messages in a channel but you need to code it.

oh alright


[Error: SFTP session ended early]

I keep getting this error. I am actually using gulp-ssh, but the problem ended up happening in one of the files here.
[Error: SFTP session ended early]
_stream_writable.js:313
    cb(er);
    ^
TypeError: object is not a function
    at onwriteError (_stream_writable.js:313:5)
    at onwrite (_stream_writable.js:335:5)
    at WritableState.onwrite (_stream_writable.js:105:5)
    at /Users/nico/Work/nico/node_modules/gulp-ssh/node_modules/ssh2/node_modules/ssh2-streams/lib/sftp.js:2753:14
    at state.requests.(anonymous function).cb (/Users/nico/Work/nico/node_modules/gulp-ssh/node_modules/ssh2/node_modules/ssh2-streams/lib/sftp.js:961:15)
    at SFTPStream._cleanup (/Users/nico/Work/nico/node_modules/gulp-ssh/node_modules/ssh2/node_modules/ssh2-streams/lib/sftp.js:191:38)
    at SFTPStream.end (/Users/nico/Work/nico/node_modules/gulp-ssh/node_modules/ssh2/node_modules/ssh2-streams/lib/sftp.js:160:8)
    at SFTPWrapper.end (/Users/nico/Work/nico/node_modules/gulp-ssh/node_modules/ssh2/lib/SFTPWrapper.js:29:23)
    at end (/Users/nico/Work/nico/node_modules/gulp-ssh/index.js:253:18)
    at DestroyableTransform._flush (/Users/nico/Work/nico/node_modules/gulp-ssh/index.js:286:5)

After playing around with it for a few hours I found that if I comment out
SFTPStream.prototype._cleanup = function(callback) {
  var state = this._state;

  state.pktBuf = undefined; // give GC something to do

  var requests = state.requests,
      keys = Object.keys(requests),
      len = keys.length;
  if (len) {
    var err = new Error('SFTP session ended early');
    for (var i = 0, cb; i < len; ++i)
      (cb = requests[keys[i]].cb) && cb(err);
  }

  if (this.readable)
    this.push(null);
  if (callback !== false) {
    this.debug('DEBUG[SFTP]: Parser: Malformed packet');
    callback && callback(new Error('Malformed packet'));
  }
};

as such
SFTPStream.prototype._cleanup = function(callback) {
  var state = this._state;

  state.pktBuf = undefined; // give GC something to do

  var requests = state.requests,
      keys = Object.keys(requests),
      len = keys.length;
  if (len) {
    var err = new Error('SFTP session ended early');
    // for (var i = 0, cb; i < len; ++i)
      // (cb = requests[keys[i]].cb) && cb(err);
  }

  if (this.readable)
    this.push(null);
  if (callback !== false) {
    this.debug('DEBUG[SFTP]: Parser: Malformed packet');
    callback && callback(new Error('Malformed packet'));
  }
};

It works.

I have actually been having the exact same issue

This should be fixed in the latest release.

Me too. I also traced the problem till the cleanup function SFTPStream.prototype._cleanup. The requests variable seem to have a callback remaining assigned in ReadStream.prototype.close.
Waiting for your support and wish you good luck in the following release

@Rommero Can you try the master branch?

@mscdex still fails =(

I have encountered the same problem using<EMAIL_ADDRESS>/<EMAIL_ADDRESS>with the stack trace also pointing to SFTPStream.prototype._cleanup.
In my case, I would connect the sshClient, start an SFTP session, use sftp.createReadStream(), pipe it into another stream, and when that other stream finishes I call sshClient.end().
I will try creating a fork of ssh2 so I can set the ssh2-streams version to 0.0.14, and see if that fixes it as @Rommero suggests.

Version 0.0.14 does seem to avoid this error for me, so for now I'm going to have to use my fork of ssh2 which locks the ssh2-streams version at 0.0.14.  Anyone else encountering this issue is free to use the fork as well -- I'll try to keep it up to date with the main ssh2 until this bug is fixed and we can safely return to the main fork.
https://github.com/realtymaps/ssh2

This should be fixed in v0.0.22.


Timing out and not reconnecting

Similar to https://github.com/happydasch/btoandav20/issues/54
I am experiencing timeouts but it my case it never recovers. Waited for 10 minutes and this was the last of it. Dis happened for at least 3-4 hours. I tried debugging v20 without success.
Data0, 0492,<PHONE_NUMBER>17, 2020-09-04T11:19:25.000000, 1.184910, 1.184910, 1.184830, 1.184830,     11, 0, 1.184932
Data0, 0493,<PHONE_NUMBER>75, 2020-09-04T11:19:30.000000, 1.184840, 1.184900, 1.184800, 1.184800,     11, 0, 1.184894
Data0, 0494,<PHONE_NUMBER>33, 2020-09-04T11:19:35.000000, 1.184800, 1.184800, 1.184780, 1.184790,      8, 0, 1.184860
Data0, 0495,<PHONE_NUMBER>91, 2020-09-04T11:19:40.000000, 1.184780, 1.184800, 1.184770, 1.184800,     11, 0, 1.184828
Data0, 0496,<PHONE_NUMBER>49, 2020-09-04T11:19:45.000000, 1.184810, 1.184900, 1.184810, 1.184900,     20, 0, 1.184824
Data0, 0497,<PHONE_NUMBER>06, 2020-09-04T11:19:50.000000, 1.184900, 1.184930, 1.184880, 1.184920,     10, 0, 1.184842
Data0, 0498,<PHONE_NUMBER>64, 2020-09-04T11:19:55.000000, 1.184930, 1.184980, 1.184930, 1.184960,     11, 0, 1.184874
Data0, 0499,<PHONE_NUMBER>22, 2020-09-04T11:20:00.000000, 1.184940, 1.185000, 1.184940, 1.184980,      9, 0, 1.184912
Data0, 0500,<PHONE_NUMBER>80, 2020-09-04T11:20:05.000000, 1.185000, 1.185060, 1.185000, 1.185060,     12, 0, 1.184964
***** DATA NOTIF: LIVE
Data0, 0501,<PHONE_NUMBER>31, 2020-09-04T11:20:09.433757, 1.185055, 1.185055, 1.185055, 1.185055,      0, 0, 1.184995
Data0, 0502,<PHONE_NUMBER>38, 2020-09-04T11:20:09.997282, 1.185065, 1.185065, 1.185065, 1.185065,      0, 0, 1.185024
Data0, 0503,<PHONE_NUMBER>42, 2020-09-04T11:20:10.391929, 1.185055, 1.185055, 1.185055, 1.185055,      0, 0, 1.185043
Data0, 0504,<PHONE_NUMBER>56, 2020-09-04T11:20:11.576372, 1.185070, 1.185070, 1.185070, 1.185070,      0, 0, 1.185061
Data0, 0505,<PHONE_NUMBER>58, 2020-09-04T11:20:11.767691, 1.185110, 1.185110, 1.185110, 1.185110,      0, 0, 1.185071
Data0, 0506,<PHONE_NUMBER>70, 2020-09-04T11:20:12.736052, 1.185095, 1.185095, 1.185095, 1.185095,      0, 0, 1.185079
Data0, 0507,<PHONE_NUMBER>72, 2020-09-04T11:20:12.933878, 1.185095, 1.185095, 1.185095, 1.185095,      0, 0, 1.185085
Data0, 0508,<PHONE_NUMBER>81, 2020-09-04T11:20:13.719048, 1.185115, 1.185115, 1.185115, 1.185115,      0, 0, 1.185097
***** DATA NOTIF: CONNBROKEN
***** DATA NOTIF: DELAYED
***** STORE NOTIF: v20 REST request to https://stream-fxpractice.oanda.com:443/v3/accounts/101-001-XXX426-001/pricing/stream?instruments=EUR_USD has timed out (stream)

After doing some debugging I found that this always happens after a "Delayed", and the line that breaks is
msg = self.qhist.get() of  https://github.com/happydasch/btoandav20/blob/master/btoandav20/feeds/oandav20feed.py#L436

***** DATA NOTIF: CONNBROKEN
***** DATA NOTIF: DELAYED
***** STORE NOTIF: v20 REST request to https://stream-fxpractice.oanda.com:443/v3/accounts/x/pricing/stream?instruments=EUR_USD has timed out (stream)
this just tells you, that there was a disconnect. this may happen because of a timeout, you internet connection goes away, ...
for the queue, this just means, it is still waiting for a reconnection. The code will continue, after the reconnection was successful. Until then, it will wait at this point.
What else would you expect to happen at the point, where no connection to the stream is available?
Also check out the param quicknotify=True when running backtrader. This will allow to show notifications, while there is no new data.
Don't get me wrong, if there is a issue, i would fix it, but this behaviour is inteded.

It could be, that there is another underlaying problem in the store, where the reconnection is happening. But i cannot reproduce this behaviour.

also, with the practice account, it is from time to time not possible to connect, the timeouts occour way more often then in live trading.

Well, the code is dying when it gets to this line and there is a TODO here which I guess has something to do with it.
The what I am seeing is that there is no connection retry. Not even after 5 hours. But if I run the code in a different terminal it starts to work again.

The lines you referenced are fine. The TODO i added for the param onlyComplete=False. This just means, when fetching data from oanda, which happened between reconnections will include incomplete candles. So you would even get a new candle within the given compression / timeframe.
That the code waits at the empty queue is also fine, since it is waiting for a reconnection.
If a reconnection does not happen, then it will be at a different place (specially in the store, where historical candles are fetched).
If you are fine debugging, check this block: https://github.com/happydasch/btoandav20/blob/4624873b87df05d27db62a2ae5faae8377449e01/btoandav20/stores/oandav20store.py#L718
especially https://github.com/happydasch/btoandav20/blob/4624873b87df05d27db62a2ae5faae8377449e01/btoandav20/stores/oandav20store.py#L745 and https://github.com/happydasch/btoandav20/blob/4624873b87df05d27db62a2ae5faae8377449e01/btoandav20/stores/oandav20store.py#L731


Cannot find type 'DynamicProperty' in scope , xcode 13 error

Hi, i am not sure why but this error is bumping up everytime i am trying to make archive, can you please guide what is wrong.
file name : SwiftUI.swift
uses combine framework.
Looking for solution.
thanks

Make sure you're using the latest version. This should have been fixed there.

You should probably also read release notes when upgrading: https://github.com/sindresorhus/Defaults/releases/tag/v5.0.0

i am sorry if i offend you but i just integrated latest version for this pod, i am not using this in my project, the only thing i added is pod. release notes would help if i am using within project.


KeyError when training the Chinese dataset

Hi, does anyone know how to fix the KeyError: ',' when training the Chinese dataset? I'm using chinese_cleaners defined here. Thank you!

fixed in latest patch.
unavailable tokens will just be skipped.

Hi, thank you so much for the fix! However, you may need to change the variable to cleaned_text in line 40 and define sequence = [] in line 38. I fix the typos in my folk.
Also, I wonder if missing the symbols like the comma , would affect my training process and results. Thank you!

Hi @p0p4k, I wonder if missing some symbols like the comma , would affect my training process and results. Thank you!

You can add missing punctuations in the punctuations list and try training with that first.


Hello

I've a 4 camera Euf cam e
The integration with home assistant works well but since few week I've one camera (entity camera.name) that does not provide image
All another entity of this camera are working and
All other camera are ok

I can do nothing on that end, sorry, all the images are coming from encrypted cloud and it needs to be pushed to integration by add-on.
You can check with bropat but there are many issues on that his end too.

I would check where events are stored and if there is space left.


R_X86_64_IRELATIVE ELF relocations not handled

Describe the bug
The ELF relocation type R_X86_64_IRELATIVE is explicitly not handled by Ghidra. In the X86_64_ElfRelocationHandler file, the case for this type has the comment: "NOTE: We don't support this since the code actually uses a function to compute the relocation value (i.e., indirect)". However, both IDA and objdump seem to handle this type quite well, at least in the example I am looking at.
Below are screenshots of output from IDA, objdump, and Ghidra for the same segment of the .got.plt segment of the libc.so.6 binary from Ubuntu 18.04 (x64).
Here is the IDA output:

Here is the objdump output:

Here is the Ghidra output:

Note that Ghidra uses a different image base than the other programs, so the addresses are 0x3eb018-0x3eb038 for IDA and objdump and 0x4eb018-0x4eb038. You can see that the last value at 0x3eb038/0x4eb038 has a relocation type R_X86_64_JUMP_SLOT and is handled well in Ghidra. However, the previous 4 values have the R_X86_64_IRELATIVE relocation types and so Ghidra just shows unhelpful values. In the IDA output you can see they are set to the addresses of functions in the binary which appears to be the expected behavior. In the objdump output, the offset shown is the offset to the associated function from the image load address (e.g., the offset shown for the relocation at address 0x3eb018 is 0x9ec70, which is the offset to memmove, matching the IDA output).
Since this binary's .got.plt section uses's this relocation type a lot, most of the section is unreadable in Ghidra.

so is it as simple as doing:
case X86_64_ElfRelocationConstants.R_X86_64_IRELATIVE:
    value = addend + elfRelocationContext.getImageBAseWordAdjustmentOffset();
    memory.setLong(relocationAddress, value);

Did this issue ever get addressed? I'm getting this issue in 9.2.2 in the following environment:
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19042 N/A Build 19042

openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)

Sorry, this appears to have slipped under the radar.  I will try to work it in sooner than later.

Corrected for Ghidra 9.2.3

@ghidra1 amazing, thank you!


Installation instruction

Hi
I follow the readme instruction to build styling and find out the BuildLessFiles target no longer exist in the Site project. I then trace back to the history and confirm it's been removed from 12.3.0.
Does Episerver intentionally remove this from the project? If yes, can you please update the readme so it won't confuse other in the future?
Thanks

For anyone struggling with this:

Instal node.js
Install less lpm install less -g
compile less file with : lessc Styles/style.less > Styles/style.css in Site folder


Add path method for KFunction1

Motivation

follow up PR of #518

Modifications

Add path method for KFunction1
Add docs for java entity.

Commit Convention Rule

Please commit your modification based by conventional commit:

Commit type
Description

feat
New Feature

fix
Fix bug

docs
Documentation only changed

ci
Change CI configuration

refactor
Not a bug fix or add feature, just refactoring code

test
Add Test case or fix wrong test case

style
Only change the code style(ex. white-space, formatting)

chore
It refers to minor tasks such as library version upgrade, typo correction, etc.

If you want to add some more commit type please describe it on the Pull Request

Result

user can provide KFunction1 to path method

Closes

#517

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

Comparison is base (85e973d) 92.11% compared to head (a8cd463) 92.14%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #521      +/-   ##
===========================================
+ Coverage    92.11%   92.14%   +0.02%
===========================================
  Files          269      269
  Lines         2942     2952      +10
  Branches       177      177
===========================================
+ Hits          2710     2720      +10
  Misses         181      181
  Partials        51       51

Files
Coverage Δ

...in/kotlin/com/linecorp/kotlinjdsl/dsl/jpql/Jpql.kt
98.32% <100.00%> (+0.02%)
:arrow_up:

.../linecorp/kotlinjdsl/querymodel/jpql/path/Paths.kt
100.00% <100.00%> (ø)

.../com/linecorp/kotlinjdsl/property/PropertyUtils.kt
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: jbl428:x: inflab-intYou have signed the CLA already but the status is still pending? Let us recheck it.


Help with the stepper pins for TMC2130 v1.1 in Marlin config

I Can't get the TMC2130 drivers to work. I am going by the "Tango.V1.schema.pdf" and setting my CS_Y,X,Z,E0 PINS to Y-63, X-59, Z-45 and E0-60 in the RUMBA_PINS tab. Does any one know the correct settings for marlin. Thanx in advance.

According to this schematic, I connect the SDI to MOSI > pin 21, SCK to SCK > pin20, SDO to MISO >pin 22 and the CS pins for X,Y,Z, and E0 to EXP3 pins 59,63,45 and 60 as in this setup:

What am I doing wrong?
Tango.V1.schema.pdf

Having the same issue with TMC5160 v1.2
On serial I receive "Testing X connection... Error: All LOW"


Remove version: Mayakron.AcrylicDNS version 2.2.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


[test/plugin] rename the package of testcases

Please answer these questions before submitting pull request

Why submit this pull request?

[x] Bug fix

[x] New feature provided

[ ] Improve performance

Related issues
#3584

We have to use this package name, org.apache.skywalking.apm.testcase.httpclient.
We don't need to type very long code for profile anymore. (This is @mrproliu 's idea. Thanks)

FYI plugin contributors.


Add description to https://referendum.signons.fr

@Mitzi-Laszlo as per our email thread with the app devs, do you want to have a look at this?

See https://github.com/solid/solid.github.io/pull/213 where I had a go at incorporating the issue. If there's anything missing, submit a pull request on https://github.com/solid/solid.github.io/blob/master/pages/use-solid/apps.md


Upgrading the UI

As your ui looks very simple i would like make some changes in your ui such that the font style and the colour background will get highlighted..so please assign me with this issue..

can i work on it anish please?

Thank you for highlighting this issue. As it has been requested by multiple contributors, we are treating it as a priority. The contributor who resolves this issue first will be given priority for their efforts. We appreciate everyone's involvement and look forward to seeing the solution.


gui_run.py finish with killed message

Hi,
I have that in my WSL when i launch gui_run.py:
[nltk_data]   Package punkt is already up-to-date!
--- spacy: 79.679 seconds ---
--- entities: 1502.808 seconds ---
--- quotes: 0.618 seconds ---
--- attribution: 0.027 seconds ---
--- name coref: 0.766 seconds ---
Killed

log_wsl.txt
Can you guide me for repair ?

Thanks for the log very helpful!
Anyway, looks like your probably running out of cpu ram,
So I guess the main questions are,
-How much ram does your computer have?
-How much ram free do you have when your running this
-how big of a book are you running through the program,

Hello,
Thanks for for your quick feedback. You have found the source of the problem, I have 16 GB of RAM on my computer, but there is 8 GB free at launch.
My ebook is 536KO.
I have use the Easy Windows 11 install in your readme for the install.
For completion, i will gie you my dxdiag file if it can help.
DxDiag.txt
I expect that there any other issue but to add a new RAM bar?
Thanks a lot :)

Nice!
Yeah you should be fine as long as you have enough ram,
So I guess it's solved lol.

Thanks a lot, and i will add some RAM, do you think 32Go will be enough ? Or will i need 64Go?

16 should be enough anyway 32 is more than enough lol,
If you wanna test it beforehand before you upgrade you can try running it in the free google colab here as well,
https://colab.research.google.com/drive/15pp2hFBo2fD3legDQfWY5DMt-aI-HKKF?usp=sharing

I will try with upgarde my VRAM on Windows 11, if that can't help i will try on Google Collab, but i m a newcomer on it...
I will send you the epub file so, when i Come back

There is the epub file : https://drive.google.com/file/d/1CYR-Y_QlDY6JT_RYNSr7xSjSnrbFQUsQ/view?usp=sharing
I will try with another epub file later, because aftercheck, i don't exceed 12Go of used RAM

lol you GOTA allow access with the link

Yes, sorry can you retry the access ask?
I have tested with Collad, that work where in WSL that crash, but due to exceed 12hours in the 3rd step, collab close the session.

Well as long as it started generating the audiobook and finished processing the book in colab then that's good lol
-just requested access again to the file


feat(uibuilder): nested collections support

Description of changes

updates lastest version of codegen v2.3.0
use AmplifyClientFactory to use same aws creds for AmplifyUIBuilder and AmplifyBackend
fetch BackendModels to create GenericDataSchema to be used with component generation
updated unit tests
allow endpoint and region to be overridden in AmplifyBackend generateBackendModels call

use env variables AMPLIFY_BACKEND_ENDPOINT &  AMPLIFY_BACKEND_REGION

Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included
[] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #10763 (bcfbb35) into dev (c31f568) will increase coverage by 0.08%.
The diff coverage is 89.09%.

@@            Coverage Diff             @@
##              dev   #10763      +/-   ##
==========================================
+ Coverage   47.34%   47.42%   +0.08%
==========================================
  Files         669      672       +3
  Lines       33085    33149      +64
  Branches     6676     6685       +9
==========================================
+ Hits        15664    15722      +58
- Misses      15740    15746       +6
  Partials     1681     1681

Impacted Files
Coverage Δ

...loudformation/src/aws-utils/aws-amplify-backend.ts
18.75% <0.00%> (-4.33%)
:arrow_down:

...der/src/commands/utils/createUiBuilderComponent.ts
72.97% <25.00%> (ø)

...-util-uibuilder/src/commands/generateComponents.ts
82.05% <85.71%> (+2.05%)
:arrow_up:

...il-uibuilder/src/clients/amplify-client-factory.ts
90.24% <90.24%> (ø)

...ckages/amplify-util-uibuilder/src/clients/index.ts
100.00% <100.00%> (ø)

...l-uibuilder/src/commands/cloneComponentsFromEnv.ts
79.31% <100.00%> (+0.73%)
:arrow_up:

...uibuilder/src/commands/utils/environmentHelpers.ts
100.00% <100.00%> (ø)

...builder/src/commands/utils/getAmplifyDataSchema.ts
100.00% <100.00%> (ø)

...c/commands/utils/syncAmplifyUiBuilderComponents.ts
92.72% <100.00%> (-1.12%)
:arrow_down:

...li/src/domain/amplify-usageData/getUsageDataUrl.ts
100.00% <0.00%> (+12.50%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


timeseries cuts off last date on the x-axis

you can see on the c3 site also.
http://c3js.org/samples/timeseries.html

+1, seeing this behavior too.

Please use padding.right to set enough value to show it.
I don't think the padding should be calculated by tick text because its position and width will be change according to the data loaded in the chart and the domain currently shown.

Let me close at the moment.

Just as a general note to anyone else looking for a solution to this problem:
I couldn't get (forgive the coffeescript) this to work
x:
  type: 'timeseries'
  padding:
    right: 6

so instead I put the padding on the chart
c3.generate
  padding:
    right: 6


How to get grid-stack cursor position?

https://jsfiddle.net/vxpkwpge/
I am creating grid stack item using HTML5 drag and drop, while drop I am creating the grid stack item, I have to give predefined X, Y position,but  I want get drop position of gridstack, so I can pass that value to gridstack x,y

Hi, @mohan4ghz ! gridstack.js actually has a  drag-and-drop between grids and from a sidebar. Have you tried that?

Closing due to inactivity. Please reopen if still an issue.


Fast forward kubefed to rc5

What this PR does / why we need it:
Update downstream to rc5
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes # upgrade to rc5
Special notes for your reviewer:

/hold

/hold cancel

/lgtm


Don't build/run forc tests - they're already run during CI. Refresh manifests.

The new forc tests try to do some file I/O that's unpermitted in the Nix sandbox. This disables them as they're not required anyway.

I've also updated the refresh-manifests script to account for the move of forc-explore to its own repo.


ColorTool needs CI fixing

We need to do one of two things:

Merge the ColorTool SLN in with the OpenConsole SLN and just have one SLN.
Add another CI pipeline for ColorTool's SLN (since the OpenConsole one runs that one only) and set both pipelines to only operate on changes that are relevant to themselves.

We can perhaps use the Azure CI "export existing pipeline as yaml" button.


[cmake] update cmake test port

required for transition to qt6

The failures on x64-linux:
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory

See also #16845 where this test port seems to conflict with a newer version of libarchive.

@Thieum have you reported it to upstream cmake?

@Neumann-A no, I wasn't sure if it was a cmake issue, or a vcpkg issue. I didn't try to build cmake outside of the vcpkg context to tell if it can do so with the newest version of libarchive. I got mixed results with the automated tests: static builds seem to pass, but not the dynamic one.


nav style is not using css var

Describe the bug
The nav style missed a place to use css vars (for box shadow):
.nav {
  display: flex; //For the elements inside the nav
  height: $clr-subnav-height;
  list-style-type: none;
  align-items: center;
  box-shadow: 0 (-1 * $clr_baselineRem_1px) 0 $clr-nav-box-shadow-color inset;

How to reproduce
Using the light theme and overriding the css vars (with dark theme colors for example) the undeline of the navbar remains white. This because of hard coded colors.
Expected behavior
The navbar to use css vars
Versions
Clarity project:

[ ] Clarity Core
[x] Clarity Angular/UI

Clarity version:

[ ] v3.x
[x] v4.x
[x] v5.x

Framework:

[X] Angular
[ ] React
[ ] Vue
[ ] Other:

Framework version:
Angular 10/11

I believe a fiix for this was merged with PR #5856


UI: Fix React BriefMessage breaking toast display.

This validates that if a reactNode is present, it should be used as the briefMessage rather than being put directly in the output (which was throwing an error)
Also changed the additional <br/> that was added in #4895 for a solution closer to the previous behavior (display: "block" instead of a new line, as this have a bigger impact when the briefMessage is a react node.
Fixes #5081

@Mergifyio backport release/3.6.x release/3.7.x


Suggestion

I use a virus that is 700 MB. I normally leave it to infect a large list while I do stuff irl. and I dont want to waste 1 hour on 1 server that will never make any money. I suggest the ability to not upload a virus to a server on 1mb/4mb servers.

Have you ever tried to use time limit?
You can ignore servers that will take too much time.
Just specify the time limit in seconds.

@perfilrobo Oh its a time limit, it said wait until so I thought it'd wait 10 minutes on 1 host. thanks.


onPressed: Get.back doesn't work

ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS.
Fill in the template. Issues that do not respect the model will be closed.
Describe the bug
onPressed: Get.back doesn't work
however, this works: onPressed: () => Get.back(),
but, this linter that i want to keep is catching it: https://dart-lang.github.io/linter/lints/unnecessary_lambdas.html
i don't want to use below to avoid the linter:
onPressed: () {
                          Get.back();
                        },

Reproduction code
NOTE: THIS IS MANDATORY, IF YOUR ISSUE DOES NOT CONTAIN IT, IT WILL BE CLOSED PRELIMINARY)
class BackNavButton extends StatelessWidget {
  final double iconSize;

  const BackNavButton({
    Key key,
    @required this.iconSize,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(
        backNavIcon,
        color: headerItemColor,
        size: iconSize * backNavIconSizer,
      ),
      onPressed: Get.back,
    );
  }
}

To Reproduce
Steps to reproduce the behavior:

try to use the onPressed
it will do nothing

Expected behavior
for it to go back
Screenshots

Flutter Version:
Flutter 1.24.0-10.2.pre • channel beta •
Getx Version:
get: ^3.24.0
Describe on which device you found the bug:
Android.
Minimal reproduce code
see Reproduction code section.

With the reproduction code bellow, I can confirm that the problem does not occur.
If you believe this is a bug, open the issue with the valid reproduction code.
import 'package:flutter/material.dart';
import 'package:get/get.dart';

void main() {
  runApp(GetMaterialApp(home: First()));
}

class First extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('fisrt page'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            RaisedButton(
              child: Text('Go to second'),
              onPressed: () {
                Get.to(Second());
              },
            ),
          ],
        ),
      ),
    );
  }
}

class Second extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('second'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            IconButton(
              icon: Icon(
                Icons.arrow_back,
              ),
              onPressed: Get.back,
            ),
          ],
        ),
      ),
    );
  }
}

sorry for the false alarm. i tested it multiple times earlier, and 'Second ' widget example wasn't working for me. but, now it is! thanks for confirming it's not a problem!


Non-finite values of IEEE 754 floats are not decodable

Ok, maybe you don't even wanna support this. But it would be nice to specify if this is on purpose.
Aeson 2 can roundtrip plus/minus infinity and NaN just fine:
repl> Data.Aeson.decode @Double $ encode @Double ((1)/0)
Just Infinity
repl> Data.Aeson.decode @Double $ encode @Double ((-1)/0)
Just (-Infinity)
repl> Data.Aeson.decode @Double $ encode @Double ((0)/0)
Just NaN

But Hermes can't decode these encodings:
repl> newtype Person = Person Double deriving (Eq, Show)
repl> personDecoder = Data.Hermes.withObject $ \obj -> Person <$> atKey "lol" double obj
repl> Data.Hermes.decodeEither personDecoder $ "{\"lol\": " <> (toStrict $ encode @Double ((1)/0)) <> "}"
Left (SIMDException (HError {path = "/lol", errorMsg = "Error while getting value of type double. The JSON element does not have the requested type.", docLocation = "\"+inf\"}", docDebug = "json_iterator [ depth : 2, structural : '\"', offset : 8', error : No error ]"}))
repl> Data.Hermes.decodeEither personDecoder $ "{\"lol\": " <> (toStrict $ encode @Double ((-1)/0)) <> "}"
Left (SIMDException (HError {path = "/lol", errorMsg = "Error while getting value of type double. The JSON element does not have the requested type.", docLocation = "\"-inf\"}", docDebug = "json_iterator [ depth : 2, structural : '\"', offset : 8', error : No error ]"}))
repl> Data.Hermes.decodeEither personDecoder $ "{\"lol\": " <> (toStrict $ encode @Double ((0)/0)) <> "}"
Left (SIMDException (HError {path = "/lol", errorMsg = "Error while getting value of type double. The JSON element does not have the requested type.", docLocation = "null}", docDebug = "json_iterator [ depth : 2, structural : 'n', offset : 8', error : No error ]"}))

Given that people are likely to use this library as a replacement for Aeson, I think it would be useful to point out differences like this.

I suppose it's possible to write a decoder that would exhibit this behavior, but we would likely lose performance as it's not supported by simdjson: https://github.com/simdjson/simdjson/issues/1540

It could be offered as an optional option for those that want to sacrifice performance for compatibility. Here is an implementation, what do you think?
diff --git a/src/Data/Hermes.hs b/src/Data/Hermes.hs
index ef8eff4..5d5e52c 100644
--- a/src/Data/Hermes.hs
+++ b/src/Data/Hermes.hs
@@ -29,6 +29,7 @@ module Data.Hermes
   , atKey
   , atOptionalKey
   , atOrderedKey
+  , atKeyNonFinite
   -- * JSON pointer decoder
   , Pointer
   , mkPointer
@@ -745,6 +746,15 @@ bool = getBool
 double :: Value -> Decoder Double
 double = getDouble

+atKeyNonFinite :: Key -> Object -> Decoder Double
+atKeyNonFinite key obj = do
+  mString <- atKey key (nullable string) obj
+  case mString of
+    Just "+inf" -> pure $ 1/0
+    Just "-inf" -> pure $ (-1)/0
+    Just _ -> fail "Expected either a null or the strings 'inf' or '-inf'"
+    Nothing -> pure $ 0/0
+
 -- | Parse a Scientific from a Value.
 scientific :: Value -> Decoder Sci.Scientific
 scientific = withRawByteString parseScientific

In testing:
repl> newtype Person = Person Double deriving (Eq, Show)
repl> personDecoder = Data.Hermes.withObject $ \obj -> Person <$> (atKey "lol" double obj <|> atKeyNonFinite "lol" obj)
repl> Data.Hermes.decodeEither personDecoder $ "{\"lol\": " <> (toStrict $ encode @Double ((1)/0)) <> "}"
Right (Person Infinity)
repl> Data.Hermes.decodeEither personDecoder $ "{\"lol\": " <> (toStrict $ encode @Double ((-1)/0)) <> "}"
Right (Person (-Infinity))
repl> Data.Hermes.decodeEither personDecoder $ "{\"lol\": " <> (toStrict $ encode @Double (0/0)) <> "}"
Right (Person NaN)

One problem is that with this error message, it could be confusing to the user because of how Alternative doesn't allow for composing error messages. It doesn't tell the user a JSON numeral is a valid value. One way to fix that would be to use https://hackage.haskell.org/package/validation .
repl> Data.Hermes.decodeEither personDecoder $ "{\"lol\": \"evil string\"}"
Left (InternalException (HError {path = "", errorMsg = "Expected either a null or the strings 'inf' or '-inf'", docLocation = "}", docDebug = "json_iterator [ depth : 1, structural : '}', offset : 21', error : No error ]"}))

I implemented your approach and benchmarked it against doubleNonFinite from #5. Composing double with atKeyNonFinite is 5x slower than double, and doubleNonFinite is worst-case 2x slower than double, at least on my machine.
Let me know if that looks good to you, or if you think we can do better here.


vcpkg-rs breaks cargo install of apps using curl-sys for msvc abi builds

Can you help check my thinking here? TL;DR is vcpkg probably needs to be off by default.
I should have seen this coming, but the original intent was to link statically by default, which turned out not to be possible because the static libraries in Vcpkg require a static CRT.
The vcpkg-rs build helper will link to dlls in a Vcpkg installation in a typical build. It finds an installation if VCPKG_ROOT in the user's env points to it. (This is something that some percentage of VC++ users are going to have set, it's not specific to the build helper.) cargo install of anything using curl, libssh2, zlib is not going to work for them since the dll versions are chosen in preference to the internal statically linked versions. At least one person, @pravic has hit this in the day that curl-sys 0.3.12 has been out.
The only solutions I can think of are:

make vcpkg-rs a no-op unless another variable is set (VCPKGRS_ENABLE=1?)
rip the support out of curl-sys and friends

I'll push out a vcpkg-rs 0.2.2 that requires an explicit enable unless you have any better suggestions.
Regarding option 2, can you comment on whether a build like this is possible:
(rust-exe+static curl) -> (some.dll) -> (curl.dll)

because if it is, there might not be a whole lot of point in having the support in curl-sys at all? It seems like you would want to be able to use an external curl.dll but if there is no upside, maybe it would be better to just not do it.
It's probably not a huge deal to make it opt-in now that it can't be static by default. A big part of the point was to try to make cargo install easier. If someone has to set RUSTFLAGS for static CRT, it's not a big deal to set another variable also.
Thanks and sorry for the extra work.
cc @retep998 because Windows

Ah yeah I'm not too familiar with vcpkg and the inner workings there, so I'm fine to go along with whatever you think is best. It seems reasonable to me though to try to turn off vcpkg by default in "reasonable situations". Presumably the vcpkg crate could detect whether it's compiling with the static crt and enable/disable itself accordingly?

We might be able to add *-windows-static-md triplets which make static lib + dynamic runtime more accessible out-of-the-box, though it still wouldn't be the default for vcpkg install <X>.
How does pkg-config get around this issue -- doesn't it also conflict with the internal statically linked versions?
Also, I'm still a bit fuzzy on why shared libraries cause such a problem... is it because the loader doesn't find them when you launch your compiled rust application and cargo doesn't have a post-build step to copy them to the output folder?

and cargo doesn't have a post-build step to copy them to the output folder?

No, vcpkg-rs is able to copy DLLs to cargo's output.

@ras0219-msft, the cargo install mechanism is basically "build an executable and copy it to $HOME/.cargo/bin". At this point it doesn't drag along any dependent libraries.
I think it typically works for pkg-config even if it chooses dynamic libraries because the libs are in a location that the loader will find, like /usr/bin or /usr/local/bin. If you are building your own customized version of curl you're probably not going to be surprised by having to set your library search path.

By the way, the Vcpkg/vcpkg-rs dynamic linking case works really well with cargo test etc, it just can't be on by default right now because of the poor interaction with cargo install.

Ah ok, so pkg-config (on win/msvc) would have this exact same issue then?
There might be a way to generate an application manifest[1] (which can be put inside the exe!) to redirect the loader[2] -- I think it has similar capabilities as RPATH on other platforms, though I'll need to consult some experts ;).
[1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa374191(v=vs.85).aspx
[2] https://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx

This is all way off topic, but...
I'm getting out of my area, but I think that if you are a rust -pc-windows-gnu toolchain user and you build from a command prompt you will tend to get the built-in version and if you build from an msys2 prompt you will get the builtin version unless you have installed stuff with pacman in which case your paths are likely to be good to find the shared libraries because you are running under msys2.
I'm all ears about the application manifest thing. In particular it would be useful to achieve the same result as RPATH=$ORIGIN/../lib which some of the rust toolchain binaries have set. I was not able to see how to do that.

I just published vcpkg 0.2.2 which now requires VCPKGRS_DYNAMIC to be set in order to link dynamically. This should stop Vcpkg users getting "DLL not found" after cargo installing things that depend on curl-sys or libz-sys.


docs: fixed wrapping react link

All Submissions:

[X] Have you followed the guidelines stated in CONTRIBUTING.md file?
[X] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)

Fixes #2096
Fixed the wrapping react link.

@Shreyas0410 do you mind also making this correction in the translated README?

@masenf ok i will do it.


Switching profiles is removing the color theme setting

Steps to Reproduce:

Have a profile with following settings

{
    "window.autoDetectColorScheme": true,
    "workbench.preferredDarkColorTheme": "Abyss",
    "workbench.colorTheme": "Abyss",
    "workbench.preferredHighContrastColorTheme": "Abyss",
}

From this profile, create a Doc Writer Profile - Settings > Profile > Create Profile... > Doc Writer
🐛 Theme of Doc Writer profile was reset to Abyss

CC @joaomoreno

I am getting this as well. It just gives me a a warning in the new profiles settings page:
I am using a custom local theme that I have been maintaining for several years now, so it is just installed on my PC. Is there somewhere I need to put it so that it is seen by other profiles? Currently it is in ~/.vscode-insiders/extensions/. I am not seeing a place exactly to put it in ~/.config/Code - Insiders/User/profiles/*
This setting cannot be applied while a non-default profile is active. It will be applied when the default profile is active.
Theme is unknown or not installed.(1)


How to configure account?

Where do you configure the account settings?

Hi!
Issues #141 and #142 are addressing this issue. They'll be out soon :)

How soon? :)


Bump maven-core to 3.9.6 and drop needless plexus-utils

Updating to the latest maven-core makes we can drop the plexus-utils dependency
(see also https://github.com/apache/avro/pull/2619 )

@martin-g / @RyanSkraba I found the issue which you mentioned https://issues.apache.org/jira/browse/AVRO-3273 which is explicitly about supporting historical versions of maven (like Flink is using maven 3.2.5 ... from 2014-12-14 ?!?!?).
Because this is all about build environments (and not runtime!) I simply vote for keeping this at the latest stable released version (currently the 3.9.6).
Anyone building software should keep up with security updates.
And Flink already moved to force using 3.8.6 (probably because of docker images): https://github.com/apache/flink/blob/master/pom.xml#L1883-L1885
NOTE: Subtle: 3.8.6 vs 3.9.6
I see Maven 4 (when released) as a separate discussion point because that is a much bigger update.

@nielsbasjes Thanks for fixing this, can you rebase against main?

@Fokko Done.

@nielsbasjes Thanks, let's see if the tests are less flakey this time 🙏

@Fokko

The flakyness of the CI is mainly in the ARM area. See https://issues.apache.org/jira/browse/INFRA-25464
This change is about a dependency that is needed for supporting an ancient Maven version and cannot be updated anymore.

My reluctance for merging this is because @RyanSkraba essentially did the exact reverse of this a few years ago because of downstream users.
I think we should expect both our own and the downstream build environments to always be fairly up to date. Backwards compatibility (like Java 8) should only apply to the final running software. So I say we should do this change.

I see, thanks for the context. https://github.com/apache/avro/pull/1436 is the relevant PR.
It looks like Flink already bumped their Maven version: https://github.com/apache/flink/blob/9caa3bbb042901aabb84b33098c18af13e026a57/pom.xml#L1886

@nielsbasjes Yes, I think we can merge this 👍


What's the Age of the Access Token and Refresh Token and Can I change it?

Hi!
I was trying to look at the docs but wasn't able to find anywhere mentioning the age of the access token and refresh token.
Also, can I change their age?
Thanks so much!
Anatol

@anatolzak dj-rest-auth doesn't handle JWT settings, by default access token lives for 5mins and refresh token lives for 1 day. Check djangorestframework-simplejwt for more info.
You would want to add something like this in your settings.py
`# Django project settings.py
from datetime import timedelta
...
SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(minutes=5), #change this value to whatever you want it to last
'REFRESH_TOKEN_LIFETIME': timedelta(days=1),
...
}`


[dx12] coerse image views to arrays

Fixes the ability to create 2D views out of 2DArray images.
PR checklist:

[ ] make succeeds (on *nix)
[x] make reftests succeeds
[ ] tested examples with the following backends:
[ ] rustfmt run on changed code

Assigning a array view to a non-array resource on shader side is fine?

Apparently! It's not like we have a choice anyway :) And yes, the debug layer doesn't complain.

Could you add an additional condition for non-0 base array level to use arrays?
Else looks fine for me

Could you add an additional condition for non-0 base array level to use arrays?

Could you clarify this please?
What this is doing is switching to XxArray view kind whenever the source image is an array. So it doesn't care if the view is 0-base or not.

My bad, I mixed something up
bors r+


Error in variable initialisation

When using the preprocess command with only the -o argument, the code crashes with the following
UnboundLocalError: local variable 'train_files_vars' referenced before assignment

This is because in the following extract
https://github.com/saltudelft/type4py/blob/93828c3d1a3460dc29cace398ca0dcb10ea14daf/type4py/preprocess.py#L302-L319
the train_files_vars variable is only initialised in the if branch

Thank you @gousiosg for posting the issue. I have fixed the issue and pushed the fix to the main branch.

Thanks @mir-am, I can confirm that this works.


feature: ability to embed the map within the struct

I'm working on the COSE library with built-in CWT support by using your powerful library. I would like to have the ability to embed the map keys (with their corresponding values) in to the parent struct definition (for example, by specific tag or the conditional mix of them). The idea is to keep the key type by using the specific tag (keyasint) within the parent structure on the anonymous embedded map type. PR's are welcome? :)

Currently, the embedded struct (within the parent struct) with a fields will also be encoded as a CBOR map. What if to involve a struct tag (for example, 'embed') which usage will trigger the inner fields (and kv of Go map as well) embedding of the target embedded struct to the parent struct on encoding?


Eclipse update site down

The Eclipse update site mentioned on https://wiki.eclipse.org/LWJGL_Plugin is down (404).

That's because there is a new homepage for LWJGL3.
The old homepage is available at http://legacy.lwjgl.org/ and the update site should be http://legacy.lwjgl.org/update/

Thank you!


feat: Add Flask server API with Query Parameters to configure downloads. Add screenshots.

Considering that ctdl is a python package, I think it will be better to not incorporate flask server here. Maybe you can use server.py as a standalone script or put it in an examples folder.
Thanks.

On my fork when I run with ctdl it doesn't recognise the arguments, but when I run with python ctdl/ctdl.py it works fine. Do you know why?
$ ctdl -f pdf -l 10 -minfs 10000 -maxfs 100000 -nr -p "python algorithm"
usage: ctdl [-h] [-f FILE_TYPE] [-l LIMIT] [-d DIRECTORY] [-p] [-a] [query]
ctdl: error: unrecognized arguments: -minfs -maxfs 100000 -nr python algorithm

It is because  ctdl command calls the pypi ctdl package.
If you want to test your version, you can pip install it first like this:
sudo pip install -U .
in your local ctdl package directory.

Ok, I ran pip install -U ., and then ran ctdl -f pdf -l 10 -minfs 10000 -maxfs 100000 -nr -p "python algorithm", but it gave me the following error:
  File "~/miniconda3/lib/python3.6/site-packages/ctdl/ctdl.py", line 9, in <module>
    from downloader import download_series, download_parallel
ModuleNotFoundError: No module named 'downloader'

so I opened the package file ~/miniconda3/lib/python3.6/site-packages/ctdl/ctdl.py and manually changed it lines 9 and 10 to the following with . prefixes,
from .downloader ...
from .utils ...

then it worked successfully

Oh yes. You should have added '.' prefixes as you are gonna use it as package now.

@nikhilkumarsingh I have updated the Pull Request taking your feedback into account.
I have moved the Flask server into an "examples" folder.
I have also fixed the Readme.
The idea of integrating Query Parameters using Flask is to give the option of building a front-end website GUI where the user can select the configuration from drop-downs and input fields, then click submit and it will process the download (and possibly even show the tqdm progress bar in-browser)

@nikhilkumarsingh I fixed the following discrepencies:

Removed the old ctdl/server.py since we are using examples/server.py now
Replaced the screenshots to show calling python examples/server.py

Please resolve the conflicts. Thanks.

Conflicts resolved instead in https://github.com/nikhilkumarsingh/content-downloader/pull/14


bug: App blocked after privacy screen

Plugin version:
>= 4.1.0
Platform(s):
iOS
Current behavior:
Privacy screen blocks interaction with the app after it got shown. We also observed that the screen went black while leaving the app, this happened not all the time. In our case we try to share some content and if we return to the app it looks frozen to the user. App switching is still possible, the web itself is also fine, but interaction is blocked (like a glass pane will prevent interaction).
Expected behavior:
Privacy screen should not impact normal app flow.
Steps to reproduce:
We created a simple capacitor 5 app to demonstrate the problem.
https://github.com/qHerren-Ergon/privacy-screen-demo-app
Setup:

checkout
npm install
npm run build
npx cap sync ios
npx cap open ios
Adjust signing team and app identifier to run the app

Reproduction:

start the app, two buttons are shown and lots of text, scrolling is possible
click Enable Privacy!
verify in the app switcher, that the cover is shown and the app is still responding
click Share!
the system share dialog is shown, you can share to an app or just close it and return to the app
(!) the app does not respond to input anymore, try to scroll or click to a button

Our analysis:
It looks like the privacy element added to the view hierarchy is not removed correctly when returning to the app (and its size is very small).
This behaviour was introduced with 4.1.0 with the screenshot prevention feature. Our workaround was to use the 4.0.0 version of the plugin.
Related code:
see reproduction
Other information:
If the reproduction steps are not enough, we could also create a video to show the behaviour.
Capacitor doctor:
> npx cap doctor
💊   Capacitor Doctor  💊

Latest Dependencies:

  @capacitor/cli: 5.4.2
  @capacitor/core: 5.4.2
  @capacitor/android: 5.4.2
  @capacitor/ios: 5.4.2

Installed Dependencies:

  @capacitor/cli: 5.4.2
  @capacitor/core: 5.4.2
  @capacitor/android: 5.4.2
  @capacitor/ios: 5.4.2

[success] iOS looking great! 👌
[success] Android looking great! 👌

Please try the latest version of the plugin.

Cool, thank you very much for the fast reply. The issue with the config not respected is solved.
The more important issue with the app not responsive anymore still exists, even with the new version.

Your reproduction example still uses version 4.2.0 which is not the latest version.

Please also update the issue description if some issues are already resolved.

I updated the description and the demo app.

I can now reproduce the issue. Unfortunately, I have no idea what the problem could be.
@dtarnawsky Can you take a look at this?

Spent a few hours on this today and haven't been able to resolve it yet.

@dtarnawsky Yes, same here. I'm thinking about reverting #59. This feature is currently causing a few issues, unfortunately. :/ What do you think? Do you have any other idea?


xdomain example causes console error

Using the docs example code... http://blog.apps.npr.org/pym.js/#examples
var pymParent = new pym.Parent(iframeUid, iframeUrl, { xdomain: '*\.npr\.org' });

...leads to this error:
Uncaught SyntaxError: Invalid regular expression: /*.npr.org$/: Nothing to repeat

@ChrisBAshton We are actively working on a new release (1.0.0) that should be delivered by the end of  August where we are going to improve docs. Thanks for letting us know that this example is not working, we will take a look at that.


[WIP] add remaining config details to export config, denormalize on batch c…

…reation, and populate export files
fixes #253

PTAL
This introduces the concept of SignatureInfo - an export config can be linked to many signature infos.
For each non-expired signature info, the export batch is signed with each signer.
This allows for different signers for different platforms and rotation of the signing keys.
Keeping the hold - want to test this more on Monday

Wait wut. It has a hold label. Prrrrooooowwww


--dir option causes crash when modifying files

For me at least, react-email does not seem like having the root package.json be in a different folder than the email templates.
When I run pnpm exec email dev --dir apps/email/dir (or yarn equiv), when making changes the server crashes with
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^
NestedError: Cannot copy `ROOT/apps/email/emails/email/emails/stripe-welcome.tsx`: the file doesn't exist
    at ROOT/node_modules/.pnpm/cpy@8.1.2/node_modules/cpy/index.js:96:10
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async FSWatcher.<anonymous> (ROOT/node_modules/.pnpm/react-email@1.7.10/node_modules/react-email/dist/source/utils/watcher.js:37:9) {
  nested: undefined,
  name: 'CpyError'
}

It seems to "double" look for the emails, adding email/emails after that has already been added.
CodeSandbox that reproduces this issue (with Yarn, without NX): https://codesandbox.io/p/sandbox/sleepy-water-1vh8oi?file=%2Fapps%2Femail%2Femails%2Fnotion-magic-link.tsx&selection=[{"endColumn"%3A52%2C"endLineNumber"%3A1%2C"startColumn"%3A52%2C"startLineNumber"%3A1}]

https://github.com/resendlabs/react-email/pull/445 fixes this if you want to pull in the patch yourself

We also pushed https://github.com/resendlabs/react-email/pull/460, let me know if you still have any issues with it.

Exact same issue still occurs, see https://codesandbox.io/p/sandbox/naughty-hamilton-905g9d?file=%2F.codesandbox%2Ftasks.json&selection=[{"endColumn"%3A25%2C"endLineNumber"%3A24%2C"startColumn"%3A25%2C"startLineNumber"%3A24}]

@bukinoshita hey would you please release on NPM thus we can use it?


<IP_ADDRESS>.3.0

This PR updates the partner version to <IP_ADDRESS>.3.0 for release.
DO NOT MERGE

Released: https://github.com/ChartBoost/chartboost-mediation-android-adapter-pangle/releases/tag/v<IP_ADDRESS>.3.0


largeop="true" does not render intersection symbol correctly

When rendering intersection symbol with largeop="true", the symbols are both rendered the same size with only a shift in y-axis.
MathML: <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>∪</mo><mo largeop="true">∪</mo></math>
Expected result:

MathJax Render:

Technical details:
MathJax Version: Latest (Using demo page) https://mathjax.github.io/MathJax-demos-web/input-mml2svg.html
Client OS: Mac
Browser: Chrome Version 103.0.5060.114 (Official Build) (64-bit)
Renderer: MathML to SVG

If you want a large operator (that corresponds to \bigcup in TeX), then you want to use U+22C3 not U+222A.  The U+222A character is the binary union operator, while U+22C3 is the n-ary large operator.  MathJax only has one size of U+222A, but has small and large versions of U+22C3.  The vertical shift is because largeop=true also causes the operator to be centered on the math axis, while the original character isn't quite centered.


update/peer-dependencies

please bump the vue-class-component dependency, if possible
it appears to be working just fine but I haven't run any formal tests

The current version is already ^6.0.0 and it throws yarn warnings if you
have 7 side by side.
On Thu, 14 Mar 2019 at 23:30 katashin<EMAIL_ADDRESS>wrote:

@ktsn requested changes on this pull request.
In package.json
https://github.com/ktsn/vuex-class/pull/48#discussion_r265831604:

@@ -64,6 +64,6 @@
"peerDependencies": {
"vue": "^2.5.0",
"vuex": "^3.0.0",

"vue-class-component": "^6.0.0"

"vue-class-component": "^7.0.0"

Could you include ^6.0.0 because it should be compatible with both? So it
will be ^6.0.0 || ^7.0.0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ktsn/vuex-class/pull/48#pullrequestreview-214844314,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASb5jM-vyS3DKMlxTW9plXC9nY-aeiuIks5vWwXCgaJpZM4b0vTs
.

@oakromulo What do you mean by that? ^6.0.0 || ^7.0.0 won't throw the error because it accept version 7.