Design CLI API

We need to design the CLI API for this package.
In https://github.com/pyodide/pyodide/issues/3573#issue-1580936524 @bollwyvl proposed,
$> pyodide-index path/to/wheels/folder
Wrote 200 packages to path/to/wheels/folder/repodata.json

and I agree this is the direction. Though given the current name of this package, it would also be more logical to call it pyodide lock IMO.
Also we need to keep in mind that the resulting lockfile  would need to include information about the unvendored stdlib modules (and Python version). So it needs to have access to the original pyodide-lock.json (either via the pyodide version and looking at the CDN or by providing a path/URL to it). The difference with respect to conda index producing the repodata.json is that there,

they can have multiple Python versions
as far as I understand, they don't care that the included files may have some conflicts. The dependency resolution would really happen only at runtime when running conda install and combining indexes from different channels.. While in our case, by design once pyodide-lock.json  is generated the dependency resolution is already done. So any package would be guaranteed to be installable with trivial dependency resolution (there is a single version for each package, and we can just ignore versions).

There are two use cases,

Adding/updating packages with actual files being stored on some remote CDN. In this case, extra entries in the pyodide-lock.json don't matter, since they would only load if explicitly imported, and we don't necessarily need to download all the included files locally IMO. Here I was thinking of taking something like a requirements.in as input (as in pip-tools) which would compute a consistent dependency graph merging the original pyodide-lock.json with the requirements in  requirements.in and combine both (not easy).
Including only a subset of packages for a given application, and ship them alongside pyodide-lock.json for reproducibility. This is closer to the use case of https://github.com/pyodide/pyodide-pack: BTW I'm changing a bit the focus of that package away from rather an experimental module stripping via runtime detection to any kind of package/wheel minification. So the wheel files would be modified by that tool, but the end pyodide-lock.json would be still generated by this project.
The challenge with this use case is that even given a list of wheels in some folder, we still need to verify that there are no missing requirements and that the dependency graph is consistent, so we need a resolver that would understand the wasm platform for finding compatible wheels.

Anyway, it's still early day, this needs more discussion. My current idea is to iterate on the implementation that would work well in practice for these use cases, while only pushing alpha releases to PyPI. Any API in this package is considered unstable and can be completely changed.
Please let me know if you have any other ideas about how this should work.
@hoodmane @ryanking13

Also we need to keep in mind that the resulting lockfile would need to include information about the unvendored stdlib modules (and Python version).

This is something that continues to bug me: there are modules that are required to be included, and because of that, when creating a lockfile externally, there is a dependency on the original lockfile or Pyodide.
I'd prefer the second option, to create a separate lockfile from the original pyodide-lock file, but I don't have any concrete ideas, and I suspect that this would cause version conflicts between duplicate packages.

The way the in-flight jupyterlite PR works is by:

generating partial lockfiles

these wouldn't be sufficient to run anything

layering them, by name, on top of the as-loaded runtime with whatever index is hosted with it

this could be hoisted/normalized in pyodide's initializer with e.g. extraLockUrls: []

this could be non-destructive, which might be better, and potentially support "punch-out" by setting a name to a null (ick!)

The concrete things this solves there:

auto-install-on-import
replacing packages in the pyodide stdlib

IPython has an optional dependency on jedi/parso (but still downloads them)

we haven't been able to make jedi work well enough in jupyterlite to use, so would rather replace it with dummy shims to save a couple megabytes on the wire

per-PR docs builds of packages that are in the pyodide stdlib and really just want one different

no missing requirements and that the dependency graph is consistent,

Nobody likes building another package manager, of course. This is a place where a JSON schema can't do the job, but the more declarative options are... heavy. In the above PR, i opted for is there a missing named dependency, but fully validating the whole smorgasbord of "semver" operators would all but certainly entail another dependency, e.g. dparse.

Thanks for the feedback @bollwyvl !
I'm opened more focused follow up issues, where each potential approach can be discussed in more details, so we can choose which way we go,

micropip.freeze() → pyodide-lock.json https://github.com/pyodide/pyodide-lock/issues/8
partial lockfiles https://github.com/pyodide/pyodide-lock/issues/8
using a dependency solver https://github.com/pyodide/pyodide-lock/issues/10

As an absolutely minimal first step, it would be good to just enable dependency fixup, as it is done in micropip now - so that if you had created a folder of all the wheels and dependencies you want in the json, it can add them to the json with correct dependencies.
That way it would fit with the existing pyodide-build support for building modules with dependencies included. Gives an initial workflow for making pyodide-lock.json for arbitrary modules and deps with current tools.

Yes, I agree we could start with that.

Take a look at this PR - #20
With that PR, If you build a bunch of wheels using pyodide build --with-dependencies, then make a lockfile with pyodide lockfile add-wheels dist/*.whl, you have a lockfile which should work nicely in pyodide (with dependencies resolving nicely etc.).


How can I get the number of intermediate layer before training?

For example:
It's easy to get the number of  a certain layer by applying K.function when we have obtained the trained model:
"layer_1 = K.function([base_model.layers[0].input], [base_model.layers[243].output])"
what if I only have the model.py file, and can't train the network, how can I get the number of a certain layer?

Load your model, then
for i, layer in enumerate(model.layers):
    print i, layer

i is what you want.


Press and hold with keyboard mappings causes button repeat

MLB the Show 2022 is a game where I noticed this case. During cut scenes you can press and hold the A button on the controller to skip the scene. When I attempt this using the keyboard mapping to the A key, it performs a repeat keypress which makes it impossible to skip these scenes. While I recognize this could actually be counter productive for games where keypress repeat will be beneficial I am not sure if this can be addressed in anyway that would be beneficial to the overall usage of this wonderful app. If there is anything that can be done to provide a press and hold feature that would be great. If not completely understood and of course this would be extremely low priority as I don't see this being mentioned by anyone else.

v2.0.0-beta2 has been released with an improvement for keyboard control. Please try that version.


Better handle ES6 source

Expected behavior
bankai start, bankai build, and bankai inspect work with ES6, or produce actionable error messages.
Actual behavior
When handling ES6 source, bankai start fails with:
SyntaxError: Invalid assignment while parsing file: /Users/seththompson/code/readrc/viewer/test/index.js
    at JS_Parse_Error.get (eval at <anonymous> (/Users/seththompson/.homebrew/lib/node_modules/bankai/node_modules/uglify-js/tools/node.js:27:1), <anonymous>:86:23)

bankai build fails with:
11:23:12 🚨  bankai Invalid assignment while parsing file: /Users/seththompson/code/readrc/viewer/test/index.js

and bankai inspect fails with:
TypeError: Cannot read property 'apply' of undefined
    at Stream.method [as destroy] (/Users/seththompson/.homebrew/lib/node_modules/bankai/node_modules/duplexer/index.js:47:38)
    at /Users/seththompson/.homebrew/lib/node_modules/bankai/node_modules/pump/index.js:43:45
    at call (/Users/seththompson/.homebrew/lib/node_modules/bankai/node_modules/pump/index.js:50:3)
    at Array.forEach (native)
    at /Users/seththompson/.homebrew/lib/node_modules/bankai/node_modules/pump/index.js:70:25
    at f (/Users/seththompson/.homebrew/lib/node_modules/bankai/node_modules/once/once.js:25:25)
    at PassThrough.<anonymous> (/Users/seththompson/.homebrew/lib/node_modules/bankai/node_modules/pump/index.js:29:21)
    at PassThrough.f (/Users/seththompson/.homebrew/lib/node_modules/bankai/node_modules/once/once.js:25:25)
    at emitOne (events.js:96:13)
    at PassThrough.emit (events.js:191:7)

Steps to reproduce behavior
Use bankai on files with ES6 source, for example an index.js:
const choo = require('choo')
const html = require('choo/html')

var app = choo();
app.route('/', (state, emit) => {
  return html`<body><h1>Hello World</h1></body>`
})
app.mount('body')

This is because of uglify

Uglify only supports JavaScript syntax up to ES5. If you want to use later syntax you'll need to either disable the uglifyify transform with --uglify=false or add a compiler to convert your ES5+ syntax down to ES5

Yeah, I traced this to uglify, it just seems that Bankai should have better error messages if it's going to enable uglify by default.
My app broke upgrading to 7.5.0 and it took me a while to figure it out.
Also, disc doesn't handle ES6+ either, so you might want to note that.

Yeah, I traced this to uglify, it just seems that Bankai should have better error messages if it's going to enable uglify by default.

I'm open for better error messages. Right now I have no idea how other people are using Bankai, and where it breaks down. I'm all ears for feedback; PR very welcome here!

Also, disc doesn't handle ES6+ either

It unpacks the bundle that browserify gives it, there shouldn't be any parsing going on outside of browserify. Not sure what the root cause is tho, but yeah I hope this will help you somewhat on your way.

Will try to submit a PR this evening.

Just to note, I was hitting this issue until I realised the key browserify is expecting is --transform as opposed to just -t as mentioned in the bankai docs.
The following works for me without having to disable uglify:
bankai build -j [ --transform es2020 ] index.js

@joshgillies: i don't want to transcode down to es5 just for uglify when my runtime supports es6.

@toddself The uglifyjs version bump should take care of this I think; patch would still be very welcome! :sparkles:

bankai 9 uses the latest uglify with support for ES6. please reopen or create a new issue if a similar problem occurs!


Add support for run from blob

Support run from blob, which is part of run from package:
plugin will upload function artifact to function storage and update the app setting, set WEBSITE_RUN_FROM_PACKAGE = BlobURL. This is recommanded for linux consumption and premium plan.

Codecov Report

Merging #896 into develop will decrease coverage by 0.16%.
The diff coverage is 18.18%.

@@              Coverage Diff              @@
##             develop     #896      +/-   ##
=============================================
- Coverage      44.36%   44.19%   -0.17%
- Complexity       766      768       +2
=============================================
  Files            137      139       +2
  Lines           5189     5222      +33
  Branches         749      750       +1
=============================================
+ Hits            2302     2308       +6
- Misses          2715     2742      +27
  Partials         172      172

Impacted Files
Coverage Δ
Complexity Δ

...handlers/artifact/MSDeployArtifactHandlerImpl.java
75% <ø> (ø)
7 <0> (ø)
:arrow_down:

.../com/microsoft/azure/maven/function/Constants.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...osoft/azure/maven/function/AzureStorageHelper.java
44% <0%> (-40.62%)
3 <0> (ø)

...icrosoft/azure/maven/function/utils/DateUtils.java
0% <0%> (ø)
0 <0> (?)

...dlers/artifact/RunFromBlobArtifactHandlerImpl.java
0% <0%> (ø)
0 <0> (?)

...tion/handlers/artifact/FunctionArtifactHelper.java
81.81% <100%> (+6.81%)
6 <2> (+2)
:arrow_up:

Continue to review full report at Codecov.

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


Increase thickness of lines drawn between keypoint connections

Is your feature request related to a problem? Please describe.
I have not been able to find an example that demonstrates drawing thicker/thinner keypoint skeletons using the AnnotationContext class. Currently, it seems like the only solution is to instead draw the skeleton using LineStrips.
Describe the solution you'd like
Would it be possible to expose another variable like radii to the AnnotationContext class, which would enable adjusting the thickness of the drawn keypoint skeleton.
Describe alternatives you've considered
Alternatively, including a code example using LineStrips to draw a custom skeleton for a set of keypoints.
Additional context
Example change
rr.log(
        "/",
        rr.AnnotationContext(
            rr.ClassDescription(
                info=rr.AnnotationInfo(id=0, label="Person"),
                keypoint_annotations=[rr.AnnotationInfo(id=lm.value, label=lm.name) for lm in mp_pose.PoseLandmark],
                keypoint_connections=mp_pose.POSE_CONNECTIONS,
                **radii=0.25**
            )
        ),
        timeless=True,
    )

Makes sense.
In the short term you can actually influence this behavior by selecting the space view and then modifying the "Default size" of line radius.
Exa:

However, I agree we should be able to control this explicitly via the API.

Makes sense.
In the short term you can actually influence this behavior by selecting the space view and then modifying the "Default size" of line radius.
However, I agree we should be able to control this explicitly via the API.

Thank you! I new there had to be a global setting somewhere in the viewer.

As pointed out in

https://github.com/rerun-io/rerun/issues/6064

this should naturally also be per class, not just on the entire context

looks like we regressed further on this: now the workaround doesn't work either anymore


evaluation error

Hello. I fine-tuned the mode with train_medmnist.sh over medmnist dataset. When I tested the model with the evaluate_medmnist.sh. I got the following errors. It looks like the port is not available. I tried many other ports and the same error.
[W socket.cpp:426] [c10d] The server socket cannot be initialized on [::]:7087 (errno: 97 - Address family not supported by protocol).
[W socket.cpp:601] [c10d] The client socket cannot be initialized to connect to [localhost]:7087 (errno: 97 - Address family not supported by protocol).
[W socket.cpp:601] [c10d] The client socket cannot be initialized to connect to [localhost]:7087 (errno: 97 - Address family not supported by protocol).
2024-10-14 16:09:05 | INFO | fairseq.distributed.utils | distributed init (rank 0): env://
2024-10-14 16:09:05 | INFO | fairseq.distributed.utils | Start init
[W socket.cpp:601] [c10d] The client socket cannot be initialized to connect to [localhost]:7087 (errno: 97 - Address family not supported by protocol).
[W socket.cpp:601] [c10d] The client socket cannot be initialized to connect to [localhost]:7087 (errno: 97 - Address family not supported by protocol).
Retry: 1, with value error <class 'RuntimeError'>
/home/*//envs/biomedgpt/lib/python3.7/site-packages/torch/distributed/launch.py:188: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects --local_rank argument to be set, please
change it to read from os.environ['LOCAL_RANK'] instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
Thanks.

I'm currently working on a large model of this medical image and have encountered similar problems. One of the things that confuses me is that the code file structure is rather complex and difficult to understand if I want to fine-tune its related code to be able to handle other tasks. Would you be interested in exploring this further?

Why can't I see the e-mail messages here, they've all gone to *

@George-WG-Cao @xhz2003
I haven’t encountered this error before.
Could you share the script you are using? Have you set it up for multi-node inference? I recommend trying a one-node, one-GPU inference first to see if the issue persists.
If it still occurs, could you try adding --ddp-backend no_c10d to the script and check if the error persists?


Premium Guild Feature?

Make the same feature with your premium member but instead add a guild option.

please tell me more detail :3

Like make a command locked to premium guilds only for example !premiumguild <guild id>


Make start of talkspurt information available for sample api

When implementing an Audio Jitter buffer, information about new talkspurts can be used to do adjustments to the buffer.
Marker bit is available in the rtp api, but for the sample(frame) api we need it exposed.

@algesten not sure if this one fits well in the MediaData struct, but it also doesn't feel it should sit in extension.

What is "dtx or silence suppression", is it something negotiated?

What is "dtx or silence suppression", is it something negotiated?

DTX or silence suppression is an optimization which indicates that the sender is "quiet" and it will only send update packets every 400ms in DTX mode and then it will indicate with a marker bit when it goes out of DTX mode.
DTX is negotiated in SDP for Opus but it could be received and handled without negotiation. Not sure how silence suppression is done WebRTC or negotiated, would need to look it up. But silence suppression is similar to dtx but Opus handles the silence transition in-band while Silence suppression switches to another special Comfort Noise payload type.
I need to think about how we can add support for sending and maybe SDP support as well.

Thanks I will fix comments and add one simple integration test and then publish later today.

@algesten ready for another round.
Added:

Some cleanup in depacketized
Comments
Added a simple test


Stryker dashboard returned an unexpected response code: 400.

PHP: 8.2.
PHPUNIT: 10.1.3
INFECTION: 0.26.21
{"name":"BAD_REQUEST","message":"Invalid report. data must have required property 'schemaVersion'","status":400,"errors":[],"stack":"BAD_REQUEST: Invalid report. data must have required property 'schemaVersion'\n    at ReportsController.verifyRequiredPutReportProperties (file:///app/node_modules/@stryker-mutator/dashboard-backend/dist/src/api/ReportsController.js:98:23)\n    at ReportsController.update (file:///app/node_modules/@stryker-mutator/dashboard-backend/dist/src/api/ReportsController.js:35:14)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)"}

@terabytesoftw did your problem solve itself or was this closed by accident?

@terabytesoftw did your problem solve itself or was this closed by accident?

Thks, i solved it by activating and deactivating it from the board.


Enforce TSC Throughout Repo

why
TSC rules were not uniformly enforce throughout this package
what changed
Fixed errors throw by TS compiler
test plan
tsc
I'm not sure how to run tests, but will make sure scripts like `wordle work on this

Will take a look at this, thanks for opening the PR!

Thanks @pkiv ! Not much changed, but just wrangling down typing mismatches to make sure tsc has no complaints, both by forcing types to be more specific and by updating braintrust's sdk

Appreciate the effort you put into this! Closing for the following reasons:

We don't want to do as casting, and we're making a repo-wide push in future PRs to get away from this, since it doesn't actually enforce the type we want. Instead, when we do const var: type = val instead of const var = val as type we can get an error if val doesn't match type.
We also want to get away from any. However, strongly typing client-side code can also get a little hairy, so we want to make sure we get that right instead of writing code just to pass tsc. We don't really get any advantage from assigning any type.

There's a few key abstractions we need to get right to enable stuff like BYOM, and the less any and as we have, the easier we think that'll become. Hope this makes sense!


Picovoice Platform Issue: Invalid shape of input frame

Have you checked the docs and existing issues?

[X] I have read all of the relevant Picovoice Platform docs
[X] I have searched the existing issues for Picovoice Platform

SDK
Node.js
Picovoice package version
2.0.2
Framework version
Node v18.12.1
Platform
Linux (x86_64)
OS/Browser version
20.04.1
Describe the bug
Hi, I am trying pico voice for Voice acitvity detection, I have tested on web and its looking good to me, so I am trying to implement this using node.js.
I am explaining what I am trying to implement, I am connected with web socket and I am getting multiple events of media and voice I am getting in base64 format, so I am converting to 16k and in pcm format as per documentation, Also as per documentation I can only pass framelength of 512 nor less nor more, need to pass exact 512, but in my case my voice base64 when converted to pcm its having length of 320, so I have written a logic to keep on adding the pcm data into INT16Array and taking chunk of 0 to 512, 512 to 1024 and so on, but when I run the code its working for first chunk I am getting voice as "0.002424914389848709", but when processing second chunk I am getting this error "Error: Invalid shape of input frame".
I am not sure what wrong going on may be the format in which I am passing is not expected by cobra.process, I am thinking that I have taken the chunk from 0 to 512, so I have store chunk of 320, 320 which accumulated become 640, so I have taken 0 to 512 from it so remaining is 128, now that 128 and next chunk is getting processed and I think its making a problem, but ideally it should not be the case.
Can you please help me out or provide some solution, also it is possible to change the cobra Frame Length ?
Steps To Reproduce
I am adding my code for the reference.
`for (
let i = base64InPCMIndex;
base64InPCM.length - i - cobraFrameLength > 0;
i += cobraFrameLength
) {
SpeechBack[uniqueId].base64InPCMIndex =
i + cobraFrameLength;
const chunk = base64InPCM.subarray(
i,
i + cobraFrameLength
);

const isVoice = cobra.process(chunk);
console.log('isVoice', isVoice);
console.log(
isVoice ? 'Voice detected' : 'No voice'
);

}`
Expected Behavior
Ideally every chunk should get process and this error should not come
Error: Invalid shape of input frame

Reported this issue here - https://github.com/Picovoice/cobra.


Incompatible dependencies

What steps did you take and what happened:
/kind bug
$ echo "kubeflow-fairing" > test_req.in
$ pip-compile -r test_req.in
Could not find a version that matches kubernetes==10.0.1,>=10.0.1,>=12.0.0 (from kubeflow-fairing==1.0.2->-r test_req.in (line 1))
Tried: 1.0.0, 1.0.0, 1.0.1, 1.0.1, 1.0.2, 1.0.2, 2.0.0, 2.0.0, 3.0.0, 3.0.0, 4.0.0, 4.0.0, 5.0.0, 5.0.0, 6.0.0, 6.0.0, 6.1.0, 6.1.0, 7.0.0, 7.0.0, 7.0.1, 7.0.1, 8.0.0, 8.0.0, 8.0.1, 8.0.1, 8.0.2, 8.0.2, 9.0.0, 9.0.0, 9.0.1, 9.0.1, 10.0.0, 10.0.0, 10.0.1, 10.0.1, 10.1.0, 10.1.0, 11.0.0, 11.0.0, 12.0.0, 12.0.0, 12.0.1, 12.0.1, 17.17.0, 17.17.0, 18.20.0, 18.20.0, 19.15.0, 19.15.0
Skipped pre-versions: 0.0.0a2, 0.0.0a2, 0.0.0a5, 0.0.0a5, 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a4, 1.0.0a4, 1.0.0a5, 1.0.0a5, 1.0.0b1, 1.0.0b1, 1.0.0b2, 1.0.0b2, 1.0.0b3, 1.0.0b3, 2.0.0a1, 2.0.0a1, 2.0.0b1, 2.0.0b1, 3.0.0a1, 3.0.0a1, 3.0.0b1, 3.0.0b1, 4.0.0a1, 4.0.0a1, 4.0.0b1, 4.0.0b1, 5.0.0b1, 5.0.0b1, 6.0.0b1, 6.0.0b1, 7.0.0a1, 7.0.0a1, 7.0.0b1, 7.0.0b1, 8.0.0a1, 8.0.0a1, 8.0.0b1, 8.0.0b1, 9.0.0a1, 9.0.0a1, 9.0.0b1, 9.0.0b1, 10.0.0a1, 10.0.0a1, 11.0.0a1, 11.0.0a1, 11.0.0b1, 11.0.0b1, 11.0.0b2, 11.0.0b2, 12.0.0a1, 12.0.0a1, 12.0.0b1, 12.0.0b1, 17.14.0a1, 17.14.0a1, 17.17.0b1, 17.17.0b1, 18.17.0a1, 18.17.0a1, 18.20.0b1, 18.20.0b1, 19.15.0a1, 19.15.0a1, 19.15.0b1, 19.15.0b1, 20.11.0a1, 20.11.0a1, 20.12.0b1, 20.12.0b1
There are incompatible versions in the resolved dependencies:
  kubernetes>=10.0.1 (from kubeflow-tfjob==0.1.3->kubeflow-fairing==1.0.2->-r test_req.in (line 1))
  kubernetes>=12.0.0 (from kfserving==0.6.1->kubeflow-fairing==1.0.2->-r test_req.in (line 1))
  kubernetes>=10.0.1 (from kubeflow-pytorchjob==0.1.3->kubeflow-fairing==1.0.2->-r test_req.in (line 1))
  kubernetes==10.0.1 (from kubeflow-fairing==1.0.2->-r test_req.in (line 1))

What did you expect to happen:
Versions can be resolved
Anything else you would like to add:
Some dependencies in this project's requirements.txt are pinned, some have an upper(!) limit.
For a module expected to be used by other code this is too restrictive, for an application, this might be too loose.
That's probably the reason for this bug (and a recipe for desaster 😉  )

When to fix the messy version control,  kubeflow-fairing==1.0.2, this project no one to maintain


How to get the thread participated by only 2 users (One to one messaging?)

I need the ability to do one on one messaging and add some users later on, thus the need to get the thread participated by the two users.  What is the correct way of doing this, so that there will always be only a single on-on-one thread for both user?

Hey, I think the easiest way would be to do it with a whereHas query.
$threads = Thread::with('participants')->whereHas('participants', function ($query) use ($user1) {
    $query->where('user_id', $user1->getKey());
})->whereHas('participants', function ($query) use ($user2) {
    $query->where('user_id', $user2->getKey());
})->get();
$thread = $threads->filter(function(Thread $thread) {
    return $thread->participants->count() == 2;
})->first();

I have no idea how to put the count condition in the first query. (have no time to tinker with it). But this should do what you want. I'm not sure if this is the best or right way to do it.

Hi, your code's good to go, exactly what i was looking for.  thanks a lot.

@imonoid no problem, I think that there should be a way to put the php filter() into the query - but this should be a good starting point. :)

You could extend Thread model and store count of the participants in it. Or just store boolean if this thread a group chat or private.

thanks a-komarev.  i'll look into your solution once i get all functionalities up and running.


Any update?

Let me know if there's anything we can do to help! The samples at https://sjvasquez.github.io/blog/melnet/ are remarkable. Have you had any success in replicating this work?

You might be interested in following repositories:

Deepest-Project/MelNet: What I'm currently working on. We're aiming to fully implement unconditional audio generation + TTS.
jaeyeun97/MelNet: Implementation of MelNet using MAESTRO dataset.


Adds the simple-linked-list exercise (#311)

I needed to implement this as a new branch since the work in progress of #311 was in the contributor's fork. This is my first exercise contribution, so please consider that I don't exactly know what I am doing 😂
Suggestions for improvements are more than welcome! 🎉

Forgot to add the exercise to config.json. Now tests are passing.
Also, I'm not sure which difficulty I should attribute to it, but I think 1 is not a fair one. A beginner would struggle to implement this one. Also, any suggestion for topics?

Well, that's weird. I've just pushed the requested changes but the GitHub Review doesn't reflect it. Probably because I used --amend while committing.
Anyway, it's available here: https://github.com/exercism/javascript/commit/59419edd54e59ce1cd03efcfb538c751962d5d20

Hey @matthewmorgan!
I added tests for List#reverse, List.toArray and List#toArray methods, alongside an implementation example. Also, I changed the difficulty from 1 to 8. Let me know if there's anything else missing. 😊

This looks terrific.  Nice work sir!
If you wouldn't mind adding some more semicolons in a couple places...this is otherwise ready to merge!

@matthewmorgan done! I'll wait for the CI to complete the tests, then I'll merge this PR. Thank you very much for your review!

@joelwallis Nice job!  Thanks for doing this.

I'm too late to reply but here are my two cents: I agree on the difficulty level and the topic. The bad news is that the topic doesn't exist in the topic list (is it official?).
Anyway, I think the better topic to describe the exercise is Data structures, so it would be a matter of propose it to be added to the list. If we want to add more topics, I would add: Arrays, Lists.

@rchavarria thanks for catching that!  @joelwallis would you mind creating a follow-up issue for that?

@matthewmorgan definitely not! @rchavarria thanks for catching! I'll PR it right now


ValueError: PKCS#7 padding is incorrect.

I am seeing this using the latest plugin.video.netflix release.
2020-03-13 17:39:30.534 T:1673438080   ERROR: [plugin.video.netflix (0)] Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/common/credentials.py", line 81, in get_credentials
                                                'email': decrypt_credential(email).decode('utf-8'),
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/common/credentials.py", line 67, in decrypt_credential
                                                block_size=__BLOCK_SIZE__)
                                              File "/usr/lib/python2.7/site-packages/Crypto/Util/Padding.py", line 93, in unpad
                                            ValueError: PKCS#7 padding is incorrect.

And after this (or maybe before) my Netflix credentials are missing. I have seen this now plenty of times that my credentials are gone and I need to reenter them. Very annoying.

What device/so?

Raspberry Pi 3, LibreELEC 9.2.1.

This usually happens if the AES key changes
the only way is to verify
in your case the key is composed by reading the value from
cat /var/lib/dbus/machine-id
you should check every time you start the device if this value changes
if this value changes the credentials are requested again
could happen with an update of libreelec

That is quite likely, but also pretty annoying. Especially that I have to reenter my email and password.
Why does it get removed, it shouldn't be removed if this happens.

is not removed, the data remains saved, but cannot be decripted this is to prevent data theft
so i based the encryption on the device's hardware (when possible) in this way if the database is sabotaged or copied on other devices it is not possible to decrypt the access data
but something changed in your device, and it changed the UUID
at least that should be what happened
or (I hope not, because that would be a disaster) the new linux kernels have changed the behavior of the UUID, and then you will need to find another safe way

I doubt the machine-id has changed, it is stored on the SD-card.
kodi01:~ # ls -la /var/lib/dbus/machine-id
lrwxrwxrwx    1 root     root            15 Apr 11  2019 /var/lib/dbus/machine-id -> /etc/machine-id
kodi01:~ # ls -la /etc/machine-id
lrwxrwxrwx    1 root     root            34 Mar  3 21:33 /etc/machine-id -> /storage/.cache/systemd-machine-id
kodi01:~ # ls -la /storage/.cache/systemd-machine-id
-r--r--r--    1 root     root            33 Apr 11  2019 /storage/.cache/systemd-machine-id

Something else is going on, and it happens more often than a system update.

i call the kernel path, not the sd path
being generated by the kernel you don't know if it changes
the only way is check every time
I add a new branch uuid_problem: https://github.com/CastagnaIT/plugin.video.netflix/tree/uuid_problem
with this you can check in kodi log if the UUID changes:
in the log look at a line with this output LINUX UUID: xyz
the output is written even without debug enabled
save the log of first output with which you save the nf credentials,
when the problem happens again, compare the new log output, to see if uuid is really changed

There was no kernel change from LE v9.2.0 and LE v9.2.1, and the machine-id is stored on the SD card. Si I think the problem is elsewhere.

I have nothing more to tell you, and nothing else to check, if there will be other similar cases i will ask for a comparison

i call the kernel path, not the sd path

Not sure what you are trying to say. I just proved to you all three files point to the same content on the SD card.

ok, i have rechecked the encryption and decryption code, and is good
this code has been working for several years
so as far as i know the possible cases may be:

The machine-id could be changed
The uuid5 generator sometime fail on libreelec linux (sounds weird):
therefore it is necessary to check the output value on this line so check what value when works, and what value when fails:
https://github.com/CastagnaIT/plugin.video.netflix/blob/master/resources/lib/common/uuid_device.py#L64
The value on the database has been corrupted

Hello, I use the same machine-id retrieval code on hho go add-on, slightly different key generation code, and same encryption code for the credentials, and it happens sometimes as well and i agree i annoying, haven't been able to pinpoint the cause I assumed the machine-id sometimes change usually after updates.
But came to the conclusion that maybe the credential encryption can be simply be dropped as it is, and thinking about doing that in the hbo go add-on , and replaced by simple obfuscation or simply plaintext since encryption with an easily available and readable key stored on the machine basically provide 0 security.
The same level of protection from random credential scraping script/malware will probably be achieved with simple obfuscation. From targeted attacks both provide 0 protection.
The perfect way of solving this would be if Kodi would provide something like a keychain internally. And ask the user for a pin on startup to unlock the keychain (from the pin that is not stored anywhere a decryption key is calculated) and provide a mechanism for add-ons to store/read sensitive data in that keychain. On systems with a keychain in the OS, Kodi could use the system keychain maybe.
Or we could maybe develop an add-on service that does exactly that, would be more reliable and secure than the current system, but doing it as an add-on since we don't know when it will start exactly can cause all sorts of timeout errors if widgets are used ecc... so not ideal.
Ideally would be a good thing to develop both the service and a module script for client add-ons to use simply that take care of the intricacies waiting for the service to start up and-all.
Those are just ideas I bringing up to hear your opinions.

The perfect way of solving this would be if Kodi would provide something like a keychain internally.

@arvvoid I agree with you. And I think @basrieter would benefit from this as well for Retrospect.

can be simply be dropped as it is, and thinking about doing that in the hbo go add-on , and replaced by simple obfuscation or simply plaintext

I agree that it won't be a very safe method, but certainly safer than simply obfuscating it or very worse in plaintext.
There are two main advantages of my method:

Provide a minimum of encryption complication this cuts out most inexperienced and intermediate users, prevents users from copying credentials by simply opening the database.

The encryption key is based (when possible) on the system UUID, having this relationship anyone trying to make a copy of the addon user folder, and uses it on another Kodi installation on other devices, the addon will NOT work.

You can't escape the worst, but selective attacks are not the order of the day...

The perfect way of solving this would be if Kodi would provide something like a keychain internally

it would be helpful if Kodi provide a wallet to save/retreive credentials
but how to retrieve them safely? there's no way to determine if the addon is safe and approved to obtain saved credentials (currently anyone can make an addon with the same name but for different purposes).
an other example perhaps can be provide to kodi of an MD5 generated on the fly at the first start of the addon, based on all files of the addon (which must be updated each time the addon is updated),
in this way perhaps you could determine if it is the right addon that ask the credentials

in the last year is the first time I've heard about this credentials problem
it's strange that dagwieers only complains
there are hundreds of netflix users...
for netflix for now is limited to an RPI
but I'm not going to eliminate this security system just for one user

but I'm not going to eliminate this security system just for one user

Where did I ask to have this removed?
I just reported an issue I have seen on more than one device from time to time. At first I thought this was related to version updates, but now I am not so sure. It definitely is not the system-id changing.
This is a standard RPi 3B with LibreELEC v9.2.1 (but I have seen this with v9.0 as well before).

BTW And I am not complaining, I am reporting an issue.

arvvoid

But came to the conclusion that maybe the credential encryption can simply be dropped as it is

He was talking about dropping his own implementation AFAICT.

It definitely is not the system-id changing

ok we theorize that the system-id is not modified between LE updates,
then this means that this value is not always read correctly by the addon
because the error mentioned happens only when the key is not right
so we need to check what happens when he asks you for your password again
I have updated the 'uuid_problem' branch again:
https://github.com/CastagnaIT/plugin.video.netflix/commits/uuid_problem
you can use it to install it on LE
As I told you before you can keep track of Kodi's log even without having the debug enabled
so you can use your device without the annoying on-screen debugging
then get a first log and save it,
the next time that happen it ask the password, extract a new log, and compare the value of the two log

Hello, @CastagnaIT my intention wasn't to criticize, I'm sorry if it sounded that way. You did a great job and did the best that can be done with what is available in the current environment. Big thanks for the work on this add-on.
I use your system basically in my add-on (Hbo Go), and added it because I was thinking better some form of security than nothing.
With my post, I simply wanted to express some thoughts to start an exchange and discussion on the matter and to see if we can maybe together think of a better system for the future. And what are the thoughts of other add-on developers on the subject.
But probably it would be better to continue that discussion on another appropriate channel.
I never suggested you remove anything, I was thinking of removing from my add-on or provide an option to disable in my add-on, but I will explain my line of thought on a separate channel.
I can confirm that the described issue definitively happens sometimes and I will try to catch a log as well if it re-ask for credentials and post as well, but you are most likely correct it can be only 2 things, or device id change (strange, and it looks like it’s not the case) or device-id  becomes temporarily unreadable or starting the external process to get it fails somehow (strange again). So far it only happened to me on Rpi LibreElec and also on OSMC on Rpi. On other devices I sometimes use macOS, Windows never happened so far.
I also have no other ideas atm.
In my add-on I store the encrypted credentials in settings.xml and don’t use UUID5 (i generate a sha256 hash from the retrieved machine-id with some addition and transformation and use that as the encryption key) but is affected by the same issue at the same time as this add-on, when it happens it ask credentials again in both add-ons (it doesn’t happen often, so not easy to catch), so I would tend to exclude database corruption or uuid5 as the source of the problem.

Issue marked as "Tester needed"
if someone else have this problem and guarantees availability for continuous Addon testing with debug logs, i will be able to better analyze the problem

AFAIK it is caused by auto update

it does happen too when using a slow SD card.... I think that threading is not waiting for end procedure as needed....but, it is most about auto update

@jakermx are you able to reproduce the problem?
I could give you a modified version to get more debug information

I think that threading is not waiting for end procedure as needed

it is not a thread, and the python check_output command always wait the end of running process before return a results
it is more likely that the correct value is not read, or, an error is raised but which is currently ignored
by code, or, as you say is caused by the update
but they say it can happen also without updating..
it is necessary to analyse in more detail with a modified version

Hi,
I had a similar issue when using a docker container. Turns out, /etc/machine-id is always empty and /var/lib/dbus/machine-id was not existing, so he created the fake id using memory and hostname. However, every time you restart the docker container, it gets a new hostname so that the credentials are not decryptable. What I did was to map the local /etc/machine-id into the docker container to solve this by adding  -volume /etc/machine-id:/etc/machine-id

i found one of the cause of creadentials problem from a commit of 23 Feb
that caused to version 1.0.0 to ask first time the credentials on rpi (released 6 March)
fixed yesterday, so the machine-id was never read
I added a log writing in case of error
so if reading problems occur in the near future you should catch them in log

What commit was this? I find 2 commits on 2020-02-23 that are unrelated.

https://github.com/CastagnaIT/plugin.video.netflix/commit/da137e44b2f8ec97b6fce010f394784bb64563bc#diff-8c28a19fa3c29556f74d12660088d671

Hah, I didn't identify that one as being related :-) Thanks!

on next release will be ask to re enter again the credetials, due to fixed the code

i close the issue, if needed can be reopened


Only display an icon in a tab if it is set for the note

Is your feature request related to a problem? Please describe.
When you turn the Toggle Icon in Tabs setting ON, it displays the icon for the note in the tabs, as expected. If no icon is set for the note, a 'blank page' icon displays by default.
Describe the solution you'd like
If icons in tabs is on, but there is no icon is set for the note, do not display an icon in the tab. In otherwords, only display an icon in the tab if it is set for the note.
Describe alternatives you've considered
Potentially add a toggle option to show a default icon if people prefer this behavior. But the display of a default icon in the tabs is inconsistent with the behavior of the other locations where the icons appear.
Additional context
AS IS: (no icons set; shows 'blank page' icon)

TO BE:

This CSS snippet works for me, at least for now:
.mod-root .workspace-tab-header[data-type="markdown"] .workspace-tab-header-inner-icon:not([title]) {
  display: none !important;
}

Nice this works for me— thanks @AnttiBoman !


[TASK] Added console command sw:rebuild:seo:index

Please describe your pull request:

Why is it necessary? Because you cannot rebuild the SEO index on CLI.
What does it improve? Enables you to rebuild the SEO index on CLI on demand.
Does it have side effects? No

Inspired by Shopware_Plugins_Core_RebuildIndex_Bootstrap::onRefreshSeoIndex(). I have also added the possibility to add a shopId argument to rebuild URLs for this shop only.

Questions
Answers

BC breaks?
no

Tests pass?
yes

Related tickets?
no

How to test?
Truncate table s_core_rewrite_urls and run the new command bin/console sw:rebuild:seo:index. After the command is finished the generated SEO urls should be present in the database.

I have additionally fixed some PHP notices that appeared on CLI when running this command. Please let me know if you want to use this and if I should squash the commits or drop e0b8e26.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-17369.
Please use this issue to track the state of your pull request.

thanks @FiveDigital :+1:


⚠ Bofrost.lu has degraded performance

In 3d24bdc, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1522 ms

Resolved: Bofrost.lu performance has improved in 8c9cb50 after 7 minutes.


Extension methods for forms navigation

Created extension methods in the Forms part of NavigationHelper that allows for direct navigation. This is ONLY visible if you are referencing TinyNavigationHelper.Forms and it does not interfere with the more abstract parts.
Usage

Add a using statement
using TinyNavigationHelper.Forms;

Create a page and use the extension method
var page = new NewsView();
await NavigationHelper.Current.NavigateToAsync(page);

Works the same way for modals.

Documentation? :)


java: Add groundwork for the unwinder

Unify the names for unwinder information
Initialize dtrace java unwinder
Fetch and sync the required initial data for unwinding

I don't think we should call it dtrace, I realize we take plenty of inspiration, but dtrace was not at all java specific.

I'll rename.

The other thing I wonder about, is how can this work with a quite typical case of jvm->java->native? If we unwind separately how would we know how to jump from the native frames over the jit frames to the JVM frames? I frankly think this is the time where we need to make Java a new "native" unwinder and not the same kind as python or ruby (even these we should eventually convert, this was the whole point of why we introduced the per-frame switching).

I agree. Again, this is not even close to the finish line. I'm trying to reduce the number of unknowns. As we did with mode switching, we should switch between unwinders for Java.
WIP.


Fix vscode-test setup and add CI job

The current vscode-test stub was broken by the use of p-queue (promise queue, a dependency when implementing the "run test" feature).
The current p-queue is not compatible with commonjs2 builds, which we use.
This PR pins p-queue to 6.6.2, which is the last version that supports a commonjs build, and adds a CI job that runs vscode-test
Ultimately we should use ESM for packaging our plugin but the support for this in vscode is still not yet completely mature (?) -- see for instance https://github.com/microsoft/vscode/issues/130367 and https://code.visualstudio.com/updates/v1_94#_esm-is-shipping-for-vs-code

@AltGr if you have comments about the CI setup for opam/dune those are welcome!
Also I added atdgen as a dependency which may not be ideal? (maybe atd should be a runtime dependency and atdgen a build-time only dependency?)


Using wasm drop method results in warnings flood

This is an issue to fix leftovers after implementing wasm.drop method. Original problem was rised during QAing https://github.com/enso-org/enso/pull/6365#issuecomment-1521870772
Steps to reproduce:

Open Enso with -debug.dev-tools flag
Navigate to console pane
Type ensoglApp.wasm.drop()
Warnings will flood both console and terminal

https://drive.google.com/file/d/1Oy3-D5JGYy4PbJhYAXYXB3Ouuks_zL45/view?usp=share_link

@farmaazon, unfortunately, @PabloBuchu can still observe the regression here

@xvcgreg what do you mean? Do you have any additional info?

@PabloBuchu should post here the details probably.

@farmaazon is this related to this bug or is it because my project failed for some other problems? When I closed the project I got a lot
[90352:0704/095711.010502:ERROR:CONSOLE(6)] "console.assert", source: devtools://devtools/bundled/panels/console/console.js (6)
and
GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment has zero size. errors.
https://github.com/enso-org/enso/assets/2855109/1d79125e-dcc7-4080-9aea-598234f6a138

I don't know where "console.assert" messages come from, but the warnings suggests there is still some rendering done, so probably it's somehow relevant.

Closing as wont be fixed given VueJS move.


[Secrets Store CSI Driver] GCP Secret Manager

Use: https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp

/reopen

/reopen

/reopen

/reopen


Link SSH

Link SSH.
Use the screen command. After exiting, the current line is displayed to the first line, and should be displayed to the last line

Please include a video or a GIF.

Thanks for sharing the gif! Based on the gif, I'm gonna say this is a result of the Terminal not truly supporting the alternate screen buffer quite yet. That'll make fixing this a combo of  #381 and  #3492.
/dup #381
/dup #3492


Bug - Cant Resolve

I cant Use this lib. when i want to import the this message shows up:
Error:(28, 13) Failed to resolve: com.nispok:snackbar:2.10.2
Show in FileShow in Project Structure dialog
See this: http://stackoverflow.com/questions/28927986/android-studio-cant-resolve-dependencies

I've find the problem. when i updated android studio, the IDE automatically checked offline mode. and that was the reason why i couldnt import new version libs :)


Blog: CTA element

Unable to insert newsletter CTA into new blogroll--the authoring option is there but it doesn't display on the front-end.

Ah yes, I was supposed to go over this in our last call, thanks for flagging.
As we are now moving to a unified CTA element for signups/social media (as shown in the latest iteration of the homepage), the fields in the CMS will need to be updated.
I would recommend the repeatable CTA field is replaced with a single input field (notice index) that corresponds to the position of the CTA element (i.e. insert after n number of posts). The text for that will still be authorable via the CMS translations, but will be kept consistent for both the homepage and blog sections.
Can you confirm this is sufficient?

@rdunk -- just wanted to clarify the two points:

Automated insertion, i.e. after every 3rd post insert CTA.
Current technique on the blog,

I'd imagine this would just be one rather than repeated.
Yep, correct.

If you had some specific method for authoring these in mind feel free to outline it here and we can work out the required logic for it.

Hi @rdunk -- let's keep the same method that's currently in place on the Blog.

Updated and simplified into a list of indices (i.e. insert after n number of posts).


fix(msw): generated mocks for polymorphic type

Status

WIP
Description
Fixes #555 - When a response contains a polymorphic type, the generated mock object code was missing curly braces. This error was introduced in https://github.com/anymaniax/orval/commit/899a8cbd4c93190bd01ebd5e36be81d750b7608f.
Previously, when calling resolveMockValue within a oneOf, the combine option was undefined. The change resulted in the option being defined, resulting in a failing check for object boundaries.
This fix adds a check for combine.separator === 'oneOf' when determining object boundaries.
Todos

[x] Tests
[ ] Documentation - N/A
[ ] Changelog Entry (unreleased)  - N/A

Steps to Test or Reproduce

Added a sample YAML swagger definition to tests (polymorphic.yaml)
Added the sample case to the test react-query.config.ts

Ah, I didn't actually look into how the tests were being run :facepalm:
I can "fix" it by changing the condition to const isObjectBounds = !combine || (combine.separator == 'oneOf' && separator == 'allOf');, but at that point it's just fixing my specific use-case and I don't know if it's a proper solution.

I have to close this PR and reopen a new one because it's no longer synched with my fork...


Feature support for additional JSDoc tags @interface, @enum, @license

Problem
TypeScript may be used in a mixed mode environment where you may have some TypeScript source files and some JavaScript source files. The TypeScript compiler will process both source file types. In the case when TypeScript processes a .ts source file it can determine when a class is an interface, for example, however, when TypeScript processes a .js source file it cannot. Since both types of source files will be processed by tsdoc there needs to be some mechanism to determine missing information when a .js source file is processed, otherwise the documentation will be incomplete and inaccurate when compared with the TypeScript documentation in the same project.
@interface tag
The @interface tag is supported in JSDoc and it is proposed that it also be supported in tsdoc to allow .js source files to indicate that a class is an interface.
@enum tag
The @enum tag is supported in JSDoc and it is proposed that it also be supported in tsdoc to allow .js source files to indicate that a class is an enumeration.
@license tag
The @license tag is supported in JSDoc and it is proposed that it also be supported in tsdoc to allow both .ts and .js source files to indicate the license associated with the source file.

I dare to add also @module tag used by TypeDoc to mark a comment as global description of the module.


Add possibility to choose between eye-in-hand or eye-to-hand calibration

The equivalent of this C++ PR: https://github.com/zivid/zivid-cpp-samples/pull/150

The code needs to be tested and then merged.


[HOLD for payment 2023-12-28] [Theme Switching] 🎨🐛 Draft Card Preview Hover Color Is Incorrect in Both Themes

https://expensify.slack.com/archives/C049HHMV9SM/p1702569789849209
Issue OwnerCurrent Issue Owner: @JmillsExpensify

@JmillsExpensify could you help me out with ensuring that @fedirjh receives the $500 C+ review payment for review of https://github.com/Expensify/App/pull/33097

awaiting payment verification

@JmillsExpensify could you verify payments / close this one out 🙏

Whoops, sorry for the delay. Payment summary: $500 @fedirjh for PR review and testing.

Offer sent!

Contract paid out! Thanks @fedirjh.


Create univ-oran1.txt

Add University of Oran 1 - Ahmed Ben Bella

@chawki27000 I am sorry for a delay with processing your request.
Pull request merged. Thank you!


Windows 10 thumbnail .stl

Hello
After reinstalling Windows 10, I cannot enable thumbnail .stl using F3D.
I tried a full installation into the system as in the picture, but it didn’t help. What am I doing wrong, please help

Which version if F3D ?
What happens when you go to a folder ?

F3D last version - F3D-2.4.0-Windows-x86_64-raytracing

Perhaps F3D uses Microsoft libraries? Do they need to be updated after reinstalling the OS?

Can you try this: https://f3d.app/doc/user/DESKTOP_INTEGRATION.html#windows ?

@Viper-by , so I checked F3D 2.4.0 on windows 10 and the thumbnailer is working great. You must have something special.eg: https://github.com/f3d-app/f3d/issues/1129

Can you try this: https://f3d.app/doc/user/DESKTOP_INTEGRATION.html#windows ?
Activated manually F3DShellExtension.dll

Before reinstalling the OS, thumbnail f3d also worked correctly - I’ll read the topic above, thank you

Activated manually F3DShellExtension.dll

Ok, so using the command manually works for you ?

Unfortunately, it doesn’t work - I posted a screenshot of the manipulation done, but the thumbnail is not displayed

Does other thumbnails works ? for example Windows supports showing thumbnails for .png and .jpg files.

Other thumbnails works

(By the way, you may want to come over to our discord to discuss this and so that more people could help:
https://discord.f3d.app)

with no feedback from @Viper-by . Ill close this, feel free to reopen if you have more info so we can understand what is going on.


gcc warnings removed

removed some gcc warnings and marked changes with "gk"

Mostly minor changes because of gcc warnings. Replaced "extern inline" and "extern constexpr". Inserted possibly missing "test_perft();" in main routine of "chess_engine.cpp".

Why did this not get merged? Are pull requests not accepted?

Sorry for the late reply everyone!

Why is this merged into hotfix-1 branch instead of main branch?


OrderedSet zipWith?

OrderedSet seems to not have zipWith, is this on purpose?
Thanks,
Francisco

Seems like a missing opportunity - let's add it!


createPaymentSheet - Failed to construct 'URL': Invalid base URL

Platform

[* ] Web
[* ] iOS
[ *] Android

Describe the bug
Getting the following after calling stripe.createPaymentSheet(...)
index.js:33 Uncaught TypeError: Failed to construct 'URL': Invalid base URL
at getAssetPath (index.js:33:1)
at getNamedUrl (icon.js:44:1)
at getUrl (icon.js:25:1)
at Icon.mode.loadIcon (icon.js:286:1)
at icon.js:257:1
at Icon.mode.waitUntilVisible (icon.js:281:1)
at Icon.mode.connectedCallback (icon.js:255:1)
at Icon.mode.connectedCallback (index.js:2420:1)
at addVnodes (index-a7e5d6fd.js:477:1)
at patch (index-a7e5d6fd.js:641:1)

@stylianosnicoletti Thanks for create issue.
Did you try demo application? https://github.com/capacitor-community/stripe/tree/master/demo
We don't know your implementation. Try our demo app or point us to a public repository of your implementation.
Thanks.

Hi, thanks for replying..the think is that i want to implement this with my own project, not the demo..
When i use this plugin, a batch of warning messages appear in the console as well as the error i am describing above.
Btw, the flow seems to me working fine, the anoying thing is these messages coming in console, which are directly related to the plugin code if you debug it.
I will probably use the plain react js stipe package instead of this plugin as this seems to be more stable.


features

features:
add command EXISTS

add docker

add README for client;

add transactions;
add db-locks;


Add farming notifications

Similar to the Birds house notifications, this adds similar notifications for each patch type. Once the last of that patch type has finished, a notification will be sent letting the player know what patch needs to be harvested. This follows similar logic to the summary panel but, for example, will separate trees from hardwood trees.
As part of this change, I needed to add names to PatchImplementation.java. I also added a new field, pluralityWord for each patch to keep the notification messages grammatically correct.

I don't want notifications for this until #8381is closed and proven working

@abextm Is the plan to block any new features because of a bug? Yes that would be good to fix, but I don't see how that blocks the addition of a new QOL feature. Worst case scenario, this notification will be delayed. But delayed is better than nothing.

This is blocked on that feature because without it this feature will be horrible broken. Best case scenario is the notification is delayed, worst case scenario (and the scenario for all newish accounts) is that the notification fires too early, which is completely unacceptable for a notification.

I don't want notifications for this until #8381is closed and proven working

#8381

Could we just delay the notification by the length of a growth tick? Even though not ideal it still would be a lot better than no notification.

I would rather not delay the notification by >10 hours, that seems mostly pointless


Converting Warps into SPM format

Hello ANTs devs,
@stnava told me to post this question here:
I'd like to convert *1Warp.nii and *0GenericAffine.mat files into a joint "SPM-like" Deformation field (6D nifti file). Does anyone have information/code on how to do so?
Any help would be much appreciated!
Thanks a lot, Andy

nipype is one possible approach but i do not know it well enough to say much more ... perhaps @satra or the nipype documentation would help.

@andreashorn - this is going to take some work. in nipype an example dataflow can takes things out of spm, runs with ants including applying the deformations and then brings things back into spm.
however converting deformation fields across software requires understanding the way these are represented and they all vary across major packages. we have in the past considered a common deformation format, but that discussion really did not go anywhere!

This is not really an ANTs issue as evidenced by lack of international consensus on transformation standards.  So, closing issue.  Happy to reopen a new issue on this topic if someone wants to write a specific utility for conversion between ANTs/ITK space and other systems.


Emulator UI: Bot Setting modal should disable key field when not checked

Build 4.0.262-nightly
In the Bot Settings modal, when encryption is not selected, the section below the checkbox should be disabled and grayed out and the placeholder text should appear. It looks like this:

but it should look like this:

Screen is here: https://microsoft-fuse-design.invisionapp.com/d/main/#/console/15183213/317428079/preview
Comps of flow are here: https://microsoft-fuse-design.invisionapp.com/d/main/#/projects/prototypes/15183213

Also, please don't use ellipsis so users can select into the overflow text to view it.

Updated designs for the Bot Settings modal:
Encryption off: https://microsoft-fuse-design.invisionapp.com/d/main#/console/15183213/315673917/preview
Encryption on: https://microsoft-fuse-design.invisionapp.com/d/main#/console/15183213/320119845/preview

Updated comp to change the field label of "Key" to "Secret" and "Generate new key" to "Generate new password".

This is done.


Generator for this Seed-Advanced (Proposal)

What about a (CLI) yeoman generator based on this seed-advanced?
I think about a proposal with something like:

new project

Input your project's name
Input the necessary tecnology (web and/or electron and/or nativescript/reactnative and/or ionic2/cordova and/or angular universal...)
Some libs included (bootstrap or material or jquery)
Configurations (sass or less)
Authentication (oauth2 or openid connect)?

Another commands:

new component
new router
new service

Btw, i think this will be only possible when the refactoring ( https://github.com/mgechev/angular2-seed/pull/959 ) is done and get here.
I think that to get there we will need another repository with a fork from this one, that where the template will be, and another one where the generator itself will be hosted.

Generator Template Repository (seed-advanced fork customized like templates)
Generator Repository (where will be the generator code itself)

And to make possible to the generator repository use the template repository we could use git's submodule. That will make it easier to keep the generator up to date to the seed (by merging).
Any thoughts?

I would think with the CLI coming, the best plan here is to wait which is what was decided in the parent seed in regards to the same topic.
Also, unless someone picks up the refactoring, it's not going to happen. Nathan & I spent a weekend on the decoupling and decided the added complexity ( and systemjs annoyances ) to make it happen simply wasn't worth the marginal benefits of decoupling the app from the tools.

I'm going to loop in Victor Sosa @peoplewareDo who just created yeoman generators for some of my other seed projects. I would be curious to hear your thoughts here Victor?
@d3viant0ne  Regardless of where the CLI is going, it wouldn't provide specifics for this seed so this may still be valuable to explore.

@nathanwalker I was thinking about the wrong feature, It was the offline comp. that was "blocking" the generator when I brought it up in the parent seed a few months back. I'll see if I can dig up the original issue.

The original issue was created after looking at AngularClass's es6 starter that has a slick generator

@victorsosa Do you have any spare cycles to potentially consider including a generator for this seed in addition to the others that you recently created (which are awesome btw)?

@NathanWalker Yes, I will start working on it.
@jvitor83 nice spec description, I will try to do the requirements. You can check https://github.com/peoplewareDo/generator-nativescript-plugin in the meantime. I let know anything else.

@NathanWalker I will have to create a new generator for this, because the orginal generator-nativescript-plugin was intent for create plugins and this project is not a plugin. Also I think I need to wait for the refactor too, right?

@victorsosa awesome thank you! The refactor is actually complete now so things are ready 👍

Need a little help, yeoman generator based on this seed-advanced will have some questions,
this three are the base of this project:
is web app <- false - will omit the file main.web.ts
is electron <- false - will omit the file main.desktop.ts
is nativescript <- false - the generator will omit the nativescript folder
The boolean value will set or unset the folder or files, please confirm that those are the correct files or folders; Is that enough? or should we consider other changes?
Another question is which project will be the default one; because the user shouldn't be able to say no to every platform, there should be one platform by default like NativeScript or Electron.

Yes above is all correct. Web should always be the default so if no to web, and no to others, it would default to create a web only setup. Thanks again for this 👍

great, so the web is the only one by default. The others are optional.

Task 3: Some libs included <- are those library optional or required?

@victorsosa RE: Task 3 - You could provide an option to install those with the seed but it's not required. Most 3rd party lib integration outside of whats provided here out of the box should probably be left to user to integrate.

@NathanWalker Please check out https://github.com/peoplewareDo/generator-ng2-seed-advanced and let me know; still under development.

I am working in the task 4: Sass or less, using the info in https://github.com/NathanWalker/angular2-seed-advanced/issues/182.

Thanks @victorsosa no rush, a generator is certainly a luxurious thing and your starting generator is looking awesome; your work is excellent. 👍

@NathanWalker  Addition of simple component, router, and service subgenerators

Only this tasks need to be done:
3.Some libs included (bootstrap or material or jquery)
4.Configurations (sass or less)
5.Authentication (oauth2 or openid connect)?

@victorsosa thank you so much for all your effort, really excellent work. I have added a link to your amazing generator on the Wiki here: https://github.com/NathanWalker/angular-seed-advanced/wiki

you welcome


Mass Rename with custom function

I am trying to rename all the files in the current directory with edir, an improved vidir  but am not sure where to get started.

Just to check, are you aware that renaming multi-selections is a thing? See here for a showcase.

Multi-select files
Launch rename
Rename/move files at will
Confirm action with CR

ESC in normal mode /C-c in insert mode abort the action.
Let me know if that solves your issue, otherwise I'll try to make some time to look into edir (I'm afraid not making promises).

Closing due to inactivity. Maybe what you want to do can work, but, apologies, there is a built-in solution and no headroom right now to go into rabbit hole and make external custom solutions work.


ipyflow kernel incompatible with google colab

Hi, I wanted to use the API of ipyflow (code function) in Google Colab but it raises an error.
from ipyflow import code
# cell 1
x=1
# cell 2
y=x+1
# cell 3
code(y)

python3.10/dist-packages/ipyflow/api/lift.py in _validate(sym)
     11 def _validate(sym: Any) -> Symbol:
     12     if sym is None or not isinstance(sym, Symbol):
---> 13         raise ValueError("unable to lookup metadata for symbol")
     14     return cast(Symbol, sym)
     15

ValueError: unable to lookup metadata for symbol

The notebooks's kernel is ipyflow as follows:

Hmm, might be necessary to run %load_ext ipyflow on colab first; I'll take a look soon to try and figure out what's going on (responding from mobile at the moment).

Couldn't resist and just took a quick look. Seems that on colab, there's something about the ipyflow kernel subclass that conflicts with colab's own kernel subclass, which is why the dropdown doesn't appear to have an effect (it probably crashes on startup and causes colab to default to its normal kernel).
However, we can still use the ipyflow shell. After running %pip install ipyflow-core, you can run %load_ext ipyflow.shell, and from there ipyflow will start tracing (you'll probably get a warning from pydevd in the first cell you run after that) and it will start tracking dataflow, at which point you can use its APIs.

I'm able to use the API now. thanks.

I'm actually going to keep this open because the kernel incompatibility looks like it's a genuine bug (and fixable, fortunately)

%load_ext ipyflow now works on the latest version of ipyflow (i.e. instead of %load_ext ipyflow.shell), but it looks like getting this kind of support automatically when the runtime is selected from the dropdown will need some help from the Colab side -- I opened https://github.com/googlecolab/colabtools/issues/3988 for this.


0.48.1 and 0.48.2 not loading New (or Trending) videos from follows

just upgraded to 0.48.2 and am still getting the same issue with followed channels not loading after several attempts switching between "Top" and "New":

switching back to 0.48.0 for now because this issue doesn't happen here.

Can you try it again - many times this is a temporary hiccup and will work after a couple retries. I don't think anything changed there between those versions. Let me know!

I see the same issue. New (or trending) from "following" list show this error, but top from "following" works.
I use the AppImage on Linux - this is the error trace I see when this issue occurs.
Daemon: 2020-10-21 23:55:02,535 ERROR    lbry.extras.daemon.daemon:708: error handling api request
Traceback (most recent call last):
  File "lbry/extras/daemon/daemon.py", line 700, in _process_rpc_call
  File "lbry/extras/daemon/daemon.py", line 2454, in jsonrpc_claim_search
  File "lbry/wallet/ledger.py", line 958, in claim_search
  File "lbry/wallet/ledger.py", line 848, in _inflate_outputs
  File "lbry/wallet/network.py", line 85, in send_request
  File "lbry/wallet/network.py", line 75, in send_request
  File "lbry/wallet/rpc/session.py", line 483, in send_request
lbry.wallet.rpc.jsonrpc.RPCError: (-32000, 'sqlite query timed out')

Verified, same here:
Daemon: 2020-10-22 11:51:26,658 ERROR    lbry.extras.daemon.daemon:708: error handling api request
Traceback (most recent call last):
  File "lbry/extras/daemon/daemon.py", line 700, in _process_rpc_call
  File "lbry/extras/daemon/daemon.py", line 2454, in jsonrpc_claim_search
  File "lbry/wallet/ledger.py", line 958, in claim_search
  File "lbry/wallet/ledger.py", line 848, in _inflate_outputs
  File "lbry/wallet/network.py", line 85, in send_request
  File "lbry/wallet/network.py", line 75, in send_request
  File "lbry/wallet/rpc/session.py", line 483, in send_request
lbry.wallet.rpc.jsonrpc.RPCError: (-32000, 'sqlite query timed out')

not sure why I never thought to look in the terminal to catch that x.x

This should be fixed in the latest RC: https://discordapp.com/channels/362322208485277697/377895389992321064/773568397064667146

This should be fixed in the latest RC: https://github.com/lbryio/lbry-desktop/releases/tag/v0.49.0-rc.1

Verified, issue does not occur with v0.49.0-rc.1.


Publishers want to create a private collection of related dataset submissions

Definitions
From the 2020 plan:

A project represents one or more datasets submitted by the same publisher and identified by the publisher as belonging to the same collection, which is conventionally assumed to be a "unit of publication".  Commonly this will be a collection of highly-related datasets belonging to a single paper, eg, the Tabula Muris Senis collection, the Gut Cell Atlas, etc.
A dataset must belong to exactly one project.

In other words, a dataset is like a song and a project is like an album. See a project page in the DCP Portal for one example.
Stories
Publishers want to create a private collection of related dataset submissions belonging to a publication.
// Need to merge these duplicate stories from the 2020 plan:

Scientists who host pre-publication data on Corpora want their data to be private until their dataset has been peer reviewed so they have a chance to fix errors before the data are widely viewed.
Scientists who provide us data want an opportunity to review their submission before it is publicized.

Design
The Schema currently allows an optional set of project related fields to be included in the dataset metadata. Historically, this is required to provide information for the human curator.
The fields are:

project_name
project_description
project_protocol_links
project_raw_data_links
project_other_links

In self-publishing, this information is gathered in the UI when a publisher creates a collection. These fields can then be deprecated from the schema. (Updates to the current data model will also be required.)
For the portal design:

Collection name is required.

Collection description is required.

All other Collection fields are optional.

By default, new Collections are private to the Publisher.

Blocked on the outcome of the discussion on portal.

#975 describes a related use case


Updated dv.wait_for_dv_success() condition

Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/verified

/verified

/cherry-pick v4.15 v4.14


query-frontend:Splliting and Retries for Labels can cause cascading failure

We had a very small incident on one of our clusters where query frontend spammed 20k requests in same second against backend and saturated all CPUs of all store GW and Receivers. See:

For now, we turn off retries to 0
Open Question:

Should split by enabled by default then?
Should retries be turn off by default?

On an unrelated note, it would be amazing to add a concurrency limit to all gRPC methods at the end (aka interceptor limit) we thought of cc @yashrsharma44 @yeya24 (:

@bwplotka and others I am working currently on the unrelated note about the interceptor limit on PR referenced.
What should from your experience be a good function which should handle the limit and how?
tia :sun_with_face:

@bwplotka  I was reserching a bit on this and rate-limiting mechanism.
As suggested I looked at the gate construct which basically is already a limiter.
My question here in this issue:
since we do have already https://github.com/thanos-io/thanos/blob/058e22b5b5ed13b44856d8c4fe355a40091f6a97/cmd/thanos/query.go#L79
I can't follow how the  query frontend spammed 20k requests  if we do have by default a limit of 4.

adding also as notes:
** cortex**

https://docs.google.com/document/d/1lsvSkv0tiAMPQv-V8vI2LZ8f4i9JuTRsuPI_i-XcAqY/edit#
https://github.com/cortexproject/cortex/pull/3374

I can't follow how the query frontend spammed 20k requests if we do have by default a limit of 4.
I might miss something here.

Well that's the key. We might not have it in all places. E.g we don't have it for LabelValues methods

ah ok now I get it ! {: thx ! I played a bit with the rate-limiting tockenBucket and worked quite nice. I think I will need to update the document.
I think the NewBucketWithRate could be something we could use https://github.com/juju/ratelimit#func--newbucketwithrate
but I think we might need some empirical data to see how much request we need to limit like the maximum and also the rate we allows the refill period...

but I think we might need some empirical data to see how much request we need to limit like the maximum and also the rate we allows the refill period...

Oh I think the values should be configurable. It really will differ on what API is behind how much resources you have etc 🤔

yes, I agree that we need configurable ones but I was thinking we might have like defaults.
I do have looked how we have global options but I didn't had time to investigate more in details the Thanos options. something I want to investigate.. anyways today in Italy I need to survey the so much eating :grin:


Adds support for non-string error objects to be caught by NoYield

This behavior is valid in Luau, but I suspect it won't work (and/or won't be easily testable) in our lemur setup. We may have to adapt the test in order to properly simulate it.

Coverage increased (+0.006%) to 99.242% when pulling 28a5e83280f6ac79159f7b19d4f93e565b509899 on LUAFDN-1320 into 6758f690a697be68d13c206ae950712bcc935735 on master.


clipcat: 0.16.4 -> 0.16.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/xrelkd/clipcat/releases.
meta.description for clipcat is: Clipboard Manager written in Rust Programming Language
meta.homepage for clipcat is: https://github.com/xrelkd/clipcat
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.16.5 with grep in /nix/store/aaidgpghcrbk84diwdcz8qlybcqiaxv4-clipcat-0.16.5
found 0.16.5 in filename of file in /nix/store/aaidgpghcrbk84diwdcz8qlybcqiaxv4-clipcat-0.16.5

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
clipcat

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/aaidgpghcrbk84diwdcz8qlybcqiaxv4-clipcat-0.16.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A clipcat https://github.com/r-ryantm/nixpkgs/archive/f8654bdccbe36a47534282b3beb8379ad09140d5.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/f8654bdccbe36a47534282b3beb8379ad09140d5#clipcat

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/aaidgpghcrbk84diwdcz8qlybcqiaxv4-clipcat-0.16.5
ls -la /nix/store/aaidgpghcrbk84diwdcz8qlybcqiaxv4-clipcat-0.16.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

clipcat

Maintainer pings
cc @xrelkd for testing.

@NixOS/nixpkgs-merge-bot merge


Deleting unwanted repository

For the users who don't want to display all the repositories in the resume, there can be an option to select the repositories which he/she wants to delete.  This option is enabled only after a user see all the repositories on screen.

We can have the checkboxes or something next to the repo name in the template itself that is generated when we click search. Or a different UI can be created after the template and before generating PDF. All options are welcome.

@garimasingh128  I want to work on this issue


Add a custom fact for the max supported interface speed

Lets add a maxspeed_ethX fact.
Couple of examples:
sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Link partner advertised link modes:  Not reported
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: No
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: no
Should return '1000'
sudo ethtool eth2
Settings for eth2:
Supported ports: [ FIBRE ]
Supported link modes:   10000baseT/Full
Supports auto-negotiation: No
Advertised link modes:  10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Link partner advertised link modes:  Not reported
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: Direct Attach Copper
PHYAD: 0
Transceiver: external
Auto-negotiation: off
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes
Should return '10000'

Are you leaving this open for tests?


React native accessibility - the screen reader should read the text first which is passed by AccessibilityInfo.announceForAccessibility().

Description
Using react native swiper, I need to focus on the desired react element and it should read first by the screen reader when the page loads.

I used AccessibilityInfo.announceForAccessibility() but by using this on any event the screen reader is reading the first or last element on the screen and then it is reading the AccessibilityInfo.announceForAccessibility string.
I used AccessibilityInfo.setAccessibilityFocus(reactTag), but it is not consistent to focus the element.

Similar question found in - https://stackoverflow.com/questions/64580176/react-native-accessibility-set-focus
Version
0.67.1
Output of npx react-native info
System:
OS: macOS 11.6.4
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 135.33 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 6.14.16 - ~/.nvm/versions/node/v14.19.0/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: ^6.3.1 => 6.4.0
react: 17.0.2 => 17.0.2
react-native: 0.67.1 => 0.67.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Using react native swiper, I need to focus on the desired react element and it should read first by the screen reader when the page loads.

I used AccessibilityInfo.announceForAccessibility() but by using this on any event the screen reader is reading the first or last element on the screen and then it is reading the AccessibilityInfo.announceForAccessibility string.

Similar question found in - https://stackoverflow.com/questions/64580176/react-native-accessibility-set-focus
Snack, code example, screenshot, or link to a repository
No response

Is the AccessibilityInfo.announceForAccessibility(str) working for iOS?

I'm not familiar with react-native-swiper (this is a third-party component), but it sounds like this may be a problem specific to how they are handling the callbacks for when a page is done being swiped into view.
Generally speaking, you had the right approach by using AccessibilityInfo.setAccessibilityFocus(), as this method should move focus to a given element. If it's not working, it may actually be that focus is getting lost due to the element being updated in some way.
An easy thing to try to narrow down the problem would be to add a slight delay to your focus call to make sure that the swiper component is done updating before attempting to move focus to it. Something like 500ms should be enough. If that does fix the issue, then this is definitely a problem with react-native-swiper and when its informing you that the new view is ready.
I don't think there's anything to be done on the react native side though, so I'm going to close this out.  Feel free to re-open if you find that this is an issue with RN specifically, and not the react-native-swiper component.


Added MaxPlanck High School

Students of MaxPlanck High School Website

This seems to be a secondary institution -- this database is for post-secondary (higher education) institutions only. Closing.


return vertically

i have query will result only 1 row which have 3 fields. when im using yajra-datatables it will show horizantal. and i want to show on table vertically, like this:
from: field1 field2 field 3 (using yajra)
to:
field1
field2
field3
can you help me?

Not sure if this is possible but I think you can open up this issue on main dataTables.js site/forum since this will require you a custom extension js script. Thanks!

ok. thanks for your answer.

@donny26utama is this for matrix tables? you can just add your header as column data for 1st index. Can be done using php, but would recommend javascript solution.
You may want to use
https://datatables.net/extensions/fixedcolumns/
and
https://datatables.net/examples/basic_init/complex_header.html


zod lazy

is there any chance or plan for supporting zod lazy method? we really need it, we've dropped an from using it for that

also looking forward for this, should it be difficult to implement?

I also need this really hard, would it be difficult to implement?

i second that

Same here 👍
The use case:

Using Prisma as an ORM to define DB models
Using Zod to validate user requests
Using zod-prisma-types package to auto generate Zod types based on Prisma schemas

Issue:
The zod-prisma-types package uses recursive schemas and .lazy and unable to include those generated schemas in the OpenApi registry

Please see my comment here
In general we are open to implement it, however it would presumably require some overhaul of our code base. Considering the amount of free time that we have to maintain this library I am not sure when that could come. If any of you is open to the idea, you can try and open up a PR.


Expected a VirtualMachineError: but got AttributeError: instead

Python 3.9.9
eth-brownie-1.17.2

I couldn't understand why I ended up triggering 'AttributeError' instead of VirtualMachineError.
This is the in test_lottery_unit.py
def test_cant_enter_unless_starter()
I even try to use the code from your GitHub to check if the fault was from my code but it still outputs the same error. Is there a way to resolve this problem?

Deployed lottery!
====== short test summary info =====
FAILED tests/test_lottery_unit.py::test_cant_enter_unless_started - AttributeError: 'NoneType' object has no

The overall still work. only the testing part is a problem
P.S. Your lesson was amazing. I have learned a lot from it.

Try updating node version to 16.13.1 LTS following up by reinstalling ganache-cli. This resolved the AttributeError problem for me.

@RishabhSood  thanks for the suggestion. The exception finally work.


Fix NPE in UfsDirectoryStatus

In some UFSes like S3, directories will have a null lastModifiedTimeMs indicating the timestamp is not available. We used long as constructor parameter type which will throw when null is passed in for a S3 directory.

Merged build finished. Test PASSed.

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

alluxio-bot, merge this please.

alluxio-bot, cherry-pick this to branch-2.1 please.


Fixed horizontal scroll on the post page

I've spotted that on the post view there is a horizontal scroll present and I've started debugging what's the cause. The post has a previous one and a next one available, therefor you can see links to them in the bottom of the page. It turns out, the previous post link has an additional 1px border, which makes the element to have 50% + 1px  of width and that's why you can see a horizontal scroll (see screenshot).

Fixes #202

Thanks for this - would you mind adding the appropriate prefixed versions, too?

Not at all, which browser do we target? As far as I can see, there might be a need for -webkit- prefix according to caniuse: http://caniuse.com/#search=box-sizing

-webkit- and -moz- please :)

@JohnONolan there you go. :)


Adding argument checks for change_ports script.

The script now checks if the argument passed as port is numeric-only, and in a valid port range. Feel free to change any of the outputted messages :)
Ports 1-1024 are allowed, but it's easy to change that if it's not wanted.
It may also be nice to add a warning if the port chosen is currently used, but I'm not sure how compatibility between OSs is handled yet, so I'm leaving that as future work. Let me know if you have comments on it, and I'll gladly work on it.

Glad to, Giuseppe!
It's a great tool, I use it a lot, so hopefully I will be contributing more!
Agustín.


Can't access local hosted WebSocket service from iOS simulator with host set to localhost

Describe the bug
I am experiencing an issue with my WebSocket service, which is implemented in Python and deployed within a Docker container using Orbstack. My iOS application, running on a simulator, is attempting to connect to this service through ws://localhost:8050/ but is unable to establish a connection. The error messages indicate that the server is returning a "403 Forbidden" response to the application's request.
I subsequently changed the host from localhost to <IP_ADDRESS>, which allowed the application to successfully establish a connection.
Could someone please help me in clarifying the reason for this issue?
To Reproduce

Start Orbstack.
Execute the WebSocket service using the command docker-compose up --build.
Build and run the iOS application with host set to localhost.
Use the application to access the WebSocket service -> Can't establish a connection.
Change the host to <IP_ADDRESS>.
Retry step 4 -> Succeeded to establish a connection.

Expected behavior
iOS app running on simulator could successfully establish a connection to the WebSocket service.
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.8.1
Commit: 442ca0f634f1e62aa1f00c2c54353e69830cc4d5 (v1.8.1)
System info:
macOS: 14.5 (23F79)
CPU: arm64, 12 cores
CPU model: Apple M3 Pro
Model: Mac15,6
Memory: 36 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-11-14T02-53-38.043626Z.zip

Screenshots and additional context (optional)
No response

On contrast, HTTP service, e.g, Wiremock, also runs within Docker container using Orbstack, my iOS could successfully send request and access its resources.


Polarmesh

Codecov Report

Merging #51 (d607907) into dev (bf2dbf5) will increase coverage by 0.90%.
The diff coverage is 86.58%.

@@            Coverage Diff             @@
##              dev      #51      +/-   ##
==========================================
+ Coverage   67.93%   68.84%   +0.90%
==========================================
  Files          13       13
  Lines        1076     1133      +57
==========================================
+ Hits          731      780      +49
- Misses        345      353       +8

Impacted Files
Coverage Δ

src/BaseMesh.jl
85.53% <ø> (ø)

src/MeshMaps.jl
76.19% <ø> (ø)

src/PolarMeshes.jl
90.43% <83.33%> (-4.40%)
:arrow_down:

src/Cells.jl
89.88% <91.66%> (ø)

src/BZMeshes.jl
95.06% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Python 2 Deprecated

The 0.4.0 release of torchaudio was the last one supporting python 2, and master no longer officially supports python 2. We're looking to strip the code of python 2 references.

[x] No longer use package six and backports for cross-compatibility
[ ] Convert to inline type hinting
[x] No __future__ import
[ ] Change string formatting style

I can take care of type hinting tomorrow :)

Do you need an extra hand with this or is everything covered?

For completeness, I did a quick grep through files, and I see the following reference to python 2.
setup.py:        "Programming Language :: Python :: 2.7",
test/test_librosa_compatibility.py:    # Using a decorator here causes parametrize to fail on Python 2
torchaudio/common_utils.py:    if not PY3:  # Python 2
torchaudio/common_utils.py:    elif not PY34:  # Python [3, 3.4)
torchaudio/common_utils.py:    else:  # Python >= 3.4
torchaudio/common_utils.py:# On Py2, importing librosa 0.6.1 triggers a TypeError (if using newest joblib)
torchaudio/common_utils.py:# TODO: allow Py2 when librosa 0.6.2 releases
torchaudio/datasets/utils.py:    r"""Since the standard csv library does not handle unicode in Python 2, we need a wrapper.
torchaudio/datasets/utils.py:    Python2 support for os.makedirs(.., exist_ok=True)
torchaudio/datasets/utils.py:    # Required for Python 2.7 compatibility

In here, also a reference to python less than 3.5 which is no longer supported on master, see here.

https://github.com/pytorch/audio/pull/625 addressed setup.py.

Not this one :)


feat(port): support Sway

Description
This PR adds a port to the Sway Wayland compositor.
Assets

An image to the icon of the app that this port is related to:

A screenshot with a good zoom in fullscreen showing this port in action:

Checklist

[X] PR description included
[X] I've read the documents
[X] I've created or commented in an issue related to this port asking to work on it
[X] I know I shouldn't change any files in the packages folder manually
[X] I've added this port at the end of the related category list in the main README
[X] I've attached an image to the icon of the app that this port is related to
[X] I've attached a screenshot with a good zoom in fullscreen showing this port in action

@Hendrikto

Hey, I got sidetracked for a bit. Thanks for your patience. I think the PR should be ready to merge now.

Thanks @Hendrikto 💜


enhanced: mdc web migration

Hello, thank you for your maintaining :)
Now I'm using preact and mdc in my side project.
So I found this project, but this project still used v0.39.0.
Is there any plan about migration?
Or is there something I can do to help?

Well 2.0 is kind of ready since a long time. But there were a few missing pieces and I and @prateekbh had little time.

Well 2.0 is kind of ready since a long time. But there were a few missing pieces and I and @prateekbh had little time.

@cromefire
Thank you for your reply.
Is there an list about missing pieces?
If the missing pieces can solve by contributor(as you know some issue can solve only collaborator),
I wanna help this project!

#1335 is one of the biggest blockers that we have right now. It can all be as simple as "the tests are flaky"

@prateekbh
Cool! I'll try to tackle that!

And there are a few issues left concerning components (their title starts with 2.0)

@cromefire
Is it an issue with the name 2.0 - **, correct?
Thank you :)

Yes there is #1262, #1263, #1267, #1268 and #1270 from what I see

But the completely new ones (the first two) aren't as important as the rest right now

@cromefire Is there any estimated release date for 2.0?

No. When it's ready I guess @prateekbh will release it