how to build and train our own dataset ？

I have an obj model, how to build a dataset like him (a set of 24 pictures)，using 3Dsmax ?  How to take this group of pictures ？

You only need to make sure that your rendering setting (extrinsic/intrinsic/look at) is the same as that of the SoftRas.

You only need to make sure that your rendering setting (extrinsic/intrinsic/look at) is the same as that of the SoftRas.

thank you for your reply ！It's hard for me to do this, could you please share some more details？When I use 24 cameras and render these pictures in 3dsmax, The result is always wrong and can't train the models.

Hi, the camera position seems correct. I assume they are all with 30degree of elevation. Can you show me some of your rendered images. Have you tried to compare your renderings with that in the dataset, e.g. same id with similar appearance? I have no idea about what you meant “wrong”.

Yes, Thank you!
 I think some parameters are still different.
When I use your dataset, the model of the plane appeared immediately just train two or three times, that' incredible !
------------------ 原始邮件 ------------------
发件人:                                                                                "ShichenLiu/SoftRas"                                                                                @.>;
发送时间: 2021年6月9日(星期三) 下午4:50
@.>;
抄送: "Say that<EMAIL_ADDRESS>主题: Re: [ShichenLiu/SoftRas] how to build and train our own dataset ？ (#82)
Hi, the camera position seems correct. I assume they are all with 30degree of elevation. Can you show me some of your rendered images. Have you tried to compare your renderings with that in the dataset, e.g. same id with similar appearance? I have no idea about what you meant “wrong”.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry I couldn't find your images. Do you mind uploading them to a public storage, e.g. google drive?

Sorry I couldn't find your images. Do you mind uploading them to a public storage, e.g. google drive?

It's my dataset:

Sorry I couldn't find your images. Do you mind uploading them to a public storage, e.g. google drive?

It's my dataset:

and It's yours:

This is weird, can you send me the numpy you used? I want to try it on my side.

This is weird, can you send me the numpy you used? I want to try it on my side.

Can I communicate with you by email， It will be better.

The rendering process in the current code does not include textures, and the reconstruction basically only considers contours and shapes. How can I add the texture of the model, and whether the reconstruction effect will be better after adding it.


🚩 Milestone 7: Forms | feature/addForms

🚩 Milestone 7: Forms | feature/addForms - >>branch<< -
Hi there! Ruthmy here. 👋
This is the PR for the Blog app - Add forms milestone project. The goal of this milestone is to add the forms associated with the models and controllers created in the previous milestones.
Here is a summary of what has been done:

[x] Create a method called current_user in your ApplicationController to make current user data available to all controllers.
[x] Created the form for the actions of create new post, add a new comment.
[x] Allow Users to add likes to Posts (the heart image).

Thank you for taking the time to review this PR ⭐!

✨ Thank you very much @binhussen ✨


Container-Based deploy with .ENV vars

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting questions.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
NEW_APP
AWS Region
us-east-1
Amplify Hosting feature
Deployments
Question
Hello, I'm trying to deploy a "Container-based" app, but my .npmrc file uses an ENV var to install dependencies.
Can someone explain to me please where to configure this option?
Thank you
here is my Dockerfile

FROM public.ecr.aws/docker/library/node:18-alpine AS build

WORKDIR /app

COPY . .

RUN npm install

RUN npm run build

FROM public.ecr.aws/docker/library/node:18-alpine AS deploy

WORKDIR /app

RUN rm -rf ./*

COPY --from=build /app/package.json .

COPY --from=build /app/build .

RUN npm install --production

EXPOSE 3000

CMD ["node", "index.js"]

@gzimbron You can create environment vars, and reference them in the buildfile.

Thank you @SamKomesarook .
I'm facing with other trouble.
My sveltekit app have /src folder where Amplify add all aws-exports.ts graphql files and Dockerfile , etc..
But I need to dockerize app in parent directory (../) is there a way to set Dockerfile and .dockerignore in root and all other amplify files in /src path?


AVRO-1814: Fixed name collision between field names and toplevel package names

@nielsbasjes, why did you close this? Did it not work as intended? It looks fine to me if it works. Maybe add a test for org?

I closed this because I thought attaching a patch to Jira is a better way of handling this.


Thoughts on the constants section

Based on a discussion I had with @pre63 this morning.

Ideas are integrated in pull request #9


Investigate fuzzing Poly1305 against fiat-crypto

https://github.com/mit-plv/fiat-crypto

This is no longer needed as Orion now uses fiat-crypto for it's own Poly1305 implementation.


chore(docs): add webpack update instructions

Blocked by https://github.com/angular/angular-cli/pull/1455 and angular-cli@webpack release. This PR should not be merged before we do a release, as there are more changes that can happen meanwhile.
Things that need to be incorporated into the guide:

[x] mention that existing sass/etc files need to be renamed in styleUrls to include their real suffix, in beta.10 we were always using .css suffix in the array.
[x] mobile app upgrade instructions

LGTM.

Also another note. Even if I do this for a new project, ng serve gives me:
No angular-cli-build.js found. Please see the transition guide: https://github.com/angular-cli/angular-cli/blob/master/TRANSITION.md#user-content-brocfile-transition.
I believe this is because addon/ng2/blueprints/ng2/files/package.json ends up referencing<EMAIL_ADDRESS>(I did the install using an npm linked angular-cli on webpack branch)

@intellix at the moment we haven't yet done the webpack release mentioned in the instructions so you're basically just running with master, so the following instructions apply:
https://github.com/angular/angular-cli#development-hints-for-hacking-on-angular-cli
There's a shortcut you can use as well, ng new --link-cli, which will do the linking for you.

(closed by accident)

If you use sass. You have also to rename your css files to .scss  or .sass in templateUrl otherwise It won't be picked up and an error message is shown.

@elvirdolic good point. I'll add that to a list on the first comment so that it's updated before the release.

I still have pretty strong comments about the structure of this document, but if you insist on getting this in first and then working on incremental updates I'm fine with its state right now.

Hi there, I am trying a lot of approaches to migrate from my current project running on systemJS based on the quick-start to the format of the angular-cli. Do you maybe have some advice?

@wouterkirstein I'd say this:

make a new project using ng new
copy over the whole app into ./src/
configure your main.ts in angular-cli.json (and anything else you see is different)
remove any module.id you have in components (not needed)
make all html/css paths in components relative

If you still have problems then stack overflow is the best place to ask.

Hi Filipe!
Thanks for all the help appreciated!
Wouter
  From: Filipe Silva<EMAIL_ADDRESS>
To: angular/angular-cli<EMAIL_ADDRESS>Cc: Wouter Kirstein<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Sent: Thursday, December 22, 2016 8:56 PM
Subject: Re: [angular/angular-cli] chore(docs): add webpack update instructions (#1456)
@wouterkirstein I'd say this:

make a new project using ng new
copy over the whole app into ./src/
configure your main.ts in angular-cli.json (and anything else you see is different)
remove any module.id you have in components (not needed)
make all html/css paths in components relative
If you still have problems then stack overflow is the best place to ask.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Error preparing Blob/File data to be stored in object store

This is happening in iOS Safari 11.3.1

Wondering if this is related: https://github.com/pouchdb/pouchdb/issues/7057

Tried downgrading localforage to earlier versions to no avail. This must be the iOS Safari issue, the newest version of which has issues storing blobs for some reason. They are empty objects in the database:

OK so the reason this has been happening is because on iOS File blobs can no longer be stored.
To solve this when this comes to storing images, specifically (as is in my case) they have to be converted to strings first. Below is the quick function I used to do that in my project:
const fileToBase64 = file => {
  return new Promise((resolve, reject) => {
    const reader = new FileReader();
    reader.readAsDataURL(file);
    reader.addEventListener("load", () => {
      resolve(reader.result);
    });
    reader.addEventListener("error", error => {
      reject(error);
    });
  });
};

then
const key = "random_key_string"
fileToBase64(file).then(string => localForage.setItem(key, string));

This issue is a regression on iOS but I thought it'd be useful to add this solution, should anyone else experience this problem with localForage or any other browser DB engines.

Hmm, so we should probably be handling this ourselves given it's a regression. I'll reopen this as it's a legit bug (and a regression).

I've filed https://bugs.webkit.org/show_bug.cgi?id=188438.

the webkit bug seems to be fixed now

@sebvie it doesn't appear to be fixed.  I'm still getting the error on Safari on iOS.

I believe Apple has fixed the issue. However, an empty file shell will still throw the error. new FormData(form) creates a file for any file input with a name attribute whether or not it has a file(s)


Dockerfile documentation

Created documentation for #33 against #34

The changes have been made as per requested.


[raymath] Feature request for matrix decomposition

Please, before submitting a new issue verify and check:

[x] I tested it on latest raylib version from master branch
[x] I checked there is no similar issue already reported
[x] My code has no errors or misuse of raylib

Issue description
I would like to request matrix decomposition function in raylib that would take a single Matrix parameter and return a Transform struct with the rotation, translation and scale of the matrix.
This is a requirement to fix an issue with GLTF animation.
Code Example
RLDEF Transform MatrixDecompose(Matrix value);

Hi @object71, function can be added but unfortunately, Transform struct is not available in raymath, so the function should be something like:
RLDEF void MatrixDecompose(Matrix value, Vector3 *position, Quaternion *rotation, Vector3 *scale);

I investigated a bit this issue and it seems getting those parameters is not always possible from a given Matrix.
Here some related references:
https://docs.microsoft.com/en-us/dotnet/api/system.numerics.matrix4x4.decompose?view=net-5.0
https://stackoverflow.com/questions/27655885/get-position-rotation-and-scale-from-matrix-in-opengl
https://docs.unity3d.com/ScriptReference/Matrix4x4.html
https://gamedev.stackexchange.com/questions/187090/how-to-decompose-a-4x4-trs-transformation-matrix-with-negative-scale
https://pixel.engineer/posts/matrix-decomposition-unity/

Hmm, well I will need to think of some other way of applying the inverse bone matrix for gltf then :/
I am not that good at math so I decided to request the MatrixDecompose function first.

@object71 I think the best option is using the inverse-transform-matrix: MatrixInvert() should work for that.
I'm closing this request for now.


Update search-region-support.md

Adding information on capacity constrained regions

@HeidiSteen
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


SSL Certificate expired

This library now errors whenever it's being used because the SSL certificate on the herokuapp is expired.
Traceback below:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/fake_useragent/utils.py", line 45, in get
    return urlopen(request, timeout=settings.HTTP_TIMEOUT).read()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1361, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>

@Slater-Victoroff this library is a very thin wrapper around the fake-useragent, please address the problem at the library's issue tracker if it is still reproducible and was not a temporary problem. Thanks!


Investigate why regression script keeps stalling on Unix

Too many CI builds seem to be getting stuck on regression and never finishing.

Unclear why they hange, but I think I'd start with using getrusage() to determine the resource usage in case the script runs under a Posix system (#2802) (or use the regression tcl script for now on Posix systems).
That way, we eliminate the polling of all processes which could conceivably be rate-limited or even blocked in the github virtual machines running CI.

The regression script shouldn't be hogging the resource anymore. I introduced a longer sleep time a while back to release the CPU more aggresively and not compete with the running Surelog processes.
Switching to Tcl version is no more an option since it doesn't run RoundTrip process and there are other changes that were introduced to code generation which haven't been ported. The outputs of the two versions aren't the same anymore.
I am introducing a few changes to narrow down the root cause of the stall. For one, there is no indication of which two (or more) tests are still running since there is no output to declare a completed test. My hunch is two (or more) large tests are running simultaneously and that's what is hogging the resources. The currently running tests might help narrow down this case.
Also, to completely eliminate the regression script hogging the resources, I will further increase the sleep time to see if that helps.

I think the resource hogging is already greatly reduced, about 5% so about one core per 20 jobs run in parallel, so my only concern could be that the virtualization of the sandbox the CI is running in is limiting the access to poll the process list.
Runing two resource-intensive jobs in parallel also sounds like a potential plausible explanation for the hang.

Fixed by #2975

That problem still exist.

@hs-apotell, I think it is more likely to hang when the diff output is large.

Limiting the number of jobs to the number of cores with the python script makes it work all the time:
python3 scripts/regression.py run --jobs 8

The default is to use multiprocessing.cpu_count so it shouldn't be running any more jobs than the number of cores on the machine. I am not so sure about explicitly giving it on the command line should make any difference.
I would go with the large diff output being more likely the cause. Question for you - Is the diff output in console window helpful? Generally speaking when the output logs are different they differ hugely and the limited diff in the console doesn't really say the whole story. You always end up comparing the logs. Is it acceptable to turn that spew off, at least for the sake of narrowing down the root cause for this issue? Alternatively, I would make a separate workflow that runs only the Posix jobs compare the results of main workflow with this new one (will have to add an option in script to turn off the spew from command line).

The partial diff output is useful for most of the changes I make like adding new property or fixing logic bugs.
It is also very handy to write the tkdiff command line at the end of the run for all the files that have diffs, instead to have to reconstruct that line manually.

Okay! If the problem persists then I might add a parallel workflow with diff disabled to confirm the hunch. I don't see a failure in last few builds on CI so will hold off on any immediate action.

@alaindargelas Looks like this is still happening and doesn't seem like large diffs are the problem since it is happening for successful builds as well. From whatever logs I could gather from past few builds, I have narrowed down the issue to two tests - Rsd & Google. Either of these two tests always show up as still running in the logs. I would like to temporarily disable these test to see if that fixes the problem. I would like to get at least 10 builds before toggling the tests again.
A thing I noticed about these two tests is that they both report high "large allocations" in the log. Do we know where this single 1.5GB+ allocation is coming from? Last failed build for Rsd test reports a single allocation of size<PHONE_NUMBER> bytes.

@hs-apotell, can you disable those tests in the CI only, but when I run the regression locally they still run?
I don't want to fly "blind", since those tests are important.
No idea what triggers the large allocation. @hzeller?

Yes, I can do that with the help of available environment variables in CI. I will post a PR with the change.

@alaindargelas @hzeller Found this in Rsd.log from a failed build. I am not familiar with kj libraries implementation. May be it means something to either of you.
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x11a434000 @  0x7f6cf3047680 0x7f6cf30672ec 0xa3402b 0xa3805e 0xa1b411 0x913052 0x92549d 0x926758 0x90cf23 0x736f02 0x68df79 0x46413d 0x418e95 0x4174ec 0x418565 0x7f6cf2add083 0x4171be

terminate called after throwing an instance of 'kj::ExceptionImpl'
  what():  kj/io.c++:53: failed: expected n >= minBytes; Premature EOF
stack: a7b7e6 a76a43<PHONE_NUMBER>28 7f784a489082 41778d

Notes (attempt to narrow down root cause) -

Turning off Rsd test fixed the posix+gcc but not posix+clang
Tried running all tests sequentially - 3 consecutive builds succeeded
Tried cherry-picking large tests and running only those sequentially - 3 consecutive failure, all posix+clang

Things to try -

Check if disk is full in case of posix+clang
Try shuffling the order in which tests are run

This was the last thing in the log and the test itself failed with segmentation fault. So, I would say this was more than a warning.
Also, on a machine with 7GB of RAM a 2GB allocation can be huge especially when running things in parallel.
This is what I have found so far -

This is not a disk space problem.
Builds succeeds if I run all tests in parallel. Incidentally, the builds are no slower (1 vs. 2 cores doesn't make much difference especially given limited RAM).
I tried running small tests in parallel and large tests sequentially (any teat that takes longer than 80 seconds of CPU time is considered large). The builds still failed.

Forgot to mention, the issue doesn't happen in all builds. I going it in only 2 builds and both reported large allocations. Both builds were with Clang on Linux.

ok, so figuring out the source of the large allocation is a good next step. I'll see if I can set up something locally today.

Looking at the lifetime of the Rsd process, capnp::MallocMessageBuilder::allocateSegment() is the originator of a peak allocation of 2.8GiB (followed by UHDM::FactoryT::Make() with 1.38GiB).
Maybe UHDM could be written in chunks without it keeping the full serialized format in memory ?

Since you already have it setup, could you do a quick check to see what happens if either of these large allocations fail.

Are these single allocations? FacoryT allocations should be smaller chunks since it is responsible for creating different UHDM models.

Maybe UHDM could be written in chunks without it keeping the full serialized format in memory ?

The bigger question is whether a machine with 7GB of RAM even a realistic environment for Surelog, especially if one is working with large designs like Rsd or Google. Memory-mapping is a good option but chunks seems overkill and unnecessary complication in my opinion.

Fair enough. Optimizations for unrealistically small machines should not be high on priority lists.

Tried running all tests sequentially - 3 consecutive builds succeeded

Take that back. 2 of 5 builds failed even when running all tests sequentially. Unfortunately, with failed builds there is nothing to dig into because none of the logs are available from CI.

This is fixed


Webpack error with expo

Describe the bug
Trying to launch project in web browser using Sanity and React-Native. However, I'm coming across these errors:
<EMAIL_ADDRESS>2569:2-13
Can't import the named export 'jsonRequest' from non EcmaScript module (only default export is available)
<EMAIL_ADDRESS>2570:2-14
Can't import the named export 'jsonResponse' from non EcmaScript module (only default export is available)
<EMAIL_ADDRESS>2573:2-13
Can't import the named export 'observable' from non EcmaScript module (only default export is available)
<EMAIL_ADDRESS>2571:2-10
Can't import the named export 'progress' from non EcmaScript module (only default export is available)

To Reproduce

Create React Native project
Install Sanity using npm i sanity
Launch expo using expo start
Launch web browser project with w

Expected behavior
A web browser with your React Native project should appear.
Screenshots
If applicable, add screenshots to help explain your problem.
Which versions of Sanity are you using?
locally:
@sanity/cli (global)  3.2.4 (up to date)
@sanity/image-url     1.0.2 (up to date)

In my package-lock.json
"@sanity/client": "version": "4.0.1"
What operating system are you using?
Mac OSX Ventura 13.0
Which versions of Node.js / npm are you running?
Run npm -v && node -v in the terminal and copy-paste the result here.
8.15.0
v16.17.1

I'm seeing the same issue with 4.0.1 but with a vanilla React app

Seeing the following with @sanity/client in vanilla Create React App:
<EMAIL_ADDRESS>Can't import the named export 'jsonRequest' from non EcmaScript module (only default export is available)

Hi, could you try with npm i<EMAIL_ADDRESS>to see if it resolves it?

looks like this fixed it, thanks!!

Perfect! 😌


Init message containing unformatted object.

When running h5p init <lib-name> and following the questions with sane defaults I get finally the last question:
About to write to [object Object].

Is this ok? (yes)

Is suppose that [object Object] should be some informative representation of the object.

It seems to be a bug, but when you proceed it seems to do what is intended.


Fixed issue whereby SNS topic used by code requires 'process' to be at the end, not the middle.

Seems to be reversion of a previous commit made, not sure if this will break?
Also bumped cubejs versions.

I just merged the PR. Thanks @econtentmaps!


Enable JWT expiration by default

Enable JWT expiration by default.
Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Docs: https://github.com/saleor/saleor-docs/pull/401


AddExclusiveJob (and Debug variants) and job mutator attributes

AddExclusiveJob won't work with job mutators because the "exclusive" job gets mutated as well. Which results in the filter rejecting all benchmark cases.
Can we do something about that via Validator?
config.UnionRule = ConfigUnionRule.AlwaysUseGlobal would be a possibility, but affects everything, not just jobs.
See also:
https://github.com/dotnet/BenchmarkDotNet/blob/e08b7964a25ef26807cef6f3f137ce46ed2b7947/src/BenchmarkDotNet/ConsoleArguments/ConfigParser.cs#L304

Closing this for now. Needs different approach.


Particle effects constantly offseted the cursor

at the very beginning of a file. it's right at the cursor.
and the particles appears above the cursor farther when the cursor is at lower place of a file.
at 550 line it's about 5 lines above.
and it's constantly at the beginning of a line. no matter where the cursor is in a line.

tried, restart and togglings. now particle effects moves horizontally with the cursor. but still above it.
and the color is the color where particle effects at. guess it somehow mistakenly think the cursor is above where cursor actually is.

atom 1.2.4 and active-power-mode 0.3.2
on a js file. it's abnormal. on a newly create blank file. it's good.

seems under some circumstances, @editor.getScrollTop() would drift towards up.

are you using soft wrap?

already fixed, use the latest version


optional<string_view> ?

We might consider returning optional<string_view> and optional<pct_encoded_view> from url_view functions returning componetns which are optionally present (e.g. userinfo).

So we ask Peter?

It sounds inconvenient when we know or don't care if the thing exists:
auto h = u.host();

becomes
auto hr = u.host();
pct_encoded_view h;
if (hr)
    h = hr.value();

Well host is one of those things that always exists.

What is the difference between
if( u.has_scheme() )
    f( u.scheme() );

and
if( u.scheme().has_value() )
  f( *u.scheme() );

?
Now I'm not arguing for changing anything (yet) but it seems to me like the same convenience. The different is that with optional I can write
void do_something( optional<string_view> userinfo );

instead of
void do_something( bool has_userinfo, string_view userinfo );

The difference is when an empty string is an acceptable replacement for a missing component in that application. Especially if the user knows where the URL is coming from.
str = u.scheme(); // the user expects `scheme` to exist 99.99999% of the time because `u` was parsed with `parse_uri`, but "" won't break anything nonetheless

str = *u.scheme(); // Maybe BOOM 100% - 99.99999% of the time

Because it's always maybe a BOOM :boom:, the user has to use the longer form all the time:
if( u.scheme().has_value() )
     f( *u.scheme() );

So it ends up being f(u.scheme()); vs. if( u.scheme().has_value() ) f( *u.scheme() ); else f({}); in that case.
To be fair, the best pattern, in that case, would be
f(u.scheme().value_or({}));

but I'm not sure many people would do that.

Scheme can't be empty, so ! u.scheme().empty() is just as good as u.has_scheme(). Furthermore we can make calling scheme() well-defined behavior by simply mentioning in the javadoc that if there is no scheme, the return value is empty (that might even be there already). Also note they can write u.scheme_id() != scheme::none. Lots of ways to feed a cat.

! u.scheme().empty() is just as good as u.has_scheme()

! u.scheme().empty() implies it could be empty.

mentioning in the javadoc that if there is no scheme, the return value is empty

That's basically what we have now. No optional.

Yeah. Well, we don't have enough information so we should do the least amount of work. And right now that means doing nothing. If the reviewers feel strongly about optional arguments, we can revisit. For now we leave this open.

I've been thinking about this. In particular why I thought it was a good idea to use optional in the magnet link example. And I guess the reason is that most URL components have a position/offset on the string, even if their size is zero.
For instance, when has_query() differentiates two kinds of empty strings, these are empty strings just because we are removing the "?" prefix to make things nicer or more useful. However, in both cases, the query has a particular valid position on the string, even if it's an empty substring or at the "?" prefix we are removing.
That is different from say params returning "" for elements that don't exist. They don't exist and there's no concept of position for them. The same is valid for magnet links.
I guess that's the implicit rationale that made me comfortable with the API from the first time I saw it.

This seems worse to me because you don't have the option of accepting an empty string in lieu of a disengaged optional.


amount of snapshots

is there a way to know the amount of snapshots before calling the 'select snapshot' intent?

You can call [Games.Snapshots.load()](https://developers.google.com/android/reference/com/google/android/gms/games/snapshot/Snapshots.html#load(com.google.android.gms.common.api.GoogleApiClient, boolean)).  This will return all the metadata for the saved games.

thanks! that worked


working folder for group collab

Session #1
@sbrennan4

Thinking about this further. The CDEvents vocabulary uses past tense for the predicates so if we're trying to map these states to predicates then we should keep that in mind.

CDEvents are declarative, so it's whatever occurred from some service. However,. that doesn't we can't use present tense here, since what did occur was moving to that state. So I think changing them to be present tense makes sense

@sbrennan4 from SIG meeting CDEvents 10/23/2023
Ticket should have predicates: created, updated, and resolved
Updated with state free form
Approval may have score to indicate whether or not a manual approval is needed

Link to ticket proposal https://hackmd.io/@Mev468KqSlSu2GZpMzXKhQ/ByYuaEufa

TODO: go over jira api and make sure everything fits into the spec


[Q] analyze plugin behavior check

Hello @lelegard I would have two questions on the analyze plugin:

I am analyzing a TS every 2 seconds with the analyze plugin and from time to time I get the "services" in the json output  all with the name as "unknown" and a couple with name = System Software Update.  this is strange as SDT at the same time seems ok.

		{
			"bitrate": 2264165,
			"bitrate-204": 2456860,
			"components": {
				"clear": 3,
				"scrambled": 2,
				"total": 5
			},
			"id": 8146,
			"is-scrambled": true,
			"name": "(unknown)",
			"original-network-id": 0,
			"packets": 3012,
			"pcr-pid": 173,
			"pids": [
				173,
				420,
				1016,
				1816,
				5507
			],
			"pmt-pid": 1016,
			"provider": "(unknown)",
			"ssu": false,
			"t2mi": false,
			"tsid": 6300,
			"type": 0,
			"type-name": "unknown (0x00)"
		},
		{
			"bitrate": 1634980,
			"bitrate-204": 1774127,
			"components": {
				"clear": 5,
				"scrambled": 0,
				"total": 5
			},
			"id": 8173,
			"is-scrambled": false,
			"name": "(System Software Update)",
			"original-network-id": 0,
			"packets": 2175,
			"pids": [
				86,
				97,
				102,
				106,
				111
			],
			"pmt-pid": 86,
			"provider": "(unknown)",
			"ssu": true,
			"t2mi": false,
			"tsid": 6300,
			"type": 0,
			"type-name": "unknown (0x00)"
		}

Second question is about the bitrate evaluation of the plugin: it seems that, when the "-i" option is specified, the repetition-ms of the tables is evaluated only for the interval duration. So if for example the interval is 2s and the tables has a repetition rate of 5s, then you get a repetition-ms of 0Kbps. is this confirmed?
thnaks!

to be closed. issue i think is linked to a variable SDT rep-rate. if analysis is not complete in the interval there is no way to get the service name.

to be closed. issue i think is linked to a variable SDT rep-rate. if analysis is not complete in the interval there is no way to get the service name.

Hi @enricovittorini
The analysis is restarted from scratch after each interval. Intervals smaller than 20 seconds do not really make sense since some tables may be completely missed (eg. TDT/TOT).

@lelegard agree.
I was trying to have a real-time update of the repetition rate of the tables. maybe a possible solution would be concatenate multiple filter and analyze with increasing interval.....
-P analzye -i 1 ... -P filter --psi-si .. -P analyze -i 2 -P filter -n  17 -P analyze -i 10 etc...
one more thing as we talk about analyze plugin...
I was looking for a way to have the whole TS pids bitrate in almost real-time (every 2 sec max ). I only found analyze to report them. Something else I should try?

As a general consideration, measuring "intervals" (bits/second or tables/second) in "real time" is a non-sense since you need a measurement duration which is larger than the interval to be measured, thus no longer being "real time". Two or three times the measured interval is even preferable.

I was looking for a way to have the whole TS pids bitrate in almost real-time (every 2 sec max ).

Plugin analyze with 2 seconds intervals is fine to evaluate the bitrate, not the table intervals, at least tables with large cycles.


Refactor DisplayPackageInfo: temporaryPackageInfo

Summary of changes
Apply the refactoring regarding DisplayPackageInfo to temporaryPackageInfo. This change entails changes to many components that get or set temporaryPackageInfo.
Context and reason for change
Improve separation of display and business logic by introducing DisplayPackageInfo in all components that display attributions.

In attributionColumn the following code still has to be adapted:
  const attributionIdsToResolveOrUnresolve = isDisplayPackageInfo(
    temporaryPackageInfo
  )
    ? temporaryPackageInfo.attributionIds
    : []; // TODO: remove when refactoring

The subpanels of the AttributionColumn still expect PackageInfo. This should be ``DisplayPackageInfo`.


Update Kanban Flow Diagram

Add more description for each section based on the Definition of Workflow (DoW) draft in the report
https://www.figma.com/file/i0wvsE3ZA6uhVOTPs2Fsxd/Kanban-Flow?node-id=0%3A1&t=IdKL1MhxcUYGHvzi-0

Review the changes thoroughly and decide if we really want to do some steps like that. Or if something is missing in there

added a bulletpoint to validate - done and fixed spelling


Upgrading to flutter 3.7 can effectively improve the problem of slow page scrolling.

$ flutter --version
Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b06b8b2710 (8 days ago) • 2023-01-23 16:55:55 -0800
Engine • revision b24591ed32
Tools • Dart 2.19.0 • DevTools 2.20.1

demo.zip

Hi, LocalSend targets a lot of targets and uses a lot of less maintained dependencies. That's why I would like to wait a few bug fix releases to keep things stable. I think that the scroll issue is not critical.


[SMALLFIX] Minor update of MapR-FS docs

@gpang

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/12325/
Test PASSed.

Merged build finished. Test PASSed.

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/12326/
Test PASSed.


Unable to sync a large table

When attempting to sync a large table, 2 million records plus, the Orchestrator pipeline runs before the Azure Synapse Link initial sync is complete and fails. Once the pipeline fails then it will not run the DataverseToSQL pipeline again without manually updating the DataverseToSQLPipelineProcessingLog table to remove the failed lines.

@rsnb100 Please provide a link to the documentation you are referring to. We need that information to assign your issue to the correct writer.

Hi Peter,
This is the documentation link: https://learn.microsoft.com/en-us/power-apps/maker/data-platform/azure-synapse-link-pipelines?tabs=synapse-analytics https://learn.microsoft.com/en-us/power-apps/maker/data-platform/azure-synapse-link-pipelines?tabs=synapse-analytics
Best regards,
Rchard

On 24 Feb 2023, at 23:43, Peter Hecke @.***> wrote:
@rsnb100 https://github.com/rsnb100 Please provide a link to the documentation you are referring to. We need that information to assign your issue to the correct writer.
—
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/powerapps-docs/issues/4052#issuecomment-1444726945, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJYXCGVZFMWVIW5AQQUEADWZFBTBANCNFSM6AAAAAAU35NBDM.
You are receiving this because you were mentioned.


extract AsyncValue to separate package

I think this class is useful outside the scope of this project and it'd be nice to have it as a standalone package.

You can make your own using Freezed

You can make your own using Freezed

I did, but I saw that you had a todo in the source and wanted to get any future updates that you make to the class.

I did, but I saw that you had a todo in the source and wanted to get any future updates that you make to the class.

@jinyus  I am kind of agree, but I'm still confused

Having only one AsyncValue seems like a bit partly. It's just a result of REST,
Maybe viewState will also need it. in other word. the package would be a kind of weird

I have reviewed myself, maybe because I actually need other packages, so I need AsyncValue. But maybe RiverPod is a good choice? I wonder if you are in the same case

The new state management is hard for me to recode, because they are already a bit too much. Triple_pattern, mbox, bloc, provider, redux...

https://pub.dev/packages/async_value
I did publish it before find this issue, however,  This maybe not a good attempt
In particular, Nullsafe is going on

We have a need for using AsyncValue separately. We have our own GraphQL library which we use internally and we wouldn't want to introduce riverpod as a dependency just to use AsyncValue.
And we'd like the public api to be compatible with other parts of our code that use AsyncValue. We could easily create our own but then our codebase would have to deal with two incompatible versions of AsyncValue.

@venkatd 👋
What is wrong to create your own state class with Freezed? Flutter also has a similar class as AsyncValue called AsyncSnapshot and uses with Stream and Future as Riverpod.

+1 it's a nice Future wrapper and there can be a project that does not need the whole riverpod package

riverpod (not flutter_riverpod) is written in pure Dart. So importing it to get AsyncValue  is harmless, since tree-shaking will remove what you don't use.
I'm not fond of extracting AsyncValue. It was built specifically for Riverpod and will keep changing to fit Riverpod needs.

Yup, makes sense 🙌

Closing since I don't plan on doing that


Frontend: Special Offer Banner Component

Description
Special Offer Banner component to be able to display it on the Landing Page. Created a link for the users to see the Special Offers page. It should display only on landing page we have to add this React Component in Home.js file
Fixes # (21)
How to test?
By running npm run dev
Please provide a short summary how your changes can be tested?
Checklist

[x] I have performed a self-review of my own code
[x] I have followed the name conventions for CSS Classnames and filenames, Components names and filenames, Style filenames, if you are in doubt check the the project README.MD and here https://github.com/HackYourFuture-CPH/curriculum/blob/master/review/review-checklist.md
[x] I have commented my code, particularly in hard-to-understand areas, if you code was simple enough mark the box anyway
[x] I have made corresponding changes to the documentation, if you code was simple enough mark the box anyway
[x] This PR is ready to be merged and not breaking any other functionality

This has has changes from #23. Please remember to create your branches from develop See here #42
Let us know if you need help with git

HI Should I remove this PR and create new one with the branch created from develop.

HI Should I remove this PR and create new one with the branch created from develop.

I think so, alternatively the first branch is merged first and then you merge develop into this one.
But yes, its cleaner

HI Should I remove this PR and create new one with the branch created from develop.

I think so, alternatively the first branch is merged first and then you merge develop into this one. But yes, its cleaner

I created a new pull request "Frontend: Special Offer Banner Component #55" . should i close this one


draft post: better way

Description
Hi!
I need the option to write a draft, and when is ok, publish as post...
at the moment the only way is to write a page and after convert into post, but is not a good way, 'cause the post has many feature like the page doesn't have..
what will be the better way to do this?
I need to write and see the result (only me, so an hidden link should be good)
thanks

thanks @flohw , I read it.. but is not possible to do this online in github pages

Yes, you have to install ruby/jekyll first. But this is a required for what you want to do.

Closing as this isn't related to the theme as @flohw noted above and is Jekyll core / plugin territory.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add basic glTF support

This PR implements loading of single glTF scenes. It is by no means a complete solution.
Test with cargo run --release --example gltf for the lantern model or cargo run --release --example gltf -- test_data/SciFiHelmet.gltf for the helmet model from the old PBR example.
Notable outstanding issues

Cameras are ignored.
Normals and tangents are not generated, and the loader will panic if unavailable.
The default scene is ignored because I forgot to add the required function.
No animation support.
Embedded image data is not decoded.

Non-issues

If no scenes are available then nothing will be rendered. This is the correct behaviour according to the specification.

I'll be able to review in a few hours

Ping @bwasty

I think 10Mb is nothing, assuming we aren't going to move them around too much ;)
If we need more, we can look into https://git-lfs.github.com/

@kvark yes, probably. It wasn't demand, just suggestion.

@kvark: I adapted the code from your group example. The code is more elegant now. Thanks for the tip.

Normal and tangent generation is coming next.

There are significant changes to the camera API. Let me know what you think.

I'd like to start working on animations but since there will be a lot of changes it might be best to start another PR.

Yes, Animation should be in separate PR

Will squashing be necessary before merging?

To a reasonable degree. Mainly, to have each  commit to build for bisection, but not too small.

On Sep 5, 2017, at 06:07, David Harvey-Macaulay<EMAIL_ADDRESS>wrote:
Will squashing be necessary before merging?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.

Should be ready to merge now as 'partial support.

Sweet!
bors r+


Error: The file “swift-package-list” couldn’t be opened because there is no such file

Would love to try out your tool, but regardless of the installation method I get the same error (see below). You got any idea? I double checked the $PATH already but this seems fine.
Version: 4.0.1
Mint
mint run swift-package-list Test.xcodeproj
Error: The file “swift-package-list” couldn’t be opened because there is no such file.

Homebrew
swift-package-list Test.xcodeproj
Error: The file “swift-package-list” couldn’t be opened because there is no such file

Xcode Build Plugin
Run script build phase 'SwiftPackageListPlugin' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked.

PhaseScriptExecution SwiftPackageListPlugin <HIDDEN>

Error: The file “swift-package-list” couldn’t be opened because there is no such file.
LLVM Profile Error: Failed to write file "default.profraw": Operation not permitted
Command PhaseScriptExecution failed with a nonzero exit code

Error: The file “swift-package-list” couldn’t be opened because there is no such file.

LLVM Profile Error: Failed to write file "default.profraw": Operation not permitted

Command PhaseScriptExecution failed with a nonzero exit code

Hey, thanks for your interest!
Sounds like an issue on specifically your machine/environment.
Can you try to download the latest version manually (https://github.com/FelixHerrmann/swift-package-list/releases/download/4.0.1/swift-package-list.tar.gz) and execute it directly with ./swift-package-list so we can ensure it has nothing to do with the executable? The output of which swift-package-list would also be interesting.


Prefer ReadOnly over readonly keyword

Using Readonly<T> is much more readable than marking every property as readonly.

So if I understand you are proposing to use:
interface FooMutable {
  bar: string
}
type Foo = ReadOnly<FooMutable>

Or perhaps:
type Foo = ReadOnly<{
  bar: string
}>

The second option would not give an  interface but instead a type I think. Is there a shorter way to write it and still use an interface?

I actually prefer types over interfaces in my code, so I'm not very familiar with how this would work on interfaces. I'm not sure if there's a way to create mapped interfaces (a la mapped types).
Maybe it would make sense to use this rule only for types?

Yes, I think making a new rule that only apply for types would make the most sense. Something like readonly-type. AFAIR ReadOnly<T> creates a mapped type which adds the readonly modifier on all members.
So the rule would check for type alias declarations (TypeAliasDeclaration) that declares an alias for type literals (TypeLiteral).
So it would warn for this case:
type Foo = {
  bar: string
}

But ignore this case:
type Foo = number;

Is there more cases we need to check for?

type Identity<T> = T;

export interface Bar extends Identity<{foo: string}> {}

should also be check, no?

The second option would not give an interface but instead a type I think. Is there a shorter way to write it and still use an interface?

interface Foo extends Readonly<{
    myProperty: string;
    myOtherProperty: number;
}> {};

I think this looks pretty readable. At least when there are a lot of properties. Compare to how it currently looks:
interface Foo {
    readonly myProperty: string;
    readonly myOtherProperty: number;
};


Adding Manhwa

Feature Description
Will you be adding Manhwa sites in future updates. One i love to use is Toonily!
https://toonily.com/
please add  soon
Solution you would like
No response
Alternatives you have considered
No response
Additional context
No response

Hi, Thank you for the suggestion but I don't plan to add any more websites. But you can create/use mangal scrapers with kaizoku. You can copy/mount mangal scrapers under /config/.config/mangal/sources and use it

ok how would i add the site. never done it before, but would love to learn how

You can see some examples here. Also, take a look at the Creating custom scraper section in the mangal repo.

I made this one by editing one of the examples: it wont find any media

-- @name    Mangakatana
-- @url     https://mangakatana.com/
-- @author  metafates
-- @license MIT
----- IMPORTS -----
Html = require("html")
Headless = require('headless')
Time = require("time")
--- END IMPORTS ---
----- VARIABLES -----
Browser = Headless.browser()
Page = Browser:page()
Base = "https://mangakatana.com"
Delay = 1 -- seconds
--- END VARIABLES ---
----- MAIN -----
--- Searches for manga with given query.
-- @param query Query to search for
-- @return Table of tables with the following fields: name, url
function SearchManga(query)
local url = Base .. "/?s=" .. query
Page:navigate(url)
Time.sleep(Delay)
local mangas = {}

for i, v in ipairs(Page:elements(".bsx > a")) do
    local manga = { url = v:attribute('href'), name = v:attribute('title') }
    mangas[i + 1] = manga
end

return mangas

end
--- Gets the list of all manga chapters.
-- @param mangaURL URL of the manga
-- @return Table of tables with the following fields: name, url
function MangaChapters(mangaURL)
Page:navigate(mangaURL)
Time.sleep(Delay)
local chapters = {}

for _, v in ipairs(Page:elements("#chapterlist > ul li")) do
    local n = tonumber(v:attribute("data-num"))
    local elem = Html.parse(v:html())
    local link = elem:find("a"):first()

    local chapter = { url = link:attr("href"), name = link:find("span"):first():text() }

    if n ~= nil then
        chapters[n] = chapter
    end
end

return chapters

end
--- Gets the list of all pages of a chapter.
-- @param chapterURL URL of the chapter
-- @return Table of tables with the following fields: url, index
function ChapterPages(chapterURL)
Page:navigate(chapterURL)
Time.sleep(Delay)
local pages = {}
for i, v in ipairs(Page:elements("#readerarea p img")) do
    local p = { index = i, url = v:attribute("src") }
    pages[i + 1] = p
end

return pages

end
--- END MAIN ---
----- HELPERS -----
--- END HELPERS ---
-- ex: ts=4 sw=4 et filetype=lua


CLI does not auto create .github/workflows to deploy a release with spkg

Out of scope for a code generator, we will not add such thing.


setState() on a State object for a widget that no longer appears in the widget tree

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: setState() called after dispose(): _OverflowTextAnimatedState#9c500(lifecycle state: defunct, not mounted)
This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
#0      State.setState. (package:flutter/src/widgets/framework.dart:1167:9)
#1      State.setState (package:flutter/src/widgets/framework.dart:1202:6)
#2      _OverflowTextAnimatedState._autoScroll (package:overflow_text_animated/overflow_text_animated.dart:132:5)
#3      _OverflowTextAnimatedState._handlerInfiniteLoop. (package:overflow_text_animated/overflow_text_animated.dart:126:7)
#4      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#5      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#6      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: setState() called after dispose(): _OverflowTextAnimatedState#36315(lifecycle state: defunct, not mounted)

Thanks for report. I will check it

Thanks for report. I will check it

I am also facing the same exception. Is there any solution?


fix(authentication): patch connectivity check

Patch connectivity check to execute an anonymous bind and show error when not allowed

Related to https://github.com/portainer/portainer/issues/3443

Hi guys, just noticed this PR. I'm curious about what was wrong with the previous code?
I see the anonymous mode check was reverted. Are you sure this is correct? A call to connection.Bind(settings.ReaderDN, settings.Password) should only be mde if anonymous mode is disabled, i.e. there are credentials to Bind to confirm the connection.
I did test both situations (anonymous mode enabled/disabled) when I developed the previous patch and all was working as expected, therefore why I'm curious.
If anonymous mode is enabled, ReaderDN and Password may not be empty and the call to Bind might incorrectly fail in this case because it tried to bind using specific credentials.
Perhaps what you wanted to do is that, if anonymous mode is enabled, try to bind with empty credentials, i.e. something like connection.Bind("", ""), regardless of the values in the database?

With the previous implementation, Portainer is not attempting a bind in the test connectivity logic when anonymous mode is true. Thus the result will always be a success when testing anonymous mode.
If I understand correctly (from a days worth of researching and playing with both OpenLDAP and AD) you can still initiate a bind to an LDAP server when anonymous mode is enabled. In the case it is disabled (default configuration) an error will be thrown saying it is not enabled. We wanted to show this error in the UI so the user can see whether anonymous mode is enabled or not.
From my limited understanding of go, the connectivity check is always using the credentials sent from the front end and not the db (@deviantony correct me if i'm wrong).
If you remember, I changed the front end to not send credentials when anonymous mode is true, so we should not have any issues with anonymous binding.


Is there an analog of Angularjs's ng-include?

Thank you

Please don't use issues for simple questions. Questions are better asked in the gitter channel or the forum.
As for ng-include, you may want to take a look at http://vuejs.org/api/#partial


[Question] Strategy for invalidating cache

I was wondering about the proper implementation of cache invalidation. Basically, I want to invalidate certain cached functions, when triggering new builds of external apps.
To achieve this I've got this task, which is similar to the Nitro docs: https://nitro.unjs.io/guide/cache#cache-keys-and-invalidation
export default defineTask({
    meta: {
      name: "content:purge",
      description: "Purge all content related cache for a fresh build",
    },
    async run() {
        console.log('purging cache....')

        const cacheKeys = await useStorage('cache').getKeys().then(keys => keys.filter(key => {
          return  key.startsWith('nitro:functions') &&
                  !key.startsWith('nitro:functions:find') &&
                  !key.includes('onderwijsloket') &&
                  !key.includes('Onderwijsloket')
        }))

        cacheKeys.forEach(async key => {
          await useStorage('cache').removeItem(key)
        })

        console.log('✨ cache purge done. ', `Removed ${cacheKeys.length} cached items`)
        return { result: "Success" };
    },
  });

I've also got an api endpoint that programmatically runs this task
export default defineEventHandler({
  onRequest: [
      authTasks
  ],
  handler: async(event) => {
    const { result } = await runTask("content:purge");
    return { result };
  }
})

This works perfectly fine in local dev, but does nothing when running in a CF environment (neither in preview nor production).
Am I missing something here?

Hey @remihuigen
Right now the Nitro tasks are not available in production (that's why they are still experimental) as we need to have a way to protect them.
What you can do in the meantime is to use an API route for this that you protect yourself using a Authorization header for instance.

What you can do in the meantime is to use an API route for this that you protect yourself using a Authorization header for instance.

That's what I'm doing with this endpoint, isn't it?
export default defineEventHandler({
  onRequest: [
      authTasks // Middleware to protect tasks
  ],
  handler: async(event) => {
    const { result } = await runTask("content:purge");
    return { result };
  }
})

I'm using this setup for a bunch of tasks, with a external cronjobs for fetching these endpoints, and this works perfectly (in production).
My issue is with
       const cacheKeys = await useStorage('cache').getKeys().then(keys => keys.filter(key => {
          return  key.startsWith('nitro:functions') &&
                  !key.startsWith('nitro:functions:find') &&
                  !key.includes('onderwijsloket') &&
                  !key.includes('Onderwijsloket')
        }))

        cacheKeys.forEach(async key => {
          await useStorage('cache').removeItem(key)
        })

where const cacheKeys = await useStorage('cache').getKeys() seems to be returning an empty array in production.. And i have no clue why.
When i visit admin.hub.nuxt.com/{team}/{project}/production/server/cache there's a bunch a cache keys.
I'm probably missing something obvious here...


Remove commit and shouldCommit

I've used Domain::commit on 3 projects, and I removed it on two of them (and I'd like to remove it on all three).
Why did we add commit?
The original motivation was to make it easier maintain one representation of data inside of a Domain where it is easy to write to, and expose a format easier to query when accessing repo.state
Why do I want to remove commit?
This worked nice for simple cases, but it has a ton of edge cases. It invites dependency on other domains in order to be useful. For example, reducing down a dataset to match a specific query.
It's also slow, potentially creating new objects where it doesn't need to. Our most recent data viz project, this was the single biggest source of inefficient rendering. It's simply too cumbersome to use shouldCommit to check to see if you should calculate state again. Often that depends on UI requirements, which don't belong in the data layer.
Also, it removes the amount of knowledge you need to know about domains. The current "special" hook methods are now: getInitialState, register, serialize, deserialize, setup, and teardown.
What to do moving forward
We have indexes and computed props for that now, so the utility is no longer there. Additionally, I want to remove as many use cases from Domains that require external knowledge as possible.
I've also removed the ImmutableJS docs for the time being. When we document indexing, we should dig into how to use them with ImmutableJS. For example:
// assume repo.state.users is an Immutable.Map()
repo.patch({
  users: Immutable.Map([1, { id: 1, name: 'Billy' }])
})

repo.index('users-list', 'users', state => Array.from(state.users))

repo.compute('users-list') // => [{ id: 1, name: "Billy" }]

repo.compute('users-list') // => Exact same users array as before

Coverage increased (+0.3%) to 100.0% when pulling dd1fd4dd84ac9cff8d10c904a476f20bf522d948 on remove-commit into ba5c61088257f5c84654745e2aa3968cdbd921a6 on master.

Interesting timing - I was just considering how those methods might have let me use a Vis.js DataSet as my domain state. Good to know that would have been a bad time performance wise.
🇺🇸  I'm Dan Tello and I approve of this message 🇺🇸

@greypants oh that's a super interesting idea though. I'd love to see that.

I like 👍

Coverage increased (+0.3%) to 100.0% when pulling a182530175c7d1e301e592f6f54b149229bddd06 on remove-commit into 72980fdefd5bf11887f769e8e64a3b7014bc577f on master.

Coverage remained the same at 100.0% when pulling c20090388a534572c52b9e1fe76845739e161571 on remove-commit into 5c0bb0c40ff966d756ebb46c00b83e03b55fb6fb on master.


Symphony onboarding fixes for feb10

What is included in this request?

[X] Bug Fix
[ ] New feature
[ ] Changes to an existing feature
[ ] New extension
[ ] Changes to an existing extension

:tada: This PR is included in version 1.17.0-dev.15 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


feat: auto select board in board view

Will auto select your board if you are only a board member of one antenna
Will not print the select option if you are only a board member of one local

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


Sidebar width not correct on first opening

As I have demonstrated it in the video below, I have perfectly adjusted the sidebar options to my liking with 3 cases.
However, the sidebar width size is not respected on the first opening. Why could this be?
https://user-images.githubusercontent.com/18570936/109404568-b4645a00-7967-11eb-9a51-44e84cc92e1b.mov

I have found a workaround with Keyboard Maestro. With a macro I can open the page by middle mouse clicking go on the page name in the sidebar.


New Installation: Check component pending state when upgrading

Description
Currently, the installation logic either installs a component that is not there, or it upgrades it if it exists.
This causes a failed upgrade in case the component that is being upgraded is actually still installing.
Before upgrading a component, check if it is done installing or not. In case it isn't don't upgrade it and track its progress.
Reasons
Avoid failed upgrades when a component is still installing.

Seems we our current logic isn't covering the edge-case that a deployment was interrupted. In such cases, a rollback should happen to the last consistent state (interesting reads: https://stackoverflow.com/questions/65006907/kubernetes-helm-stuck-with-an-update-in-progress + https://github.com/helm/helm/issues/8987#issuecomment-742086773).


Improve article 1611.03530

[Exact location of issue
https://arxiv.org/abs/1611.03530
Problem details
Full translation not available
Desktop (please complete the following information)

OS: Windows
Browser EDGE

arxiv article title:
Understanding deep learning requires rethinking generalization

This document only includes a PDF asset, wrapped in TeX with:
\begin{document}
\includepdf[pages=1-last]{alyosha.pdf}
\end{document}

So it falls outside of possible coverage for ar5iv, which converts TeX to HTML. For this paper we need an approach based on PDF OCR, which for now is not in scope.


Fonts not being included in _site/assets

I've forked nielsenramon/chalk, and am having problems with the fonts not ending up in the resulting _site folder when I serve or build.
If I sync to master, run bundle exec jekyll serve, and I get Failed to load resource: the server responded with a status of 404 (Not Found) for both ionicons.woff and ionicons.ttf.
Looking in the _site/assets folder, I see a complete lack of any fonts:
$ ls _site/assets
about.jpg  apple-touch-icon.png  application.js  documentation  light.css  notfound-light.css  og-image.jpg  vendor.js

@danbrakeley Any other issues? Is jekyll-assets properly installed? What version of jekyll-assets you running? Made any changes?

I've created a PR to fix this: https://github.com/nielsenramon/chalk/pull/78

I think it's a problem with jekyll-assets' cache https://github.com/jekyll/jekyll-assets/issues/371

@danbrakeley Please test latest commit on master. Thanks @renanvalentin for the fix!


typo in the error msg of juliaup update

C:\Users\Shayan>juliaup update
Error: Failed to uopdate versions db.

Caused by:
    0: Failed to download current version db version.
    1:
    2: The connection with the server was reset (0x80072EFF)

Edit the uopdate to update

Thanks for spotting this! If you'd like to fix it yourself, you can make a PR that edits these files:
https://github.com/JuliaLang/juliaup/edit/main/src/command_selfupdate.rs
https://github.com/JuliaLang/juliaup/edit/main/src/command_update.rs
(I found those files from this search page)

you'd like to fix it yourself, you can make a PR that edits these

Are you saying that I can make my first-ever contribution?

Fixes https://github.com/JuliaLang/juliaup/issues/535 and closes https://github.com/JuliaLang/juliaup/pull/537


When I open the posting UI, it displays gray-colored boxes behind the posting interface.

Describe the bug
With the posting UI opened, it displays gray boxes in both side sections.
At least on macOS, it seems like they're only visible on Firefox. I haven't checked it on other systems.
To Reproduce

Open the posting UI on Firefox.

Screenshots
Safari:

Firefox:

Details

Platform: macOS
Platform version: 14.5
App version: 1.88.0

I can't reproduce, do you have any extensions installed? Otherwise, you may have an accessibility setting, or your display driver / colour profile is broken.

I just realized it only happens on my external monitor with some specific color profiles. I can't reproduce it on my MacBook monitor either. I wonder why though.

It's probably the color profile. Even on the external monitor, I can't reproduce it with sRGB profile. Should I close the issue?

Yes to closing, display drivers / color issues are out of Bluesky's control :)


fix(build): rebuild chart when its root files change

Description:
The dependencies listed for the cmd/cli/chart.tgz target previously
only included files in a subdirectory of the chart and was missing the
files at its root, like values.yaml. This change includes all files
underneath charts/osm at any depth as a dependency for the generated
chart embedded in the CLI.

Affected area:

Functional Area

New Functionality
[ ]

Documentation
[ ]

Install
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Ingress
[ ]

Egress
[ ]

Networking
[ ]

Observability
[ ]

SMI Policy
[ ]

Sidecar Injection
[ ]

Security
[ ]

Upgrade
[ ]

Tests
[ ]

CI System
[ ]

Demo
[ ]

Performance
[ ]

Other
[X]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

Codecov Report

Merging #3630 (fbc0158) into main (548facb) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3630      +/-   ##
==========================================
+ Coverage   67.31%   67.33%   +0.02%
==========================================
  Files         178      178
  Lines        8658     8658
==========================================
+ Hits         5828     5830       +2
+ Misses       2799     2797       -2
  Partials       31       31

Flag
Coverage Δ

unittests
67.33% <ø> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/kubernetes/announcement_handlers.go
77.14% <0.00%> (+5.71%)
: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 548facb...fbc0158. Read the comment docs.


Remove SKIP_TESTS env var option

User can pass comma separated names of SDKs to be run in Mint tests.
Fixes: https://github.com/minio/mint/issues/134

updated the PR @harshavardhana @balamurugana please check

Updated @balamurugana


Missing "void insert( InputIt first, InputIt last );" overload in nlohmann::ordered_map

What is the issue you have?

I tried to explicitly instantiate ordered_json to improve my compilation time. Unfortunately, it doesn't work because nlohmann::ordered_map is missing ranged insert overload that is requested from
void basic_json::insert(const_iterator first, const_iterator last)
See ranged std::map::insert (7)
https://en.cppreference.com/w/cpp/container/map/insert
Can you provide a small but working code example?
#include "nlohmann/json.hpp"

static_assert(NLOHMANN_JSON_VERSION_MAJOR == 3, "");
static_assert(NLOHMANN_JSON_VERSION_MINOR == 9, "");
static_assert(NLOHMANN_JSON_VERSION_PATCH == 1, "");

// hpp
namespace nlohmann
{
    // explicit instantiation of ordered_json
    extern template class basic_json<nlohmann::ordered_map>;
}

// cpp
namespace nlohmann
{
    // explicit instantiation of ordered_json
    template class basic_json<nlohmann::ordered_map>; //<<< here we have a problem
}

https://godbolt.org/z/8o5cbf
Possible compiler output:
In file included from <source>:1:
/opt/compiler-explorer/libs/nlohmann_json/trunk/single_include/nlohmann/json.hpp:22318:25: error: no matching member function for call to 'insert'
        m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator);
        ~~~~~~~~~~~~~~~~^~~~~~
<source>:18:20: note: in instantiation of member function 'nlohmann::basic_json<nlohmann::ordered_map, std::vector, std::__cxx11::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>::insert' requested here
    template class basic_json<nlohmann::ordered_map>; //<<< here we have a problem
                   ^
/opt/compiler-explorer/libs/nlohmann_json/trunk/single_include/nlohmann/json.hpp:16620:31: note: candidate function not viable: requires single argument 'value', but 2 arguments were provided
    std::pair<iterator, bool> insert( value_type&& value )
                              ^
/opt/compiler-explorer/libs/nlohmann_json/trunk/single_include/nlohmann/json.hpp:16625:31: note: candidate function not viable: requires single argument 'value', but 2 arguments were provided
    std::pair<iterator, bool> insert( const value_type& value )
                              ^

My current dirty fix is:
template <class Key, class T, class IgnoredLess = std::less<Key>,
          class Allocator = std::allocator<std::pair<const Key, T>>>
                  struct ordered_map : std::vector<std::pair<const Key, T>, Allocator>
{
...
    template<typename InputIt>
    using require_input_iter = typename
      std::enable_if<std::is_convertible<typename
        std::iterator_traits<InputIt>::iterator_category,
                   std::input_iterator_tag>::value>::type;

    template<typename InputIt, typename = require_input_iter<InputIt>>
    void insert( InputIt first, InputIt last )
    {
        for (auto it = first; it != last; ++it)
        {
            insert( *it );
        }
    }

It's not optimized and I'm not tested if it works correctly, or just compiles.
Which version of the library did you use?

[x] latest release version 3.9.1
[ ] other release - please state the version: ___
[ ] the develop branch

Thanks for reporting! I'll have a look, but this will take time. In the meantime, PRs welcome!

I'll try to make a PR in the near future

Closed by merging #2512.


Sidebar ignores hidden config in production

Description
I have set the sidebar to be hidden in production towards the top of my plugins list in gatsby-config.js
{
            resolve: "gatsby-plugin-tinacms",
            options: {
                plugins: ["gatsby-tinacms-git", "gatsby-tinacms-remark"],
                sidebar: {
                    hidden: process.env.NODE_ENV === "production",
                },
            },
        },

but the sidebar is still visible on my remote domain https://cosmicdivision.dev
Steps to reproduce
navigate to my site https://cosmicdivision.dev see that the sidebar expanding button is visible.
clone my site
currently working on a minimum repro repo
Expected result
sidebar is innaccessible when I navigate to the live site
Actual result
sidebar is accessible on every page on my site
Environment
Tinacms Package Versions

npm ERR! peer dep missing<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta, required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta, required by<EMAIL_ADDRESS>npm ERR! peer dep missing: prop-types@>15, required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>

*** All Current Dependencies from package.json file
{
    "dependencies": {
        "@openfonts/fira-code_latin": "^1.44.0",
        "babel-plugin-tailwind-components": "^0.5.10",
        "dotenv": "^8.2.0",
        "gatsby": "^2.19.12",
        "gatsby-background-image": "^0.9.12",
        "gatsby-image": "^2.0.39",
        "gatsby-plugin-google-tagmanager": "^2.1.17",
        "gatsby-plugin-manifest": "^2.2.34",
        "gatsby-plugin-offline": "^3.0.30",
        "gatsby-plugin-preact": "^3.1.25",
        "gatsby-plugin-react-helmet": "^3.0.12",
        "gatsby-plugin-react-svg": "^2.1.2",
        "gatsby-plugin-sharp": "^2.3.10",
        "gatsby-plugin-styled-components": "^3.0.7",
        "gatsby-plugin-transition-link": "^1.17.7",
        "gatsby-plugin-typography": "^2.3.5",
        "gatsby-remark-images": "^3.1.39",
        "gatsby-remark-responsive-iframe": "^2.1.1",
        "gatsby-remark-smartypants": "^2.0.9",
        "gatsby-remark-vscode": "^1.0.4",
        "gatsby-source-filesystem": "^2.0.29",
        "gatsby-transformer-remark": "^2.3.8",
        "gatsby-transformer-sharp": "^2.1.18",
        "gsap": "^3.1.1",
        "preact": "^10.2.1",
        "react": "^16.12.0",
        "react-dom": "^16.12.0",
        "react-helmet": "^5.2.0",
        "react-is": "^16.12.0",
        "react-typography": "0.16.19",
        "styled-components": "^<IP_ADDRESS>",
        "typeface-fira-sans": "0.0.75",
        "typeface-orbitron": "^1.1.3",
        "typography": "^0.16.19"
    },
    "devDependencies": {
        "babel-plugin-macros": "^2.6.2",
        "prettier": "^1.17.0",
        "tailwind.macro": "^1.0.0-alpha.10",
        "gatsby-tinacms-git": "^0.2.15",
        "gatsby-plugin-tinacms": "^0.1.17",
        "polished": "^3.4.2",
        "gatsby-tinacms-remark": "^0.7.0",
        "tailwindcss": "^1.1.3",
        "typography-breakpoint-constants": "^0.16.19"
    }
}

Tools

Tool
Version

browser
Firefox, Chrome

os
MacOS

node
12.13.0

npm
6.12

Thanks for the report Andre. I can take a look in the morning. Could you just confirm that if you hardcode hidden: true in your development environment that the sidebar is not hidden?

sorry, I'm not sure I follow, where would I put hidden: true?

@ncphillips I can confirm that it doesn't hide itself with hidden: true.

Great! Thanks. I will have this fixed in this next few hours

The fix has been merged into master, but it has not been released yet. Thanks a lot for letting us know. @AndreBClark and @martinschleiss  👍

Awesome! thanks again @ncphillips for the quick fix!

No problem! I'm going to do a pre-release shortly, but it won't be on latest until monday.


More lighboxes are opened when the "Enter" key is pressed on an expanded image.

When an image is expanded within a lighbox, if you press the enter key on the keyboard, it opens an identical lightbox on top of the existing one. This can be replicated infinite number of times as far as we can tell, and every subsequent lightbox has to be closed one by one in order for the lightbox to be closed.
Here's a quick demo of the bug: http://g.recordit.co/w47jYHOy3c.gif
When the screen flashes the first 6 times, I'm hitting the enter key. Then you can see the screen flash six more times when I click the close button.
This is using the default markup with no customizations.
I hope that's not too confusing. If you need additional details I'll be happy to provide them. Thanks in advance.

Interesting. I think what’s happening is that the image still has the focus, so pressing enter is like clicking on it, even though you can’t click on it with the mouse because of the opened dialog.
If you want to avoid this for now, I’m guessing that removing the focus in afterOpen will fix this.

Thanks for following up so quickly. Really appreciate it @marcandre!

It does look like this is the cause of the issue. Doing the following seems to solve the problem:
$.featherlight.prototype.afterOpen = function() {
	this.$currentTarget.blur();
};

Fixed in master. Thanks for reporting this :smile:


Ask a question

Hi,there.
I'd like to know how to build Windows App like ***.exe on my Ubuntu18.04.
I'm in China...So you know that the network of downloading is big problem.
After I successfully built my linux app on Ubuntu18.04, I found it will cost me 11211s finish downloading...
Hope to hear from you soon
Yours sincerely.

Also,may i know how can i use my downloaded zipfile "electron-v8.2.3-win32-x64.zip"to package, instead of take 11211s to download?
as you know, our Net is much more "different"&"difficult"~

Actually, i've download "electron-v8.2.3-win32-x64.zip"from a Chinese mirror, and i use npm i<EMAIL_ADDRESS>-gto install it. However, after i began to package my website, it started downloading  "electron-v8.2.3-win32-x64.zip" again...... That's rellay annoying...

@MX-Qulin yeah, trouble with China's Great FireWall happens for some of our users; see existing issues.
As for your caching question, under Windows I don't exactly know. You should put the downloaded Electron zip at the place electron-packager does its caching. Under Linux it's in ~/.cache/electron, under Windows it must be somewhere in C:\Users\YourUsername\AppData\.... Feedback welcom if you figure it out.

Will, what to do next after i moved the zip file to ~/.cache/electron?

emmm.... i met another problem.
After packageing, i ran the exe but it looks like this:

the image's url is img1
Also i'll show you the package folder.

the image's url is img2

export ELECTRON_GET_USE_PROXY=1 # 值为1或true
export GLOBAL_AGENT_HTTP_PROXY=http://proxy.example.com:1080
export GLOBAL_AGENT_HTTPS_PROXY=https://proxy.example.com:1080


refactor: Remove unused zombie detection

Goal
Remove unused code, reducing the library maintenance surface
Changeset
Removes implementation and tests relating to zombie object detection, which until this point was entirely disabled.
Tests

Tested manually on a device that reporting behaved the same

Yeah - it was a global rename. I think I'll look at pruning it down altogether.


how to stop auto format on save

how to stop auto format on save

See https://github.com/Lonefy/vscode-JS-CSS-HTML-formatter/issues/4#issuecomment-718375039 .

great, it works, thanks


NLP improvements

add column to CSV output that identifies source for each extracted fact (ie which chapter it came from SIS, SEIR, etc)
try lemmatizing s/o and compare if they are the same term (ie model vs the models) and if so, remove from graph
need a solution for entity linking ... start by post-processing the CSV (ie remove articles, lowercase, etc) so that equivalent nodes are represented as a single node
-Natalie

Ref #96

added to the nlpextraction branch processSVOVertices.py that creates a sim_file.csv that contains the similarity for both the source vs source nodes and target vs target nodes for thresholds above .85

a lot of the target nodes have extremely high thresholds for cases like There vs there, and Model vs model, I'm thinking of merging edges for these cases and creating the similarity edge for the other cases we talked about

yeah that makes sense. To have two thresholds eg, .98+ means merge the vertex .80+ means create a "is similar to" edge

@kuncao0228 @jpfairbanks  seems like you resolved this but I think there might be a case for creating a list of stopwords, and/or lower-casing non-proper nouns so that terms which are actually identical can be de-duped rather than merged. Also worth documenting somewhere non-code based what our cutoff thresholds were and why we chose them.

Yeah i think we will need to create a set of action items for how to improve the quality of our NLP pipeline over the next year.


:app:dexDebug

Hello there:
After going through the following: http://facebook.github.io/react-native/docs/getting-started.html
And then added react-native-svg to the mix I get the following error:
:app:dexDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 35.916 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

[jmoretti:~/Sync/Google Drive/kikiPoc-jm]$

Any ideas how I could go about resolving this?
The regular project runs fine through the android emulator, but as soon as I try adding this module it gives me the above error.
here is my JSON file
{
  "name": "AwesomeProject",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "react": "15.3.2",
    "react-native": "0.36.1",
    "react-native-svg": "^4.3.2"
  },
  "jest": {
    "preset": "jest-react-native"
  },
  "devDependencies": {
    "babel-jest": "16.0.0",
    "babel-preset-react-native": "1.9.0",
    "jest": "16.0.2",
    "jest-react-native": "16.1.0",
    "react-test-renderer": "15.3.2"
  }
}

And tried both linking using react-native and nrpm which both tells me that the linking was successful.
Would much appreciate some help with this.
Cheers,

Still going on... anyone? @brentvatne @chengyin @MoOx @mattapperson @gorangajic ?
Unknown source file : UNEXPECTED TOP-LEVEL EXCEPTION:
Unknown source file : com.android.dex.DexException: Multiple dex files define Landroid/support/v7/appcompat/R$anim;
Unknown source file : 	at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
Unknown source file : 	at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
Unknown source file : 	at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
Unknown source file : 	at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
Unknown source file : 	at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
Unknown source file : 	at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)
Unknown source file : 	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
Unknown source file : 	at com.android.dx.command.dexer.Main.run(Main.java:277)
Unknown source file : 	at com.android.dx.command.dexer.Main.main(Main.java:245)
Unknown source file : 	at com.android.dx.command.Main.main(Main.java:106)

:app:dexDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 13.769 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

Just encountered the same issue, simply clean your builds:
cd android
./gradlew clean

@Fouppy - Merci! This is a good temporary fix... but does not feel like a permanent one.
Because this has to be run every time you you rebuild from scratch the android folder:
rm -Rf node_modules
rm -Rf android
rm -Rf __tests__

npm i
react-native android
react-native run-android // <== might not be nessessary
react-native link // <== extra steps
cd android && ./gradlew clean // <== extra steps
react-native build // <== extra steps

Would be dope if you guys could make sure that these steps were not required ;)

Did all of that. Still get :
/Users/fabien/projects/lecito/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/SvgViewManager.java:17: error: cannot find symbol
import com.facebook.yoga.YogaNodeAPI;
                        ^
  symbol:   class YogaNodeAPI
  location: package com.facebook.yoga
/Users/fabien/projects/lecito/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/SvgViewManager.java:34: error: cannot find symbol
                YogaNodeAPI node,
                ^
  symbol: class YogaNodeAPI
2 errors
:react-native-svg:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-svg:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Same as the above

@aschwizzy710 I'm getting the same error as you. Did you happen to figure it out why react-native can't compile react-native-svg on android?

The same problem here. cd android && ./gradlew clean does not help

Solved.
Make sure you have same versions for
compileSdkVersion 25
buildToolsVersion '25.0.0'

and
compile "com.android.support:appcompat-v7:25.0.0"
in your android/app/build.gradle
As described here https://stackoverflow.com/a/42144590

This has probably been caused by incompatible versions. Closing for now.


Definition not displaying on My Projects and All Projects

The data definition description is not provided for this in the Prod, that's the reason they are not coming up.

There was two different ID's that were added as part of Data definitions  -

Logged in Community Partner had a different Project ID allocated for data definitions.
Logged in Campus /Community Partner had a different Project ID allocated for data definitions

With this request, made it one so that it describes the Projects for both Campus and Community Partner.

@EdemD , QA for this is requested

@pallavi0902  as QA tester

@EdemD , QA for this is requested

@Jantz021991 please add an estimate at your convenience. Added you as the dev. Thanks

QA https://drive.google.com/drive/u/0/folders/1HphhQDVJeHHbNlNzu_A7_GC3DoOeeJUK


OSSM-6697 GatewayControllerMode integration test

I had initially planned to add more tests that cover installation of the two control planes after each other, but it turned out to be too complex and fragile with the integration test framework. So here's just a basic "who reconciles what" test that verifies that GatewayControllerMode does indeed ignore Istio resources outside its scope, but watches Kubernetes resources in the whole cluster.
While at it, I found out that the change of the config map name was not properly propagated in the charts, so I fixed that. I also had to adjust the values_types.proto because the integration test framework uses istioctl to apply config and it would fail without this change.

/test maistra-istio-unit-2-6

/test maistra-istio-unit-2-6

/retest


Seth removed a bunch of old samples, and it looks like this was one of them.
For the record, here's the whole list that he was considering:
https://github.com/dart-lang/sample-google-maps
https://github.com/dart-lang/sample-searchable-list
https://github.com/dart-lang/sample-gauge
https://github.com/dart-lang/sample-solar
https://github.com/dart-lang/sample-clock
https://github.com/dart-lang/sample-sunflower
https://github.com/dart-lang/sample-spirodraw
https://github.com/dart-lang/sample-dartiverse-search
https://github.com/dart-lang/sample-swipe
https://github.com/dart-lang/sample-multi-touch
https://github.com/dart-lang/sample-tracker
https://github.com/dart-lang/sample-jsonp
https://github.com/dart-lang/sample-dgrep
https://github.com/dart-lang/sample-dcat
https://github.com/dart-lang/sample-polymer-intl

Clock has been lightly maintained; I think it's safe to remove from our list of samples.

Note that solar, spirodraw, and sunflower were also removed, although they'll continue to work in DartPad as long as their gists survive...


Simple checkpoint backup

Replaying due to a corrupted checkpoint can take on the order of weeks (and is currently quite difficult because of how the replay code functions which we're trying to fix in: https://github.com/urbit/vere/issues/157)
It'd save a lot of misery if a backup checkpoint file was created - at least once a week? We can work around this in hosting with https://github.com/tloncorp/ylem/issues/784 but it seems like we should be able to do something to make this better for everyone else (even though the real fix is live snapshotting).

I'd even take just created on upgrade or having a runtime command for it like next, maybe save? Have it save the last 3 in a checkpoint backup folder or something. This is a functional replay will fix most of the misery with restoring planets that have corrupted checkpoints.


Display "Members objects" by their actual name

Is this feasible? If so, it would be a fantastic QoL improvement for ex-members.

This would be a great help

Would this exist as it's own plugin? If so what would be the name? If not, where would it be housed?
Since it's changing the text of menu entries, the Menu Entry Swapper plugin sounds decent, but it's very different from that plugins existing functionality.

added in 09be0b63ce222624594b14bbda9502ed660c1529


getCurrentConnections fixed for Mac OS

Fixed issue where callback passed to getCurrentConnections wasn't being called.

So it is the update of the #29 Pull request ?
Config is not used for now but all getCurrentConnections (macOS, linux, windows) have the same interface to manage it in the future. For example, we could get information only about the wireless interface given in the configuration.
But I see there is really a disturbing behavior between with and without callback. I think it should work well without callback (using promise) while callback is not called when given. Is it your issue ?
Sorry about all these questions but issue #28 wasn't very descriptive about the problem you encounter ?

I corrected the bug myself with keeping config but callback should work now on macOS.


Rate-limit requests when there are issues getting timeout length

I'm not sure why this is happening, but rate-limiting isn't working properly for me.

I initiated a fetch, having not run one for several months. So there's a lot of data to pull.
After a few books are successfully scanned, I start seeing requests happening in a tight loop, with the message API Rate Limited, waiting to retry for NaN

Looking at the headers in the requests that come back, I see valid Retry-Header values (e.g. 45 or 56), which is surprising to me. Having looked at the code, I expected the issue to be a missing header.
I think the expected behavior here is a more robust failure mode.

I was able to fix this issue locally by cowboying in the following:
diff --git a/.obsidian/plugins/readwise-mirror/main.js b/.obsidian/plugins/readwise-mirror/main.js
index 55aa926..a368100 100644
--- a/.obsidian/plugins/readwise-mirror/main.js
+++ b/.obsidian/plugins/readwise-mirror/main.js
@@ -8475,7 +8475,12 @@ class ReadwiseApi {
                 data = yield response.json();
                 if (response.status === 429) {
                     // Error handling for rate limit throttling
-                    const rateLimitedDelayTime = parseInt(response.headers.get('Retry-After')) * 1000 + 1000;
+                    var rateLimitedDelayTime = parseInt(response.headers.get('Retry-After')) * 1000 + 1000;
+                    if (isNaN(rateLimitedDelayTime)) {
+                      console.info(`rateLimitedDelayTime is NaN (derived from ${response.headers.get('Retry-After')})`);
+                      rateLimitedDelayTime = 60 * 1000 + 1000  // Default to 61 seconds.
+                    }
+
                     console.warn(`Readwise: API Rate Limited, waiting to retry for ${rateLimitedDelayTime}`);
                     this.notify.setStatusBarText(`Readwise: API Rate Limited, waiting ${rateLimitedDelayTime}`);
                     yield new Promise((_) => setTimeout(_, rateLimitedDelayTime));

Feel free to use this patch with or without attribution, and with whatever alterations you like.
When the rate limiting occurs, it seems to happen because response.headers.get('Retry-After') returns null:

Hi @mambocab , thank you for looking into this issue. I have noticed intermittent Readwise throttling issues as well; not sure when these started happening - maybe there was an API change somewhere down the line as I wrote the original syncing code a while back and it hasn't been updated.
Would you feel comfortable submitting a PR for this issue since you seem to have found the solution? I'd be happy to attribute the fix to you in the release notes and incorporate it into the next release.

I just force synced my entire Readwise library again (~12k highlights) and it didn't throttle at all. Weird. But I have seen it happen other times when doing the same thing 🤷🏼
I suppose the best proper long term fix would be to just get the actual time from the retry header response (padding it with a little extra time for safety), but apparently CORS issues makes accessing the Retry-After header tricky. @johannrichard had submitted a fix for this in #20 , but I had issues after implementing it so had to revert the changes, but that solution is definitely on the right track.
Either way, your proposed solution is a good idea; if an API issue causes a NaN it shouldn't break the throttling implementation.


r2.5-rc1 cherry-pick request: Update oneDNN to v2.2 official release

oneDNN v2.2 wasn't released in time for the TF 2.5 branch cut, so we used an intermediate commit (after v2.2-rc) in the meanwhile. The final v2.2 release is out and has more fixes after the commit we initially used for TF 2.5.

@googlebot I consent.

@cuixiaom Could you please help post @googlebot I consent. as well? Thank you!

@googlebot I consent


Remove new-trove-classifier.md

Moved to pypi-support in https://github.com/pypa/pypi-support/pull/134

I also want to transfer the open classifier requests in this repo over to pypi-support if no one minds.

@jamadden Please do. I think you have the GitHub permissions required to make it happen.


Option allowTouchMove is supported only on iOS devices.

https://github.com/willmcpo/body-scroll-lock/blob/master/src/bodyScrollLock.js#L174
Why is listener for allowTouchMove triggered only on iOS devices? Readme file is not mentioning this.

This lib only blocks touch events on iOS, so allowTouchMove would not do anything on other devices. I suppose it's not mentioned because it's an implementation detail, but you are right - it is an oversight, as you would want to know that to debug your allowTouchMove function.


fix pod name yoga -> Yoga

I encountered the error from cocoapods:

Then I found the pod name should be Yoga, not yoga

I found that most of the example code for Podfiles is no longer applicable. Should I change them all?

Current Podfile in documentation: https://facebook.github.io/react-native/docs/integration-with-existing-apps#configuring-cocoapods-dependencies
Current Podfile in example: https://github.com/facebook/react-native/blob/v0.61.2/template/ios/Podfile

Yeah, if more are wrong we should probably fix the rest. Thanks!


Planning Entity Page Layouts: Improving SR

The list page content was changed to provide the best experience for a SR (screen reader) user. What was changed was limiting the number of elements per card/entity that the SR would navigate through, while still providing access to all functionality that a visual user would have access to. Entity pages now need the same rework, but as it is not a list page where a user would want to go through many cards and only require limited information, this is an entities full page. That means the user will need individual access to specific information and functionality, instead of a quick overview summary of information. This will require a different approach.
Task: Decide the general default layout of information and functionalities to be accessible on entity pages. (Implementing will be done after, separate cards)
Key Point: Screen Readers by default will read each element one at a time, need to make their experience smooth.
What information and functionality is important to provide? How should it be provided? What functionality from the MoreOptions menu should be moved directly into the page?
What information should be added that is not already provided, for visual users as well?
Reference: List Pages, Twitter: List vs Tweet,

Situations where a component opens a component:

MoreOptions -> UserSheet
MoreOptions -> Report (Dialog)
UserSheet -> Send Message (Dialog)

One is solved by the PR.
Two and Three should be solved by having dedicated pages for Reporting and New Messages.

Place Holder

Action Bar: Placeholder


FinalHandler should not display stack traces by default

This seems like a dangerous default to me, and it contradicts the Expressive documentation here.
Specifically:

If the FinalHandler was initialized with an option indicating that it is in development mode, it writes the exception stack trace to the response body.

However, the default initialization of the FinalHandler (which is what Expressive does in the default error pipeline) leaves the env option unset, which causes ! isset($this->options['env']) to evaluate to true and creates the Development error message. You'd actually need to specify ['env' => 'production'] in the constructor in order to not display the stack trace.
I think the reverse would be a safer default - you must explicitly state that you're in development in order for the stack trace to appear (which is what the Expressive documentation indicates).
Specifically: if (isset($options['env']) && $options['env'] === 'development')
Either that, or correct the Expressive documentation.
I like the former better, but I realize it's technically a BC break (if your application needs to display stack traces in Production by default, that is...), so it should be discussed (assuming I'm not the only one who thinks this is an issue).
Thoughts?

Definitely a bug. While it's a BC break, the defaults should always be production-safe, so I'd consider the current behavior a bug. Users can adapt if they need to have the stack trace displayed.
Send me a PR! :+1: